/* Dar Sadeem — editorial abaya atelier */
:root {
  --paper: #F2F1EF;
  --paper-2: #E9E7E4;
  --ink: #18151A;
  --ink-2: #3B363D;
  --muted: #6D6670;
  --line: #D6D2CE;
  --plum: #4B1F3A;
  --night: #24121E;
  --brass: #A88A5E;
  --mist: #E3E0DD;
  --focus: #4B1F3A;
  --serif: 'Amiri', 'Times New Roman', serif;
  --sans: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --gut: 20px;
  --max: 1280px;
  /* motion tokens (fashion tempo = x1.2) */
  --ease-out: cubic-bezier(.22,1,.36,1);
  --ease-inout: cubic-bezier(.65,0,.35,1);
  --ease-snap: cubic-bezier(.34,1.56,.64,1);
  --ease-lux: cubic-bezier(.16,1,.3,1);
  --d-1: 144ms; --d-2: 220ms; --d-3: 500ms; --d-4: 840ms; --d-5: 1320ms;
}
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.7; overflow-x: hidden; }
html[lang="en"] body { line-height: 1.6; }
body.locked { overflow: hidden; }
img { width: 100%; height: 100%; object-fit: cover; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 100; text-decoration: none; }
.skip:focus { top: 12px; }

.h2 { font-family: var(--serif); font-size: clamp(34px, 7vw, 68px); line-height: 1.12; letter-spacing: 0; }
html[lang="en"] .h2 i { font-style: italic; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border: 1px solid var(--ink); border-radius: 0; background: transparent; text-decoration: none; font-weight: 500; font-size: 15px; transition: background var(--d-2), color var(--d-2), border-color var(--d-2); position: relative; }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--plum); border-color: var(--plum); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--wide { width: 100%; }
.btn--wa { background: #1F5E45; border-color: #1F5E45; color: #fff; }
.btn--wa:hover { background: #164a36; }
.link { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; font-size: 14px; color: var(--ink); }
.link--muted { color: var(--muted); }

.icon-btn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; color: var(--ink); border-radius: 50%; }
.icon-btn svg { width: 24px; height: 24px; }
.icon-btn--boxed { border: 1px solid var(--ink); border-radius: 0; width: 52px; height: 48px; flex: none; }
.icon-btn--boxed svg path { fill: none; }
.icon-btn--boxed.is-on svg path { fill: var(--plum); stroke: var(--plum); }
.badge { position: absolute; top: 4px; inset-inline-end: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--plum); color: #fff; font-size: 11px; line-height: 18px; text-align: center; font-weight: 600; }

/* Studio chip */
.studio-chip { position: fixed; z-index: 40; bottom: 14px; inset-inline-start: 14px; display: flex; align-items: center; background: rgba(24, 21, 26, .88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 999px; padding: 3px; font-size: 12px; }
.studio-chip a, .studio-chip button { color: #fff; background: none; border: 0; text-decoration: none; padding: 6px 12px; border-radius: 999px; line-height: 1.2; }
.studio-chip button { background: rgba(255,255,255,.14); }
.studio-chip a:hover, .studio-chip button:hover { background: rgba(255,255,255,.24); }

/* Header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(242, 241, 239, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top__in { max-width: var(--max); margin: 0 auto; height: 60px; padding: 0 calc(var(--gut) - 6px) 0 var(--gut); display: flex; align-items: center; gap: 16px; }
html[dir="rtl"] .top__in { padding: 0 var(--gut) 0 calc(var(--gut) - 6px); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand__arch { width: 20px; height: 26px; color: var(--plum); }
.brand__name { font-family: var(--serif); font-size: 24px; line-height: 1; padding-top: 4px; }
html[lang="en"] .brand__name { font-style: italic; padding-top: 0; }
.nav { display: none; gap: 28px; margin-inline-start: auto; }
.nav a { text-decoration: none; font-size: 14px; color: var(--ink-2); padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover { border-color: var(--ink); color: var(--ink); }
.top__tools { display: flex; margin-inline-start: auto; }
@media (min-width: 900px) { .nav { display: flex; } .top__tools { margin-inline-start: 18px; } }

/* Hero */
.hero { max-width: var(--max); margin: 0 auto; padding: 28px var(--gut) 40px; display: grid; grid-template-columns: 1fr; gap: 26px; position: relative; }
.hero__season { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.hero__season::before { content: ''; width: 28px; height: 1px; background: var(--brass); }
.hero__name { font-family: var(--serif); font-size: clamp(64px, 19vw, 150px); line-height: .95; margin: 14px 0 18px; color: var(--ink); }
html[lang="ar"] .hero__name { line-height: 1.15; margin: 6px 0 2px; }
html[lang="en"] .hero__name { font-style: italic; letter-spacing: -.01em; }
.hero__line { font-size: 16px; color: var(--ink-2); max-width: 30em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero__cta .btn { flex: 1 1 auto; padding: 0 18px; white-space: nowrap; }
.hero__arch { margin: 0; width: 82%; margin-inline-start: auto; aspect-ratio: 3 / 3.7; border-radius: 1000px 1000px 0 0; overflow: hidden; background: #E5DDD3; order: -1; }
@media (max-width: 899px) {
  .hero { gap: 0; padding-top: 18px; }
  .hero__text { position: relative; margin-top: -64px; }
  .hero__season { background: var(--paper); width: max-content; padding: 6px 12px 6px 0; }
  html[dir="rtl"] .hero__season { padding: 6px 0 6px 12px; }
}
.hero__arch img { object-position: 50% 45%; }
.hero__detail { display: none; margin: 0; }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.05fr .8fr .42fr; align-items: end; gap: 40px; padding-top: 56px; padding-bottom: 70px; }
  .hero__arch { order: 0; max-height: 640px; width: 100%; aspect-ratio: 3 / 4; }
  .hero__text { padding-bottom: 20px; }
  .hero__detail { display: block; align-self: start; margin-top: 120px; }
  .hero__detail-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #1F1C1E; }
  .hero__detail figcaption { font-family: var(--serif); font-size: 17px; margin-top: 10px; color: var(--ink-2); }
  html[lang="en"] .hero__detail figcaption { font-style: italic; }
}

.promises { list-style: none; margin: 0 auto; padding: 0 var(--gut); max-width: var(--max); display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.promises li { flex: 1 1 100%; padding: 12px 0; font-size: 14px; color: var(--ink-2); display: flex; align-items: center; gap: 10px; }
.promises li + li { border-top: 1px solid var(--line); }
.promises li::before { content: ''; width: 6px; height: 6px; background: var(--brass); border-radius: 50%; flex: none; }
@media (min-width: 700px) {
  .promises li { flex: 1; justify-content: center; padding: 16px 0; }
  .promises li + li { border-top: 0; border-inline-start: 1px solid var(--line); }
}

/* Blocks */
.block { max-width: var(--max); margin: 0 auto; padding: 64px var(--gut) 10px; }
.block__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: 26px; }
.block__note { color: var(--muted); font-size: 14px; max-width: 30em; }

/* Reel (new arrivals) */
.reel { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scrollbar-width: thin; scrollbar-color: var(--line) transparent; overscroll-behavior-x: contain; }
.reel__item { scroll-snap-align: start; }
.reel__open { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: start; }
.reel__arch { display: block; aspect-ratio: 3 / 4.2; border-radius: 1000px 1000px 0 0; overflow: hidden; }
.reel__arch img { transition: transform .7s var(--ease-out), scale 1.6s var(--ease-lux); }
.reel__open:hover img { transform: scale(1.04); }
.reel__name { display: block; font-family: var(--serif); font-size: 21px; margin-top: 12px; line-height: 1.3; }
html[lang="en"] .reel__name { font-style: italic; }
.reel__price { font-size: 14px; color: var(--muted); }
@media (min-width: 700px) { .reel { grid-auto-columns: 32%; } }
@media (min-width: 1100px) { .reel { grid-auto-columns: calc((100% - 64px) / 5); gap: 16px; margin-inline: 0; padding-inline: 0; } }

/* Filters */
.filters { position: sticky; top: 60px; z-index: 20; background: var(--paper); margin: 0 calc(var(--gut) * -1) 24px; padding: 10px var(--gut); border-bottom: 1px solid var(--line); }
.filters__row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); }
.filters__row::-webkit-scrollbar { display: none; }
.filters__row--sub { margin-top: 10px; align-items: center; justify-content: space-between; gap: 12px; }
.chip { flex: none; min-height: 44px; border: 1px solid var(--line); background: transparent; padding: 7px 16px; border-radius: 999px; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sizes-filter { display: flex; align-items: center; gap: 2px; flex: none; }
.sizes-filter__label { font-size: 13px; color: var(--muted); margin-inline-end: 6px; }
.sz { min-width: 36px; height: 44px; padding: 0 8px; border: 0; background: none; font-size: 13px; color: var(--ink-2); border-bottom: 1px solid transparent; font-family: var(--sans); }
.sz:hover { color: var(--ink); border-bottom-color: var(--line); }
.sz.is-on { color: var(--plum); border-bottom: 2px solid var(--plum); font-weight: 600; }
.sort select { appearance: none; -webkit-appearance: none; border: 0; border-bottom: 1px solid var(--line); background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2318151A'/%3E%3C/svg%3E") no-repeat; background-position: left 2px center; padding: 6px 2px 6px 18px; min-height: 44px; font-size: 13px; border-radius: 0; }
html[dir="ltr"] .sort select { background-position: right 2px center; padding: 6px 18px 6px 2px; }
@media (min-width: 900px) {
  .filters { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-inline: 0; padding-inline: 0; }
  .filters__row { margin-inline: 0; padding-inline: 0; }
  .filters__row--sub { margin-top: 0; gap: 26px; }
}

/* Grid */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 14px; }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 46px 22px; } }
.card { position: relative; }
.card__open { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: start; }
.card__img { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; }
.card__img img { transition: transform .8s var(--ease-out), opacity var(--d-3) var(--ease-lux); }
.card__open:hover .card__img img { transform: scale(1.04); }
.card__tag { position: absolute; bottom: 0; inset-inline-start: 0; background: var(--paper); color: var(--ink); font-size: 12px; padding: 4px 10px; line-height: 1.4; }
.card__tag--limited { background: var(--plum); color: #fff; }
.card__name { display: block; font-family: var(--serif); font-size: 19px; line-height: 1.3; margin-top: 10px; }
html[lang="en"] .card__name { font-style: italic; }
.card__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 2px; }
.card__price { font-size: 14px; color: var(--ink-2); }
.dots { display: flex; gap: 4px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.heart { position: absolute; top: 4px; inset-inline-end: 4px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(242, 241, 239, .82); color: var(--ink); }
.heart svg { width: 20px; height: 20px; }
.heart svg path { fill: none; }
.heart.is-on svg path { fill: var(--plum); stroke: var(--plum); }
.interlude { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; background: var(--plum); color: #F3E9EE; min-height: 220px; }
.interlude__img { display: block; overflow: hidden; background: #1F6B78; }
.interlude__text { padding: 22px 18px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; font-size: 14px; line-height: 1.6; }
.interlude__text b { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.25; color: #fff; }
html[lang="en"] .interlude__text b { font-style: italic; }
@media (min-width: 900px) { .interlude { grid-column: span 2; } .interlude__text { padding: 32px; font-size: 15px; } .interlude__text b { font-size: 30px; } }
.ask { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; min-height: 220px; padding: 22px 18px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14px; line-height: 1.6; transition: background-color var(--d-2), border-color var(--d-2); }
.ask__arch { width: 26px; height: 34px; color: var(--brass); margin-block-end: auto; }
.ask b { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.3; }
html[lang="en"] .ask b { font-style: italic; }
.ask span { color: var(--muted); }
.ask .ask__go { color: var(--ink); align-self: flex-start; border-bottom: 1px solid currentColor; padding-block: 8px 2px; font-weight: 500; }
.ask:hover { background: var(--paper-2); border-color: #C9C4BF; }
@media (min-width: 900px) { .ask { min-height: 0; padding: 32px; font-size: 15px; } .ask b { font-size: 30px; } }
/* Wide variant (fills 2-3 cells): a calm editorial panel, arch drawn large on the far side */
.ask--wide { position: relative; justify-content: center; background: var(--paper-2); border-color: transparent; padding-inline-end: 38%; overflow: hidden; }
.ask--wide .ask__arch { position: absolute; inset-inline-end: 8%; bottom: 0; width: 22%; max-width: 200px; height: auto; aspect-ratio: 40 / 52; margin: 0; color: var(--brass); opacity: .9; }
.ask--wide .ask__arch path { vector-effect: non-scaling-stroke; stroke-width: 1.2px; }
.ask--wide b { font-size: clamp(30px, 3vw, 44px); }
.ask--wide:hover { background: #E4E1DD; }
.empty { padding: 40px 0; color: var(--muted); text-align: center; }

/* Limited */
.limited { background: var(--night); color: #EDE3E8; margin-top: 80px; }
.limited__in { max-width: var(--max); margin: 0 auto; padding: 64px var(--gut); display: grid; gap: 34px; }
.limited__head { max-width: 30em; }
.limited__head .h2 { color: #fff; margin: 14px 0 12px; }
.limited__head p { color: #C9B9C2; }
.arch-mark { width: 30px; height: 40px; color: var(--brass); }
.limited__list { display: grid; gap: 26px; }
.lim__open { display: grid; grid-template-columns: 42% 1fr; gap: 16px; width: 100%; padding: 0; background: none; border: 0; color: inherit; text-align: start; align-items: end; }
.lim__img { display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 1000px 1000px 0 0; }
.lim__body { display: flex; flex-direction: column; gap: 6px; padding-bottom: 6px; }
.lim__name { font-family: var(--serif); font-size: 26px; line-height: 1.2; color: #fff; }
html[lang="en"] .lim__name { font-style: italic; }
.lim__price { font-size: 14px; color: #C9B9C2; }
.lim__stock { font-size: 13px; color: #E2C9A4; margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.lim__bar { display: block; height: 2px; background: rgba(255,255,255,.14); max-width: 180px; }
.lim__bar i { display: block; height: 100%; background: var(--brass); }
.lim__open:hover .lim__name { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
@media (min-width: 900px) {
  .limited__in { grid-template-columns: .8fr 2fr; padding: 96px var(--gut); align-items: start; }
  .limited__head { position: sticky; top: 100px; }
  .limited__list { grid-template-columns: repeat(3, 1fr); gap: 26px; }
  .lim__open { grid-template-columns: 1fr; align-items: start; }
  .lim__open:nth-child(1) { margin-top: 0; }
  .lim:nth-child(2) { margin-top: 60px; }
  .lim:nth-child(3) { margin-top: 120px; }
}

/* Fabric */
.fabric { max-width: var(--max); margin: 0 auto; padding: 72px var(--gut); display: grid; gap: 30px; }
.fabric__img { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #E6DFD3; }
.fabric__lead { color: var(--ink-2); margin: 12px 0 22px; }
.fabric__list { margin: 0; display: grid; gap: 0; }
.fabric__list div { padding: 16px 0; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.fabric__list div:last-child { border-bottom: 1px solid var(--line); }
.fabric__list dt { font-family: var(--serif); font-size: 22px; }
html[lang="en"] .fabric__list dt { font-style: italic; }
.fabric__list dd { margin: 0; color: var(--muted); font-size: 14px; }
@media (min-width: 900px) {
  .fabric { grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding: 110px var(--gut); }
  .fabric__img { aspect-ratio: 4 / 5; max-height: 640px; }
  .fabric__list div { grid-template-columns: 160px 1fr; align-items: baseline; gap: 20px; }
}

/* Visit */
.visit { max-width: var(--max); margin: 0 auto; padding: 20px var(--gut) 80px; }
.visit__grid { display: grid; gap: 14px; margin-top: 26px; }
.visit__card { border-top: 1px solid var(--ink); padding: 18px 0 8px; display: grid; gap: 8px; align-content: start; }
.visit__card h3 { font-family: var(--serif); font-size: 22px; }
.hours { border-collapse: collapse; width: 100%; font-size: 14px; }
.hours th, .hours td { text-align: start; font-weight: 400; padding: 6px 0; border-bottom: 1px solid var(--line); }
.hours td { text-align: end; color: var(--ink-2); }
.pay { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pay li { border: 1px solid var(--line); padding: 3px 12px; border-radius: 999px; font-size: 13px; }
@media (min-width: 900px) { .visit__grid { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

/* Footer */
.foot { background: var(--paper-2); border-top: 1px solid var(--line); }
.foot__in { max-width: var(--max); margin: 0 auto; padding: 40px var(--gut) 80px; display: grid; gap: 22px; }
.foot__name { font-family: var(--serif); font-size: 30px; line-height: 1.2; }
html[lang="en"] .foot__name { font-style: italic; }
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; flex-wrap: wrap; }
.social a { font-size: 14px; text-underline-offset: 4px; }
.made { font-size: 12px; color: var(--muted); text-decoration: none; }
.made:hover { color: var(--ink); text-decoration: underline; }
@media (min-width: 900px) { .foot__in { grid-template-columns: 1fr auto auto; align-items: end; gap: 50px; padding-bottom: 50px; } }

/* Sheets */
.scrim { position: fixed; inset: 0; z-index: 50; background: rgba(24, 21, 26, .45); opacity: 0; transition: opacity var(--d-3) var(--ease-out); }
.scrim.is-open { opacity: 1; }
.sheet { position: fixed; z-index: 60; background: var(--paper); display: flex; flex-direction: column; inset: auto 0 0 0; max-height: 92vh; max-height: 92dvh; transform: translateY(100%); transition: transform var(--d-3) var(--ease-lux); box-shadow: 0 -10px 40px rgba(0,0,0,.12); }
.sheet.is-open { transform: none; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--gut) 10px; border-bottom: 1px solid var(--line); flex: none; }
.sheet__head h2 { font-family: var(--serif); font-size: 26px; }
html[lang="en"] .sheet__head h2 { font-style: italic; }
.sheet__close { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; margin-inline-end: -10px; }
.sheet__close svg { width: 22px; height: 22px; }
.sheet__body { overflow-y: auto; padding: 16px var(--gut); flex: 1 1 auto; overscroll-behavior: contain; }
.sheet__foot { padding: 14px var(--gut) calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 8px; flex: none; }
@media (min-width: 900px) {
  .sheet--side { inset: 0 0 0 auto; width: 440px; max-height: none; height: 100%; transform: translateX(100%); }
  html[dir="rtl"] .sheet--side { inset: 0 auto 0 0; transform: translateX(-100%); }
  .sheet--side.is-open, html[dir="rtl"] .sheet--side.is-open { transform: none; }
}

/* Product sheet */
.sheet--product { overflow-y: auto; overscroll-behavior: contain; }
.sheet--product > .sheet__close { position: sticky; top: 10px; align-self: flex-end; flex: none; z-index: 2; background: rgba(242,241,239,.92); border-radius: 50%; margin: 10px 14px -54px; }
.pd__gallery { position: relative; }
.pd__main { position: relative; aspect-ratio: 4 / 4.6; overflow: hidden; background: var(--mist); }
.pd__thumbs { display: flex; gap: 6px; padding: 8px var(--gut) 0; }
.thumb { width: 54px; height: 68px; padding: 0; border: 1px solid transparent; background: var(--mist); overflow: hidden; opacity: .7; }
.thumb.is-on { border-color: var(--ink); opacity: 1; }
.pd__info { padding: 18px var(--gut) calc(24px + env(safe-area-inset-bottom)); display: grid; gap: 6px; }
.pd__tag { font-size: 12px; color: var(--muted); min-height: 0; }
.pd__tag:empty { display: none; }
.pd__tag--limited { color: var(--plum); font-weight: 600; }
.pd__name { font-family: var(--serif); font-size: 34px; line-height: 1.15; }
html[lang="en"] .pd__name { font-style: italic; }
.pd__price { font-size: 18px; font-weight: 500; }
.pd__desc { color: var(--ink-2); margin-top: 6px; }
.pd__fabric { font-size: 13px; color: var(--muted); }
.opt { border: 0; padding: 0; margin: 14px 0 0; min-width: 0; }
.opt legend { padding: 0; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.opt legend b { color: var(--ink); font-weight: 500; }
.swatches { display: flex; gap: 10px; }
.sw { width: 40px; height: 40px; border-radius: 50%; border: 1px solid transparent; background: none; padding: 4px; }
.sw i { display: block; width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.sw.is-on { border-color: var(--ink); }
.size-pick { display: flex; flex-wrap: wrap; gap: 6px; }
.sz--big { min-width: 54px; height: 44px; border: 1px solid var(--line); font-size: 14px; }
.sz--big:hover { border-color: var(--ink); }
.sz--big.is-on { border: 1px solid var(--ink); background: var(--ink); color: var(--paper); }
.sz.is-out { color: #ABA4A8; background: linear-gradient(to top right, transparent calc(50% - .5px), #C9C3C6 50%, transparent calc(50% + .5px)); cursor: not-allowed; }
.guide { margin-top: 12px; font-size: 14px; }
.guide summary { cursor: pointer; text-decoration: underline; text-underline-offset: 4px; width: max-content; }
.guide__body { margin-top: 10px; overflow-x: auto; }
.guide table { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 8px; }
.guide th, .guide td { padding: 10px 6px; border-bottom: 1px solid var(--line); text-align: center; font-weight: 400; }
.guide thead th { color: var(--muted); font-size: 12px; }
.guide tbody th { font-weight: 600; }
.pd__err { color: #9B1C3A; font-size: 14px; }
.pd__actions { display: flex; gap: 8px; margin-top: 16px; }
.pd__note { margin-top: 6px; }
@media (min-width: 900px) {
  .sheet--product { inset: 50% auto auto 50%; width: min(1000px, 92vw); max-height: 88vh; transform: translate(-50%, -47%); opacity: 0; transition: transform var(--d-3) var(--ease-lux), opacity var(--d-3) var(--ease-out); box-shadow: 0 30px 80px rgba(0,0,0,.2); }
  .sheet--product.is-open { transform: translate(-50%, -50%); opacity: 1; }
  .pd { display: grid; grid-template-columns: 1.05fr 1fr; }
  .pd__gallery { display: grid; grid-template-columns: 70px 1fr; gap: 10px; padding: 24px; padding-inline-end: 0; align-self: start; }
  .pd__main { grid-column: 2; grid-row: 1; aspect-ratio: 4 / 5; }
  .pd__thumbs { grid-column: 1; grid-row: 1; flex-direction: column; padding: 0; }
  .thumb { width: 70px; height: 88px; }
  .pd__info { padding: 56px 36px 32px; align-content: start; }
  .pd__name { font-size: 42px; }
}

/* Cart / wishlist lines */
.line { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line:first-child { padding-top: 0; }
.line__img { display: block; aspect-ratio: 3 / 4; overflow: hidden; }
.line__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.line__name { font-family: var(--serif); font-weight: 400; font-size: 19px; line-height: 1.3; }
html[lang="en"] .line__name { font-style: italic; }
.line__opts { font-size: 13px; color: var(--muted); }
.line__price { font-size: 14px; }
.line__acts { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 8px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.qty button { width: 36px; height: 34px; border: 0; background: none; font-size: 17px; }
.qty span { min-width: 26px; text-align: center; font-size: 14px; }
.side-empty { color: var(--muted); padding: 30px 0; }
.sum { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; padding: 4px 0; }
.sum b { font-size: 17px; font-weight: 600; }
.sum--total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; }

/* Form */
.form { display: grid; gap: 14px; align-content: start; }
.field { display: grid; gap: 6px; font-size: 13px; color: var(--ink-2); border: 0; padding: 0; margin: 0; min-width: 0; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); background: #fff; padding: 11px 12px; font-size: 16px; border-radius: 0; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 1px var(--ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
html[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field [aria-invalid="true"] { border-color: #9B1C3A; }
.err { color: #9B1C3A; font-size: 12px; }
.pay-pick legend { margin-bottom: 6px; }
.pay-pick { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-pick label { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); padding: 7px 12px; font-size: 14px; color: var(--ink); background: #fff; cursor: pointer; white-space: nowrap; }
.pay-pick label:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pay-pick input { accent-color: var(--plum); margin: 0; }
.cod-note { font-size: 13px; color: var(--ink-2); background: var(--paper-2); padding: 12px 14px; border-inline-start: 2px solid var(--brass); }
.totals { padding-top: 4px; }

/* WhatsApp preview */
.wa { margin-top: 14px; border: 1px solid var(--line); overflow: hidden; border-radius: 160px 160px 0 0 / 60px 60px 0 0; }
.wa__bar { background: #1F5E45; color: #fff; padding: 22px 18px 12px; display: flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--serif); font-size: 18px; }
.wa__bar b { font-weight: 400; }
.wa__dot { width: 8px; height: 8px; border-radius: 50%; background: #9FE0B8; }
.wa__chat { background: #ECE5DB; padding: 16px 12px 20px; }
.wa__bubble { margin: 0; margin-inline-start: auto; max-width: 92%; background: #DCF3D6; color: #1A2A1F; padding: 10px 12px; border-radius: 8px; border-start-end-radius: 0; white-space: pre-wrap; word-break: break-word; font-family: var(--sans); font-size: 13px; line-height: 1.65; box-shadow: 0 1px 1px rgba(0,0,0,.08); }

/* Toast */
.toast { position: fixed; z-index: 70; left: 50%; bottom: 64px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: .25s; background: var(--ink); color: var(--paper); padding: 10px 10px 10px 16px; display: flex; align-items: center; gap: 12px; font-size: 14px; max-width: calc(100vw - 32px); width: max-content; }
html[dir="rtl"] .toast { padding: 10px 16px 10px 10px; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast button { background: var(--paper); color: var(--ink); border: 0; padding: 6px 12px; font-size: 13px; flex: none; }

/* Embedded inside the studio phone preview */
.is-embed .top { position: sticky; }

/* =====================================================================
   v2 — craft & motion layer
   ===================================================================== */

/* Hero: one quiet intro (CSS only, so it never waits for a CDN) */
.hero__name .mask { display: block; overflow: hidden; padding: .06em .1em .3em; margin: -.06em -.1em 0; }
.hero__name .mask__in { display: block; }
@keyframes sdArch { from { clip-path: ellipse(28% 0% at 50% 100%); } to { clip-path: ellipse(120% 140% at 50% 100%); } }
@keyframes sdSettle { from { transform: scale(1.14); } to { transform: none; } }
@keyframes sdMask { from { transform: translateY(110%); } to { transform: none; } }
@keyframes sdRise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.mo .hero__arch { animation: sdArch 1.4s var(--ease-lux) .1s both; }
.mo .hero__arch img { animation: sdSettle 2s var(--ease-lux) .1s both; }
.mo .hero__name .mask__in { animation: sdMask 1.1s var(--ease-out) .3s both; }
.mo .hi { animation: sdRise .9s var(--ease-out) both; }
.mo .hi--1 { animation-delay: .2s; }
.mo .hi--2 { animation-delay: .6s; }
.mo .hi--3 { animation-delay: .75s; }
.mo .hero__detail { animation: sdRise 1.2s var(--ease-lux) .95s both; }
.hero__arch img { object-position: 50% 40%; }

/* Magnetic CTA: a 20px halo around the button is part of its pull zone */
[data-magnetic]::before { content: ''; position: absolute; inset: -20px; }
.btn__in { display: inline-flex; align-items: center; gap: 8px; pointer-events: none; }

/* Word masks for headings (words, never letters: Arabic stays joined) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .1em .04em .26em; margin: -.1em -.04em -.26em; }
.w__in { display: inline-block; }

/* Rendered cards: fade-rise / arch reveal, once, staggered by column */
.mo .rv { transition: opacity .72s var(--ease-out) calc(var(--i, 0) * 90ms), transform .84s var(--ease-lux) calc(var(--i, 0) * 90ms); }
.mo .rv:not(.is-in) { opacity: 0; transform: translateY(28px); }
.mo .rv--arch:not(.is-in) { opacity: 1; transform: none; }
.mo .rv--arch .reel__arch, .mo .rv--arch .lim__img { clip-path: ellipse(120% 140% at 50% 100%); transition: clip-path 1.32s var(--ease-lux) calc(var(--i, 0) * 90ms); }
.mo .rv--arch:not(.is-in) .reel__arch, .mo .rv--arch:not(.is-in) .lim__img { clip-path: ellipse(30% 0% at 50% 100%); }
.mo .rv--arch:not(.is-in) .reel__arch img, .mo .rv--arch:not(.is-in) .lim__img img { scale: 1.12; }
.lim__img img { transition: scale 1.6s var(--ease-lux); }
.mo .rv--arch .reel__name, .mo .rv--arch .reel__price, .mo .rv--arch .lim__body { transition: opacity .8s var(--ease-out) calc(var(--i, 0) * 90ms + .35s); }
.mo .rv--arch:not(.is-in) .reel__name, .mo .rv--arch:not(.is-in) .reel__price, .mo .rv--arch:not(.is-in) .lim__body { opacity: 0; }

/* Card: second image (fabric / detail) on hover, desktop only, loaded on first hover */
.card__img .img2 { position: absolute; inset: 0; opacity: 0; }
@media (hover: hover) and (pointer: fine) {
  .card__open:hover .img2[src], .card__open:focus-visible .img2[src] { opacity: 1; }
}
/* touch: press and hold a card to peek at the second image (set by app.js), let go to return */
.card__img .img2 { transition: opacity .35s cubic-bezier(.22,1,.36,1); }
.card__open.is-peek .img2[src] { opacity: 1; }
.card__open.is-peek .card__img img { transform: scale(1.03); }
@media (hover: none), (pointer: coarse) {
  .card__img img { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
}
/* phones: the lookbook pins and slides sideways with the scroll (motion.js adds .look--hm) */
@media (max-width: 899px) {
  .look--hm .look__pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; }
  .look--hm .look__track { overflow: visible; scroll-snap-type: none; will-change: transform; }
  .look--hm .look__img img { scale: 1.08; }
  .look--hm .look__hint { visibility: hidden; }
}

/* Lookbook */
.look { padding: 72px 0 8px; overflow: hidden; }
.look__head { width: 100%; max-width: var(--max); margin: 0 auto 26px; padding: 0 var(--gut); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; }
.look__head .block__note { flex: 1 1 16em; }
.look__hint { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.look__hint::after { content: ''; width: 34px; height: 1px; background: var(--brass); }
.look__track { display: flex; align-items: flex-end; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gut) 12px; scroll-padding-inline: var(--gut); scrollbar-width: none; overscroll-behavior-x: contain; }
.look__track::-webkit-scrollbar { display: none; }
.look__panel { flex: 0 0 72vw; margin: 0; scroll-snap-align: start; }
.look__panel--wide { flex-basis: 86vw; }
.look__img { display: block; overflow: hidden; aspect-ratio: 4 / 5; }
.look__panel--wide .look__img { aspect-ratio: 4 / 3; }
.look__panel--wide .look__img img { object-position: 50% 60%; }
.look__panel--arch .look__img { border-radius: 1000px 1000px 0 0; }
.look__panel figcaption { font-family: var(--serif); font-size: 18px; margin-top: 10px; color: var(--ink-2); }
html[lang="en"] .look__panel figcaption { font-style: italic; }
@media (min-width: 900px) {
  .look { padding-top: 110px; }
  .look__hint { display: none; }
  .look__track { gap: 32px; padding-inline: max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))); }
  .look__panel, .look__panel--wide { flex: 0 0 auto; }
  .look__img { height: min(62vh, 600px); width: auto; aspect-ratio: 4 / 5; }
  .look__panel--wide .look__img { aspect-ratio: 16 / 10; }
  .look--h .look__pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; }
  .look--h .look__track { overflow: visible; scroll-snap-type: none; will-change: transform; }
  .look--h .look__img img { scale: 1.12; }
}

/* Limited: the dark editorial frame */
.limited__img { margin: 28px 0 0; aspect-ratio: 4 / 5; max-width: 340px; border-radius: 1000px 1000px 0 0; overflow: hidden; background: #3A2232; }
.limited__img img { object-position: 50% 35%; }
@media (max-width: 899px) { .limited__img { width: 78%; } }

/* Fabric photo leaves room for parallax */
.js-motion .fabric__img img { scale: 1.1; }

/* Product gallery: swipe, drag, pinch, double-tap */
.pd__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; touch-action: pan-x pan-y; }
.pd__track::-webkit-scrollbar { display: none; }
@media (pointer: fine) { .pd__track { cursor: grab; } }
.pd__track.is-dragging { scroll-snap-type: none; cursor: grabbing; }
.pd__frame { flex: 0 0 100%; height: 100%; margin: 0; overflow: hidden; scroll-snap-align: start; }
.pd__frame img { user-select: none; -webkit-user-select: none; -webkit-user-drag: none; transform-origin: 50% 50%; transition: transform var(--d-2) var(--ease-out); }
.is-zoomed .pd__track { overflow: hidden; touch-action: none; cursor: move; }
.is-zoomed .pd__frame img { transition: none; }
.pd__count { position: absolute; bottom: 12px; inset-inline-end: 12px; background: rgba(242, 241, 239, .9); color: var(--ink); font-size: 12px; padding: 3px 11px; border-radius: 999px; pointer-events: none; }
.pd__hint { position: absolute; bottom: 12px; inset-inline-start: 12px; background: rgba(24, 21, 26, .62); color: #fff; font-size: 11px; padding: 4px 11px; border-radius: 999px; pointer-events: none; transition: opacity var(--d-3); }
.is-zoomed .pd__hint, .pd__tint.is-on ~ .pd__hint { opacity: 0; }
/* Colour configurator: the fabric in the picked colour replaces the photo at once */
.pd__tint { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .36s var(--ease-out), visibility 0s .36s; cursor: pointer; }
.pd__tint.is-on { opacity: 1; visibility: visible; transition: opacity .36s var(--ease-out); }
.pd__tint { isolation: isolate; }
.pd__tint img { mix-blend-mode: overlay; filter: grayscale(1) contrast(1.7) brightness(.72); }
.pd__tint i { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(0,0,0,.12)); pointer-events: none; }
.pd__tint-cap { position: absolute; top: 14px; inset-inline-start: 14px; background: var(--paper); color: var(--ink); font-size: 12px; padding: 5px 12px; }
.sw i { transition: transform var(--d-2) var(--ease-snap); }
.sw.is-on i { transform: scale(.82); }

/* Size: the chosen size explains itself */
.size-fit { margin-top: 10px; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.size-fit.is-set { color: var(--ink); background: var(--paper-2); padding: 10px 12px; border-inline-start: 2px solid var(--brass); }
.size-fit b { font-weight: 600; color: var(--plum); font-size: 15px; }
.guide summary { display: flex; align-items: baseline; gap: 10px; width: auto; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line); list-style: none; }
.guide summary::-webkit-details-marker { display: none; }
.guide summary > span { text-decoration: underline; text-underline-offset: 4px; }
.guide summary small { color: var(--muted); font-size: 12px; }
.guide summary::after { content: '+'; margin-inline-start: auto; font-size: 18px; line-height: 1; color: var(--ink-2); }
.guide[open] summary::after { content: '−'; }
.guide tr.is-on th, .guide tr.is-on td { background: var(--plum); color: #fff; }
.pd__actions .btn { min-height: 52px; }

/* Footer motion switch */
.motion-toggle { background: none; border: 0; padding: 4px 0; font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; text-align: start; width: max-content; }
.motion-toggle:hover { color: var(--ink); }
@media (min-width: 900px) { .foot__in { grid-template-columns: 1fr auto auto auto; } }

/* "View" cursor over product photos (desktop, fine pointer, after JS) */
.cursor { position: fixed; left: 0; top: 0; z-index: 45; pointer-events: none; }
.cursor__c { position: absolute; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--plum); color: #F6EEF2; display: grid; place-items: center; font-family: var(--serif); font-size: 17px; transform: scale(0); transition: transform var(--d-3) var(--ease-lux); }
html[lang="en"] .cursor__c { font-style: italic; }
.cursor.is-on .cursor__c { transform: scale(1); }
body.locked .cursor { display: none; }

/* Reduced motion: everything visible, nothing moves */
.no-motion .rv, .no-motion .hero__arch, .no-motion .hero__arch img { animation: none !important; transition: none !important; clip-path: none !important; }
@media (prefers-reduced-motion: reduce) {
  .mo .rv, .mo .hero__arch, .mo .hero__arch img, .mo .hi, .mo .hero__name .mask__in, .mo .hero__detail { animation-duration: .2s !important; }
}
