/* ==========================================================================
   GLOBAL DESIGN SYSTEM — "The Ordinary" spec
   Font loaded via <link> in HTML for parallel loading (not @import)
   ========================================================================== */

:root {
  /* Colors */
  --bg: #FAFAFA;
  --bg-card: #FFFFFF;
  --text-heading: #181818;
  --text-body: #4A4A4A;
  --text-muted: #8A8A8A;
  --accent: #2D6A4F;
  --border: #E5E3DD;

  /* Radii */
  --radius: 2px;
  --radius-pill: 999px;

  /* Typography */
  --font-main: 'Inter', sans-serif;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-section: 112px;

  /* Layout */
  --container-width: 1200px;
  --nav-height: 88px;
  --nav-height-shrunk: 64px;
  --announcement-h: 0px;

  /* Video carousel card width */
  --vc-card-w: 340px;

  /* Animation timing */
  --ease-out: cubic-bezier(0.2, 0, 0, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 0.15s;
  --duration-base: 0.25s;
  --duration-slow: 0.35s;
}

@media (max-width: 768px) {
  :root {
    --space-section: 56px;
    --nav-height: 64px;
    --nav-height-shrunk: 56px;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg);
  color: var(--text-body);
  line-height: 1.6;
  font-size: 15px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-heading);
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: clamp(32px, 5vw, 44px);
  margin-bottom: var(--space-lg);
}

h2 {
  font-size: clamp(22px, 3vw, 26px);
  margin-bottom: var(--space-md);
}

h3 {
  font-size: 18px;
  margin-bottom: var(--space-sm);
}

h4 {
  font-size: 15px;
}

.eyebrow {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

/* ==========================================================================
   BUTTONS (Pill with hover fill)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  height: 48px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all var(--duration-base) ease;
  white-space: nowrap;
}

.btn-primary {
  border: 1px solid var(--text-heading);
  background-color: var(--text-heading);
  color: var(--bg-card);
  font-weight: 700;
}

.btn-primary:hover {
  background-color: #222222;
  color: #ffffff;
  border-color: #222222;
}

.btn-secondary {
  border: 1px solid var(--accent);
  background-color: var(--bg-card);
  color: var(--accent);
}

.btn-secondary:hover {
  background-color: var(--accent);
  color: var(--bg-card);
}

.btn-sm {
  height: 40px;
  padding: 0 20px;
  font-size: 12px;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn svg {
  width: 16px;
  height: 16px;
  margin-right: 8px;
}

/* ==========================================================================
   GLOBAL ANIMATIONS & UTILITIES
   ========================================================================== */

/* 1. Scroll-fade-in */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* 2. Scroll-snap horizontal row */
.scroll-snap-row {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  gap: var(--space-lg);
  padding: var(--space-sm) 0 var(--space-xl);
}

.scroll-snap-row::-webkit-scrollbar {
  display: none;
}

.scroll-snap-item {
  scroll-snap-align: start;
  flex: 0 0 calc(33.333% - (var(--space-lg) * 2 / 3));
}

@media (max-width: 1024px) {
  .scroll-snap-item {
    flex: 0 0 calc(50% - (var(--space-lg) / 2));
  }
}

@media (max-width: 768px) {
  .scroll-snap-item {
    flex: 0 0 85%;
  }
}

/* 3. Product image hover-swap */
.hover-swap {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #FAFAFA;
  overflow: hidden;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.hover-swap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.3s ease;
}

.hover-swap img.img-front {
  opacity: 1;
  z-index: 2;
}

.hover-swap img.img-back {
  opacity: 0;
  z-index: 1;
}

.product-card:hover .hover-swap img.img-front {
  opacity: 0;
}

.product-card:hover .hover-swap img.img-back {
  opacity: 1;
}

.icon-actions {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 5;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hover-swap:hover .icon-actions {
  opacity: 1;
  transform: translateX(0);
}

.icon-btn {
  width: 36px;
  height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-heading);
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.icon-btn svg {
  width: 16px;
  height: 16px;
}

.icon-btn:hover {
  background: var(--text-heading);
  color: var(--bg-card);
  border-color: var(--text-heading);
}

.icon-btn.wishlist-btn.active svg {
  fill: currentColor;
}

/* Product Cards Base */
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-image {
  border: 1px solid var(--border);
  margin-bottom: var(--space-sm);
  border-radius: var(--radius);
}

.product-card-info h3 {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 4px;
}

.product-card-info .price {
  font-size: 14px;
  color: var(--text-heading);
}

/* Product Badge */
.product-badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  z-index: 3;
  background: var(--text-heading);
  color: var(--bg-card);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  line-height: 1;
}

/* Star Rating */
.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
}

