/* =========================================================
   آنتیک آبی — Antique Aabi
   ========================================================= */

:root {
  --paper: #f7f1e5;
  --paper-2: #efe5d2;
  --card: #fffaf1;
  --ink: #2b2420;
  --ink-2: #4a3f37;
  --muted: #7a6c5f;
  --line: rgba(43, 36, 32, .12);
  --blue: #1d3557;
  --blue-2: #2b4c7e;
  --blue-soft: #dfe6ef;
  --gold: #a8834a;
  --gold-2: #c9a86a;
  --wine: #7d2435;
  --green: #4f6b45;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(43, 36, 32, .06), 0 10px 30px -12px rgba(43, 36, 32, .22);
  --shadow-lg: 0 30px 80px -20px rgba(29, 53, 87, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;

  --font: "Vazirmatn", Tahoma, system-ui, sans-serif;
  --font-nastaliq: "Noto Nastaliq Urdu", "Vazirmatn", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  background: var(--paper);
  background-image:
    radial-gradient(rgba(168, 131, 74, .07) 1px, transparent 1.2px),
    radial-gradient(rgba(29, 53, 87, .045) 1px, transparent 1.2px);
  background-size: 22px 22px, 22px 22px;
  background-position: 0 0, 11px 11px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
h1, h2, h3 { line-height: 1.4; margin: 0; font-weight: 800; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: .02em;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--gold-2); }

.nastaliq {
  font-family: var(--font-nastaliq);
  font-weight: 700;
  line-height: 2.1;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px;
  border-radius: 999px;
  font-weight: 700; font-size: 15px;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(29, 53, 87, .7); }
.btn--primary:hover { background: var(--blue-2); transform: translateY(-2px); }
.btn--ghost { border: 1.5px solid var(--line); background: rgba(255, 255, 255, .5); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--blue); }
.btn--light:hover { transform: translateY(-2px); }
.btn--outline-light { border: 1.5px solid rgba(255, 255, 255, .45); color: #fff; }
.btn--outline-light:hover { background: rgba(255, 255, 255, .1); }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: #95723d; }
.btn--whatsapp { background: #1f8f55; color: #fff; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

.icon-btn {
  position: relative;
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  transition: background .2s;
}
.icon-btn:hover { background: rgba(43, 36, 32, .06); }

.link-btn {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted); font-size: 14px;
  padding: 6px 0;
}
.link-btn svg { width: 18px; height: 18px; }
.link-btn:hover { color: var(--blue); }

/* ---------- Topbar & header ---------- */
.topbar {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 8px 16px;
  background: var(--blue); color: #e9eef6;
  font-size: 13px;
  text-align: center;
}
.topbar .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold-2); }

.header {
  position: sticky; top: 0; z-index: 40;
  height: var(--header-h);
  background: rgba(247, 241, 229, .82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0, 0, 0, .3); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { color: var(--blue); }
.brand__mark svg { width: 36px; height: 36px; stroke-width: 1.5; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { font-weight: 800; font-size: 20px; color: var(--blue); }
.brand__latin { font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); direction: ltr; text-align: right; }

.nav { display: flex; gap: 6px; }
.nav a {
  position: relative; padding: 8px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--blue); background: rgba(29, 53, 87, .06); }

