/* Ather Perfumes — storefront styles.
   Palette: white page, burgundy (brand) and cream. Nothing else.
   Type: Crimson Text for headings, DM Sans for everything else. */
:root {
  --white: #FFFFFF;
  --burgundy: #3C000A;
  --burgundy-2: #5A1020;          /* hover / lighter accent */
  --cream: #F1E8D9;
  --cream-2: #F8F3EA;             /* pale cream for tinted surfaces */
  --ink: #2B1D1F;                 /* body text: burgundy-tinted near black */
  --muted: rgba(43, 29, 31, .62);
  --line: rgba(60, 0, 10, .14);
  --line-soft: rgba(60, 0, 10, .08);
  --cream-soft: rgba(241, 232, 217, .7);
  --display: "Crimson Text", "Times New Roman", serif;
  --body: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --max: 1200px;
  --gutter: clamp(18px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 72px;
  --nav-h: 48px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--body); font-size: 15px; font-weight: 400; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  animation: pageIn .5s var(--ease) both;
}
body.leaving { opacity: 0; transition: opacity .2s ease; }
body.lock { overflow: hidden; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.1; margin: 0; letter-spacing: 0; text-wrap: balance; color: var(--burgundy); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 3px; }
::selection { background: var(--burgundy); color: var(--cream); }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
.price { font-variant-numeric: tabular-nums; }

/* ---------- type helpers ---------- */
.eyebrow { display: block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.center { text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; font-size: 11.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  border: 1px solid transparent; white-space: nowrap; transition: background .3s, color .3s, border-color .3s;
}
.btn-ox { background: var(--burgundy); color: var(--cream); border-color: var(--burgundy); }
.btn-ox:hover { background: var(--burgundy-2); border-color: var(--burgundy-2); }
.btn-ghost { border-color: var(--burgundy); color: var(--burgundy); background: transparent; }
.btn-ghost:hover { background: var(--burgundy); color: var(--cream); }
.btn-light { background: var(--white); color: var(--burgundy); border-color: var(--white); }
.btn-light:hover { background: var(--cream); border-color: var(--cream); }
.btn-outline-light { border-color: rgba(255, 255, 255, .85); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--burgundy); }
.btn-sm { padding: 11px 22px; font-size: 11px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.link { display: inline-flex; align-items: center; gap: 10px; font-size: 11.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--burgundy); }
.link svg { width: 20px; height: 10px; transition: transform .4s var(--ease); }
.link:hover svg { transform: translateX(6px); }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
.lines .l { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.js .lines .l > span { display: block; transform: translateY(110%); transition: transform .9s var(--ease) .1s; }
.js .lines.in .l > span { transform: none; }

/* ---------- announcement ---------- */
.announce { background: var(--cream); color: var(--burgundy); font-size: 12px; letter-spacing: .04em; text-align: center; padding: 8px var(--gutter); }
.announce b { font-weight: 600; }

/* ---------- header (two rows: brand bar, then centred nav) ---------- */
.header { position: sticky; top: 0; z-index: 60; background: var(--white); transition: box-shadow .4s; }
.header.float { box-shadow: 0 10px 30px -22px rgba(60, 0, 10, .35); }
.header .bar { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.header .bar > :first-child { justify-self: start; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--burgundy); }
.brand .mk { width: 26px; height: 36px; flex: none; }
.brand .mk img { width: 100%; height: 100%; }
.brand b { display: block; font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: .28em; line-height: 1; margin-right: -.28em; }
.brand i { display: block; font-style: normal; font-size: 8px; letter-spacing: .5em; margin-top: 4px; text-transform: uppercase; opacity: .8; }
.tools { display: flex; justify-content: flex-end; align-items: center; gap: 2px; }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; position: relative; color: var(--ink); transition: color .3s; }
.icon-btn:hover { color: var(--burgundy); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.bag-count { position: absolute; top: 6px; right: 3px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--burgundy); color: var(--white); font-size: 9.5px; font-weight: 600; display: grid; place-items: center; transition: transform .4s var(--ease); }
.bag-count.bump { transform: scale(1.4); }
.bag-count[data-n="0"] { display: none; }
.header .navrow { border-top: 1px solid var(--line-soft); height: var(--nav-h); overflow: hidden; transition: height .4s var(--ease), border-color .4s; }
.nav { height: var(--nav-h); display: flex; justify-content: center; align-items: center; gap: clamp(22px, 3vw, 44px); font-size: 13px; font-weight: 500; color: var(--ink); }
.nav a { position: relative; padding: 6px 0; white-space: nowrap; transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--burgundy); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover, .nav a.on { color: var(--burgundy); }
.nav a:hover::after, .nav a.on::after { transform: none; }
/* scrolled: fold the nav row away, keep the brand bar */
.header.compact .navrow { height: 0; border-color: transparent; }
@media (max-width: 1040px) {
  :root { --header-h: 64px; }
  .header .navrow { display: none; }
  .brand b { font-size: 20px; }
  .brand .mk { width: 22px; height: 30px; }
  .tools { margin-right: -10px; }
  .header .bar > :first-child { margin-left: -10px; }
}

