/* =====================================================================
   Famous Premkunj Enterprise — Store design
   Brand colours: maroon #7A1F2B, gold #C9A24D, ivory #FBF7F2, charcoal #2B2B2B
   Built "mobile first": base styles are for phones, @media blocks
   add the tablet / computer layout.
   ===================================================================== */

:root {
  --maroon: #7A1F2B;
  --maroon-dark: #5C1520;
  --maroon-soft: #F4E7E8;
  --gold: #C9A24D;
  --gold-dark: #A9832F;
  --gold-soft: #F6EEDC;
  --ivory: #FBF7F2;
  --paper: #FFFFFF;
  --ink: #2B2B2B;
  --ink-soft: #5E5A57;
  --line: #E9E1D6;
  --ok: #2F7A4B;
  --warn: #B26B00;
  --danger: #B3261E;
  --wa: #1FA855;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(43, 43, 43, .05), 0 6px 20px rgba(43, 43, 43, .06);
  --header-h: 64px;
  --bottom-nav: 60px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); font-size: 15px; line-height: 1.55;
  color: var(--ink); background: var(--ivory);
  padding-bottom: calc(var(--bottom-nav) + env(safe-area-inset-bottom));
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--maroon); text-decoration: none; }
a:hover { color: var(--maroon-dark); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.narrow-wide { max-width: 1120px; }
.muted { color: var(--ink-soft); }
.small { font-size: 13px; }
.ok { color: var(--ok); }
.warn { color: var(--warn); }
.danger { color: var(--danger); }
.center { text-align: center; }
.stack { display: grid; gap: 10px; justify-items: center; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; }
.hp { position: absolute; left: -5000px; }
.eyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark); margin: 0 0 6px; font-weight: 600; }

