/* ============================================================
   French House — Premium Catalog Template
   Design system & global styles
   ============================================================ */

/* ---------- Fonts ---------- */
/* Fira GO — primary UI/body font (client request), self-hosted from /fonts
   (woff2 + woff fallback). Each named weight maps to a numeric value:
   Regular 400, Book 450, Medium 500, SemiBold 600, Bold 700.
   Body copy defaults to Book (see `body`), while Regular (400) is used for
   secondary / muted text. The files include Latin + Georgian glyphs.
   Noto Sans/Serif Georgian (Google Fonts) act as instant fallbacks. */
@font-face { font-family:"FiraGO"; font-weight:400; font-style:normal; font-display:swap;
  src:url("../fonts/FiraGO-Regular.woff2") format("woff2"), url("../fonts/FiraGO-Regular.woff") format("woff"); }
@font-face { font-family:"FiraGO"; font-weight:450; font-style:normal; font-display:swap;
  src:url("../fonts/FiraGO-Book.woff2") format("woff2"), url("../fonts/FiraGO-Book.woff") format("woff"); }
@font-face { font-family:"FiraGO"; font-weight:500; font-style:normal; font-display:swap;
  src:url("../fonts/FiraGO-Medium.woff2") format("woff2"), url("../fonts/FiraGO-Medium.woff") format("woff"); }
@font-face { font-family:"FiraGO"; font-weight:600; font-style:normal; font-display:swap;
  src:url("../fonts/FiraGO-SemiBold.woff2") format("woff2"), url("../fonts/FiraGO-SemiBold.woff") format("woff"); }
@font-face { font-family:"FiraGO"; font-weight:700; font-style:normal; font-display:swap;
  src:url("../fonts/FiraGO-Bold.woff2") format("woff2"), url("../fonts/FiraGO-Bold.woff") format("woff"); }
/* Convenience aliases so markup/JS can name the weights explicitly */
@font-face { font-family:"FiraGO Book"; font-weight:400; font-style:normal; font-display:swap;
  src:url("../fonts/FiraGO-Book.woff2") format("woff2"), url("../fonts/FiraGO-Book.woff") format("woff"); }

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette (from the French House logo) */
  --brand:        #C6362E;
  --brand-600:    #B32E27;
  --brand-700:    #9E251F;
  --brand-800:    #7C1A16;
  --brand-soft:   #F7E3DF;

  --cream:        #F3E9D2;
  --cream-soft:   #FBF6EC;
  --cream-deep:   #EADFC4;

  --gold:         #C09A4B;
  --gold-soft:    #E7D6A8;

  --ink:          #241310;
  --ink-soft:     #4A342E;
  --muted:        #7A655D;
  --muted-2:      #9C8A82;
  --line:         #E7DDCB;
  --line-2:       #EFE7D6;
  --white:        #ffffff;
  --surface:      #ffffff;
  --bg:           #FBF7EF;

  --success:      #2F7D5B;
  --warning:      #C08A2E;
  --danger:       #C6362E;
  --info:         #3A6B9E;

  /* Typography — Fira GO for both body text and headings (client request) */
  --font-body: "FiraGO", "Noto Sans Georgian", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-display: "FiraGO", "Noto Sans Georgian", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  /* Serif kept only for the brand logo wordmark, matching the logo mark */
  --font-logo: "Cormorant Garamond", "Noto Serif Georgian", Georgia, serif;

  /* Spacing / layout */
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  /* Shadows (warm-tinted for premium depth) */
  --shadow-xs: 0 1px 2px rgba(60, 30, 20, .06);
  --shadow-sm: 0 2px 10px rgba(60, 30, 20, .06);
  --shadow-md: 0 10px 30px -12px rgba(70, 30, 20, .22);
  --shadow-lg: 0 24px 60px -20px rgba(70, 30, 20, .30);
  --shadow-brand: 0 14px 30px -12px rgba(198, 54, 46, .45);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 116px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  font-weight: 450; /* FiraGO Book — primary reading weight */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* Regular (400) used for secondary / muted copy and form controls */
.muted, .section-sub, .product-card__cat, .breadcrumb,
input, textarea, select, .footer-bottom, .fab__label { font-weight: 400; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.14; color: var(--ink); letter-spacing: -0.015em; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(48px, 7vw, 96px); }
.section--tight { padding-block: clamp(36px, 5vw, 64px); }
.stack > * + * { margin-top: 1rem; }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.hidden { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: .74rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--brand);
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--gold); }
.eyebrow--center::after { content: ""; width: 26px; height: 1.5px; background: var(--gold); }

