/* =========================================================================
   QUTNA — Design system & layout
   -------------------------------------------------------------------------
   1. Tokens          6. Product card        11. Cart
   2. Base            7. Homepage            12. Checkout
   3. Typography      8. Shop                13. Content pages
   4. Buttons/forms   9. Product details     14. Overlays (drawer/modal/toast)
   5. Header/footer  10. Swatches & sizes    15. Utilities & motion
   ========================================================================= */

/* 1. Tokens --------------------------------------------------------------- */
:root {
  /* QUTNA palette: cotton ivory neutrals + the brand's royal cotton blue */
  --ivory: #F8F6F1;
  --paper: #FCFBF8;
  --bone: #EFECE6;
  --sand: #E6E1D7;
  --taupe: #CBC6BC;
  --line: rgba(17, 26, 58, 0.12);
  --line-strong: rgba(17, 26, 58, 0.24);
  --ink: #111A3A;
  --ink-2: #3A4160;
  --muted: #767B8E;
  --brand: #1E3A9C;
  --brand-deep: #142A73;
  --brand-tint: #E4E9F6;
  --bronze: var(--brand);
  --bronze-soft: #8FA2D8;
  --success: #46654B;
  --danger: #9A3A2E;
  --knet: #0B4EA2;

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --radius: 2px;
  --header-h: 72px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow-lg: 0 30px 80px -30px rgba(30, 22, 12, .35);
}

/* 2. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--ivory); }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 920px; }
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--bone { background: var(--bone); }
.section--ink { background: var(--ink); color: var(--ivory); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--ivory); padding: 10px 16px; z-index: 300; }
.skip-link:focus { top: 12px; }

/* 3. Typography ----------------------------------------------------------- */
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow--line { display: inline-flex; align-items: center; gap: 14px; }
.eyebrow--line::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 7.2vw, 108px);
  line-height: .95;
  letter-spacing: -.015em;
  margin: 0;
}
.display em, .h1 em, .h2 em, .h3 em { font-style: italic; font-weight: 400; }
.h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5vw, 72px); line-height: 1; letter-spacing: -.01em; margin: 0; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.8vw, 54px); line-height: 1.05; letter-spacing: -.01em; margin: 0; }
.h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; margin: 0; }
.lead { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.7; color: var(--ink-2); font-weight: 300; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.caps { text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 500; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head__title { display: grid; gap: 14px; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }

.price { font-variant-numeric: tabular-nums; letter-spacing: .02em; white-space: nowrap; }
.price .cur { font-size: .78em; letter-spacing: .12em; color: var(--muted); font-weight: 500; }

/* 4. Buttons & forms ------------------------------------------------------ */
.btn {
  --bg: var(--ink); --fg: var(--ivory); --bd: var(--ink);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 30px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  border-radius: var(--radius);
  overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease), background .45s var(--ease);
  white-space: nowrap;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--bronze);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .5s var(--ease-out);
}
.btn:hover::after { transform: scaleY(1); }
.btn:hover { border-color: var(--bronze); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line-strong); }
.btn--ghost:hover { color: var(--ivory); }
.btn--light { --bg: var(--ivory); --fg: var(--ink); --bd: var(--ivory); }
.btn--light:hover { color: var(--ivory); }
.btn--outline-light { --bg: transparent; --fg: var(--ivory); --bd: rgba(247, 244, 239, .5); }
.btn--block { width: 100%; }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 11px; }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.btn .arrow { transition: transform .4s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  padding-bottom: 6px; position: relative; width: fit-content;
}
.link-arrow::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform .5s var(--ease-out); }
.link-arrow:hover::after { transform: scaleX(.3); }
.link-u { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .4s var(--ease-out); }
.link-u:hover { background-size: 0 1px; background-position: 100% 100%; }

.field { display: grid; gap: 8px; }
.field label, .field .label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--ink-2); }
.field .opt { color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 400; }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 14px 16px;
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--radius);
  font-size: 15px; transition: border-color .25s, box-shadow .25s;
  -webkit-appearance: none; appearance: none;
}
.textarea { min-height: 140px; resize: vertical; }
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23161513' stroke-width='1.2'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(22, 21, 19, .06); }
.field.has-error .input, .field.has-error .select { border-color: var(--danger); }
.field .error { color: var(--danger); font-size: 12px; display: none; }
.field.has-error .error { display: block; }
.input-group { display: flex; }
.input-group .prefix { display: flex; align-items: center; padding: 0 14px; border: 1px solid var(--line-strong); border-right: 0; background: var(--bone); font-size: 14px; color: var(--ink-2); border-radius: var(--radius) 0 0 var(--radius); }
.input-group .input { border-radius: 0 var(--radius) var(--radius) 0; }
.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 14px; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }

/* 5. Header & footer ------------------------------------------------------ */
.announce {
  background: var(--ink); color: var(--ivory);
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  height: 38px; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative;
}
.announce__track { position: relative; height: 38px; width: 100%; }
.announce__item { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 0 16px; text-align: center; white-space: nowrap; overflow: hidden; opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.announce__item.is-active { opacity: 1; transform: none; }

.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(247, 244, 239, .86);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(247, 244, 239, .94); }
.header__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header-h); }
.nav { display: flex; gap: clamp(18px, 2.2vw, 34px); align-items: center; height: 100%; }
.nav__link { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; position: relative; padding: 8px 0; height: 100%; display: flex; align-items: center; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 22px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.logo { font-family: var(--serif); font-size: 30px; font-weight: 500; letter-spacing: .42em; padding-left: .42em; line-height: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.logo small { font-family: var(--sans); font-size: 8.5px; letter-spacing: .5em; font-weight: 500; color: var(--muted); padding-left: .5em; }
.header__actions { display: flex; justify-content: flex-end; align-items: center; gap: 4px; }
.icon-btn { position: relative; width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; transition: background .25s; }
.icon-btn:hover { background: rgba(22, 21, 19, .05); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn .count {
  position: absolute; top: 6px; right: 4px; min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--ink); color: var(--ivory); border-radius: 9px;
  font-size: 10px; font-weight: 500; display: grid; place-items: center; line-height: 1;
  transform: scale(0); transition: transform .35s var(--ease-out);
}
.icon-btn .count.is-visible { transform: scale(1); }
.icon-btn .count.bump { animation: bump .5s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.35); } }
.menu-toggle { display: none; }
.header__left { display: flex; align-items: center; height: 100%; }
.header__currency { font-size: 11px; letter-spacing: .16em; font-weight: 500; color: var(--ink-2); margin-right: 8px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 20px; display: inline-flex; align-items: center; gap: 6px; }
.header__currency select { background: transparent; border: 0; font-size: 11px; letter-spacing: .12em; font-weight: 500; padding: 0; cursor: pointer; }

/* Mega menu */
.has-mega { position: static; height: 100%; display: flex; align-items: center; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--ivory); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega__inner { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 48px; padding: 40px var(--gutter) 48px; max-width: var(--max); margin: 0 auto; }
.mega h4 { margin: 0 0 18px; }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mega li a { font-family: var(--serif); font-size: 22px; transition: color .25s, padding .35s var(--ease-out); display: inline-block; }
.mega li a:hover { color: var(--bronze); padding-left: 6px; }
.mega__feature { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mega__tile { background: var(--bone); position: relative; aspect-ratio: 4/5; overflow: hidden; display: block; }
.mega__tile .media { position: absolute; inset: 0; transition: transform .8s var(--ease-out); }
.mega__tile:hover .media { transform: scale(1.04); }
.mega__tile span { position: absolute; left: 14px; bottom: 12px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(247, 244, 239, .78); padding: clamp(64px, 8vw, 104px) 0 28px; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(247, 244, 239, .12); }
.footer__brand .logo { align-items: flex-start; color: var(--ivory); padding-left: 0; }
.footer__brand p { max-width: 340px; margin: 22px 0 0; font-weight: 300; line-height: 1.7; }
.footer h4 { color: var(--ivory); margin: 0 0 20px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: 14px; font-weight: 300; }
.footer ul a:hover { color: var(--ivory); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: center; padding-top: 28px; font-size: 12px; }
.pay-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-badge { height: 28px; padding: 0 10px; border: 1px solid rgba(247, 244, 239, .22); border-radius: 4px; display: inline-flex; align-items: center; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; color: var(--ivory); }
.pay-badge--knet { background: var(--ivory); color: var(--knet); border-color: var(--ivory); letter-spacing: .06em; }
.footer__social { display: flex; gap: 6px; margin-top: 26px; }
.footer__social a { width: 38px; height: 38px; border: 1px solid rgba(247, 244, 239, .22); border-radius: 50%; display: grid; place-items: center; transition: background .3s, color .3s; }
.footer__social a:hover { background: var(--ivory); color: var(--ink); }
.footer__social svg { width: 16px; height: 16px; }
.demo-note { opacity: .55; }

/* 6. Product card --------------------------------------------------------- */
.p-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(12px, 1.6vw, 24px); }
.p-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.p-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.p-card__frame { position: relative; overflow: hidden; }
.p-card__media {
  position: relative; display: block; aspect-ratio: 4 / 5; background: var(--bone); overflow: hidden;
}
.p-card__img { position: absolute; inset: 0; transition: opacity .6s var(--ease), transform 1.2s var(--ease-out); }
.p-card__img svg, .p-card__img img { width: 100%; height: 100%; object-fit: cover; }
.p-card__img--alt { opacity: 0; }
.p-card:hover .p-card__img--main { transform: scale(1.03); }
.p-card.has-alt:hover .p-card__img--main { opacity: 0; }
.p-card.has-alt:hover .p-card__img--alt { opacity: 1; transform: scale(1.03); }
.p-card__badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; z-index: 2; pointer-events: none; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; background: var(--ivory); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; border-radius: 1px; }
.tag--ink { background: var(--ink); color: var(--ivory); }
.tag--bronze { background: var(--bronze); color: var(--ivory); }
.tag--muted { background: rgba(247, 244, 239, .8); color: var(--muted); }
.wish-btn {
  position: absolute; top: 8px; right: 8px; z-index: 3; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(247, 244, 239, 0); transition: background .3s, transform .3s var(--ease-out);
}
.wish-btn:hover { background: rgba(247, 244, 239, .85); }
.wish-btn svg { width: 19px; height: 19px; transition: fill .3s, transform .4s var(--ease-out); fill: transparent; }
.wish-btn.is-active svg { fill: var(--ink); animation: heart .5s var(--ease-out); }
@keyframes heart { 40% { transform: scale(1.3); } }
.quick-add {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2;
  background: rgba(247, 244, 239, .94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding: 12px 12px 10px; transform: translateY(calc(100% + 12px)); transition: transform .5s var(--ease-out);
}
.p-card:hover .quick-add, .quick-add:focus-within { transform: none; }
.quick-add__label { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--muted); margin-bottom: 8px; display: flex; justify-content: space-between; }
.quick-add__sizes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.quick-add__sizes button { height: 32px; font-size: 11px; font-weight: 500; border: 1px solid var(--line); transition: background .2s, color .2s, border-color .2s; }
.quick-add__sizes button:hover:not(:disabled) { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.quick-add__sizes button:disabled { color: rgba(22, 21, 19, .3); text-decoration: line-through; cursor: not-allowed; }
.p-card__body { padding-top: 16px; display: grid; gap: 6px; }
.p-card__swatches { display: flex; align-items: center; gap: 6px; min-height: 18px; }
.p-card__swatches .more { font-size: 11px; color: var(--muted); margin-left: 2px; }
.p-card__title { font-size: 14px; font-weight: 400; letter-spacing: .02em; margin: 2px 0 0; line-height: 1.4; }
.p-card__title a:hover { color: var(--bronze); }
.p-card__fabric { font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.p-card__price { font-size: 14px; }
.p-card.is-soldout .p-card__media { opacity: .7; }

/* Horizontal rail (new arrivals) */
.rail { position: relative; }
.rail__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 24px) / 4); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > * { scroll-snap-align: start; }
.rail__nav { display: flex; gap: 8px; }
.rail__btn { width: 48px; height: 48px; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; transition: background .3s, color .3s, opacity .3s; }
.rail__btn:hover { background: var(--ink); color: var(--ivory); }
.rail__btn:disabled { opacity: .3; pointer-events: none; }
.rail__btn svg { width: 18px; height: 18px; }
.rail__progress { height: 1px; background: var(--line); margin-top: 32px; position: relative; overflow: hidden; }
.rail__progress span { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ink); width: 20%; transition: transform .3s var(--ease); }

