@layer reset, base, layout, components, utilities;

:root {
  /* Palette — clean white, near-black text, single teal accent, black for cart */
  --bg: #FFFFFF;
  --bg-soft: #F7F7F6;          /* very light neutral wash */
  --bg-soft-2: #F1F1EF;
  --ink: #0A0A0A;             /* near-black text */
  --ink-2: #5b5d61;
  --ink-3: #8a8d92;
  --line: #ECECEC;            /* subtle borders */
  --line-2: #E2E2E2;
  --accent: #06B18F;          /* teal-green — primary accent */
  --accent-dark: #059678;
  --accent-soft: #E6F6F2;     /* very light teal wash */
  --black: #111111;           /* cart / secondary solid buttons */
  --navy: #1c2230;            /* "New vibe" dark band */
  --sale: #C2362C;            /* discount badge / old price (functional, sparing) */
  --star: #F5A623;

  /* Type — Inter everywhere */
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

  /* Geometry */
  --r: 7px;
  --r-sm: 6px;
  --header-h: 72px;
  --subbar-h: 44px;

  /* Shadows — subtle layered */
  --sh-1: 0 1px 3px rgba(10,10,10,.05), 0 1px 2px rgba(10,10,10,.04);
  --sh-2: 0 10px 30px rgba(10,10,10,.09);
}

@layer reset {
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
  body { min-height: 100%; overflow-x: hidden; }
  img { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
  input, select, textarea { font: inherit; color: inherit; }
  ul { list-style: none; }
  :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-sm); }
  [id] { scroll-margin-top: calc(var(--header-h) + 1rem); }
}

@layer base {
  body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    font-size: 1rem;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  h1, h2, h3, h4 { font-family: var(--font); font-weight: 700; line-height: 1.18; color: var(--ink); letter-spacing: -.02em; }
  h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
  h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); }
  h3 { font-size: 1.1rem; font-weight: 600; }
  p { color: var(--ink-2); }
  strong { color: var(--ink); font-weight: 600; }
  .tnum { font-variant-numeric: tabular-nums; }
}

@layer layout {
  .wrap { width: min(1240px, 92%); margin-inline: auto; }
  .wrap-narrow { width: min(820px, 92%); margin-inline: auto; }
  .sec { padding: clamp(2.6rem, 5vw, 4rem) 0; }
  .sec--soft { background: var(--bg-soft); }
  .sec--tight { padding: clamp(1.8rem, 4vw, 2.8rem) 0; }
  .sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: clamp(1.4rem, 3vw, 2rem); flex-wrap: wrap; }
  .sec-head.center { text-align: center; flex-direction: column; align-items: center; }
  .sec-head h2 { line-height: 1.15; }
  .sec-head .sub { color: var(--ink-2); font-size: .95rem; margin-top: .3rem; }
}