.product-rating .stars {
  font-size: 12px;
  color: var(--text-heading);
  letter-spacing: 1px;
  line-height: 1;
}

.product-rating .star-empty {
  color: var(--border);
}

.product-rating .rating-value {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

/* Benefit Tag */
.product-benefit {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

/* Size Chips */
.size-chips {
  display: flex;
  gap: 6px;
  margin-bottom: var(--space-sm);
}

.size-chip {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.4;
  transition: all var(--duration-fast) ease;
}

.size-chip.active {
  border-color: var(--text-heading);
  color: var(--text-heading);
}

/* Add to Cart Button on Card */
.btn-add-cart {
  width: 100%;
  margin-top: auto;
  text-align: center;
}

/* Out of Stock Button */
.btn-out-of-stock {
  width: 100%;
  margin-top: auto;
  text-align: center;
  background: var(--bg);
  color: var(--text-muted);
  border: 1px solid var(--border);
  cursor: not-allowed;
  opacity: 0.7;
}

/* Section Header Row (with View All) */
.section-header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.view-all-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-heading);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: opacity var(--duration-fast) ease;
}

.view-all-link:hover {
  opacity: 0.6;
}

/* Utilities */
.text-center {
  text-align: center;
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.mt-lg {
  margin-top: var(--space-lg);
}

.section-padding {
  padding: var(--space-section) 0;
}

.section-header {
  margin-bottom: var(--space-2xl);
}

.section-header h2 {
  font-size: clamp(24px, 4vw, 28px);
  font-weight: 500;
  margin-bottom: 0;
}

/* ==========================================================================
   HERO / PAGE BANNER — Shared full-bleed component
   Used on: homepage hero carousel, shop page header, any future page banners
   ========================================================================== */

/* Container: fills width, clips the absolute image, flex-centers the content */
.hero-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Background image — absolutely fills the banner */
.hero-banner__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
  user-select: none;
}

/* Gradient scrim — left-to-right fade for text legibility.
   Light enough that image texture stays visible; text stays crisp
   because heading color (#181818) provides its own contrast. */
.hero-banner__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(250, 250, 250, 0.72) 0%,
    rgba(250, 250, 250, 0.48) 22%,
    rgba(250, 250, 250, 0.15) 48%,
    rgba(250, 250, 250, 0)    65%
  );
  pointer-events: none;
  z-index: 1;
}

/* Text / CTA content block */
.hero-banner__content {
  position: relative;
  z-index: 2;
  padding: var(--space-3xl) 8%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-banner__eyebrow {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: var(--space-md);
}

.hero-banner__content h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  font-weight: 400;
  margin-bottom: var(--space-lg);
  color: var(--text-heading);
  letter-spacing: -0.02em;
}

.hero-banner__content p {
  font-size: 16px;
  color: var(--text-body);
  margin-bottom: var(--space-xl);
  max-width: 380px;
  line-height: 1.65;
}

/* Mobile: image on top, text stacked below */
@media (max-width: 768px) {
  .hero-banner {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
  }

  .hero-banner__image {
    position: static;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
  }

  .hero-banner__scrim {
    display: none;
  }

  .hero-banner__content {
    position: static;
    padding: var(--space-md) var(--space-lg);
    margin-top: 0 !important; /* Override the inline style from HTML on mobile */
    margin-bottom: 0 !important;
    min-height: auto;
    height: auto;
    max-width: 100%;
    align-items: flex-start;
    background: var(--bg);
  }

  .hero-banner__content h1 {
    font-size: clamp(32px, 8vw, 44px);
    margin-bottom: var(--space-md);
  }

  .hero-banner__content p {
    font-size: 14px;
    max-width: 100%;
    margin-bottom: var(--space-lg);
  }

  .hero-banner__cta {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-banner__image {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
  }
  
  .hero-banner__content {
    padding-top: 16px;
    padding-bottom: 16px;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    min-height: auto;
    height: auto;
  }
  
  .seo-intro {
    padding-top: 24px !important; /* Override the inline 60px padding */
    padding-bottom: 16px !important;
  }
}

/* ==========================================================================
   TOP BAR & NAVBAR
   ========================================================================== */
.announcement-bar {
  background-color: var(--text-heading);
  color: var(--bg-card);
  min-height: var(--announcement-h);
  height: auto;
  padding: 6px var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.navbar {
  position: sticky;
  top: 0;
  background-color: var(--bg);
  z-index: 100;
  transition: height 0.3s ease, border-bottom 0.3s ease, background-color 0.3s ease;
  height: var(--nav-height);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  height: var(--nav-height-shrunk);
  border-bottom-color: var(--border);
  background-color: rgba(250, 250, 250, 0.95);
  backdrop-filter: blur(8px);
}

.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-heading);
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: var(--space-xl);
}