/* 7. Homepage ------------------------------------------------------------- */
.hero { position: relative; min-height: calc(100svh - var(--header-h) - 38px); display: grid; grid-template-columns: 1.05fr 1fr; align-items: stretch; overflow: hidden; }
.hero__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(48px, 7vw, 96px) var(--gutter); padding-right: clamp(24px, 4vw, 64px); gap: 28px; position: relative; z-index: 2; }
.hero__copy .display { max-width: 10ch; }
.hero__copy .lead { max-width: 440px; margin: 0; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.hero__meta { display: flex; gap: clamp(24px, 4vw, 56px); margin-top: clamp(16px, 4vw, 48px); padding-top: 28px; border-top: 1px solid var(--line); max-width: 520px; }
.hero__meta div { display: grid; gap: 4px; }
.hero__meta strong { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1; white-space: nowrap; }
.hero__meta span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.hero__stage { position: relative; background: var(--sand); overflow: hidden; min-height: 560px; }
.hero__stage::before { content: ""; position: absolute; inset: 7% 12% 0; background: var(--bone); border-radius: 999px 999px 0 0; }
.hero__garment { position: absolute; transition: transform 1.2s var(--ease-out); will-change: transform; }
.hero__garment svg { width: 100%; height: 100%; }
.hero__garment--back { width: 58%; aspect-ratio: 4/5; left: 4%; top: 16%; transform: rotate(-8deg); opacity: .95; }
.hero__garment--front { width: 74%; aspect-ratio: 4/5; right: 4%; top: 10%; }
.hero__card {
  position: absolute; left: 8%; bottom: 8%; z-index: 3; width: min(300px, 70%);
  background: rgba(251, 250, 247, .78); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .6); padding: 20px 22px; box-shadow: var(--shadow-lg);
  animation: floaty 7s ease-in-out infinite;
}
.hero__card .eyebrow { color: var(--bronze); }
.hero__card h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; margin: 8px 0 12px; line-height: 1.2; }
.hero__card .comp-bar { margin-bottom: 10px; }
.hero__card dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 0; font-size: 12px; }
.hero__card dt { color: var(--muted); }
.hero__card dd { margin: 0; text-align: right; }
@keyframes floaty { 50% { transform: translateY(-10px); } }
.hero__scroll { position: absolute; left: var(--gutter); bottom: 26px; display: flex; align-items: center; gap: 12px; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.hero__scroll i { width: 1px; height: 36px; background: var(--line-strong); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ink); animation: scrollcue 2.2s var(--ease) infinite; }
@keyframes scrollcue { to { top: 100%; } }

.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--ivory); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee__track span { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.4vw, 32px); padding: 0 28px; white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.marquee__track span::after { content: "✦"; font-style: normal; font-size: 12px; color: var(--bronze); }
@keyframes marquee { to { transform: translateX(-50%); } }

.cat-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.cat-tile { position: relative; display: block; overflow: hidden; background: var(--bone); aspect-ratio: 3/4.4; }
.cat-tile__media { position: absolute; inset: 0 0 18%; transition: transform 1s var(--ease-out); }
.cat-tile:hover .cat-tile__media { transform: translateY(-6px) scale(1.04); }
.cat-tile__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 16px; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.cat-tile__name { font-family: var(--serif); font-size: 22px; line-height: 1.05; }
.cat-tile__count { font-size: 11px; color: var(--muted); letter-spacing: .1em; white-space: nowrap; }
.cat-tile::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--ink); opacity: 0; transition: opacity .4s; pointer-events: none; }
.cat-tile:hover::after { opacity: .9; }

.promo-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; }
.promo { position: relative; overflow: hidden; min-height: clamp(440px, 46vw, 640px); display: flex; color: var(--ivory); isolation: isolate; }
.promo--dark { background: #2B221C; }
.promo--sage { background: #8F997F; }
.promo__media { position: absolute; inset: 0; z-index: -1; transition: transform 1.4s var(--ease-out); }
.promo:hover .promo__media { transform: scale(1.03); }
.promo__media .g { position: absolute; }
.promo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(20, 15, 10, .55) 0%, rgba(20, 15, 10, .18) 38%, transparent 60%); pointer-events: none; }
.promo__body { margin-top: auto; padding: clamp(28px, 4vw, 56px); display: grid; gap: 16px; max-width: 520px; }
.promo__body .eyebrow { color: rgba(247, 244, 239, .75); }
.promo__body p { margin: 0; color: rgba(247, 244, 239, .82); font-weight: 300; }

.fabric { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.fabric__visual { position: relative; aspect-ratio: 1; background: var(--sand); overflow: hidden; }
.fabric__knit { position: absolute; inset: 0; }
.fabric__knit svg { width: 100%; height: 100%; }
.fabric__callout { position: absolute; display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
.fabric__callout i { width: 9px; height: 9px; border-radius: 50%; background: var(--ivory); box-shadow: 0 0 0 6px rgba(247, 244, 239, .3); flex: none; animation: pulse 2.6s infinite; }
.fabric__callout span { background: var(--ivory); padding: 8px 12px; }
@keyframes pulse { 50% { box-shadow: 0 0 0 11px rgba(247, 244, 239, 0); } }
.fabric__list { list-style: none; margin: 32px 0 36px; padding: 0; border-top: 1px solid var(--line); }
.fabric__list li { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.fabric__list h4 { margin: 0; font-family: var(--serif); font-size: 24px; font-weight: 500; }
.fabric__list p { margin: 0; grid-column: 1 / -1; color: var(--muted); font-size: 14px; }
.fabric__pledge { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; background: var(--paper); border-left: 2px solid var(--bronze); font-size: 14px; color: var(--ink-2); margin-bottom: 32px; }
.fabric__pledge strong { color: var(--ink); font-weight: 500; }

.tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line); margin-bottom: 40px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { padding: 0 0 14px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--muted); position: relative; white-space: nowrap; }
.tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--ink); transform: scaleX(0); transition: transform .4s var(--ease-out); }
.tab.is-active { color: var(--ink); }
.tab.is-active::after { transform: scaleX(1); }

.brand { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: end; }
.brand__quote { font-family: var(--serif); font-size: clamp(34px, 4.4vw, 64px); line-height: 1.04; letter-spacing: -.01em; margin: 24px 0 0; font-weight: 400; }
.brand__quote em { color: var(--bronze); }
.brand__copy p { margin: 0 0 18px; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: clamp(56px, 7vw, 96px); padding-top: 40px; border-top: 1px solid var(--line); }
.value { display: grid; gap: 10px; align-content: start; }
.value svg { width: 28px; height: 28px; stroke: var(--bronze); }
.value h4 { margin: 6px 0 0; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; }
.value p { margin: 0; font-size: 14px; color: var(--muted); }

.newsletter { background: var(--sand); padding: clamp(56px, 8vw, 104px) 0; position: relative; overflow: hidden; }
.newsletter__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.newsletter__form { display: flex; gap: 0; border-bottom: 1px solid var(--ink); }
.newsletter__form input { flex: 1; min-width: 0; background: transparent; border: 0; height: 60px; font-size: 16px; padding: 0; }
.newsletter__form input:focus { outline: none; }
.newsletter__form button { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; padding: 0 0 0 20px; display: inline-flex; align-items: center; gap: 10px; }
.newsletter__note { font-size: 12px; color: var(--ink-2); margin-top: 14px; }
.newsletter__ok { font-family: var(--serif); font-size: 26px; }

