/** Shopify CDN: Minification failed

Line 387:4 Unexpected "{"
Line 387:5 Expected identifier but found "%"
Line 388:12 Expected identifier but found whitespace
Line 388:14 Unexpected "{"
Line 388:23 Expected ":"
Line 389:4 Unexpected "{"
Line 389:5 Expected identifier but found "%"
Line 391:4 Unexpected "{"
Line 391:5 Expected identifier but found "%"
Line 2620:16 Expected identifier but found whitespace
... and 122 more hidden warnings

**/


/* CSS from section stylesheet tags */
/* Global Desktop Rules - Hide ALL Mobile Sections on Desktop */
@media screen and (min-width: 768px) {
  /* Hide product-categories section (Eyeglasses/Sunglasses promotional banners) */
  .categories-section,
  section[data-section-type="product-categories"],
  [class*="product-categories"] {
    display: none !important;
  }
  
  /* Hide trending section (Final Price Drop Fest) */
  .trending-section,
  .trending-header,
  .trending-slider,
  .trending-items {
    display: none !important;
  }
  
  /* Hide mobile sliders */
  section[data-section-type="mobile-slider"],
  .mobile-slider-section {
    display: none !important;
  }
  
  /* Hide mobile image grids */
  section[data-section-type="mobile-image-grid"],
  .mobile-image-grid {
    display: none !important;
  }
}

/* ANTI-FLICKER: Hide all potentially flickering elements during page load */
.header-loading .menu-drawer,
.header-loading .menu-drawer-overlay,
.header-loading .wishlist-modal,
.header-loading .wishlist-modal-overlay,
.header-loading .search-results {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: none !important;
  transition: none !important;
}

/* EXCEPTION: Allow menu drawer to show when body has menu-open class */
body.menu-open .header-loading .menu-drawer,
body.menu-open .header-loading .menu-drawer-overlay,
body.menu-open .menu-drawer,
body.menu-open .menu-drawer-overlay {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transition: transform 0.3s ease-in-out !important;
}

body.menu-open .header-loading .menu-drawer,
body.menu-open .menu-drawer {
  transform: translateX(0) !important;
}

body.menu-open .header-loading .menu-drawer-overlay,
body.menu-open .menu-drawer-overlay {
  opacity: 1 !important;
  visibility: visible !important;
}

/* EXCEPTION: Allow wishlist modal to show when active */
.header-loading .wishlist-modal.active,
.header-loading .wishlist-modal-overlay.active {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: translate(-50%, -50%) scale(1) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Prevent all animations and transitions during header load */
.header-loading *,
.header-loading *:before,
.header-loading *:after {
  animation-duration: 0s !important;
  animation-delay: 0s !important;
  transition-duration: 0s !important;
  transition-delay: 0s !important;
}

/* Exception: Hero slider first slide should be visible immediately even during header-loading */
.header-loading .hero-slide:first-child.active,
.header-loading .hero-slide:first-child.active * {
  opacity: 1 !important;
  visibility: visible !important;
  transition: none !important;
  transition-duration: 0s !important;
}

.custom-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  overflow: visible;
  display: block;
  background: var(--header-background-color, #fff);
  
}

/* Desktop styles - header now visible on desktop */
@media screen and (min-width: 768px) {
  .custom-header {
    display: block; /* Header visible on desktop */
  }
  
  .custom-header-wrapper {
    padding: 0; /* Remove padding on desktop */
  }
}

.custom-header-wrapper {
  padding: 1rem;
  margin-bottom: 11px;
}

.custom-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.custom-header-left {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  align-items: center;
}

.custom-header-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.custom-header-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.custom-header-logo {
  flex-shrink: 0;
}

.custom-header-logo img {
  height: auto;
  max-height: 50px;
  width: auto;
  max-width: 50px;
  margin: 0 auto;
}

.custom-header-search {
  width: 100%;
  position: relative;
  margin-bottom: 1px;
}

.custom-header-search form {
  position: relative;
  width: 100%;
}

.custom-header-search input {
  width: 100%;
  padding: 10px 2.5rem 10px 1rem;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
  background: #f5f5f5;
}

.custom-header-search input::placeholder {
  opacity: 0;
}

.search-placeholder-text {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #666;
  pointer-events: none;
  white-space: nowrap;
  opacity: 1;
  transition: opacity 0.2s ease;
}



.custom-header-search button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #666;
  padding: 0;
  display: flex;
  align-items: center;
}

.custom-header-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.custom-header-icons a,
.custom-header-icons button,
.custom-header-left button,
.custom-header-right a {
  position: relative;
  background: none;
  border: none;
  font-size: 20px;
  padding: 0;
  display: flex;
  align-items: center;
  color: var(--icon-color, #000);
  cursor: pointer;
  transition: color 0.3s ease;
}

.custom-header-icons a:hover,
.custom-header-icons button:hover,
.custom-header-left button:hover,
.custom-header-right a:hover {
  color: var(--icon-hover-color, #1E1B4B);
}

.custom-header-icons svg,
.custom-header-left svg,
.custom-header-right svg {
  stroke: var(--icon-color, #000);
  transition: stroke 0.3s ease;
}

.custom-header-icons a:hover svg,
.custom-header-icons button:hover svg,
.custom-header-left button:hover svg,
.custom-header-right a:hover svg {
  stroke: var(--icon-hover-color, #1E1B4B);
}

.custom-header-icons a:hover:not(.active) {
  color: var(--nav-hover-color, #1E1B4B);
}

/* Desktop Navigation Styles */
.desktop-header-nav {
  display: none;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

@media screen and (min-width: 768px) {
  .desktop-header-nav {
    display: block !important;
  }
  
  /* Hide ALL mobile header elements on desktop */
  .custom-header-wrapper {
    display: none !important;
  }
  
  .custom-header-top {
    display: none !important;
  }
  
  .custom-header-left {
    display: none !important;
  }
  
  .custom-header-center {
    display: none !important;
  }
  
  .custom-header-right {
    display: none !important;
  }
  
  .custom-header-nav {
    display: none !important;
  }
  
  .custom-header-search {
    display: none !important;
  }
  
  .nav-tabs {
    display: none !important;
  }
  
  /* Hide all mobile-only elements */
  .mobile-only {
    display: none !important;
  }
  
  .mobile-slider-section {
    display: none !important;
  }
  
  .mobile-image-grid {
    display: none !important;
  }
  
  /* Menu drawer on desktop - ENABLED */
  /* The drawer will now show on desktop when triggered */
  .menu-drawer {
    /* Visible on desktop when body.menu-open is active */
    left: 0 !important;
    border-radius: 0;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
    max-width: 380px;
  }
  
  body.menu-open .menu-drawer {
    transform: translateX(0) !important;
  }
  
  .menu-drawer-overlay {
    /* Visible on desktop when body.menu-open is active */
  }
  
  /* Prevent background stretch/shift when menu opens on desktop */
  /* Keep scrollbar visible but prevent actual scrolling */
  body.menu-open {
    overflow: hidden !important;
    padding-right: 17px !important; /* Compensate for scrollbar width */
  }
  
  /* For browsers with overlay scrollbars (like macOS with trackpad) */
  @supports (scrollbar-gutter: stable) {
    body.menu-open {
      padding-right: 0 !important;
      scrollbar-gutter: stable;
    }
  }
  
  /* Hide Special Offers slider in menu drawer on desktop */
  .drawer-offers {
    display: none !important;
  }
  
  /* Desktop Menu Toggle Button Styles */
  .desktop-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background-color 0.2s ease, opacity 0.2s ease;
    {% if section.settings.desktop_menu_icon_color != blank %}
      color: {{ section.settings.desktop_menu_icon_color }};
    {% else %}
      color: #000000;
    {% endif %}
  }
  
  .desktop-menu-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
    opacity: 0.8;
  }
  
  .desktop-menu-toggle svg {
    stroke: inherit;
  }
  
  /* Desktop Menu Icon Position Styles */
  .desktop-nav-container {
    position: relative;
  }
  
  .desktop-menu-toggle.position-left {
    order: -1;
    margin-right: 16px;
  }
  
  .desktop-menu-toggle.position-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    z-index: 5;
  }
  
  .desktop-menu-toggle.position-right {
    order: 99;
    margin-left: 16px;
    margin-right: 0;
  }
  
  /* Desktop Logo Position Styles */
  .desktop-nav-logo.logo-position-left {
    order: 0;
    margin-right: auto;
  }
  
  .desktop-nav-logo.logo-position-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
  }
  
  .desktop-nav-logo.logo-position-right {
    order: 98;
    margin-left: auto;
    margin-right: 0;
  }
  
  /* Adjust nav menu when logo is centered */
  .desktop-nav-container:has(.logo-position-center) .desktop-nav-menu {
    margin-left: 0;
  }
  
  /* Hide any mobile navigation tabs */
  .custom-header-nav .nav-tabs {
    display: none !important;
  }
  
  /* Hide mobile sliders and carousels */
  .mobile-slider-section,
  .mobile-slider,
  .mobile-carousel,
  .swiper-mobile {
    display: none !important;
  }
  
  /* Hide mobile-only sections */
  section[class*="mobile-only"],
  div[class*="mobile-only"]:not(.desktop-hero-slider *) {
    display: none !important;
  }
  
  /* Hide trending section (Final Price Drop Fest) on desktop */
  .trending-section {
    display: none !important;
  }
  
  .trending-header,
  .trending-slider,
  .trending-items {
    display: none !important;
  }
  
  /* Hide product-categories section (Eyeglasses/Sunglasses promotional banners) on desktop */
  .categories-section {
    display: none !important;
  }
  
  .category-block,
  .subcategories,
  .subcategory-card {
    display: none !important;
  }
  
  /* Hide any other mobile promotional sections */
  section[data-section-type="product-categories"],
  section[data-section-type="mobile-slider"],
  section[data-section-type="mobile-image-grid"] {
    display: none !important;
  }
}

.desktop-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1440px;
  margin: 0 auto;
  gap: 2rem;
}

.desktop-nav-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.desktop-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #000;
}

.desktop-logo-img {
  height: auto;
  max-height: 40px;
  width: auto;
}

.desktop-logo-text {
  font-size: 24px;
  font-weight: 700;
  color: #000;
}

.desktop-nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.desktop-nav-item {
  position: relative;
}

.desktop-nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #333;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.desktop-nav-link:hover {
  color: #1B224B;
}

.desktop-nav-item.highlighted .desktop-nav-link {
  color: #FFA500;
}

.dropdown-chevron {
  width: 12px;
  height: 12px;
  transition: transform 0.3s ease;
}

.desktop-nav-item.has-dropdown:hover .dropdown-chevron {
  transform: rotate(180deg);
}

.desktop-nav-icons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
}

/* Desktop Search Bar Styles */
.desktop-search-container {
  position: relative;
  width: 300px;
  max-width: 100%;
}

.desktop-search-form {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.desktop-search-icon {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 18px;
  color: #000;
  pointer-events: none;
  z-index: 2;
}

.desktop-search-input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  border: none;
  border-radius: 24px;
  background: #f5f5f5;
  font-size: 14px;
  color: #333;
  outline: none;
  transition: all 0.3s ease;
}

.desktop-search-input:focus {
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.desktop-search-input::placeholder {
  opacity: 0;
}

.desktop-search-placeholder {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.2s ease;
}

.desktop-search-placeholder-label {
  color: #999;
  font-weight: 400;
}

.desktop-search-placeholder-suggestion {
  color: #666;
  font-weight: 500;
}

.desktop-search-input:focus ~ .desktop-search-placeholder,
.desktop-search-input:not(:placeholder-shown) ~ .desktop-search-placeholder {
  opacity: 0;
}

.desktop-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}

.desktop-search-results.active {
  display: block;
}

.desktop-search-results .search-result-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s ease;
}

.desktop-search-results .search-result-item:hover {
  background: #f9f9f9;
}

.desktop-search-results .search-result-item:last-child {
  border-bottom: none;
}

.desktop-search-results .search-loading,
.desktop-search-results .search-no-results {
  padding: 20px;
  text-align: center;
  color: #666;
  font-size: 14px;
}

.desktop-nav-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #333;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.desktop-nav-icon:hover {
  color: #1B224B;
}

.desktop-nav-icon.account-icon {
  position: relative;
}

.lightning-overlay {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
}