/* Gold ornament divider (used above headings) */
.ornament { display: block; width: 72px; height: 14px; margin: 0 auto 14px;
  background:
    radial-gradient(circle, var(--gold) 3px, transparent 3.5px) center / 14px 14px no-repeat,
    linear-gradient(var(--gold), var(--gold)) left center / 26px 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right center / 26px 1px no-repeat; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 22px; border-radius: 999px; border: 1px solid var(--maroon);
  background: var(--maroon); color: #fff; font-weight: 600; letter-spacing: .02em;
  cursor: pointer; transition: background .2s, color .2s, transform .1s; text-align: center;
}
.btn:hover { background: var(--maroon-dark); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn--sm { min-height: 36px; padding: 6px 16px; font-size: 14px; }
.btn--lg { min-height: 50px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--grow { flex: 1; }
.btn--gold { background: var(--gold); border-color: var(--gold); color: #2B1A06; }
.btn--gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--paper); color: var(--maroon); border-color: var(--maroon); }
.btn--outline { background: transparent; color: var(--maroon); }
.btn--outline:hover { background: var(--maroon); color: #fff; }
.btn--light { background: #fff; color: var(--maroon); border-color: #fff; }
.btn--light:hover { background: var(--gold-soft); color: var(--maroon-dark); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--outline-light:hover { background: #fff; color: var(--maroon); }
.btn--wa { background: var(--wa); border-color: var(--wa); }
.btn--wa:hover { background: #178544; border-color: #178544; }
.link-btn { background: none; border: 0; padding: 0; color: var(--ink-soft); text-decoration: underline; cursor: pointer; font-size: 13px; }
.link-arrow { font-weight: 600; font-size: 14px; white-space: nowrap; }
.link-arrow::after { content: " →"; }
.icon-btn { position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; background: none; border: 0; color: var(--ink); cursor: pointer; padding: 0; }
.icon-btn:hover { color: var(--maroon); }
.icon-label { display: none; font-size: 11px; margin-top: 2px; }
.badge { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--maroon); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }

/* ---------- Announcement bar ---------- */
.announce { background: var(--maroon); color: #F7E9C8; font-size: 12.5px; letter-spacing: .03em; overflow: hidden; white-space: nowrap; }
.announce__track { display: inline-flex; gap: 80px; padding: 7px 0; animation: marquee 28s linear infinite; }
.announce__track span { padding-left: 40px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .announce__track { animation: none; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(251, 247, 242, .96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); }
.header-row { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "menu logo icons" "search search search";
  align-items: center; gap: 6px 8px; padding-top: 8px; padding-bottom: 10px; }
.menu-toggle { grid-area: menu; }
.logo { grid-area: logo; display: flex; align-items: center; gap: 10px; color: var(--ink); justify-self: start; }
.logo img { max-height: 44px; width: auto; }
.logo__mark { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--maroon); color: var(--gold); font-family: var(--serif); font-weight: 700; font-size: 18px;
  box-shadow: inset 0 0 0 2px var(--maroon), inset 0 0 0 3px var(--gold); }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__text strong { font-family: var(--serif); font-size: 19px; white-space: nowrap; font-weight: 700; color: var(--maroon); letter-spacing: .01em; }
.logo__text small { font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-dark); margin-top: 2px; }
.header-icons { grid-area: icons; display: flex; align-items: center; }
.search { grid-area: search; position: relative; display: flex; }
.search input { width: 100%; height: 42px; padding: 0 46px 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.search input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.search button { position: absolute; right: 4px; top: 4px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--maroon); color: #fff; display: grid; place-items: center; cursor: pointer; }
.search__suggest { position: absolute; top: 48px; left: 0; right: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; z-index: 60; }
.search__suggest a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; color: var(--ink); border-bottom: 1px solid var(--line); }
.search__suggest a:last-child { border-bottom: 0; }
.search__suggest a:hover, .search__suggest a.is-active { background: var(--ivory); }
.search__suggest img { width: 40px; height: 48px; object-fit: cover; border-radius: 6px; background: var(--gold-soft); }
.search__suggest span { flex: 1; font-size: 14px; }
.search__suggest b { font-size: 13px; color: var(--maroon); }
.search--page { max-width: 420px; margin: 20px auto; }
.search--page button { font-weight: 700; }

/* Category menu: hidden on phones (drawer is used instead) */
.catnav { display: none; }

/* ---------- Mobile drawer menu ---------- */
.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(30, 15, 15, .45); animation: fade .2s; }
.drawer__panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(86vw, 360px); background: var(--ivory); overflow-y: auto;
  animation: slideIn .25s ease-out; display: flex; flex-direction: column; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 8px 8px 8px 20px; border-bottom: 1px solid var(--line); }
.drawer__title { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--maroon); }
.drawer__account { display: flex; gap: 10px; align-items: center; padding: 14px 20px; background: var(--maroon-soft); flex-wrap: wrap; }
.drawer__list { list-style: none; margin: 0; padding: 6px 0; }
.drawer__list > li > a, .drawer__list summary { display: block; padding: 13px 20px; color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--line); cursor: pointer; }
.drawer__list summary { list-style: none; position: relative; }
.drawer__list summary::-webkit-details-marker { display: none; }
.drawer__list summary::after { content: "+"; position: absolute; right: 20px; color: var(--gold-dark); font-size: 20px; line-height: 1; }
.drawer__list details[open] summary::after { content: "−"; }
.drawer__list details a { display: block; padding: 10px 20px 10px 34px; color: var(--ink-soft); border-bottom: 1px solid var(--line); background: var(--paper); }
@keyframes slideIn { from { transform: translateX(-100%); } }
@keyframes fade { from { opacity: 0; } }

/* ---------- Toast messages ---------- */
.toasts { position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 100; display: grid; gap: 8px; width: min(92vw, 420px); }
.toast { padding: 12px 16px; border-radius: var(--radius); background: var(--ink); color: #fff; box-shadow: var(--shadow); font-size: 14px;
  animation: toastIn .3s ease-out; }
.toast--success { background: var(--ok); }
.toast--error { background: var(--danger); }
.toast--info { background: var(--maroon); }
.toast.is-leaving { opacity: 0; transform: translateY(-8px); transition: .3s; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px); } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--maroon); }
.hero__track { position: relative; }
.hero__slide { display: none; position: relative; }
.hero__slide.is-active { display: block; animation: fade .6s; }
.hero__slide img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hero__text { position: absolute; inset: auto 0 0 0; padding: 28px 20px 40px; color: #fff;
  background: linear-gradient(to top, rgba(40, 10, 14, .78), transparent); }