/* 8. Shop ----------------------------------------------------------------- */
.page-head { padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 48px); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs span[aria-hidden] { opacity: .5; }
.page-head__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.page-head p { max-width: 460px; margin: 0; color: var(--ink-2); font-weight: 300; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 4px; margin-top: 32px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 38px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: 40px; font-size: 12px; letter-spacing: .08em; display: inline-flex; align-items: center; gap: 8px; transition: background .25s, color .25s, border-color .25s; white-space: nowrap; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.chip .n { font-size: 10px; opacity: .6; }

.shop { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); padding-bottom: clamp(64px, 8vw, 120px); }
.toolbar { position: sticky; top: var(--header-h); z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; background: var(--ivory); border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.toolbar__left, .toolbar__right { display: flex; align-items: center; gap: 16px; }
.toolbar .count { font-size: 12px; letter-spacing: .1em; color: var(--muted); }
.sort { display: flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .1em; }
.sort select { border: 0; background: transparent; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; cursor: pointer; padding: 6px 2px; }
.density { display: flex; gap: 2px; }
.density button { width: 34px; height: 34px; display: grid; place-items: center; color: var(--muted); border-radius: 2px; }
.density button.is-active, .density button:hover { color: var(--ink); background: rgba(22, 21, 19, .05); }
.density svg { width: 16px; height: 16px; }
.filter-toggle { display: none; }

.filters { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--taupe) transparent; padding-right: 10px; }
.filters__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.filters__head h3 { margin: 0; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; }
.filters__clear { font-size: 12px; color: var(--muted); margin-left: auto; }
.filters .filters__close { display: none; margin-left: 12px; }
.filters__clear:hover { color: var(--ink); }
.f-group { border-bottom: 1px solid var(--line); }
.f-group > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; cursor: pointer; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; }
.f-group > summary::-webkit-details-marker { display: none; }
.f-group > summary::after { content: ""; width: 9px; height: 9px; border-right: 1px solid; border-bottom: 1px solid; transform: rotate(45deg) translateY(-3px); transition: transform .3s; }
.f-group[open] > summary::after { transform: rotate(-135deg); }
.f-group__body { padding-bottom: 22px; }
.f-list { display: grid; gap: 10px; }
.f-opt { display: flex; align-items: center; gap: 12px; font-size: 14px; cursor: pointer; }
.f-opt input { position: absolute; opacity: 0; pointer-events: none; }
.f-opt .box { width: 16px; height: 16px; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background .2s, border-color .2s; flex: none; }
.f-opt input:checked + .box { background: var(--ink); border-color: var(--ink); }
.f-opt input:checked + .box::after { content: ""; width: 8px; height: 4px; border-left: 1.5px solid var(--ivory); border-bottom: 1.5px solid var(--ivory); transform: rotate(-45deg) translate(1px, -1px); }
.f-opt input:focus-visible + .box { outline: 1px solid var(--ink); outline-offset: 2px; }
.f-opt .n { margin-left: auto; color: var(--muted); font-size: 12px; }
.f-colors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 8px; }
.f-color { display: grid; justify-items: center; gap: 6px; font-size: 11px; color: var(--ink-2); cursor: pointer; }
.f-color input { position: absolute; opacity: 0; pointer-events: none; }
.f-color .dot { width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); position: relative; transition: transform .25s; }
.f-color .dot::after { content: ""; position: absolute; inset: -5px; border: 1px solid var(--ink); border-radius: 50%; opacity: 0; transition: opacity .2s; }
.f-color input:checked + .dot::after { opacity: 1; }
.f-color input:focus-visible + .dot::after { opacity: .5; }
.f-color:hover .dot { transform: scale(1.08); }
.f-sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.f-size input { position: absolute; opacity: 0; pointer-events: none; }
.f-size span { display: grid; place-items: center; height: 40px; border: 1px solid var(--line-strong); font-size: 12px; font-weight: 500; cursor: pointer; transition: background .2s, color .2s; }
.f-size input:checked + span { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.f-size input:focus-visible + span { outline: 1px solid var(--ink); outline-offset: 2px; }
.range { position: relative; height: 28px; margin: 6px 4px 10px; }
.range__track { position: absolute; left: 0; right: 0; top: 13px; height: 2px; background: var(--line); }
.range__fill { position: absolute; top: 13px; height: 2px; background: var(--ink); }
.range input[type=range] { position: absolute; left: -4px; right: -4px; width: calc(100% + 8px); top: 0; height: 28px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--ivory); border: 1px solid var(--ink); cursor: grab; box-shadow: 0 2px 6px rgba(0, 0, 0, .12); }
.range input[type=range]::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: var(--ivory); border: 1px solid var(--ink); cursor: grab; }
.range input[type=range]::-webkit-slider-runnable-track { background: none; }
.range input[type=range]::-moz-range-track { background: none; }
.range-values { display: flex; justify-content: space-between; font-size: 13px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 24px; }
.active-filters:empty { display: none; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 8px 0 12px; background: var(--bone); font-size: 12px; border-radius: 30px; }
.pill button { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; }
.pill button:hover { background: var(--ink); color: var(--ivory); }
.empty { text-align: center; padding: 80px 24px; display: grid; gap: 18px; justify-items: center; }
.empty .h3 { margin: 0; }
.empty p { margin: 0; color: var(--muted); max-width: 380px; }
.p-grid[data-density="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.p-grid[data-density="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.p-grid[data-density="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.drawer__foot--filters { display: none; }

/* 9. Product details ------------------------------------------------------ */
.pdp { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); padding-bottom: clamp(64px, 8vw, 112px); }
.gallery { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; align-self: start; position: sticky; top: calc(var(--header-h) + 20px); }
.gallery__thumbs { display: grid; gap: 10px; align-content: start; }
.gallery__thumb { aspect-ratio: 4/5; background: var(--bone); position: relative; overflow: hidden; opacity: .6; transition: opacity .3s; }
.gallery__thumb::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--ink); opacity: 0; transition: opacity .3s; }
.gallery__thumb.is-active, .gallery__thumb:hover { opacity: 1; }
.gallery__thumb.is-active::after { opacity: 1; }
.gallery__thumb svg, .gallery__thumb img { width: 100%; height: 100%; }
.gallery__main { position: relative; background: var(--bone); aspect-ratio: 4/5; overflow: hidden; cursor: zoom-in; }
.gallery__slides { display: flex; height: 100%; transition: transform .7s var(--ease-out); }
.gallery__slide { flex: 0 0 100%; height: 100%; position: relative; overflow: hidden; }
.gallery__slide .zoom { width: 100%; height: 100%; transition: transform .5s var(--ease-out); transform-origin: var(--zx, 50%) var(--zy, 50%); }
.gallery__main.is-zoomed .gallery__slide.is-active .zoom { transform: scale(1.9); }
.gallery__main.is-zoomed { cursor: zoom-out; }
.gallery__slide svg, .gallery__slide img { width: 100%; height: 100%; }
.gallery__caption { position: absolute; left: 18px; bottom: 16px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); pointer-events: none; }
.gallery__dots { display: none; }
.gallery__arrows { position: absolute; right: 14px; bottom: 12px; display: flex; gap: 6px; }
.gallery__arrows button { width: 40px; height: 40px; border-radius: 50%; background: rgba(247, 244, 239, .85); display: grid; place-items: center; transition: background .2s; }
.gallery__arrows button:hover { background: var(--ivory); }
.gallery__arrows svg { width: 16px; height: 16px; }

.pdp-info { display: grid; gap: 26px; align-content: start; padding-top: 4px; }
.pdp-info__head { display: grid; gap: 14px; }
.pdp-info__title { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.4vw, 48px); line-height: 1.02; margin: 0; letter-spacing: -.01em; }
.pdp-info__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.pdp-info__price { font-size: 22px; }
.rating { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.stars { display: inline-flex; gap: 2px; color: var(--ink); }
.stars svg { width: 12px; height: 12px; }
.pdp-info__short { margin: 0; color: var(--ink-2); font-weight: 300; line-height: 1.75; }
.opt-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.opt-head .label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; }
.opt-head .val { color: var(--ink-2); font-size: 14px; margin-left: 10px; }
.opt-head .link-u { font-size: 12px; }

/* Fabric composition panel (key selling point) */
.fabric-panel { border: 1px solid var(--line-strong); background: var(--paper); padding: 20px 22px; display: grid; gap: 16px; }
.fabric-panel__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.fabric-panel__label { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--bronze); }
.fabric-panel__comp { font-family: var(--serif); font-size: 28px; line-height: 1.1; margin: 6px 0 0; font-weight: 500; }
.fabric-panel__comp .sep { color: var(--taupe); margin: 0 6px; font-weight: 300; }
.seal { flex: none; width: 74px; height: 74px; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; text-align: center; position: relative; }
.seal::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; border: 1px dashed var(--line-strong); }
.seal span { font-size: 8.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; line-height: 1.25; }
.seal strong { display: block; font-family: var(--serif); font-size: 20px; letter-spacing: 0; font-weight: 500; line-height: 1; }
.comp-bar { display: flex; height: 6px; border-radius: 6px; overflow: hidden; background: var(--bone); gap: 2px; }
.comp-bar i { display: block; height: 100%; }
.comp-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12px; color: var(--ink-2); }
.comp-legend span { display: inline-flex; align-items: center; gap: 8px; }
.comp-legend i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.fabric-panel__specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.fabric-panel__specs div { display: grid; gap: 2px; }
.fabric-panel__specs dt { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.fabric-panel__specs dd { margin: 0; font-size: 13px; }

.buy-row { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); height: 52px; border-radius: var(--radius); }
.qty button { width: 44px; height: 100%; display: grid; place-items: center; font-size: 18px; transition: background .2s; }
.qty button:hover:not(:disabled) { background: rgba(22, 21, 19, .05); }
.qty button:disabled { opacity: .3; cursor: not-allowed; }
.qty input { width: 40px; text-align: center; border: 0; background: transparent; font-size: 15px; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm { height: 40px; }
.qty--sm button { width: 34px; font-size: 15px; }
.qty--sm input { width: 30px; font-size: 13px; }
.wish-lg { width: 52px; height: 52px; border: 1px solid var(--line-strong); display: grid; place-items: center; border-radius: var(--radius); transition: background .2s; }
.wish-lg:hover { background: rgba(22, 21, 19, .05); }
.wish-lg svg { width: 20px; height: 20px; fill: transparent; transition: fill .3s; }
.wish-lg.is-active svg { fill: var(--ink); }
.stock-note { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); }
.stock-note i { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(70, 101, 75, .15); }
.stock-note.is-low i { background: #B7862D; box-shadow: 0 0 0 4px rgba(183, 134, 45, .18); }
.stock-note.is-out i { background: var(--danger); box-shadow: 0 0 0 4px rgba(154, 58, 46, .15); }
.perks { display: grid; gap: 12px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.perks div { display: flex; align-items: center; gap: 14px; }
.perks svg { width: 20px; height: 20px; flex: none; stroke: var(--ink); }

.accordion { border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; cursor: pointer; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; }
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary .pm { width: 12px; height: 12px; position: relative; }
.acc > summary .pm::before, .acc > summary .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .35s var(--ease-out); }
.acc > summary .pm::after { transform: rotate(90deg); }
.acc[open] > summary .pm::after { transform: rotate(0); }
.acc__body { padding: 0 0 24px; color: var(--ink-2); font-size: 14px; line-height: 1.75; }
.acc__body ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.acc__body p { margin: 0 0 12px; }

.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: rgba(247, 244, 239, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); display: none; align-items: center; gap: 14px; transform: translateY(100%); transition: transform .45s var(--ease-out); }
.sticky-buy.is-visible { transform: none; }
.sticky-buy__info { flex: 1; min-width: 0; }
.sticky-buy__info strong { display: block; font-weight: 400; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy__info span { font-size: 12px; color: var(--muted); }

/* 10. Swatches & sizes ---------------------------------------------------- */
.swatch { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); position: relative; flex: none; transition: transform .25s var(--ease-out); }
.swatch::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--ink); opacity: 0; transition: opacity .2s; }
button.swatch:hover { transform: scale(1.15); }
.swatch.is-active::after { opacity: 1; }
.swatches-lg { display: flex; flex-wrap: wrap; gap: 14px; }
.swatch-lg { width: 40px; height: 40px; border-radius: 50%; position: relative; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); transition: transform .3s var(--ease-out); }
.swatch-lg::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--ink); opacity: 0; transform: scale(.85); transition: opacity .25s, transform .35s var(--ease-out); }
.swatch-lg:hover { transform: scale(1.06); }
.swatch-lg.is-active::after { opacity: 1; transform: none; }
.swatch-lg.is-out::before { content: ""; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 1px; background: var(--danger); transform: rotate(45deg); }
.sizes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.size-btn {
  position: relative; height: 50px; border: 1px solid var(--line-strong); font-size: 13px; font-weight: 500; letter-spacing: .06em;
  transition: background .25s, color .25s, border-color .25s; border-radius: var(--radius); display: grid; place-items: center;
}
.size-btn:hover:not(.is-out) { border-color: var(--ink); }
.size-btn.is-active { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.size-btn.is-out { color: rgba(22, 21, 19, .32); background: linear-gradient(to top right, transparent calc(50% - .5px), var(--line-strong) 50%, transparent calc(50% + .5px)); cursor: not-allowed; }
.size-btn .low { position: absolute; top: -7px; right: -5px; background: #B7862D; color: #fff; font-size: 8.5px; letter-spacing: .06em; padding: 2px 5px; border-radius: 8px; line-height: 1.2; }
.size-hint { font-size: 12px; color: var(--muted); margin-top: 10px; min-height: 18px; }
.size-hint.is-error { color: var(--danger); }
.shake { animation: shake .45s var(--ease); }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

/* 11. Cart ---------------------------------------------------------------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(32px, 5vw, 72px); align-items: start; padding-bottom: clamp(64px, 8vw, 120px); }
.free-ship { padding: 16px 20px; background: var(--paper); border: 1px solid var(--line); margin-bottom: 8px; font-size: 13px; }
.free-ship__bar { height: 3px; background: var(--bone); margin-top: 12px; border-radius: 3px; overflow: hidden; }
.free-ship__bar span { display: block; height: 100%; background: var(--bronze); transition: width .6s var(--ease-out); }
.lines { list-style: none; margin: 0; padding: 0; }
.line { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line__media { background: var(--bone); aspect-ratio: 4/5; display: block; }
.line__media svg, .line__media img { width: 100%; height: 100%; }
.line__info { display: grid; gap: 6px; }
.line__name { font-size: 15px; margin: 0; font-weight: 400; }
.line__name a:hover { color: var(--bronze); }
.line__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; color: var(--muted); }
.line__meta .swatch { width: 11px; height: 11px; display: inline-block; vertical-align: -1px; margin-right: 6px; }
.line__fabric { font-size: 12px; color: var(--ink-2); }
.line__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 10px; }
.line__remove { white-space: nowrap; font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.line__remove:hover { color: var(--ink); }
.line__total { text-align: right; font-size: 15px; }
.line__unit { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.summary { background: var(--paper); border: 1px solid var(--line); padding: clamp(24px, 3vw, 36px); position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.summary h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: 0; }
.summary dl { margin: 0; display: grid; gap: 12px; }
.summary .row { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
.summary .row dt { color: var(--ink-2); }
.summary .row dd { margin: 0; }
.summary .row--total { padding-top: 16px; border-top: 1px solid var(--line); font-size: 16px; font-weight: 500; }
.summary .row--total dd { font-size: 20px; }
.summary__note { font-size: 12px; color: var(--muted); display: flex; gap: 10px; align-items: center; }
.summary__note svg { width: 16px; height: 16px; flex: none; }

/* 12. Checkout ------------------------------------------------------------ */
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: clamp(32px, 5vw, 80px); padding-bottom: clamp(64px, 8vw, 120px); align-items: start; }
.steps { display: flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--muted); margin-bottom: 36px; flex-wrap: wrap; }
.steps .is-done { color: var(--ink); }
.steps i { width: 24px; height: 1px; background: var(--line-strong); }
.co-section { padding: 32px 0; border-top: 1px solid var(--line); }
.co-section:first-of-type { border-top: 0; padding-top: 0; }
.co-section__head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 24px; }
.co-section__head .num { font-family: var(--serif); font-size: 18px; color: var(--bronze); }
.co-section__head h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.span-2 { grid-column: span 2; }
.span-all { grid-column: 1 / -1; }
.radio-cards { display: grid; gap: 10px; }
.radio-card { position: relative; display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line-strong); cursor: pointer; transition: border-color .25s, background .25s; border-radius: var(--radius); }
.radio-card input { position: absolute; opacity: 0; }
.radio-card .dot { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; flex: none; transition: border-color .2s; }
.radio-card .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform .25s var(--ease-out); }
.radio-card:has(input:checked), .radio-card.is-checked { border-color: var(--ink); background: var(--paper); }
.radio-card input:checked + .dot { border-color: var(--ink); }
.radio-card input:checked + .dot::after { transform: scale(1); }
.radio-card input:focus-visible + .dot { outline: 1px solid var(--ink); outline-offset: 3px; }
.radio-card__body { flex: 1; display: grid; gap: 2px; }
.radio-card__body strong { font-weight: 500; font-size: 14px; }
.radio-card__body span { font-size: 13px; color: var(--muted); }
.radio-card__aside { font-size: 14px; text-align: right; }
.knet-logo { display: inline-flex; align-items: center; height: 30px; padding: 0 10px; background: var(--knet); color: #fff; font-weight: 700; letter-spacing: .08em; font-size: 13px; border-radius: 4px; font-family: var(--sans); }
.card-logos { display: flex; gap: 6px; }
.card-logos span { height: 26px; padding: 0 8px; border: 1px solid var(--line-strong); border-radius: 4px; display: inline-flex; align-items: center; font-size: 10px; font-weight: 600; letter-spacing: .06em; }
.pay-note { margin-top: 14px; padding: 16px 18px; background: var(--bone); font-size: 13px; color: var(--ink-2); display: flex; gap: 12px; }
.pay-note svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.co-summary { background: var(--paper); border: 1px solid var(--line); padding: clamp(24px, 3vw, 36px); position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.co-summary h2 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 0; display: flex; justify-content: space-between; align-items: baseline; }
.co-summary h2 small { font-family: var(--sans); font-size: 12px; color: var(--muted); }
.co-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; max-height: 360px; overflow-y: auto; }
.co-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; font-size: 13px; }
.co-item__media { position: relative; background: var(--bone); aspect-ratio: 4/5; }
.co-item__media svg { width: 100%; height: 100%; }
.co-item__media b { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--ink); color: var(--ivory); font-size: 10px; display: grid; place-items: center; font-weight: 500; padding: 0 5px; }
.co-item__name { display: block; font-size: 13px; }
.co-item__meta { color: var(--muted); font-size: 12px; }

