/* Fennec Perfumes storefront. Tokens first; components below. */
:root {
  --sand: #efe6da;
  --paper: #f7f1e8;
  --white: #ffffff;
  --ink: #1c1b1a;
  --ink-2: #4a4741;
  --muted: #5f5a54;
  --line: #e1dcd3;
  --rose: #b6887a;
  --rose-deep: #7d5045;
  --rose-soft: #ecd9d1;
  --dusk: #19191c;
  --espresso: #39221e;
  --gold: #af751b;
  --gold-pale: #ddbe78;
  --label: #1f3a33;
  --ok: #2f6b4f;
  --warn: #a5652a;
  --bad: #a33a32;
  --radius: 24px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -28px rgba(57, 34, 30, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --arabic: "IBM Plex Sans Arabic", "Jost", system-ui, sans-serif;
  --wrap: 1280px;
  --hdr: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.6 var(--sans); letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}
html[lang="ar"] body { font-family: var(--arabic); letter-spacing: 0; }
html[lang="ar"] .serif, html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { font-family: var(--arabic); font-weight: 500; letter-spacing: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: 0; margin: 0; }
h1 { font-size: clamp(2.6rem, 6.4vw, 6.4rem); font-weight: 300; line-height: 1.05; }
h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); font-weight: 300; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.eyebrow { font-size: .75rem; letter-spacing: .32em; text-transform: uppercase; color: var(--rose-deep); font-weight: 500; }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: .85rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.center { text-align: center; }
.stack > * + * { margin-top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper); cursor: pointer;
  font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