.section-head { max-width: 640px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(1.9rem, 3.6vw, 3rem); margin-top: .5rem; }
.section-sub { color: var(--muted); margin-top: .85rem; font-size: 1.02rem; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .82em 1.6em; border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem; line-height: 1;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), box-shadow .3s var(--ease), background .25s, color .25s, border-color .25s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-brand); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; }
.btn--lg { padding: 1.02em 2em; font-size: 1rem; }
.btn--sm { padding: .6em 1.15em; font-size: .85rem; }
.btn--block { width: 100%; }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--brand); color: var(--brand); box-shadow: var(--shadow-sm); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); }
.btn--ghost:hover { background: var(--brand-soft); color: var(--brand-700); box-shadow: none; transform: none; }
.btn--gold { --btn-bg: var(--gold); --btn-fg: #2a1d05; }
.btn--gold:hover { box-shadow: 0 14px 30px -12px rgba(192,154,75,.5); }
.btn--cream { --btn-bg: var(--cream); --btn-fg: var(--brand-700); }
.btn[disabled] { opacity: .55; pointer-events: none; }

/* ---------- Badges / chips ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: .32em .7em; border-radius: 999px;
  font-size: .72rem; font-weight: 600; letter-spacing: .02em;
  background: var(--brand-soft); color: var(--brand-700);
}
.badge--gold { background: var(--gold-soft); color: #7a5c14; }
.badge--new { background: #E5F0EA; color: var(--success); }
.badge--sale { background: var(--brand); color: #fff; }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: .45em .9em; border-radius: 999px; font-size: .82rem; font-weight: 500;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink-soft);
  transition: all .2s var(--ease);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header { position: sticky; top: 0; z-index: 60; }

.topbar {
  background: var(--brand-800); color: var(--cream);
  font-size: .82rem;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 16px; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; opacity: .9; transition: opacity .2s; }
.topbar a:hover { opacity: 1; color: #fff; }
.topbar svg { width: 15px; height: 15px; opacity: .8; }
.topbar__promo { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.topbar__promo strong { color: var(--gold-soft); }

.header-main {
  background: rgba(251, 247, 239, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, background .3s;
}
.site-header.is-stuck .header-main { box-shadow: var(--shadow-sm); background: rgba(251, 247, 239, .96); }
.header-main .container {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: clamp(16px, 3vw, 42px); min-height: 76px;
}

/* Logo */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 46px; height: 46px; border-radius: 10px; flex: none;
  background: var(--brand); color: var(--cream);
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
  font-family: var(--font-display); font-weight: 600; overflow: hidden;
}
.brand__mark svg { width: 100%; height: 100%; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text b {
  font-family: var(--font-logo); font-weight: 700; font-size: 1.42rem;
  letter-spacing: .14em; color: var(--brand); text-transform: uppercase;
}
.brand__text span { font-size: .64rem; letter-spacing: .34em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

/* Primary nav */
.nav { display: flex; align-items: center; justify-content: center; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: .7em .95em; border-radius: 10px; font-weight: 500; font-size: .95rem;
  color: var(--ink-soft); transition: color .2s, background .2s;
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--brand); }
.nav__link::after {
  content: ""; position: absolute; left: 50%; bottom: .42em; transform: translateX(-50%) scaleX(0);
  width: 18px; height: 2px; background: var(--brand); border-radius: 2px;
  transition: transform .28s var(--ease); transform-origin: center;
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: translateX(-50%) scaleX(1); }
.nav__link .chev { width: 14px; height: 14px; transition: transform .25s; }
.nav__item--has-menu:hover .chev { transform: rotate(180deg); }

/* Mega dropdown for categories */
.nav__item--has-menu { position: relative; }
.mega {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: min(720px, 88vw); background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 14px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  opacity: 0; visibility: hidden; transition: opacity .22s var(--ease), transform .22s var(--ease);
  z-index: 70;
}
/* invisible bridge across the gap so hover isn't lost between link and menu */
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__item--has-menu:hover .mega,
.nav__item--has-menu:focus-within .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega__link { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; transition: background .18s; }
.mega__link:hover { background: var(--cream-soft); }
.mega__ico {
  width: 40px; height: 40px; flex: none; border-radius: 10px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand);
}
.mega__ico svg { width: 20px; height: 20px; }
/* Uploaded category icon ("site icon" cover) in place of the built-in SVG. */
.mega__ico { overflow: hidden; }
.mega__ico img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mega__link > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mega__t { display: block; font-weight: 600; font-size: .92rem; line-height: 1.2; }
.mega__d { display: block; font-size: .76rem; color: var(--muted); line-height: 1.2; }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 6px; justify-self: end; }
.icon-btn {
  position: relative; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; color: var(--ink-soft);
  transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--brand-soft); color: var(--brand); }
.icon-btn svg { width: 21px; height: 21px; }
.icon-btn__count {
  position: absolute; top: 5px; right: 5px; min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--brand); color: #fff; font-size: .64rem; font-weight: 700;
  border-radius: 999px; display: grid; place-items: center; border: 2px solid var(--bg);
}
.nav-toggle { display: none; }

