/* =============================================================
   SEA MIRACLE — HOMEPAGE CSS
   Brand: professional gradient green (#0d9488 → #059669 → #16a34a)
   ============================================================= */

:root {
  /* Green palette */
  --g-50:  #f0fdf4; --g-100: #dcfce7; --g-200: #bbf7d0;
  --g-300: #86efac; --g-400: #4ade80; --g-500: #22c55e;
  --g-600: #16a34a; --g-700: #15803d;
  /* Teal palette */
  --t-100: #ccfbf1; --t-200: #99f6e4; --t-300: #5eead4;
  --t-400: #2dd4bf; --t-500: #14b8a6; --t-600: #0d9488;
  --t-700: #0f766e; --t-800: #115e59; --t-900: #134e4a;
  /* Grays */
  --gray-50:  #f9fafb; --gray-100: #f3f4f6; --gray-200: #e5e7eb;
  --gray-300: #d1d5db; --gray-400: #9ca3af; --gray-500: #6b7280;
  --gray-600: #4b5563; --gray-700: #374151; --gray-800: #1f2937;
  --gray-900: #111827;
  /* Gradients */
  --grad: linear-gradient(135deg, #0d9488 0%, #059669 52%, #16a34a 100%);
  --grad-light: linear-gradient(135deg, #f0fdf4 0%, #ccfbf1 100%);
  /* Shadows */
  --sh-sm: 0 1px 3px rgba(0,0,0,.08);
  --sh:    0 4px 12px rgba(0,0,0,.08);
  --sh-md: 0 8px 24px rgba(0,0,0,.1);
  --sh-lg: 0 16px 40px rgba(0,0,0,.12);
  --sh-xl: 0 24px 60px rgba(0,0,0,.18);
  /* Misc */
  --radius-sm: 8px; --radius: 12px; --radius-lg: 16px;
  --radius-xl: 20px; --radius-2xl: 28px; --radius-full: 9999px;
  --font: 'Poppins', sans-serif;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --trans: all .3s var(--ease);
  --container: 1200px;
}

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--gray-800); background: #fff; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }
input { font-family: var(--font); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ── Layout ─────────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; min-width: 0; width: 100%; box-sizing: border-box; }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-full);
  font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: var(--trans); border: 2px solid transparent;
}
.btn-lg { padding: 12px 28px; font-size: 14px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 4px 16px rgba(13,148,136,.38); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(13,148,136,.48); }
.btn-outline { background: transparent; color: var(--t-700); border-color: var(--t-600); }
.btn-outline:hover { background: var(--grad); color: #fff; border-color: transparent; transform: translateY(-2px); }

/* ── Section labels ─────────────────────────────────── */
.section-tag {
  display: inline-block; background: var(--g-100); color: var(--t-700);
  padding: 4px 16px; border-radius: var(--radius-full);
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: 10px;
}
.section-title {
  font-size: clamp(26px, 4vw, 40px); font-weight: 800;
  color: var(--gray-900); line-height: 1.2; margin-bottom: 12px;
}
.section-title span { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-sub { font-size: 15px; color: var(--gray-500); line-height: 1.75; max-width: 540px; }
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ── Animations ─────────────────────────────────────── */
@keyframes fadeUp   { from { opacity:0; transform:translateY(32px); } to { opacity:1; transform:none; } }
@keyframes fadeLeft { from { opacity:0; transform:translateX(-28px); } to { opacity:1; transform:none; } }
@keyframes fadeRight{ from { opacity:0; transform:translateX(28px); } to { opacity:1; transform:none; } }
@keyframes floatY   { 0%,100%{transform:translateY(0)}  50%{transform:translateY(-14px)} }
@keyframes floatYCentered { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(-14px)} }
@keyframes gradShift{ 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }
@keyframes scrollX  { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
@keyframes spin     { from{transform:rotate(0)} to{transform:rotate(360deg)} }
@keyframes pulse    { 0%,100%{transform:scale(1)} 50%{transform:scale(1.05)} }
/* Title gradient shimmer — yellow-gold › mint › teal › yellow-gold */
@keyframes gradText   { 0%{background-position:0% center} 100%{background-position:200% center} }
@keyframes fadeLineIn { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:none} }
@keyframes btnShine   { 0%{left:-100%} 60%,100%{left:110%} }

.aos { opacity: 0; transform: translateY(28px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.aos.show { opacity: 1; transform: none; }
.d1 { transition-delay: .1s !important; }
.d2 { transition-delay: .2s !important; }
.d3 { transition-delay: .3s !important; }
.d4 { transition-delay: .4s !important; }

/* ══════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════ */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(13,148,136,.1);
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }

/* Logo */
.nav-logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: var(--t-700); flex-shrink: 0; }
.nav-logo img { height: 48px; width: auto; object-fit: contain; }
.nav-logo-icon { width: 44px; height: 44px; background: var(--grad); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; flex-shrink: 0; }

/* Links */
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--gray-600); position: relative; padding: 4px 0; transition: color .25s; }
.nav-links a::after { content:''; position:absolute; bottom:-2px; left:0; width:0; height:2px; background:var(--grad); border-radius:2px; transition:width .3s; }
.nav-links a:hover, .nav-links a.active { color: var(--t-700); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* Actions */
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-phone { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--t-700); }
.nav-btn { background: var(--grad); color: #fff; padding: 10px 22px; border-radius: var(--radius-full); font-size: 13px; font-weight: 600; box-shadow: 0 4px 14px rgba(13,148,136,.3); transition: var(--trans); display: flex; align-items: center; gap: 6px; }
.nav-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(13,148,136,.42); }
/* User menu dropdown */
.nav-user-menu { position: relative; }
.nav-user-btn { display: flex; align-items: center; gap: 7px; background: var(--grad); color: #fff; padding: 9px 18px; border: none; border-radius: var(--radius-full); font-size: 13px; font-weight: 700; font-family: 'Poppins', sans-serif; cursor: pointer; transition: var(--trans); box-shadow: 0 4px 14px rgba(13,148,136,.3); }
.nav-user-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(13,148,136,.42); }
.nav-user-btn .uname { max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-user-btn .fa-chevron-down { font-size: 10px; transition: transform .2s; }
.nav-user-btn[aria-expanded="true"] .fa-chevron-down { transform: rotate(180deg); }
.nav-user-dropdown { display: none; position: absolute; right: 0; top: calc(100% + 10px); background: #fff; border-radius: 14px; box-shadow: 0 10px 40px rgba(0,0,0,.13); min-width: 200px; padding: 6px 0; z-index: 1100; border: 1px solid #f0fdf4; }
.nav-user-dropdown.open { display: block; }
.nav-user-hello { padding: 11px 16px 9px; border-bottom: 1px solid #f3f4f6; margin-bottom: 4px; }
.nav-user-hello small { display: block; font-size: 11px; color: #9ca3af; font-weight: 500; }
.nav-user-hello strong { display: block; font-size: 14px; font-weight: 700; color: #111827; margin-top: 1px; }
.nav-user-dropdown a, .nav-logout-btn { display: flex; align-items: center; gap: 9px; padding: 9px 16px; font-size: 13px; color: #374151; text-decoration: none; font-weight: 500; background: none; border: none; width: 100%; text-align: left; cursor: pointer; font-family: 'Poppins', sans-serif; transition: background .15s; white-space: nowrap; }
.nav-user-dropdown a:hover { background: #f0fdf4; color: var(--t-700); }
.nav-user-dropdown a i, .nav-logout-btn i { width: 16px; text-align: center; color: var(--t-600); }
.nav-logout-btn { color: #ef4444; }
.nav-logout-btn i { color: #ef4444; }
.nav-logout-btn:hover { background: #fef2f2; color: #dc2626; }
.nav-user-sep { border: none; border-top: 1px solid #f3f4f6; margin: 4px 0; }
.mob-user-info { padding: 12px 20px; background: var(--g-50); display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--g-200); }
.mob-user-info i { font-size: 22px; color: var(--t-600); }
.mob-user-info span { font-size: 13px; font-weight: 600; color: var(--gray-700); }
.mob-logout-btn { background: none; border: none; padding: 12px 20px; font-size: 14px; font-weight: 600; color: #ef4444; font-family: 'Poppins', sans-serif; width: 100%; text-align: left; cursor: pointer; display: flex; align-items: center; gap: 8px; }
.nav-cart { position: relative; width: 42px; height: 42px; border-radius: 50%; background: var(--g-50); border: 1px solid var(--g-200); display: flex; align-items: center; justify-content: center; color: var(--t-700); font-size: 17px; transition: var(--trans); cursor: pointer; }
.nav-cart:hover { background: var(--t-600); color: #fff; transform: translateY(-2px); }
.nav-cart-count { position: absolute; top: -4px; right: -4px; width: 18px; height: 18px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; line-height: 1; }
.nav-cart-count:empty { display: none; }
.nav-wishlist { position: relative; width: 42px; height: 42px; border-radius: 50%; background: var(--g-50); border: 1px solid var(--g-200); display: flex; align-items: center; justify-content: center; color: #e11d48; font-size: 17px; transition: var(--trans); cursor: pointer; }
.nav-wishlist:hover { background: #fee2e2; border-color: #fca5a5; transform: translateY(-2px); }
.nav-wishlist-count { position: absolute; top: -4px; right: -4px; width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg,#e11d48,#f43f5e); color: #fff; font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; line-height: 1; }
.nav-wishlist-count:empty { display: none; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--gray-700); border-radius: 2px; display: block; transition: var(--trans); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav { display: none; position: fixed; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--gray-200); padding: 12px 24px 24px; box-shadow: var(--sh-md); z-index: 999; animation: fadeUp .2s ease; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 13px 0; font-size: 15px; font-weight: 500; color: var(--gray-700); border-bottom: 1px solid var(--gray-100); transition: color .2s; }
.mobile-nav a:hover { color: var(--t-700); }
.mobile-nav .mob-btn { display: block; margin-top: 16px; text-align: center; background: var(--grad); color: #fff; padding: 13px; border-radius: var(--radius-full); font-size: 14px; font-weight: 600; border: none; }

/* ══════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: calc(100vh - 72px); display: flex; align-items: center;
  overflow: hidden;
  background: #0a2e24;
}
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center center; background-repeat: no-repeat;
  opacity: 0; transition: opacity 1.4s ease; will-change: opacity;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to right, rgba(4,40,28,.85) 0%, rgba(6,55,38,.70) 38%, rgba(6,55,38,.36) 65%, rgba(6,55,38,.20) 100%),
    linear-gradient(180deg, rgba(4,30,22,.22) 0%, rgba(4,30,22,.38) 100%);
}
.hero::before,
.hero::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; z-index: 2; }
.hero::before { width: 520px; height: 520px; background: rgba(255,255,255,.04); top: -12%; right: -6%; }
.hero::after  { width: 380px; height: 380px; background: rgba(255,255,255,.03); bottom: -18%; left: -8%; }

/* Slider dots */
.hero-dots {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10; align-items: center;
}
.hero-dot {
  width: 10px; height: 10px; border-radius: var(--radius-full);
  background: rgba(255,255,255,.4); border: 2px solid rgba(255,255,255,.55);
  cursor: pointer; transition: all .35s; padding: 0; flex-shrink: 0;
}
.hero-dot.active { background: #fff; border-color: #fff; width: 28px; }

/* Slider arrows */
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,.3); color: #fff; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--trans);
}
.hero-arrow:hover { background: rgba(255,255,255,.3); transform: translateY(-50%) scale(1.08); }
.hero-arrow.prev { left: 20px; }
.hero-arrow.next { right: 20px; }

.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; padding: 28px 0; }
.hero-grid > * { min-width: 0; }

/* Hero content */
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.18); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; padding: 6px 16px; border-radius: var(--radius-full); font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 14px; border: 1px solid rgba(255,255,255,.28); animation: fadeLeft .6s ease both; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.hero-h1 {
  font-size: clamp(30px, 4vw, 56px); font-weight: 800; line-height: 1.12; margin-bottom: 14px;
}
/* Gradient applied directly on each span so background-clip: text has real text nodes to clip to */
.hero-h1 .hl {
  display: block;
  background: linear-gradient(90deg,
    #fde68a 0%, #fbbf24 12%, #a7f3d0 28%, #2dd4bf 44%,
    #6ee7b7 58%, #34d399 70%, #fde68a 84%, #fbbf24 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-h1 .hl1 { animation: fadeLineIn .65s .05s ease both, gradText 5s linear infinite; }
.hero-h1 .hl2 { animation: fadeLineIn .65s .32s ease both, gradText 5s .3s linear infinite; }
.hero-p { font-size: 14px; color: rgba(255,255,255,.95); max-width: 460px; line-height: 1.7; margin-bottom: 20px; animation: fadeLineIn .65s .55s var(--ease) both; text-shadow: 0 1px 6px rgba(0,0,0,.55); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 0; animation: fadeLineIn .65s .72s var(--ease) both; }

/* ── Shop Now button ── */
.hero-btn-primary {
  position: relative; overflow: hidden;
  background: #fff; color: var(--t-700);
  box-shadow: 0 6px 22px rgba(0,0,0,.18);
  z-index: 0;
}
.hero-btn-primary .btn-shine {
  position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(13,148,136,.18), transparent);
  animation: btnShine 3.2s 1.5s ease infinite;
  pointer-events: none;
}
.hero-btn-primary:hover {
  background: var(--g-50);
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 32px rgba(0,0,0,.22);
}
.hero-btn-primary:active { transform: translateY(0) scale(.97); box-shadow: 0 4px 12px rgba(0,0,0,.15); }

/* ── Our Story button ── */
.hero-btn-outline {
  position: relative; overflow: hidden;
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,.55);
  z-index: 0;
}
.hero-btn-outline .btn-fill {
  position: absolute; inset: 0;
  background: rgba(255,255,255,.12);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
  pointer-events: none;
}
.hero-btn-outline:hover .btn-fill { transform: scaleX(1); }
.hero-btn-outline:hover {
  border-color: rgba(255,255,255,.85);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,.2);
}
.hero-btn-outline:active { transform: translateY(0) scale(.97); }

/* Hero visual */
.hero-visual { position: relative; display: flex; width: 100%; align-items: center; justify-content: flex-end; animation: fadeRight .8s .15s ease both; padding-right: 32px; }
/* Hero card — product showcase. Solid opaque card (not dependent on the photo
   behind it) so it stays crisp and readable regardless of the hero slide. */
.hero-card {
  position: relative;
  background: linear-gradient(160deg, #12463a 0%, #0d3a2f 45%, #0a2e26 100%);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 22px;
  padding: 22px 20px 20px;
  animation: floatY 5s ease-in-out infinite;
  max-width: 300px; width: 100%;
  box-shadow: 0 24px 60px rgba(0,0,0,.4), 0 2px 0 rgba(255,255,255,.06) inset;
  overflow: hidden;
}
/* Soft brand-color glow accents — pure CSS, no image, always consistent */
.hero-card::before {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  top: -60px; right: -60px; width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(52,211,153,.35) 0%, transparent 70%);
}
.hero-card::after {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  bottom: -70px; left: -50px; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(251,191,36,.16) 0%, transparent 70%);
}
/* This block previously held a translucent product-image collage; removed —
   it caused low-contrast "ghosting" behind the text. The card is opaque now. */
.hero-card-bg { display: none; }

.hero-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; position: relative; z-index: 2; }
.hero-prod-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; position: relative; z-index: 2; }
.hero-card-htag { display: flex; align-items: center; gap: 6px; background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #1f2937; padding: 4px 12px; border-radius: var(--radius-full); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; box-shadow: 0 3px 10px rgba(251,191,36,.35); }
.hero-card-all  { font-size: 11px; color: rgba(255,255,255,.7); font-weight: 500; transition: color .2s; display: flex; align-items: center; gap: 4px; }
.hero-card-all:hover { color: #fff; }

.hero-prod-row   { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 9px 10px; transition: background .2s, border-color .2s; }
.hero-prod-row:hover { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.16); }
.hero-prod-ico   { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.hero-prod-info  { flex: 1; min-width: 0; }
.hero-prod-name  { font-size: 12px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3; }
.hero-prod-price { font-size: 11px; color: rgba(255,255,255,.72); margin-top: 2px; display: flex; align-items: center; gap: 5px; }
.hero-prod-cat   { background: rgba(255,255,255,.14); color: rgba(255,255,255,.9); padding: 1px 7px; border-radius: var(--radius-full); font-size: 10px; }
.hero-prod-rank  { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; flex-shrink: 0; }
.hero-prod-rank.r1 { background: rgba(251,191,36,.3); color: #fbbf24; }
.hero-prod-rank.r2 { background: rgba(156,163,175,.2); color: rgba(255,255,255,.8); }
.hero-prod-rank.r3 { background: rgba(180,130,90,.2); color: rgba(210,165,110,.9); }

.hero-cats { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 7px; }
.hero-cat-pill { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.92); padding: 4px 11px; border-radius: var(--radius-full); font-size: 10px; font-weight: 600; transition: background .2s; cursor: default; }
.hero-cat-pill:hover { background: rgba(255,255,255,.14); }

.hero-mini { position: absolute; background: #fff; border-radius: var(--radius-lg); padding: 10px 14px; box-shadow: var(--sh-lg); display: flex; align-items: center; gap: 10px; white-space: nowrap; z-index: 5; }
.hero-mini strong { display: block; font-size: 12px; color: var(--gray-800); }
.hero-mini span   { font-size: 10px; color: var(--gray-400); }
.mini-ico { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
/* m1: top-right corner, floats mostly outside the card so it never covers the product list */
.hero-mini.m1 { top: -56px; right: -20px; animation: floatY 3.2s ease-in-out infinite; }
/* m2: bottom-left corner, floats mostly outside the card so it never covers the category pills */
.hero-mini.m2 { bottom: -56px; left: -20px; animation: floatY 4s .6s ease-in-out infinite; }

/* ══════════════════════════════════════════════════════
   TRUST BAR
══════════════════════════════════════════════════════ */
.trust-bar { background: #fff; border-bottom: 1px solid var(--gray-100); overflow: hidden; }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); }

.trust-item {
  display: flex; align-items: center; gap: 14px;
  padding: 22px 24px;
  border-right: 1px solid var(--gray-100);
  position: relative;
  cursor: default;
  transition: background .3s ease, transform .3s ease, box-shadow .3s ease;
  overflow: hidden;
}
.trust-item::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
  border-radius: 3px 3px 0 0;
}
.trust-item:last-child { border-right: none; }
.trust-item:hover {
  background: var(--g-50);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(13,148,136,.1);
  z-index: 1;
}
.trust-item:hover::before { transform: scaleX(1); }

.trust-ico {
  width: 48px; height: 48px;
  background: var(--grad-light);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--t-600); font-size: 20px;
  flex-shrink: 0;
  transition: background .3s ease, transform .35s cubic-bezier(.34,1.56,.64,1), color .3s ease, box-shadow .3s ease;
}
.trust-item:hover .trust-ico {
  background: var(--grad);
  color: #fff;
  transform: scale(1.15) rotate(-6deg);
  box-shadow: 0 6px 16px rgba(13,148,136,.32);
}

.trust-txt strong {
  display: block; font-size: 13px; font-weight: 600; color: var(--gray-800); line-height: 1.3;
  transition: color .25s ease;
}
.trust-item:hover .trust-txt strong { color: var(--t-700); }
.trust-txt span { font-size: 11px; color: var(--gray-400); transition: color .25s ease; }
.trust-item:hover .trust-txt span { color: var(--t-600); opacity: .85; }

/* ══════════════════════════════════════════════════════
   CATEGORIES
══════════════════════════════════════════════════════ */
.sec-categories { padding: 88px 0; background: var(--gray-50); }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px; margin-top: 44px;
}

/* Card shell */
.cat-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(0,0,0,.08);
  transition: transform .38s cubic-bezier(.34,1.4,.64,1), box-shadow .38s ease;
  background: var(--gray-100);
  cursor: pointer;
}
.cat-card:hover {
  transform: translateY(-8px) scale(1.025);
  box-shadow: 0 18px 44px rgba(13,148,136,.22);
}

/* Image area */
.cat-visual {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: var(--g-100);
}

/* Slides */
.cat-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .55s ease, transform .55s ease;
  transform: scale(1.06);
}
.cat-slide.active {
  opacity: 1;
  transform: scale(1);
}
/* Hover: slightly zoom active slide */
.cat-card:hover .cat-slide.active { transform: scale(1.07); }

/* Placeholder when no images */
.cat-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--g-100) 0%, var(--g-200) 100%);
}
.cat-placeholder i { font-size: 48px; color: var(--t-400); opacity: .6; }

/* Gradient overlay on image */
.cat-grad {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(4,40,28,.72) 0%, rgba(4,40,28,.18) 55%, transparent 100%);
  transition: opacity .35s;
}
.cat-card:hover .cat-grad {
  background: linear-gradient(to top, rgba(4,40,28,.85) 0%, rgba(4,40,28,.3) 60%, transparent 100%);
}

/* Product count badge */
.cat-count-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(4,40,28,.45);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #a7f3d0;
  font-size: 10px; font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(52,211,153,.35);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Label bar */
.cat-label {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  background: #fff;
  border-top: 1px solid var(--gray-100);
  transition: background .3s;
}
.cat-card:hover .cat-label { background: var(--g-50); }

.cat-name {
  font-size: 14px; font-weight: 700;
  color: var(--gray-800);
  line-height: 1.3;
  transition: color .25s;
}
.cat-card:hover .cat-name { color: var(--t-700); }

.cat-arrow {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--g-100);
  display: flex; align-items: center; justify-content: center;
  color: var(--t-600);
  font-size: 11px;
  flex-shrink: 0;
  transition: background .3s ease, transform .35s cubic-bezier(.34,1.4,.64,1), color .3s;
}
.cat-card:hover .cat-arrow {
  background: var(--grad);
  color: #fff;
  transform: translateX(4px);
}


/* ══════════════════════════════════════════════════════
   BEFORE & AFTER
══════════════════════════════════════════════════════ */
.sec-bna {
  padding: 96px 0; background: #fff; position: relative; overflow: hidden;
}
/* Decorative background blob */
.bna-bg-blob {
  position: absolute; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(13,148,136,.07) 0%, transparent 70%);
  top: -180px; right: -180px; pointer-events: none; z-index: 0;
}
.bna-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 72px;
}

/* ── Content side ── */
.bna-tag {
  display: inline-flex; align-items: center; gap: 7px;
  background: linear-gradient(135deg, rgba(251,191,36,.15), rgba(253,230,138,.25));
  color: #92400e; border: 1px solid rgba(251,191,36,.4);
  padding: 6px 14px; border-radius: 20px;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 18px; display: inline-flex;
}
.bna-tag i { color: #f59e0b; }

.bna-title {
  font-size: clamp(28px, 3.2vw, 46px); font-weight: 800;
  color: var(--gray-900); line-height: 1.15; margin-bottom: 18px;
}
.bna-title span {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bna-desc {
  font-size: 15px; color: var(--gray-500); line-height: 1.75;
  margin-bottom: 28px; max-width: 460px;
}

/* Mini stats */
.bna-stats {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 30px; flex-wrap: wrap;
}
.bna-stat strong {
  display: block; font-size: 24px; font-weight: 800;
  color: var(--t-700); line-height: 1;
}
.bna-stat span { font-size: 11px; color: var(--gray-400); font-weight: 500; }
.bna-stat-sep { width: 1px; height: 36px; background: var(--gray-200); flex-shrink: 0; }

/* Price + CTA row */
.bna-cta-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.bna-price { display: flex; align-items: baseline; gap: 8px; }
.bna-price-main { font-size: 28px; font-weight: 800; color: var(--t-700); }
.bna-price-old  { font-size: 16px; color: var(--gray-400); text-decoration: line-through; }

.bna-btn {
  position: relative; overflow: hidden;
  background: var(--grad); color: #fff;
  box-shadow: 0 8px 24px rgba(13,148,136,.32);
  transition: transform .3s ease, box-shadow .3s ease;
}
.bna-btn:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 14px 32px rgba(13,148,136,.42); }
.bna-btn:active { transform: scale(.97); }

/* Trust pills */
.bna-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.bna-pills span {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--t-700);
  background: var(--g-50); border: 1px solid var(--t-200);
  padding: 5px 12px; border-radius: 20px;
}
.bna-pills span i { font-size: 11px; }

/* ── Visual side ── */
.bna-visual { position: relative; }

/* Split comparison slider */
.bna-split {
  position: relative; border-radius: 24px; overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.14);
  -webkit-user-select: none; user-select: none; aspect-ratio: 4/3;
  cursor: col-resize;
}
.bna-before,
.bna-after {
  position: absolute; inset: 0;
}
.bna-before img,
.bna-after img {
  width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none;
}
.bna-before { z-index: 1; }
.bna-after  { z-index: 2; clip-path: inset(0 50% 0 0); transition: clip-path 0s; }