.cart-count-bubble {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #FF4757;
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

/* Desktop Hero Slider Styles (desktop only) */
.desktop-hero-slider {
  display: none;
  position: relative;
  width: 100%;
  overflow: hidden;
}

@media screen and (min-width: 768px) {
  .desktop-hero-slider {
    display: block !important;
    visibility: visible !important;
  }
}

.hero-slider-container {
  position: relative;
  width: 100%;
  background: #fff; /* Prevent green/colored background from showing */
  min-height: 400px; /* Ensure container has height immediately */
  display: block !important;
  visibility: visible !important;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  visibility: hidden;
  z-index: 0;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
  position: absolute;
  visibility: visible;
}

/* CRITICAL: Make first slide visible immediately ONLY when active */
.hero-slide:first-child.active {
  opacity: 1 !important;
  z-index: 1 !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  visibility: visible !important;
  transition: opacity 0.8s ease-in-out !important;
  display: block !important;
}

/* Ensure first slide that's not active is hidden */
.hero-slide:first-child:not(.active) {
  opacity: 0 !important;
  visibility: hidden !important;
  z-index: 0 !important;
  position: absolute !important;
  transition: opacity 0.8s ease-in-out !important;
}

.hero-slide-image {
  position: relative;
  width: 100%;
  z-index: 0;
  background: #fff; /* Prevent background color showing before image loads */
  display: block;
  min-height: 400px; /* Prevent layout shift while image loads */
  opacity: 1 !important;
  visibility: visible !important;
}

/* Ensure first slide image container is visible ONLY when active */
.hero-slide:first-child.active .hero-slide-image {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

/* Hide first slide image container when not active */
.hero-slide:first-child:not(.active) .hero-slide-image {
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Ensure all active slides (not just first) work properly */
.hero-slide.active .hero-slide-image {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

.hero-slide-image img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Desktop view only: Show images at exact size without cropping */
@media screen and (min-width: 768px) {
  .desktop-hero-slider {
    overflow: visible !important;
  }
  
  .hero-slide-image {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    display: block !important;
    overflow: visible !important;
  }
  
  .hero-slide:first-child.active .hero-slide-image {
    min-height: 0 !important;
  }
  
  .hero-slide-image img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center top !important;
    display: block !important;
  }
  
  .hero-slider-container {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }
  
  .hero-slide {
    position: relative !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }
  
  .hero-slide.active {
    position: relative !important;
  }
  
  .hero-slide:first-child.active {
    position: relative !important;
  }
}

.hero-slide.active .hero-slide-image img {
  opacity: 1;
}

/* CRITICAL: Make first slide image visible immediately ONLY when active */
.hero-slide:first-child.active .hero-slide-image img,
.hero-slide:first-child.active .hero-image-first {
  opacity: 1 !important;
  transition: opacity 0.3s ease !important;
  visibility: visible !important;
  display: block !important;
}

/* Ensure first slide image is hidden when not active */
.hero-slide:first-child:not(.active) .hero-slide-image img {
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Ensure all active slides show images properly */
.hero-slide.active .hero-slide-image img {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Make first image container visible immediately ONLY if active */
.hero-slide:first-child.active .hero-slide-image {
  opacity: 1 !important;
  visibility: visible !important;
  min-height: 400px; /* Prevent layout shift */
  background: #f5f5f5; /* Show background while image loads */
}

/* Ensure first slide image that's not active stays hidden */
.hero-slide:first-child:not(.active) .hero-slide-image img {
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Ensure hero slider is not affected by header-loading delays */
.header-loading .hero-slide:first-child.active {
  opacity: 1 !important;
  visibility: visible !important;
  transition: none !important;
}

.header-loading .hero-slide:first-child.active .hero-slide-image img,
.header-loading .hero-slide:first-child.active .hero-image-first {
  opacity: 1 !important;
  transition: none !important;
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  padding: 2rem;
  text-align: center;
}

.hero-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero-heading {
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.hero-subheading {
  font-size: 5rem;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.1;
}

.hero-description {
  font-size: 1.25rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: #000;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  border: 2px solid #000;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.hero-button:hover {
  background: transparent;
  color: #000;
  border-color: #000;
}

.hero-button-secondary {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.hero-button-secondary:hover {
  background: #fff;
  color: #000;
}

.hero-slider-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 10;
  pointer-events: none;
}

/* Hide navigation arrows on desktop view only */
@media screen and (min-width: 768px) {
  .hero-slider-controls {
    display: none !important;
  }
}

.hero-slider-prev,
.hero-slider-next {
  background: rgba(255, 255, 255, 0.8);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: all;
  color: #000;
}

.hero-slider-prev:hover,
.hero-slider-next:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

.hero-slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 10;
}

/* Hide pagination dots on desktop view only */
@media screen and (min-width: 768px) {
  .hero-slider-dots {
    display: none !important;
  }
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-dot.active,
.hero-dot:hover {
  background: #fff;
  transform: scale(1.2);
}

/* Mobile Navigation (hidden on desktop) */
.custom-header-nav {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.custom-header-nav::-webkit-scrollbar {
  display: none;
}

.nav-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  
  margin: 0;
  list-style: none;
  white-space: nowrap;
  
  background: var(--nav-background-color, #fff);
}

.nav-tabs li {
  display: inline-block;
  position: relative;
}

.nav-tabs a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 16px;
  text-decoration: none;
  color: var(--nav-text-color, #6B7280);
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  background: transparent;
  border: none;
  position: relative;
}

.nav-tabs a.active {
  color: var(--nav-active-color, #1E1B4B);
  font-weight: 600;
  background: var(--nav-active-background, transparent);
}

.nav-tabs a.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--nav-active-color, #1E1B4B);
  border-radius: 2px 2px 0 0;
}

.nav-tabs a:hover:not(.active) {
  color: var(--nav-hover-color, #1E1B4B);
}

.nav-indicator {
  position: absolute;
  width: 4px;
  height: 4px;
  background-color: var(--nav-indicator-color, #F97316);
  border-radius: 50%;
  top: 8px;
  right: 8px;
}

.custom-header-search button svg {
  stroke: #666;
}

.trending-section {
  background: var(--trending-background, #f8f9fa);
  padding-bottom: 16px;
  margin-top: -16px;
}

/* Hide trending section on desktop */
@media screen and (min-width: 768px) {
  .trending-section {
    display: none !important;
  }
}

.trending-header {
  display: flex;
  align-items: center;
  padding: 16px;
}

.trending-title {
  font-size: 18px;
  font-weight: 600;
  color: #1E1B4B;
  margin: 0;
}

.trending-title span {
  color: var(--nav-active-color, #1E1B4B);
}

.trending-slider {
  position: relative;
  overflow: hidden;
}

.trending-items {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0 16px;
  margin-left:15px;
}

.trending-items::-webkit-scrollbar {
  display: none;
}

.trending-item:first-child {
  margin-left: 8px;
}

.trending-item {
  flex: 0 0 auto;
  width: 220px;
  height: 270px;
  scroll-snap-align: start;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.trending-item img,
.trending-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trending-item-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.trending-item-title {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  font-size: 14px;
  font-weight: 500;
  color: white;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  z-index: 2;
}

/* Launch Countdown Timer Overlay */
.launch-countdown-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  z-index: 3;
  pointer-events: none;
}

.launch-text {
  color: white;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.launch-date {
  color: white;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-size: 20px;
  text-align: center;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.countdown-timer {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 8px 6px;
  min-width: 40px;
}

.countdown-number {
  color: white;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.countdown-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  margin-top: 2px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.launch-offer-text {
  color: white;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  margin-bottom: 12px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.launch-cta-button {
  background: white;
  color: #1a1a1a;
  padding: 12px 24px;
  border-radius: 25px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  pointer-events: auto;
}

.launch-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  color: #1a1a1a;
}

/* Mobile responsive for countdown */
@media (max-width: 480px) {
  .launch-text {
    font-size: 16px;
  }
  
  .launch-date {
    font-size: 18px;
  }
  
  .countdown-number {
    font-size: 20px;
  }
  
  .countdown-unit {
    padding: 6px 4px;
    min-width: 35px;
  }
  
  .launch-offer-text {
    font-size: 14px;
  }
  
  .launch-cta-button {
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* New Offer Button Styles */
.offer-button {
  background: linear-gradient(135deg, var(--offer-button-color,rgb(242, 7, 7)) 0%, var(--offer-button-color-end,rgb(245, 1, 1)) 100%);
  border: none;
  border-radius: 50px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: white;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(255, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  white-space: nowrap;
  margin-left: 8px;
}

.offer-button:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.offer-button:hover:before {
  left: 100%;
}

.offer-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(247, 0, 0, 0.3);
}

.offer-button:active {
  transform: translateY(1px);
}

.offer-button svg {
  width: 14px;
  height: 14px;
  stroke: white;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.offer-button.pulse {
  animation: pulse 2s infinite;
}

.menu-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  background: #ffffff !important; /* Force white background */
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
}

body.menu-open {
  overflow: hidden; /* Prevent body scroll when drawer is open */
}

body.menu-open .menu-drawer {
  transform: translateX(0) !important;
  display: block !important;
  visibility: visible !important;
}

.menu-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
  z-index: 999;
}

body.menu-open .menu-drawer-overlay {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

.menu-drawer-header {
  padding: 20px;
  border-bottom: 1px solid var(--drawer-border-color, #e5e7eb);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-drawer-close {
  background: none;
  border: none;
  padding: 5px;
  color: #000000 !important; /* Force black text */
  cursor: pointer;
}

.menu-drawer-title {
  font-size: 18px;
  font-weight: 600;
  color: #000000 !important; /* Force black text */
  margin: 0;
}

.menu-drawer-content {
  padding: 16px;
}

.drawer-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.drawer-menu-item {
  margin-bottom: 8px;
}

.drawer-menu-link {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  color: #000000 !important; /* Force black text */
  text-decoration: none;
  font-size: 16px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.drawer-menu-link:hover {
  background: #f3f4f6 !important; /* Light gray hover background */
  color: #000000 !important; /* Force black text on hover */
}

/* Only target arrow SVGs, not cart icons */
.drawer-menu-link > svg:last-child {
  transition: transform 0.2s ease;
}

.drawer-menu-item.expanded .drawer-menu-link > svg:last-child {
  transform: rotate(90deg);
}

.drawer-menu-icon {
  margin-right: 12px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-menu-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.drawer-submenu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-left: 32px;
  margin-top: 8px;
  display: none;
  animation: slideDown 0.2s ease-out;
}

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

.drawer-menu-item.expanded .drawer-submenu-list {
  display: block;
}

.drawer-menu-item.has-submenu .drawer-menu-link {
  position: relative;
}

.submenu-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-menu-item.expanded .submenu-arrow {
  transform: translateY(-50%) rotate(90deg);
}

.submenu-arrow svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

.submenu-arrow-nested {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

.submenu-arrow-nested svg {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

.drawer-submenu-item.expanded .submenu-arrow-nested {
  transform: translateY(-50%) rotate(90deg);
}

.drawer-sub-submenu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-left: 20px;
  margin-top: 4px;
  display: none;
  animation: slideDown 0.2s ease-out;
}

.drawer-submenu-item.expanded .drawer-sub-submenu-list {
  display: block;
}

.drawer-sub-submenu-item {
  margin-bottom: 2px;
}

.drawer-sub-submenu-link {
  display: block;
  padding: 6px 12px;
  color: #666666 !important; /* Lighter color for third level */
  text-decoration: none;
  font-size: 13px;
  border-radius: 4px;
  transition: all 0.2s ease;
  position: relative;
}

.drawer-sub-submenu-link:hover {
  background: #f9f9f9 !important;
  color: #000000 !important;
}

.drawer-submenu-link {
  position: relative;
}

.drawer-submenu-item {
  margin-bottom: 4px;
}

.drawer-submenu-link {
  display: block;
  padding: 8px 16px;
  color: #333333 !important; /* Force dark gray text for submenu */
  text-decoration: none;
  font-size: 14px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.drawer-submenu-link:hover {
  background: #f3f4f6 !important; /* Light gray hover background */
  color: #000000 !important; /* Force black text on hover */
}

.nav-tab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-tab-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.nav-tab-icon img,
.nav-tab-icon-img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  stroke: currentColor;
  display: block;
  max-width: 100%;
}

/* Mobile responsive icon sizing */
@media screen and (max-width: 480px) {
  .nav-tab-icon img,
  .nav-tab-icon-img {
    width: 18px;
    height: 18px;
  }
  
  .nav-tabs a {
    padding: 12px 14px;
    font-size: 11px;
  }
}

@media screen and (max-width: 374px) {
  .nav-tab-icon img,
  .nav-tab-icon-img {
    width: 20px;
    height: 20px;
  }
  
  .nav-tabs a {
    padding: 10px 12px;
    font-size: 10px;
    gap: 4px;
  }
}

.nav-tabs a:hover .nav-tab-icon img {
  opacity: 0;
  transform: scale(1.1);
}

.nav-tabs a.active .nav-tab-icon img {
  opacity: 0;
}

.custom-header-icons a {
  position: relative;
  display: flex;
  align-items: center;
}

.cart-count-bubble {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--cart-count-background, #EF4444);
  color: white;
  font-size: 10px;
  font-weight: 600;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  transform-origin: center;
  animation: cartBounce 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  line-height: 1;
  z-index: 1;
}

@keyframes cartBounce {
  0% {
    transform: scale(0);
  }
  80% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}



.drawer-offers {
  padding: 16px;
  overflow: hidden;
}

.drawer-offers-title {
  font-size: 14px;
  font-weight: 600;
  color: #000000 !important; /* Force black text */
  margin: 0 0 12px 0;
}

.drawer-offers-slider {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 8px;
}

.drawer-offers-slider::-webkit-scrollbar {
  display: none;
}

.drawer-offer-card {
  flex: 0 0 auto;
  width: 280px;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  scroll-snap-align: start;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.drawer-offer-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.drawer-offer-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  position: relative;
  cursor: pointer;
}

.drawer-offer-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.drawer-offer-card:hover img {
  transform: scale(1.05);
}

.drawer-offer-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: white;
  transition: background 0.3s ease;
}

.drawer-offer-card:hover .drawer-offer-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.1));
}

.drawer-offer-title {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  transition: transform 0.2s ease;
}

.drawer-offer-subtitle {
  font-size: 12px;
  opacity: 0.9;
  margin: 4px 0 0 0;
  transition: transform 0.2s ease;
}

.drawer-offer-card:hover .drawer-offer-title,
.drawer-offer-card:hover .drawer-offer-subtitle {
  transform: translateY(-1px);
}

/* Add ripple effect on click */
.drawer-offer-card:active {
  transform: translateY(-1px) scale(0.98);
}

/* Ensure link accessibility */
.drawer-offer-link:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

.drawer-offer-link:focus-visible {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}



.cart-help-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 500;
  font-size: 14px;
}

.gift-banner {
  background: #e8f5f1;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gift-banner-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gift-banner-text {
  margin: 0;
  color: #1a7857;
  font-weight: 500;
}

.gift-timer {
  color: #d23f57;
  font-weight: 500;
}

.gift-remove {
  color: #666;
  text-decoration: none;
  font-size: 14px;
}

.gift-card {
  background: white;
  border-radius: 12px;
  padding: 16px;
  margin: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.gift-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gift-card-image {
  width: 80px;
  height: 60px;
  background: #1a1a1a;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
}

.gift-card-info h4 {
  margin: 0;
  font-size: 14px;
  color: #1a1a1a;
}

.gift-card-info p {
  margin: 4px 0 0;
  font-size: 12px;
  color: #666;
}

.gift-card-price {
  display: flex;
  align-items: center;
  gap: 8px;
}

.original-price {
  color: #999;
  text-decoration: line-through;
  font-size: 14px;
}

.free-tag {
  background: #1a7857;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.cart-item {
  background: white;
  padding: 16px;
  margin: 12px 16px;
  border-radius: 12px;
  display: flex;
  gap: 16px;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.cart-item-content {
  display: flex;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.cart-item-image {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
  position: relative;
}

.cart-item-details {
  flex: 1;
  min-width: 0;
  padding-right: 28px;
}

.cart-item-title {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-item-size {
  color: #666;
  font-size: 14px;
  margin: 0 0 8px;
}

.cart-item-options {
  margin-top: 8px;
}

.option-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #1a7857;
  font-size: 14px;
}

.option-row svg {
  width: 16px;
  height: 16px;
}

.cart-item-price {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-top: 8px;
}

.remove-item {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  z-index: 2;
}

.remove-item:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.remove-item svg {
  width: 16px;
  height: 16px;
  stroke: #666;
  transition: stroke 0.2s ease;
}

.remove-item:hover svg {
  stroke: #d23f57;
}

.exclusive-offer {
  background: #ffffff;
  margin: 12px 16px;
  padding: 16px;
  border-radius: 12px;
}

.exclusive-offer-header {
  color: #8b6f3d;
  font-weight: 600;
  margin: 0 0 12px;
}

.gold-offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  padding: 12px;
  border-radius: 8px;
}

.gold-offer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gold-icon {
  width: 32px;
  height: 32px;
  background: #1a1a1a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gold-offer-text {
  margin: 0;
}

.gold-offer-membership {
  color: #8b6f3d;
  font-size: 14px;
}

.add-gold-button {
  background: #1a1a1a;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
}

.coupons-section {
  margin: 12px 16px;
}

.coupons-header {
  color: #1a1a1a;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 12px;
}

.coupon-input {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  padding: 0 12px;
}

.coupon-code-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  text-transform: uppercase;
}

.apply-coupon-button {
  background: #1a1a1a;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

.hidden {
  display: none;
}

.applied-coupon {
  background: white;
  padding: 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  animation: slideDown 0.3s ease-out;
}

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

.coupon-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.coupon-check {
  color: #1a7857;
}

.coupon-details h4 {
  margin: 0;
  color: #1a1a1a;
  font-size: 14px;
}

.coupon-savings {
  color: #666;
  font-size: 12px;
  margin: 4px 0 0;
}

.coupon-amount {
  color: #1a7857;
  font-weight: 500;
}

.remove-coupon {
  color: #d23f57;
  border: none;
  background: none;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 14px;
}

.view-coupons {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

.savings-banner {
  background: #e8f5f1;
  padding: 12px 16px;
  margin: 12px 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.savings-icon {
  color: #1a7857;
}

.savings-text {
  color: #1a7857;
  font-weight: 500;
  margin: 0;
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.total-left {
  display: flex;
  align-items: center;
  gap: 4px;
}

.total-label {
  font-size: 16px;
  color: #1a1a1a;
  font-weight: 500;
}

.total-amount {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
}

.checkout-button {
  width: 100%;
  background: #1a1a1a;
  color: white;
  border: none;
  padding: 16px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.empty-cart {
  text-align: center;
  padding: 32px 16px;
  color: var(--drawer-text-muted, #6b7280);
}

.empty-cart svg {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  stroke: currentColor;
}

.empty-cart-message {
  font-size: 14px;
  margin: 8px 0 0;
}

/* Search Results */
.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 400px;
  overflow-y: auto;
  background: white;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  display: none;
}

.search-results.active {
  display: block;
}

.search-result-item {
  display: flex;
  padding: 12px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
}

.search-result-item:hover {
  background-color: #f8f9fa;
}

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

.search-result-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  margin-right: 12px;
  flex-shrink: 0;
}

.search-result-info {
  flex: 1;
  min-width: 0;
}

.search-result-title {
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result-price {
  color: #666;
  font-size: 13px;
}

.search-no-results {
  padding: 20px;
  text-align: center;
  color: #666;
  font-style: italic;
}

.search-loading {
  padding: 20px;
  text-align: center;
  color: #666;
}

/* Mobile responsiveness for search */
@media screen and (max-width: 480px) {
  .search-results {
    max-height: 300px;
  }
  
  .search-result-item {
    padding: 10px;
  }
  
  .search-result-image {
    width: 50px;
    height: 50px;
    margin-right: 10px;
  }
  
  .search-result-title {
    font-size: 13px;
  }
  
  .search-result-price {
    font-size: 12px;
  }
}
/* Collection Image Banner Desktop - Desktop Only */
/* HIDE ON MOBILE */
@media screen and (max-width: 749px) {
  .collection-image-banner-desktop,
  .collection-image-banner-desktop-section {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
  }
}

/* SHOW ON DESKTOP */
@media screen and (min-width: 750px) {
  .collection-image-banner-desktop {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  /* Custom banner image hover effect */
  .desktop-banner-link {
    display: block;
    overflow: hidden;
  }
  
  .desktop-banner-link:hover .desktop-custom-banner-image {
    transform: scale(1.02);
  }
}

.collection-image-banner-desktop {
  width: 100vw;
  position: relative;
  padding-top: 0;
  padding-bottom: 0;
  background: transparent;
  min-height: 1px;
  display: block;
  visibility: visible;
  opacity: 1;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  overflow: hidden;
}

.collection-banner-container {
  max-width: none !important;
  margin: 0;
  padding: 0;
  width: 100%;
}

.collection-banner-grid {
  display: block;
  min-height: 1px;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* When showing custom banner image, remove all constraints */
.collection-banner-item-current {
  width: 100vw !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.collection-banner-item-current {
  grid-column: 1 / -1;
  border-radius: 0;
  margin: 0;
  width: 100%;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  cursor: default !important;
}

.collection-banner-item-current:hover {
  transform: none !important;
  box-shadow: none !important;
}

.collection-banner-item-current:hover .collection-banner-image-wrapper img {
  transform: none !important;
}

.collection-banner-item-current .collection-banner-image-wrapper {
  padding-bottom: 0;
  height: auto;
  border-radius: 0;
  position: relative;
  min-height: 200px;
  display: block;
  width: 100vw !important;
  max-width: none !important;
  margin: 0;
  padding: 0;
}

.collection-banner-item-current .collection-banner-image-wrapper img {
  position: relative !important;
  width: 100vw !important;
  height: auto !important;
  object-fit: cover !important;
  display: block !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.collection-banner-item {
  position: relative;
  overflow: hidden;
  border-radius: {{ section.settings.border_radius | default: 8 }}px;
  cursor: default;
  transition: none;
  background: #f5f5f5;
}

.collection-banner-item:hover {
  transform: none;
  box-shadow: none;
}

.collection-banner-image-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: {{ section.settings.image_aspect_ratio | default: 75 }}%;
  overflow: hidden;
  background: #f5f5f5;
  display: block;
  visibility: visible;
  opacity: 1;
}

.collection-banner-image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: none;
  display: block;
  visibility: visible;
  opacity: 1;
  z-index: 1;
}

.collection-banner-item:hover .collection-banner-image-wrapper img {
  transform: none;
}

.collection-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: {{ section.settings.overlay_color | default: 'rgba(0, 0, 0, 0.3)' }};
  opacity: {{ section.settings.overlay_opacity | divided_by: 100.0 }};
  transition: opacity 0.3s ease;
  z-index: 1;
}

.collection-banner-item:hover .collection-banner-overlay {
  opacity: {{ section.settings.overlay_hover_opacity | divided_by: 100.0 }};
}

.collection-banner-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: {{ section.settings.content_padding | default: 24 }}px;
  z-index: 2;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.collection-banner-title {
  font-size: {{ section.settings.title_size | default: 24 }}px;
  font-weight: {{ section.settings.title_weight | default: 700 }};
  color: {{ section.settings.title_color | default: '#ffffff' }};
  margin: 0 0 {{ section.settings.title_spacing | default: 8 }}px 0;
  text-transform: {{ section.settings.title_transform | default: 'uppercase' }};
  {% if section.settings.title_shadow %}
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  {% endif %}
}

.collection-banner-description {
  font-size: {{ section.settings.description_size | default: 14 }}px;
  color: {{ section.settings.description_color | default: '#ffffff' }};
  margin: 0;
  line-height: 1.5;
  {% if section.settings.description_shadow %}
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  {% endif %}
}

.collection-banner-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  text-decoration: none;
}

/* Responsive grid adjustments */
@media screen and (min-width: 1200px) {
  .collection-banner-grid {
    grid-template-columns: repeat({{ section.settings.columns | default: 3 }}, 1fr);
  }
}

@media screen and (min-width: 750px) and (max-width: 1199px) {
  .collection-banner-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* Global Desktop Rules - Hide ALL Mobile Sections on Desktop */
@media screen and (min-width: 768px) {
  /* Hide product-categories section (Eyeglasses/Sunglasses promotional banners) */
  .categories-section,
  section[data-section-type="product-categories"],
  [class*="product-categories"] {
    display: none !important;
  }
  
  /* Hide trending section (Final Price Drop Fest) */
  .trending-section,
  .trending-header,
  .trending-slider,
  .trending-items {
    display: none !important;
  }
  
  /* Hide mobile sliders */
  section[data-section-type="mobile-slider"],
  .mobile-slider-section {
    display: none !important;
  }
  
  /* Hide mobile image grids */
  section[data-section-type="mobile-image-grid"],
  .mobile-image-grid {
    display: none !important;
  }
}

/* ANTI-FLICKER: Hide all potentially flickering elements during page load - DESKTOP ONLY */
@media screen and (min-width: 768px) {
  .header-loading .menu-drawer,
  .header-loading .menu-drawer-overlay,
  .header-loading .wishlist-modal,
  .header-loading .wishlist-modal-overlay,
  .header-loading .search-results {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: none !important;
    transition: none !important;
  }
}

/* EXCEPTION: Allow menu drawer to show when body has menu-open class */
body.menu-open .header-loading .menu-drawer,
body.menu-open .header-loading .menu-drawer-overlay,
body.menu-open .menu-drawer,
body.menu-open .menu-drawer-overlay {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transition: transform 0.3s ease-in-out !important;
}

body.menu-open .header-loading .menu-drawer,
body.menu-open .menu-drawer {
  transform: translateX(0) !important;
}

body.menu-open .header-loading .menu-drawer-overlay,
body.menu-open .menu-drawer-overlay {
  opacity: 1 !important;
  visibility: visible !important;
}

/* EXCEPTION: Allow wishlist modal to show when active */
.header-loading .wishlist-modal.active,
.header-loading .wishlist-modal-overlay.active {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: translate(-50%, -50%) scale(1) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Prevent all animations and transitions during header load - DESKTOP ONLY */
/* On mobile, this is skipped to prevent blank screen issues on product pages */
@media screen and (min-width: 768px) {
  .header-loading *,
  .header-loading *:before,
  .header-loading *:after {
    animation-duration: 0s !important;
    animation-delay: 0s !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
}

/* MOBILE: Ensure page content is ALWAYS visible, never affected by header-loading */
@media screen and (max-width: 767px) {
  html, body, main, #MainContent, .main-content, 
  .shopify-section, section, article, 
  .product, .product-section, #product-section,
  [data-section-type], .page-content {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
  }
}

/* CRITICAL Exception: Hero slider first slide MUST be visible immediately - no delays */
.header-loading .hero-slide:first-child.active,
.header-loading .hero-slide:first-child.active *,
.header-loading .hero-slide:first-child.active .hero-slide-image,
.header-loading .hero-slide:first-child.active .hero-slide-image img,
.header-loading .hero-slide:first-child .hero-slide-image img.hero-image-first,
.header-loading img.hero-image-first,
.hero-slide:first-child.active .hero-slide-image img.hero-image-first,
img.hero-image-first {
  opacity: 1 !important;
  visibility: visible !important;
  transition: none !important;
  transition-duration: 0s !important;
  display: block !important;
}

.custom-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  overflow: visible;
  display: block;
  background: var(--header-background-color, #fff);
  
}

/* Desktop styles - header now visible on desktop */
@media screen and (min-width: 768px) {
  .custom-header {
    display: block; /* Header visible on desktop */
  }
  
  .custom-header-wrapper {
    padding: 0; /* Remove padding on desktop */
  }
}

.custom-header-wrapper {
  padding: 1rem;
  margin-bottom: 11px;
}

.custom-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.custom-header-left {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  align-items: center;
}

.custom-header-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.custom-header-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.custom-header-logo {
  flex-shrink: 0;
}

.custom-header-logo img {
  height: auto;
  max-height: 50px;
  width: auto;
  max-width: 50px;
  margin: 0 auto;
}

.custom-header-search {
  width: 100%;
  position: relative;
  margin-bottom: 1px;
}

.custom-header-search form {
  position: relative;
  width: 100%;
}

.custom-header-search input {
  width: 100%;
  padding: 10px 2.5rem 10px 1rem;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
  background: #f5f5f5;
}

.custom-header-search input::placeholder {
  opacity: 0;
}

.search-placeholder-text {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #666;
  pointer-events: none;
  white-space: nowrap;
  opacity: 1;
  transition: opacity 0.2s ease;
}



.custom-header-search button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #666;
  padding: 0;
  display: flex;
  align-items: center;
}

.custom-header-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.custom-header-icons a,
.custom-header-icons button,
.custom-header-left button,
.custom-header-right a {
  position: relative;
  background: none;
  border: none;
  font-size: 20px;
  padding: 0;
  display: flex;
  align-items: center;
  color: var(--icon-color, #000);
  cursor: pointer;
  transition: color 0.3s ease;
}

.custom-header-icons a:hover,
.custom-header-icons button:hover,
.custom-header-left button:hover,
.custom-header-right a:hover {
  color: var(--icon-hover-color, #1E1B4B);
}

.custom-header-icons svg,
.custom-header-left svg,
.custom-header-right svg {
  stroke: var(--icon-color, #000);
  transition: stroke 0.3s ease;
}

.custom-header-icons a:hover svg,
.custom-header-icons button:hover svg,
.custom-header-left button:hover svg,
.custom-header-right a:hover svg {
  stroke: var(--icon-hover-color, #1E1B4B);
}

.custom-header-icons a:hover:not(.active) {
  color: var(--nav-hover-color, #1E1B4B);
}

/* Desktop Navigation Styles */
.desktop-header-nav {
  display: none;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

@media screen and (min-width: 768px) {
  .desktop-header-nav {
    display: block !important;
  }
  
  /* Hide ALL mobile header elements on desktop */
  .custom-header-wrapper {
    display: none !important;
  }
  
  .custom-header-top {
    display: none !important;
  }
  
  .custom-header-left {
    display: none !important;
  }
  
  .custom-header-center {
    display: none !important;
  }
  
  .custom-header-right {
    display: none !important;
  }
  
  .custom-header-nav {
    display: none !important;
  }
  
  .custom-header-search {
    display: none !important;
  }
  
  .nav-tabs {
    display: none !important;
  }
  
  /* Hide all mobile-only elements */
  .mobile-only {
    display: none !important;
  }
  
  .mobile-slider-section {
    display: none !important;
  }
  
  .mobile-image-grid {
    display: none !important;
  }
  
  /* Menu drawer on desktop - ENABLED */
  /* The drawer will now show on desktop when triggered */
  .menu-drawer {
    /* Visible on desktop when body.menu-open is active */
    left: 0 !important;
    border-radius: 0;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
    max-width: 380px;
    background-color: var(--menu-drawer-background, #FFFFFF) !important;
    height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
  }
  
  .menu-drawer .menu-drawer-content {
    flex: 1 !important;
    background-color: var(--menu-drawer-background, #FFFFFF) !important;
    overflow-y: auto !important;
  }
  
  .menu-drawer .drawer-menu-list {
    background-color: var(--menu-drawer-background, #FFFFFF) !important;
    min-height: 100% !important;
  }
  
  body.menu-open .menu-drawer {
    transform: translateX(0) !important;
  }
  
  .menu-drawer-overlay {
    /* Visible on desktop when body.menu-open is active */
  }
  
  /* Menu drawer header for desktop */
  .menu-drawer .menu-drawer-header {
    background-color: var(--menu-drawer-background, #FFFFFF) !important;
    border-bottom-color: var(--menu-drawer-text-color, #333333) !important;
    flex-shrink: 0 !important;
  }
  
  .menu-drawer .menu-drawer-title {
    color: var(--menu-drawer-text-color, #333333) !important;
  }
  
  .menu-drawer .menu-drawer-close {
    color: var(--menu-drawer-text-color, #333333) !important;
  }
  
  .menu-drawer .menu-drawer-close svg {
    stroke: var(--menu-drawer-text-color, #333333) !important;
  }
  
  /* Menu drawer links for desktop */
  .menu-drawer .drawer-menu-link {
    color: var(--menu-drawer-text-color, #333333) !important;
  }
  
  .menu-drawer .drawer-menu-link:hover {
    color: var(--menu-drawer-text-hover-color, #000000) !important;
    background-color: var(--menu-drawer-hover-background, #f5f5f5) !important;
  }
  
  /* Menu drawer icons for desktop */
  .menu-drawer .drawer-menu-icon svg {
    stroke: var(--menu-drawer-text-color, #333333) !important;
    color: var(--menu-drawer-text-color, #333333) !important;
  }
  
  .menu-drawer .drawer-menu-link:hover .drawer-menu-icon svg {
    stroke: var(--menu-drawer-text-hover-color, #000000) !important;
    color: var(--menu-drawer-text-hover-color, #000000) !important;
  }
  
  /* Menu drawer arrow icons for desktop */
  .menu-drawer .drawer-menu-link svg {
    stroke: var(--menu-drawer-text-color, #333333) !important;
  }
  
  .menu-drawer .drawer-menu-link:hover svg {
    stroke: var(--menu-drawer-text-hover-color, #000000) !important;
  }
  
  /* Submenu links for desktop */
  .menu-drawer .drawer-submenu-link {
    color: var(--menu-drawer-text-color, #333333) !important;
  }
  
  .menu-drawer .drawer-submenu-link:hover {
    color: var(--menu-drawer-text-hover-color, #000000) !important;
    background-color: var(--menu-drawer-hover-background, #f5f5f5) !important;
  }
  
  .menu-drawer .drawer-submenu-link svg,
  .menu-drawer .submenu-arrow svg,
  .menu-drawer .submenu-arrow-nested svg {
    stroke: var(--menu-drawer-text-color, #333333) !important;
  }
  
  .menu-drawer .drawer-submenu-link:hover svg {
    stroke: var(--menu-drawer-text-hover-color, #000000) !important;
  }
  
  /* Sub-submenu links for desktop */
  .menu-drawer .drawer-sub-submenu-link {
    color: var(--menu-drawer-text-color, #333333) !important;
  }
  
  .menu-drawer .drawer-sub-submenu-link:hover {
    color: var(--menu-drawer-text-hover-color, #000000) !important;
    background-color: var(--menu-drawer-hover-background, #f5f5f5) !important;
  }
  
  /* Prevent background stretch/shift when menu opens on desktop */
  /* Keep scrollbar visible but prevent actual scrolling */
  body.menu-open {
    overflow: hidden !important;
    padding-right: 17px !important; /* Compensate for scrollbar width */
  }
  
  /* For browsers with overlay scrollbars (like macOS with trackpad) */
  @supports (scrollbar-gutter: stable) {
    body.menu-open {
      padding-right: 0 !important;
      scrollbar-gutter: stable;
    }
  }
  
  /* Hide Special Offers slider in menu drawer on desktop */
  .drawer-offers {
    display: none !important;
  }
  
  /* Desktop Menu Toggle Button Styles */
  .desktop-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background-color 0.2s ease, opacity 0.2s ease;
    {% if section.settings.desktop_menu_icon_color != blank %}
      color: {{ section.settings.desktop_menu_icon_color }};
    {% else %}
      color: #000000;
    {% endif %}
  }
  
  .desktop-menu-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
    opacity: 0.8;
  }
  
  .desktop-menu-toggle svg {
    stroke: inherit;
  }
  
  /* Desktop Menu Icon Position Styles */
  .desktop-nav-container {
    position: relative;
  }
  
  .desktop-menu-toggle.position-left {
    order: -1;
    margin-right: 16px;
  }
  
  .desktop-menu-toggle.position-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    z-index: 5;
  }
  
  .desktop-menu-toggle.position-right {
    order: 99;
    margin-left: 16px;
    margin-right: 0;
  }
  
  /* Desktop Logo Position Styles */
  .desktop-nav-logo.logo-position-left {
    order: 0;
    margin-right: auto;
  }
  
  .desktop-nav-logo.logo-position-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
  }
  
  .desktop-nav-logo.logo-position-right {
    order: 98;
    margin-left: auto;
    margin-right: 0;
  }
  
  /* Adjust nav menu when logo is centered */
  .desktop-nav-container:has(.logo-position-center) .desktop-nav-menu {
    margin-left: 0;
  }
  
  /* Hide any mobile navigation tabs */
  .custom-header-nav .nav-tabs {
    display: none !important;
  }
  
  /* Hide mobile sliders and carousels */
  .mobile-slider-section,
  .mobile-slider,
  .mobile-carousel,
  .swiper-mobile {
    display: none !important;
  }
  
  /* Hide mobile-only sections */
  section[class*="mobile-only"],
  div[class*="mobile-only"]:not(.desktop-hero-slider *) {
    display: none !important;
  }
  
  /* Hide trending section (Final Price Drop Fest) on desktop */
  .trending-section {
    display: none !important;
  }
  
  .trending-header,
  .trending-slider,
  .trending-items {
    display: none !important;
  }
  
  /* Hide product-categories section (Eyeglasses/Sunglasses promotional banners) on desktop */
  .categories-section {
    display: none !important;
  }
  
  .category-block,
  .subcategories,
  .subcategory-card {
    display: none !important;
  }
  
  /* Hide any other mobile promotional sections */
  section[data-section-type="product-categories"],
  section[data-section-type="mobile-slider"],
  section[data-section-type="mobile-image-grid"] {
    display: none !important;
  }
}

.desktop-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1440px;
  margin: 0 auto;
  gap: 2rem;
}

.desktop-nav-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.desktop-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #000;
}

.desktop-logo-img {
  height: auto;
  max-height: 40px;
  width: auto;
}

.desktop-logo-text {
  font-size: 24px;
  font-weight: 700;
  color: #000;
}

.desktop-nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.desktop-nav-item {
  position: relative;
}

.desktop-nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #333;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.desktop-nav-link:hover {
  color: #1B224B;
}

.desktop-nav-item.highlighted .desktop-nav-link {
  color: #FFA500;
}

.dropdown-chevron {
  width: 12px;
  height: 12px;
  transition: transform 0.3s ease;
}

.desktop-nav-item.has-dropdown:hover .dropdown-chevron {
  transform: rotate(180deg);
}

.desktop-nav-icons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
}

/* Desktop Search Bar Styles */
.desktop-search-container {
  position: relative;
  width: 300px;
  max-width: 100%;
}

.desktop-search-form {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.desktop-search-icon {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 18px;
  color: #000;
  pointer-events: none;
  z-index: 2;
}

.desktop-search-input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  border: none;
  border-radius: 24px;
  background: #f5f5f5;
  font-size: 14px;
  color: #333;
  outline: none;
  transition: all 0.3s ease;
}

.desktop-search-input:focus {
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.desktop-search-input::placeholder {
  opacity: 0;
}

.desktop-search-placeholder {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.2s ease;
}

.desktop-search-placeholder-label {
  color: #999;
  font-weight: 400;
}

.desktop-search-placeholder-suggestion {
  color: #666;
  font-weight: 500;
}

.desktop-search-input:focus ~ .desktop-search-placeholder,
.desktop-search-input:not(:placeholder-shown) ~ .desktop-search-placeholder {
  opacity: 0;
}

.desktop-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}

.desktop-search-results.active {
  display: block;
}

.desktop-search-results .search-result-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s ease;
}

.desktop-search-results .search-result-item:hover {
  background: #f9f9f9;
}

.desktop-search-results .search-result-item:last-child {
  border-bottom: none;
}

.desktop-search-results .search-loading,
.desktop-search-results .search-no-results {
  padding: 20px;
  text-align: center;
  color: #666;
  font-size: 14px;
}

.desktop-nav-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #333;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.desktop-nav-icon:hover {
  color: #1B224B;
}

.desktop-nav-icon.account-icon {
  position: relative;
}

.lightning-overlay {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
}

.cart-count-bubble {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #FF4757;
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

/* Desktop Hero Slider Styles (desktop only) */
.desktop-hero-slider {
  display: none;
  position: relative;
  width: 100%;
  overflow: hidden;
}

@media screen and (min-width: 768px) {
  .desktop-hero-slider {
    display: block !important;
    visibility: visible !important;
  }
}

.hero-slider-container {
  position: relative;
  width: 100%;
  background: #fff; /* Prevent green/colored background from showing */
  display: block !important;
  visibility: visible !important;
}

/* Mobile: Use min-height */
@media screen and (max-width: 767px) {
  .hero-slider-container {
    min-height: 400px;
  }
}

/* Desktop: No min-height, let content determine height */
@media screen and (min-width: 768px) {
  .hero-slider-container {
    min-height: auto !important;
    height: auto !important;
  }
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  z-index: 0;
}

/* CRITICAL: Desktop only - Active slide must be relative to prevent overlap with next section */
@media screen and (min-width: 768px) {
  .hero-slide.active {
    position: relative !important;
    height: auto !important;
    width: 100% !important;
  }
}

/* Transitions only apply when slider has finished loading (no-transition class removed) */
.desktop-hero-slider:not(.no-transition) .hero-slide {
  transition: opacity 0.8s ease-in-out;
}

/* CRITICAL: First slide must be visible IMMEDIATELY with NO transition - before any JS runs */
.hero-slide:first-child {
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 1 !important;
  transition: none !important;
}

/* Mobile only: Active slide uses absolute positioning for stacking */
@media screen and (max-width: 767px) {
  .hero-slide.active {
    opacity: 1;
    z-index: 1;
    position: absolute;
    visibility: visible;
  }
}

/* CRITICAL: Make first slide visible immediately - NO transitions for instant display */
/* Desktop uses position: relative to prevent overlap with next section */
@media screen and (min-width: 768px) {
  .hero-slide:first-child,
  .hero-slide:first-child.active {
    opacity: 1 !important;
    z-index: 1 !important;
    position: relative !important;
    visibility: visible !important;
    transition: none !important;
    display: block !important;
    height: auto !important;
  }

  /* Ensure first slide that's not active is hidden - only applies after JS removes .active */
  .hero-slide:first-child:not(.active) {
    opacity: 0 !important;
    visibility: hidden !important;
    z-index: 0 !important;
    position: absolute !important;
    height: 0 !important;
    overflow: hidden !important;
  }
}

/* Mobile: Keep absolute positioning */
@media screen and (max-width: 767px) {
  .hero-slide:first-child,
  .hero-slide:first-child.active {
    opacity: 1 !important;
    z-index: 1 !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    visibility: visible !important;
    transition: none !important;
    display: block !important;
  }

  .hero-slide:first-child:not(.active) {
    opacity: 0 !important;
    visibility: hidden !important;
    z-index: 0 !important;
    position: absolute !important;
    transition: opacity 0.8s ease-in-out !important;
  }
}

.hero-slide-image {
  position: relative;
  width: 100%;
  z-index: 0;
  background: #fff; /* Prevent background color showing before image loads */
  display: block;
  min-height: 400px; /* Prevent layout shift while image loads */
  opacity: 1 !important;
  visibility: visible !important;
}

/* Full slide clickable link - Desktop only */
.hero-slide-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  cursor: pointer;
  position: relative;
}

.hero-slide-link .hero-slide-image {
  pointer-events: none;
}

/* Ensure first slide image container is visible ONLY when active */
.hero-slide:first-child.active .hero-slide-image {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

/* Hide first slide image container when not active */
.hero-slide:first-child:not(.active) .hero-slide-image {
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Ensure all active slides (not just first) work properly */
.hero-slide.active .hero-slide-image {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

.hero-slide-image img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 1; /* Changed from 0 - active slide images should be visible immediately */
  transition: opacity 0.3s ease;
}

/* CRITICAL: First slide image must be visible IMMEDIATELY - highest specificity */
.hero-slide:first-child .hero-slide-image img.hero-image-first,
.hero-slide.active:first-child .hero-slide-image img.hero-image-first,
img.hero-image-first {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  transition: none !important;
}

/* Desktop view only: Show images at exact size without cropping */
@media screen and (min-width: 768px) {
  /* CRITICAL: Remove any gaps/spacing on desktop hero slider */
  .desktop-hero-slider {
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* CRITICAL: Remove section spacing gap after hero slider - override theme's --index-section-padding */
  #shopify-section-{{ section.id }},
  #shopify-section-{{ section.id }}.index-section,
  .desktop-hero-slider.index-section,
  section.desktop-hero-slider {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  
  /* Remove top margin from ALL sections that come after the header section */
  #shopify-section-{{ section.id }} + .shopify-section,
  #shopify-section-{{ section.id }} + .shopify-section .index-section,
  #shopify-section-{{ section.id }} + .shopify-section > section,
  #shopify-section-{{ section.id }} + .shopify-section > div,
  #shopify-section-{{ section.id }} ~ .shopify-section:first-of-type {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  
  .hero-slide-image {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    display: block !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .hero-slide:first-child.active .hero-slide-image {
    min-height: 0 !important;
  }
  
  .hero-slide-image img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center top !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .hero-slider-container {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* CRITICAL: ONLY active slide uses position relative - takes up space */
  .hero-slide.active {
    position: relative !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* Hide non-active slides on desktop - they should not take up space */
  .hero-slide:not(.active) {
    position: absolute !important;
    opacity: 0 !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
  }
  
  /* Active slide must be relative to take up space and prevent overlap */
  .hero-slide.active,
  .hero-slide:first-child.active {
    position: relative !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
  }
}

.hero-slide.active .hero-slide-image img {
  opacity: 1;
}

/* CRITICAL: Make first slide image visible immediately ONLY when active */
.hero-slide:first-child.active .hero-slide-image img,
.hero-slide:first-child.active .hero-image-first {
  opacity: 1 !important;
  transition: opacity 0.3s ease !important;
  visibility: visible !important;
  display: block !important;
}

/* Ensure first slide image is hidden when not active */
.hero-slide:first-child:not(.active) .hero-slide-image img {
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Ensure all active slides show images properly */
.hero-slide.active .hero-slide-image img {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Make first image container visible immediately ONLY if active */
.hero-slide:first-child.active .hero-slide-image {
  opacity: 1 !important;
  visibility: visible !important;
  min-height: 400px; /* Prevent layout shift */
  background: #f5f5f5; /* Show background while image loads */
}

/* Ensure first slide image that's not active stays hidden */
.hero-slide:first-child:not(.active) .hero-slide-image img {
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Ensure hero slider is not affected by header-loading delays */
.header-loading .hero-slide:first-child.active {
  opacity: 1 !important;
  visibility: visible !important;
  transition: none !important;
}

.header-loading .hero-slide:first-child.active .hero-slide-image img,
.header-loading .hero-slide:first-child.active .hero-image-first {
  opacity: 1 !important;
  transition: none !important;
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  padding: 2rem;
  text-align: center;
}

/* Desktop: Position hero slide content over the image (not below it) */
@media screen and (min-width: 768px) {
  .hero-slide-content {
    position: absolute !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0 !important;
    padding: 2rem !important;
  }
}

.hero-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero-heading {
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.hero-subheading {
  font-size: 5rem;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.1;
}

.hero-description {
  font-size: 1.25rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: #000;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  border: 2px solid #000;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.hero-button:hover {
  background: transparent;
  color: #000;
  border-color: #000;
}

.hero-button-secondary {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.hero-button-secondary:hover {
  background: #fff;
  color: #000;
}

.hero-slider-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 10;
  pointer-events: none;
}

/* Hide navigation arrows on desktop view only */
@media screen and (min-width: 768px) {
  .hero-slider-controls {
    display: none !important;
  }
}

.hero-slider-prev,
.hero-slider-next {
  background: rgba(255, 255, 255, 0.8);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: all;
  color: #000;
}

.hero-slider-prev:hover,
.hero-slider-next:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

.hero-slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 10;
}

/* Hide pagination dots on desktop view only */
@media screen and (min-width: 768px) {
  .hero-slider-dots {
    display: none !important;
  }
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-dot.active,
.hero-dot:hover {
  background: #fff;
  transform: scale(1.2);
}

/* Mobile Navigation (hidden on desktop) */
.custom-header-nav {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.custom-header-nav::-webkit-scrollbar {
  display: none;
}

.nav-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  
  margin: 0;
  list-style: none;
  white-space: nowrap;
  
  background: var(--nav-background-color, #fff);
}

.nav-tabs li {
  display: inline-block;
  position: relative;
}

.nav-tabs a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 16px;
  text-decoration: none;
  color: var(--nav-text-color, #6B7280);
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  background: transparent;
  border: none;
  position: relative;
}

.nav-tabs a.active {
  color: var(--nav-active-color, #1E1B4B);
  font-weight: 600;
  background: var(--nav-active-background, transparent);
}

.nav-tabs a.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--nav-active-color, #1E1B4B);
  border-radius: 2px 2px 0 0;
}

.nav-tabs a:hover:not(.active) {
  color: var(--nav-hover-color, #1E1B4B);
}

.nav-indicator {
  position: absolute;
  width: 4px;
  height: 4px;
  background-color: var(--nav-indicator-color, #F97316);
  border-radius: 50%;
  top: 8px;
  right: 8px;
}

.custom-header-search button svg {
  stroke: #666;
}

.trending-section {
  background: var(--trending-background, #f8f9fa);
  padding-bottom: 16px;
  margin-top: -16px;
}

/* Hide trending section on desktop */
@media screen and (min-width: 768px) {
  .trending-section {
    display: none !important;
  }
}

.trending-header {
  display: flex;
  align-items: center;
  padding: 16px;
}

.trending-title {
  font-size: 18px;
  font-weight: 600;
  color: #1E1B4B;
  margin: 0;
}

.trending-title span {
  color: var(--nav-active-color, #1E1B4B);
}

.trending-slider {
  position: relative;
  overflow: hidden;
}

.trending-items {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0 16px;
  margin-left:15px;
}

.trending-items::-webkit-scrollbar {
  display: none;
}

.trending-item:first-child {
  margin-left: 8px;
}

.trending-item {
  flex: 0 0 auto;
  width: 220px;
  height: 270px;
  scroll-snap-align: start;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.trending-item img,
.trending-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trending-item-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.trending-item-title {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  font-size: 14px;
  font-weight: 500;
  color: white;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  z-index: 2;
}

/* Launch Countdown Timer Overlay */
.launch-countdown-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  z-index: 3;
  pointer-events: none;
}

.launch-text {
  color: white;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.launch-date {
  color: white;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-size: 20px;
  text-align: center;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.countdown-timer {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 8px 6px;
  min-width: 40px;
}

.countdown-number {
  color: white;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.countdown-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  margin-top: 2px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.launch-offer-text {
  color: white;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  margin-bottom: 12px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.launch-cta-button {
  background: white;
  color: #1a1a1a;
  padding: 12px 24px;
  border-radius: 25px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  pointer-events: auto;
}

.launch-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  color: #1a1a1a;
}

/* Mobile responsive for countdown */
@media (max-width: 480px) {
  .launch-text {
    font-size: 16px;
  }
  
  .launch-date {
    font-size: 18px;
  }
  
  .countdown-number {
    font-size: 20px;
  }
  
  .countdown-unit {
    padding: 6px 4px;
    min-width: 35px;
  }
  
  .launch-offer-text {
    font-size: 14px;
  }
  
  .launch-cta-button {
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* New Offer Button Styles */
.offer-button {
  background: linear-gradient(135deg, var(--offer-button-color,rgb(242, 7, 7)) 0%, var(--offer-button-color-end,rgb(245, 1, 1)) 100%);
  border: none;
  border-radius: 50px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: white;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(255, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  white-space: nowrap;
  margin-left: 8px;
}

.offer-button:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.offer-button:hover:before {
  left: 100%;
}

.offer-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(247, 0, 0, 0.3);
}

.offer-button:active {
  transform: translateY(1px);
}

.offer-button svg {
  width: 14px;
  height: 14px;
  stroke: white;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.offer-button.pulse {
  animation: pulse 2s infinite;
}

.menu-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  background: #ffffff !important;
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
}

/* Desktop menu drawer background override - must come after base style */
@media screen and (min-width: 768px) {
  .menu-drawer {
    background: var(--menu-drawer-background, #FFFFFF) !important;
  }
  
  .menu-drawer .menu-drawer-content {
    background: var(--menu-drawer-background, #FFFFFF) !important;
  }
  
  .menu-drawer .drawer-menu-list {
    background: var(--menu-drawer-background, #FFFFFF) !important;
  }
}

body.menu-open {
  overflow: hidden; /* Prevent body scroll when drawer is open */
}

body.menu-open .menu-drawer {
  transform: translateX(0) !important;
  display: block !important;
  visibility: visible !important;
}

.menu-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
  z-index: 999;
}

body.menu-open .menu-drawer-overlay {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

.menu-drawer-header {
  padding: 20px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
}

.menu-drawer-close {
  background: none;
  border: none;
  padding: 5px;
  color: #000000 !important;
  cursor: pointer;
}

.menu-drawer-title {
  font-size: 18px;
  font-weight: 600;
  color: #000000 !important;
  margin: 0;
}

.menu-drawer-content {
  padding: 16px;
  background: #ffffff;
}

.drawer-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.drawer-menu-item {
  margin-bottom: 8px;
}

.drawer-menu-link {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  color: #000000 !important;
  text-decoration: none;
  font-size: 16px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.drawer-menu-link:hover {
  background: #f3f4f6 !important;
  color: #000000 !important;
}

.drawer-menu-link:hover .drawer-menu-icon svg {
  stroke: #000000 !important;
  color: #000000 !important;
}

.drawer-menu-link:hover svg {
  stroke: #000000 !important;
  color: #000000 !important;
}

/* Only target arrow SVGs, not cart icons */
.drawer-menu-link > svg:last-child {
  transition: transform 0.2s ease;
}

.drawer-menu-item.expanded .drawer-menu-link > svg:last-child {
  transform: rotate(90deg);
}

.drawer-menu-icon {
  margin-right: 12px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-menu-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  color: currentColor;
}

.drawer-submenu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-left: 32px;
  margin-top: 8px;
  display: none;
  animation: slideDown 0.2s ease-out;
}

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

.drawer-menu-item.expanded .drawer-submenu-list {
  display: block;
}

.drawer-menu-item.has-submenu .drawer-menu-link {
  position: relative;
}

.submenu-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-menu-item.expanded .submenu-arrow {
  transform: translateY(-50%) rotate(90deg);
}

.submenu-arrow svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

.submenu-arrow-nested {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

.submenu-arrow-nested svg {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  stroke: currentColor;
}

.drawer-submenu-item.expanded .submenu-arrow-nested {
  transform: translateY(-50%) rotate(90deg);
}

.drawer-sub-submenu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-left: 20px;
  margin-top: 4px;
  display: none;
  animation: slideDown 0.2s ease-out;
}

.drawer-submenu-item.expanded .drawer-sub-submenu-list {
  display: block;
}

.drawer-sub-submenu-item {
  margin-bottom: 2px;
}

.drawer-sub-submenu-link {
  display: block;
  padding: 6px 12px;
  color: #666666 !important;
  text-decoration: none;
  font-size: 13px;
  border-radius: 4px;
  transition: all 0.2s ease;
  position: relative;
}

.drawer-sub-submenu-link:hover {
  background: #f9f9f9 !important;
  color: #000000 !important;
}

.drawer-submenu-link {
  position: relative;
}

.drawer-submenu-item {
  margin-bottom: 4px;
}

.drawer-submenu-link {
  display: block;
  padding: 8px 16px;
  color: #333333 !important;
  text-decoration: none;
  font-size: 14px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.drawer-submenu-link:hover {
  background: #f3f4f6 !important;
  color: #000000 !important;
}

.drawer-submenu-link:hover svg {
  stroke: var(--menu-drawer-text-hover-color, #000000) !important;
  color: var(--menu-drawer-text-hover-color, #000000) !important;
}

.nav-tab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-tab-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.nav-tab-icon img,
.nav-tab-icon-img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  stroke: currentColor;
  display: block;
  max-width: 100%;
}

/* Mobile responsive icon sizing */
@media screen and (max-width: 480px) {
  .nav-tab-icon img,
  .nav-tab-icon-img {
    width: 18px;
    height: 18px;
  }
  
  .nav-tabs a {
    padding: 12px 14px;
    font-size: 11px;
  }
}

@media screen and (max-width: 374px) {
  .nav-tab-icon img,
  .nav-tab-icon-img {
    width: 20px;
    height: 20px;
  }
  
  .nav-tabs a {
    padding: 10px 12px;
    font-size: 10px;
    gap: 4px;
  }
}

.nav-tabs a:hover .nav-tab-icon img {
  opacity: 0;
  transform: scale(1.1);
}

.nav-tabs a.active .nav-tab-icon img {
  opacity: 0;
}

.custom-header-icons a {
  position: relative;
  display: flex;
  align-items: center;
}

.cart-count-bubble {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--cart-count-background, #EF4444);
  color: white;
  font-size: 10px;
  font-weight: 600;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  transform-origin: center;
  animation: cartBounce 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  line-height: 1;
  z-index: 1;
}

@keyframes cartBounce {
  0% {
    transform: scale(0);
  }
  80% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}



.drawer-offers {
  padding: 16px;
  overflow: hidden;
}

.drawer-offers-title {
  font-size: 14px;
  font-weight: 600;
  color: #000000 !important; /* Force black text */
  margin: 0 0 12px 0;
}

.drawer-offers-slider {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 8px;
}

.drawer-offers-slider::-webkit-scrollbar {
  display: none;
}

.drawer-offer-card {
  flex: 0 0 auto;
  width: 280px;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  scroll-snap-align: start;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.drawer-offer-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.drawer-offer-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  position: relative;
  cursor: pointer;
}

.drawer-offer-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.drawer-offer-card:hover img {
  transform: scale(1.05);
}

.drawer-offer-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: white;
  transition: background 0.3s ease;
}

.drawer-offer-card:hover .drawer-offer-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.1));
}

.drawer-offer-title {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  transition: transform 0.2s ease;
}

.drawer-offer-subtitle {
  font-size: 12px;
  opacity: 0.9;
  margin: 4px 0 0 0;
  transition: transform 0.2s ease;
}

.drawer-offer-card:hover .drawer-offer-title,
.drawer-offer-card:hover .drawer-offer-subtitle {
  transform: translateY(-1px);
}

/* Add ripple effect on click */
.drawer-offer-card:active {
  transform: translateY(-1px) scale(0.98);
}

/* Ensure link accessibility */
.drawer-offer-link:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

.drawer-offer-link:focus-visible {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}



.cart-help-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 500;
  font-size: 14px;
}

.gift-banner {
  background: #e8f5f1;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gift-banner-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gift-banner-text {
  margin: 0;
  color: #1a7857;
  font-weight: 500;
}

.gift-timer {
  color: #d23f57;
  font-weight: 500;
}

.gift-remove {
  color: #666;
  text-decoration: none;
  font-size: 14px;
}

.gift-card {
  background: white;
  border-radius: 12px;
  padding: 16px;
  margin: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.gift-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gift-card-image {
  width: 80px;
  height: 60px;
  background: #1a1a1a;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
}

.gift-card-info h4 {
  margin: 0;
  font-size: 14px;
  color: #1a1a1a;
}

.gift-card-info p {
  margin: 4px 0 0;
  font-size: 12px;
  color: #666;
}

.gift-card-price {
  display: flex;
  align-items: center;
  gap: 8px;
}

.original-price {
  color: #999;
  text-decoration: line-through;
  font-size: 14px;
}

.free-tag {
  background: #1a7857;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.cart-item {
  background: white;
  padding: 16px;
  margin: 12px 16px;
  border-radius: 12px;
  display: flex;
  gap: 16px;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.cart-item-content {
  display: flex;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.cart-item-image {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
  position: relative;
}

.cart-item-details {
  flex: 1;
  min-width: 0;
  padding-right: 28px;
}

.cart-item-title {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-item-size {
  color: #666;
  font-size: 14px;
  margin: 0 0 8px;
}

.cart-item-options {
  margin-top: 8px;
}

.option-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #1a7857;
  font-size: 14px;
}

.option-row svg {
  width: 16px;
  height: 16px;
}

.cart-item-price {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-top: 8px;
}

.remove-item {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  z-index: 2;
}

.remove-item:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.remove-item svg {
  width: 16px;
  height: 16px;
  stroke: #666;
  transition: stroke 0.2s ease;
}

.remove-item:hover svg {
  stroke: #d23f57;
}

.exclusive-offer {
  background: #ffffff;
  margin: 12px 16px;
  padding: 16px;
  border-radius: 12px;
}

.exclusive-offer-header {
  color: #8b6f3d;
  font-weight: 600;
  margin: 0 0 12px;
}

.gold-offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  padding: 12px;
  border-radius: 8px;
}

.gold-offer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gold-icon {
  width: 32px;
  height: 32px;
  background: #1a1a1a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gold-offer-text {
  margin: 0;
}

.gold-offer-membership {
  color: #8b6f3d;
  font-size: 14px;
}

.add-gold-button {
  background: #1a1a1a;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
}

.coupons-section {
  margin: 12px 16px;
}

.coupons-header {
  color: #1a1a1a;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 12px;
}

.coupon-input {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  padding: 0 12px;
}

.coupon-code-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  text-transform: uppercase;
}

.apply-coupon-button {
  background: #1a1a1a;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

.hidden {
  display: none;
}

.applied-coupon {
  background: white;
  padding: 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  animation: slideDown 0.3s ease-out;
}

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

.coupon-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.coupon-check {
  color: #1a7857;
}

.coupon-details h4 {
  margin: 0;
  color: #1a1a1a;
  font-size: 14px;
}

.coupon-savings {
  color: #666;
  font-size: 12px;
  margin: 4px 0 0;
}

.coupon-amount {
  color: #1a7857;
  font-weight: 500;
}

.remove-coupon {
  color: #d23f57;
  border: none;
  background: none;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 14px;
}

.view-coupons {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

.savings-banner {
  background: #e8f5f1;
  padding: 12px 16px;
  margin: 12px 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.savings-icon {
  color: #1a7857;
}

.savings-text {
  color: #1a7857;
  font-weight: 500;
  margin: 0;
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.total-left {
  display: flex;
  align-items: center;
  gap: 4px;
}

.total-label {
  font-size: 16px;
  color: #1a1a1a;
  font-weight: 500;
}

.total-amount {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
}

.checkout-button {
  width: 100%;
  background: #1a1a1a;
  color: white;
  border: none;
  padding: 16px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.empty-cart {
  text-align: center;
  padding: 32px 16px;
  color: var(--drawer-text-muted, #6b7280);
}

.empty-cart svg {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  stroke: currentColor;
}

.empty-cart-message {
  font-size: 14px;
  margin: 8px 0 0;
}

/* Search Results */
.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 400px;
  overflow-y: auto;
  background: white;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  display: none;
}

.search-results.active {
  display: block;
}

.search-result-item {
  display: flex;
  padding: 12px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
}

.search-result-item:hover {
  background-color: #f8f9fa;
}

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

.search-result-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  margin-right: 12px;
  flex-shrink: 0;
}

.search-result-info {
  flex: 1;
  min-width: 0;
}

.search-result-title {
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result-price {
  color: #666;
  font-size: 13px;
}

.search-no-results {
  padding: 20px;
  text-align: center;
  color: #666;
  font-style: italic;
}

.search-loading {
  padding: 20px;
  text-align: center;
  color: #666;
}

/* Mobile responsiveness for search */
@media screen and (max-width: 480px) {
  .search-results {
    max-height: 300px;
  }
  
  .search-result-item {
    padding: 10px;
  }
  
  .search-result-image {
    width: 50px;
    height: 50px;
    margin-right: 10px;
  }
  
  .search-result-title {
    font-size: 13px;
  }
  
  .search-result-price {
    font-size: 12px;
  }
}
/* Desktop Our Bestsellers Section - Desktop Only */
@media screen and (max-width: 767px) {
  .desktop-our-bestsellers-section {
    display: none !important;
  }
}

.desktop-our-bestsellers-section {
  padding-top: {{ section.settings.padding_top }}px;
  padding-bottom: {{ section.settings.padding_bottom }}px;
  background: {{ section.settings.background_color }};
  width: 100%;
  position: relative;
}

.desktop-bestsellers-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 80px;
  position: relative;
}

/* Header Section - Full Width */
.desktop-bestsellers-header-wrapper {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 0 80px;
  margin-bottom: 24px;
}

.desktop-bestsellers-header {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  max-width: 100%;
}

.desktop-bestsellers-header-title-wrapper {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.desktop-bestsellers-view-all {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #000;
  font-weight: 700;
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  transition: opacity 0.2s ease;
}

.desktop-bestsellers-view-all:hover {
  opacity: 0.7;
  text-decoration: none;
  color: #000;
}

.desktop-bestsellers-view-all-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.desktop-bestsellers-view-all:hover .desktop-bestsellers-view-all-icon {
  background: #d1d5db;
}

.desktop-bestsellers-view-all-icon svg {
  width: 16px;
  height: 16px;
  stroke: #000;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.desktop-bestsellers-title {
  font-size: 48px;
  font-weight: 400;
  font-style: italic;
  color: {{ section.settings.title_color }};
  margin: 0;
  line-height: 1.2;
  font-family: Georgia, 'Times New Roman', serif;
}

/* Category Tabs Navigation (Desktop Only) */
.desktop-bestsellers-category-tabs {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 40px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e5e5;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  justify-content: flex-start;
  padding-left: 24px;
  margin-left: 0;
}

.desktop-bestsellers-category-tabs::-webkit-scrollbar {
  display: none;
}

.desktop-bestsellers-category-tab {
  background: none;
  border: none;
  padding: 0;
  padding-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #999999;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  white-space: nowrap;
  flex-shrink: 0;
}

.desktop-bestsellers-category-tab:hover {
  color: #666666;
}

.desktop-bestsellers-category-tab.active {
  color: {{ section.settings.category_tab_active_color | default: '#22c55e' }};
  font-weight: 600;
}

.desktop-bestsellers-category-tab.active::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  right: 0;
  height: 2px;
  background: {{ section.settings.category_tab_active_color | default: '#22c55e' }};
}

@media screen and (max-width: 749px) {
  .desktop-bestsellers-category-tabs {
    display: none !important;
  }
}

/* Carousel Container */
.desktop-bestsellers-carousel-wrapper {
  position: relative;
  margin-bottom: 30px;
}

.desktop-bestsellers-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 0 20px 0;
}

.desktop-bestsellers-carousel::-webkit-scrollbar {
  display: none;
}

/* Product Card */
.desktop-bestseller-card {
  flex: 0 0 280px;
  position: relative;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.desktop-bestseller-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.desktop-bestseller-card-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.desktop-bestseller-card-inner > a {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Product Image Container */
.desktop-bestseller-image-wrapper {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: #f9fafb;
}

/* Remove space between image and card border on desktop view only */
@media screen and (min-width: 768px) {
  .desktop-bestseller-image-wrapper {
    display: block;
  }
}

/* Primary image - always visible */
.desktop-bestseller-image-primary {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  z-index: 1;
  transition: opacity 0.3s ease;
}

/* Secondary image - hidden by default, shown on hover (desktop only) */
.desktop-bestseller-image-secondary {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 2;
  transition: opacity 0.3s ease;
}

/* Desktop only: Show second image on hover */
@media screen and (min-width: 750px) {
  .desktop-bestseller-card:hover .desktop-bestseller-image-primary {
    opacity: 0;
  }

  .desktop-bestseller-card:hover .desktop-bestseller-image-secondary {
    opacity: 1;
  }
}

/* Mobile: Keep original hover effect */
@media screen and (max-width: 749px) {
  .desktop-bestseller-card:hover .desktop-bestseller-image-wrapper img {
    transform: scale(1.05);
  }

  .desktop-bestseller-image-secondary {
    display: none;
  }
}

/* Badge - Bestseller */
.desktop-bestseller-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--bestseller-badge-background, #ff6b9d);
  color: var(--bestseller-badge-text-color, #ffffff);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  z-index: 2;
}

.desktop-bestseller-badge-icon {
  width: 14px;
  height: 14px;
  fill: var(--bestseller-badge-text-color, #ffffff);
}

/* Wishlist Icon */
.desktop-bestseller-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.desktop-bestseller-wishlist:hover {
  background: #fff;
  transform: scale(1.1);
}

.desktop-bestseller-wishlist svg {
  width: 18px;
  height: 18px;
  stroke: #ff6b9d;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.desktop-bestseller-wishlist.active svg {
  fill: #ff6b9d;
}

/* Hide wishlist icon on desktop view only */
@media screen and (min-width: 768px) {
  .desktop-bestseller-wishlist {
    display: none !important;
  }
}

/* Quick View Icon */
.desktop-bestseller-quickview {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.desktop-bestseller-quickview:hover {
  background: #fff;
  transform: scale(1.1);
}

.desktop-bestseller-quickview svg {
  width: 18px;
  height: 18px;
  stroke: #333;
  stroke-width: 2;
  fill: none;
}

/* Add to Cart Button - Desktop Only */
@media screen and (min-width: 750px) {
  .desktop-bestseller-add-to-cart {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--add-to-cart-button-background, #0066cc);
    color: var(--add-to-cart-button-text, #ffffff);
    border: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    margin-top: auto;
    margin-bottom: 0;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    align-self: flex-end;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  }

  .desktop-bestseller-add-to-cart:hover {
    background: var(--add-to-cart-button-hover-background, #0052a3);
    color: var(--add-to-cart-button-text, #ffffff);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
  }

  .desktop-bestseller-add-to-cart:active {
    transform: translateY(0);
  }

  .desktop-bestseller-add-to-cart:disabled,
  .desktop-bestseller-add-to-cart--sold-out {
    background: #ccc;
    color: #666;
    cursor: not-allowed;
    opacity: 0.6;
  }

  .desktop-bestseller-add-to-cart--sold-out:hover {
    transform: none;
    box-shadow: none;
  }
}

@media screen and (max-width: 749px) {
  .desktop-bestseller-add-to-cart {
    display: none !important;
  }
}

/* Hide quick view icon on desktop view only */
@media screen and (min-width: 768px) {
  .desktop-bestseller-quickview {
    display: none !important;
  }
}

/* Product Content */
.desktop-bestseller-content {
  padding: 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #fff;
}

.desktop-bestseller-brand {
  font-size: 14px;
  font-weight: 500;
  color: #666;
  margin: 0 0 6px 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.desktop-bestseller-title {
  font-size: 14px;
  font-weight: 400;
  color: #333;
  margin: 0 0 8px 0;
  line-height: 1.4;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.desktop-bestseller-size {
  font-size: 12px;
  color: #999;
  margin: 0 0 8px 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.desktop-bestseller-price {
  font-size: 18px;
  font-weight: 600;
  color: #000;
  margin: 0 0 4px 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.desktop-bestseller-price-current {
  font-size: 18px;
  font-weight: 600;
  color: #000;
}

.desktop-bestseller-price-mrp {
  font-size: 14px;
  font-weight: 400;
  color: #999;
  text-decoration: line-through;
}

.desktop-bestseller-tax {
  font-size: 11px;
  color: #999;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Hide tax text on desktop view only */
@media screen and (min-width: 768px) {
  .desktop-bestseller-tax {
    display: none !important;
  }
}

/* Navigation Arrows */
.desktop-bestsellers-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(55, 65, 81, 0.9);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.desktop-bestsellers-nav-arrow:hover {
  background: rgba(55, 65, 81, 1);
  transform: translateY(-50%) scale(1.1);
}

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

.desktop-bestsellers-nav-arrow.prev {
  left: 20px;
}

.desktop-bestsellers-nav-arrow.next {
  right: 20px;
}

.desktop-bestsellers-nav-arrow svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.desktop-bestsellers-nav-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.desktop-bestsellers-nav-arrow:disabled:hover {
  background: rgba(55, 65, 81, 0.9);
  transform: translateY(-50%);
}

/* Pagination Dots */
.desktop-bestsellers-pagination-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.desktop-bestseller-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.desktop-bestseller-dot.active {
  background: #374151;
  width: 24px;
  border-radius: 4px;
}

.desktop-bestseller-dot:hover {
  background: #9ca3af;
}

/* Responsive adjustments */
/* Desktop view only - Font size and style changes */
@media screen and (min-width: 768px) {
  .desktop-our-bestsellers-section {
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
  }
  
  .desktop-bestsellers-container {
    padding: 0 40px !important;
    max-width: 100% !important;
  }
  
  .desktop-bestsellers-header {
    text-align: left !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 40px !important;
  }
  
  .desktop-bestsellers-title {
    font-size: 30px !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    font-weight: 700 !important;
    font-style: normal !important;
    color: #000000 !important;
    margin: 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0 !important;
  }
  
  .desktop-bestsellers-view-all {
    display: flex !important;
  }
  
  /* Full width carousel for desktop */
  .desktop-bestsellers-carousel-wrapper {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 40px !important;
  }
  
  .desktop-bestsellers-carousel {
    margin: 0 !important;
    padding: 10px 0 20px 0 !important;
    width: 100% !important;
  }
  
  /* Hide navigation arrows for desktop */
  .desktop-bestsellers-nav-arrow {
    display: none !important;
  }
  
  /* Align category tabs with heading */
  .desktop-bestsellers-category-tabs {
    padding-left: 40px !important;
  }
  
  /* Make active category tab bold and highlighted on desktop */
  .desktop-bestsellers-category-tab.active {
    font-weight: 700 !important;
    background-color: var(--category-tab-active-background, rgba(34, 197, 94, 0.1)) !important;
    color: var(--category-tab-active-text-color, #22c55e) !important;
    padding: 4px 12px 8px 12px !important;
    border-radius: 4px !important;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .desktop-bestsellers-container {
    padding: 0 40px !important;
  }
  
  .desktop-bestsellers-header {
    padding: 0 40px !important;
  }
  
  .desktop-bestseller-card {
    flex: 0 0 260px;
  }
  
  /* Full width carousel for smaller desktops */
  .desktop-bestsellers-carousel-wrapper {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 40px !important;
  }
  
  .desktop-bestsellers-carousel {
    margin: 0 !important;
  }
}

@media screen and (min-width: 1025px) and (max-width: 1399px) {
  .desktop-bestsellers-container {
    padding: 0 40px !important;
  }
  
  .desktop-bestsellers-header-wrapper {
    padding: 0 40px !important;
  }
  
  /* Full width carousel for medium desktops */
  .desktop-bestsellers-carousel-wrapper {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 40px !important;
  }
  
  .desktop-bestsellers-carousel {
    margin: 0 !important;
  }
}

@media screen and (min-width: 1400px) {
  .desktop-bestsellers-container {
    padding: 0 40px !important;
  }
  
  .desktop-bestsellers-header-wrapper {
    padding: 0 40px !important;
  }
  
  /* Full width carousel for large desktops */
  .desktop-bestsellers-carousel-wrapper {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 40px !important;
  }
  
  .desktop-bestsellers-carousel {
    margin: 0 !important;
  }
}
/* Desktop Shop by Brands Section - Desktop Only */
@media screen and (max-width: 767px) {
  .desktop-shop-by-brands-section {
    display: none !important;
  }
}

.desktop-shop-by-brands-section {
  padding-top: {{ section.settings.padding_top }}px;
  padding-bottom: {{ section.settings.padding_bottom }}px;
  background: #fff;
  width: 100%;
}

.desktop-brands-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 40px;
}

/* Header Section */
.desktop-brands-header {
  text-align: center;
  margin-bottom: 30px;
}

.desktop-brands-title {
  font-size: 48px;
  font-weight: 700;
  color: #000;
  margin: 0 0 8px 0;
  line-height: 1.2;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.desktop-brands-subtitle {
  font-size: 16px;
  color: #2563eb;
  margin: 0;
  font-weight: 400;
}

/* Filter Buttons */
.desktop-brands-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.desktop-brands-filter-btn {
  padding: 10px 24px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.desktop-brands-filter-btn:hover {
  border-color: #9ca3af;
  background: #f9fafb;
}

.desktop-brands-filter-btn.active {
  background: #f3f4f6;
  border-color: #d1d5db;
  color: #111827;
  font-weight: 600;
}

/* Carousel Container */
.desktop-brands-carousel-wrapper {
  position: relative;
  margin-bottom: 30px;
}

.desktop-brands-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 0 20px 0;
  margin: 0 60px;
}

.desktop-brands-carousel::-webkit-scrollbar {
  display: none;
}

/* Brand Card */
.desktop-brand-card {
  flex: 0 0 320px;
  position: relative;
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.desktop-brand-card:hover {
  transform: translateY(-4px);
}

.desktop-brand-card-inner {
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 16px 16px 12px 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.desktop-brand-card:hover .desktop-brand-card-inner {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-color: #d1d5db;
}

/* Brand Image Container */
.desktop-brand-image-wrapper {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  background: #f9fafb;
}

.desktop-brand-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.desktop-brand-card:hover .desktop-brand-image-wrapper img {
  transform: scale(1.05);
}

/* Brand Content */
.desktop-brand-content {
  padding: 24px 20px;
  text-align: center;
}

.desktop-brand-name {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px 0;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.desktop-brand-slogan {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
  font-weight: 400;
}

/* Brand Name with Special Styling */
.desktop-brand-name.special-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

/* Navigation Arrows */
.desktop-brands-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.desktop-brands-nav-arrow:hover {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-color: #d1d5db;
}

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

.desktop-brands-nav-arrow.prev {
  left: 0;
}

.desktop-brands-nav-arrow.next {
  right: 0;
}

.desktop-brands-nav-arrow svg {
  width: 20px;
  height: 20px;
  stroke: #374151;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.desktop-brands-nav-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.desktop-brands-nav-arrow:disabled:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Pagination */
.desktop-brands-pagination {
  display: none !important;
}

/* Loading State */
.desktop-brands-carousel.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Desktop view only - Font size and style changes */
@media screen and (min-width: 768px) {
  .desktop-brands-title {
    font-size: 30px !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
  }
  
  /* Full width carousel for desktop */
  .desktop-brands-carousel-wrapper {
    width: calc(100% + 80px) !important;
    margin-left: -40px !important;
    margin-right: -40px !important;
    padding: 0 20px !important;
  }
  
  .desktop-brands-carousel {
    margin: 0 !important;
    padding: 10px 0 20px 0 !important;
    width: 100% !important;
  }
  
  /* Hide navigation arrows for desktop */
  .desktop-brands-nav-arrow {
    display: none !important;
  }
}

/* Responsive adjustments for smaller desktops */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .desktop-brands-container {
    padding: 0 30px;
  }
  
  .desktop-brand-card {
    flex: 0 0 280px;
  }
  
  /* Full width carousel override for smaller desktops */
  .desktop-brands-carousel-wrapper {
    width: calc(100% + 60px) !important;
    margin-left: -30px !important;
    margin-right: -30px !important;
  }
  
  .desktop-brands-carousel {
    margin: 0 !important;
  }
}

@media screen and (min-width: 1025px) and (max-width: 1200px) {
  /* Full width carousel override for medium desktops */
  .desktop-brands-carousel-wrapper {
    width: calc(100% + 80px) !important;
    margin-left: -40px !important;
    margin-right: -40px !important;
  }
  
  .desktop-brands-carousel {
    margin: 0 !important;
  }
}

/* Full width adjustments */
@media screen and (min-width: 1400px) {
  .desktop-brands-container {
    padding: 0 60px;
  }
  
  /* Full width carousel override for large desktops */
  .desktop-brands-carousel-wrapper {
    width: calc(100% + 120px) !important;
    margin-left: -60px !important;
    margin-right: -60px !important;
  }
  
  .desktop-brands-carousel {
    margin: 0 !important;
  }
}
/* Desktop Shop by Category Section - Desktop Only */
@media screen and (max-width: 767px) {
  .desktop-shop-by-category-section {
    display: none !important;
  }
}

.desktop-shop-by-category-section {
  padding-top: {{ section.settings.padding_top }}px;
  padding-bottom: {{ section.settings.padding_bottom }}px;
  background: {{ section.settings.background_color }};
  width: 100%;
}

.desktop-category-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 40px;
}

/* Header Section */
.desktop-category-header {
  text-align: left;
  margin-bottom: 30px;
}

.desktop-category-title {
  font-size: 24px;
  font-weight: 700;
  color: {{ section.settings.title_color }};
  margin: 0 0 8px 0;
  line-height: 1.2;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.desktop-category-subtitle {
  font-size: 14px;
  color: {{ section.settings.subtitle_color }};
  margin: 0;
  font-weight: 400;
}

/* Desktop view only - Font size and alignment changes */
@media screen and (min-width: 768px) {
  .desktop-category-header {
    text-align: center !important;
  }
  
  .desktop-category-title {
    font-size: 30px !important;
  }
  
  .desktop-category-subtitle {
    font-size: 20px !important;
  }
  
  .desktop-category-filters {
    justify-content: center !important;
  }
}

/* Filter Buttons */
.desktop-category-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.desktop-category-filter-btn {
  padding: 10px 24px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  text-decoration: none;
  display: inline-block;
}

.desktop-category-filter-btn:hover {
  border-color: #9ca3af;
  background: #f9fafb;
}

.desktop-category-filter-btn.active {
  background: #f3f4f6;
  border-color: #d1d5db;
  color: #111827;
  font-weight: 600;
}

/* Carousel Container */
.desktop-category-carousel-wrapper {
  position: relative;
  margin-bottom: 30px;
}

.desktop-category-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 0 20px 0;
  margin: 0 60px;
}

/* Full width carousel for desktop view only */
@media screen and (min-width: 768px) {
  .desktop-category-carousel {
    margin: 0 !important;
    padding: 10px 0 20px 0 !important;
    width: 100% !important;
  }
  
  .desktop-category-container {
    padding: 0 20px !important;
  }
  
  .desktop-category-carousel-wrapper {
    width: calc(100% + 40px) !important;
    margin-left: -20px !important;
    margin-right: -20px !important;
    padding: 0 20px !important;
  }
  
  .desktop-category-carousel-wrapper {
    width: 100% !important;
    margin-left: -20px !important;
    margin-right: -20px !important;
    padding: 0 20px !important;
  }
}

.desktop-category-carousel::-webkit-scrollbar {
  display: none;
}

/* Category Card */
.desktop-category-card {
  flex: 0 0 320px;
  position: relative;
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.desktop-category-card:hover {
  transform: translateY(-4px);
}

.desktop-category-card-inner {
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 16px 16px 12px 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.desktop-category-card:hover .desktop-category-card-inner {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-color: #d1d5db;
}

/* Category Image Container */
.desktop-category-image-wrapper {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  background: #f9fafb;
}

.desktop-category-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.desktop-category-card:hover .desktop-category-image-wrapper img {
  transform: scale(1.05);
}

/* Category Content */
.desktop-category-content {
  padding: 24px 20px;
  text-align: center;
}

.desktop-category-name {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px 0;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.desktop-category-slogan {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
  font-weight: 400;
}

/* Category Name with Special Styling */
.desktop-category-name.special-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

/* Navigation Arrows */
.desktop-category-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  display: none !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.desktop-category-nav-arrow:hover {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-color: #d1d5db;
}

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

.desktop-category-nav-arrow.prev {
  left: 0;
}

.desktop-category-nav-arrow.next {
  right: 0;
}

.desktop-category-nav-arrow svg {
  width: 20px;
  height: 20px;
  stroke: #374151;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.desktop-category-nav-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.desktop-category-nav-arrow:disabled:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Pagination */
.desktop-category-pagination {
  display: none !important;
}

/* Loading State */
.desktop-category-carousel.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Responsive adjustments for smaller desktops */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .desktop-category-container {
    padding: 0 30px;
  }
  
  .desktop-category-title {
    font-size: 40px;
  }
  
  .desktop-category-card {
    flex: 0 0 280px;
  }
  
  .desktop-category-carousel {
    margin: 0 !important;
    padding: 10px 0 20px 0 !important;
    width: 100% !important;
  }
  
  .desktop-category-container {
    padding: 0 20px !important;
  }
  
  .desktop-category-carousel-wrapper {
    width: calc(100% + 40px) !important;
    margin-left: -20px !important;
    margin-right: -20px !important;
    padding: 0 20px !important;
  }
}

@media screen and (min-width: 1025px) and (max-width: 1200px) {
  .desktop-category-carousel {
    margin: 0 !important;
    padding: 10px 0 20px 0 !important;
    width: 100% !important;
  }
  
  .desktop-category-carousel-wrapper {
    width: calc(100% + 40px) !important;
    margin-left: -20px !important;
    margin-right: -20px !important;
    padding: 0 20px !important;
  }
}

/* Full width adjustments */
@media screen and (min-width: 1400px) {
  .desktop-category-container {
    padding: 0 60px;
  }
}
/* Reset styles for the section */
.eyewear-section-wrapper *,
.eyewear-section-wrapper *::before,
.eyewear-section-wrapper *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.eyewear-section-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  background: #fff;
}

.eyewear-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Section Layout */
.eyewear-section .top-section {
  margin-bottom: 10px;
}

/* Top Navigation */
.eyewear-section .top-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0 12px;
  border-bottom: 1px solid #eee;
}

.eyewear-section .back-button,
.eyewear-section .cart-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  color: #333;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.eyewear-section .back-button:hover,
.eyewear-section .cart-button:hover {
  color: #000;
}

.eyewear-section .back-button svg,
.eyewear-section .cart-button svg {
  width: 24px;
  height: 24px;
}

.eyewear-section .cart-button {
  position: relative;
}

.eyewear-section .cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #1a1a1a;
  color: white;
  font-size: 12px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eyewear-section .page-title {
  font-size: 18px;
  font-weight: 500;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  flex: 1;
  margin: 0 20px;
  font-family: inherit;
}

/* Hero Banner - Updated for full width */
.hero-banner {
  width: 100%;
  margin-bottom: 60px;
  overflow: hidden;
}

.hero-banner .hero-image {
  width: 100%;
}

.hero-banner .hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Frame Types - Updated styles */
.eyewear-section .frame-types {
  margin-bottom: 10px;
}

.eyewear-section .section-title {
  font-size: 24px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 10px;
  padding: 0;
  line-height: 1.2;
  text-align: left;
  padding-left: 10px;
}

.eyewear-section .section-subtitle {
  color: #666;
  margin: 0 0 30px;
  font-family: inherit;
  text-align: left;
  padding-left: 10px;
}

.eyewear-section .frame-icons {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  gap: 40px;
  padding: 10px 0;
  position: relative;
  white-space: nowrap;
}

.eyewear-section .frame-icons::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

.eyewear-section .frame-icon {
  text-align: left;
  min-width: 120px;
  position: relative;
  flex-shrink: 0;
}

.eyewear-section .frame-icon-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 35px;
  padding: 0;
  border: 2px solid #333;
  overflow: hidden;
  position: relative;
}

.eyewear-section .frame-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  padding: 5px;
}

.eyewear-section .frame-icon p {
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 12px;
  color: #333;
  font-weight: 500;
  background: #fff;
  padding: 4px 0;
  min-width: 80px;
  text-align: left;
}

/* Update all section titles to be left-aligned */
.eyewear-section .new-arrival-title,
.eyewear-section .trending-title {
  text-align: left;
}

.eyewear-section .new-arrival-subtitle,
.eyewear-section .trending-subtitle {
  text-align: left;
}

/* New Arrival - Scoped styles */
.eyewear-section .new-arrival-banner {
  background: #f5f5f5;
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  gap: 4px;
}

/* Updated Trending Categories styles */
.eyewear-section .trending-categories {
  margin-bottom: 20px;
  padding: 0 10px;
  width: 100%;
}

.eyewear-section .category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding: 0;
  width: 100%;
}

.eyewear-section .category-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  width: calc(50% - 8px);
  flex-shrink: 0;
}

.eyewear-section .category-card img,
.eyewear-section .category-card .placeholder-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.eyewear-section .category-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  padding: 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
  .eyewear-section {
    padding: 0 15px;
  }

  .eyewear-section .top-navigation {
    padding: 15px 0 10px;
  }

  .eyewear-section .page-title {
    font-size: 16px;
  }

  .hero-banner {
    margin-bottom: 10px;
  }

  .eyewear-section .tab-buttons {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .eyewear-section .tab-button {
    min-width: 150px;
    flex: 1;
  }

  .eyewear-section .frame-icons {
    justify-content: center;
    gap: 20px;
  }

  .eyewear-section .category-grid {
    gap: 8px;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }

  .eyewear-section .back-button span {
    display: none;
  }

  .eyewear-section .back-button,
  .eyewear-section .cart-button {
    padding: 8px;
  }

  .eyewear-section .section-title {
    padding-left: 5px;
  }

  .eyewear-section .section-subtitle {
    padding-left: 5px;
  }

  .eyewear-section .frame-icon-circle {
    width: 80px;
    height: 80px;
    margin-bottom: 30px;
  }

  .eyewear-section .frame-icon p {
    font-size: 11px;
    padding: 3px 10px;
    min-width: 70px;
  }

  .eyewear-section .category-name {
    padding: 8px;
    font-size: 12px;
  }

  .eyewear-section .trending-categories {
    padding: 0 8px;
  }

  .eyewear-section .category-card {
    width: calc(50% - 4px);
  }
}

/* Section Header */
.eyewear-section .section-header {
  text-align: left;
  margin-bottom: 30px;
}

.eyewear-section .main-title {
  font-size: 32px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
  padding: 0;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: left;
}

/* Category Tabs - Updated */
.eyewear-section .category-tabs {
  padding-top: 12px;
}

.eyewear-section .tab-buttons {
  display: flex;
  gap: 12px;
  width: 100%;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto;
}

.eyewear-section .tab-button {
  min-width: 200px;
  padding: 10px 40px;
  border-radius: 30px;
  border: 1px solid #ddd;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  flex: 1;
}

.eyewear-section .tab-button.active {
  background: #1a1a1a;
  color: white;
  border-color: #1a1a1a;
}

/* Update mobile styles */
@media (max-width: 768px) {
  .eyewear-section .top-navigation {
    padding: 15px 0 10px;
  }

  .eyewear-section .category-tabs {
    padding-top: 10px;
  }

  .eyewear-section .tab-buttons {
    gap: 10px;
    padding: 0;
  }

  .eyewear-section .tab-button {
    min-width: 150px;
    padding: 8px 20px;
    font-size: 16px;
  }

  .eyewear-section .frame-icons {
    justify-content: left;
    gap: 0px;
  }

  .eyewear-section .category-grid {
    grid-template-columns: 1fr;
  }

  .eyewear-section .back-button span {
    display: none;
  }

  .eyewear-section .back-button,
  .eyewear-section .cart-button {
    padding: 8px;
  }

  .eyewear-section .section-title {
    padding-left: 5px;
  }

  .eyewear-section .section-subtitle {
    padding-left: 5px;
  }

  .eyewear-section .frame-icon-circle {
    width: 80px;
    height: 80px;
    margin-bottom: 30px;
  }

  .eyewear-section .frame-icon p {
    font-size: 11px;
    padding: 3px 10px;
    min-width: 70px;
  }
}
@media screen and (min-width: 768px) {
  .mobile-only-tabs {
    display: none;
  }
}

.mobile-only-tabs {
  display: block;
}

.mobile-tabs-wrapper {
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  padding: 0px;
  scrollbar-width: none; /* Firefox */
  background: cornsilk;
}

.mobile-tabs-wrapper::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.mobile-tab {
  display: ruby-text;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  margin-right: 0.5rem;
  font-size: 13px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  border-radius: 8px;
  position: relative;
  text-decoration: none;
  min-width: 100px;
}

.mobile-tab img {
  width: 20px;
  height: 20px;
}

.mobile-tab span {
  font-weight: bold;
  white-space: nowrap;
}

.mobile-tab.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 15%;
  right: 15%;
  height: 3px;
  background-color: black; /* Status bar color */
  border-radius: 2px;
}
@media screen and (min-width: 768px) {
  .mobile-only {
    display: none !important;
  }
}
.section-curvy-wrapper {
  border-radius: 0px;
  padding: 16px 12px;
  overflow-x: hidden;
}
.slider-wrapper {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.slider-wrapper::-webkit-scrollbar {
  display: none;
}
.image-block {
  flex: 0 0 auto;
  width: 120px;
  text-align: center;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}
.image-block img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
.image-label {
  padding: 8px 0;
  font-size: 14px;
}
.image-block.first-block .arrow-icon {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  font-size: 24px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  padding: 4px 8px;
}
@media screen and (min-width: 768px) {
  .mobile-only {
    display: none !important;
  }
}
.section-curvy-wrapper {
  border-radius: 0px;
  padding: 16px 12px;
}
.mobile-image-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 0;
}
.image-block {
  flex: 0 0 calc(33.333% - 8px);
  text-align: center;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}
.image-block img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
.image-label {
  padding: 8px 0;
  font-size: 14px;
}
/* Base Styles */
.new-arrivals-section2-wrapper {
  background: #F5F5F5;
  padding: 60px 0;
  width: 100%;
}

.new-arrivals-section-2 {
  width: 100%;
  max-width: 100%;
  padding: 0;
}

/* Header Section */
.heading-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding: 0 40px;
}

.headings {
  display: flex;
  gap: 15px;
}

.sec-heading {
  font-size: 48px;
  margin: 0;
  line-height: 1;
}

.h-bold {
  font-weight: 900;
  color: #000;
}

.h-norm {
  font-weight: 300;
  color: #666;
}

/* Filter Tabs */
.filters-container {
  background: #fff;
  border-radius: 50px;
  padding: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.filter-tab {
  padding: 12px 30px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-weight: 500;
  border-radius: 50px;
  transition: all 0.3s ease;
  color: #666;
}

.filter-tab.button-active {
  background: #000;
  color: white;
}

/* Main Content Layout */
.content-container-main {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Left Container */
.left-product-container {
  display: flex;
  margin-bottom: 0;
  background: white;
  padding: 40px;
}

/* Other Images */
.photo-grid-overlay {
  width: 70px;
  margin-right: 20px;
}

.other-images-title {
  font-size: 12px;
  color: #666;
  margin: 0 0 10px;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  overflow-y: auto;
  max-height: 400px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.photo-grid::-webkit-scrollbar {
  display: none;
}

.photo {
  width: 50px;
  height: 50px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid #eee;
  transition: all 0.3s ease;
}

.photo.active {
  border-color: #000;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Main Image */
.main-image-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.main-product-img {
  max-width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
}

/* Product Carousel */
.right-container {
  width: 100%;
  background: white;
  padding: 20px 40px;
}

.scrollable-slider {
  display: none;
}

.scrollable-slider.active {
  display: block;
}

.products-slider {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin: 0;
  padding: 0;
}

.products-slider::-webkit-scrollbar {
  display: none;
}

.product-slide {
  flex: 0 0 120px;
  position: relative;
  cursor: pointer;
  padding-bottom: 15px;
}

.product-slide-content {
  border-radius: 8px;
  overflow: hidden;
}

.product-slide-content img {
  width: 120px;
  height: 120px;
  object-fit: cover;
}

.product-slide::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: transparent;
  transition: background-color 0.3s ease;
}

.product-slide.active::after {
  background: #000;
}

/* Product Info Card */
.product-info-card {
  background: #2A2A2A;
  color: white;
  padding: 25px 40px;
  margin: 0;
}

.product-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255,255,255,0.1);
  border-radius: 20px;
  font-size: 12px;
  margin-bottom: 5px;
}

.product-id {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
}

.product-title {
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 15px;
}

.product-price {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
}

.product-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}

.explore-btn {
  flex: 1;
  padding: 12px 24px;
  background: white;
  color: black;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
}

.explore-btn:hover {
  background: rgba(255,255,255,0.9);
}

.add-to-cart-btn {
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.add-to-cart-btn:hover {
  background: rgba(255,255,255,0.2);
}

/* Pagination */
.pagination-container {
  display: flex;
  justify-content: center;
}

.swiper-pagination {
  position: static !important;
  display: none;
}

.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #ccc;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #000;
}

/* Responsive Design */
@media (max-width: 768px) {
  .heading-container {
    padding: 0 20px;
  }

  .left-product-container {
    flex-direction: column;
    padding: 20px;
  }
  
  .photo-grid-overlay {
    width: 100%;
    margin-right: 0;
    margin-top: 20px;
    order: 2;
  }
  
  .photo-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    max-height: none;
  }
  
  .photo {
    flex: 0 0 50px;
  }
  
  .main-image-container {
    min-height: 300px;
    order: 1;
  }
  
  .main-product-img {
    max-height: 300px;
  }

  .right-container {
    padding: 20px;
  }

  .product-info-card {
    padding: 20px;
  }
}