/* Search overlay */
.search-panel {
  position: fixed; inset: 0; z-index: 90; display: grid; grid-template-rows: auto 1fr;
  background: rgba(36, 19, 16, .5); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .25s;
}
.search-panel.is-open { opacity: 1; visibility: visible; }
.search-panel__inner {
  background: var(--cream-soft); padding: clamp(20px, 4vw, 40px) 0 clamp(28px,5vw,56px);
  transform: translateY(-16px); transition: transform .3s var(--ease-out);
}
.search-panel.is-open .search-panel__inner { transform: translateY(0); }
.search-form { display: flex; align-items: center; gap: 14px; border-bottom: 2px solid var(--brand); padding-bottom: 14px; }
.search-form svg { width: 26px; height: 26px; color: var(--brand); flex: none; }
.search-form input {
  flex: 1; border: none; background: none; font-size: clamp(1.2rem, 3vw, 1.9rem);
  font-family: var(--font-display); color: var(--ink); padding: 4px 0;
}
.search-form input:focus { outline: none; }
.search-form input::placeholder { color: var(--muted-2); }
.search-suggest { margin-top: 22px; }
.search-suggest h4 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.search-suggest__row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.search-results { margin-top: 22px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 14px; }
.search-result { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; background: #fff; border: 1px solid var(--line); transition: box-shadow .2s, transform .2s; }
.search-result:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.search-result img, .search-result .ph { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; flex: none; }
.search-result b { display: block; font-family: var(--font-body); font-size: .9rem; }
.search-result span { font-size: .82rem; color: var(--brand); font-weight: 600; }

/* Mobile drawer */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(36,19,16,.45); backdrop-filter: blur(3px);
  z-index: 95; opacity: 0; visibility: hidden; transition: opacity .3s;
}
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100dvh; width: min(360px, 86vw); z-index: 96;
  background: var(--cream-soft); box-shadow: var(--shadow-lg); transform: translateX(100%);
  transition: transform .35s var(--ease-out); display: flex; flex-direction: column;
  overflow-y: auto;
}
.drawer.is-open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__nav { padding: 12px 12px 20px; }
.drawer__link { display: flex; align-items: center; justify-content: space-between; padding: 15px 14px; border-radius: 12px; font-weight: 500; font-size: 1.05rem; }
.drawer__link:hover, .drawer__link[aria-current="page"] { background: var(--brand-soft); color: var(--brand-700); }
.drawer__sub { padding-left: 10px; }
.drawer__sub a { display: block; padding: 11px 14px; color: var(--ink-soft); font-size: .95rem; border-radius: 10px; }
.drawer__sub a:hover { background: #fff; color: var(--brand); }
.drawer__foot { margin-top: auto; padding: 20px; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: .9rem; color: var(--muted); }
.drawer__foot a { color: var(--ink-soft); display: inline-flex; gap: 8px; align-items: center; }

/* ============================================================
   CART PANEL (slide-in basket)
   ============================================================ */
.cart { width: min(420px, 92vw); }
.cart__title { font-family: var(--font-body); font-weight: 700; font-size: 1.15rem; display: inline-flex; align-items: center; gap: 8px; }
.cart__title-count { min-width: 22px; height: 22px; padding: 0 6px; background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700; border-radius: 999px; display: inline-grid; place-items: center; }
.cart__items { flex: 1; overflow-y: auto; padding: 8px 16px; }
.cart__empty { text-align: center; color: var(--muted); padding: 60px 20px; display: grid; gap: 14px; place-items: center; }
.cart__empty svg { width: 54px; height: 54px; color: var(--line-2); }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item__media { width: 72px; aspect-ratio: 3/4; border-radius: 10px; overflow: hidden; background: var(--cream-deep); display: block; }
.cart-item__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cart-item__name { font-weight: 600; font-size: .92rem; line-height: 1.3; }
.cart-item__name:hover { color: var(--brand); }
.cart-item__meta { font-size: .78rem; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.cart-item__controls { display: flex; align-items: center; gap: 12px; margin-top: 2px; }
.qty--sm { border-width: 1px; }
.qty--sm button { width: 30px; height: 30px; }
.qty--sm span { min-width: 30px; text-align: center; font-weight: 700; font-size: .9rem; }
.cart-item__remove { font-size: .78rem; color: var(--muted-2); text-decoration: underline; }
.cart-item__remove:hover { color: var(--brand); }
.cart-item__sub { font-weight: 700; font-size: .92rem; white-space: nowrap; align-self: start; }
.cart__foot { padding: 16px; border-top: 1px solid var(--line); display: grid; gap: 12px; background: var(--cream-soft); }
.cart__total { display: flex; align-items: center; justify-content: space-between; font-size: 1.05rem; }
.cart__total b { font-family: var(--font-display); font-size: 1.4rem; }

/* ============================================================
   HERO / BANNER SLIDER
   ============================================================ */
/* Hero is the first section — keep it tight to the header (override .section--tight) */
.hero { position: relative; padding-block: clamp(14px, 2vw, 22px) clamp(24px, 4vw, 44px); }
.slider { position: relative; overflow: hidden; border-radius: var(--radius-xl); box-shadow: var(--shadow-md); }
.slides { display: flex; transition: transform .8s var(--ease-out); }
.slide {
  position: relative; flex: 0 0 100%; min-height: clamp(420px, 60vh, 600px);
  display: grid; align-items: center; overflow: hidden;
}
.slide__bg { position: absolute; inset: 0; z-index: 0; }
.slide__bg img, .slide__bg .ph { width: 100%; height: 100%; object-fit: cover; }
.slide::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(70,20,16,.86) 0%, rgba(90,26,20,.55) 42%, rgba(90,26,20,.12) 78%);
}
.slide__inner { position: relative; z-index: 2; max-width: 620px; padding: clamp(28px, 5vw, 64px); color: var(--cream); }
.slide__eyebrow { color: var(--gold-soft); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; font-size: .78rem; display: inline-flex; gap: 10px; align-items: center; }
.slide__eyebrow::before { content: ""; width: 30px; height: 1.5px; background: var(--gold); }
.slide__title { font-size: clamp(2.1rem, 5vw, 4rem); color: #fff; margin-top: 16px; line-height: 1.05; }
.slide__title em { font-style: italic; color: var(--gold-soft); }
.slide__text { margin-top: 16px; font-size: 1.08rem; color: rgba(255,255,255,.9); max-width: 480px; }
.slide__actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.slide__price { margin-top: 22px; display: inline-flex; align-items: baseline; gap: 10px; }
.slide__price s { color: rgba(255,255,255,.6); font-size: 1rem; }
.slide__price b { font-family: var(--font-display); font-size: 2rem; color: #fff; }

/* Slider controls */
.slider__arrows { position: absolute; z-index: 5; bottom: clamp(20px,4vw,34px); right: clamp(20px,4vw,34px); display: flex; gap: 10px; }
.slider__arrow {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.14); color: #fff; border: 1.5px solid rgba(255,255,255,.35);
  backdrop-filter: blur(6px); transition: background .2s, transform .2s;
}
.slider__arrow:hover { background: #fff; color: var(--brand); transform: scale(1.06); }
.slider__arrow svg { width: 22px; height: 22px; }
.slider__dots { position: absolute; z-index: 5; bottom: clamp(24px,4vw,40px); left: clamp(28px,5vw,64px); display: flex; gap: 9px; }
.slider__dot { width: 30px; height: 4px; border-radius: 3px; background: rgba(255,255,255,.35); transition: background .3s, width .3s; }
.slider__dot.is-active { background: var(--gold-soft); width: 44px; }

/* ---------- Trust strip ---------- */
.trust { background: var(--white); border-block: 1px solid var(--line); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.trust__item { display: flex; align-items: center; gap: 14px; padding: 26px 18px; }
.trust__item + .trust__item { border-left: 1px solid var(--line-2); }
.trust__ico { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.trust__ico svg { width: 23px; height: 23px; }
.trust__t { font-weight: 600; font-size: .96rem; }
.trust__d { font-size: .8rem; color: var(--muted); }

/* ---------- Features band (why us) — sits above the footer ---------- */
.features {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--brand-800) 0%, var(--brand) 60%, var(--brand-700) 100%);
  padding-block: clamp(52px, 7vw, 92px);
}
.features::before {
  content: ""; position: absolute; top: -30%; right: -8%; width: 480px; height: 480px;
  border-radius: 50%; background: radial-gradient(circle, rgba(224,214,168,.16), transparent 70%); pointer-events: none;
}
.features::after {
  content: ""; position: absolute; bottom: -40%; left: -10%; width: 420px; height: 420px;
  border-radius: 50%; background: radial-gradient(circle, rgba(0,0,0,.18), transparent 70%); pointer-events: none;
}
.features .container { position: relative; z-index: 1; }
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.feature-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(243,233,210,.14);
  border-radius: var(--radius-lg); padding: 30px 26px; text-align: center;
  backdrop-filter: blur(4px); transition: transform .35s var(--ease), background .35s, border-color .35s, box-shadow .35s;
}
.feature-card:hover {
  transform: translateY(-6px); background: rgba(255,255,255,.1);
  border-color: var(--gold-soft); box-shadow: 0 24px 50px -24px rgba(0,0,0,.5);
}
.feature-card__ico {
  width: 62px; height: 62px; margin: 0 auto 20px; border-radius: 50%;
  display: grid; place-items: center; color: var(--brand-800);
  background: var(--cream); box-shadow: 0 8px 20px -8px rgba(0,0,0,.4);
  transition: transform .35s var(--ease), background .35s, color .35s;
}
.feature-card:hover .feature-card__ico { transform: scale(1.08) rotate(-4deg); background: var(--gold-soft); }
.feature-card__ico svg { width: 28px; height: 28px; }
.feature-card__t { font-family: var(--font-display); font-size: 1.32rem; color: #fff; margin-bottom: 8px; }
.feature-card__d { font-size: .9rem; line-height: 1.6; color: rgba(243,233,210,.78); }
/* flow straight into the dark footer (homepage only, where it precedes it) */
.features + .site-footer { margin-top: 0; }
@media (max-width: 900px) { .features__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .features__grid { grid-template-columns: 1fr; } }

/* ============================================================
   CATEGORY CARDS
   ============================================================ */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
/* Homepage category block: uniform, symmetric grid (3 × 2 for 6 items) */
.cat-grid--home { grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 20px); }
.cat-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--cream-deep); box-shadow: var(--shadow-sm);
  display: block; isolation: isolate;
}
.cat-grid--home .cat-card { aspect-ratio: 16 / 11; }
.cat-card__media { position: absolute; inset: 0; z-index: -1; }
.cat-card__media img, .cat-card__media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(45,16,12,.82), rgba(45,16,12,.14) 55%, rgba(45,16,12,0)); z-index: -1; }
.cat-card:hover .cat-card__media img, .cat-card:hover .cat-card__media .ph { transform: scale(1.08); }
.cat-card__body { position: relative; height: 100%; min-height: 190px; padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; }
.cat-card__count { font-size: .76rem; font-weight: 600; letter-spacing: .04em; color: var(--gold-soft); }
.cat-card__name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; margin-top: 4px; }
.cat-card__go { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.cat-card:hover .cat-card__go { opacity: 1; transform: translateY(0); }
.cat-card__go svg { width: 16px; height: 16px; }

/* Small category chips row (category page) */
.cat-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.cat-pill { padding: .55em 1.1em; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 500; font-size: .9rem; transition: all .2s; }
.cat-pill:hover { border-color: var(--brand); color: var(--brand); }
.cat-pill.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: clamp(14px, 2vw, 24px); }
.product-card {
  position: relative; background: #fff; border: 1px solid var(--line-2);
  border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line); }
