/* ==========================================================================
   فرش طالب لو — landing page styles (v2: follows docs/design-mockup.webp)
   Contract: docs/SPEC.md v2. Motion lives in /js/main.js + /js/carpet.js.
   Everything is visible by default; hide-for-animation only under html.js,
   undone by .is-visible / html.is-loaded, with a 5s CSS failsafe.
   ========================================================================== */

html, body { background: #0b0b0b; }

/* Latin wordmark only (TALEBLO / CARPET): Cormorant Garamond subset to 9 letters, OFL, self-hosted */
@font-face {
  font-family: 'Taleblo Wordmark';
  src: url('/fonts/cormorant-wordmark.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+41-43, U+45, U+4C, U+4F-50, U+52, U+54;
}

/* Vazirmatn (OFL), self-hosted variable font — the owner's chosen face (docs/design-mockup-v3.webp) */
@font-face {
  font-family: 'Vazirmatn';
  src: url('/fonts/vazirmatn-arabic-wght.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/fonts/vazirmatn-latin-wght.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- tokens ---------- */
:root {
  --bg: #0b0b0b;
  --bg-2: #1e1a14;
  --bg-3: #29231b;
  --ink: #f5e8d3;
  --ink-80: rgba(243, 233, 214, .80);
  --ink-60: rgba(243, 233, 214, .62);
  --ink-40: rgba(243, 233, 214, .40);
  --ink-20: rgba(243, 233, 214, .20);
  --ink-06: rgba(243, 233, 214, .06);
  --line: rgba(243, 233, 214, .11);
  --line-gold: rgba(212, 162, 68, .30);
  --crimson: #9b1c2c;
  --crimson-deep: #5e0f1b;
  --gold: #d4a244;
  --gold-soft: #ecc97c;
  --gold-deep: #a97a26;
  --gold-grad: linear-gradient(180deg, #ecc56a, #d4a244 55%, #bb8a2e);
  --gold-text: linear-gradient(180deg, #f6dc98 0%, #d4a244 58%, #a97a26 100%);
  --indigo: #1a2347;
  --paper: #f5e8d3;
  --paper-ink: #2a211b;
  --paper-muted: #7b6d60;

  --radius-card: 24px;
  --radius-sm: 18px;
  --radius-pill: 999px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.4, 0, .2, 1);

  --container: 1240px;
  --gutter: 20px;

  --font: 'Vazirmatn', Tahoma, 'Segoe UI', system-ui, sans-serif;

  --glass-bg: rgba(34, 28, 24, .62);
  --glass-blur: blur(16px) saturate(140%);
  --glass-rim: inset 0 1px 0 rgba(255, 236, 200, .06), inset 0 0 0 1px var(--line-gold);
  --glow: 0 0 0 1px rgba(212, 162, 68, .06), 0 18px 50px rgba(0, 0, 0, .45), 0 0 60px rgba(212, 162, 68, .06);
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1200px) { :root { --gutter: 48px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 150px;
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background:
    radial-gradient(80% 50% at 50% 0%, rgba(120, 72, 30, .16), transparent 70%),
    var(--bg);
}
@media (min-width: 1200px) { body { font-size: 17px; } }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, ul, ol, figure, address { margin: 0; padding: 0; }
ul, ol { list-style: none; }
address { font-style: normal; }
[hidden] { display: none !important; }
::selection { background: var(--gold); color: var(--bg); }
::placeholder { color: var(--ink-40); opacity: 1; }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
main:focus-visible { outline: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(88px, 11vw, 160px); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 96px) clamp(40px, 5vw, 64px); }
.muted { color: var(--ink-60); }
.label { font-size: 12.5px; line-height: 1.4; font-weight: 600; color: var(--ink-60); }
.text-link { color: var(--gold-soft); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; transition: color .2s; }
.text-link:hover { color: var(--gold); }

.skip-link {
  position: fixed;
  top: 12px; right: 12px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--gold);
  color: var(--bg);
  font-weight: 700;
  font-size: 14px;
  transform: translateY(-160%);
  transition: transform .25s var(--ease-out);
}
.skip-link:focus-visible { transform: none; outline-color: var(--ink); }

/* ---------- ornament & headings ---------- */
.glyph { color: var(--gold); flex: none; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--gold-soft);
  margin-bottom: 20px;
}
.eyebrow .glyph { width: 12px; height: 12px; }
.section-head { margin-bottom: clamp(44px, 5vw, 76px); max-width: 44rem; }
.section-title {
  font-size: clamp(28px, 3.6vw, 50px);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0;
  text-wrap: balance;
}
.section-title--orn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 22px);
  text-align: center;
  font-size: clamp(24px, 2.6vw, 34px);
}
.orn {
  position: relative;
  flex: 0 1 clamp(40px, 8vw, 110px);
  height: 1px;
  background: linear-gradient(to left, transparent, var(--gold));
}
.orn:last-child { background: linear-gradient(to right, transparent, var(--gold)); }
.orn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px; height: 7px;
  background: var(--gold);
  transform: translate(-50%, -50%) rotate(45deg);
}
.orn:last-child::after { left: auto; right: 0; transform: translate(50%, -50%) rotate(45deg); }
.section-lead { margin-top: 20px; color: var(--ink-60); max-width: 32rem; text-wrap: pretty; }
.ornament { color: var(--gold); }