html[lang="ar"] .btn { letter-spacing: 0; font-size: .95rem; }
.btn:hover { background: var(--rose-deep); border-color: var(--rose-deep); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-light:hover { background: var(--rose-soft); border-color: var(--rose-soft); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link { border-bottom: 1px solid currentColor; padding-bottom: 2px; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; }
html[lang="ar"] .link { letter-spacing: 0; font-size: .9rem; }

/* Announcement + header */
.announce { background: var(--dusk); color: var(--rose-soft); font-size: .75rem; letter-spacing: .24em; text-transform: uppercase; text-align: center; padding: 9px 16px; }
html[lang="ar"] .announce { letter-spacing: 0; font-size: .85rem; }
.hdr { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .3s; }
/* Blur lives on a pseudo-element: backdrop-filter on .hdr itself would trap the fixed-position picker panel. */
.hdr::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(247, 241, 232, .9); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
.hdr-in { height: var(--hdr); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; justify-self: center; }
.logo img { height: 44px; width: auto; }
.logo-word { font-family: var(--serif); font-size: 1.55rem; letter-spacing: .28em; color: var(--rose-deep); }
.nav { display: flex; gap: 26px; font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; }
html[lang="ar"] .nav { letter-spacing: 0; font-size: .92rem; }
.nav a { padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--rose); }
.hdr-tools { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.icon-btn { position: relative; width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 50%; border: 0; background: transparent; cursor: pointer; }
.icon-btn:hover { background: var(--sand); }
.icon-btn svg { width: 21px; height: 21px; }
.badge { position: absolute; top: 3px; inset-inline-end: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--rose-deep); color: #fff; font-size: .75rem; display: grid; place-items: center; font-weight: 600; }
.menu-btn { display: none; }

/* Country / currency picker */
.picker { position: relative; }
.picker > button {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--white); cursor: pointer; font-size: .82rem;
}
.flag { font-size: 1.05rem; line-height: 1; display: inline-flex; }
.flag-img { width: 20px; height: 14px; border-radius: 2px; object-fit: cover; vertical-align: -2px; box-shadow: 0 0 0 1px rgba(43, 30, 25, .12); display: inline-block; }
.picker-panel {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; width: 290px; z-index: 60;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px;
}
.picker-panel[hidden] { display: none; }
.picker-panel h4 { margin: 0 0 10px; font-size: .75rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.country-list { display: grid; gap: 4px; margin-bottom: 14px; }
.country-list button {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: start; border: 0; background: transparent;
  padding: 9px 10px; border-radius: var(--radius-sm); cursor: pointer;
}
.country-list button:hover { background: var(--sand); }
.country-list button[aria-pressed="true"] { background: var(--rose-soft); }
.country-list .cur { margin-inline-start: auto; color: var(--muted); font-size: .8rem; }
.lang-switch { display: flex; gap: 6px; }
.lang-switch a { flex: 1; text-align: center; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: .85rem; }
.lang-switch a[aria-current="true"] { border-color: var(--ink); }

.country-hint {
  background: var(--rose-soft); color: var(--ink); font-size: .86rem;
}
.country-hint .wrap { display: flex; align-items: center; justify-content: center; gap: 14px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.country-hint button { border: 0; background: none; cursor: pointer; text-decoration: underline; padding: 0; }

/* Hero: cross-fading slides with a slow zoom; copy rises in on load */
.hero { position: relative; min-height: min(92vh, 860px); display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--dusk); isolation: isolate; }
.hero-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.4s var(--ease); z-index: -2; }
.hero-slide.on { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transform: scale(1.12); }
.hero-slide.on img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(25,25,28,.25) 0%, rgba(25,25,28,0) 30%, rgba(25,25,28,.82) 100%); }
.hero-copy { position: relative; z-index: 2; padding: 0 20px 56px; max-width: var(--wrap); margin: 0 auto; width: 100%; }
.hero-copy .eyebrow { color: var(--gold-pale); }
.hero-copy h1 { max-width: 11ch; margin: 14px 0 20px; }
.hero-copy p { max-width: 46ch; color: rgba(255,255,255,.84); font-size: 1.08rem; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* Sections */
.section { padding: 84px 0; }
.section-sand { background: var(--sand); }
.section-dusk { background: var(--dusk); color: var(--paper); }
.section-dusk .muted { color: #c8b3a9; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.sec-head h2 { margin-top: 8px; }

/* Collections tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: var(--sand); color: var(--paper); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.tile:hover img { transform: scale(1.05); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(43,30,25,.72)); }
.tile span { position: absolute; z-index: 2; inset-inline: 18px; bottom: 18px; }
.tile strong { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 500; }
html[lang="ar"] .tile strong { font-family: var(--arabic); font-size: 1.3rem; }
.tile small { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; opacity: .85; }

/* Product grid + card */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 18px; }
.card { display: flex; flex-direction: column; }
.card-media { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--sand); aspect-ratio: 4 / 5; transform: translateZ(0); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.card:hover .card-media img { transform: scale(1.04); }
.card-flag { position: absolute; top: 12px; inset-inline-start: 12px; background: var(--paper); color: var(--ink); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
html[lang="ar"] .card-flag { letter-spacing: 0; font-size: .78rem; }
.card-flag.out { background: var(--ink); color: var(--paper); }
.wish { position: absolute; top: 10px; inset-inline-end: 10px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(251,248,244,.92); display: grid; place-items: center; cursor: pointer; }
.wish svg { width: 18px; height: 18px; }
.wish[aria-pressed="true"] svg { fill: var(--rose-deep); stroke: var(--rose-deep); }
.card-body { padding: 14px 2px 0; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-type { font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
html[lang="ar"] .card-type { letter-spacing: 0; font-size: .8rem; }
.card-name { font-family: var(--serif); font-size: 1.35rem; line-height: 1.15; }
html[lang="ar"] .card-name { font-family: var(--arabic); font-size: 1.08rem; }
.price { font-weight: 500; color: var(--rose-deep); font-variant-numeric: tabular-nums; }
.price s { color: var(--muted); font-weight: 400; margin-inline-start: 6px; }
.card-add { margin-top: 12px; }
.card-add .btn { min-height: 42px; width: 100%; padding: 0 14px; }

/* Shop toolbar */
.page-head { padding: 54px 0 26px; text-align: center; }
.page-head p { max-width: 60ch; margin: 14px auto 0; color: var(--muted); }
.crumbs { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding-top: 22px; }
html[lang="ar"] .crumbs { letter-spacing: 0; font-size: .85rem; }
.crumbs a:hover { color: var(--ink); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 16px 0; border-block: 1px solid var(--line); margin-bottom: 30px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: .82rem; background: var(--white); }
.chip[aria-current="page"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.select { height: 42px; padding: 0 36px 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232b1e19' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
html[dir="rtl"] .select { padding: 0 14px 0 36px; background-position: left 14px center; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }

/* Product page */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; padding: 26px 0 70px; }
.pdp-media { position: sticky; top: calc(var(--hdr) + 20px); align-self: start; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.pdp-media img { width: 100%; height: auto; }
.pdp-info { padding-top: 10px; }
.pdp-info h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin: 10px 0 6px; }
.pdp-sub { color: var(--muted); margin-bottom: 18px; }
.pdp-price { font-size: 1.5rem; color: var(--rose-deep); margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.pdp-tax { font-size: .82rem; color: var(--muted); margin-bottom: 26px; }
.stock-line { display: flex; align-items: center; gap: 8px; font-size: .88rem; margin-bottom: 18px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.dot.low { background: var(--warn); }
.dot.out { background: var(--bad); }
.buy-row { display: flex; gap: 12px; align-items: stretch; margin-bottom: 26px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.qty button { width: 44px; height: 48px; border: 0; background: none; cursor: pointer; font-size: 1.15rem; }
.qty input { width: 40px; text-align: center; border: 0; background: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-row .btn { flex: 1; }
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 8px 0 26px; }
.note { background: var(--sand); border-radius: var(--radius-sm); padding: 14px; }
.note small { display: block; font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
html[lang="ar"] .note small { letter-spacing: 0; font-size: .8rem; }
.facts { border-top: 1px solid var(--line); }
.facts details { border-bottom: 1px solid var(--line); }
.facts summary { cursor: pointer; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; }
html[lang="ar"] .facts summary { letter-spacing: 0; font-size: .92rem; }
.facts summary::after { content: "+"; font-size: 1.1rem; }
.facts details[open] summary::after { content: "–"; }
.facts .fact-body { padding: 0 0 18px; color: var(--ink-2); font-size: .95rem; }
.ship-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.ship-table td, .ship-table th { padding: 8px 0; border-bottom: 1px dashed var(--line); text-align: start; }
.ship-table th { font-weight: 500; color: var(--muted); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }

/* Cart drawer + pages */
.drawer-bg { position: fixed; inset: 0; background: rgba(43,30,25,.45); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .25s; }
.drawer { position: fixed; top: 0; bottom: 0; inset-inline-end: 0; width: min(420px, 100%); z-index: 90; background: var(--paper);
  transform: translateX(100%); transition: transform .3s cubic-bezier(.2,.7,.2,1); display: flex; flex-direction: column; }
html[dir="rtl"] .drawer { transform: translateX(-100%); }
body.drawer-open .drawer { transform: none; }
body.drawer-open .drawer-bg { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-body { flex: 1; overflow: auto; padding: 8px 20px; }
.drawer-foot { padding: 18px 20px; border-top: 1px solid var(--line); background: var(--white); }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line img { width: 72px; height: 90px; object-fit: cover; border-radius: var(--radius-sm); background: var(--sand); }
.line-name { font-family: var(--serif); font-size: 1.15rem; line-height: 1.15; }
html[lang="ar"] .line-name { font-family: var(--arabic); font-size: 1rem; }
.line-meta { font-size: .8rem; color: var(--muted); }
.line .qty button { width: 32px; height: 34px; }
.line .qty input { width: 28px; }
.line-remove { border: 0; background: none; color: var(--muted); font-size: .78rem; cursor: pointer; text-decoration: underline; padding: 0; margin-top: 4px; }
.sum { display: flex; justify-content: space-between; padding: 5px 0; font-size: .95rem; }
.sum.total { font-size: 1.15rem; font-weight: 500; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; }
.free-bar { font-size: .82rem; margin-bottom: 12px; }
.free-bar .bar { height: 4px; background: var(--line); border-radius: 2px; margin-top: 6px; overflow: hidden; }
.free-bar .bar i { display: block; height: 100%; background: var(--rose); }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
html[lang="ar"] .field label { letter-spacing: 0; font-size: .88rem; }
.input, .textarea, .field select {
  width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white);
}
.textarea { height: auto; min-height: 90px; padding: 12px 14px; resize: vertical; }
.input:focus, .textarea:focus, .field select:focus, .select:focus { outline: 2px solid var(--rose); outline-offset: 1px; border-color: transparent; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--rose-deep); }
.err { color: var(--bad); font-size: .82rem; margin-top: 4px; }
.alert { padding: 14px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: .92rem; }
.alert-ok { background: #e6f1ea; color: #1f4a35; }
.alert-bad { background: #f6e3e1; color: #7a2a24; }
.alert-info { background: var(--rose-soft); }

.checkout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; padding: 26px 0 80px; align-items: start; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.panel h2 { font-size: 1.6rem; margin-bottom: 18px; }
.panel + .panel { margin-top: 18px; }
.pay-opt { display: flex; gap: 12px; align-items: center; padding: 16px; border: 1px solid var(--ink); border-radius: var(--radius-sm); }
.pay-opt svg { width: 28px; height: 28px; flex: none; color: var(--rose-deep); }
.summary-sticky { position: sticky; top: calc(var(--hdr) + 20px); }

/* Account / static pages */
.narrow { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.7rem; margin: 30px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.table th { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .75rem; background: var(--sand); }
.pill.ok { background: #e6f1ea; color: #1f4a35; }
.pill.warn { background: #f7ead9; color: #7a4a17; }
.pill.bad { background: #f6e3e1; color: #7a2a24; }
.steps { display: flex; gap: 0; margin: 24px 0; }
.steps li { flex: 1; list-style: none; text-align: center; font-size: .78rem; color: var(--muted); position: relative; padding-top: 22px; }
.steps li::before { content: ""; position: absolute; top: 6px; inset-inline: 0; height: 2px; background: var(--line); }
.steps li::after { content: ""; position: absolute; top: 0; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--line); }
.steps li.done { color: var(--ink); }
.steps li.done::before, .steps li.done::after { background: var(--rose-deep); }

/* Story band + features */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.story img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { padding: 22px; border: 1px solid rgba(236, 217, 209, .25); border-radius: var(--radius); }
.feature svg { width: 26px; height: 26px; color: var(--rose); margin-bottom: 12px; }
.feature strong { display: block; margin-bottom: 4px; font-weight: 500; }
.feature p { font-size: .9rem; margin: 0; }
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--sand); }
.marquee-track { display: flex; gap: 48px; width: max-content; padding: 16px 0; animation: marquee 40s linear infinite; font-family: var(--serif); font-size: 1.4rem; color: var(--rose-deep); }
html[dir="rtl"] .marquee-track { animation-direction: reverse; }
.marquee-track span::after { content: "✦"; margin-inline-start: 48px; font-size: .8rem; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } * { transition: none !important; } }

/* Footer */
.ftr { background: var(--dusk); color: #d9c7be; padding: 64px 0 26px; font-size: .92rem; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.ftr h4 { font-size: .75rem; letter-spacing: .24em; text-transform: uppercase; color: var(--rose); font-weight: 500; margin: 0 0 14px; }
html[lang="ar"] .ftr h4 { letter-spacing: 0; font-size: .85rem; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ftr a:hover { color: #fff; }
.ftr-logo { height: 84px; width: auto; margin-bottom: 14px; filter: brightness(1.15); }
.ftr-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 46px; padding-top: 20px; border-top: 1px solid rgba(236, 217, 209, .18); font-size: .8rem; color: #a8938a; }
.paymarks { display: flex; gap: 8px; align-items: center; }
.paymarks span { border: 1px solid rgba(236, 217, 209, .3); border-radius: 6px; padding: 3px 8px; font-size: .75rem; }

.wa-float { position: fixed; bottom: 20px; inset-inline-end: 20px; z-index: 70; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -10px rgba(0,0,0,.45); }
.wa-float svg { width: 28px; height: 28px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 30px); opacity: 0; z-index: 100; background: var(--ink); color: var(--paper); padding: 12px 20px; border-radius: 999px; font-size: .88rem; transition: all .3s; pointer-events: none; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); animation: reveal-fallback .6s ease 1.5s forwards; }
.js .reveal.in { opacity: 1; transform: none; animation: none; }
/* If the scroll trigger never fires (old browser, background tab), show content anyway. */
@keyframes reveal-fallback { to { opacity: 1; transform: none; } }

/* Mobile nav */
.mnav { position: fixed; inset: 0; z-index: 85; background: var(--paper); padding: 90px 24px 24px; transform: translateX(-100%); transition: transform .3s; overflow: auto; }
html[dir="rtl"] .mnav { transform: translateX(100%); }
body.mnav-open .mnav { transform: none; }
.mnav a { display: block; font-family: var(--serif); font-size: 2rem; padding: 10px 0; border-bottom: 1px solid var(--line); }
html[lang="ar"] .mnav a { font-family: var(--arabic); font-size: 1.4rem; }
.mnav-close { position: absolute; top: 18px; inset-inline-end: 18px; }

@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .hdr-in { grid-template-columns: auto 1fr auto; }
  .logo { justify-self: start; }
  .pdp, .checkout, .story { grid-template-columns: 1fr; gap: 28px; }
  .pdp-media, .summary-sticky { position: static; }
  .picker > button .picker-label { display: none; }
}
@media (max-width: 600px) {
  :root { --hdr: 62px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .wrap { padding: 0 16px; }
  .section { padding: 56px 0; }
  .logo img { height: 34px; }
  .logo { gap: 6px; }
  .logo-word { font-size: 1.05rem; letter-spacing: .16em; }
  .hdr-in { gap: 8px; }
  .hdr-tools { gap: 0; }
  .hdr-search { display: none; }
  .picker > button { padding: 0 9px; height: 34px; }
  .card-name { font-size: 1.12rem; }
  .card-add .btn { font-size: .75rem; letter-spacing: .12em; }
  .form-grid { grid-template-columns: 1fr; }
  .notes { grid-template-columns: 1fr; }
  .ftr-grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .panel { padding: 18px; }
  .icon-btn { width: 38px; height: 38px; }
  .hero { min-height: 74vh; }
  .hero-copy { padding-bottom: 40px; }
  .picker-panel { position: fixed; top: calc(var(--hdr) + 40px); inset-inline: 16px; width: auto; }
}

/* ---------- Motion & extras (Oura-style pacing, Fennec palette) ---------- */
.scroll-progress { position: fixed; top: 0; inset-inline: 0; height: 2px; z-index: 120; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--gold), var(--rose)); transform: scaleX(0); transform-origin: 0 50%; }
html[dir="rtl"] .scroll-progress i { transform-origin: 100% 50%; }

.hdr.is-hidden { transform: translateY(-100%); }
.hdr.is-scrolled { box-shadow: 0 10px 30px -24px rgba(57, 34, 30, .5); }

/* Language toggle: always visible in the header */
.lang-toggle { display: inline-flex; align-items: center; height: 36px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); position: relative; }
.lang-toggle a { min-width: 34px; height: 28px; padding: 0 9px; display: inline-grid; place-items: center; border-radius: 999px; font-size: .78rem; font-weight: 500; letter-spacing: .08em; color: var(--muted); transition: background .25s var(--ease), color .25s; }
.lang-toggle a[lang="ar"] { font-family: var(--arabic); font-size: .95rem; letter-spacing: 0; }
.lang-toggle a[aria-current="true"] { background: var(--ink); color: var(--paper); }
.lang-toggle a:not([aria-current="true"]):hover { color: var(--ink); background: var(--sand); }

/* Hero entrance */
.js .hero-in { opacity: 0; transform: translateY(24px); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 90ms + 150ms); }
.split-word { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .06em; margin-bottom: -.06em; }
.split-word > span { display: inline-block; transform: translateY(105%); animation: word-up 1s var(--ease) forwards; animation-delay: calc(var(--w, 0) * 80ms + 250ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes word-up { to { transform: none; } }
.btn-on-dark { color: #fff; border-color: rgba(255,255,255,.85); }
.btn-on-dark:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero-foot { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-top: 46px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.22); flex-wrap: wrap; }
.hero-now { display: grid; gap: 2px; transition: opacity .4s; }
.hero-now small { font-size: .75rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-pale); }
html[lang="ar"] .hero-now small { letter-spacing: 0; font-size: .82rem; }
.hero-now strong { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.1; }
html[lang="ar"] .hero-now strong { font-family: var(--arabic); font-size: 1.3rem; }
.hero-now span { font-size: .9rem; color: rgba(255,255,255,.8); }
.hero-now.swap { opacity: 0; }
.hero-dots { display: flex; gap: 10px; }
.hero-dots button { width: 54px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.hero-dots i { display: block; height: 2px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; border-radius: 2px; }
.hero-dots i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: 0 50%; }
html[dir="rtl"] .hero-dots i::after { transform-origin: 100% 50%; }
.hero-dots button[aria-selected="true"] i::after { animation: dot-fill var(--slide-ms, 6000ms) linear forwards; }
@keyframes dot-fill { to { transform: scaleX(1); } }
.hero-scroll { position: absolute; bottom: 18px; left: 50%; width: 1px; height: 38px; background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,.8)); z-index: 2; animation: scroll-cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes scroll-cue { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* Counters */
.stats { background: var(--paper); border-bottom: 1px solid var(--line); }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 12px; text-align: center; border-inline-end: 1px solid var(--line); display: grid; gap: 4px; }
.stat:last-child { border-inline-end: 0; }
.stat strong { font-family: var(--sans); font-weight: 300; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.1; letter-spacing: .02em; color: var(--espresso); font-variant-numeric: lining-nums tabular-nums; }
.stat span { font-size: .75rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
html[lang="ar"] .stat span { letter-spacing: 0; font-size: .88rem; }

/* Reveal with stagger (index set by fennec.js) */
.js .reveal { transition-delay: calc(var(--i, 0) * 70ms); }
.js .card.reveal .card-media img { transform: scale(1.08); transition: transform 1.4s var(--ease); }
.js .card.reveal.in .card-media img { transform: scale(1); }
.js .card.reveal.in:hover .card-media img { transform: scale(1.05); transition-duration: .7s; }

/* Card hover: notes slide up, soft lift */
.card { transition: transform .5s var(--ease); }
.card:hover { transform: translateY(-4px); }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(25,25,28,.55)); opacity: 0; transition: opacity .45s var(--ease); pointer-events: none; }
.card-notes { position: absolute; inset-inline: 14px; bottom: 14px; z-index: 2; color: #fff; font-size: .78rem; line-height: 1.35; opacity: 0; transform: translateY(12px); transition: opacity .45s var(--ease), transform .45s var(--ease); pointer-events: none; }
@media (hover: hover) {
  .card:hover .card-media::after, .card:hover .card-notes { opacity: 1; transform: none; }
}
.card-add .btn { position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); pointer-events: none; }
.btn { position: relative; overflow: hidden; }
.btn:hover::after { animation: shine .8s var(--ease); }
@keyframes shine { to { left: 130%; } }

/* Tiles + story parallax */
.tile { transform: translateZ(0); }
.tile span { transition: transform .5s var(--ease); }
.tile:hover span { transform: translateY(-6px); }
.story-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.story-media img { width: 100%; height: 118%; object-fit: cover; will-change: transform; border-radius: 0; aspect-ratio: auto; }

/* Fly-to-bag dot + badge bump */
.fly-dot { position: fixed; z-index: 150; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--rose-deep); box-shadow: 0 0 0 4px rgba(182,136,122,.25); pointer-events: none; left: 0; top: 0; }
.badge.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.45); } 100% { transform: scale(1); } }

/* Drawer lines slide in */
body.drawer-open .drawer .line { animation: line-in .5s var(--ease) both; }
body.drawer-open .drawer .line:nth-child(2) { animation-delay: .05s; }
body.drawer-open .drawer .line:nth-child(3) { animation-delay: .1s; }
body.drawer-open .drawer .line:nth-child(4) { animation-delay: .15s; }
@keyframes line-in { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
html[dir="rtl"] body.drawer-open .drawer .line { animation-name: line-in-rtl; }
@keyframes line-in-rtl { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }

/* Page enter */
.pdp-media img { animation: pdp-in 1.1s var(--ease) both; }
@keyframes pdp-in { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .hero-in, .split-word > span { opacity: 1; transform: none; }
  .hero-slide.on img { transform: none; }
}

/* ---------- Screen sizes: 1600+ / 1280 / 1024 / 768 / 600 / 480 / 360 ---------- */
@media (min-width: 1600px) {
  :root { --wrap: 1440px; }
  body { font-size: 17px; }
  .grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 1279px) {
  .hero-copy h1 { max-width: 12ch; }
}
@media (max-width: 1023px) {
  .stats-in { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-inline-end: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section { padding: 68px 0; }
}
@media (max-width: 767px) {
  .hero { min-height: 82vh; min-height: 82svh; }
  .hero-foot { margin-top: 30px; padding-inline-end: 72px; }
  .hero-now strong { font-size: 1.35rem; }
  .hero-scroll { display: none; }
  .sec-head { margin-bottom: 26px; }
  .story { gap: 30px; }
}
@media (max-width: 600px) {
  .lang-toggle { height: 34px; }
  .lang-toggle a { min-width: 30px; padding: 0 7px; height: 26px; }
  .picker > button .picker-label { display: none; }
  .hero-cta .btn { flex: 1 1 auto; }
  .stat { padding: 24px 8px; }
  .tiles { gap: 10px; }
  .tile strong { font-size: 1.25rem; }
}
@media (max-width: 480px) {
  .hdr-account { display: none; }
  .logo-word { display: none; }
  .hero-dots button { width: 40px; }
  .card-notes { display: none; }
  .btn { padding: 0 18px; }
  .drawer { width: 100%; }
}
@media (max-width: 360px) {
  .wrap { padding: 0 12px; }
  .grid { gap: 18px 10px; }
  .card-name { font-size: 1rem; }
  .icon-btn { width: 34px; height: 34px; }
  .picker > button { padding: 0 7px; }
}

/* Catalogue packshots: white studio shots sit on white, styled photo fades in on hover */
.card-media.is-packshot { background: #fff; }
.card-media.is-packshot > img:first-child { object-fit: cover; }
.card-alt { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease); }
@media (hover: hover) { .card:hover .card-alt { opacity: 1; } }
.pdp-media { background: var(--sand); }
.pdp-media img.is-packshot { background: #fff; object-fit: cover; aspect-ratio: 4 / 5; }
.pdp-thumbs { display: flex; gap: 10px; padding: 12px; background: var(--paper); }
.pdp-thumbs button { width: 74px; height: 92px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: #fff; cursor: pointer; transition: border-color .2s; }
.pdp-thumbs button[aria-current="true"] { border-color: var(--ink); }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* Five collection tiles */
.tiles { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1080px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tiles .tile:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
}
.about-figure { margin: 0 0 26px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; }
.about-figure img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }

/* Model band: four tall portraits that rise in one after another */
.band-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.band-item { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4.4; background: var(--sand); }
.band-item:nth-child(even) { margin-top: 48px; }
.band-item img { width: 100%; height: 118%; object-fit: cover; will-change: transform; transition: filter .6s var(--ease); }
.band-item:hover img { filter: brightness(1.05) saturate(1.05); }

/* Masonry gallery */
.masonry { columns: 4 240px; column-gap: 16px; }
.masonry-item { display: block; break-inside: avoid; margin-bottom: 16px; border-radius: var(--radius-sm); overflow: hidden; background: var(--sand); position: relative; cursor: zoom-in; }
.masonry-item img { width: 100%; height: auto; transition: transform .9s var(--ease); }
.masonry-item:hover img { transform: scale(1.04); }
.masonry-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(25,25,28,.35)); opacity: 0; transition: opacity .4s; }
.masonry-item:hover::after { opacity: 1; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(18, 16, 15, .94); display: grid; place-items: center; opacity: 0; transition: opacity .3s var(--ease); }
.lightbox.open { opacity: 1; }
.lb-stage { margin: 0; max-width: min(92vw, 1200px); max-height: 88vh; display: grid; place-items: center; }
.lb-stage img { max-width: 100%; max-height: 88vh; width: auto; height: auto; border-radius: 6px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); transition: opacity .25s, transform .35s var(--ease); }
.lb-stage img.swap { opacity: 0; transform: scale(.98); }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lb-btn:hover { background: rgba(255,255,255,.2); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 18px; inset-inline-end: 18px; }
.lb-prev { inset-inline-start: 18px; top: 50%; margin-top: -26px; }
.lb-prev svg { transform: rotate(180deg); }
html[dir="rtl"] .lb-prev svg { transform: none; }
html[dir="rtl"] .lb-next svg { transform: rotate(180deg); }
.lb-next { inset-inline-end: 18px; top: 50%; margin-top: -26px; }
.lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.75); font-size: .82rem; letter-spacing: .2em; }
body.lb-open { overflow: hidden; }

