/* style.css */
/* Last Updated: 2025-04-05 (Simplified Desktop Test CSS) */

/* Import color constants */
@import url('constants/colors.css');



/* Basic Reset & Smooth Scrolling */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }

/* Prevent horizontal overflow on all elements */
* { max-width: 100%; }

body { background-color: var(--light-bg-primary); margin: 0; font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 16px; line-height: 1.7; color: var(--text-primary); overflow-x: hidden; max-width: 100%; }

/* Headings */
h1, h2, h3, h4, h5, h6, .logo-text, summary { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--text-headings); letter-spacing: 0.5px; line-height: 1.3; }
h2 { font-size: clamp(1.8rem, 5vw, 2.25rem); margin-bottom: 2rem; text-align: center; }
h3 { font-size: 1.4rem; font-weight: 700; color: var(--yellow); margin-bottom: 0.75rem; text-align: center; }

/* Section Intro Text */
.section-intro-text { max-width: 700px; margin: 0 auto 1.5rem auto; font-size: 1.05rem; line-height: 1.6; color: var(--text-secondary); text-align: center; }

/* --- Icon Styling --- */
.feature-icon-wrapper { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(145deg, var(--light-bg-secondary), var(--white)); border: 1px solid var(--border-light); margin-bottom: 1rem; transition: background var(--transition-speed) ease, border-color var(--transition-speed) ease, transform var(--transition-speed) ease; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.feature-icon-wrapper svg { width: 28px; height: 28px; stroke: var(--yellow); stroke-width: 1.5; transition: stroke 0.3s ease; }
.feature-box:hover .feature-icon-wrapper { background: var(--yellow); border-color: var(--yellow); transform: scale(1.05); box-shadow: 0 8px 20px rgba(253, 184, 27, 0.3); }
.feature-box:hover .feature-icon-wrapper svg { stroke: var(--white); }
/* style.css - Checklist Styling Update */
.checklist {
    list-style: none;
    max-width: 550px; /* Slightly reduce max-width if needed */
    margin: 2rem auto 0 auto;
    padding: 0;
    text-align: left;
    font-size: 1rem;
}
.checklist li {
    /* Remove Flexbox alignment */
    /* display: flex; */
    /* align-items: center; */
    /* gap: 0.8rem; */

    position: relative; /* Needed for absolute icon positioning */
    padding-left: 35px; /* Create space for the icon (adjust size as needed) */
    margin-bottom: 1.5rem; /* Increase space between items */
    line-height: 1.6; /* Ensure good line spacing for wrapped text */
    font-weight: 500;
    color: var(--text-primary);
}
/* Position the icon absolutely within the padding */
.checklist-icon { /* Target the span wrapper */
    position: absolute;
    left: 0;
    top: 4px; /* Adjust vertical alignment - trial & error might be needed */
    display: inline-flex; /* Use flex just for the icon itself if needed */
    align-items: center;
    justify-content: center;
    /* Keep SVG styles */
}
.checklist-icon svg {
    width: 20px;
    height: 20px;
    color: var(--yellow);
    stroke: var(--yellow);
    stroke-width: 2;
    /* flex-shrink: 0; Not needed with absolute positioning */
}



/* --- Unified Header Styles --- */
.site-header {
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 0.8rem 1.2rem;
   background: transparent;
   position: sticky; 
   top: 0; 
   z-index: 100;
   border-bottom: none;
   box-shadow: none;
   height: 70px;
}

/* Logo */
.logo { 
  max-width: 200px; 
  display: block; 
  height: auto; 
  flex-shrink: 0; 
}

/* Desktop Navigation (centered) */
.main-nav-desktop {
  display: none; /* Hidden on mobile by default */
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.main-nav-desktop ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav-desktop li {
  position: relative;
}

.main-nav-desktop a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition-speed) ease;
  line-height: 1.2;
  display: block;
}

.main-nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-out;
}

.main-nav-desktop a:hover,
.main-nav-desktop a:focus-visible {
  color: var(--text-headings);
}

.main-nav-desktop a:hover::after,
.main-nav-desktop a:focus-visible::after {
  transform: scaleX(1);
}

/* Header Right Section */
.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Desktop Buy Now Button - Hidden on mobile by default */
/* Buy Now Button in Header */
.buy-btn-nav {
  background: var(--yellow);
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(230, 160, 0, 0.3);
  white-space: nowrap;
  margin-right: 1rem;
}

.buy-btn-nav:hover {
  background: var(--yellow-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(230, 160, 0, 0.4);
}

/* Cart Icon Styling */
.cart-icon-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-icon-btn:hover {
  background-color: rgba(230, 160, 0, 0.1);
}

.cart-icon {
  width: 24px;
  height: 24px;
  stroke: var(--text-primary);
  transition: stroke 0.3s ease;
}

.cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--yellow);
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  min-width: 18px;
}

.cart-count:empty,
.cart-count[data-count="0"] {
  display: none;
}

/* Cart Drawer Styling */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  height: 100%;
  background: var(--white);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  z-index: 10000;
}

.cart-overlay.active .cart-drawer {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
}

.cart-logo {
  max-width: 120px;
  height: auto;
  display: block;
  flex-shrink: 0;
}

.cart-back-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color var(--transition-speed) ease;
}

.cart-back-link:hover {
  color: var(--yellow);
}

.cart-logo-link {
  display: flex;
  align-items: center;
}

/* Cart page main content */
.cart-main {
  min-height: 100vh;
  background: var(--light-bg-primary);
  padding-top: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.cart-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding: 2rem;
}

.cart-header h2 {
  color: var(--text-primary);
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0;
}

.cart-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: background-color 0.3s ease;
  color: var(--text-primary);
}

/* Cart Discount Banner */
  .cart-discount-banner {
    background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-hover) 100%);
    color: var(--black);
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  /* === PROMOTIONAL BANNER === */
  .promo-banner {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #000;
    padding: 0.75rem 1rem;
    text-align: center;
    position: relative;
    z-index: 50;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
    transition: all 0.3s ease;
  }

  .promo-banner.hidden {
    display: none;
  }

  .promo-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 0.95rem;
    font-weight: 500;
  }

  .promo-icon {
    font-size: 1.1rem;
    animation: bounce 2s infinite;
  }

  .promo-text {
    flex: 1;
  }

  .promo-text strong {
    color: #000;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.3);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin: 0 0.2rem;
  }

  .promo-campaign-info {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: #1a1a1a;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    margin-right: 0.8rem;
    border: 1px solid #333;
  }

  .promo-campaign-name {
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 0.5px;
  }

  .promo-campaign-duration {
    color: #cccccc;
    font-size: 0.85em;
    font-weight: 500;
  }

  .promo-campaign-info .countdown-timer {
    margin: 0;
    padding: 0;
  }

  .promo-campaign-info .countdown-text {
    font-weight: 700;
    color: #fbbf24;
    font-size: 0.9em;
  }



  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
      transform: translateY(0);
    }
    40% {
      transform: translateY(-3px);
    }
    60% {
      transform: translateY(-1px);
    }
  }

  @media (max-width: 768px) {
    .promo-banner {
      padding: 0.75rem 1rem;
    }

    .promo-banner-content {
      font-size: 0.9rem;
      gap: 0.6rem;
      padding: 0 0.5rem;
    }

    .promo-text strong {
      padding: 0.2rem 0.4rem;
      font-size: 0.85rem;
    }

    .promo-icon {
      font-size: 1rem;
    }

    .promo-campaign-info {
      padding: 0.25rem 0.6rem;
      gap: 0.3rem;
      margin-right: 0.6rem;
    }

    .promo-campaign-name {
      font-size: 0.8em;
    }

    .promo-campaign-duration {
      font-size: 0.75em;
    }

    .promo-campaign-info .countdown-text {
      font-size: 0.8em;
    }
  }

  @media (max-width: 480px) {
    .promo-banner {
      padding: 0.6rem 0.8rem;
    }

    .promo-banner-content {
      font-size: 0.85rem;
      gap: 0.4rem;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }

    .promo-campaign-info {
      padding: 0.3rem 0.6rem;
      gap: 0.3rem;
      margin-right: 0;
      margin-bottom: 0.25rem;
      background: #1a1a1a;
      border: 1px solid #333;
      border-radius: 6px;
      order: 1;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .promo-campaign-info::before {
      content: "🎉";
      font-size: 0.9rem;
      margin-right: 0.4rem;
      flex-shrink: 0;
    }

    .promo-campaign-name {
      font-size: 0.85em;
      white-space: normal;
      text-align: center;
    }

    .promo-campaign-duration {
      font-size: 0.8em;
      white-space: nowrap;
    }

    .promo-campaign-info .countdown-text {
      font-size: 0.85em;
      white-space: nowrap;
    }

    .promo-text {
      text-align: center;
      line-height: 1.3;
      order: 2;
    }

    .promo-text strong {
      padding: 0.15rem 0.3rem;
      font-size: 0.8rem;
    }

    .promo-icon {
      display: none;
    }
  }

  @media (max-width: 360px) {
    .promo-banner {
      padding: 0.5rem 0.6rem;
    }

    .promo-banner-content {
      font-size: 0.8rem;
      gap: 0.3rem;
      flex-direction: column;
    }

    .promo-campaign-info {
      padding: 0.25rem 0.5rem;
      gap: 0.25rem;
      margin-right: 0;
      margin-bottom: 0.2rem;
      background: #1a1a1a;
      border: 1px solid #333;
      order: 1;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .promo-campaign-info::before {
      content: "🎉";
      font-size: 0.85rem;
      margin-right: 0.3rem;
      flex-shrink: 0;
    }

    .promo-campaign-name {
      font-size: 0.8em;
      white-space: normal;
      text-align: center;
    }

    .promo-campaign-duration {
      font-size: 0.75em;
      white-space: nowrap;
    }

    .promo-campaign-info .countdown-text {
      font-size: 0.8em;
      white-space: nowrap;
    }

    .promo-text {
      font-size: 0.75rem;
      text-align: center;
      order: 2;
    }

    .promo-text strong {
      padding: 0.1rem 0.25rem;
      font-size: 0.75rem;
    }

    .promo-icon {
      display: none;
    }
  }

  /* === COUNTDOWN TIMER STYLES === */
  .countdown-timer {
    display: inline-block;
    margin-left: 0.8rem;
    padding: 0.4rem 0.8rem;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .countdown-text {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  }

  /* Urgency levels with aesthetic styling */
  .countdown-timer.urgency-normal {
    background: rgba(0, 0, 0, 0.15);
    color: #000;
    border-color: rgba(255, 255, 255, 0.2);
  }

  .countdown-timer.urgency-warning {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.2), rgba(255, 140, 0, 0.3));
    color: #8B4513;
    border-color: rgba(255, 165, 0, 0.4);
    animation: subtle-pulse 2s ease-in-out infinite;
  }

  .countdown-timer.urgency-critical {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.2), rgba(178, 34, 34, 0.3));
    color: #8B0000;
    border-color: rgba(220, 20, 60, 0.4);
    animation: urgent-pulse 1.5s ease-in-out infinite;
  }

  /* Subtle animations for urgency */
  @keyframes subtle-pulse {
    0%, 100% {
      transform: scale(1);
      box-shadow: 0 2px 4px rgba(255, 165, 0, 0.2);
    }
    50% {
      transform: scale(1.02);
      box-shadow: 0 4px 8px rgba(255, 165, 0, 0.3);
    }
  }

  @keyframes urgent-pulse {
    0%, 100% {
      transform: scale(1);
      box-shadow: 0 2px 6px rgba(220, 20, 60, 0.3);
    }
    50% {
      transform: scale(1.03);
      box-shadow: 0 4px 12px rgba(220, 20, 60, 0.4);
    }
  }

  /* Hero section countdown styling */
  .hero-content .countdown-timer {
    margin-left: 0;
    margin-top: 0.5rem;
    display: block;
    width: fit-content;
    background: rgba(0, 0, 0, 0.1);
    color: #333;
    font-size: 0.85rem;
  }

  .hero-content .countdown-timer.urgency-warning {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.15), rgba(255, 140, 0, 0.25));
    color: #B8860B;
  }

  .hero-content .countdown-timer.urgency-critical {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.15), rgba(178, 34, 34, 0.25));
    color: #A0522D;
  }

  /* Mobile responsiveness */
  @media (max-width: 768px) {
    .countdown-timer {
      margin-left: 0.5rem;
      padding: 0.35rem 0.6rem;
      font-size: 0.8rem;
    }

    .hero-content .countdown-timer {
      font-size: 0.8rem;
      padding: 0.3rem 0.5rem;
    }
  }

  @media (max-width: 480px) {
    .countdown-timer {
      margin-left: 0;
      margin-top: 0.4rem;
      display: block;
      width: fit-content;
      font-size: 0.75rem;
      padding: 0.3rem 0.5rem;
    }

    .hero-content .countdown-timer {
      font-size: 0.75rem;
      padding: 0.25rem 0.4rem;
    }
  }