.product-card__media-wrap { position: relative; }
.product-card__media { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--cream-deep); display: block; }
.product-card__media img, .product-card__media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out), opacity .4s; }
.product-card__media .img-2 { position: absolute; inset: 0; opacity: 0; }
.product-card:hover .product-card__media .img-1 { opacity: 0; }
.product-card:hover .product-card__media .img-2 { opacity: 1; transform: scale(1.04); }
.product-card__badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.product-card__wish {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.9); display: grid; place-items: center; color: var(--ink-soft);
  box-shadow: var(--shadow-xs); transition: color .2s, transform .2s, background .2s; opacity: 0; transform: translateY(-6px);
}
.product-card:hover .product-card__wish { opacity: 1; transform: translateY(0); }
.product-card__wish:hover { color: var(--brand); transform: scale(1.1); }
.product-card__wish.is-active { color: var(--brand); background: var(--brand-soft); opacity: 1; }
.product-card__wish svg { width: 18px; height: 18px; }
.product-card__quick {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: .7em 1em; border-radius: 10px;
  background: var(--brand); color: #fff; font-weight: 600; font-size: .86rem; line-height: 1;
  box-shadow: var(--shadow-sm); cursor: pointer;
  transform: translateY(12px); opacity: 0;
  transition: transform .35s var(--ease), opacity .3s, background .2s;
}
.product-card__quick svg { width: 18px; height: 18px; }
.product-card__quick:hover { background: var(--brand-700); }
.product-card:hover .product-card__quick { transform: translateY(0); opacity: 1; }
/* Touch devices have no hover — keep the add-to-cart / wish controls visible */
@media (hover: none) {
  .product-card__quick { transform: none; opacity: 1; }
  .product-card__wish { transform: none; opacity: 1; }
}
.product-card__body { padding: 13px 15px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card__cat { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; }
.product-card__name { font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.35; }
.product-card__name a:hover { color: var(--brand); }
.product-card__swatches { display: flex; gap: 6px; margin-top: 2px; }
.swatch-dot { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.product-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 6px; }
.price { display: inline-flex; align-items: baseline; gap: 8px; }
.price b { font-family: var(--font-display); font-size: 1.32rem; font-weight: 700; color: var(--ink); }
.price s { color: var(--muted-2); font-size: .9rem; }
.price--sale b { color: var(--brand); }
.rating { display: inline-flex; align-items: center; gap: 4px; font-size: .8rem; color: var(--muted); }
.rating svg { width: 14px; height: 14px; color: var(--gold); }

/* ============================================================
   HORIZONTAL CAROUSEL (single-row scroller with arrows)
   Cards keep their native design/size; when the row is wider
   than the viewport it scrolls and the arrows appear.
   ============================================================ */
.carousel { position: relative; }
.carousel__track {
  display: flex; gap: clamp(14px, 2vw, 24px);
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
  padding: 8px 2px 20px; /* room for card hover-lift + shadow */
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { flex: 0 0 auto; scroll-snap-align: start; }
/* When every card fits, center the row instead of left-packing it */
.carousel.is-fit .carousel__track { justify-content: center; }

/* Fixed track-item widths preserve the original card dimensions */
.cat-carousel .carousel__track > * { width: clamp(240px, 30vw, 340px); }
.cat-carousel .cat-card { aspect-ratio: 16 / 11; }
.product-carousel .carousel__track > * { width: 264px; }

/* Prev / next arrows */
.carousel__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  box-shadow: var(--shadow-md); display: grid; place-items: center; cursor: pointer;
  transition: opacity .25s var(--ease), visibility .25s, background .2s, color .2s, border-color .2s;
}
.carousel__arrow:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.carousel__arrow svg { width: 22px; height: 22px; }
.carousel__arrow--prev { left: 4px; }
.carousel__arrow--next { right: 4px; }
.carousel__arrow[hidden] { display: grid; opacity: 0; visibility: hidden; pointer-events: none; }
@media (max-width: 560px) {
  .carousel__arrow { width: 40px; height: 40px; }
  .product-carousel .carousel__track > * { width: 230px; }
}
@media (prefers-reduced-motion: reduce) {
  .carousel__track { scroll-behavior: auto; }
}

/* ============================================================
   CATEGORY PAGE LAYOUT
   ============================================================ */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb svg { width: 14px; height: 14px; opacity: .6; }
.page-hero { background: linear-gradient(180deg, var(--cream-soft), var(--bg)); border-bottom: 1px solid var(--line); }
.page-hero__inner { padding-block: clamp(28px, 4vw, 52px); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin-top: 12px; }

.shop-layout { display: grid; grid-template-columns: 280px 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.filters__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line-2); }
.filters__head h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; }
.filter-group { border-bottom: 1px solid var(--line-2); padding: 18px 20px; }
.filter-group:last-child { border-bottom: none; }
.filter-group__title { display: flex; align-items: center; justify-content: space-between; width: 100%; font-weight: 600; font-size: .94rem; padding: 0; }
.filter-group__title svg { width: 18px; height: 18px; color: var(--muted); transition: transform .25s; }
.filter-group.is-collapsed .filter-group__title svg { transform: rotate(-90deg); }
.filter-group__body { margin-top: 14px; display: grid; gap: 10px; overflow: hidden; }
.filter-group.is-collapsed .filter-group__body { display: none; }