/* ---------- menu drawer (left) ---------- */
.menu { position: fixed; top: 0; bottom: 0; left: 0; z-index: 90; width: min(400px, 100%); background: var(--white); color: var(--ink); display: flex; flex-direction: column; padding: 14px 28px 30px; transform: translateX(-102%); visibility: hidden; transition: transform .55s var(--ease), visibility 0s .55s; overflow: auto; }
.menu.open { transform: none; visibility: visible; transition: transform .55s var(--ease); }
.menu .top { display: flex; justify-content: space-between; align-items: center; height: 56px; border-bottom: 1px solid var(--line-soft); margin-bottom: 20px; flex: none; }
.menu nav { display: grid; }
.menu nav a { font-family: var(--display); font-size: 26px; color: var(--burgundy); padding: 12px 0; border-bottom: 1px solid var(--line-soft); display: flex; justify-content: space-between; align-items: center; transition: padding .35s var(--ease); }
.menu nav a small { font-family: var(--body); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.menu nav a:hover { padding-left: 8px; }
.menu .foot { margin-top: auto; padding-top: 24px; font-size: 13px; color: var(--muted); display: grid; gap: 4px; }
.menu .foot b { color: var(--ink); font-weight: 500; }

/* ---------- search overlay ---------- */
.search { position: fixed; inset: 0; z-index: 95; background: var(--white); padding: 20px var(--gutter); overflow: auto; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: .4s var(--ease), visibility 0s .4s; }
.search.open { opacity: 1; visibility: visible; transform: none; transition: .4s var(--ease); }
.search .bar { display: flex; align-items: center; gap: 12px; max-width: 900px; margin: 0 auto; border-bottom: 1px solid var(--line); }
.search input { flex: 1; min-width: 0; font-family: var(--display); font-size: clamp(24px, 4vw, 36px); background: none; border: 0; color: var(--burgundy); padding: 18px 0; }
.search input::placeholder { color: rgba(60, 0, 10, .3); }
.search input:focus { outline: none; }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
.search .res { max-width: 900px; margin: 14px auto 0; display: grid; }
.search .res a { display: grid; grid-template-columns: 64px 1fr auto; gap: 18px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-soft); transition: padding .3s var(--ease); }
.search .res a:hover { padding-left: 8px; }
.search .res img { width: 64px; height: 64px; object-fit: cover; background: var(--cream-2); }
.search .res small { color: var(--muted); font-size: 12.5px; }
.search .res a.see-all { display: flex; justify-content: center; gap: 12px; margin-top: 18px; border: 1px solid var(--burgundy); color: var(--burgundy); padding: 14px; font-size: 11.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.search .res a.see-all:hover { background: var(--burgundy); color: var(--cream); padding-left: 14px; }
.search .res a.see-all svg { width: 20px; height: 10px; }
.search .none { color: var(--muted); max-width: 900px; margin: 18px auto; }

/* ---------- bag drawer (right) ---------- */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(43, 29, 31, .45); opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
.scrim.open { opacity: 1; visibility: visible; transition: opacity .4s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 85; width: min(440px, 100%); background: var(--white); display: flex; flex-direction: column; transform: translateX(102%); visibility: hidden; transition: transform .55s var(--ease), visibility 0s .55s; }
.drawer.open { transform: none; visibility: visible; transition: transform .55s var(--ease); }
.drawer .head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 24px; border-bottom: 1px solid var(--line-soft); }
.drawer .head h3 { font-size: 24px; }
.drawer .items { flex: 1; overflow: auto; padding: 6px 24px 20px; display: grid; align-content: start; }
.drawer .foot { border-top: 1px solid var(--line-soft); padding: 18px 24px 22px; display: grid; gap: 12px; }
.drawer .foot .row { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; }
.drawer .foot .row b { font-family: var(--display); font-size: 26px; font-weight: 400; color: var(--burgundy); }
.drawer .foot small { color: var(--muted); font-size: 12.5px; }
.drawer .foot .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.drawer .foot .btn { padding-inline: 12px; }
.empty { text-align: center; padding: 60px 10px; display: grid; gap: 16px; justify-items: center; }
.empty h3 { font-size: 30px; }
.empty p { color: var(--muted); max-width: 34ch; }
.ship-bar { background: var(--cream-2); padding: 12px 24px; font-size: 12.5px; color: var(--ink); }
.ship-bar .meter { height: 2px; background: var(--line); margin-top: 8px; }
.ship-bar .meter i { display: block; height: 100%; background: var(--burgundy); transition: width .8s var(--ease); }

/* line item (drawer + bag page) */
.li { display: grid; grid-template-columns: 76px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.li img { width: 76px; height: 76px; object-fit: cover; background: var(--cream-2); }
.li .info { display: grid; gap: 6px; align-content: space-between; min-width: 0; }
.li small { color: var(--muted); font-size: 12.5px; }
.li .bot { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.li .rm { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 4px 0; justify-self: start; }
.li .rm:hover { color: var(--burgundy); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.qty button { width: 32px; height: 32px; display: grid; place-items: center; font-size: 16px; transition: background .3s, color .3s; }
.qty button:hover { background: var(--burgundy); color: var(--cream); }
.qty span { min-width: 28px; text-align: center; font-size: 13.5px; font-variant-numeric: tabular-nums; }

/* ---------- product titles (small caps, DM Sans) ---------- */
.card h3, .li h4, .mini-li h4, .search .res h4, .buybar b { font-family: var(--body); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; line-height: 1.4; color: var(--ink); }
.card h3 { font-size: 12px; }
.li h4, .mini-li h4, .search .res h4, .buybar b { font-size: 12px; }

/* ---------- section shells ---------- */
.sec { padding-block: clamp(44px, 6vw, 80px); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(18px, 2.4vw, 28px); }
.sec-head h2 { font-size: clamp(24px, 2.4vw, 30px); }
.band { background: var(--cream-2); }

/* ---------- product card ---------- */
.card { display: block; position: relative; min-width: 0; }
.card .ph { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--cream-2); }
.card .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .6s var(--ease); }
.card .ph img.alt { opacity: 0; }
.card:hover .ph img { transform: scale(1.04); }
.card:hover .ph img.alt { opacity: 1; }
.card .add { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; background: var(--burgundy); color: var(--cream); padding: 13px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; text-align: center; transform: translateY(101%); transition: transform .4s var(--ease), background .3s; }
.card:hover .add, .card .add:focus-visible { transform: none; }
.card .add:hover, .card .add.done { background: var(--burgundy-2); }
.card .meta { padding-top: 14px; display: grid; gap: 4px; }
.card .kicker { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.card .meta .price { font-size: 13.5px; color: var(--ink); }
@media (hover: none), (max-width: 760px) {
  .card .add { left: auto; right: 8px; bottom: 8px; width: 38px; height: 38px; padding: 0; border-radius: 50%; transform: none; font-size: 0; display: grid; place-items: center; }
  .card .add::before { content: "+"; font-size: 20px; line-height: 1; letter-spacing: 0; font-weight: 300; }
  .card .add.done::before { content: "\2713"; font-size: 15px; }
}
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 20px; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .grid-4 { grid-template-columns: 1fr 1fr; gap: 28px 14px; } }

/* rail with arrows outside the row */
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-nav button { position: absolute; top: calc((100% - 70px) / 2 - 22px); width: 44px; height: 44px; display: grid; place-items: center; background: var(--white); color: var(--burgundy); border: 1px solid var(--line); border-radius: 50%; transition: background .3s, color .3s, opacity .3s; z-index: 2; }
.rail-nav .prev { left: -22px; } .rail-nav .next { right: -22px; }
.rail-nav button:hover { background: var(--burgundy); color: var(--cream); border-color: var(--burgundy); }
.rail-nav button:disabled { opacity: .3; pointer-events: none; }
.rail-nav svg { width: 20px; height: 10px; }
.rail-nav .prev svg { transform: scaleX(-1); }
@media (max-width: 1000px) { .rail { grid-auto-columns: calc((100% - 40px) / 3); } }
@media (max-width: 700px) { .rail { grid-auto-columns: 68vw; gap: 14px; } .rail-nav { display: none; } }

/* ---------- footer ---------- */
.footer { background: var(--burgundy); color: var(--cream); padding: clamp(44px, 5vw, 64px) 0 26px; }
.footer .grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px clamp(24px, 4vw, 60px); }
.footer .logo { width: 120px; }
.footer .say { font-family: var(--display); font-style: italic; font-size: 20px; margin-top: 18px; max-width: 18ch; line-height: 1.25; color: var(--cream); }
.footer h4 { font-family: var(--body); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--cream); font-weight: 600; margin-bottom: 16px; }
.footer li { margin-bottom: 8px; font-size: 13.5px; color: var(--cream-soft); }
.footer li a:hover { color: var(--white); }
.footer .legal { margin-top: clamp(32px, 4vw, 48px); padding-top: 20px; border-top: 1px solid rgba(241, 232, 217, .18); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; font-size: 12px; color: var(--cream-soft); }
.footer .legal .soc { display: flex; gap: 18px; }
.footer .legal .soc a:hover { color: var(--white); }
@media (max-width: 860px) { .footer .grid { grid-template-columns: 1fr 1fr; } .footer .grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 460px) { .footer .grid { grid-template-columns: 1fr; } }

