/* =============================================================
   Emporium — custom design layer for Bootstrap 5
   Free e-commerce template by uiCookies
   Nij Shyam code2 recolor: navy / action blue / copper (brand v1)
   Type: Manrope (display) / Inter (body)
   ============================================================= */

:root {
  /* Brand — navy + action blue */
  --brand:        #145DA0;
  --brand-600:    #104A80;
  --brand-700:    #0C3861;
  --brand-050:    #E8F1F8;
  --brand-100:    #D0E3F1;

  /* Warm accent — copper */
  --accent:       #B45309;
  --accent-600:   #92400E;
  --accent-050:   #FFF4E6;

  /* Support hues */
  --gold:         #B45309;
  --new:          #145DA0;
  --navy:         #102A43;

  /* Neutrals */
  --ink:          #172B4D;
  --ink-2:        #526477;
  --muted:        #526477;
  --line:         #D9E2EC;
  --line-2:       #E8EDF2;
  --bg:           #FFFFFF;
  --bg-tint:      #F5F7FA;
  --bg-soft:      #F5F7FA;
  --white:        #ffffff;

  --shadow-sm:    0 1px 2px rgba(16,42,67,.06);
  --shadow:       0 6px 22px rgba(16,42,67,.10);
  --shadow-lg:    0 18px 48px rgba(16,42,67,.14);

  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --ff-display: "Manrope", system-ui, sans-serif;
  --ff-body:    "Inter", system-ui, -apple-system, sans-serif;

  --container: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 800; color: var(--ink); line-height: 1.12; letter-spacing: -.02em; }

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

a { color: var(--brand); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--brand-700); }