.nav-wide { display: none; }
@media (min-width: 1200px) { .nav-wide { display: inline; } }
@media (max-width: 1023px) {
  .band-grid { grid-template-columns: repeat(2, 1fr); }
  .band-item:nth-child(even) { margin-top: 32px; }
  .masonry { columns: 3 200px; }
}
@media (max-width: 600px) {
  .band-grid { gap: 10px; }
  .band-item:nth-child(even) { margin-top: 22px; }
  .masonry { columns: 2; column-gap: 10px; }
  .masonry-item { margin-bottom: 10px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; margin-top: 0; width: 46px; height: 46px; }
  .lb-count { bottom: 28px; }
}

/* Six menu items: switch to the menu button below 1024px so the centred logo never crowds the links */
@media (max-width: 1023px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .hdr-in { grid-template-columns: auto 1fr auto; }
  .logo { justify-self: start; }
}

/* Prices: dirham sign, deeper colour, more weight */
:root { --price: #9b4a35; --price-hover: #7f3a29; }
.amt { display: inline-flex; align-items: baseline; gap: .2em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dh { width: 1.02em; height: .86em; flex: none; align-self: center; margin-top: -.06em; }
.amt-c { font-size: .78em; letter-spacing: .04em; font-weight: 600; }
.price { color: var(--price); font-weight: 600; font-size: 1.18rem; letter-spacing: 0; }
.price s { font-size: .82em; font-weight: 400; }
.pdp-price { color: var(--price); font-weight: 600; font-size: clamp(1.7rem, 2.6vw, 2.1rem); }
.sum .amt { font-weight: 500; }
.sum.total .amt { color: var(--price); font-weight: 600; }

/* Card + product buttons: solid Add to bag and Buy now */
.card-add { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.card-add .btn { width: auto; min-height: 44px; padding: 0 10px; font-size: .75rem; letter-spacing: .14em; gap: 7px; }
.card-add .btn-wide { grid-column: 1 / -1; }
.btn-bag svg { width: 16px; height: 16px; flex: none; }
.btn-buy { background: var(--price); border-color: var(--price); color: #fff; }
.btn-buy:hover { background: var(--price-hover); border-color: var(--price-hover); }
.btn-buy .amt { color: inherit; }
.btn-buy .dh { width: .95em; height: .8em; }
.buy-row { flex-wrap: wrap; }
.buy-row .btn-bag, .buy-row .btn-buy { flex: 1 1 180px; min-height: 52px; }
html[lang="ar"] .card-add .btn { letter-spacing: 0; font-size: .86rem; }
@media (max-width: 480px) {
  .card-add { grid-template-columns: 1fr; gap: 6px; }
  .card-add .btn { min-height: 40px; }
  .price { font-size: 1.08rem; }
}

/* ---------- Notes hero: ingredients gather into the Cordovan bottle (public/js/notes-hero.js) ---------- */
.notes-hero { --notes-bg: #120d0a; position: relative; background: var(--notes-bg); color: #fff; overflow: hidden; isolation: isolate; }
.notes-in { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; min-height: min(calc(100vh - var(--hdr)), 860px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr) auto; align-items: center; gap: 24px; }
.notes-copy { padding: 56px 0; position: relative; z-index: 2; }
.notes-copy .eyebrow { color: var(--gold-pale); }
.notes-copy h1 { max-width: 10ch; margin: 16px 0 22px; font-size: clamp(2.6rem, 5.6vw, 5.6rem); }
.notes-copy p { max-width: 40ch; color: rgba(255,255,255,.78); font-size: 1.06rem; }
.notes-copy .arr { display: inline-block; margin-inline-start: 6px; transition: transform .3s var(--ease); }
.notes-copy .btn:hover .arr { transform: translateX(4px); }
[dir="rtl"] .notes-copy .arr { transform: scaleX(-1); }
[dir="rtl"] .notes-copy .btn:hover .arr { transform: scaleX(-1) translateX(4px); }
.notes-now { display: inline-grid; gap: 2px; margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); min-width: 220px; }
.notes-now small { font-size: .75rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-pale); }
.notes-now strong { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.15; }
.notes-now .price { color: #f0c98a; }
.notes-stage { position: relative; aspect-ratio: 1 / 1; width: 100%; max-height: min(calc(100vh - var(--hdr) - 40px), 820px); justify-self: center; }
.notes-stage > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.notes-poster { object-fit: contain; transition: opacity .8s var(--ease); }
.notes-canvas { display: block; opacity: 0; transition: opacity .8s var(--ease); }
.notes-hero.is-live .notes-canvas { opacity: 1; }
.notes-hero.is-live .notes-poster { opacity: 0; }
.notes-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; justify-items: center; }
.notes-steps li { display: grid; justify-items: center; gap: 8px; color: rgba(255,255,255,.38); transition: color .5s var(--ease); }
.notes-steps b { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid currentColor; border-radius: 50%; font-weight: 400; font-size: .78rem; letter-spacing: .06em; transition: background .5s var(--ease), border-color .5s; }
.notes-steps span { writing-mode: vertical-rl; font-size: .75rem; letter-spacing: .26em; text-transform: uppercase; }
.notes-steps li.on { color: #fff; }
.notes-steps li.on b { border-color: var(--gold-pale); background: rgba(221,190,120,.14); }
:lang(ar) .notes-steps span { writing-mode: horizontal-tb; letter-spacing: 0; font-size: .8rem; }
.hero-h { font-size: clamp(2.6rem, 6.4vw, 6.4rem); font-weight: 300; line-height: 1.05; max-width: 11ch; margin: 14px 0 20px; }

@media (max-width: 1023px) {
  .notes-in { grid-template-columns: 1fr; gap: 0; min-height: 0; padding-top: 0; }
  .notes-copy { padding: 8px 0 48px; text-align: start; }
  .notes-stage { order: -2; max-width: 520px; max-height: none; aspect-ratio: 1 / .86; }
  .notes-steps { order: -1; grid-auto-flow: column; justify-content: center; gap: 28px; padding: 0 0 20px; }
  .notes-steps li { grid-auto-flow: column; align-items: center; }
  .notes-steps span { writing-mode: horizontal-tb; }
  .notes-now { display: none; }
}
@media (max-width: 480px) {
  .notes-copy h1 { font-size: clamp(2.3rem, 11vw, 3rem); }
  .notes-steps { gap: 12px; }
  .notes-steps b { width: 32px; height: 32px; }
  .notes-steps li:not(.on) span { display: none; }
}

/* ---------- Page flow & motion (Oura pacing: sections arrive like chapters) ---------- */
/* Headings rise word by word when they scroll into view. */
.js .split-view .split-word > span { animation: none; transform: translateY(105%); transition: transform .95s var(--ease); transition-delay: calc(var(--w, 0) * 70ms + 60ms); }
.js .split-view.in .split-word > span { transform: none; }
/* A short gold rule draws in before each section label. */
.sec-head .eyebrow, .page-head .eyebrow { display: inline-flex; align-items: center; gap: 12px; }
.sec-head .eyebrow::before, .page-head .eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.js .sec-head .eyebrow::before, .js .page-head .eyebrow::before { width: 0; transition: width .8s var(--ease) .1s; }
.js .sec-head.in .eyebrow::before, .js .page-head.in .eyebrow::before { width: 28px; }
.js .sec-head .link { opacity: 0; transform: translateX(-10px); transition: opacity .6s ease .45s, transform .6s var(--ease) .45s; }
[dir="rtl"].js .sec-head .link, [dir="rtl"] .js .sec-head .link { transform: translateX(10px); }
.js .sec-head.in .link { opacity: 1; transform: none; }
/* Photos open with a curtain wipe and settle from a slight zoom. */
.js .tile.reveal, .js .band-item.reveal, .js .story-media.reveal { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); transition: clip-path 1.15s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); animation: curtain-fallback .01s linear 2s forwards; }
.js .tile.reveal.in, .js .band-item.reveal.in, .js .story-media.reveal.in { clip-path: inset(0 0 0 0); animation: none; }
.js .tile.reveal img, .js .band-item.reveal img { transform: scale(1.18); transition: transform 1.6s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .tile.reveal.in img, .js .band-item.reveal.in img { transform: scale(1); }
.js .tile.reveal.in:hover img { transform: scale(1.05); transition-duration: .8s; transition-delay: 0s; }
@keyframes curtain-fallback { to { clip-path: inset(0 0 0 0); } }
/* Campaign band: a cinematic break between shopping sections. */
.hero-campaign { min-height: min(82vh, 760px); }
/* Dark hero hands over to the paper sections through the marquee. */
.notes-hero .hero-scroll { bottom: 22px; }
@media (max-width: 1023px) { .notes-hero .hero-scroll { display: none; } }

@media (prefers-reduced-motion: no-preference) {
  /* Scroll-linked depth: the 3D stage sinks back and the copy lifts away as you leave the hero. */
  @supports (animation-timeline: view()) {
    .notes-stage { animation: notes-away linear both; animation-timeline: view(); animation-range: exit 0% exit 90%; }
    .notes-copy { animation: copy-away linear both; animation-timeline: view(); animation-range: exit 0% exit 80%; }
    .hero-campaign .hero-slide.on img { animation: none; }
    .hero-campaign .hero-slide img { animation: campaign-drift linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    .story-media img { animation: none; }
  }
  @keyframes notes-away { to { transform: scale(.86) translateY(-4%); opacity: .25; } }
  @keyframes copy-away { to { transform: translateY(-70px); opacity: 0; } }
  @keyframes campaign-drift { from { transform: scale(1.16) translateY(-3%); } to { transform: scale(1.02) translateY(3%); } }

  /* Pages cross-fade; a product photo carries over into its page. */
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vt-out .28s ease both; }
  ::view-transition-new(root) { animation: vt-in .5s var(--ease) both; }
  ::view-transition-group(pdp-photo) { animation-duration: .55s; animation-timing-function: var(--ease); }
  .pdp-media [data-gallery-main] { view-transition-name: pdp-photo; }
  .hdr { view-transition-name: site-header; }
  @keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
  @keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }
}
@media (prefers-reduced-motion: reduce) {
  .js .split-view .split-word > span, .js .tile.reveal img, .js .band-item.reveal img { transform: none; transition: none; }
  .js .tile.reveal, .js .band-item.reveal, .js .story-media.reveal { clip-path: none; }
  .js .sec-head .link { opacity: 1; transform: none; }
}

/* Product page buy bar (phones and tablets). */
.buybar { display: none; }
@media (max-width: 1023px) {
  .buybar { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; align-items: center; gap: 10px; position: fixed; inset-inline: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 75; padding: 8px 8px 8px 10px; background: rgba(255,255,255,.94); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 40px -18px rgba(57,34,30,.45); transform: translateY(140%); transition: transform .45s var(--ease); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); }
  .buybar.show { transform: none; }
  .buybar img { width: 44px; height: 55px; object-fit: contain; border-radius: 8px; background: var(--paper); }
  .buybar-txt { display: grid; min-width: 0; line-height: 1.2; }
  .buybar-txt strong { font-family: var(--serif); font-weight: 500; font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buybar-txt .price { font-size: .98rem; }
  .buybar .btn { min-height: 44px; padding: 0 16px; white-space: nowrap; }
  body.has-buybar .wa-float { transform: translateY(-78px); }
  .wa-float { transition: transform .45s var(--ease); }
}
@media (max-width: 480px) {
  .buybar .buybar-lbl { display: none; }
  .buybar .btn-bag { padding: 0 12px; }
  .buybar { grid-template-columns: 40px minmax(0, 1fr) auto auto; gap: 8px; }
}

/* ---------- Accessibility pass (ui-ux-pro-max: contrast 4.5:1, 44px touch targets, visible focus) ---------- */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.notes-hero :focus-visible, .hero :focus-visible, .section-dusk :focus-visible, .ftr :focus-visible, .announce :focus-visible { outline-color: var(--gold-pale); }
.input:focus-visible, .textarea:focus-visible, .select:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 1px; }
/* Text on dark surfaces. */
.section-dusk .eyebrow, .ftr .eyebrow { color: var(--gold-pale); }
.section-dusk .muted, .ftr .muted, .ftr p { color: rgba(247, 241, 232, .76); }
.ftr h4 { color: #d9b3a6; }
/* Touch targets: at least 44 x 44 on every control. */
.icon-btn { width: 44px; height: 44px; }
.btn { min-height: 44px; }
.chip { min-height: 44px; display: inline-flex; align-items: center; }
.qty input { height: 44px; }
.link, .country-hint button { position: relative; }
.link::after, .country-hint button::after { content: ""; position: absolute; inset: -12px -6px; }
@media (pointer: coarse) {
  .lang-toggle { height: 44px; padding: 4px; }
  .lang-toggle a { min-width: 36px; height: 36px; }
  .picker > button, [data-picker-toggle] { min-height: 44px; }
}
.paymarks { flex-wrap: wrap; row-gap: 6px; }
.hero-dots button { height: 44px; }
.logo { min-height: 44px; display: inline-flex; align-items: center; }
.input, .select { min-height: 44px; }
input[type="checkbox"], input[type="radio"] { width: 20px; height: 20px; accent-color: var(--ink); }

/* ---------- Floating header: a glass pill that hovers over the page ---------- */
.hdr { top: 10px; width: min(calc(100% - 24px), calc(var(--wrap) + 40px)); margin: 10px auto 0; border: 1px solid rgba(225, 220, 211, .95); border-radius: 999px; box-shadow: 0 14px 34px -26px rgba(57, 34, 30, .55); }
.hdr::before { border-radius: inherit; background: rgba(247, 241, 232, .82); }
.hdr .hdr-in { height: 64px; padding-inline: 22px; }
.hdr.is-scrolled { box-shadow: 0 18px 40px -22px rgba(57, 34, 30, .6); }
.hdr.is-hidden { transform: translateY(calc(-100% - 24px)); }
/* Home: the dark hero runs up behind the floating header. */
.notes-hero { margin-top: -84px; padding-top: 84px; }
@media (max-width: 767px) {
  .hdr { top: 8px; width: calc(100% - 16px); margin-top: 8px; border-radius: 22px; }
  .hdr .hdr-in { height: 58px; padding-inline: 10px; }
  .notes-hero { margin-top: -74px; padding-top: 74px; }
}
.hdr::before { background: rgba(247, 241, 232, .94); }
.hdr .nav a { white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1279px) { .hdr .nav { gap: 18px; } .hdr .nav a { letter-spacing: .14em; } }

/* Six collections: 6 across on wide screens, 3 x 2 on laptops and tablets, 2 x 3 on phones. */
.tiles { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1199px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .tiles { grid-template-columns: repeat(2, 1fr); } }

/* Seven collections, Exclusive featured: a 2 x 2 tile beside six small ones on wide screens
   (5 columns x 2 rows), a full-width banner above two rows of three on laptops and tablets,
   and a full-width banner above three rows of two on phones. */
.tiles { grid-template-columns: repeat(5, 1fr); }
.tiles .tile-feature { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.tiles .tile-feature img { position: absolute; inset: 0; object-position: 50% 62%; }
.tiles .tile-feature strong { font-size: clamp(1.8rem, 2.6vw, 2.6rem); }
@media (max-width: 1199px) {
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .tiles .tile-feature { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 21 / 9; }
}
@media (max-width: 767px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tiles .tile-feature { aspect-ratio: 4 / 3; }
}
@media (max-width: 600px) {
  .tiles:has(.tile-feature) .tile:last-child:nth-child(odd) { grid-column: auto; aspect-ratio: 3 / 4; }
}

/* Our stores: one card per store, grouped by emirate. */
.stores { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin: 6px 0 8px; }
.store { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 20px; border: 1px solid var(--line, rgba(43,30,25,.14)); border-radius: var(--radius); background: var(--paper); }
.prose .store-name { margin: 0; color: var(--ink); line-height: 1.5; }
.store-map { align-self: flex-start; }

/* Pre-launch audit (25 Nov): 44px touch targets and a 12px floor that the earlier pass missed. */
.amt-c { font-size: max(.75rem, .78em); }
.card .btn { min-height: 44px; }
a.card-name { display: block; padding-block: 13px; margin-block: -13px; }
.picker > button { position: relative; }
.picker > button::after { content: ""; position: absolute; inset: -5px -4px; }
.logo { min-width: 44px; }
.qty input { width: 44px; }
