/* Add some basic layout styles for the new sections */
.products-page-container {
    display: flex;
    gap: 30px; /* Space between filters and products */
    padding: 30px 0; /* Add padding top/bottom */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
  }
  
  .filters-sidebar {
    flex: 0 0 280px; /* Fixed width for sidebar */
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    height: fit-content; /* Make sidebar height adjust to content */
  }
  
  .products-main-area {
    flex: 1; /* Take remaining space */
    min-width: 0; /* Prevent overflow issues */
  }
  
  .filter-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-300);
  }
  .filter-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }
  
  .filter-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .filter-title svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
  }
  
  
  .filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 200px; /* Limit height and allow scroll */
    overflow-y: auto; /* Add scrollbar if needed */
    scrollbar-width: thin;
    scrollbar-color: var(--gray-400) transparent;
  }
  .filter-list::-webkit-scrollbar { width: 4px; }
  .filter-list::-webkit-scrollbar-track { background: transparent; }
  .filter-list::-webkit-scrollbar-thumb { background-color: var(--gray-400); border-radius: 20px; }
  
  
  .filter-list li label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-800);
    cursor: pointer;
    transition: color 0.2s;
  }
  .filter-list li label:hover {
      color: var(--primary);
  }
  
  .filter-list input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary); /* Style checkbox color */
    flex-shrink: 0;
  }
  
  /* Price Range Slider Styles (Basic) */
  .price-range-slider {
      width: 100%;
      cursor: pointer;
      height: 5px; /* Adjust height */
      background: var(--gray-300); /* Track color */
      border-radius: 5px;
      accent-color: var(--primary); /* Thumb color */
      margin-top: 5px; /* Add some space */
  }
  .price-range-values {
      display: flex;
      justify-content: space-between;
      font-size: 13px;
      color: var(--gray-700);
      margin-top: 8px;
  }
  #current-max-price-value { /* Style for the current value */
      font-weight: 600;
      color: var(--dark);
  }
  
  
  .products-grid {
    display: grid;
    /* Adjust columns based on screen size */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px; /* Gap between product cards */
  }
  
  /* Style for hidden products */
  .product-hidden {
      display: none;
  }
  
  /* Make product title link less intrusive */
  .car-title-link {
      text-decoration: none;
      color: inherit; /* Inherit color from parent */
  }
  .car-title-link:hover .car-title {
      color: var(--primary); /* Change title color on hover */
  }
  
  
  .page-title-section {
      margin-bottom: 20px;
      padding-bottom: 15px;
      border-bottom: 1px solid var(--gray-300);
  }
  .page-title {
      font-size: 28px;
      font-weight: 800;
      color: var(--dark);
  }
  .breadcrumbs {
      font-size: 14px;
      color: var(--gray-600);
  }
  .breadcrumbs a {
      color: var(--primary);
      text-decoration: none;
  }
  .breadcrumbs a:hover {
      text-decoration: underline;
  }
  .breadcrumbs span {
      margin: 0 5px;
  }
  
  /* Responsive adjustments */
  @media (max-width: 992px) {
    .filters-sidebar {
      flex: 1 1 100%; /* Take full width on smaller screens */
      margin-bottom: 30px;
    }
    .products-page-container {
        gap: 0; /* Remove gap when stacked */
    }
  }
   @media (max-width: 768px) {
      .products-grid {
          grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
          gap: 20px;
      }
      .filters-sidebar {
          padding: 20px;
      }
      .page-title {
          font-size: 24px;
      }
   }
   @media (max-width: 480px) {
      .products-grid {
          /* Single column on very small screens */
          grid-template-columns: 1fr;
          gap: 15px;
      }
      .car-card {
          /* Adjust card for single column if needed */
      }
      .page-title {
          font-size: 22px;
      }
      .breadcrumbs {
          font-size: 13px;
      }
   }
  
  /* Add your full CSS from main_style.css here or ensure it's linked correctly */
  /* --- Paste the full CSS content provided by the user here --- */
  :root {
    /* Colors */
    --primary: #3563E9;
    --primary-dark: #2748C4;
    --primary-light: #D6E4FF;
    --primary-gradient: linear-gradient(45deg, #3563E9, #54A6FF);
    --secondary: #54A6FF;
    --success: #4CAF50;
    --success-light: #E6F7E9;
    --accent: #FF4D67;
    --accent-light: #FFE2E5;
    --accent-blue: #0d8fff;
    --dark: #1A202C;
    --gray-900: #2D3748;
    --gray-800: #4A5568;
    --gray-700: #718096;
    --gray-600: #A0AEC0;
    --gray-500: #CBD5E0;
    --gray-400: #E2E8F0;
    --gray-300: #EDF2F7;
    --gray-200: #F7FAFC;
    --white: #ffffff;
    --error-color: #e53e3e;
  
    /* Dark mode/popup specific */
    --bg-dark: #232531;
    --bg-input: #2d303e;
    --text-light: #ffffff;
    --text-muted: #a0a0b0;
    --btn-secondary: #464856;
    --btn-danger: #dc2626;
  
    /* Shadows */
    --shadow-xs: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.07), 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 10px 30px rgba(111, 133, 219, 0.1);
    --shadow-blue: 0 8px 25px rgba(53, 99, 233, 0.15);
    --shadow-dropdown: 0 15px 50px rgba(0, 0, 0, 0.1);
    --popup-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  
    /* Border radius */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 30px;
    --radius-full: 9999px;
    --input-radius: 10px;
  
    /* Layout */
    --header-height: 70px;
    --anim-duration: 0.3s;
    --anim-easing: cubic-bezier(0.4, 0, 0.2, 1);
  
    /* Font aliases for footer */
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  
    /* Footer color aliases */
    --clr-primary: var(--primary);
    --clr-primary-dark: var(--primary-dark);
    --clr-primary-light: var(--primary-light);
    --clr-secondary: var(--secondary);
    --clr-success: var(--success);
    --clr-success-light: var(--success-light);
    --clr-accent: var(--accent);
    --clr-accent-light: var(--accent-light);
    --clr-dark: var(--dark);
    --clr-gray-900: var(--gray-900);
    --clr-gray-800: var(--gray-800);
    --clr-gray-700: var(--gray-700);
    --clr-gray-600: var(--gray-600);
    --clr-gray-500: var(--gray-500);
    --clr-gray-400: var(--gray-400);
    --clr-gray-300: var(--gray-300);
    --clr-gray-200: var(--gray-200);
    --clr-white: var(--white);
  }
  
  /* --- Base Styles --- */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--gray-200);
    color: var(--dark);
    line-height: 1.6;
    padding-top: var(--header-height);
    -webkit-tap-highlight-color: transparent;
  }
  
  .container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
  }
  
  /* --- Header Styles --- */
  .header {
    background-color: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  
  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 16px;
  }
  
  /* --- Navigation Styles --- */
  .menu-left {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1011;
  }
  
  .hamburger {
    width: 24px;
    height: 18px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-right: 15px;
    z-index: 1010;
  }
  
  .hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--dark);
    transition: all var(--anim-duration) var(--anim-easing);
    border-radius: 10px;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--primary);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
  }
  
  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--primary);
  }
  
  .nav-items {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 85%;
    max-width: 300px;
    height: calc(100vh - var(--header-height));
    background-color: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-dropdown);
    transition: left var(--anim-duration) var(--anim-easing);
    overflow-y: auto;
    z-index: 1000;
    border-top: 1px solid var(--gray-300);
    display: flex;
  }
  
  .nav-items.show {
    left: 0;
  }
  
  .nav-item {
    margin: 8px 0;
    text-decoration: none;
    color: var(--gray-800);
    font-weight: 600;
    transition: all 0.3s;
    font-size: 16px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    position: relative;
  }
  
  .nav-item:hover {
    color: var(--primary);
    background-color: var(--primary-light);
    transform: translateX(5px);
  }
  
  .nav-item.active {
    color: var(--primary);
    background-color: var(--primary-light);
  }
  
  .nav-item.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-gradient);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  }
  
  .nav-overlay {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity var(--anim-duration) var(--anim-easing);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
  }
  
  .nav-overlay.show {
    display: block;
    opacity: 1;
  }
  
  .logo {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 8px;
    white-space: nowrap;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  
  /* --- Menu Right / Icon Buttons --- */
  .menu-right {
    display: flex;
    align-items: center;
    z-index: 1001;
  }
  
  .icon-btn {
    background: var(--white);
    border: none;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-left: 12px;
    color: var(--gray-800);
    transition: all var(--anim-duration);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-xs);
    min-width: 36px;
    min-height: 36px;
  }
  
  .icon-btn:hover {
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    background-color: var(--primary-light);
  }
  
  .cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-gradient);
    color: var(--white);
    min-width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(53, 99, 233, 0.3);
    border: 2px solid var(--white);
    padding: 0 4px;
  }
  
  /* --- Cart Dropdown Styles --- */
  .cart-dropdown {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: calc(100vh - var(--header-height));
    background-color: var(--white);
    box-shadow: var(--shadow-dropdown);
    z-index: 1001;
    transition: right var(--anim-duration) var(--anim-easing);
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--gray-300);
    border-left: 1px solid var(--gray-300);
  }
  
  .cart-dropdown.show {
    right: 0;
  }
  
  .cart-header {
    padding: 16px;
    border-bottom: 1px solid var(--gray-300);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
  }
  
  .cart-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .cart-title-icon {
    color: var(--primary);
  }
  
  .cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 12px 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--gray-400) transparent;
    -webkit-overflow-scrolling: touch;
  }
  
  .cart-items::-webkit-scrollbar {
    width: 4px;
  }
  
  .cart-items::-webkit-scrollbar-track {
    background: transparent;
  }
  
  .cart-items::-webkit-scrollbar-thumb {
    background-color: var(--gray-400);
    border-radius: 20px;
  }
  
  /* --- Cart Item Structure --- */
  .cart-item {
    display: flex;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-300);
    transition: all 0.3s;
    opacity: 1;
    max-height: 200px;
  }
  
  .cart-item:hover {
    background-color: var(--gray-200);
    border-radius: var(--radius-sm);
    padding-left: 8px;
    padding-right: 8px;
  }
  
  .cart-item-image {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-right: 12px;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--white);
    transition: transform 0.3s;
    flex-shrink: 0;
  }
  
  .cart-item:hover .cart-item-image {
    transform: scale(1.05);
  }
  
  .cart-item-details {
    flex: 1;
    min-width: 0;
  }
  
  .cart-item-oem {
    font-size: 11px;
    color: var(--gray-600);
    margin-bottom: 4px;
    font-weight: 500;
    background-color: var(--gray-200);
    padding: 2px 6px;
    border-radius: var(--radius-full);
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  
  .cart-item-name {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 2.8em;
    color: var(--gray-900);
    line-height: 1.4;
  }
  
  .cart-item-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 15px;
    display: flex;
    align-items: center;
  }
  
  .cart-item-quantity {
    display: flex;
    align-items: center;
    margin-top: 6px;
  }
  
  .quantity-btn {
    width: 24px;
    height: 24px;
    background-color: var(--gray-300);
    border: none;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--gray-800);
    font-weight: 700;
    transition: all 0.2s;
    flex-shrink: 0;
    min-width: 28px;
    min-height: 28px;
  }
  
  .quantity-btn:hover {
    background-color: var(--primary-light);
    color: var(--primary);
  }
  
  .quantity-input {
    width: 36px;
    text-align: center;
    border: none;
    font-weight: 600;
    background: transparent;
    font-family: inherit;
    flex-shrink: 0;
    pointer-events: none;
    font-size: 14px;
  }
  
  .cart-item-remove {
    background: none;
    border: none;
    color: var(--gray-600);
    cursor: pointer;
    font-size: 22px;
    margin-left: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    transition: all 0.2s;
    border-radius: var(--radius-full);
    align-self: center;
    flex-shrink: 0;
    min-width: 40px;
    min-height: 40px;
  }
  
  .cart-item-remove:hover {
    background-color: var(--accent-light);
    color: var(--accent);
    transform: rotate(90deg);
  }
  
  /* --- Cart Footer Styles --- */
  .cart-footer {
    padding: 16px;
    border-top: 1px solid var(--gray-300);
    background-color: var(--gray-200);
    flex-shrink: 0;
    display: block;
  }
  
  .cart-totals {
    margin-bottom: 16px;
  }
  
  .cart-subtotal, .cart-shipping, .cart-tax {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--gray-700);
  }
  
  .cart-total {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--gray-400);
    font-weight: 700;
    font-size: 16px;
    color: var(--dark);
  }
  
  /* --- Button Styles --- */
  .cart-checkout, .get-started-button {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 14px;
    border-radius: var(--radius-md);
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 700;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    box-shadow: var(--shadow-blue);
    letter-spacing: 0.5px;
    min-height: 48px;
  }
  
  .cart-checkout:hover, .get-started-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(53, 99, 233, 0.3);
  }
  
  .cart-checkout:active, .get-started-button:active {
    transform: translateY(0);
  }
  
  .empty-cart-button {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: var(--radius-full);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    font-family: inherit;
    box-shadow: var(--shadow-blue);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    min-height: 44px;
  }
  
  .empty-cart-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(53, 99, 233, 0.3);
  }
  
  .view-details {
    color: var(--primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    border-radius: var(--radius-full);
    background: var(--primary-light);
    white-space: nowrap;
    min-height: 36px;
  }
  
  .view-details:hover {
    background: var(--primary);
    color: var(--white);
    gap: 8px;
  }
  
  .view-details:hover svg {
    stroke: var(--white);
  }
  
  .view-all {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    font-size: 14px;
    min-height: 40px;
  }
  
  .view-all:hover {
    color: var(--primary-dark);
    background-color: var(--primary-light);
    transform: translateX(5px);
  }
  
  /* --- Empty Cart Styles --- */
  .empty-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 16px;
    text-align: center;
    height: 100%;
    color: var(--gray-700);
  }
  
  .empty-cart-icon {
    font-size: 50px;
    color: var(--gray-400);
    margin-bottom: 16px;
    animation: float 3s infinite ease-in-out;
  }
  
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }
  
  .empty-cart-message {
    font-size: 17px;
    color: var(--gray-700);
    margin-bottom: 8px;
    font-weight: 600;
  }
  
  .empty-cart-submessage {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 24px;
    max-width: 260px;
  }
  
  /* --- Message Styles --- */
  .cart-message {
    padding: 30px 16px;
    text-align: center;
    font-weight: 500;
    color: var(--gray-600);
  }
  
  .cart-message.error {
    color: var(--error-color);
    background-color: #fed7d7;
    border: 1px solid var(--error-color);
    border-radius: var(--radius-sm);
    margin: 12px 16px;
    padding: 12px;
  }
  
  #popupMessageArea {
    margin-top: 10px;
    padding: 8px;
    border-radius: 5px;
    font-size: 12px;
    display: none;
    text-align: center;
  }
  
  #popupMessageArea.success { background-color: rgba(22, 163, 74, 0.2); border: 1px solid #16a34a; color: #16a34a; }
  #popupMessageArea.error { background-color: rgba(255, 87, 87, 0.1); border: 1px solid #ff5757; color: #ff5757; }
  #popupMessageArea.info { background-color: rgba(13, 143, 255, 0.1); border: 1px solid #0d8fff; color: #0d8fff; }
  
  /* --- Hero Section --- */
  .hero {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    position: relative;
    z-index: 999;
    min-height: 477px;
  }
  
  .hero-background {
    position:absolute;
    width:100%;
    height:100%;
    left: 0;
    top: 0;
    overflow: hidden;
    z-index: 0;
    opacity: 0.3;
    min-height: 477px;
  
    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
  
  .hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(53, 99, 233, 0.3), transparent);
    z-index: 1;
  }
  
  .hero .container {
    position: relative;
    z-index: 2;
  }
  
  .hero h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out;
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .hero p {
    font-size: 16px;
    margin-bottom: 12px;
    opacity: 0.9;
    font-weight: 500;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
  }
  
  /* --- Search Styles --- */
  .search-container {
    max-width: 700px;
    margin: 25px auto 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
    position: relative;
    z-index: 10;
  }
  
  .search-bar {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: var(--white);
    border-radius: 60px;
    padding: 16px;
    box-shadow: var(--shadow-lg);
    align-items: center;
    transition: all 0.4s;
    position: relative;
  }
  
  .search-bar:hover, .search-bar:focus-within {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  }
  
  .search-input-container {
    display: flex;
    width: 100%;
    margin-bottom: 12px;
    align-items: center;
  }
  
  .search-icon {
    color: var(--gray-600);
    margin-right: 12px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }
  
  .search-bar input {
    flex: 1;
    border: none;
    padding: 12px 0;
    font-size: 16px;
    outline: none;
    font-family: inherit;
    min-width: 50px;
    width: 100%;
  }
  
  .search-button {
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    padding: 12px 20px;
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: var(--shadow-blue);
    width: 100%;
    min-height: 48px;
  }
  
  .search-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(53, 99, 233, 0.3);
  }
  
  .search-button:active {
    transform: translateY(1px);
    box-shadow: 0 5px 10px rgba(53, 99, 233, 0.2);
  }
  
  /* --- Filter tabs --- */
  .filter-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
    gap: 8px;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
    opacity: 0;
    flex-wrap: wrap;
  }
  
  .filter-tab {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    white-space: nowrap;
    font-size: 14px;
    min-height: 36px;
    display: flex;
    align-items: center;
  }
  
  .filter-tab.active {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
  }
  
  .filter-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
  }
  
  /* --- Car type filters --- */
  .car-types {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
    opacity: 0;
  }
  
  .car-type {
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    white-space: nowrap;
    font-size: 13px;
    min-height: 36px;
  }
  
  .car-type:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }
  
  .car-type-icon {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
  }
  
  .car-type:hover .car-type-icon {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
  }
  
  /* --- Brands section --- */
  .brands-section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
  }
  
  .brands-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, var(--gray-200), transparent);
    z-index: 1;
  }
  
  .section-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
    gap: 15px;
  }
  
  .section-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--dark);
    position: relative;
    display: inline-block;
  }
  
  .section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 50px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
  }
  
  .brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    position: relative;
    z-index: 2;
  }
  
  .brand-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    text-align: center;
  }
  
  .brand-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
  }
  
  .brand-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
  }
  
  .brand-card:hover::before {
    transform: scaleX(1);
  }
  
  .brand-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
    object-fit: contain;
    transition: transform 0.4s;
  }
  
  .brand-card:hover .brand-logo {
    transform: scale(1.1);
  }
  
  .brand-name {
    font-weight: 700;
    color: var(--dark);
    font-size: 15px;
  }
  
  /* --- Cars section --- */
  .cars-section {
    padding: 50px 0 70px;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
  }
  
  .cars-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, var(--gray-200), transparent);
    z-index: 1;
  }
  
  .tabs {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--gray-300);
    position: relative;
    z-index: 2;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }
  
  .tabs::-webkit-scrollbar {
    display: none;
  }
  
  .tab {
    padding: 12px 5px;
    cursor: pointer;
    position: relative;
    font-weight: 600;
    color: var(--gray-700);
    transition: all 0.3s;
    white-space: nowrap;
    font-size: 15px;
  }
  
  .tab.active {
    color: var(--primary);
    font-weight: 700;
  }
  
  .tab:hover:not(.active) {
    color: var(--primary-dark);
  }
  
  .tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full) var(--radius-full) 0 0;
  }
  
  .cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    position: relative;
    z-index: 2;
  }
  
  .car-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.4s;
    display: flex;
    flex-direction: column;
  }
  
  .car-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
  }
  
  .car-image-container {
    position: relative;
    height: 180px;
    overflow: hidden;
    flex-shrink: 0;
  }
  /* Make image container clickable */
  .car-image-link {
      display: block; /* Ensure link takes up container space */
      height: 100%;
  }
  
  .car-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s;
  }
  
  .car-card:hover .car-image {
    transform: scale(1.08);
  }
  
  .car-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--success-light);
    color: var(--success);
    padding: 5px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid var(--success);
    z-index: 2;
  }
  
  .car-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    font-size: 16px;
    color: var(--gray-600);
    z-index: 2;
    min-width: 40px;
    min-height: 40px;
  }
  
  .car-wishlist:hover {
    background: var(--accent-light);
    color: var(--accent);
    transform: scale(1.1);
  }
  
  .car-details {
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }
  
  .car-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--dark);
    line-height: 1.4;
    transition: color 0.2s; /* Add transition for hover effect */
  }
  
  .car-subtitle {
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 16px;
    font-weight: 500;
  }
  
  .car-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
  }
  
  .car-spec {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .spec-icon {
    background: var(--gray-200);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
  }
  
  .car-card:hover .spec-icon {
    background: var(--primary-light);
  }
  
  .spec-icon svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
  }
  
  .spec-value {
    font-size: 12px;
    color: var(--gray-800);
    font-weight: 600;
    line-height: 1.3;
  }
  
  .car-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid var(--gray-300);
    margin-top: auto;
  }
  
  .car-price {
    font-weight: 800;
    font-size: 20px;
    color: var(--dark);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  /* --- Sell section --- */
  .sell-section {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
  }
  
  .sell-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, #ffffff, #ffffff00);
    z-index: 1;
  }
  
  .sell-video {
    flex: 1;
    background-image: linear-gradient(to right, rgb(0 0 0 / 88%), rgb(0 0 0 / 70%));
    background-size: cover;
    background-position: center;
    min-height: 350px;
    position: relative;
    overflow: hidden;
  }
  
  .sell-video::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgb(53 99 233 / 37%), #0000002e);
    z-index: 1;
  }
  
  .sell-video video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0; /* Place video behind the overlay */
    transform: translate(-50%, -50%); /* Center the video */
    object-fit: cover; /* Cover the container, cropping if necessary */
  }
  
  .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s;
    z-index: 2;
  }
  
  .play-button::before {
    content: "";
    position: absolute;
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    animation: pulse 2s infinite;
  }
  
  @keyframes pulse {
    0% {
      transform: scale(0.9);
      opacity: 0.9;
    }
    70% {
      transform: scale(1.1);
      opacity: 0;
    }
    100% {
      transform: scale(0.9);
      opacity: 0;
    }
  }
  
  .play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--white);
  }
  
  .play-button svg {
    color: var(--primary);
  }
  
  .sell-content {
    flex: 1;
    background: var(--gray-200);
    padding: 40px 20px;
  }
  
  .sell-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 18px;
    line-height: 1.3;
    color: var(--dark);
    position: relative;
    display: inline-block;
  }
  
  .sell-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 60px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
  }
  
  .sell-description {
    color: var(--gray-700);
    margin-bottom: 30px;
    font-size: 15px;
    line-height: 1.7;
  }
  
  .benefits-list {
    list-style: none;
    margin-bottom: 30px;
    padding-left: 0;
  }
  
  .benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    transition: transform 0.3s;
  }
  
  .benefit-item:hover {
    transform: translateX(5px);
  }
  
  .benefit-bullet {
    color: var(--success);
    margin-right: 12px;
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
  }
  
  .benefit-text {
    font-weight: 600;
    color: var(--gray-800);
    font-size: 15px;
  }
  
  .get-started-button {
    width: fit-content;
    padding: 14px 28px;
  }
  
  /* --- Search Results Styling --- */
  .search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-lg);
    max-height: 300px;
    overflow-y: auto;
    z-index: 100;
    margin-top: 5px;
    display: none;
    border: 1px solid var(--gray-300);
  }
  
  .search-result-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 1px solid var(--gray-200);
  }
  
  .search-result-item:last-child {
    border-bottom: none;
  }
  
  .search-result-item:hover {
    background-color: var(--primary-light);
  }
  
  .search-result-item .name {
    font-weight: 600;
    color: var(--dark);
    font-size: 14px;
    display: block;
  }
  
  .search-result-item .sku {
    font-size: 12px;
    color: var(--gray-600);
    display: block;
    margin-top: 2px;
  }
  
  .search-status {
    padding: 14px 16px;
    color: var(--gray-600);
    font-style: italic;
    text-align: center;
  }
  
  .search-status.error {
    color: var(--accent);
    background-color: var(--accent-light);
  }
  
  .pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px 0;
    margin-top: 20px;
    border-top: 1px solid var(--gray-300);
    flex-wrap: wrap; /* Allow wrapping on small screens */
    gap: 8px; /* Spacing between elements */
  }
  
  .pagination-btn,
  .page-number-btn {
    background-color: var(--white);
    border: 1px solid var(--gray-400);
    color: var(--gray-800);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    min-width: 40px; /* Ensure buttons have minimum width */
    text-align: center;
  }
  
  .pagination-btn:hover:not(:disabled),
  .page-number-btn:hover:not(.active-page) {
    background-color: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
  }
  
  .pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: var(--gray-200);
  }
  
  .page-numbers {
    display: flex;
    gap: 5px; /* Spacing between page number buttons */
  }
  
  .page-number-btn.active-page {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    cursor: default;
  }
  
  /* Hide pagination if only one page */
  .pagination-controls[data-total-pages="1"],
  .pagination-controls[data-total-pages="0"] {
      display: none;
  }
  
  /* Responsive adjustments for pagination */
  @media (max-width: 480px) {
      .pagination-controls {
          gap: 5px;
      }
      .pagination-btn,
      .page-number-btn {
          padding: 6px 10px;
          font-size: 13px;
          min-width: 35px;
      }
      .page-numbers {
          /* Allow page numbers to wrap if needed */
          flex-wrap: wrap;
          justify-content: center;
          gap: 3px;
      }
  }
  
  
  /* --- Footer Styles --- */
  .site-footer {
    background-color: var(--clr-dark);
    color: var(--clr-gray-300);
    padding-top: 5rem;
  }
  
  .footer-container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  .footer-grid {
    display: grid;
    gap: 2.5rem;
    padding-bottom: 4rem;
  }
  
  .footer-heading {
    font-size: 2rem;
    font-weight: 700;
    color: var(--clr-white);
    margin: 0 0 1.25rem 0;
  }
  
  .footer-subheading {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--clr-white);
    margin: 0 0 1.25rem 0;
    letter-spacing: 0.02em;
  }
  
  .footer-text {
    color: var(--clr-gray-400);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0 0 1.5rem 0;
  }
  
  .footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .footer-links-list a {
    color: var(--clr-gray-400);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
    text-underline-offset: 4px;
    display: inline-block;
  }
  
  .footer-links-list a:hover {
    color: var(--clr-primary);
    text-decoration: underline;
    text-decoration-color: var(--clr-primary);
  }
  
  .social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-top: 0.5rem;
  }
  
  .social-link-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--clr-gray-800);
    border-radius: 50%;
    color: var(--clr-gray-400);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  }
  
  .social-link-item:hover {
    background-color: var(--clr-primary);
    color: var(--clr-white);
    transform: scale(1.1);
  }
  
  .social-link-item svg {
    width: 1.1rem;
    height: 1.1rem;
    fill: currentColor;
  }
  
  .footer-contact address {
    font-style: normal;
    font-size: 0.9rem;
    color: var(--clr-gray-400);
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .contact-item, .contact-item-address {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  
  .contact-item-address {
    align-items: flex-start;
  }
  
  .contact-item svg, .contact-item-address svg {
    width: 1.1rem;
    height: 1.1rem;
    fill: var(--clr-primary);
    flex-shrink: 0;
    margin-top: 0.1em;
  }
  
  .icon-location {
    width: 1rem;
    height: 1rem;
    margin-top: 0.2em;
  }
  
  .contact-item a {
    color: var(--clr-gray-400);
    text-decoration: none;
    transition: color 0.2s ease;
  }
  
  .contact-item a:hover {
    color: var(--clr-primary);
  }
  
  .footer-bottom {
    background-color: var(--clr-gray-900);
    padding: 1.5rem 1rem;
    margin-top: 0;
    text-align: center;
  }
  
  .footer-copyright {
    font-size: 0.875rem;
    color: var(--clr-gray-500);
    margin: 0;
  }
  
  /* --- User Popup Menu --- */
  .user-menu-container {
    position: relative;
    display: inline-block;
  }
  
  .user-popup-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    background-color: var(--bg-input);
    border-radius: var(--input-radius);
    box-shadow: var(--popup-shadow);
    padding: 15px;
    z-index: 100;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
  }
  
  .user-popup-menu.visible {
    display: block;
    opacity: 1;
    visibility: visible;
  }
  
  .user-popup-menu p {
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
  }
  
  .user-popup-menu .welcome-text {
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 15px;
  }
  
  .user-popup-menu .btn {
    width: 100%;
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    text-align: center;
    text-decoration: none;
    display: block;
  }
  
  .user-popup-menu .btn-primary {
    background-color: var(--accent-blue);
    color: white;
  }
  
  .user-popup-menu .btn-secondary {
    background-color: var(--btn-secondary);
    color: white;
  }
  
  .user-popup-menu .btn-danger {
    background-color: var(--btn-danger);
    color: white;
  }
  
  .user-popup-menu .btn:hover {
    opacity: 0.9;
  }
  
  #popupLoggedIn, #popupLoggedOut {
    display: none;
  }
  
  /* --- Media Queries --- */
  @media (min-width: 640px) {
    .footer-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (min-width: 768px) {
    .container {
      padding: 0 20px;
    }
  
    .hero {
      padding: 100px 20px 120px;
    }
  
    .hero h1 {
      font-size: 48px;
    }
  
    .hero p {
      font-size: 18px;
    }
  
    .search-bar {
      flex-direction: row;
      padding: 8px 8px 8px 25px;
      align-items: center;
    }
  
    .search-input-container {
      margin-bottom: 0;
    }
  
    .search-bar input {
      padding: 15px 0;
    }
  
    .search-button {
      width: auto;
      padding: 15px 30px;
    }
  
    .section-header {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
    }
  
    .sell-content {
      padding: 60px 50px;
    }
  
    .sell-title {
      font-size: 36px;
    }
  
    .logo {
      font-size: 24px;
    }
  
    .sell-section {
      flex-direction: row;
    }
  }
  
  @media (min-width: 1024px) {
    .cars-grid {
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
  
    .brands-grid {
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
  
    .footer-grid {
      grid-template-columns: repeat(4, 1fr);
      gap: 2.5rem;
    }
  
    .footer-grid > div:not(:first-child) {
      border-left: 1px solid var(--clr-gray-800);
      padding-left: 2.5rem;
    }
  
    .footer-grid > div:first-child {
      padding-left: 0;
    }
  
    .footer-grid > div {
      padding-right: 0;
    }
  
    .footer-grid > div:last-child {
      padding-right: 0;
    }
  }
  
  @media (min-width: 1300px) {
    :root {
      --header-height: 80px;
    }
  
    .hamburger {
      display: none;
    }
  
    .nav-items {
      position: static;
      left: auto;
      width: auto;
      height: auto;
      background-color: transparent;
      flex-direction: row;
      padding: 0;
      box-shadow: none;
      overflow-y: visible;
      border-top: none;
      transition: none;
      max-width: max-content;
    }
  
    .nav-item {
      margin: 0 5px;
      border-bottom: none;
      padding: 8px 16px;
      border-radius: var(--radius-full);
    }
  
    .nav-item:hover, .nav-item.active {
      transform: translateY(-2px);
      background-color: var(--primary-light);
    }
  
    .nav-item.active::before {
      display: none;
    }
  }
  /* --- End of Pasted CSS --- */
  