.discount-icon {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.discount-bolt {
  font-size: 18px;
  color: #FFD700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.cart-discount-banner strong {
  color: var(--black);
  font-weight: 800;
  font-size: 1.05em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.cart-close:hover {
  background-color: var(--light-bg-secondary);
}

.cart-content {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.cart-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-secondary);
}

.cart-empty svg {
  stroke: var(--text-muted);
  margin-bottom: 1rem;
}

.cart-empty p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.cart-continue-shopping {
  background: var(--yellow);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cart-continue-shopping:hover {
  background: var(--yellow-hover);
}

.cart-footer {
  border-top: 1px solid var(--border-light);
  padding: 1.5rem;
  background: var(--white);
}

.cart-total {
  margin-bottom: 1.5rem;
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.total-row.total-main {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-primary);
  border-top: 1px solid var(--border-light);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
}

.cart-checkout-btn {
  width: 100%;
  background: var(--yellow);
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cart-checkout-btn:hover {
  background: var(--yellow-hover);
}

/* Cart Item Styling */
.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-light);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-image {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--light-bg-secondary);
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cart-item-details h3 {
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

.cart-item-price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-item-current-price {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
}

.cart-item-original-price {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: line-through;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.quantity-btn {
  background: var(--light-bg-secondary);
  border: 1px solid var(--border-light);
  width: 28px;
  height: 28px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-primary);
  transition: background-color 0.3s ease;
}

.quantity-btn:hover {
  background: var(--border-medium);
}

.quantity {
  min-width: 20px;
  text-align: center;
  font-weight: 600;
  color: var(--text-primary);
}

.remove-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: color 0.3s ease;
  margin-left: auto;
}

.remove-btn:hover {
  color: var(--error);
}

/* Mobile Buy Button Styles */
@media (max-width: 650px) {
  /* Hide desktop Amazon button on mobile */
  .nav-amazon-btn-desktop {
    display: none !important;
  }
  
  /* Show mobile controls only on small screens */
  .header-controls-mobile {
    display: flex !important;
  }
  
  .buy-btn-nav {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    margin-right: 0.75rem;
  }
  
  #nav-buy-btn-mobile {
    margin-right: 1rem;
  }
}

/* Responsive Cart Drawer */
@media (max-width: 768px) {
  .cart-drawer {
    width: 100%;
    max-width: 400px;
  }
  
  .cart-item {
    padding: 1rem 0;
  }
  
  .cart-item-image {
    width: 60px;
    height: 60px;
  }
  
  .cart-item-details h3 {
    font-size: 0.9rem;
  }
}

/* Mobile Controls (hidden by default, shown on mobile) */
.header-controls-mobile {
  display: none;
  align-items: center;
  gap: 1rem;
}

/* Mobile Navigation Panel */
.main-nav-mobile {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background-color: var(--dark-bg);
  padding: 6rem 2rem 2rem 2rem;
  box-shadow: -5px 0 15px var(--overlay-medium);
  z-index: 90;
  transform: translateX(100%);
  visibility: hidden;
  opacity: 0;
  transition: transform 0.4s var(--animation-easing), visibility 0.4s, opacity 0.4s ease;
}

.main-nav-mobile ul {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav-mobile li {
  width: 100%;
}

.main-nav-mobile a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 0.5rem 0;
  width: 100%;
  display: block;
  transition: color var(--transition-speed) ease;
}

.main-nav-mobile a:hover,
.main-nav-mobile a:focus-visible {
  color: var(--yellow);
}

/* Menu Toggle Button */
.menu-toggle {
    display: block;
    background: transparent;
    border: none;
    padding: 0.5rem; 
    margin: 0; 
    cursor: pointer; 
    z-index: 110; 
    line-height: 0;
}

.menu-toggle svg { 
  width: 28px; 
  height: 28px; 
  stroke: var(--yellow); 
  display: block; 
}

.menu-toggle .icon-close { 
  display: none; 
}

/* Navigation Open State */
.nav-open .main-nav-mobile {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}

.nav-open .main-nav-mobile ul {
  display: flex;
}

.nav-open .menu-toggle .icon-menu {
  display: none;
}

.nav-open .menu-toggle .icon-close {
  display: block;
}

/* Remove old desktop navigation styles */
.desktop-navigation {
  display: none;
}

.desktop-nav-links {
  display: none;
}

/* --- Base Button Styles --- */
.buy-btn {
  display: inline-block;
  background: linear-gradient(45deg, var(--yellow), var(--yellow-light));
  color: var(--text-dark);
  padding: 0.4rem 1.4rem;
  margin-top: 1rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  border-radius: 28px;
  text-decoration: none;
  box-shadow: 0 4px 15px var(--yellow-alpha-20);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease, background var(--transition-speed) ease;
  border: none;
  position: relative;
  overflow: hidden;
}
.buy-btn:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 8px 25px var(--yellow-alpha-50); background: linear-gradient(45deg, var(--yellow-light), var(--yellow)); }
.buy-btn:active { transform: translateY(-1px) scale(1); box-shadow: 0 2px 8px var(--yellow-alpha-30); }
.buy-btn-nav { /* Desktop specific size/margin */
    padding: 0.5rem 1.2rem !important; font-size: 0.9rem !important; margin-top: 0 !important; margin-left: 0;
    box-shadow: 0 2px 8px var(--yellow-alpha-20);
    white-space: nowrap;
}
.buy-btn-nav:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 4px 15px var(--yellow-alpha-40); background: linear-gradient(45deg, var(--yellow-light), var(--yellow)); }
.buy-btn-nav:active { transform: translateY(0px) scale(1); box-shadow: 0 1px 4px var(--yellow-alpha-20); }


/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
  color: var(--text-primary);
  padding: 2rem 0 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero-container {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 4rem;
  padding-left: 2rem;
  padding-right: 2rem;
  box-sizing: border-box;
}

.hero-content {
  flex: 0 1 40%;
  opacity: 0;
  transform: translateX(-20px);
  animation: fadeInLeft 0.8s ease-out forwards;
  margin-left: 0;
  text-align: left;
  max-width: none;
}

.hero-video {
  flex: 1 1 50%;
  max-width: 600px;
  opacity: 0;
  transform: translateX(20px);
  animation: fadeInRight 0.8s ease-out 0.3s forwards;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video video {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 2.5rem;
  margin-top: 0;
  line-height: 1.2;
  background: linear-gradient(45deg, var(--yellow), var(--yellow-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  width: 100%;
  text-align: left;
  padding-left: 2rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive styles */
/* MacBook Pro (13"/14"/16") and larger laptops - optimized grid layout */
@media (min-width: 1200px) {
  .hero-container {
    display: grid;
    grid-template-columns: 1fr 650px;
    grid-template-rows: auto auto;
    gap: 1.5rem;
    align-items: start;
  }
  
  .hero-image {
    grid-column: 1;
    grid-row: 1;
    justify-content: center;
  }
  
  .hero-buy-box {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    margin-top: 0;
  }
  
  .hero-content {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

/* MacBook Pro and smaller laptops - modified grid for tighter screens */
@media (min-width: 1024px) and (max-width: 1199px) {
  .hero-container {
    display: grid;
    grid-template-columns: 1fr 580px;
    grid-template-rows: auto auto;
    gap: 1.125rem;
    align-items: start;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  .hero-image {
    grid-column: 1;
    grid-row: 1;
    justify-content: center;
    max-width: 500px;
  }
  
  .hero-buy-box {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    margin-top: 0;
  }
  
  .hero-content {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 1rem;
  }
}

/* iPad and larger tablets - flex layout */
@media (min-width: 769px) and (max-width: 1023px) {
  .hero-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    align-items: center;
  }
  .hero-image {
    width: 100%;
    max-width: 500px;
    align-self: center;
    order: 1;
    flex: none;
  }
  .hero-buy-box {
    margin-top: 1rem;
    order: 2;
    width: 100%;
    align-self: stretch;
  }
  .hero-content {
    width: 100%;
    max-width: none;
    text-align: left;
    order: 3;
    margin-top: 1rem;
    flex: none;
  }
  .hero-price-info {
    text-align: left;
  }
  .free-delivery {
    font-size: 0.9rem;
    margin-top: 0.5rem;
  }
  .hero-problems {
    margin: 1.5rem 0 2rem 0;
  }
  .hero-problem {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 1.2rem 0 4rem 0;
  }
  .hero-container {
    flex-direction: column;
    gap: 2rem;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }
  .hero-content {
    width: 100%;
    text-align: left;
    margin-left: 0;
    flex: none;
  }
  .hero-image {
    width: 100%;
    max-width: 100%;
    flex: none;
  }
  .hero h1 {
    font-size: 2rem;
    text-align: left;
    margin-bottom: 2rem;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 3rem 1rem;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero p {
    font-size: 1rem;
  }
}

/* --- SVG Shape Dividers --- */
.hero-divider { position: absolute; bottom: 0; left: 0; width: 100%; overflow: hidden; line-height: 0; transform: rotate(180deg); z-index: 2; }
.hero-divider svg { position: relative; display: block; width: 100%; height: 80px; }
.hero-divider .shape-fill { fill: var(--dark-bg); }

.features-divider { position: absolute; bottom: 0; left: 0; width: 100%; overflow: hidden; line-height: 0; transform: rotate(180deg); z-index: 5; }
.features-divider svg { position: relative; display: block; width: 100%; height: 80px; }
.features-divider .shape-fill { fill: var(--dark-bg); }

.whatsinthebox-divider { position: absolute; bottom: 0; left: 0; width: 100%; overflow: hidden; line-height: 0; transform: rotate(180deg); z-index: 5; }
.whatsinthebox-divider svg { position: relative; display: block; width: 100%; height: 80px; }
.whatsinthebox-divider .shape-fill { fill: var(--light-bg-primary); }

.comparison-divider { position: absolute; bottom: 0; left: 0; width: 100%; overflow: hidden; line-height: 0; transform: rotate(180deg); z-index: 5; }
.comparison-divider svg { position: relative; display: block; width: 100%; height: 80px; }
.comparison-divider .shape-fill { fill: var(--dark-bg); }

.testimonials-divider { position: absolute; bottom: 0; left: 0; width: 100%; overflow: hidden; line-height: 0; transform: rotate(180deg); z-index: 5; }
.testimonials-divider svg { position: relative; display: block; width: 100%; height: 80px; }
.testimonials-divider .shape-fill { fill: var(--light-bg); }
/* --- End SVG Shape Dividers --- */

/* --- Hero Image Styling --- */
.hero-image {
  flex: 1 1 50%;
  max-width: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.hero-image-carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.hero-image-carousel::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.carousel-track {
  display: flex;
  width: auto;
  height: auto;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  scroll-snap-align: start;
}

/* Desktop Navigation Arrows */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
  opacity: 1;
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}

.hero-image-wrapper:hover .carousel-nav {
  opacity: 1;
  background: rgba(0, 0, 0, 0.8);
}

.carousel-nav:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.carousel-nav:active {
  transform: translateY(-50%) scale(0.95);
}

/* Carousel dots removed - using thumbnails and arrows only */

/* === Car Protection Tips Section === */
#car-protection-tips {
  background-color: var(--light-bg-primary);
  padding: 6rem 2rem 2rem 2rem;
}

#car-protection-tips h2 {
  color: var(--text-primary);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.protection-guide {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

.guide-section {
  background: var(--white);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(253, 184, 27, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.guide-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.guide-icon {
  background: var(--yellow);
  color: var(--dark-bg);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guide-header h3 {
  color: var(--text-primary);
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
}

/* FAQ Items */
.faq-items {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.faq-item {
  padding: 0;
}

.faq-item h4 {
  color: var(--text-primary);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--yellow);
  display: inline-block;
}

.faq-item p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0;
}

/* Tips Grid */
.tips-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.tip-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(253, 184, 27, 0.05);
  border-radius: 15px;
  border-left: 4px solid var(--yellow);
  transition: all 0.3s ease;
}

.tip-item:hover {
  background: rgba(253, 184, 27, 0.1);
  transform: translateX(5px);
}

.tip-number {
  background: var(--yellow);
  color: var(--dark-bg);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.tip-content h4 {
  color: var(--text-primary);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

.tip-content p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* Call to Action */
.protection-cta {
  text-align: center;
  margin: 2rem auto 0;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.protection-cta .btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--yellow);
}

.protection-cta .btn-secondary:hover:not(:disabled) {
  background: var(--yellow);
  color: var(--dark-bg);
  border-color: var(--yellow);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(253, 184, 27, 0.3);
}

/* Desktop Layout - Three sections */
@media (min-width: 1200px) {
  .protection-guide {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
  }
}

/* Large Desktop Layout - Two sections side by side */
@media (min-width: 1024px) and (max-width: 1199px) {
  .protection-guide {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
  
  .guide-section:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 800px;
    margin: 0 auto;
  }
}

/* Tablet adjustments */
@media (max-width: 1023px) and (min-width: 769px) {
  #car-protection-tips {
    padding: 4rem 2rem 1.5rem 2rem;
  }
  
  .guide-section {
    padding: 2.5rem;
  }
  
  .tips-grid {
    gap: 1.5rem;
  }
}

/* Mobile responsive */
@media (max-width: 768px) {
  #car-protection-tips {
    padding: 3rem 1rem 1rem 1rem;
    overflow: hidden;
  }
  
  #car-protection-tips h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  
  .section-intro-text {
    margin-bottom: 2rem;
  }
  
  .protection-guide {
    gap: 2rem;
    margin-bottom: 3rem;
  }
  
  .guide-section {
    padding: 1.5rem 1rem;
    margin-bottom: 1rem;
  }
  
  .guide-header {
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .guide-icon {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
  }
  
  .guide-header h3 {
    font-size: 1.4rem;
    line-height: 1.3;
  }
  
  .faq-items {
    gap: 1.5rem;
  }
  
  .faq-item {
    margin-bottom: 1rem;
  }
  
  .faq-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
  }
  
  .faq-item p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .tips-grid {
    gap: 1rem;
  }
  
  .tip-item {
    padding: 1rem;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
  }
  
  .tip-number {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
    flex-shrink: 0;
  }
  
  .tip-content h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
  }
  
  .tip-content p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .protection-cta {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 0.5rem;
    clear: both;
    flex-wrap: nowrap;
  }
  
  .protection-cta .btn {
    flex: 1;
    max-width: none;
    padding: 0.875rem 1rem;
    text-align: center;
    display: block;
    font-size: 0.9rem;
    min-width: 0;
  }
}

/* Video slide styling */
.video-slide {
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  width: 100%;
  height: 100%;
}

.video-carousel-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  background: #fff;
  display: flex;
  flex-direction: column;
}

.video-thumbnail-area {
  position: relative;
  width: 100%;
  height: 70%;
  background: #000;
}

.video-thumbnail-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease;
}

.video-slide:hover .video-play-overlay {
  background: rgba(0, 0, 0, 0.4);
}

.video-play-button {
  transition: transform 0.3s ease;
}

.video-slide:hover .video-play-button {
  transform: scale(1.1);
}

.video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 500;
}

.video-info-section {
  padding: 1rem 1.5rem;
  background: #1a1a1a;
  border-top: 1px solid #333;
  height: 30%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.video-title {
  margin: 0 0 0.5rem 0;
  color: #FDB81B;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

.video-description {
  margin: 0;
  color: #ffffff;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Show dots on all devices for better navigation */

/* Hide arrows on mobile/tablet */
@media (max-width: 1024px) {
  .carousel-nav {
    display: none !important;
  }
}


/* Section Styling */
.section { padding: 5rem 1rem 6rem 1rem; text-align: center; position: relative; background-color: var(--light-bg-primary); }

/* --- Specific Section Styles --- */
#features { background-color: var(--dark-bg); padding-top: 100px; padding-bottom: 100px; margin-top: -1px; position: relative; z-index: 1; overflow: hidden; }
#features::after { /* Noise overlay for Features */ content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: linear-gradient(45deg, rgba(255,255,255,0.01) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.01)), linear-gradient(45deg, rgba(255,255,255,0.01) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.01) 75%, rgba(255,255,255,0.01)); background-size: 2px 2px; opacity: 0.7; z-index: -1; pointer-events: none; mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.05) 5%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 100%); -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.05) 5%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 100%); }

#gallery { background-color: var(--light-bg-primary); position: relative; z-index: 0; margin-top: -1px; padding-top: 8rem; padding-bottom: 6rem; }

#whatsinthebox { background-color: var(--dark-bg); position: relative; z-index: 1; padding-bottom: 100px; overflow: hidden; }
#whatsinthebox::after { /* Noise overlay for WhatsInTheBox */ content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: linear-gradient(45deg, rgba(255,255,255,0.01) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.01) 75%, rgba(255,255,255,0.01)), linear-gradient(45deg, rgba(255,255,255,0.01) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.01) 75%, rgba(255,255,255,0.01)); background-size: 2px 2px; opacity: 0.7; z-index: -1; pointer-events: none; }

#installation { background-color: var(--light-bg-primary); position: relative; z-index: 0; margin-top: -1px; padding-top: 8rem; padding-bottom: 6rem; }

#testimonials { 
  background-color: var(--light-bg-secondary); 
  position: relative; 
  z-index: 0; 
  margin-top: -1px; 
  padding-top: 2rem; 
  padding-bottom: 6rem; 
  touch-action: pan-y; /* Allow vertical scrolling */
}

#faq { background-color: var(--medium-bg); position: relative; z-index: 1; }


/* --- Features Section Content Styling --- */
.features { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem; margin-top: 3rem; max-width: 1200px; margin-left: auto; margin-right: auto; }
.feature-box { flex: 1 1 300px; max-width: 380px; background-color: var(--medium-bg); border-radius: 15px; padding: 2.5rem; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2), 0 8px 20px rgba(0, 0, 0, 0.15); border: 1px solid rgba(255, 255, 255, 0.1); text-align: center; opacity: 0; transform: translateY(30px) scale(0.98); transition: transform var(--animation-speed-slow) var(--animation-easing), opacity var(--animation-speed-slow) var(--animation-easing), box-shadow var(--transition-speed) ease, border-color var(--transition-speed) ease, background-color var(--transition-speed) ease; }
.feature-box:hover { transform: translateY(-8px) scale(1.02); background-color: var(--light-bg-secondary); border-color: var(--yellow); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(253, 184, 27, 0.15); }
.feature-box p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; }

/* Dark mode sections - override text colors */
#features h2,
.section#features h2,
#features h3,
#features p,
#features .feature-box p {
  color: var(--white) !important;
}

#features .feature-box h3 {
  color: var(--yellow) !important;
}

/* Fix comparison table text colors in dark mode features section */
#features .comparison-table td,
#features .feature-name,
#features .spray-value,
#features .generic-value,
#features .defentra-value {
  color: var(--white) !important;
}

