/* Layout: arched "window" frames (Dubai arches) hold every photo; one gold plait divides hero from content; checkout is a side sheet. */
:root {
  --ground: #F6EEE8;
  --card: #FFFCFA;
  --ink: #2A1912;
  --muted: #76605A;
  --line: #E7D8CF;
  --accent: #5C1E3C;
  --on-accent: #FFF6F0;
  --tint: #F3E3EA;
  --gold: #A9792A;
  --sand: #E6C8A6;
  --ok: #2F6B4A;
  --err: #A2352C;
  --display: "Gloock", "Iowan Old Style", Georgia, serif;
  --body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --r: 18px;
}

[hidden] { display: none !important; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: 1160px; margin-inline: auto; padding-inline: 20px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.num { font-variant-numeric: tabular-nums; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 999px; padding: 12px 22px; font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { filter: brightness(1.08); }
.btn-accent:disabled { opacity: .45; cursor: not-allowed; filter: none; }
.btn-line { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 14px; }

/* header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--ground) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.mark { display: flex; align-items: baseline; gap: 8px; text-decoration: none; }
.mark b { font-family: var(--display); font-weight: 400; font-size: 21px; letter-spacing: -0.01em; }
.mark span { font-size: 11px; font-weight: 700; letter-spacing: 0.2em; color: var(--gold); }
.nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }
@media (max-width: 760px) { .nav a { display: none; } .mark b { font-size: 18px; } }

/* hero */
.hero .wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; padding-block: 56px 40px; }
.hero h1 { font-size: clamp(44px, 6.6vw, 82px); margin-block: 14px 20px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { font-size: 18px; color: var(--muted); max-width: 34em; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.arch { position: relative; width: 100%; max-width: 100%; aspect-ratio: 4 / 5; border-radius: 999px 999px 18px 18px; overflow: hidden; background: var(--sand); }
.arch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero .arch { max-width: 440px; justify-self: end; box-shadow: 0 30px 60px -30px rgba(60, 25, 15, .45); }
.hero .tag { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); background: var(--card); color: var(--ink); border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; padding-block: 32px 28px; gap: 32px; } .hero .arch { justify-self: center; max-width: 360px; } }
#plait { display: block; width: 100%; height: 26px; }

/* how it works */
.how { padding-block: 44px 8px; }
.how ol { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.how li { counter-increment: step; padding: 18px 18px 20px; border-top: 2px solid var(--ink); }
.how li::before { content: counter(step); display: block; font-family: var(--display); font-size: 34px; color: var(--accent); line-height: 1; margin-bottom: 10px; }
.how li b { display: block; font-size: 16px; margin-bottom: 4px; }
.how li span { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .how ol { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .how ol { grid-template-columns: 1fr; } }

/* section heads */
section.block { padding-block: 56px 16px; scroll-margin-top: 70px; }
.head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.head h2 { font-size: clamp(34px, 4.6vw, 52px); margin-top: 8px; }
.head p { color: var(--muted); max-width: 30em; }

/* styles */
.styles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
@media (max-width: 980px) { .styles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .styles { grid-template-columns: 1fr; } }
.style { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 14px; min-width: 0; }
.style .arch { aspect-ratio: 4 / 4.4; }
.style .body { padding: 18px 6px 4px; display: grid; gap: 8px; }
.style h3 { font-size: 28px; }
.style .desc { color: var(--muted); font-size: 15px; }
.style .meta { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); padding-top: 4px; }
.style .meta b { color: var(--ink); font-weight: 600; }
details.opts { margin-top: 10px; border-top: 1px solid var(--line); }
details.opts summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 14px 6px 6px; font-weight: 600; }
details.opts summary::-webkit-details-marker { display: none; }
details.opts summary .chev { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .2s ease; }
details.opts[open] summary .chev { transform: rotate(180deg); }
.opt-list { display: grid; gap: 8px; padding: 10px 0 4px; border: 0; margin: 0; min-width: 0; }
.opt { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 12px; align-items: start; padding: 12px 12px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.opt:hover { border-color: var(--muted); }
.opt:has(input:checked) { border-color: var(--accent); background: var(--tint); }
.opt input { margin: 3px 0 0; accent-color: var(--accent); width: 17px; height: 17px; }
.opt .t { font-weight: 600; font-size: 15px; }
.opt .d { grid-column: 2 / 4; color: var(--muted); font-size: 14px; line-height: 1.45; }
.opt .h { font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--gold); text-transform: uppercase; }
.opt .p { font-weight: 700; font-size: 15px; white-space: nowrap; }
.extras { padding-top: 6px; gap: 6px; }
.extras legend { padding: 0 0 6px; }
.extras legend span { font-weight: 400; color: var(--muted); }
.extra { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 4px; font-size: 14px; cursor: pointer; border-bottom: 1px dashed var(--line); }
.extra input { margin: 0; accent-color: var(--accent); width: 16px; height: 16px; }
.extra .p { color: var(--muted); font-weight: 600; white-space: nowrap; }
.style .book { margin-top: 12px; }

/* shop */
.shop { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 980px) { .shop { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 440px) { .shop { grid-template-columns: 1fr; } }
.prod { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.prod .img { aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--sand); }
.prod .img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prod h3 { font-family: var(--body); font-weight: 600; font-size: 17px; letter-spacing: 0; }
.prod p { color: var(--muted); font-size: 14px; }
.prod .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 4px; }
.prod .price { font-weight: 700; }
.prod select { width: 100%; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font-size: 14px; }
.add { padding: 9px 16px; font-size: 14px; }

/* pay note */
.paynote { margin-top: 48px; border-radius: 28px; background: var(--accent); color: var(--on-accent); padding: clamp(24px, 5vw, 48px); display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; }
.paynote h2 { font-size: clamp(30px, 4vw, 44px); }
.paynote p { opacity: .85; margin-top: 12px; }
.paynote ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.paynote li { display: flex; gap: 12px; align-items: start; font-size: 15px; }
.paynote li::before { content: ""; flex: none; width: 9px; height: 9px; margin-top: 8px; border-radius: 50%; border: 2px solid currentColor; }
@media (max-width: 760px) { .paynote { grid-template-columns: 1fr; } }

.policy { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 28px; }
.policy > div { padding-block: 18px 10px; border-top: 1px solid var(--line); }
.policy h3 { font-size: 22px; margin-bottom: 6px; }
.policy p { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .policy { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .policy { grid-template-columns: 1fr; } }

footer { padding-block: 56px 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 32px; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 24px; }
footer b { font-family: var(--display); font-weight: 400; font-size: 20px; color: var(--ink); }

/* sheet */
.sheet { position: fixed; inset: 0; z-index: 50; display: flex; justify-content: flex-end; }
.sheet .shade { position: absolute; inset: 0; background: rgba(20, 8, 6, .45); }
.panel { position: relative; width: min(520px, 100%); height: 100%; background: var(--ground); display: flex; flex-direction: column; box-shadow: -20px 0 60px rgba(0,0,0,.25); animation: slide .25s ease; }
@keyframes slide { from { transform: translateX(30px); opacity: .6; } }
.panel-head { padding: calc(18px + env(safe-area-inset-top, 0px)) 22px 14px; border-bottom: 1px solid var(--line); display: grid; gap: 14px; }
.panel-head .row { display: flex; justify-content: space-between; align-items: center; }
.panel-head h2 { font-size: 30px; }
.x { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); cursor: pointer; font-size: 20px; line-height: 1; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; list-style: none; padding: 0; margin: 0; font-size: 12px; font-weight: 600; color: var(--muted); }
.steps li { border-top: 3px solid var(--line); padding-top: 6px; }
.steps li.on { border-color: var(--accent); color: var(--ink); }
.panel-body { flex: 1; overflow-y: auto; padding: 20px 22px 24px; display: grid; gap: 18px; align-content: start; }
.panel-foot { padding: 14px 22px calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); display: grid; gap: 10px; background: var(--ground); }
.total { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; color: var(--muted); }
.total b { font-size: 22px; color: var(--ink); }

