:root {
  --green: #092B20; --green-2: #0E3A2C; --gold: #C6A66A; --gold-ink: #6E5726;
  --cream: #F3EFE7; --card: #FBF9F4; --ink: #0B1F18; --muted: #46514B; --line: #D9D1C0;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --arabic: "Noto Naskh Arabic", "Geeza Pro", "Tahoma", serif;
  --pad: clamp(16px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 16px/1.6 var(--sans); }
html[lang="ar"] body, html[lang="ar"] button, html[lang="ar"] input, html[lang="ar"] select { font-family: var(--arabic); }
html[lang="ar"] * { letter-spacing: 0 !important; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul { margin: 0; padding: 0; } ul { list-style: none; }
a { color: inherit; } button, input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: var(--pad); }
bdi.latin { font-family: var(--serif); }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: var(--green); color: var(--cream); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; min-height: 44px; color: var(--gold); }
.logo svg { height: 20px; width: auto; }
.top__actions { display: flex; align-items: center; gap: 8px; }
.ghost { min-height: 44px; min-width: 44px; padding: 0 14px; background: none; border: 1px solid rgba(198,166,106,.5); color: var(--cream); cursor: pointer; font-size: 14px; }
.ghost:hover { border-color: var(--gold); color: var(--gold); }
.bagbtn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; background: var(--gold); border: 0; color: var(--green); font-weight: 600; font-size: 14px; cursor: pointer; }
.bagbtn b { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; background: var(--green); color: var(--gold); border-radius: 12px; font-size: 13px; }