/* === Optimal Setup Section === */
.setup-tips {
  max-width: 900px;
  margin: 3rem auto 0;
  padding: 0 2rem;
}

.setup-tip {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid rgba(253, 184, 27, 0.2);
  transition: all var(--transition-speed) ease;
}

.setup-tip:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.setup-tip:hover {
  transform: translateX(10px);
  border-bottom-color: var(--yellow);
}

.setup-tip-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--yellow), #e6a800);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(253, 184, 27, 0.3);
  transition: transform var(--transition-speed) ease;
}

.setup-tip:hover .setup-tip-number {
  transform: scale(1.1);
}

.setup-tip-number span {
  color: var(--dark-bg);
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1;
}

.setup-tip-content {
  flex: 1;
  text-align: left;
}

.setup-tip h3 {
  color: var(--dark-bg);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.setup-tip h3::before {
  content: "→";
  color: var(--yellow);
  font-weight: bold;
  font-size: 1.1em;
}

.setup-tip p {
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

#optimal-setup h2 {
  color: var(--dark-bg) !important;
}

#optimal-setup .section-intro-text {
  color: var(--text-secondary) !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .setup-tips {
    margin-top: 2rem;
    padding: 0 1rem;
  }
  
  .setup-tip {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
  }
  
  .setup-tip:hover {
    transform: none;
  }
  
  .setup-tip-number {
    width: 45px;
    height: 45px;
    margin: 0 auto;
  }
  
  .setup-tip-number span {
    font-size: 1.3rem;
  }
  
  .setup-tip-content {
    text-align: center;
  }
  
  .setup-tip h3 {
    font-size: 1.2rem;
    justify-content: center;
  }
  
  .setup-tip h3::before {
    display: none;
  }
  
  .setup-tip p {
    font-size: 0.95rem;
  }
}

/* Dark mode sections text overrides */
#how-it-works h1,
#how-it-works h2,
#how-it-works h3,
#how-it-works p {
  color: var(--white) !important;
}

#whatsinthebox h1,
#whatsinthebox h2,
#whatsinthebox h3,
#whatsinthebox p,
#whatsinthebox li {
  color: var(--white) !important;
}

#faq h1 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: 2rem;
  text-align: center;
  color: var(--white) !important;
}
#faq h2,
#faq h3,
#faq p {
  color: var(--white) !important;
}

/* Fix FAQ summary (questions) text color */
#faq .faq-wrapper summary {
  color: var(--white) !important;
}

#faq .faq-wrapper details[open] summary {
  color: var(--yellow) !important;
}

/* Light mode sections text overrides */
#hero h1,
#hero h2,
#hero h3,
#hero p,
#hero .hero-description {
  color: var(--text-primary) !important;
}

#testimonials h1,
#testimonials h2,
#testimonials h3,
#testimonials p {
  color: var(--text-primary) !important;
}

#gallery h1,
#gallery h2,
#gallery h3,
#gallery p {
  color: var(--text-primary) !important;
}

#installation h1,
#installation h2,
#installation h3,
#installation p {
  color: var(--text-primary) !important;
}

/* Override for video info text on dark background */
#installation #youtube-facade p {
  color: #ffffff !important;
}

/* --- Slider Section (#gallery) --- */
.slider-container { 
  max-width: 1100px; 
  margin: 3rem auto 0 auto; 
  position: relative; 
  overflow: hidden; 
  border: 1px solid var(--border-light); 
  border-radius: 15px; 
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04); 
  aspect-ratio: 16 / 9; 
  background-color: var(--white); 
}

.slides { 
  display: flex; 
  height: 100%; 
  transition: transform var(--animation-speed-fast) ease-in-out; 
} 

.slides img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  flex-shrink: 0; 
  display: block; 
}

.prev, .next { 
  background-color: rgba(255, 255, 255, 0.9); 
  border-radius: 50%; 
  width: 40px; 
  height: 40px; 
  padding: 0; 
  font-size: 20px; 
  line-height: 40px; 
  text-align: center; 
  position: absolute; 
  top: 50%; 
  transform: translateY(-50%); 
  z-index: 10; 
  cursor: pointer; 
  border: 2px solid var(--border-medium); 
  color: var(--text-primary); 
  transition: all var(--transition-speed) ease; 
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
} 

.prev { left: 15px; } 
.next { right: 15px; } 

.prev:hover, .next:hover { 
  background-color: var(--yellow); 
  color: var(--white);
  border-color: var(--yellow);
  transform: translateY(-50%) scale(1.1); 
  box-shadow: 0 6px 16px rgba(253, 184, 27, 0.3);
} 

.dots { 
  text-align: center; 
  padding: 10px 0; 
  background: rgba(255, 255, 255, 0.9); 
  position: absolute; 
  bottom: 15px; 
  left: 50%; 
  transform: translateX(-50%); 
  border-radius: 10px; 
  z-index: 10; 
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
} 

.dot { 
  height: 10px; 
  width: 10px; 
  margin: 0 5px; 
  background-color: rgba(0, 0, 0, 0.2); 
  border-radius: 50%; 
  display: inline-block; 
  cursor: pointer; 
  transition: all var(--transition-speed) ease; 
} 

.dot:hover { 
  background-color: rgba(0, 0, 0, 0.4); 
  transform: scale(1.2); 
} 

.dot.active { 
  background-color: var(--yellow); 
  transform: scale(1.1); 
}

/* --- What's in the Box Section --- */

/* --- Testimonials Carousel Section --- */
.testimonials-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.testimonials-header h2 {
  margin-bottom: 0;
}

.average-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  padding: 0.75rem 1.2rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #ddd;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-family: "Amazon Ember", Arial, sans-serif;
}

.average-rating:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.average-rating-display {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: inherit;
}

.average-rating-stars {
  color: #FF9900;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  line-height: 1;
}

.average-rating-stars .full-star {
  color: #FF9900;
}

.average-rating-stars .half-star {
  position: relative;
  display: inline-block;
  color: #ddd;
}

.average-rating-stars .half-star::before {
  content: '★';
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  overflow: hidden;
  color: #FF9900;
}

.average-rating-stars .empty-star {
  color: #ddd;
}

.average-rating-number {
  color: #0066C0;
  font-weight: 600;
  font-size: 1rem;
  font-family: "Amazon Ember", Arial, sans-serif;
}

.average-rating-count {
  color: #565959;
  font-size: 0.8rem;
  font-weight: 500;
  font-family: "Amazon Ember", Arial, sans-serif;
}