.line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.line .t { font-weight: 600; }
.line .s { color: var(--muted); font-size: 14px; }
.line .p { font-weight: 700; text-align: right; }
.line .ctl { grid-column: 1 / 3; display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { width: 34px; height: 32px; border: 0; background: none; cursor: pointer; font-size: 18px; }
.qty span { min-width: 22px; text-align: center; font-weight: 600; }
.empty { text-align: center; padding: 40px 10px; color: var(--muted); display: grid; gap: 14px; justify-items: center; }
.empty h3 { color: var(--ink); font-size: 26px; }

.field { display: grid; gap: 6px; }
.field label, .lbl { font-size: 14px; font-weight: 600; }
.field .hint { font-size: 13px; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font-size: 16px; }
.field textarea { min-height: 84px; resize: vertical; }
.field.bad input, .field.bad textarea { border-color: var(--err); }
.field .err { color: var(--err); font-size: 13px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 420px) { .two { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: block; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 14px; font-weight: 600; }
.chip input:checked + span { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.subhead { font-family: var(--display); font-size: 22px; }

.amount { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 18px; display: grid; gap: 4px; }
.amount .big { font-family: var(--display); font-size: 44px; line-height: 1; }
.amount small { color: var(--muted); font-size: 13px; }
.bank { border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.bank-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.bank-row:last-child { border-bottom: 0; }
.bank-row span { grid-column: 1; font-size: 13px; color: var(--muted); }
.bank-row b { grid-column: 1; font-size: 16px; overflow-wrap: anywhere; }
.bank-row button { grid-column: 2; grid-row: 1 / 3; }

.cal { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 14px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head b { font-family: var(--display); font-weight: 400; font-size: 22px; }
.nav-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--ground); cursor: pointer; font-size: 20px; line-height: 1; }
.nav-btn:disabled { opacity: .35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.dow { text-align: center; font-size: 12px; font-weight: 600; color: var(--muted); padding-bottom: 4px; }
.day { aspect-ratio: 1; max-width: 100%; border: 0; border-radius: 50%; background: transparent; font-weight: 600; font-size: 15px; cursor: pointer; font-variant-numeric: tabular-nums; }
.day:hover:not(:disabled) { background: var(--tint); }
.day:disabled { color: var(--muted); opacity: .4; cursor: default; font-weight: 400; }
.day[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.times { display: grid; gap: 10px; }
.slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.slot { padding: 13px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); font-weight: 600; font-size: 15px; cursor: pointer; }
.slot:hover { border-color: var(--accent); }
.slot[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.hint { font-size: 13px; color: var(--muted); }
.mini { padding: 7px 12px; font-size: 13px; }
.drop { display: grid; place-items: center; gap: 6px; text-align: center; padding: 22px; border: 1.5px dashed var(--muted); border-radius: 18px; background: var(--card); cursor: pointer; }
.drop.has { border-style: solid; border-color: var(--ok); }
.drop.bad { border-color: var(--err); }
.drop b { font-size: 15px; }
.drop span { font-size: 13px; color: var(--muted); }
.drop img { max-height: 180px; border-radius: 10px; }
.agree { display: flex; gap: 10px; align-items: start; font-weight: 400 !important; font-size: 15px !important; cursor: pointer; }
.agree input { width: 18px !important; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.field.bad .agree { color: var(--err); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.done-mark { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-size: 26px; }
.ref { font-family: var(--display); font-size: 28px; }
.summary { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 240px; overflow-y: auto; }
.howto { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: center; background: var(--tint); border-radius: 16px; padding: 12px; font-size: 14px; }
.howto img { width: 76px; height: 76px; object-fit: cover; border-radius: 10px; }

.toast { position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 60; background: var(--ink); color: var(--ground); padding: 12px 14px 12px 18px; border-radius: 999px; display: flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.25); max-width: calc(100% - 32px); }

/* site-only additions */
.banner { background: var(--accent); color: var(--on-accent); text-align: center; font-size: 14px; font-weight: 600; padding: calc(9px + env(safe-area-inset-top, 0px)) 16px 9px; }
.nav .cta { color: var(--on-accent); background: var(--accent); padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.nav .cta:hover { color: var(--on-accent); filter: brightness(1.08); }
@media (max-width: 760px) { .nav a.cta { display: inline-block; } }
.loading { color: var(--muted); }
.alert { border: 1px solid var(--err); color: var(--err); border-radius: 14px; padding: 12px 14px; font-size: 14px; }
.day.taken { text-decoration: line-through; }
.slot:disabled { opacity: .4; cursor: default; text-decoration: line-through; }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }
footer a { color: var(--ink); }