/* ---------- home: hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--cream-2); aspect-ratio: 2.3 / 1; display: grid; place-items: center; text-align: center; color: var(--white); }
.hero picture, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43, 29, 31, .18), rgba(43, 29, 31, .5)); }
.hero .in { position: relative; z-index: 2; display: grid; justify-items: center; gap: 14px; padding: 24px; }
.hero .eyebrow { color: rgba(255, 255, 255, .85); }
.hero h1 { color: var(--white); font-size: clamp(30px, 3.6vw, 48px); max-width: 22ch; }
.hero .btn { margin-top: 10px; }
/* the hero never waits for the scroll observer: its pieces fade in on load, staggered by --d */
.js .hero [data-reveal], .js .hero .lines .l > span { opacity: 1; transform: none; transition: none; animation: heroIn .8s var(--ease) both; animation-delay: var(--d, 0s); }
.js .hero .lines .l > span { animation-delay: .1s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(12px); } }
@media (max-width: 760px) {
  .hero { aspect-ratio: 4 / 5; }
  .hero .in { gap: 10px; padding: 18px; }
  .hero h1 { font-size: 28px; max-width: 18ch; }
  .hero .eyebrow { font-size: 10px; }
}

/* home: intro */
.intro { padding: clamp(44px, 6vw, 72px) var(--gutter); text-align: center; display: grid; justify-items: center; gap: 14px; }
.intro .mk { width: 26px; opacity: .9; }
.intro h2 { font-size: clamp(26px, 2.8vw, 34px); letter-spacing: .14em; text-transform: uppercase; font-weight: 400; }
.intro p { max-width: 62ch; color: var(--muted); }

/* home: collections band */
.collections { padding-block: clamp(44px, 6vw, 72px); }
.collections .head { text-align: center; display: grid; gap: 8px; margin-bottom: clamp(24px, 3vw, 40px); }
.collections .head h2 { font-size: clamp(28px, 3vw, 38px); }
.collections .head p { color: var(--muted); }
.tiles-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { display: block; }
.tile .im { aspect-ratio: 4 / 5; overflow: hidden; background: var(--cream); }
.tile .im img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tile:hover .im img { transform: scale(1.04); }
.tile .cap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 14px; }
.tile .cap h3 { font-size: 22px; }
.tile .cap span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--burgundy); display: inline-flex; align-items: center; gap: 8px; }
.tile .cap svg { width: 20px; height: 10px; transition: transform .4s var(--ease); }
.tile:hover .cap svg { transform: translateX(6px); }
@media (max-width: 760px) { .tiles-3 { grid-template-columns: 1fr; gap: 26px; } .tile .im { aspect-ratio: 4 / 3; } }

/* ---------- house logo mark (CSS mask, coloured by context) ---------- */
/* wordmarks sit at the base height; compact emblems (ratio near 1) grow up to 1.4x so they stay legible */
.hl { --hh: 26px; display: inline-block; height: clamp(var(--hh), calc(var(--hh) * 1.4 / var(--r, 3)), calc(var(--hh) * 1.4)); aspect-ratio: var(--r, 3); max-width: 150px; background: var(--ink); opacity: .9; vertical-align: middle; flex: none;
  -webkit-mask-position: left center; -webkit-mask-size: contain; -webkit-mask-repeat: no-repeat; mask-position: left center; mask-size: contain; mask-repeat: no-repeat; }
.hl.mid { --hh: 26px; margin-right: 10px; vertical-align: middle; }
.card .kicker { display: flex; align-items: center; min-height: 28px; margin-bottom: 2px; }
.card .kicker .hl { --hh: 28px; max-width: 160px; }
.card:hover .kicker .hl { opacity: 1; }
.brand-list { display: grid; gap: 2px; max-height: 360px; overflow: auto; margin-top: 10px; padding-right: 6px; scrollbar-width: thin; }
.brand-list button { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; align-items: center; font-size: 13px; color: var(--ink); text-align: left; padding: 6px 0; transition: color .2s; }
.brand-list button .hl { width: 56px; height: 24px; max-width: none; aspect-ratio: auto; }
@media (max-width: 760px) { .card .kicker { min-height: 24px; } .card .kicker .hl { --hh: 24px; max-width: 130px; } }
.brand-list button .hl.none { background: none; }
.brand-list button small { color: var(--muted); font-size: 12px; }
.brand-list button:hover, .brand-list button.on { color: var(--burgundy); }
.brand-list button.on .hl { background: var(--burgundy); opacity: 1; }
.brand-list button.on span { font-weight: 500; }
.brand-list .none { font-size: 13px; color: var(--muted); padding: 6px 0; }