@layer components {
  /* ---- Eyebrow ---- */
  .eyebrow { display: inline-block; font-weight: 600; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }

  /* ---- Buttons ---- */
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-weight: 600; font-size: .95rem; padding: .8rem 1.5rem; border-radius: var(--r); transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease; white-space: nowrap; line-height: 1.1; }
  .btn svg { flex: none; }
  .btn-accent { background: var(--accent); color: #fff; }
  .btn-accent:hover { background: var(--accent-dark); }
  .btn-dark { background: var(--black); color: #fff; }
  .btn-dark:hover { background: #000; }
  .btn-outline { border: 1px solid var(--ink); color: var(--ink); background: #fff; }
  .btn-outline:hover { background: var(--ink); color: #fff; }
  .btn-ghost { border: 1px solid var(--line-2); color: var(--ink); background: #fff; }
  .btn-ghost:hover { border-color: var(--ink); }
  .btn-light { background: #fff; color: var(--ink); border: 1px solid rgba(255,255,255,.4); }
  .btn-light:hover { background: var(--bg-soft); }
  .btn-line-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.55); }
  .btn-line-light:hover { background: #fff; color: var(--ink); }
  .btn-block { width: 100%; }
  .btn-lg { padding: .95rem 1.9rem; font-size: 1rem; }
  .btn-sm { padding: .6rem 1.1rem; font-size: .88rem; }

  .link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-size: .9rem; color: var(--ink); }
  .link-arrow svg { transition: transform .2s ease; width: 15px; height: 15px; }
  .link-arrow:hover { color: var(--accent); }
  .link-arrow:hover svg { transform: translateX(3px); }

  /* ---- Announcement top bar ---- */
  .announce { background: var(--ink); color: #f2f2f1; font-size: .8rem; text-align: center; }
  .announce-in { min-height: 36px; display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .35rem 0; }
  .announce svg { width: 14px; height: 14px; color: var(--accent); flex: none; }

  /* ---- Header (white, sticky) ---- */
  .header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); }
  .header-in { display: flex; align-items: center; gap: 1.4rem; min-height: var(--header-h); }
  .brand { display: inline-flex; align-items: center; gap: .55rem; flex: none; }
  .brand-mark { width: 34px; height: 34px; color: var(--accent); flex: none; display: block; }
  .brand-mark svg { width: 100%; height: 100%; display: block; }
  .brand-name { font-weight: 700; font-size: 1.5rem; letter-spacing: -.03em; color: var(--ink); line-height: 1; }

  /* Search bar */
  .hsearch { flex: 1; max-width: 560px; position: relative; }
  .hsearch input { width: 100%; height: 44px; padding: 0 2.8rem 0 1rem; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg-soft); font-size: .92rem; }
  .hsearch input::placeholder { color: var(--ink-3); }
  .hsearch input:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px rgba(6,177,143,.12); }
  .hsearch button { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: var(--r-sm); display: grid; place-items: center; color: var(--ink); }
  .hsearch button:hover { color: var(--accent); }
  .hsearch button svg { width: 19px; height: 19px; }

  /* Header right icons */
  .hicons { display: flex; align-items: center; gap: .3rem; margin-left: auto; flex: none; }
  .hicon { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; padding: .35rem .6rem; border-radius: var(--r-sm); color: var(--ink); position: relative; font-size: .68rem; font-weight: 500; transition: color .15s ease; }
  .hicon:hover { color: var(--accent); }
  .hicon svg { width: 22px; height: 22px; }
  .hicon .count { position: absolute; top: -1px; right: 4px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .64rem; font-weight: 700; display: grid; place-items: center; line-height: 1; }
  .hicon .count.is-empty { display: none; }

  /* Burger */
  .burger { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); align-items: center; justify-content: center; color: var(--ink); flex: none; }
  .burger svg { width: 26px; height: 26px; }
  .burger .ic-close { display: none; }
  body.menu-open .burger .ic-open { display: none; }
  body.menu-open .burger .ic-close { display: block; }

  /* ---- Secondary bar (primary navigation) ---- */
  .subbar { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: var(--header-h); z-index: 55; }
  .subbar-in { display: flex; align-items: stretch; min-height: var(--subbar-h); }

  /* Primary nav list with hover mega-menu */
  .mainnav { display: flex; align-items: stretch; gap: 0; margin: 0; }
  .mainnav > li { position: static; display: flex; align-items: stretch; }
  .mainnav > li > a,
  .mainnav > li > .nav-link {
    display: inline-flex; align-items: center; gap: .35rem;
    font-size: .9rem; font-weight: 500; color: var(--ink-2);
    padding: .5rem 1.05rem; line-height: 1.1; white-space: nowrap;
    border-bottom: 2px solid transparent; transition: color .15s ease, border-color .15s ease;
  }
  .mainnav > li:first-child > a,
  .mainnav > li:first-child > .nav-link { padding-left: 0; }
  .mainnav > li > a:hover,
  .mainnav > li > .nav-link:hover,
  .mainnav > li.active > a { color: var(--ink); }
  .mainnav > li.has-mega.open > .nav-link,
  .mainnav > li.has-mega:hover > .nav-link { color: var(--ink); border-bottom-color: var(--accent); }
  .mainnav .nav-link .chev { width: 14px; height: 14px; color: var(--ink-3); transition: transform .2s ease; }
  .mainnav > li.has-mega.open > .nav-link .chev,
  .mainnav > li.has-mega:hover > .nav-link .chev { transform: rotate(180deg); color: var(--ink); }
  .nav-sale > a { color: var(--sale); font-weight: 600; }
  .nav-sale > a:hover { color: var(--sale); }
  .nav-sale .nav-tag { background: var(--sale); color: #fff; font-size: .62rem; font-weight: 700; padding: .12rem .35rem; border-radius: 4px; letter-spacing: .04em; }

  .subbar-right { margin-left: auto; display: flex; align-items: center; gap: 1.2rem; }
  .subbar-right a { font-size: .84rem; color: var(--ink-2); display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
  .subbar-right a:hover { color: var(--accent); }
  .subbar-right svg { width: 15px; height: 15px; }
  .subbar-right .sr-ship svg { color: var(--accent); }

  /* ---- Mega-menu panel (large, multi-column) ---- */
  .mega {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line); box-shadow: var(--sh-2);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    z-index: 70;
  }
  .mainnav > li.has-mega.open .mega,
  .mainnav > li.has-mega:hover .mega { opacity: 1; visibility: visible; transform: translateY(0); }
  .mega-in { width: min(1240px, 92%); margin-inline: auto; display: grid; gap: clamp(1.4rem, 3vw, 2.6rem); padding: clamp(1.6rem, 3vw, 2.2rem) 0; }
  .mega--cat .mega-in { grid-template-columns: repeat(4, 1fr) 1.05fr; }
  .mega--brand .mega-in { grid-template-columns: repeat(3, 1fr) 1.2fr; }
  .mega-col h4 { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .85rem; }
  .mega-col ul { display: flex; flex-direction: column; gap: .12rem; }
  .mega-col a {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .9rem; color: var(--ink-2); padding: .32rem 0;
    transition: color .15s ease, transform .15s ease;
  }
  .mega-col a:hover { color: var(--accent); transform: translateX(2px); }
  .mega-col a .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: 0; transition: opacity .15s ease; flex: none; }
  .mega-col a:hover .dot { opacity: 1; }
  .mega-col--all { margin-top: .8rem; }
  .mega-col--all a { font-weight: 600; color: var(--ink); }

  /* Promo card inside mega-menu */
  .mega-promo {
    position: relative; border-radius: 12px; overflow: hidden;
    background: linear-gradient(150deg, var(--navy) 0%, #2a3344 70%);
    color: #fff; padding: 1.4rem; display: flex; flex-direction: column; justify-content: space-between;
    min-height: 200px; isolation: isolate;
  }
  .mega-promo .mp-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .34; z-index: -1; }
  .mega-promo .mp-tag { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
  .mega-promo h5 { color: #fff; font-size: 1.25rem; font-weight: 700; line-height: 1.15; margin-top: .4rem; letter-spacing: -.01em; }
  .mega-promo p { color: rgba(255,255,255,.78); font-size: .84rem; margin-top: .4rem; }
  .mega-promo .btn { margin-top: 1rem; align-self: flex-start; }

  /* Brand tiles column */
  .mega-brands { display: grid; grid-template-columns: repeat(2, 1fr); gap: .55rem; }
  .mega-brands a {
    display: flex; align-items: center; justify-content: center; text-align: center;
    min-height: 52px; padding: .5rem .6rem; border: 1px solid var(--line); border-radius: 8px;
    font-weight: 700; font-size: .78rem; letter-spacing: .03em; text-transform: uppercase; color: #9a9a9a;
    transition: color .18s ease, border-color .18s ease, box-shadow .18s ease; transform: none;
  }
  .mega-brands a:hover { color: var(--ink); border-color: var(--line-2); box-shadow: var(--sh-1); transform: none; }

  /* ---- Mobile menu panel ---- */
  .mobile-menu { position: fixed; inset: var(--header-h) 0 0; z-index: 58; background: #fff; transform: translateY(-100%); opacity: 0; visibility: hidden; transition: transform .3s ease, opacity .3s ease, visibility .3s; display: flex; flex-direction: column; padding: 1.3rem 0 2.5rem; overflow-y: auto; }
  body.menu-open .mobile-menu { transform: translateY(0); opacity: 1; visibility: visible; }
  .mobile-menu .wrap { display: flex; flex-direction: column; }
  .mm-search { position: relative; margin-bottom: 1.2rem; }
  .mm-search input { width: 100%; height: 48px; padding: 0 2.8rem 0 1rem; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg-soft); }
  .mm-search button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; display: grid; place-items: center; color: var(--ink); }
  .mm-search svg { width: 20px; height: 20px; }
  .mobile-menu nav { display: flex; flex-direction: column; }
  .mobile-menu nav > a { font-size: 1.05rem; font-weight: 500; padding: .9rem 0; border-bottom: 1px solid var(--line); color: var(--ink); display: flex; align-items: center; justify-content: space-between; }
  .mobile-menu nav > a.active { color: var(--accent); }
  .mobile-menu nav > a.mm-sale { color: var(--sale); font-weight: 600; }

  /* Mobile accordion item */
  .mm-acc { border-bottom: 1px solid var(--line); }
  .mm-acc-head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 0; font-size: 1.05rem; font-weight: 500; color: var(--ink); text-align: left; }
  .mm-acc-head svg { width: 20px; height: 20px; color: var(--ink-3); transition: transform .22s ease; flex: none; }
  .mm-acc.open .mm-acc-head svg { transform: rotate(180deg); color: var(--ink); }
  .mm-acc-body { overflow: hidden; max-height: 0; transition: max-height .28s ease; }
  .mm-acc-body-in { padding: .2rem 0 1rem; }
  .mm-acc-body h5 { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: .9rem 0 .2rem; }
  .mm-acc-body h5:first-child { margin-top: .2rem; }
  .mm-acc-body a { display: block; font-size: .96rem; color: var(--ink-2); padding: .5rem 0 .5rem .9rem; }
  .mm-acc-body a:hover { color: var(--accent); }

  .mobile-menu .mm-foot { margin-top: 1.6rem; display: flex; flex-direction: column; gap: .8rem; }
  .mobile-menu .mm-foot a { font-size: .9rem; color: var(--ink-2); }

  /* ---- Hero (full-bleed background image + overlaid copy) ---- */
  .hero { padding: clamp(.9rem, 2vw, 1.4rem) 0 clamp(1.4rem, 3vw, 2.2rem); }
  .hero-in {
    position: relative;
    min-height: clamp(420px, 52vw, 600px);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #0b0b0d;
    isolation: isolate;
  }
  .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
  .hero-in::after {
    content: '';
    position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, rgba(8,8,10,.9) 0%, rgba(8,8,10,.74) 40%, rgba(8,8,10,.34) 76%, rgba(8,8,10,.1) 100%);
  }
  .hero-copy { padding: clamp(1.8rem, 5vw, 4rem); max-width: 620px; color: #fff; }
  .hero-copy .eyebrow { color: #fff; opacity: .9; margin-bottom: 1rem; }
  .hero-copy h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.05; }
  .hero-copy p { color: rgba(255,255,255,.82); margin-top: 1.1rem; font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 44ch; }
  .hero-actions { display: flex; gap: .8rem; margin-top: 1.9rem; flex-wrap: wrap; }
  .hero-stats { display: flex; gap: clamp(1.4rem, 4vw, 2.6rem); margin-top: 2.2rem; flex-wrap: wrap; }
  .hero-stat b { display: block; color: #fff; font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: 700; line-height: 1; }
  .hero-stat span { font-size: .8rem; color: rgba(255,255,255,.62); }

  /* ---- Offers / promo banner ---- */
  .promo-band {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(105deg, var(--navy) 0%, #2a3344 60%, var(--accent-dark) 165%);
    color: #fff;
    padding: clamp(1.8rem, 4vw, 2.8rem) clamp(1.6rem, 4vw, 3rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.4rem;
    flex-wrap: wrap;
  }
  .promo-band .pb-tag { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
  .promo-band h2 { color: #fff; font-size: clamp(1.5rem, 3.4vw, 2.4rem); margin-top: .5rem; line-height: 1.08; }
  .promo-band h2 em { font-style: normal; color: var(--accent); }
  .promo-band p { color: rgba(255,255,255,.72); margin-top: .5rem; font-size: .95rem; }
  .promo-band .pb-right { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
  .promo-band .pb-off { font-size: clamp(2.6rem, 7vw, 4.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: #fff; }
  .promo-band .pb-off small { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: .3rem; letter-spacing: .1em; }

  /* ---- Sale ribbon (slim, full-bleed, scrolling marquee feel) ---- */
  .sale-ribbon { background: var(--sale); color: #fff; overflow: hidden; }
  .sale-ribbon .wrap { display: flex; align-items: center; justify-content: center; gap: 1.4rem; min-height: 42px; padding: .4rem 0; flex-wrap: wrap; text-align: center; }
  .sale-ribbon b { font-weight: 700; font-size: .92rem; letter-spacing: .01em; }
  .sale-ribbon span { font-size: .82rem; color: rgba(255,255,255,.85); display: inline-flex; align-items: center; gap: .4rem; }
  .sale-ribbon a { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; border: 1px solid rgba(255,255,255,.5); padding: .35rem .85rem; border-radius: 999px; transition: background .18s ease, color .18s ease; }
  .sale-ribbon a:hover { background: #fff; color: var(--sale); }
  .sale-ribbon svg { width: 15px; height: 15px; }

  /* ---- Offers landing strip (shop page) ---- */
  .offers-hero { background: linear-gradient(105deg, var(--sale) 0%, #9c2820 100%); color: #fff; border-radius: 14px; padding: clamp(1.5rem, 4vw, 2.4rem) clamp(1.4rem, 4vw, 2.6rem); display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; flex-wrap: wrap; }
  .offers-hero .oh-tag { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.85); }
  .offers-hero h2 { color: #fff; font-size: clamp(1.4rem, 3.2vw, 2.1rem); margin-top: .4rem; line-height: 1.1; }
  .offers-hero p { color: rgba(255,255,255,.85); margin-top: .4rem; font-size: .92rem; max-width: 52ch; }
  .offers-hero .btn-light { border-color: #fff; }
  .offers-hero .oh-stats { display: flex; gap: 1.8rem; flex-wrap: wrap; }
  .offers-hero .oh-stat b { display: block; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; line-height: 1; }
  .offers-hero .oh-stat span { font-size: .76rem; color: rgba(255,255,255,.75); }

  /* ---- Trust strip ---- */
  .trust { border-bottom: 1px solid var(--line); }
  .trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: clamp(1.1rem, 2.5vw, 1.6rem) 0; }
  .trust-item { display: flex; align-items: center; gap: .8rem; padding: 0 .4rem; position: relative; }
  .trust-item + .trust-item::before { content: ''; position: absolute; left: 0; top: 8%; bottom: 8%; width: 1px; background: var(--line); }
  .trust-item .ti-ic { width: 38px; height: 38px; flex: none; color: var(--accent); display: grid; place-items: center; }
  .trust-item .ti-ic svg { width: 26px; height: 26px; }
  .trust-item b { display: block; font-weight: 600; font-size: .92rem; color: var(--ink); }
  .trust-item span { font-size: .8rem; color: var(--ink-2); }

  /* ---- Category cards (dark imagery) ---- */
  .cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
  .ccard { position: relative; aspect-ratio: 3/3.5; border-radius: 10px; overflow: hidden; display: block; }
  .ccard img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
  .ccard::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,12,.18) 0%, rgba(10,10,12,.32) 45%, rgba(10,10,12,.82) 100%); }
  .ccard:hover img { transform: scale(1.05); }
  .ccard-body { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center; padding: 1.4rem 1rem; color: #fff; }
  .ccard-body h3 { color: #fff; font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 700; }
  .ccard-body .cc-cta { font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.9); margin-top: .45rem; display: inline-flex; align-items: center; gap: .35rem; }
  .ccard-body .cc-from { position: absolute; left: 1rem; bottom: 1rem; background: rgba(0,0,0,.45); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.18); color: #fff; font-size: .74rem; font-weight: 600; padding: .35rem .7rem; border-radius: 999px; }

  /* ---- Secondary category tiles (compact, text + count) ---- */
  .cat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .ctile { position: relative; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; aspect-ratio: 4/3; }
  .ctile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
  .ctile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,12,.05) 35%, rgba(10,10,12,.78) 100%); }
  .ctile:hover img { transform: scale(1.06); }
  .ctile-body { position: relative; z-index: 2; margin-top: auto; padding: 1rem 1.1rem; color: #fff; }
  .ctile-body h3 { color: #fff; font-size: 1.02rem; font-weight: 700; }
  .ctile-body span { font-size: .76rem; color: rgba(255,255,255,.78); display: inline-flex; align-items: center; gap: .3rem; margin-top: .15rem; }
  .ctile-body svg { width: 13px; height: 13px; }

  /* ---- Product card ---- */
  .prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
  .pcard { background: #fff; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; position: relative; }
  .pcard:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--line-2); }
  .pcard-media { position: relative; aspect-ratio: 1; background: var(--bg-soft); display: block; }
  .pcard-media img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
  .pcard-badge { position: absolute; top: 10px; left: 10px; background: var(--sale); color: #fff; font-size: .72rem; font-weight: 700; padding: .25rem .5rem; border-radius: 5px; z-index: 2; }
  .pcard-badge--new { background: var(--accent); }
  .pcard-badge--best { background: var(--ink); }
  .pcard-fav { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; color: var(--ink-2); z-index: 2; transition: color .15s ease, transform .15s ease; box-shadow: var(--sh-1); }
  .pcard-fav svg { width: 17px; height: 17px; }
  .pcard-fav:hover { transform: scale(1.08); }
  .pcard-fav.is-fav { color: var(--sale); }
  .pcard-fav.is-fav svg { fill: var(--sale); }
  .pcard-body { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; flex: 1; }
  .pcard-name { font-size: .9rem; font-weight: 500; color: var(--ink); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
  .pcard-name:hover { color: var(--accent); }
  .pcard-stars { display: inline-flex; gap: 1px; margin-top: .4rem; align-items: center; }
  .pcard-stars svg { width: 14px; height: 14px; color: var(--star); }
  .pcard-stars .rc { font-size: .74rem; color: var(--ink-3); margin-left: .25rem; }
  .pcard-foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: auto; padding-top: .8rem; }
  .pcard-price { font-weight: 700; font-size: 1.02rem; color: var(--ink); }
  .pcard-price .old { display: block; font-size: .78rem; font-weight: 500; color: var(--ink-3); text-decoration: line-through; }
  .add-cart { width: 40px; height: 40px; border-radius: 50%; background: var(--black); color: #fff; display: grid; place-items: center; flex: none; transition: transform .15s ease, background .15s ease; }
  .add-cart:hover { background: #000; transform: scale(1.06); }
  .add-cart svg { width: 19px; height: 19px; }
  .add-cart.added { background: var(--accent); }

  /* ---- New vibe dark band ---- */
  .newvibe { background: var(--navy); color: #fff; text-align: center; padding: clamp(2.6rem, 6vw, 4.4rem) 0; }
  .newvibe .nv-tag { font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.6); }
  .newvibe h2 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); margin: .5rem 0 .4rem; font-weight: 700; }
  .newvibe p { color: rgba(255,255,255,.78); font-size: 1.02rem; }
  .newvibe-actions { display: flex; gap: .9rem; justify-content: center; margin-top: 1.6rem; flex-wrap: wrap; }

  /* ---- Carousel row (ofertele zilei) ---- */
  .row-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .6rem; scrollbar-width: thin; }
  .row-scroll .pcard { scroll-snap-align: start; }
  @media (min-width: 981px) { .row-scroll { grid-template-columns: repeat(4, 1fr); grid-auto-flow: row; overflow: visible; } }

  /* ---- Brands strip (logo chips) ---- */
  .brands { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
  .brands span {
    display: flex; align-items: center; justify-content: center; text-align: center;
    min-height: 72px; padding: .8rem 1rem;
    border: 1px solid var(--line); border-radius: 10px; background: #fff;
    font-weight: 700; font-size: .92rem; letter-spacing: .04em; color: #9a9a9a;
    text-transform: uppercase; transition: color .2s ease, border-color .2s ease, box-shadow .2s ease;
  }
  .brands span:hover { color: var(--ink); border-color: var(--line-2); box-shadow: var(--sh-1); }

  /* ---- Authenticity band ---- */
  .auth-band { background: var(--bg-soft); border-radius: 12px; padding: clamp(2rem, 4vw, 3rem); display: grid; grid-template-columns: auto 1fr; gap: 1.6rem; align-items: center; }
  .auth-band .ab-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
  .auth-band .ab-ic svg { width: 32px; height: 32px; }
  .auth-band h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
  .auth-band p { margin-top: .5rem; max-width: 70ch; }

  /* ---- Newsletter ---- */
  .newsletter { background: var(--ink); color: #fff; text-align: center; padding: clamp(2.4rem, 5vw, 3.6rem) 0; }
  .newsletter h2 { color: #fff; }
  .newsletter p { color: rgba(255,255,255,.72); margin-top: .5rem; }
  .nl-form { display: flex; gap: .6rem; max-width: 480px; margin: 1.5rem auto 0; }
  .nl-form input { flex: 1; height: 50px; padding: 0 1.1rem; border-radius: var(--r); border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; }
  .nl-form input::placeholder { color: rgba(255,255,255,.5); }
  .nl-form input:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,.1); }
  .nl-note { font-size: .8rem; color: rgba(255,255,255,.5); margin-top: .8rem; }
  .nl-ok { color: var(--accent); font-weight: 600; margin-top: 1rem; }

  /* ---- Page header (inner pages) ---- */
  .page-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: clamp(1.6rem, 4vw, 2.4rem) 0; }
  .crumb { font-size: .82rem; color: var(--ink-2); margin-bottom: .55rem; }
  .crumb a:hover { color: var(--accent); }
  .crumb span { color: var(--ink); }
  .page-head h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
  .page-head .sub { margin-top: .4rem; color: var(--ink-2); }

  /* ---- Listing layout (magazin) ---- */
  .shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: clamp(1.4rem, 3vw, 2.2rem); align-items: start; }
  .filters { border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem; position: sticky; top: calc(var(--header-h) + var(--subbar-h) + 1rem); }
  .filters-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .4rem; }
  .filters-head h2 { font-size: 1.05rem; }
  .fgroup { border-top: 1px solid var(--line); padding: 1rem 0; }
  .fgroup:first-of-type { border-top: none; }
  .fgroup > summary { font-weight: 600; font-size: .92rem; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; }
  .fgroup > summary::-webkit-details-marker { display: none; }
  .fgroup > summary svg { width: 17px; height: 17px; color: var(--ink-3); transition: transform .2s ease; }
  .fgroup[open] > summary svg { transform: rotate(180deg); }
  .fgroup-body { margin-top: .8rem; display: flex; flex-direction: column; gap: .55rem; }
  .fcheck { display: flex; align-items: center; gap: .6rem; font-size: .88rem; color: var(--ink-2); cursor: pointer; }
  .fcheck input { width: 17px; height: 17px; accent-color: var(--accent); flex: none; cursor: pointer; }
  .fcheck .fc-count { margin-left: auto; font-size: .78rem; color: var(--ink-3); }
  .fcheck:hover { color: var(--ink); }
  .price-inputs { display: flex; align-items: center; gap: .5rem; }
  .price-inputs input { width: 100%; height: 40px; padding: 0 .6rem; border: 1px solid var(--line-2); border-radius: var(--r-sm); font-size: .85rem; }
  .price-inputs input:focus { outline: none; border-color: var(--accent); }
  .price-inputs span { color: var(--ink-3); }
  .filters .btn { width: 100%; margin-top: 1rem; }
  .filter-reset { background: none; color: var(--accent); font-size: .82rem; font-weight: 600; }

  .shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
  .shop-count { font-size: .9rem; color: var(--ink-2); }
  .shop-count b { color: var(--ink); }
  .sort-wrap { display: flex; align-items: center; gap: .5rem; }
  .sort-wrap label { font-size: .85rem; color: var(--ink-2); }
  .sort-wrap select { height: 42px; padding: 0 2rem 0 .9rem; border: 1px solid var(--line-2); border-radius: var(--r-sm); font-size: .88rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235b5d61' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right .7rem center; -webkit-appearance: none; appearance: none; cursor: pointer; }
  .sort-wrap select:focus { outline: none; border-color: var(--accent); }
  .mobile-filter-btn { display: none; }
  .shop-empty { text-align: center; padding: 3rem 0; color: var(--ink-2); grid-column: 1 / -1; }
  .load-more { text-align: center; margin-top: 2rem; }

  /* Active filter chips */
  .fchips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
  .fchip { display: inline-flex; align-items: center; gap: .4rem; background: var(--accent-soft); color: var(--accent-dark); font-size: .8rem; font-weight: 500; padding: .35rem .7rem; border-radius: 999px; }
  .fchip button { color: var(--accent-dark); display: grid; place-items: center; }
  .fchip svg { width: 13px; height: 13px; }

  /* ---- Product detail ---- */
  .pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
  .pdp-gallery { display: grid; grid-template-columns: 76px 1fr; gap: .9rem; }
  .pdp-thumbs { display: flex; flex-direction: column; gap: .7rem; }
  .pdp-thumb { border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 1; background: var(--bg-soft); padding: 0; }
  .pdp-thumb img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
  .pdp-thumb.active { border-color: var(--ink); }
  .pdp-main { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; aspect-ratio: 1; background: var(--bg-soft); }
  .pdp-main img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
  .pdp-brand { font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
  .pdp h1 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-top: .4rem; }
  .pdp-meta { font-size: .88rem; color: var(--ink-2); margin-top: .5rem; }
  .pdp-stars { display: inline-flex; gap: 1px; align-items: center; margin-top: .6rem; }
  .pdp-stars svg { width: 16px; height: 16px; color: var(--star); }
  .pdp-stars span { font-size: .82rem; color: var(--ink-3); margin-left: .35rem; }
  .pdp-price { display: flex; align-items: baseline; gap: .7rem; margin: 1.1rem 0; }
  .pdp-price .now { font-size: 1.7rem; font-weight: 700; }
  .pdp-price .was { font-size: 1.05rem; color: var(--ink-3); text-decoration: line-through; }
  .pdp-price .save { background: var(--sale); color: #fff; font-size: .74rem; font-weight: 700; padding: .2rem .5rem; border-radius: 5px; }
  .pdp-opt-label { font-size: .82rem; font-weight: 600; color: var(--ink); margin: 1.1rem 0 .55rem; }
  .vol-pills { display: flex; gap: .6rem; flex-wrap: wrap; }
  .vol-pill { border: 1px solid var(--line-2); border-radius: var(--r); padding: .55rem 1.1rem; font-size: .9rem; font-weight: 500; cursor: pointer; background: #fff; transition: border-color .15s ease, background .15s ease; }
  .vol-pill.active { border-color: var(--ink); background: var(--ink); color: #fff; }
  .pdp-buy { display: flex; gap: .8rem; align-items: stretch; margin: 1.4rem 0 1rem; flex-wrap: wrap; }
  .qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; flex: none; }
  .qty button { width: 44px; height: 50px; display: grid; place-items: center; color: var(--ink); font-size: 1.2rem; }
  .qty button:hover { background: var(--bg-soft); }
  .qty input { width: 44px; height: 50px; text-align: center; border: none; border-inline: 1px solid var(--line-2); font-weight: 600; -moz-appearance: textfield; }
  .qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
  .pdp-buy .btn { flex: 1; min-width: 180px; height: 50px; }
  .pdp-fav { width: 50px; height: 50px; border: 1px solid var(--line-2); border-radius: var(--r); display: grid; place-items: center; color: var(--ink); flex: none; }
  .pdp-fav svg { width: 20px; height: 20px; }
  .pdp-fav.is-fav { color: var(--sale); border-color: var(--sale); }
  .pdp-fav.is-fav svg { fill: var(--sale); }
  .pdp-trust { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-size: .84rem; color: var(--ink-2); padding-top: 1rem; border-top: 1px solid var(--line); margin-top: .4rem; }
  .pdp-trust span { display: inline-flex; align-items: center; gap: .4rem; }
  .pdp-trust svg { width: 16px; height: 16px; color: var(--accent); }

  /* PDP accordion */
  .pdp-acc { margin-top: 2.4rem; max-width: 100%; }
  .acc-item { border-bottom: 1px solid var(--line); }
  .acc-item:first-child { border-top: 1px solid var(--line); }
  .acc-q { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 0; font-weight: 600; font-size: 1rem; text-align: left; }
  .acc-q svg { width: 19px; height: 19px; color: var(--ink-2); transition: transform .2s ease; flex: none; }
  .acc-item.open .acc-q svg { transform: rotate(180deg); }
  .acc-a { overflow: hidden; max-height: 0; transition: max-height .25s ease; }
  .acc-a-in { padding-bottom: 1.2rem; color: var(--ink-2); font-size: .94rem; }
  .notes-pyr { display: flex; flex-direction: column; gap: .8rem; margin-top: .3rem; }
  .note-row { display: flex; gap: .8rem; align-items: baseline; }
  .note-row b { flex: none; width: 72px; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); }
  .note-row span { color: var(--ink); }

  /* ---- Cart ---- */
  .cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: clamp(1.6rem, 4vw, 2.6rem); align-items: start; }
  .cart-items { display: flex; flex-direction: column; }
  .cart-row { display: grid; grid-template-columns: 92px 1fr auto; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); align-items: center; }
  .cart-row:first-child { padding-top: 0; }
  .cart-thumb { width: 92px; height: 92px; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; background: var(--bg-soft); }
  .cart-thumb img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
  .cart-info .ci-brand { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
  .cart-info .ci-name { font-weight: 500; font-size: .96rem; color: var(--ink); display: block; margin-top: .1rem; }
  .cart-info .ci-vol { font-size: .82rem; color: var(--ink-2); margin-top: .25rem; }
  .cart-info .ci-controls { display: flex; align-items: center; gap: 1rem; margin-top: .7rem; }
  .cart-qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r-sm); }
  .cart-qty button { width: 34px; height: 34px; display: grid; place-items: center; font-size: 1.05rem; color: var(--ink); }
  .cart-qty span { width: 34px; text-align: center; font-weight: 600; font-size: .9rem; }
  .cart-remove { font-size: .82rem; color: var(--ink-3); display: inline-flex; align-items: center; gap: .35rem; }
  .cart-remove:hover { color: var(--sale); }
  .cart-remove svg { width: 15px; height: 15px; }
  .cart-line { text-align: right; }
  .cart-line .cl-total { font-weight: 700; font-size: 1.02rem; }
  .cart-line .cl-unit { font-size: .78rem; color: var(--ink-3); margin-top: .2rem; }

  .cart-summary { border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem; position: sticky; top: calc(var(--header-h) + var(--subbar-h) + 1rem); }
  .cart-summary h2 { font-size: 1.15rem; margin-bottom: 1rem; }
  .sum-row { display: flex; justify-content: space-between; align-items: center; padding: .55rem 0; font-size: .92rem; color: var(--ink-2); }
  .sum-row b { color: var(--ink); }
  .sum-row.total { border-top: 1px solid var(--line); margin-top: .5rem; padding-top: 1rem; font-size: 1.15rem; }
  .sum-row.total b { font-weight: 700; }
  .ship-free { color: var(--accent); font-weight: 600; }
  .cart-summary .btn { margin-top: 1.2rem; }
  .cart-note { font-size: .78rem; color: var(--ink-3); text-align: center; margin-top: .8rem; }
  .cart-empty { text-align: center; padding: clamp(3rem, 8vw, 5rem) 1rem; }
  .cart-empty .ce-ic { width: 80px; height: 80px; border-radius: 50%; background: var(--bg-soft); color: var(--ink-3); display: grid; place-items: center; margin: 0 auto 1.4rem; }
  .cart-empty .ce-ic svg { width: 36px; height: 36px; }
  .cart-empty h2 { margin-bottom: .5rem; }
  .cart-empty p { margin-bottom: 1.4rem; }

  /* ---- Forms / contact ---- */
  .contact-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 3rem); align-items: start; }
  .form { display: flex; flex-direction: column; gap: 1rem; }
  .form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.7rem; }
  .field { display: flex; flex-direction: column; gap: .4rem; }
  .field label { font-size: .85rem; font-weight: 500; color: var(--ink); }
  .field input, .field select, .field textarea { width: 100%; padding: .72rem .9rem; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff; }
  .field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
  .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(6,177,143,.14); }
  .field textarea { resize: vertical; min-height: 120px; }
  .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; color: var(--ink-2); }
  .consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; cursor: pointer; }
  .consent a { color: var(--accent); text-decoration: underline; }
  .form-ok { background: var(--accent-soft); color: var(--accent-dark); border-radius: var(--r-sm); padding: .8rem 1rem; font-size: .9rem; font-weight: 500; }

  .info-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r); padding: 1.7rem; }
  .info-row { display: flex; gap: .9rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .info-row:first-child { padding-top: 0; }
  .info-row:last-child { border-bottom: none; }
  .info-row .ii { flex: none; width: 42px; height: 42px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
  .info-row .ii svg { width: 20px; height: 20px; }
  .info-row .il { font-size: .74rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
  .info-row .iv { font-weight: 500; color: var(--ink); }
  .info-row .iv a:hover { color: var(--accent); }
  .mapframe { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sh-2); margin-top: 1.4rem; }
  .mapframe iframe { width: 100%; height: 400px; border: 0; display: block; }

  /* FAQ on contact */
  .faq { display: flex; flex-direction: column; gap: .7rem; margin-top: 1.2rem; }
  .faq-item { border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
  .faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .95rem 1.1rem; text-align: left; font-weight: 500; font-size: .95rem; }
  .faq-q svg { width: 18px; height: 18px; color: var(--accent); flex: none; transition: transform .2s ease; }
  .faq-item.open .faq-q svg { transform: rotate(180deg); }
  .faq-a { overflow: hidden; max-height: 0; transition: max-height .25s ease; }
  .faq-a-in { padding: 0 1.1rem 1rem; color: var(--ink-2); font-size: .9rem; }

  /* ---- Related products ---- */
  .related { margin-top: clamp(3rem, 6vw, 4.5rem); }

  /* ---- Toast ---- */
  .toast { position: fixed; right: 22px; bottom: 92px; z-index: 80; background: var(--ink); color: #fff; border-radius: var(--r); padding: .9rem 1.1rem; box-shadow: var(--sh-2); display: flex; align-items: center; gap: .7rem; font-size: .9rem; transform: translateY(20px); opacity: 0; visibility: hidden; transition: transform .25s ease, opacity .25s ease, visibility .25s; max-width: calc(100vw - 44px); }
  .toast.show { transform: translateY(0); opacity: 1; visibility: visible; }
  .toast svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
  .toast a { color: var(--accent); font-weight: 600; margin-left: .3rem; white-space: nowrap; }

  /* ---- Floating WhatsApp ---- */
  .wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(37,211,102,.45); transition: transform .18s ease; }
  .wa-float:hover { transform: scale(1.06); }
  .wa-float svg { width: 30px; height: 30px; }

  /* ---- Footer ---- */
  .footer { background: var(--bg-soft); color: var(--ink-2); border-top: 1px solid var(--line); padding: clamp(2.6rem, 5vw, 3.6rem) 0 1.5rem; }
  .footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.3fr; gap: 2rem; }
  .footer-brand { display: inline-flex; align-items: center; gap: .5rem; }
  .footer-brand .brand-name { color: var(--ink); }
  .footer-desc { font-size: .9rem; margin: .9rem 0 1rem; max-width: 34ch; color: var(--ink-2); }
  .footer h4 { color: var(--ink); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .9rem; font-weight: 700; }
  .footer-col a { display: block; font-size: .9rem; margin: .45rem 0; transition: color .18s ease; color: var(--ink-2); }
  .footer-col a:hover { color: var(--accent); }
  .footer-nap { font-size: .9rem; line-height: 1.9; }
  .footer-nap a:hover { color: var(--accent); }
  .footer-social { display: inline-flex; gap: .6rem; margin-top: .6rem; }
  .footer-social a { width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--ink-2); display: grid; place-items: center; transition: background .18s ease, color .18s ease; }
  .footer-social a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
  .footer-social svg { width: 18px; height: 18px; }
  /* ANPC official banner images (white rounded boxes) */
  .footer-badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
  .anpc-box { display: inline-flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px; box-shadow: var(--sh-1); transition: box-shadow .18s ease; }
  .anpc-box:hover { box-shadow: var(--sh-2); }
  .anpc-box img { height: 38px; width: auto; display: block; }
  .footer-legal { margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; font-size: .82rem; }
  .footer-legal-links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; }
  .footer-legal-links a:hover { color: var(--accent); }
  .footer-credit a { color: var(--accent); font-weight: 700; }
}