.check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: .92rem; color: var(--ink-soft); }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check__box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line); display: grid; place-items: center; transition: all .2s; flex: none; }
.check__box svg { width: 13px; height: 13px; color: #fff; opacity: 0; transform: scale(.6); transition: all .2s; }
.check input:checked + .check__box { background: var(--brand); border-color: var(--brand); }
.check input:checked + .check__box svg { opacity: 1; transform: scale(1); }
.check:hover .check__box { border-color: var(--brand); }
.check__count { margin-left: auto; font-size: .8rem; color: var(--muted-2); }

.color-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.color-swatch { position: relative; cursor: pointer; }
.color-swatch input { position: absolute; opacity: 0; }
.color-swatch__dot { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--line); transition: box-shadow .2s, transform .2s; display: block; }
.color-swatch:hover .color-swatch__dot { transform: scale(1.08); }
.color-swatch input:checked + .color-swatch__dot { box-shadow: 0 0 0 2px var(--brand); }

.size-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.size-swatch { position: relative; cursor: pointer; }
.size-swatch input { position: absolute; opacity: 0; }
.size-swatch span { display: grid; place-items: center; min-width: 42px; height: 38px; padding: 0 10px; border-radius: 10px; border: 1.5px solid var(--line); font-weight: 600; font-size: .85rem; transition: all .2s; }
.size-swatch:hover span { border-color: var(--brand); }
.size-swatch input:checked + span { background: var(--brand); color: #fff; border-color: var(--brand); }

/* Price range */
.price-range { padding-top: 6px; }
.price-range__inputs { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.price-range__field { flex: 1; display: flex; align-items: center; gap: 6px; border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: .85rem; }
.price-range__field span { color: var(--muted-2); }
.price-range__field input { width: 100%; border: none; background: none; font-weight: 600; }
.price-range__field input:focus { outline: none; }
.range-slider { position: relative; height: 4px; background: var(--line); border-radius: 3px; margin: 20px 8px; }
.range-slider__fill { position: absolute; height: 100%; background: var(--brand); border-radius: 3px; }
.range-slider input[type="range"] { position: absolute; top: 50%; transform: translateY(-50%); width: 100%; -webkit-appearance: none; appearance: none; background: none; pointer-events: none; margin: 0; }
.range-slider input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); cursor: pointer; box-shadow: var(--shadow-sm); }
.range-slider input[type="range"]::-moz-range-thumb { pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); cursor: pointer; }