.header__actions { display: flex; align-items: center; gap: 2px; }
.cart-count {
  position: absolute; top: 3px; left: 2px;
  min-width: 19px; height: 19px; padding: 0 5px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: var(--wine); color: #fff;
  font-size: 11px; font-weight: 700; line-height: 1;
}
.cart-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.menu-btn { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 72px; position: relative; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero__title { font-size: clamp(34px, 5vw, 58px); font-weight: 800; color: var(--ink); margin: 14px 0 10px; line-height: 1.5; }
.hero__title .nastaliq { display: block; color: var(--blue); font-size: .92em; margin-top: -.2em; }
.hero__lead { font-size: 17px; color: var(--ink-2); max-width: 30em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__stats { display: flex; gap: 36px; margin: 40px 0 0; padding-top: 26px; border-top: 1px solid var(--line); }
.hero__stats div { display: flex; flex-direction: column; }
.hero__stats dt { font-size: 28px; font-weight: 800; color: var(--blue); line-height: 1.3; }
.hero__stats dd { margin: 0; font-size: 13px; color: var(--muted); }

.hero__art { position: relative; height: min(620px, 62vw); min-height: 440px; }
.arch {
  position: absolute; margin: 0; overflow: hidden;
  border-radius: 999px 999px 18px 18px;
  box-shadow: var(--shadow-lg);
  background: var(--paper-2);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch--main {
  inset: 0 18% 0 8%;
  outline: 1.5px solid var(--gold-2); outline-offset: 10px;
}
.arch--main img { animation: slowzoom 18s ease-in-out infinite alternate; }
@keyframes slowzoom { to { transform: scale(1.08); } }
.arch--small { width: 34%; aspect-ratio: 3 / 4; border: 6px solid var(--paper); }
.arch--a { right: 0; bottom: 8%; }
.arch--b { left: 0; top: 10%; width: 30%; }
.hero__seal {
  position: absolute; left: 4%; bottom: 2%;
  width: 118px; height: 118px;
  display: grid; place-items: center;
  border-radius: 50%; background: var(--wine); color: #fff;
  box-shadow: var(--shadow);
}
.hero__seal::before {
  content: ""; position: absolute; inset: 7px; border-radius: 50%;
  border: 1px dashed rgba(201, 168, 106, .7);
  animation: spin 30s linear infinite;
}
.hero__seal span { display: flex; flex-direction: column; align-items: center; line-height: 1.5; text-align: center; font-size: 13px; color: #f5e9d6; }
.hero__seal b { font-family: var(--font-nastaliq); font-size: 22px; font-weight: 700; color: var(--gold-2); line-height: 1.6; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--paper-2);
  padding: 14px 0;
}
.marquee__track {
  display: flex; gap: 28px; width: max-content;
  animation: marquee 38s linear infinite;
  font-size: 17px; font-weight: 500; color: var(--ink-2);
  white-space: nowrap;
}
.marquee__track i { font-style: normal; color: var(--gold); }
@keyframes marquee { to { transform: translateX(50%); } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section__head { text-align: center; margin-bottom: 44px; }
.section__head .eyebrow::after { content: ""; width: 26px; height: 1px; background: currentColor; }
.section__title { font-size: clamp(28px, 3.6vw, 40px); color: var(--ink); margin-top: 6px; }
.ornament { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 12px; color: var(--gold); }
.ornament span { width: 64px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament span:last-child { transform: scaleX(-1); }
.ornament i { font-style: normal; font-size: 14px; }

/* ---------- Toolbar ---------- */
.toolbar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  margin-bottom: 30px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: rgba(255, 255, 255, .55);
  font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  transition: all .2s;
}
.chip small { font-size: 12px; color: var(--muted); }
.chip:hover { border-color: var(--ink-2); }
.chip[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip[aria-selected="true"] small { color: #c9d4e4; }

.toolbar__side { display: flex; align-items: center; gap: 18px; }
.switch { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch__track {
  position: relative; width: 42px; height: 24px; border-radius: 99px;
  background: #d8cdbb; transition: background .25s;
}
.switch__track::after {
  content: ""; position: absolute; top: 3px; right: 3px;
  width: 18px; height: 18px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
  transition: transform .25s var(--ease);
}
.switch input:checked + .switch__track { background: var(--green); }
.switch input:checked + .switch__track::after { transform: translateX(-18px); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--gold); outline-offset: 2px; }

.select select {
  appearance: none; -webkit-appearance: none;
  height: 42px; padding: 0 16px 0 40px;
  border-radius: 999px; border: 1.5px solid var(--line);
  background: rgba(255, 255, 255, .55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a6c5f' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat left 14px center / 16px;
  font: inherit; font-size: 14.5px; color: var(--ink);
  cursor: pointer;
}

/* ---------- Product grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px 22px;
}
.card {
  position: relative;
  display: flex; flex-direction: column;
  cursor: pointer;
  animation: cardIn .6s var(--ease) both;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } }
.card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 160px 160px var(--radius) var(--radius);
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: var(--shadow);
  isolation: isolate;
}
.card__media::after {
  content: ""; position: absolute; inset: 8px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 152px 152px 12px 12px;
  pointer-events: none; z-index: 2;
}
.card__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity .6s var(--ease), transform 1.2s var(--ease);
}
.card__media .hover-img { opacity: 0; }
.card:hover .card__media .hover-img { opacity: 1; }
.card:hover .card__media img { transform: scale(1.05); }
.card.is-sold .card__media img { filter: saturate(.55); }

.badge {
  position: absolute; z-index: 3; bottom: 18px; right: 0;
  padding: 4px 14px 4px 12px;
  border-radius: 999px 0 0 999px;
  font-size: 12.5px; font-weight: 700; color: #fff;
  background: var(--blue);
}
.badge--sold { background: var(--wine); }
.badge--reserved { background: var(--gold); }
.badge--multi { background: rgba(43, 36, 32, .72); backdrop-filter: blur(6px); }

.card__quick {
  position: absolute; z-index: 3; bottom: 14px; left: 50%;
  transform: translate(-50%, 12px); opacity: 0;
  padding: 9px 18px; border-radius: 999px;
  background: rgba(255, 250, 241, .94); color: var(--ink);
  font-size: 13.5px; font-weight: 700; white-space: nowrap;
  transition: all .35s var(--ease);
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .35);
}
.card:hover .card__quick { opacity: 1; transform: translate(-50%, 0); }

.card__body { padding: 16px 6px 0; text-align: center; }
.card__cat { font-size: 12.5px; color: var(--gold); font-weight: 500; }
.card__title { font-size: 17px; font-weight: 700; margin: 2px 0 2px; line-height: 1.6; }
.card__size { font-size: 13px; color: var(--muted); }
.card__price { margin-top: 6px; font-size: 16px; font-weight: 800; color: var(--blue); }
.card__price small { font-size: 12px; font-weight: 500; color: var(--muted); }
.card__price .sold-text { color: var(--wine); font-weight: 700; font-size: 14px; }

.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* ---------- Story ---------- */
.story { background: linear-gradient(180deg, transparent, var(--paper-2) 18%, var(--paper-2) 82%, transparent); }
.story__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.story__img {
  margin: 0; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: var(--radius) var(--radius) 999px 999px;
  box-shadow: var(--shadow-lg);
  outline: 1.5px solid var(--gold-2); outline-offset: 10px;
}
.story__img img { width: 100%; height: 100%; object-fit: cover; }
.story__text .section__title { margin-bottom: 18px; }
.story__text > p { color: var(--ink-2); }
.story blockquote {
  margin: 0 0 22px; padding: 6px 22px 6px 0;
  border-right: 3px solid var(--gold);
  font-size: 19px; font-weight: 500; color: var(--blue); line-height: 2;
}
.features { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 16px; }
.features li { display: flex; gap: 14px; align-items: flex-start; }
.features__icon {
  display: grid; place-items: center; flex-shrink: 0;
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--card); color: var(--gold); border: 1px solid var(--line);
}
.features strong { display: block; font-size: 15.5px; }
.features span { font-size: 14px; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li {
  position: relative;
  padding: 30px 24px 26px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.steps li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.steps__num {
  display: grid; place-items: center;
  width: 48px; height: 48px; margin-bottom: 16px;
  border-radius: 50%;
  background: var(--blue-soft); color: var(--blue);
  font-size: 20px; font-weight: 800;
}
.steps h3 { font-size: 17px; margin-bottom: 6px; }
.steps p { font-size: 14.5px; color: var(--muted); line-height: 1.9; }

/* ---------- Instagram band ---------- */
.ig-band { padding: 0 0 96px; }
.ig-band__inner {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: 56px clamp(24px, 5vw, 64px);
  border-radius: 28px;
  background: var(--blue); color: #fff;
}
.ig-band__inner::before {
  content: ""; position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%23c9a86a' stroke-width='1'%3E%3Cpath d='M24 2 46 24 24 46 2 24z'/%3E%3Cpath d='M24 14 34 24 24 34 14 24z'/%3E%3C/g%3E%3C/svg%3E");
}
.ig-band__inner > * { position: relative; }
.ig-band h2 { font-size: clamp(24px, 3vw, 34px); margin: 8px 0 10px; }
.ig-band p { color: #c9d4e4; max-width: 34em; }
.ig-band__actions { display: flex; flex-direction: column; gap: 12px; min-width: 240px; }
.contact-extra { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.contact-extra a { color: #e9eef6; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0 calc(32px + env(safe-area-inset-bottom)); }
.footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 18px 32px; align-items: center; }
.footer__brand p { font-size: 14px; color: var(--muted); }
.footer__nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14.5px; }
.footer__nav a:hover { color: var(--blue); }
.footer__copy { grid-column: 1 / -1; font-size: 13px; color: var(--muted); padding-top: 18px; border-top: 1px dashed var(--line); }

/* ---------- Product modal ---------- */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 24px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(22, 26, 36, .55); backdrop-filter: blur(4px); animation: fade .3s both; }
.modal__panel {
  position: relative;
  width: min(1100px, 100%); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px);
  overflow: auto; overscroll-behavior: contain;
  background: var(--paper);
  border-radius: 24px;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .5);
  animation: pop .45s var(--ease) both;
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.modal__panel:focus { outline: none; }
.modal__close { position: absolute; top: 14px; left: 14px; z-index: 5; background: rgba(255, 250, 241, .9); box-shadow: var(--shadow); }
.modal__close:hover { background: #fff; }

.pd { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.gallery { padding: 18px; position: sticky; top: 0; align-self: start; }
.gallery__stage {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  background: var(--paper-2);
  touch-action: pan-y;
}
.gallery__track { display: flex; height: 100%; transition: transform .5s var(--ease); }
.gallery__track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.gallery__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 250, 241, .9); box-shadow: var(--shadow);
  transition: background .2s, opacity .2s;
}
.gallery__nav:hover { background: #fff; }
.gallery__nav--prev { right: 12px; }
.gallery__nav--next { left: 12px; }
.gallery__nav[disabled] { opacity: 0; pointer-events: none; }
.gallery__count {
  position: absolute; bottom: 12px; right: 12px;
  padding: 2px 12px; border-radius: 99px;
  background: rgba(22, 26, 36, .6); color: #fff; font-size: 13px;
}
.gallery__zoom {
  position: absolute; bottom: 10px; left: 10px;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 250, 241, .9);
}
.gallery__thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.gallery__thumbs button {
  flex: 0 0 64px; height: 80px; border-radius: 10px; overflow: hidden;
  opacity: .55; outline: 2px solid transparent; outline-offset: -2px;
  transition: opacity .2s, outline-color .2s;
}
.gallery__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs button[aria-current="true"] { opacity: 1; outline-color: var(--blue); }
.gallery__thumbs button:hover { opacity: 1; }

.pd__info { padding: 44px 36px 36px 40px; }
.pd__meta { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--gold); font-weight: 500; }
.pd__code { color: var(--muted); font-weight: 400; direction: ltr; }
.pd__title { font-size: clamp(24px, 2.6vw, 32px); margin: 4px 0 6px; }
.pd__summary { color: var(--muted); }
.pd__price { margin: 18px 0 4px; font-size: 26px; font-weight: 800; color: var(--blue); }
.pd__price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.pd__price .sold-text { color: var(--wine); font-size: 18px; }

.pd__variants { display: grid; gap: 10px; margin: 18px 0 6px; }
.pd__variants-label { font-size: 14px; font-weight: 700; margin-bottom: -2px; }
.variant {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: var(--card);
  text-align: right;
  transition: border-color .2s, box-shadow .2s;
}
.variant:hover { border-color: var(--ink-2); }
.variant[aria-checked="true"] { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29, 53, 87, .12); }
.variant__name { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.variant__name::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid var(--muted); flex-shrink: 0;
  transition: all .2s;
}
.variant[aria-checked="true"] .variant__name::before { border: 5px solid var(--blue); }
.variant__size { display: block; font-size: 13px; color: var(--muted); font-weight: 400; }
.variant__price { font-weight: 800; color: var(--blue); white-space: nowrap; font-size: 15px; }
.variant.is-off { opacity: .6; cursor: not-allowed; background: transparent; }
.variant.is-off .variant__price { color: var(--muted); }
.tag { display: inline-block; padding: 1px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; color: #fff; }
.tag--reserved { background: var(--gold); }
.tag--sold { background: var(--wine); }

.pd__details {
  display: grid; grid-template-columns: auto 1fr; gap: 8px 18px;
  margin: 20px 0; padding: 16px 18px;
  border-radius: 14px; background: var(--paper-2);
  font-size: 14.5px;
}
.pd__details dt { color: var(--muted); }
.pd__details dd { margin: 0; font-weight: 500; }

.pd__actions { display: grid; gap: 10px; margin-bottom: 24px; }
.pd__actions .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sold-note {
  padding: 16px 18px; border-radius: 14px;
  background: rgba(125, 36, 53, .07); color: var(--wine);
  font-weight: 500; font-size: 15px;
}
.pd__desc { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 12px; color: var(--ink-2); font-size: 15.5px; line-height: 2.1; margin-bottom: 14px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(10, 12, 18, .94); display: grid; place-items: center; animation: fade .25s both; cursor: zoom-out; }
.lightbox img { max-width: 96vw; max-height: 92vh; max-height: 92dvh; object-fit: contain; border-radius: 6px; }
.lightbox__close { position: absolute; top: 16px; left: 16px; color: #fff; background: rgba(255, 255, 255, .12); }

/* ---------- Cart drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 70; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(22, 26, 36, .5); animation: fade .3s both; }
.drawer__panel {
  position: absolute; top: 0; bottom: 0; left: 0;
  width: min(420px, 100%);
  display: flex; flex-direction: column;
  background: var(--paper);
  box-shadow: 20px 0 60px -20px rgba(0, 0, 0, .4);
  animation: slideIn .4s var(--ease) both;
}
@keyframes slideIn { from { transform: translateX(-100%); } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 19px; }
.drawer__body { flex: 1; overflow: auto; padding: 8px 20px; }
.drawer__foot { padding: 18px 20px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 10px; background: var(--card); }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; }
.drawer__total strong { font-size: 20px; color: var(--blue); }
.drawer__note { font-size: 13px; color: var(--muted); }
.drawer__note:empty { display: none; }
.drawer__hint { font-size: 12.5px; color: var(--muted); text-align: center; }

.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.cart-item img { width: 72px; height: 88px; object-fit: cover; border-radius: 10px; }
.cart-item h3 { font-size: 15px; font-weight: 700; line-height: 1.6; }
.cart-item p { font-size: 13px; color: var(--muted); }
.cart-item .price { color: var(--blue); font-weight: 700; font-size: 14px; }
.cart-item .remove { color: var(--muted); }
.cart-item .remove:hover { color: var(--wine); }
.cart-empty { text-align: center; padding: 60px 10px; color: var(--muted); }
.cart-empty svg { width: 54px; height: 54px; margin: 0 auto 10px; color: var(--gold-2); stroke-width: 1.2; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; z-index: 90; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom));
  transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  max-width: calc(100% - 32px);
  padding: 12px 22px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 14.5px; text-align: center;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5);
  transition: all .35s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__text { text-align: center; }
  .hero__text .eyebrow::after { content: ""; width: 26px; height: 1px; background: currentColor; }
  .hero__lead { margin-inline: auto; }
  .hero__cta, .hero__stats { justify-content: center; }
  .hero__art { height: 520px; max-width: 560px; width: 100%; margin-inline: auto; min-height: 0; }
  .story__inner { grid-template-columns: 1fr; gap: 48px; }
  .story__img { max-width: 440px; margin-inline: auto; width: 100%; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pd { grid-template-columns: minmax(0, 1fr); }
  .gallery { position: relative; }
  .pd__info { padding: 8px 22px 28px; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .menu-btn { display: inline-grid; }
  .nav {
    position: fixed; top: var(--header-h); right: 0; left: 0;
    flex-direction: column; gap: 0;
    padding: 8px 16px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .3);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: all .3s var(--ease);
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 8px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav a:last-child { border-bottom: 0; }
  .header__inner { gap: 8px; }
  .brand__name { font-size: 18px; }
  .brand__mark svg { width: 30px; height: 30px; }

  .hero { padding: 36px 0 56px; }
  .hero__lead { font-size: 15.5px; }
  .hero__art { height: 440px; }
  .arch--main { inset: 0 14% 0 6%; }
  .hero__stats { gap: 22px; }
  .hero__seal { width: 92px; height: 92px; }
  .hero__seal span { font-size: 11px; }
  .hero__seal b { font-size: 18px; }

  .section { padding: 72px 0; }
  .toolbar { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }
  .toolbar__side { justify-content: space-between; }

  .grid { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .card__media { border-radius: 90px 90px 14px 14px; }
  .card__media::after { inset: 5px; border-radius: 85px 85px 10px 10px; }
  .card__title { font-size: 14.5px; }
  .card__price { font-size: 14.5px; }
  .card__size { font-size: 12px; }
  .card__quick { display: none; }
  .badge { font-size: 11px; padding: 3px 10px; bottom: 12px; }

  .steps { grid-template-columns: 1fr; }
  .ig-band { padding-bottom: 64px; }
  .ig-band__inner { border-radius: 22px; padding: 40px 22px; text-align: center; justify-content: center; }
  .ig-band__actions { width: 100%; }
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__nav { justify-content: center; }

  .modal { padding: 0; place-items: end stretch; }
  .modal__panel { max-height: 94vh; max-height: 94dvh; border-radius: 22px 22px 0 0; animation-name: sheetUp; }
  @keyframes sheetUp { from { transform: translateY(100%); } }
  .gallery { padding: 0; }
  .gallery__stage { border-radius: 22px 22px 0 0; }
  .gallery__thumbs { padding: 0 14px 4px; }
  .pd__actions .row { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .grid { gap: 18px 10px; }
  .topbar { font-size: 12px; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Send order sheet (WhatsApp / Instagram) ===== */
.sheet { position: fixed; inset: 0; z-index: 75; display: grid; place-items: center; padding: 20px; }
.sheet__backdrop { position: absolute; inset: 0; background: rgba(22, 26, 36, .55); animation: fade .25s both; }
.sheet__panel {
  position: relative; width: min(460px, 100%); max-height: calc(100dvh - 40px); overflow: auto;
  background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 18px 20px 20px; display: grid; gap: 10px;
  animation: pop .35s var(--ease) both;
}
.sheet__head { display: flex; align-items: center; justify-content: space-between; }
.sheet__head h2 { font-size: 19px; }
.sheet__lead { font-size: 14px; color: var(--ink-2); }
.sheet__preview {
  width: 100%; resize: vertical; font: inherit; font-size: 13.5px; line-height: 1.9;
  background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 10px 12px;
}
.sheet__panel .btn { white-space: normal; text-align: center; line-height: 1.5; padding-block: 10px; }
.sheet__hint { font-size: 12.5px; color: var(--muted); margin-top: -4px; margin-bottom: 4px; }
.sheet__copied { font-size: 13px; color: var(--green); font-weight: 700; text-align: center; }
.sheet .link-btn { justify-self: center; }
.btn--ig { background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); color: #fff; }
.btn--whatsapp:hover, .btn--ig:hover { filter: brightness(1.06); transform: translateY(-1px); }
.grid__loading { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 0; }
@media (max-width: 760px) {
  .sheet { place-items: end center; padding: 0; }
  .sheet__panel { width: 100%; border-radius: var(--radius) var(--radius) 0 0; padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
}