.nav-links li {
  display: flex;
  align-items: center;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-heading);
  position: relative;
  padding: 4px 0;
}

/* Nav Underline Animation */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--text-heading);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s var(--ease-out);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-icon-btn {
  position: relative;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-heading);
}

.nav-icon-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.cart-badge {
  position: absolute;
  top: -2px;
  right: -4px;
  background: var(--text-heading);
  color: var(--bg-card);
  font-size: 10px;
  font-weight: 600;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hamburger-btn {
  display: none;
  width: 24px;
  height: 24px;
  position: relative;
}

.hamburger-btn span {
  position: absolute;
  width: 20px;
  height: 2px;
  background-color: var(--text-heading);
  left: 2px;
  transition: 0.3s;
}

.hamburger-btn span:nth-child(1) {
  top: 6px;
}

.hamburger-btn span:nth-child(2) {
  top: 11px;
}

.hamburger-btn span:nth-child(3) {
  top: 16px;
}

/* Responsive Nav */
@media (max-width: 768px) {
  .announcement-bar {
    font-size: 9px;
    letter-spacing: 0.06em;
    padding: 6px var(--space-sm);
  }

  .nav-logo {
    margin-right: auto; /* keeps logo left-aligned; pushes nav-icons to the right */
  }

  .nav-logo img {
    height: 48px;
  }

  .nav-links {
    display: none;
  }

  .hamburger-btn {
    display: block;
  }

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

/* ==========================================================================
   MOBILE NAV DRAWER
   ========================================================================== */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 100vh;
  background-color: var(--bg-card);
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform var(--duration-slow) var(--ease-in-out);
  display: flex;
  flex-direction: column;
}

.mobile-nav-drawer.open {
  transform: translateX(0);
}

.mobile-nav-header {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-lg);
  border-bottom: 1px solid var(--border);
}

.mobile-nav-close svg {
  width: 24px;
  height: 24px;
  stroke: var(--text-heading);
  stroke-width: 1.5;
}

.mobile-nav-links {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.mobile-nav-links a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-heading);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-slow) ease;
}

.overlay.open {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   CART DRAWER (Slide + fade overlay)
   ========================================================================== */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 360px;
  max-width: 100%;
  height: 100vh;
  background-color: var(--bg-card);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-in-out);
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border);
}

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

.cart-drawer-header {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-lg);
  border-bottom: 1px solid var(--border);
}

.cart-drawer-header h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.cart-close-btn svg {
  width: 24px;
  height: 24px;
  stroke: var(--text-heading);
  stroke-width: 1.5;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-lg);
}

.cart-empty {
  text-align: center;
  padding-top: var(--space-2xl);
  color: var(--text-muted);
}

.cart-empty svg {
  width: 48px;
  height: 48px;
  stroke: currentColor;
  stroke-width: 1;
  fill: none;
  margin-bottom: var(--space-md);
}

.cart-drawer-footer {
  padding: var(--space-lg);
  border-top: 1px solid var(--border);
  background: var(--bg-card);
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  margin-bottom: var(--space-sm);
  color: var(--text-heading);
}

.cart-subtotal strong {
  font-weight: 600;
}

.cart-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.btn-checkout {
  width: 100%;
  margin-bottom: var(--space-sm);
}