/* Shop toolbar */
.shop-main { min-width: 0; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.shop-toolbar__count { font-size: .92rem; color: var(--muted); }
.shop-toolbar__count b { color: var(--ink); }
.shop-toolbar__right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.select {
  position: relative; display: inline-flex; align-items: center;
}
.select select {
  appearance: none; -webkit-appearance: none; border: 1.5px solid var(--line); background: #fff;
  border-radius: 999px; padding: .6em 2.6em .6em 1.1em; font-weight: 500; font-size: .9rem; cursor: pointer;
  transition: border-color .2s;
}
.select select:hover { border-color: var(--brand); }
.select svg { position: absolute; right: 14px; width: 16px; height: 16px; pointer-events: none; color: var(--muted); }
.view-toggle { display: flex; gap: 4px; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; }
.view-toggle button { width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; color: var(--muted); }
.view-toggle button.is-active { background: var(--brand); color: #fff; }
.view-toggle svg { width: 17px; height: 17px; }

.filter-mobile-btn { display: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.active-filter { display: inline-flex; align-items: center; gap: 7px; padding: .4em .85em; background: var(--brand-soft); color: var(--brand-700); border-radius: 999px; font-size: .82rem; font-weight: 500; }
.active-filter button { display: grid; place-items: center; color: currentColor; }
.active-filter svg { width: 13px; height: 13px; }

/* list view variant */
.product-grid.is-list { grid-template-columns: 1fr; }
.product-grid.is-list .product-card { flex-direction: row; }
.product-grid.is-list .product-card__media { width: 220px; aspect-ratio: 1; flex: none; }
.product-grid.is-list .product-card__body { padding: 22px; }

/* pagination */
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 44px; }
.pagination button, .pagination a { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; display: grid; place-items: center; font-weight: 600; border: 1.5px solid var(--line); background: #fff; transition: all .2s; }
.pagination button:hover, .pagination a:hover { border-color: var(--brand); color: var(--brand); }
.pagination .is-active { background: var(--brand); color: #fff; border-color: var(--brand); }

/* empty state */
.empty { text-align: center; padding: 60px 20px; }
.empty svg { width: 56px; height: 56px; color: var(--muted-2); margin-inline: auto; }
.empty h3 { font-family: var(--font-body); margin-top: 18px; }
.empty p { color: var(--muted); margin-top: 8px; }

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: start; }

/* Gallery */
.gallery { position: sticky; top: calc(var(--header-h) + 16px); display: grid; grid-template-columns: 84px 1fr; gap: 16px; }
.gallery__thumbs { display: flex; flex-direction: column; gap: 12px; }
.gallery__thumb { aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: var(--cream-deep); transition: border-color .2s; cursor: pointer; }
.gallery__thumb.is-active { border-color: var(--brand); }
.gallery__thumb img, .gallery__thumb .ph { width: 100%; height: 100%; object-fit: cover; }
.gallery__main { position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; background: var(--cream-deep); cursor: zoom-in; box-shadow: var(--shadow-sm); }
.gallery__main img, .gallery__main .ph { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.gallery__zoom { position: absolute; inset: 0; background-size: 200%; background-repeat: no-repeat; opacity: 0; transition: opacity .2s; pointer-events: none; }
.gallery__main.is-zooming .gallery__zoom { opacity: 1; }
.gallery__hint { position: absolute; bottom: 14px; right: 14px; display: inline-flex; align-items: center; gap: 7px; padding: .5em .9em; background: rgba(255,255,255,.92); border-radius: 999px; font-size: .78rem; font-weight: 500; box-shadow: var(--shadow-xs); pointer-events: none; }
.gallery__hint svg { width: 15px; height: 15px; }
.gallery__badge { position: absolute; top: 14px; left: 14px; z-index: 2; }

/* PDP info */
.pdp-info__cat { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); font-weight: 600; }
.pdp-info__title { font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin-top: 8px; }
.pdp-info__meta { display: flex; align-items: center; gap: 18px; margin-top: 14px; flex-wrap: wrap; }
.pdp-info__price { display: flex; align-items: baseline; gap: 12px; margin: 22px 0; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.pdp-info__price b { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; }
.pdp-info__price s { color: var(--muted-2); font-size: 1.2rem; }
.pdp-info__price .badge { align-self: center; }
.pdp-info__desc { color: var(--ink-soft); line-height: 1.75; }

.variant { margin-top: 26px; }
.variant__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.variant__label { font-weight: 600; font-size: .95rem; }
.variant__label span { color: var(--muted); font-weight: 400; }
.variant__value { color: var(--brand); font-weight: 600; font-size: .9rem; }
.variant__options { display: flex; flex-wrap: wrap; gap: 10px; }

.opt-color { position: relative; cursor: pointer; }
.opt-color input { position: absolute; opacity: 0; }
.opt-color__dot { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--line); transition: box-shadow .2s, transform .2s; }
.opt-color:hover .opt-color__dot { transform: scale(1.06); }
.opt-color input:checked + .opt-color__dot { box-shadow: 0 0 0 2px var(--brand); }
.opt-color input:checked + .opt-color__dot::after { content: ""; width: 46px; height: 46px; position: absolute; }
.opt-color input:disabled + .opt-color__dot { opacity: .35; cursor: not-allowed; }

.opt-size { position: relative; cursor: pointer; }
.opt-size input { position: absolute; opacity: 0; }
.opt-size span { display: grid; place-items: center; min-width: 52px; height: 48px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line); font-weight: 600; transition: all .2s; }
.opt-size:hover span { border-color: var(--brand); }
.opt-size input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.opt-size input:disabled + span { opacity: .4; text-decoration: line-through; cursor: not-allowed; }

/* qty + cta */
.buy-row { display: flex; gap: 14px; align-items: stretch; margin-top: 30px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 48px; height: 52px; display: grid; place-items: center; color: var(--ink-soft); transition: background .2s; }
.qty button:hover { background: var(--brand-soft); color: var(--brand); }
.qty input { width: 48px; height: 52px; text-align: center; border: none; font-weight: 700; font-size: 1.05rem; }
.qty input:focus { outline: none; }
.buy-row .btn { flex: 1; min-width: 200px; }

.pdp-assurance { display: grid; gap: 12px; margin-top: 28px; padding: 20px; background: var(--cream-soft); border: 1px solid var(--line); border-radius: var(--radius); }
.pdp-assurance__item { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--ink-soft); }
.pdp-assurance__item svg { width: 20px; height: 20px; color: var(--brand); flex: none; }

.share-row { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: .88rem; color: var(--muted); }
.share-row a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); color: var(--ink-soft); transition: all .2s; }
.share-row a:hover { border-color: var(--brand); color: var(--brand); }
.share-row svg { width: 17px; height: 17px; }