/* grain */
.grain {
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  opacity: .06;
  background-size: 220px 220px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.scroll-progress {
  position: fixed;
  top: 0;
  inset-inline: 0;
  height: 2px;
  z-index: 100;
  background: var(--gold-grad);
  transform-origin: right center;
  transform: scaleX(var(--p, 0));
  pointer-events: none;
}

/* ---------- buttons ---------- */
.btn {
  --btn-h: 50px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: var(--btn-h);
  padding: 6px 24px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  transition: filter .25s var(--ease-io), color .25s var(--ease-io), border-color .25s var(--ease-io), box-shadow .3s var(--ease-io), background-color .25s var(--ease-io), transform .2s var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn svg { flex: none; }
.btn--primary {
  padding-inline: 26px 6px;
  background: var(--gold-grad);
  color: #2a1a08;
  box-shadow: 0 8px 26px rgba(212, 162, 68, .22), inset 0 1px 0 rgba(255, 245, 210, .6), inset 0 -1px 0 rgba(120, 70, 10, .3);
}
.btn--primary:hover { filter: brightness(1.07); box-shadow: 0 12px 34px rgba(212, 162, 68, .34), inset 0 1px 0 rgba(255, 245, 210, .7), inset 0 -1px 0 rgba(120, 70, 10, .3); }
.btn__icon {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(42, 26, 8, .9);
  color: var(--gold);
}
.btn__icon svg { transition: transform .35s var(--ease-out); }
.btn:hover .btn__icon svg { transform: translateX(-3px); }
.btn--ghost {
  border: 1px solid var(--line);
  background: rgba(243, 233, 214, .03);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--line-gold); background: rgba(212, 162, 68, .08); }
.btn--ghost svg { color: var(--gold); }
.btn--sm { --btn-h: 42px; padding-inline: 20px; font-size: 14px; gap: 8px; }
.btn--primary.btn--sm { padding-inline: 22px; }
.btn--block { width: 100%; }
.magnetic { will-change: transform; }

.icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  color: var(--ink-80);
  transition: color .2s, background-color .2s;
}
.icon-btn:hover { color: var(--gold); background: var(--ink-06); }
.badge {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding-inline: 5px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  background: var(--crimson);
  color: #fff;
  box-shadow: 0 0 0 2px var(--bg);
  font-variant-numeric: tabular-nums;
}
.badge--gold { background: var(--gold-grad); color: #2a1a08; }
[data-wish-count].is-empty { display: none; }
[data-cart-count].is-empty { opacity: .85; }
.badge.is-bump { animation: badge-bump .5s var(--ease-out); }
@keyframes badge-bump { 40% { transform: scale(1.35); } }

/* ---------- preloader ---------- */
.preloader { display: none; }
html.js .preloader {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  background: var(--bg);
  color: var(--gold);
  transition: opacity .7s var(--ease-io), visibility 0s linear .7s;
  animation: failsafe-hide .6s ease 5s forwards;
}
html.js.is-loaded .preloader { opacity: 0; visibility: hidden; pointer-events: none; animation: none; }
.preloader__inner { display: grid; justify-items: center; gap: 14px; }
.preloader__knot { width: 96px; height: 96px; }
.preloader__ring { stroke-dasharray: 1; stroke-dashoffset: 1; animation: knot-draw 1.3s var(--ease-out) forwards; }
.preloader__ring:nth-child(2) { animation-delay: .15s; }
.preloader__ring:nth-child(3) { animation-delay: .3s; }
.preloader__label { font-size: 13px; font-weight: 600; color: var(--ink-60); margin-top: 6px; }
.preloader__count { font-size: 13px; font-weight: 600; color: var(--ink-40); font-variant-numeric: tabular-nums; min-width: 4ch; text-align: center; }
@keyframes knot-draw { to { stroke-dashoffset: 0; } }
@keyframes failsafe-hide { to { opacity: 0; visibility: hidden; pointer-events: none; } }
@keyframes failsafe-show { to { opacity: 1; transform: none; filter: none; } }
@keyframes failsafe-draw { to { stroke-dashoffset: 0; } }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(14, 12, 10, .82);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(212, 162, 68, .14);
  transition: background-color .4s var(--ease-io), box-shadow .4s var(--ease-io);
}
.site-header.is-scrolled { background: rgba(14, 12, 10, .94); box-shadow: 0 14px 40px rgba(0, 0, 0, .4); }
.header-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "brand . actions" "search search search";
  align-items: center;
  gap: 8px 16px;
  padding-block: 10px;
  transition: padding .4s var(--ease-out);
}
.brand { grid-area: brand; display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand__mark { width: 40px; height: 40px; flex: none; transition: transform 1s var(--ease-out); }
.brand:hover .brand__mark { transform: rotate(45deg); }
.brand__word { display: grid; justify-items: center; line-height: 1; font-family: var(--font); }
.brand__name {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: .14em;
  margin-inline-end: -.14em;
  background: var(--gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand__sub {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: .55em;
  margin-inline-end: -.55em;
  color: var(--gold);
}
.brand__sub::before, .brand__sub::after { content: ''; width: 14px; height: 1px; background: var(--gold); opacity: .7; }
.brand__sub::after { margin-inline-start: -.55em; }

.site-search {
  grid-area: search;
  position: relative;
  width: 100%;
}
.site-search input {
  width: 100%;
  height: 44px;
  padding: 0 46px 0 18px;
  border: 0;
  border-radius: var(--radius-pill);
  background: rgba(243, 233, 214, .05);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px;
  transition: box-shadow .25s var(--ease-io), background-color .25s var(--ease-io);
  -webkit-appearance: none;
  appearance: none;
}
.site-search input::-webkit-search-cancel-button { filter: grayscale(1) brightness(1.6); }
.site-search input:hover { box-shadow: inset 0 0 0 1px var(--ink-20); }
.site-search input:focus-visible { outline: none; background: rgba(243, 233, 214, .08); box-shadow: inset 0 0 0 1px var(--gold), 0 0 0 4px rgba(212, 162, 68, .16); }
.site-search__icon { position: absolute; top: 50%; right: 16px; transform: translateY(-50%); color: var(--gold); pointer-events: none; }

.header-actions { grid-area: actions; display: flex; align-items: center; gap: 2px; }
.nav-burger { margin-inline-start: 4px; box-shadow: inset 0 0 0 1px var(--line); }
.nav-burger__line {
  position: absolute;
  right: 13px; left: 13px;
  height: 1.6px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .4s var(--ease-out), opacity .3s, top .4s var(--ease-out);
}
.nav-burger__line:nth-child(1) { top: 15.5px; }
.nav-burger__line:nth-child(2) { top: 21.2px; }
.nav-burger__line:nth-child(3) { top: 27px; }
.nav-burger[aria-expanded="true"] .nav-burger__line:nth-child(1) { top: 21.2px; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] .nav-burger__line:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] .nav-burger__line:nth-child(3) { top: 21.2px; transform: rotate(-45deg); }

.main-nav-wrap { display: none; border-top: 1px solid rgba(212, 162, 68, .12); }
.main-nav ul { display: flex; align-items: center; justify-content: space-between; gap: 4px; padding-block: 8px; }
.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding-inline: 16px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: var(--ink-80);
  white-space: nowrap;
  transition: color .2s, background-color .2s;
}
.main-nav a svg { color: var(--gold); transition: transform .4s var(--ease-out); }
.main-nav a:hover { color: var(--ink); background: var(--ink-06); }
.main-nav a:hover svg { transform: translateY(-2px); }
.main-nav a.is-active {
  background: var(--gold-grad);
  color: #2a1a08;
  box-shadow: 0 6px 20px rgba(212, 162, 68, .22), inset 0 1px 0 rgba(255, 245, 210, .6);
}
.main-nav a.is-active svg { color: #2a1a08; }

@media (min-width: 1024px) {
  .header-top { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand search actions"; gap: 32px; padding-block: 14px; }
  .site-header.is-scrolled .header-top { padding-block: 8px; }
  .site-search { justify-self: center; max-width: 480px; }
  .brand__mark { width: 46px; height: 46px; }
  .brand__name { font-size: 26px; }
  .brand__sub { font-size: 9.5px; }
  .main-nav-wrap { display: block; }
  .nav-burger { display: none; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .main-nav a { padding-inline: 10px; font-size: 13.5px; gap: 6px; }
}

/* mobile menu (JS toggles [hidden]) */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 140px var(--gutter) max(28px, env(safe-area-inset-bottom));
  background: rgba(14, 12, 10, .96);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  overflow-y: auto;
  opacity: 0;
  transition: opacity .32s var(--ease-io);
}
.mobile-menu.is-open { opacity: 1; }
html:not(.js) .mobile-menu { opacity: 1; }
.mobile-menu__list { display: grid; gap: 2px; }
.mobile-menu__list li { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease-out), transform .55s var(--ease-out); }
.mobile-menu.is-open .mobile-menu__list li { opacity: 1; transform: none; transition-delay: calc(var(--d, 0ms) + 60ms); }
html.menu-open, html.drawer-open { overflow: hidden; }
.mobile-menu__list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 6px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  border-bottom: 1px solid var(--line);
}
.mobile-menu__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--gold); background: rgba(212, 162, 68, .08); box-shadow: inset 0 0 0 1px rgba(212, 162, 68, .2); }
.mobile-menu__list a.is-active { color: var(--gold-soft); }
.mobile-menu__foot { display: grid; gap: 14px; justify-items: start; }
.mobile-menu__addr { font-size: 13.5px; color: var(--ink-60); line-height: 1.8; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }

/* ==========================================================================
   HERO SLIDER
   ========================================================================== */
.hero { position: relative; padding-top: 16px; }
.hero-slider {
  position: relative;
  height: clamp(560px, 150vw, 660px);
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(70% 90% at 85% 40%, rgba(150, 90, 35, .22), transparent 70%),
    linear-gradient(180deg, #1d1814, #15110f);
  box-shadow: inset 0 0 0 1px rgba(212, 162, 68, .18), 0 30px 80px rgba(0, 0, 0, .45);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s var(--ease-io), visibility 0s linear .9s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s var(--ease-io), visibility 0s; }

/* media: top on mobile, the left ~60% on desktop, fading into the copy side */
.hero-slide__visual {
  position: absolute;
  inset: 0 0 auto 0;
  height: 54%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
}
.hero-slide__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transform-origin: 40% 60%;
  filter: saturate(1.04) contrast(1.03);
}
.hero-slide--photo .hero-slide__visual::after {
  /* vignette: hides the low-res edges and warms the photo into the page */
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(14, 12, 10, .55) 100%),
    linear-gradient(180deg, rgba(14, 12, 10, .15), transparent 30%);
  pointer-events: none;
}
/* portrait photo (low-res, tall): blurred cover backdrop + the sharp photo in an arched frame */
.hero-slide__backdrop {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  object-fit: cover;
  filter: blur(28px) saturate(1.1) brightness(.55);
}
.hero-slide--portrait .hero-slide__visual { display: grid; place-items: center; }
.hero-slide--portrait .hero-slide__media {
  position: relative;
  width: auto;
  height: 86%;
  aspect-ratio: 333 / 526;
  border-radius: 999px 999px 22px 22px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(212, 162, 68, .45), 0 0 0 10px rgba(14, 12, 10, .35), 0 0 0 11px rgba(212, 162, 68, .25);
  transform-origin: 50% 50%;
}
.hero-slide--portrait .hero-slide__visual::after { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero-slide.hero-slide--portrait.is-active .hero-slide__media { transform: scale(1.03); }
  .hero-slide.is-active .hero-slide__media { transform: scale(1.08); transition: transform 7s linear; }
}

/* weave slide: the generated carpet, tilted in 3D */
.hero-slide--weave .hero-slide__visual {
  display: grid;
  place-items: center;
  perspective: 1400px;
  -webkit-mask-image: none;
  mask-image: none;
  overflow: visible;
}
.hero-weave {
  height: 84%;
  aspect-ratio: .72;
  transform-style: preserve-3d;
  will-change: transform;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s var(--ease-out);
}
.hero-weave.is-tilting { transition: transform .12s linear; }
.hero-weave__stage { position: relative; height: 100%; transform: rotateX(12deg) rotateZ(-6deg); transform-style: preserve-3d; }
.hero-weave .carpet-frame { height: 100%; width: auto; }
.hero-weave__shadow {
  position: absolute;
  inset: 10% 8% -4% 8%;
  z-index: -1;
  border-radius: 20px;
  background: rgba(0, 0, 0, .7);
  filter: blur(30px);
  transform: translate3d(-12px, 24px, -40px);
}

