/* ==========================================================
   Toranj Gold Gallery — Landing v2
   Palette drawn from the Toranj mark: wine gem, antique gold,
   champagne facets, turquoise crown.
   ========================================================== */

/* Mikhak (OFL, Amin Abedi) — Persian-digit build, self-hosted in assets/fonts (licence: Mikhak-OFL.txt). */
@font-face {
  font-family: "Mikhak";
  src: url("../assets/fonts/Mikhak-FD-Light.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Mikhak";
  src: url("../assets/fonts/Mikhak-FD-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Mikhak";
  src: url("../assets/fonts/Mikhak-FD-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Mikhak";
  src: url("../assets/fonts/Mikhak-FD-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Mikhak";
  src: url("../assets/fonts/Mikhak-FD-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Mikhak";
  src: url("../assets/fonts/Mikhak-FD-Black.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}

/* Cormorant Garamond (OFL, Christian Thalmann) — Latin labels only, self-hosted (licence: Cormorant-OFL.txt). */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/CormorantGaramond-500i.woff2") format("woff2");
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/CormorantGaramond-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/CormorantGaramond-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Toranj Nastaliq";
  /* Mehr Nastaliq Web — © CSaLT, ITU Punjab (Nasrullah Mehr, Zeeshan Nasar), CC BY 4.0.
     Attribution must appear on the site credits page. */
  src: url("../assets/MehrNastaliq.woff2") format("woff2");
  font-display: swap;
}

:root {
  /* brand */
  --wine: #6d0f29;
  --wine-deep: #401527;
  --wine-ink: #2a0d18;
  --gold: #b88c49;
  --gold-deep: #9a7235;
  --gold-soft: #d9bd8c;
  --champagne: #f4e6c6;
  --turquoise: #168f87;

  /* neutrals */
  --ivory: #fffdf9;
  --cream: #faf5ec;
  --sand: #f1e9dc;
  --hair: #e8dfd1;
  --ink: #231c1e;
  --text: #4a3f42;
  --muted: #8a7f80;

  /* type */
  --f-body: "Mikhak", Tahoma, sans-serif;
  --f-latin: "Cormorant Garamond", Georgia, serif;
  --f-brand: "Mikhak", Tahoma, sans-serif;

  --wrap: 1320px;
  --gutter: clamp(16px, 3.2vw, 40px);
  --radius: 14px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow-s: 0 6px 24px rgba(64, 21, 39, .06);
  --shadow-m: 0 18px 50px rgba(64, 21, 39, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  background: var(--ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sym-text { font-family: var(--f-brand); font-size: 16px; fill: currentColor; stroke: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; top: -60px; right: 16px; z-index: 100; background: var(--wine); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* ================= Rate bar ================= */
.ratebar {
  background: var(--wine-ink);
  color: var(--champagne);
  font-size: 12.5px;
  border-bottom: 1px solid rgba(184, 140, 73, .25);
}
.ratebar__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 38px; }
.ratebar__rates { display: flex; align-items: center; gap: 26px; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.ratebar__rates::-webkit-scrollbar { display: none; }
.rate { display: inline-flex; align-items: baseline; gap: 7px; }
.rate b { font-weight: 400; color: rgba(244, 230, 198, .7); }
.rate__v { font-weight: 700; color: #fff; font-size: 13.5px; letter-spacing: .2px; font-variant-numeric: tabular-nums; }
.rate__u { color: rgba(244, 230, 198, .55); font-size: 11px; }
.rate__d { font-size: 11px; direction: ltr; }
.rate__d.up { color: #6fd3a5; }
.rate__d.down { color: #f08a8a; }
.rate--time { color: rgba(244, 230, 198, .6); gap: 8px; align-items: center; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #6fd3a5; box-shadow: 0 0 0 0 rgba(111, 211, 165, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(111, 211, 165, 0); } 100% { box-shadow: 0 0 0 0 rgba(111, 211, 165, 0); } }
.demo-tag { font-style: normal; font-size: 10.5px; border: 1px solid rgba(244, 230, 198, .3); padding: 0 7px; border-radius: 20px; }
.ratebar__links { display: flex; gap: 22px; white-space: nowrap; }
.ratebar__links a { color: rgba(244, 230, 198, .8); transition: color .2s; }
.ratebar__links a:hover { color: var(--gold-soft); }

/* ================= Header ================= */
.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 253, 249, .94);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--hair);
  transition: box-shadow .3s var(--ease);
}
.header.is-scrolled { box-shadow: 0 10px 30px rgba(64, 21, 39, .07); }
.header__row { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 40px); min-height: 84px; }
.icon-btn.header__burger { display: none; }

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { width: 38px; height: auto; transition: transform .6s var(--ease); }
.brand:hover .brand__mark { transform: rotate(180deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--f-brand);
  font-size: 38px;
  font-weight: 900;
  line-height: 1.2;
  background: linear-gradient(170deg, var(--gold-soft) 5%, var(--gold) 45%, var(--gold-deep) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-top: -10px;
}
.brand__sub { font-size: 11px; letter-spacing: .3px; color: var(--wine); margin-top: 2px; }

.search { position: relative; flex: 1; max-width: 560px; }
.search__ic { position: absolute; top: 50%; right: 16px; transform: translateY(-50%); color: var(--muted); width: 20px; height: 20px; pointer-events: none; }
.search input {
  width: 100%; height: 48px; border-radius: 50px;
  border: 1px solid var(--hair); background: var(--cream);
  padding: 0 48px 0 20px; font: inherit; font-size: 14px; color: var(--ink);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(184, 140, 73, .12); }
.search__pop {
  position: absolute; top: calc(100% + 10px); inset-inline: 0;
  background: #fff; border: 1px solid var(--hair); border-radius: var(--radius);
  box-shadow: var(--shadow-m); padding: 18px 20px; z-index: 5;
}
.search__label { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13px; padding: 5px 14px; border-radius: 30px; background: var(--cream); border: 1px solid var(--hair); transition: all .2s; }
.chip:hover { border-color: var(--gold); color: var(--wine); }

.tools { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.consult { display: flex; align-items: center; gap: 10px; padding-inline-end: 16px; margin-inline-end: 8px; border-inline-end: 1px solid var(--hair); color: var(--ink); font-size: 13px; line-height: 1.35; }
.consult svg { color: var(--gold); width: 26px; height: 26px; }
.consult small { display: block; font-size: 11px; color: var(--muted); }
.icon-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); transition: background .2s, color .2s; }
.icon-btn:hover { background: var(--cream); color: var(--wine); }
.badge { position: absolute; top: 5px; left: 5px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 10px; background: var(--wine); color: #fff; font-size: 10px; line-height: 17px; text-align: center; }

/* nav */
.nav { border-top: 1px solid var(--hair); }
.nav__list { display: flex; justify-content: center; gap: clamp(4px, 1.4vw, 22px); }
.nav__item { position: static; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 4px;
  height: 50px; padding: 0 10px; font-size: 14px; color: var(--ink); white-space: nowrap;
}
.nav__link svg { width: 15px; height: 15px; transition: transform .25s; }
.nav__link::after {
  content: ""; position: absolute; bottom: -1px; inset-inline: 10px; height: 2px;
  background: var(--gold); transform: scaleX(0); transition: transform .35s var(--ease);
}
.nav__item:hover .nav__link::after, .nav__link[aria-expanded="true"]::after { transform: scaleX(1); }
.nav__item:hover .nav__link svg, .nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__link--accent { color: var(--wine); font-weight: 600; }
.nav__link--accent::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--turquoise); margin-inline-end: 4px; }

/* mega menu */
.mega {
  position: absolute; inset-inline: 0; top: 100%;
  background: #fff; border-top: 1px solid var(--hair); box-shadow: 0 30px 50px rgba(64, 21, 39, .1);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.has-mega:hover .mega, .has-mega:focus-within .mega, .mega.is-open { opacity: 1; visibility: visible; transform: none; }
.mega__in { display: grid; grid-template-columns: repeat(3, 1fr) 1.35fr; gap: 40px; padding-block: 34px 38px; }
.mega--sm .mega__in { grid-template-columns: repeat(2, 220px); justify-content: center; }
.mega__col { display: flex; flex-direction: column; gap: 4px; }
.mega__col a { font-size: 14px; padding: 4px 0; color: var(--text); transition: color .2s, padding .2s; }
.mega__col a:hover { color: var(--wine); padding-inline-start: 6px; }
.mega__h { font-size: 12px; font-weight: 700; color: var(--gold-deep); letter-spacing: .3px; margin-bottom: 6px; }
.mega__h--gap { margin-top: 18px; }
.mega__promo { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 230px; }
.mega__promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mega__promo:hover img { transform: scale(1.06); }
.mega__promo-t { position: absolute; inset-inline: 0; bottom: 0; padding: 18px 22px; color: #fff; font-size: 18px; background: linear-gradient(transparent, rgba(42, 13, 24, .85)); }
.mega__promo-t small { display: block; font-family: var(--f-latin); font-size: 12px; letter-spacing: 2.5px; color: var(--gold-soft); }

/* drawer */
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(42, 13, 24, .45); animation: fade .3s; }
.drawer__panel { position: absolute; top: 0; bottom: 0; right: 0; width: min(88vw, 360px); background: var(--ivory); padding: 16px 20px 40px; overflow-y: auto; animation: slideIn .35s var(--ease); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--hair); margin-bottom: 8px; }
.drawer details { border-bottom: 1px solid var(--hair); }
.drawer summary { list-style: none; padding: 14px 0; font-weight: 600; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; }
.drawer summary::after { content: "+"; color: var(--gold); font-size: 20px; line-height: 1; }
.drawer details[open] summary::after { content: "−"; }
.drawer details a { display: block; padding: 7px 14px; font-size: 14px; }
.drawer__link { display: block; padding: 14px 0; border-bottom: 1px solid var(--hair); color: var(--ink); font-weight: 600; }
@keyframes slideIn { from { transform: translateX(100%); } }
@keyframes fade { from { opacity: 0; } }

/* ================= Hero ================= */
.hero { position: relative; height: clamp(560px, calc(100vh - 172px), 760px); overflow: hidden; background: var(--cream); }
.hero__slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 1.1s; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; transform: scale(1.08); }
.slide.is-active .slide__img { animation: kenburns 9s var(--ease) forwards; }
@keyframes kenburns { from { transform: scale(1.08) translateX(0); } to { transform: scale(1.03) translateX(-1%); } }
.slide__veil { position: absolute; inset: 0; }
.slide__veil--light { background: linear-gradient(90deg, rgba(250, 245, 236, .96) 0%, rgba(250, 245, 236, .82) 30%, rgba(250, 245, 236, 0) 60%); }
.slide__veil--dark { background: linear-gradient(90deg, rgba(42, 13, 24, .92) 0%, rgba(42, 13, 24, .6) 38%, rgba(42, 13, 24, 0) 62%); }
.slide--dark .slide__img { object-position: 60% 50%; }
.slide__content { position: relative; height: 100%; display: flex; align-items: center; justify-content: flex-end; }
.slide__text { max-width: 500px; padding-bottom: 40px; }
.slide.is-active .slide__text > * { animation: rise .9s var(--ease) both; }
.slide.is-active .slide__text > :nth-child(2) { animation-delay: .12s; }
.slide.is-active .slide__text > :nth-child(3) { animation-delay: .24s; }
.slide.is-active .slide__text > :nth-child(4) { animation-delay: .36s; }
.slide.is-active .slide__text > :nth-child(5) { animation-delay: .48s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }

.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 500; color: var(--wine); letter-spacing: .2px; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.eyebrow--light { color: var(--gold-soft); }
.display { font-size: clamp(42px, 5.2vw, 70px); font-weight: 700; line-height: 1.22; color: var(--ink); letter-spacing: -.5px; }
.display span { display: inline-block; font-family: var(--f-brand); font-weight: 700; font-size: 1em; line-height: 1.3; margin-top: .02em; padding-inline-end: .1em; background: linear-gradient(100deg, var(--wine) 10%, var(--gold-deep) 110%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.display--light { color: #fff; }
.display--light span { background: linear-gradient(100deg, var(--champagne), var(--gold)); -webkit-background-clip: text; background-clip: text; }
.lead { margin-top: 20px; font-size: 16px; color: var(--text); max-width: 430px; }
.lead--light { color: rgba(255, 255, 255, .78); }

.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 28px;
  border-radius: 50px; font-size: 14.5px; font-weight: 600; transition: all .3s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(-4px); }
.btn--gold { background: linear-gradient(135deg, var(--gold-soft), var(--gold) 50%, var(--gold-deep)); color: #fff; box-shadow: 0 10px 26px rgba(154, 114, 53, .35); }
.btn--gold:hover { box-shadow: 0 14px 34px rgba(154, 114, 53, .5); transform: translateY(-2px); }
.btn--line { border: 1px solid var(--wine); color: var(--wine); }
.btn--line:hover { background: var(--wine); color: #fff; }
.btn--line-light { border-color: rgba(244, 230, 198, .6); color: var(--champagne); }
.btn--line-light:hover { background: var(--champagne); color: var(--wine-ink); }

.quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 28px; font-size: 13px; color: var(--muted); }
.quick a { color: var(--wine); border-bottom: 1px solid rgba(109, 15, 41, .25); transition: border-color .2s; }
.quick a:hover { border-color: var(--wine); }

.hero__ui { position: absolute; bottom: 28px; inset-inline: 0; z-index: 3; display: flex; align-items: center; gap: 18px; justify-content: flex-end; }
.dots { display: flex; gap: 8px; }
.dots__b { width: 54px; height: 20px; display: grid; align-items: center; }
.dots__b i { display: block; height: 2px; background: rgba(35, 28, 30, .18); position: relative; overflow: hidden; }
.dots__b i::after { content: ""; position: absolute; inset: 0; background: var(--wine); transform: scaleX(0); transform-origin: right; }
.dots__b.is-active i::after { animation: progress var(--dur, 7s) linear forwards; }
.hero.is-paused .dots__b.is-active i::after { animation: none; transform: scaleX(1); }
@keyframes progress { to { transform: scaleX(1); } }
.hero__pause { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(35, 28, 30, .2); display: grid; place-items: center; }
.p-ic { width: 8px; height: 10px; border-inline: 2px solid var(--ink); }
.hero.is-paused .p-ic { width: 0; height: 0; border: 0; border-block: 6px solid transparent; border-right: 9px solid var(--ink); margin-right: 3px; }
.hero__count { font-family: var(--f-latin); font-size: 15px; color: var(--muted); letter-spacing: 1px; direction: ltr; }
.hero__count b { color: var(--ink); font-weight: 600; }
.hero.on-dark .dots__b i { background: rgba(255, 255, 255, .25); }
.hero.on-dark .dots__b i::after { background: var(--gold-soft); }
.hero.on-dark .hero__pause { border-color: rgba(255, 255, 255, .35); }
.hero.on-dark .p-ic { border-color: #fff; }
.hero.on-dark.is-paused .p-ic { border-right-color: #fff; border-block-color: transparent; }
.hero.on-dark .hero__count, .hero.on-dark .hero__count b { color: rgba(255, 255, 255, .8); }

/* ================= Trust strip ================= */
.trust { background: #fff; border-bottom: 1px solid var(--hair); }
.trust__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__list li { display: flex; align-items: center; gap: 14px; padding: 24px 18px; }
.trust__list li + li { border-inline-start: 1px solid var(--hair); }
.trust__list svg { width: 38px; height: 38px; color: var(--gold); stroke-width: 1.3; }
.trust__list b { display: block; font-size: 14px; color: var(--ink); font-weight: 600; }
.trust__list span { font-size: 12.5px; color: var(--muted); line-height: 1.6; }

/* ================= Section head ================= */
.sec-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.kicker { font-family: var(--f-latin); font-size: 13px; letter-spacing: 4px; color: var(--gold); margin-bottom: 8px; }
.sec-head h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 700; color: var(--ink); line-height: 1.4; }
.sec-head h2::after { content: ""; display: block; width: 14px; height: 14px; margin: 16px auto 0; transform: rotate(45deg); border: 1px solid var(--gold); box-shadow: inset 0 0 0 3px var(--ivory), inset 0 0 0 10px var(--wine); }
.sec-head__p { margin-top: 14px; color: var(--muted); }

/* ================= Categories ================= */
.cats { padding: clamp(64px, 8vw, 110px) 0; background:
  radial-gradient(ellipse 60% 50% at 50% 0%, rgba(244, 230, 198, .45), transparent 70%), var(--ivory); }
.cats__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 42px 16px; }
.cat { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; position: relative; }
.cat__ring {
  position: relative; display: grid; place-items: center;
  width: clamp(110px, 11vw, 150px); aspect-ratio: 1; border-radius: 50%;
  background: linear-gradient(160deg, #fff, var(--cream));
  box-shadow: inset 0 0 0 1px var(--hair), var(--shadow-s);
  color: var(--gold-deep);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .5s var(--ease), color .5s var(--ease);
}
.cat__ring::before {
  content: ""; position: absolute; inset: 7px; border-radius: 50%;
  border: 1px dashed rgba(184, 140, 73, .45);
  transition: transform 1.4s var(--ease), border-color .5s;
}
.cat__ring svg { width: 52%; height: auto; aspect-ratio: 1; stroke-width: 1.5; transition: transform .5s var(--ease); }
.cat__t { font-size: 15px; font-weight: 600; color: var(--ink); transition: color .3s; }
.cat:hover .cat__ring { transform: translateY(-6px); background: radial-gradient(circle at 50% 35%, #8a1a39, var(--wine-deep)); color: var(--champagne); box-shadow: 0 20px 40px rgba(64, 21, 39, .28); }
.cat:hover .cat__ring::before { transform: rotate(90deg); border-color: rgba(244, 230, 198, .45); }
.cat:hover .cat__ring svg { transform: scale(1.06); }
.cat:hover .cat__t { color: var(--wine); }
.cat__tag { position: absolute; top: -4px; left: 50%; transform: translateX(-50%); font-size: 10.5px; font-weight: 700; color: #fff; background: var(--turquoise); padding: 1px 10px; border-radius: 20px; white-space: nowrap; box-shadow: 0 4px 10px rgba(22, 143, 135, .3); }
.cat--feat .cat__ring { box-shadow: inset 0 0 0 1px var(--gold-soft), 0 10px 30px rgba(184, 140, 73, .22); }

.materials { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(56px, 6vw, 80px); }
.mat {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 118px; padding: 20px 22px; border-radius: var(--radius); font-size: 18px; font-weight: 700; color: var(--ink);
  border: 1px solid var(--hair); background: #fff; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.mat small { font-family: var(--f-latin); font-weight: 600; font-size: 13px; letter-spacing: 2px; color: var(--gold-deep); }
.mat::after { content: ""; position: absolute; width: 150px; height: 150px; top: -60px; left: -50px; border-radius: 50%; opacity: .55; transition: transform .6s var(--ease); }
.mat:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.mat:hover::after { transform: scale(1.25); }
.mat--gold::after { background: radial-gradient(circle, #f1d9a4, transparent 70%); }
.mat--silver::after { background: radial-gradient(circle, #dfe3e6, transparent 70%); }
.mat--gem::after { background: radial-gradient(circle, rgba(109, 15, 41, .35), transparent 70%); }
.mat--acc::after { background: radial-gradient(circle, rgba(22, 143, 135, .3), transparent 70%); }

.next-step { padding: 40px 0 70px; text-align: center; }
.next-step p { display: inline-block; font-size: 13px; color: var(--muted); border: 1px dashed var(--hair); border-radius: 40px; padding: 8px 22px; }

/* ================= Responsive ================= */
@media (max-width: 1180px) {
  .consult { display: none; }
  .nav__link { font-size: 13.5px; padding: 0 6px; }
}
@media (max-width: 980px) {
  .ratebar__links { display: none; }
  .nav { display: none; }
  .icon-btn.header__burger { display: grid; }
  .header__row { flex-wrap: wrap; min-height: 0; padding-block: 10px; gap: 6px 10px; }
  .brand { order: 1; margin-inline-end: auto; }
  .header__burger { order: 0; }
  .tools { order: 2; margin: 0; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .search input { height: 44px; }
  .brand__name { font-size: 32px; }
  .trust__list { grid-template-columns: repeat(2, 1fr); }
  .trust__list li:nth-child(3) { border-inline-start: 0; }
  .trust__list li:nth-child(n+3) { border-top: 1px solid var(--hair); }
  .cats__grid { grid-template-columns: repeat(4, 1fr); }
  .materials { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  body { font-size: 14.5px; }
  .hide-sm { display: none; }
  .hero { height: auto; min-height: 0; display: flex; flex-direction: column; }
  .hero__slides { position: relative; aspect-ratio: auto; height: 640px; }
  .slide__img { object-position: 72% 20%; }
  .slide--dark .slide__img { object-position: 62% 50%; }
  .slide__veil--light { background: linear-gradient(0deg, rgba(250, 245, 236, .98) 0%, rgba(250, 245, 236, .9) 42%, rgba(250, 245, 236, 0) 70%); }
  .slide__veil--dark { background: linear-gradient(0deg, rgba(42, 13, 24, .96) 0%, rgba(42, 13, 24, .75) 45%, rgba(42, 13, 24, 0) 72%); }
  .slide__content { align-items: flex-end; }
  .slide__text { padding-bottom: 70px; }
  .display { font-size: 40px; }
  .lead { font-size: 14.5px; margin-top: 12px; }
  .cta { margin-top: 22px; }
  .btn { height: 48px; padding: 0 16px; font-size: 13.5px; flex: 1 1 auto; justify-content: center; white-space: nowrap; }
  .brand__mark { width: 32px; }
  .brand__name { margin-top: -6px; }
  .brand__sub { margin-top: 3px; font-size: 9.5px; }
  .quick { margin-top: 18px; }
  .hero__ui { bottom: 22px; justify-content: space-between; }
  .trust__list li { padding: 16px 8px; gap: 10px; align-items: flex-start; }
  .trust__list svg { width: 30px; height: 30px; }
  .trust__list b { font-size: 13px; }
  .trust__list span { font-size: 11.5px; }
  .cats__grid { grid-template-columns: repeat(3, 1fr); gap: 30px 10px; }
  .cat__ring { width: 96px; height: 96px; }
  .cat__t { font-size: 13px; }
  .mat { min-height: 96px; font-size: 16px; padding: 16px; }
  .sec-head { margin-bottom: 36px; }
}
@media (max-width: 340px) {
  .cats__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* campaign slide: subject sits on the right of an ultra-wide frame */
.slide__img--campaign { object-position: 85% 25%; }
@media (max-width: 700px) {
  .slide__img--campaign { object-position: 50% 15%; }
}
.slide__img--right { object-position: 80% 50%; }
@media (max-width: 700px) {
  .slide__img--right { object-position: 50% 40%; }
}

/* ==========================================================
   Step 2 — Vitrine, three paths, budget
   ========================================================== */
.kicker--start { text-align: start; }
.bar-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; flex-wrap: wrap; }
.bar-head h2 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; color: var(--ink); line-height: 1.4; }
.bar-head--center { justify-content: center; text-align: center; margin-bottom: 40px; }

/* ---------- Vitrine ---------- */
.showcase { padding: clamp(56px, 7vw, 96px) 0; background: #fff; border-top: 1px solid var(--hair); }
.tabs { position: relative; display: flex; gap: 4px; padding: 5px; border-radius: 50px; background: var(--cream); border: 1px solid var(--hair); }
.tabs__b { position: relative; z-index: 1; height: 40px; padding: 0 20px; border-radius: 40px; font-size: 14px; color: var(--muted); transition: color .3s; }
.tabs__b.is-active { color: #fff; }
.tabs__ink { position: absolute; top: 5px; bottom: 5px; border-radius: 40px; background: var(--wine); box-shadow: 0 6px 16px rgba(109, 15, 41, .3); transition: all .45s var(--ease); }
.rail-ctrl { display: flex; align-items: center; gap: 8px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--wine); margin-inline-end: 10px; }
.link-more svg { width: 16px; height: 16px; }
.round-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--hair); display: grid; place-items: center; color: var(--ink); transition: all .25s; background: #fff; }
.round-btn svg { width: 18px; height: 18px; }
.round-btn[data-rail="prev"] svg { transform: scaleX(-1); }
.round-btn:hover { border-color: var(--gold); color: var(--wine); }
.round-btn:disabled { opacity: .35; pointer-events: none; }

.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4.3);
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px 2px 18px; scrollbar-width: none; overscroll-behavior-x: contain;
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-swapping .card { opacity: 0; transform: translateY(10px); }

.card { position: relative; scroll-snap-align: start; display: flex; flex-direction: column; border-radius: 16px; background: var(--ivory); border: 1px solid var(--hair); overflow: hidden; transition: box-shadow .4s var(--ease), transform .4s var(--ease), opacity .35s var(--ease); }
.card:hover { box-shadow: var(--shadow-m); transform: translateY(-4px); }
.card__media { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--sand); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card__media img { transform: scale(1.07); }
.card__tags { position: absolute; top: 12px; right: 12px; display: flex; gap: 6px; }
.tag { font-size: 11px; font-weight: 600; padding: 2px 10px; border-radius: 20px; background: rgba(255, 253, 249, .92); color: var(--wine); backdrop-filter: blur(6px); }
.tag--low { background: var(--turquoise); color: #fff; }
.tag--new { background: var(--wine); color: #fff; }
.card__fav { position: absolute; top: 10px; left: 10px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 253, 249, .9); color: var(--ink); opacity: 0; transform: translateY(-4px); transition: all .3s var(--ease); }
.card__fav svg { width: 18px; height: 18px; }
.card:hover .card__fav, .card__fav:focus-visible { opacity: 1; transform: none; }
.card__fav.is-on { opacity: 1; color: var(--wine); }
.card__fav.is-on svg { fill: currentColor; }
.card__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.card__name { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.6; }
.card__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--muted); }
.card__meta b { color: var(--text); font-weight: 600; }
.card__foot { display: flex; align-items: flex-end; justify-content: space-between; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--hair); }
.price { font-size: 17px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.price small { font-size: 11px; font-weight: 400; color: var(--muted); margin-inline-start: 3px; }
.add { width: 38px; height: 38px; border-radius: 50%; background: var(--cream); color: var(--wine); display: grid; place-items: center; border: 1px solid var(--hair); transition: all .25s; }
.add svg { width: 18px; height: 18px; }
.add:hover { background: var(--wine); color: #fff; border-color: var(--wine); }
.demo-note { margin-top: 6px; font-size: 12px; color: var(--muted); text-align: center; }

/* ---------- Three paths ---------- */
.paths { padding: clamp(64px, 8vw, 110px) 0; background: var(--cream); }
.paths__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.path { position: relative; min-height: 540px; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; isolation: isolate; }
.path > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.path:hover > img { transform: scale(1.06); }
.path::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(42, 13, 24, 0) 20%, rgba(42, 13, 24, .78) 58%, rgba(42, 13, 24, .96)); }
.path--sell { background: radial-gradient(ellipse 90% 70% at 50% 20%, #7d1735, var(--wine-deep) 55%, var(--wine-ink)); }
.path--sell::before { display: none; }
.path__art { position: absolute; inset: 0 0 45% 0; display: grid; place-items: center; z-index: -1; }
.path__art::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 1px dashed rgba(217, 189, 140, .35); animation: spin 60s linear infinite; }
.path__art::after { content: ""; position: absolute; width: 190px; height: 190px; border-radius: 50%; border: 1px solid rgba(217, 189, 140, .2); }
.path__art img { width: 96px; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .4)); }
@keyframes spin { to { transform: rotate(360deg); } }
.path__body { padding: 30px 30px 32px; }
.path__n { font-family: var(--f-latin); font-size: 15px; letter-spacing: 2px; color: var(--gold-soft); }
.path h3 { font-size: 26px; font-weight: 700; margin: 4px 0 10px; }
.path p { font-size: 14px; color: rgba(255, 255, 255, .78); line-height: 1.9; }
.path__steps { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 22px; counter-reset: st; }
.path__steps li { font-size: 12px; padding: 3px 12px 3px 10px; border-radius: 20px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); counter-increment: st; }
.path__steps li::before { content: counter(st, persian) " · "; color: var(--gold-soft); }
.btn--sm { height: 46px; padding: 0 22px; font-size: 14px; }

/* ---------- Budget ---------- */
.budget { padding: clamp(64px, 8vw, 104px) 0; background: var(--ivory); }
.budget__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tier {
  --tone: color-mix(in srgb, var(--gold) calc(100% - var(--lvl) * 22%), var(--wine));
  position: relative; display: flex; flex-direction: column; gap: 6px; height: 100%;
  padding: 28px 26px 26px; border-radius: 18px; background: #fff; border: 1px solid var(--hair);
  overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.tier::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--gold-soft), var(--tone)); transform: scaleX(.25); transform-origin: right; transition: transform .6s var(--ease); }
.tier:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); border-color: transparent; }
.tier:hover::after { transform: scaleX(1); }
.tier__gems { display: flex; gap: 5px; margin-bottom: 10px; }
.tier__gems i { width: 9px; height: 9px; transform: rotate(45deg); background: var(--tone); }
.tier__range { display: flex; align-items: baseline; gap: 8px; font-size: 54px; font-weight: 300; line-height: 1.1; color: var(--ink); }
.tier__range small { font-size: 13px; font-weight: 400; color: var(--muted); }
.tier__range em { font-style: normal; font-size: 13px; color: var(--muted); }
.tier__t { font-size: 17px; font-weight: 700; color: var(--tone); margin-top: 6px; }
.tier__d { font-size: 13px; color: var(--muted); }
.tier--lux { background: linear-gradient(160deg, var(--wine-deep), var(--wine-ink)); border-color: transparent; }
.tier--lux .tier__range, .tier--lux .tier__t { color: var(--champagne); }
.tier--lux .tier__range small, .tier--lux .tier__range em, .tier--lux .tier__d { color: rgba(244, 230, 198, .6); }
.tier--lux .tier__gems i { background: var(--gold-soft); }

@media (max-width: 1100px) {
  .rail { grid-auto-columns: calc((100% - 2 * 16px) / 3.2); gap: 16px; }
  .paths__grid { grid-template-columns: 1fr 1fr; }
  .path--sell { grid-column: 1 / -1; min-height: 420px; }
  .budget__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .bar-head { align-items: center; }
  .bar-head > div:first-child { width: 100%; }
  .tabs { width: 100%; }
  .tabs__b { flex: 1; padding: 0 8px; font-size: 13px; }
  .rail-ctrl { width: 100%; justify-content: space-between; }
  .round-btn { display: none; }
  .rail { grid-auto-columns: 72%; gap: 12px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .card__fav { opacity: 1; transform: none; }
  .paths__grid { grid-template-columns: 1fr; }
  .path, .path--sell { min-height: 460px; }
  .path__body { padding: 24px 22px 26px; }
  .budget__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tier { padding: 20px 16px; }
  .tier__range { font-size: 40px; flex-wrap: wrap; gap: 2px 6px; }
  .tier__t { font-size: 15px; }
}

/* ==========================================================
   Revision 3 — glowing mark, stacked mobile hero, trust band
   ========================================================== */

/* ---------- Logo: larger mark, living gem ---------- */
.brand { gap: 14px; }
.brand__mark { width: 60px; height: auto; overflow: visible; transition: transform .6s var(--ease); }
.brand:hover .brand__mark { transform: scale(1.06); }
.gem { transform-origin: 38px 44px; animation: gem-glow 3.2s ease-in-out infinite; }
.gem__shine { animation: gem-shine 4.8s var(--ease) infinite; }
.gem__spark { transform-origin: 33px 34px; animation: gem-spark 3.2s ease-in-out infinite; }
@keyframes gem-glow {
  0%, 100% { filter: drop-shadow(0 0 1.5px rgba(214, 48, 88, .55)) drop-shadow(0 0 5px rgba(168, 22, 60, .35)); }
  50% { filter: drop-shadow(0 0 3px rgba(240, 70, 110, .95)) drop-shadow(0 0 11px rgba(200, 30, 70, .6)); }
}
@keyframes gem-shine { 0%, 55% { transform: translateX(0) rotate(20deg); } 85%, 100% { transform: translateX(95px) rotate(20deg); } }
@keyframes gem-spark { 0%, 40%, 100% { opacity: 0; transform: scale(.3); } 55% { opacity: 1; transform: scale(1.15); } 70% { opacity: 0; transform: scale(.5); } }

/* ---------- Trust band ---------- */
.trust { position: relative; z-index: 5; background: transparent; border: 0; margin-top: -58px; }
.trust__list {
  grid-template-columns: repeat(4, 1fr); gap: 0;
  background: rgba(255, 253, 249, .96); backdrop-filter: blur(12px);
  border-radius: 22px; border: 1px solid rgba(184, 140, 73, .28);
  box-shadow: 0 24px 60px rgba(64, 21, 39, .12), inset 0 1px 0 #fff;
  padding: 10px;
}
.trust__list li { position: relative; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 26px 18px 24px; border-radius: 16px; transition: background .4s var(--ease); }
.trust__list li + li { border: 0; }
.trust__list li + li::before { content: ""; position: absolute; right: 0; top: 50%; width: 7px; height: 7px; transform: translate(50%, -50%) rotate(45deg); background: var(--gold-soft); box-shadow: 0 0 0 4px rgba(255, 253, 249, .96); }
.trust__list li + li::after { content: ""; position: absolute; right: 0; top: 22%; bottom: 22%; width: 1px; background: linear-gradient(transparent, var(--hair) 25%, var(--hair) 75%, transparent); z-index: -1; }
.trust__list .trust__ic { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #fff, var(--cream)); box-shadow: inset 0 0 0 1px rgba(184, 140, 73, .45), 0 8px 20px rgba(154, 114, 53, .15); color: var(--gold-deep); transition: all .45s var(--ease); }
.trust__ic::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px dashed rgba(184, 140, 73, .4); transition: transform 1.2s var(--ease); }
.trust__list svg { width: 30px; height: 30px; color: currentColor; stroke-width: 1.4; }
.trust__list b { font-size: 15px; font-weight: 700; color: var(--ink); }
.trust__list span:not(.trust__ic) { font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.trust__list li:hover { background: var(--cream); }
.trust__list li:hover .trust__ic { background: radial-gradient(circle at 50% 35%, #8a1a39, var(--wine-deep)); color: var(--champagne); box-shadow: 0 12px 26px rgba(109, 15, 41, .3); }
.trust__list li:hover .trust__ic::before { transform: rotate(90deg); }
.cats { padding-top: clamp(72px, 8vw, 110px); }

@media (max-width: 980px) {
  .brand__mark { width: 48px; }
  .trust { margin-top: -36px; }
  .trust__list { grid-template-columns: repeat(2, 1fr); }
  .trust__list li:nth-child(3)::before, .trust__list li:nth-child(3)::after { display: none; }
}

/* ---------- Mobile hero: picture on top, words below ---------- */
@media (max-width: 700px) {
  .hero { background: var(--ivory); }
  .hero__slides { height: calc(100vw * 1.12 + 330px); }
  .slide { display: flex; flex-direction: column; }
  .slide picture { position: relative; display: block; width: 100%; height: calc(100vw * 1.12); flex: none; overflow: hidden; }
  .slide__img, .slide__img--campaign, .slide__img--right { position: absolute; inset: 0; object-position: 50% 50%; }
  .slide__veil { top: auto; bottom: auto; height: calc(100vw * 1.12); }
  .slide__veil--light { background: linear-gradient(0deg, var(--ivory) 0%, rgba(255, 253, 249, 0) 22%); }
  .slide__veil--dark { background: linear-gradient(0deg, var(--wine-ink) 0%, rgba(42, 13, 24, 0) 22%); }
  .slide--dark { background: var(--wine-ink); }
  .slide__content { height: auto; flex: 1; align-items: flex-start; margin-top: -26px; }
  .slide__text { padding: 0 0 64px; max-width: none; }
  .eyebrow { margin-bottom: 8px; font-size: 12px; }
  .display { font-size: 36px; }
  .hero__ui { bottom: 18px; }
  .trust { margin-top: 0; padding: 18px 0 0; }
  .trust__list { padding: 6px; border-radius: 18px; }
  .trust__list li { padding: 18px 8px; gap: 8px; }
  .trust__list .trust__ic { width: 52px; height: 52px; }
  .trust__list svg { width: 24px; height: 24px; }
  .trust__list b { font-size: 13px; }
  .trust__list span:not(.trust__ic) { font-size: 11.5px; }
}

@media (min-width: 701px) {
  .hero__ui { bottom: 86px; }
  .slide__text { padding-bottom: 90px; }
}

/* Wordmark: Mehr Nastaliq Web (CSaLT, ITU Punjab — CC BY 4.0, credit on site) for «ترنج» only.
   The font has one weight; a gold stroke of the same gradient tone makes it read bolder. */
.brand__name {
  font-family: "Toranj Nastaliq", var(--f-brand); font-weight: 400;
  font-size: 44px; line-height: 1.55; margin-top: -16px; margin-bottom: 0;
  -webkit-text-stroke: 1.1px #a87b3a; paint-order: stroke fill;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .6));
}
@media (max-width: 980px) { .brand__name { font-size: 36px; -webkit-text-stroke-width: .9px; } }

/* ==========================================================
   Step 3 — category rows, signature, name pendant, wedding
   ========================================================== */
.kicker--light { color: var(--gold-soft); }

/* ---------- Category rows ---------- */
.rows { padding: clamp(56px, 7vw, 96px) 0; background: #fff; border-top: 1px solid var(--hair); }
.rows .wrap { display: grid; gap: 28px; }
.crow { display: grid; grid-template-columns: 300px 1fr; gap: 20px; align-items: stretch; }
.crow--flip { grid-template-columns: 1fr 300px; }
.crow--flip .crow__banner { order: 2; }
.crow__banner { position: relative; min-height: 440px; border-radius: 18px; overflow: hidden; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.crow__banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.crow__banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(42, 13, 24, 0) 30%, rgba(42, 13, 24, .88)); }
.crow__banner:hover img { transform: scale(1.06); }
.crow__txt { display: flex; flex-direction: column; gap: 6px; padding: 26px 24px; }
.crow__txt small { font-family: var(--f-latin); font-size: 12px; letter-spacing: 2.5px; color: var(--gold-soft); }
.crow__txt strong { font-size: 22px; font-weight: 700; line-height: 1.5; }
.crow__txt em { font-style: normal; font-size: 13px; color: rgba(255, 255, 255, .75); }
.crow__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 14px; color: var(--gold-soft); }
.crow__go svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.crow__banner:hover .crow__go svg { transform: translateX(-4px); }
.crow__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ---------- Signature ---------- */
.sig { position: relative; overflow: hidden; padding: clamp(72px, 9vw, 120px) 0; color: #fff;
  background: radial-gradient(ellipse 70% 80% at 80% 30%, #5a1227, var(--wine-ink) 65%); }
.sig__pattern { position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background: url("../assets/toranj-mark.svg") center / 120px repeat; }
.sig__in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.sig__media { position: relative; margin: 0; border-radius: 240px 240px 22px 22px; overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: 0 40px 80px rgba(0, 0, 0, .45); outline: 1px solid rgba(217, 189, 140, .35); outline-offset: 10px; }
.sig__media img { width: 100%; height: 100%; object-fit: cover; }
.sig__media figcaption { position: absolute; bottom: 16px; inset-inline: 0; text-align: center; font-family: var(--f-latin); letter-spacing: 3px; font-size: 13px; color: var(--gold-soft); }
.sig__body h2 { font-size: clamp(30px, 3.6vw, 48px); font-weight: 700; line-height: 1.35; margin: 6px 0 16px;
  background: linear-gradient(100deg, var(--champagne), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sig__lead { color: rgba(255, 255, 255, .78); font-size: 16px; max-width: 520px; }
.sig__points { display: grid; gap: 12px; margin: 28px 0 8px; }
.sig__points li { display: grid; grid-template-columns: 14px 1fr; column-gap: 14px; align-items: baseline; }
.sig__points li::before { content: ""; width: 9px; height: 9px; transform: rotate(45deg); background: var(--gold-soft); grid-row: span 2; margin-top: 8px; }
.sig__points b { font-size: 15px; color: var(--champagne); }
.sig__points span { font-size: 13px; color: rgba(255, 255, 255, .6); }

/* ---------- Name pendant ---------- */
.namep { padding: clamp(72px, 9vw, 120px) 0; background: linear-gradient(180deg, var(--cream), var(--ivory)); }
.namep__in { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.namep h2 { font-size: clamp(28px, 3.2vw, 42px); font-weight: 700; color: var(--ink); line-height: 1.4; margin: 6px 0 12px; }
.namep__lead { color: var(--muted); max-width: 480px; }
.namep__form { display: grid; gap: 18px; margin: 28px 0; }
.field { display: grid; gap: 6px; }
.field > span, .seg legend { font-size: 13px; font-weight: 600; color: var(--ink); }
.field input { height: 56px; border-radius: 14px; border: 1px solid var(--hair); background: #fff; padding: 0 18px; font: 600 20px var(--f-body); color: var(--wine); transition: border-color .2s, box-shadow .2s; }
.field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(184, 140, 73, .14); }
.field small { font-size: 11.5px; color: var(--muted); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.seg legend { width: 100%; margin-bottom: 8px; padding: 0; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 40px; border: 1px solid var(--hair); background: #fff; font-size: 14px; color: var(--text); transition: all .25s var(--ease); }
.seg input:checked + span { border-color: var(--wine); background: var(--wine); color: #fff; box-shadow: 0 6px 16px rgba(109, 15, 41, .25); }
.seg input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.sw { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.sw--y { background: linear-gradient(135deg, #f6e2ad, #b88c49); }
.sw--r { background: linear-gradient(135deg, #f8d3c3, #b87460); }
.sw--w { background: linear-gradient(135deg, #fff, #b9babe); }
.namep__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px dashed var(--hair); }
.namep__est { font-size: 14px; color: var(--text); }
.namep__est b { color: var(--wine); font-size: 16px; }
.namep__est small { display: block; font-size: 11.5px; color: var(--muted); }
.namep__stage { position: relative; border-radius: 28px; padding: 20px; aspect-ratio: 1.2; display: grid; place-items: center;
  background: radial-gradient(ellipse 70% 60% at 50% 45%, #fff, var(--sand) 75%);
  box-shadow: inset 0 0 0 1px var(--hair), var(--shadow-m); }
.namep__stage::before { content: ""; position: absolute; inset: 14px; border-radius: 20px; border: 1px dashed rgba(184, 140, 73, .35); pointer-events: none; }
.namep__svg { width: 100%; height: auto; overflow: visible; }
.np-chain { fill: none; stroke-width: 2.2; stroke-dasharray: 3 2.5; stroke-linecap: round; }
.np-ring { fill: none; stroke-width: 2.4; }
#np-text { transition: fill .3s; }
.namep__note { position: absolute; bottom: 22px; inset-inline: 0; text-align: center; font-size: 12px; color: var(--muted); }

/* ---------- Wedding ---------- */
.wed { padding: clamp(72px, 9vw, 120px) 0; background: #fff; }
.wed__in { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.wed__media { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow-m); }
.wed__media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.wed__media::after { content: ""; position: absolute; inset: 12px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .5); pointer-events: none; }
.wed h2 { font-size: clamp(28px, 3.2vw, 42px); font-weight: 700; color: var(--ink); line-height: 1.4; margin: 6px 0 12px; }
.wed__lead { color: var(--muted); max-width: 500px; }
.wed__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px 0 30px; }
.wed__list a { display: grid; grid-template-columns: 48px 1fr; column-gap: 12px; align-items: center; padding: 14px; border-radius: 16px; border: 1px solid var(--hair); background: var(--ivory); transition: all .35s var(--ease); }
.wed__list a:hover { border-color: var(--gold-soft); box-shadow: var(--shadow-s); transform: translateY(-2px); }
.wed__ic { grid-row: span 2; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--gold-deep); box-shadow: inset 0 0 0 1px rgba(184, 140, 73, .35); }
.wed__ic svg { width: 30px; height: 30px; stroke-width: 1.5; }
.wed__list b { font-size: 14px; color: var(--ink); }
.wed__list em { font-style: normal; font-size: 12px; color: var(--muted); }

@media (max-width: 1100px) {
  .crow, .crow--flip { grid-template-columns: 1fr; }
  .crow--flip .crow__banner { order: 0; }
  .crow__banner { min-height: 260px; }
  .crow__grid { grid-template-columns: repeat(2, 1fr); }
  .sig__in, .namep__in, .wed__in { grid-template-columns: 1fr; }
  .sig__media { max-width: 520px; margin-inline: auto; }
}
@media (max-width: 700px) {
  .crow__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .crow__grid .card__body { padding: 12px; }
  .crow__grid .card__name { font-size: 13.5px; }
  .crow__grid .price { font-size: 15px; }
  .crow__grid .add { width: 34px; height: 34px; }
  .sig__media { border-radius: 160px 160px 18px 18px; }
  .namep__stage { order: -1; aspect-ratio: 1.1; }
  .namep__foot .btn { flex: 1; }
  .wed__list { grid-template-columns: 1fr; }
}

/* ---------- Material bar (replaces the four material cards) ---------- */
.matbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: -12px auto 48px; padding: 6px; width: fit-content; max-width: 100%;
  border-radius: 60px; background: #fff; border: 1px solid var(--hair); box-shadow: var(--shadow-s); }
.matbar__lbl { font-size: 13px; color: var(--muted); padding-inline: 12px 4px; }
.matbar__i { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 40px; font-size: 14px; font-weight: 600; color: var(--text); transition: all .3s var(--ease); }
.matbar__i small { font-family: var(--f-latin); font-size: 12px; font-weight: 600; letter-spacing: 1px; color: var(--gold-deep); }
.matbar__i:hover { background: var(--cream); color: var(--wine); }
.matbar__i.is-on { background: var(--wine); color: #fff; box-shadow: 0 6px 16px rgba(109, 15, 41, .25); }
.matbar__i.is-on small { color: var(--gold-soft); }
.dot { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.dot--all { background: conic-gradient(#d9b46b 0 25%, #cfd3d6 0 50%, #8a1a39 0 75%, #168f87 0); }
.dot--gold { background: linear-gradient(135deg, #f6e2ad, #b88c49); }
.dot--silver { background: linear-gradient(135deg, #fff, #aeb2b6); }
.dot--gem { background: radial-gradient(circle at 35% 30%, #e0405f, #6d0f29); }
.dot--acc { background: linear-gradient(135deg, #5fd0c6, #168f87); }
.cats { padding-bottom: clamp(64px, 7vw, 96px); }
@media (max-width: 700px) {
  .matbar { width: auto; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; border-radius: 18px; margin: -8px calc(-1 * var(--gutter)) 34px; border-inline: 0; border-radius: 0; scrollbar-width: none; padding-inline: var(--gutter); }
  .matbar::-webkit-scrollbar { display: none; }
  .matbar__i { flex: none; height: 38px; padding: 0 14px; font-size: 13px; }
  .matbar__lbl { display: none; }
}

/* ---------- Compact pass: less scrolling ---------- */
.sig { padding: clamp(56px, 6vw, 88px) 0; }
.sig__media { aspect-ratio: 1 / 1; max-width: 540px; justify-self: center; width: 100%; }
.paths { padding: clamp(56px, 6vw, 88px) 0; }
.paths .sec-head { margin-bottom: 36px; }
.path { min-height: 470px; }
.cats { padding-top: clamp(64px, 6vw, 88px); padding-bottom: clamp(52px, 6vw, 80px); }
.showcase, .budget, .namep { padding-block: clamp(52px, 6vw, 84px); }

/* ==========================================================
   Step 4 — gold price + sell, trust, FAQ, footer
   ========================================================== */

/* ---------- Gold price + sell ---------- */
.gp { padding: clamp(52px, 6vw, 84px) 0; background: #fff; border-top: 1px solid var(--hair); }
.gp__in { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; align-items: stretch; }
.gp__calc, .gp__sell { border-radius: 22px; padding: clamp(22px, 2.6vw, 34px); }
.gp__calc { background: var(--ivory); border: 1px solid var(--hair); }
.gp__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.gp h2 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; color: var(--ink); line-height: 1.45; }
.gp__time { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.demo-tag--dark { border-color: var(--hair); color: var(--muted); }
.gp__rates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 18px; }
.gp__rates div { padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--hair); }
.gp__rates div:first-child { background: linear-gradient(150deg, #fff8e8, #f3e2bb); border-color: var(--gold-soft); }
.gp__rates dt { font-size: 12.5px; color: var(--muted); }
.gp__rates dt small { display: block; font-size: 11px; }
.gp__rates dd { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.gp__rates dd b { font-size: 19px; color: var(--ink); font-variant-numeric: tabular-nums; }
.calc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.calc__f { display: grid; gap: 4px; font-size: 12px; color: var(--muted); }
.calc__f input { height: 44px; border-radius: 12px; border: 1px solid var(--hair); background: #fff; padding: 0 12px; font: 600 15px var(--f-body); color: var(--ink); }
.calc__f input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184, 140, 73, .14); }
.calc__out { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr) 1.4fr; gap: 0; margin-top: 6px; border-radius: 14px; overflow: hidden; border: 1px solid var(--hair); background: #fff; }
.calc__out li { display: grid; gap: 2px; padding: 12px 14px; font-size: 11.5px; color: var(--muted); }
.calc__out li + li { border-inline-start: 1px solid var(--hair); }
.calc__out b { font-size: 13.5px; color: var(--ink); font-variant-numeric: tabular-nums; }
.calc__total { background: var(--wine); color: rgba(255, 255, 255, .7) !important; }
.calc__total b { color: #fff; font-size: 16px; }
.gp__note { margin-top: 14px; font-size: 12px; color: var(--muted); }
.gp__note a { color: var(--wine); border-bottom: 1px solid rgba(109, 15, 41, .3); }

.gp__sell { position: relative; overflow: hidden; color: #fff; background: radial-gradient(ellipse 90% 70% at 20% 0%, #7d1735, var(--wine-deep) 55%, var(--wine-ink)); }
.gp__sell::after { content: ""; position: absolute; width: 220px; height: 260px; left: -60px; bottom: -70px; opacity: .08; background: url("../assets/toranj-mark.svg") center / contain no-repeat; }
.gp__sell h2 { color: var(--champagne); margin: 4px 0 8px; }
.gp__sell-lead { font-size: 14px; color: rgba(255, 255, 255, .75); }
.sell-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 18px 0; counter-reset: s; }
.sell-steps li { counter-increment: s; display: grid; gap: 2px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); font-size: 11.5px; }
.sell-steps li::before { content: counter(s, persian); font-family: var(--f-body); font-weight: 700; color: var(--gold-soft); font-size: 15px; }
.sell-steps b { font-size: 12.5px; }
.sell-steps span { color: rgba(255, 255, 255, .6); }
.sell-form { position: relative; z-index: 1; display: grid; gap: 10px; }
.sell-form__row { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 8px; }
.sell-form label { display: grid; gap: 4px; font-size: 12px; color: rgba(255, 255, 255, .7); }
.sell-form input, .sell-form select { height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; padding: 0 12px; font: 500 14px var(--f-body); }
.sell-form select option { color: var(--ink); }
.sell-form input::placeholder { color: rgba(255, 255, 255, .45); }
.sell-form input:focus, .sell-form select:focus { outline: none; border-color: var(--gold-soft); background: rgba(255, 255, 255, .12); }
.sell-form .btn { justify-content: center; margin-top: 4px; }
.sell-form__msg { min-height: 1em; font-size: 12.5px; }
.sell-form__msg.is-ok { color: #8fe0bd; }
.sell-form__msg.is-err { color: #ffb3b3; }
.gp__sell-note { position: relative; z-index: 1; margin-top: 6px; font-size: 11.5px; color: rgba(255, 255, 255, .55); }

/* ---------- Trust ---------- */
.trustx { padding: clamp(52px, 6vw, 84px) 0; background: var(--cream); }
.trustx .sec-head { margin-bottom: 32px; }
.proc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-bottom: 20px; position: relative; }
.proc::before { content: ""; position: absolute; top: 22px; inset-inline: 12%; height: 1px; background: repeating-linear-gradient(90deg, var(--gold-soft) 0 6px, transparent 6px 12px); }
.proc li { position: relative; display: grid; justify-items: center; text-align: center; gap: 4px; padding: 0 10px; }
.proc__n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--wine); font-weight: 700; font-size: 17px; box-shadow: inset 0 0 0 1px var(--gold-soft), 0 6px 16px rgba(154, 114, 53, .15); margin-bottom: 6px; }
.proc b { font-size: 14.5px; color: var(--ink); }
.proc em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.trustx__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; margin-top: 28px; }
.reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.review { margin: 0; padding: 20px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--hair); display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.review blockquote { margin: 0; font-size: 14px; line-height: 1.9; color: var(--ink); }
.review blockquote::before { content: "”"; display: block; font-family: var(--f-latin); font-size: 44px; line-height: .6; color: var(--gold-soft); }
.review figcaption { display: grid; font-size: 12px; color: var(--muted); }
.review figcaption b { font-size: 13px; color: var(--wine); }
.licences { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.licences li { display: grid; justify-items: center; gap: 6px; padding: 14px 10px; border-radius: 16px; background: #fff; border: 1px solid var(--hair); text-align: center; }
.licences em { font-style: normal; font-size: 11.5px; color: var(--muted); }
.lic__slot { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 14px; border: 1.5px dashed var(--gold-soft); font-size: 12px; font-weight: 700; color: var(--gold-deep); background: var(--ivory); }

/* ---------- FAQ ---------- */
.faq { padding: clamp(52px, 6vw, 84px) 0; background: #fff; }
.faq__in { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.faq__head { position: sticky; top: 150px; }
.faq__head h2 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; color: var(--ink); margin: 4px 0 8px; }
.faq__head p { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.faq__list { display: grid; gap: 10px; }
.faq details { border-radius: 16px; border: 1px solid var(--hair); background: var(--ivory); transition: background .3s, border-color .3s; }
.faq details[open] { background: #fff; border-color: var(--gold-soft); box-shadow: var(--shadow-s); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-size: 15px; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 1.5px solid var(--wine); border-bottom: 1.5px solid var(--wine); transform: rotate(45deg); transition: transform .3s var(--ease); margin-top: -5px; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 5px; }
.faq details p { padding: 0 22px 20px; font-size: 14px; line-height: 2; color: var(--text); }

/* ---------- Footer ---------- */
.footer { background: var(--wine-ink); color: rgba(255, 255, 255, .72); font-size: 13.5px; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr; gap: 28px; padding-block: 56px 40px; }
.footer__mark { width: 52px; height: auto; }
.brand--light .brand__sub { color: var(--gold-soft); }
.footer__brand p { margin: 16px 0; line-height: 2; max-width: 300px; }
.social { display: flex; gap: 8px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(217, 189, 140, .35); color: var(--gold-soft); transition: all .25s; }
.social a:hover { background: var(--gold); color: var(--wine-ink); border-color: var(--gold); }
.social svg { width: 18px; height: 18px; }
.footer__col { display: flex; flex-direction: column; gap: 9px; }
.footer__h { font-size: 14px; font-weight: 700; color: var(--champagne); margin-bottom: 4px; }
.footer__col a { transition: color .2s, padding .2s; }
.footer__col a:hover { color: var(--gold-soft); padding-inline-start: 4px; }
.footer__contact p { display: flex; align-items: center; gap: 8px; }
.footer__contact svg { width: 18px; height: 18px; color: var(--gold-soft); }
.lic__slot--foot { width: 88px; height: 88px; margin-top: 6px; background: rgba(255, 255, 255, .04); color: var(--gold-soft); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 18px 22px; border-top: 1px solid rgba(217, 189, 140, .15); font-size: 12px; color: rgba(255, 255, 255, .5); }
.footer__credits { font-size: 11px; }

@media (max-width: 1100px) {
  .gp__in, .trustx__grid, .faq__in { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .footer__top { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .gp__rates { grid-template-columns: 1fr 1fr; }
  .gp__rates div:first-child { grid-column: 1 / -1; }
  .calc { grid-template-columns: 1fr 1fr; }
  .calc__out { grid-template-columns: 1fr 1fr; }
  .calc__out li:nth-child(odd) { border-inline-start: 0; }
  .calc__out li:nth-child(n+3) { border-top: 1px solid var(--hair); }
  .calc__total { grid-column: 1 / -1; }
  .sell-steps { grid-template-columns: 1fr 1fr; }
  .sell-form__row { grid-template-columns: 1fr 1fr; }
  .sell-form__row label:last-child { grid-column: 1 / -1; }
  .proc { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .proc::before { display: none; }
  .reviews { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; padding-top: 44px; }
  .footer__contact { grid-column: 1 / -1; }
}

/* ==========================================================
   Revision — trust vitrine, licences in footer, centred mobile brand
   ========================================================== */
.trustx { background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(244, 230, 198, .6), transparent 70%), var(--cream); }

/* the vitrine: a glass display case with arched niches on a gold shelf */
.vitrine {
  position: relative; padding: 46px clamp(18px, 3vw, 40px) 28px; border-radius: 28px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .92), rgba(255, 253, 249, .7) 45%, rgba(250, 240, 222, .85));
  border: 1px solid rgba(184, 140, 73, .35);
  box-shadow: 0 30px 70px rgba(64, 21, 39, .12), inset 0 1px 0 #fff, inset 0 -40px 60px rgba(244, 230, 198, .35);
  overflow: hidden;
}
.vitrine::before { /* glass reflection */
  content: ""; position: absolute; top: -40%; left: -20%; width: 45%; height: 180%; transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); pointer-events: none;
}
.vitrine__rail { position: absolute; top: 0; inset-inline: 0; height: 6px; background: linear-gradient(90deg, var(--gold-deep), var(--gold-soft) 30%, var(--champagne) 50%, var(--gold-soft) 70%, var(--gold-deep)); }
.niches { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.niche {
  position: relative; display: grid; justify-items: center; text-align: center; gap: 6px; padding: 30px 16px 26px;
  border-radius: 140px 140px 18px 18px; background: linear-gradient(180deg, #fff, var(--ivory));
  box-shadow: inset 0 0 0 1px rgba(184, 140, 73, .3), 0 12px 26px rgba(154, 114, 53, .1);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.niche::before { content: ""; position: absolute; inset: 7px; border-radius: 134px 134px 13px 13px; border: 1px dashed rgba(184, 140, 73, .35); pointer-events: none; }
.niche:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--gold-soft), 0 22px 40px rgba(109, 15, 41, .16); }
.niche__ic { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; color: var(--champagne);
  background: radial-gradient(circle at 50% 30%, #8a1a39, var(--wine-deep)); box-shadow: 0 10px 22px rgba(109, 15, 41, .3), inset 0 0 0 3px rgba(217, 189, 140, .35); margin-bottom: 6px; }
.niche__ic svg { width: 32px; height: 32px; stroke-width: 1.4; }
.niche__n { font-family: var(--f-latin); font-size: 14px; letter-spacing: 3px; color: var(--gold); }
.niche b { font-size: 16px; color: var(--ink); }
.niche em { font-style: normal; font-size: 12.5px; line-height: 1.8; color: var(--muted); max-width: 200px; }
.vitrine__shelf { position: relative; display: block; height: 14px; margin: 14px -6px 30px; border-radius: 4px;
  background: linear-gradient(180deg, var(--champagne), var(--gold) 55%, var(--gold-deep)); box-shadow: 0 14px 22px rgba(64, 21, 39, .18); }
.vitrine .reviews { position: relative; grid-template-columns: repeat(3, 1fr); }
.vitrine .review { background: rgba(255, 255, 255, .85); }

/* licences, now in the footer */
.footer__lic { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 22px; border-top: 1px solid rgba(217, 189, 140, .15); }
.footer__lic-h { font-size: 13px; font-weight: 700; color: var(--champagne); }
.footer .licences { display: flex; flex-wrap: wrap; gap: 10px; }
.footer .licences li { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(217, 189, 140, .18); }
.footer .lic__slot { width: 52px; height: 52px; border-radius: 10px; font-size: 10.5px; background: rgba(255, 255, 255, .06); color: var(--gold-soft); border-color: rgba(217, 189, 140, .4); }
.footer .licences em { font-style: normal; font-size: 11.5px; color: rgba(255, 255, 255, .6); }

@media (max-width: 1100px) {
  .niches { grid-template-columns: repeat(2, 1fr); }
  .vitrine .reviews { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .vitrine { padding: 36px 14px 20px; border-radius: 22px; }
  .niches { gap: 10px; }
  .niche { padding: 22px 8px 18px; border-radius: 90px 90px 14px 14px; }
  .niche::before { border-radius: 84px 84px 10px 10px; }
  .niche__ic { width: 54px; height: 54px; }
  .niche__ic svg { width: 26px; height: 26px; }
  .niche b { font-size: 14px; }
  .niche em { font-size: 11.5px; }
  /* footer: brand block and socials exactly centred */
  .footer__brand { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .footer__brand .brand { order: 0; margin: 0 auto 4px; justify-content: center; }
  .footer__brand p { margin-inline: auto; }
  .social { justify-content: center; flex-wrap: wrap; }
  .footer__lic { flex-direction: column; align-items: center; text-align: center; }
  .footer .licences { justify-content: center; display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .footer__bottom { justify-content: center; text-align: center; }
}
@media (max-width: 980px) { .footer__brand .brand { order: 0; margin-inline: auto; align-self: center; } }

/* ---------- Material filter on the category circles ---------- */
.cats__grid > li { transition: opacity .26s var(--ease), transform .26s var(--ease); }
.cats__grid > li.is-out { opacity: 0; transform: scale(.9); }
.cat__m { min-height: 1em; margin-top: -8px; font-size: 11.5px; font-weight: 600; color: var(--gold-deep); letter-spacing: .2px; }
.cat__m:empty { display: none; }

/* ---------- Vitrine slider ---------- */
.rail { cursor: grab; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.rail.is-dragging .card { pointer-events: none; }
.rail-progress { position: relative; height: 3px; margin: 4px auto 0; max-width: 320px; border-radius: 3px; background: var(--hair); overflow: hidden; }
.rail-progress i { position: absolute; top: 0; right: 0; height: 100%; width: 30%; border-radius: 3px; background: linear-gradient(90deg, var(--gold), var(--wine)); transition: transform .35s var(--ease), width .35s var(--ease); }

/* ---------- Material bar: guaranteed horizontal scroll on phones ---------- */
@media (max-width: 700px) {
  .matbar { display: flex; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity;
    width: calc(100% + 2 * var(--gutter)); max-width: none; margin: -8px calc(-1 * var(--gutter)) 30px; padding: 8px var(--gutter);
    border: 0; border-radius: 0; box-shadow: none; background: transparent;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%); }
  .matbar__i { flex: none; scroll-snap-align: center; background: #fff; border: 1px solid var(--hair); }
  .matbar__i.is-on { border-color: var(--wine); }
  .rail-progress { max-width: 180px; }
}

/* ---------- Overflow guard: grid items and text inputs never exceed the column ---------- */
.gp__in { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.gp__calc, .gp__sell, .calc__f, .calc__out li, .sell-form label { min-width: 0; }
.calc__f input, .sell-form input, .sell-form select, .field input { width: 100%; min-width: 0; }
.calc { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .gp__in { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) {
  .calc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gp__rates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sell-form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================
   Revision 5 — responsive pass (owner feedback 2026-10-02)
   ========================================================== */

/* numbered lists carried the browser's default indent → boxes looked off-centre */
ol { list-style: none; margin: 0; padding: 0; }

/* ---------- Logo lockup: name centred over a gold hairline, subtitle beneath ---------- */
.brand__text { align-items: center; text-align: center; }
.brand__name { font-size: 40px; line-height: 1; margin: 10px 0 0; }
.brand__sub { margin-top: 6px; padding-top: 5px; border-top: 1px solid var(--gold-soft); font-size: 10.5px; line-height: 1.4; }
@media (max-width: 980px) {
  .brand__name { font-size: 31px; margin-top: 8px; -webkit-text-stroke-width: .8px; }
  .brand__sub { font-size: 9.5px; margin-top: 4px; padding-top: 3px; }
}

/* ---------- Rate bar: fits every phone width ---------- */
@media (max-width: 700px) {
  .ratebar__in { justify-content: center; }
  .ratebar__rates { width: 100%; justify-content: space-between; gap: 8px; overflow: visible; }
  .ratebar__rates .rate:nth-child(3), .rate--time, .rate__d { display: none; }
  .rate { gap: 5px; }
  .rate b { font-size: 11.5px; }
  .rate__v { font-size: 12.5px; }
  .rate__u { font-size: 10px; }
}
@media (max-width: 390px) { .hide-xs { display: none; } }
@media (max-width: 340px) { .rate b .hide-xs, .rate__u { display: none; } }

/* ---------- Hero (desktop): keep the whole jewellery set in frame ---------- */
@media (min-width: 701px) {
  .hero { height: clamp(620px, max(calc(100vh - 140px), 44vw), 880px); }
  .slide__img { transform-origin: 62% 92%; }
  .slide__img--campaign { object-position: 82% 92%; }
  .slide__img--right { object-position: 80% 80%; }
  .trust { margin-top: -44px; }
  .hero__ui { bottom: 72px; }
  .slide__text { padding-bottom: 70px; }
}

/* ---------- Hero (mobile): slides size to their content, so text never collides ---------- */
@media (max-width: 700px) {
  .hero__slides { position: relative; display: grid; height: auto; }
  .slide { position: relative; inset: auto; grid-area: 1 / 1; }
  .slide__text { padding-bottom: 70px; }
  .cta { gap: 10px; }
}
@media (max-width: 360px) {
  .cta .btn { flex: 1 1 100%; }
  .display { font-size: 32px; }
}

/* ---------- Sell steps and trust niches: perfectly centred ---------- */
.sell-steps li { justify-items: center; text-align: center; }
.sell-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 700px) { .sell-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.niches { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .niches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.niche em { margin-inline: auto; }

/* ---------- Reviews slider ---------- */
.rv { position: relative; }
.rv__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.rv__score { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; }
.rv__score b { font-size: 30px; line-height: 1; color: var(--wine); }
.rv__score small { width: 100%; font-size: 11.5px; color: var(--muted); }
.stars { color: #dca23a; letter-spacing: 1px; font-size: 14px; white-space: nowrap; }
.stars i { font-style: normal; color: #e3d8c6; }
.rv__nav { display: flex; gap: 8px; }
.rv__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 14px) / 3); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 12px; overscroll-behavior-x: contain;
}
.rv__track::-webkit-scrollbar { display: none; }
.rv .review { scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; background: rgba(255, 255, 255, .9); }
.review__top { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 10px; }
.review__av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 17px; color: var(--champagne);
  background: radial-gradient(circle at 50% 30%, #8a1a39, var(--wine-deep)); box-shadow: inset 0 0 0 2px rgba(217, 189, 140, .45); }
.rv .review figcaption { display: grid; gap: 1px; }
.rv .review figcaption b { font-size: 14px; color: var(--ink); }
.rv .review figcaption span { font-size: 11.5px; color: var(--muted); }
.rv .review blockquote { flex: 1; font-size: 13.5px; }
.rv .review blockquote::before { display: none; }
.review__tag { align-self: flex-start; font-size: 10.5px; color: var(--muted); border: 1px dashed var(--hair); border-radius: 20px; padding: 0 9px; }
.rv__dots { display: flex; justify-content: center; gap: 6px; margin-top: 6px; }
.rv__dots i { width: 7px; height: 7px; border-radius: 4px; background: #e3d8c6; transition: all .3s var(--ease); }
.rv__dots i.is-on { width: 22px; background: var(--wine); }
@media (max-width: 1100px) { .rv__track { grid-auto-columns: calc((100% - 14px) / 2); } }
@media (max-width: 700px) {
  .rv__track { grid-auto-columns: 88%; gap: 10px; }
  .rv__nav { display: none; }
  .rv__score b { font-size: 26px; }
}

/* ---------- Name pendant: real chain links (no dashed stroke) ---------- */
.np-chain { stroke: none; fill: none; }
.np-chain * { stroke-dasharray: none; }
.np-ring { fill: none; stroke-width: 2.2; }

/* ---------- Owner request: no hairline, name closer to the mark, logo centred on mobile ---------- */
.brand__sub { border-top: 0; padding-top: 0; margin-top: 2px; }
@media (max-width: 980px) {
  .header__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
  .icon-btn.header__burger { justify-self: start; }
  .header__row > .brand { justify-self: center; margin: 0; gap: 6px; }
  .tools { justify-self: end; }
  .search { grid-column: 1 / -1; }
  .brand__name { margin-top: 6px; }
}

/* small fixes found in the 320px pass */
.hero__count { white-space: nowrap; }
@media (max-width: 700px) {
  .review__top { grid-template-columns: 42px 1fr; }
  .review__top .stars { grid-column: 2; grid-row: 2; justify-self: start; margin-top: -4px; }
}

/* ---------- Tablet (701–1024): keep copy clear of the model's face ---------- */
@media (min-width: 701px) and (max-width: 1024px) {
  .hero { height: clamp(620px, 78vw, 820px); }
  .slide__text { max-width: 330px; }
  .display { font-size: 44px; }
  .lead { font-size: 15px; }
  .slide__img--campaign { object-position: 96% 92%; }
  .slide__img--right { object-position: 92% 80%; }
  .slide__veil--light { background: linear-gradient(90deg, rgba(250, 245, 236, .97) 0%, rgba(250, 245, 236, .9) 40%, rgba(250, 245, 236, 0) 66%); }
  .slide__veil--dark { background: linear-gradient(90deg, rgba(42, 13, 24, .95) 0%, rgba(42, 13, 24, .75) 42%, rgba(42, 13, 24, 0) 68%); }
  .cta .btn { padding: 0 20px; }
}

/* ---------- Tablet portrait: same stacked hero as phones (picture on top, copy below) ---------- */
@media (min-width: 701px) and (max-width: 1024px) and (orientation: portrait) {
  .hero { height: auto; min-height: 0; background: var(--ivory); }
  .hero__slides { position: relative; display: grid; height: auto; }
  .slide { position: relative; inset: auto; grid-area: 1 / 1; display: flex; flex-direction: column; }
  .slide picture { position: relative; display: block; width: 100%; height: 72vw; flex: none; overflow: hidden; }
  .slide__img, .slide__img--campaign, .slide__img--right { position: absolute; inset: 0; }
  .slide__img--campaign { object-position: 80% 70%; }
  .slide__img--right { object-position: 78% 60%; }
  .slide__veil { top: auto; bottom: auto; height: 72vw; }
  .slide__veil--light { background: linear-gradient(0deg, var(--ivory) 0%, rgba(255, 253, 249, 0) 22%); }
  .slide__veil--dark { background: linear-gradient(0deg, var(--wine-ink) 0%, rgba(42, 13, 24, 0) 22%); }
  .slide--dark { background: var(--wine-ink); }
  .slide__content { height: auto; flex: 1; align-items: flex-start; justify-content: flex-start; margin-top: -30px; }
  .slide__text { max-width: 560px; padding: 0 0 84px; }
  .display { font-size: 48px; }
  .hero__ui { bottom: 26px; justify-content: space-between; }
  .trust { margin-top: 0; padding-top: 22px; }
}
@media (min-width: 701px) and (max-width: 1100px) { .rate--time { display: none; } }

/* ---------- Owner request: wordmark tight against the mark ---------- */
.brand { gap: 0; }
.brand__text { margin-inline-start: -6px; }
.header__row > .brand { gap: 0; }
@media (max-width: 980px) { .brand__text { margin-inline-start: -5px; } }

/* ---------- Mobile sticky "place a custom order" bar ---------- */
.orderbar { display: none; }
@media (max-width: 980px) {
  .orderbar {
    position: fixed; z-index: 45; inset-inline: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    display: flex; gap: 8px; padding: 8px; border-radius: 22px;
    background: rgba(42, 13, 24, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 16px 40px rgba(42, 13, 24, .35); border: 1px solid rgba(217, 189, 140, .25);
    transform: translateY(140%); transition: transform .45s var(--ease);
  }
  .orderbar.is-on { transform: none; }
  .orderbar__main { flex: 1; justify-content: center; height: 48px; }
  .orderbar__ic { flex: none; width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: #1f9d55; }
  .orderbar__ic svg { width: 24px; height: 24px; }
  .footer__bottom { padding-bottom: 96px; }
  .drawer__custom summary { color: var(--wine); }
}

/* ==========================================================
   Custom-order hub (/custom/) — the order-capture template
   ========================================================== */
.crumbs { padding-top: 18px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12.5px; color: var(--muted); }
.crumbs li + li::before { content: "‹"; margin-inline-end: 6px; color: var(--gold); }
.crumbs a { color: var(--wine); }

.cx-answer { font-size: 16px; line-height: 2; color: var(--text); max-width: 560px; margin-top: 16px; }
.cx-answer--sm { font-size: 14.5px; }
.cx-note { margin-top: 10px; font-size: 12px; color: var(--muted); }

/* hero */
.cx-hero { padding: clamp(28px, 4vw, 56px) 0 clamp(48px, 6vw, 84px); background: radial-gradient(ellipse 70% 60% at 25% 30%, rgba(244, 230, 198, .55), transparent 70%), var(--ivory); }
.cx-hero__in { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.cx-h1 { font-size: clamp(30px, 3.8vw, 52px); font-weight: 700; line-height: 1.3; color: var(--ink); }
.cx-h1 span { display: block; background: linear-gradient(100deg, var(--wine) 10%, var(--gold-deep) 110%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cx-hero .btn svg[class] { width: 20px; }
.cx-hero .btn--line svg { width: 20px; height: 20px; }
.cx-proof { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 26px; }
.cx-proof li { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink); }
.cx-proof svg { width: 22px; height: 22px; color: var(--gold-deep); }
.cx-hero__art { position: relative; aspect-ratio: 1 / .92; }
.cx-art { position: absolute; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-m); }
.cx-art--a { inset: 0 0 auto auto; width: 62%; height: 82%; border-radius: 160px 160px 20px 20px; outline: 1px solid rgba(184, 140, 73, .4); outline-offset: 8px; }
.cx-art--b { left: 0; top: 8%; width: 42%; aspect-ratio: 1; }
.cx-art--c { left: 12%; bottom: 0; width: 46%; aspect-ratio: 1; border: 6px solid var(--ivory); }
.cx-badge { position: absolute; right: 6%; bottom: 4%; display: grid; place-items: center; width: 118px; height: 118px; border-radius: 50%; text-align: center; font-size: 12px; line-height: 1.5; color: var(--champagne);
  background: radial-gradient(circle at 50% 30%, #8a1a39, var(--wine-ink)); box-shadow: 0 16px 34px rgba(64, 21, 39, .35), inset 0 0 0 4px rgba(217, 189, 140, .35); }
.cx-badge b { display: block; font-size: 32px; line-height: 1; color: #fff; }

/* the 12 order types */
.cx-types { padding: clamp(56px, 7vw, 96px) 0; background: #fff; border-top: 1px solid var(--hair); }
.tgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tgrid > li { scroll-margin-top: 170px; }
.tcard { position: relative; display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; height: 100%;
  padding: 18px; border-radius: 18px; background: var(--ivory); border: 1px solid var(--hair); transition: all .35s var(--ease); }
.tcard__ic { grid-row: span 2; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-deep); background: #fff; box-shadow: inset 0 0 0 1px rgba(184, 140, 73, .4); transition: all .35s var(--ease); }
.tcard__ic svg { width: 30px; height: 30px; stroke-width: 1.5; }
.tcard b { font-size: 15px; color: var(--ink); align-self: end; }
.tcard em { font-style: normal; font-size: 12.5px; color: var(--muted); align-self: start; line-height: 1.7; }
.tcard:hover { border-color: var(--gold-soft); box-shadow: var(--shadow-m); transform: translateY(-3px); background: #fff; }
.tcard:hover .tcard__ic { background: radial-gradient(circle at 50% 35%, #8a1a39, var(--wine-deep)); color: var(--champagne); box-shadow: none; }
.tcard__tag { position: absolute; top: -9px; left: 14px; font-size: 10.5px; font-weight: 700; color: #fff; background: var(--turquoise); padding: 1px 10px; border-radius: 20px; }
.tcard--hot { border-color: var(--gold-soft); }
.tcard--soft { background: var(--cream); border-style: dashed; }

/* process */
.cx-process { padding: clamp(56px, 7vw, 96px) 0; background: var(--cream); }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; position: relative; }
.steps::before { content: ""; position: absolute; top: 26px; inset-inline: 10%; height: 1px; background: repeating-linear-gradient(90deg, var(--gold-soft) 0 6px, transparent 6px 12px); }
.steps li { position: relative; display: grid; justify-items: center; text-align: center; gap: 6px; padding: 0 6px; }
.steps__n { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 19px; font-weight: 700; color: var(--champagne);
  background: radial-gradient(circle at 50% 30%, #8a1a39, var(--wine-deep)); box-shadow: 0 8px 18px rgba(109, 15, 41, .25), 0 0 0 6px var(--cream); margin-bottom: 6px; }
.steps b { font-size: 15px; color: var(--ink); }
.steps em { font-style: normal; font-size: 12.5px; line-height: 1.8; color: var(--muted); }

/* workshop */
.cx-workshop { position: relative; overflow: hidden; padding: clamp(56px, 7vw, 96px) 0; color: #fff; background: radial-gradient(ellipse 70% 80% at 80% 30%, #5a1227, var(--wine-ink) 65%); }
.cx-workshop__in { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.cx-workshop__media { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3.2; box-shadow: 0 30px 60px rgba(0, 0, 0, .4); outline: 1px solid rgba(217, 189, 140, .35); outline-offset: 10px; }
.cx-workshop__media img { width: 100%; height: 100%; object-fit: cover; }
.cx-workshop h2 { font-size: clamp(26px, 3vw, 40px); line-height: 1.4; margin: 6px 0 14px; background: linear-gradient(100deg, var(--champagne), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cx-workshop__lead { color: rgba(255, 255, 255, .78); max-width: 520px; }
.ws-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.ws-points li { padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(217, 189, 140, .2); }
.ws-points b { display: block; font-size: 14.5px; color: var(--champagne); }
.ws-points span { font-size: 12.5px; color: rgba(255, 255, 255, .6); }

/* cost estimator */
.cx-cost { padding: clamp(56px, 7vw, 96px) 0; background: #fff; }
.cx-cost__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.cx-cost h2 { font-size: clamp(26px, 3vw, 38px); color: var(--ink); line-height: 1.4; margin-top: 6px; }
.est { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: clamp(18px, 2.4vw, 28px); border-radius: 22px; background: var(--ivory); border: 1px solid var(--hair); box-shadow: var(--shadow-s); }
.est__f { display: grid; gap: 4px; font-size: 12px; color: var(--muted); min-width: 0; }
.est select, .oform select, .oform input, .oform textarea { width: 100%; min-width: 0; height: 46px; border-radius: 12px; border: 1px solid var(--hair); background: #fff; padding: 0 12px; font: 500 14px var(--f-body); color: var(--ink); }
.oform textarea { height: auto; padding: 10px 12px; resize: vertical; line-height: 1.8; }
.est select:focus, .oform select:focus, .oform input:focus, .oform textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184, 140, 73, .14); }
.est__out { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr 1.4fr; border-radius: 14px; overflow: hidden; border: 1px solid var(--hair); background: #fff; margin-top: 4px; }
.est__out p { display: grid; gap: 2px; padding: 12px 14px; font-size: 11.5px; color: var(--muted); }
.est__out p + p { border-inline-start: 1px solid var(--hair); }
.est__out b { font-size: 13.5px; color: var(--ink); }
.est__total { background: var(--wine); color: rgba(255, 255, 255, .7) !important; }
.est__total b { color: #fff; font-size: 14.5px; }
.est .btn { grid-column: 1 / -1; justify-content: center; }

/* order form */
.cx-order { padding: clamp(56px, 7vw, 96px) 0; background: var(--cream); scroll-margin-top: 140px; }
.cx-order__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-m); background: #fff; }
.cx-order__side { position: relative; padding: clamp(24px, 3vw, 40px); color: #fff; background: radial-gradient(ellipse 100% 70% at 30% 0%, #7d1735, var(--wine-deep) 55%, var(--wine-ink)); }
.cx-order__side h2 { font-size: clamp(26px, 2.8vw, 36px); color: var(--champagne); margin: 4px 0 12px; }
.cx-order__side p { font-size: 14px; color: rgba(255, 255, 255, .75); line-height: 2; }
.cx-order__or { margin-top: 24px; font-weight: 700; color: var(--champagne) !important; }
.msgr { display: grid; gap: 8px; margin-top: 10px; }
.msgr a { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: 14px; font-weight: 600; transition: background .25s; }
.msgr a:hover { background: rgba(255, 255, 255, .16); }
.msgr svg { width: 20px; height: 20px; color: var(--gold-soft); }
.msgr__wa { background: #1f9d55 !important; border-color: #1f9d55 !important; }
.msgr__wa svg { color: #fff; }
.cx-order__hours { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px !important; }
.cx-order__hours svg { width: 18px; height: 18px; color: var(--gold-soft); }
.oform { padding: clamp(22px, 3vw, 40px); }
.oform__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.f { display: grid; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.f > span, .f legend { font-size: 13px; font-weight: 600; color: var(--ink); }
.f--wide { grid-column: 1 / -1; }
.oform select.is-filled { border-color: var(--wine); box-shadow: 0 0 0 3px rgba(109, 15, 41, .1); }
.drop { display: grid; justify-items: center; gap: 4px; padding: 20px; border-radius: 16px; border: 1.5px dashed var(--gold-soft); background: var(--ivory); cursor: pointer; text-align: center; transition: background .25s; }
.drop:hover { background: var(--cream); }
.drop svg { width: 26px; height: 26px; color: var(--gold-deep); }
.drop b { font-size: 14px; color: var(--wine); }
.drop small { font-size: 11.5px; color: var(--muted); }
.thumbs { display: flex; gap: 10px; margin-top: 8px; }
.thumbs figure { position: relative; margin: 0; width: 76px; height: 76px; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-s); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button { position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: rgba(42, 13, 24, .75); color: #fff; font-size: 14px; line-height: 22px; }
.seg--contact { display: flex; flex-wrap: wrap; gap: 8px; }
.oform__btn { width: 100%; justify-content: center; margin-top: 20px; }
.oform__msg { min-height: 1.2em; margin-top: 10px; font-size: 13px; }
.oform__msg.is-ok { color: #1f7a45; }
.oform__msg.is-err { color: #b3261e; }
.oform__privacy { font-size: 11.5px; color: var(--muted); }

/* portfolio + guides */
.cx-gallery { padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); background: #fff; }
.gal { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: repeat(2, 220px); gap: 12px; }
.gal figure { position: relative; margin: 0; border-radius: 18px; overflow: hidden; }
.gal figure:first-child { grid-row: span 2; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gal figure:hover img { transform: scale(1.06); }
.gal figcaption { position: absolute; inset-inline: 0; bottom: 0; padding: 14px 16px; font-size: 13px; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(42, 13, 24, .8)); }
.cx-guides { padding: 0 0 clamp(56px, 7vw, 96px); background: #fff; }
.guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.guides a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--hair); background: var(--ivory); font-size: 14px; font-weight: 600; color: var(--ink); transition: all .25s; }
.guides a::after { content: "←"; color: var(--gold-deep); }
.guides a:hover { border-color: var(--gold-soft); color: var(--wine); }
.page-custom .faq { background: var(--ivory); }

@media (max-width: 1100px) {
  .cx-hero__in, .cx-workshop__in, .cx-cost__in, .cx-order__in { grid-template-columns: minmax(0, 1fr); }
  .tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 26px; }
  .steps::before { display: none; }
  .guides { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cx-hero__art { max-width: 560px; width: 100%; justify-self: center; }
}
@media (max-width: 700px) {
  .cx-answer { font-size: 15px; }
  .cx-hero__art { order: -1; aspect-ratio: 1 / .85; }
  .cx-badge { width: 92px; height: 92px; font-size: 10.5px; }
  .cx-badge b { font-size: 24px; }
  .tgrid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:last-child { grid-column: 1 / -1; }
  .ws-points { grid-template-columns: minmax(0, 1fr); }
  .est { grid-template-columns: minmax(0, 1fr); }
  .est__out { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .est__total { grid-column: 1 / -1; }
  .est__out p:nth-child(3) { border-inline-start: 0; border-top: 1px solid var(--hair); }
  .oform__grid { grid-template-columns: minmax(0, 1fr); }
  .gal { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 150px 150px; }
  .gal figure:first-child { grid-column: 1 / -1; grid-row: auto; }
  .gal figure:nth-child(5) { display: none; }
  .guides { grid-template-columns: minmax(0, 1fr); }
}
/* hidden radio/checkbox inputs must not inherit full-width form-field sizing */
.seg input, .oform input[type="radio"], .oform input[type="checkbox"] { width: 1px; height: 1px; padding: 0; border: 0; }
@media (max-width: 700px) { .cx-badge { padding: 0 12px; font-size: 9.5px; line-height: 1.45; } }

/* ==========================================================
   Cluster template — /custom/name-pendant/
   ========================================================== */
.namep--page { padding: clamp(24px, 3vw, 44px) 0 clamp(56px, 7vw, 96px); }
.namep--page .cx-h1 { margin-bottom: 4px; }
.namep--page .cx-answer { font-size: 15px; margin-top: 10px; }
.namep--page .namep__form { margin: 22px 0; }
.np-names { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.np-names button { height: 30px; padding: 0 12px; border-radius: 20px; border: 1px solid var(--hair); background: #fff; font-size: 13px; color: var(--wine); transition: all .2s; }
.np-names button:hover { border-color: var(--gold); background: var(--cream); }

/* style cards: each shows the name rendered in that style */
.np-styles { padding: clamp(56px, 7vw, 96px) 0; background: #fff; border-top: 1px solid var(--hair); }
.sty { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sty__c { display: grid; gap: 4px; justify-items: center; text-align: center; padding: 24px 16px 20px; border-radius: 20px; background: var(--ivory); border: 1px solid var(--hair); transition: all .35s var(--ease); height: 100%; }
.sty__c:hover { border-color: var(--gold-soft); box-shadow: var(--shadow-m); transform: translateY(-3px); background: #fff; }
.sty__art { position: relative; display: grid; place-items: center; width: 100%; height: 118px; margin-bottom: 10px; border-radius: 16px; font-size: 54px; line-height: 1.3;
  background: radial-gradient(ellipse 70% 70% at 50% 45%, #fff, var(--sand)); }
.sty__art, .sty__art i { -webkit-background-clip: text; background-clip: text; }
.sty__art { color: transparent; background-image: linear-gradient(180deg, #f6e2ad, #c29552 55%, #8a6428), radial-gradient(ellipse 70% 70% at 50% 45%, #fff, var(--sand)); -webkit-background-clip: text, border-box; background-clip: text, border-box; }
.sty__art--nas { font-family: "Toranj Nastaliq", serif; -webkit-text-stroke: 1px #8a6428; }
.sty__art--mod { font-family: var(--f-body); font-weight: 900; font-size: 48px; }
.sty__art--lat { font-family: var(--f-latin); font-style: italic; font-weight: 600; font-size: 58px; -webkit-text-stroke: .5px #8a6428; }
.sty__art--3d { font-family: var(--f-body); font-weight: 900; font-size: 50px; filter: drop-shadow(2px 3px 0 #9a7235) drop-shadow(1px 1px 0 #6e4f22) drop-shadow(0 8px 10px rgba(64, 21, 39, .25)); }
.sty__art--gem { font-family: "Toranj Nastaliq", serif; -webkit-text-stroke: 1px #8a6428; }
.sty__art--baby { font-family: var(--f-body); font-weight: 900; font-size: 46px; }
.sty__art i { position: absolute; top: 34%; left: 30%; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff7b98, #8a1a39); box-shadow: 0 0 0 2px #c29552, 0 0 10px rgba(214, 48, 88, .6); }
.sty__art--baby i { width: 14px; height: 14px; border-radius: 3px 50% 50% 50%; transform: rotate(45deg); background: radial-gradient(circle at 35% 30%, #fff1d6, #c29552); box-shadow: none; left: 28%; }
.sty__c b { font-size: 15px; color: var(--ink); }
.sty__c em { font-style: normal; font-size: 12.5px; color: var(--muted); }

/* gold vs silver comparison */
.np-compare { padding: clamp(56px, 7vw, 96px) 0; background: var(--ivory); }
.cmp { max-width: 960px; margin: 0 auto; border-radius: 20px; overflow: hidden; border: 1px solid var(--hair); background: #fff; box-shadow: var(--shadow-s); }
.cmp__row { display: grid; grid-template-columns: 1.1fr repeat(3, minmax(0, 1fr)); }
.cmp__row > span { padding: 14px 16px; font-size: 13.5px; color: var(--text); border-top: 1px solid var(--hair); }
.cmp__row > span + span { border-inline-start: 1px solid var(--hair); text-align: center; }
.cmp__row [role="rowheader"] { font-weight: 700; color: var(--ink); background: var(--ivory); }
.cmp__row--head > span { border-top: 0; font-weight: 700; color: var(--wine); background: var(--cream); }
.cmp__row--head > span:nth-child(2) { color: #fff; background: linear-gradient(135deg, var(--gold-soft), var(--gold-deep)); }

.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1100px) {
  .sty { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .namep--page .namep__stage { order: -1; }
  .sty { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sty__c { padding: 14px 10px; }
  .sty__art { height: 92px; font-size: 40px; }
  .sty__art--lat { font-size: 44px; }
  .cmp { overflow-x: auto; }
  .cmp__row { min-width: 560px; }
  .steps--4 li:last-child { grid-column: auto; }
}
/* 3D style: extrude the letters themselves (text-shadow), not the card */
.sty__art--3d { filter: none; color: #c99a55; background-image: radial-gradient(ellipse 70% 70% at 50% 45%, #fff, var(--sand)); -webkit-background-clip: border-box; background-clip: border-box;
  text-shadow: 1px 1px 0 #b0843f, 2px 2px 0 #9a7235, 3px 3px 0 #82602a, 4px 4px 0 #6e4f22, 0 10px 14px rgba(64, 21, 39, .3); }
.sty__art--gem i { left: 33%; top: 38%; }
.sty__art--baby i { left: 31%; top: 40%; }
/* the gem/heart sits right beside the name at any width (no absolute positioning) */
.sty__art--gem, .sty__art--baby { display: flex; align-items: center; justify-content: center; gap: 10px; }
.sty__art--gem i, .sty__art--baby i { position: relative; inset: auto; flex: none; margin-top: -0.4em; -webkit-background-clip: border-box; background-clip: border-box; }

/* ==========================================================
   Cluster — /custom/rings/ (live ring designer + size guide)
   ========================================================== */
.rg-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 14px; align-items: end; }
.rg-range span b { color: var(--wine); }
.rg-range input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; margin: 14px 0 10px; border-radius: 6px; background: linear-gradient(90deg, var(--gold-soft), var(--gold-deep)); padding: 0; border: 0; box-shadow: none; }
.rg-range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #8a1a39, var(--wine-deep)); border: 3px solid #fff; box-shadow: 0 3px 10px rgba(64, 21, 39, .35); cursor: pointer; }
.rg-range input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--wine); border: 3px solid #fff; cursor: pointer; }
.namep--page .field select { height: 56px; border-radius: 14px; border: 1px solid var(--hair); background: #fff; padding: 0 14px; font: 600 16px var(--f-body); color: var(--wine); width: 100%; }
.rg-engrave { font-family: var(--f-body); font-weight: 600; letter-spacing: .5px; }
.tgrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rg-size { background: #fff; }
.rg-size__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.rg-size h2 { font-size: clamp(24px, 2.8vw, 36px); color: var(--ink); margin-top: 6px; }
.rg-how { display: grid; gap: 8px; margin-top: 18px; }
.rg-how li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--ivory); border: 1px solid var(--hair); font-size: 14px; color: var(--ink); }
.rg-how b { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--champagne); background: var(--wine); font-size: 14px; }
.rg-table { max-width: none; margin: 0; }
.rg-table .cmp__row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rg-table .cmp__row > span:first-child { text-align: center; }
@media (max-width: 1100px) { .tgrid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rg-size__in { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) {
  .rg-row { grid-template-columns: minmax(0, 1fr); }
  .tgrid--3 { grid-template-columns: minmax(0, 1fr); }
  .rg-table .cmp__row { min-width: 0; }
}

.seg[hidden] { display: none; }

/* ==========================================================
   Custom tree by material — hub columns + sub-pillar pages
   ========================================================== */
.mat3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mat3__c { display: flex; flex-direction: column; border-radius: 22px; background: var(--ivory); border: 1px solid var(--hair); overflow: hidden; scroll-margin-top: 170px; transition: box-shadow .35s var(--ease), border-color .35s; }
.mat3__c:hover { border-color: var(--gold-soft); box-shadow: var(--shadow-m); }
.mat3__head { position: relative; display: grid; gap: 2px; padding: 22px 22px 20px 78px; color: #fff; background: radial-gradient(ellipse 120% 140% at 100% 0%, #8a1a39, var(--wine-deep)); }
.mat3__head b { font-size: 19px; color: var(--champagne); }
.mat3__head em { font-style: normal; font-size: 12.5px; color: rgba(255, 255, 255, .78); }
.mat3__chip { position: absolute; left: 22px; top: 50%; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(255, 255, 255, .18), 0 6px 14px rgba(0, 0, 0, .3); }
.mat3__c--gold .mat3__chip { background: radial-gradient(circle at 35% 30%, #fff4cf, #d9b061 45%, #8a6428); }
.mat3__c--silver .mat3__chip { background: radial-gradient(circle at 35% 30%, #ffffff, #c9ccd1 45%, #7d8288); }
.mat3__c--jewel .mat3__chip { background: radial-gradient(circle at 35% 30%, #b6f5ec, #2bb3a8 45%, #0e5f59); }
.mat3__c ul { display: grid; align-content: start; padding: 8px 22px; flex: 1; }
.mat3__c li { scroll-margin-top: 170px; }
.mat3__c li + li { border-top: 1px dashed var(--hair); }
.mat3__c li a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 0; font-size: 14.5px; color: var(--ink); transition: color .2s, padding .25s var(--ease); }
.mat3__c li a::after { content: "‹"; color: var(--gold); font-size: 18px; line-height: 1; margin-inline-start: auto; }
.mat3__c li a:hover { color: var(--wine); padding-inline-start: 4px; }
.mat3__tag { font-size: 10.5px; font-weight: 700; color: #fff; background: var(--turquoise); padding: 1px 9px; border-radius: 20px; white-space: nowrap; }
.mat3__more { display: inline-flex; align-items: center; gap: 6px; margin: 4px 22px 20px; font-size: 13.5px; font-weight: 700; color: var(--wine); }
.mat3__more svg { width: 16px; height: 16px; }
.cx-sub { margin: 40px 0 14px; font-size: 17px; color: var(--ink); }
.tgrid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* sub-pillar: material-specific facts */
.mfacts { padding: clamp(56px, 7vw, 96px) 0; background: var(--cream); }
.mfacts__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.mfacts__grid li { padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--hair); }
.mfacts__grid b { display: block; font-size: 15px; color: var(--wine); margin-bottom: 4px; }
.mfacts__grid span { font-size: 13.5px; color: var(--text); line-height: 1.9; }
.sibs { display: flex; flex-wrap: wrap; gap: 10px; }
.sibs a { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 30px; border: 1px solid var(--hair); background: #fff; font-size: 14px; color: var(--ink); }
.sibs a:hover { border-color: var(--gold); color: var(--wine); }

/* mega menu: three material columns */
.mega__col--mat a.mega__all { font-weight: 700; color: var(--wine); }

@media (max-width: 1100px) {
  .mat3 { grid-template-columns: minmax(0, 1fr); }
  .tgrid--4, .mfacts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .tgrid--4, .mfacts__grid { grid-template-columns: minmax(0, 1fr); }
  .mat3__head { padding: 18px 18px 16px 70px; }
  .mat3__c ul { padding: 4px 18px; }
  .mat3__more { margin: 4px 18px 18px; }
}
.tgrid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; margin-inline: auto; }
@media (max-width: 700px) { .tgrid--2 { grid-template-columns: minmax(0, 1fr); } }

/* drawer: the custom-order heading is itself a link; the +/− still toggles */
.drawer summary .drawer__go { display: inline; padding: 0; font-size: inherit; color: inherit; text-decoration: underline; text-decoration-color: var(--gold-soft); text-underline-offset: 6px; }

/* ==========================================================
   Mobile menu v2: two levels (after the Lavand drawer, in Toranj colours)
   ========================================================== */
.drawer__panel.mn { display: flex; flex-direction: column; width: min(92vw, 390px); padding: 0; overflow: hidden;
  background: var(--ivory); box-shadow: -20px 0 60px rgba(42, 13, 24, .25); border-radius: 26px 0 0 26px; }
.mn__hd { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 10px; }
.mn__logo { display: flex; align-items: center; gap: 8px; }
.mn__logo img { width: 40px; height: 46px; }
.mn__logo b { display: block; font-family: "Toranj Nastaliq", var(--f-brand); font-size: 30px; line-height: 1.1; color: var(--wine); -webkit-text-stroke: .4px var(--gold); }
.mn__logo small { display: block; font-size: 10.5px; color: var(--muted); }
.mn__x { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--hair); color: var(--ink); box-shadow: var(--shadow-s); }
.mn__x svg { width: 18px; height: 18px; }
.mn__search { display: flex; align-items: center; gap: 10px; margin: 4px 18px 12px; height: 46px; padding: 0 16px; border-radius: 16px;
  background: #fff; border: 1px solid var(--hair); color: var(--muted); font-size: 13.5px; text-align: start; }
.mn__search svg { width: 18px; height: 18px; color: var(--gold-deep); }

.mn__scr { flex: 1; display: grid; grid-template-columns: 100% 100%; align-items: start; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; }
.mn__l1, .mn__l2 { padding: 0 18px 28px; transition: transform .38s var(--ease); }
.mn__l1 { max-height: 9999px; }
.mn.is-push .mn__l1, .mn.is-push .mn__l2 { transform: translateX(100%); }
.mn.is-push .mn__l1 { max-height: 0; overflow: hidden; transition: transform .38s var(--ease), max-height 0s linear .38s; }

.mn__promo { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px; border-radius: 22px; overflow: hidden; color: #fff;
  background: radial-gradient(ellipse 90% 120% at 100% 0%, #8a1a39, var(--wine-deep)); box-shadow: 0 14px 30px rgba(64, 21, 39, .28); }
.mn__promo::before { content: ""; position: absolute; left: -30px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; border: 1px solid rgba(217, 189, 140, .35); box-shadow: 0 0 0 16px rgba(217, 189, 140, .06); }
.mn__promo small { display: block; font-size: 11.5px; color: var(--gold-soft); }
.mn__promo b { display: block; font-size: 17px; color: var(--champagne); margin: 2px 0 6px; }
.mn__promo em { display: inline-block; font-style: normal; font-size: 11px; padding: 2px 10px; border-radius: 20px; background: rgba(255, 255, 255, .12); color: #fff; }
.mn__promo i { position: relative; flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--wine); background: linear-gradient(135deg, #f6e2ad, #c29552); }
.mn__promo i svg { width: 18px; height: 18px; }
.mn__promo--sm { margin-top: 18px; padding: 14px 16px; }
.mn__promo--sm b { font-size: 15px; margin: 0; }

.mn__sec { margin-top: 20px; }
.mn__sec h4, .mn__grp h4 { margin: 0 0 10px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.mn__mats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mn__mats a { display: grid; justify-items: center; gap: 2px; padding: 14px 6px 12px; border-radius: 18px; background: #fff; border: 1px solid var(--hair); text-align: center; transition: border-color .2s, transform .2s; }
.mn__mats a:active, .mn__tiles a:active { transform: scale(.97); }
.mn__mats b { font-size: 14px; color: var(--ink); }
.mn__mats small { font-size: 11px; color: var(--muted); }
.mn__chip { width: 34px; height: 34px; border-radius: 50%; margin-bottom: 6px; box-shadow: 0 4px 10px rgba(0, 0, 0, .15), inset 0 -3px 6px rgba(0, 0, 0, .15); }
.mn__chip--gold { background: radial-gradient(circle at 35% 30%, #fff4cf, #d9b061 45%, #8a6428); }
.mn__chip--silver { background: radial-gradient(circle at 35% 30%, #fff, #c9ccd1 45%, #7d8288); }
.mn__chip--jewel { background: radial-gradient(circle at 35% 30%, #ff8aa3, #a8163c 50%, #4a0616); }
.mn__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mn__tiles a { display: grid; justify-items: center; gap: 6px; padding: 12px 4px 10px; border-radius: 18px; background: #fff; border: 1px solid var(--hair); text-align: center; transition: transform .2s; }
.mn__tiles span { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-deep); background: var(--cream); box-shadow: inset 0 0 0 1px rgba(184, 140, 73, .35); }
.mn__tiles svg { width: 24px; height: 24px; stroke-width: 1.5; }
.mn__tiles small { font-size: 12px; color: var(--ink); }

.mn__list { border-radius: 20px; background: #fff; border: 1px solid var(--hair); overflow: hidden; }
.mn__row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; text-align: start; color: var(--ink); background: none; }
.mn__row + .mn__row { border-top: 1px solid var(--hair); }
.mn__ic { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--wine); background: #f7ecee; }
.mn__ic svg { width: 20px; height: 20px; stroke-width: 1.6; }
.mn__tx { flex: 1; min-width: 0; }
.mn__tx b { display: block; font-size: 14.5px; }
.mn__tx small { display: block; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mn__go { color: var(--gold); font-size: 20px; line-height: 1; }
.mn__row:first-child .mn__tx b { color: var(--wine); }

.mn__rate { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 14px 16px; border-radius: 18px; background: var(--cream); border: 1px dashed var(--gold-soft); }
.mn__rate small { display: block; font-size: 11px; color: var(--muted); }
.mn__rate b { font-size: 15px; color: var(--ink); }
.mn__rate em { margin-inline-start: auto; font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--wine); white-space: nowrap; }
.mn__live { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #2bb37a; box-shadow: 0 0 0 4px rgba(43, 179, 122, .18); animation: mnPulse 2s infinite; }
@keyframes mnPulse { 50% { box-shadow: 0 0 0 8px rgba(43, 179, 122, 0); } }

.mn__quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 16px; }
.mn__quick > * { display: grid; justify-items: center; gap: 6px; padding: 10px 2px; border-radius: 16px; font-size: 11px; color: var(--text); background: none; text-align: center; }
.mn__quick span { width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; background: #fff; border: 1px solid var(--hair); color: var(--wine); }
.mn__quick svg { width: 19px; height: 19px; }

.mn__foot { margin-top: 18px; padding: 18px 16px; border-radius: 20px; background: linear-gradient(160deg, var(--wine-deep), #2a0d18); color: rgba(255, 255, 255, .8); text-align: center; }
.mn__foot > b { font-size: 13px; color: var(--champagne); }
.mn__social { display: flex; justify-content: center; gap: 8px; margin: 12px 0; }
.mn__social a { display: grid; justify-items: center; gap: 4px; width: 52px; color: #fff; }
.mn__social svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: rgba(255, 255, 255, .08); border: 1px solid rgba(217, 189, 140, .35); }
.mn__social small { font-size: 9.5px; color: rgba(255, 255, 255, .65); }
.mn__foot p { margin: 0 0 10px; font-size: 11.5px; }
.mn__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.mn__trust span { font-size: 10.5px; padding: 3px 9px; border-radius: 20px; background: rgba(255, 255, 255, .08); color: var(--gold-soft); }

.mn__back { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 0 14px; margin-bottom: 6px; border-bottom: 1px solid var(--hair); background: none; color: var(--ink); text-align: start; }
.mn__back span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--hair); color: var(--wine); font-size: 20px; }
.mn__back b { font-size: 16px; color: var(--wine); }
.mn__all { display: block; margin: 8px 0 4px; padding: 12px 14px; border-radius: 14px; background: #f7ecee; color: var(--wine); font-weight: 700; font-size: 13.5px; }
.mn__grp { margin-top: 16px; }
.mn__grp h4 a { color: var(--wine); font-size: 13.5px; }
.mn__grp > div { display: grid; border-radius: 16px; background: #fff; border: 1px solid var(--hair); overflow: hidden; }
.mn__grp > div a { padding: 11px 14px; font-size: 13.5px; color: var(--ink); }
.mn__grp > div a + a { border-top: 1px solid var(--hair); }

/* ==========================================================
   Floating order button + contact sheet
   ========================================================== */
.fab { position: fixed; z-index: 55; left: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 10px;
  height: 54px; padding: 0 8px 0 20px; border-radius: 40px; color: var(--champagne); font-weight: 700; font-size: 14px;
  background: linear-gradient(135deg, #8a1a39, var(--wine-deep)); border: 1px solid rgba(217, 189, 140, .55);
  box-shadow: 0 14px 34px rgba(64, 21, 39, .35), inset 0 1px 0 rgba(255, 255, 255, .15);
  transform: translateY(140%); opacity: 0; pointer-events: none; transition: transform .45s var(--ease), opacity .3s, box-shadow .3s; }
.fab.is-on { transform: none; opacity: 1; pointer-events: auto; }
.fab:hover { box-shadow: 0 18px 40px rgba(64, 21, 39, .45); }
.fab__ic { order: 2; position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--wine-deep); background: linear-gradient(135deg, #f6e2ad, #c29552); }
.fab__ic::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid rgba(217, 189, 140, .7); animation: fabRing 2.6s var(--ease) infinite; }
.fab__ic svg { width: 20px; height: 20px; }
@keyframes fabRing { 0% { transform: scale(.9); opacity: 1; } 70%, 100% { transform: scale(1.35); opacity: 0; } }

.csheet { position: fixed; inset: 0; z-index: 70; }
.csheet__scrim { position: absolute; inset: 0; background: rgba(42, 13, 24, .5); backdrop-filter: blur(2px); animation: fade .3s; }
.csheet__panel { position: absolute; left: 24px; bottom: 90px; width: min(420px, calc(100vw - 48px)); max-height: calc(100vh - 120px); overflow-y: auto;
  border-radius: 26px; background: var(--ivory); box-shadow: 0 30px 80px rgba(42, 13, 24, .4); animation: csIn .4s var(--ease); }
@keyframes csIn { from { transform: translateY(24px) scale(.97); opacity: 0; } }
.csheet__head { position: relative; padding: 22px 22px 20px; color: #fff; overflow: hidden;
  background: radial-gradient(ellipse 100% 140% at 100% 0%, #8a1a39, var(--wine-deep)); }
.csheet__head::after { content: ""; position: absolute; left: -40px; top: -60px; width: 180px; height: 180px; border-radius: 50%; border: 1px solid rgba(217, 189, 140, .3); box-shadow: 0 0 0 22px rgba(217, 189, 140, .05); }
.csheet__x { position: absolute; left: 16px; top: 16px; z-index: 1; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .14); }
.csheet__x svg { width: 16px; height: 16px; }
.csheet__badge { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; padding: 4px 12px; border-radius: 20px; background: rgba(255, 255, 255, .12); color: var(--champagne); }
.csheet__badge i { width: 8px; height: 8px; border-radius: 50%; background: #3fd18e; box-shadow: 0 0 0 3px rgba(63, 209, 142, .25); }
.csheet__head h2 { margin: 12px 0 6px; font-size: 21px; color: var(--champagne); }
.csheet__head p { margin: 0; font-size: 13px; line-height: 1.9; color: rgba(255, 255, 255, .85); }
.csheet__body { display: grid; gap: 10px; padding: 16px; }
.cs-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: #fff; border: 1px solid var(--hair); transition: border-color .2s, transform .2s; }
.cs-row:hover { border-color: var(--gold-soft); transform: translateY(-1px); }
.cs-row--main { border-color: var(--gold-soft); background: linear-gradient(135deg, #fffaf0, var(--cream)); }
.cs-ic { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.cs-ic svg { width: 22px; height: 22px; }
.cs-ic--gold { color: var(--wine-deep); background: linear-gradient(135deg, #f6e2ad, #c29552); }
.cs-ic--wa { background: #1f9d55; }
.cs-ic--tg { background: #2a9fd8; }
.cs-ic--et { background: #e8792b; }
.cs-ic--ph { background: var(--wine); }
.cs-tx { flex: 1; min-width: 0; }
.cs-tx b { display: block; font-size: 14.5px; color: var(--ink); }
.cs-tx small { display: block; font-size: 12px; color: var(--muted); }
.cs-go { color: var(--gold); font-size: 18px; }
.csheet__note { margin: 4px 4px 0; font-size: 12px; line-height: 1.9; color: var(--muted); }
.csheet__note.is-hl { color: var(--wine); }

@keyframes csUp { from { transform: translateY(100%); } }
@media (max-width: 700px) {
  .fab { left: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); height: 52px; font-size: 13.5px; }
  .csheet__panel { left: 0; right: 0; bottom: 0; width: 100%; max-height: 88vh; border-radius: 26px 26px 0 0; padding-bottom: env(safe-area-inset-bottom); animation: csUp .4s var(--ease); }
  .csheet__head { padding-top: 26px; }
  .csheet__panel::before { content: ""; position: absolute; top: 8px; left: 50%; z-index: 2; width: 44px; height: 4px; margin-left: -22px; border-radius: 4px; background: rgba(255, 255, 255, .45); }
}
@media (prefers-reduced-motion: reduce) {
  .fab__ic::after, .mn__live { animation: none; }
}
/* the button steps aside while the menu or its own sheet is open */
.drawer:not([hidden]) ~ .fab, .fab[aria-expanded="true"] { transform: translateY(140%); opacity: 0; pointer-events: none; }

/* ==========================================================
   Wedding-ring set designer (two rings, one set)
   ========================================================== */
.wr-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wr-ring { display: grid; gap: 10px; align-content: start; min-width: 0; margin: 0; padding: 14px; border-radius: 18px; background: #fff; border: 1px solid var(--hair); }
.wr-ring legend { display: flex; align-items: center; gap: 8px; padding: 0 6px; font-size: 14px; font-weight: 700; color: var(--wine); }
.wr-dot { width: 10px; height: 10px; border-radius: 50%; }
.wr-dot--w { background: #d6708a; }
.wr-dot--m { background: var(--gold-deep); }
.seg--sm { display: flex; flex-wrap: wrap; gap: 6px; border: 0; padding: 0; margin: 0; }
.seg--sm label span { height: 34px; padding: 0 10px; font-size: 12.5px; }
.wr-ring .field input[type="text"], .wr-ring .field select { min-width: 0; width: 100%; }
.wr-g { margin: 0; font-size: 12.5px; color: var(--muted); }
.wr-g b { color: var(--ink); }
.wr-lbl { font-family: var(--f-body); font-size: 20px; font-weight: 700; fill: var(--muted); }
.wr-eng { font-family: var(--f-body); font-size: 21px; font-weight: 700; }
@media (max-width: 700px) {
  .wr-pair { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================
   Shop: category, product, cart (prototype templates)
   ========================================================== */
.shop-page { padding-bottom: clamp(56px, 7vw, 96px); }
.shop-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 22px; }
.shop-head .cx-h1 { margin-bottom: 8px; }
.shop-head__p { max-width: 760px; margin: 0; font-size: 14.5px; line-height: 2; color: var(--text); }
.shop-rate { flex: none; display: grid; grid-template-columns: auto auto; align-items: center; gap: 2px 10px; padding: 12px 16px; border-radius: 16px; background: var(--cream); border: 1px dashed var(--gold-soft); }
.shop-rate small { display: block; font-size: 11px; color: var(--muted); }
.shop-rate b { font-size: 15px; color: var(--ink); }
.shop-rate__t { grid-column: 1 / -1; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 14px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 38px; padding: 0 16px; border-radius: 30px; border: 1px solid var(--hair); background: #fff; font-size: 13.5px; color: var(--text); display: inline-flex; align-items: center; transition: all .2s; }
.chip:hover { border-color: var(--gold); }
.chip.is-on { background: var(--wine); border-color: var(--wine); color: #fff; }

.shop__bar { display: flex; align-items: center; gap: 12px; padding: 10px 0 14px; border-bottom: 1px solid var(--hair); margin-bottom: 18px; }
.shop__count { margin: 0; font-size: 13.5px; color: var(--muted); }
.shop__count b { color: var(--ink); }
.shop__sort { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.shop__sort select { height: 40px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--hair); background: #fff; font: inherit; color: var(--ink); }
.shop__fbtn { display: none; }
.shop__fbtn svg { width: 16px; height: 16px; }
.shop__in { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: start; }
.shop__filters { position: sticky; top: 170px; display: grid; gap: 16px; padding: 18px; border-radius: 20px; background: #fff; border: 1px solid var(--hair); }
.shop__fhead { display: flex; align-items: center; justify-content: space-between; }
.shop__fhead b { font-size: 15px; }
.shop__fclose, .shop__fapply { display: none; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-size: 12.5px; color: var(--wine); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.fgrp { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; }
.fgrp legend { margin-bottom: 6px; font-size: 13px; font-weight: 700; color: var(--ink); }
.fgrp label { display: block; cursor: pointer; }
.fgrp input, .fswitch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fgrp span { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; border: 1px solid transparent; font-size: 13.5px; color: var(--text); transition: all .2s; }
.fgrp label:hover span { background: var(--ivory); }
.fgrp input:checked + span { background: #f7ecee; color: var(--wine); font-weight: 700; }
.fgrp input:focus-visible + span, .fswitch input:focus-visible + span { outline: 2px solid var(--gold); }
.fswitch { cursor: pointer; }
.fswitch span { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text); }
.fswitch span::before { content: ""; flex: none; width: 38px; height: 22px; border-radius: 20px; background: var(--hair); box-shadow: inset 0 0 0 2px var(--hair); transition: all .25s; background-image: radial-gradient(circle at 11px 50%, #fff 8px, transparent 8.5px); }
.fswitch input:checked + span::before { background-color: var(--turquoise); box-shadow: none; background-image: radial-gradient(circle at 27px 50%, #fff 8px, transparent 8.5px); }

.shop__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.shop__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.shop__grid .card { scroll-snap-align: none; }
.shop__empty { grid-column: 1 / -1; display: grid; justify-items: center; gap: 8px; padding: 48px 20px; text-align: center; border-radius: 20px; background: var(--cream); }
.shop__empty p { margin: 0 0 6px; color: var(--muted); }
.add.is-added { background: var(--turquoise); color: #fff; }
.badge.is-pop { animation: badgePop .5s var(--ease); }
@keyframes badgePop { 40% { transform: scale(1.5); } }

.bridge { display: flex; align-items: center; gap: 16px; margin-top: 36px; padding: 20px 22px; border-radius: 22px; color: #fff;
  background: radial-gradient(ellipse 90% 140% at 100% 0%, #8a1a39, var(--wine-deep)); box-shadow: var(--shadow-m); }
.bridge__ic { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: var(--wine-deep); background: linear-gradient(135deg, #f6e2ad, #c29552); }
.bridge__ic svg { width: 26px; height: 26px; }
.bridge > span:nth-child(2) { flex: 1; min-width: 0; }
.bridge b { display: block; font-size: 16px; color: var(--champagne); }
.bridge small { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .8); }
.bridge .btn { flex: none; }
.bridge--sm { margin-top: 18px; padding: 14px 16px; gap: 12px; }
.bridge--sm .bridge__ic { width: 42px; height: 42px; }
.bridge--sm .bridge__ic svg { width: 21px; height: 21px; }
.bridge--sm b { font-size: 14.5px; }
.bridge__go { font-size: 22px; color: var(--gold-soft); }

.shop-seo { margin-top: 48px; padding: 28px; border-radius: 22px; background: #fff; border: 1px solid var(--hair); }
.shop-seo h2 { margin: 0 0 12px; font-size: 20px; }
.shop-seo h3 { margin: 18px 0 6px; font-size: 15.5px; color: var(--wine); }
.shop-seo p { margin: 0; font-size: 14px; line-height: 2.1; color: var(--text); }
.shop-page .faq { margin-top: 48px; }

/* product */
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding-top: 18px; }
.pdp__gallery { position: sticky; top: 170px; display: grid; gap: 12px; }
.pdp__main { position: relative; margin: 0; aspect-ratio: 1; border-radius: 24px; overflow: hidden; background: var(--sand); }
.pdp__main img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pdp__thumbs button { padding: 0; aspect-ratio: 1; border-radius: 14px; overflow: hidden; border: 2px solid transparent; background: var(--sand); opacity: .75; transition: all .2s; }
.pdp__thumbs button.is-on { border-color: var(--gold); opacity: 1; }
.pdp__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp__h1 { margin: 4px 0 14px; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.6; color: var(--ink); }
.pdp__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0 0 18px; }
.pdp__facts li { display: grid; gap: 2px; padding: 10px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--hair); }
.pdp__facts span { font-size: 11.5px; color: var(--muted); }
.pdp__facts b { font-size: 14px; color: var(--ink); }
.pdp__price { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px 0; border-top: 1px dashed var(--hair); border-bottom: 1px dashed var(--hair); }
.pdp__price small { font-size: 12px; color: var(--muted); }
.price--lg { font-size: 28px; }
.pdp__rate { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.pdp__rate b { color: var(--ink); }
.pdp__size { margin-top: 16px; }
.pdp__hint { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); }
.pdp__hint a { color: var(--wine); text-decoration: underline; }
.pdp__buy { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.pdp__buy .btn { flex: 1; justify-content: center; height: 52px; }
.pdp__buy .btn svg { width: 20px; height: 20px; }
.pdp__fav { position: static; opacity: 1; transform: none; width: 52px; height: 52px; border: 1px solid var(--hair); background: #fff; }
.pdp__msg { min-height: 1.4em; margin: 8px 0 0; font-size: 13px; color: #b3261e; }
.qty { display: inline-flex; align-items: center; height: 52px; border-radius: 16px; border: 1px solid var(--hair); background: #fff; overflow: hidden; }
.qty button { width: 42px; height: 100%; background: none; border: 0; font-size: 20px; color: var(--wine); cursor: pointer; }
.qty output { min-width: 28px; text-align: center; font-weight: 700; }
.qty--sm { height: 38px; border-radius: 12px; }
.qty--sm button { width: 34px; font-size: 17px; }
.pdp__calc { margin-top: 14px; border-radius: 18px; background: #fff; border: 1px solid var(--hair); }
.pdp__calc summary { padding: 14px 16px; font-weight: 700; font-size: 14px; cursor: pointer; }
.pdp__calc dl, .cart-sum dl { margin: 0; padding: 0 16px; }
.pdp__calc dl div, .cart-sum dl div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px dashed var(--hair); font-size: 13px; }
.pdp__calc dt, .cart-sum dt { color: var(--muted); }
.pdp__calc dd, .cart-sum dd { margin: 0; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pdp__calc .is-total, .cart-sum .is-total { font-weight: 700; font-size: 15px; }
.pdp__calc .is-total dd, .cart-sum .is-total dd { color: var(--wine); }
.pdp__calc p { margin: 0; padding: 10px 16px 14px; font-size: 12px; line-height: 1.9; color: var(--muted); }
.pdp__trust { display: grid; gap: 8px; margin: 16px 0 0; }
.pdp__trust li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text); }
.pdp__trust svg { width: 20px; height: 20px; color: var(--gold-deep); }
.pdp-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.pdp-specs, .pdp-care { padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--hair); }
.pdp-more h2 { margin: 0 0 12px; font-size: 18px; }
.pdp-specs dl { margin: 0; }
.pdp-specs dl div { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px dashed var(--hair); font-size: 13.5px; }
.pdp-specs dt { color: var(--muted); }
.pdp-specs dd { margin: 0; font-weight: 600; }
.pdp-care ul { display: grid; gap: 10px; margin: 0; padding-inline-start: 18px; list-style: disc; font-size: 13.5px; line-height: 2; color: var(--text); }
.shop-page .vitrine { margin-top: 48px; }

/* cart */
.cartp { padding-top: 18px; }
.cartp__in { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; margin-top: 18px; }
.cart { display: grid; gap: 12px; }
.cline { display: flex; gap: 14px; padding: 12px; border-radius: 20px; background: #fff; border: 1px solid var(--hair); }
.cline__img { flex: none; width: 110px; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--sand); }
.cline__img img { width: 100%; height: 100%; object-fit: cover; }
.cline__body { flex: 1; min-width: 0; display: grid; gap: 6px; align-content: start; }
.cline h3 { margin: 0; font-size: 15px; line-height: 1.7; }
.cline__foot { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.cline__foot .price { margin: 0 auto 0 0; }
.cart__empty { display: grid; justify-items: center; gap: 8px; padding: 56px 20px; text-align: center; border-radius: 22px; background: var(--cream); }
.cart__empty > svg { width: 48px; height: 48px; color: var(--gold-deep); }
.cart__empty b { font-size: 17px; }
.cart__empty p { margin: 0 0 8px; color: var(--muted); }
.cart-sum { position: sticky; top: 170px; padding: 20px 0 18px; border-radius: 22px; background: #fff; border: 1px solid var(--hair); box-shadow: var(--shadow-s); }
.cart-sum h2 { margin: 0 16px 6px; font-size: 17px; }
.cart-sum__rate { display: flex; align-items: center; gap: 8px; margin: 0 16px 10px; font-size: 12px; color: var(--muted); }
.cart-sum__note { margin: 12px 16px 0; font-size: 12px; line-height: 1.9; color: var(--muted); }
.cart-sum__go { width: calc(100% - 32px); margin: 14px 16px 0; justify-content: center; height: 52px; }
.cart-hold { margin: 10px 16px 0; padding: 10px 12px; border-radius: 12px; background: #eaf7f1; color: #17603e; font-size: 12.5px; text-align: center; }
.cart-sum__help { display: block; margin: 12px auto 0; }

/* toast */
.toast { position: fixed; z-index: 90; left: 50%; bottom: 90px; display: flex; align-items: center; gap: 14px; max-width: calc(100vw - 32px); padding: 12px 16px; border-radius: 16px;
  background: var(--wine-ink); color: #fff; font-size: 13px; box-shadow: 0 16px 40px rgba(0, 0, 0, .3); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: all .35s var(--ease); }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.toast a { flex: none; color: var(--gold-soft); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1100px) {
  .shop__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cartp__in { grid-template-columns: minmax(0, 1fr); }
  .cart-sum { position: static; }
}
@media (max-width: 900px) {
  .shop-head { flex-direction: column; align-items: stretch; }
  .shop__in { grid-template-columns: minmax(0, 1fr); }
  .shop__fbtn { display: inline-flex; }
  .shop__filters { position: fixed; z-index: 65; inset: auto 0 0 0; top: auto; max-height: 82vh; overflow-y: auto; border-radius: 24px 24px 0 0; box-shadow: 0 -20px 60px rgba(42, 13, 24, .3);
    transform: translateY(105%); transition: transform .4s var(--ease); }
  .shop__filters.is-open { transform: none; }
  .shop__fclose { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--hair); background: #fff; }
  .shop__fclose svg { width: 15px; height: 15px; }
  .shop__fapply { display: inline-flex; justify-content: center; }
  .pdp, .pdp-more { grid-template-columns: minmax(0, 1fr); }
  .pdp__gallery { position: static; }
  .pdp__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .shop__grid, .shop__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .shop__grid .card__body { padding: 12px; }
  .shop__grid .card__name { font-size: 13.5px; }
  .shop__grid .price { font-size: 15px; }
  .shop__sort span { display: none; }
  .bridge { flex-wrap: wrap; }
  .bridge .btn { width: 100%; justify-content: center; }
  .cline__img { width: 84px; }
  .cline__foot { flex-wrap: wrap; gap: 10px; }
  .toast { bottom: 84px; }
}
.shop .chips { flex-wrap: nowrap; }
.pdp__size { display: grid; gap: 6px; font-size: 13px; font-weight: 700; }
.pdp__size select { height: 48px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--hair); background: #fff; font: inherit; font-weight: 400; color: var(--ink); }
.toast { width: max-content; max-width: min(440px, calc(100vw - 32px)); }
@media (max-width: 900px) { .shop__filters.is-open { box-shadow: 0 0 0 100vmax rgba(42, 13, 24, .45), 0 -20px 60px rgba(42, 13, 24, .3); } }

/* ==========================================================
   Gold-price + sell-gold pillars
   ========================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rboard { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 12px; }
.rboard__c { display: grid; gap: 6px; align-content: start; padding: 20px; border-radius: 20px; background: #fff; border: 1px solid var(--hair); }
.rboard__c--main { color: #fff; border: 0; background: radial-gradient(ellipse 100% 140% at 100% 0%, #8a1a39, var(--wine-deep)); box-shadow: var(--shadow-m); }
.rboard__k { font-size: 13px; color: var(--muted); }
.rboard__k small { display: block; font-size: 11px; }
.rboard__c--main .rboard__k { color: var(--gold-soft); }
.rboard__v { display: flex; align-items: baseline; gap: 6px; font-size: clamp(20px, 2.2vw, 26px); color: var(--ink); font-variant-numeric: tabular-nums; }
.rboard__c--main .rboard__v { font-size: clamp(26px, 3vw, 36px); color: var(--champagne); }
.rboard__v small { font-size: 12px; font-weight: 400; color: var(--muted); }
.rboard__c--main .rboard__v small { color: rgba(255, 255, 255, .7); }
.rboard__d { justify-self: start; font-size: 12px; padding: 2px 10px; border-radius: 20px; }
.rboard__d.is-up { background: rgba(63, 209, 142, .18); color: #7ff0bd; }
.rboard__d.is-down { background: rgba(255, 120, 120, .18); color: #ffb3b3; }
.rboard__note { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; font-size: 12px; color: var(--muted); }
.rboard__note .demo-tag { border-color: var(--hair); }

.gpp__grams { margin-top: 44px; }
.gpp__grams h2, .gpp__calc h2 { font-size: clamp(19px, 2vw, 24px); margin: 0 0 6px; }
.gpp__lead { margin: 0 0 14px; font-size: 13.5px; color: var(--muted); }
.gtable { border-radius: 20px; overflow: hidden; border: 1px solid var(--hair); background: #fff; }
.gtable__row { display: grid; grid-template-columns: 1fr 1.4fr 1.4fr; }
.gtable__row > span { padding: 12px 18px; font-size: 14px; font-variant-numeric: tabular-nums; }
.gtable__row + .gtable__row, #gtable-rows .gtable__row { border-top: 1px solid var(--hair); }
.gtable__row > span + span { border-inline-start: 1px solid var(--hair); }
.gtable__row--head > span { font-weight: 700; font-size: 13px; color: var(--wine); background: var(--cream); }
#gtable-rows .gtable__row:nth-child(2n) { background: var(--ivory); }
.gpp__calc { margin-top: 44px; border-top: 0; background: none; padding: 0; }

.gpp__paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 36px; }
.gpp__path { display: grid; gap: 4px; padding: 20px; border-radius: 20px; background: #fff; border: 1px solid var(--hair); transition: all .25s var(--ease); }
.gpp__path:hover { border-color: var(--gold-soft); transform: translateY(-2px); box-shadow: var(--shadow-s); }
.gpp__path svg { width: 28px; height: 28px; color: var(--gold-deep); margin-bottom: 6px; }
.gpp__path b { font-size: 15.5px; color: var(--ink); }
.gpp__path small { font-size: 12.5px; color: var(--muted); }
.gpp__path--accent { background: radial-gradient(ellipse 100% 140% at 100% 0%, #8a1a39, var(--wine-deep)); border: 0; }
.gpp__path--accent b { color: var(--champagne); }
.gpp__path--accent small { color: rgba(255, 255, 255, .78); }
.gpp__path--accent svg { color: var(--gold-soft); }

.sgp__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.sgp__est { padding: clamp(22px, 2.6vw, 34px); border-radius: 22px; background: var(--ivory); border: 1px solid var(--hair); }
.sgp__est h2, .sgp__req h2 { font-size: clamp(20px, 2vw, 26px); margin: 4px 0 14px; }
.sgp__form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sgp__form select { height: 44px; border-radius: 12px; border: 1px solid var(--hair); background: #fff; padding: 0 10px; font: 600 14px var(--f-body); color: var(--ink); min-width: 0; }
.sgp__form input { min-width: 0; }
.sgp__out { display: grid; gap: 4px; margin-top: 14px; padding: 18px; border-radius: 16px; color: #fff; background: radial-gradient(ellipse 100% 140% at 100% 0%, #8a1a39, var(--wine-deep)); }
.sgp__out span { font-size: 12.5px; color: var(--gold-soft); }
.sgp__out b { font-size: clamp(19px, 2vw, 24px); color: var(--champagne); font-variant-numeric: tabular-nums; }
.sgp__out small { font-size: 12px; line-height: 1.9; color: rgba(255, 255, 255, .8); }
.sgp__facts { display: grid; gap: 8px; margin: 16px 0 0; }
.sgp__facts li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text); }
.sgp__facts svg { width: 20px; height: 20px; color: var(--gold-deep); }
.sgp .cx-process { margin-top: 48px; }

@media (max-width: 1000px) {
  .rboard { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rboard__c--main { grid-column: 1 / -1; }
  .sgp__in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .gpp__paths { grid-template-columns: minmax(0, 1fr); }
  .sgp__form { grid-template-columns: minmax(0, 1fr); }
  .gtable__row > span { padding: 10px 12px; font-size: 12.5px; }
  .rboard__c { padding: 14px; }
}
@media (max-width: 1000px) { .rboard__c:last-child { grid-column: 1 / -1; } }

/* ==========================================================
   Journal: home + article template
   ========================================================== */
.art-page { padding-bottom: clamp(56px, 7vw, 96px); }
.art { padding-top: 14px; }
.art__head { max-width: 860px; margin-bottom: 24px; }
.art__cat, .jcard__cat { display: inline-block; font-size: 12px; font-weight: 700; color: var(--wine); padding: 3px 12px; border-radius: 20px; background: #f7ecee; }
.art__head h1 { margin: 12px 0 10px; font-size: clamp(26px, 3.4vw, 42px); line-height: 1.5; color: var(--ink); }
.art__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; font-size: 12.5px; color: var(--muted); }
.art__meta > * + *::before { content: "·"; margin-inline-end: 16px; color: var(--gold); }
.art__grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.art__body { max-width: 760px; font-size: 16px; line-height: 2.15; color: var(--text); }
.art__body h2 { margin: 38px 0 10px; font-size: clamp(20px, 2.2vw, 25px); line-height: 1.6; color: var(--ink); scroll-margin-top: 170px; }
.art__body p { margin: 0 0 14px; }
.art__body ul, .art__body ol { margin: 0 0 16px; padding-inline-start: 22px; }
.art__body ul { list-style: none; padding-inline-start: 0; }
.art__body ul li { position: relative; padding-inline-start: 22px; margin-bottom: 8px; }
.art__body ul li::before { content: ""; position: absolute; right: 2px; top: .95em; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--gold); }
.art__body ol { list-style: none; counter-reset: s; padding-inline-start: 0; }
.art__body ol li { position: relative; counter-increment: s; padding-inline-start: 38px; margin-bottom: 10px; }
.art__body ol li::before { content: counter(s, persian); position: absolute; right: 0; top: .35em; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--champagne); background: var(--wine); line-height: 1; }
.art__answer { margin-bottom: 8px; padding: 20px 22px; border-radius: 20px; background: linear-gradient(135deg, #fffaf0, var(--cream)); border: 1px solid var(--gold-soft); border-inline-start: 4px solid var(--gold); }
.art__answer b { display: block; margin-bottom: 4px; font-size: 13px; color: var(--wine); }
.art__answer p { margin: 0; font-size: 15.5px; color: var(--ink); }
.art__tip { margin: 6px 0 18px; padding: 16px 18px; border-radius: 16px; background: #f2f8f6; border: 1px solid rgba(22, 143, 135, .25); }
.art__tip b { display: block; font-size: 13px; color: var(--turquoise); }
.art__tip p { margin: 0; font-size: 14.5px; }
.art__table { margin: 4px 0 18px; overflow-x: auto; border-radius: 16px; border: 1px solid var(--hair); }
.art__table table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.9; }
.art__table th { text-align: start; padding: 10px 14px; background: var(--cream); color: var(--wine); font-weight: 700; }
.art__table td { padding: 10px 14px; border-top: 1px solid var(--hair); background: #fff; }
.art__bridge { margin: 22px 0 8px; }
.art__side { position: sticky; top: 170px; display: grid; gap: 14px; }
.art__toc { padding: 18px; border-radius: 20px; background: #fff; border: 1px solid var(--hair); }
.art__toc b { display: block; margin-bottom: 8px; font-size: 14px; }
.art__toc ol { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.art__toc li { counter-increment: t; }
.art__toc a { display: flex; gap: 8px; padding: 7px 0; font-size: 13px; line-height: 1.8; color: var(--text); border-top: 1px dashed var(--hair); }
.art__toc li:first-child a { border-top: 0; }
.art__toc a::before { content: counter(t, persian) "."; color: var(--gold-deep); font-weight: 700; }
.art__toc a:hover { color: var(--wine); }
.art__cta { display: grid; gap: 2px; padding: 18px; border-radius: 20px; color: #fff; background: radial-gradient(ellipse 100% 140% at 100% 0%, #8a1a39, var(--wine-deep)); }
.art__cta small { font-size: 11.5px; color: var(--gold-soft); }
.art__cta b { font-size: 15px; color: var(--champagne); }
.art__cta span { justify-self: start; margin-top: 8px; padding: 6px 14px; border-radius: 20px; font-size: 12.5px; font-weight: 700; color: var(--wine-deep); background: linear-gradient(135deg, #f6e2ad, #c29552); }
.art-page .faq { margin-top: 48px; }

.jgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.jcard { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--hair); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.jcard:hover { box-shadow: var(--shadow-m); transform: translateY(-3px); }
.jcard[hidden] { display: none; }
.jcard__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.jcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.jcard:hover .jcard__media img { transform: scale(1.05); }
.jcard__body { display: grid; gap: 8px; align-content: start; padding: 16px 18px 18px; flex: 1; }
.jcard__cat { justify-self: start; }
.jcard h3 { margin: 0; font-size: 16px; line-height: 1.7; }
.jcard h3 a { color: var(--ink); }
.jcard p { margin: 0; font-size: 13px; line-height: 1.95; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.jcard__meta { margin-top: auto; font-size: 12px; color: var(--gold-deep); }
.jfeat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 26px; overflow: hidden; color: #fff; background: radial-gradient(ellipse 100% 140% at 100% 0%, #8a1a39, var(--wine-deep)); box-shadow: var(--shadow-m); }
.jfeat img { width: 100%; height: 100%; max-height: 380px; object-fit: cover; }
.jfeat__body { display: grid; gap: 10px; align-content: center; padding: clamp(22px, 3.4vw, 44px); }
.jfeat__body .jcard__cat { justify-self: start; }
.jfeat__body b { font-size: clamp(22px, 2.6vw, 32px); line-height: 1.5; color: var(--champagne); }
.jfeat__body > span:not(.jcard__cat) { font-size: 14px; line-height: 2; color: rgba(255, 255, 255, .82); }
.jfeat__body em { display: inline-flex; align-items: center; gap: 8px; justify-self: start; font-style: normal; font-weight: 700; color: var(--gold-soft); }
.jfeat__body em svg { width: 16px; height: 16px; }
.jlist { margin-top: 36px; }
.jrel { margin-top: 48px; }

@media (max-width: 1000px) {
  .art__grid { grid-template-columns: minmax(0, 1fr); }
  .art__side { position: static; order: -1; }
  .art__cta { display: none; }
  .jgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jfeat { grid-template-columns: minmax(0, 1fr); }
  .jfeat img { max-height: 240px; }
}
@media (max-width: 640px) {
  .jgrid { grid-template-columns: minmax(0, 1fr); }
  .art__body { font-size: 15px; }
}

/* ==========================================================
   Trust pages: about, contact, shipping, privacy
   ========================================================== */
.legal { margin-top: 8px; }
.legal__body { max-width: 860px; font-size: 15px; line-height: 2.1; color: var(--text); }
.legal__s { padding: 22px 0; border-top: 1px solid var(--hair); scroll-margin-top: 170px; }
.legal__s:first-of-type { border-top: 0; }
.legal__s h2 { margin: 0 0 8px; font-size: 19px; color: var(--ink); }
.legal__s p { margin: 0 0 10px; }
.legal__s ul { margin: 0; padding: 0; list-style: none; }
.legal__s li { position: relative; padding-inline-start: 20px; margin-bottom: 8px; }
.legal__s li::before { content: ""; position: absolute; right: 2px; top: .95em; width: 7px; height: 7px; border-radius: 2px; transform: rotate(45deg); background: var(--gold); }
.legal__s a { color: var(--wine); text-decoration: underline; text-underline-offset: 4px; }
.draft-note { margin: 0 0 8px; padding: 12px 16px; border-radius: 14px; background: #fff7e6; border: 1px dashed var(--gold); font-size: 13px; color: var(--text); }
.draft-note b { margin-inline-end: 8px; padding: 1px 10px; border-radius: 20px; font-size: 11.5px; color: #fff; background: var(--gold-deep); }

.about-hero { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 18px; padding-bottom: 12px; }
.about-hero img { flex: none; width: clamp(110px, 14vw, 180px); height: auto; opacity: .9; }
.about-vals { margin-top: 24px; }
.about-vals h2 { margin: 0 0 14px; font-size: clamp(20px, 2.2vw, 26px); }
.about-vals ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.about-vals li { display: grid; gap: 6px; align-content: start; padding: 20px; border-radius: 20px; background: #fff; border: 1px solid var(--hair); }
.about-vals svg { width: 30px; height: 30px; color: var(--gold-deep); }
.about-vals b { font-size: 15px; color: var(--ink); }
.about-vals span { font-size: 13px; line-height: 1.95; color: var(--muted); }
.about-vals + .legal { margin-top: 32px; }

.contactp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: start; }
.contactp__ways { display: grid; gap: 10px; }
.contactp__info { display: grid; gap: 10px; margin-top: 6px; padding: 16px 18px; border-radius: 18px; background: var(--cream); }
.contactp__info p { display: flex; gap: 12px; margin: 0; font-size: 13.5px; line-height: 1.9; color: var(--text); }
.contactp__info svg { flex: none; width: 22px; height: 22px; color: var(--gold-deep); margin-top: 3px; }
.contactp__info b { display: block; color: var(--ink); }
.contactp__form { padding: clamp(20px, 2.6vw, 30px); border-radius: 22px; background: #fff; border: 1px solid var(--hair); box-shadow: var(--shadow-s); }
.contactp__form h2 { margin: 0 0 14px; font-size: 20px; }
.contactp__form .btn { margin-top: 14px; }

@media (max-width: 1000px) {
  .about-vals ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contactp { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .about-vals ul { grid-template-columns: minmax(0, 1fr); }
  .about-hero img { display: none; }
}
.shop__sub { margin: -4px 0 12px; font-size: 13px; color: var(--muted); }
.shop__sub a, .shop-seo p a { color: var(--wine); text-decoration: underline; text-underline-offset: 4px; }
.shop__fbtn[data-count]:not([data-count=""])::after { content: attr(data-count); display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-inline-start: 6px; border-radius: 10px; font-size: 11px; color: #fff; background: var(--wine); }

/* ---------- Custom-order pillars: services + before-order ---------- */
.tgrid--svc .tcard { grid-template-rows: auto auto auto; padding: 22px; }
.tcard__more { grid-column: 2; margin-top: 6px; font-size: 12.5px; font-weight: 700; color: var(--wine); }
.cmp--2 .cmp__row { grid-template-columns: 1.4fr 1fr; }
.cmp a { color: inherit; text-decoration: underline; text-decoration-color: var(--gold-soft); text-underline-offset: 5px; }
.cmp__row--head a { color: inherit; }
.toc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.toc-chips a { height: 34px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 30px; font-size: 13px; color: var(--wine); background: #fff; border: 1px solid var(--hair); }
.toc-chips a:hover { border-color: var(--gold); }
.mfacts__grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.sibs--center { justify-content: center; margin-top: 18px; }
.cx-mats { margin: 40px auto 8px; }
.cx-mats .cx-sub { margin-top: 0; }
#checklist, #material, #size, #cost, #workshop { scroll-margin-top: 150px; }
/* sibling and cross-material navigation on cluster pages */
.cnav { padding: 36px 0 8px; }
.cnav__in { display: grid; gap: 14px; padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--hair); }
.cnav h2 { margin: 0; font-size: 16px; color: var(--ink); }
.cnav__alt { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--cream); font-size: 14px; color: var(--text); }
.cnav__alt a { font-weight: 700; color: var(--wine); }
.cnav__up { font-size: 13px; color: var(--muted); }
.cnav__up a { color: var(--wine); font-weight: 700; }
@media (max-width: 1000px) { .mfacts__grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .mfacts__grid--5 { grid-template-columns: minmax(0, 1fr); } }
.mega__col a.mega__h--link { display: inline-flex; align-items: center; gap: 6px; padding: 0; font-size: 12.5px; font-weight: 700; color: var(--wine); }
.mega__col a.mega__h--link::after { content: "‹"; font-size: 15px; line-height: 1; color: var(--gold); }
.mega__col a.mega__h--link:hover { padding-inline-start: 0; text-decoration: underline; text-underline-offset: 5px; }
.cx-sub a { color: var(--wine); } .cx-sub small { font-size: 13px; font-weight: 400; color: var(--muted); }
.catlinks { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 13px; }
.catlinks b { color: var(--muted); font-weight: 600; margin-inline-end: 4px; }
.catlinks a { height: 32px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 30px; color: var(--wine); background: var(--cream); }
.catlinks a:hover { background: #f7ecee; }
.cmp--3 .cmp__row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* hero: branded third tile instead of a repeated photo */
.cx-tile { display: grid; place-content: center; justify-items: center; gap: 4px; padding: 14px; text-align: center; color: #fff;
  background: radial-gradient(ellipse 100% 120% at 100% 0%, #8a1a39, var(--wine-deep)); }
.cx-tile svg { width: 34px; height: 34px; color: var(--gold-soft); stroke-width: 1.4; margin-bottom: 4px; }
.cx-tile b { font-size: clamp(16px, 1.8vw, 22px); color: var(--champagne); line-height: 1.3; }
.cx-tile small { font-size: 12px; color: rgba(255, 255, 255, .8); line-height: 1.7; }
.cx-art--b, .cx-art--c { height: auto; }

/* ---------- SEO content block: full text in the HTML, visually collapsed ---------- */
.seo-content { margin-top: 48px; margin-bottom: 8px; }
.seo-content__box { padding: clamp(20px, 2.6vw, 32px); border-radius: 22px; background: #fff; border: 1px solid var(--hair); box-shadow: var(--shadow-s); }
.seo-content__box > h2 { margin: 0 0 14px; font-size: clamp(18px, 2vw, 22px); color: var(--ink); line-height: 1.6; }
.seo-content__body { position: relative; font-size: 14.5px; line-height: 2.15; color: var(--text); }
.seo-content__body h3 { margin: 18px 0 6px; font-size: 15.5px; color: var(--wine); }
.seo-content__body p { margin: 0 0 12px; }
.seo-content__body ul { margin: 0 0 12px; padding-inline-start: 20px; list-style: disc; }
.seo-content__body a { color: var(--wine); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold-soft); text-underline-offset: 5px; }
.seo-content__body a:hover { text-decoration-color: var(--wine); }
.seo-content__body.is-collapsed { max-height: 230px; overflow: hidden; }
.seo-content__body.is-collapsed::after { content: ""; position: absolute; inset: auto 0 0 0; height: 110px; pointer-events: none; background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 85%); }
.seo-content__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; height: 42px; padding: 0 20px; border-radius: 40px;
  border: 1px solid var(--gold-soft); background: var(--cream); color: var(--wine); font: 700 13.5px var(--f-body); cursor: pointer; transition: background .2s; }
.seo-content__more:hover { background: #fff; }
.seo-content__more svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.seo-content__more[aria-expanded="true"] svg { transform: rotate(180deg); }
.seo-content__more[hidden] { display: none; }
/* portfolio: 8 square works, first one large */
.gal.gal--8 { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: auto; }
.gal--8 figure, .gal--8 figure:first-child { grid-row: auto; aspect-ratio: 1; }
.gal--8 figure:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 900px) {
  .gal.gal--8 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .gal--8 figure:nth-child(5) { display: block; }
  .gal--8 figure:first-child { grid-column: 1 / -1; grid-row: auto; }
}

/* ============ Workshop portfolio ============ */
/* homepage section: a scroll-snap rail of square works */
.hpf { padding: clamp(56px, 7vw, 96px) 0; background: var(--cream); }
.hpf__lead { margin-top: 6px; font-size: 14.5px; color: var(--text); max-width: 560px; }
.hpf__rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; scrollbar-color: var(--gold-soft) transparent; }
.hpf__rail li { scroll-snap-align: start; }
.hpf__card { position: relative; display: block; aspect-ratio: 1; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-s); }
.hpf__card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hpf__card:hover img { transform: scale(1.06); }
.hpf__card span { position: absolute; inset-inline: 0; bottom: 0; display: grid; gap: 2px; padding: 34px 16px 14px; color: #fff; background: linear-gradient(transparent, rgba(42, 13, 24, .86)); }
.hpf__card small { font-size: 11.5px; color: var(--champagne); }
.hpf__card b { font-size: 14.5px; font-weight: 700; line-height: 1.6; }
.hpf__cta { justify-content: center; margin-top: 26px; }
@media (max-width: 900px) { .hpf__rail { grid-auto-columns: 72%; } }

/* portfolio page */
.pf { padding: clamp(48px, 6vw, 88px) 0; background: #fff; }
.pf-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -18px 0 30px; }
.pf-chip { padding: 8px 18px; border-radius: 30px; border: 1px solid var(--hair); background: var(--cream); color: var(--text); font: 600 13.5px var(--f-body); cursor: pointer; transition: all .2s; }
.pf-chip:hover { border-color: var(--gold); color: var(--wine); }
.pf-chip.is-active { background: var(--wine); border-color: var(--wine); color: #fff; }
.pf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.pf-card { display: flex; flex-direction: column; border: 1px solid var(--hair); border-radius: 20px; overflow: hidden; background: var(--ivory); box-shadow: var(--shadow-s); }
.pf-card[hidden] { display: none; }
.pf-card__img { display: block; padding: 0; border: 0; aspect-ratio: 1; overflow: hidden; cursor: zoom-in; background: var(--sand); }
.pf-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pf-card:hover .pf-card__img img { transform: scale(1.05); }
.pf-card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.pf-card__mat { font-size: 12px; color: var(--gold-deep); font-weight: 600; }
.pf-card h3 { font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.6; }
.pf-card__story { display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; font-size: 13.5px; line-height: 1.9; color: var(--text); }
.pf-card__story dt { font-weight: 700; color: var(--wine); }
.pf-card__more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--wine); }
.pf-card__more svg { width: 16px; height: 16px; }
.pf-empty { text-align: center; color: var(--muted); margin: 20px 0; }
.pf-box { padding: 0; border: 0; background: transparent; max-width: min(92vw, 860px); overflow: visible; }
.pf-box::backdrop { background: rgba(42, 13, 24, .82); }
.pf-box figure { margin: 0; }
.pf-box img { width: 100%; max-height: 82vh; object-fit: contain; border-radius: 16px; }
.pf-box figcaption { margin-top: 10px; text-align: center; color: #fff; font-size: 15px; font-weight: 600; }
.pf-box__x, .pf-box__nav { position: absolute; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 253, 249, .92); color: var(--wine); font: 400 26px/44px var(--f-body); cursor: pointer; }
.pf-box__x { top: -14px; inset-inline-start: -14px; }
.pf-box__nav { top: 45%; direction: ltr; unicode-bidi: isolate; }
.pf-box__nav--prev { inset-inline-start: -22px; }
.pf-box__nav--next { inset-inline-end: -22px; }
@media (max-width: 700px) { .pf-box__nav--prev { inset-inline-start: 6px; } .pf-box__nav--next { inset-inline-end: 6px; } .pf-box__x { inset-inline-start: 6px; top: 6px; } }

/* cluster pages: the matching work */
.pfw { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; margin-block: clamp(40px, 5vw, 72px); padding: clamp(18px, 2.5vw, 28px); border-radius: 24px; background: var(--cream); border: 1px solid var(--hair); }
.pfw__img { display: block; aspect-ratio: 1; border-radius: 18px; overflow: hidden; }
.pfw__img img { width: 100%; height: 100%; object-fit: cover; }
.pfw__body h2 { font-size: clamp(19px, 2vw, 24px); font-weight: 700; color: var(--ink); line-height: 1.6; margin-bottom: 10px; }
.pfw__body p:not(.kicker) { font-size: 14.5px; line-height: 2; color: var(--text); }
.pfw__body b { color: var(--wine); }
.pfw .cta { margin-top: 14px; }
@media (max-width: 700px) { .pfw { grid-template-columns: 1fr; } }
.mn__grp--solo h4 { margin: 0; }

/* ============ Article banners (16:9) ============ */
.art__hero { margin: 0 0 clamp(24px, 3vw, 36px); border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 9; max-height: 520px; width: 100%; background: var(--sand); box-shadow: var(--shadow-s); }
.art__hero img { width: 100%; height: 100%; object-fit: cover; }
/* branded banner while an article waits for its photo */
.jbrand { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 100%; padding: 6%; text-align: center; color: #fff; overflow: hidden;
  background: radial-gradient(ellipse 80% 90% at 75% 20%, #8a1a39, var(--wine-ink) 70%); }
.jbrand__pat { position: absolute; inset: 0; opacity: .08; background: url("../assets/toranj-mark.svg") center / 110px repeat; pointer-events: none; }
.jbrand svg { position: relative; width: 52px; height: 52px; fill: none; stroke: var(--gold-soft); stroke-width: 1.4; }
.jbrand small { position: relative; font-size: 12px; letter-spacing: 1px; color: var(--gold-soft); }
.jbrand b { position: relative; max-width: 22ch; font-size: clamp(18px, 2.6vw, 34px); line-height: 1.5; font-weight: 700; }
.jbrand::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(217, 189, 140, .3); border-radius: 14px; pointer-events: none; }
.jbrand--card { gap: 4px; }
.jbrand--card svg { width: 34px; height: 34px; }
.jbrand--card b { font-size: 15px; }
.jbrand--card::after { inset: 8px; border-radius: 10px; }
.jfeat .jbrand { min-height: 300px; }
.jfeat img { aspect-ratio: 16 / 9; }

/* ============ Sign-in form (account page and the account drawer) ============ */
.acc-ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.acc-form { display: grid; gap: 8px; text-align: start; position: relative; }
.acc-form label { font-size: 13px; font-weight: 600; color: var(--ink); }
.acc-form label small { font-weight: 400; color: var(--muted); }
.acc-form input:not([type="checkbox"]) { width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--hair); background: var(--ivory); font: 500 16px var(--f-body); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.acc-form input:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(184, 140, 73, .15); }
.acc-form input[dir="ltr"] { text-align: center; letter-spacing: 1px; }
.acc-otp { font-size: 26px !important; letter-spacing: 14px !important; font-weight: 700 !important; }
.acc-btn { width: 100%; justify-content: center; margin-top: 8px; min-height: 52px; }
.acc-btn .acc-ic { width: 18px; height: 18px; }
.acc-btn.is-busy { opacity: .7; pointer-events: none; }
.acc-err { margin: 2px 0 0; padding: 10px 14px; border-radius: 12px; background: #fbeef1; color: var(--wine); font-size: 13px; line-height: 1.9; }
.acc-test { margin: 2px 0 0; padding: 10px 14px; border-radius: 12px; background: var(--champagne); color: var(--ink); font-size: 13px; }
.acc-link { padding: 0; border: 0; background: none; color: var(--wine); font: 600 13px var(--f-body); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.acc-link:disabled { color: var(--muted); cursor: default; text-decoration: none; }
.acc-resend { margin: 6px 0 0; text-align: center; font-size: 13px; color: var(--muted); }
.acc-newname { display: grid; gap: 8px; margin-top: 6px; }
.acc-form [hidden], .acc-newname[hidden] { display: none !important; }

/* ============ Header drawers: cart, favourites, account ============ */
.tp { position: fixed; inset: 0; z-index: 400; }
.tp[hidden] { display: none; }
.tp__ov { position: absolute; inset: 0; background: rgba(42, 13, 24, .45); backdrop-filter: blur(2px); opacity: 0; transition: opacity .3s var(--ease); }
.tp__panel { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; display: flex; flex-direction: column; width: min(420px, 92vw); background: var(--ivory); box-shadow: -20px 0 60px rgba(42, 13, 24, .25); transform: translateX(-104%); transition: transform .38s var(--ease); }
.tp.is-open .tp__ov { opacity: 1; }
.tp.is-open .tp__panel { transform: none; }
.tp__h { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px; color: #fff; overflow: hidden;
  background: radial-gradient(ellipse 90% 140% at 90% 0%, #8a1a39, var(--wine-ink) 75%); }
.tp__h::after { content: ""; position: absolute; inset: 0; opacity: .08; background: url("../assets/toranj-mark.svg") center / 80px repeat; pointer-events: none; }
.tp__h h2 { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; margin: 0; font-size: 18px; font-weight: 700; }
.tp__h h2 small { padding: 1px 9px; border-radius: 20px; background: rgba(255, 255, 255, .16); font-size: 12px; font-weight: 600; color: var(--champagne); }
.tp__x { position: relative; z-index: 1; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(217, 189, 140, .45); background: transparent; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.tp__x:hover { background: rgba(255, 255, 255, .1); }
.tp__body { flex: 1; overflow-y: auto; padding: 18px 20px; overscroll-behavior: contain; }
.tp__f { padding: 16px 20px 20px; border-top: 1px solid var(--hair); background: #fff; display: grid; gap: 10px; }
.tp__f:empty { display: none; }
.tp__row { display: flex; align-items: baseline; justify-content: space-between; font-size: 14px; color: var(--text); }
.tp__row b { font-size: 19px; color: var(--wine); }
.tp__note { margin: 0; font-size: 12px; line-height: 1.9; color: var(--muted); }
.tp__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tp__btns .btn { justify-content: center; }
.tp__btns .btn:only-child { grid-column: 1 / -1; }
.tp-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.tp-item { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px; border-radius: 16px; background: #fff; border: 1px solid var(--hair); }
.tp-item img { width: 76px; height: 76px; object-fit: cover; border-radius: 12px; background: var(--sand); }
.tp-item__b { display: grid; gap: 3px; min-width: 0; }
.tp-item__b a { font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.6; }
.tp-item__b small { font-size: 12px; color: var(--muted); }
.tp-item__b b { font-size: 14px; color: var(--wine); }
.tp-item__side { display: grid; justify-items: end; gap: 8px; }
.tp-qty { display: inline-flex; align-items: center; border: 1px solid var(--hair); border-radius: 30px; background: var(--ivory); }
.tp-qty button { width: 30px; height: 30px; border: 0; background: none; color: var(--wine); font-size: 17px; cursor: pointer; }
.tp-qty span { min-width: 22px; text-align: center; font-size: 13.5px; font-weight: 700; }
.tp-rm { padding: 0; border: 0; background: none; font: 500 12px var(--f-body); color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.tp-rm:hover { color: var(--wine); }
.tp-add { padding: 6px 12px; border-radius: 30px; border: 1px solid var(--wine); background: none; color: var(--wine); font: 700 12px var(--f-body); cursor: pointer; white-space: nowrap; }
.tp-add:hover { background: var(--wine); color: #fff; }
.tp-empty { display: grid; justify-items: center; gap: 10px; padding: 36px 10px; text-align: center; }
.tp-empty svg { width: 46px; height: 46px; fill: none; stroke: var(--gold); stroke-width: 1.2; }
.tp-empty b { font-size: 16px; color: var(--ink); }
.tp-empty p { margin: 0; font-size: 13.5px; line-height: 1.9; color: var(--text); }
.tp-empty .cta { justify-content: center; }
.tp-load { padding: 40px 0; text-align: center; color: var(--muted); font-size: 13px; }
.tp-busy { opacity: .55; pointer-events: none; }
/* account drawer */
.tp-acc .acc-login__mark { display: block; width: 52px; height: 52px; margin: 4px auto 8px; }
.tp-acc h3 { margin: 0 0 6px; text-align: center; font-size: 19px; color: var(--ink); }
.tp-acc > p, .tp-acc [data-otp-step] > p { margin: 0 0 14px; text-align: center; font-size: 13.5px; line-height: 1.9; color: var(--text); }
.tp-perks { display: grid; gap: 8px; margin: 18px 0 0; padding: 14px 16px; border-radius: 16px; background: var(--cream); list-style: none; }
.tp-perks li { display: flex; gap: 8px; font-size: 13px; color: var(--text); }
.tp-perks li::before { content: "✦"; color: var(--gold); }
.tp-me { display: flex; align-items: center; gap: 12px; padding: 4px 0 16px; border-bottom: 1px solid var(--hair); margin-bottom: 10px; }
.tp-me span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--champagne); color: var(--wine); font-size: 20px; font-weight: 700; }
.tp-me div { display: grid; gap: 2px; }
.tp-me b { font-size: 15.5px; color: var(--ink); }
.tp-me small { font-size: 12.5px; color: var(--muted); text-align: start; }
.tp-links { display: grid; gap: 4px; }
.tp-links a { display: flex; align-items: center; gap: 12px; padding: 12px 12px; border-radius: 14px; color: var(--text); font-size: 14.5px; }
.tp-links a:hover { background: var(--cream); color: var(--wine); }
.tp-links svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.tp-links a.is-out { margin-top: 6px; border-top: 1px solid var(--hair); border-radius: 0; color: var(--muted); }
html.tp-lock { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .tp__panel, .tp__ov { transition: none; } }
/* header icons sit closer together (height stays 44px for an easy tap) */
.tools { gap: 0; }
.tools .icon-btn { width: 40px; }
.tools .icon-btn .badge { left: 2px; }
@media (max-width: 900px) { .tools .icon-btn { width: 36px; } .tools .icon-btn .badge { left: 0; } }