@media (max-width: 768px) {
  .testimonials-header {
    flex-direction: column;
    gap: 1rem;
  }
  
  .average-rating {
    padding: 0.6rem 1rem;
    gap: 0.4rem;
    border-radius: 4px;
  }
  
  .average-rating-stars {
    font-size: 1rem;
    letter-spacing: 0.3px;
  }
  
  .average-rating-number {
    font-size: 0.9rem;
  }
  
  .average-rating-count {
    font-size: 0.75rem;
  }
}

.testimonials-carousel-container {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding: 0 2rem; /* Moderate padding for arrow space */
  overflow: hidden;
  position: relative;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.testimonials-carousel {
  display: flex;
  transition: transform 0.8s ease-in-out;
  width: 100%;
}

/* Remove duplicate - already defined above */

.testimonials-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  width: 100%;
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition: transform var(--animation-speed-slow) var(--animation-easing), 
              opacity var(--animation-speed-slow) var(--animation-easing);
}

.testimonials-group.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.testimonial-card {
  background: var(--white);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid #ddd;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition: transform var(--animation-speed-slow) var(--animation-easing), 
              opacity var(--animation-speed-slow) var(--animation-easing),
              box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.testimonial-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.user-avatar {
  width: 40px;
  height: 40px;
  background: #f0f0f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.user-info {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-size: 0.9rem;
  font-weight: 400;
  color: #0F1111;
  font-family: "Amazon Ember", Arial, sans-serif;
}

.testimonial-content {
  margin-bottom: 0;
}

.testimonial-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0F1111;
  margin: 0;
  line-height: 1.3;
  font-family: "Amazon Ember", Arial, sans-serif;
  text-align: left;
}

.review-location {
  margin: 0.2rem 0;
  text-align: left;
}

.review-date {
  font-size: 0.8rem;
  color: #565959;
  font-family: "Amazon Ember", Arial, sans-serif;
}

.review-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.2rem 0 0.8rem 0;
  flex-wrap: wrap;
  text-align: left;
}

.review-model {
  font-size: 0.8rem;
  color: #565959;
  font-family: "Amazon Ember", Arial, sans-serif;
}

.verified-badge {
  color: #D47911;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: "Amazon Ember", Arial, sans-serif;
}

.verified-badge::before {
  content: "|";
  margin-right: 0.5rem;
  color: #ddd;
}

.stars-title-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.mobile-verified-badge {
  display: none;
}

.testimonial-stars {
  color: #FF9900;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  line-height: 1;
  text-align: left;
  flex-shrink: 0;
}

.testimonial-content p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #0F1111;
  font-style: normal;
  margin: 0;
  font-family: "Amazon Ember", Arial, sans-serif;
}

.review-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #0F1111;
  margin: 0;
  font-family: "Amazon Ember", Arial, sans-serif;
  text-align: left;
}

.review-text p {
  margin: 0 0 0.8rem 0;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  font-family: inherit;
}

.review-text p:last-child {
  margin-bottom: 0;
}

.testimonial-review {
  position: relative;
}

.testimonial-review.truncated .review-text {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
}

.testimonial-review.truncated .review-text::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1.5em;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 70%);
  pointer-events: none;
}

.read-more-btn {
  background: none;
  border: none;
  color: #0066C0;
  font-size: 0.85rem;
  font-weight: 400;
  cursor: pointer;
  margin-top: 0.3rem;
  padding: 0;
  text-decoration: none;
  font-family: "Amazon Ember", Arial, sans-serif;
  transition: color 0.2s ease;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.read-more-btn::before {
  content: '▼';
  font-size: 0.7rem;
  color: #565959;
}

.read-more-btn:hover {
  color: #004B91;
}

.read-more-btn:focus {
  outline: 2px solid #FF9900;
  outline-offset: 2px;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  margin-top: 0.8rem;
}

.amazon-verified {
  color: #0066C0;
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0;
  font-family: "Amazon Ember", Arial, sans-serif;
}

.author-info span {
  color: #565959;
  font-size: 0.765rem;
  font-weight: 500;
  opacity: 0.8;
}

/* Testimonials Navigation */
.testimonials-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid var(--border-medium);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  color: var(--text-primary);
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  pointer-events: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.testimonials-nav:hover {
  background: var(--yellow);
  color: var(--white);
  border-color: var(--yellow);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 16px rgba(253, 184, 27, 0.3);
}

.testimonials-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.testimonials-prev {
  left: 5px;
  z-index: 20;
}

.testimonials-next {
  right: 5px;
  z-index: 20;
}

.testimonials-nav svg {
  width: 20px;
  height: 20px;
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.testimonials-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.testimonials-dot:hover {
  background: rgba(0, 0, 0, 0.4);
  transform: scale(1.2);
}

.testimonials-dot.active {
  background: var(--yellow);
  transform: scale(1.1);
}

/* Tablet/iPad: Single column layout */
@media (min-width: 769px) and (max-width: 1024px) {
  .testimonials-group {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .testimonial-card {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .testimonials-group {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }
  
  .testimonial-card {
    padding: 1.2rem;
    border-radius: 6px;
  }
  
  .stars-title-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
    flex-wrap: wrap;
  }
  
  .testimonial-stars {
    flex-shrink: 0;
    font-size: 0.85rem;
  }
  
  .testimonial-title {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    order: 3;
    flex-basis: 100%;
    width: 100%;
  }
  
  .mobile-verified-badge {
    display: block;
    color: #D47911;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: "Amazon Ember", Arial, sans-serif;
    flex-shrink: 0;
  }
  
  .review-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }
  
  .review-model {
    order: 2;
  }
  
  .verified-badge {
    display: none;
  }
  
  .testimonial-content p {
    font-size: 0.85rem;
    line-height: 1.4;
  }
  
  .amazon-verified {
    font-size: 0.75rem;
  }
  
  .testimonials-nav {
    width: 40px;
    height: 40px;
  }
  
  .testimonials-carousel-container {
    padding: 0 2.5rem; /* Space for arrows on mobile */
    touch-action: pan-y; /* Ensure vertical scrolling works on mobile */
  }
  
  .testimonials-prev {
    left: 10px;
  }
  
  .testimonials-next {
    right: 10px;
  }
  
  .testimonials-nav svg {
    width: 16px;
    height: 16px;
  }
  
  .testimonials-dot {
    width: 10px;
    height: 10px;
  }
}

/* --- Installation Section --- */
.video-container { margin-top: 2rem; max-width: 640px; margin-left: auto; margin-right: auto; position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 10px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15); }
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* --- YouTube Facade --- */
.youtube-facade-container {
  margin-top: 2rem;
  max-width: 800px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

.youtube-facade {
  position: relative;
  background: var(--medium-bg);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  width: 100%;
  min-height: 300px;
}

.youtube-facade:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.youtube-thumbnail {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
  background: var(--black);
}

.youtube-thumbnail img {
  display: block !important;
  z-index: 1;
  transition: transform 0.3s ease;
}

.youtube-facade:hover .youtube-thumbnail img {
  transform: scale(1.05);
}

.youtube-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.9;
  z-index: 10;
  pointer-events: none;
}

.youtube-facade:hover .youtube-play-button {
  transform: translate(-50%, -50%) scale(1.1);
  opacity: 1;
}

.youtube-play-button svg {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  display: block;
}

.youtube-facade-info {
  padding: 1rem 1.5rem;
  background: var(--dark-bg);
}

.youtube-facade-info h4 {
  margin: 0 0 0.5rem 0;
  color: var(--yellow);
  font-size: 1.1rem;
  font-weight: 600;
}

.youtube-facade-info p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Loading state for when video is being loaded */
.youtube-facade.loading {
  pointer-events: none;
}

.youtube-facade.loading .youtube-play-button {
  opacity: 0.5;
}

.youtube-facade.loading .youtube-facade-info h4::after {
  content: " (Loading...)";
  color: var(--text-muted);
  font-weight: 400;
}

/* Desktop-first approach for YouTube facade */
@media (min-width: 769px) {
  .youtube-facade-container {
    max-width: 800px;
    padding: 0 2rem;
  }
  
  .youtube-facade-info {
    padding: 1.25rem 1.5rem;
  }
  
  .youtube-facade-info h4 {
    font-size: 1.2rem;
  }
  
  .youtube-facade-info p {
    font-size: 1rem;
  }
  
  .youtube-play-button svg {
    width: 68px;
    height: 48px;
  }
}

/* Tablet styles */
@media (max-width: 768px) and (min-width: 481px) {
  .youtube-facade-container {
    max-width: 90%;
    padding: 0 1rem;
  }
  
  .youtube-facade-info {
    padding: 1rem 1.25rem;
  }
  
  .youtube-facade-info h4 {
    font-size: 1.1rem;
  }
  
  .youtube-facade-info p {
    font-size: 0.9rem;
  }
  
  .youtube-play-button svg {
    width: 60px;
    height: 42px;
  }
}

/* Mobile styles */
@media (max-width: 480px) {
  .youtube-facade-container {
    max-width: 95%;
    padding: 0 0.5rem;
  }
  
  .youtube-facade-info {
    padding: 0.75rem 1rem;
  }
  
  .youtube-facade-info h4 {
    font-size: 0.95rem;
  }
  
  .youtube-facade-info p {
    font-size: 0.8rem;
  }
  
  .youtube-play-button svg {
    width: 48px;
    height: 34px;
  }
}

/* --- FAQ Section --- */
.faq-wrapper { max-width: 800px; margin: 3rem auto 0 auto; text-align: left; } .faq-wrapper details { background: var(--light-bg); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 10px; margin-bottom: 1rem; opacity: 0; transform: translateY(30px) scale(0.98); transition: background var(--transition-speed) ease, opacity var(--animation-speed-slow) var(--animation-easing), transform var(--animation-speed-slow) var(--animation-easing), box-shadow var(--transition-speed) ease; } .faq-wrapper details[open] { background-color: var(--dark-bg); border-color: rgba(var(--yellow), 0.4); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); } .faq-wrapper summary { font-weight: 600; font-size: 1.1rem; cursor: pointer; color: var(--text-headings); padding: 1.25rem 1.5rem; list-style: none; position: relative; transition: color var(--transition-speed) ease; user-select: none; } .faq-wrapper details[open] summary { color: var(--yellow); } .faq-wrapper summary::-webkit-details-marker { display: none; } .faq-wrapper summary::after { content: '+'; position: absolute; right: 1.5rem; top: 50%; transform: translateY(-50%); font-size: 1.6em; line-height: 1; color: var(--grey); transition: transform 0.25s ease-out, color var(--transition-speed) ease; } .faq-wrapper details[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--yellow); } .faq-wrapper details .faq-content { padding: 0 1.5rem 1.25rem 1.5rem; margin-top: -0.5rem; line-height: 1.6; color: var(--text-secondary); font-size: 0.95rem; overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.35s ease-out, opacity 0.35s ease-out, padding 0.35s ease-out, margin 0.35s ease-out; } .faq-wrapper details[open] .faq-content { max-height: 400px; opacity: 1; padding-top: 0; padding-bottom: 1.25rem; margin-top: 0; transition: max-height 0.4s ease-in, opacity 0.4s ease-in, padding 0.4s ease-in, margin 0.4s ease-in; } .faq-wrapper details .faq-content p { margin: 0; }

/* ===== COMPARISON SECTION ===== */
.comparison-section {
  background: var(--light-bg);
  padding: 4rem 2rem;
  position: relative;
}

.comparison-products {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin: 3rem 0 4rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.comparison-product {
  flex: 1;
  text-align: center;
  padding: 2rem 1rem;
  background: var(--medium-bg);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 0; /* Allows flex items to shrink below their content size */
}

.comparison-product:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.2);
}

.comparison-product-highlight {
  border: 3px solid var(--yellow);
  position: relative;
}

.comparison-product-highlight::before {
  content: "RECOMMENDED";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--yellow);
  color: var(--dark-bg);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.comparison-product-image {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comparison-product h3 {
  font-size: 1.1rem;
  color: var(--text-headings);
  margin: 0;
  font-weight: 600;
}

/* Comparison Table */
.comparison-table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--medium-bg);
  min-width: 320px;
}

.comparison-table th {
  background: var(--dark-bg);
  color: white;
  padding: 1.2rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.comparison-table th.defentra-column {
  background: var(--yellow);
  color: var(--dark-bg);
}

.comparison-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  vertical-align: top;
  color: white;
}

.comparison-table tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

.feature-name {
  font-weight: 600;
  color: white;
  background: var(--light-bg) !important;
  width: 25%;
}

.spray-value, .generic-value {
  color: white;
}

.defentra-value {
  color: white;
  font-weight: 500;
  background: rgba(253, 184, 27, 0.1);
}