.hero__text h2 { font-family: var(--serif); font-size: 34px; font-weight: 700; margin-bottom: 14px; }
.hero__text .btn { align-self: flex-start; }
.hero__text .eyebrow { color: #F1D99A; }
.hero__link { position: absolute; inset: 0; }
.hero__dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.hero__dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: rgba(255,255,255,.5); padding: 0; cursor: pointer; }
.hero__dots button.is-active { background: #fff; width: 22px; border-radius: 4px; }

.hero--default { color: #fff; background:
  radial-gradient(ellipse at 85% 20%, rgba(201,162,77,.22), transparent 55%),
  radial-gradient(ellipse at 0% 100%, rgba(0,0,0,.25), transparent 50%), var(--maroon); }
.hero-default { display: grid; gap: 20px; padding-top: 44px; padding-bottom: 48px; align-items: center; }
.hero-default h1 { font-family: var(--serif); font-size: 44px; font-weight: 700; line-height: 1.02; margin-bottom: 14px; }
.hero-default h1 em { display: block; font-style: italic; color: var(--gold); font-weight: 600; }
.hero-default .eyebrow { color: #F1D99A; }
.hero-default__lead { font-size: 16px; color: #F3E6E2; max-width: 460px; margin: 0 0 24px; }
.hero-default__ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-default__art { color: var(--gold); opacity: .55; width: 220px; justify-self: center; display: none; }

/* ---------- Sections ---------- */
.section { padding: 34px 0 6px; }
.section--tight { padding-top: 26px; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section__head--center { flex-direction: column; align-items: center; text-align: center; }
.section__title { font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--ink); margin: 0; }

/* Category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 10px; }
.cat-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--ink); text-align: center; }
.cat-tile__img { width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--gold-soft);
  box-shadow: 0 0 0 1px var(--line), 0 0 0 4px var(--ivory), 0 0 0 5px var(--gold); transition: transform .25s; }
.cat-tile:hover .cat-tile__img { transform: translateY(-3px); }
.cat-tile__img img { width: 100%; height: 100%; object-fit: cover; }
.cat-tile__mono { width: 100%; height: 100%; display: grid; place-items: center; font-family: var(--serif); font-size: 36px; font-weight: 700;
  color: var(--maroon); background: radial-gradient(circle at 30% 25%, #fff 0, var(--gold-soft) 60%); }
.cat-tile__name { font-size: 12px; font-weight: 600; line-height: 1.25; }

/* Product rail: swipeable row on phones, grid on computers */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 8px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }

/* ---------- Product card ---------- */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
.card { min-width: 0; }
.card__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--gold-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .5s; }
.card__alt { position: absolute; inset: 0; opacity: 0; }
.card:hover .card__alt { opacity: 1; }
.card:hover .card__media > a > img:first-child { transform: scale(1.03); }
.card__tags { position: absolute; top: 8px; left: 8px; display: flex; gap: 4px; }
.tag { display: inline-block; padding: 3px 8px; border-radius: 4px; background: var(--maroon); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.tag--gold { background: var(--gold); color: #2B1A06; }
.tag--muted { background: #8B8580; }
.card__wish { position: absolute; top: 6px; right: 6px; width: 36px; height: 36px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.card__wish svg, .wish-lg svg { fill: none; }
.card__wish.is-on, .wish-lg.is-on { color: var(--maroon); }
.card__wish.is-on svg, .wish-lg.is-on svg { fill: currentColor; }
.card__quick { position: absolute; left: 8px; right: 8px; bottom: 8px; min-height: 36px; border: 0; border-radius: 999px;
  background: rgba(255,255,255,.95); color: var(--maroon); font-weight: 700; font-size: 13px; cursor: pointer;
  display: grid; place-items: center; }
.card__quick:hover { background: var(--maroon); color: #fff; }
.card__body { padding: 8px 2px 0; }
.card__brand { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; }
.card__title { font-family: var(--sans); font-size: 14px; font-weight: 500; margin: 2px 0 4px; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__title a { color: var(--ink); }
.card__low { font-size: 12px; color: var(--warn); margin-top: 2px; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price__now { font-weight: 700; color: var(--ink); }
.price__mrp { color: #8B8580; font-size: 13px; }
.price__off { color: var(--ok); font-weight: 700; font-size: 14px; }

/* Promo banners */
.promo-grid { display: grid; gap: 12px; }
.promo { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; color: #fff; }
.promo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s; }
.promo:hover img { transform: scale(1.03); }
.promo__text { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px;
  background: linear-gradient(to top, rgba(40,10,14,.7), transparent 65%); }
.promo__text small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #F1D99A; }
.promo__text strong { font-family: var(--serif); font-size: 26px; line-height: 1.1; }
.promo__text em { font-style: normal; font-weight: 600; font-size: 14px; margin-top: 4px; }

/* Brand story */
.story { margin-top: 40px; padding: 48px 0; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.story__inner { max-width: 680px; }
.story h2 { font-family: var(--serif); font-size: 30px; color: var(--maroon); }
.story p { color: var(--ink-soft); margin: 0 0 22px; }

/* ---------- Listing page ---------- */
.page-head { padding: 18px 0 8px; }
.crumbs { font-size: 13px; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.crumbs a { color: var(--ink-soft); }
.crumbs a:hover { color: var(--maroon); }
.crumbs--product { margin-top: 14px; }
.page-title { font-family: var(--serif); font-size: 32px; font-weight: 700; color: var(--ink); margin: 0 0 8px; }
.page-title--sm { font-size: 28px; }
.page-intro { color: var(--ink-soft); margin: 0 0 12px; max-width: 720px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 8px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: 13px; font-weight: 500; }
.chip:hover { border-color: var(--maroon); color: var(--maroon); }

.listing { display: grid; gap: 20px; padding-bottom: 30px; }
.results__bar { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.results__count { color: var(--ink-soft); font-size: 14px; margin-right: auto; }
.sort { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-soft); }
.sort select { height: 36px; border: 1px solid var(--line); border-radius: 999px; padding: 0 12px; background: var(--paper); color: var(--ink); }

/* Filters become a bottom sheet on phones */
.filters { position: fixed; inset: auto 0 0 0; z-index: 85; max-height: 86vh; overflow-y: auto; background: var(--ivory);
  border-radius: 18px 18px 0 0; box-shadow: 0 -10px 40px rgba(0,0,0,.2); transform: translateY(105%); transition: transform .3s; }
.filters.is-open { transform: none; }
.filters__form { padding: 0 18px 24px; }
.filters__head { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; background: var(--ivory); padding: 12px 0; border-bottom: 1px solid var(--line); z-index: 1; }
.filters__head strong { font-family: var(--serif); font-size: 22px; }
.fgroup { border: 0; margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); }
.fgroup legend { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; padding: 0; margin-bottom: 10px; }
.price-range { display: flex; align-items: center; gap: 8px; }
.price-range input { width: 100%; height: 40px; border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; background: var(--paper); }
.price-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.price-quick a { font-size: 12.5px; padding: 5px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); }
.size-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.size-check input, .color-check input { position: absolute; opacity: 0; }
.size-check span { display: grid; place-items: center; min-width: 44px; height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); font-size: 13px; cursor: pointer; }
.size-check input:checked + span { border-color: var(--maroon); background: var(--maroon); color: #fff; }
.size-check input:focus-visible + span { outline: 2px solid var(--gold); }
.color-checks { display: grid; gap: 8px; }
.color-check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; position: relative; }
.dot { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.color-check input:checked + .dot { box-shadow: 0 0 0 2px var(--ivory), 0 0 0 4px var(--maroon); }
.switch { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.switch input { width: 18px; height: 18px; accent-color: var(--maroon); }
.filters__actions { display: grid; gap: 8px; padding-top: 16px; }
.filters-backdrop { position: fixed; inset: 0; z-index: 84; background: rgba(30,15,15,.4); }

.pager { display: flex; justify-content: center; gap: 6px; margin: 30px 0 10px; flex-wrap: wrap; }
.pager a { min-width: 40px; height: 40px; display: grid; place-items: center; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.pager a.is-current { background: var(--maroon); border-color: var(--maroon); color: #fff; }

.empty { text-align: center; padding: 48px 16px; color: var(--ink-soft); }
.empty svg { margin: 0 auto 10px; color: var(--gold-dark); }
.empty h2 { font-family: var(--serif); font-size: 28px; color: var(--ink); }
.empty p { margin: 0 0 20px; }

/* ---------- Product page ---------- */
.pdp { display: grid; gap: 22px; padding-bottom: 16px; }
.gallery { position: relative; margin: 0 -16px; }
.gallery__main { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery__main::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; background: var(--gold-soft); }
.gallery__slide img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; cursor: zoom-in; }
.gallery__thumbs { display: flex; gap: 8px; padding: 10px 16px 0; overflow-x: auto; }
.gallery__thumbs button { flex: none; width: 60px; border: 2px solid transparent; border-radius: 8px; overflow: hidden; padding: 0; cursor: pointer; background: none; }
.gallery__thumbs button.is-active { border-color: var(--maroon); }
.gallery__thumbs img { aspect-ratio: 4 / 5; object-fit: cover; }
.gallery__tag { position: absolute; top: 12px; left: 28px; }
.buybox__brand { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); font-weight: 700; }
.buybox__title { font-family: var(--serif); font-size: 30px; font-weight: 700; margin: 4px 0 8px; }
.buybox__short { color: var(--ink-soft); margin: 0 0 12px; }
.buybox__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--line); }
.buybox__price .price__now { font-size: 26px; }
.buybox__price .price__mrp { font-size: 15px; }
.buybox__price .price__off { font-size: 16px; }
.buybox p.small { margin: 2px 0 16px; }
.option { margin-bottom: 16px; }
.option__label { font-size: 14px; margin-bottom: 8px; color: var(--ink-soft); }
.option__label strong { color: var(--ink); }
.swatches, .sizes { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--c); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.swatch.is-active { box-shadow: 0 0 0 2px var(--ivory), 0 0 0 4px var(--maroon); }
.swatch.is-na, .size.is-na { opacity: .35; }
.size { min-width: 50px; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); cursor: pointer; font-weight: 600; }
.size:hover { border-color: var(--maroon); }
.size.is-active { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.size.is-na { text-decoration: line-through; }
.option.is-missing .option__label { color: var(--danger); }
.stock-note { min-height: 20px; margin: 0 0 10px; font-size: 14px; font-weight: 600; }
.buy-row { display: flex; gap: 10px; align-items: stretch; margin-bottom: 10px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); overflow: hidden; }
.qty button { width: 40px; height: 48px; border: 0; background: none; font-size: 20px; cursor: pointer; color: var(--maroon); }
.qty input { width: 36px; border: 0; text-align: center; background: none; -moz-appearance: textfield; font-weight: 600; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty--sm button { width: 34px; height: 34px; font-size: 18px; }
.qty--sm span { min-width: 24px; text-align: center; font-weight: 600; }
.wish-lg { border: 1px solid var(--line); border-radius: 50%; width: 50px; height: 50px; background: var(--paper); }
.wa-ask { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 0; padding: 10px; border-radius: 999px; border: 1px dashed var(--wa); color: #157A3F; font-weight: 600; font-size: 14px; }
.perks { list-style: none; margin: 16px 0; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; display: grid; gap: 6px; }
.perks li::before { content: "✦ "; color: var(--gold); }
.details details { border-top: 1px solid var(--line); }
.details details:last-child { border-bottom: 1px solid var(--line); }
.details summary { padding: 14px 0; font-weight: 700; cursor: pointer; list-style: none; position: relative; }
.details summary::-webkit-details-marker { display: none; }
.details summary::after { content: "+"; position: absolute; right: 4px; color: var(--gold-dark); font-size: 20px; line-height: 1; }
.details details[open] summary::after { content: "−"; }
.prose { color: var(--ink-soft); padding-bottom: 14px; }
.prose p { margin: 0 0 10px; }
.prose ul { margin: 0 0 10px; padding-left: 20px; }
.prose--page { font-size: 16px; color: var(--ink); }
.specs { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 14px; }
.specs th, .specs td { text-align: left; padding: 8px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.specs th { width: 40%; color: var(--ink-soft); font-weight: 500; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: calc(var(--bottom-nav) + env(safe-area-inset-bottom)); z-index: 35; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 10px 16px; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0,0,0,.06);
  transform: translateY(150%); transition: transform .25s; }
.sticky-buy.is-visible { transform: none; }
.zoom-view { position: fixed; inset: 0; z-index: 120; background: rgba(20,10,10,.92); display: grid; place-items: center; cursor: zoom-out; padding: 12px; }
.zoom-view img { max-height: 100%; max-width: 100%; object-fit: contain; }

/* ---------- Cart ---------- */
.cart { display: grid; gap: 20px; padding-bottom: 20px; }
.ship-meter { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; margin-bottom: 12px; font-size: 14px; }
.ship-meter p { margin: 0 0 8px; }
.ship-meter__bar { height: 6px; background: var(--gold-soft); border-radius: 3px; overflow: hidden; }
.ship-meter__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--maroon)); border-radius: 3px; }
.ship-meter--done { background: #EEF6F0; border-color: #CFE5D6; color: var(--ok); }
.line { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line__img img { width: 84px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; background: var(--gold-soft); }
.line__name { color: var(--ink); font-weight: 600; }
.line__opt { font-size: 13px; color: var(--ink-soft); margin: 2px 0 4px; }
.line__actions { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.line__total { display: none; font-weight: 700; }
.summary { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; align-self: start; display: grid; gap: 12px; }
.summary h2 { font-family: var(--serif); font-size: 24px; margin: 0; }
.summary dl { margin: 0; display: grid; gap: 8px; }
.summary dl > div { display: flex; justify-content: space-between; font-size: 14px; }
.summary dd { margin: 0; }
.summary__grand { padding-top: 10px; border-top: 1px solid var(--line); font-size: 17px !important; font-weight: 700; }
.summary__save { margin: 0; text-align: center; color: var(--ok); font-weight: 600; font-size: 14px; background: #EEF6F0; padding: 8px; border-radius: 8px; }
.summary__continue { justify-self: center; }
.card-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 20px; box-shadow: var(--shadow); }
.summary-line { font-size: 18px; margin: 14px 0 20px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 14px; }
.form h2 { font-family: var(--serif); font-size: 24px; margin: 0; }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.field input, .field textarea, .field select { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); font-size: 16px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.field input:disabled { background: var(--ivory); color: var(--ink-soft); }
.field-row { display: grid; gap: 14px; }
.form__row-end { text-align: right; font-size: 14px; margin-top: -4px; }
.auth { padding: 28px 16px 40px; }
.auth__box { max-width: 440px; margin: 0 auto; text-align: center; }
.auth__box .form { text-align: left; margin-top: 18px; }
.auth__switch { margin: 18px 0 0; font-size: 14px; }
.note { background: var(--gold-soft); border-radius: 8px; padding: 10px 14px; font-size: 14px; }

/* Contact & account */
.contact { display: grid; gap: 22px; padding-bottom: 30px; }
.contact-cards { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.contact-cards li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; display: grid; gap: 2px; }
.contact-cards span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); font-weight: 700; }
.contact-cards address { font-style: normal; }
.account-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 0 10px; }
.account-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.tile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: grid; gap: 2px; color: var(--ink); text-align: center; }
.tile strong { font-family: var(--serif); font-size: 30px; color: var(--maroon); }
.tile span { font-size: 12.5px; color: var(--ink-soft); }
.tile--muted { opacity: .65; }
.account-forms { display: grid; gap: 16px; padding-bottom: 30px; }

/* ---------- Trust strip & footer ---------- */
.trust { margin-top: 40px; background: var(--paper); border-top: 1px solid var(--line); }
.trust__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 12px; padding-top: 24px; padding-bottom: 24px; }
.trust__item { display: flex; gap: 10px; align-items: flex-start; color: var(--maroon); }
.trust__item svg { flex: none; }
.trust__item div { display: grid; }
.trust__item strong { color: var(--ink); font-size: 14px; }
.trust__item span { color: var(--ink-soft); font-size: 12.5px; }
.site-footer { background: #2A1418; color: #E8DCD5; padding-top: 38px; font-size: 14px; }
.site-footer a { color: #E8DCD5; }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; gap: 28px; }
.footer-logo { font-family: var(--serif); font-size: 26px; font-weight: 700; color: #fff; }
.footer-logo small { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.footer-brand p { color: #BFAEA6; max-width: 320px; }
.site-footer h3 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.social { display: flex; gap: 14px; }
.footer-bottom { display: flex; flex-direction: column; gap: 6px; padding-top: 18px; padding-bottom: 22px; margin-top: 30px; border-top: 1px solid rgba(255,255,255,.1); color: #A8968E; font-size: 12.5px; }

/* ---------- Mobile bottom nav & WhatsApp button ---------- */
.bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(4, 1fr);
  height: calc(var(--bottom-nav) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: var(--paper); border-top: 1px solid var(--line); }
.bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--ink-soft); font-size: 11px; font-weight: 500; }
.bottom-nav a.is-active { color: var(--maroon); }
.wa-float { position: fixed; right: 14px; bottom: calc(var(--bottom-nav) + 14px + env(safe-area-inset-bottom)); z-index: 44; width: 52px; height: 52px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(31,168,85,.4); }
.wa-float:hover { color: #fff; transform: scale(1.05); }
body.has-sticky-buy .wa-float { bottom: calc(var(--bottom-nav) + 80px + env(safe-area-inset-bottom)); }

/* =====================================================================
   Tablet (≥ 700px)
   ===================================================================== */
@media (min-width: 700px) {
  .container { padding: 0 24px; }
  .cat-grid { grid-template-columns: repeat(5, 1fr); gap: 20px 16px; }
  .rail { grid-auto-columns: 30%; margin: 0 -24px; padding-left: 24px; padding-right: 24px; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 26px 18px; }
  .hero__slide img { aspect-ratio: 21 / 9; }
  .hero__text { inset: 0 auto 0 0; width: 55%; display: flex; flex-direction: column; justify-content: center; padding: 40px 56px;
    background: linear-gradient(to right, rgba(40,10,14,.7), transparent); }
  .hero__text h2 { font-size: 48px; }
  .hero-default { grid-template-columns: 1.4fr 1fr; padding-top: 64px; padding-bottom: 70px; }
  .hero-default h1 { font-size: 64px; }
  .hero-default__art { display: block; width: 280px; }
  .promo-grid--2, .promo-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .trust__row { grid-template-columns: repeat(4, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
  .gallery { margin: 0; }
  .gallery__slide img { border-radius: var(--radius); }
  .gallery__thumbs { padding: 10px 0 0; }
  .gallery__tag { left: 12px; }
  .line { grid-template-columns: 100px 1fr auto; }
  .line__img img { width: 100px; }
  .line__total { display: block; }
  .account-forms { grid-template-columns: 1fr 1fr; align-items: start; }
  .contact { grid-template-columns: 1fr 1.2fr; align-items: start; }
}

/* =====================================================================
   Computer (≥ 1024px)
   ===================================================================== */
@media (min-width: 1024px) {
  body { padding-bottom: 0; font-size: 15.5px; }
  .bottom-nav, .menu-toggle, .sticky-buy { display: none; }
  .wa-float { bottom: 24px; right: 24px; }
  .header-row { grid-template-columns: auto 1fr auto; grid-template-areas: "logo search icons"; gap: 32px; padding-top: 14px; padding-bottom: 14px; }
  .search { max-width: 560px; justify-self: center; width: 100%; }
  .icon-btn { min-width: 58px; }
  .icon-label { display: block; }
  .logo__mark { width: 46px; height: 46px; font-size: 21px; }
  .logo__text strong { font-size: 25px; }

  .catnav { display: block; border-top: 1px solid var(--line); }
  .catnav__list { list-style: none; display: flex; justify-content: center; gap: 4px; margin: 0 auto; }
  .catnav__list > li { position: relative; }
  .catnav__list > li > a { display: block; padding: 12px 14px; color: var(--ink); font-size: 14px; font-weight: 600; letter-spacing: .02em; }
  .catnav__list > li > a:hover { color: var(--maroon); }
  .catnav__list > li > a::after { content: ""; display: block; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .2s; margin-top: 3px; }
  .catnav__list > li:hover > a::after { transform: scaleX(1); }
  .catnav__new { color: var(--maroon) !important; }
  .catnav__sub { position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--paper); border: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow); padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; }
  .has-sub:hover .catnav__sub, .has-sub:focus-within .catnav__sub { opacity: 1; visibility: visible; transform: none; }
  .catnav__sub a { display: block; padding: 8px 18px; color: var(--ink); font-size: 14px; }
  .catnav__sub a:hover { background: var(--ivory); color: var(--maroon); }
  .catnav__all { font-weight: 700; color: var(--maroon) !important; }

  .section { padding-top: 54px; }
  .section__title { font-size: 34px; }
  .cat-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
  .cat-tile { width: 118px; }
  .rail { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0; gap: 28px 20px; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .card__quick { opacity: 0; transform: translateY(8px); transition: .25s; }
  .card:hover .card__quick, .card__quick:focus { opacity: 1; transform: none; }
  .promo-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .page-title { font-size: 40px; }

  .listing { grid-template-columns: 250px 1fr; gap: 36px; }
  .filters { position: sticky; top: 140px; align-self: start; transform: none; max-height: calc(100vh - 160px); border-radius: 0; box-shadow: none; z-index: 1; background: none; }
  .filters__form { padding: 0; }
  .filters__head { position: static; background: none; }
  .filters__close, .show-filters { display: none; }

  .pdp { grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
  .gallery { display: grid; grid-template-columns: 76px 1fr; gap: 12px; position: sticky; top: 150px; }
  .gallery__main { grid-column: 2; grid-row: 1; }
  .gallery__thumbs { grid-column: 1; grid-row: 1; flex-direction: column; padding: 0; max-height: 640px; }
  .gallery__thumbs button { width: 76px; }
  .gallery__tag { left: 100px; }
  .buybox__title { font-size: 38px; }

  .cart { grid-template-columns: 1fr 360px; gap: 40px; }
  .summary { position: sticky; top: 150px; }
}

@media (min-width: 1280px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
}