.hero-slide__copy {
  position: absolute;
  inset: 48% 0 0 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 8px 24px 96px;
}
.hero-slide__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gold-soft);
  margin-bottom: 10px;
}
.hero-title {
  font-size: clamp(32px, 4.8vw, 66px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 10px 34px rgba(0, 0, 0, .45);
}
.hero-slide .ornament { margin-block: 12px 14px; width: 120px; height: 16px; }
.hero-lead {
  max-width: 26rem;
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.9;
  color: var(--ink-80);
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}
.hero-cta { margin-top: 26px; }

.flourish { position: absolute; z-index: 5; bottom: 0; color: var(--gold); opacity: .5; pointer-events: none; display: none; }
.flourish--bl { left: 0; }
.flourish--br { right: 0; transform: scaleX(-1); }

.hero-arrow {
  position: absolute;
  z-index: 6;
  top: 27%;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  color: var(--gold);
  background: rgba(14, 12, 10, .55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px var(--line-gold);
  transform: translateY(-50%);
  transition: background-color .25s, color .25s, transform .3s var(--ease-out);
}
.hero-arrow:hover { background: var(--gold); color: #2a1a08; }
.hero-prev { right: 14px; }
.hero-next { left: 14px; }
.hero-prev:hover svg { transform: translateX(2px); }
.hero-next:hover svg { transform: translateX(-2px); }
.hero-arrow svg { transition: transform .3s var(--ease-out); }

.hero-controls {
  position: absolute;
  z-index: 6;
  bottom: 58px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 8px 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(14, 12, 10, .5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(212, 162, 68, .18);
}
.hero-dots { display: flex; align-items: center; gap: 8px; }
.hero-dots button {
  width: 8px; height: 8px;
  border-radius: 4px;
  background: var(--ink-40);
  transition: width .45s var(--ease-out), background-color .3s;
}
.hero-dots button:hover { background: var(--ink-80); }
.hero-dots button.is-active,
.hero-dots button[aria-current="true"] { width: 28px; background: var(--gold-grad); }
.hero-pause {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  color: var(--ink-80);
  transition: color .2s, box-shadow .2s;
}
.hero-pause:hover { color: var(--gold); box-shadow: inset 0 0 0 1px var(--line-gold); }
.hero-pause__play { display: none; }
.hero-pause[aria-pressed="true"] .hero-pause__play { display: block; }
.hero-pause[aria-pressed="true"] .hero-pause__pause { display: none; }

@media (max-width: 767px) {
  /* keep the dots on the photo, clear of the CTA */
  .hero-controls { bottom: auto; top: 14px; }
}
@media (min-width: 768px) {
  .hero-slider { height: clamp(500px, calc(100svh - 190px), 640px); }
  .hero-slide__visual {
    inset: 0 auto 0 0;
    width: 62%;
    height: 100%;
    -webkit-mask-image: linear-gradient(to right, #000 52%, transparent 100%);
    mask-image: linear-gradient(to right, #000 52%, transparent 100%);
  }
  .hero-slide__copy { inset: 0 0 0 auto; width: 50%; justify-content: center; padding: 40px clamp(32px, 4vw, 64px) 90px; }
  .hero-arrow { top: 50%; width: 48px; height: 48px; }
  .hero-prev { right: 18px; }
  .hero-next { left: 18px; }
  .hero-controls { left: auto; right: 25%; transform: translateX(50%); bottom: 72px; }
  .hero-slide--weave .hero-slide__visual { inset: 0 auto 0 0; width: 62%; }
  .hero-weave { height: 74%; }
  .flourish { display: block; }
}
@media (min-width: 1024px) {
  .hero-slide__copy { width: 46%; padding-inline: 64px 88px; }
  .hero-controls { right: 23%; }
  .hero-slide__eyebrow { margin-bottom: 14px; }
}

/* hero entrance + per-slide copy stagger.
   main.js adds .hero.is-visible once loaded and sets --d (160ms + k*110ms) on .eyebrow/.hero-title/.ornament/.hero-lead/.hero-cta */
html.js .site-header { opacity: 0; transform: translateY(-12px); }
html.js .hero-slide__copy > * {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
  transition: opacity .3s var(--ease-io), transform .3s var(--ease-io), filter .3s var(--ease-io);
}
html.js .hero-controls, html.js .hero-arrow { opacity: 0; }
html.js:not(.is-loaded) .site-header,
html.js .hero:not(.is-visible) .hero-slide.is-active .hero-slide__copy > *,
html.js .hero:not(.is-visible) .hero-controls,
html.js .hero:not(.is-visible) .hero-arrow { animation: failsafe-show .6s ease 5s forwards; }
html.js.is-loaded .site-header,
html.js .site-header.is-visible { opacity: 1; transform: none; transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), background-color .4s, box-shadow .4s; }
html.js .hero.is-visible .hero-controls,
html.js .hero.is-visible .hero-arrow { opacity: 1; transition: opacity .8s var(--ease-out) .9s, background-color .25s, color .25s; }
html.js .hero.is-visible .hero-slide.is-active .hero-slide__copy > * {
  opacity: 1;
  transform: none;
  filter: none;
  transition: opacity .8s var(--ease-out), transform .9s var(--ease-out), filter .8s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
/* outgoing slide stays on top while fading for a smoother crossfade */
.hero-slide.is-prev { z-index: 1; }
.hero-slide.is-active { z-index: 2; }

/* carpet canvas boxes: fixed ratio = no layout shift */
.carpet-frame { position: relative; aspect-ratio: .7; isolation: isolate; }
.carpet-frame--hero { aspect-ratio: .72; }
.carpet-frame::before {
  content: '';
  position: absolute;
  inset: 5% 0;
  z-index: -1;
  border-radius: 4px;
  background:
    radial-gradient(closest-side, rgba(212, 162, 68, .55), rgba(212, 162, 68, .18) 38%, transparent 40%) center / 46% 34% no-repeat,
    linear-gradient(160deg, rgba(255, 255, 255, .06), transparent 40%),
    linear-gradient(var(--crimson), #7c1322);
  box-shadow: inset 0 0 0 6px #6c111e, inset 0 0 0 9px rgba(212, 162, 68, .55), inset 0 0 0 22px var(--indigo), inset 0 0 0 24px rgba(212, 162, 68, .5);
}
/* with JS the fallback is bare warp threads, so the weave fills an empty loom */
html.js .carpet-frame::before {
  background:
    linear-gradient(transparent, rgba(14, 12, 10, .6)),
    repeating-linear-gradient(90deg, rgba(239, 226, 196, .16) 0 1px, transparent 1px 6px);
  box-shadow: none;
}
.carpet-frame canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ==========================================================================
   FEATURES BAR (overlaps the hero)
   ========================================================================== */
.features { position: relative; z-index: 5; margin-top: -40px; }
.features__panel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(48, 39, 32, .78), rgba(28, 23, 20, .82));
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-rim), var(--glow);
  margin-inline: 8px;
}
.features__panel::-webkit-scrollbar { display: none; }
.feature {
  position: relative;
  flex: 0 0 46%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 22px 12px 20px;
}
.feature + .feature::before {
  content: '';
  position: absolute;
  right: 0;
  top: 22%;
  bottom: 22%;
  width: 1px;
  background: linear-gradient(transparent, rgba(212, 162, 68, .55), transparent);
}
.feature__icon { width: 40px; height: 40px; color: var(--gold); margin-bottom: 8px; }
.feature__title { font-size: 15px; font-weight: 800; line-height: 1.5; }
.feature__text { font-size: 12.5px; line-height: 1.6; color: var(--ink-60); }
html.js .feature__icon { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.js .feature.is-visible .feature__icon { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease-out); transition-delay: calc(var(--d, 0ms) + 250ms); }
html.js:not(.is-loaded) .feature__icon { animation: failsafe-draw .1s linear 5s forwards; }
@media (min-width: 640px) { .feature { flex-basis: 31%; } }
@media (min-width: 1024px) {
  .features { margin-top: -52px; }
  .features__panel { overflow: visible; margin-inline: 40px; }
  .feature { flex: 1 1 0; padding: 26px 14px 24px; }
  .feature__title { font-size: 16px; }
  .feature__text { font-size: 13px; }
}

/* ==========================================================================
   CATEGORIES
   ========================================================================== */
.categories .section-title--orn { margin-bottom: clamp(28px, 3.5vw, 44px); }
.cat-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1);
  padding: 8px var(--gutter) 14px;
  scroll-padding-inline: var(--gutter);
}
.cat-track::-webkit-scrollbar { display: none; }
.cat-item { flex: 0 0 min(64vw, 260px); scroll-snap-align: start; }
.cat-card {
  position: relative;
  display: block;
  aspect-ratio: 1.45;
  border-radius: var(--radius-sm);
  overflow: hidden;
  isolation: isolate;
  background: var(--bg-3);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .4);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.cat-card__media { position: absolute; inset: 0; z-index: -2; transition: transform .9s var(--ease-out); }
.cat-card__media canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 35%, rgba(12, 9, 8, .85) 100%);
}
.cat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(212, 162, 68, .45);
  pointer-events: none;
  transition: box-shadow .4s;
}
.cat-card__title { position: absolute; right: 16px; bottom: 12px; font-size: 18px; font-weight: 800; line-height: 1.4; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.cat-card__go {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  color: var(--gold);
  box-shadow: inset 0 0 0 1px rgba(212, 162, 68, .7);
  background: rgba(14, 12, 10, .4);
  transition: background-color .3s, color .3s;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(0, 0, 0, .5), 0 0 34px rgba(212, 162, 68, .16); }
.cat-card:hover .cat-card__media { transform: scale(1.06); }
.cat-card:hover::after { box-shadow: inset 0 0 0 1px rgba(242, 211, 140, .9); }
.cat-card:hover .cat-card__go { background: var(--gold); color: #2a1a08; }
@media (min-width: 768px) { .cat-item { flex-basis: 30%; } }
@media (min-width: 1024px) {
  .cat-track { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; overflow: visible; margin-inline: 0; padding: 8px 0 0; }
}

/* ==========================================================================
   FEATURED PRODUCTS (light panel)
   ========================================================================== */
.featured { position: relative; padding-bottom: clamp(56px, 7vw, 96px); }
.featured__panel {
  position: relative;
  color: var(--paper-ink);
  border-radius: 28px;
  padding: 28px 16px 26px;
  background: linear-gradient(180deg, rgba(244, 239, 230, .97), rgba(255, 253, 248, .98));
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(212, 162, 68, .45), inset 0 1px 0 #fff;
}
.featured__head { position: relative; display: grid; justify-items: center; gap: 8px; margin-bottom: 18px; }
.featured .section-title { color: var(--paper-ink); white-space: nowrap; }
.view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--paper-ink);
  padding-block: 4px;
  border-bottom: 1px solid rgba(42, 33, 27, .25);
  transition: color .2s, border-color .2s;
}
.view-all svg { transition: transform .35s var(--ease-out); }
.view-all:hover { color: #9a6b1f; border-color: #9a6b1f; }
.view-all:hover svg { transform: translateX(-3px); }
.product-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-inline: -16px;
  padding: 4px 16px 14px;
}
.product-filters::-webkit-scrollbar { display: none; }
.product-filters button {
  flex: none;
  height: 36px;
  padding-inline: 16px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--paper-ink);
  background: rgba(42, 33, 27, .04);
  box-shadow: inset 0 0 0 1px rgba(42, 33, 27, .14);
  transition: background-color .2s, box-shadow .2s, color .2s;
}
.product-filters button:hover { box-shadow: inset 0 0 0 1px rgba(154, 107, 31, .6); }
.product-filters button.is-active,
.product-filters button[aria-pressed="true"] { background: var(--gold-grad); color: #2a1a08; box-shadow: 0 4px 14px rgba(217, 154, 43, .3); }
.product-filters button:focus-visible, .featured__panel :focus-visible { outline-color: #9a6b1f; }

.product-carousel { position: relative; }
.product-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin-inline: -16px;
  padding: 6px 16px 10px;
  scroll-padding-inline: 16px;
  overscroll-behavior-x: contain;
}
.product-track::-webkit-scrollbar { display: none; }
.product-card {
  flex: 0 0 min(62vw, 240px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: 0 1px 0 rgba(42, 33, 27, .04), 0 10px 26px rgba(70, 45, 20, .10), inset 0 0 0 1px rgba(42, 33, 27, .07);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), opacity .35s var(--ease-io);
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(70, 45, 20, .16), inset 0 0 0 1px rgba(212, 162, 68, .5); }
.product-card.is-hidden { display: none; }
.product-card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  background: repeating-linear-gradient(90deg, rgba(42, 33, 27, .06) 0 1px, transparent 1px 6px), #ece4d4;
}
.product-card__media canvas { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .8s var(--ease-out); }
.product-card:hover .product-card__media canvas { transform: scale(1.04); }
.wish-toggle {
  position: absolute;
  top: 8px;
  left: 8px;
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  color: var(--paper-ink);
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
  transition: transform .25s var(--ease-out), color .2s;
}
.wish-toggle:hover { transform: scale(1.08); color: var(--crimson); }
.wish-toggle[aria-pressed="true"] { color: var(--crimson); --heart-fill: currentColor; }
.wish-toggle[aria-pressed="true"] svg { animation: badge-bump .45s var(--ease-out); }
.product-card__body { display: flex; flex-direction: column; flex: 1; padding: 12px 4px 2px; }
.product-card__title { font-size: 15px; font-weight: 800; line-height: 1.5; }
.product-card__size { font-size: 13px; color: var(--paper-muted); line-height: 1.6; }
.product-card__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }
.product-card__price { font-size: 14px; font-weight: 800; line-height: 1.4; font-variant-numeric: tabular-nums; }
.product-card__price span { font-size: 12px; font-weight: 500; color: var(--paper-muted); }
.product-card__price.is-fallback { color: #9a6b1f; font-size: 13.5px; }
.add-inquiry {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px; height: 40px;
  border-radius: 11px;
  color: #2a1a08;
  background: var(--gold-grad);
  box-shadow: 0 6px 14px rgba(217, 154, 43, .3), inset 0 1px 0 rgba(255, 245, 210, .7);
  transition: transform .2s var(--ease-out), filter .2s;
}
.add-inquiry:hover { filter: brightness(1.06); transform: translateY(-2px); }
.add-inquiry:active { transform: scale(.94); }
.add-inquiry.is-added { background: var(--paper-ink); color: var(--gold); }
.prod-arrow {
  position: absolute;
  z-index: 2;
  top: 38%;
  display: none;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  color: var(--gold);
  background: #1f1916;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .3), inset 0 0 0 1px var(--line-gold);
  transform: translateY(-50%);
  transition: background-color .2s, color .2s, opacity .2s;
}
.prod-arrow:hover { background: var(--gold); color: #2a1a08; }
.prod-arrow[disabled] { opacity: .35; cursor: default; }
.prod-prev { right: -22px; }
.prod-next { left: -22px; }
.products-empty { padding: 40px 16px; text-align: center; color: var(--paper-muted); }
.products-empty a { color: #9a6b1f; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 768px) {
  .featured__panel { padding: 30px 36px 32px; }
  .featured__head { grid-template-columns: 1fr auto 1fr; align-items: center; }
  .featured__head .section-title { grid-column: 2; }
  .view-all { grid-column: 3; justify-self: end; }
  .product-filters { justify-content: center; flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; }
  .product-track { margin-inline: 0; padding-inline: 2px; }
  .product-card { flex-basis: calc((100% - 2 * 14px) / 3); }
  .prod-arrow { display: grid; }
}
@media (min-width: 1024px) { .product-card { flex-basis: calc((100% - 3 * 16px) / 4); } .product-track { gap: 16px; } }
@media (min-width: 1200px) { .featured__panel { padding-inline: 56px; } .product-card { flex-basis: calc((100% - 4 * 16px) / 5); } }

/* ---------- slim marquee ---------- */
.marquee {
  overflow: hidden;
  padding-block: 18px;
  border-block: 1px solid rgba(212, 162, 68, .14);
  background: var(--bg-2);
}
.marquee__row {
  transform: skewX(var(--skew, 0deg));
  -webkit-mask-image: linear-gradient(to left, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to left, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 50s linear infinite; will-change: transform; }
.marquee__list { display: flex; flex: none; }
.marquee__item {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-inline-end: 28px;
  font-size: clamp(17px, 1.8vw, 24px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink-60);
  white-space: nowrap;
}
.marquee__item:nth-child(even) span { color: transparent; -webkit-text-stroke: .8px rgba(212, 162, 68, .8); }
@keyframes marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(50%, 0, 0); } }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about__grid { display: grid; gap: 64px; align-items: center; }
.about-copy .section-title { max-width: 18ch; margin-bottom: 32px; }
.reveal-words {
  font-size: clamp(20px, 2.1vw, 29px);
  line-height: 1.9;
  font-weight: 500;
  color: var(--ink);
  max-width: 38ch;
  text-wrap: pretty;
}
html.js .reveal-words .word { color: var(--ink-40); transition: color .35s var(--ease-io); }
html.js .reveal-words .word.is-lit { color: var(--ink); }
.about-points { display: grid; margin-top: 44px; max-width: 34rem; border-top: 1px solid var(--line); }
.about-points li { display: flex; align-items: center; gap: 14px; padding-block: 15px; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 500; color: var(--ink-80); }
.about-points .glyph { width: 12px; height: 12px; }
.about-media { position: relative; justify-self: center; width: min(76vw, 380px); }
.about-media::before {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 999px 999px 36px 36px;
  border: 1px solid var(--line-gold);
  pointer-events: none;
}
.about-media__arch {
  position: relative;
  aspect-ratio: 333 / 526;
  overflow: hidden;
  border-radius: 999px 999px 28px 28px;
  background: var(--bg-3);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .45), 0 0 60px rgba(212, 162, 68, .06);
}
.about-media__arch img { position: absolute; inset: -8% 0 auto; width: 100%; height: 116%; object-fit: cover; }
.about-media__arch::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 60%, rgba(14, 12, 10, .55)); }
.about-media__cap { display: grid; gap: 2px; margin-top: 28px; text-align: center; font-size: 13.5px; line-height: 1.6; color: var(--ink-60); }
@media (min-width: 1024px) {
  .about__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(56px, 8vw, 120px); }
  .about-media { width: 100%; max-width: 380px; }
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid rgba(212, 162, 68, .1); }
.services-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
.service-card {
  --mx: 50%;
  --my: 0%;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 28px 26px 30px;
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, rgba(48, 39, 32, .55), rgba(28, 23, 20, .5));
  box-shadow: var(--glass-rim);
  isolation: isolate;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(212, 162, 68, .16), transparent 55%);
  opacity: 0;
  transition: opacity .45s var(--ease-io);
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(242, 211, 140, .95), rgba(212, 162, 68, .3) 45%, transparent 75%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  transition: opacity .45s var(--ease-io);
  pointer-events: none;
}
.service-card:hover::before, .service-card:hover::after { opacity: 1; }
.service-card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: auto; padding-bottom: 48px; }
.service-card__icon {
  display: grid;
  place-items: center;
  width: 62px; height: 62px;
  border-radius: 18px;
  color: var(--gold);
  background: rgba(212, 162, 68, .08);
  box-shadow: inset 0 0 0 1px rgba(212, 162, 68, .25);
  transition: transform .5s var(--ease-out);
}
.service-card:hover .service-card__icon { transform: rotate(-6deg) scale(1.04); }
.service-card__index { font-size: 13px; font-weight: 600; color: var(--ink-40); font-variant-numeric: tabular-nums; }
.service-card__title { font-size: clamp(20px, 1.7vw, 24px); font-weight: 800; line-height: 1.4; margin-bottom: 10px; }
.service-card__text { font-size: 15px; line-height: 1.85; color: var(--ink-60); max-width: 32ch; }