/* PDP tabs */
.pdp-tabs { margin-top: clamp(40px, 6vw, 72px); }
.tabs__nav { display: flex; gap: 6px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs__btn { padding: 14px 20px; font-weight: 600; color: var(--muted); white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s; }
.tabs__btn.is-active { color: var(--brand); border-color: var(--brand); }
.tabs__panel { padding-top: 28px; display: none; animation: fadeUp .4s var(--ease); }
.tabs__panel.is-active { display: block; }
.spec-table { width: 100%; border-collapse: collapse; max-width: 640px; }
.spec-table td { padding: 13px 4px; border-bottom: 1px solid var(--line-2); font-size: .94rem; }
.spec-table td:first-child { color: var(--muted); width: 45%; }
.spec-table td:last-child { font-weight: 500; }
.prose { max-width: 720px; color: var(--ink-soft); line-height: 1.8; }
.prose p + p { margin-top: 1em; }
.prose ul { margin-top: 1em; display: grid; gap: 10px; }
.prose li { display: flex; gap: 10px; align-items: flex-start; }
.prose li svg { width: 18px; height: 18px; color: var(--success); flex: none; margin-top: 3px; }

/* ============================================================
   ORDER MODAL
   ============================================================ */
.modal-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(36,19,16,.55); backdrop-filter: blur(5px); display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .25s; overflow-y: auto; }
.modal-backdrop.is-open { opacity: 1; visibility: visible; }
.modal { width: min(560px, 100%); background: var(--cream-soft); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); transform: translateY(20px) scale(.98); transition: transform .3s var(--ease-out); overflow: hidden; margin: auto; }
.modal-backdrop.is-open .modal { transform: translateY(0) scale(1); }
.modal__head { position: relative; padding: 26px 28px 20px; background: var(--brand); color: var(--cream); }
.modal__head h3 { color: #fff; font-size: 1.5rem; }
.modal__head p { opacity: .85; font-size: .9rem; margin-top: 4px; }
.modal__close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.15); color: #fff; transition: background .2s; }
.modal__close:hover { background: rgba(255,255,255,.3); }
.modal__close svg { width: 20px; height: 20px; }
.modal__body { padding: 24px 28px 28px; }

.order-summary { display: flex; gap: 14px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 22px; }
.order-summary img, .order-summary .ph { width: 68px; height: 68px; border-radius: 10px; object-fit: cover; flex: none; }
.order-summary__info { flex: 1; min-width: 0; }
.order-summary__name { font-weight: 600; font-size: .98rem; }
.order-summary__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.order-summary__meta .tag { padding: .28em .7em; font-size: .76rem; }
.order-summary__price { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--brand); white-space: nowrap; }
.order-summary--line { margin-bottom: 10px; padding: 12px; }
.order-summary--line .order-summary__price { font-size: 1.05rem; }
.order-grandtotal { display: flex; align-items: center; justify-content: space-between; padding: 12px 4px 20px; margin-top: 4px; border-top: 1px solid var(--line); font-size: 1.05rem; }
.order-grandtotal b { font-family: var(--font-display); font-size: 1.5rem; color: var(--brand); }

.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 7px; }
.field label .req { color: var(--brand); }
.field input, .field textarea, .field select {
  width: 100%; padding: .8em 1em; border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  font-size: .95rem; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.field textarea { resize: vertical; min-height: 84px; }
.field--error input, .field--error textarea { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: .8rem; margin-top: 6px; display: none; }
.field--error .field__error { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 4px; display: flex; gap: 8px; align-items: flex-start; }
.form-note svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--success); }