/* home: houses strip (logo masks, coloured burgundy, one seamless loop) */
.houses { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 22px 0 26px; overflow: hidden; }
.houses .eyebrow { padding-inline: var(--gutter); margin-bottom: 22px; }
.houses .track { display: flex; align-items: center; gap: clamp(44px, 5vw, 84px); width: max-content; padding-inline: clamp(22px, 2.5vw, 42px); animation: marquee 110s linear infinite; }
/* wordmarks sit at 44px; compact emblems (ratio near 1) may grow to 60px so they carry similar visual weight */
.houses .logo { display: block; height: clamp(44px, calc(60px / var(--r, 3)), 60px); aspect-ratio: var(--r, 3); flex: none; background: var(--burgundy); opacity: .8;
  -webkit-mask-position: center; -webkit-mask-size: contain; -webkit-mask-repeat: no-repeat; mask-position: center; mask-size: contain; mask-repeat: no-repeat; transition: opacity .3s; }
.houses .logo:hover { opacity: 1; }
.houses span { font-family: var(--display); font-size: 22px; color: var(--burgundy); white-space: nowrap; opacity: .85; }
.houses:hover .track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 760px) { .houses { padding: 18px 0 22px; } .houses .eyebrow { margin-bottom: 16px; } .houses .logo { height: clamp(30px, calc(42px / var(--r, 3)), 42px); } .houses .track { gap: 30px; animation-duration: 140s; } }

/* home: bestsellers */
.best .head { text-align: center; display: grid; gap: 10px; margin-bottom: clamp(26px, 3vw, 40px); }
.best .head h2 { font-size: clamp(30px, 3.4vw, 42px); }
.best .head p { color: var(--muted); max-width: 46ch; margin-inline: auto; }
.best .grid-4 { max-width: 1040px; margin-inline: auto; }
.more { display: flex; justify-content: center; margin-top: clamp(28px, 4vw, 44px); }

/* home: two-up full-bleed feature */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding-inline: 4px; }
.duo a { position: relative; display: block; aspect-ratio: 1.3 / 1; overflow: hidden; background: var(--cream); color: var(--white); }
.duo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.duo a:hover img { transform: scale(1.04); }
.duo a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43, 29, 31, 0) 40%, rgba(43, 29, 31, .55)); }
.duo .cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(20px, 3vw, 40px); display: grid; gap: 6px; }
.duo .cap small { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; opacity: .85; }
.duo .cap h3 { color: var(--white); font-size: clamp(26px, 3vw, 40px); }
.duo-acts { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; padding: 24px var(--gutter) 0; }
@media (max-width: 700px) { .duo { grid-template-columns: 1fr; } .duo a { aspect-ratio: 4 / 3; } }