/* Labels */
.bna-label {
  position: absolute; bottom: 18px;
  padding: 6px 16px; border-radius: 20px;
  font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  z-index: 4; pointer-events: none;
}
.bna-label-before {
  left: 16px;
  background: rgba(30,30,30,.72); color: rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.bna-label-after {
  right: 16px;
  background: var(--grad); color: #fff;
  box-shadow: 0 4px 12px rgba(13,148,136,.4);
}

/* Drag divider */
.bna-divider {
  position: absolute; top: 0; bottom: 0;
  left: 50%; transform: translateX(-50%);
  width: 4px; background: #fff;
  z-index: 5; cursor: col-resize;
  box-shadow: 0 0 0 1px rgba(0,0,0,.12);
}
.bna-handle {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 42px; height: 42px; border-radius: 50%;
  background: #fff; box-shadow: 0 4px 18px rgba(0,0,0,.22);
  display: flex; align-items: center; justify-content: center; gap: 3px;
  font-size: 11px; color: var(--t-600);
  transition: transform .2s ease, box-shadow .2s;
}
.bna-handle:hover,
.bna-split:hover .bna-handle { transform: translate(-50%,-50%) scale(1.12); box-shadow: 0 6px 22px rgba(13,148,136,.3); }

/* Product badge overlay */
.bna-prod-badge {
  position: absolute; bottom: -20px; left: -24px;
  background: #fff; border-radius: 16px;
  padding: 10px 14px 10px 10px;
  box-shadow: 0 8px 28px rgba(0,0,0,.12);
  display: flex; align-items: center; gap: 12px;
  animation: floatY 4s ease-in-out infinite;
  z-index: 6;
}
.bna-prod-badge img { width: 52px; height: 52px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.bna-prod-info strong { display: block; font-size: 12px; font-weight: 700; color: var(--gray-800); max-width: 130px; line-height: 1.3; }
.bna-prod-info span   { font-size: 13px; font-weight: 800; color: var(--t-700); }

/* Responsive */
@media (max-width: 900px) {
  .bna-grid { grid-template-columns: 1fr; gap: 44px; }
  .bna-visual { max-width: 480px; margin: 0 auto; }
  .bna-prod-badge { left: 0; bottom: -16px; }
}
@media (max-width: 520px) {
  .bna-stats { gap: 14px; }
  .bna-cta-row { flex-direction: column; align-items: flex-start; }
  .bna-prod-badge { display: none; }
}


/* ══════════════════════════════════════════════════════
   PRODUCTS
══════════════════════════════════════════════════════ */
.sec-products { padding: 88px 0; background: #fff; }
.products-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 44px; flex-wrap: wrap; }
/* Carousel */
.prod-carousel-wrap { position: relative; display: flex; align-items: center; gap: 16px; }
.prod-carousel { overflow: hidden; flex: 1; min-width: 0; }
.prod-track { display: flex; gap: 22px; transition: transform .48s cubic-bezier(.25,.8,.25,1); will-change: transform; }
.prod-carr-btn { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 2px solid var(--t-200); color: var(--t-600); font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 12px rgba(0,0,0,.1); transition: var(--trans); }
.prod-carr-btn:hover:not(:disabled) { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 4px 16px rgba(13,148,136,.3); }
.prod-carr-btn:disabled { opacity: .3; cursor: default; }

/* Card */
.prod-card { background: #fff; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--gray-100); transition: var(--trans); position: relative; box-shadow: var(--sh-sm); flex: 0 0 265px; }
.prod-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(0,0,0,.1); border-color: rgba(13,148,136,.18); }
.prod-img { position: relative; overflow: hidden; aspect-ratio: 1/1; background: var(--gray-50); }
.prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.prod-card:hover .prod-img img { transform: scale(1.08); }
.prod-no-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--g-50), var(--t-100)); font-size: 52px; color: var(--t-300); }
.prod-badge { position: absolute; top: 12px; left: 12px; background: var(--grad); color: #fff; padding: 3px 10px; border-radius: var(--radius-full); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.prod-badge.sale { background: linear-gradient(135deg, #f43f5e, #e11d48); }
.prod-out { position: absolute; top: 12px; right: 12px; background: rgba(239,68,68,.9); color: #fff; padding: 3px 8px; border-radius: var(--radius-full); font-size: 9px; font-weight: 700; }
.prod-low { position: absolute; top: 12px; right: 12px; background: rgba(245,158,11,.9); color: #fff; padding: 3px 8px; border-radius: var(--radius-full); font-size: 9px; font-weight: 700; }
.prod-body { padding: 16px; }
.prod-cat  { font-size: 11px; color: var(--t-600); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 5px; }
.prod-name { font-size: 14px; font-weight: 600; color: var(--gray-800); line-height: 1.4; margin-bottom: 7px; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prod-sdesc { font-size: 12px; color: var(--gray-400); margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prod-price-row { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.prod-price { font-size: 19px; font-weight: 700; color: var(--t-700); }
.prod-orig  { font-size: 13px; color: var(--gray-400); text-decoration: line-through; }
.prod-disc  { font-size: 11px; font-weight: 700; color: var(--g-600); background: var(--g-100); padding: 2px 7px; border-radius: var(--radius-full); }
.prod-view-btn { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; padding: 10px 14px; background: var(--grad); color: #fff; border-radius: var(--radius-full); font-size: 12px; font-weight: 600; transition: var(--trans); }
.prod-view-btn:hover { opacity: .9; transform: translateY(-1px); color: #fff; }
.prod-empty { text-align: center; padding: 60px 20px; color: var(--gray-400); flex: 0 0 100%; }
.prod-empty i { font-size: 48px; margin-bottom: 14px; display: block; }
.view-all { text-align: center; margin-top: 48px; }

/* ══════════════════════════════════════════════════════
   BRAND STORY
══════════════════════════════════════════════════════ */
.sec-story { padding: 96px 0; background: var(--g-50); overflow: hidden; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.story-grid > * { min-width: 0; }

.story-vis { position: relative; overflow: visible; }
.story-img-box { border-radius: var(--radius-2xl); overflow: hidden; aspect-ratio: 4/3; background: var(--grad); display: flex; align-items: center; justify-content: center; box-shadow: var(--sh-xl); position: relative; }
.story-img-box .story-icon { font-size: 72px; color: rgba(255,255,255,.9); }

/* Scrolling product strip */
.story-scroll-track { display: flex; flex-direction: column; gap: 12px; animation: storyScrollUp 22s linear infinite; width: 100%; padding: 12px; }
.story-scroll-track:hover { animation-play-state: paused; }
.story-scroll-item { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.15); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-radius: var(--radius-lg); padding: 10px 14px; flex-shrink: 0; transition: background .2s; }
.story-scroll-item:hover { background: rgba(255,255,255,0.28); }
.story-scroll-item img { width: 52px; height: 52px; object-fit: cover; border-radius: var(--radius); background: rgba(255,255,255,.2); flex-shrink: 0; }
.story-scroll-label { font-size: 12px; font-weight: 600; color: #fff; line-clamp: 2; -webkit-line-clamp: 2; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; }

/* Fade mask top & bottom */
.story-img-box::before, .story-img-box::after { content:''; position: absolute; left: 0; right: 0; height: 56px; z-index: 2; pointer-events: none; }
.story-img-box::before { top: 0; background: linear-gradient(to bottom, var(--t-700) 0%, transparent 100%); border-radius: var(--radius-2xl) var(--radius-2xl) 0 0; }
.story-img-box::after  { bottom: 0; background: linear-gradient(to top, var(--t-700) 0%, transparent 100%); border-radius: 0 0 var(--radius-2xl) var(--radius-2xl); }

@keyframes storyScrollUp { 0% { transform: translateY(0); } 100% { transform: translateY(-50%); } }
.story-float { position: absolute; bottom: -18px; right: -18px; background: #fff; border-radius: var(--radius-lg); padding: 16px 20px; box-shadow: var(--sh-lg); display: flex; align-items: center; gap: 12px; z-index: 3; animation: storyFloatBob 3.2s ease-in-out infinite; }
@keyframes storyFloatBob {
  0%   { transform: translateY(0)    rotate(-1deg); box-shadow: 0 8px 24px rgba(13,148,136,.15); }
  30%  { transform: translateY(-10px) rotate(0deg);  box-shadow: 0 18px 36px rgba(13,148,136,.22); }
  60%  { transform: translateY(-6px)  rotate(1deg);  box-shadow: 0 14px 30px rgba(13,148,136,.18); }
  100% { transform: translateY(0)    rotate(-1deg); box-shadow: 0 8px 24px rgba(13,148,136,.15); }
}
.story-float-ico { width: 44px; height: 44px; background: var(--grad); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; flex-shrink: 0; }
.story-float-num { font-size: 22px; font-weight: 800; color: var(--gray-900); line-height: 1; }
.story-float-lbl { font-size: 11px; color: var(--gray-500); }

.story-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.story-feat { display: flex; align-items: flex-start; gap: 10px; min-width: 0; background: #fff; border-radius: var(--radius); padding: 14px; box-shadow: var(--sh-sm); border: 1.5px solid transparent; cursor: default; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease; }
.story-feat:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(13,148,136,.13); border-color: var(--t-200); background: var(--g-50); }
.story-feat-ico { width: 36px; height: 36px; background: var(--g-100); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--t-700); font-size: 15px; flex-shrink: 0; transition: background .22s ease, color .22s ease, transform .22s ease; }
.story-feat:hover .story-feat-ico { background: var(--grad); color: #fff; transform: rotate(8deg) scale(1.15); }
.story-feat strong { display: block; font-size: 13px; font-weight: 600; color: var(--gray-800); transition: color .22s ease; }
.story-feat:hover strong { color: var(--t-700); }
.story-feat span   { font-size: 11px; color: var(--gray-400); }
.story-cta { margin-top: 32px; }

/* ══════════════════════════════════════════════════════
   FEATURES
══════════════════════════════════════════════════════ */
.sec-features { padding: 96px 0; background: #fff; }
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 52px; }
.feat-card { min-width: 0; text-align: center; padding: 38px 24px; border-radius: var(--radius-xl); background: var(--gray-50); border: 2px solid transparent; transition: var(--trans); }
.feat-card:hover { background: #fff; border-color: var(--t-200); transform: translateY(-5px); box-shadow: 0 16px 36px rgba(13,148,136,.1); }
.feat-ico { width: 72px; height: 72px; background: var(--grad); border-radius: 20px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 28px; color: #fff; transition: var(--trans); position: relative; }
.feat-ico::after { content:''; position:absolute; inset:0; border-radius:20px; background:var(--grad); opacity:.15; transform:scale(1.2); z-index:-1; transition:var(--trans); }
.feat-card:hover .feat-ico::after { transform: scale(1.45); opacity:.12; }
.feat-title { font-size: 16px; font-weight: 700; color: var(--gray-800); margin-bottom: 10px; overflow-wrap: break-word; }
.feat-desc  { font-size: 13px; color: var(--gray-500); line-height: 1.65; }

/* ══════════════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════════════ */
.sec-testimonials { padding: 96px 0; background: var(--gray-50); overflow: hidden; }
.testi-wrap { overflow: hidden; margin-top: 52px; }
.testi-track { display: flex; gap: 24px; animation: scrollX 36s linear infinite; width: max-content; }
.testi-track:hover { animation-play-state: paused; }
.testi-card { background: #fff; border-radius: var(--radius-xl); padding: 28px; width: 316px; flex-shrink: 0; box-shadow: var(--sh); border: 1px solid var(--gray-100); }
.testi-stars { display: flex; gap: 3px; margin-bottom: 14px; }
.testi-stars i { color: #f59e0b; font-size: 13px; }
.testi-text { font-size: 13px; color: var(--gray-600); line-height: 1.72; margin-bottom: 18px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-av { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; font-weight: 700; flex-shrink: 0; }
.testi-name { font-size: 14px; font-weight: 600; color: var(--gray-800); }
.testi-prod { font-size: 11px; color: var(--t-600); font-weight: 500; }
.testi-verified { display: flex; align-items: center; gap: 4px; font-size: 10px; color: var(--t-600); margin-top: 2px; }

/* ══════════════════════════════════════════════════════
   NEWSLETTER
══════════════════════════════════════════════════════ */
.sec-newsletter { padding: 84px 0; background: var(--grad); background-size: 200% 200%; animation: gradShift 10s ease infinite; position: relative; overflow: hidden; }
.sec-newsletter::before { content:''; position:absolute; top:-50%; right:-10%; width:500px; height:500px; background:rgba(255,255,255,.05); border-radius:50%; pointer-events:none; }
.sec-newsletter::after  { content:''; position:absolute; bottom:-40%; left:-5%; width:380px; height:380px; background:rgba(255,255,255,.05); border-radius:50%; pointer-events:none; }
.nl-inner { position: relative; z-index: 2; text-align: center; }
.nl-title { font-size: clamp(26px, 3.5vw, 38px); font-weight: 800; color: #fff; margin-bottom: 12px; }
.nl-sub   { font-size: 15px; color: rgba(255,255,255,.82); margin-bottom: 36px; }
.nl-form  { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; }
.nl-input { flex: 1; background: rgba(255,255,255,.15); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.3); border-radius: var(--radius-full); padding: 14px 22px; font-size: 14px; color: #fff; font-family: var(--font); }
.nl-input::placeholder { color: rgba(255,255,255,.6); }
.nl-input:focus { outline: none; border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.22); }
.nl-btn { background: #fff; color: var(--t-700); border-radius: var(--radius-full); padding: 14px 28px; font-size: 14px; font-weight: 700; transition: var(--trans); white-space: nowrap; font-family: var(--font); display: flex; align-items: center; gap: 6px; }
.nl-btn:hover { background: var(--g-50); transform: translateY(-2px); }
.nl-msg { margin-top: 14px; font-size: 13px; color: rgba(255,255,255,.85); display: none; }

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
.footer { background: var(--gray-900); color: var(--gray-400); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.07); }

.foot-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.foot-logo img { height: 44px; width: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: .88; }
.foot-logo-ico { width: 44px; height: 44px; background: var(--grad); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; flex-shrink: 0; }
.foot-logo-name { font-size: 18px; font-weight: 700; color: #fff; }
.foot-desc { font-size: 13px; color: var(--gray-400); line-height: 1.72; margin-bottom: 20px; max-width: 260px; }
.foot-social { display: flex; gap: 10px; }
.foot-social a { width: 36px; height: 36px; background: rgba(255,255,255,.07); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gray-400); transition: var(--trans); font-size: 15px; }
.foot-social a:hover { background: var(--t-700); color: #fff; transform: translateY(-2px); }

.foot-col h3, .foot-col h4 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.foot-col h3::after, .foot-col h4::after { content:''; position:absolute; bottom:0; left:0; width:28px; height:2px; background:var(--t-600); border-radius:2px; }
.foot-links { display: flex; flex-direction: column; gap: 10px; }
.foot-links a { font-size: 13px; color: var(--gray-400); transition: var(--trans); display: flex; align-items: center; gap: 6px; }
.foot-links a i { font-size: 10px; color: var(--t-700); }
.foot-links a:hover { color: var(--t-400); padding-left: 4px; }

.foot-contact-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.foot-contact-row i { color: var(--t-500); font-size: 14px; margin-top: 2px; flex-shrink: 0; }
.foot-contact-row span,
.foot-contact-row a { font-size: 13px; color: var(--gray-400); line-height: 1.5; transition: color .2s; }
.foot-contact-row a:hover { color: var(--t-400); }

.foot-bottom { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; gap: 12px; flex-wrap: wrap; }
.foot-copy { font-size: 12px; color: var(--gray-500); }
.foot-bottom-links { display: flex; gap: 20px; }
.foot-bottom-links a { font-size: 12px; color: var(--gray-500); transition: color .2s; }
.foot-bottom-links a:hover { color: var(--t-400); }

/* ── Scroll-to-top ─────────────────────────────────── */
.scroll-top { position: fixed; bottom: 24px; right: 24px; width: 46px; height: 46px; background: var(--grad); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; box-shadow: 0 4px 18px rgba(13,148,136,.42); opacity: 0; transform: translateY(12px); transition: var(--trans); z-index: 999; cursor: pointer; border: none; }
.scroll-top.show { opacity: 1; transform: none; }

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .cat-grid   { grid-template-columns: repeat(3, 1fr); }
  /* prod-grid is a flex scroll row — no grid override needed */
  .feat-grid  { grid-template-columns: repeat(2, 1fr); }
  .footer-grid{ grid-template-columns: 1fr 1fr; gap: 36px; }
  .story-grid { gap: 52px; }
}
@media (max-width: 820px) {
  .nav-links, .nav-phone { display: none; }
  /* Account menu / guest sign-in button collapse into the hamburger menu on
     mobile (their links already exist inside .mobile-nav) — keeping them
     visible alongside cart/wishlist/hamburger caused the navbar to overflow
     horizontally on phones. */
  .nav-user-menu, .nav-actions .nav-btn { display: none; }
  .hamburger { display: flex; }
  /* Hero stacks on mobile */
  .hero { height: auto; min-height: calc(100vh - 72px); padding: 44px 0 60px; }
  .hero-grid  { grid-template-columns: 1fr; text-align: center; gap: 32px; padding: 0; }
  .hero-p     { margin-left: auto; margin-right: auto; }
  .hero-cta   { justify-content: center; }
  .hero-badge { margin-left: auto; margin-right: auto; }
  .hero-visual { max-width: 320px; margin: 72px auto 0; justify-content: center; padding-right: 0; }
  .hero-mini.m1 { top: -88px; left: 50%; right: auto; transform: translateX(-50%); animation: floatYCentered 3.2s ease-in-out infinite; }
  .hero-mini.m2 { bottom: -60px; left: auto; right: 10px; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-item { border-right: none; border-bottom: 1px solid var(--gray-100); }
  .trust-item:nth-child(odd)       { border-right: 1px solid var(--gray-100); }
  .trust-item:nth-last-child(-n+2) { border-bottom: none; }
  /* prod-grid flex scroll row */
  .story-grid { grid-template-columns: 1fr; }
  .story-float { right: 20px; }
  .feat-grid  { gap: 16px; }
  .nl-form    { flex-direction: column; }
  .footer-grid{ grid-template-columns: 1fr; gap: 28px; }
  .foot-bottom{ flex-direction: column; text-align: center; }
}
@media (max-width: 520px) {
  .cat-grid   { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cat-visual { height: 150px; }
  /* prod-grid flex scroll row */
  .feat-grid  { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero-grid  { padding: 0; }
  .trust-inner{ grid-template-columns: 1fr; }
  .trust-item { border-right: none !important; }
  .hero-card  { max-width: 100%; }
  .hero-cta   { gap: 10px; }
  .btn-lg     { padding: 11px 22px; font-size: 13px; }
}
@media (max-width: 360px) {
  .cat-grid  { grid-template-columns: 1fr; }
  /* prod-grid flex scroll row — no override */
}