.confirm { text-align: center; max-width: 640px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 120px); display: grid; gap: 20px; justify-items: center; }
.confirm__icon { width: 76px; height: 76px; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; }
.confirm__icon svg { width: 30px; height: 30px; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .9s .3s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.confirm__box { width: 100%; text-align: left; background: var(--paper); border: 1px solid var(--line); padding: 28px; display: grid; gap: 14px; margin-top: 12px; }
.confirm__box .row { display: flex; justify-content: space-between; font-size: 14px; gap: 12px; }

/* KNET demo gateway */
.gateway { width: min(440px, 100%); background: #fff; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-lg); }
.gateway__head { background: var(--knet); color: #fff; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; }
.gateway__head strong { font-size: 20px; letter-spacing: .1em; }
.gateway__head span { font-size: 11px; opacity: .85; letter-spacing: .08em; }
.gateway__body { padding: 24px 22px; display: grid; gap: 16px; color: #1E2430; font-size: 14px; }
.gateway__row { display: flex; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid #E6E9EF; }
.gateway__amount { font-size: 26px; font-weight: 600; letter-spacing: .02em; }
.gateway__notice { background: #F2F5FA; border: 1px solid #DCE3EE; padding: 14px; font-size: 13px; border-radius: 6px; line-height: 1.55; }
.gateway__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gateway__btn { height: 46px; border-radius: 6px; font-weight: 600; font-size: 13px; letter-spacing: .04em; }
.gateway__btn--pay { background: var(--knet); color: #fff; }
.gateway__btn--cancel { background: #EEF1F6; color: #1E2430; }
.gateway__progress { height: 3px; background: #E6E9EF; border-radius: 3px; overflow: hidden; }
.gateway__progress span { display: block; height: 100%; width: 0; background: var(--knet); transition: width 1.6s var(--ease); }
.spinner { width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 13. Content pages ------------------------------------------------------- */
.page-hero { padding: clamp(56px, 8vw, 120px) 0 clamp(40px, 5vw, 72px); text-align: center; display: grid; gap: 22px; justify-items: center; }
.page-hero p { max-width: 560px; margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split__media { background: var(--bone); aspect-ratio: 4/5; position: relative; overflow: hidden; }
.split__media svg { width: 100%; height: 100%; }
.prose { max-width: 680px; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 38px); margin: 48px 0 16px; line-height: 1.1; }
.prose h3 { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; margin: 32px 0 10px; }
.prose p, .prose li { color: var(--ink-2); line-height: 1.8; }
.prose ul { padding-left: 20px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: clamp(28px, 4vw, 48px) 24px; display: grid; gap: 6px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat strong { font-family: var(--serif); font-size: clamp(40px, 4.4vw, 64px); font-weight: 400; line-height: 1; }
.stat span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.timeline li { list-style: none; display: grid; gap: 10px; padding-top: 22px; border-top: 1px solid var(--ink); counter-increment: step; }
.timeline li::before { content: "0" counter(step); font-family: var(--serif); font-size: 18px; color: var(--bronze); }
.timeline h4 { margin: 0; font-family: var(--serif); font-size: 24px; font-weight: 500; }
.timeline p { margin: 0; font-size: 14px; color: var(--muted); }
.timeline { padding: 0; margin: 0; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 96px); padding-bottom: clamp(64px, 8vw, 120px); }
.contact-cards { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact-card { background: var(--ivory); padding: 26px 28px; display: grid; gap: 6px; }
.contact-card h3 { margin: 0 0 4px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--muted); }
.contact-card p { margin: 0; font-size: 15px; }
.form-ok { padding: 40px; background: var(--paper); border: 1px solid var(--line); text-align: center; display: grid; gap: 12px; }

.size-table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--paper); }
.size-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.size-table th, .size-table td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--line); white-space: nowrap; }
.size-table th:first-child, .size-table td:first-child { text-align: left; position: sticky; left: 0; background: var(--paper); }
.size-table thead th { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; background: var(--bone); }
.size-table thead th:first-child { background: var(--bone); }
.size-table tbody tr:last-child td { border-bottom: 0; }
.size-table tbody tr:hover td { background: var(--bone); }
.size-table .is-hl { background: rgba(138, 106, 69, .08); }
.unit-toggle { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 30px; padding: 3px; }
.unit-toggle button { height: 30px; padding: 0 16px; border-radius: 30px; font-size: 11px; letter-spacing: .14em; font-weight: 500; text-transform: uppercase; transition: background .25s, color .25s; }
.unit-toggle button.is-active { background: var(--ink); color: var(--ivory); }
.measure { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.measure ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 18px; counter-reset: m; }
.measure li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; counter-increment: m; }
.measure li::before { content: counter(m); width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; font-size: 12px; }
.measure li strong { display: block; font-weight: 500; margin-bottom: 2px; }
.measure li span { color: var(--muted); font-size: 14px; }
.measure__fig { background: var(--bone); aspect-ratio: 1; position: relative; }
.measure__fig svg { width: 100%; height: 100%; }

.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.info-card { background: var(--paper); border: 1px solid var(--line); padding: 30px 28px; display: grid; gap: 10px; align-content: start; }
.info-card svg { width: 28px; height: 28px; stroke: var(--bronze); }
.info-card h3 { margin: 8px 0 0; font-family: var(--serif); font-size: 24px; font-weight: 500; }
.info-card p { margin: 0; color: var(--ink-2); font-size: 14px; }
.info-card strong { font-weight: 500; }

/* 14. Overlays ------------------------------------------------------------ */
.overlay { position: fixed; inset: 0; background: rgba(22, 21, 19, .38); z-index: 150; opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s; }
.overlay.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; bottom: 0; right: 0; z-index: 160; width: min(460px, 100%);
  background: var(--ivory); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .6s var(--ease-out); visibility: hidden;
}
.drawer--left { right: auto; left: 0; transform: translateX(-100%); }
.drawer.is-open { transform: none; visibility: visible; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 26px; display: flex; align-items: baseline; gap: 10px; }
.drawer__head h2 small { font-family: var(--sans); font-size: 12px; color: var(--muted); }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px 24px; overscroll-behavior: contain; }
.drawer__foot { padding: 20px 24px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 14px; background: var(--paper); }
.close-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; transition: background .25s, transform .4s var(--ease-out); }
.close-btn:hover { background: rgba(22, 21, 19, .06); transform: rotate(90deg); }
.close-btn svg { width: 18px; height: 18px; }
.mini-line { display: grid; grid-template-columns: 86px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.mini-line__media { background: var(--bone); aspect-ratio: 4/5; display: block; }
.mini-line__media svg { width: 100%; height: 100%; }
.mini-line__top { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.mini-line__meta { font-size: 12px; color: var(--muted); margin: 4px 0 12px; }
.mini-line__row { display: flex; justify-content: space-between; align-items: center; }
.drawer-empty { padding: 56px 0; text-align: center; display: grid; gap: 16px; justify-items: center; }
.drawer-empty p { margin: 0; color: var(--muted); }
.drawer .row { display: flex; justify-content: space-between; font-size: 14px; }
.drawer .row--total { font-size: 16px; font-weight: 500; }
.drawer__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Mobile menu */
.m-nav { list-style: none; margin: 0; padding: 12px 0; }
.m-nav > li { border-bottom: 1px solid var(--line); }
.m-nav > li > a, .m-nav summary { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-family: var(--serif); font-size: 26px; list-style: none; cursor: pointer; }
.m-nav summary::-webkit-details-marker { display: none; }
.m-nav summary::after { content: "+"; font-family: var(--sans); font-size: 20px; font-weight: 300; transition: transform .3s; }
.m-nav details[open] summary::after { transform: rotate(45deg); }
.m-sub { list-style: none; margin: 0; padding: 0 0 18px; display: grid; gap: 12px; }
.m-sub a { font-size: 14px; letter-spacing: .06em; color: var(--ink-2); }
.m-meta { display: grid; gap: 12px; padding: 24px 0; font-size: 13px; color: var(--ink-2); }

/* Search */
.search {
  position: fixed; left: 0; right: 0; top: 0; z-index: 170; background: var(--ivory);
  transform: translateY(-102%); transition: transform .6s var(--ease-out); visibility: hidden; max-height: 100vh; overflow-y: auto;
}
.search.is-open { transform: none; visibility: visible; }
.search__bar { display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--ink); padding: 28px 0 18px; }
.search__bar svg { width: 22px; height: 22px; flex: none; }
.search__bar input { flex: 1; min-width: 0; border: 0; background: transparent; font-family: var(--serif); font-size: clamp(26px, 3.4vw, 44px); padding: 0; }
.search__bar input:focus { outline: none; }
.search__bar input::placeholder { color: var(--taupe); }
.search__body { padding: 28px 0 44px; display: grid; grid-template-columns: 240px 1fr; gap: 48px; }
.search__terms { display: grid; gap: 10px; align-content: start; }
.search__terms h4, .search__results h4 { margin: 0 0 8px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--muted); }
.search__terms button { text-align: left; font-family: var(--serif); font-size: 20px; transition: color .2s, padding .3s var(--ease-out); }
.search__terms button:hover { color: var(--bronze); padding-left: 4px; }
.search__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.s-item { display: grid; gap: 10px; }
.s-item__media { background: var(--bone); aspect-ratio: 4/5; overflow: hidden; }
.s-item__media svg { width: 100%; height: 100%; transition: transform .8s var(--ease-out); }
.s-item:hover .s-item__media svg { transform: scale(1.04); }
.s-item__name { font-size: 13px; }
.s-item__meta { font-size: 12px; color: var(--muted); }
.search__all { margin-top: 24px; }
.search mark { background: none; color: var(--bronze); }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 180; display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(22, 21, 19, .45); }
.modal__panel { position: relative; background: var(--ivory); width: min(820px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: clamp(24px, 4vw, 44px); transform: translateY(16px) scale(.98); transition: transform .5s var(--ease-out); }
.modal.is-open .modal__panel { transform: none; }
.modal__panel--bare { background: transparent; padding: 0; width: auto; overflow: visible; }
.modal__close { position: absolute; top: 14px; right: 14px; }
.modal__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; padding-right: 40px; flex-wrap: wrap; }
.modal__head h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 32px; }

