/* DRAKX SHOP — storefront. Mobile first. Logical properties so RTL and LTR share one sheet. */
:root {
  --ink: #0b0b0b; --paper: #ffffff; --mute: #6b6b6b; --line: #e6e6e6; --soft: #f5f5f4; --accent: #c8102e; --accent-ink: #ffffff;
  --btn-bg: #0b0b0b; --btn-ink: #ffffff; --hdr-bg: #0b0b0b; --hdr-ink: #ffffff; --radius: 2px; --radius-btn: 0px;
  --f-body: "Inter", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --f-display: "Inter", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --display-weight: 800; --display-track: -0.035em; --btn-track: .08em; --btn-weight: 700; --btn-case: uppercase;
  --wrap: 1320px; --gutter: 16px; --focus: 0 0 0 3px #fff, 0 0 0 5px var(--accent);
}
[dir="rtl"] { --f-body: "IBM Plex Sans Arabic", "Inter", system-ui, Tahoma, sans-serif; --f-display: "IBM Plex Sans Arabic", "Inter", system-ui, sans-serif; --display-track: 0; --btn-track: 0; }
.theme-elle {
  --ink: #252126; --paper: #ffffff; --mute: #6f6870; --line: #efe6e9; --soft: #fbf6f7; --accent: #963f59; --accent-ink: #fff;
  --btn-bg: #963f59; --btn-ink: #ffffff; --hdr-bg: #ffffff; --hdr-ink: #252126; --radius: 14px; --radius-btn: 999px;
  --f-display: "Cormorant Garamond", "IBM Plex Sans Arabic", Georgia, serif; --display-weight: 500; --display-track: 0; --btn-track: .04em; --btn-weight: 500; --btn-case: none;
  --rose: #d9a3b0; --focus: 0 0 0 3px #fff, 0 0 0 5px #963f59;
}
[dir="rtl"].theme-elle, [dir="rtl"] .theme-elle { --f-display: "IBM Plex Sans Arabic", "Cormorant Garamond", serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--f-body); color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.55; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 2px; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0 0 .8em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 14px; z-index: 100; }
.skip:focus { top: 12px; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; opacity: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 720px; padding-block: 32px 64px; }
.muted { color: var(--mute); }
.fine { font-size: 13px; color: var(--mute); margin-top: 12px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.lead { font-size: 17px; color: var(--mute); max-width: 60ch; }
.eyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); margin: 0 0 8px; font-weight: 500; }
[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: 13px; }
.h1 { font-family: var(--f-display); font-weight: var(--display-weight); letter-spacing: var(--display-track); font-size: clamp(28px, 6vw, 48px); margin-bottom: 12px; }
.h2 { font-family: var(--f-display); font-weight: var(--display-weight); letter-spacing: var(--display-track); font-size: clamp(22px, 4.5vw, 34px); }
.h3 { font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.display { font-family: var(--f-display); font-weight: var(--display-weight); letter-spacing: var(--display-track); font-size: clamp(40px, 10vw, 112px); line-height: .95; text-transform: uppercase; margin-bottom: 16px; }
.ic { flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border: 1.5px solid var(--btn-bg); background: var(--btn-bg); color: var(--btn-ink);
  font-weight: var(--btn-weight); letter-spacing: var(--btn-track); text-transform: var(--btn-case); font-size: 14px; border-radius: var(--radius-btn); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: transparent; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: #fff; color: #0b0b0b; border-color: #fff; }
.btn-light:hover { background: transparent; color: #fff; }
.btn-dark { background: #0b0b0b; color: #fff; border-color: #0b0b0b; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 13px; }
.btn-lg { min-height: 56px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.link-btn { background: none; border: 0; padding: 6px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; gap: 6px; align-items: center; font-size: 14px; min-height: 40px; }
.pill { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 11px; padding: 0 6px; }

/* Announcement + header */
.preview-bar { background: #ffd34d; color: #000; text-align: center; padding: 8px; font-size: 14px; }
.announce { background: var(--accent); color: #fff; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; overflow: hidden; }
.theme-elle .announce { background: var(--soft); color: var(--accent); }
.announce-track { display: flex; gap: 48px; justify-content: center; padding: 9px 16px; white-space: nowrap; }
.announce-track span:not(:first-child) { display: none; }
@media (min-width: 900px) { .announce-track span:not(:first-child) { display: inline; } }
.site-header { position: sticky; top: 0; z-index: 40; background: var(--hdr-bg); color: var(--hdr-ink); border-bottom: 1px solid rgba(255,255,255,.08); }
.theme-elle .site-header { border-bottom-color: var(--line); }
.hdr { display: flex; align-items: center; gap: 8px; min-height: 60px; }
.hdr-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; color: inherit; cursor: pointer; position: relative; text-decoration: none; }
.hdr-btn .count { position: absolute; top: 4px; inset-inline-end: 2px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 11px; display: grid; place-items: center; padding: 0 4px; font-weight: 600; }
.hdr-btn .dot { position: absolute; top: 10px; inset-inline-end: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.logo { display: inline-flex; align-items: center; gap: 10px; margin-inline: 4px auto; text-decoration: none; }
.logo img { height: 20px; width: auto; }
.logo-sub { font-family: "Cormorant Garamond", serif; font-size: 20px; letter-spacing: .14em; color: var(--accent); }
.hdr-actions { display: flex; align-items: center; margin-inline-start: auto; }
.hdr-lang { font-size: 13px; font-weight: 600; text-decoration: none; padding: 10px; }
.hide-sm { display: none; }
.nav { position: fixed; inset-block: 0; inset-inline-start: 0; width: min(86vw, 360px); background: var(--paper); color: var(--ink); z-index: 60; transform: translateX(-100%); transition: transform .28s ease; display: flex; flex-direction: column; overflow-y: auto; visibility: hidden; }
[dir="rtl"] .nav { transform: translateX(100%); }
.nav.is-open { transform: none; visibility: visible; }
.nav-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 8px 8px 20px; border-bottom: 1px solid var(--line); font-weight: 600; }
[dir="rtl"] .nav-head { padding: 8px 20px 8px 8px; }
.nav ul { list-style: none; margin: 0; padding: 8px 0; }
.nav li a { display: block; padding: 16px 20px; text-decoration: none; font-weight: 600; font-size: 17px; letter-spacing: .02em; border-bottom: 1px solid var(--line); }
.nav li a.is-on { color: var(--accent); }
.nav-extra { margin-top: auto; padding: 16px 20px 28px; display: grid; gap: 4px; }
.nav-extra a { display: flex; align-items: center; gap: 10px; padding: 10px 0; text-decoration: none; }
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 50; }
.search-panel { background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line); }
.search-panel form { display: flex; align-items: center; gap: 10px; padding-block: 12px; }
.search-panel input { flex: 1; min-width: 0; height: 48px; border: 0; border-bottom: 1.5px solid var(--ink); background: transparent; font-size: 17px; padding: 0 4px; }
.search-panel input:focus-visible { box-shadow: none; border-bottom-color: var(--accent); }
@media (min-width: 1000px) {
  .hdr { min-height: 72px; }
  .hdr-menu, .nav-head, .nav-extra { display: none; }
  .logo { margin-inline: 0 24px; }
  .logo img { height: 24px; }
  .nav, [dir="rtl"] .nav { position: static; transform: none; visibility: visible; width: auto; background: transparent; color: inherit; overflow: visible; flex-direction: row; }
  .nav ul { display: flex; gap: 4px; padding: 0; }
  .nav li a { border: 0; padding: 10px 10px; font-size: 12.5px; letter-spacing: .08em; white-space: nowrap; text-transform: uppercase; position: relative; }
  [dir="rtl"] .nav li a { letter-spacing: .02em; }
  .nav li a::after { content: ""; position: absolute; inset-inline: 12px; bottom: 4px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .2s; }
  .nav li a:hover::after, .nav li a.is-on::after { transform: scaleX(1); }
  .nav li a.is-on { color: inherit; }
  .hide-sm { display: inline-grid; }
  .scrim { display: none; }
}

/* Flash */
.flashes { padding-top: 16px; }
.flash { padding: 14px 16px; border-inline-start: 3px solid var(--ink); background: var(--soft); margin-bottom: 12px; font-size: 15px; border-radius: var(--radius); }
.flash p { margin: 0; }
.flash-ok { border-color: #1f7a4a; }
.flash-error { border-color: #c8102e; background: #fff4f5; }
.flash-warn { border-color: #b7791f; background: #fffaf0; }

/* Hero + banners */
.hero { position: relative; }
.hero-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hero-track::-webkit-scrollbar { display: none; }
.hero-slide { scroll-snap-align: start; }
.hero-dots { position: absolute; bottom: 16px; inset-inline: 0; display: flex; justify-content: center; gap: 8px; }
.hero-dots button { width: 28px; height: 28px; border: 0; background: none; padding: 0; cursor: pointer; display: grid; place-items: center; }
.hero-dots button::before { content: ""; width: 22px; height: 3px; background: rgba(255,255,255,.5); }
.hero-dots button[aria-current="true"]::before { background: #fff; }
.banner { position: relative; display: block; overflow: hidden; color: #fff; text-decoration: none; background: #111; }
.banner picture, .banner img { width: 100%; height: 100%; object-fit: cover; }
.banner-hero { height: min(88svh, 820px); min-height: 480px; }
.banner-promo { height: clamp(320px, 52vw, 560px); border-radius: var(--radius); }
.banner picture { position: absolute; inset: 0; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0) 55%); pointer-events: none; }
.banner.tone-light { color: #0b0b0b; }
.banner.tone-light::after { background: linear-gradient(to top, rgba(255,255,255,.6), rgba(255,255,255,0) 55%); }
.banner-copy { position: absolute; z-index: 1; inset-inline: 0; bottom: 0; padding: 28px var(--gutter) 64px; display: grid; gap: 12px; justify-items: start; max-width: 760px; }
.txt-center .banner-copy { inset-inline: 0; margin-inline: auto; justify-items: center; text-align: center; }
.txt-top-start .banner-copy { bottom: auto; top: 0; padding-top: 40px; }
.banner-title { font-family: var(--f-display); font-weight: var(--display-weight); letter-spacing: var(--display-track); font-size: clamp(34px, 7vw, 80px); line-height: .98; text-transform: uppercase; max-width: 14ch; }
[dir="rtl"] .banner-title { line-height: 1.2; font-size: clamp(30px, 5.5vw, 64px); }
.banner-promo .banner-title { font-size: clamp(28px, 6vw, 60px); }
.banner-sub { font-size: 17px; max-width: 48ch; opacity: .92; }
.banner .eyebrow { color: inherit; opacity: .85; }
.banner .btn { margin-top: 6px; }
@media (min-width: 900px) { .banner-copy { padding: 48px 48px 72px; } }
.hero-fallback { background: #0b0b0b; color: #fff; padding: 96px 0; }
.hero-fallback .lead { color: rgba(255,255,255,.75); font-size: 20px; }

/* Departments */
.depts { display: grid; gap: 12px; padding-block: 16px; }
@media (min-width: 700px) { .depts { grid-template-columns: repeat(2, 1fr); padding-block: 24px; } }
.dept { position: relative; display: block; min-height: 380px; overflow: hidden; text-decoration: none; color: #fff; background: #111; border-radius: var(--radius); }
.dept-elle { background: #f6eef0; color: #252126; border-radius: 14px; }
.dept img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.dept:hover img { transform: scale(1.03); }
.dept::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.6), transparent 60%); }
.dept-elle::after { background: linear-gradient(to top, rgba(255,255,255,.8), transparent 60%); }
.dept-copy { position: absolute; z-index: 1; bottom: 0; inset-inline: 0; padding: 24px; display: grid; gap: 6px; }
.dept-name { font-family: var(--f-display); font-weight: 800; font-size: clamp(28px, 5vw, 44px); letter-spacing: -.02em; }
.dept-elle .dept-name { font-family: "Cormorant Garamond", serif; font-weight: 500; letter-spacing: .06em; }
.dept-tag { opacity: .85; }
.dept-cta { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; margin-top: 6px; }

/* Rails + grid + cards */
.rail { padding-block: 40px 16px; }
.rail-elle { background: #fbf6f7; padding-block: 48px; margin-block: 16px; }
.rail-elle .h2 { font-family: "Cormorant Garamond", "IBM Plex Sans Arabic", serif; font-weight: 500; color: #252126; }
.rail-elle .eyebrow { color: #963f59; }
.rail-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 20px; }
.link-more { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; white-space: nowrap; padding-block: 8px; }
.grid { display: grid; gap: 24px 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-rail { grid-auto-flow: column; grid-auto-columns: 46%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.grid-rail > * { scroll-snap-align: start; }
@media (min-width: 700px) { .grid:not(.grid-rail) { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid { gap: 32px 16px; } .grid-rail { grid-auto-columns: 31%; } }
@media (min-width: 1100px) { .grid:not(.grid-rail) { grid-template-columns: repeat(4, minmax(0, 1fr)); } .grid-rail { grid-auto-columns: calc((100% - 48px) / 4); } }
.card { position: relative; min-width: 0; }
.card-media { display: block; position: relative; aspect-ratio: 4 / 5; background: var(--soft); overflow: hidden; border-radius: var(--radius); }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .6s; }
.card-alt { opacity: 0; }
@media (hover: hover) { .card:hover .card-alt { opacity: 1; } .card:hover .card-media img:first-child { transform: scale(1.02); } }
.card-noimg { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; letter-spacing: .2em; color: #c9c9c9; }
.card.is-out .card-media img { filter: grayscale(.35); opacity: .75; }
.badges { position: absolute; top: 10px; inset-inline-start: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px; background: #fff; color: #0b0b0b; border-radius: var(--radius); }
.badge-sale { background: var(--accent); color: #fff; }
.badge-out { background: #0b0b0b; color: #fff; }
.card-wish { position: absolute; top: 6px; inset-inline-end: 6px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: transparent; color: #0b0b0b; cursor: pointer; }
.card-wish[aria-pressed="true"] .ic, [data-wish][aria-pressed="true"] .ic { fill: var(--accent); stroke: var(--accent); }
.card-body { padding-top: 12px; display: grid; gap: 4px; }
.card-title { font-size: 14px; font-weight: 500; line-height: 1.35; }
.card-title a { text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.card-wish, .badges { z-index: 2; }
.price { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; margin: 0; }
.price-now { font-weight: 600; }
.price-was { color: var(--mute); font-size: 14px; }
.price-lg .price-now { font-size: 22px; }
.swatches { list-style: none; display: flex; gap: 6px; padding: 0; margin: 4px 0 0; align-items: center; }
.sw { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); }
.sw.is-out { opacity: .35; }
.sw-more { font-size: 12px; color: var(--mute); }
.card-sizes { font-size: 12px; color: var(--mute); margin: 0; letter-spacing: .04em; }

/* Promo, trust, newsletter */
.promo { padding-block: 24px; }
.trust { display: grid; gap: 20px; padding-block: 40px; border-top: 1px solid var(--line); margin-top: 32px; }
@media (min-width: 800px) { .trust { grid-template-columns: repeat(3, 1fr); } }
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-item h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.trust-item p { color: var(--mute); font-size: 14px; margin: 0; }
.newsletter { background: #0b0b0b; color: #fff; padding-block: 48px; }
.newsletter .muted { color: rgba(255,255,255,.65); }
.nl-inner { display: grid; gap: 20px; }
@media (min-width: 900px) { .nl-inner { grid-template-columns: 1fr 1fr; align-items: center; } }
.nl-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.nl-form input[type="email"], .nl-form input[type="search"] { height: 48px; padding: 0 14px; border: 1.5px solid currentColor; background: transparent; border-radius: var(--radius-btn); min-width: 0; }
.nl-form .check { grid-column: 1 / -1; order: 3; }
.newsletter .btn { background: #fff; color: #0b0b0b; border-color: #fff; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }

/* Listing */
.listing { padding-block: 20px 64px; }
.listing-head { padding-block: 8px 16px; }
.crumbs { font-size: 13px; color: var(--mute); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.crumbs a { text-decoration: none; }
.listing-bar { display: flex; align-items: center; gap: 12px; padding-block: 12px; border-block: 1px solid var(--line); margin-bottom: 24px; flex-wrap: wrap; position: relative; }
.listing-bar .count { margin: 0 auto 0 0; color: var(--mute); font-size: 14px; }
[dir="rtl"] .listing-bar .count { margin: 0 0 0 auto; }
.sort select { height: 40px; border: 1px solid var(--line); background: var(--paper); padding: 0 32px 0 12px; border-radius: var(--radius); }
.filters { position: fixed; inset: 0; z-index: 70; background: var(--paper); overflow-y: auto; padding: 0 20px 100px; }
.filters-head { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background: var(--paper); padding-block: 8px; border-bottom: 1px solid var(--line); }
.filters-head .h3 { margin: 0; }
.fgroup { border: 0; padding: 20px 0; margin: 0; border-bottom: 1px solid var(--line); }
.fgroup legend { font-weight: 600; margin-bottom: 12px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; justify-content: center; padding: 8px 14px; border: 1px solid var(--line); cursor: pointer; border-radius: var(--radius); font-size: 14px; }
.chip input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.chip input:focus-visible + span { box-shadow: var(--focus); }
.chip-color i { width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.price-range label { display: grid; gap: 4px; font-size: 13px; color: var(--mute); }
.price-range input { height: 44px; border: 1px solid var(--line); padding: 0 10px; border-radius: var(--radius); min-width: 0; }
.filters-actions { position: fixed; bottom: 0; inset-inline: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); }
@media (min-width: 1000px) {
  .filters { position: absolute; inset: auto; top: 100%; inset-inline-start: 0; width: 380px; max-height: 70vh; padding: 0 20px 20px; box-shadow: 0 20px 40px rgba(0,0,0,.12); border: 1px solid var(--line); z-index: 30; }
  .filters-actions { position: sticky; inset: auto; bottom: -20px; padding-inline: 0; }
}
.empty { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 64px 16px; color: var(--ink); }
.empty .ic { color: var(--mute); }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); text-decoration: none; border-radius: var(--radius); }
.pager .is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pager .pager-gap { border: 0; }

/* Product page */
.pdp { padding-block: 12px 64px; }
.pdp-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .pdp-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: start; } .buybox { position: sticky; top: 96px; } }
.gallery { min-width: 0; margin-inline: calc(var(--gutter) * -1); }
@media (min-width: 900px) { .gallery { margin-inline: 0; } }
.gallery-main { position: relative; }
.gallery-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--soft); }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { margin: 0; scroll-snap-align: start; aspect-ratio: 4 / 5; position: relative; }
.gallery-slide[hidden] { display: none; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.g-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; background: rgba(255,255,255,.9); display: none; place-items: center; cursor: pointer; border-radius: 50%; }
.g-prev { inset-inline-start: 12px; }
.g-next { inset-inline-end: 12px; }
@media (min-width: 900px) { .g-arrow { display: grid; } }
.g-zoom { position: absolute; bottom: 12px; inset-inline-end: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); display: grid; place-items: center; cursor: pointer; }
.g-counter { position: absolute; bottom: 12px; inset-inline-start: 12px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 12px; margin: 0; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 10px var(--gutter) 0; }
@media (min-width: 900px) { .thumbs { padding-inline: 0; } }
.thumb { flex: none; width: 64px; padding: 0; border: 1.5px solid transparent; background: var(--soft); cursor: pointer; border-radius: var(--radius); overflow: hidden; }
.thumb[aria-current="true"] { border-color: var(--ink); }
.thumb[hidden] { display: none; }
.pdp-title { font-family: var(--f-display); font-weight: var(--display-weight); letter-spacing: var(--display-track); font-size: clamp(24px, 4vw, 36px); margin-bottom: 10px; }
.pdp-short { color: var(--mute); margin-top: 12px; }
.buy-form { margin-top: 20px; display: grid; gap: 18px; }
.opt { border: 0; padding: 0; margin: 0; }
.opt legend { font-size: 14px; margin-bottom: 10px; padding: 0; }
.opt legend a { font-size: 13px; }
.opt-colors, .opt-sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.color-opt input, .size-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.color-opt > span { display: block; width: 44px; height: 44px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); border: 3px solid var(--paper); outline: 1.5px solid transparent; cursor: pointer; position: relative; }
.color-opt input:checked + span { outline-color: var(--ink); }
.color-opt input:focus-visible + span { box-shadow: var(--focus); }
.color-opt.is-out > span::after { content: ""; position: absolute; inset: 50% -2px auto; height: 1.5px; background: var(--ink); transform: rotate(-45deg); }
.size-opt span { display: grid; place-items: center; min-width: 52px; height: 48px; padding: 0 12px; border: 1px solid var(--line); cursor: pointer; font-weight: 500; border-radius: var(--radius); }
.size-opt input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.size-opt input:focus-visible + span { box-shadow: var(--focus); }
.size-opt input:disabled + span { color: #b9b9b9; text-decoration: line-through; cursor: not-allowed; background: var(--soft); }
.opt-msg { font-size: 14px; color: var(--accent); margin: 8px 0 0; min-height: 1em; }
.qty-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-btn); }
.qty button { width: 44px; height: 44px; border: 0; background: none; font-size: 20px; cursor: pointer; }
.qty button:disabled { opacity: .3; }
.qty input, .qty output { width: 44px; text-align: center; border: 0; background: none; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-sm button { width: 40px; height: 40px; }
.stock-note { font-size: 14px; color: var(--mute); margin: 0; }
.stock-note.is-low { color: var(--accent); }
.buy-actions { display: grid; gap: 10px; }
.sold-all { padding: 14px; background: var(--soft); text-align: center; font-weight: 600; }
.alert-form { display: grid; gap: 10px; padding: 16px; background: var(--soft); margin-top: 12px; border-radius: var(--radius); }
.alert-form input[type="email"] { height: 44px; padding: 0 12px; border: 1px solid var(--line); background: var(--paper); }
.pdp-meta { display: flex; gap: 20px; margin-top: 16px; }
.accordion { margin-top: 24px; border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; cursor: pointer; font-weight: 600; list-style: none; min-height: 52px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion details[open] summary .ic { transform: rotate(180deg); }
.prose { padding-bottom: 16px; color: #2a2a2a; }
.theme-elle .prose { color: var(--ink); }
.prose h2 { font-size: 18px; margin: 20px 0 8px; }
.prose ul { padding-inline-start: 20px; }
.related { margin-top: 48px; }
.lightbox { padding: 0; border: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; background: #fff; }
.lightbox::backdrop { background: rgba(0,0,0,.8); }
.lightbox img { width: 100%; height: 100%; object-fit: contain; touch-action: pinch-zoom; }
.lb-close { position: fixed; top: 12px; inset-inline-end: 12px; background: #fff; border-radius: 50%; z-index: 2; }
.sticky-buy { position: fixed; bottom: 0; inset-inline: 0; z-index: 35; background: var(--paper); border-top: 1px solid var(--line); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.sticky-buy div { display: grid; font-size: 13px; min-width: 0; }
.sticky-buy strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 900px) { .sticky-buy { display: none !important; } }

/* Forms */
.field { display: grid; gap: 6px; margin-bottom: 14px; font-size: 14px; }
.field > span { font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #cfcfcf; background: var(--paper); border-radius: var(--radius); font-size: 16px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: #c8102e; }
.field-err { color: #c8102e; font-size: 13px; margin: 0; }
.grid-2 { display: grid; gap: 0 14px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.stack { display: grid; gap: 4px; }
.err { color: #c8102e; font-size: 14px; }

/* Cart + checkout */
.cart-page, .checkout { padding-block: 24px 64px; }
.cart-grid, .co-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .cart-grid, .co-grid { grid-template-columns: minmax(0, 1fr) 400px; align-items: start; } .summary { position: sticky; top: 96px; } }
.cart-lines { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.cline { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cline.is-out { opacity: .6; }
.cline-img { background: var(--soft); aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); }
.cline-img img { width: 100%; height: 100%; object-fit: cover; }
.cline-name { font-weight: 600; text-decoration: none; }
.cline-info p { margin: 4px 0 0; font-size: 14px; }
.cline-issue { color: #b7791f; }
.cline-actions { grid-column: 2; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cline-total { margin: 0 0 0 auto; font-weight: 600; }
[dir="rtl"] .cline-total { margin: 0 auto 0 0; }
@media (min-width: 640px) { .cline { grid-template-columns: 110px minmax(0, 1fr) auto; } .cline-actions { grid-column: 3; flex-direction: column; align-items: flex-end; } .cline-total { margin: 0; } }
.summary { background: var(--soft); padding: 20px; border-radius: var(--radius); }
.sum { margin: 16px 0; display: grid; gap: 10px; }
.sum div { display: flex; justify-content: space-between; gap: 12px; }
.sum dt, .sum dd { margin: 0; }
.sum-total { border-top: 1px solid var(--line); padding-top: 12px; font-weight: 700; font-size: 18px; }
.coupon { display: flex; gap: 8px; align-items: center; margin-top: 12px; flex-wrap: wrap; }
.coupon input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border: 1px solid #cfcfcf; background: var(--paper); border-radius: var(--radius); }
.coupon p { margin: 0; flex: 1; }
.free-ship { font-size: 14px; padding: 10px 12px; background: var(--paper); border-radius: var(--radius); }
.co-step { border: 0; padding: 0 0 8px; margin: 0 0 20px; }
.co-step legend { font-weight: 700; font-size: 18px; margin-bottom: 14px; display: flex; gap: 10px; align-items: center; padding: 0; }
.co-step legend span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); font-size: 14px; }
.pay-opt { display: flex; gap: 12px; padding: 16px; border: 1.5px solid var(--ink); border-radius: var(--radius); align-items: flex-start; }
.pay-opt input { width: 20px; height: 20px; accent-color: var(--ink); margin-top: 2px; }
.mini-lines { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 12px; }
.mini-lines li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 14px; }
.mini-img { position: relative; background: var(--paper); aspect-ratio: 4 / 5; border-radius: var(--radius); }
.mini-img img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.mini-img b { position: absolute; top: -6px; inset-inline-end: -6px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--ink); color: var(--paper); font-size: 11px; display: grid; place-items: center; }
.mini-name small { display: block; color: var(--mute); }

/* Order + tracking */
.order-page { padding-block: 32px 64px; }
.order-hero { text-align: center; display: grid; justify-items: center; gap: 4px; margin-bottom: 24px; }
.ok-icon { width: 64px; height: 64px; border-radius: 50%; background: #1f7a4a; color: #fff; display: grid; place-items: center; margin-bottom: 8px; }
.order-id { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 20px; background: var(--soft); border-radius: var(--radius); margin-bottom: 24px; }
@media (min-width: 800px) { .order-id { grid-template-columns: repeat(4, 1fr); } }
.order-id div { display: grid; gap: 2px; font-size: 14px; }
.order-id strong { font-size: 16px; }
.pay-paid { color: #1f7a4a; }
.timeline-box { border: 1px solid var(--line); padding: 20px; border-radius: var(--radius); margin-bottom: 24px; }
.st { font-weight: 700; }
.timeline { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; position: relative; padding-bottom: 20px; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; inset-inline-start: 19px; top: 40px; bottom: 0; width: 2px; background: var(--line); }
.timeline li.tl-done:not(:last-child)::before { background: var(--ink); }
.tl-dot { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line); color: #b3b3b3; background: var(--paper); }
.tl-done .tl-dot { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.tl-current .tl-dot { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 4px rgba(200,16,46,.12); }
.tl-text { display: grid; align-content: center; min-height: 40px; }
.tl-todo .tl-text { color: #9a9a9a; }
.tl-text small { color: var(--mute); }
@media (min-width: 800px) {
  .timeline { grid-template-columns: repeat(5, 1fr); }
  .timeline li { grid-template-columns: 1fr; justify-items: center; text-align: center; padding-bottom: 0; }
  .timeline li:not(:last-child)::before { inset-inline-start: calc(50% + 24px); inset-inline-end: calc(-50% + 24px); top: 19px; bottom: auto; width: auto; height: 2px; }
}
.tl-exception { display: flex; gap: 12px; align-items: center; margin-top: 16px; padding: 14px; background: #fff4f5; border-inline-start: 3px solid #c8102e; }
.tl-exception.st-returned, .tl-exception.st-delivery_failed { background: #fffaf0; border-color: #b7791f; }
.tl-exception small { display: block; color: var(--mute); }
.tracking { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 16px 0 0; font-size: 14px; }
.order-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .order-grid { grid-template-columns: 1.4fr 1fr; } }
.help-box { margin-top: 20px; padding: 16px; border: 1px solid var(--line); display: grid; gap: 8px; justify-items: start; border-radius: var(--radius); }
.help-box h3 { font-size: 16px; }
.help-cards { display: grid; gap: 12px; margin: 24px 0 40px; }
@media (min-width: 640px) { .help-cards { grid-template-columns: 1fr 1fr; } }
.help-card { display: grid; gap: 6px; padding: 20px; border: 1px solid var(--line); text-decoration: none; border-radius: var(--radius); }
.help-card:hover { border-color: var(--ink); }
.contact-ways { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.page-body .prose { font-size: 16px; line-height: 1.75; }
.error-page { text-align: center; display: grid; justify-items: center; gap: 12px; }
.err-code { font-size: 96px; font-weight: 800; line-height: 1; margin: 0; letter-spacing: -.04em; color: var(--accent); }
.error-page .nl-form { width: 100%; max-width: 480px; }
.error-page .nl-form input { border-color: var(--ink); }

/* Footer */
.site-footer { background: #0b0b0b; color: #d9d9d9; padding-top: 48px; margin-top: 48px; font-size: 14px; }
.foot-grid { display: grid; gap: 16px 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.foot-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } .foot-brand { grid-column: auto; } }
.site-footer h2 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 14px; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.site-footer li a { display: inline-flex; gap: 6px; align-items: center; padding: 8px 0; text-decoration: none; }
.site-footer li a:hover { color: #fff; text-decoration: underline; }
.foot-slogan { margin-top: 16px; color: #a9a9a9; max-width: 32ch; }
.foot-social { display: flex; gap: 6px; margin-top: 12px; }
.foot-social a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #333; border-radius: 50%; }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid #222; margin-top: 40px; padding-block: 20px 28px; color: #8a8a8a; font-size: 12px; }
.foot-contact .muted { color: #8a8a8a; padding: 8px 0; }
.maint { background: #0b0b0b; color: #fff; min-height: 100vh; display: grid; place-items: center; text-align: center; }
.maint-box { display: grid; gap: 16px; justify-items: center; padding: 24px; }
.maint .eyebrow { color: #aaa; }

/* ÉLLE keeps white as the dominant colour down to the footer */
.theme-elle .site-footer { background: #fbf6f7; color: #252126; border-top: 1px solid var(--line); }
.theme-elle .site-footer h2 { color: #963f59; }
.theme-elle .site-footer li a:hover { color: #963f59; }
.theme-elle .foot-slogan, .theme-elle .foot-bottom, .theme-elle .foot-contact .muted { color: #6f6870; }
.theme-elle .foot-bottom { border-top-color: var(--line); }
.theme-elle .foot-social a { border-color: var(--line); }
.theme-elle .newsletter { background: #fbf6f7; color: #252126; }
.theme-elle .newsletter .muted { color: #6f6870; }
.theme-elle .newsletter .btn { background: #963f59; color: #fff; border-color: #963f59; }
.txt-below { height: auto; min-height: 0; display: grid; }
.txt-below picture { position: relative; aspect-ratio: 16 / 7; }
.txt-below::after { display: none; }
.txt-below .banner-copy { position: static; color: var(--ink); padding: 20px 0 8px; }
