

/* Hide products header h1 if it exists */
.products-header h1 {
    display: none !important;
}

/* Hide suggestion badge on recommended products */
.suggestion-badge {
    display: none !important;
}

/* Product Detail Page Enhancements */
.product-actions-row {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.add-to-cart-section {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex: 1;
}

.payment-methods {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    flex-shrink: 0;
}

.payment-icon {
    background: #f8f9fa;
    padding: 8px;
    border-radius: 50%;
    font-size: 1.1em;
    color: #007bff;
    box-shadow: 0 4px 8px rgba(0,123,255,0.1);
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-icon:hover {
    background: #e9ecef;
    color: #0056b3;
    transform: translateY(-2px);
}

.payment-text {
    font-weight: 600;
    color: #495057;
    font-size: 0.9em;
}

/* Responsive for mobile */
@media (max-width: 768px) {
    .product-actions-row {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .add-to-cart-section {
        justify-content: center;
    }
    
    .payment-methods {
        justify-content: center;
    }
}

/* TonerKinkog - Main Stylesheet - Updated with larger images */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5px;
}

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1001;
    width: 100%;
}

.top-banner {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    padding: 5px 0;
    font-size: 14px;
}

.banner-points {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 15px;
    overflow-x: auto;
}

.point {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 13px;
}

.point i {
    color: #f39c12;
}

/* Navigation */
.main-nav {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Desktop Navigation Layout */
@media (min-width: 769px) {
    .nav-content {
        display: grid;
        grid-template-columns: 200px 1fr 120px;
        align-items: center;
        gap: 30px;
        padding: 0 20px;
    }
    
    .logo {
        grid-column: 1;
        justify-self: start;
        margin: 0;
    }
    
    .search-bar {
        grid-column: 2;
        justify-self: center;
        width: 100%;
        max-width: 600px;
    }
    
    .nav-actions {
        grid-column: 3;
        justify-self: end;
        margin: 0;
    }
    
    /* Hide mobile elements on desktop */
    .nav-top-row,
    .header-search-bar {
        display: none;
    }
}

.logo h1 {
    color: #2c3e50;
    font-size: 28px;
    font-weight: 700;
    text-decoration: none;
}

.logo a {
    text-decoration: none;
}

.search-bar {
    flex: 1;
    max-width: 500px;
}

.search-form {
    display: flex;
    border: 2px solid #3498db;
    border-radius: 25px;
    overflow: hidden;
}

.search-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    outline: none;
    font-size: 14px;
}

.search-form button {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-form button:hover {
    background: #2980b9;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-link {
    position: relative;
    color: #2c3e50;
    text-decoration: none;
    font-size: 20px;
    padding: 10px;
    border: 2px solid #3498db;
    border-radius: 8px;
    transition: all 0.3s;
}

.cart-link:hover {
    background: #3498db;
    color: white;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 50%;
    min-width: 18px;
    text-align: center;
}

/* Main Menu */
.main-menu {
    background: #2c3e50;
    padding: 0;
    position: relative;
    z-index: 999;
}

.menu-items {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-items li {
    position: relative;
}

.menu-items a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    transition: all 0.3s ease;
    font-weight: 500;
    border-bottom: 3px solid transparent;
}

.menu-items a:hover {
    background: #34495e;
    border-bottom-color: #3498db;
}

.menu-items a i {
    font-size: 14px;
    opacity: 0.8;
}

/* Mega Menu Styles */
.has-mega-menu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    background: white;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 999;
    margin-left: calc(-50vw + 50%);
}

.mega-menu-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.mega-menu-section {
    display: flex;
    flex-direction: column;
}

.mega-menu-section h4 {
    color: #2c3e50;
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mega-menu-section h4 i {
    color: #3498db;
    font-size: 1em;
}

/* Brand Grid */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.brand-item:hover {
    background: #e3f2fd;
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
}

.brand-logo {
    width: 50px;
    height: 35px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9em;
    color: white;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.brand-logo.brand-hp {
    background: linear-gradient(135deg, #0096d6, #0073a6);
}

.brand-logo.brand-canon {
    background: linear-gradient(135deg, #c41e3a, #a01729);
}

.brand-logo.brand-brother {
    background: linear-gradient(135deg, #ff6600, #cc5200);
}

.brand-logo.brand-epson {
    background: linear-gradient(135deg, #003da5, #002b73);
}

.brand-logo.brand-samsung {
    background: linear-gradient(135deg, #1428a0, #0f1d73);
}

.brand-logo.all-brands {
    background: linear-gradient(135deg, #6c757d, #495057);
    font-size: 1.2em;
}

.brand-name {
    font-size: 0.8em;
    color: #495057;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}

.brand-item.view-all {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 2px dashed #6c757d;
}

.brand-item.view-all:hover {
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
    border-color: #495057;
}

/* Color Links */
.color-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.color-links li {
    margin: 0;
}

.color-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #495057;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.color-links a:hover {
    background: #f8f9fa;
    color: #2c3e50;
    transform: translateX(5px);
}

/* Quick Links */
.quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quick-links li {
    margin: 0;
}

.quick-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #495057;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.quick-links a:hover {
    background: #f8f9fa;
    color: #2c3e50;
    transform: translateX(5px);
}

.quick-links a i {
    color: #3498db;
    width: 16px;
    text-align: center;
}

/* Responsive Mega Menu */
@media (max-width: 1200px) {
    .mega-menu-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .mega-menu {
        display: none;
    }
    
    .menu-items {
        flex-direction: column;
    }
    
    .menu-items a {
        padding: 12px 15px;
    }
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 15px 0;
}

/* Home Page Styles */
.hero-section {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
}

.hero-section h1 {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-section p {
    font-size: 1.3em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: #f39c12;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #d68910;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 3em;
    color: #3498db;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

/* WhatsApp Button Styles */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    border: none;
    border-radius: 50%;
    height: 60px;
    width: 60px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

/* Mobile adjustments for WhatsApp button */
@media (max-width: 768px) {
    .whatsapp-btn {
        bottom: 90px; /* Above mobile bottom nav */
        right: 15px;
        height: 55px;
        width: 55px;
        font-size: 25px;
    }
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0 20px;
    margin-top: 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: #3498db;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #3498db;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
    color: #bdc3c7;
  }

  /* Mobile Menu Styles */
  .mobile-only {
    display: none; /* Hide by default unless mobile */
  }
  
  .desktop-only {
    display: block;
  }

  @media (max-width: 768px) {
    .desktop-only {
      display: none;
    }
    
    .mobile-only {
      display: block;
    }
    
    .menu-toggle {
      background: none;
      border: none;
      font-size: 1.5em;
      color: #3498db;
      position: absolute;
      top: 15px;
      left: 15px;
      z-index: 10000;
      cursor: pointer;
      padding: 10px;
      width: 44px;
      height: 44px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      transition: background-color 0.3s ease;
    }
    
    .menu-toggle:hover {
      background-color: rgba(52, 152, 219, 0.1);
    }
    
    .menu-toggle:active {
      background-color: rgba(52, 152, 219, 0.2);
    }
    
    .nav-content {
      position: relative;
      justify-content: center;
    }
    
    .logo {
      text-align: center;
    }
    
    .nav-actions {
      position: absolute;
      top: 15px;
      right: 15px;
    }

    .mobile-menu {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background: linear-gradient(135deg, #2c3e50, #3498db);
      color: white;
      z-index: 9999;
      overflow-y: auto;
      padding: 20px;
      transform: translateX(-100%);
      transition: transform 0.3s ease;
      display: flex;
      flex-direction: column;
    }

    .mobile-menu.active {
      transform: translateX(0);
    }
    
    .mobile-menu-header {
      display: flex;
      justify-content: flex-end;
      margin-bottom: 30px;
    }
    
    .close-mobile-menu {
      background: none;
      border: none;
      color: white;
      font-size: 2em;
      cursor: pointer;
    }

    .mobile-menu-items {
      list-style: none;
      padding: 0;
      text-align: center;
      flex: 1;
    }

    .mobile-menu-items li {
      margin: 20px 0;
      border-bottom: 1px solid rgba(255,255,255,0.2);
      padding-bottom: 15px;
    }

    .mobile-menu-items a {
      color: white;
      text-decoration: none;
      font-size: 1.3em;
      font-weight: 500;
      transition: color 0.3s ease;
      display: block;
      padding: 10px;
    }

    .mobile-menu-items a:hover {
      color: #f39c12;
      background: rgba(255,255,255,0.1);
      border-radius: 5px;
    }
    
    .mobile-search {
      margin-top: 30px;
      padding: 20px;
      background: rgba(255,255,255,0.1);
      border-radius: 10px;
    }
    
    .mobile-search input {
      width: 100%;
      padding: 12px;
      border: none;
      border-radius: 5px;
      margin-bottom: 10px;
    }
    
    .mobile-search button {
      width: 100%;
      padding: 12px;
      background: #f39c12;
      color: white;
      border: none;
      border-radius: 5px;
      font-size: 1.1em;
    }
  }

  /* Logo Styles */
  .logo img, .site-logo {
      max-height: 60px; /* Increased from 45px to make logo bigger */
  }
  
  /* Products Page Styles */
  .products-header {
      margin-bottom: 20px;
  }

  .products-header h1 {
      color: #2c3e50;
      font-size: 2.5em;
      margin-bottom: 10px;
      font-weight: 700;
  }
  
  /* Product Images - General Centering */
  .product-image {
      display: flex;
      align-items: center;
      justify-content: center;
      background: #f8f9fa;
      border-radius: 8px;
      overflow: hidden;
  }
  
  .product-image img {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
  }
  
  .main-image {
      display: flex;
      align-items: center;
      justify-content: center;
      background: #f8f9fa;
      border-radius: 10px;
      padding: 20px;
      min-height: 300px;
  }
  
  .main-image img {
      max-width: 100%;
      max-height: 400px;
      object-fit: contain;
  }

  .search-results-info {
      background: #e8f4fd;
      padding: 8px 15px;
      border-radius: 5px;
      margin-bottom: 15px;
      color: #2c3e50;
      font-size: 0.9em;
      border-left: 4px solid #3498db;
  }

  .search-results-info i {
      color: #3498db;
      margin-right: 5px;
  }

  /* Compact Category & Filters */
  .compact-filters {
      background: white;
      padding: 15px 20px;
      border-radius: 10px;
      margin-bottom: 20px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }

  .filter-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 20px;
  }

  .category-info {
      flex: 1;
      color: #2c3e50;
      font-size: 0.9em;
      font-weight: 500;
      display: flex;
      align-items: center;
      gap: 8px;
  }

.category-links a {
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
    display: block !important;
      color: #3498db;
  }

  .filter-controls {
      display: flex;
      gap: 20px;
      align-items: center;
  }

  .filter-input {
      display: flex;
      flex-direction: column;
      gap: 5px;
  }

  .filter-input label {
      font-size: 0.8em;
      color: #666;
      font-weight: 500;
  }

  .filter-input select {
      padding: 8px 12px;
      border: 1px solid #ddd;
      border-radius: 5px;
      font-size: 0.9em;
      min-width: 120px;
  }

  .search-wrapper {
      display: flex;
      border: 1px solid #ddd;
      border-radius: 5px;
      overflow: hidden;
  }

  .search-wrapper input {
      padding: 8px 12px;
      border: none;
      font-size: 0.9em;
      min-width: 200px;
      outline: none;
  }

  .btn-search {
      background-color: #3498db;
      color: white;
      border: none;
      padding: 8px 12px;
      cursor: pointer;
      transition: background-color 0.3s;
  }

  .btn-search:hover {
      background-color: #2980b9;
  }

  .btn-search i {
      font-size: 0.9em;
  }

  /* Responsive Compact Filters */
  @media screen and (max-width: 768px) {
      .compact-filters {
          flex-direction: column;
          gap: 15px;
          align-items: stretch;
      }

      .category-info {
          text-align: center;
          justify-content: center;
      }

      .filter-controls {
          flex-direction: column;
          gap: 10px;
      }

      .filter-input {
          justify-content: center;
      }

      .filter-input input[type="text"] {
          width: 100%;
          max-width: 250px;
      }
  }
    color: #2c3e50;
    font-size: 0.95em;
}

.filter-group select,
.filter-group input[type="text"] {
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.filter-group select:focus,
.filter-group input[type="text"]:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.btn-search {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    height: fit-content;
}

.btn-search:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
    padding: 0;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 550px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.product-image {
    position: relative;
    height: 350px;
    overflow: hidden;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #f1f3f4;
}

.product-image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
}

.product-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.1));
    width: auto;
    height: auto;
    display: block;
    margin: auto;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.out-of-stock {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e74c3c;
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    z-index: 2;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.75em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.product-badge.original {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.product-badge.alternative {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
}

.product-info {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 0;
}

.product-info h3 {
    color: #2c3e50;
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
    min-height: auto;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    flex-grow: 0;
    flex-shrink: 0;
}

.product-brand {
    color: #6c757d;
    font-size: 0.9em;
    margin-bottom: 15px;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Desktop brand badge styling */
@media (min-width: 769px) {
    .product-image .mobile-brand {
        display: none;
    }
    
    .product-image .desktop-brand {
        position: absolute;
        top: 15px;
        right: 60px;
        z-index: 4;
        background: rgba(255, 255, 255, 0.95);
        padding: 6px 12px;
        border-radius: 15px;
        font-size: 0.75em;
        font-weight: 700;
        color: #333;
        border: 1px solid #ddd;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        margin-bottom: 0;
        display: flex;
        align-items: center;
        gap: 0;
        flex-direction: row;
        white-space: nowrap;
        min-height: 27px;
        box-sizing: border-box;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
}

/* Mobile overlay brand styling */
@media (max-width: 768px) {
    .product-image .desktop-brand {
        display: none;
    }
    
    .product-image .mobile-brand {
        position: absolute;
        top: 8px;
        left: 8px;
        z-index: 5;
        background: rgba(255, 255, 255, 0.95);
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 0.7em;
        font-weight: 600;
        color: #333;
        border: 1px solid #ddd;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        margin-bottom: 0;
        display: flex;
        align-items: center;
        gap: 0;
        flex-direction: row;
        white-space: nowrap;
        min-height: 20px;
        box-sizing: border-box;
    }
    
    .product-badge {
        position: absolute;
        top: 8px;
        right: 8px;
        z-index: 3;
        font-size: 0.65em !important;
        padding: 4px 8px !important;
        border-radius: 4px !important;
        letter-spacing: 0.3px !important;
        font-weight: 600 !important;
        text-align: right !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        min-height: 20px !important;
        box-sizing: border-box !important;
    }
}

.product-brand i {
    color: #007bff;
    margin-right: 5px;
}

.product-model {
    color: #495057;
    font-size: 0.85em;
    font-weight: 400;
    opacity: 0.8;
}

.product-description {
    color: #6c757d;
    font-size: 0.85em;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-bottom {
    margin-top: auto;
    flex-shrink: 0;
}

.product-price {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.product-price .price {
    font-size: 1.4em;
    font-weight: 700;
    color: #27ae60;
}

.stock-info {
    color: #6c757d;
    font-size: 0.75em;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    font-style: italic;
}

.stock-info i {
    font-size: 0.7em;
}

.product-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 120px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.btn-cart {
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
    border: none;
    padding: 12px 15px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
    min-width: 120px;
}

.btn-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

/* No Products */
.no-products {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.no-products h2 {
    color: #2c3e50;
    font-size: 1.8em;
    margin-bottom: 15px;
}

.no-products p {
    color: #7f8c8d;
    margin-bottom: 25px;
    font-size: 1.1em;
}

.debug-info {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: monospace;
    font-size: 0.9em;
    text-align: left;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-link {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.page-link:hover {
    border-color: #3498db;
    color: #3498db;
    transform: translateY(-2px);
}

.page-link.active {
    background: #3498db;
    border-color: #3498db;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 5px;
    }
    
    .nav-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .logo h1 {
        font-size: 2.2em;
    }
    
    .logo img {
        max-height: 70px;
    }
    
    .banner-points {
        flex-direction: column;
        gap: 10px;
    }
    
    .menu-items {
        flex-direction: column;
    }
    
    .hero-section h1 {
        font-size: 2em;
    }
    
    .search-bar {
        max-width: 100%;
    }
    
    .products-header h1 {
        font-size: 2em;
    }
    
    .filter-form {
        flex-direction: column;
        gap: 20px;
    }
    
    .filter-group {
        min-width: 100%;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
        gap: 10px;
        margin-bottom: 30px;
        padding: 0 3px;
    }
    
    .product-card {
        min-height: 520px;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    }
    
    .product-image {
        height: 220px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px;
        position: relative;
    }
    
    .product-image img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        width: auto;
        height: auto;
        display: block;
    }
    
    .product-brand {
        position: absolute;
        top: 8px;
        left: 8px;
        z-index: 3;
        background: rgba(255, 255, 255, 0.95);
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 0.7em !important;
        font-weight: 600;
        color: #333;
        border: 1px solid #ddd;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        margin-bottom: 0 !important;
        display: flex;
        align-items: center;
        gap: 0;
    }
    
    .product-brand i {
        display: none;
    }
    
    .product-brand br {
        display: none;
    }
    
    .product-model {
        display: none;
    }
    
    
    .product-info {
        padding: 15px;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .product-info h3 {
        font-size: 1.05em;
        min-height: auto;
        margin-bottom: 12px;
        line-height: 1.4;
        -webkit-line-clamp: 4;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        word-wrap: break-word;
    }
    
    .product-info .product-brand {
        display: none;
    }
    
    .product-model {
        font-size: 0.8em;
    }
    
    .product-colors {
        margin-bottom: 12px;
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        align-items: flex-start;
    }
    
    .color-tag {
        font-size: 0.75em !important;
        padding: 4px 3px !important;
        border-radius: 4px !important;
        margin: 0 !important;
        display: inline-block !important;
        font-weight: 600 !important;
        border: 1px solid rgba(0,0,0,0.1) !important;
        line-height: 1.2 !important;
        text-align: center !important;
        width: calc(50% - 2px) !important;
        box-sizing: border-box !important;
        flex: 0 0 calc(50% - 2px) !important;
    }
    
    .color-group-info {
        font-size: 0.7em !important;
        margin-top: 4px !important;
        display: block !important;
        color: white !important;
        text-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
        width: 100% !important;
        text-align: center !important;
        flex: 1 1 100% !important;
    }
    
    .product-description {
        font-size: 0.8em;
        margin-bottom: 10px;
        -webkit-line-clamp: 2;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .product-bottom {
        margin-top: auto;
        padding-top: 10px;
    }
    
    .product-price {
        margin-bottom: 12px;
        gap: 3px;
    }
    
    .product-price .price {
        font-size: 1.25em;
    }
    
    .stock-info {
        font-size: 0.65em;
        color: #6c757d;
        font-weight: 500;
        font-style: italic;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 8px;
        margin-top: 10px;
    }
    
    .btn-primary, .btn-cart {
        padding: 10px 15px;
        font-size: 0.85em;
        min-width: 100px;
    }
    
    .results-header, .category-header {
        padding: 15px;
    }
    
    .results-header h2, .category-header h2 {
        font-size: 1.3em;
    }
}

/* Cart Styles */
.cart-page {
    padding: 20px 0;
}

.cart-page h1 {
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 2.2em;
    font-weight: 700;
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: none;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* Empty Cart */
.cart-empty {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.empty-cart-icon {
    font-size: 4em;
    margin-bottom: 20px;
}

.cart-empty h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.8em;
}

.cart-empty p {
    color: #7f8c8d;
    margin-bottom: 30px;
    font-size: 1.1em;
}

/* Cart Items */
.cart-items {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-bottom: 30px;
}

.cart-table {
    width: 100%;
}

.cart-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 80px;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 1px solid #e9ecef;
}

.cart-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 80px;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid #f1f3f4;
    align-items: center;
    transition: background-color 0.3s;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item:hover {
    background-color: #f8f9fa;
}

/* Cart Product Info - More specific to avoid conflicts */
.cart-item .product-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.product-variant {
    color: #007bff;
    font-weight: 600;
    font-size: 13px;
    margin: 2px 0;
}

.cart-item .product-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.product-details h4 {
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 1em;
    font-weight: 600;
}

.product-sku {
    color: #6c757d;
    font-size: 0.85em;
    margin-bottom: 3px;
}

.stock-info {
    color: #28a745;
    font-size: 0.8em;
    font-weight: 500;
}

/* Price */
.price {
    font-weight: 600;
    color: #27ae60;
    font-size: 1.1em;
}

/* Quantity Controls */
.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    overflow: hidden;
    max-width: 120px;
}

.qty-btn {
    background: #f8f9fa;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    color: #2c3e50;
    font-weight: 600;
    transition: background-color 0.3s;
}

.qty-btn:hover {
    background: #e9ecef;
}

.qty-input {
    border: none;
    text-align: center;
    width: 50px;
    padding: 8px 4px;
    font-weight: 600;
    outline: none;
}

/* Item Total */
.item-total {
    font-weight: 700;
    color: #2c3e50;
    font-size: 1.1em;
}

/* Remove Button */
.btn-remove {
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-remove:hover {
    background: #c0392b;
    transform: scale(1.05);
}

/* Cart Summary */
.cart-summary {
    display: flex;
    justify-content: flex-end;
}

.summary-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    padding: 30px;
    min-width: 350px;
}

.summary-card h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.3em;
    font-weight: 700;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    color: #2c3e50;
}

.summary-row.total-row {
    font-size: 1.2em;
    border-top: 2px solid #e9ecef;
    margin-top: 15px;
    padding-top: 15px;
}

.free-shipping {
    color: #28a745;
    font-weight: 600;
}

.shipping-notice {
    background: #e8f5e8;
    color: #155724;
    padding: 10px;
    border-radius: 6px;
    margin: 10px 0;
    text-align: center;
}

/* Cart Actions */
.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 25px;
}

.btn-continue {
    background: #6c757d;
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-continue:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.btn-clear {
    background: #dc3545;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-clear:hover {
    background: #c82333;
    transform: translateY(-2px);
}

.btn-checkout {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    text-decoration: none;
    padding: 15px 25px;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

/* Cart Responsive */
@media (max-width: 768px) {
    .cart-header {
        display: none;
    }
    
    .cart-item {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px 15px;
    }
    
    .product-info {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .cart-item .product-image {
        width: 80px;
        height: 80px;
    }
    
    .quantity-controls {
        justify-self: center;
    }
    
    .summary-card {
        min-width: 100%;
        margin-top: 20px;
    }
    
    .cart-summary {
        justify-content: stretch;
    }
    
    .cart-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 8px;
    }
    
    .hero-section {
        padding: 40px 0;
    }
    
    .hero-section h1 {
        font-size: 1.8em;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .product-card {
        margin: 0 auto;
        max-width: 350px;
    }
    
    .product-card .product-image {
        height: 200px;
    }
    
    .product-info h3 {
        font-size: 1.1em;
        min-height: auto;
    }
    
    .filters {
        padding: 20px;
    }
}

/* Confirmation Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 25px 30px 15px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 15px;
}

.modal-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}

.modal-icon.warning {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.modal-icon.danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.modal-title {
    color: #2c3e50;
    font-size: 1.3em;
    font-weight: 700;
    margin: 0;
}

.modal-body {
    padding: 20px 30px;
}

.modal-message {
    color: #6c757d;
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 0;
}

.modal-actions {
    padding: 20px 30px;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.modal-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95em;
    min-width: 100px;
}

.modal-btn-cancel {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #e9ecef;
}

.modal-btn-cancel:hover {
    background: #e9ecef;
    color: #5a6268;
}

.modal-btn-danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.modal-btn-danger:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

/* Product detail modal for item removal */
.modal-product-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    margin: 15px 0;
}

.modal-product-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #e9ecef;
}

.modal-product-details h5 {
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 1em;
    font-weight: 600;
}

.modal-product-variant {
    color: #6c757d;
    font-size: 0.9em;
    margin-bottom: 3px;
}

.modal-product-price {
    color: #27ae60;
    font-weight: 600;
    font-size: 1.1em;
}

/* =======================================================
   MODERN CHECKOUT STYLES 
   ======================================================= */

/* Progress Steps */
.checkout-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 25px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: #e9ecef;
    z-index: -1;
}

.step.completed::after,
.step.active::after {
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.step.completed .step-number {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.step.active .step-number {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0,123,255,0.3);
}

.step-label {
    font-weight: 500;
    color: #6c757d;
    font-size: 0.9rem;
}

.step.completed .step-label,
.step.active .step-label {
    color: #495057;
    font-weight: 600;
}

/* Form Cards */
.checkout-form-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 2rem;
    background: white;
}

.checkout-form-card .card-header {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 1.5rem 2rem;
    border-radius: 0;
}

.checkout-form-card .card-header h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.checkout-form-card .card-body {
    padding: 2rem;
}

.order-summary-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    position: sticky;
    top: 20px;
    background: white;
}

.order-summary-card .card-header {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 1.5rem;
    border-radius: 20px 20px 0 0;
}

.order-summary-card .card-body {
    padding: 1.5rem;
}

/* Section Titles */
.section-title {
    color: #495057;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title i {
    color: #007bff;
}

/* Modern Form Styling */
.customer-form-section,
.shipping-form-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #dee2e6;
    position: relative;
    overflow: hidden;
}

.customer-form-section::before,
.shipping-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #28a745, #ffc107, #dc3545);
}

.form-group-modern {
    position: relative;
    margin-bottom: 1.5rem;
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.form-group-modern:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.form-group-modern:focus-within {
    border-color: #007bff;
    box-shadow: 0 4px 20px rgba(0,123,255,0.15);
    transform: translateY(-2px);
}

.form-label-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-label-modern i {
    color: #007bff;
    width: 16px;
    text-align: center;
}

.form-control-modern {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.95rem;
    background: #fafbfc;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-control-modern:focus {
    outline: none;
    border-color: #007bff;
    background: white;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
    transform: scale(1.02);
}

.form-control-modern::placeholder {
    color: #adb5bd;
    font-style: italic;
    opacity: 0.8;
}

.form-control-modern:valid {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.05);
}

.form-control-modern:invalid:not(:placeholder-shown) {
    border-color: #dc3545;
    background: rgba(220, 53, 69, 0.05);
}

.select-modern {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
    appearance: none;
    cursor: pointer;
}

.select-modern:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23007bff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
}

.form-help {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #6c757d;
    font-style: italic;
    padding: 0.25rem 0.5rem;
    background: #f8f9fa;
    border-radius: 4px;
    border-left: 3px solid #007bff;
}

.form-feedback {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    min-height: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-feedback.valid {
    color: #28a745;
}

.form-feedback.invalid {
    color: #dc3545;
}

/* Payment Methods - Original */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Payment Methods - Compact Grid */
.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .payment-methods-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

/* Compact Payment Option Styles */
.payment-option-compact {
    position: relative;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100px;
    display: flex;
    flex-direction: column;
}

.payment-option-compact:hover {
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,123,255,0.15);
}

.payment-option-compact input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.payment-option-compact input[type="radio"]:checked + .payment-label-compact {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-color: #007bff;
}

.payment-option-compact input[type="radio"]:checked + .payment-label-compact .payment-icon-compact {
    background: rgba(255,255,255,0.2);
    color: white;
}

.payment-option-compact input[type="radio"]:checked + .payment-label-compact .payment-description-compact {
    color: rgba(255,255,255,0.9);
}

.payment-option-compact input[type="radio"]:checked + .payment-label-compact .payment-title-compact {
    color: white;
}

.payment-label-compact {
    display: flex;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    border-radius: 10px;
    position: relative;
    height: 100px;
    width: 100%;
}

.payment-icon-compact {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    font-size: 1.2rem;
    color: #007bff;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.payment-icon-compact.paypal {
    color: #0070ba;
}

.payment-icon-compact.stripe {
    color: #635bff;
}

.payment-content-compact {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.payment-title-compact {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: #495057;
    line-height: 1.3;
}

.payment-description-compact {
    font-size: 0.8rem;
    color: #6c757d;
    line-height: 1.3;
}

.payment-badge-compact {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.payment-badge-compact.secure {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    color: #000;
}

.payment-info-compact {
    background: #f8f9fa;
    padding: 0.75rem;
    border-radius: 0 0 10px 10px;
    font-size: 0.8rem;
    color: #6c757d;
    line-height: 1.4;
    display: none;
}

.payment-option-compact input[type="radio"]:checked ~ .payment-info-compact {
    display: block;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.9);
}

.payment-option {
    position: relative;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.payment-option:hover {
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,123,255,0.15);
}

.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.payment-option input[type="radio"]:checked + .payment-label {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-color: #007bff;
}

.payment-option input[type="radio"]:checked + .payment-label .payment-icon {
    background: rgba(255,255,255,0.2);
    color: white;
}

.payment-option input[type="radio"]:checked + .payment-label .payment-description {
    color: rgba(255,255,255,0.9);
}

.payment-label {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    border-radius: 13px;
    position: relative;
}

.payment-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.5rem;
    color: #007bff;
    transition: all 0.3s ease;
}

.payment-icon.paypal {
    color: #0070ba;
}

.payment-icon.stripe {
    color: #635bff;
}

.payment-content {
    flex: 1;
}

.payment-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: #495057;
}

.payment-description {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.4;
}

.payment-badge {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.payment-badge.secure {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
}

.payment-info {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 0 0 13px 13px;
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.5;
    display: none;
}

.payment-option input[type="radio"]:checked ~ .payment-info {
    display: block;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.9);
}

/* Security Badge */
.security-badge {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Cart Items Styling */
.cart-items-list {
    margin-bottom: 1.5rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.cart-item:hover {
    background: #e9ecef;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.cart-item:last-child {
    margin-bottom: 0;
}

.item-info {
    flex: 1;
}

.item-name {
    font-weight: 600;
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.item-variant {
    margin-bottom: 0.3rem;
}

.variant-label, .qty-label {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 500;
}

.variant-value {
    font-size: 0.8rem;
    color: #495057;
    font-weight: 600;
    background: #fff;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    margin-left: 0.5rem;
}

.qty-value {
    font-size: 0.8rem;
    color: #007bff;
    font-weight: 700;
    background: rgba(0,123,255,0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    margin-left: 0.5rem;
}

.item-price {
    font-weight: 700;
    color: #28a745;
    font-size: 1rem;
    text-align: right;
    padding-left: 1rem;
}

/* Order Summary Totals */
.order-summary-totals {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    margin-top: 1rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.95rem;
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-row.total-row {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    margin: 1rem -1.5rem -1.5rem;
    padding: 1.25rem 1.5rem;
    border-radius: 0 0 12px 12px;
    font-size: 1.1rem;
    border-bottom: none;
}

.summary-row .amount {
    font-weight: 600;
    color: #495057;
}

.summary-row.total-row .amount {
    color: white;
    font-size: 1.2rem;
}

.total-amount {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
}

/* Order Notes Styling */
.notes-container {
    position: relative;
}

.modern-textarea {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
    resize: vertical;
    transition: all 0.3s ease;
    width: 100%;
    min-height: 100px;
    font-family: inherit;
}

.modern-textarea:focus {
    background: white;
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.15);
    transform: translateY(-2px);
    outline: none;
}

.modern-textarea::placeholder {
    color: #adb5bd;
    font-style: italic;
}

.form-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #6c757d;
    padding: 0.5rem 1rem;
    background: #e3f2fd;
    border-radius: 8px;
    border-left: 3px solid #2196f3;
    margin-top: 0.5rem;
}

/* Button Styling */
.btn-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,123,255,0.3);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,123,255,0.4);
    background: linear-gradient(135deg, #0056b3, #004085);
}

.btn-primary:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-primary.loading {
    position: relative;
    color: transparent;
}

.btn-primary.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Input Focus Animations */
.form-control-modern:focus {
    animation: inputFocus 0.3s ease;
}

@keyframes inputFocus {
    0% {
        transform: scale(1);
        box-shadow: none;
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1.02);
        box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
    }
}

/* Animation for form validation */
.form-control.is-invalid {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .checkout-progress {
        padding: 1rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .step-label {
        font-size: 0.8rem;
    }
    
    .payment-label {
        padding: 1rem;
    }
    
    .payment-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .checkout-form-card,
    .order-summary-card {
        margin-bottom: 1rem;
    }
    
    .customer-form-section,
    .shipping-form-section {
        padding: 1.5rem;
    }
    
    .form-group-modern {
        padding: 0.75rem;
    }
}
    object-fit: cover;
    border: 1px solid #e9ecef;
}

.modal-product-details h4 {
    color: #2c3e50;
    margin: 0 0 5px 0;
    font-size: 1em;
}

.modal-product-variant {
    color: #007bff;
    font-size: 0.9em;
    font-weight: 600;
    margin: 0;
}

/* Mobile responsive */
@media (max-width: 480px) {
    .modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .modal-header {
        padding: 20px 20px 15px;
    }
    
    .modal-body {
        padding: 15px 20px;
    }
    
    .modal-actions {
        padding: 15px 20px;
        flex-direction: column;
    }
    
    .modal-btn {
        width: 100%;
    }
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 10001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-sidebar.active + .cart-sidebar-overlay {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
}

.cart-sidebar-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.2em;
}

.close-sidebar {
    background: none;
    border: none;
    font-size: 1.2em;
    color: #6c757d;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-sidebar:hover {
    background: #e9ecef;
    color: #2c3e50;
}

.cart-sidebar-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.cart-sidebar-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.sidebar-item {
    padding: 15px 0;
    border-bottom: 1px solid #f1f3f4;
}

.sidebar-item:last-child {
    border-bottom: none;
}

.sidebar-item .product-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 0.9em;
    line-height: 1.3;
}

.sidebar-item .product-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-item .product-variant {
    color: #007bff;
    font-size: 0.8em;
    font-weight: 500;
}

.sidebar-item .product-qty {
    color: #6c757d;
    font-size: 0.8em;
}

.sidebar-item .product-price {
    color: #27ae60;
    font-weight: 600;
    font-size: 0.9em;
}

.cart-sidebar-summary {
    padding: 20px;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
}

.cart-sidebar-summary .summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9em;
}

.cart-sidebar-summary .summary-row.total {
    font-weight: 700;
    font-size: 1em;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #dee2e6;
}

.cart-sidebar-actions {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-view-cart {
    background: #6c757d;
    color: white;
    text-decoration: none;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.btn-view-cart:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.cart-sidebar .btn-checkout {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    text-decoration: none;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.cart-sidebar .btn-checkout:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

/* Mobile cart sidebar */
@media (max-width: 480px) {
    .cart-sidebar {
        width: 100vw;
        right: -100vw;
    }
    
    .cart-sidebar.active {
        right: 0;
    }
  }

  /* Mobile Bottom Navigation */
  .mobile-bottom-nav {
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      background: #3498db;
      display: flex;
      justify-content: space-around;
      align-items: center;
      padding: 6px 0;
      box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
      z-index: 1000;
  }

  .bottom-nav-item {
      flex: 1;
      text-align: center;
  }

  .bottom-nav-item a {
      color: white;
      text-decoration: none;
      font-size: 0.65em;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 2px 1px;
  }

  .bottom-nav-item i {
      font-size: 1.3em;
      margin-bottom: 3px;
  }

  /* Add bottom padding to main content when bottom nav is visible */
  @media (max-width: 768px) {
      .main-content {
          padding: 10px 0 80px 0;
      }
  }

  @media (min-width: 769px) {
      .mobile-bottom-nav {
          display: none;
      }
  }
  
  /* Extra small screens - even more compact */
  @media (max-width: 480px) {
      .bottom-nav-item a {
          font-size: 0.6em;
          padding: 1px 0;
      }
      
      .bottom-nav-item i {
          font-size: 1.2em;
          margin-bottom: 2px;
      }
      
      .mobile-bottom-nav {
          padding: 4px 0;
      }
  }
/* Tablet and Mobile Header */
  @media (max-width: 768px) {
      /* Hide cart button on mobile and tablets for product listings */
      .btn-cart {
          display: none !important;
      }
      
      /* Thinner header for mobile */
      .top-banner {
          padding: 8px 0;
          font-size: 0.85em;
      }
      
      .desktop-banner {
          display: none;
      }
      
      .point {
          margin: 0;
      }
      
      .main-nav {
          padding: 12px 0;
      }
      
      .nav-content {
          flex-direction: column;
          gap: 15px;
      }
      
    .logo img {
        max-height: 28px;
    }
      
      .search-bar {
          width: 100%;
          order: 3;
      }
      
      .nav-actions {
          order: 2;
          margin-top: -10px;
      }
      
      .main-menu {
          padding: 8px 0;
          overflow-x: auto;
          -webkit-overflow-scrolling: touch;
      }
      
      .menu-items {
          display: flex;
          white-space: nowrap;
          padding: 0 10px;
          min-width: max-content;
      }
      
      .menu-items li {
          margin-right: 20px;
      }
      
      .menu-items li:last-child {
          margin-right: 0;
      }
      
      /* Product grid - 2 columns for tablet */
      .products-grid {
          grid-template-columns: repeat(2, 1fr);
          gap: 15px;
          padding: 0 5px;
      }
      
      .product-card {
          padding: 12px;
      }
      
      .product-card .product-info h3 {
          font-size: 0.9em;
          line-height: 1.3;
      }
      
      .product-actions {
          flex-direction: column;
          gap: 8px;
      }
      
      .btn-primary {
          font-size: 0.85em;
          padding: 8px 12px;
      }
      
      /* Footer adjustments */
      .footer-content {
          grid-template-columns: repeat(2, 1fr);
          gap: 20px;
      }
  }

/* Enhanced Footer Styles */
.footer {
    background: #2c3e50;
    color: white;
    padding: 50px 0 20px;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #3498db;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.footer-section h4 {
    color: #3498db;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #3498db;
}

.footer-section p {
    margin-bottom: 10px;
    color: #ecf0f1;
}

.footer-section p i {
    color: #3498db;
    margin-right: 8px;
}

/* Quality Badges */
.quality-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.quality-badges .badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 5px;
    font-size: 0.9em;
}

.quality-badges .badge i {
    color: #3498db;
}

/* Opening Hours */
.opening-hours {
    margin-top: 15px;
    padding: 15px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 8px;
}

.opening-hours p {
    margin-bottom: 5px;
    font-size: 0.9em;
}

/* Payment Methods */
.footer-payment {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.footer-payment h4 {
    color: #3498db;
    margin: 0;
    margin-right: 10px;
    flex-shrink: 0;
}

.payment-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s;
    white-space: nowrap;
}

.payment-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.payment-item i {
    font-size: 1.1em;
    color: #3498db;
    flex-shrink: 0;
}

.payment-item span {
    font-size: 0.85em;
    color: #ecf0f1;
    font-weight: 500;
}

/* Shipping Partners */
.footer-shipping {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 10px;
}

.footer-shipping h4 {
    color: #e74c3c;
    margin-bottom: 15px;
    text-align: center;
}

.shipping-partners {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.shipping-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    transition: all 0.3s;
    min-width: auto;
    white-space: nowrap;
}

.shipping-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.shipping-item i {
    font-size: 1.2em;
    color: #e74c3c;
    flex-shrink: 0;
}

.shipping-item span {
    font-size: 0.9em;
    color: #ecf0f1;
    font-weight: 500;
}

.shipping-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.shipping-info p {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
    color: #ecf0f1;
}

.shipping-info i {
    color: #27ae60;
}

/* Trust Badges */
.footer-trust {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(46, 204, 113, 0.1);
    border-radius: 10px;
}

.trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s;
    min-width: 100px;
}

.trust-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.trust-item i {
    font-size: 1.5em;
    color: #27ae60;
}

.trust-item span {
    font-size: 0.8em;
    color: #ecf0f1;
    text-align: center;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom-content p {
    margin-bottom: 5px;
    font-size: 0.9em;
    color: #bdc3c7;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .payment-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-payment h4 {
        text-align: center;
        margin-bottom: 0;
    }
    
    .payment-methods {
        justify-content: center;
        gap: 10px;
    }
    
    .payment-methods,
    .shipping-partners,
    .trust-badges {
        gap: 10px;
    }
    
    .payment-item,
    .shipping-item,
    .trust-item {
        min-width: 60px;
        padding: 8px;
    }
    
    .shipping-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .quality-badges {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 30px 0 20px;
    }
    
    .footer-content {
        gap: 15px;
    }
    
    .footer-section h3 {
        font-size: 1.2em;
    }
    
    .footer-section h4 {
        font-size: 1em;
    }
    
    .payment-methods,
    .shipping-partners,
    .trust-badges {
        gap: 8px;
    }
    
    .payment-item,
    .shipping-item,
    .trust-item {
        min-width: 50px;
        padding: 6px;
    }
    
    .payment-item i,
    .shipping-item i,
    .trust-item i {
        font-size: 1.2em;
    }
    
    .payment-item span,
    .shipping-item span,
    .trust-item span {
        font-size: 0.7em;
    }
}

/* Mobile Phone Specific */
@media (max-width: 480px) {
    /* Hide cart button on mobile for product listings */
    .btn-cart {
        display: none !important;
    }
    
    /* Even thinner header */
    .top-banner {
        padding: 5px 0;
        font-size: 0.75em;
    }
    
    .banner-points .point span {
        display: none;
    }
    
    .banner-points .point i {
        margin-right: 5px;
    }
    
    .banner-points .point::after {
        content: attr(data-short);
        font-size: 0.7em;
    }
    
    .main-nav {
        padding: 8px 0;
    }
    
    .logo h1 {
        font-size: 1.8em;
    }
    
    .logo img {
        max-height: 28px;
    }
    
    .search-bar input {
        font-size: 0.9em;
        padding: 8px 12px;
    }
    
    /* Two column product grid for mobile */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 5px;
    }
    
    .product-card {
        display: flex;
        flex-direction: column;
        padding: 10px;
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    .product-image {
        width: 100%;
        height: 120px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 8px;
    }
    
    .product-image img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }
    
    .product-info {
        flex: 1;
        text-align: center;
    }
    
    .product-info h3 {
        font-size: 0.8em;
        margin-bottom: 5px;
        line-height: 1.2;
    }
    
    .product-brand {
        font-size: 0.7em;
        color: #666;
        margin-bottom: 5px;
    }
    
    .product-bottom {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    
    .product-price {
        text-align: center;
    }
    
    .product-actions {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    
    .btn-primary {
        font-size: 0.75em;
        padding: 6px 8px;
    }
    
    /* Product Detail Page Images */
    .product-images {
        text-align: center;
    }
    
    .main-image {
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f8f9fa;
        border-radius: 10px;
        padding: 20px;
        margin-bottom: 15px;
    }
    
    .main-image img {
        max-width: 100%;
        max-height: 300px;
        object-fit: contain;
    }
    
    /* Compact filters for mobile */
    .compact-filters {
        padding: 10px;
        margin-bottom: 15px;
    }
    
    .filter-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .category-info {
        text-align: center;
        font-size: 0.8em;
    }
    
    .filter-controls {
        flex-direction: column;
        gap: 8px;
    }
    
    .filter-input {
        width: 100%;
    }
    
    .filter-input select,
    .search-wrapper input {
        width: 100%;
        font-size: 0.85em;
    }
    
    /* Footer - single column */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }
    
    .footer-section h3,
    .footer-section h4 {
        font-size: 1em;
        margin-bottom: 8px;
    }
    
    .footer-section ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .footer-section ul li {
        margin: 0;
    }
    
    /* Home page adjustments */
    .hero-section {
        padding: 20px 0;
    }
    
    .hero-section h2 {
        font-size: 1.5em;
    }
    
    .hero-section p {
        font-size: 0.9em;
    }
    
    /* Checkout and payment forms */
    .checkout-form {
        padding: 15px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .btn-group {
        flex-direction: column;
        gap: 10px;
    }
    
    /* Cart page adjustments */
    .cart-table {
        font-size: 0.85em;
    }
    
    .cart-summary {
        padding: 15px;
    }
    
    /* Modal adjustments */
    .modal-content {
        width: 95%;
        margin: 20px auto;
        padding: 15px;
    }
    
    /* Utility classes for mobile */
    .mobile-hidden {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
    
    .mobile-full-width {
        width: 100%;
    }
    
    .mobile-text-center {
        text-align: center;
    }
    
    .mobile-no-padding {
        padding: 0;
    }
    
    .mobile-small-padding {
        padding: 10px;
    }
}

/* Desktop utility - hide mobile-only elements */
@media (min-width: 769px) {
    .mobile-only {
        display: none;
    }
}

/* Product Colors Styling */
.product-colors {
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    line-height: 1.4;
}

.color-tag {
    padding: 4px 9px;
    border-radius: 6px;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: capitalize;
    display: inline-block;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    cursor: default;
    border: 1px solid rgba(0,0,0,0.1);
    white-space: nowrap;
}

.color-tag.color-hover {
    cursor: pointer;
    transition: all 0.3s ease;
}

.color-tag.color-hover:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    z-index: 10;
    position: relative;
}

.product-image img {
    transition: opacity 0.3s ease;
}

.color-group-info {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white !important;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.72em;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 1px 3px rgba(40,167,69,0.2);
    margin-top: 4px;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Hide NULL text elements - AGGRESSIVE APPROACH */
.product-description {
    display: block;
}

.product-description:empty {
    display: none !important;
}

/* Target the specific NULL description paragraphs in product cards */
.product-info p.product-description {
    display: none !important;
}

/* Hide any paragraph that might contain NULL */
.product-card .product-info p:nth-of-type(2) {
    /* This should be the description paragraph after brand info */
    display: none !important;
}

/* JavaScript controlled hiding */
.hidden-null,
.null-content {
    display: none !important;
}

/* Nuclear option - hide all description paragraphs for now */
.product-info .product-description {
    display: none !important;
}

/* Product title link styling */
.product-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title-link:hover {
    color: #007bff;
    text-decoration: none;
}

.product-title-link:visited {
    color: inherit;
}

/* Product image link styling */
.product-card .product-image .product-image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.product-card .product-image .product-image-link:hover {
    opacity: 0.9;
    text-decoration: none;
}

.product-card .product-image .product-image-link img {
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: auto;
}

/* Product Type Selection Styles */
.type-selection {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.type-option {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #eaf6ff;
    min-height: 60px;
    position: relative;
}

.type-option:hover {
    border-color: #007bff;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.15);
}

.type-option.selected {
    border-color: #007bff;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

.type-option input[type="radio"] {
    display: none;
}

.type-option label {
    display: block;
    cursor: pointer;
    margin: 0;
}

.type-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 4px 6px;
    width: 100%;
    height: 100%;
}

.type-top-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    width: 100%;
}

.type-badge {
    background: #007bff;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 8px;
    padding: 2px 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 12px rgba(0, 123, 255, 0.08);
    flex-shrink: 0;
}

.type-option.original .type-badge {
    background: #28a745;
}

.type-option.compatible .type-badge {
    background: #007bff;
}

.type-details {
    display: block;
    width: 100%;
}

.type-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.type-brand,
.type-capacity,
.type-delivery {
    display: none;
}


.type-brand {
    font-size: 0.9em;
    color: #6c757d;
    margin-bottom: 6px;
    font-weight: 500;
}

.type-capacity {
    font-size: 0.85em;
    color: #495057;
    margin-bottom: 4px;
    line-height: 1.4;
    word-wrap: break-word;
}

.type-delivery {
    font-size: 0.8em;
    color: #6c757d;
    margin-bottom: 0;
}

.type-price {
    color: #007bff;
    font-size: 1.5rem;
    font-weight: 800;
    padding: 2px 5px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 123, 255, 0.07);
    flex-shrink: 0;
}

.type-option.selected .type-price {
    color: #007bff;
}

/* Brand logo in type selection */
.type-brand-logo {
    position: absolute;
    bottom: -20px;
    right: 0;
    width: 57px;
    height: 56px;
    object-fit: contain;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.type-option:hover .type-brand-logo {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .type-info {
        flex-direction: column;
        gap: 4px;
        padding: 5px;
    }
    
    .type-badge {
        font-size: 1.2rem;
        padding: 2px 5px;
        letter-spacing: 1px;
    }
    
    .type-price {
        font-size: 1.5rem;
        padding: 2px 5px;
    }
    
    .type-option {
        min-height: 70px;
    }
    
    /* .type-brand-logo {
        position: static;
        width: 30px;
        height: 30px;
        margin-top: 10px;
    } */
}

/* Hide elements in product detail page */
.product-detail .brand-logo {
    display: none !important;
}

.product-detail .badge-original {
    display: none !important;
}

.product-detail .brand-name {
    display: none !important;
}

/* Contact Page Styles */
.contact-page {
    padding: 40px 0;
    text-align: center;
}

.contact-info, .contact-form {
    margin-bottom: 30px;
}

.contact-item {
    font-size: 18px;
    margin-bottom: 10px;
}

.contact-item i {
    margin-right: 10px;
    color: #007bff;
}

.contact-form h2 {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.btn-primary {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.contact-map {
    margin-top: 30px;
}

.contact-map iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 10px;
}

/* Package Selection System */
.package-selection {
    margin: 12px 0;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.package-selection h5 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.package-selection h5::before {
    content: "🎁";
    font-size: 1.2em;
}

.package-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}

.package-option {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.package-option:hover {
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0,123,255,0.15);
    transform: translateY(-2px);
}

.package-option.selected {
    border-color: #28a745;
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.2);
    transform: translateY(-2px);
}

.package-option.bestseller {
    border-color: #ffc107;
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    position: relative;
}

.package-option.bestseller::before {
    content: "BESTSELLER";
    position: absolute;
    top: 10px;
    right: -25px;
    background: #ffc107;
    color: #000;
    padding: 4px 30px;
    font-size: 0.7em;
    font-weight: 700;
    transform: rotate(15deg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.package-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.package-title {
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 8px;
}

.package-discount {
    background: #dc3545;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 600;
}

.package-details {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
    flex: 1;
}

.package-colors {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.package-color-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid #ddd;
    display: inline-block;
}

.package-pricing {
    text-align: right;
}

.package-original-price {
    text-decoration: line-through;
    color: #6c757d;
    font-size: 0.9em;
}

.package-final-price {
    font-weight: 700;
    color: #28a745;
    font-size: 1.1em;
}

.package-savings {
    color: #dc3545;
    font-size: 0.85em;
    font-weight: 600;
}

.package-description {
    color: #6c757d;
    font-size: 0.8em;
    margin-top: 4px;
    line-height: 1.2;
}

/* Quick action buttons for packages */
.package-quick-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e9ecef;
}

.package-mini-price {
    font-size: 0.9em;
    font-weight: 700;
    color: #28a745;
}

.package-mini-cart {
    background: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.package-mini-cart:hover {
    background: #0056b3;
    transform: scale(1.1);
}

.package-mini-cart:active {
    transform: scale(0.95);
}



/* =======================================================
   MEGA MENU STYLES - SIMPLE & WORKING VERSION
   ======================================================= */

/* Mega Menu Styles */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 10000;
    pointer-events: none;
    display: block;
}

/* Show mega menu on hover - CSS only */
.has-mega-menu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Ensure parent menu item has proper z-index */
.has-mega-menu {
    position: relative;
    z-index: 1001;
}

.mega-menu-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 18px;
    border-radius: 8px 8px 0 0;
    font-weight: bold;
    font-size: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.mega-menu-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
    background: #fff;
    position: relative;
    z-index: 10001;
}

.mega-menu-section {
    padding: 0;
    background: #fff;
    position: relative;
}

.mega-menu-section h4 {
    color: #333 !important;
    margin: 0 0 10px 0;
    font-size: 13px;
    font-weight: 600;
    padding-bottom: 6px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
}

.mega-menu-section h4 i {
    color: #667eea !important;
    font-size: 11px;
}

/* Brand List Styles */
.brand-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.brand-item {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 5px;
    text-decoration: none;
    color: #333 !important;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    background: #fff;
    position: relative;
    z-index: 10002;
}

.brand-item:hover {
    background: #f8f9ff !important;
    border-color: #667eea;
    transform: translateX(2px);
    color: #333 !important;
}

.brand-logo {
    width: 58px;
    height: 25px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    color: white;
    background: #333; /* fallback */
    overflow: hidden;
    box-shadow: 0 1px 6px 0 rgba(40,60,100,.13);
}

/* Brand Logo Colors */
.brand-logo.brand-hp {
    background: linear-gradient(135deg, #0096d6, #0073a6) !important;
    color: #fff !important;
}
.brand-logo.brand-canon {
    background: linear-gradient(135deg, #c41e3a, #a01729) !important;
    color: #fff !important;
}
.brand-logo.brand-brother {
    background: linear-gradient(135deg, #ff6600, #cc5200) !important;
    color: #fff !important;
}
.brand-logo.brand-epson {
    background: linear-gradient(135deg, #003da5, #002b73) !important;
    color: #fff !important;
}
.brand-logo.brand-samsung {
    background: linear-gradient(135deg, #1428a0, #0f1d73) !important;
    color: #fff !important;
}
.brand-logo.brand-kyocera {
    background: linear-gradient(135deg, #e30613, #b30510) !important;
    color: #fff !important;
}
.brand-logo.brand-xerox {
    background: linear-gradient(135deg, #da020e, #a6010b) !important;
    color: #fff !important;
}
.brand-logo.brand-lexmark {
    background: linear-gradient(135deg, #da020e, #a6010b) !important;
    color: #fff !important;
}
.brand-logo.brand-dell {
    background: linear-gradient(135deg, #007db8, #005f8a) !important;
    color: #fff !important;
}
.brand-logo.brand-ricoh {
    background: linear-gradient(135deg, #e67e22, #d35400) !important;
    color: #fff !important;
}
.brand-logo.all-brands {
    background: linear-gradient(135deg, #6c757d, #495057) !important;
    color: #fff !important;
}

/* CATEGORY MEGA MENU MODERN */
.mega-menu {
    min-height: 120px;
    max-height: none;
    padding: 0 0 8px 0;
    border-radius: 16px;
}

.mega-menu-content {
    min-height: 80px;
    max-height: none;
    gap: 7px;
    padding: 10px 7px 7px 10px;
    align-items: flex-start;
}

.category-links {
    background: #f3f6fc;
    border-radius: 8px;
    padding: 0 3px 2px 3px;
    border: 1px solid #e6f3ff;
    gap: 3px;
    font-size: 17px;
    box-shadow: 0 1px 5px 0 rgba(0,0,50,.04);
}

.category-links a {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    color: #323750 !important;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 7px;
    font-weight: 600;
    font-size: 17px;
    margin: 0 0 2px 0;
    opacity: 1 !important;
    height: auto !important;
    letter-spacing: 0.1px;
    transition: background .13s, color .17s, border .16s;
}

.category-links a:hover {
    background: #e7edf9 !important;
    color: #2255b8 !important;
    border: 1px solid #bec8e4;
    transform: translateX(2.5px);
    box-shadow: 0 1px 5px 0 rgba(52,103,204,0.06);
}

.category-links a i {
    color: #2255b8 !important;
    font-size: 13px;
    width: 19px;
    text-align: center;
}

/* Make .brand-list and .mega-menu-section more compact */
.brand-list { gap: 4px; }
.mega-menu-section { padding: 0 5px; }
    width: 20px;
    height: 20px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: bold;
    color: white;
    flex-shrink: 0;
}

.brand-item span {
    font-size: 12px;
    font-weight: 500;
    color: #333 !important;
}

/* Quick List Styles */
.quick-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-list li {
    margin-bottom: 6px;
    background: #fff;
    position: relative;
    z-index: 10002;
}

.quick-list a {
    display: flex !important;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    color: #333 !important;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 12px;
    background: #fff;
    position: relative;
    z-index: 10002;
}

.quick-list a:hover {
    background: #f0f4ff !important;
    color: #667eea !important;
    transform: translateX(2px);
}

.quick-list i {
    width: 12px;
    text-align: center;
    color: #667eea !important;
}

/* Kategorien Menu Styles */
.kategorien-menu {
    position: relative;
    display: inline-block;
}

.kategorien-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #FF6B35;
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.kategorien-trigger:hover {
    background: #E55A2B;
    transform: translateY(-1px);
}

.kategorien-trigger i {
    font-size: 16px;
}

.kategorien-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 320px;
    max-height: 600px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    margin-top: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.kategorien-menu:hover .kategorien-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.kategorien-dropdown ul {
    list-style: none;
    padding: 10px 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.kategorien-dropdown li {
    border-bottom: 1px solid #f0f0f0;
    margin: 0;
}

.kategorien-dropdown li:last-child {
    border-bottom: none;
}

.kategorien-dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 13px;
    white-space: nowrap;
}

.kategorien-dropdown a:hover {
    background: #f8f9ff;
    color: #667eea;
    padding-left: 25px;
}

.kategorien-dropdown i {
    width: 20px;
    text-align: center;
    color: #667eea;
    font-size: 14px;
}

.kategorien-dropdown .category-name {
    font-weight: 500;
}

.kategorien-dropdown .category-count {
    color: #999;
    font-size: 12px;
    margin-left: auto;
}

/* Scrollbar Styles for Kategorien Dropdown */
.kategorien-dropdown::-webkit-scrollbar {
    width: 6px;
}

.kategorien-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.kategorien-dropdown::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.kategorien-dropdown::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Categories Mega Menu - Alt Alta Grid */
.categories-mega-menu .mega-menu-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px;
    min-height: 200px;
    max-height: 400px;
}

.categories-mega-menu .mega-menu-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #e9ecef;
}

.categories-mega-menu .category-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.categories-mega-menu .category-links li {
    margin: 0;
}

.categories-mega-menu .category-links a {
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

/* Brand Grid Horizontal Styles */
.brand-grid-horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 10px 0;
    justify-content: flex-start;
}

.brand-item-horizontal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 8px 6px;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    min-width: 63px;
    flex: 0 0 auto;
}

.brand-item-horizontal:hover {
    background: #f8f9fa;
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.15);
}

.brand-item-horizontal .brand-logo {
    width: 58px;
    height: 28px;
    font-size: 11px;
    border-radius: 6px;
    font-weight: bold;
    color: white;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.brand-item-horizontal .brand-name {
    display: none;
}