/* Mobile Comparison Cards (Hidden by default) */
.comparison-mobile {
  display: none;
}

.comparison-mobile-card {
  background: var(--medium-bg);
  border-radius: 12px;
  padding: 0.8rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex: 1;
  min-width: 0;
}

  .comparison-mobile-feature {
    font-size: 1.1rem;
    color: white !important;
    margin: 0 0 1rem;
    font-weight: 600;
    border-bottom: 2px solid var(--yellow);
    padding-bottom: 0.5rem;
  }

.comparison-mobile-options {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
}

.comparison-mobile-option {
  padding: 0.6rem;
  border-radius: 8px;
  border-left: 4px solid rgba(255, 255, 255, 0.2);
  background: var(--light-bg);
  flex: 1;
  min-width: 0;
}

.comparison-mobile-option.defentra-option {
  background: rgba(253, 184, 27, 0.1);
  border-left-color: var(--yellow);
}

.comparison-mobile-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.4rem;
}

.comparison-mobile-value {
  font-size: 0.85rem;
  color: white;
  line-height: 1.3;
}

.defentra-option .comparison-mobile-value {
  color: white;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .comparison-table-wrapper {
    display: none;
  }
  
  .comparison-mobile {
    display: block;
  }
  
  .comparison-products {
    gap: 0.8rem;
    margin: 2rem 0 3rem;
  }
  
  .comparison-product {
    padding: 1.5rem 0.8rem;
  }
  
  .comparison-product-image {
    width: 80px;
    height: 80px;
  }
  
  .comparison-product h3 {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .comparison-section {
    padding: 3rem 0.8rem;
  }
  
  .comparison-products {
    gap: 0.5rem;
    margin: 1.5rem 0 2.5rem;
  }
  
  .comparison-product {
    padding: 1rem 0.5rem;
  }
  
  .comparison-product-image {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }
  
  .comparison-product h3 {
    font-size: 0.9rem;
    line-height: 1.2;
  }
  
  .comparison-product-highlight::before {
    font-size: 0.7rem;
    padding: 0.3rem 0.8rem;
    top: -10px;
  }
  
  .comparison-mobile-options {
    gap: 0.4rem;
  }
  
  .comparison-mobile-option {
    padding: 0.5rem;
  }
  
  .comparison-mobile-card {
    padding: 0.8rem;
    margin-bottom: 1.2rem;
  }
  
  .comparison-mobile-label {
    font-size: 0.75rem;
    color: white !important;
  }
  
  .comparison-mobile-value {
    font-size: 0.8rem;
    color: white !important;
  }
}

/* Very small screens - fallback to vertical stacking */
@media (max-width: 360px) {
  .comparison-mobile-options {
    flex-direction: column;
    gap: 0.8rem;
  }
  
  .comparison-mobile-option {
    flex: none;
    min-width: auto;
  }
}

/* Comparison Animation Classes */
.comparison-section h2,
.comparison-section .section-intro-text,
.comparison-product,
.comparison-table-wrapper,
.comparison-mobile-card {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition: opacity var(--animation-speed-slow) var(--animation-easing), 
              transform var(--animation-speed-slow) var(--animation-easing);
}

.comparison-section h2.is-visible,
.comparison-section .section-intro-text.is-visible,
.comparison-product.is-visible,
.comparison-table-wrapper.is-visible,
.comparison-mobile-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* --- Footer --- */
footer { background-color: var(--light-bg-secondary); padding: 3rem 1rem; text-align: center; font-size: 0.9rem; color: var(--text-muted); margin-top: 0; border-top: 1px solid var(--border-light); position: relative; z-index: 0; }

/* --- Scroll Animation Trigger --- */
.is-visible { opacity: 1 !important; transform: translateY(0) scale(1) rotate(0deg) !important; }

/* --- Link Styles --- */
/* (Keep existing link styles) */
a { color: var(--yellow); text-decoration: none; transition: color var(--transition-speed) ease, outline-color var(--transition-speed) ease; outline-color: transparent; } a:not(.buy-btn):not(.main-nav a):not(.footer-links a):not(.back-link):not(.cart-back-link):not(.back-to-store):not(.back-to-home-btn):hover { color: #fff; text-decoration: underline; } a:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 2px; } .buy-btn:focus-visible { outline: 3px solid #0d6efd; outline-offset: 2px; } summary:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; border-radius: 2px; } button:focus-visible { outline: 3px solid #0d6efd; outline-offset: 2px; border-radius: 50%;} .dot:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px;}

/* Footer Customer Service Section */
.footer-content {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  gap: 2rem;
}

.footer-section {
  min-width: 200px;
}

.footer-section h3 {
  color: var(--yellow);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #333333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--yellow);
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

/* ================================= */
/* Media Queries (Including Mobile Nav) */
/* ================================= */
@media (max-width: 1024px) {
    /* Mobile/Tablet Layout */
    .site-header {
        padding: 0.7rem 0.8rem;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(8px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        height: 60px;
    }

    /* Hide desktop navigation on mobile/tablet */
    .main-nav-desktop {
        display: none;
    }
    
    /* Show menu toggle on tablet */
    .menu-toggle {
        display: block !important;
    }
}

@media (max-width: 650px) {
    /* Hide desktop Amazon button on mobile only */
    .nav-amazon-btn-desktop {
        display: none;
    }

    /* Show mobile controls on small screens only */
    .header-controls-mobile {
        display: flex;
    }

    .logo { 
        max-width: 160px; 
    }

    .buy-btn-nav { 
        padding: 0.4rem 0.8rem !important; 
        font-size: 0.8rem !important; 
    }
    /* End Mobile Header */

    /* Other Mobile Styles */
    h2 { font-size: 1.8rem; margin-bottom: 1.5rem; }
    h3 { font-size: 1.15rem; }
    .section { padding: 3.5rem 1rem 4rem 1rem; }
    .section-intro-text { font-size: 1rem; }
    .hero { padding: 4rem 1rem 6rem 1rem; }
    .hero h1 { font-size: clamp(2rem, 8vw, 2.5rem); margin-bottom: 0; }
    .hero p { font-size: 1rem; line-height: 1.6; }
    .hero-buy-box { margin-top: 0.5rem; } /* Minimal spacing between title and buy button on mobile */
    .hero-divider svg, .features-divider svg, .whatsinthebox-divider svg, .comparison-divider svg { height: 100px; }
    #features { padding-top: 60px; padding-bottom: 60px; margin-top: -1px; }
    #features::after { opacity: 0.5; } #whatsinthebox::after { opacity: 0.5; }
    .features { gap: 1.5rem; }
    .feature-box { padding: 2rem; flex-basis: calc(100% - 1rem); max-width: none; }
    .feature-icon-wrapper { width: 50px; height: 50px; margin-bottom: 0.75rem;}
    .feature-icon-wrapper svg { width: 24px; height: 24px; }
    #gallery { padding-top: 5rem; padding-bottom: 3rem; margin-top: -1px; }
    .slider-container { margin-top: 2rem; margin-bottom: 0; }
    .prev, .next { width: 35px; height: 35px; line-height: 35px; font-size: 18px; padding: 0; } .prev { left: 10px; } .next { right: 10px; } .dots { display: none; }
    #whatsinthebox { padding-bottom: 60px; }
    #installation { padding-top: 5rem; padding-bottom: 4rem; margin-top: -1px; }
    .video-container { max-width: 100%; }
    .faq-wrapper { margin-top: 2rem; }
    .faq-wrapper summary { padding: 1rem 1.2rem; font-size: 1rem; } .faq-wrapper summary::after { right: 1.2rem; font-size: 1.5em; } .faq-wrapper details .faq-content { padding: 0 1.2rem 1rem 1.2rem; font-size: 0.9rem; }
    .login-link {
      font-size: 0.8rem;
    }
} /* End @media (max-width: 850px) */


/* ================================= */
/* === FINAL Desktop Styles === */
/* ================================= */
@media (min-width: 1025px) {
    /* Desktop Layout Only */
    .site-header {
        padding: 0.7rem 1.5rem;
        height: 70px;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(8px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    /* Show desktop navigation on desktop only */
    .main-nav-desktop {
        display: block;
    }
}

@media (min-width: 1025px) {
    /* Hide menu toggle on desktop only */
    .menu-toggle {
        display: none !important;
    }
}

@media (min-width: 651px) and (max-width: 1024px) {
    /* iPad: Show mobile controls but hide the mobile buy button */
    .header-controls-mobile {
        display: flex;
    }
    
    .nav-amazon-btn-mobile {
        display: none !important;
    }
    
    /* Show desktop Amazon button */
    .nav-amazon-btn-desktop {
        display: inline-block;
    }
}

@media (min-width: 1025px) {
    /* Desktop: Show desktop button, hide mobile controls entirely */
    .nav-amazon-btn-desktop {
        display: inline-block;
    }

    .header-controls-mobile {
        display: none;
    }
}


    .logo {
        max-width: 220px;
    }

    .buy-btn-nav {
        padding: 0.4rem 1rem !important;
        font-size: 0.85rem !important;
        margin-top: 0 !important;
        margin-left: 0;
    }
}
/* === End FINAL Desktop Styles === */

.login-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.25rem 0.5rem;
  transition: color var(--transition-speed) ease;
  position: relative;
}

.login-link:hover {
  color: var(--yellow);
}

/* Style login link differently in desktop nav */
.main-nav-desktop .login-link {
  font-size: 0.9rem;
  color: var(--text-primary);
}

.main-nav-desktop .login-link:hover {
  color: var(--text-headings);
}

/* --- Order Tracking Styles --- */
.track-order-main {
  min-height: 100vh;
  padding: 2rem 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.track-header {
  text-align: center;
  margin-bottom: 3rem;
}

.track-header h1 {
  color: var(--text-headings);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.track-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.track-step {
  max-width: 600px;
  margin: 0 auto;
}

.track-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.track-card-header {
  text-align: center;
  margin-bottom: 2rem;
}

.track-card-header h2 {
  color: var(--text-headings);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.track-card-header p {
  color: var(--text-secondary);
}

.track-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  color: var(--text-primary);
  font-weight: 600;
}

.radio-group {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  color: var(--text-primary);
}

.radio-option input[type="radio"] {
  display: none;
}

.radio-custom {
  width: 20px;
  height: 20px;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  position: relative;
  transition: all 0.3s ease;
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--yellow);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.track-form input[type="email"],
.track-form input[type="tel"],
.track-form input[type="text"] {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
  /* Prevent browser-specific styling */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  /* Ensure consistent width */
  width: 100%;
  box-sizing: border-box;
}

/* Remove browser-specific clear button on phone inputs */
.track-form input[type="tel"]::-webkit-inner-spin-button,
.track-form input[type="tel"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.track-form input[type="tel"]::-webkit-clear-button {
  -webkit-appearance: none;
  display: none;
}

.track-form input[type="tel"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  display: none;
}

/* Ensure form groups maintain consistent layout */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  /* Remove min-height as it can cause spacing issues */
}

/* Ensure both email and phone groups have same styling */
#email-group,
#phone-group {
  /* Use visibility instead of display for seamless transition */
  transition: opacity 0.2s ease, visibility 0.2s ease;
  /* Ensure both groups take exactly the same space */
  min-height: 80px;
  /* Prevent layout shifts */
  box-sizing: border-box;
}

/* Hidden state using visibility instead of display:none */
#email-group.hidden,
#phone-group.hidden {
  opacity: 0;
  visibility: hidden;
  /* Keep the space occupied but make it invisible */
  position: absolute;
  pointer-events: none;
}

/* Container for the form groups to maintain layout */
.contact-method-container {
  position: relative;
  /* Ensure minimum height for the container */
  min-height: 80px;
}

.track-form input:focus {
  outline: none;
  border-color: var(--yellow);
  background: rgba(255, 255, 255, 0.1);
}

.track-form input::placeholder {
  color: var(--text-secondary);
}

.form-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  min-width: 150px;
}

.btn-primary {
  background: var(--yellow);
  color: #000;
}

.btn-primary:hover:not(:disabled) {
  background: #e6c200;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--dark-bg);
  transform: translateY(-2px);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-loading {
  display: none;
}

.back-link {
  text-align: center;
  margin-top: 1.5rem;
}

.back-link a {
  color: var(--yellow);
  text-decoration: none;
  font-size: 0.9rem;
}

.back-link a:hover {
  text-decoration: underline;
}

/* Order Cards */
.orders-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.order-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1.5rem;
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.order-number h3 {
  color: var(--text-headings);
  margin: 0 0 0.25rem 0;
  font-size: 1.3rem;
}

.order-date {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.order-status {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-pending { background: #fbbf24; color: #000; }
.status-paid { background: #10b981; color: #fff; }
.status-processing { background: #3b82f6; color: #fff; }
.status-shipped { background: #8b5cf6; color: #fff; }
.status-delivered { background: #059669; color: #fff; }
.status-cancelled { background: #6b7280; color: #fff; }
.status-failed { background: #ef4444; color: #fff; }
.status-unknown { background: #374151; color: #fff; }

.order-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.order-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.info-item label {
  color: var(--text-secondary);
  font-weight: 500;
}

.info-item span {
  color: var(--text-primary);
  font-weight: 600;
}

.delivery-info h4 {
  color: var(--text-headings);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.address {
  color: var(--text-primary);
  line-height: 1.5;
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
  border-radius: 6px;
  border-left: 3px solid var(--yellow);
}

.no-orders {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-secondary);
}

.no-orders h3 {
  color: var(--text-headings);
  margin-bottom: 1rem;
}

/* Loading and Error States */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid var(--yellow);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-overlay p {
  color: var(--text-primary);
  font-size: 1.1rem;
}

.error-message {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1001;
}

.error-content {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  max-width: 400px;
  margin: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.error-content h3 {
  color: #ef4444;
  margin-bottom: 1rem;
}

.error-content p {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

/* Track Order Link Styling */
.track-order-link {
  color: var(--yellow) !important;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  .track-header h1 {
    font-size: 2rem;
  }
  
  .track-card {
    padding: 1.5rem;
    margin: 0 1rem;
  }
  
  .radio-group {
    flex-direction: column;
    gap: 1rem;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  .order-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .order-details {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .info-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}

.hero-section-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-headings);
  margin: 3rem 0 1.5rem 0;
  letter-spacing: 0.01em;
  line-height: 1.3;
  text-align: left;
}

.hero-section-title .brand-name {
  color: var(--yellow);
  font-weight: 800;
}

.hero-problems {
  margin: 0rem 0 0rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-problem {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1.08rem;
  line-height: 1.5;
}

.hero-problem-icon {
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight-yellow {
  color: var(--yellow);
  font-weight: 700;
}


@media (max-width: 768px) {
  .hero-section-title {
    font-size: 1.25rem;
    margin: 2rem 0 1rem 0;
    text-align: left;
  }
  
  .hero-problems {
    margin: 0rem 0 2rem 0;
    gap: 1.1rem;
  }
  .hero-problem {
    font-size: 1rem;
  }
}

.hero-cite-link {
  color: var(--yellow);
  text-decoration: none;
  font-size: 0.85em;
  vertical-align: super;
  margin-left: 2px;
  margin-right: 2px;
}
.hero-cite-link:hover {
  text-decoration: underline;
}
.hero-citations {
  font-size: 0.92rem;
  color: #333333;
  margin-top: 1.5rem;
  margin-bottom: 0;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .hero-citations {
    font-size: 0.88rem;
    margin-top: 1.2rem;
    text-align: left;
    padding-left: 0;
  }
}

.hero-problems-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-headings);
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
  line-height: 1.3;
}
.hero-problems-title strong, .hero-problems-title span {
  color: var(--yellow);
}
@media (max-width: 768px) {
  .hero-problems-title {
    font-size: 1.15rem;
    margin-bottom: 1.1rem;
    text-align: center;
  }
}

.hero-problem-title {
  color: #1a1a1a;
  font-size: 1.04rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.18em;
  line-height: 1.2;
}
.hero-problem-desc {
  color: #000000;
  font-size: 1.04rem;
  font-weight: 400;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .hero-problem-title {
    font-size: 0.98rem;
  }
  .hero-problem-desc {
    font-size: 0.98rem;
  }
}

.hero-content p {
  margin-top: 0.5rem;
}

/* === Hero Buy Box Styling === */
.hero-buy-box {
  background: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1.2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.buy-box-header {
  margin-bottom: 0.8rem;
}

.trust-badge-highlight {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #d4edda, #e2f3e4);
  color: #1e3a0d;
  border: 1px solid #a8d8a8;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.trust-badge-highlight .trust-badge-icon {
  font-size: 1rem;
}

.trust-badge-highlight .trust-badge-text {
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-section {
  text-align: left;
}

.current-price {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  line-height: 1.2;
}

.offer-price {
  color: #000000;
  font-size: 1.4rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

.mrp {
  color: #666666;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  display: flex;
  align-items: baseline;
}

.mrp-strike {
  text-decoration: line-through;
  color: #888888;
  margin-left: 0.3em;
  font-size: 1rem;
  line-height: 1.2;
}

.discount-badge {
  background: #e8f5e8;
  color: #2e7d32;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
}

.tax-inclusive-text {
  font-size: 0.75rem;
  color: #888888;
  font-weight: 400;
  margin-top: 0.2rem;
  font-style: italic;
}

.coupon-offer {
  background: #f0f8ff;
  border: 1px solid #d1e7ff;
  border-radius: 6px;
  padding: 0.6rem 0.8rem;
  margin-top: 0.5rem;
}

.coupon-icon {
  font-size: 1rem;
  margin-right: 0.3rem;
}

.coupon-text {
  font-size: 0.85rem;
  color: #2c5aa0;
  font-weight: 500;
}

.coupon-discount-price {
  color: #1a472a;
  font-weight: 600;
  font-size: 0.9rem;
}

.coupon-code {
  background: #2c5aa0;
  color: white;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  font-size: 0.8rem;
  margin: 0 0.2rem;
}

.urgency-indicator {
  background: linear-gradient(135deg, #fef3c7, #fed7aa);
  border: 2px solid #f59e0b;
  border-radius: 8px;
  padding: 0.7rem 1rem;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  animation: urgencyPulse 1.5s ease-in-out infinite;
  transition: opacity 0.3s ease;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25), 0 0 0 1px rgba(245, 158, 11, 0.1);
  position: relative;
  overflow: hidden;
}

.urgency-indicator::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: urgencyShimmer 2.5s ease-in-out infinite;
}

.urgency-icon {
  font-size: 1.2rem;
  line-height: 1;
  animation: urgencyBounce 1.2s ease-in-out infinite;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.urgency-text {
  font-size: 0.9rem;
  color: #c2410c;
  font-weight: 600;
  line-height: 1.3;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

@keyframes urgencyPulse {
  0%, 100% { 
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25), 0 0 0 1px rgba(245, 158, 11, 0.1);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4), 0 0 0 2px rgba(245, 158, 11, 0.2);
    transform: scale(1.02);
  }
}

@keyframes urgencyBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  40% {
    transform: translateY(-3px) rotate(-2deg);
  }
  60% {
    transform: translateY(-1px) rotate(1deg);
  }
}

@keyframes urgencyShimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.buy-box-action {
  margin: 0.8rem 0 0.5rem 0;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  min-width: 0;
}

.buy-box-left {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.buy-box-right {
  flex: 1;
  display: flex;
  align-items: flex-start;
  min-width: 0;
}

.hero-buy-btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 25px;
  background: linear-gradient(45deg, var(--yellow), var(--yellow-light));
  border: none;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(253, 184, 27, 0.2);
}

.hero-buy-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(253, 184, 27, 0.3);
}

.buy-btn-text {
  font-size: 1rem;
  font-weight: 600;
}

.buy-btn-subtext {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.7;
  margin-top: 0.1rem;
}

.buy-box-features {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.features-row {
  display: flex;
  gap: 0.8rem;
}

.features-row .feature-item {
  flex: 1;
  min-width: 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #555;
}

/* Amazon Rating Styles */
.amazon-rating {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-family: "Amazon Ember", Arial, sans-serif;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.amazon-rating:hover {
  opacity: 0.8;
}

.amazon-stars {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.amazon-stars .stars {
  color: #FF9900;
  font-size: 0.9rem;
  letter-spacing: 1px;
  line-height: 1;
}

.amazon-stars .stars .full-star {
  color: #FF9900;
}

.amazon-stars .stars .half-star {
  position: relative;
  display: inline-block;
  color: #ddd;
}

.amazon-stars .stars .half-star::before {
  content: '★';
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  overflow: hidden;
  color: #FF9900;
}

.amazon-stars .stars .empty-star {
  color: #ddd;
}

.amazon-stars .rating-number {
  color: #0066C0;
  font-size: 0.85rem;
  font-weight: 600;
}

.amazon-stars .rating-source {
  color: #666;
  font-size: 0.8rem;
  font-weight: 400;
  margin-left: 0.3rem;
}

.amazon-reviews {
  display: flex;
  align-items: center;
}

.amazon-reviews .review-count {
  color: #0066C0;
  font-size: 0.75rem;
  text-decoration: underline;
  cursor: pointer;
}

.amazon-reviews .review-count:hover {
  color: #FF9900;
}

.feature-icon {
  color: #28a745;
  font-weight: normal;
  font-size: 0.8rem;
  width: 12px;
  display: inline-block;
  text-align: center;
  flex-shrink: 0;
}

.feature-text {
  flex: 1;
}

.feature-link {
  color: #555 !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.feature-link:hover {
  color: #333 !important;
  text-decoration: underline;
}

.blue-link {
  color: var(--info) !important;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.blue-link:hover {
  color: #2563eb !important;
  text-decoration: underline;
}

/* Amazon image button */
.amazon-btn-image {
  display: inline-block;
  transition: transform 0.2s ease, opacity 0.2s ease;
  text-decoration: none;
  vertical-align: middle;
}

.amazon-btn-image:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.amazon-btn-image:active {
  transform: translateY(0);
}

.amazon-btn-img {
  height: 88px;
  width: auto;
  display: block;
  transition: opacity 0.2s ease;
  vertical-align: middle;
}

.amazon-btn-image:hover .amazon-btn-img {
  opacity: 0.9;
}

.amazon-section {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

/* Amazon text button styling */
.amazon-text-btn {
  display: inline-block;
  background: linear-gradient(to bottom, #f7dfa5, #f0c14b);
  border: 1px solid #a88734;
  border-radius: 3px;
  box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 1px 1px rgba(0,0,0,.3);
  color: #111;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: bold;
  padding: 8px 15px;
  text-decoration: none;
  text-align: center;
  vertical-align: middle;
  min-width: 120px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.amazon-text-btn:hover {
  background: linear-gradient(to bottom, #f5d78e, #edb933);
  border-color: #9c7e31;
  color: #111;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 1px 3px rgba(0,0,0,.3);
}

.amazon-text-btn:active {
  background: linear-gradient(to bottom, #edb933, #f5d78e);
  box-shadow: 0 1px 3px rgba(0,0,0,.3) inset;
  transform: translateY(1px);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .amazon-btn-img {
    height: 78px;
  }
  
  .amazon-text-btn {
    font-size: 13px;
    padding: 7px 12px;
    min-width: 100px;
  }

  /* Specific styling for mobile nav Amazon button */
  .nav-amazon-btn-mobile {
    font-size: 11px;
    padding: 5px 8px;
    min-width: 80px;
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .amazon-section {
    font-size: 0.85rem;
    gap: 0.4rem;
  }
}

/* === Product Features Section === */
.product-features {
  margin-top: 1.2rem;
  border-top: 1px solid rgba(230, 160, 0, 0.15);
  padding-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(255, 248, 230, 0.3), rgba(254, 243, 199, 0.2));
  border-radius: 8px;
  padding: 1.2rem 0.8rem 0.8rem 0.8rem;
  position: relative;
  overflow: hidden;
}

/* Desktop: Single row layout */
@media (min-width: 701px) {
  .product-features {
    flex-wrap: nowrap;
    gap: 0.6rem;
  }
  
  .product-feature {
    flex-basis: calc(16.666% - 0.5rem);
    max-width: calc(16.666% - 0.5rem);
  }
}

.product-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  flex-basis: calc(33.333% - 0.53rem);
  max-width: calc(33.333% - 0.53rem);
  min-width: 0;
  padding: 0.4rem 0.2rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
}

.product-feature:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(230, 160, 0, 0.15);
}

.product-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff, #fef3c7);
  border: 2px solid var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(230, 160, 0, 0.2);
  position: relative;
  z-index: 1;
}

.product-feature-icon::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-light));
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.product-feature:hover .product-feature-icon {
  color: var(--white);
  border-color: transparent;
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(230, 160, 0, 0.3);
}

.product-feature:hover .product-feature-icon::before {
  opacity: 1;
}

.product-feature-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: #4a5568;
  line-height: 1.3;
  max-width: 85px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.product-feature:hover .product-feature-text {
  color: #2d3748;
}

/* Mobile Responsive */
@media (max-width: 700px) {
  .hero-buy-box {
    padding: 0.8rem;
    margin-top: 0.8rem;
  }
  
  .current-price {
    flex-direction: row;
    align-items: baseline;
    gap: 0.6rem;
  }
  
  .offer-price {
    font-size: 1.3rem;
  }
  
  .coupon-offer {
    padding: 0.5rem 0.6rem;
  }
  
  .coupon-text {
    font-size: 0.8rem;
  }
  
  .hero-buy-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
    border-radius: 25px;
  }
  
  .tax-inclusive-text {
    font-size: 0.7rem;
    margin-top: 0.1rem;
  }
  
  .product-features {
    margin-top: 1rem;
    padding: 1rem 0.6rem 0.6rem 0.6rem;
    gap: 0.6rem;
  }
  
  .product-feature {
    flex-basis: calc(33.333% - 0.53rem);
    max-width: calc(33.333% - 0.53rem);
    min-width: 0;
    padding: 0.3rem 0.1rem;
  }
  
  .product-feature-icon {
    width: 32px;
    height: 32px;
    border-width: 1.5px;
  }
  
  .product-feature-icon svg {
    width: 16px;
    height: 16px;
  }
  
  .product-feature-text {
    font-size: 0.72rem;
    font-weight: 600;
    max-width: none;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  
  .buy-box-action {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
  }
  
  .buy-box-left {
    align-self: stretch;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  
  .buy-box-right {
    align-items: stretch;
  }
  
  /* Amazon rating mobile styles - left aligned under button */
  .amazon-rating {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    margin-top: 0;
  }
  
  .amazon-stars {
    justify-content: flex-start;
    gap: 0.3rem;
  }
  
  .amazon-stars .stars {
    font-size: 0.8rem;
    letter-spacing: 0.5px;
  }
  
  .amazon-stars .rating-number {
    font-size: 0.8rem;
    font-weight: 700;
  }
  
  .amazon-reviews {
    justify-content: flex-start;
  }
  
  .amazon-reviews .review-count {
    font-size: 0.7rem;
    text-align: left;
  }
  
  .hero-buy-btn {
    width: 100%;
    text-align: center;
  }
  
  
  .features-row {
    flex-direction: column;
    gap: 0.3rem;
  }
  
  .features-row .feature-item {
    flex: none;
    white-space: normal;
  }
}

/* Responsive layout for buy box features - always use vertical layout on laptops to prevent overflow */
@media (min-width: 768px) {
  .buy-box-features {
    max-width: 100%;
    overflow: hidden;
  }
  
  .features-row {
    flex-direction: column;
    gap: 0.3rem;
  }
  
  .features-row .feature-item {
    flex: none;
    white-space: normal;
    min-width: 0;
    overflow: visible;
    text-overflow: initial;
    word-wrap: break-word;
    hyphens: auto;
  }
  
  /* Only use horizontal layout on very large screens */
  @media (min-width: 1600px) {
    .features-row {
      flex-direction: row;
      gap: 0.8rem;
    }
    
    .features-row .feature-item {
      flex: 1;
      min-width: 0;
      white-space: normal;
      overflow: hidden;
      text-overflow: ellipsis;
      word-wrap: normal;
      hyphens: none;
    }
  }
}

.hero-shield-icon {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin-right: 0.6rem;
  position: relative;
  top: -2px;
}

.hero-h1-white {
  color: #000000;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
}

.how-it-works-section {
  background: var(--dark-bg);
  color: var(--white);
  padding: 4rem 0 4rem 0;
}
.how-it-works-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.how-it-works-heading {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2.5rem;
  text-align: center;
  letter-spacing: 0.02em;
}
.how-it-works-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 2.5rem;
}
.how-it-works-feature {
  background: transparent;
  border-radius: 16px;
  padding: 0 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 180px;
  position: relative;
}
.how-it-works-feature-icon {
  margin-bottom: 0.5rem;
  margin-top: 0.2rem;
}
.how-it-works-feature-icon svg {
  display: block;
  width: 40px;
  height: 40px;
  stroke: #FFD700;
}

.how-it-works-feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFD700;
  margin-bottom: 0.3rem;
  margin-top: 1.2rem;
  z-index: 1;
  letter-spacing: 0.01em;
}
.how-it-works-feature-desc {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0;
  z-index: 1;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .how-it-works-grid {
    grid-template-columns: 1fr;
    gap: 2rem 0;
  }
  .how-it-works-section {
    padding: 2.5rem 0 2.5rem 0;
    margin-top: -1px;
    position: relative;
  }
  
  .how-it-works-section::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--dark-bg);
    z-index: 10;
  }
  .how-it-works-heading {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  .how-it-works-feature {
    min-height: 0;
    padding: 0;
  }
  .how-it-works-feature-num {
    font-size: 1.5rem;
  }
}

/* --- How It Works Feature Header --- */
.how-it-works-feature-header {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 0.7rem;
}
.how-it-works-feature-num {
  font-size: 2.2rem;
  font-weight: 700;
  color: #FFD700;
  opacity: 0.50;
  position: static;
  left: unset;
  top: unset;
  z-index: 0;
  line-height: 1;
  letter-spacing: 0.01em;
  margin: 0;
}
.how-it-works-feature-icon {
  margin: 0;
  display: flex;
  align-items: center;
}
.how-it-works-feature-title {
  margin-top: 0.2rem;
}
@media (max-width: 900px) {
  .how-it-works-feature-header {
    gap: 0.7rem;
    margin-bottom: 0.5rem;
  }
  .how-it-works-feature-num {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }
  .hero-container {
    flex-direction: column;
    padding-left: 0;
    padding-right: 0;
  }
  
  .urgency-indicator {
    padding: 0.6rem 0.8rem;
    margin-top: 0.4rem;
    border-radius: 6px;
  }
  
  .urgency-icon {
    font-size: 1.1rem;
  }
  
  .urgency-text {
    font-size: 0.85rem;
    font-weight: 600;
  }
}
  
  /* Mobile order: 1. Hero text, 2. Hero image, 3. Buy box + content */
  .hero-h1-mobile {
    order: -2;
    display: block !important;
    text-align: left !important;
    font-size: 2rem;
    margin: 0 0 0.3rem 0;
    padding: 0;
  }
  
  .hero-image {
    order: -1;
    margin-bottom: 0.3rem;
    padding: 0.5rem;
  }
  
  .hero-image-carousel {
    border-radius: 6px;
  }
  
  
  .hero-content {
    order: 0;
    text-align: left !important;
  }
  
  .hero-video {
    order: -1;
    margin-bottom: 0;
  }
  .hero-problems,
  .hero p {
    text-align: left !important;
  }
  .hero h1 {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
  }
  .hero-h1-desktop {
    display: none !important;
    font-size: clamp(2.5rem, 6vw, 3.5rem);
  }
}
/* Hero h1 desktop styles moved to inline CSS in index.html */

/* === CONTACT SUPPORT STYLES === */
.contact-support-title {
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: 1rem;
  text-align: center;
  color: var(--text-headings);
}

.cart-title {
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: 1rem;
  text-align: center;
  color: var(--text-headings);
}

.success-title {
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: 1rem;
  text-align: center;
  color: var(--text-headings);
}

/* Blog h1 styles */
.blog-main h1 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: 1rem;
  text-align: center;
  color: var(--text-headings);
}

.blog-header h1 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: 1rem;
  text-align: center;
  color: var(--text-headings);
}

/* === POLICY PAGES STYLES === */
.policy-page {
  background-color: var(--dark-bg);
  min-height: 100vh;
  color: var(--text-primary);
}

.policy-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.policy-container h1 {
  color: var(--text-headings);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 1rem;
}

.policy-content {
  background: var(--light-bg);
  border-radius: 15px;
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 1.7;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.policy-content h2 {
  color: var(--yellow);
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  text-align: left;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content h3 {
  color: var(--text-headings);
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  text-align: left;
}

.policy-content p {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.policy-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.policy-content li {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.policy-content strong {
  color: var(--text-headings);
}

.company-details {
  background: var(--medium-bg);
  border-radius: 10px;
  padding: 1.5rem;
  margin-top: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.company-details h3 {
  color: var(--yellow);
  margin-top: 0;
  margin-bottom: 1rem;
}

.contact-info {
  background: var(--medium-bg);
  border-radius: 10px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info a {
  color: var(--yellow);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

.contact-info a:hover {
  color: var(--text-headings);
  text-decoration: underline;
}

.back-link {
  text-align: center;
  margin-top: 3rem;
}

.back-link a {
  color: var(--yellow);
  text-decoration: none;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--yellow);
  border-radius: 8px;
  transition: all var(--transition-speed) ease;
  display: inline-block;
}

.back-link a:hover {
  background: var(--yellow);
  color: var(--dark-bg);
  transform: translateY(-2px);
}

/* Footer styles for policy pages - simplified */
.policy-page footer {
  margin-top: 3rem;
  padding: 2rem 1rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive design for policy pages */
@media (max-width: 768px) {
  .policy-container {
    padding: 1.5rem 1rem;
  }
  
  .policy-container h1 {
    font-size: 2rem;
  }
  
  .policy-content {
    padding: 1.5rem;
  }
  
  .policy-content h2 {
    font-size: 1.3rem;
  }
  
  .policy-content h3 {
    font-size: 1.1rem;
  }
}

/* === FOOTER IMPROVEMENTS === */
.footer-content {
  display: flex;
  justify-content: center;
  gap: 4rem;
  max-width: 800px;
  margin: 0 auto 2rem auto;
}

.footer-section {
  text-align: center;
}

.footer-section h3 {
  color: var(--yellow);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-speed) ease;
}

.footer-links a:hover {
  color: var(--yellow);
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
}



/* === Price Loading States === */
/* Skeleton loading for prices */
.price-skeleton {
  background: linear-gradient(90deg, #333 25%, #444 50%, #333 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
  display: inline-block;
  height: 1.2em;
  width: 80px;
  color: transparent !important;
  transition: all 0.2s ease-out;
}

.price-skeleton.mrp-skeleton {
  width: 60px;
  height: 0.9em;
}

.price-skeleton.offer-skeleton {
  width: 90px;
  height: 1.4em;
}

/* Shimmer animation */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Pulse loading for prices */
.price-pulse {
  animation: pulse 1.5s ease-in-out infinite;
  color: #666 !important;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.8;
  }
}

/* Dots loading animation */
.price-dots::after {
  content: '';
  animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
  0%, 20% {
    content: '';
  }
  40% {
    content: '.';
  }
  60% {
    content: '..';
  }
  80%, 100% {
    content: '...';
  }
}

/* Smooth transition for when price loads */
.price-fade-in {
  animation: fadeInPrice 0.3s ease-out;
}

@keyframes fadeInPrice {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Hide price container until loaded - option */
.price-container-hidden {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.price-container-loaded {
  opacity: 1;
}

/* === PROMINENT ELEGANT TRUST BADGES === */
.trust-badges-marquee {
  background: linear-gradient(135deg, rgba(20, 20, 30, 0.85) 0%, rgba(30, 30, 45, 0.95) 100%);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--yellow-alpha-20);
  border-bottom: 1px solid var(--yellow-alpha-20);
  padding: 0.45rem 0;
  position: relative;
  z-index: 50;
  overflow: hidden;
  white-space: nowrap;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.trust-badges-marquee::before,
.trust-badges-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}

.trust-badges-marquee::before {
  left: 0;
  background: linear-gradient(to right, rgba(20, 20, 30, 0.95), transparent);
}

.trust-badges-marquee::after {
  right: 0;
  background: linear-gradient(to left, rgba(20, 20, 30, 0.95), transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  animation: elegantBadgeScroll var(--scroll-duration, 30s) linear infinite;
  will-change: transform;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.9rem;
  white-space: nowrap;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  flex-shrink: 0;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.trust-badge-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--yellow-alpha-40);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 30px var(--yellow-alpha-25);
}

/* Enhanced accent colors with gradients */
.trust-badge-item.warranty {
  border-left: 4px solid var(--trust-warranty);
  background: linear-gradient(135deg, var(--trust-warranty-alpha-10), rgba(255, 255, 255, 0.08));
}

.trust-badge-item.warranty:hover {
  background: linear-gradient(135deg, var(--trust-warranty-alpha-15), rgba(255, 255, 255, 0.12));
  box-shadow: 0 6px 30px var(--trust-warranty-alpha-30);
}

.trust-badge-item.installation {
  border-left: 4px solid var(--trust-installation);
  background: linear-gradient(135deg, var(--trust-installation-alpha-10), rgba(255, 255, 255, 0.08));
}

.trust-badge-item.installation:hover {
  background: linear-gradient(135deg, var(--trust-installation-alpha-15), rgba(255, 255, 255, 0.12));
  box-shadow: 0 6px 30px var(--trust-installation-alpha-30);
}

.trust-badge-item.shipping {
  border-left: 4px solid var(--trust-shipping);
  background: linear-gradient(135deg, var(--trust-shipping-alpha-10), rgba(255, 255, 255, 0.08));
}

.trust-badge-item.shipping:hover {
  background: linear-gradient(135deg, var(--trust-shipping-alpha-15), rgba(255, 255, 255, 0.12));
  box-shadow: 0 6px 30px var(--trust-shipping-alpha-30);
}

.trust-badge-item.return {
  border-left: 4px solid var(--trust-return);
  background: linear-gradient(135deg, var(--trust-return-alpha-10), rgba(255, 255, 255, 0.08));
}

.trust-badge-item.return:hover {
  background: linear-gradient(135deg, var(--trust-return-alpha-15), rgba(255, 255, 255, 0.12));
  box-shadow: 0 6px 30px var(--trust-return-alpha-30);
}

.trust-badge-item.engineered {
  border-left: 4px solid var(--trust-engineered);
  background: linear-gradient(135deg, var(--trust-engineered-alpha-10), rgba(255, 255, 255, 0.08));
}

.trust-badge-item.engineered:hover {
  background: linear-gradient(135deg, var(--trust-engineered-alpha-15), rgba(255, 255, 255, 0.12));
  box-shadow: 0 6px 30px var(--trust-engineered-alpha-30);
}

.trust-badge-icon {
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: brightness(1.2);
}

.trust-badge-text {
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Enhanced verification indicator */
.trust-badge-item::after {
  content: '✓';
  position: absolute;
  top: -4px;
  right: -4px;
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, var(--trust-verification), var(--trust-verification-dark));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: bold;
  box-shadow: 0 2px 8px var(--trust-verification-alpha-50);
  border: 2px solid var(--white);
}

@keyframes elegantBadgeScroll {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .trust-badges-marquee {
    padding: 0.4rem 0;
  }
  
  .trust-badges-marquee::before,
  .trust-badges-marquee::after {
    width: 40px;
  }
  
  .marquee-track {
    gap: 2rem;
    animation-duration: 8s;
  }
  
  .trust-badge-item {
    padding: 0.3rem 0.75rem;
    font-size: 0.75rem;
    gap: 0.4rem;
  }
  
  .trust-badge-icon {
    font-size: 0.85rem;
  }
  
  .trust-badge-item::after {
    width: 12px;
    height: 12px;
    top: -4px;
    right: -4px;
    font-size: 8px;
  }
}

@media (max-width: 480px) {
  .marquee-track {
    gap: 1.5rem;
    animation-duration: 7s;
  }
  
  .trust-badge-item {
    padding: 0.25rem 0.7rem;
    font-size: 0.7rem;
  }
  
  .trust-badge-item::after {
    width: 10px;
    height: 10px;
    top: -3px;
    right: -3px;
    font-size: 7px;
  }
}

/* === BULK ORDER MESSAGE === */
.cart-bulk-order-message {
  background: linear-gradient(135deg, var(--yellow-dark) 0%, var(--yellow) 100%);
  border: 1px solid var(--yellow);
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem 0;
  animation: slideIn 0.3s ease-out;
}

.cart-bulk-order-message .bulk-message-content {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--dark-bg);
}

.cart-bulk-order-message .bulk-message-content svg {
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.cart-bulk-order-message .bulk-message-text {
  font-size: 0.9rem;
  line-height: 1.4;
}

.cart-bulk-order-message .bulk-message-text strong {
  font-weight: 600;
}

.cart-bulk-order-message .bulk-message-text a {
  color: var(--dark-bg);
  text-decoration: underline;
  font-weight: 500;
}

.cart-bulk-order-message .bulk-message-text a:hover {
  text-decoration: none;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===========================================
   COUPON CODE STYLES
   =========================================== */

/* Coupon Section Container */
.cart-coupon-section,
.checkout-coupon-section {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1rem;
}

/* Coupon Input Group */
.coupon-input-group {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.coupon-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: inherit;
  background: var(--white);
  color: var(--text-primary);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.coupon-input::placeholder {
  color: var(--text-secondary);
}

.coupon-input:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(253, 184, 27, 0.1);
}

.apply-coupon-btn {
  padding: 0.75rem 1.25rem;
  background: var(--yellow);
  color: var(--dark-bg);
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.apply-coupon-btn:hover {
  background: var(--yellow-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(253, 184, 27, 0.3);
}

.apply-coupon-btn:active {
  transform: translateY(0);
}

.apply-coupon-btn:disabled {
  background: var(--border-light);
  color: var(--text-secondary);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Coupon Message */
.coupon-message {
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  animation: slideIn 0.3s ease-out;
}

.coupon-message.success {
  background: rgba(76, 175, 80, 0.1);
  color: #4CAF50;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.coupon-message.error {
  background: rgba(244, 67, 54, 0.1);
  color: #f44336;
  border: 1px solid rgba(244, 67, 54, 0.3);
}

/* Applied Coupon Display */
.applied-coupon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.3);
  border-radius: 6px;
  margin-bottom: 0.5rem;
  animation: slideIn 0.3s ease-out;
}

.applied-coupon-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #4CAF50;
  font-size: 0.9rem;
  font-weight: 500;
}

.applied-coupon-text svg {
  flex-shrink: 0;
}

.remove-coupon-btn {
  background: none;
  border: none;
  color: #4CAF50;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.remove-coupon-btn:hover {
  background: rgba(76, 175, 80, 0.2);
}

/* Discount Row in Totals */
.discount-row {
  color: #4CAF50 !important;
  font-weight: 500;
}

.discount-row span:last-child {
  color: #4CAF50 !important;
}

/* Loading State for Apply Button */
.apply-coupon-btn.loading {
  position: relative;
  color: transparent;
}

.apply-coupon-btn.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid transparent;
  border-top: 2px solid var(--dark-bg);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
  /* Cart drawer mobile optimization */
  .cart-drawer {
    width: 100vw !important;
    max-width: 100vw !important;
  }
  
  .cart-header {
    padding: 1rem 1.5rem;
  }
  
  .cart-header h2 {
    font-size: 1.25rem;
  }
  
  /* Compact coupon section */
  .cart-coupon-section {
    padding: 0.5rem 0;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-light);
  }
  
  .coupon-input-group {
    gap: 0.5rem;
    margin-bottom: 0.4rem;
  }
  
  .coupon-input {
    flex: 1;
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
    border-radius: 4px;
  }
  
  .apply-coupon-btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    white-space: nowrap;
    border-radius: 4px;
  }
  
  .coupon-message {
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
    border-radius: 4px;
  }
  
  .applied-coupon {
    padding: 0.5rem 0.8rem;
    margin-bottom: 0.3rem;
    border-radius: 4px;
  }
  
  .applied-coupon-text {
    font-size: 0.82rem;
    gap: 0.4rem;
  }
  
  .remove-coupon-btn {
    font-size: 0.75rem;
    padding: 0.2rem 0.4rem;
  }
  
  /* Optimize cart content layout */
  .cart-content {
    flex: 1;
    overflow-y: auto;
    padding: 0 1.5rem;
    max-height: calc(100vh - 280px); /* Account for header + footer + discount banner */
  }
  
  /* Compact cart items */
  .cart-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
  }
  
  .cart-item-image {
    width: 50px;
    height: 50px;
  }
  
  .cart-item-details h3 {
    font-size: 0.9rem;
    line-height: 1.3;
  }
  
  .cart-item-price {
    margin: 0.3rem 0;
  }
  
  .cart-item-current-price {
    font-size: 0.95rem;
  }
  
  .cart-item-original-price {
    font-size: 0.8rem;
  }
  
  /* Sticky footer with compact design */
  .cart-footer {
    position: sticky;
    bottom: 0;
    background: var(--white);
    border-top: 1px solid var(--border-light);
    padding: 1rem 1.5rem;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .cart-total {
    margin-bottom: 1rem;
  }
  
  .total-row {
    padding: 0.3rem 0;
    font-size: 0.9rem;
  }
  
  .total-main {
    font-size: 1rem !important;
    font-weight: 600;
    border-top: 1px solid var(--border-light);
    padding-top: 0.5rem;
    margin-top: 0.5rem;
  }
  
  .cart-checkout-btn {
    width: 100%;
    padding: 0.8rem;
    font-size: 0.95rem;
  }
  
  /* Discount banner mobile optimization */
  .cart-discount-banner {
    padding: 0.8rem 1.5rem;
    margin: 0;
    font-size: 0.85rem;
  }

  /* Cart page mobile optimization */
  .cart-logo {
    max-width: 100px;
  }

  .cart-main {
    padding: 1rem 0.5rem;
  }

  .cart-container {
    padding: 1.5rem;
    margin: 0 0.5rem;
  }
}

/* === LIGHTBOX STYLES === */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

/* Gallery image hover effect */
.gallery-image {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-image:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Mobile responsive lightbox */
@media (max-width: 768px) {
  .lightbox-content {
    max-width: 95%;
    max-height: 95%;
  }
  
  .lightbox-close {
    top: -40px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .lightbox-content {
    max-width: 98%;
    max-height: 98%;
  }
  
  .lightbox-close {
    top: -35px;
    right: 5px;
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
  }
}

/* ================================================= */
/* STICKY FOOTER BUY NOW CTA                        */
/* ================================================= */

.sticky-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--border-light);
  padding: 8px 16px;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

.sticky-footer.show {
  transform: translateY(0);
}

.sticky-footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 16px;
}

.sticky-footer-left {
  flex: 1;
  min-width: 0;
}

.sticky-footer-right {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.sticky-price-section {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sticky-discount-badge {
  background: #e8f5e8;
  color: #2e7d32;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.sticky-offer-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'Poppins', sans-serif;
}

.sticky-mrp {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sticky-mrp-strike {
  text-decoration: line-through;
  color: var(--text-muted);
}

.sticky-buy-btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 25px;
  background: linear-gradient(45deg, var(--yellow), var(--yellow-light));
  border: none;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(253, 184, 27, 0.3);
  font-family: 'Poppins', sans-serif;
  min-width: 140px;
}

.sticky-buy-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(253, 184, 27, 0.3);
  background: linear-gradient(45deg, var(--yellow-light), var(--yellow));
}

.sticky-buy-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(253, 184, 27, 0.3);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .sticky-footer {
    padding: 6px 20px;
  }
  
  .sticky-footer-content {
    gap: 14px;
  }
  
  .sticky-offer-price {
    font-size: 1.2rem;
  }
  
  .sticky-mrp {
    font-size: 0.8rem;
  }
  
  .sticky-buy-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
    border-radius: 25px;
    min-width: 120px;
  }
}

@media (max-width: 480px) {
  .sticky-footer {
    padding: 6px 16px;
  }
  
  .sticky-footer-content {
    gap: 12px;
    padding: 0 4px;
  }
  
  .sticky-footer-left {
    padding-left: 4px;
  }
  
  .sticky-footer-right {
    padding-right: 4px;
  }
  
  .sticky-price-section {
    gap: 1px;
  }
  
  .sticky-offer-price {
    font-size: 1.1rem;
  }
  
  .sticky-buy-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    border-radius: 25px;
    min-width: 100px;
  }
}

/* Extra small screens */
@media (max-width: 360px) {
  .sticky-footer {
    padding: 5px 12px;
  }
  
  .sticky-footer-content {
    gap: 10px;
    padding: 0 2px;
  }
  
  .sticky-footer-left {
    padding-left: 2px;
  }
  
  .sticky-footer-right {
    padding-right: 2px;
  }
  
  .sticky-buy-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: 25px;
    min-width: 90px;
  }
}

/* Sticky Footer Amazon Rating Styles */
.sticky-amazon-rating {
  font-family: "Amazon Ember", Arial, sans-serif;
}

.sticky-amazon-rating .amazon-stars {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.sticky-amazon-rating .amazon-stars .stars {
  color: #FF9900;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  line-height: 1;
}

.sticky-amazon-rating .amazon-stars .rating-number {
  color: #0066C0;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Mobile responsiveness for sticky Amazon rating */
@media (max-width: 768px) {
  
  .sticky-amazon-rating .amazon-stars .stars {
    font-size: 0.75rem;
    letter-spacing: 0.3px;
  }
  
  .sticky-amazon-rating .amazon-stars .rating-number {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  
  .sticky-amazon-rating .amazon-stars {
    gap: 0.2rem;
  }
  
  .sticky-amazon-rating .amazon-stars .stars {
    font-size: 0.7rem;
    letter-spacing: 0.2px;
  }
  
  .sticky-amazon-rating .amazon-stars .rating-number {
    font-size: 0.65rem;
  }
}

@media (max-width: 360px) {
  
  .sticky-amazon-rating .amazon-stars .stars {
    font-size: 0.65rem;
  }
  
  .sticky-amazon-rating .amazon-stars .rating-number {
    font-size: 0.6rem;
  }
}