
:root {
  --wine: #2c0710;
  --burgundy: #6e1124;
  --gold: #c9a266;
  --gold-soft: #ead7b3;
  --blush: #fcf3f1;
  --petal: #f5dfdc;
  --ink: #2a1216;
  --muted: #7b5a5f;
  --wa: #1c7c46;
  --line: #d9b9bb;
  --display: 'Bodoni Moda', 'Times New Roman', serif;
  --body: 'Readex Pro', system-ui, sans-serif;
  --wrap: 70rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --ease: cubic-bezier(.22, .8, .2, 1);
}
html[lang='ar'] { --display: 'Aref Ruqaa', 'Bodoni Moda', serif; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--blush); color: var(--ink); font: 400 1.0625rem/1.7 var(--body); }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
h1, h2 { font-family: var(--display); font-weight: 400; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); line-height: 1.15; }
h2 { font-size: clamp(1.8rem, 4.5vw, 2.7rem); line-height: 1.2; }
html[lang='ar'] :is(h1, h2) { line-height: 1.5; }
p { margin: 0; }
[hidden] { display: none !important; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sub { color: var(--muted); max-width: 38rem; margin-block-start: .5rem; }
.hint, .note { font-size: .85rem; line-height: 1.6; color: var(--muted); }
.num { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.on-dark { background: var(--wine); color: var(--gold-soft); }
.section { padding-block: clamp(3rem, 7vw, 5rem); }
.page-head { padding-block-start: clamp(2rem, 5vw, 3.5rem); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 2.9rem; padding: .55rem 1.3rem; border-radius: 999px; cursor: pointer;
  font: 500 1rem/1.2 var(--body); text-decoration: none; text-align: center;
  border: 1px solid transparent; transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #155f35; }
.btn-gold { background: var(--gold); color: var(--wine); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-line { background: none; color: var(--burgundy); border-color: currentColor; }
.btn-line:hover { background: var(--burgundy); border-color: var(--burgundy); color: #fff; }
.on-dark .btn-line { color: var(--gold-soft); }
.on-dark .btn-line:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--wine); }
.btn:disabled { opacity: .45; cursor: default; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-block-start: 1.5rem; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; flex: none; }
.stepper button { width: 2.6rem; height: 2.6rem; border: 0; border-radius: 50%; background: none; font-size: 1.3rem; line-height: 1; color: var(--burgundy); cursor: pointer; touch-action: manipulation; }
.stepper button:hover { background: var(--petal); }
.stepper output { min-width: 1.9rem; text-align: center; font: 500 1.1rem/1 'Bodoni Moda', serif; font-variant-numeric: tabular-nums; }
.top { display: flex; align-items: center; gap: 1.25rem; padding-block: .9rem; }
.mark { text-decoration: none; display: flex; align-items: center; gap: .55rem; white-space: nowrap; }
.mark img { width: auto; height: 2.9rem; }
.mark > span { display: flex; flex-direction: column; line-height: 1.1; }
.mark-en { font: 400 1.6rem/1 'Bodoni Moda', serif; letter-spacing: .02em; color: #fff8ee; }
.mark-ar { font: 400 .95rem/1.6 'Aref Ruqaa', serif; color: var(--gold); }
html[lang='en'] .mark-ar { font: 400 .8rem/1.6 var(--body); }
.nav { display: flex; gap: 1.5rem; margin-inline-start: auto; font-size: .95rem; }
.nav a { display: inline-flex; align-items: center; gap: .4rem; padding-block: .25rem; text-decoration: none; white-space: nowrap; border-block-end: 1px solid transparent; }
.nav a:hover, .nav a[aria-current] { border-block-end-color: var(--gold); color: #fff8ee; }
.lang { font-size: .88rem; text-decoration: none; padding: .25rem .8rem; border: 1px solid rgba(234, 215, 179, .4); border-radius: 999px; }
.lang:hover { border-color: var(--gold); }
.count { min-width: 1.35rem; height: 1.35rem; padding-inline: .35rem; border-radius: 999px; background: var(--gold); color: var(--wine); font: 600 .75rem/1.35rem var(--body); text-align: center; }
.count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.5); } }
.tabs { display: none; }
@media (max-width: 22.5rem) { .nav, .lang { font-size: .8rem !important; } .lang { padding-inline: .45rem !important; } }
@media (max-width: 26rem) { html[lang='en'] .mark-ar { display: none; } }   
@media (max-width: 52rem) {
  .nav a:not(.n-about) { display: none; }
  .top { gap: clamp(.4rem, 2.4vw, .9rem); }
  .mark { gap: .4rem; }
  .mark img { height: clamp(2rem, 10vw, 2.6rem); }       
  .mark-en { font-size: clamp(1.05rem, 5.2vw, 1.45rem); }
  .nav { font-size: .9rem; }
  .lang { padding-inline: .6rem; }
  .tabs { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 20;
          border-block-start: 1px solid #5a1525; padding-block-end: env(safe-area-inset-bottom); }
  .tabs a { position: relative; display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .55rem .2rem .5rem;
            font-size: .72rem; line-height: 1.3; text-decoration: none; color: rgba(234, 215, 179, .75); }
  .tabs a[aria-current] { color: #fff8ee; }
  .tabs svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
  .tabs a[aria-current] svg { stroke: var(--gold); }
  .tabs .count { position: absolute; inset-block-start: .3rem; inset-inline-start: calc(50% + .3rem); }
  body { padding-block-end: calc(3.9rem + env(safe-area-inset-bottom)); }
}
.hero-bg { background: radial-gradient(110% 80% at 50% 45%, #4b0d1c 0%, var(--wine) 62%); }
.hero { display: grid; gap: 2.5rem; padding-block: 1.5rem 3.5rem; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 7vw, 4.3rem); line-height: 1.08; color: #fff8ee; }
html[lang='ar'] .hero h1 { line-height: 1.45; font-size: clamp(2.3rem, 7vw, 4rem); }
.hero .lead { margin-block-start: 1.25rem; max-width: 30rem; font-size: 1.125rem; }
.arch { margin: 0 auto; width: min(100%, 21rem); }
.arch-frame { border: 1px solid var(--gold); border-radius: 999px 999px 10px 10px; padding: 7px; }
.arch-frame video { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 999px 999px 5px 5px; background: #1a0409; }
.arch figcaption { margin-block-start: .9rem; font-size: .9rem; line-height: 1.6; text-align: center; }
.arch figcaption a { color: #fff8ee; white-space: nowrap; }
.chapters { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem;
            font-size: .72rem; line-height: 1.45; text-align: center; color: rgba(234, 215, 179, .55); }
.chapters li { position: relative; padding-block-start: .55rem; border-block-start: 2px solid rgba(234, 215, 179, .18); transition: color .3s; }
.chapters li::before { content: ''; position: absolute; inset-block-start: -2px; inset-inline-start: 0; height: 2px;
                       width: calc(var(--p, 0) * 100%); background: var(--gold); transition: width .28s linear; }
.chapters li.on { color: #fff8ee; }
.chapters li.done::before { width: 100%; }
@media (min-width: 52rem) { .hero { grid-template-columns: 1.15fr .85fr; gap: 4rem; padding-block: 3rem 5rem; } }
.real { padding-block: clamp(3rem, 7vw, 5rem) 0; }
.facts { margin: 1.75rem 0 0; display: grid; gap: 1.25rem; }
.facts div { border-block-start: 1px solid var(--line); padding-block-start: 1rem; }
.facts dt { font: 400 2rem/1.2 var(--display); color: var(--burgundy); }
html[lang='ar'] .facts dt { line-height: 1.5; }
.facts dd { margin: 0; color: var(--muted); }
@media (min-width: 52rem) { .facts { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
@media (max-width: 52rem) { .facts div { display: flex; align-items: baseline; gap: .9rem; } .facts dt { font-size: 1.6rem; min-width: 7rem; } }
.head-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.head-row a { color: var(--burgundy); text-underline-offset: 4px; white-space: nowrap; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 1rem; margin-block-start: 2rem; }
@media (min-width: 52rem) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3.5rem 2rem; } .grid.small { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem 1.5rem; } }
.card { display: flex; flex-direction: column; }
.card-img { position: relative; display: block; overflow: hidden; border-radius: 4px; background: var(--petal); }
.badge { position: absolute; inset-block-start: .6rem; inset-inline-start: .6rem; padding: .1rem .65rem; border-radius: 999px; background: var(--burgundy); color: #fff; font-size: .78rem; }
.card.is-out img { opacity: .6; }
.btn.off { border-style: dashed; opacity: .65; cursor: default; }
.btn.off:hover { background: none; color: var(--burgundy); border-color: currentColor; }
.card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .5s var(--ease); }
.card-img:hover img { transform: scale(1.03); }
.card :is(h2, h3) { font: 500 1.0625rem/1.4 var(--body); margin: .9rem 0 0; }
.card :is(h2, h3) a { text-decoration: none; }
.card .desc { color: var(--muted); font-size: .9rem; line-height: 1.6; margin-block-start: .25rem; }
.price { color: var(--burgundy); font-size: .9rem; margin-block: auto .8rem; padding-block-start: .6rem; }
.price b { font: 500 1.75rem/1 'Bodoni Moda', serif; margin-inline-end: .15rem; }
.price s { margin-inline-end: .35rem; color: var(--muted); font-size: 1.05rem; }
.price .from { color: var(--muted); }
.card .btn { min-height: 2.6rem; padding-inline: .8rem; font-size: .9rem; }
.card .ask { margin-block-start: auto; }
.grid.small h3 { font-weight: 400; font-size: .95rem; margin-block-end: .7rem; }
@media (min-width: 52rem) { .grid.featured > :nth-child(4) { display: none; } }   
.stems-bg { background: var(--petal); }
.teaser { display: grid; gap: 2.5rem; align-items: center; }
.teaser .btn { margin-block-start: 1.5rem; }
.thumbs { display: flex; flex-wrap: wrap; gap: .7rem; }
.thumbs img { width: clamp(4rem, 19vw, 6.2rem); aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.stems-bg .arch-frame { border-color: #b98f93; }
.stems-bg .arch figcaption, .about .arch figcaption { color: var(--muted); }
.about .arch-frame { border-color: #b98f93; }
.about h2 { margin-block-start: 2.5rem; font-size: 1.8rem; }
.about p { margin-block-start: .9rem; max-width: 34rem; }
.lede { font-size: 1.2rem; }
.motto { font: 400 1.7rem/1.6 var(--display); color: var(--burgundy); }
.services { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem 2.4rem; font: 400 1.5rem/1.7 var(--display); color: var(--burgundy); }
.also { margin-block-start: 2rem; max-width: 40rem; }
.section > .also:only-child { margin: 0; }
@media (min-width: 52rem) { .teaser { grid-template-columns: 1.2fr .8fr; gap: 4rem; } }
.toast { position: fixed; z-index: 40; inset-inline: var(--gutter); inset-block-end: calc(4.7rem + var(--lift, 0rem) + env(safe-area-inset-bottom)); max-width: 25rem; margin-inline: auto;
         display: grid; grid-template-columns: 3.6rem minmax(0, 1fr) auto; gap: .75rem .85rem; align-items: start; padding: .9rem;
         border: 1px solid rgba(201, 162, 102, .55); border-radius: 14px; box-shadow: 0 18px 44px rgba(20, 4, 8, .4);
         opacity: 0; visibility: hidden; transform: translateY(1rem); transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
.toast.show { opacity: 1; visibility: visible; transform: none; }
.toast img { width: 3.6rem; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.toast-text { display: flex; flex-direction: column; font-size: .9rem; line-height: 1.5; }
.toast-text b { font-weight: 500; color: #fff8ee; }
.toast-text b::before { content: '✓'; margin-inline-end: .4rem; color: var(--gold); }
.toast-price { color: var(--gold); }
.toast-x { width: 2.2rem; height: 2.2rem; margin: -.35rem; border: 0; border-radius: 50%; background: none; color: inherit; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.toast-actions { grid-column: 1 / -1; display: flex; gap: .6rem; }
.toast-actions .btn { flex: 1; min-height: 2.6rem; padding-inline: .6rem; font-size: .9rem; }
@media (min-width: 52rem) { .toast { inset-block: 5.6rem auto; inset-inline: auto var(--gutter); width: 25rem; margin: 0; transform: translateY(-.6rem); } }
@media (prefers-reduced-motion: reduce) { .toast { transition: none; transform: none; } }
.voice-grid { display: grid; gap: 1rem; margin-block-start: 2rem; }
.voice { margin: 0; padding: 1.5rem; display: flex; flex-direction: column; gap: .8rem; background: #fff; border: 1px solid var(--petal); border-radius: 14px; }
.voice blockquote { margin: 0; line-height: 1.8; overflow-wrap: anywhere; }
.voice figcaption { margin-block-start: auto; display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .7rem; font-size: .9rem; }
.voice figcaption span { color: var(--muted); }
.stars { color: var(--gold); font-size: 1.05rem; line-height: 1; letter-spacing: .12em; }
.stars i { font-style: normal; color: var(--line); }
@media (min-width: 40rem) { .voice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .voice-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.75rem; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 3rem 1fr; column-gap: 1rem; }
.steps li::before { content: counter(s); font: 400 2.6rem/1 'Bodoni Moda', serif; color: var(--gold); grid-row: span 2; }
.steps b { font: 400 1.45rem/1.4 var(--display); color: #fff8ee; }
.steps span { grid-column: 2; }
.paynote { margin-block-start: 2rem; font-size: .95rem; color: var(--gold); }
@media (min-width: 52rem) { .steps { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.visit { display: grid; gap: 2rem; }
.visit address { font-style: normal; margin-block-start: 1rem; }
.visit .hours { color: var(--muted); }
.links { display: flex; flex-wrap: wrap; gap: .75rem; align-content: start; }
@media (min-width: 52rem) { .visit { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; } }
.foot { padding-block: 2.5rem; display: flex; flex-wrap: wrap; gap: 1.2rem 3rem; align-items: center; justify-content: space-between; font-size: .9rem; }
.foot .line { display: block; font: 400 1.25rem/1.6 var(--display); color: #fff8ee; }
.foot-credit { flex-basis: 100%; padding-block-start: 1.1rem; border-block-start: 1px solid rgba(234, 215, 179, .16); font-size: .8rem; text-align: center; color: rgba(234, 215, 179, .7); }
.foot-credit a { color: var(--gold-soft); text-underline-offset: 3px; }
.foot-links { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; }
.foot-links a { text-underline-offset: 3px; }
.foot-pages { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; margin-inline-end: .7rem; }
@media (max-width: 30rem) { .foot-pages { flex-basis: 100%; } }   
.ico { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid rgba(201, 162, 102, .45); border-radius: 50%;
       color: var(--gold-soft); transition: background .2s, border-color .2s, color .2s; }
.ico:hover { background: var(--gold); border-color: var(--gold); color: var(--wine); }
.ico svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.product { display: grid; gap: 1.75rem; padding-block: 1.25rem 1rem; }
.shots > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; background: var(--petal); }
.thumbrow { display: flex; gap: .5rem; margin-block-start: .6rem; }
.thumbrow button { width: 4.2rem; padding: 0; border: 2px solid transparent; border-radius: 6px; background: none; overflow: hidden; cursor: pointer; }
.thumbrow button[aria-current] { border-color: var(--burgundy); }
.thumbrow img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.crumb { display: flex; gap: .7rem; font-size: .85rem; color: var(--muted); margin-block-end: .6rem; }
.info .desc { margin-block-start: .6rem; max-width: 30rem; }
.price.big { margin-block: 1.25rem 0; padding: 0; font-size: 1rem; }
.price.big b { font-size: 2.8rem; }
.buy { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-block: 1rem 1.75rem; }
.out { margin-block: .8rem 0; font-weight: 500; color: var(--burgundy); }
#shot { cursor: zoom-in; }
.sizes { margin: 1.1rem 0 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.sizes legend { padding: 0; margin-block-end: .45rem; font-size: .85rem; color: var(--muted); }
.sizes label { position: relative; cursor: pointer; }
.sizes input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.sizes span { display: inline-flex; align-items: baseline; gap: .5rem; padding: .5rem 1.05rem; border: 1px solid var(--line); border-radius: 999px; }
.sizes b { font-weight: 500; color: var(--burgundy); }
.sizes input:checked + span { border-color: var(--burgundy); background: var(--petal); }
.sizes input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(20, 4, 8, .94); place-items: center; }
.lightbox[open] { display: grid; }
.lightbox::backdrop { background: rgba(20, 4, 8, .94); }
.lightbox img { max-width: 96vw; max-height: 94vh; object-fit: contain; cursor: zoom-out; }
.buybar { position: fixed; z-index: 19; inset-inline: 0; inset-block-end: calc(3.9rem + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: .8rem;
          padding: .55rem var(--gutter); border-block-start: 1px solid #5a1525; }
.buybar[hidden] { display: none; }
.buybar span { display: flex; flex-direction: column; min-width: 0; margin-inline-end: auto; font-size: .85rem; line-height: 1.45; }
.buybar b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; color: #fff8ee; }
.buybar i { font-style: normal; color: var(--gold); }
.buybar .btn { min-height: 2.6rem; padding-inline: 1.1rem; font-size: .9rem; white-space: nowrap; }
@media (min-width: 52rem) { .buybar { display: none; } }   
.notes { list-style: none; margin: 0; padding: 0; border-block-start: 1px solid var(--petal); font-size: .92rem; color: var(--muted); }
.notes li { padding-block: .6rem; border-block-end: 1px solid var(--petal); }
@media (min-width: 52rem) { .product { grid-template-columns: minmax(0, 26rem) minmax(0, 1fr); gap: 4rem; align-items: start; padding-block: 3rem 1rem; } }
.build-head { padding-block-end: 1.25rem; }
.builder { display: grid; gap: .5rem; padding-block-end: 3rem; }
.stage { position: sticky; inset-block-start: 0; z-index: 5; margin-inline: calc(var(--gutter) * -1); padding: .7rem var(--gutter) .8rem;
         display: grid; grid-template-columns: 8.4rem 1fr; gap: 0 1rem; align-items: center; border-radius: 0 0 16px 16px;
         background: radial-gradient(120% 90% at 30% 40%, #4b0d1c 0%, var(--wine) 65%); }
.stage .arch-frame { position: relative; padding: 4px; }
.stage svg { display: block; width: 100%; aspect-ratio: 300 / 330; overflow: hidden; border-radius: 999px 999px 4px 4px;
             background: radial-gradient(90% 70% at 50% 40%, #5a1424, #1d0307); }
#bq-all { transition: transform .55s var(--ease); }
#bq-sway { transform-box: fill-box; transform-origin: 50% 100%; }
.pop { transform-box: fill-box; transform-origin: center; animation: pop .45s var(--ease) both; }
.paper, #bq-bow, #bq-card { opacity: 0; transition: opacity .45s ease, transform .6s var(--ease); }
.paper { transform: translateY(16px); }
#bq-bow, #bq-card { transform-box: fill-box; transform-origin: center; transform: scale(0); }
#bq[data-step='1'] .paper, #bq[data-step='2'] .paper { opacity: 1; transform: none; }
#bq[data-step='1'] #bq-bow, #bq[data-step='2'] #bq-bow { opacity: 1; transform: none; transition-delay: .25s; }
#bq[data-step='2'] #bq-card { opacity: 1; transform: none; transition-delay: .35s; }
#bq-stalks { transition: opacity .4s; }
#bq-back, #bq-front, #bq-bow path, #bq-bow circle { transition: fill .35s; }
.petal { opacity: 0; }
#bq[data-step='2'] .petal { animation: fall var(--d) var(--w) ease-in both; }
@keyframes pop { from { transform: scale(0); } 60% { transform: scale(1.2); } }
@keyframes sway { from { transform: rotate(-1.4deg); } to { transform: rotate(1.4deg); } }
@keyframes fall { 0% { opacity: 0; transform: translate(0, -30px) rotate(0); } 12% { opacity: .95; } 100% { opacity: 0; transform: translate(var(--x), 330px) rotate(260deg); } }
#bq-empty { position: absolute; inset: 0; margin: 0; padding: .6rem; display: grid; place-items: center; text-align: center; font-size: .78rem; line-height: 1.4; }
.stage-total span { display: block; font-size: .78rem; }
.stage-total b { font: 500 2.1rem/1.15 'Bodoni Moda', serif; color: #fff8ee; margin-inline-end: .2rem; font-variant-numeric: tabular-nums; }
.stage-count { font-size: .8rem; }
.stage .btn { margin-block-start: .5rem; min-height: 2.6rem; padding: .4rem 1rem; font-size: .86rem; line-height: 1.3; }
.stage-note { grid-column: 1 / -1; margin-block-start: .5rem; font-size: .68rem; line-height: 1.4; color: rgba(234, 215, 179, .7); }
.fly { position: fixed; top: 0; left: 0; z-index: 30; width: 44px; height: 44px; border-radius: 50%; pointer-events: none;
       background-size: cover; background-position: center; box-shadow: 0 0 0 2px var(--gold), 0 6px 14px rgba(44, 7, 16, .35); }
.maker-steps { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; scroll-margin-top: 15rem; }
.maker-steps button { width: 100%; padding: .7rem .2rem .2rem; border: 0; border-block-start: 3px solid var(--petal); background: none;
                      font-size: .82rem; line-height: 1.4; color: var(--muted); cursor: pointer; transition: border-color .3s, color .3s; }
.maker-steps .done button { border-block-start-color: var(--gold); color: var(--ink); }
.maker-steps .on button { border-block-start-color: var(--burgundy); color: var(--burgundy); font-weight: 500; }
.maker-steps button:disabled { cursor: default; opacity: .6; }
.panel h2 { font-size: 1.6rem; margin-block-start: 1.75rem; }
.panel .note { margin-block-start: 1rem; max-width: 34rem; }
.presets { margin-block-start: 1.25rem; font-size: .88rem; color: var(--muted); }
.presets div { display: flex; flex-wrap: wrap; gap: .5rem; margin-block-start: .5rem; }
.presets button { padding: .45rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .9rem; color: var(--burgundy); cursor: pointer; }
.presets button:hover { border-color: var(--burgundy); }
.presets [data-clear] { border-color: transparent; background: none; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.tiles { list-style: none; margin: .9rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; }
.tile { display: flex; flex-direction: column; align-items: center; text-align: center; }
.tile-pic { position: relative; width: 100%; padding: 0; border: 0; border-radius: 12px; background: var(--petal); cursor: pointer;
            box-shadow: 0 0 0 0 var(--gold); transition: box-shadow .2s, transform .15s; touch-action: manipulation; }
.tile-pic img, .tile-pic i { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.tile-pic:active { transform: scale(.97); }
.tile.on .tile-pic { box-shadow: 0 0 0 3px var(--gold); }
.tile-n { position: absolute; inset-block-start: .5rem; inset-inline-end: .5rem; min-width: 1.9rem; height: 1.9rem; padding-inline: .4rem; border-radius: 999px;
          background: var(--wine); color: #fff8ee; font: 500 1rem/1.9rem 'Bodoni Moda', serif; }
.tile-n.bump { animation: bump .4s var(--ease); }
.tile b { margin-block-start: .6rem; font-weight: 500; line-height: 1.4; }
.tile > span { font-size: .85rem; color: var(--muted); }
.tile .stepper { margin-block-start: .5rem; }
.swatches { display: flex; flex-wrap: wrap; gap: .8rem 1.1rem; margin-block: 1rem; }
.swatch { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: .35rem; font-size: .78rem; cursor: pointer; }
.swatch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.swatch i { width: 3rem; height: 3rem; border-radius: 50%; background: var(--c); border: 1px solid rgba(42, 18, 22, .2);
            box-shadow: 0 0 0 3px var(--blush), 0 0 0 5px transparent; transition: box-shadow .15s, transform .2s var(--ease); }
.swatch input:checked + i { box-shadow: 0 0 0 3px var(--blush), 0 0 0 5px var(--burgundy); transform: scale(1.06); }
.swatch input:focus-visible + i { outline: 2px solid var(--gold); outline-offset: 7px; }
.sheets { display: flex; align-items: center; gap: 1rem; }
.pricelist { list-style: none; margin: 1rem 0 0; padding: 0; max-width: 32rem; }
.pricelist li { display: flex; align-items: baseline; gap: .6rem; padding-block: .45rem; }
.pricelist li::after { content: ''; order: 1; flex: 1; border-block-end: 1px dotted #b98f93; transform: translateY(-.3em); }
.pricelist .p { order: 2; color: var(--burgundy); font-weight: 500; white-space: nowrap; }
.pricelist-total { display: flex; align-items: baseline; gap: .5rem; max-width: 32rem; margin-block-start: .6rem; padding-block-start: .8rem; border-block-start: 1px solid var(--line); color: var(--burgundy); }
.pricelist-total span { margin-inline-end: auto; color: var(--ink); }
.pricelist-total b { font: 500 2.2rem/1 'Bodoni Moda', serif; font-variant-numeric: tabular-nums; }
.back { margin-block-start: 1.5rem; padding: .4rem 0; border: 0; background: none; color: var(--muted); font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (min-width: 52rem) {
  .builder { grid-template-columns: minmax(0, 1fr) 23rem; gap: 4rem; align-items: start; }
  .stage { order: 2; inset-block-start: 1.5rem; margin: 0; padding: 2rem 1.5rem 1.5rem; border-radius: 18px; grid-template-columns: 1fr; gap: 1rem; text-align: center; }
  .stage .arch-frame { width: 17rem; margin-inline: auto; padding: 7px; }
  #bq-empty { font-size: 1rem; }
  .stage-total b { font-size: 2.8rem; }
  .stage .btn { width: 100%; min-height: 3rem; font-size: 1rem; }
  .stage-note { font-size: .78rem; margin: 0; }
  .maker-steps { margin-block-start: 0; scroll-margin-top: 2rem; }
  .maker-steps button { font-size: .95rem; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1.5rem; }
}
.order-page { padding-block-end: 3.5rem; }
.order-grid { display: grid; gap: 2.5rem; margin-block-start: 1.5rem; }
.order-grid h2 { font-size: 1.6rem; }
#bag { list-style: none; margin: .75rem 0 0; padding: 0; }
#bag li { display: grid; grid-template-columns: 4rem 1fr; gap: .2rem .9rem; padding-block: 1rem; border-block-end: 1px solid var(--petal); }
#bag img, #bag .mini { grid-row: span 2; width: 4rem; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; background: var(--petal); }
#bag .mini { border-radius: 999px 999px 4px 4px; }
#bag .mini.plain { border-radius: 4px; }
.addons h3 { margin: 1.3rem 0 .6rem; font: 500 1rem/1.4 var(--body); }
.addons ul { list-style: none; margin: 0; padding: 0 0 .3rem; display: flex; gap: .6rem; overflow-x: auto; }
.addons button { display: flex; flex-direction: column; align-items: center; gap: .15rem; width: 6.4rem; padding: .45rem; border: 1px solid var(--line); border-radius: 10px;
                 background: #fff; color: inherit; font: inherit; font-size: .8rem; line-height: 1.4; cursor: pointer; }
.addons button:hover { border-color: var(--burgundy); }
.addons img, .addons i { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; background: var(--petal); }
.addons b { font-weight: 500; }
.addons span { color: var(--burgundy); }
.code { margin-block-start: 1.2rem; }
.code label { font-size: .85rem; color: var(--muted); }
.code div { display: flex; gap: .5rem; margin-block-start: .3rem; }
.code input { flex: 1; min-width: 0; padding: .55rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: inherit; text-transform: uppercase; }
.code .btn { min-height: 2.6rem; padding-inline: 1.1rem; font-size: .9rem; }
#code-note { min-height: 1.3em; margin: .35rem 0 0; font-size: .85rem; }
#code-note.ok { color: var(--wa); }
#code-note.bad { color: #a3122a; }
#bag b { font-weight: 500; line-height: 1.4; }
#bag small { display: block; font-size: .85rem; line-height: 1.55; color: var(--muted); }
#bag .row { display: flex; align-items: center; gap: .9rem; margin-block-start: .5rem; }
#bag .row em { font: 500 1.25rem/1 'Bodoni Moda', serif; font-style: normal; color: var(--burgundy); margin-inline-start: auto; }
#bag .rm { border: 0; background: none; padding: .4rem 0; font-size: .85rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
#bag .stepper button { width: 2.3rem; height: 2.3rem; }
.bag-line { display: flex; gap: .5rem; margin-block: 1.1rem 0; }
.bag-line span { margin-inline-end: auto; }
.bag-line + .bag-total { margin-block-start: .3rem; }
.bag-total { display: flex; align-items: baseline; gap: .5rem; margin-block: 1.1rem .4rem; color: var(--burgundy); }
.bag-total span { color: var(--ink); margin-inline-end: auto; }
.bag-total b { font: 500 2.3rem/1 'Bodoni Moda', serif; font-variant-numeric: tabular-nums; }
#order-form label { display: block; margin-block-start: 1rem; }
#order-form label span { display: block; margin-block-end: .3rem; font-size: .88rem; color: var(--muted); }
input, textarea { width: 100%; padding: .7rem .9rem; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 8px; }
input[dir='ltr'] { text-align: start; }
html[dir='rtl'] input[dir='ltr'] { text-align: right; }
textarea { resize: vertical; }
:is(input, textarea):focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.form-err { margin-block-start: 1rem; color: #a3122a; }
#order-form .btn { width: 100%; margin-block: 1.25rem .75rem; min-height: 3.2rem; }
@media (min-width: 52rem) { .order-grid { grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: start; } }
.send { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 2rem; text-align: center; overflow: auto;
        background: radial-gradient(110% 80% at 50% 45%, #4b0d1c 0%, var(--wine) 62%); }
.send-box { display: grid; justify-items: center; max-width: 22rem; }
.ticket { width: 9.5rem; padding: 2rem 1rem 1.1rem; display: grid; gap: .3rem; border-radius: 999px 999px 8px 8px;
          background: var(--blush); color: var(--wine); box-shadow: inset 0 0 0 1px var(--gold), 0 0 0 6px rgba(201, 162, 102, .16); }
.ticket span { font: 400 .8rem/1.2 'Bodoni Moda', serif; }
.ticket b { font: 600 1.75rem/1.15 'Bodoni Moda', serif; direction: ltr; }
.ticket i { font-style: normal; font-size: .82rem; color: var(--burgundy); }
.send-box::before { content: ''; order: 1; width: 1px; height: 2.4rem; background: linear-gradient(var(--gold), var(--wa)); transform-origin: top; }
.ticket { order: 0; }
.send-wa { order: 2; width: 4rem; height: 4rem; display: grid; place-items: center; border-radius: 50%; background: var(--wa); }
.send-wa svg { width: 2rem; fill: #fff; }
.send-title { order: 3; margin-block-start: 1.25rem; font: 400 1.7rem/1.45 var(--display); color: #fff8ee; }
.send-sub { order: 4; }
#send-go { order: 5; margin-block: 1.25rem .9rem; }
.send-back { order: 6; font-size: .88rem; text-underline-offset: 3px; }
@view-transition { navigation: auto; }
.top-bg { view-transition-name: top; }
.tabs { view-transition-name: tabs; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes arch-up { from { clip-path: inset(100% 0 0 0 round 50vw 50vw 0 0); } to { clip-path: inset(0 0 0 0 round 0 0 0 0); } }
@keyframes arch-in { from { clip-path: inset(100% 0 0 0 round 999px 999px 10px 10px); } to { clip-path: inset(0 0 0 0 round 999px 999px 10px 10px); } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes draw { from { transform: scaleY(0); } }
@keyframes wa-pop { from { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.15); opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: fade-out .3s ease both; }
  ::view-transition-new(root) { animation: arch-up .55s var(--ease) both; }
  ::view-transition-group(*) { animation-duration: .45s; animation-timing-function: var(--ease); }
  .hero-copy > * { animation: rise .7s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero .arch-frame { animation: arch-in 1s .1s var(--ease) both; }
  #bq-sway { animation: sway 6s ease-in-out infinite alternate; }
  .send { animation: arch-up .5s var(--ease) both; }
  .ticket { animation: rise .6s .35s var(--ease) both; }
  .send-box::before { animation: draw .45s .85s ease-out both; }
  .send-wa { animation: wa-pop .5s 1.2s var(--ease) both; }
  .send-title, .send-sub, #send-go, .send-back { animation: rise .5s 1.5s var(--ease) both; }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .pop, .count.bump, .tile-n.bump, #bq-sway, #bq[data-step='2'] .petal { animation: none; }
  #bq-all, .card img, .chapters li::before, .paper, #bq-bow, #bq-card { transition: none; }
}
.prose { max-width: 46rem; }
.prose h2 { margin-block: 2.2rem .5rem; font-size: 1.5rem; }
.prose p { margin-block: .5rem; line-height: 1.9; }
.prose details { padding-block: .95rem; border-block-end: 1px solid var(--line); }
.prose summary { cursor: pointer; font-weight: 500; }
.prose details p { margin-block: .6rem 0; color: var(--muted); }
.prose .actions { margin-block-start: 2rem; }