.container { max-width: var(--container); width: 100%; padding-left: 20px; padding-right: 20px; margin: 0 auto; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
  font-weight: 600; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- reveal (progressive enhancement) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- stars ---------- */
.stars { --rate: 100%; display: inline-block; width: 88px; height: 16px; position: relative; vertical-align: middle; }
.stars::before {
  content: "★★★★★"; letter-spacing: 2px; font-size: 15px; line-height: 16px;
  color: #dfe6e3;
}
.stars::after {
  content: "★★★★★"; letter-spacing: 2px; font-size: 15px; line-height: 16px;
  color: var(--gold); position: absolute; left: 0; top: 0; width: var(--rate); overflow: hidden; white-space: nowrap;
}

/* ---------- prices ---------- */
.price-now { font-family: var(--ff-display); font-weight: 800; color: var(--ink); font-size: 1.12rem; }
.price-was { color: var(--muted); text-decoration: line-through; font-size: .95rem; margin-left: 8px; font-weight: 500; }
.price-save {
  display: inline-block; margin-left: 8px; background: var(--accent-050); color: var(--accent-600);
  font-weight: 700; font-size: .78rem; padding: 3px 9px; border-radius: var(--r-pill);
}

/* ---------- buttons ---------- */
.btn-emp {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--ff-body); font-weight: 700; font-size: .98rem;
  padding: 13px 24px; border-radius: var(--r-pill); border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease), color .18s var(--ease);
  line-height: 1; text-align: center;
}
.btn-emp--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(12,107,88,.24); }
.btn-emp--primary:hover { background: var(--brand-600); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(12,107,88,.30); }
.btn-emp--ghost { background: #fff; color: var(--brand-700); border-color: var(--line); }
.btn-emp--ghost:hover { background: var(--brand-050); color: var(--brand-700); border-color: var(--brand-100); transform: translateY(-2px); }
.btn-emp--lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-emp--block { width: 100%; }
.btn-emp:active { transform: translateY(0); }

.btn-line { border: 1.5px solid var(--line); border-radius: var(--r-pill); padding: 10px 18px; font-weight: 600; color: var(--ink); }
.btn-line:hover { border-color: var(--brand-100); background: var(--brand-050); color: var(--brand-700); }

/* ---------- badges ---------- */
.badge-emp {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  font-size: .72rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase;
  padding: 5px 11px; border-radius: var(--r-pill); color: #fff;
}
.badge-emp--sale, .badge-emp--deal { background: var(--accent); }
.badge-emp--best { background: var(--brand); }
.badge-emp--new  { background: var(--new); }

/* =============================================================
   Announcement bar
   ============================================================= */
.announce { background: var(--brand-700); color: #dbeee7; font-size: .85rem; }
.announce__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; padding-top: 6px; padding-bottom: 6px; }
.announce__msg { margin: 0; }
.announce__msg strong { color: #fff; }
.announce__links { display: flex; align-items: center; gap: 18px; }
.announce__links a { color: #bfe3d8; }
.announce__links a:hover { color: #fff; }
.announce__cc { color: #fff; font-weight: 600; }
@media (max-width: 640px) { .announce__links a { display: none; } }

/* =============================================================
   Header
   ============================================================= */
.site-header { position: sticky; top: 0; z-index: 90; background: #fff; box-shadow: var(--shadow-sm); transition: box-shadow .25s var(--ease); }
.site-header.is-stuck { box-shadow: 0 8px 26px rgba(16,33,29,.10); }

.emp-nav { display: flex; align-items: center; gap: 24px; padding: 16px 0; }

.emp-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.emp-brand:hover { color: var(--ink); }
.emp-brand__mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: #fff; flex: 0 0 auto; box-shadow: 0 6px 14px rgba(12,107,88,.28); }
.emp-brand__name { font-family: var(--ff-display); font-weight: 800; font-size: 1.4rem; letter-spacing: -.02em; }

.emp-search { flex: 1 1 auto; max-width: 560px; display: flex; align-items: center; background: var(--bg-tint); border: 1.5px solid var(--line); border-radius: var(--r-pill); padding: 3px 3px 3px 16px; transition: border-color .18s var(--ease), background .18s var(--ease); }
.emp-search:focus-within { border-color: var(--brand); background: #fff; }
.emp-search__input { flex: 1 1 auto; border: 0; background: transparent; font-family: var(--ff-body); font-size: .95rem; color: var(--ink); padding: 9px 0; }
.emp-search__input:focus { outline: none; }
.emp-search__input::placeholder { color: var(--muted); }
.emp-search__btn { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--brand); color: #fff; cursor: pointer; transition: background .18s var(--ease); }
.emp-search__btn:hover { background: var(--brand-600); }

.emp-nav__actions { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.emp-iconlink { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--ink); }
.emp-iconlink:hover { background: var(--bg-tint); color: var(--brand); }

.emp-cartpill { display: inline-flex; align-items: center; gap: 8px; background: var(--brand); color: #fff; border: 0; border-radius: var(--r-pill); padding: 10px 16px; font-weight: 700; font-family: var(--ff-body); cursor: pointer; margin-left: 6px; transition: background .18s var(--ease), transform .15s var(--ease); }
.emp-cartpill:hover { background: var(--brand-600); transform: translateY(-1px); }
.emp-cartpill__label { font-size: .95rem; }
.emp-cartpill__count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; background: var(--accent); color: #fff; border-radius: var(--r-pill); font-size: .78rem; font-weight: 800; }
.emp-cartpill__count.pop { animation: pop .4s var(--ease); }
@keyframes pop { 0%{transform:scale(1)} 40%{transform:scale(1.35)} 100%{transform:scale(1)} }

.emp-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.emp-burger span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 0 auto; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease); }
.emp-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.emp-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.emp-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* categories bar */
.emp-catbar { border-top: 1px solid var(--line-2); }
.emp-catbar__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.emp-catbar__list::-webkit-scrollbar { display: none; }
.emp-catbar__list a { display: inline-flex; align-items: center; gap: 7px; padding: 12px 15px; color: var(--ink-2); font-weight: 600; font-size: .92rem; white-space: nowrap; border-bottom: 2px solid transparent; }
.emp-catbar__list a:hover { color: var(--brand); }
.emp-catbar__list a.is-current { color: var(--brand-700); }
.emp-catbar__deal { color: var(--accent-600) !important; }
.emp-catbar__deal:hover { color: var(--accent) !important; }

/* mobile menu */
.emp-mobile { position: fixed; inset: 0; z-index: 120; background: #fff; padding: 20px; overflow-y: auto; transform: translateX(-100%); transition: transform .3s var(--ease); }
.emp-mobile.is-open { transform: none; }
.emp-mobile[hidden] { display: block; }
.emp-search--mobile { max-width: none; margin-bottom: 20px; }
.emp-mobile__list { list-style: none; margin: 0 0 24px; padding: 0; }
.emp-mobile__list a { display: block; padding: 15px 4px; font-family: var(--ff-display); font-size: 1.15rem; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line-2); }
.emp-mobile__list a:hover { color: var(--brand); }
.emp-mobile__foot { display: flex; gap: 12px; }
.emp-mobile__foot .btn-line { flex: 1; text-align: center; }

body.menu-open { overflow: hidden; }

/* =============================================================
   Hero
   ============================================================= */
.hero { padding: 44px 0 20px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; background: linear-gradient(135deg, var(--brand-050) 0%, #fff 62%); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 48px; position: relative; overflow: hidden; }
.hero__grid::before { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(12,107,88,.10), transparent 70%); border-radius: 50%; }
.hero__eyebrow { display: inline-block; background: #fff; color: var(--brand-700); border: 1px solid var(--brand-100); font-weight: 700; font-size: .82rem; padding: 6px 14px; border-radius: var(--r-pill); margin: 0 0 18px; }
.hero__title { font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin: 0 0 16px; }
.hero__title em { font-style: normal; color: var(--brand); }
.hero__lead { font-size: 1.1rem; color: var(--ink-2); max-width: 44ch; margin: 0 0 26px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.hero__meta { display: flex; gap: 26px; list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero__meta li { font-size: .9rem; color: var(--muted); }
.hero__meta strong { display: block; font-family: var(--ff-display); font-size: 1.3rem; color: var(--ink); }

.hero__media { position: relative; }
.hero__img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); object-fit: cover; aspect-ratio: 8/9; }
.hero__badge { position: absolute; bottom: -18px; left: -18px; background: var(--accent); color: #fff; border-radius: 20px; padding: 16px 20px; box-shadow: 0 14px 30px rgba(242,100,48,.34); text-align: center; transform: rotate(-6deg); }
.hero__badge-off { display: block; font-family: var(--ff-display); font-weight: 800; font-size: 1.7rem; line-height: 1; }
.hero__badge-txt { display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-top: 3px; }

.hero__promos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.promo { position: relative; display: block; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); min-height: 150px; }
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,74,61,.86) 0%, rgba(8,74,61,.30) 70%, transparent 100%); }
.promo--b::after { background: linear-gradient(90deg, rgba(16,33,29,.82) 0%, rgba(16,33,29,.28) 70%, transparent 100%); }
.promo__body { position: relative; z-index: 2; padding: 24px; color: #fff; display: flex; flex-direction: column; gap: 4px; height: 100%; justify-content: center; }
.promo__kicker { font-size: .8rem; font-weight: 600; opacity: .85; }
.promo__title { font-family: var(--ff-display); font-weight: 800; font-size: 1.3rem; max-width: 15ch; }
.promo__link { font-weight: 700; margin-top: 8px; font-size: .9rem; }
.promo:hover .promo__link { text-decoration: underline; }
.promo:hover img { transform: scale(1.04); }
.promo img { transition: transform .5s var(--ease); }

/* =============================================================
   Sections
   ============================================================= */
.section { padding: 66px 0; }
.section--tint { background: var(--bg-tint); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.section__head--center { justify-content: center; text-align: center; }
.section__title { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0; }
.section__link { font-weight: 700; color: var(--brand); white-space: nowrap; }
.eyebrow { font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .09em; color: var(--accent-600); margin: 0 0 8px; }
.eyebrow--light { color: #a7e6d5; }

/* =============================================================
   Category tiles
   ============================================================= */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.cat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 22px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.cat:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.cat__img { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; background: var(--bg-tint); display: grid; place-items: center; margin-bottom: 8px; }
.cat__img img { width: 100%; height: 100%; object-fit: cover; }
.cat__name { font-family: var(--ff-display); font-weight: 700; font-size: 1rem; color: var(--ink); }
.cat__count { font-size: .82rem; color: var(--muted); }
.cat--deal { background: linear-gradient(160deg, var(--accent-050), #fff); border-color: #f7d9cb; }
.cat--deal .cat__count { color: var(--accent-600); font-weight: 700; }

/* =============================================================
   Deal of the day
   ============================================================= */
.deal { background: linear-gradient(150deg, var(--brand-700), var(--brand) 60%, var(--brand-600)); color: #fff; }
.deal__card { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-lg); padding: 34px; }
.deal__media { position: relative; }
.deal__media img { width: 100%; border-radius: var(--r); object-fit: cover; aspect-ratio: 13/11; box-shadow: var(--shadow-lg); }
.deal__flag { position: absolute; top: 14px; left: 14px; background: var(--accent); color: #fff; font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; padding: 6px 14px; border-radius: var(--r-pill); }
.deal__title { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 6px 0 12px; }
.deal__rating { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.deal__reviews { color: #bfe3d8; font-size: .9rem; }
.deal__desc { color: #d7ede6; max-width: 46ch; margin: 0 0 20px; }
.deal__price { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.deal__price .price-now { color: #fff; font-size: 2rem; }
.deal__price .price-was { color: #a7cfc4; }
.deal__price .price-save { background: var(--accent); color: #fff; }

.cd { display: flex; align-items: center; gap: 8px; }
.cd__unit { display: inline-flex; flex-direction: column; align-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 10px 6px; min-width: 64px; }
.cd__unit b { font-family: var(--ff-display); font-weight: 800; font-size: 1.7rem; line-height: 1; font-variant-numeric: tabular-nums; }
.cd__unit small { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: #bfe3d8; margin-top: 4px; }
.cd__sep { font-size: 1.6rem; font-weight: 800; color: #7fc3b1; }
.deal__count { margin-bottom: 20px; }

.deal__stock { margin-bottom: 22px; }
.deal__stockbar { height: 8px; background: rgba(255,255,255,.16); border-radius: var(--r-pill); overflow: hidden; margin-bottom: 8px; }
.deal__stockbar span { display: block; height: 100%; background: var(--accent); border-radius: var(--r-pill); }
.deal__stock p { margin: 0; font-size: .88rem; color: #d7ede6; }
.deal__stock strong { color: #fff; }
.deal .btn-emp--primary { background: var(--accent); box-shadow: 0 10px 24px rgba(242,100,48,.34); }
.deal .btn-emp--primary:hover { background: var(--accent-600); }

/* =============================================================
   Filters + product grid
   ============================================================= */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter { font-family: var(--ff-body); font-weight: 600; font-size: .92rem; color: var(--ink-2); background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-pill); padding: 9px 18px; cursor: pointer; transition: all .18s var(--ease); }
.filter:hover { border-color: var(--brand-100); color: var(--brand-700); }
.filter.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

.pgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.pgrid--rel { grid-template-columns: repeat(4, 1fr); }
.pgrid__empty { text-align: center; color: var(--muted); padding: 40px 0; font-size: 1.05rem; }

.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.pcard.is-hidden { display: none; }
.pcard__media { position: relative; background: var(--bg-tint); aspect-ratio: 1/1; overflow: hidden; }
.pcard__imglink { display: block; height: 100%; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.05); }

.pcard__wish { position: absolute; top: 12px; right: 12px; z-index: 3; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink-2); cursor: pointer; box-shadow: var(--shadow-sm); transition: transform .15s var(--ease), color .18s var(--ease); }
.pcard__wish:hover { transform: scale(1.1); color: var(--accent); }
.pcard__wish[aria-pressed="true"] { color: var(--accent); }
.pcard__wish[aria-pressed="true"] svg path { fill: var(--accent); }

.pcard__quick { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3; border: 0; border-radius: var(--r-pill); background: var(--ink); color: #fff; font-family: var(--ff-body); font-weight: 700; font-size: .9rem; padding: 11px; cursor: pointer; opacity: 0; transform: translateY(10px); transition: opacity .2s var(--ease), transform .2s var(--ease), background .18s var(--ease); }
.pcard:hover .pcard__quick, .pcard:focus-within .pcard__quick { opacity: 1; transform: none; }
.pcard__quick:hover { background: var(--brand); }
@media (hover: none) { .pcard__quick { opacity: 1; transform: none; } }

.pcard__body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard__cat { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--brand); }
.pcard__title { font-size: 1.02rem; font-weight: 700; margin: 0; line-height: 1.3; }
.pcard__title a { color: var(--ink); }
.pcard__title a:hover { color: var(--brand); }
.pcard__rate { display: flex; align-items: center; gap: 7px; }
.pcard__rnum { font-size: .84rem; color: var(--muted); font-weight: 600; }
.pcard__price { margin-top: auto; padding-top: 4px; }

/* =============================================================
   Best sellers scroller
   ============================================================= */
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; }
.scroller::-webkit-scrollbar { height: 8px; }
.scroller::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; }
.scard { scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.scard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.scard__img { display: block; aspect-ratio: 1/1; background: var(--bg-tint); overflow: hidden; }
.scard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.scard:hover .scard__img img { transform: scale(1.05); }
.scard__body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.scard__title { font-size: .98rem; margin: 0; font-weight: 700; }
.scard__title a { color: var(--ink); }
.scard__title a:hover { color: var(--brand); }
.scroller__nav { display: flex; gap: 8px; }
.scroller__btn { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer; transition: all .18s var(--ease); }
.scroller__btn:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* =============================================================
   Trust bar
   ============================================================= */
.trust { padding: 8px 0 40px; }
.trust__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; margin: 0; padding: 0; }
.trust__item { display: flex; align-items: center; gap: 14px; padding: 22px; background: var(--bg-tint); border: 1px solid var(--line); border-radius: var(--r); }
.trust__icon { flex: 0 0 auto; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: #fff; color: var(--brand); border: 1px solid var(--brand-100); }
.trust__txt { display: flex; flex-direction: column; font-size: .86rem; color: var(--muted); line-height: 1.35; }
.trust__txt strong { font-family: var(--ff-display); font-size: 1rem; color: var(--ink); }

/* =============================================================
   Testimonials
   ============================================================= */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; margin: 0; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-sm); }
.tcard__quote { font-size: 1.03rem; color: var(--ink); line-height: 1.55; margin: 0; }
.tcard__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.tcard__who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.tcard__who span { display: flex; flex-direction: column; font-size: .82rem; color: var(--muted); }
.tcard__who strong { font-size: .96rem; color: var(--ink); }

/* =============================================================
   Newsletter
   ============================================================= */
.news { padding: 20px 0 76px; }
.news__card { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 48px; position: relative; overflow: hidden; }
.news__card::before { content: ""; position: absolute; right: -60px; bottom: -80px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(12,107,88,.5), transparent 68%); border-radius: 50%; }
.news__title { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 10px; position: relative; }
.news__lead { color: #b9c4c0; margin: 0; max-width: 42ch; position: relative; }
.news__form { position: relative; }
.news__field { display: flex; gap: 10px; }
.news__input { flex: 1; border: 1.5px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; border-radius: var(--r-pill); padding: 15px 22px; font-family: var(--ff-body); font-size: 1rem; }
.news__input::placeholder { color: #8ea19b; }
.news__input:focus { outline: none; border-color: var(--brand); background: rgba(255,255,255,.1); }
.news__input.is-invalid { border-color: #ff8a6a; }
.news__msg { margin: 12px 0 0; font-size: .9rem; min-height: 1.2em; color: #a7e6d5; }
.news__msg.is-error { color: #ff9c7f; }
@media (max-width: 560px) { .news__field { flex-direction: column; } }

/* =============================================================
   Footer
   ============================================================= */
.foot { background: var(--bg-tint); border-top: 1px solid var(--line); padding: 60px 0 28px; margin-top: 20px; }
.foot__top { display: grid; grid-template-columns: 1.4fr 2fr; gap: 44px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.foot__brandcol .emp-brand__name { color: var(--ink); }
.foot__blurb { color: var(--muted); margin: 16px 0 18px; max-width: 40ch; font-size: .94rem; }
.foot__social { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.foot__social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.foot__social a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.foot__links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.foot__col h3 { font-family: var(--ff-display); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); margin: 0 0 16px; }
.foot__col ul { list-style: none; margin: 0; padding: 0; }
.foot__col li { margin-bottom: 10px; }
.foot__col a { color: var(--ink-2); font-size: .92rem; }
.foot__col a:hover { color: var(--brand); }
.foot__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; flex-wrap: wrap; }
.foot__bottom p { margin: 0; color: var(--muted); font-size: .88rem; }
.foot__pay { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.foot__pay li { font-size: .74rem; font-weight: 700; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 5px 9px; }

/* =============================================================
   Cart drawer
   ============================================================= */
.cart-overlay { position: fixed; inset: 0; z-index: 130; background: rgba(16,33,29,.5); opacity: 0; transition: opacity .3s var(--ease); }
.cart-overlay.is-open { opacity: 1; }
.cart-overlay[hidden] { display: block; opacity: 0; pointer-events: none; }

.cart { position: fixed; top: 0; right: 0; z-index: 140; width: min(420px, 92vw); height: 100%; background: #fff; box-shadow: -20px 0 50px rgba(16,33,29,.2); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .32s var(--ease); }
.cart.is-open { transform: none; }
.cart__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.cart__title { font-size: 1.25rem; margin: 0; }
.cart__title span { color: var(--muted); font-weight: 600; font-size: 1rem; }
.cart__close { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: all .18s var(--ease); }
.cart__close:hover { background: var(--bg-tint); border-color: var(--brand-100); color: var(--brand); }

.cart__ship { padding: 16px 24px; background: var(--brand-050); border-bottom: 1px solid var(--line); }
.cart__shipmsg { margin: 0 0 8px; font-size: .88rem; color: var(--ink-2); }
.cart__shipmsg strong { color: var(--brand-700); }
.cart__shipmsg.is-free { color: var(--brand-700); font-weight: 700; }
.cart__shipbar { height: 8px; background: #fff; border: 1px solid var(--brand-100); border-radius: var(--r-pill); overflow: hidden; }
.cart__shipbar span { display: block; height: 100%; background: var(--brand); border-radius: var(--r-pill); transition: width .4s var(--ease); }

.cart__items { list-style: none; margin: 0; padding: 8px 24px; overflow-y: auto; flex: 1; }
.citem { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.citem__img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: var(--bg-tint); }
.citem__mid { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.citem__name { font-weight: 700; font-size: .94rem; color: var(--ink); line-height: 1.3; }
.citem__price { color: var(--muted); font-size: .85rem; }
.citem__ctrls { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.citem__qtybtn { width: 26px; height: 26px; border: 1.5px solid var(--line); background: #fff; border-radius: 8px; cursor: pointer; font-size: 1rem; line-height: 1; color: var(--ink); display: grid; place-items: center; }
.citem__qtybtn:hover { border-color: var(--brand); color: var(--brand); }
.citem__qty { min-width: 24px; text-align: center; font-weight: 700; font-size: .9rem; }
.citem__right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.citem__line { font-family: var(--ff-display); font-weight: 800; font-size: .96rem; }
.citem__remove { border: 0; background: none; color: var(--muted); font-size: .8rem; cursor: pointer; padding: 0; text-decoration: underline; }
.citem__remove:hover { color: var(--accent-600); }

.cart__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: var(--muted); text-align: center; padding: 40px; }
.cart__foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); background: var(--bg-soft); }
.cart__subtotal { display: flex; align-items: center; justify-content: space-between; font-size: 1.05rem; margin-bottom: 4px; }
.cart__subtotal strong { font-family: var(--ff-display); font-size: 1.4rem; }
.cart__note { color: var(--muted); font-size: .82rem; margin: 0 0 16px; }
.cart__continue { display: block; width: 100%; background: none; border: 0; color: var(--brand); font-weight: 700; padding: 12px 0 0; cursor: pointer; font-family: var(--ff-body); }
.cart__continue:hover { text-decoration: underline; }

/* =============================================================
   Toasts
   ============================================================= */
.toasts { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 10px; align-items: center; width: max-content; max-width: 92vw; }
.toast { display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; padding: 13px 20px; border-radius: var(--r-pill); box-shadow: var(--shadow-lg); font-weight: 600; font-size: .92rem; opacity: 0; transform: translateY(16px); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.toast.in { opacity: 1; transform: none; }
.toast__check { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; flex: 0 0 auto; }

/* =============================================================
   Product page (PDP)
   ============================================================= */
.crumb { padding: 20px 0 4px; }
.crumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; font-size: .84rem; }
.crumb li { color: var(--muted); }
.crumb li:not(:last-child)::after { content: "/"; margin-left: 8px; color: var(--line); }
.crumb a { color: var(--ink-2); }
.crumb a:hover { color: var(--brand); }
.crumb li[aria-current] { color: var(--ink); font-weight: 600; }

.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 24px 0 40px; }

.gallery { display: grid; grid-template-columns: 88px 1fr; gap: 16px; }
.gallery__main { position: relative; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--bg-tint); order: 2; }
.gallery__zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; aspect-ratio: 1/1; }
.gallery__zoom img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { order: 1; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.gallery__thumb { width: 88px; height: 88px; padding: 0; border: 2px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--bg-tint); cursor: pointer; transition: border-color .18s var(--ease); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { border-color: var(--brand-100); }
.gallery__thumb.is-active { border-color: var(--brand); }

.pdp__brand { color: var(--brand); font-weight: 700; font-size: .84rem; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 8px; }
.pdp__title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 0 0 14px; }
.pdp__meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; color: var(--muted); font-size: .88rem; }
.pdp__reviewlink { color: var(--brand); font-weight: 600; }
.pdp__sku { padding-left: 14px; border-left: 1px solid var(--line); }
.pdp__instock { color: var(--brand-700); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.pdp__instock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }

.pdp__price { display: flex; align-items: center; gap: 12px; padding: 18px 0; margin-bottom: 4px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pdp__price .price-now { font-size: 2rem; }
.pdp__lead { color: var(--ink-2); font-size: 1.02rem; margin: 20px 0 24px; }

.variant { margin-bottom: 22px; }
.variant__label { display: block; font-size: .9rem; color: var(--muted); margin-bottom: 10px; }
.variant__label strong { color: var(--ink); }
.variant__opts { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--line); background: var(--sw); cursor: pointer; position: relative; transition: transform .15s var(--ease); box-shadow: inset 0 0 0 3px #fff; }
.swatch:hover { transform: scale(1.08); }
.swatch.is-active { border-color: var(--brand); box-shadow: inset 0 0 0 3px #fff; }
.pill { font-family: var(--ff-body); font-weight: 600; font-size: .9rem; color: var(--ink-2); background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-pill); padding: 9px 18px; cursor: pointer; transition: all .18s var(--ease); }
.pill:hover { border-color: var(--brand-100); }
.pill.is-active { background: var(--brand-050); border-color: var(--brand); color: var(--brand-700); }

.pdp__buy { display: flex; align-items: center; gap: 12px; margin: 26px 0 22px; flex-wrap: wrap; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r-pill); overflow: hidden; }
.stepper__btn { width: 46px; height: 50px; border: 0; background: #fff; font-size: 1.3rem; cursor: pointer; color: var(--ink); }
.stepper__btn:hover { background: var(--bg-tint); color: var(--brand); }
.stepper__input { width: 46px; height: 50px; border: 0; text-align: center; font-family: var(--ff-display); font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.stepper__input:focus { outline: none; }
.pdp__buy .btn-emp--lg { flex: 1; min-width: 180px; }
.pdp__wish { width: 52px; height: 52px; border: 1.5px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink-2); cursor: pointer; display: grid; place-items: center; transition: all .18s var(--ease); }
.pdp__wish:hover { border-color: var(--accent); color: var(--accent); }
.pdp__wish[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); }
.pdp__wish[aria-pressed="true"] svg path { fill: var(--accent); }

.pdp__assure { list-style: none; margin: 0; padding: 20px; background: var(--bg-tint); border-radius: var(--r); display: flex; flex-direction: column; gap: 12px; }
.pdp__assure li { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--ink-2); }
.pdp__assure svg { color: var(--brand); flex: 0 0 auto; }

/* Tabs */
.ptabs { padding: 20px 0 40px; }
.ptabs__nav { display: flex; gap: 6px; border-bottom: 2px solid var(--line); margin-bottom: 26px; overflow-x: auto; scrollbar-width: none; }
.ptabs__nav::-webkit-scrollbar { display: none; }
.ptab { font-family: var(--ff-display); font-weight: 700; font-size: 1.02rem; color: var(--muted); background: none; border: 0; padding: 14px 18px; cursor: pointer; position: relative; white-space: nowrap; transition: color .18s var(--ease); }
.ptab:hover { color: var(--ink); }
.ptab.is-active { color: var(--brand-700); }
.ptab.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -2px; height: 3px; background: var(--brand); border-radius: 3px; }
.ptab__n { font-family: var(--ff-body); font-size: .78rem; color: var(--muted); font-weight: 600; }
.ppanel { animation: fade .3s var(--ease); }
.ppanel[hidden] { display: none; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ppanel { animation: none; } }

.prose { max-width: 68ch; }
.prose p { color: var(--ink-2); margin: 0 0 16px; }
.prose h3 { font-size: 1.15rem; margin: 24px 0 12px; }
.prose ul { color: var(--ink-2); padding-left: 20px; margin: 0; }
.prose li { margin-bottom: 8px; }

.spec { width: 100%; max-width: 640px; border-collapse: collapse; }
.spec th, .spec td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line-2); font-size: .94rem; }
.spec th { color: var(--muted); font-weight: 600; width: 40%; }
.spec td { color: var(--ink); font-weight: 600; }
.spec tr:nth-child(even) { background: var(--bg-soft); }

.revsum { display: grid; grid-template-columns: 200px 1fr; gap: 30px; padding: 8px 0 28px; margin-bottom: 24px; border-bottom: 1px solid var(--line); align-items: center; }
.revsum__score { text-align: center; }
.revsum__score strong { display: block; font-family: var(--ff-display); font-size: 3rem; line-height: 1; color: var(--ink); }
.revsum__score .stars { margin: 8px 0; }
.revsum__based { display: block; font-size: .82rem; color: var(--muted); }
.revsum__bars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.revsum__bars li { display: grid; grid-template-columns: 32px 1fr 40px; align-items: center; gap: 12px; font-size: .84rem; color: var(--muted); }
.revbar { height: 8px; background: var(--line-2); border-radius: var(--r-pill); overflow: hidden; }
.revbar span { display: block; height: 100%; background: var(--gold); border-radius: var(--r-pill); }

.revlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.rev { border-bottom: 1px solid var(--line-2); padding-bottom: 20px; }
.rev__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.rev__head img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.rev__head > div { display: flex; flex-direction: column; margin-right: auto; }
.rev__verified { font-size: .78rem; color: var(--brand); font-weight: 600; }
.rev__body { color: var(--ink-2); margin: 0; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 160; background: rgba(16,33,29,.9); display: flex; align-items: center; justify-content: center; padding: 30px; opacity: 0; transition: opacity .25s var(--ease); }
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 90vw; max-height: 86vh; width: auto; border-radius: var(--r); box-shadow: var(--shadow-lg); }
.lightbox__close { position: absolute; top: 22px; right: 22px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .18s var(--ease); }
.lightbox__close:hover { background: rgba(255,255,255,.28); }

/* =============================================================
   Responsive
   ============================================================= */
@media (max-width: 1100px) {
  .pgrid { grid-template-columns: repeat(4, 1fr); }
  .cats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
  .emp-search { order: 3; flex-basis: 100%; max-width: none; margin-top: 4px; }
  .emp-nav { flex-wrap: wrap; gap: 14px; }
  .emp-burger { display: flex; }
  .emp-catbar { display: none; }
  .emp-search:not(.emp-search--mobile) { display: none; }
  .hero__grid { grid-template-columns: 1fr; gap: 32px; padding: 34px; }
  .hero__media { order: -1; max-width: 460px; }
  .deal__card { grid-template-columns: 1fr; gap: 26px; }
  .news__card { grid-template-columns: 1fr; gap: 26px; padding: 36px; }
  .foot__top { grid-template-columns: 1fr; gap: 30px; }
  .pdp { grid-template-columns: 1fr; gap: 32px; }
  .trust__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .pgrid, .pgrid--rel { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .tgrid { grid-template-columns: 1fr; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 48px 0; }
  .pcard__quick { opacity: 1; transform: none; }
  .revsum { grid-template-columns: 1fr; gap: 18px; text-align: center; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__thumbs { order: 2; flex-direction: row; overflow-x: auto; }
  .gallery__main { order: 1; }
  .foot__bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .emp-brand__name { font-size: 1.2rem; }
  .emp-cartpill__label { display: none; }
  .foot__links { grid-template-columns: 1fr 1fr; }
  .hero__meta { gap: 18px; }
}
@media (max-width: 420px) {
  .pgrid, .pgrid--rel, .cats { grid-template-columns: 1fr; }
  .trust__list { grid-template-columns: 1fr; }
}