/* home: corporate */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.split .im { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-2); }
.split .im img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(28px, 3vw, 38px); margin-top: 10px; }
.split .tx > p { margin-top: 14px; max-width: 46ch; color: var(--muted); }
.split ol { margin: 24px 0 28px; display: grid; gap: 14px; counter-reset: n; }
.split ol li { display: grid; grid-template-columns: 34px 1fr; counter-increment: n; align-items: start; }
.split ol li::before { content: counter(n, decimal-leading-zero); font-size: 11px; letter-spacing: .1em; color: var(--burgundy); padding-top: 5px; }
.split ol b { display: block; font-weight: 500; color: var(--ink); }
.split ol span { color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- inner page heads ---------- */
.page-head { text-align: center; padding-block: clamp(30px, 4vw, 56px) clamp(8px, 1.6vw, 18px); }
.page-head h1 { font-size: clamp(32px, 4vw, 48px); }
.page-head p { margin: 10px auto 0; max-width: 52ch; color: var(--muted); }
.nf-acts { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.crumbs { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 18px 0 0; display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--burgundy); }

/* ---------- shop ---------- */
.shop-banner { position: relative; overflow: hidden; background: var(--cream-2); min-height: 220px; display: grid; place-items: center; text-align: center; color: var(--white); }
.shop-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shop-banner::after { content: ""; position: absolute; inset: 0; background: rgba(43, 29, 31, .5); }
.shop-banner .in { position: relative; z-index: 2; display: grid; justify-items: center; gap: 14px; padding: 36px var(--gutter); }
.shop-banner h1 { color: var(--white); font-size: clamp(30px, 3.6vw, 44px); }
.shop-banner p { color: rgba(255, 255, 255, .85); font-size: 14px; max-width: 40ch; }
.pills { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.pills button { background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 12px; padding: 7px 14px; transition: background .3s, color .3s; }
.pills button:hover { background: var(--white); color: var(--burgundy); }
.pills button.on { background: var(--burgundy); color: var(--cream); }
.shop-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); padding-block: clamp(28px, 4vw, 48px) clamp(60px, 8vw, 110px); align-items: start; }
.filters { display: grid; gap: 28px; position: sticky; top: calc(var(--header-h) + 20px); }
.filters h4 { font-family: var(--body); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--ink); padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.filters .opt { display: grid; gap: 8px; }
.filters .opt button { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink); text-align: left; padding: 2px 0; }
.filters .opt button::before { content: ""; width: 14px; height: 14px; border: 1px solid var(--line); flex: none; transition: background .2s, border-color .2s; }
.filters .opt button.on::before { background: var(--burgundy); border-color: var(--burgundy); box-shadow: inset 0 0 0 3px var(--white); }
.filters .opt button:hover { color: var(--burgundy); }
.filters .opt small { color: var(--muted); margin-left: auto; font-size: 12px; }
.filters input, .filters select, .sorter select {
  appearance: none; -webkit-appearance: none; font: inherit; font-size: 13.5px; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 0; padding: 10px 12px; width: 100%;
}
.filters select, .sorter select { background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232B1D1F' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 12px center / 10px; padding-right: 34px; cursor: pointer; }
.filters input:focus, .filters select:focus, .sorter select:focus { outline: none; border-color: var(--burgundy); }
.filters input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.filters .clear { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--burgundy); justify-self: start; }
.filters-toggle { display: none; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 16px; margin-bottom: 24px; border-bottom: 1px solid var(--line-soft); font-size: 13.5px; color: var(--muted); }
.sorter { display: flex; align-items: center; gap: 10px; }
.sorter select { width: auto; min-width: 170px; }
.grid-shop { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 20px; }
.grid-shop .card.out { opacity: 0; transform: scale(.98); }
.grid-shop .card { transition: opacity .4s var(--ease), transform .4s var(--ease); }
@media (min-width: 1360px) { .grid-shop { grid-template-columns: repeat(4, 1fr); } }
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: clamp(32px, 4vw, 48px); flex-wrap: wrap; }
.pager button { min-width: 36px; height: 36px; padding: 0 10px; border: 1px solid var(--line); font-size: 12.5px; color: var(--ink); transition: background .3s, color .3s, border-color .3s; }
.pager button:hover { border-color: var(--burgundy); color: var(--burgundy); }
.pager button.on { background: var(--burgundy); border-color: var(--burgundy); color: var(--cream); }
.pager button:disabled { opacity: .35; pointer-events: none; }
.pager .gap { color: var(--muted); padding: 0 4px; }
@media (max-width: 900px) {
  .shop-layout { grid-template-columns: 1fr; gap: 16px; }
  .filters { position: static; display: none; padding: 18px; border: 1px solid var(--line-soft); }
  .filters.open { display: grid; }
  .filters-toggle { display: inline-flex; justify-self: start; }
  .grid-shop { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .toolbar { flex-wrap: wrap; }
}

/* ---------- product ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 70px); padding-block: clamp(16px, 2.4vw, 32px) clamp(50px, 7vw, 90px); align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 10px; }
.stage { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--cream-2); cursor: zoom-in; }
.stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease), transform .8s var(--ease); }
.stage img.on { opacity: 1; }
.stage.zoom { cursor: zoom-out; }
.stage.zoom img.on { transform: scale(1.8); transition: transform .4s var(--ease); }
.thumbs { display: flex; gap: 8px; }
.thumbs button { width: 64px; aspect-ratio: 1; overflow: hidden; background: var(--cream-2); opacity: .6; border: 1px solid transparent; transition: opacity .3s, border-color .3s; }
.thumbs button:hover { opacity: .9; }
.thumbs button.on { opacity: 1; border-color: var(--burgundy); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery.single .thumbs { display: none; }
.info h1 { font-size: clamp(28px, 3vw, 38px); line-height: 1.15; }
.info .tagline { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; display: block; }
.info .pricerow { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.info .amount { font-size: 26px; color: var(--ink); }
.stock { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--burgundy); border: 1px solid var(--burgundy); padding: 4px 8px; }
.info .desc { margin-top: 18px; color: var(--muted); max-width: 50ch; }
.opt { margin-top: 26px; }
.opt .lab { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 10px; display: block; color: var(--ink); }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.sizes button { padding: 10px 18px; border: 1px solid var(--line); min-width: 110px; text-align: left; transition: border-color .3s, background .3s, color .3s; }
.sizes button b { display: block; font-weight: 500; font-size: 13.5px; }
.sizes button small { font-size: 12.5px; opacity: .7; }
.sizes button:hover { border-color: var(--burgundy); }
.sizes button.on { background: var(--burgundy); border-color: var(--burgundy); color: var(--cream); }
.buyrow { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-top: 22px; }
.buyrow .qty button { width: 42px; height: 48px; }
.buyrow .qty span { min-width: 30px; font-size: 15px; }
.wa { margin-top: 10px; }
.wa .btn { width: 100%; }
.meta-list { margin-top: 22px; display: grid; gap: 6px; font-size: 12.5px; color: var(--muted); }
.meta-list b { color: var(--ink); font-weight: 500; }
.meta-list a:hover { color: var(--burgundy); }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 22px; border-top: 1px solid var(--line-soft); padding-top: 18px; }
.perks li { font-size: 12.5px; line-height: 1.4; color: var(--muted); display: grid; gap: 8px; }
.perks svg { width: 22px; height: 22px; fill: none; stroke: var(--burgundy); stroke-width: 1.3; }
/* tabs */
.tabs { border-top: 1px solid var(--line); padding-top: 4px; }
.tabs .tablist { display: flex; gap: 28px; border-bottom: 1px solid var(--line-soft); overflow-x: auto; scrollbar-width: none; }
.tabs .tablist button { padding: 14px 0; font-size: 13.5px; color: var(--muted); position: relative; white-space: nowrap; }
.tabs .tablist button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--burgundy); transform: scaleX(0); transition: transform .3s var(--ease); }
.tabs .tablist button.on { color: var(--burgundy); }
.tabs .tablist button.on::after { transform: none; }
.tabs .panel { padding: 24px 0 8px; color: var(--muted); max-width: 70ch; }
.tabs .panel h3 { font-size: 22px; margin-bottom: 12px; }
.tabs .panel p + p { margin-top: 10px; }
.tabs .panel li { padding-left: 16px; position: relative; margin-bottom: 6px; }
.tabs .panel li::before { content: ""; position: absolute; left: 0; top: .7em; width: 5px; height: 5px; background: var(--burgundy); }
.notes-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.notes-table th, .notes-table td { text-align: left; padding: 10px 12px; border: 1px solid var(--line-soft); }
.notes-table th { font-weight: 500; color: var(--ink); background: var(--cream-2); }
.notes-table td b { color: var(--ink); font-weight: 500; }
.accords { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.accords li { padding: 6px 12px; border: 1px solid var(--line); font-size: 12.5px; color: var(--ink); margin: 0; }
.accords li::before { display: none; }
.related h2 { font-size: 20px; margin-bottom: 20px; }
@media (max-width: 900px) {
  .pdp { grid-template-columns: minmax(0, 1fr); }
  .gallery { position: static; }
  .perks { grid-template-columns: 1fr; gap: 12px; }
  .perks li { grid-template-columns: 22px 1fr; align-items: center; }
}
/* sticky mobile buy bar */
.buybar { display: none; }
@media (max-width: 900px) {
  .buybar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--white); border-top: 1px solid var(--line-soft); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); gap: 14px; align-items: center; justify-content: space-between; transform: translateY(110%); transition: transform .4s var(--ease); }
  .buybar.show { transform: none; }
  .buybar small { font-size: 12.5px; color: var(--muted); }
  .buybar .btn { padding: 13px 20px; }
}