/* Toast */
.toasts { position: fixed; z-index: 200; right: 20px; bottom: 20px; display: grid; gap: 10px; width: min(380px, calc(100vw - 32px)); }
.toast { background: var(--ink); color: var(--ivory); padding: 16px 18px; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; font-size: 13px; box-shadow: var(--shadow-lg); animation: toastIn .55s var(--ease-out); }
.toast.is-leaving { animation: toastOut .4s var(--ease) forwards; }
.toast svg { width: 18px; height: 18px; }
.toast a { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; border-bottom: 1px solid currentColor; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }

/* 15. Utilities & motion -------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.stack { display: grid; gap: 16px; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ------------------------------ Responsive ------------------------------ */
@media (max-width: 1200px) {
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat-tile { aspect-ratio: 4/4.4; }
  .search__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .search__grid > :nth-child(4) { display: none; }
}

@media (max-width: 1024px) {
  :root { --header-h: 64px; }
  .nav, .header__currency, .icon-btn--search { display: none; }
  .menu-toggle { display: inline-grid; }
  .header__bar { grid-template-columns: auto 1fr auto; }
  .header__left { display: flex; align-items: center; gap: 2px; }
  .logo { font-size: 24px; }
  .logo small { display: none; }
  .p-grid, .p-grid[data-density="4"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rail__track { grid-auto-columns: calc((100% - 2 * 18px) / 3); gap: 18px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__stage { min-height: 0; aspect-ratio: 5/4; }
  .hero__copy { padding-top: 40px; padding-bottom: 48px; }
  .hero__scroll { display: none; }
  .promo-grid, .fabric, .brand, .newsletter__inner, .split { grid-template-columns: 1fr; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .shop { grid-template-columns: minmax(0, 1fr); }
  .filters { position: fixed; top: 0; bottom: 0; left: 0; z-index: 160; width: min(380px, 100%); max-height: none; background: var(--ivory); padding: 0; transform: translateX(-100%); transition: transform .6s var(--ease-out); visibility: hidden; display: flex; flex-direction: column; }
  .filters.is-open { transform: none; visibility: visible; }
  .filters__inner { flex: 1; overflow-y: auto; padding: 0 24px 24px; }
  .filters__head { padding: 22px 24px; border-bottom-color: var(--line); }
  .drawer__foot--filters { display: grid; }
  .filters .filters__close { display: grid; }
  .filter-toggle { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; height: 40px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 30px; }
  .filter-toggle svg { width: 16px; height: 16px; }
  .filter-toggle .n { background: var(--ink); color: var(--ivory); border-radius: 10px; font-size: 10px; min-width: 18px; height: 18px; display: inline-grid; place-items: center; padding: 0 4px; }
  .pdp { grid-template-columns: 1fr; }
  .gallery { position: relative; top: 0; grid-template-columns: 1fr; }
  .gallery__thumbs { display: none; }
  .gallery__dots { display: flex; justify-content: center; gap: 8px; position: absolute; left: 0; right: 0; bottom: 18px; }
  .gallery__dots button { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); opacity: .2; transition: opacity .3s, width .3s; }
  .gallery__dots button.is-active { opacity: 1; width: 22px; border-radius: 4px; }
  .gallery__arrows, .gallery__caption { display: none; }
  .gallery__main { cursor: default; margin: 0 calc(var(--gutter) * -1); aspect-ratio: 1 / 1.1; }
  .gallery__slides { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; transform: none !important; }
  .gallery__slides::-webkit-scrollbar { display: none; }
  .gallery__slide { scroll-snap-align: center; }
  .sticky-buy { display: flex; }
  .cart-layout, .checkout { grid-template-columns: 1fr; }
  .summary, .co-summary { position: static; }
  .checkout .co-summary { order: -1; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .contact-grid, .measure { grid-template-columns: 1fr; }
  .info-cards { grid-template-columns: 1fr 1fr; }
  .search__body { grid-template-columns: 1fr; gap: 28px; }
  .search__terms { grid-auto-flow: column; justify-content: start; overflow-x: auto; gap: 20px; }
  .search__terms h4 { display: none; }
  .search__terms button { white-space: nowrap; font-size: 18px; }
}

@media (max-width: 768px) {
  body { font-size: 14px; }
  .p-grid, .p-grid--3, .p-grid[data-density="3"], .p-grid[data-density="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
  .p-grid[data-density="2"] { grid-template-columns: 1fr; }
  .density button[data-d="4"], .density button[data-d="3"] { display: none; }
  .density button[data-d="1"] { display: grid; }
  .rail__track { grid-auto-columns: 62%; gap: 12px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head--center { align-items: center; }
  .quick-add { display: none; }
  .wish-btn { background: rgba(247, 244, 239, .7); width: 36px; height: 36px; top: 6px; right: 6px; }
  .p-card__title { font-size: 13px; }
  .p-card__fabric { font-size: 11px; }
  .cat-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 44%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .cat-grid::-webkit-scrollbar { display: none; }
  .cat-tile { scroll-snap-align: start; aspect-ratio: 3/4.2; }
  .cat-tile__body { flex-direction: column; align-items: flex-start; }
  .cat-tile__name { font-size: 19px; }
  .hero__stage { aspect-ratio: 4 / 5; }
  .hero__garment--front { width: 84%; top: 4%; right: 0; }
  .hero__garment--back { width: 60%; top: 9%; left: -2%; }
  .hero__card { left: 16px; right: 16px; width: auto; bottom: 16px; padding: 16px 18px; animation: none; }
  .hero__card dl { display: none; }
  .hero__meta strong { font-size: 26px; }
  .hero__ctas .btn { flex: 1; padding: 0 18px; }
  .promo { min-height: 420px; }
  .values { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .page-head__row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .toolbar { top: var(--header-h); margin: 0 calc(var(--gutter) * -1) 20px; padding: 10px var(--gutter); }
  .toolbar .count, .sort .muted { display: none; }
  .toolbar__right { gap: 6px; }
  .sort select { max-width: 150px; }
  .sizes { grid-template-columns: repeat(3, 1fr); }
  .fabric-panel { padding: 18px; }
  .fabric-panel__comp { font-size: 24px; }
  .seal { width: 64px; height: 64px; }
  .line { grid-template-columns: 92px minmax(0, 1fr); gap: 16px; }
  .line__total { grid-column: 2; text-align: left; display: flex; gap: 10px; align-items: baseline; }
  .line__unit { margin: 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .info-cards { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .search__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search__grid > :nth-child(n+3) { display: none; }
  .toasts { right: 16px; left: 16px; bottom: 16px; width: auto; }
  .pdp-has-sticky .toasts { bottom: 86px; }
  .modal { padding: 0; align-items: end; }
  .modal__panel { max-height: 88vh; width: 100%; }
  .modal__panel--bare { width: 100%; padding: 16px; }
  .gateway { width: 100%; }
  .announce { font-size: 10px; letter-spacing: .14em; }
}

@media (max-width: 420px) {
  .header__actions .icon-btn--wish { display: none; }
  .hero__ctas { flex-direction: column; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 16px; }
  .buy-row { grid-template-columns: auto 1fr; }
  .buy-row .wish-lg { display: none; }
}

/* =========================================================================
   16. QUTNA components (agreement scope: hero slider, why cotton, care,
       reviews, journal, FAQ, policies, account, invoice, promo, consent)
   ========================================================================= */
/* Logo */
.logo { font-family: var(--sans); letter-spacing: 0; padding-left: 0; flex-direction: row; align-items: center; gap: 10px; color: var(--brand); font-size: inherit; }
.logo__mark { width: 36px; height: 36px; display: grid; place-items: center; border: 1.5px solid currentColor; border-radius: 50%; flex: none; }
.logo__mark svg { width: 24px; height: 24px; }
.logo__text { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.logo__en { font-family: "Jost", "Helvetica Neue", Arial, sans-serif; font-weight: 600; font-size: 21px; letter-spacing: .34em; padding-inline-start: .34em; }
.logo__ar { font-family: "Amiri", "Noto Naskh Arabic", serif; font-size: 15px; font-weight: 700; margin-top: 2px; }
.logo--sm .logo__mark { width: 30px; height: 30px; } .logo--sm .logo__mark svg { width: 20px; height: 20px; } .logo--sm .logo__en { font-size: 17px; }
.footer__brand .logo { color: var(--ivory); justify-content: flex-start; }
.site-footer .logo__mark { border-color: rgba(247, 244, 239, .6); }

/* Header extras */
.lang-btn { font-size: 13px; font-weight: 500; padding: 6px 13px; border: 1px solid var(--line-strong); border-radius: 30px; margin-inline-end: 6px; transition: background .25s, color .25s, border-color .25s; white-space: nowrap; line-height: 1.4; }
.lang-btn:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.lang-btn:lang(ar) { font-family: "IBM Plex Sans Arabic", sans-serif; }
.lang-btn:lang(en) { font-family: "Jost", sans-serif; letter-spacing: .06em; }
.lang-btn--footer { color: var(--ivory); border-color: rgba(247, 244, 239, .3); margin-top: 22px; }
.lang-btn--menu { justify-self: start; margin-top: 4px; }
.icon-btn--account.is-signed::after { content: ""; position: absolute; bottom: 9px; inset-inline-end: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 2px var(--ivory); }
.footer__top { grid-template-columns: 1.5fr repeat(4, 1fr); }
.nav { gap: clamp(14px, 1.6vw, 28px); }
.nav__link { white-space: nowrap; }
.header__bar > .logo { justify-self: center; }
.page-hero > .chips { justify-self: stretch; min-width: 0; max-width: 100%; justify-content: safe center !important; }
/* Keep the nav clear of the centred logo: drop secondary links as space shrinks. */
@media (max-width: 1480px) { .nav > .nav__link:nth-of-type(2), .nav > .nav__link:nth-of-type(3) { display: none; } }
@media (max-width: 1200px) { .nav > .nav__link:nth-of-type(4) { display: none; } }
.footer__link-btn { font-size: 14px; font-weight: 300; color: inherit; text-align: start; padding: 0; }
.footer__link-btn:hover { color: var(--ivory); }
.pay-badge--tap { border-style: dashed; font-weight: 500; letter-spacing: .04em; }
.announce, .site-footer, .sticky-buy { --x: 0; }

/* Hero slider — full-bleed editorial slides */
.hs { position: relative; display: grid; overflow: hidden; isolation: isolate; color: var(--ink); background: #EFE9DF; }
.hs-slide {
  grid-area: 1 / 1; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  height: clamp(540px, calc(100svh - var(--header-h) - 38px), 820px);
  background: var(--hs-bg); opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility .9s;
}
.hs-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hs-slide--sand { --hs-bg: #EFE9DF; --hs-arch: #F8F4EC; }
.hs-slide--blue { --hs-bg: #DCE3F2; --hs-arch: #EEF2FA; }
.hs-slide--dark { --hs-bg: #231D19; --hs-arch: #31291F; color: var(--ivory); }
.hs-copy { align-self: center; display: grid; gap: 24px; justify-items: start; padding: 48px var(--gutter) 116px; padding-inline-end: clamp(24px, 4vw, 72px); width: 100%; max-width: 700px; margin-inline-start: max(0px, calc((100vw - var(--max)) / 2)); }
.hs-copy .display { font-size: clamp(44px, 6.2vw, 96px); max-width: 11ch; }
.hs-copy .lead { margin: 0; max-width: 440px; }
.hs-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hs-slide--dark .eyebrow, .hs-slide--dark .lead { color: rgba(247, 244, 239, .78); }
.hs-slide--dark .display em { color: #C9D4F2; }
.hs-slide--dark .btn { --bg: var(--ivory); --fg: var(--ink); --bd: var(--ivory); }
.hs-slide--dark .btn:hover { color: var(--ivory); }
.hs-slide--dark .btn--ghost { --bg: transparent; --fg: var(--ivory); --bd: rgba(247, 244, 239, .45); }
.hs-anim { opacity: 0; transform: translateY(26px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.hs-slide.is-active .hs-anim { opacity: 1; transform: none; transition: opacity .9s var(--ease) calc(.35s + var(--i, 0) * .1s), transform 1.1s var(--ease-out) calc(.35s + var(--i, 0) * .1s); }

.hs-visual { position: relative; overflow: hidden; }
.hs-arch { position: absolute; inset: 7% 12% 0; background: var(--hs-arch); border-radius: 999px 999px 0 0; transform: scale(.93); transform-origin: bottom; transition: transform 1.6s var(--ease-out); }
.hs-slide.is-active .hs-arch { transform: none; }
.hs-g { position: absolute; aspect-ratio: 4 / 5; opacity: 0; transition: transform 1.5s var(--ease-out) .15s, opacity 1s var(--ease) .15s; }
.hs-g .hs-p { width: 100%; height: 100%; transition: transform 1.2s var(--ease-out); }
.hs-g svg { width: 100%; height: 100%; }
.hs-g--back { width: 50%; inset-inline-start: 7%; top: 13%; transform: translateX(-36px) rotate(-8deg); }
.hs-g--front { width: 62%; inset-inline-end: 5%; top: 5%; transform: translateX(44px) scale(.97); }
.hs-slide.is-active .hs-g { opacity: 1; }
.hs-slide.is-active .hs-g--back { transform: rotate(-8deg); }
.hs-slide.is-active .hs-g--front { transform: none; }
[dir="rtl"] .hs-g--back { transform: translateX(36px) rotate(8deg); }
[dir="rtl"] .hs-g--front { transform: translateX(-44px) scale(.97); }
[dir="rtl"] .hs-slide.is-active .hs-g--back { transform: rotate(8deg); }
[dir="rtl"] .hs-slide.is-active .hs-g--front { transform: none; }

.hs-card { position: absolute; z-index: 3; inset-inline-start: 6%; bottom: 112px; width: min(270px, 44%); background: rgba(251, 250, 247, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .7); padding: 16px 18px; box-shadow: var(--shadow-lg); color: var(--ink); display: grid; gap: 8px; opacity: 0; transform: translateY(16px); transition: opacity .3s, transform .3s; }
.hs-slide.is-active .hs-card { opacity: 1; transform: none; transition: opacity .8s var(--ease) .9s, transform 1s var(--ease-out) .9s; }
.hs-card:hover { border-color: var(--brand); }
.hs-card .eyebrow { color: var(--brand); }
.hs-card strong { font-family: var(--serif); font-size: 20px; font-weight: 500; line-height: 1.2; }
.hs-card__row { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--ink-2); }

.hs-bar { position: absolute; z-index: 6; inset-inline: 0; bottom: 0; color: var(--ink); transition: color .6s var(--ease); pointer-events: none; }
.hs.is-dark .hs-bar { color: var(--ivory); }
.hs-bar__inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) 30px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.hs-tabs, .hs-ctrl { pointer-events: auto; }
.hs-tabs { display: flex; gap: clamp(16px, 2.4vw, 36px); }
.hs-tab { display: grid; gap: 9px; min-width: clamp(110px, 11vw, 168px); text-align: start; color: inherit; opacity: .55; transition: opacity .3s; padding-top: 8px; }
.hs-tab.is-active, .hs-tab:hover { opacity: 1; }
.hs-tab__top { display: flex; gap: 10px; align-items: baseline; }
.hs-tab__num { font-size: 11px; letter-spacing: .18em; font-weight: 500; font-variant-numeric: tabular-nums; }
.hs-tab__label { font-size: 13px; white-space: nowrap; }
.hs-tab__bar { position: relative; height: 2px; }
.hs-tab__bar::before, .hs-tab__bar::after { content: ""; position: absolute; inset: 0; background: currentColor; }
.hs-tab__bar::before { opacity: .25; }
.hs-tab__bar::after { transform: scaleX(0); transform-origin: left; }
[dir="rtl"] .hs-tab__bar::after { transform-origin: right; }
.hs-tab.is-active .hs-tab__bar::after { animation: heroProgress var(--hero-ms, 7s) linear forwards; }
.hs.is-paused .hs-tab.is-active .hs-tab__bar::after { animation-play-state: paused; }
.hs.is-static .hs-tab.is-active .hs-tab__bar::after { animation: none; transform: scaleX(1); }
.hs-ctrl { display: flex; gap: 8px; }
.hs-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; color: inherit; opacity: .75; transition: background .3s, color .3s, border-color .3s, opacity .3s; }
.hs-btn:hover { opacity: 1; background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.hs.is-dark .hs-btn:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.hs-btn svg { width: 17px; height: 17px; }
[dir="rtl"] .hs-btn--arrow svg { transform: scaleX(-1); }
@keyframes heroProgress { to { transform: scaleX(1); } }
@keyframes hsDrift { from { transform: translateY(6px); } to { transform: translateY(-6px); } }
.hs-slide.is-active .hs-g--front .hs-p { animation: hsDrift 7s ease-in-out infinite alternate; }

@media (max-width: 1024px) and (min-width: 901px) {
  .hs-card { display: none; }
  .hs-tab__label { font-size: 12px; }
}
@media (max-width: 900px) {
  .hs-slide { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; height: auto; }
  .hs-visual { order: -1; aspect-ratio: 16 / 10; }
  .hs-copy { align-self: start; padding: 24px var(--gutter) 36px; margin: 0; max-width: none; gap: 16px; }
  /* Controls sit on the lower edge of the image (image width = 100vw, ratio 16:10). */
  .hs-bar { bottom: auto; top: calc(100vw * 10 / 16 - 62px); }
  .hs-copy .display { font-size: clamp(40px, 8vw, 64px); max-width: 14ch; }
  .hs-card { display: none; }
  .hs-arch { inset: 8% 18% 0; }
  .hs-g--front { width: 46%; top: 6%; inset-inline-end: 14%; }
  .hs-g--back { width: 38%; top: 14%; inset-inline-start: 14%; }
  .hs-bar__inner { padding-bottom: 0; align-items: center; }
  .hs-tabs { flex: 1; gap: 10px; }
  .hs-tab { min-width: 0; flex: 1; }
  .hs-tab__label { display: none; }
  .hs-btn { width: 42px; height: 42px; }
}
@media (max-width: 768px) {
  .hs-bar__inner { padding-bottom: 0; }
  .hs-tab { padding-top: 4px; }
  .hs-g--front { width: 60%; inset-inline-end: 6%; }
  .hs-g--back { width: 50%; inset-inline-start: 4%; }
  .hs-arch { inset: 8% 10% 0; }
  .hs-ctas { width: 100%; }
  .hs-ctas .btn { flex: 1 1 auto; padding: 0 16px; min-height: 48px; }
  .hs-copy .lead { font-size: 15px; }
  .hs-btn--pause { display: none; }
}
@media (max-width: 600px) {
  .hs-visual { aspect-ratio: 1 / .8; }
  .hs-bar { top: calc(100vw * .8 - 58px); }
}

/* Collections (3-up promo) */
.promo-grid--3 { grid-template-columns: 1.3fr 1fr 1fr; }
.promo--blue { background: var(--brand-deep); }
.promo-grid--3 .promo { min-height: clamp(440px, 40vw, 580px); }

/* Why cotton matters */
.why-points { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; margin: 34px 0; }
.why-point { display: grid; gap: 8px; align-content: start; }
.why-point svg { width: 26px; height: 26px; stroke: var(--brand); }
.why-point h4 { margin: 4px 0 0; font-family: var(--serif); font-size: 23px; font-weight: 500; }
.why-point p { margin: 0; font-size: 14px; color: var(--muted); }
.fabric__visual { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }

/* Care guide teaser + page */
.care-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.care-card { background: var(--paper); border: 1px solid var(--line); padding: 26px 22px; display: grid; gap: 10px; align-content: start; transition: border-color .3s, transform .5s var(--ease-out); }
.care-card:hover { border-color: var(--brand); transform: translateY(-4px); }
.care-card svg { width: 26px; height: 26px; stroke: var(--brand); }
.care-card h3 { margin: 6px 0 0; font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.15; }
.care-card p { margin: 0; font-size: 13px; color: var(--ink-2); }
.care-card ul { margin: 6px 0 0; padding-inline-start: 18px; font-size: 13px; color: var(--muted); display: grid; gap: 4px; }
.care-family { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); padding: clamp(32px, 4vw, 52px) 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 20px); }
.care-family__head { display: grid; gap: 12px; align-content: start; }
.care-family__head svg { width: 30px; height: 30px; stroke: var(--brand); }
.care-family__head h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 38px); line-height: 1.1; }
.care-family__head p { margin: 0; color: var(--ink-2); }
.care-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: cs; }
.care-steps li { counter-increment: cs; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.care-steps li::before { content: counter(cs, decimal-leading-zero); font-family: var(--serif); font-size: 20px; color: var(--brand); line-height: 1.3; }
.tips-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tip { background: var(--paper); border: 1px solid var(--line); padding: 24px; display: grid; gap: 6px; }
.tip h3 { margin: 0; font-size: 15px; font-weight: 500; }
.tip p { margin: 0; font-size: 14px; color: var(--muted); }

/* Reviews */
.reviews-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.rating-big { display: flex; align-items: center; gap: 16px; }
.rating-big strong { font-family: var(--serif); font-size: 60px; font-weight: 400; line-height: 1; }
.rating-big .stars svg { width: 16px; height: 16px; }
.rating-big span.small { display: block; margin-top: 6px; max-width: 240px; }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.review { background: var(--paper); border: 1px solid var(--line); padding: 28px 26px; display: grid; gap: 16px; align-content: start; }
.review blockquote { margin: 0; font-family: var(--serif); font-size: 21px; line-height: 1.4; }
.review__meta { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--muted); flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--line); }
.review__meta strong { color: var(--ink); font-weight: 500; }
.review__product { font-size: 12px; color: var(--brand); }
.review__product:hover { text-decoration: underline; }
.demo-hint { font-size: 12px; color: var(--muted); margin-top: 20px; }

/* Journal */
.j-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(16px, 2.2vw, 32px); }
.j-card { display: grid; gap: 14px; align-content: start; }
.j-card__media { aspect-ratio: 4 / 3; background: var(--bone); overflow: hidden; display: block; }
.j-card__media svg { width: 100%; height: 100%; transition: transform 1.1s var(--ease-out); }
.j-card:hover .j-card__media svg { transform: scale(1.05); }
.j-card__meta { display: flex; gap: 12px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); flex-wrap: wrap; }
.j-card__meta .tagname { color: var(--brand); font-weight: 500; }
.j-card h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.15; }
.j-card h3 a:hover { color: var(--brand); }
.j-card p { margin: 0; color: var(--ink-2); font-size: 14px; }
.article { max-width: 780px; margin: 0 auto; padding-bottom: clamp(56px, 7vw, 96px); }
.article__head { display: grid; gap: 18px; justify-items: start; padding-top: 28px; }
.article__cover { aspect-ratio: 16 / 9; background: var(--bone); margin: 36px 0 44px; overflow: hidden; }
.article__cover svg { width: 100%; height: 100%; }
.article__body h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 34px); margin: 42px 0 14px; line-height: 1.15; }
.article__body p { font-size: 17px; line-height: 1.85; color: var(--ink-2); margin: 0 0 18px; }
.article__foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }

/* FAQ */
.faq-wrap { max-width: 900px; margin: 0 auto; padding-bottom: clamp(56px, 7vw, 96px); }
.faq-tools { display: grid; gap: 18px; margin-bottom: 28px; }
.faq-tools .chips { margin-top: 0; }
.faq-group h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: 40px 0 6px; }
.faq-group:first-child h2 { margin-top: 0; }
.faq-cta { margin-top: 56px; padding: 32px; background: var(--paper); border: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.faq-cta .h3 { margin: 0; }
.faq-home { max-width: 880px; margin: 0 auto; }

/* Policies */
.policy { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); padding-bottom: clamp(56px, 7vw, 96px); }
.policy-nav { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; display: grid; }
.policy-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); transition: color .2s; }
.policy-nav a:hover, .policy-nav a.is-active { color: var(--ink); }
.policy-nav a.is-active { font-weight: 500; }
.draft-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; background: var(--brand-tint); color: var(--brand-deep); font-size: 13px; margin-bottom: 28px; border-inline-start: 2px solid var(--brand); }
.draft-note svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.policy .prose { max-width: 760px; }
.policy .prose h2:first-of-type { margin-top: 28px; }

