/* هدایتی گلد — storefront styles. Brand: forest green + cream, taken from the logo. */
@font-face { font-family: Vazirmatn; src: url(/fonts/Vazirmatn-FD-Light.woff2) format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: Vazirmatn; src: url(/fonts/Vazirmatn-FD-Regular.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Vazirmatn; src: url(/fonts/Vazirmatn-FD-Medium.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: Vazirmatn; src: url(/fonts/Vazirmatn-FD-SemiBold.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: Vazirmatn; src: url(/fonts/Vazirmatn-FD-Bold.woff2) format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --forest: #2c433d;      /* banner green */
  --forest-deep: #213530;
  --sage: #43544e;        /* square logo background */
  --moss: #6d7e77;
  --cream: #f7e2d1;       /* logo cream */
  --linen: #fbf3ec;       /* page */
  --paper: #fffaf6;
  --ink: #1f2d29;
  --ink-soft: #55635e;
  --line: #e6d6c8;
  --up: #2f7a55;
  --down: #a4483b;
  --radius: 14px;         /* inputs, small controls */
  --r-card: 22px;         /* cards, images, panels */
  --r-xl: 34px;           /* hero, feature bands */
  --pill: 999px;
  --shadow-sm: 0 1px 2px rgba(33, 53, 48, .05), 0 6px 18px -6px rgba(33, 53, 48, .10);
  --shadow-md: 0 2px 6px rgba(33, 53, 48, .05), 0 22px 48px -18px rgba(33, 53, 48, .26);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--linen); color: var(--ink);
  font: 400 16px/1.85 Vazirmatn, Tahoma, sans-serif;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg { width: 1em; height: 1em; }

/* ---------- signature divider: hairline with diamond terminals (from the logo) ---------- */
.rule { display: flex; align-items: center; gap: 0; color: currentColor; margin: 0 auto; max-width: 520px; }
.rule::before, .rule::after { content: ''; width: 9px; height: 13px; background: currentColor; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); flex: none; }
.rule span { flex: 1; height: 1px; background: currentColor; opacity: .9; }

/* ---------- price strip ---------- */
.strip { background: var(--forest-deep); color: var(--cream); font-size: 13.5px; }
.strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.strip a { opacity: .8; } .strip a:hover { opacity: 1; }
.live { display: inline-flex; align-items: center; gap: 8px; }
.live b { font-weight: 600; letter-spacing: .01em; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #7fd1a3; box-shadow: 0 0 0 0 rgba(127, 209, 163, .6); animation: pulse 2.4s infinite; }
.dot.stale { background: #e3b26b; animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(127, 209, 163, 0); } 100% { box-shadow: 0 0 0 0 rgba(127, 209, 163, 0); } }
.chg { font-size: 12px; padding: 0 6px; border-radius: 2px; }
.chg.up { color: #9fe0bd; } .chg.down { color: #f1b0a5; }
.strip-contact { display: none; }
@media (min-width: 760px) { .strip-contact { display: inline; } }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 30; background: rgba(251, 243, 236, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { height: 46px; width: auto; }
.nav { display: none; gap: 4px; margin-inline-start: 12px; }
.nav a { padding: 8px 12px; font-size: 15px; color: var(--ink-soft); border-radius: var(--radius); }
.nav a:hover, .nav a[aria-current] { color: var(--forest); background: rgba(44, 67, 61, .06); }
.hdr-tools { margin-inline-start: auto; display: flex; align-items: center; gap: 6px; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 0; background: none; border-radius: 50%; font-size: 22px; color: var(--forest); cursor: pointer; position: relative; }
.icon-btn:hover { background: rgba(44, 67, 61, .07); }
.badge { position: absolute; top: 3px; left: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--forest); color: var(--cream); font-size: 11px; line-height: 18px; text-align: center; }
.badge:empty { display: none; }
.search-form { display: none; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 22px; padding: 0 14px; height: 40px; background: var(--paper); }
.search-form input { border: 0; outline: 0; background: none; width: 160px; font-size: 14px; }
.search-form svg { color: var(--moss); font-size: 18px; }
@media (min-width: 980px) { .nav { display: flex; } .search-form { display: flex; } .menu-btn { display: none; } .brand img { height: 50px; } }

.drawer { position: fixed; inset: 0; z-index: 50; display: none; }
.drawer.open { display: block; }
.drawer-bg { position: absolute; inset: 0; background: rgba(20, 30, 27, .45); }
.drawer-panel { position: absolute; top: 0; bottom: 0; right: 0; width: min(86vw, 340px); background: var(--linen); padding: 20px; overflow-y: auto; animation: slidein .28s var(--ease); }
@keyframes slidein { from { transform: translateX(100%); } }
.drawer-panel nav a { display: flex; align-items: center; gap: 12px; padding: 11px 4px; border-bottom: 1px solid var(--line); }
.drawer-panel nav a svg { font-size: 26px; color: var(--forest); }
.drawer-panel form { display: flex; margin: 14px 0; border: 1px solid var(--line); border-radius: 22px; padding: 0 14px; background: var(--paper); }
.drawer-panel form input { border: 0; outline: 0; background: none; flex: 1; height: 42px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 26px; border-radius: var(--radius); border: 1px solid var(--forest); background: var(--forest); color: var(--cream); font-weight: 500; font-size: 15.5px; cursor: pointer; transition: background .2s, color .2s; }
.btn:hover { background: var(--forest-deep); }
.btn.ghost { background: transparent; color: var(--forest); }
.btn.ghost:hover { background: rgba(44, 67, 61, .07); }
.btn.on-dark { background: var(--cream); color: var(--forest-deep); border-color: var(--cream); }
.btn.on-dark:hover { background: #fff; }
.btn.on-dark.ghost { background: transparent; color: var(--cream); }
.btn.on-dark.ghost:hover { background: rgba(247, 226, 209, .1); }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- hero ---------- */
.hero { background: var(--forest); color: var(--cream); position: relative; overflow: hidden; }
.hero::before { /* faint arc echoing the mark's dome */
  content: ''; position: absolute; width: 1100px; height: 1100px; left: 50%; top: -620px; transform: translateX(-50%);
  border-radius: 50%; border: 1px solid rgba(247, 226, 209, .09);
}
.hero-inner { position: relative; display: grid; justify-items: center; text-align: center; padding-block: 56px 104px; }
.hero-mark { width: clamp(120px, 18vw, 170px); height: auto; }
.hero h1 { margin: 0; }
.hero h1 img { width: clamp(220px, 38vw, 380px); height: auto; margin: 26px auto 0; }
.hero .rule { width: min(380px, 70vw); margin-top: 18px; color: var(--cream); }
.hero-lede { max-width: 34em; margin: 22px auto 0; font-weight: 300; font-size: clamp(15px, 1.7vw, 17.5px); color: rgba(247, 226, 209, .82); }

/* the hanging price tag — the mark's pendant, carrying today's gram price */
.tag { display: grid; justify-items: center; margin-top: 30px; }
.tag-string { width: 1px; height: 46px; background: rgba(247, 226, 209, .6); transform-origin: top; animation: drop 1s var(--ease) both .2s; }
.tag-body { position: relative; min-width: 260px; padding: 16px 30px 18px; border: 1px solid rgba(247, 226, 209, .55); border-radius: 2px; background: rgba(33, 53, 48, .55); animation: swing 1.2s var(--ease) both .5s; transform-origin: top center; }
.tag-body::before { content: ''; position: absolute; top: -7px; left: 50%; width: 12px; height: 12px; transform: translateX(-50%) rotate(45deg); background: var(--forest); border: 1px solid rgba(247, 226, 209, .55); border-radius: 1px; }
.tag-label { font-size: 13px; color: rgba(247, 226, 209, .75); }
.tag-price { display: block; font-size: clamp(26px, 4vw, 34px); font-weight: 600; letter-spacing: .01em; line-height: 1.5; font-variant-numeric: tabular-nums; }
.tag-price small { font-size: 15px; font-weight: 400; margin-inline-start: 6px; }
.tag-meta { font-size: 12.5px; color: rgba(247, 226, 209, .7); display: flex; gap: 10px; justify-content: center; align-items: center; }
.tag-price.flash { animation: flash 1s var(--ease); }
@keyframes drop { from { transform: scaleY(0); } }
@keyframes swing { 0% { opacity: 0; transform: rotate(-5deg) translateY(-6px); } 50% { opacity: 1; transform: rotate(2deg); } 100% { transform: rotate(0); } }
@keyframes flash { 0% { color: #fff; text-shadow: 0 0 18px rgba(255, 255, 255, .5); } }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }

/* ---------- promises (trust) ---------- */
.promises { background: var(--paper); border-bottom: 1px solid var(--line); }
.promises ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; }
.promises li { display: flex; gap: 16px; align-items: flex-start; padding: 26px 0; border-bottom: 1px solid var(--line); }
.promises li:last-child { border-bottom: 0; }
.promises svg { font-size: 44px; color: var(--forest); flex: none; }
.promises h3 { margin: 0; font-size: 17px; font-weight: 600; color: var(--forest); }
.promises p { margin: 2px 0 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.8; }
@media (min-width: 820px) {
  .promises ul { grid-template-columns: repeat(3, 1fr); }
  .promises li { padding: 34px 28px; border-bottom: 0; border-inline-start: 1px solid var(--line); }
  .promises li:first-child { border-inline-start: 0; padding-inline-start: 0; }
}

/* ---------- sections ---------- */
.sec { padding: clamp(56px, 8vw, 96px) 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; font-size: clamp(24px, 3.2vw, 34px); font-weight: 300; color: var(--forest); line-height: 1.4; }
.sec-head p { margin: 4px 0 0; color: var(--ink-soft); max-width: 36em; }
.sec-head .more { color: var(--forest); font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; font-size: 15px; }
.centered { text-align: center; }
.centered .sec-head { justify-content: center; text-align: center; }

/* categories */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
.cat { background: var(--linen); border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; justify-items: center; gap: 6px; padding: 26px 8px 20px; text-align: center; transition: background .25s; }
.cat svg { font-size: 54px; color: var(--forest); transition: transform .35s var(--ease); }
.cat span { font-size: 14.5px; font-weight: 500; }
.cat small { font-size: 12px; color: var(--moss); }
.cat:hover { background: var(--paper); }
.cat:hover svg { transform: translateY(-3px); }
.cat.has-img { padding: 0; overflow: hidden; }
.cat.has-img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.cat.has-img span { padding: 10px 0 12px; }
@media (min-width: 640px) { .cats { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .cats { grid-template-columns: repeat(6, 1fr); } }

/* product grid + card */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 40px 22px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.card { display: grid; gap: 10px; align-content: start; position: relative; }
.card .ph { position: relative; aspect-ratio: 4 / 5; background: var(--cream); overflow: hidden; border-radius: 2px; }
.card .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .4s; }
.card:hover .ph img.main { transform: scale(1.04); }
.card .ph img.alt { opacity: 0; }
@media (hover: hover) { .card:hover .ph img.alt { opacity: 1; } }
.ph .lqip { filter: blur(14px); transform: scale(1.1); }
.ph-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--forest); background: radial-gradient(circle at 50% 42%, #fbeee2, var(--cream) 70%); }
.ph-empty svg { font-size: 34%; width: 34%; height: auto; opacity: .85; }
.flag { position: absolute; top: 10px; right: 10px; background: var(--forest); color: var(--cream); font-size: 12px; padding: 2px 10px; border-radius: 2px; z-index: 2; }
.flag.soldout { background: var(--ink-soft); }
.card h3 { margin: 0; font-size: 15.5px; font-weight: 500; line-height: 1.6; }
.card .meta { font-size: 13px; color: var(--moss); display: flex; gap: 12px; }
.card .price { font-weight: 600; font-size: 16px; color: var(--forest); font-variant-numeric: tabular-nums; }
.card .price small { font-weight: 400; font-size: 12.5px; color: var(--ink-soft); }

/* no-wage band */
.band { background: var(--sage); color: var(--cream); }
.band .wrap { display: grid; gap: 30px; padding-block: clamp(56px, 8vw, 90px); }
.band h2 { margin: 0; font-weight: 300; font-size: clamp(24px, 3.4vw, 36px); line-height: 1.5; }
.band p { margin: 10px 0 0; color: rgba(247, 226, 209, .85); max-width: 36em; }
.band dl { margin: 0; display: grid; gap: 16px; }
.band dt { font-weight: 600; }
.band dd { margin: 2px 0 0; color: rgba(247, 226, 209, .8); font-size: 14.5px; }
@media (min-width: 900px) { .band .wrap { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 64px; } }

/* how price is calculated */
.calc { display: grid; gap: 34px; }
@media (min-width: 900px) { .calc { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.receipt { background: var(--paper); border: 1px solid var(--line); padding: 26px 26px 20px; font-variant-numeric: tabular-nums; }
.receipt h3 { margin: 0 0 4px; font-size: 16px; font-weight: 600; color: var(--forest); }
.receipt .sub { font-size: 13px; color: var(--moss); margin: 0 0 14px; }
.receipt table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.receipt td { padding: 9px 0; border-bottom: 1px dashed var(--line); }
.receipt td:last-child { text-align: left; white-space: nowrap; }
.receipt td small { display: block; color: var(--moss); font-size: 12px; line-height: 1.5; }
.receipt tr.total td { border-bottom: 0; border-top: 1px solid var(--forest); font-weight: 700; font-size: 16.5px; color: var(--forest); padding-top: 12px; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 44px 22px 0; }
.steps li::before { content: counter(s); position: absolute; right: 0; top: 2px; width: 28px; height: 28px; border: 1px solid var(--forest); border-radius: 50%; display: grid; place-items: center; font-size: 13px; color: var(--forest); }
.steps li::after { content: ''; position: absolute; right: 14px; top: 34px; bottom: 4px; width: 1px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps b { color: var(--forest); font-weight: 600; }
.steps p { margin: 2px 0 0; color: var(--ink-soft); font-size: 14.5px; }

/* visit */
.visit { background: var(--forest); color: var(--cream); }
.visit .wrap { display: grid; gap: 40px; padding-block: clamp(60px, 8vw, 100px); }
@media (min-width: 900px) { .visit .wrap { grid-template-columns: 1fr 1fr; align-items: center; } }
.visit-logo { justify-self: center; width: min(320px, 70%); }
.visit h2 { margin: 0 0 18px; font-weight: 300; font-size: clamp(24px, 3.2vw, 34px); }
.visit ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 14px; }
.visit li { display: flex; gap: 14px; align-items: flex-start; }
.visit li svg { font-size: 24px; flex: none; margin-top: 3px; opacity: .85; }
.visit a.tel { font-size: 22px; font-weight: 500; letter-spacing: .02em; direction: ltr; unicode-bidi: isolate; }
.visit .socials { display: flex; gap: 8px; margin-top: 18px; }
.visit .socials a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(247, 226, 209, .4); border-radius: 50%; font-size: 22px; }
.visit .socials a:hover { background: rgba(247, 226, 209, .1); }

/* footer */
.ftr { background: var(--forest-deep); color: rgba(247, 226, 209, .75); font-size: 14px; }
.ftr .wrap { display: grid; gap: 28px; padding-block: 44px 28px; }
@media (min-width: 820px) { .ftr .wrap { grid-template-columns: 1.4fr 1fr 1fr; } }
.ftr h4 { margin: 0 0 10px; color: var(--cream); font-weight: 500; font-size: 15px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ftr a:hover { color: var(--cream); }
.ftr .wordmark { width: 170px; margin-bottom: 14px; }
.ftr .copy { grid-column: 1 / -1; border-top: 1px solid rgba(247, 226, 209, .14); padding-top: 18px; font-size: 12.5px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- shop page ---------- */
.page-head { padding: 36px 0 10px; }
.crumbs { font-size: 13px; color: var(--moss); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a:hover { color: var(--forest); }
.crumbs span[aria-hidden] { opacity: .5; }
.page-head h1 { margin: 6px 0 0; font-size: clamp(26px, 3.6vw, 38px); font-weight: 300; color: var(--forest); line-height: 1.4; }
.page-head p { margin: 6px 0 0; color: var(--ink-soft); max-width: 40em; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 18px 0 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px; border: 1px solid var(--line); border-radius: 18px; font-size: 14px; background: var(--paper); white-space: nowrap; }
.chip svg { font-size: 20px; color: var(--forest); }
.chip:hover { border-color: var(--forest); }
.chip[aria-current] { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.chip[aria-current] svg { color: var(--cream); }
.toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 14px 0 26px; border-bottom: 1px solid var(--line); margin-bottom: 30px; font-size: 14px; color: var(--ink-soft); }
.toolbar form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.toolbar select, .toolbar label.check { height: 38px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); padding: 0 10px; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.toolbar input[type=checkbox] { accent-color: var(--forest); width: 16px; height: 16px; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 48px; }
.pager a, .pager span { min-width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; }
.pager span[aria-current] { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.empty { text-align: center; padding: 60px 0 80px; color: var(--ink-soft); }
.empty svg { font-size: 72px; color: var(--forest); margin: 0 auto 10px; }

/* ---------- product page ---------- */
.pdp { display: grid; gap: 32px; padding: 20px 0 40px; }
@media (min-width: 900px) { .pdp { grid-template-columns: 1.08fr 1fr; gap: 56px; align-items: start; } }
.gallery { display: grid; gap: 10px; }
@media (min-width: 900px) { .gallery { position: sticky; top: 96px; } }
.gallery .main { position: relative; aspect-ratio: 4 / 5; background: var(--cream); overflow: hidden; border-radius: 2px; }
.gallery .main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; }
.thumbs button { flex: none; width: 74px; aspect-ratio: 4 / 5; border: 1px solid transparent; padding: 0; background: var(--cream); cursor: pointer; border-radius: 2px; overflow: hidden; }
.thumbs button[aria-current] { border-color: var(--forest); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.info h1 { margin: 4px 0 6px; font-size: clamp(24px, 3vw, 32px); font-weight: 400; line-height: 1.45; color: var(--ink); }
.info .code { font-size: 13px; color: var(--moss); }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-right: 1px solid var(--line); margin: 22px 0; }
.specs div { padding: 10px 14px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
@media (max-width: 420px) { .specs { grid-template-columns: repeat(2, 1fr); } }
.specs dt { font-size: 12.5px; color: var(--moss); }
.specs dd { margin: 0; font-weight: 600; font-size: 15px; }
.buybox { border: 1px solid var(--forest); padding: 22px; background: var(--paper); }
.buybox .now { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.buybox .total { font-size: clamp(26px, 3.2vw, 32px); font-weight: 700; color: var(--forest); font-variant-numeric: tabular-nums; line-height: 1.4; }
.buybox .total small { font-size: 15px; font-weight: 400; }
.buybox .asof { font-size: 12.5px; color: var(--moss); display: inline-flex; gap: 6px; align-items: center; }
.buybox .asof .dot { background: var(--up); }
.buybox details { margin: 14px 0 18px; font-size: 14px; }
.buybox summary { cursor: pointer; color: var(--forest); font-weight: 500; }
.buybox table { width: 100%; border-collapse: collapse; margin-top: 8px; font-variant-numeric: tabular-nums; }
.buybox td { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.buybox td:last-child { text-align: left; }
.buybox .note { font-size: 13px; color: var(--ink-soft); margin: 12px 0 0; }
.desc { margin-top: 26px; color: var(--ink-soft); }
.desc h2 { font-size: 17px; color: var(--ink); font-weight: 600; margin: 0 0 6px; }
.assure { display: grid; gap: 10px; margin-top: 24px; font-size: 14px; }
.assure div { display: flex; gap: 10px; align-items: center; }
.assure svg { font-size: 26px; color: var(--forest); }
.mobile-buy { position: sticky; bottom: 0; z-index: 20; background: var(--paper); border-top: 1px solid var(--line); padding: 10px var(--gutter); display: flex; align-items: center; gap: 12px; }
.mobile-buy .t { font-weight: 700; color: var(--forest); font-size: 17px; flex: 1; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) { .mobile-buy { display: none; } }

/* ---------- cart ---------- */
.cart { display: grid; gap: 30px; padding: 10px 0 70px; }
@media (min-width: 960px) { .cart { grid-template-columns: 1.4fr 1fr; align-items: start; gap: 48px; } }
.lines { border-top: 1px solid var(--line); }
.line { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line .ph { width: 84px; aspect-ratio: 4 / 5; background: var(--cream); position: relative; overflow: hidden; border-radius: 2px; }
.line .ph img { width: 100%; height: 100%; object-fit: cover; }
.line h3 { margin: 0; font-size: 15px; font-weight: 500; }
.line .m { font-size: 13px; color: var(--moss); }
.line .p { font-weight: 600; color: var(--forest); font-variant-numeric: tabular-nums; text-align: left; }
.line .rm { border: 0; background: none; color: var(--down); font-size: 13px; cursor: pointer; padding: 0; margin-top: 4px; }
.line .err { color: var(--down); font-size: 13px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); margin-top: 6px; }
.qty button { width: 30px; height: 30px; border: 0; background: none; cursor: pointer; font-size: 17px; }
.qty span { min-width: 26px; text-align: center; font-size: 14px; }
.panel { border: 1px solid var(--line); background: var(--paper); padding: 24px; }
@media (min-width: 960px) { .panel { position: sticky; top: 96px; } }
.panel h2 { margin: 0 0 14px; font-size: 18px; font-weight: 600; color: var(--forest); }
.sum { display: flex; justify-content: space-between; font-size: 14.5px; padding: 6px 0; }
.sum.big { font-size: 19px; font-weight: 700; color: var(--forest); border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; }
.field { display: grid; gap: 4px; margin-bottom: 14px; }
.field label { font-size: 13.5px; color: var(--ink-soft); }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 10px 12px; font-size: 15px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--forest); outline: 0; box-shadow: 0 0 0 3px rgba(44, 67, 61, .12); }
.seg { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 14px; }
.seg label { display: block; text-align: center; padding: 10px; cursor: pointer; font-size: 14px; background: #fff; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg input:checked + span { color: var(--forest); font-weight: 600; }
.seg label:has(input:checked) { background: rgba(44, 67, 61, .08); }
.alert { padding: 12px 14px; border-radius: var(--radius); font-size: 14px; margin-bottom: 14px; }
.alert.err { background: #f8e5e1; color: #7c2f24; }
.alert.ok { background: #e3f1e9; color: #1d5a3c; }
.alert.info { background: rgba(44, 67, 61, .07); color: var(--forest); }
.lock { font-size: 13px; color: var(--moss); margin-top: 10px; }

/* order page */
.receipt-page { max-width: 640px; margin: 30px auto 80px; }
.receipt-page .head { text-align: center; margin-bottom: 26px; }
.receipt-page .head img { width: 72px; margin: 0 auto 10px; }
.receipt-page .head h1 { margin: 0; font-weight: 400; font-size: 26px; color: var(--forest); }
.receipt-page .code { font-size: 22px; font-weight: 700; letter-spacing: .08em; color: var(--forest); }

/* toast */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); background: var(--forest-deep); color: var(--cream); padding: 12px 20px; border-radius: var(--radius); font-size: 14.5px; z-index: 60; opacity: 0; transition: opacity .25s, transform .25s var(--ease); display: flex; gap: 14px; align-items: center; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { text-decoration: underline; }

/* size picker, extra info */
.sizes { border: 0; padding: 0; margin: 0 0 14px; }
.sizes legend { font-size: 14px; color: var(--ink-soft); margin-bottom: 8px; display: flex; gap: 12px; }
.sizes legend a { color: var(--forest); border-bottom: 1px solid currentColor; }
.sizes label { display: inline-block; margin: 0 0 6px 6px; cursor: pointer; }
.sizes input { position: absolute; opacity: 0; pointer-events: none; }
.sizes span { display: grid; place-items: center; min-width: 48px; height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font-size: 14.5px; }
.sizes input:checked + span { border-color: var(--forest); background: var(--forest); color: var(--cream); }
.sizes input:focus-visible + span { outline: 2px solid var(--forest); outline-offset: 2px; }
.sizes.need span { border-color: var(--down); }
.more-info { border-top: 1px solid var(--line); padding: 14px 0; margin-top: 20px; font-size: 14.5px; color: var(--ink-soft); }
.more-info + .more-info { margin-top: 0; }
.more-info summary { cursor: pointer; color: var(--ink); font-weight: 500; }
.more-info table { border-collapse: collapse; width: 100%; max-width: 360px; font-size: 14px; }
.more-info th, .more-info td { border-bottom: 1px solid var(--line); padding: 6px 4px; text-align: right; }

/* FAQ */
.faq { max-width: 760px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 500; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--forest); font-size: 22px; line-height: 1; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 10px 0 0; color: var(--ink-soft); }
.line .sz { font-size: 13px; color: var(--forest); }

.assure .dm { width: 26px; display: grid; place-items: center; color: var(--forest); }
.assure .dm::before { content: ''; width: 8px; height: 12px; background: currentColor; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }


/* =====================================================================
   Rounded premium layer — soft radii, floating header, inset panels
   ===================================================================== */
body { background: var(--linen); }

/* floating header */
.strip { border-radius: 0; }
.hdr { top: 10px; margin: 10px var(--gutter) 0; border: 1px solid rgba(230, 214, 200, .9); border-radius: var(--pill); background: rgba(255, 250, 246, .82); box-shadow: var(--shadow-sm); }
.hdr .wrap { height: 64px; padding-inline: clamp(12px, 2.4vw, 26px); max-width: none; }
.nav a { border-radius: var(--pill); padding: 8px 16px; }
.search-form { border-radius: var(--pill); background: #fff; }
.icon-btn { background: rgba(44, 67, 61, .06); }
.icon-btn:hover { background: rgba(44, 67, 61, .12); }
@media (min-width: 1240px) { .hdr { max-width: calc(var(--wrap) + 40px); margin-inline: auto; } }

/* buttons */
.btn { border-radius: var(--pill); height: 50px; padding: 0 28px; transition: background .2s, color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(33, 53, 48, .55); }
.btn:active { transform: translateY(0); }
.btn.ghost:hover, .btn.on-dark.ghost:hover { box-shadow: none; }
.btn svg { font-size: 20px; }

/* hero as an inset rounded panel */
.hero { margin: 14px var(--gutter) 0; border-radius: var(--r-xl); background:
  radial-gradient(120% 80% at 50% -10%, rgba(247, 226, 209, .10), transparent 60%),
  radial-gradient(60% 50% at 85% 110%, rgba(247, 226, 209, .06), transparent 70%),
  var(--forest); }
@media (min-width: 1240px) { .hero { max-width: calc(var(--wrap) + 40px); margin-inline: auto; } }
.tag-body { border-radius: 22px; padding: 18px 34px 20px; background: rgba(33, 53, 48, .6); backdrop-filter: blur(6px); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .5); }
.tag-body::before { border-radius: 3px; }

/* promises as a floating card that overlaps the hero edge */
.promises { background: transparent; border: 0; position: relative; margin-top: -34px; z-index: 2; }
.promises ul { background: var(--paper); border-radius: var(--r-card); box-shadow: var(--shadow-md); padding-inline: 22px; }
@media (min-width: 820px) { .promises ul { padding-inline: 0; } .promises li:first-child { padding-inline-start: 28px; } }

/* categories as individual tiles */
.cats { gap: 12px; border: 0; }
.cat { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper); padding: 24px 8px 18px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.cat:hover { background: #fff; border-color: transparent; transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cat.has-img { border-radius: var(--r-card); }

/* product cards */
.card .ph { border-radius: var(--r-card); box-shadow: inset 0 0 0 1px rgba(44, 67, 61, .05); transition: box-shadow .35s; }
.card:hover .ph { box-shadow: var(--shadow-md); }
.card h3, .card .meta, .card .price { padding-inline: 4px; }
.flag { border-radius: var(--pill); padding: 3px 12px; top: 12px; right: 12px; backdrop-filter: blur(4px); }
.price.avail { font-size: 14px; font-weight: 500; color: var(--up); }

/* feature bands as inset rounded panels */
.band, .visit { margin: 0 var(--gutter); border-radius: var(--r-xl); overflow: hidden; }
@media (min-width: 1240px) { .band, .visit { max-width: calc(var(--wrap) + 40px); margin-inline: auto; } }
.visit { margin-bottom: 18px; }
.visit .socials a { background: rgba(247, 226, 209, .06); }
.ftr { border-radius: var(--r-xl) var(--r-xl) 0 0; }

/* how-price & receipts */
.receipt { border-radius: var(--r-card); border: 0; box-shadow: var(--shadow-md); }
.steps li::before { background: var(--paper); }

/* FAQ as soft cards */
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 16px 20px; margin-bottom: 10px; transition: box-shadow .25s; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: transparent; }
.faq summary::after { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(44, 67, 61, .07); font-size: 18px; flex: none; }

/* shop page */
.chip { border-radius: var(--pill); height: 40px; padding: 0 18px; }
.toolbar { border-bottom: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); padding: 10px 16px; }
.toolbar select, .toolbar label.check { border-radius: var(--pill); padding: 0 14px; background: #fff; }
.pager a, .pager span { border-radius: 50%; min-width: 42px; height: 42px; }
.empty .btn { margin-top: 10px; }

/* product page */
.gallery .main { border-radius: var(--r-xl); }
.thumbs button { border-radius: 14px; border-width: 2px; }
.specs { border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; background: var(--line); gap: 1px; }
.specs div { border: 0; }
.buybox { border: 0; border-radius: var(--r-card); box-shadow: var(--shadow-md); padding: 24px; background: var(--paper); }
.buybox details { background: var(--linen); border-radius: 16px; padding: 10px 14px; }
.stock-line { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; padding: 4px 12px; border-radius: var(--pill); margin-bottom: 12px; }
.stock-line i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock-line.in { color: var(--up); background: rgba(47, 122, 85, .09); }
.stock-line.out { color: var(--down); background: rgba(164, 72, 59, .09); }
.ask { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.ask .btn.block { flex: 1 0 100%; }
.ask .btn.ghost { flex: 1; height: 44px; padding: 0 16px; font-size: 14.5px; background: #fff; border-color: var(--line); }
.ask .btn.ghost:hover { border-color: var(--forest); }
.sizes-info { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 14px; font-size: 14px; color: var(--ink-soft); }
.sizes-info div { display: flex; gap: 6px; flex-wrap: wrap; }
.sizes-info b { min-width: 42px; height: 34px; display: grid; place-items: center; padding: 0 10px; border-radius: var(--pill); background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.sizes-info a { color: var(--forest); border-bottom: 1px solid currentColor; }
.sizes span { border-radius: var(--pill); }
.more-info { border-top: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 14px 18px; margin-top: 12px; }
.more-info + .more-info { margin-top: 10px; }
.assure { background: var(--paper); border-radius: var(--r-card); padding: 16px 18px; border: 1px solid var(--line); }
.mobile-buy { margin: 0 10px 10px; border: 1px solid var(--line); border-radius: var(--pill); box-shadow: var(--shadow-md); padding: 8px 8px 8px 8px; padding-inline-start: 20px; background: rgba(255, 250, 246, .94); backdrop-filter: blur(10px); }
.mobile-buy .t { font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mobile-buy .btn { height: 44px; }

/* drawer, toast, forms */
.drawer-panel { border-radius: var(--r-xl) 0 0 var(--r-xl); }
.drawer-panel form { border-radius: var(--pill); }
.toast { border-radius: var(--pill); padding: 12px 22px; box-shadow: var(--shadow-md); }
.panel, .line .ph, .receipt-page .receipt { border-radius: var(--r-card); }
.panel { border: 0; box-shadow: var(--shadow-md); }
.seg { border-radius: var(--pill); }
.alert { border-radius: 14px; }
.lines { border-top: 0; }
@media (max-width: 640px) {
  .hero { margin-top: 10px; border-radius: 26px; }
  .band, .visit { border-radius: 26px; }
  .hdr { margin-top: 8px; top: 8px; }
  .cats { gap: 8px; }
}
.specs { display: flex; flex-wrap: wrap; }
.specs div { flex: 1 1 30%; min-width: 30%; }
@media (max-width: 420px) { .specs div { flex-basis: 45%; min-width: 45%; } }

/* category tiles: flex so an incomplete last row stays centered whatever the count */
.cats { display: flex; flex-wrap: wrap; justify-content: center; }
.cat { flex: 0 0 calc((100% - 2 * 12px) / 3); }
@media (min-width: 640px) { .cat { flex-basis: calc((100% - 3 * 12px) / 4); } }
@media (min-width: 1000px) { .cat { flex-basis: calc((100% - 5 * 12px) / 6); } }
@media (max-width: 640px) { .cat { flex-basis: calc((100% - 2 * 8px) / 3); } }
@media (max-width: 640px) { .cat { padding: 18px 4px 14px; } .cat span { font-size: 13px; white-space: nowrap; } .cat svg { font-size: 46px; } }

/* ---------- photography layer ---------- */
.hero { position: relative; isolation: isolate; }
.hero-photo { position: absolute; top: 0; bottom: 0; left: 0; width: 48%; height: 100%; object-fit: cover; object-position: 35% 40%; opacity: .62; z-index: -1; border-radius: inherit;
  -webkit-mask-image: linear-gradient(90deg, #000 25%, transparent 100%); mask-image: linear-gradient(90deg, #000 25%, transparent 100%); }
@media (max-width: 900px) { .hero-photo { width: 100%; opacity: .26; -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%); mask-image: linear-gradient(180deg, #000, transparent 75%); } }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 50% 45%, rgba(44, 67, 61, .55), transparent 75%); border-radius: inherit; }
.hero-inner { z-index: 1; }

.mosaic { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
.mosaic a { position: relative; overflow: hidden; border-radius: var(--r-card); background: var(--cream); }
.mosaic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mosaic a::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(33, 53, 48, .55)); }
.mosaic a:hover img { transform: scale(1.04); }
.mosaic span { position: absolute; z-index: 1; bottom: 14px; right: 16px; color: #fff; font-weight: 500; font-size: 15px; padding: 4px 14px; border-radius: var(--pill); background: rgba(33, 53, 48, .35); backdrop-filter: blur(6px); }
.m-a { grid-column: 1 / -1; grid-row: span 2; }
.m-a img { object-position: 50% 30%; }
.m-b img { object-position: 50% 20%; }
@media (min-width: 900px) {
  .mosaic { grid-template-columns: 1.3fr 1fr 1fr; grid-auto-rows: 250px; }
  .m-a { grid-column: 1; grid-row: span 2; }
}

.visit { position: relative; isolation: isolate; }
.visit-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 30%; opacity: .2; z-index: -1;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 70%); mask-image: linear-gradient(90deg, #000 0%, transparent 70%); }
