/* ============================================================================
   Tazeq store — design system
   Based on the Subi marketing design system (dark deep-teal + growth green)
   Adapted for a bilingual (HE/EN) electronics store.
   ========================================================================== */

@font-face {
  font-family: "TT Travels Text";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/tt-travels-text-medium.woff2") format("woff2");
}
@font-face {
  font-family: "TT Travels Text";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/tt-travels-text-demibold.woff2") format("woff2");
}

:root {
  --green: #8EE571;
  --green-dark: #5AB83B;
  --deep-trust: #073C3D;
  --deep-darker: #042626;
  --page-dark: #0F0F0F;
  --violet: #927FFE;
  --calm: #E2EFDE;
  --ink: #151515;
  --muted: #5E5E5E;
  --muted-dark: #B7C4B6;
  --light-surface: #F2F2F2;
  --line: rgba(7, 60, 61, 0.14);
  --white: #FFFFFF;

  --font-display: "TT Travels Text", "Inter", "Heebo", system-ui, -apple-system, sans-serif;
  --font-body: "DM Sans", "Inter", "Heebo", system-ui, -apple-system, sans-serif;

  --maxw: 1200px;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-pill: 500px;
  --shadow-card: 0 1px 2px rgba(7, 60, 61, 0.04), 0 12px 32px rgba(7, 60, 61, 0.08);
  --slide-radius: 40px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 0.4em;
  color: var(--ink);
}
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea {
  font: inherit; color: var(--ink); background: var(--light-surface);
  border: 1px solid rgba(7,60,61,.12); border-radius: var(--radius-sm);
  padding: 12px 14px; width: 100%; transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { resize: vertical; min-height: 96px; }
input::placeholder, textarea::placeholder { color: #9aa39a; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(90,184,59,.16); background: var(--white);
}
::selection { background: var(--green); color: var(--deep-darker); }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

/* ---------- Sections & backgrounds ---------- */
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.bg-dark   { background: var(--page-dark); color: var(--white); }
.bg-teal   { background: var(--deep-trust); color: var(--white); }
.bg-deepest{ background: var(--deep-darker); color: var(--white); }
.bg-light  { background: var(--white); color: var(--ink); }
.bg-mint   { background: var(--calm); color: var(--ink); }
.bg-green  { background: var(--green); color: var(--deep-darker); }

.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4,
.bg-teal h1, .bg-teal h2, .bg-teal h3, .bg-teal h4,
.bg-deepest h1, .bg-deepest h2, .bg-deepest h3, .bg-deepest h4 { color: var(--white); }
.bg-dark .muted, .bg-teal .muted, .bg-deepest .muted { color: var(--muted-dark); }
.muted { color: var(--muted); }

.eyebrow {
  display: inline-block; font-family: var(--font-body);
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green); margin-bottom: 16px;
}
.bg-light .eyebrow, .bg-mint .eyebrow { color: var(--green-dark); }