/* Account */
.auth { max-width: 520px; margin: 0 auto; padding-bottom: clamp(56px, 7vw, 96px); }
.auth .tabs { justify-content: center; }
.auth-card { background: var(--paper); border: 1px solid var(--line); padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; }
.form-msg { font-size: 13px; padding: 12px 14px; background: var(--bone); }
.form-msg.is-error { background: #F6E6E3; color: var(--danger); }
.form-msg.is-ok { background: #E5EFE6; color: var(--success); }
.acct { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding-bottom: clamp(56px, 7vw, 96px); }
.acct-nav { display: grid; align-self: start; position: sticky; top: calc(var(--header-h) + 24px); }
.acct-nav button, .acct-nav a { display: flex; justify-content: space-between; align-items: center; text-align: start; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-2); gap: 12px; }
.acct-nav .is-active { color: var(--ink); font-weight: 500; }
.acct-nav .n { font-size: 12px; color: var(--muted); }
.acct-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.acct-head h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 38px); }
.acct-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 40px; }
.acct-card { background: var(--paper); border: 1px solid var(--line); padding: 24px; display: grid; gap: 8px; align-content: start; }
.acct-card strong { font-family: var(--serif); font-size: 38px; font-weight: 400; line-height: 1; }
.acct-card span { font-size: 13px; color: var(--muted); }
.order { border: 1px solid var(--line); background: var(--paper); padding: clamp(18px, 2.4vw, 28px); display: grid; gap: 20px; margin-bottom: 14px; }
.order__top { display: flex; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; align-items: baseline; }
.order__top h3 { margin: 0; font-size: 15px; font-weight: 500; }
.order__items { display: flex; gap: 8px; flex-wrap: wrap; }
.order__thumb { width: 54px; aspect-ratio: 4 / 5; background: var(--bone); display: block; }
.order__thumb svg { width: 100%; height: 100%; }
.order__actions { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; font-size: 13px; }
.pipeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; margin: 0; }
.pipeline li { list-style: none; display: grid; justify-items: center; gap: 8px; font-size: 12px; color: var(--muted); position: relative; text-align: center; }
.pipeline li::before { content: ""; width: 13px; height: 13px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--line-strong); position: relative; z-index: 1; }
.pipeline li::after { content: ""; position: absolute; top: 6px; inset-inline-start: 50%; width: 100%; height: 1.5px; background: var(--line-strong); }
.pipeline li:last-child::after { display: none; }
.pipeline li.is-done { color: var(--ink); }
.pipeline li.is-done::before { background: var(--brand); border-color: var(--brand); }
.pipeline li.is-line::after { background: var(--brand); }
.addr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.addr { border: 1px solid var(--line); background: var(--paper); padding: 22px; display: grid; gap: 8px; font-size: 14px; align-content: start; }
.addr h3 { margin: 0; font-size: 15px; font-weight: 500; }
.addr__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.pill--brand { background: var(--brand-tint); color: var(--brand-deep); padding: 0 10px; height: 26px; }
.addr__actions { display: flex; gap: 16px; margin-top: 6px; }
.addr-form { border: 1px solid var(--ink); background: var(--paper); padding: clamp(20px, 3vw, 32px); display: grid; gap: 18px; margin-bottom: 20px; }