/* ==========================================================================
   EXPORT BANNER
   ========================================================================== */
.export { padding-block: clamp(24px, 3vw, 40px) clamp(56px, 7vw, 96px); }
.export__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(60% 120% at 80% 50%, rgba(150, 90, 35, .2), transparent 70%),
    linear-gradient(180deg, #221c18, #181412);
  box-shadow: inset 0 0 0 1px rgba(212, 162, 68, .3), var(--glow);
}
.export__media { position: relative; height: 200px; overflow: hidden; z-index: -1; }
.export__media img {
  position: absolute;
  top: -15%;
  left: 0;
  width: 100%;
  height: 130%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 45%, transparent 100%);
}
.export__map { position: absolute; z-index: -1; width: 260px; height: 150px; color: var(--gold); opacity: .55; right: 50%; bottom: 20px; transform: translateX(50%); display: none; }
.export__dots { opacity: .45; }
.export__route { opacity: .7; }
.export__plane { color: var(--gold-soft); }
.export-plane.is-flying { filter: drop-shadow(0 0 6px rgba(242, 211, 140, .7)); }
.export__copy { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 4px 24px 32px; margin-top: -40px; }
.export__title {
  font-size: clamp(30px, 3.6vw, 52px);
  font-weight: 800;
  line-height: 1.3;
  background: var(--gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, .4));
}
.export__text { max-width: 26rem; font-size: clamp(15px, 1.3vw, 18px); color: var(--ink-80); line-height: 1.9; text-wrap: balance; }
.export__copy .btn { margin-top: 8px; }
@media (min-width: 768px) {
  .export__panel { flex-direction: row; min-height: 320px; align-items: center; }
  .export__media { position: absolute; inset: 0 auto 0 0; width: 58%; height: 100%; }
  .export__media img {
    height: 130%;
    -webkit-mask-image: linear-gradient(to right, #000 40%, transparent 100%);
    mask-image: linear-gradient(to right, #000 40%, transparent 100%);
  }
  .export__copy { width: 52%; margin: 0 0 0 auto; padding: 44px clamp(28px, 4vw, 64px); }
}
@media (min-width: 1024px) {
  .export__map { display: block; right: 46%; bottom: 50%; transform: translateY(50%); width: 240px; }
  .export__media { width: 50%; }
  .export__copy { width: 48%; }
}
@media (min-width: 1200px) { .export__map { right: 47%; width: 280px; height: 160px; } }

/* ==========================================================================
   PROCESS (sticky stacking cards)
   ========================================================================== */
.process__grid { display: grid; gap: 8px; }
.process-stack { display: grid; }
.process-card {
  position: sticky;
  top: calc(140px + var(--i, 0) * 14px);
  margin-bottom: 7vh;
  transform-origin: center top;
  transform: scale(var(--s, 1));
  filter: brightness(calc(1 - (1 - var(--s, 1)) * 3));
  will-change: transform;
}
.process-card:last-child { margin-bottom: 0; }
.process-card__inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 28px;
  align-items: start;
  min-height: 250px;
  padding: 30px 26px;
  border-radius: var(--radius-card);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(150, 90, 35, .22), transparent 55%),
    linear-gradient(180deg, #2a221d, #1d1815);
  box-shadow: inset 0 0 0 1px var(--line-gold), 0 -20px 50px rgba(0, 0, 0, .35);
  overflow: hidden;
}
.process-card__inner::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 5px;
  background: repeating-linear-gradient(90deg, rgba(212, 162, 68, .6) 0 6px, transparent 6px 12px);
  opacity: .45;
}
.process-card__num { font-size: clamp(54px, 6.6vw, 100px); font-weight: 300; line-height: .95; color: var(--gold); letter-spacing: -.02em; }
.process-card__body { align-self: end; padding-top: 12px; }
.process-card__title { font-size: clamp(21px, 2vw, 30px); font-weight: 800; line-height: 1.35; margin-bottom: 10px; }
.process-card__text { color: var(--ink-60); max-width: 34ch; font-size: 15.5px; line-height: 1.9; }
.process-card__glyph { position: absolute; top: 26px; left: 26px; width: 20px; height: 20px; opacity: .55; }
@media (max-width: 639px) {
  .process-card__inner { grid-template-columns: 1fr; min-height: 290px; }
  .process-card__body { padding-top: 24px; }
}
@media (min-width: 1024px) {
  .process__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(48px, 7vw, 110px); align-items: start; }
  .process__head { position: sticky; top: 180px; margin-bottom: 0; }
  .process-card { top: calc(170px + var(--i, 0) * 18px); margin-bottom: 14vh; }
  .process-card__inner { min-height: 300px; padding: 42px 38px; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { background: var(--bg-2); border-block: 1px solid rgba(212, 162, 68, .1); }
.faq__grid { display: grid; gap: 8px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item__h { font-size: inherit; font-weight: inherit; }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding-block: 24px;
  text-align: start;
  font-size: clamp(16.5px, 1.4vw, 20px);
  font-weight: 700;
  line-height: 1.6;
  transition: color .2s;
}
.faq-q:hover { color: var(--gold-soft); }
.faq-q__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  color: var(--gold);
  box-shadow: inset 0 0 0 1px var(--line-gold);
  transition: transform .45s var(--ease-out), background-color .3s, color .3s;
}
.faq-q[aria-expanded="true"] .faq-q__icon { transform: rotate(45deg); background: var(--gold-grad); color: #2a1a08; }
.faq-a { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .5s var(--ease-out), visibility 0s linear .5s; }
.faq-a__inner { min-height: 0; overflow: hidden; }
.faq-a p { padding-bottom: 26px; padding-inline-end: 64px; color: var(--ink-60); max-width: 60ch; }
.faq-item.is-open .faq-a,
.faq-item:has(.faq-q[aria-expanded="true"]) .faq-a { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .5s var(--ease-out), visibility 0s; }
html:not(.js) .faq-a { grid-template-rows: 1fr; visibility: visible; }
@media (max-width: 639px) { .faq-a p { padding-inline-end: 0; } }
@media (min-width: 1024px) {
  .faq__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(48px, 7vw, 110px); align-items: start; }
  .faq__head { position: sticky; top: 180px; margin-bottom: 0; }
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact__head { max-width: 40rem; }
.contact__grid { display: grid; gap: 20px; align-items: start; }
@media (min-width: 1024px) { .contact__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; } }
.contact-info { display: grid; gap: 28px; }
.contact-card,
.contact-form {
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, rgba(48, 39, 32, .5), rgba(28, 23, 20, .45));
  box-shadow: var(--glass-rim);
  padding: clamp(22px, 3vw, 38px);
}
.contact-card__phones { display: grid; margin-top: 10px; }
.contact-card__phones a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-block: 13px; border-bottom: 1px solid var(--line); transition: color .2s; }
.contact-card__phones a:hover { color: var(--gold-soft); }
.contact-card__k { font-size: 13px; font-weight: 600; color: var(--ink-60); }
.contact-card__v { font-size: clamp(21px, 2.2vw, 28px); font-weight: 700; line-height: 1.3; font-variant-numeric: tabular-nums; }
.contact-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.contact-card__addr { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.contact-card__addr address { display: grid; margin-top: 8px; font-size: 16px; line-height: 1.9; }
.contact-card__postal { margin-top: 8px; font-size: 14.5px; }
.contact-card__postal span[dir="ltr"] { font-variant-numeric: tabular-nums; }
.contact-card__maps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.biz-card {
  position: relative;
  justify-self: center;
  width: min(86%, 440px);
  margin-block: 8px 12px;
  transform-style: preserve-3d;
  will-change: transform;
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
.biz-card::after {
  /* glare follows --gx/--gy from the tilt script */
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  transform: rotate(-4deg);
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 240, 210, .22), transparent 55%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.biz-card.is-tilting::after { opacity: 1; }
html.no-tilt [data-tilt] { --rx: 0deg; --ry: 0deg; }
.biz-card img { border-radius: 14px; transform: rotate(-4deg); box-shadow: 0 30px 60px rgba(0, 0, 0, .5), 0 0 0 1px rgba(243, 233, 214, .08); }
.contact-form { display: grid; gap: 18px; }
@media (min-width: 640px) { .contact-form { grid-template-columns: 1fr 1fr; } }
.contact-form__title { grid-column: 1 / -1; font-size: clamp(21px, 2vw, 27px); font-weight: 800; line-height: 1.4; }
.contact-form__note { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin-top: -6px; font-size: 14px; line-height: 1.6; color: var(--gold-soft); }
.contact-form__note svg { color: var(--gold); flex: none; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-60); line-height: 1.4; }
.field input, .field select, .field textarea,
.newsletter-form input:not(.hp) {
  width: 100%;
  min-height: 52px;
  padding: 13px 18px;
  border: 0;
  border-radius: 16px;
  background: rgba(243, 233, 214, .05);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 16px;
  line-height: 1.6;
  transition: box-shadow .25s var(--ease-io), background-color .25s var(--ease-io);
}
.field input[dir="ltr"] { text-align: right; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:hover, .field select:hover, .field textarea:hover, .newsletter-form input:hover { box-shadow: inset 0 0 0 1px var(--ink-20); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible, .newsletter-form input:focus-visible {
  outline: none;
  background: rgba(243, 233, 214, .08);
  box-shadow: inset 0 0 0 1px var(--gold), 0 0 0 4px rgba(212, 162, 68, .16);
}
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-inline-end: 48px; cursor: pointer; }
.select select option { background: var(--bg-2); color: var(--ink); }
.select::after {
  content: '';
  position: absolute;
  left: 20px;
  top: 50%;
  width: 8px; height: 8px;
  border-left: 1.6px solid var(--gold);
  border-bottom: 1.6px solid var(--gold);
  transform: translateY(-70%) rotate(-45deg);
  pointer-events: none;
}
.hp { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }
.contact-form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 6px; }
button[disabled] { opacity: .6; cursor: progress; }
.form-status, .newsletter-status { font-size: 14px; line-height: 1.7; color: var(--ink-80); }
.form-status:empty, .newsletter-status:empty { display: none; }
.is-error { color: #f0a3a3 !important; }
.is-success { color: var(--gold-soft) !important; }

/* ==========================================================================
   NEWSLETTER
   ========================================================================== */
.newsletter { padding-bottom: clamp(48px, 6vw, 80px); }
.newsletter__bar {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 14px;
  padding: 26px 20px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(48, 39, 32, .7), rgba(28, 23, 20, .75));
  box-shadow: var(--glass-rim), var(--glow);
}
.newsletter__icon { width: 40px; height: 40px; color: var(--gold); flex: none; }
.newsletter__text { font-size: 15px; font-weight: 600; color: var(--ink-80); line-height: 1.7; }
.newsletter-form { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; width: 100%; }
.newsletter-form input:not(.hp) { flex: 1 1 220px; min-height: 46px; border-radius: var(--radius-pill); font-size: 14px; padding-inline: 20px; }
.newsletter-status { flex-basis: 100%; text-align: center; }
html.js .newsletter__icon { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.js .newsletter__bar.is-visible .newsletter__icon { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--ease-out) .3s; }
html.js:not(.is-loaded) .newsletter__icon { animation: failsafe-draw .1s linear 5s forwards; }
@media (min-width: 900px) {
  .newsletter__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    text-align: start;
    padding: 10px 28px 10px 10px;
    border-radius: var(--radius-pill);
  }
  .newsletter__text { flex: 1; }
  .newsletter-form { flex: 0 1 520px; flex-wrap: nowrap; }
  .newsletter-status { position: absolute; top: calc(100% + 14px); right: 0; text-align: start; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { position: relative; background: #0f0c0b; padding-bottom: max(26px, env(safe-area-inset-bottom)); }
.footer-border { display: grid; }
.footer-border::before {
  content: '';
  height: 16px;
  background: repeating-linear-gradient(90deg, rgba(239, 226, 196, .32) 0 1px, transparent 1px 5px);
  -webkit-mask-image: linear-gradient(transparent, #000);
  mask-image: linear-gradient(transparent, #000);
}
.footer-border__guard {
  height: 10px;
  background:
    repeating-linear-gradient(90deg, var(--gold) 0 5px, var(--crimson-deep) 5px 10px) top / 100% 5px no-repeat,
    repeating-linear-gradient(90deg, var(--crimson-deep) 0 5px, var(--gold) 5px 10px) bottom / 100% 5px no-repeat;
  opacity: .85;
}
.footer-border__main {
  height: 46px;
  border-block: 3px solid var(--indigo);
  background-color: #7a5a22;
  background-image:
    radial-gradient(circle, var(--ink) 0 2px, transparent 2.5px),
    linear-gradient(135deg, var(--crimson) 25%, transparent 25%),
    linear-gradient(225deg, var(--crimson) 25%, transparent 25%),
    linear-gradient(315deg, var(--crimson) 25%, transparent 25%),
    linear-gradient(45deg, var(--crimson) 25%, transparent 25%);
  background-size: 40px 40px;
  background-position: center;
}
.site-footer__grid { display: grid; gap: 36px; padding-top: clamp(48px, 6vw, 80px); padding-bottom: 40px; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__logo { grid-column: 1 / -1; } }
@media (min-width: 1024px) {
  .site-footer__grid { grid-template-columns: .9fr 1.4fr .9fr 1.3fr 1.1fr; gap: 0; }
  .site-footer__logo { grid-column: auto; }
  .site-footer__col { padding-inline: 24px; }
  .site-footer__col + .site-footer__col { border-right: 1px solid rgba(212, 162, 68, .14); }
  .site-footer__col:first-child { padding-inline-start: 0; }
  .site-footer__col:last-child { padding-inline-end: 0; }
}
.brand--stack { flex-direction: column; gap: 12px; }
.brand--stack .brand__mark { width: 64px; height: 64px; }
.brand--stack .brand__name { font-size: 28px; }
.brand--stack .brand__sub { font-size: 10px; }
.site-footer__logo { display: flex; justify-content: center; align-items: flex-start; }
.site-footer__h { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; color: var(--ink); margin-bottom: 14px; line-height: 1.5; }
.site-footer__hicon { color: var(--gold); }
.site-footer__about { font-size: 14px; line-height: 2; color: var(--ink-60); max-width: 34ch; }
.site-footer__links { display: grid; gap: 4px; }
.site-footer__links a { font-size: 14.5px; color: var(--ink-60); transition: color .2s; }
.site-footer__links a:hover { color: var(--gold-soft); }
.site-footer__addr { display: grid; gap: 2px; font-size: 14px; line-height: 1.9; color: var(--ink-80); }
.site-footer__addr .muted { margin-top: 6px; font-size: 13px; }
.site-footer__phones { display: grid; gap: 6px; }
.site-footer__phones a { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink-80); transition: color .2s; }
.site-footer__phones a svg { color: var(--gold); flex: none; }
.site-footer__phones a:hover { color: var(--gold-soft); }
.site-footer__social { display: flex; gap: 10px; margin-top: 18px; }
.social-btn {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  color: var(--gold);
  box-shadow: inset 0 0 0 1px var(--line-gold);
  transition: background-color .25s, color .25s, transform .3s var(--ease-out);
}
.social-btn:hover { background: var(--gold); color: #2a1a08; transform: translateY(-2px); }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-40); }
.back-to-top { display: inline-flex; align-items: center; gap: 12px; color: var(--ink-60); font-weight: 600; transition: color .2s; }
.back-to-top__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--gold); box-shadow: inset 0 0 0 1px var(--line-gold); transition: transform .35s var(--ease-out), background-color .3s, color .3s; }
.back-to-top:hover { color: var(--ink); }
.back-to-top:hover .back-to-top__icon { transform: translateY(-3px); background: var(--gold); color: #2a1a08; }

/* ==========================================================================
   INQUIRY DRAWER + TOAST
   ========================================================================== */
.inquiry-backdrop {
  position: fixed;
  inset: 0;
  z-index: 115;
  background: rgba(8, 6, 5, .6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .35s var(--ease-io);
}
html.drawer-open .inquiry-backdrop { opacity: 1; }
.inquiry-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  width: min(420px, 92vw);
  padding: 22px 22px max(22px, env(safe-area-inset-bottom));
  background: linear-gradient(180deg, #221c18, #171310);
  box-shadow: inset -1px 0 0 var(--line-gold), 30px 0 80px rgba(0, 0, 0, .5);
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(-105%);
  transition: transform .45s var(--ease-out);
}
.inquiry-drawer.is-open { transform: none; }
.inquiry-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.inquiry-drawer__title { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; line-height: 1.4; }
.inquiry-drawer__title svg { color: var(--gold); }
.inquiry-drawer__intro { margin-top: 14px; font-size: 13.5px; line-height: 1.8; color: var(--ink-60); }
.inquiry-list { display: grid; gap: 10px; margin-top: 18px; }
.inquiry-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(243, 233, 214, .04);
  box-shadow: inset 0 0 0 1px var(--line);
  animation: rise-in .4s var(--ease-out) both;
}
.inquiry-list li canvas, .inquiry-list li img { flex: none; width: 52px; height: 70px; border-radius: 8px; object-fit: cover; }
.inquiry-list li > div, .inquiry-item__info { flex: 1; min-width: 0; display: grid; line-height: 1.6; }
.inquiry-list strong, .inquiry-item__title { font-size: 14.5px; font-weight: 700; }
.inquiry-list small, .inquiry-item__size { font-size: 12.5px; color: var(--ink-60); }
.inquiry-list button, .inquiry-remove {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  color: var(--ink-60);
  transition: color .2s, background-color .2s;
}
.inquiry-list button:hover, .inquiry-remove:hover { color: #f0a3a3; background: rgba(240, 163, 163, .1); }
.inquiry-empty { margin-block: 28px; padding: 26px 16px; text-align: center; font-size: 14px; color: var(--ink-40); border-radius: 16px; border: 1px dashed var(--line); }
.inquiry-list:not(:empty) ~ .inquiry-empty { display: none; }
.inquiry-drawer__foot { display: grid; gap: 10px; margin-top: auto; padding-top: 22px; }
.inquiry-drawer__foot .btn--primary { justify-content: space-between; }

.toast {
  position: fixed;
  z-index: 130;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  max-width: calc(100vw - 32px);
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  background: rgba(34, 28, 24, .94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px var(--line-gold), 0 16px 40px rgba(0, 0, 0, .5);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 16px);
  transition: opacity .35s var(--ease-out), transform .45s var(--ease-out), visibility 0s linear .45s;
  pointer-events: none;
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .35s var(--ease-out), transform .45s var(--ease-out), visibility 0s; }

/* ==========================================================================
   GENERIC REVEALS
   ========================================================================== */
html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(8px);
  transition: opacity .9s var(--ease-out) var(--d, 0ms), transform .9s var(--ease-out) var(--d, 0ms), filter .9s var(--ease-out) var(--d, 0ms);
}
html.js .reveal-scale { opacity: 0; transform: scale(.94); transition: opacity 1s var(--ease-out) var(--d, 0ms), transform 1.1s var(--ease-out) var(--d, 0ms); }
html.js .reveal.is-visible, html.js .reveal-scale.is-visible { opacity: 1; transform: none; filter: none; }
html.js:not(.is-loaded) .reveal, html.js:not(.is-loaded) .reveal-scale { animation: failsafe-show .6s ease 5s forwards; }
html.js .biz-card.reveal.is-visible {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: opacity .9s var(--ease-out), filter .9s var(--ease-out), transform .6s var(--ease-out);
}
html.js .biz-card.reveal.is-visible.is-tilting { transition: opacity .9s, filter .9s, transform .12s linear; }
/* the featured panel must not stay blurred: filter would also soften canvases */
html.js .featured__panel.reveal { filter: none; }

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  html.js .preloader { display: none; }
  html.js .site-header,
  html.js .hero-slide__copy > *,
  html.js .hero-controls,
  html.js .hero-arrow,
  html.js .reveal,
  html.js .reveal-scale { opacity: 1; }
  html.js .feature__icon, html.js .newsletter__icon { stroke-dashoffset: 0; }
  .hero-slide__media { transform: none !important; }
  .marquee__track { animation: none !important; }
  .marquee__row { transform: none; }
  .process-card { transform: none; filter: none; }
  .cat-card:hover, .product-card:hover { transform: none; }
}

/* ---------- small screens / misc ---------- */
@media (max-width: 389px) {
  .brand__name { font-size: 19px; }
  .brand__mark { width: 36px; height: 36px; }
  .icon-btn { width: 40px; height: 40px; }
}
@media (hover: none) {
  .service-card::before, .service-card::after { display: none; }
}
@media print {
  .grain, .preloader, .site-header, .scroll-progress, .mobile-menu, .inquiry-drawer, .toast { display: none !important; }
  html, body { background: #fff; color: #000; }
}

/* ==========================================================================
   SKILL-GUIDED POLISH (ui-ux-pro-max + motionsites-web-builder review pass)
   - luxury display serif for the Latin wordmark, as in the owner's mockup
   - 44px minimum hit areas on small controls (ui-ux-pro-max: touch & interaction)
   - mobile weave slide: carpet no longer runs into the eyebrow / slider dots
   ========================================================================== */
.brand__name,
.brand__sub { font-family: 'Taleblo Wordmark', 'Cormorant Garamond', Georgia, serif; }
.brand__name { font-size: 27px; font-weight: 600; letter-spacing: .13em; margin-inline-end: -.13em; line-height: 1; }
.brand__sub { font-size: 10.5px; margin-top: 3px; }
@media (min-width: 1024px) {
  .brand__name { font-size: 33px; }
  .brand__sub { font-size: 11.5px; }
}
.brand--stack .brand__name { font-size: 38px; }
.brand--stack .brand__sub { font-size: 12.5px; }
@media (max-width: 389px) { .brand__name { font-size: 23px; } }

.hero-dots button { position: relative; }
.hero-dots button::before { content: ''; position: absolute; inset: -18px -4px; }
.hero-pause { position: relative; }
.hero-pause::before { content: ''; position: absolute; inset: -8px; }
.product-filters button { height: 40px; }
.wish-toggle { width: 40px; height: 40px; }
.add-inquiry { width: 44px; height: 44px; border-radius: 12px; }

@media (max-width: 767px) {
  .hero-slide--weave .hero-weave { height: 62%; margin-top: 2%; }
}

/* ==========================================================================
   V3 — owner's third design (docs/design-mockup-v3.webp)
   palette #0B0B0B / #1E1A14 / #D4A244 / #F5E8D3 / #FFFFFF, Vazirmatn, mirrored header,
   full-bleed hero, dark featured strip, "quality in the details" lens, "why Taleblo", mobile tab bar
   ========================================================================== */

/* ---- header: brand on the left, actions on the right (as drawn), text-only nav ---- */
.brand { flex-direction: row-reverse; }
.header-top { grid-template-columns: 44px minmax(0, 1fr) 44px; grid-template-areas: "cart brand burger" "search search search"; }
.header-actions { display: contents; }
.brand { justify-self: center; }
.wish-btn { display: none; }
.cart-btn { grid-area: cart; justify-self: start; }
.nav-burger { grid-area: burger; justify-self: end; margin: 0; }
.site-search { display: none; }
html.search-open .site-search { display: block; animation: fade-in .3s var(--ease-out); }
@media (min-width: 1024px) {
  .header-top { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "actions search brand"; }
  .header-actions { display: flex; grid-area: actions; gap: 6px; }
  .brand { justify-self: end; }
  .wish-btn { display: grid; }
  .cart-btn { order: -1; }
  .site-search { display: block; max-width: 560px; }
  .site-search input { height: 46px; background: rgba(245, 232, 211, .07); }
  .main-nav a svg { display: none; }
  .main-nav a { font-size: 14.5px; padding-inline: 18px; }
}

/* ---- hero: full-bleed photo like the design ---- */
.hero { padding-top: 0; }
.hero > .container { max-width: none; padding-inline: 0; }
.hero-slider { border-radius: 0; box-shadow: none; }
.hero-slider::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  z-index: 6;
  background: linear-gradient(90deg, transparent, rgba(212, 162, 68, .45), transparent);
  pointer-events: none;
}
@media (min-width: 768px) {
  .hero-slide__copy { align-items: flex-start; text-align: start; }
  .hero-title { background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .55)); }
}
.features__panel { background: linear-gradient(180deg, rgba(38, 32, 25, .9), rgba(16, 14, 11, .94)); }

/* ---- featured: ivory cards on the dark page (no light panel) ---- */
.featured__panel { background: none; box-shadow: none; color: var(--ink); padding: 0; border-radius: 0; }
.featured .section-title { color: var(--ink); }
.view-all { color: var(--gold-soft); border-color: rgba(212, 162, 68, .4); }
.view-all:hover { color: var(--gold); border-color: var(--gold); }
.product-filters button { color: var(--ink-80); background: rgba(245, 232, 211, .04); box-shadow: inset 0 0 0 1px var(--line); }
.product-filters button:hover { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(212, 162, 68, .55); }
.product-filters button:focus-visible, .featured__panel :focus-visible { outline-color: var(--gold); }
.product-card { background: #fbf4e8; box-shadow: 0 14px 34px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(212, 162, 68, .35); }
.product-card:hover { box-shadow: 0 22px 46px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(212, 162, 68, .8), 0 0 30px rgba(212, 162, 68, .12); }
.products-empty, .products-empty p { color: var(--ink-80); }

/* ---- quality in the details: woven close-up + magnifier ---- */
.quality { padding-block: clamp(8px, 2vw, 24px) clamp(24px, 4vw, 48px); }
.quality__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  background: #0b0b0b;
  box-shadow: var(--glass-rim), var(--glow);
}
.quality__media { position: relative; height: 280px; overflow: hidden; touch-action: pan-y; cursor: zoom-in; }
.quality__carpet { position: absolute; inset: 0; width: 100%; height: 100%; filter: saturate(1.05) brightness(.9); }
.quality__media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(120% 90% at 40% 50%, transparent 45%, rgba(11, 11, 11, .55)),
    linear-gradient(180deg, transparent 60%, #0b0b0b);
  pointer-events: none;
}
.quality__lens {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: clamp(150px, 40vw, 236px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  will-change: transform;
  background: #1e1a14;
  box-shadow: 0 0 0 3px #d4a244, 0 0 0 6px rgba(11, 11, 11, .55), 0 0 0 7px rgba(212, 162, 68, .35), 0 0 46px rgba(212, 162, 68, .45), 0 22px 50px rgba(0, 0, 0, .65);
  transition: opacity .7s var(--ease-io);
}
.quality__lens::after {
  /* glass glare */
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(60% 45% at 32% 22%, rgba(255, 255, 255, .28), transparent 60%), radial-gradient(closest-side, transparent 78%, rgba(0, 0, 0, .35));
}
.quality__lens-canvas { width: 100%; height: 100%; }
.quality__media.is-ready .quality__lens { opacity: 1; }
.quality__hint {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-60);
  transition: opacity .3s;
}
.quality__hint::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.quality__media.is-following .quality__hint { opacity: 0; }
.quality__copy { position: relative; z-index: 3; display: grid; justify-items: start; gap: 14px; padding: 4px 24px 32px; }
.quality__title { font-size: clamp(32px, 4.2vw, 56px); font-weight: 800; line-height: 1.3; }
.quality__title span { display: block; }
.quality__text { max-width: 22rem; font-size: clamp(15.5px, 1.4vw, 18px); line-height: 1.9; color: var(--ink-80); margin-bottom: 6px; }
.btn--outline {
  min-height: 48px;
  padding-inline: 30px;
  color: var(--gold-soft);
  background: rgba(212, 162, 68, .04);
  box-shadow: inset 0 0 0 1px var(--gold), 0 0 24px rgba(212, 162, 68, .12);
}
.btn--outline:hover { color: #1d1408; background: var(--gold-grad); box-shadow: 0 8px 26px rgba(212, 162, 68, .3); }
@media (min-width: 900px) {
  .quality__panel { flex-direction: row; align-items: center; min-height: 400px; }
  .quality__media { position: absolute; inset: 0 auto 0 0; width: 66%; height: auto; }
  .quality__media::after {
    background:
      radial-gradient(120% 90% at 40% 50%, transparent 50%, rgba(11, 11, 11, .45)),
      linear-gradient(to left, #0b0b0b 0%, rgba(11, 11, 11, .85) 14%, transparent 42%);
  }
  .quality__copy { width: 40%; margin-inline-start: 0; padding: 48px clamp(40px, 5vw, 72px); }
}

/* ---- why Taleblo: ivory panel with ornamental corners ---- */
.why { padding-block: clamp(16px, 3vw, 32px) 0; }
.why__panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 24px;
  padding: clamp(28px, 4vw, 44px) clamp(18px, 4vw, 64px) clamp(30px, 4vw, 44px);
  color: var(--paper-ink);
  background:
    radial-gradient(70% 90% at 50% 0%, #fffaf0, transparent 70%),
    linear-gradient(180deg, #f7ecdb, #f0e0c6);
  box-shadow: 0 0 0 1px rgba(212, 162, 68, .55), 0 30px 70px rgba(0, 0, 0, .45);
}
.why .section-title { color: var(--paper-ink); }
.why__corner { position: absolute; z-index: -1; width: clamp(80px, 12vw, 150px); height: auto; aspect-ratio: 1; color: #b5862f; opacity: .6; pointer-events: none; }
.why__corner--bl { left: 0; bottom: 0; }
.why__corner--br { right: 0; bottom: 0; transform: scaleX(-1); }
.why__corner--tl { left: 0; top: 0; transform: scaleY(-1); }
.why__corner--tr { right: 0; top: 0; transform: scale(-1, -1); }
.why__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 8px; }
.why__item { position: relative; display: grid; justify-items: center; align-content: start; gap: 2px; padding: 0 8px; text-align: center; }
.why__icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 12px;
  border-radius: 50%;
  color: #3b2a12;
  background: radial-gradient(circle at 50% 32%, #fffaf0, #f3deb2 72%);
  box-shadow: 0 0 0 1px rgba(212, 162, 68, .65), 0 0 0 7px rgba(212, 162, 68, .12), 0 12px 28px rgba(169, 122, 38, .35);
  transition: transform .5s var(--ease-out);
}
.why__item:hover .why__icon { transform: translateY(-4px); }
.why__title { font-size: 16.5px; font-weight: 800; line-height: 1.6; }
.why__text { font-size: 14px; line-height: 1.6; color: #6f5f4f; }
@media (min-width: 900px) {
  .why__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
  .why__item + .why__item::before {
    content: '';
    position: absolute;
    right: 0;
    top: 18%;
    bottom: 6%;
    width: 1px;
    background: linear-gradient(transparent, rgba(169, 122, 38, .45), transparent);
  }
}

/* ---- mobile bottom tab bar ---- */
.tabbar {
  position: fixed;
  inset-inline: 10px;
  bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 95;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 6px;
  border-radius: 22px;
  background: rgba(16, 13, 10, .9);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 0 0 1px rgba(212, 162, 68, .3), 0 14px 40px rgba(0, 0, 0, .6);
}
.tabbar__item {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 3px;
  min-height: 54px;
  padding: 4px 2px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink-80);
  transition: background-color .2s, color .2s;
}
.tabbar__item svg { color: var(--gold); }
.tabbar__item:active, .tabbar__item[aria-expanded="true"] { background: rgba(212, 162, 68, .12); color: var(--ink); }
.tabbar__item .badge { top: 3px; right: calc(50% - 22px); }
html.menu-open .tabbar, html.drawer-open .tabbar { opacity: 0; pointer-events: none; }
@media (max-width: 1023px) {
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(92px + env(safe-area-inset-bottom)); }
}
@media (min-width: 1024px) { .tabbar { display: none; } }
@media print { .tabbar { display: none !important; } }
.product-card { color: var(--paper-ink); }
@media (min-width: 768px) {
  .hero-slide__copy { padding-inline-start: max(96px, calc((100vw - var(--container)) / 2 + 24px)); }
}

/* ==========================================================================
   TELEGRAM PRODUCTS + NEW NAME
   - Persian site name «فرش طالب لو» in the wordmark, Latin TALEBLO CARPET underneath
   - photo product cards (sent from the Telegram bot), /products grid, product page
   ========================================================================== */

/* ---- wordmark ---- */
.brand__fa {
  font-family: var(--font);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
  background: var(--gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand__word .brand__sub { margin-top: 1px; font-size: 8px; letter-spacing: .3em; margin-inline-end: -.3em; }
.brand__word .brand__sub::before, .brand__word .brand__sub::after { display: none; }
@media (min-width: 1024px) {
  .brand__fa { font-size: 25px; }
  .brand__word .brand__sub { font-size: 9px; }
}
.brand--stack .brand__fa { font-size: 30px; }
.brand--stack .brand__word .brand__sub { font-size: 10.5px; }
@media (max-width: 389px) { .brand__fa { font-size: 18px; } }

/* ---- photo cards ---- */
.product-card { position: relative; }
.product-card__media--photo { background: #e6dccb; }
.product-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__count {
  position: absolute;
  bottom: 8px;
  right: 8px;
  padding: 1px 10px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.8;
  color: #fbf4e8;
  background: rgba(20, 14, 10, .62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.product-card__link::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius-sm); }
.product-card__link:focus-visible { outline: none; }
.product-card__link:focus-visible::after { outline: 2px solid var(--gold); outline-offset: 3px; }
.product-card .wish-toggle { z-index: 2; }
.product-card .add-inquiry { position: relative; z-index: 2; }
.product-card__title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.product-card__size { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 1.6em; }
.product-card__price { min-width: 0; }
.product-card__price--text { font-size: 13.5px; }

/* ---- product grid: /products page and «فرش‌های دیگر» ---- */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.product-grid .product-card { padding: 8px; }
.product-grid .add-inquiry { width: 40px; height: 40px; border-radius: 11px; }
@media (min-width: 640px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .product-grid .product-card { padding: 10px; }
}
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .product-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; } }

/* ---- sub pages ---- */
.subpage main { min-height: 60vh; }
.crumbs { margin-bottom: 20px; font-size: 13.5px; line-height: 1.8; color: var(--ink-60); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; }
.crumbs li { min-width: 0; }
.crumbs li:not(:last-child)::after { content: '/'; margin-inline: 10px; color: var(--ink-40); }
.crumbs a { color: var(--ink-80); transition: color .2s; }
.crumbs a:hover { color: var(--gold); }
.crumbs [aria-current] { display: inline-block; max-width: 62vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; color: var(--gold-soft); }
.catalog { padding-top: clamp(24px, 4vw, 44px); }
.catalog__head { display: grid; justify-items: center; gap: 2px; margin-bottom: 18px; }
.catalog__count { font-size: 13.5px; color: var(--ink-60); }
.catalog .product-filters { margin-bottom: 10px; }

/* ---- product page ---- */
.pdp { padding-block: clamp(20px, 4vw, 44px) clamp(48px, 6vw, 80px); }
.pdp__grid { display: grid; gap: 28px; }
@media (min-width: 900px) {
  .pdp__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
  .pdp-gallery { position: sticky; top: 140px; }
}
.pdp-gallery__stage {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #15110d;
  box-shadow: var(--glow);
}
.pdp-gallery__stage::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--line-gold);
  pointer-events: none;
}
.pdp-gallery__backdrop {
  position: absolute;
  inset: -24px;
  width: calc(100% + 48px);
  height: calc(100% + 48px);
  max-width: none;
  object-fit: cover;
  filter: blur(26px) brightness(.42) saturate(1.15);
}
.pdp-gallery__zoom { position: absolute; inset: 0; display: block; cursor: zoom-in; }
.pdp-gallery__img { width: 100%; height: 100%; object-fit: contain; transition: opacity .25s var(--ease-io); }
.pdp-gallery__img.is-swapping { opacity: .3; }
.pdp-gallery .wish-toggle { top: 14px; left: 14px; z-index: 2; }
.pdp-gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  color: var(--gold);
  background: rgba(14, 12, 10, .6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px var(--line-gold);
  transform: translateY(-50%);
  transition: background-color .2s, color .2s;
}
.pdp-gallery__nav:hover { background: var(--gold); color: #2a1a08; }
.pdp-gallery__prev { right: 12px; }
.pdp-gallery__next { left: 12px; }
.pdp-gallery__counter {
  position: absolute;
  bottom: 12px;
  left: 50%;
  z-index: 2;
  padding: 1px 12px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--ink);
  background: rgba(14, 12, 10, .62);
  transform: translateX(-50%);
  pointer-events: none;
}
.pdp-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; padding: 4px; }
.pdp-gallery__thumbs::-webkit-scrollbar { display: none; }
.pdp-thumb { display: block; width: 72px; height: 72px; flex: none; border-radius: 12px; overflow: hidden; opacity: .55; transition: opacity .2s, outline-color .2s; outline: 2px solid transparent; outline-offset: 2px; }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumb:hover { opacity: .85; }
.pdp-thumb.is-active { opacity: 1; outline-color: var(--gold); }
.pdp-gallery__thumbs li { flex: none; }

.pdp-info__code { font-size: 13px; color: var(--ink-60); }
.pdp-info__code span { color: var(--gold-soft); font-weight: 700; }
.pdp-info__title { margin-top: 4px; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.4; font-weight: 800; text-wrap: balance; }
.pdp-info .ornament { margin-block: 12px 10px; }
.pdp-info__price { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.5; font-weight: 800; color: var(--gold-soft); font-variant-numeric: tabular-nums; }
.pdp-info__price span { font-size: .6em; font-weight: 600; color: var(--ink-60); }
.pdp-info__price--text { font-size: 20px; }
.pdp-info__price.is-fallback { font-size: 20px; color: var(--gold); }
.pdp-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 22px 0 0; }
.pdp-specs div { padding: 10px 16px; border-radius: 16px; background: rgba(245, 232, 211, .04); box-shadow: inset 0 0 0 1px var(--line); }
.pdp-specs dt { font-size: 12.5px; line-height: 1.7; color: var(--ink-60); }
.pdp-specs dd { margin: 0; font-size: 15.5px; line-height: 1.7; font-weight: 700; }
.pdp-info__desc { margin-top: 22px; color: var(--ink-80); white-space: pre-line; line-height: 2.05; max-width: 62ch; overflow-wrap: anywhere; }
.pdp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pdp-actions .btn { flex: 1 1 auto; }
.pdp-actions .add-inquiry--wide {
  width: auto;
  height: auto;
  min-height: var(--btn-h);
  padding: 6px 24px;
  gap: 10px;
  display: inline-flex;
  border-radius: var(--radius-pill);
  color: var(--ink);
  background: rgba(243, 233, 214, .03);
  box-shadow: none;
}
.pdp-actions .add-inquiry--wide:hover { transform: none; }
.add-inquiry__on { display: none; }
.pdp-actions .add-inquiry--wide.is-added { color: var(--gold-soft); background: rgba(212, 162, 68, .12); border-color: var(--line-gold); }
.add-inquiry--wide.is-added .add-inquiry__on { display: inline; }
.add-inquiry--wide.is-added .add-inquiry__off { display: none; }
@media (max-width: 599px) { .pdp-actions .btn { width: 100%; } }
.pdp-info__visit { display: flex; align-items: flex-start; gap: 10px; margin-top: 22px; font-size: 13.5px; line-height: 1.9; color: var(--ink-60); }
.pdp-info__visit svg { flex: none; margin-top: 3px; color: var(--gold); }
.related { padding-top: 0; }