/* Cart Item Rows */
.cart-item {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.cart-item-img {
  width: 80px;
  height: 80px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  overflow: hidden;
  flex-shrink: 0;
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cart-item-info h4 {
  font-size: 14px;
  margin-bottom: 4px;
}

.cart-item-price {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.cart-item-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.cart-item-remove {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: underline;
}

/* Quantity Stepper (crossfade) */
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  height: 32px;
  border-radius: var(--radius);
}

.qty-stepper button {
  width: 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-heading);
}

.qty-stepper button:hover {
  background: var(--bg);
}

.qty-stepper-val {
  width: 32px;
  text-align: center;
  font-size: 13px;
  transition: opacity 0.15s ease;
}

/* ==========================================================================
   TOAST NOTIFICATIONS (Slide up from bottom-right)
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  pointer-events: none;
}

.toast {
  background: var(--text-heading);
  color: var(--bg-card);
  padding: 12px 20px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(20px);
  opacity: 0;
  animation: toastSlideUp 0.3s var(--ease-out) forwards;
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast.hiding {
  animation: toastFadeOut 0.3s ease forwards;
}

@keyframes toastSlideUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes toastFadeOut {
  to {
    transform: translateY(20px);
    opacity: 0;
  }
}

/* ==========================================================================
   FLOATING WHATSAPP (Monochrome outline, hover tooltip)
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: var(--space-3xl);
  left: var(--space-lg);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--text-heading);
  background: var(--bg-card);
  color: var(--text-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  transition: all var(--duration-base) ease;
}

.floating-whatsapp svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.floating-whatsapp:hover {
  background: var(--text-heading);
  color: var(--bg-card);
}

.floating-whatsapp::before {
  content: "Chat with us";
  position: absolute;
  left: calc(100% + 12px);
  background: var(--text-heading);
  color: var(--bg-card);
  padding: 6px 12px;
  border-radius: var(--radius);
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-10px);
  transition: all var(--duration-base) ease;
}

.floating-whatsapp:hover::before {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .floating-whatsapp {
    bottom: var(--space-md);
    left: var(--space-md);
  }

  .floating-whatsapp::before {
    display: none;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--text-heading);
  color: var(--bg);
  padding: var(--space-section) 0 var(--space-xl);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-section);
  gap: var(--space-2xl);
}

.footer-newsletter h3 {
  color: var(--bg-card);
  font-size: 20px;
  margin-bottom: var(--space-sm);
}

.footer-newsletter p {
  color: #A0A0A0;
  font-size: 14px;
  margin-bottom: var(--space-lg);
  max-width: 400px;
}

.newsletter-form {
  display: flex;
  gap: var(--space-sm);
}

.newsletter-form input {
  padding: 0 16px;
  height: 48px;
  background: transparent;
  border: 1px solid #444;
  color: var(--bg-card);
  width: 240px;
  border-radius: var(--radius-pill);
}

.newsletter-form button {
  padding: 0 24px;
  height: 48px;
  background: var(--bg-card);
  color: var(--text-heading);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.05em;
  border-radius: var(--radius-pill);
  transition: opacity 0.2s;
}

.newsletter-form button:hover {
  opacity: 0.8;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2xl);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid #333;
}

.footer-col h4 {
  color: var(--bg-card);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-lg);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-col a {
  color: #A0A0A0;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--bg-card);
}

.footer-col .social-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-col .social-links a {
  display: inline-block;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #666;
  font-size: 12px;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-legal {
  display: flex;
  gap: var(--space-lg);
}

.footer-legal a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: #A0A0A0;
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
  }

  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input {
    width: 100%;
  }
}

/* ==========================================================================
   STICKY CART BAR (Product Detail)
   ========================================================================== */
.sticky-cart-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: var(--space-sm) 0;
  z-index: 1000;
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.sticky-cart-bar.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.sticky-cart-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sticky-cart-info {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.sticky-cart-img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.sticky-cart-title {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 2px 0;
}

.sticky-cart-price {
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 480px) {
  .sticky-cart-info .sticky-cart-title {
    font-size: 12px;
  }

  .sticky-cart-info .sticky-cart-img {
    display: none;
  }
}

/* ── Accordions (Global) ──────────────────────────────────────── */
.accordion-group {
  border-top: 1px solid var(--border);
  margin-top: 0;
}

.accordion {
  border-bottom: 1px solid var(--border);
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-body);
  letter-spacing: 0.01em;
  transition: color 0.15s;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.accordion-header:hover {
  color: var(--text-heading);
}

.accordion-header svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  transition: transform 0.28s ease;
  flex-shrink: 0;
}

.accordion.active .accordion-header {
  color: var(--text-heading);
}

.accordion.active .accordion-header svg {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion-inner {
  padding-bottom: 14px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}.order-list-item:hover {
  border-color: var(--primary) !important;
  background-color: #fafafa;
}