.badge {
  display: inline-block; font-family: var(--font-body);
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
  padding: 7px 16px; border-radius: var(--radius-pill);
  background: rgba(7,60,61,0.06); color: var(--deep-trust); margin-bottom: 18px;
}
.bg-dark .badge, .bg-teal .badge, .bg-deepest .badge { background: rgba(255,255,255,0.1); color: #fff; }

.g { color: var(--green); }
.bg-light .g, .bg-mint .g { color: var(--green-dark); }

.display {
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.h-section { font-size: clamp(32px, 4.4vw, 48px); letter-spacing: -0.03em; text-wrap: balance; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; }
.text-green { color: var(--green); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px; line-height: 1;
  padding: 14px 26px; border-radius: var(--radius-pill);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, opacity .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--green); color: var(--deep-darker); }
.btn--primary:hover { background: #9bef80; }
.btn--light { background: var(--light-surface); color: var(--ink); }
.btn--light:hover { background: #e8e8e8; }
.btn--ghost-dark { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.25); }
.btn--ghost-dark:hover { background: rgba(255,255,255,0.08); }
.btn--ghost-light { background: transparent; color: var(--deep-trust); border-color: rgba(7,60,61,0.3); }
.btn--ghost-light:hover { background: rgba(7,60,61,0.06); }
.btn--sm { font-size: 13px; padding: 8px 18px; }
.btn--lg { padding: 16px 32px; font-size: 16px; }
.btn .dot {
  position: relative; width: 22px; height: 22px; border-radius: 50%;
  background: var(--deep-darker); display: inline-flex; align-items: center; justify-content: center;
  font-size: 0; color: transparent; flex: 0 0 auto; transition: transform .3s cubic-bezier(.2,.6,.2,1);
}
.btn .dot::before {
  content: ""; position: absolute; inset: 0;
  background: center / 12px 12px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FFFFFF'%3E%3Cpath d='M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z'/%3E%3C/svg%3E");
}
.btn .ic-cart { width: 24px; height: 24px; flex: 0 0 auto; }
.btn--sm .ic-cart { width: 20px; height: 20px; }

/* ---------- Add to cart wave hover ---------- */
.btn-cart { position: relative; overflow: hidden; }
.btn-cart > * { position: relative; z-index: 2; }
.btn-cart .ic-cart { transition: transform .25s ease; }
.btn-cart:hover .ic-cart { transform: scale(1.15) translateX(-2px); }
.btn-cart::before, .btn-cart::after {
  content: ""; position: absolute; left: -15%; right: -15%; bottom: -45%; height: 75%;
  background: rgba(255,255,255,0.28);
  border-radius: 48% 52% 0 0 / 60% 60% 0 0;
  transform: translateY(105%);
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
  pointer-events: none; z-index: 1;
}
.btn-cart::after { background: rgba(255,255,255,0.16); border-radius: 55% 45% 0 0 / 70% 70% 0 0; transition-delay: .07s; }
.btn-cart:hover { background: #9bef80; }
.btn-cart:hover::before { transform: translateY(0); }
.btn-cart:hover::after { transform: translateY(0); animation: wave-swim 2.4s ease-in-out infinite; }
@keyframes wave-swim {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(7px) translateX(5px); }
}
@media (prefers-reduced-motion: reduce) { .btn-cart:hover::after { animation: none; } }
.btn:hover .dot { transform: rotate(-45deg); }
.btn--primary .dot { background: var(--deep-darker); }
.btn--light .dot { background: var(--ink); }
@media (prefers-reduced-motion: reduce) { .btn .dot { transition: none; } }

/* ---------- Adaptive floating header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; }
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 18px 32px;
  height: 92px; box-sizing: border-box;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  transition: height .25s ease, padding .25s ease;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 8px; font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -.01em; transition: color .25s ease; }
.brand img { height: 40px; width: auto; display: block; }
.brand .mark { width: 10px; height: 10px; border-radius: 50%; background: var(--green); flex: 0 0 auto; }

.nav-pill {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 7px; border-radius: var(--radius-pill); transition: background-color .25s ease;
}
.nav-pill a {
  font-size: 15px; font-weight: 500; line-height: 24px; padding: 9px 16px;
  border-radius: var(--radius-pill); display: inline-flex; align-items: center; gap: 5px;
  cursor: pointer; transition: background-color .15s ease, color .25s ease; white-space: nowrap;
}
.nav-pill a:hover { background: rgba(7,60,61,0.07); }
.nav-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

.nav-dark .brand { color: #fff; }
.nav-dark .nav-pill { background: var(--deep-darker); }
.nav-dark .nav-pill a { color: rgba(255,255,255,0.92); }
.nav-dark .nav-pill a:hover { background: rgba(255,255,255,0.12); }

.nav-light .brand { color: var(--deep-trust); }
.nav-light .nav-pill { background: var(--light-surface); }
.nav-light .nav-pill a { color: var(--ink); }

.site-header.scrolled {
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(160%) blur(12px);
  box-shadow: 0 6px 28px rgba(7,60,61,0.10);
  border-bottom: 1px solid rgba(7,60,61,0.06);
}
.site-header.scrolled .nav-inner { height: 68px; padding-top: 0; padding-bottom: 0; }
.site-header.scrolled .nav-pill { background: transparent; }

.btn--ghost-nav { background: transparent; border: 2px solid currentColor; font-weight: 600; padding: 11px 24px; }
.nav-dark .btn--ghost-nav { color: #fff; border-color: rgba(255,255,255,0.25); }
.nav-dark .btn--ghost-nav:hover { background: rgba(255,255,255,0.1); }
.nav-light .btn--ghost-nav { color: var(--deep-trust); border-color: rgba(7,60,61,0.28); }
.nav-light .btn--ghost-nav:hover { background: rgba(7,60,61,0.06); }

.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; }
.cart-btn .cart-count {
  position: absolute; top: -6px; inset-inline-end: -8px;
  min-width: 18px; height: 18px; border-radius: 9px; background: var(--green);
  color: var(--deep-darker); font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; padding-inline: 4px;
}
.cart-btn .cart-count:empty { display: none; }

.lang-btn {
  border: 2px solid currentColor; border-radius: var(--radius-pill);
  padding: 10px 18px; font-size: 13px; font-weight: 700; letter-spacing: .04em;
  transition: background-color .15s ease;
}
.nav-dark .lang-btn { color: #fff; border-color: rgba(255,255,255,0.25); }
.nav-dark .lang-btn:hover { background: rgba(255,255,255,0.1); }
.nav-light .lang-btn { color: var(--deep-trust); border-color: rgba(7,60,61,0.28); }
.nav-light .lang-btn:hover { background: rgba(7,60,61,0.06); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.nav-dark .nav-toggle { color: #fff; }
.nav-light .nav-toggle, .site-header.scrolled .nav-toggle { color: var(--deep-trust); }
.site-header.menu-open .nav-toggle { color: #fff; }
.nav-toggle.on span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.on span:nth-child(2) { opacity: 0; }
.nav-toggle.on span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; flex-direction: column; background: var(--deep-darker); max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.mobile-menu.open { max-height: 88vh; overflow-y: auto; padding: 10px 22px 26px; }
.mobile-menu a:not(.btn) { color: #fff; padding: 14px 2px; border-bottom: 1px solid rgba(255,255,255,0.08); font-weight: 500; }
.mobile-menu .btn { justify-content: center; margin-top: 10px; }
.mobile-menu .btn--ghost-light { color: #fff; border-color: rgba(255,255,255,0.3); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 520px at 50% -10%, rgba(142,229,113,0.18), transparent 60%),
    linear-gradient(180deg, var(--deep-trust) 0%, var(--deep-darker) 60%, var(--page-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 72px 0 56px;
  overflow: hidden;
}
.hero .pill-link {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-pill); padding: 7px 16px 7px 8px;
  font-size: 13.5px; color: var(--white); margin-bottom: 28px;
}
.hero .pill-link .tag { background: var(--green); color: var(--deep-darker); border-radius: var(--radius-pill); padding: 3px 10px; font-weight: 700; font-size: 11px; }
.hero .display { color: var(--white); margin: 0 auto 18px; max-width: 16ch; }
.hero .lead { color: rgba(255,255,255,0.86); max-width: 52ch; margin: 0 auto 30px; }
.hero .hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero--plain { padding-bottom: 104px; }
.hero--store { padding-bottom: 96px; background: linear-gradient(180deg, var(--deep-trust) 0%, var(--deep-darker) 100%); }

.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.10) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255,255,255,0.10) 2px, transparent 2px),
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 340px 340px, 340px 340px, 68px 68px, 68px 68px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 35%, transparent 75%);
          mask-image: radial-gradient(120% 80% at 50% 0%, #000 35%, transparent 75%);
}
.hero > .container { position: relative; z-index: 1; }

@keyframes heroIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.hero .badge, .hero .pill-link, .hero .display, .hero .lead, .hero .btn {
  animation: heroIn .8s cubic-bezier(.2,.7,.2,1) both;
}
.hero .badge, .hero .pill-link { animation-delay: .05s; }
.hero .display { animation-delay: .16s; }
.hero .lead { animation-delay: .30s; }
.hero .hero-cta { animation: heroIn .8s cubic-bezier(.2,.7,.2,1) .42s both; }
@media (prefers-reduced-motion: reduce) {
  .hero .badge, .hero .pill-link, .hero .display, .hero .lead, .hero .btn, .hero .hero-cta { animation: none; }
}

.hero-stats { display: flex; gap: 48px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.hero-stats .hs b { font-family: var(--font-display); font-size: 30px; font-weight: 600; display: block; color: var(--green); }
.hero-stats .hs span { font-size: 13.5px; color: rgba(255,255,255,0.7); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; width: max-content; animation: marquee var(--mq, 40s) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
.marquee-track span { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--muted-dark); margin: 0 36px; flex: 0 0 auto; letter-spacing: .1em; }
.bg-light .marquee-track span { color: #c3ccc3; }

/* ---------- Section head ---------- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .lead { margin-top: 14px; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
#catsGrid { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.card {
  background: var(--white); border: 1px solid #ececec;
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-card);
}
.card h3, .card h4 { margin-bottom: 8px; }
.bg-dark .card, .bg-teal .card, .bg-deepest .card {
  background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1);
}

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pcard {
  background: var(--white); border: 1px solid #ececec; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-card); display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease; position: relative;
}
.pcard:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(7,60,61,.14); }
.pcard .thumb { aspect-ratio: 1/1; background: var(--calm); overflow: hidden; position: relative; }
.pcard .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pcard:hover .thumb img { transform: scale(1.05); }
.pcard .tag {
  position: absolute; top: 14px; inset-inline-start: 14px; z-index: 2;
  background: var(--green); color: var(--deep-darker); font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: var(--radius-pill); letter-spacing: .04em;
}
.pcard .pbody { padding: 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard .cat { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--green-dark); }
.pcard h3 { font-size: 18px; margin: 0; font-weight: 600; }
.pcard h3 a:hover { color: var(--green-dark); }
.pcard .price { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--ink); margin-top: 6px; }
.pcard .price small { color: var(--muted); text-decoration: line-through; font-weight: 500; font-size: 14px; margin-inline-start: 8px; }
.pcard .pfoot { margin-top: auto; padding-top: 12px; }

/* Category cards */
.cat-card {
  background: var(--white); border: 1px solid #ececec; border-radius: var(--radius);
  padding: 28px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px;
  box-shadow: var(--shadow-card); transition: transform .18s ease, box-shadow .18s ease;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: 0 12px 34px rgba(7,60,61,.12); }
.cat-card .c-ic { width: 56px; height: 56px; border-radius: 16px; background: var(--calm); display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.cat-card .c-ic svg { width: 28px; height: 28px; stroke: var(--green-dark); }
.cat-card b { font-size: 16px; font-weight: 600; }
.cat-card span { font-size: 13px; color: var(--muted); }

/* ---------- Feature rows ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature-row.reverse .feature-copy { order: 2; }
.feature-row + .feature-row { margin-top: 88px; }
.feature-copy h2 { font-size: clamp(28px, 3.4vw, 40px); }
.feature-sub { color: rgba(255,255,255,0.82); margin: 16px 0 0; max-width: 48ch; font-size: 17px; line-height: 1.6; }
.bg-light .feature-sub, .bg-mint .feature-sub { color: var(--muted); }
.feature-list { list-style: none; padding: 0; margin: 22px 0 28px; }
.feature-list li { position: relative; padding-inline-start: 28px; margin-bottom: 12px; color: rgba(255,255,255,0.82); }
.bg-light .feature-list li { color: var(--muted); }
.feature-list li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 8px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 4px rgba(142,229,113,0.18);
}
.feature-media { border-radius: 28px; overflow: hidden; box-shadow: 0 24px 60px rgba(7,60,61,0.16); aspect-ratio: 1 / 1; background: #fff; display: flex; align-items: center; justify-content: center; }
.feature-media img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.bg-light .feature-media, .bg-mint .feature-media { box-shadow: 0 24px 60px rgba(7,60,61,0.16); }

.f-list { margin: 22px 0 0; padding: 0 0 0 20px; display: grid; gap: 10px; }
.f-list li { font-size: 17px; line-height: 1.6; color: var(--muted); }
.f-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-size: 16px; font-weight: 600; color: var(--green-dark); }
.f-more .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: var(--deep-darker); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; line-height: 1; transition: transform .25s ease; }
.f-more:hover .dot { transform: rotate(-45deg); }
@media (prefers-reduced-motion: reduce) { .f-more .dot { transition: none; } }
.f-actions { display: flex; align-items: stretch; gap: 26px; flex-wrap: wrap; margin-top: 8px; }
.f-actions .f-add { flex: 1; justify-content: center; padding: 20px 32px; font-size: 24px; font-weight: 700; min-width: 240px; border-radius: 12px; }
.feature-copy .price-row { margin: 10px 0 18px; }
.v-tiles { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 26px 0 30px; }
.vtile { position: relative; background: #fff; border: 2px solid rgba(7,60,61,.1); border-radius: 16px; padding: 18px 16px 16px; display: flex; align-items: center; gap: 14px; cursor: pointer; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.vtile:hover { border-color: rgba(99,102,241,.45); }
.vtile.selected { background: #eef2ff; border-color: #6366f1; box-shadow: 0 8px 22px rgba(99,102,241,.2); }
.vtile .v-radio { width: 19px; height: 19px; border-radius: 50%; border: 2px solid #cbd5e1; background: #fff; flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: border-color .2s ease, background .2s ease; }
.vtile.selected .v-radio { border-color: #6366f1; background: #6366f1; }
.vtile.selected .v-radio::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.vtile .v-imgs { display: flex; flex-shrink: 0; }
.vtile .v-imgs img { width: 46px; height: 46px; object-fit: contain; border-radius: 9px; background: #fff; border: 1px solid rgba(7,60,61,.09); }
.vtile .v-imgs img + img { margin-inline-start: -16px; box-shadow: 0 2px 8px rgba(7,60,61,.15); }
.vtile .v-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.vtile .v-name { font-size: 14.5px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vtile .v-off { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--deep-darker); background: var(--green); border-radius: 7px; padding: 4px 10px; flex-shrink: 0; }
.vtile .v-price { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; flex-shrink: 0; }
.vtile .v-now { font-size: 20px; font-weight: 700; color: var(--ink); line-height: 1.1; }
.vtile .v-old { font-size: 13px; color: var(--muted); text-decoration: line-through; line-height: 1.1; }
.vtile .v-sub { font-size: 12px; color: var(--muted); }
.vtile .v-pop { position: absolute; top: -11px; inset-inline-start: 14px; background: #6366f1; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .03em; padding: 3px 11px; border-radius: 999px; box-shadow: 0 4px 12px rgba(99,102,241,.35); }

/* ---------- Feature cards ---------- */
.fcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.bg-dark .stat-row { margin-top: 72px; }
.fcard { background: var(--light-surface); border-radius: 22px; padding: 30px; }
.fcard h3 { font-size: clamp(19px, 1.6vw, 23px); margin-bottom: 10px; }
.fcard p { color: var(--muted); margin: 0; }
.fcard .f-ic { width: 46px; height: 46px; border-radius: 14px; background: var(--white); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; box-shadow: var(--shadow-card); }
.fcard .f-ic svg { width: 22px; height: 22px; stroke: var(--green-dark); }

/* ---------- Stats ---------- */
.stat { font-family: var(--font-display); font-size: clamp(40px,5vw,64px); line-height: 1; letter-spacing: -0.03em; }
.stat-green { color: var(--green); }
.stat-row { display: flex; flex-wrap: wrap; gap: 56px; justify-content: center; text-align: center; }
.stat-cell .stat { font-size: clamp(36px, 4.4vw, 56px); }
.stat-label { color: var(--muted); font-size: 14px; margin-top: 6px; }
.bg-teal .stat-label, .bg-deepest .stat-label, .bg-dark .stat-label { color: var(--muted-dark); }

/* ---------- Testimonials ---------- */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tcard { background: #fff; border: 1px solid #ececec; border-radius: 20px; padding: 24px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.tcard .stars { color: #f5a623; letter-spacing: 2px; font-size: 14px; margin-bottom: 14px; }
.tcard .quote { font-size: 15.5px; line-height: 1.55; color: #2a2a2a; flex: 1; margin-bottom: 15.5px; }
.tcard .who { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.tcard .who .av { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--green-dark), var(--deep-trust)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.tcard .who img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: var(--white); }
.tcard .who b { display: block; font-size: 14px; }
.tcard .who span { font-size: 12px; color: var(--muted); }

.t-marquee .marquee-track { padding: 4px 0; }
.t-marquee .tcard { min-width: 360px; margin: 0 10px; }
.tcard .top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.tcard .ic { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: #8ee571; color: #042626; font-family: var(--font-body); font-size: 20px; font-weight: 800; line-height: 1; }
.tcard .src { font-size: 13px; color: var(--green-dark); font-weight: 600; white-space: nowrap; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid #e6e6e6; padding: 8px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-family: var(--font-display); font-size: 19px; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green-dark); font-size: 24px; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 16px; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(900px 360px at 50% 120%, rgba(142,229,113,0.18), transparent 60%),
    linear-gradient(180deg, var(--deep-darker), var(--deep-darker));
  color: var(--white); text-align: center;
}
.cta-band .h-section { color: var(--white); }
.cta-band .lead { color: rgba(255,255,255,0.8); margin: 14px auto 28px; max-width: 46ch; }

/* ---------- Newsletter ---------- */
.newsletter { background: none; box-shadow: none; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.newsletter h3 { font-size: 32px; margin-bottom: 4px; }
.newsletter p { color: rgba(255,255,255,0.75); margin: 0; font-size: 15px; }
.news-form { display: flex; gap: 10px; width: 100%; max-width: 440px; }
.news-form input { flex: 1; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); color: var(--white); }
.news-form input::placeholder { color: rgba(255,255,255,0.5); }

/* ---------- Article body (legal pages) ---------- */
.article-body { max-width: 760px; margin: 0 auto; padding: 56px 24px 24px; font-size: 17px; line-height: 1.6; color: rgb(21,21,21); text-align: start; }
.article-body h2 { font-size: 22px; font-weight: 700; margin: 44px 0 14px; color: var(--ink); }
.article-body h2:first-child { margin-top: 0; }
.article-body p { margin: 0 0 16px; }
.article-body ul { margin: 0 0 16px; padding-left: 22px; }
.article-body li { margin-bottom: 8px; }
.article-body a { color: var(--green-dark); font-weight: 600; }
.article-card { padding: 20px 24px; background: #fff; border: 1px solid rgba(7,60,61,.08); border-radius: 14px; margin-bottom: 16px; }
.article-table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 15px; line-height: 1.55; }
.article-table th { text-align: start; background: var(--deep-darker); color: #fff; padding: 12px 14px; font-size: 13.5px; }
.article-table td { padding: 12px 14px; border-bottom: 1px solid rgba(7,60,61,.1); vertical-align: top; }
.article-table tr:nth-child(even) td { background: rgba(7,60,61,.03); }

/* ---------- Cookie consent banner ---------- */
.cookie-banner { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 24px); opacity: 0; visibility: hidden; transition: opacity .4s ease, transform .4s ease, visibility .4s; z-index: 1000; max-width: min(560px, calc(100vw - 32px)); }
.cookie-banner.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.cookie-card { background: var(--white); border-radius: 18px; padding: 22px 24px; box-shadow: 0 24px 60px rgba(4,38,38,.28); border: 1px solid rgba(7,60,61,.08); }
.cookie-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.cookie-card p { font-size: 14px; color: var(--muted); line-height: 1.55; margin: 0 0 14px; }
.cookie-card a { color: var(--green-dark); font-weight: 600; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { flex: 1; justify-content: center; }
@media (max-width: 480px) { .cookie-actions { flex-direction: column; } }

/* ---------- Bento (why us) ---------- */
.round-bottom { border-radius: 40px; }
.why-head { max-width: 720px; margin-bottom: 56px; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 200px 418px; gap: 18px; }
.bento .cell { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; padding: 26px; border-radius: 22px; overflow: hidden; }
.bento .cell.dark { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: var(--white); }
.bento .cell.green { background: var(--green); color: var(--deep-darker); }
.bento .cell h3 { font-size: 20px; font-weight: 700; margin: 0; color: inherit; }
.bento .cell p { font-size: 14.5px; line-height: 1.55; margin: 8px 0 0; opacity: .78; }
.bento .cell.green p { opacity: .85; }
.bento .c-ic { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.bento .cell.dark .c-ic { background: rgba(255,255,255,0.1); color: var(--green); }
.bento .cell.green .c-ic { background: rgba(4,38,38,0.12); color: var(--deep-darker); }
.bento .c-ic svg { width: 20px; height: 20px; }
.bento .c-stat { font-family: var(--font-display); font-size: 40px; font-weight: 600; line-height: 1; }
.bento .c-stat-label { font-size: 14px; color: rgba(255,255,255,0.65); }
.bento .cell.green .c-big { font-family: var(--font-display); font-size: 64px; font-weight: 700; line-height: 1; margin: 10px 0 4px; }
.bento .cell.img-cell { padding: 0; }
.bento .cell.img-cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bento .cell.img-cell .c-tag { position: absolute; left: 18px; bottom: 18px; background: rgba(4,38,38,0.72); color: #fff; font-size: 12.5px; font-weight: 700; padding: 7px 14px; border-radius: 999px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep-darker); color: var(--white); padding: 72px 0 32px; }
.site-footer .top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; }
.site-footer h3 { font-size: 14px; color: rgba(255,255,255,0.95); margin-bottom: 18px; font-family: var(--font-body); font-weight: 600; }
.site-footer .col a:not(.btn) { display: block; color: rgba(255,255,255,0.68); padding: 7px 0; font-size: 14.5px; }
.site-footer .col a:not(.btn):hover { color: var(--green); }
.site-footer .f-brand .brand { display: inline-block; margin-bottom: 16px; color: #fff; }
.site-footer .f-brand .muted { max-width: 26ch; margin-bottom: 22px; color: rgba(255,255,255,0.68); }
.site-footer .social { display: flex; gap: 12px; }
.site-footer .social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.site-footer .social a:hover { background: var(--green); color: var(--deep-darker); }
.site-footer .social svg { width: 16px; height: 16px; }
.site-footer .bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); color: var(--muted-dark); font-size: 13.5px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }

/* ---------- Page hero (sub-pages) ---------- */
.page-hero { padding: 150px 0 72px; text-align: center; }
.page-hero h1 { font-size: clamp(36px, 5.4vw, 64px); color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 52ch; margin: 14px auto 0; }
.crumb { color: rgba(255,255,255,0.65); font-size: 13.5px; margin-bottom: 18px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.crumb a:hover { color: var(--green); }

/* ---------- Filters ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 40px; }
.cl-filter {
  font: 500 14px/1 var(--font-body); cursor: pointer;
  padding: 10px 18px; border-radius: var(--radius-pill);
  background: var(--white); color: var(--ink); border: 1px solid var(--line);
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.cl-filter:hover { border-color: var(--ink); }
.cl-filter.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.sort-select { width: auto; margin-inline-start: auto; }

/* ---------- Product page ---------- */
.playout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.pgallery { background: var(--calm); border-radius: var(--radius-lg); overflow: hidden; position: sticky; top: 100px; }
.pg-main { background: #fff; display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; position: relative; }
.pg-main img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.pg-video { width: 100%; height: 100%; object-fit: contain; background: #111; }
.pg-thumbs { display: flex; gap: 10px; padding: 12px; overflow-x: auto; scrollbar-width: thin; }
.pg-thumb { flex: 0 0 auto; width: 66px; height: 66px; border-radius: 12px; border: 2px solid rgba(7,60,61,.12); background: #fff; padding: 4px; cursor: pointer; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; transition: border-color .2s ease; }
.pg-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pg-thumb:hover { border-color: var(--green-dark); }
.pg-thumb.active { border-color: var(--green-dark); box-shadow: 0 0 0 3px rgba(142,229,113,.35); }
.pg-thumb .vid-ic { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(7,60,61,.42); color: #fff; }
.pg-thumb .vid-ic svg { width: 22px; height: 22px; }
.pinfo h1 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 600; margin-bottom: 14px; }
.pinfo .cat { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--green-dark); }
.price-row { display: flex; align-items: baseline; gap: 14px; margin: 14px 0 20px; }
.price-now { font-family: var(--font-display); font-size: 34px; font-weight: 600; }
.price-old { color: var(--muted); text-decoration: line-through; font-size: 18px; }
.price-save { background: var(--calm); color: var(--green-dark); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: var(--radius-pill); }
.pdesc { color: var(--muted); font-size: 16.5px; margin-bottom: 26px; }
.pfeats { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pfeats li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; background: var(--light-surface); border-radius: 12px; padding: 11px 14px; }
.pfeats li::before { content: "✓"; color: var(--green-dark); font-weight: 700; }
.buy-row { display: flex; gap: 14px; align-items: stretch; margin-bottom: 16px; }
.qty { display: flex; align-items: center; background: var(--light-surface); border-radius: var(--radius-pill); overflow: hidden; }
.qty button { width: 44px; height: 48px; font-size: 18px; color: var(--muted); transition: .15s; font-weight: 600; }
.qty button:hover { color: var(--green-dark); }
.qty input { width: 50px; text-align: center; border: none; background: transparent; padding: 0; font-weight: 600; height: 48px; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pmeta { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid #ececec; padding-top: 18px; font-size: 14.5px; color: var(--muted); }
.pmeta b { color: var(--ink); font-weight: 600; }
.acc { border-top: 1px solid #ececec; margin-top: 26px; }
.acc details { border-bottom: 1px solid #ececec; }
.acc summary { cursor: pointer; list-style: none; padding: 16px 2px; font-family: var(--font-display); font-size: 17px; display: flex; justify-content: space-between; align-items: center; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; color: var(--green-dark); font-size: 22px; }
.acc details[open] summary::after { content: "–"; }
.acc details p { color: var(--muted); padding-bottom: 16px; font-size: 15px; }

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; }
.cart-list { display: flex; flex-direction: column; gap: 16px; }
.cart-item { display: grid; grid-template-columns: 92px 1fr auto; gap: 18px; align-items: center; background: var(--white); border: 1px solid #ececec; border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-card); }
.cart-item .ci-img { border-radius: 12px; overflow: hidden; background: var(--calm); }
.cart-item .ci-img img { width: 92px; height: 92px; object-fit: cover; }
.cart-item h3 { font-size: 15.5px; font-weight: 600; margin: 0 0 4px; }
.cart-item .ci-cat { font-size: 12px; color: var(--muted); }
.cart-item .ci-price { font-family: var(--font-display); font-weight: 600; margin-top: 6px; }
.ci-side { display: flex; align-items: center; gap: 12px; }
.ci-remove { color: var(--muted); transition: .15s; padding: .4rem; }
.ci-remove:hover { color: #d33; }
.ci-remove svg { width: 18px; height: 18px; }
.cart-summary { background: var(--white); border: 1px solid #ececec; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-card); position: sticky; top: 100px; }
.cart-summary h2 { font-size: 20px; font-weight: 600; margin-bottom: 20px; }
.sum-row { display: flex; justify-content: space-between; padding-block: 10px; font-size: 15px; color: var(--muted); }
.sum-row b { color: var(--ink); font-weight: 600; }
.sum-row.total { border-top: 1px solid #ececec; margin-top: 10px; padding-top: 18px; font-size: 17px; }
.sum-row.total b { font-family: var(--font-display); font-size: 24px; }
.sum-free { background: var(--calm); border: 1px dashed var(--green-dark); color: var(--green-dark); font-size: 13px; border-radius: 10px; padding: 9px 12px; margin-block: 14px; font-weight: 600; }
.sum-free.muted { background: var(--light-surface); border-color: #ddd; color: var(--muted); }
.cart-empty { text-align: center; padding: 80px 20px; border: 1px dashed #ccc; border-radius: var(--radius-lg); }
.cart-empty h2 { font-size: 26px; font-weight: 600; margin-bottom: 10px; }
.cart-empty p { color: var(--muted); margin-bottom: 26px; }

/* ---------- Forms (checkout/contact) ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field > label { font-size: 13px; font-weight: 600; color: var(--ink); }
.form-card { background: var(--white); border: 1px solid #ececec; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-card); }
.form-card h2 { font-size: 20px; font-weight: 600; margin-bottom: 22px; }
.form-msg { padding: 12px 16px; border-radius: 10px; font-size: 14px; font-weight: 500; display: none; margin-top: 14px; }
.form-msg.ok { display: block; background: var(--calm); color: var(--green-dark); border: 1px solid var(--green-dark); }
.form-msg.err { display: block; background: #fdecea; color: #c0392b; border: 1px solid #f5b7b1; }
.pay-methods { display: flex; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.pay-method {
  flex: 1; min-width: 140px; border: 2px solid #e2e2e2; border-radius: 14px;
  padding: 14px 16px; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14.5px;
  transition: .15s; background: var(--white);
}
.pay-method:hover { border-color: var(--green-dark); }
.pay-method.active { border-color: var(--green-dark); background: var(--calm); }
.pay-method .pm-ic { width: 34px; height: 34px; border-radius: 9px; background: var(--light-surface); display: flex; align-items: center; justify-content: center; }
.pay-method .pm-ic svg { width: 18px; height: 18px; stroke: var(--green-dark); }

/* ---------- Checkout ---------- */
.checkout-layout { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 32px; align-items: start; }
.order-summary-item { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid #f0f0f0; align-items: center; }
.order-summary-item:last-child { border-bottom: none; }
.order-summary-item img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: var(--calm); }
.order-summary-item .osi-name { font-size: 14px; font-weight: 600; }
.order-summary-item .osi-meta { font-size: 12.5px; color: var(--muted); }
.order-summary-item .osi-price { margin-inline-start: auto; font-weight: 600; font-size: 14px; }
.checkout-ok { text-align: center; padding: 60px 24px; }
.checkout-ok .ok-ic { width: 76px; height: 76px; border-radius: 50%; background: var(--green); color: var(--deep-darker); display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; }
.checkout-ok .ok-ic svg { width: 34px; height: 34px; }
.checkout-ok h2 { font-size: 30px; font-weight: 600; margin-bottom: 10px; }
.checkout-ok .order-id { font-family: var(--font-display); font-size: 22px; color: var(--green-dark); margin-bottom: 14px; }
.checkout-ok p { color: var(--muted); max-width: 46ch; margin: 0 auto 28px; }
.pay-note { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 6px; }

/* ---------- Admin ---------- */
.admin-wrap { max-width: 1080px; margin: 0 auto; }
.admin-cards { display: flex; flex-direction: column; gap: 16px; }
.admin-card { background: var(--white); border: 1px solid #ececec; border-radius: var(--radius); box-shadow: var(--shadow-card); overflow: hidden; }
.admin-card .ac-head { padding: 18px 22px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; cursor: pointer; border-bottom: 1px solid #f0f0f0; }
.admin-card .ac-head .ac-id { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.admin-card .ac-head .ac-date { font-size: 13px; color: var(--muted); }
.admin-card .ac-head .ac-total { margin-inline-start: auto; font-weight: 600; }
.admin-card .ac-head .chev { margin-inline-start: 10px; color: var(--muted); transition: transform .2s; }
.admin-card.open .ac-head .chev { transform: rotate(180deg); }
.admin-card .ac-body { padding: 22px; display: none; }
.admin-card.open .ac-body { display: block; }
.status-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: var(--radius-pill); }
.status-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-pending { background: #fff4e0; color: #b8860b; }
    .st-paid { background: var(--calm); color: var(--green-dark); }
.st-ordered { background: #e8e4ff; color: #6a5acd; }
.st-ok { background: rgba(142,229,113,.16); color: var(--green); }
.st-shipped { background: #e3f2fd; color: #1565c0; }
.st-done { background: var(--light-surface); color: var(--muted); }
.flow-steps { display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }
.flow-step { border: 1px solid #ececec; border-radius: 14px; padding: 16px 18px; }
.flow-step .fs-num { width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: var(--deep-darker); font-weight: 800; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; margin-inline-end: 10px; }
.flow-step h4 { display: inline-block; font-size: 15.5px; font-weight: 600; margin: 0; vertical-align: middle; }
.flow-step p { color: var(--muted); font-size: 14px; margin: 10px 0 14px; }
.addr-box { background: var(--light-surface); border-radius: 12px; padding: 14px 16px; font-size: 14px; line-height: 1.7; margin-bottom: 12px; }
.copy-row { display: flex; gap: 10px; align-items: center; }
.track-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.track-row input { flex: 1; min-width: 200px; }
.admin-items { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.admin-item { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.admin-item img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; background: var(--calm); }
.admin-item .ai-price { margin-inline-start: auto; font-weight: 600; }
.pin-gate { max-width: 420px; margin: 80px auto; text-align: center; }
.pin-gate h2 { font-size: 26px; font-weight: 600; margin-bottom: 10px; }
.pin-gate p { color: var(--muted); margin-bottom: 24px; }
.pin-gate input { text-align: center; letter-spacing: 6px; font-weight: 700; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 28px; inset-inline-end: 28px; z-index: 300;
  background: var(--deep-darker); border: 1px solid var(--green); border-radius: 16px;
  padding: 16px 22px; display: flex; align-items: center; gap: 12px; color: #fff;
  box-shadow: 0 18px 50px rgba(0,0,0,.45); transform: translateY(140%); transition: .35s;
}
.toast.show { transform: translateY(0); }
.toast .t-ic { width: 30px; height: 30px; border-radius: 50%; background: rgba(142,229,113,.18); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.toast .t-ic svg { width: 16px; height: 16px; stroke: var(--green); }
.toast b { font-size: 14px; font-weight: 600; display: block; }
.toast span { font-size: 12.5px; color: var(--muted-dark); }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Slides stack (Framer look) ---------- */
main.slides { background: var(--deep-darker); padding: 86px 16px 0; }
main.slides > section, main.slides > article { border-radius: var(--slide-radius); position: relative; z-index: 2; overflow: hidden; }
main.slides > article { background: var(--white); }
main.slides > section + section, main.slides > section + article, main.slides > article + section { margin-top: 0; }
main.slides .cta-band { border-radius: var(--slide-radius); }
main.slides > .cta-band { border-radius: 0; margin: 0 -16px 0; }
main.slides > .bg-mint + .cta-band { margin-top: 0; }

/* Mint band — full-bleed, rounded (same radius as the other slides), flush with the section above */
main.slides > .bg-mint { margin: 0 -16px 0; padding: 96px 0 60px; overflow: visible; }
main.slides > .bg-mint + * { margin-top: 16px; }

/* Why + stats — transparent, blends with the slides background */
main.slides > .bg-dark { background: none; border-radius: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; grid-auto-rows: 210px; }
  .bento .cell.green { grid-column: 1 / -1; grid-row: span 2; }
  .feature-row, .grid-3, .grid-4, .tgrid, .fcards { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-copy { order: -1; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .site-footer .top { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .site-footer .f-brand { grid-column: 1 / -1; padding-bottom: 8px; }
  .nav-pill { display: none; }
  .nav-actions { gap: 8px; }
  .nav-toggle { display: flex; }
  .mobile-menu { display: flex; }
  .site-header.menu-open { background: var(--deep-darker); }
  .nav-inner { height: 72px; padding: 12px 18px; }
  .section { padding: 64px 0; }
  .section--tight { padding: 48px 0; }
  main.slides { padding: 74px 10px 0; --slide-radius: 28px; }
  main.slides > .bg-mint { margin: 0 -10px 0; padding: 64px 0 48px; }
  main.slides > .bg-mint + * { margin-top: 14px; }
  main.slides > .cta-band { margin: 0 -10px 0; }
  .hero { padding-top: 56px; }
  .hero--plain { padding-bottom: 80px; }
  .container { padding-inline: 18px; }
  .playout, .checkout-layout, .cart-layout { grid-template-columns: 1fr; }
  .pgallery { position: static; }
  .pfeats { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .display { font-size: clamp(38px, 11vw, 52px); }
  .h-section { font-size: clamp(26px, 7vw, 34px); }
  .page-hero { padding-top: 130px; }
  .cart-item { grid-template-columns: 68px 1fr; grid-template-rows: auto auto; }
  .ci-side { grid-column: 1 / -1; justify-content: space-between; }
  .cart-item .ci-img img { width: 68px; height: 68px; }
  .newsletter h3 { font-size: 24px; }
  .news-form { max-width: 100%; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento .cell { min-height: 190px; }
  .bento .cell.green { grid-column: auto; grid-row: auto; }
  .product-grid { grid-template-columns: 1fr; }
}

/* ---------- RTL tweaks ---------- */
[dir="rtl"] .marquee-track span { margin: 0 36px; }
[dir="rtl"] .cart-btn .cart-count { inset-inline-end: auto; inset-inline-start: -8px; }

/* ============================================================
   Motion — subi-style micro-interactions & entrance effects
   ============================================================ */
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.8); } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes spin { to { transform: rotate(360deg); } }

.pill-link .tag { display: inline-block; animation: pulse 2.2s ease-in-out infinite; }

.spinner {
  display: inline-block; width: 18px; height: 18px; vertical-align: -3px;
  border: 2px solid rgba(255,255,255,.35); border-top-color: #fff;
  border-radius: 50%; animation: spin .7s linear infinite;
}
.btn--light .spinner, .btn--ghost-light .spinner { border-color: rgba(7,60,61,.2); border-top-color: var(--green-dark); }

.pcard:hover { transform: translateY(-6px); }
.pcard .thumb img { transition: transform .55s cubic-bezier(.2,.6,.2,1); }
.pcard:hover .thumb img { transform: scale(1.07) rotate(1deg); }

.cat-card .c-ic svg { transition: transform .3s cubic-bezier(.2,.6,.2,1); }
.cat-card:hover .c-ic svg { transform: scale(1.18) rotate(-8deg); }

.fcard { transition: transform .2s ease, box-shadow .2s ease; }
.fcard:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(7,60,61,.1); }

.nav-pill a { position: relative; }

.admin-card .ac-body { display: block; max-height: 0; padding: 0 22px; overflow: hidden; transition: max-height .4s cubic-bezier(.2,.6,.2,1), padding .4s cubic-bezier(.2,.6,.2,1); }
.admin-card.open .ac-body { max-height: 1400px; padding: 22px; }

/* staggered grid entrance */
.js .reveal-stagger > * {
  opacity: 0; transform: translateY(22px);
  transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1);
}
.js .reveal-stagger.in-view > * { opacity: 1; transform: none; }
.js .reveal-stagger > *:nth-child(1) { transition-delay: .04s; }
.js .reveal-stagger > *:nth-child(2) { transition-delay: .09s; }
.js .reveal-stagger > *:nth-child(3) { transition-delay: .14s; }
.js .reveal-stagger > *:nth-child(4) { transition-delay: .19s; }
.js .reveal-stagger > *:nth-child(5) { transition-delay: .24s; }
.js .reveal-stagger > *:nth-child(6) { transition-delay: .29s; }
.js .reveal-stagger > *:nth-child(7) { transition-delay: .34s; }
.js .reveal-stagger > *:nth-child(8) { transition-delay: .39s; }
.js .reveal-stagger > *:nth-child(n+9) { transition-delay: .44s; }

@media (prefers-reduced-motion: reduce) {
  .pill-link .tag, .feature-media img, .spinner { animation: none; }
  .js .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
}