/* Checkout additions */
.co-mode { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-strong); border-radius: 40px; padding: 4px; margin-bottom: 18px; }
.co-mode button { height: 42px; border-radius: 40px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: var(--ink-2); transition: background .25s, color .25s; }
.co-mode button.is-active { background: var(--ink); color: var(--ivory); }
.co-signin { display: grid; gap: 16px; padding: 22px; background: var(--paper); border: 1px solid var(--line); margin-bottom: 28px; }
.co-note { font-size: 13px; color: var(--muted); margin: 0 0 28px; }
.signed { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px 18px; background: var(--brand-tint); font-size: 14px; margin-bottom: 28px; flex-wrap: wrap; }
.pay-logos { display: flex; gap: 6px; align-items: center; }
.apple-logo { display: inline-flex; align-items: center; height: 30px; padding: 0 10px; background: #000; color: #fff; border-radius: 6px; font-size: 13px; font-weight: 600; font-family: -apple-system, "Helvetica Neue", Arial, sans-serif; letter-spacing: 0; }
.tap-note { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); margin-top: 14px; }
.tap-note svg { width: 16px; height: 16px; }
.gateway__head--tap { background: var(--ink); }
.gateway__actions--3 { grid-template-columns: 1fr 1fr; }
.gateway__actions--3 .gateway__btn--pay { grid-column: 1 / -1; }
.gateway__btn--fail { background: #FBEDEA; color: var(--danger); }

/* Promo code */
.promo-box { display: grid; gap: 10px; padding-top: 4px; }
.promo-form { display: flex; gap: 8px; }
.promo-form .input { min-height: 46px; text-transform: uppercase; }
.promo-form .btn { min-height: 46px; padding: 0 20px; }
.promo-msg { font-size: 12px; margin: 0; }
.promo-msg.is-error { color: var(--danger); }
.promo-msg.is-ok { color: var(--success); }
.promo-applied { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; background: var(--brand-tint); color: var(--brand-deep); font-size: 13px; }
.row--discount dd, .row--discount span:last-child { color: var(--success); }

/* Variant matrix */
.matrix-wrap { overflow-x: auto; }
.matrix { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 380px; }
.matrix th, .matrix td { padding: 9px 6px; text-align: center; border-bottom: 1px solid var(--line); }
.matrix thead th { font-size: 11px; letter-spacing: .12em; color: var(--muted); font-weight: 500; }
.matrix th:first-child, .matrix td:first-child { text-align: start; white-space: nowrap; }
.matrix .ok { color: var(--success); }
.matrix .lowq { color: #9A6B1E; font-weight: 500; }
.matrix .out { color: var(--taupe); }
.matrix .sw { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-inline-end: 8px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); vertical-align: -1px; }
.matrix-legend { font-size: 12px; color: var(--muted); margin-top: 10px; }

/* Invoice */
.invoice { max-width: 880px; margin: 0 auto clamp(56px, 7vw, 96px); background: #fff; border: 1px solid var(--line); padding: clamp(24px, 5vw, 56px); display: grid; gap: 30px; }
.invoice__top { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.invoice__top h1 { margin: 0 0 6px; font-family: var(--serif); font-weight: 400; font-size: 40px; }
.invoice__meta { display: grid; grid-template-columns: auto auto; gap: 4px 18px; font-size: 13px; }
.invoice__meta dt { color: var(--muted); } .invoice__meta dd { margin: 0; }
.invoice__parties { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; font-size: 14px; }
.invoice__parties h4 { margin: 0 0 6px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.invoice__parties p { margin: 0; line-height: 1.7; }
.invoice table { width: 100%; border-collapse: collapse; font-size: 14px; }
.invoice th { text-align: start; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--ink); padding: 10px 8px; font-weight: 500; }
.invoice td { padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.invoice .num { text-align: end; white-space: nowrap; }
.invoice td small { display: block; color: var(--muted); font-size: 12px; }
.invoice__totals { margin-inline-start: auto; min-width: min(300px, 100%); display: grid; gap: 8px; font-size: 14px; }
.invoice__totals .row { display: flex; justify-content: space-between; gap: 16px; }
.invoice__totals .row--total { font-weight: 600; font-size: 17px; border-top: 1px solid var(--ink); padding-top: 10px; }
.invoice__foot { font-size: 12px; color: var(--muted); display: grid; gap: 4px; border-top: 1px solid var(--line); padding-top: 18px; }
.invoice__actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 8px 0 28px; }
@media print {
  .announce, .site-header, .site-footer, .invoice__actions, .cookie, .toasts, .breadcrumbs, .skip-link { display: none !important; }
  body { background: #fff; }
  .invoice { border: 0; margin: 0; padding: 0; max-width: none; }
}

/* Cookie consent */
.cookie { position: fixed; z-index: 190; inset-inline: 20px; bottom: 20px; max-width: 1040px; margin: 0 auto; background: var(--ink); color: var(--ivory); padding: 20px 24px; display: flex; gap: 18px 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; box-shadow: var(--shadow-lg); border-radius: 4px; animation: toastIn .7s var(--ease-out); }
.cookie__text { flex: 1 1 420px; font-size: 13px; }
.cookie__text p { margin: 6px 0 0; color: rgba(247, 244, 239, .78); }
.cookie .link-u { color: var(--ivory); }
.cookie__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie .btn--ghost { --fg: var(--ivory); --bd: rgba(247, 244, 239, .4); }
.cookie .btn:not(.btn--ghost) { --bg: var(--ivory); --fg: var(--ink); --bd: var(--ivory); }
.cookie .btn:not(.btn--ghost):hover { color: var(--ivory); }
.cookie-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.cookie-row > span { display: grid; gap: 4px; }
.switch { -webkit-appearance: none; appearance: none; width: 46px; height: 26px; border-radius: 26px; background: var(--taupe); position: relative; cursor: pointer; transition: background .25s; flex: none; margin: 0; }
.switch::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease-out); }
.switch:checked { background: var(--brand); }
.switch:checked::after { transform: translateX(20px); }
[dir="rtl"] .switch:checked::after { transform: translateX(-20px); }

@media (max-width: 1200px) {
  .care-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .logo__en { font-size: 18px; }
  .logo__mark { width: 30px; height: 30px; } .logo__mark svg { width: 20px; height: 20px; }
  .lang-btn--header { padding: 4px 10px; font-size: 12px; margin-inline-end: 2px; }
  .promo-grid--3 { grid-template-columns: 1fr; }
  .why-points { grid-template-columns: 1fr 1fr; }
  .fabric__visual { position: relative; top: 0; }
  .review-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .review-grid::-webkit-scrollbar { display: none; }
  .review { scroll-snap-align: start; }
  .j-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .policy, .acct { grid-template-columns: minmax(0, 1fr); }
  .policy-nav, .acct-nav { position: static; grid-auto-flow: column; justify-content: start; overflow-x: auto; gap: 8px; scrollbar-width: none; }
  .policy-nav::-webkit-scrollbar, .acct-nav::-webkit-scrollbar { display: none; }
  .policy-nav a, .acct-nav button, .acct-nav a { border: 1px solid var(--line-strong); border-radius: 30px; padding: 8px 16px; white-space: nowrap; }
  .policy-nav a.is-active, .acct-nav .is-active { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
  .acct-nav .n { display: none; }
  .care-family { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .tips-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .icon-btn--account { display: none; }
  .care-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .care-grid::-webkit-scrollbar { display: none; }
  .care-card { scroll-snap-align: start; }
  .why-points { grid-template-columns: 1fr; gap: 20px; }
  .j-grid, .acct-cards, .addr-grid, .tips-grid, .invoice__parties { grid-template-columns: minmax(0, 1fr); }
  .pipeline li { font-size: 10.5px; }
  .cookie { inset-inline: 12px; bottom: 12px; padding: 16px; }
  .cookie__actions { width: 100%; }
  .cookie__actions .btn { flex: 1; }
  .promo-form { flex-direction: column; }
  .rating-big strong { font-size: 48px; }
  .invoice__top h1 { font-size: 32px; }
}
@media (max-width: 420px) {
  .logo__mark { display: none; }
  .lang-btn--header { padding: 3px 8px; }
}

/* =========================================================================
   17. Arabic typography & RTL mirroring
   ========================================================================= */
html[lang="ar"] {
  --serif: "Amiri", "Noto Naskh Arabic", "Cormorant Garamond", serif;
  --sans: "IBM Plex Sans Arabic", "Jost", "Segoe UI", Tahoma, sans-serif;
}
html[lang="ar"] body { font-size: 15.5px; line-height: 1.8; }
/* Arabic letters must join: no tracking or uppercase transforms on Arabic text. */
html[lang="ar"] body *:lang(ar):not(text) { letter-spacing: 0 !important; text-transform: none !important; }
html[lang="ar"] em { font-style: normal; color: var(--brand); }
html[lang="ar"] .display { font-size: clamp(40px, 6vw, 86px); line-height: 1.3; }
html[lang="ar"] .h1 { line-height: 1.3; }
html[lang="ar"] .h2, html[lang="ar"] .brand__quote { line-height: 1.35; }
html[lang="ar"] .h3, html[lang="ar"] .j-card h3, html[lang="ar"] .pdp-info__title { line-height: 1.4; }
html[lang="ar"] .eyebrow, html[lang="ar"] .caps, html[lang="ar"] .tag, html[lang="ar"] .nav__link, html[lang="ar"] .btn, html[lang="ar"] .link-arrow,
html[lang="ar"] .tab, html[lang="ar"] .f-group > summary, html[lang="ar"] .acc > summary, html[lang="ar"] .opt-head .label, html[lang="ar"] .field label { font-size: 13px; }
html[lang="ar"] .announce { font-size: 12.5px; }
html[lang="ar"] .marquee__track span { font-style: normal; }
html[lang="ar"] .review blockquote { font-size: 20px; line-height: 1.7; }
html[lang="ar"] .article__body p { font-size: 18px; line-height: 2; }
html[lang="ar"] .fabric-panel__comp, html[lang="ar"] .seal strong { font-family: var(--sans); font-weight: 500; }
html[lang="ar"] .seal span { font-size: 11px; }
.price-in { unicode-bidi: isolate; }
input[type="email"], input[type="tel"], .promo-form .input { direction: ltr; }
[dir="rtl"] input[type="email"], [dir="rtl"] input[type="tel"] { text-align: right; }

[dir="rtl"] .skip-link { left: auto; right: 12px; }
[dir="rtl"] .arrow { display: inline-block; transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .link-arrow::after { transform-origin: left; }
[dir="rtl"] .select { background-position: left 16px center; padding-right: 16px; padding-left: 40px; }
[dir="rtl"] .input-group { direction: ltr; }
[dir="rtl"] .nav__link::after { transform-origin: right; }
[dir="rtl"] .icon-btn .count { right: auto; left: 4px; }
[dir="rtl"] .mega li a:hover { padding-left: 0; padding-right: 6px; }
[dir="rtl"] .mega__tile span { left: auto; right: 14px; }
[dir="rtl"] .p-card__badges { left: auto; right: 12px; }
[dir="rtl"] .wish-btn { right: auto; left: 8px; }
[dir="rtl"] .p-card__swatches .more { margin-left: 0; margin-right: 2px; }
[dir="rtl"] .rail__progress span { left: auto; right: 0; }
[dir="rtl"] .hero__copy { padding-right: var(--gutter); padding-left: clamp(24px, 4vw, 64px); }
[dir="rtl"] .hero__card { left: auto; right: 8%; }
[dir="rtl"] .hero__card dd { text-align: left; }
[dir="rtl"] .marquee__track { direction: ltr; }
[dir="rtl"] .fabric__pledge { border-left: 0; border-right: 2px solid var(--brand); }
[dir="rtl"] .filters { padding-right: 0; padding-left: 10px; }
[dir="rtl"] .filters__clear { margin-left: 0; margin-right: auto; }
[dir="rtl"] .filters .filters__close { margin-left: 0; margin-right: 12px; }
[dir="rtl"] .f-opt .n { margin-left: 0; margin-right: auto; }
[dir="rtl"] .range, [dir="rtl"] .range-values { direction: ltr; }
[dir="rtl"] .gallery__caption { left: auto; right: 18px; }
[dir="rtl"] .gallery__arrows { right: auto; left: 14px; }
[dir="rtl"] .gallery__arrows svg { transform: scaleX(-1); }
[dir="rtl"] .opt-head .val { margin-left: 0; margin-right: 10px; }
[dir="rtl"] .acc__body ul, [dir="rtl"] .prose ul { padding-left: 0; padding-right: 20px; }
[dir="rtl"] .size-btn .low { right: auto; left: -5px; }
[dir="rtl"] .line__meta .swatch { margin-right: 0; margin-left: 6px; }
[dir="rtl"] .line__total, [dir="rtl"] .radio-card__aside { text-align: left; }
[dir="rtl"] .co-item__media b { right: auto; left: -7px; }
[dir="rtl"] .confirm__box { text-align: right; }
[dir="rtl"] .stat { border-left: 0; border-right: 1px solid var(--line); }
[dir="rtl"] .stat:first-child { border-right: 0; }
[dir="rtl"] .size-table th:first-child, [dir="rtl"] .size-table td:first-child { text-align: right; left: auto; right: 0; }
[dir="rtl"] .drawer { right: auto; left: 0; transform: translateX(-100%); }
[dir="rtl"] .drawer--left { left: auto; right: 0; transform: translateX(100%); }
[dir="rtl"] .drawer.is-open { transform: none; }
[dir="rtl"] .search__terms button { text-align: right; }
[dir="rtl"] .search__terms button:hover { padding-left: 0; padding-right: 4px; }
[dir="rtl"] .modal__close { right: auto; left: 14px; }
[dir="rtl"] .modal__head { padding-right: 0; padding-left: 40px; }
[dir="rtl"] .toasts { right: auto; left: 20px; }
[dir="rtl"] .hero__garment--back { left: auto; right: 4%; transform: rotate(8deg); }
[dir="rtl"] .hero__garment--front { right: auto; left: 4%; }
@media (max-width: 1024px) {
  [dir="rtl"] .filters { left: auto; right: 0; transform: translateX(100%); }
  [dir="rtl"] .filters.is-open { transform: none; }
  [dir="rtl"] .stat:nth-child(3) { border-right: 0; }
}
@media (max-width: 768px) {
  [dir="rtl"] .wish-btn { left: 6px; }
  [dir="rtl"] .hero__card { left: 16px; right: 16px; }
  [dir="rtl"] .hero__garment--front { left: 0; }
  [dir="rtl"] .hero__garment--back { right: -2%; }
  [dir="rtl"] .line__total { text-align: right; }
  [dir="rtl"] .toasts { left: 16px; right: 16px; }
}