/* ---------- bag page ---------- */
.cart-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(20px, 3.4vw, 60px); padding-block: clamp(24px, 4vw, 48px) clamp(60px, 8vw, 110px); align-items: start; }
.cart-list { display: grid; }
.cart-list .li { grid-template-columns: clamp(90px, 12vw, 130px) 1fr; gap: clamp(14px, 2vw, 28px); padding: 18px 0; }
.cart-list .li img { width: 100%; height: auto; aspect-ratio: 1; }
.cart-list .li h4 { font-size: 13px; }
.cart-list .li .line-total { font-size: 15px; font-weight: 500; color: var(--ink); }
.summary { background: var(--cream-2); padding: clamp(22px, 3vw, 36px); position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 12px; }
.summary h3 { font-size: 26px; margin-bottom: 4px; }
.summary .row { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 14px; }
.summary .row.total { color: var(--ink); align-items: baseline; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.summary .row.total b { font-family: var(--display); font-size: 30px; font-weight: 400; color: var(--burgundy); }
.summary .note { font-size: 12.5px; color: var(--muted); }
.summary .mini-li { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; }
.summary .mini-li .im { position: relative; }
.summary .mini-li img { width: 52px; height: 52px; object-fit: cover; background: var(--white); }
.summary .mini-li .im i { position: absolute; top: -7px; right: -7px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--burgundy); color: var(--cream); font-style: normal; font-size: 10px; display: grid; place-items: center; }
.summary .mini-li small { font-size: 12px; color: var(--muted); }
.gift-note { margin-top: 20px; display: grid; gap: 8px; }
.gift-note label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
@media (max-width: 900px) { .cart-grid { grid-template-columns: 1fr; } .summary { position: static; } }