.order-success { text-align: center; padding: 20px 10px; }
.order-success__ico { width: 76px; height: 76px; border-radius: 50%; background: #E5F0EA; color: var(--success); display: grid; place-items: center; margin: 0 auto 20px; animation: pop .5s var(--ease-out); }
.order-success__ico svg { width: 40px; height: 40px; }
.order-success h3 { font-size: 1.6rem; }
.order-success p { color: var(--muted); margin-top: 10px; }
.order-success__id { display: inline-block; margin-top: 16px; padding: .5em 1.1em; background: #fff; border: 1px dashed var(--line); border-radius: 10px; font-weight: 600; }

/* ============================================================
   FLOATING MESSENGERS + BACK TO TOP
   ============================================================ */
.fab-stack { position: fixed; right: clamp(14px, 3vw, 26px); bottom: clamp(14px, 3vw, 26px); z-index: 80; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.fab { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-md); transition: transform .25s, box-shadow .25s; position: relative; }
.fab:hover { transform: scale(1.1) translateY(-2px); }
.fab svg { width: 27px; height: 27px; }
.fab--wa { background: #25D366; }
.fab--viber { background: #7360F2; }
.fab--msg { background: linear-gradient(135deg,#00B2FF,#006AFF); }
.fab--top { background: var(--ink); width: 48px; height: 48px; opacity: 0; visibility: hidden; transform: translateY(10px); }
.fab--top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.fab--top svg { width: 22px; height: 22px; }
.fab__label { position: absolute; right: calc(100% + 12px); white-space: nowrap; background: var(--ink); color: #fff; padding: .4em .8em; border-radius: 8px; font-size: .8rem; font-weight: 500; opacity: 0; transform: translateX(6px); transition: all .2s; pointer-events: none; }
.fab:hover .fab__label { opacity: 1; transform: translateX(0); }
.fab-toggle { width: 58px; height: 58px; background: var(--brand); }
.fab-group { display: flex; flex-direction: column; gap: 12px; align-items: center; transition: opacity .25s, transform .25s; }
.fab-stack.is-collapsed .fab-group { opacity: 0; visibility: hidden; transform: translateY(12px) scale(.8); pointer-events: none; }
/* Hide the "back to top" arrow on phones (per request) */
@media (max-width: 560px) { .fab--top { display: none !important; } }

/* ============================================================
   FOOTER
   ============================================================ */
.newsletter { background: linear-gradient(120deg, var(--brand-800), var(--brand)); color: var(--cream); border-radius: var(--radius-xl); padding: clamp(32px, 5vw, 56px); position: relative; overflow: hidden; }
.newsletter::before { content: ""; position: absolute; top: -40%; right: -6%; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(224,214,168,.28), transparent 70%); }
.newsletter__grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; }
.newsletter h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.newsletter p { opacity: .88; margin-top: 10px; }
.newsletter__form { display: flex; gap: 10px; background: #fff; padding: 7px; border-radius: 999px; }
.newsletter__form input { flex: 1; border: none; background: none; padding: 0 18px; font-size: .95rem; }
.newsletter__form input:focus { outline: none; }

.site-footer { background: var(--ink); color: rgba(243,233,210,.72); margin-top: clamp(48px, 7vw, 90px); }
.footer-top { padding-block: clamp(44px, 6vw, 72px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(24px, 4vw, 48px); }
.footer-brand__logo { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand__logo .brand__mark { width: 44px; height: 44px; }
.footer-brand__logo b { font-family: var(--font-logo); font-size: 1.4rem; letter-spacing: .12em; color: var(--cream); text-transform: uppercase; }
.footer-brand p { max-width: 320px; line-height: 1.7; font-size: .92rem; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(243,233,210,.08); color: var(--cream); transition: background .2s, transform .2s; }
.footer-social a:hover { background: var(--brand); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 { font-family: var(--font-body); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cream); margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: .92rem; transition: color .2s, padding .2s; }
.footer-col a:hover { color: var(--cream); padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; font-size: .92rem; margin-bottom: 14px; }
.footer-contact svg { width: 18px; height: 18px; color: var(--brand); flex: none; margin-top: 2px; }
.footer-bottom { border-top: 1px solid rgba(243,233,210,.12); padding-block: 22px; }
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; }
.footer-pay { display: flex; gap: 8px; align-items: center; }
.footer-pay span { padding: .3em .6em; background: rgba(243,233,210,.08); border-radius: 6px; font-size: .72rem; font-weight: 600; letter-spacing: .04em; }

/* ============================================================
   TOAST
   ============================================================ */
.toast-wrap { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; width: min(420px, 92vw); }
.toast { display: flex; align-items: center; gap: 12px; padding: 13px 18px; background: var(--ink); color: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); font-size: .92rem; font-weight: 500; transform: translateY(-16px); opacity: 0; transition: all .3s var(--ease-out); pointer-events: auto; width: 100%; }
.toast.is-show { transform: translateY(0); opacity: 1; }
.toast svg { width: 20px; height: 20px; flex: none; }
.toast--success svg { color: #6BE0A5; }
.toast--info svg { color: var(--gold-soft); }
.toast--error svg { color: #E4736B; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.1); } 100% { transform: scale(1); opacity: 1; } }
@keyframes shimmer { 100% { transform: translateX(100%); } }

/* Placeholder shimmer (used before/instead of remote images) */
.ph { position: relative; background: linear-gradient(135deg, var(--cream-deep), var(--cream)); display: grid; place-items: center; overflow: hidden; }
.ph::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); animation: shimmer 1.8s infinite; }
.ph svg { width: 34%; max-width: 90px; height: auto; color: var(--brand); opacity: .5; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .newsletter__grid { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .nav-toggle { display: grid; }
  .header-main .container { grid-template-columns: auto 1fr auto; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: fixed; top: 0; right: 0; height: 100dvh; width: min(360px,88vw); z-index: 96; border-radius: 0; transform: translateX(100%); transition: transform .35s var(--ease-out); overflow-y: auto; }
  .filters.is-open { transform: translateX(0); }
  .filter-mobile-btn { display: inline-flex; }
  .pdp { grid-template-columns: 1fr; }
  .gallery { position: static; }
}
@media (max-width: 720px) {
  :root { --header-h: 104px; }
  .topbar__left { display: none; }
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .trust__item:nth-child(3) { border-left: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid--home { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__thumbs { flex-direction: row; order: 2; }
  .gallery__thumb { width: 70px; flex: none; }
  .brand__text span { display: none; }
  .product-grid.is-list .product-card { flex-direction: column; }
  .product-grid.is-list .product-card__media { width: 100%; }
}
@media (max-width: 480px) {
  .trust__grid { grid-template-columns: 1fr; }
  .trust__item + .trust__item { border-left: none; border-top: 1px solid var(--line-2); }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-card__body { padding: 11px 12px 10px; gap: 6px; }
  .price b { font-size: 1.1rem; }
}

/* Admin-specific styles live in admin.html scope via .admin- classes below */