@layer utilities {
  .mt-1 { margin-top: 1rem; }
  .center { text-align: center; }
  .muted { color: var(--ink-2); }
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
  .hide-desktop { display: none; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1180px) {
  .mainnav > li > a, .mainnav > li > .nav-link { padding-inline: .72rem; font-size: .86rem; }
  .subbar-right .sr-ship { display: none; }
  .mega--cat .mega-in { grid-template-columns: repeat(3, 1fr) 1.1fr; }
  .mega--cat .mega-col--fam { display: none; }
}

@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .brands { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  .hsearch { order: 3; flex-basis: 100%; max-width: none; }
  .subbar { display: none; }
  .hicons .hicon-text { display: none; }
  .burger { display: flex; }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-tiles { grid-template-columns: repeat(2, 1fr); }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0; z-index: 90; border-radius: 0; transform: translateX(-100%); transition: transform .3s ease; overflow-y: auto; background: #fff; max-width: 340px; box-shadow: var(--sh-2); }
  body.filters-open .filters { transform: translateX(0); }
  body.filters-open::after { content: ''; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 89; }
  .mobile-filter-btn { display: inline-flex; }
  .pdp { grid-template-columns: 1fr; gap: 1.8rem; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .header-in { gap: .8rem; flex-wrap: wrap; }
  .hero-in { min-height: clamp(380px, 84vw, 460px); align-items: flex-end; }
  .hero-in::after { background: linear-gradient(180deg, rgba(8,8,10,.25) 0%, rgba(8,8,10,.5) 45%, rgba(8,8,10,.88) 100%); }
  .hero-copy { padding: 1.6rem; max-width: none; }
  .promo-band { flex-direction: column; align-items: flex-start; text-align: left; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem 1rem; }
  .trust-item:nth-child(2)::before, .trust-item:nth-child(4)::before { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 1.6rem; }
  .auth-band { grid-template-columns: 1fr; text-align: center; }
  .auth-band .ab-ic { margin: 0 auto; }
}

@media (max-width: 560px) {
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .brands { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .pcard-body { padding: .7rem .8rem .8rem; }
  .pcard-name { font-size: .84rem; }
  .pcard-price { font-size: .95rem; }
  .field-row { grid-template-columns: 1fr; }
  .nl-form { flex-direction: column; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
  .pdp-gallery { grid-template-columns: 1fr; }
  .pdp-thumbs { flex-direction: row; order: 2; }
  .pdp-thumb { width: 64px; }
  .cart-row { grid-template-columns: 72px 1fr; grid-template-areas: "thumb info" "line line"; }
  .cart-thumb { grid-area: thumb; width: 72px; height: 72px; }
  .cart-info { grid-area: info; }
  .cart-line { grid-area: line; text-align: left; display: flex; align-items: baseline; gap: .6rem; }
  .cart-line .cl-unit { margin-top: 0; }
  /* Equal-height full-width controls (52px) — line-height centers input text */
  .newvibe-actions .btn, .pdp-buy .btn, .nl-form input, .nl-form .btn { width: 100%; height: 52px; line-height: 1.1; }
  .newvibe-actions { flex-direction: column; }
  .pdp-buy { flex-direction: column; }
  .pdp-buy .qty { width: 100%; justify-content: space-between; }
  .pdp-buy .qty input { flex: 1; }
  .pdp-fav { width: 100%; height: 52px; }
  .field input, .field select { height: 52px; line-height: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .pcard:hover, .add-cart:hover, .ccard:hover img { transform: none; }
}

/* Discreet back-to-agency button (added by RTR) */
.rtr-back{position:fixed;left:16px;bottom:18px;z-index:70;display:inline-flex;align-items:center;gap:.35rem;background:rgba(18,18,18,.72);color:#fff;font-size:12px;font-weight:500;line-height:1;padding:.5rem .8rem;border-radius:999px;box-shadow:0 4px 14px rgba(0,0,0,.22);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);transition:background .18s ease,transform .18s ease;text-decoration:none}
.rtr-back:hover{background:rgba(18,18,18,.92);transform:translateY(-1px)}
@media(max-width:560px){.rtr-back{left:12px;bottom:14px;font-size:11px;padding:.45rem .7rem}}
@media(prefers-reduced-motion:reduce){.rtr-back:hover{transform:none}}

/* fouc-reveal */
body { opacity: 1; }