/* ---------- checkout ---------- */
.co-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(20px, 3.4vw, 60px); padding-block: clamp(24px, 4vw, 48px) clamp(60px, 8vw, 110px); align-items: start; }
.co-card { border: 1px solid var(--line-soft); padding: clamp(20px, 3vw, 36px); margin-bottom: 14px; }
.co-card h2 { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 18px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.field input, .field textarea, .field select, .gift-note textarea { font: inherit; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 0; padding: 12px 14px; width: 100%; transition: border-color .3s; appearance: none; -webkit-appearance: none; }
.field select { background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232B1D1F' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 14px center / 10px; padding-right: 40px; }
.field input:focus, .field textarea:focus, .field select:focus, .gift-note textarea:focus { outline: none; border-color: var(--burgundy); }
.field.bad input, .field.bad select { border-color: var(--burgundy); box-shadow: inset 0 0 0 1px var(--burgundy); }
.field .err { font-size: 12.5px; color: var(--burgundy); display: none; }
.field.bad .err { display: block; }
.pay { display: grid; gap: 10px; }
.pay label { display: grid; grid-template-columns: 20px 1fr; gap: 14px; align-items: center; border: 1px solid var(--line); padding: 16px 18px; cursor: pointer; transition: border-color .3s, background .3s; }
.pay input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; margin: 0; box-shadow: inset 0 0 0 1.5px var(--ink); transition: .3s; }
.pay input:checked { box-shadow: inset 0 0 0 5px var(--burgundy); }
.pay label:has(input:checked) { border-color: var(--burgundy); background: var(--cream-2); }
.pay b { display: block; font-weight: 500; }
.pay small { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .co-grid { grid-template-columns: 1fr; } .co-grid .summary { order: -1; } .fields { grid-template-columns: 1fr; } }
.done { text-align: center; padding: clamp(50px, 8vw, 110px) var(--gutter); display: grid; gap: 20px; justify-items: center; }
.done .seal { width: 84px; height: 84px; border-radius: 50%; background: var(--burgundy); display: grid; place-items: center; animation: pop .8s var(--ease) both; }
.done .seal img { width: 30px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.done h1 { font-size: clamp(32px, 4vw, 50px); max-width: 14ch; }
.done p { max-width: 50ch; color: var(--muted); }
.done .ref { border: 1px solid var(--line); padding: 12px 22px; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; }
.done .acts { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01s !important; animation-iteration-count: 1 !important; transition-duration: .01s !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js .lines .l > span { opacity: 1; transform: none; }
  .houses .track { animation: none; }
}

/* corporate slideshow */
.split .im.slides { position: relative; aspect-ratio: 1 / 1; }
.split .im.slides > img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.split .im.slides > img.on { opacity: 1; }
.slides .dots { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.slides .dots button { width: 28px; height: 28px; display: grid; place-items: center; }
.slides .dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .6); box-shadow: 0 0 0 1px rgba(60, 0, 10, .35); transition: background .3s, transform .3s; }
.slides .dots button.on::before { background: var(--burgundy); transform: scale(1.25); }
@media (prefers-reduced-motion: reduce) { .split .im.slides > img { transition: none; } }

/* National Day offer, gift box picker, bag lines */
.offer-banner { background: var(--burgundy); color: var(--cream); display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; padding: clamp(20px, 3vw, 32px) clamp(20px, 4vw, 44px); margin-top: clamp(20px, 3vw, 36px); }
.offer-banner b { display: block; font-family: var(--display); font-size: clamp(24px, 2.6vw, 34px); font-weight: 500; line-height: 1.1; }
.offer-banner span { display: block; margin-top: 4px; font-size: 16px; }
.offer-banner small { display: block; margin-top: 8px; max-width: 62ch; font-size: 12.5px; color: var(--cream-soft); }
.row.off { color: var(--burgundy); }
.row.off b, .row.off .price { font-weight: 500; }
.summary .row.off, .drawer .foot .row.off { color: inherit; opacity: .9; }
.offer-note { font-weight: 500; }
.picks-list { margin-top: 6px; font-size: 12.5px; color: var(--muted); display: grid; gap: 2px; }
.picks-list li::before { content: "\2022"; margin-right: 6px; }
.gift-picks .pick-grid { display: grid; gap: 8px; }
.gift-picks select { width: 100%; font: inherit; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 0; padding: 12px 14px; }
.gift-picks select:focus { outline: 2px solid var(--burgundy); outline-offset: 1px; }
.pick-note { display: block; margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.card a.add { display: block; text-align: center; }

/* UAE National Day banner: flag colours and a faint Dubai skyline */
.offer-banner { position: relative; overflow: hidden; border-left: 18px solid #E4002B; padding-top: calc(clamp(20px, 3vw, 32px) + 12px); }
.offer-banner::before { content: ""; position: absolute; right: 0; bottom: 0; width: min(100%, 760px); height: 82%; background: url(../assets/img/dubai-skyline.svg) right bottom / contain no-repeat; opacity: .13; pointer-events: none; }
.offer-banner::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: linear-gradient(#00732F 0 33.34%, #FFFFFF 33.34% 66.67%, #111111 66.67% 100%); }
.offer-banner > * { position: relative; z-index: 1; }
.split .acts { display: flex; flex-wrap: wrap; gap: 12px; }
[hidden] { display: none !important; }

/* National Day banner as the UAE flag: red hoist, green, white and black bands */
.offer-banner { display: grid; grid-template-columns: clamp(14px, 2.4vw, 26px) 1fr; padding: 0; border-left: 0; background: #FFFFFF; color: var(--ink); gap: 0; align-items: stretch; box-shadow: 0 0 0 1px var(--line-soft); }
.offer-banner::before, .offer-banner::after { content: none; }
.offer-banner .ob-red { background: #E4002B; }
.offer-banner .ob-rows { display: grid; }
.offer-banner .ob-g { background: #00732F; color: #FFFFFF; padding: clamp(14px, 2vw, 22px) clamp(20px, 3.4vw, 40px); }
.offer-banner .ob-g b { font-size: clamp(26px, 3vw, 38px); }
.offer-banner .ob-w { position: relative; background: #FFFFFF; padding: clamp(18px, 2.4vw, 28px) clamp(20px, 3.4vw, 40px); overflow: hidden; }
.offer-banner .ob-w::before { content: ""; position: absolute; right: 0; bottom: 0; width: min(100%, 640px); height: 100%; background: url(../assets/img/dubai-skyline.svg) right bottom / contain no-repeat; filter: brightness(0) saturate(100%) invert(22%) sepia(94%) saturate(1500%) hue-rotate(112deg) brightness(.85); opacity: .12; pointer-events: none; }
.offer-banner .ob-w > * { position: relative; }
.offer-banner .ob-w span { display: block; margin: 0; font-size: clamp(18px, 2vw, 24px); font-weight: 500; color: #00732F; }
.offer-banner .ob-w small { display: block; margin-top: 8px; max-width: 62ch; font-size: 13px; color: var(--muted); }
.offer-banner .ob-k { background: #111111; padding: clamp(14px, 2vw, 20px) clamp(20px, 3.4vw, 40px); }
.offer-banner .ob-k .btn { margin: 0; }
.offer-banner > * { z-index: auto; }

/* phones: grid children may shrink below their content, long labels wrap instead of widening the page */
.pdp > *, .split > *, .cart-grid > *, .co-grid > *, .info, .gallery { min-width: 0; }
.gift-picks select, .field select, .field input { max-width: 100%; min-width: 0; text-overflow: ellipsis; }
.picks-list li, .li h4, .mini-li h4, .card h3 { overflow-wrap: anywhere; }
.buyrow { grid-template-columns: auto minmax(0, 1fr); }
.buyrow .btn { white-space: normal; min-width: 0; padding-inline: 14px; text-align: center; line-height: 1.3; }
.buybar .btn { white-space: normal; text-align: center; line-height: 1.3; }
.buybar > div { min-width: 0; }
@media (hover: none), (max-width: 760px) { .card a.add::before { content: "\2192"; font-size: 17px; } }

/* size chooser bottom sheet (phones) and size switch inside the bag */
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 88; background: var(--white); border-top: 1px solid var(--line); padding: 16px var(--gutter) calc(22px + env(safe-area-inset-bottom, 0px)); max-height: 80vh; overflow: auto; transform: translateY(105%); visibility: hidden; transition: transform .4s var(--ease), visibility 0s .4s; }
.sheet.open { transform: none; visibility: visible; transition: transform .4s var(--ease); }
.sh-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.sh-head h3 { font-size: 20px; line-height: 1.25; padding-top: 8px; overflow-wrap: anywhere; }
.sh-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.sh-opts button { border: 1px solid var(--line); padding: 16px 14px; text-align: left; display: grid; gap: 4px; transition: background .25s, color .25s, border-color .25s; }
.sh-opts button b { font-weight: 500; font-size: 15px; }
.sh-opts button span { font-size: 14px; color: var(--muted); }
.sh-opts button:hover, .sh-opts button:active { background: var(--burgundy); border-color: var(--burgundy); color: var(--cream); }
.sh-opts button:hover span, .sh-opts button:active span { color: var(--cream-soft); }
.size-sw { display: inline-flex; margin-top: 8px; border: 1px solid var(--line); }
.size-sw button { padding: 7px 14px; font-size: 12.5px; transition: background .25s, color .25s; }
.size-sw button.on { background: var(--burgundy); color: var(--cream); }
@media (min-width: 761px) and (hover: hover) { .sheet { display: none; } }
.size-sw { display: flex; width: fit-content; }

/* National Day offers: two lines in the banner, and the pop-up */
.offer-banner .ob-w span + span { margin-top: 4px; }
.pop { position: fixed; inset: 0; z-index: 97; display: grid; place-items: center; padding: 18px; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s .35s; }
.pop.open { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
.pop-bg { position: absolute; inset: 0; background: rgba(43, 29, 31, .55); }
.pop-card { position: relative; z-index: 1; width: min(440px, 100%); background: var(--white); border-left: 16px solid #E4002B; padding: 34px clamp(20px, 5vw, 32px) 24px; transform: translateY(14px); transition: transform .45s var(--ease); max-height: 92vh; overflow: auto; }
.pop.open .pop-card { transform: none; }
.pop-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: linear-gradient(#00732F 0 33.34%, #FFFFFF 33.34% 66.67%, #111111 66.67% 100%); }
.pop-x { position: absolute; top: 16px; right: 6px; }
.pop-card h2 { font-size: clamp(26px, 6vw, 34px); color: var(--burgundy); padding-right: 36px; }
.pop-card > p { margin-top: 6px; color: var(--muted); }
.pop-card ul { margin: 18px 0 22px; display: grid; gap: 10px; }
.pop-card li { display: grid; grid-template-columns: 72px 1fr; gap: 10px; align-items: baseline; padding: 12px 14px; background: var(--cream-2); }
.pop-card li b { font-family: var(--display); font-size: 22px; font-weight: 500; color: #00732F; }
.pop-card li span { font-size: 15px; }
.pop-skip { display: block; margin: 12px auto 0; font-size: 13px; color: var(--muted); text-decoration: underline; padding: 8px; }

/* ---------- National Day: banner and pop-up ---------- */
.nd { position: relative; overflow: hidden; isolation: isolate; margin-top: clamp(20px, 3vw, 36px); color: #FFFFFF;
  background: radial-gradient(120% 150% at 88% 18%, #0E9A4C 0%, #00732F 38%, #004A1F 100%);
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: center; gap: clamp(16px, 3vw, 40px);
  padding: clamp(28px, 4vw, 52px) clamp(22px, 4.5vw, 60px) calc(clamp(28px, 4vw, 52px) + 10px) calc(clamp(22px, 4.5vw, 60px) + 14px); }
.nd::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 14px; background: #E4002B; z-index: 1; }
.nd::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: linear-gradient(#FFFFFF 0 40%, #111111 40% 100%); }
.nd .nd-text { position: relative; z-index: 1; }
.nd > .nd-text::after, .ndp-top::after { content: ""; position: absolute; pointer-events: none; z-index: -1; }
.nd { background-image: url(../assets/img/dubai-skyline-faint.svg), radial-gradient(120% 150% at 88% 18%, #0E9A4C 0%, #00732F 38%, #004A1F 100%); background-repeat: no-repeat; background-position: right 0 bottom 10px, center; background-size: min(78%, 760px) auto, cover; }
.nd-kick { display: block; font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .82); }
.nd h2, .nd-pop h2 { font-family: var(--display); font-weight: 400; line-height: 1.02; color: #FFFFFF; margin-top: 10px; }
.nd h2 { font-size: clamp(36px, 4.6vw, 60px); }
.nd h2 em, .nd-pop h2 em { font-style: italic; }
.nd-offers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: clamp(18px, 2.4vw, 26px); max-width: 560px; }
.nd-tile { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px; background: #FFFFFF; color: var(--ink); padding: 14px 16px; box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .55); }
.nd-num { font-family: var(--display); font-weight: 600; font-size: clamp(34px, 3.6vw, 44px); line-height: 1; color: #00732F; letter-spacing: -.02em; white-space: nowrap; }
.nd-num i { font-style: normal; color: #E4002B; margin: 0 2px; font-size: .8em; }
.nd-tile span { display: grid; gap: 2px; font-size: 14.5px; line-height: 1.3; font-weight: 500; }
.nd-tile small { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.nd-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: clamp(18px, 2.4vw, 26px); }
.nd-btn { background: #FFFFFF; color: #00732F; border-color: #FFFFFF; }
.nd-btn:hover { background: #F1E8D9; border-color: #F1E8D9; color: #004A1F; }
.nd-del { font-size: 14px; color: #FFFFFF; display: inline-flex; align-items: center; gap: 8px; }
.nd-del::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 0 0 4px rgba(255, 255, 255, .2); }
.nd-terms { display: block; margin-top: 14px; max-width: 60ch; font-size: 12px; line-height: 1.5; color: rgba(255, 255, 255, .7); }
/* bottles on a cream disc; multiply drops the white photo backgrounds */
.nd-art, .ndp-art { position: relative; z-index: 1; }
.nd-art { height: clamp(230px, 26vw, 320px); }
.nd-disc { position: absolute; left: 50%; top: 50%; width: 92%; aspect-ratio: 1; max-height: 100%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 38% 32%, #FFFFFF 0%, #F6F0E6 62%, #E8DCC8 100%); overflow: hidden; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .6); }
.nd-art .nd-disc { width: auto; height: 100%; }
.nd-disc img { position: absolute; bottom: 9%; height: 74%; width: auto; mix-blend-mode: multiply; }
.nd-disc img:nth-of-type(1) { left: 50%; transform: translateX(-88%) rotate(-7deg); }
.nd-disc img:nth-of-type(2) { left: 50%; transform: translateX(-14%) rotate(6deg); }
.nd-free { position: absolute; top: 4%; right: 8%; width: 74px; height: 74px; border-radius: 50%; background: #E4002B; color: #FFFFFF; display: grid; place-items: center; font-family: var(--display); font-size: 22px; font-style: italic; transform: rotate(12deg); box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .5), inset 0 0 0 3px rgba(255, 255, 255, .35); }
@media (max-width: 760px) {
  .nd { grid-template-columns: 1fr; padding-top: 22px; }
  .nd-art { order: -1; height: 200px; }
  .nd-free { width: 60px; height: 60px; font-size: 18px; right: 14%; }
  .nd-foot .btn { flex: 1 1 100%; }
}
@media (max-width: 400px) { .nd-offers { grid-template-columns: 1fr; } }

.nd-pop { position: relative; z-index: 1; width: min(460px, 100%); max-height: 92vh; overflow: auto; background: #FFFFFF; transform: translateY(16px) scale(.98); transition: transform .45s var(--ease); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.pop.open .nd-pop { transform: none; }
.ndp-top { position: relative; overflow: hidden; color: #FFFFFF; display: grid; grid-template-columns: minmax(0, 1fr) 150px; align-items: end; gap: 10px; padding: 30px 20px 26px 34px;
  background: url(../assets/img/dubai-skyline-faint.svg) right bottom 8px / 92% auto no-repeat, radial-gradient(120% 150% at 85% 10%, #0E9A4C 0%, #00732F 40%, #004A1F 100%); }
.ndp-top::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 12px; background: #E4002B; }
.ndp-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; z-index: 0; background: linear-gradient(#FFFFFF 0 40%, #111111 40% 100%); }
.ndp-head { position: relative; z-index: 1; padding-bottom: 6px; }
.nd-pop h2 { font-size: clamp(32px, 8vw, 42px); }
.ndp-art { height: 150px; }
.ndp-art .nd-disc { width: 132px; height: 132px; }
.ndp-art .nd-free { width: 52px; height: 52px; font-size: 16px; top: -2px; right: -4px; }
.nd-pop .pop-x { position: absolute; top: 8px; right: 8px; z-index: 2; color: #FFFFFF; }
.ndp-body { padding: 20px 22px 18px; }
.ndp-body .nd-offers { grid-template-columns: 1fr; margin-top: 0; }
.ndp-body .nd-tile { background: var(--cream-2); box-shadow: none; padding: 14px 16px; }
.ndp-del { margin: 14px 0 16px; font-size: 14px; color: var(--ink); text-align: center; }
.ndp-del b { color: #00732F; font-weight: 600; }
.nd-btn-g { background: #00732F; color: #FFFFFF; border-color: #00732F; }
.nd-btn-g:hover { background: #004A1F; border-color: #004A1F; }
@media (max-width: 420px) { .ndp-top { grid-template-columns: minmax(0, 1fr) 112px; padding-left: 28px; } .ndp-art { height: 118px; } .ndp-art .nd-disc { width: 104px; height: 104px; } .ndp-art .nd-disc img { height: 70%; } }
.ndp-art .nd-free { top: auto; bottom: 4px; right: -6px; }
.nd-pop .nd-kick { font-size: 10.5px; letter-spacing: .16em; padding-right: 8px; }