/* hero */
.hero { background: var(--green); color: var(--cream); text-align: center; }
.hero__in { display: flex; flex-direction: column; align-items: center; gap: 28px; padding-block: clamp(56px, 10vw, 120px) clamp(64px, 10vw, 128px); }
.lockup { display: flex; flex-direction: column; align-items: center; gap: clamp(20px, 3.4vw, 44px); color: var(--gold); }
.lockup__n { height: clamp(58px, 8.4vw, 108px); width: auto; } .lockup__wm { height: clamp(36px, 5.2vw, 68px); width: auto; }
.hero h1 { font: 400 clamp(22px, 3vw, 34px)/1.4 var(--serif); max-width: 22ch; }
html[lang="ar"] .hero h1 { font-family: var(--arabic); font-weight: 500; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 34px; border: 1px solid transparent; font-weight: 600; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s; }
.btn--gold { background: var(--gold); color: var(--green); } .btn--gold:hover { background: #D6B97F; }
.btn--green { background: var(--green); color: var(--gold); } .btn--green:hover { background: var(--green-2); }
.btn--line { border-color: var(--green); color: var(--green); background: none; } .btn--line:hover { background: var(--green); color: var(--gold); }
.btn--block { width: 100%; }

/* shop */
.shop { padding-block: clamp(40px, 6vw, 72px) clamp(64px, 8vw, 104px); }
.h2 { font: 400 clamp(32px, 4.6vw, 52px)/1.15 var(--serif); }
html[lang="ar"] .h2 { font-family: var(--arabic); font-weight: 500; line-height: 1.4; }
.tools { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 24px 16px; }
.search { flex: 1 1 260px; min-height: 52px; padding: 0 18px; border: 1px solid var(--line); background: var(--card); font-size: 16px; }
.search:focus { border-color: var(--green); outline: none; }
.sort { min-height: 52px; padding: 0 14px; border: 1px solid var(--line); background: var(--card); font-size: 15px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); background: none; font-size: 14px; cursor: pointer; white-space: nowrap; }
.chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--gold); }
.count { margin-block: 18px 22px; font-size: 14px; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.item { display: flex; flex-direction: column; }
.item__link { text-decoration: none; display: block; flex: 1; }
.ph { aspect-ratio: 4 / 5; background: #E7E1D4; display: grid; place-items: center; overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph .mark { height: 30%; width: auto; color: #C9BFA9; }
.item__brand { margin-top: 12px; min-height: 18px; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); }
.item__name { font: 500 clamp(19px, 2.2vw, 24px)/1.2 var(--serif); }
.item__price { margin-top: 4px; font-size: 15px; color: var(--muted); }
.add { margin-top: 12px; min-height: 46px; border: 1px solid var(--green); background: none; color: var(--green); font-weight: 600; font-size: 14px; cursor: pointer; }
.add:hover { background: var(--green); color: var(--gold); }
.none { padding: 48px 0; text-align: center; font-size: 18px; color: var(--muted); }

/* product page */
.pdp { padding-block: 24px clamp(64px, 8vw, 104px); }
.back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: 16px; font-size: 15px; text-underline-offset: 5px; }
.pdp__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(24px, 5vw, 72px); align-items: start; }
.pdp__info { display: flex; flex-direction: column; gap: 16px; }
.pdp__brand { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); }
.pdp__name { font: 400 clamp(36px, 5vw, 60px)/1.05 var(--serif); }
.pdp__price { font-size: 24px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--green); font-size: 14px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); background: var(--card); }
.qty button { width: 48px; height: 48px; background: none; border: 0; font-size: 20px; cursor: pointer; }
.qty span { min-width: 34px; text-align: center; font-weight: 600; }
.facts { border-top: 1px solid var(--line); margin-top: 8px; }
.facts li { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.facts svg { flex: 0 0 18px; height: 18px; color: var(--gold-ink); }

/* gifting + steps */
.band { background: var(--green); color: var(--cream); padding-block: clamp(56px, 8vw, 104px); }
.band .h2 { color: var(--gold); margin-bottom: clamp(28px, 4vw, 48px); }
.gifts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
@media (min-width: 800px) { .gifts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.gifts svg { width: 100%; height: auto; } .gifts p { margin-top: 12px; font-size: 16px; }
.steps { padding-block: clamp(56px, 8vw, 104px); }
.steps ol { list-style: none; margin: clamp(28px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.steps li { padding: 28px; background: var(--card); border: 1px solid var(--line); }
.steps b { display: block; font: 400 44px/1 var(--serif); color: var(--gold-ink); margin-bottom: 14px; }
.steps h3 { font-size: 19px; font-weight: 600; margin-bottom: 6px; } .steps p { color: var(--muted); font-size: 15px; }

/* footer */
.foot { background: var(--green); color: var(--cream); border-top: 1px solid rgba(198,166,106,.3); }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding-block: 40px; }
.foot .logo svg { height: 18px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.foot__links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; text-underline-offset: 5px; }
.foot small { font-size: 13px; color: rgba(243,239,231,.8); }

/* bag */
.scrim { position: fixed; inset: 0; z-index: 20; background: rgba(5,20,15,.6); }
.drawer { position: fixed; inset-block: 0; inset-inline-end: 0; z-index: 21; width: min(440px, 100%); background: var(--cream); display: flex; flex-direction: column; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; background: var(--green); color: var(--gold); }
.drawer__head h2 { font: 400 28px/1.2 var(--serif); } html[lang="ar"] .drawer__head h2 { font-family: var(--arabic); }
.x { width: 44px; height: 44px; background: none; border: 0; color: var(--cream); font-size: 28px; line-height: 1; cursor: pointer; }
.drawer__body { flex: 1; overflow-y: auto; padding: 4px 20px; }
.line { display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line .ph .mark { height: 36%; }
.line__name { font: 500 21px/1.2 var(--serif); } .line__meta { font-size: 13px; color: var(--muted); }
.line__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; }
.line .qty button { width: 44px; height: 44px; }
.rm { min-height: 44px; padding: 0; background: none; border: 0; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; color: var(--muted); cursor: pointer; }
.drawer__foot { padding: 18px 20px 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.total { display: flex; justify-content: space-between; font-size: 19px; font-weight: 600; }
.empty { padding: 64px 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; font-size: 19px; }
.note { padding: 14px 16px; border: 1px solid #8A5A12; background: #FBF1DC; color: #5C3B08; font-size: 14px; }
.toast { position: fixed; inset-inline: 0; bottom: 20px; z-index: 30; margin-inline: auto; width: max-content; max-width: calc(100% - 32px); background: var(--green); color: var(--cream); border: 1px solid var(--gold); padding: 14px 22px; font-size: 15px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ================= v3 additions ================= */
body { padding-bottom: 0; }
.nav { display: none; gap: 4px 26px; margin-inline: 28px auto; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 15px; color: var(--cream); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); }
@media (min-width: 800px) { .nav { display: flex; } }
.icon { display: inline-grid; place-items: center; position: relative; width: 44px; height: 44px; background: none; border: 0; color: var(--cream); cursor: pointer; text-decoration: none; }
.icon:hover { color: var(--gold); } .icon svg { width: 22px; height: 22px; }
.dot { position: absolute; top: 4px; inset-inline-end: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--gold); color: var(--green); font: 600 11px/18px var(--sans); text-align: center; }
.searchbar { background: var(--green-2); padding-block: 12px; }
.searchbar .search { width: 100%; display: block; }
.hero__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn--line-gold { border-color: var(--gold); color: var(--gold); background: none; } .btn--line-gold:hover { background: var(--gold); color: var(--green); }
.stats { background: var(--green-2); color: var(--cream); }
.stats ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: center; }
.stats li { padding: 22px 8px; font-size: 14px; } .stats li + li { border-inline-start: 1px solid rgba(198,166,106,.3); }
.stats b { display: block; font: 500 28px/1.1 var(--serif); color: var(--gold); }
.sec { padding-block: clamp(48px, 7vw, 88px); } .sec--tint { background: #EAE4D7; }
.sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: clamp(20px, 3vw, 36px); }
.more { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 600; text-underline-offset: 6px; white-space: nowrap; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 23.5%); gap: 20px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 10px; }
.rail > li { scroll-snap-align: start; }
.houses { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.house { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 170px; padding: 22px; background: var(--green); color: var(--cream); text-decoration: none; }
.house:hover { background: var(--green-2); }
.house span { font-size: 13px; color: var(--gold); } .house b { font: 400 clamp(24px, 2.6vw, 32px)/1.1 var(--serif); color: var(--gold); }
.item { position: relative; }
.heart { position: absolute; top: 8px; inset-inline-end: 8px; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(251,249,244,.92); color: var(--green); cursor: pointer; }
.heart svg { width: 20px; height: 20px; } .heart[aria-pressed="true"] svg { fill: var(--green); }
.layout { display: grid; gap: 24px 40px; align-items: start; }
@media (min-width: 900px) { .layout { grid-template-columns: 250px minmax(0, 1fr); } .layout .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.filters { border: 1px solid var(--line); background: var(--card); }
.filters > summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 18px; font-weight: 600; cursor: pointer; list-style: none; }
.filters > summary::-webkit-details-marker { display: none; }
.filters__body { padding: 4px 18px 18px; display: flex; flex-direction: column; gap: 18px; }
.filters h3 { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 4px; }
.opt { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 15px; cursor: pointer; }
.opt input { width: 20px; height: 20px; accent-color: var(--green); }
.opt small { margin-inline-start: auto; color: var(--muted); font-size: 13px; }
.clear { min-height: 44px; background: none; border: 1px solid var(--green); font-weight: 600; font-size: 14px; cursor: pointer; }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.bar .count { margin: 0; }
.pdp__actions { display: flex; flex-direction: column; gap: 10px; }
.links { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.textbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; background: none; border: 0; font-size: 15px; text-decoration: underline; text-underline-offset: 5px; cursor: pointer; }
.textbtn svg { width: 18px; height: 18px; } .textbtn[aria-pressed="true"] svg { fill: var(--green); }
.pagehead { background: var(--green); color: var(--cream); padding-block: clamp(36px, 6vw, 72px); }
.pagehead h1 { font: 400 clamp(36px, 5vw, 60px)/1.1 var(--serif); color: var(--gold); } html[lang="ar"] .pagehead h1 { font-family: var(--arabic); font-weight: 500; line-height: 1.4; }
.checkout { display: grid; gap: 32px 56px; align-items: start; }
@media (min-width: 900px) { .checkout { grid-template-columns: minmax(0, 1fr) 380px; } }
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; } .field--wide { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field textarea { min-height: 52px; padding: 12px 14px; border: 1px solid var(--line); background: var(--card); font: inherit; font-size: 16px; color: var(--ink); }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--green); outline: none; }
.field .err { font-size: 13px; color: #8A1F11; min-height: 18px; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #8A1F11; }
.summary { border: 1px solid var(--line); background: var(--card); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.summary h2 { font-size: 18px; font-weight: 600; }
.summary li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.tabs { position: fixed; inset-inline: 0; bottom: 0; z-index: 9; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--green); border-top: 1px solid rgba(198,166,106,.4); padding-bottom: env(safe-area-inset-bottom, 0); }
.tabs a, .tabs button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 60px; background: none; border: 0; color: var(--cream); font-size: 12px; text-decoration: none; cursor: pointer; }
.tabs svg { width: 22px; height: 22px; } .tabs [aria-current="page"] { color: var(--gold); }
.tabs .dot { top: 6px; inset-inline-end: calc(50% - 24px); }
@media (max-width: 799px) { body { padding-bottom: 64px; } .toast { bottom: 80px; } .top .fav-link { display: none; } }
@media (min-width: 800px) { .tabs { display: none; } }

/* ================= v4 additions ================= */
.house--soon { background: none; border: 1px dashed #A99C7F; color: var(--muted); }
.house--soon span, .house--soon b { color: var(--muted); }
.pdp__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border: 1px solid var(--line); background: var(--card); font-size: 13px; }
.done { max-width: 620px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.done .ref { font: 500 30px/1.2 var(--serif); padding: 14px 26px; border: 1px solid var(--green); }
.btn[disabled] { opacity: .6; cursor: default; }

/* ================= v5 additions ================= */
.scents { display: flex; flex-wrap: wrap; gap: 10px; }
.scent { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; background: var(--green); color: var(--gold); text-decoration: none; font-size: 17px; }
.scent:hover { background: var(--green-2); } .scent small { font-size: 13px; color: var(--cream); }
a.tag { text-decoration: none; color: inherit; min-height: 44px; } a.tag:hover { border-color: var(--green); }

/* ================= v6 additions ================= */
.prose { max-width: 70ch; display: flex; flex-direction: column; gap: 18px; }
.prose p { font-size: 17px; line-height: 1.9; color: var(--muted); } .prose .big { font-size: clamp(20px, 2.4vw, 26px); line-height: 1.6; color: var(--ink); }
.faq { max-width: 780px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: 19px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; color: var(--gold-ink); } .faq details[open] summary::after { content: "−"; }
.faq p { padding-bottom: 22px; font-size: 16px; line-height: 1.9; color: var(--muted); max-width: 62ch; }
.after { margin-top: 32px; font-size: 16px; } .after a { text-underline-offset: 5px; }
.note--ok { border-color: var(--green); background: #E6EFE9; color: var(--green); }
.foot__in { align-items: flex-start; }
.foot__links { flex: 1 1 520px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px 24px; }
.foot__col { display: flex; flex-direction: column; }
.foot__col h3 { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.foot__links a { min-height: 40px; text-decoration: none; } .foot__links a:hover { color: var(--gold); }
.foot small { flex-basis: 100%; padding-top: 20px; border-top: 1px solid rgba(243,239,231,.16); }

/* ================= v7: perfume character ================= */
.ph { background: linear-gradient(180deg, #ECE6DA 0%, #E2DACA 100%); }
.ph .mark { height: 58%; color: #BDB199; } .line .ph .mark { height: 70%; }
.hero { position: relative; overflow: hidden; } .hero__in { position: relative; z-index: 1; }
.mist { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--gold); stroke-width: 1; opacity: .2; }
.mist path { animation: drift 16s ease-in-out infinite alternate; } .mist path:nth-child(2n) { animation-duration: 22s; animation-direction: alternate-reverse; }
@keyframes drift { from { transform: translateX(-70px); } to { transform: translateX(70px); } }
.hero h1 { font-size: clamp(30px, 4.6vw, 54px); max-width: none; }
.hero__sub { font-size: clamp(16px, 1.8vw, 19px); color: rgba(243,239,231,.86); max-width: 40ch; }
.fams { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.fam { display: flex; align-items: center; gap: 16px; min-height: 84px; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
a.fam:hover { border-color: var(--green); }
.fam__icon { flex: 0 0 48px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--green); color: var(--gold); } .fam__icon svg { width: 24px; height: 24px; }
.fam__txt { display: flex; flex-direction: column; gap: 2px; } .fam__txt b { font-size: 18px; font-weight: 600; } .fam__txt span { font-size: 14px; color: var(--muted); line-height: 1.5; }
.fam small { margin-inline-start: auto; font-size: 13px; color: var(--gold-ink); font-weight: 600; }
.fam--off { opacity: .62; }
.fams--tight { grid-template-columns: 1fr; gap: 8px; } .fams--tight .fam { min-height: 68px; padding: 10px 14px; }
.smell h2 { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 10px; }
.pyr { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.pyr__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px 28px; align-items: center; }
@media (min-width: 760px) { .pyr__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.pyr__bar { display: flex; align-items: center; justify-content: center; min-height: 64px; margin-inline: auto; background: var(--gold); color: var(--green); }
.pyr__bar b { font: 500 22px/1 var(--serif); } html[lang="ar"] .pyr__bar b { font-family: var(--arabic); font-weight: 600; font-size: 20px; }
.pyr__row--0 .pyr__bar { width: 42%; } .pyr__row--1 .pyr__bar { width: 71%; background: #B3945C; } .pyr__row--2 .pyr__bar { width: 100%; background: #9C7F4C; }
.pyr p { font-size: 16px; line-height: 1.7; color: var(--cream); }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 48px 64px; }
.glist { margin-top: 20px; border-top: 1px solid var(--line); }
.glist li { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.glist b { font: 500 21px/1.2 var(--serif); } .glist span { font-size: 16px; color: var(--muted); line-height: 1.7; }
@media (prefers-reduced-motion: reduce) { .mist path { animation: none; } }

/* ================= v8: checkout, payment, orders, product details ================= */
#co { display: flex; flex-direction: column; gap: 22px; }
.step { margin: 0; padding: 22px; border: 1px solid var(--line); background: var(--card); min-width: 0; }
.step legend { display: flex; align-items: center; gap: 12px; padding: 0 8px; font-size: 19px; font-weight: 600; }
.step legend b { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: var(--gold); font: 500 18px/1 var(--serif); }
.step .field input, .step .field textarea { background: #fff; }
.pays { display: flex; flex-direction: column; gap: 10px; }
.pay { display: flex; align-items: flex-start; gap: 14px; padding: 16px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.pay:has(input:checked) { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.pay input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--green); flex: 0 0 auto; }
.pay__txt { display: flex; flex-direction: column; gap: 2px; } .pay__txt b { font-size: 17px; } .pay__txt span { font-size: 14px; color: var(--muted); line-height: 1.6; }
.note--test { border-color: var(--gold-ink); background: #F6EBCF; color: #4A3A12; margin-bottom: 20px; }
.summary { position: sticky; top: 84px; }
.olist { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.olist li { padding: 18px 20px; border: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column; gap: 8px; }
.olist__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; font-size: 15px; } .olist__top b { font-size: 18px; } .olist p { color: var(--muted); font-size: 15px; }
.pdp__more { margin-top: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 28px 56px; align-items: start; }
.pdp__desc { grid-column: 1 / -1; max-width: 70ch; font-size: 18px; line-height: 1.9; color: var(--muted); }
.pdp__more .links { grid-column: 1 / -1; }
.mini { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 6px; }
.specs { margin: 0; border-top: 1px solid var(--line); }
.specs div { display: flex; justify-content: space-between; gap: 24px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.specs dt { color: var(--muted); } .specs dd { margin: 0; text-align: end; }

/* ================= v9: large screens ================= */
.hero__copy { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.hero__art { display: none; color: var(--gold); }
.pyr { max-width: 1100px; margin-inline: auto; }
.checkout { max-width: 1240px; margin-inline: auto; }
.fams.fams--tight { grid-template-columns: minmax(0, 1fr); }
.pdp__info .fams--tight .fam { min-height: 68px; padding: 10px 14px; }
@media (min-width: 1000px) {
  .hero__in { flex-direction: row; justify-content: space-between; gap: 48px; text-align: start; min-height: min(80vh, 780px); padding-block: 72px; }
  .hero__copy { align-items: flex-start; flex: 0 1 620px; gap: 30px; }
  .hero__copy .lockup { align-items: flex-start; }
  .hero__btns { justify-content: flex-start; }
  .hero__art { display: block; flex: 0 1 560px; width: 42%; max-width: 620px; height: auto; }
  .rail { grid-auto-columns: calc((100% - 80px) / 5); }
  .pdp__grid { grid-template-columns: minmax(0, 560px) minmax(0, 620px); justify-content: center; gap: clamp(40px, 6vw, 110px); }
  .pdp__grid > .ph { position: sticky; top: 88px; aspect-ratio: 1 / 1.08; }
  .pdp__more { max-width: 1290px; margin-inline: auto; }
  .pdp .back { max-width: 1290px; margin-inline: auto; display: flex; }
}
@media (min-width: 1300px) {
  .wrap { max-width: 1560px; }
  :root { --pad: clamp(40px, 4.4vw, 88px); }
  body { font-size: 17px; }
  .top__in { min-height: 76px; } .logo svg { height: 24px; } .nav { gap: 4px 36px; } .nav a { font-size: 16.5px; }
  .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 48px 28px; }
  .layout { grid-template-columns: 290px minmax(0, 1fr); gap: 24px 56px; } .layout .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rail { grid-auto-columns: calc((100% - 100px) / 6); }
  .houses { gap: 18px; } .house { min-height: 220px; padding: 28px; } .house b { font-size: clamp(30px, 2.4vw, 40px); }
  .h2 { font-size: clamp(44px, 3.6vw, 64px); } .hero h1 { font-size: clamp(48px, 4.2vw, 72px); } .hero__sub { font-size: 21px; }
  .lockup__n { height: 104px; } .lockup__wm { height: 64px; }
  .stats li { padding: 30px 8px; font-size: 16px; } .stats b { font-size: 38px; }
  .fams:not(.fams--tight) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } .fam { min-height: 96px; padding: 20px 22px; }
  .item__name { font-size: 24px; } .sec { padding-block: clamp(72px, 6.4vw, 120px); }
  .pagehead { padding-block: 84px; }
  .steps ol { gap: 22px; } .steps li { padding: 36px; }
}
@media (min-width: 1750px) {
  .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } .layout .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .fams:not(.fams--tight) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* ================= v10: luxury finish ================= */
:root { --gold-hi: #E3CB96; --gold-lo: #A8884E; --hair: rgba(198, 166, 106, .34); }
::selection { background: var(--gold); color: var(--green); }
html { scrollbar-color: var(--gold-lo) var(--green); }
.logo svg, .lockup svg, .footer__wm { fill: url(#goldfoil) #C6A66A; }

/* announcement line */
.annc { background: #06211A; color: var(--gold); text-align: center; padding: 9px 16px; font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; border-bottom: 1px solid var(--hair); }
.top { border-bottom: 1px solid var(--hair); }
.nav a { position: relative; }
.nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 6px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .3s; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

/* monogram texture on the dark surfaces */
.hero, .band, .pagehead, .foot, .stats { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'><g fill='%23C6A66A' fill-opacity='.07'><path transform='translate(20,18) scale(.14) translate(-12,-8)' d='M12 8H24V172H12Z M136 8H148V172H136Z M24 8H42L89 76L77 83Z M81 89L93 82L136 144V172H133Z'/><path transform='translate(80,78) scale(.14) translate(-12,-8)' d='M12 8H24V172H12Z M136 8H148V172H136Z M24 8H42L89 76L77 83Z M81 89L93 82L136 144V172H133Z'/></g></svg>"); background-size: 120px 120px; }
.hero { background-color: var(--green); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 30% 45%, rgba(198,166,106,.13), transparent 70%); pointer-events: none; }
html[dir="rtl"] .hero::before { background: radial-gradient(60% 70% at 28% 45%, rgba(198,166,106,.13), transparent 70%); }
.hero::after { content: ""; position: absolute; inset: clamp(10px, 1.6vw, 22px); border: 1px solid var(--hair); pointer-events: none; }
.lux { font-size: 12.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 14px; }
.lux::before, .lux::after { content: ""; width: 34px; height: 1px; background: var(--gold); opacity: .7; }
.hero h1 { letter-spacing: .01em; }
.hero__art { filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .35)); }

/* buttons */
.btn { position: relative; overflow: hidden; letter-spacing: .16em; min-height: 56px; transition: background-color .25s, color .25s, border-color .25s, transform .25s; }
.btn--gold { background: linear-gradient(135deg, var(--gold-hi) 0%, var(--gold) 45%, var(--gold-lo) 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.btn--gold:hover { background: linear-gradient(135deg, #EED9A8 0%, #D2B479 45%, #B3935A 100%); }
.btn--gold::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.38), transparent); transform: skewX(-18deg); transition: left .7s; }
.btn--gold:hover::after { left: 130%; }
.btn--green { box-shadow: inset 0 0 0 1px var(--hair); }
.bagbtn { background: linear-gradient(135deg, var(--gold-hi), var(--gold) 50%, var(--gold-lo)); }

/* brand ribbon */
.ribbon { overflow: hidden; background: var(--green); border-block: 1px solid var(--hair); padding-block: 16px; direction: ltr; }
.ribbon__track { display: flex; align-items: center; gap: 44px; width: max-content; color: var(--gold); animation: ribbon 60s linear infinite; }
.rb__wm { height: 16px; width: auto; flex: 0 0 auto; } .rb__n { height: 19px; width: auto; flex: 0 0 auto; }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* stats */
.stats { background-color: #0B3226; border-bottom: 1px solid var(--hair); }
.stats b { font-weight: 400; letter-spacing: .02em; }
.stats li { letter-spacing: .12em; text-transform: uppercase; font-size: 13px; }

/* headings with a gold rule */
.sec__head .h2, .band .h2, .steps .h2 { display: flex; flex-direction: column; gap: 18px; }
.sec__head .h2::after, .band .h2::after, .steps .h2::after { content: ""; width: 72px; height: 1px; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); }
.more { letter-spacing: .08em; text-decoration: none; border-bottom: 1px solid var(--gold-lo); min-height: 0; padding-bottom: 4px; }

/* fragrance cards: dark jewel-box with a gold bottle */
.ph { background: radial-gradient(90% 70% at 50% 34%, #17503F 0%, #0C3428 52%, #082A1F 100%); position: relative; }
.ph::after { content: ""; position: absolute; inset: 10px; border: 1px solid var(--hair); pointer-events: none; transition: inset .35s, border-color .35s; }
.ph .mark { color: var(--gold); filter: drop-shadow(0 10px 18px rgba(0,0,0,.35)); transition: transform .5s; }
.ph img { position: relative; }
.item__link:hover .ph::after { inset: 6px; border-color: var(--gold); }
.item__link:hover .ph .mark { transform: translateY(-4px) scale(1.03); }
.item__brand { margin-top: 16px; letter-spacing: .24em; }
.item__name { font-weight: 500; letter-spacing: .01em; }
.item__price { font-family: var(--serif); font-size: 19px; color: var(--ink); }
.add { border-color: var(--gold-lo); letter-spacing: .1em; min-height: 48px; transition: background-color .25s, color .25s, border-color .25s; }
.add:hover { background: var(--green); border-color: var(--green); color: var(--gold); }
.heart { background: rgba(9, 43, 32, .55); color: var(--gold); border: 1px solid var(--hair); backdrop-filter: blur(4px); }
.heart[aria-pressed="true"] svg { fill: var(--gold); }

/* tiles */
.house { border: 1px solid var(--hair); background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'><g fill='%23C6A66A' fill-opacity='.07'><path transform='translate(20,18) scale(.14) translate(-12,-8)' d='M12 8H24V172H12Z M136 8H148V172H136Z M24 8H42L89 76L77 83Z M81 89L93 82L136 144V172H133Z'/><path transform='translate(80,78) scale(.14) translate(-12,-8)' d='M12 8H24V172H12Z M136 8H148V172H136Z M24 8H42L89 76L77 83Z M81 89L93 82L136 144V172H133Z'/></g></svg>"); background-size: 120px 120px; position: relative; transition: background-color .3s, transform .3s; }
.house::after { content: ""; position: absolute; inset: 8px; border: 1px solid transparent; transition: border-color .3s; pointer-events: none; }
a.house:hover { transform: translateY(-3px); } a.house:hover::after { border-color: var(--hair); }
.house--soon { background-image: none; }
.fam { transition: border-color .25s, transform .25s, box-shadow .25s; }
a.fam:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(9, 43, 32, .10); border-color: var(--gold-lo); }
.fam__icon { background: radial-gradient(circle at 35% 30%, #17503F, #082A1F); box-shadow: inset 0 0 0 1px var(--hair); }

/* page heads, pyramid, steps */
.pagehead { border-bottom: 1px solid var(--hair); position: relative; }
.pagehead h1 { display: flex; flex-direction: column; gap: 20px; }
.pagehead h1::after { content: ""; width: 72px; height: 1px; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); }
.pyr__bar { background: linear-gradient(135deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.pyr__row--1 .pyr__bar { background: linear-gradient(135deg, #D2B67C, #B3945C 55%, #94773F); } .pyr__row--2 .pyr__bar { background: linear-gradient(135deg, #BC9F66, #9C7F4C 55%, #7E6433); }
.steps li { border-color: var(--line); position: relative; }
.steps li::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); }
.steps b { font-size: 56px; }

/* product page */
.pdp__name { letter-spacing: .01em; }
.pdp__price { font-family: var(--serif); font-size: 30px; }
.pdp__brand { letter-spacing: .28em; }
.qty, .pill, .step, .summary, .filters, .olist li { border-color: var(--line); }
.summary, .step { box-shadow: 0 18px 40px rgba(9, 43, 32, .06); }
.summary { border-top: 2px solid var(--gold); }

/* footer */
.foot { border-top: 1px solid var(--hair); }
.foot .logo svg { height: 26px; }
.drawer__head { border-bottom: 1px solid var(--hair); }

/* reveal */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; } .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .ribbon__track { animation: none; } .rv { opacity: 1; transform: none; } .btn--gold::after { display: none; } }
@media (max-width: 799px) { .annc { font-size: 11px; letter-spacing: .14em; } .lux { font-size: 11px; letter-spacing: .16em; gap: 10px; } .lux::before, .lux::after { width: 18px; } }

/* ================= v12: notes on the product page ================= */
.notes { grid-column: 1 / -1; padding: clamp(22px, 3vw, 36px); background: var(--green); color: var(--cream); border: 1px solid var(--hair); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 24px 36px; }
.notes .mini { grid-column: 1 / -1; color: var(--gold); margin: 0; font-size: 14px; }
.notes__tier h3 { font: 500 24px/1.2 var(--serif); color: var(--gold); padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--hair); }
html[lang="ar"] .notes__tier h3 { font-family: var(--arabic); font-size: 21px; }
.notes__tier ul { display: flex; flex-wrap: wrap; gap: 8px; }
.notes__tier li { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border: 1px solid var(--hair); background: rgba(198, 166, 106, .08); font-size: 15px; }
.notes__tier--main { grid-column: 1 / -1; }
/* Admin-managed imagery keeps the reference's green, gold and cream geometry. */
.house{position:relative;isolation:isolate;overflow:hidden}.house-logo{height:56px;max-width:160px;object-fit:contain;object-position:center;background:var(--cream);padding:8px;border-radius:2px}.collection-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.house:has(.collection-photo)::after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(9,43,32,.95),rgba(9,43,32,.35));z-index:-1}.campaigns{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:24px}.campaign{position:relative;display:block;min-height:360px;color:var(--cream);background:var(--green);overflow:hidden;text-decoration:none}.campaign>img{position:absolute;width:100%;height:100%;object-fit:cover;opacity:.65;transition:transform .5s}.campaign:hover>img{transform:scale(1.03)}.campaign>div{position:relative;padding:32px;min-height:360px;display:flex;flex-direction:column;justify-content:flex-end;background:linear-gradient(0deg,rgba(9,43,32,.85),transparent)}.campaign h3{font:400 36px/1.15 var(--serif);color:var(--gold);margin-bottom:12px}.campaign span{margin-top:24px;text-decoration:underline;text-underline-offset:6px}.journal-entry{padding:24px;border:1px solid #c6a66a66;display:flex;flex-direction:column;gap:18px}.journal-entry img{width:100%;aspect-ratio:4/3;object-fit:cover}.journal-entry p{white-space:pre-line}.gallery-thumbs{display:flex;gap:10px;overflow:auto;margin-top:12px}.gallery-thumbs button{width:70px;height:84px;flex-shrink:0;border:1px solid var(--gold);padding:3px;background:transparent}.gallery-thumbs img{width:100%;height:100%;object-fit:cover}.btn:disabled,button:disabled{opacity:.5;cursor:not-allowed}.policy-copy{white-space:pre-line}
/* Let the reference checkout fit narrow screens with real cart contents. */
.checkout>*,.checkout .step,.checkout .form,.checkout .field,.product-gallery{min-width:0}
.checkout .field input,.checkout .field textarea{width:100%;min-width:0}
.summary li>span{min-width:0;overflow-wrap:anywhere}
.store-category-nav{display:contents}.top .nav{flex-wrap:wrap}
.hero__photograph{aspect-ratio:560/520;object-fit:cover}
/* Keep the reference's 64px logo/actions row even when the cart count is visible.
   The agreed category links occupy their own row without wrapping the logo. */
@media(max-width:799px){
 .top__in{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:64px auto;gap:0 12px}
 .top__in>.logo{grid-column:1;grid-row:1;min-width:0}
 .top__actions{grid-column:2;grid-row:1;min-width:0}
 .top .nav{display:flex;grid-column:1/-1;grid-row:2;margin:0;justify-content:space-between;gap:4px 12px}
 .top .nav>a{display:none}
 .top .nav .store-category-nav a{font-size:15px}
}
