:root {
  --coral: #111111;
  --coral-soft: #f2f2f2;
  --ink: #111111;
  --ink-2: #4a4a4a;
  --muted: #8a8a8a;
  --bg: #ffffff;
  --stone: #f2f2f2;
  --line: #e5e5e5;
  --radius: 14px;
  --display: "Archivo", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
body.no-scroll { overflow: hidden; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--display); font-stretch: 112%; letter-spacing: -0.02em; line-height: 1.02; }
h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; }
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 14px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 28px; border-radius: 999px;
  font-weight: 600; font-size: 15px; transition: transform .15s, background .2s, color .2s, border-color .2s;
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #333; }
.btn--ghost { border: 1.5px solid var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #333; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .4; cursor: not-allowed; }

.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; position: relative; }
.icon-btn:hover { background: var(--stone); }

/* Announce + header */
.announce { background: var(--ink); color: #fff; text-align: center; font-size: 13px; padding: 9px 16px; letter-spacing: .02em; }
.header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; line-height: 0; }
.logo img { height: 28px; width: auto; display: block; }
.nav { display: flex; gap: 36px; font-size: 15px; font-weight: 500; }
.nav a { position: relative; padding: 4px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--coral); transition: width .25s; }
.nav a:hover::after { width: 100%; }
.menu-toggle { display: none; }
.cart-count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--coral); color: #fff; border-radius: 999px; font-size: 11px; font-weight: 600;
  display: grid; place-items: center;
}
.cart-count[hidden] { display: none; }

/* Hero */
.hero { background: var(--stone); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px; min-height: 640px; }
.hero__copy { padding: 72px 0; }
.hero__title { font-size: clamp(56px, 9vw, 120px); font-weight: 800; font-stretch: 125%; margin-bottom: 24px; }
.hero__title span { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.hero__lead { font-size: 18px; color: var(--ink-2); max-width: 440px; margin-bottom: 34px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__media { position: relative; align-self: end; height: 100%; display: flex; align-items: flex-end; justify-content: center; }
.hero__media img { width: 100%; max-height: 680px; object-fit: cover; object-position: top; }
.hero__tag {
  position: absolute; inset-inline-start: 0; bottom: 48px; background: #fff; border-radius: 12px; padding: 12px 16px;
  display: flex; gap: 14px; align-items: center; font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

/* Values */
.values { border-bottom: 1px solid var(--line); }
.values__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.value { padding: 28px 20px; display: flex; flex-direction: column; gap: 2px; border-right: 1px solid var(--line); }
.value:last-child { border-right: 0; }
.value strong { font-size: 15px; }
.value span { font-size: 14px; color: var(--muted); }

/* Shop */
.shop { padding: 96px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter { height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; transition: all .2s; }
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 24px; }
.card { cursor: pointer; }
.card__media { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--stone); }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .4s, transform .6s; }
.card__media .alt { opacity: 0; }
.card:hover .card__media .alt { opacity: 1; }
.card:hover .card__media img { transform: scale(1.03); }
.card__badge { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2; background: #fff; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; }
.card__quick {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  background: #fff; height: 44px; border-radius: 999px; font-weight: 600; font-size: 14px;
  opacity: 0; transform: translateY(8px); transition: all .25s;
}
.card:hover .card__quick, .card:focus-within .card__quick { opacity: 1; transform: none; }
.card__body { padding-top: 14px; display: flex; justify-content: space-between; gap: 12px; }
.card__name { font-weight: 600; font-size: 15px; }
.card__color { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.swatch { width: 11px; height: 11px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); display: inline-block; }
.card__price { font-weight: 600; font-size: 15px; white-space: nowrap; }

/* Two ways */
.two-ways { background: var(--coral-soft); padding: 96px 0; }
.two-ways__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.two-ways__media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.two-ways__media figure { position: relative; border-radius: var(--radius); overflow: hidden; }
.two-ways__media img { aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.two-ways__media figure:last-child { margin-top: 48px; }
.two-ways__media figcaption {
  position: absolute; inset-inline-start: 12px; bottom: 12px; background: #fff; font-size: 13px; font-weight: 600;
  padding: 6px 12px; border-radius: 999px;
}
.two-ways__copy h2 { margin-bottom: 20px; }
.two-ways__copy > p:not(.eyebrow) { color: var(--ink-2); font-size: 17px; max-width: 440px; margin-bottom: 24px; }
.two-ways__detail { width: 160px; aspect-ratio: 1; object-fit: cover; border-radius: 12px; margin-bottom: 28px; }

/* About */
.about { padding: 120px 0; text-align: center; }
.about__inner { max-width: 900px; }
.about__statement { font-family: var(--display); font-stretch: 105%; font-size: clamp(26px, 3.4vw, 40px); font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; }
.about__statement em { font-style: normal; color: var(--coral); }

/* Newsletter */
.newsletter { padding: 0 0 96px; }
.newsletter__inner {
  background: var(--stone); border-radius: 24px; padding: 48px;
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
}
.newsletter h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 6px; }
.newsletter p { color: var(--ink-2); }
.newsletter__form { display: flex; gap: 8px; flex: 1; max-width: 460px; min-width: 260px; }
.newsletter__form input {
  flex: 1; min-width: 0; height: 52px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line);
  font: inherit; background: #fff;
}
.newsletter__form input:focus { outline: 2px solid var(--coral); outline-offset: 1px; }

/* Footer */
.footer { background: var(--ink); color: #bdbdbd; padding: 64px 0 28px; font-size: 14px; }
.footer__inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 48px; }
.footer__inner p { margin-top: 10px; }
.footer__cols { display: flex; gap: 72px; flex-wrap: wrap; }
.footer__cols div { display: flex; flex-direction: column; gap: 10px; }
.footer h4 { color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.footer a:hover { color: #fff; }
.footer__base { border-top: 1px solid #2a2a2a; padding-top: 24px; font-size: 13px; }

/* Overlay, modal, drawer */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 60; animation: fade .2s; }
.modal {
  position: fixed; z-index: 70; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(980px, calc(100% - 32px)); max-height: calc(100vh - 48px); overflow: auto;
  background: #fff; border-radius: 20px; display: grid; grid-template-columns: 1.1fr 1fr; animation: pop .25s;
}
.modal__close { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 2; background: #fff; }
.modal__gallery { background: var(--stone); padding: 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.modal__gallery > img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 12px; }
.modal__thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x proximity; }
.modal__thumbs button { flex: 0 0 64px; width: 64px; aspect-ratio: 3/4; scroll-snap-align: start; border-radius: 8px; overflow: hidden; border: 2px solid transparent; }
.modal__thumbs button.is-active { border-color: var(--ink); }
.modal__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.modal__info { padding: 44px 36px 32px; display: flex; flex-direction: column; }
.modal__info h3 { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.modal__price { font-size: 20px; font-weight: 600; margin-bottom: 18px; }
.modal__desc { color: var(--ink-2); margin-bottom: 16px; }
.modal__features { list-style: none; display: grid; gap: 6px; margin-bottom: 28px; font-size: 14px; }
.modal__features li::before { content: "—"; color: var(--coral); margin-inline-end: 8px; }
.sizes { margin-bottom: 20px; }
.sizes__head { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.sizes__head a { font-weight: 400; color: var(--muted); text-decoration: underline; }
.sizes__opts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.size { height: 46px; border: 1px solid var(--line); border-radius: 10px; font-weight: 500; font-size: 14px; transition: all .15s; }
.size:hover { border-color: var(--ink); }
.size.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.modal__note { font-size: 13px; color: var(--muted); text-align: center; margin-top: 14px; }

.drawer {
  position: fixed; top: 0; inset-inline-end: 0; bottom: 0; z-index: 70; width: min(420px, 100%);
  background: #fff; display: flex; flex-direction: column; animation: slide .3s ease;
}
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 18px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 22px; }
.drawer__ship { padding: 16px 24px; font-size: 13px; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.bar { height: 5px; background: var(--stone); border-radius: 999px; margin-top: 8px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--coral); transition: width .3s; }
.drawer__items { flex: 1; overflow: auto; padding: 8px 24px; }
.drawer__empty { text-align: center; color: var(--muted); padding: 64px 0; }
.drawer__empty .btn { margin-top: 18px; }
.line { display: grid; grid-template-columns: 80px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line img { width: 80px; aspect-ratio: 3/4; object-fit: cover; border-radius: 8px; }
.line__name { font-weight: 600; font-size: 14px; }
.line__meta { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; height: 34px; }
.qty button { width: 32px; height: 100%; font-size: 16px; }
.qty span { min-width: 20px; text-align: center; font-size: 14px; }
.line__right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; font-weight: 600; font-size: 14px; }
.line__remove { font-size: 12px; color: var(--muted); text-decoration: underline; font-weight: 400; }
.drawer__foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); }
.drawer__row { display: flex; justify-content: space-between; font-size: 16px; }
.drawer__note { font-size: 13px; color: var(--muted); margin: 4px 0 16px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translate(-50%, 20px);
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 14px;
  opacity: 0; pointer-events: none; transition: all .3s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translate(-50%, -46%); } }
@keyframes slide { from { transform: translateX(100%); } }

/* Responsive */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .values__inner { grid-template-columns: repeat(2, 1fr); }
  .value:nth-child(2) { border-right: 0; }
  .value:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}


/* Menu becomes the ☰ dropdown below laptop width, so the links never wrap. */
@media (max-width: 1080px) {
  .menu-toggle { display: grid; }
  .header__inner { position: relative; }
  .header .logo { position: absolute; left: 50%; transform: translateX(-50%); }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0,0,0,.06);
    max-height: calc(100vh - 110px); overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 16px 24px; border-top: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav__account { display: block; }
}
.nav a { white-space: nowrap; }

@media (max-width: 820px) {
  .container { padding: 0 16px; }

  .hero__inner { grid-template-columns: 1fr; gap: 0; min-height: 0; }
  .hero__copy { padding: 48px 0 32px; }
  .hero__media img { max-height: 520px; }
  .hero__tag { inset-inline-start: 0; bottom: 24px; }

  .shop, .two-ways { padding: 64px 0; }
  .two-ways__inner { grid-template-columns: 1fr; gap: 40px; }
  .about { padding: 80px 0; }
  .newsletter__inner { padding: 32px 24px; }
  .newsletter__form { flex-direction: column; max-width: none; }
  .newsletter__form .btn { width: 100%; }

  .modal { grid-template-columns: 1fr; top: auto; bottom: 0; left: 0; transform: none; width: 100%; max-height: 92vh; border-radius: 20px 20px 0 0; animation: up .3s ease; }
  .modal__info { padding: 28px 20px 24px; }
  .modal__gallery > img { aspect-ratio: 4/5; }
  .footer__cols { gap: 40px; }
}
@media (max-width: 480px) {
  .grid { gap: 24px 12px; }
  .card__quick { display: none; }
  .value { padding: 20px 12px; }
}
@keyframes up { from { transform: translateY(100%); } }

/* ---------- Collection v2: colours, sets, how to wear ---------- */
.hero__tag { cursor: pointer; transition: transform .2s; }
.hero__tag:hover { transform: translateY(-2px); }

.card__colors { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin-top: 6px; font-size: 13px; color: var(--muted); }
.card__colors span:last-child { margin-inline-start: 4px; }
.card__price { display: flex; flex-direction: column; align-items: flex-end; }
.card__price s, .modal__price s { color: var(--muted); font-weight: 400; font-size: .85em; }
.swatch { width: 12px; height: 12px; }

.colors { background: var(--ink); color: #fff; padding: 88px 0; }
.colors__inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: center; }
.colors__note { color: #bdbdbd; margin-top: 16px; max-width: 380px; }
.colors__list { display: flex; flex-wrap: wrap; gap: 10px; }
.color-chip {
  display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 8px;
  border: 1px solid #333; border-radius: 999px; font-size: 14px; font-weight: 500; transition: border-color .2s, background .2s;
}
.color-chip:hover { border-color: #fff; background: #1d1d1d; }
.color-chip__dot { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255,255,255,.55); }
.colors .eyebrow { color: #fff; }

.how { padding: 96px 0; background: var(--coral-soft); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; background: #fff; border-radius: var(--radius); overflow: hidden; padding-bottom: 24px; }
.step img { width: 100%; aspect-ratio: 4/5; object-fit: cover; margin-bottom: 20px; }
.step__num {
  position: absolute; top: 14px; inset-inline-start: 14px; width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 800;
}
.step h3 { font-size: 22px; padding: 0 22px; margin-bottom: 8px; }
.step p { color: var(--ink-2); padding: 0 22px; font-size: 15px; }
.how__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; justify-content: center; }

.save { display: inline-block; background: var(--coral-soft); color: var(--ink); font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; vertical-align: middle; }
.modal__features .feat-head { font-weight: 600; }
.modal__features .feat-head::before { content: none; }
.picker { margin-bottom: 20px; }
.picker__head { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 10px; }
.picker__head a { color: var(--muted); text-decoration: underline; }
.picker__colors { display: flex; flex-wrap: wrap; gap: 8px; }
.color-opt {
  width: 34px; height: 34px; border-radius: 50%; background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .15s;
}
.color-opt:hover { outline-color: var(--line); }
.color-opt.is-active { outline-color: var(--ink); }
.picker__note { font-size: 13px; color: var(--muted); margin-top: 10px; }
.picker__note:empty { display: none; }
.link { text-decoration: underline; color: var(--ink); font-weight: 600; }
.picker__sizes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.line__meta { display: flex; align-items: center; gap: 6px; }

@media (max-width: 1024px) {
  .colors__inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 820px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .how, .colors { padding: 64px 0; }
  .how__ctas .btn { width: 100%; }
}

/* Complete the look */
.complete:empty { display: none; }
.complete { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.complete__title { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--coral); margin-bottom: 12px; }
.complete__item {
  width: 100%; display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; text-align: start;
  padding: 10px; border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s;
}
.complete__item:hover { border-color: var(--ink); }
.complete__item img { width: 56px; aspect-ratio: 3/4; object-fit: cover; border-radius: 8px; }
.complete__item strong { display: block; font-size: 14px; }
.complete__item span span { font-size: 13px; color: var(--muted); }
.complete__price { font-weight: 600; font-size: 14px; white-space: nowrap; }
.announce s { opacity: .6; margin-inline-start: 4px; }

/* ---------- Header actions + inner pages ---------- */
.header__actions { display: flex; align-items: center; gap: 2px; }
.account-btn.is-signed-in::after { content: ""; position: absolute; top: 9px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); border: 2px solid #fff; }
.nav__account { display: none; }
@media (max-width: 1080px) { .nav .nav__account { display: block; } }
.back-link { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.back-link:hover { color: var(--ink); }
.page { background: #fafafa; min-height: 100vh; display: flex; flex-direction: column; }
.page main { flex: 1; }
.page h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; margin-bottom: 12px; }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.preview-note { background: #fff6d6; border: 1px solid #f0dc8c; color: #5c4a00; font-size: 13px; padding: 10px 14px; border-radius: 10px; margin: 24px 0 0; }

/* Forms */
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--ink-2); min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field em { font-style: normal; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; color: var(--ink); background: #fff; width: 100%;
  border: 1px solid #d9d6d0; border-radius: 10px; padding: 0 14px; height: 48px;
}
.field textarea { height: auto; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: -1px; border-color: var(--ink); }
.field input[readonly] { background: var(--stone); }
.field.is-invalid input, .field.is-invalid select { border-color: #d93025; background: #fff8f7; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.form-error { background: #fdecea; color: #b3261e; font-size: 14px; padding: 10px 14px; border-radius: 10px; margin: 14px 0; }

/* Checkout */
.checkout { padding-bottom: 80px; }
.checkout__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: start; padding-top: 40px; }
.checkout__signin { color: var(--ink-2); font-size: 14px; margin-bottom: 8px; }
.fieldset { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; margin-top: 18px; display: grid; gap: 14px; }
.fieldset h2 { font-family: var(--body); font-stretch: 100%; font-size: 17px; font-weight: 600; letter-spacing: 0; }
.fieldset__note { font-size: 14px; color: var(--muted); }
.options { display: grid; gap: 10px; }
.option {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; cursor: pointer;
  border: 1px solid #d9d6d0; border-radius: 12px; padding: 14px 16px; transition: border-color .15s, background .15s;
}
.option input { width: 18px; height: 18px; accent-color: var(--ink); }
.option:has(input:checked) { border-color: var(--ink); background: #fafafa; box-shadow: inset 0 0 0 1px var(--ink); }
.option strong { display: block; font-size: 15px; font-weight: 600; }
.option small { display: block; font-size: 13px; color: var(--muted); }
.option b { font-weight: 600; }
.option.is-off { opacity: .45; cursor: not-allowed; }
.billing { margin-top: 4px; }

.summary { position: sticky; top: 92px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; margin-top: 70px; }
.summary h2 { font-family: var(--body); font-stretch: 100%; font-size: 17px; font-weight: 600; letter-spacing: 0; margin-bottom: 12px; }
.sline { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; font-size: 14px; border-bottom: 1px solid var(--line); }
.sline__img { position: relative; }
.sline__img img { width: 56px; aspect-ratio: 3/4; object-fit: cover; border-radius: 8px; }
.sline__img b { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11px; display: grid; place-items: center; }
.sline strong { display: block; font-weight: 600; }
.sline small { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; }
.summary__rows { display: grid; gap: 8px; padding: 16px 0; font-size: 15px; }
.summary__rows div, .confirm__box div { display: flex; justify-content: space-between; gap: 12px; }
.summary__total { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; font-size: 18px; }
.summary__total strong { font-size: 22px; }
.summary__note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 12px; }
.checkout__empty, .confirm, .empty-box { text-align: center; max-width: 560px; margin: 64px auto; display: grid; gap: 14px; justify-items: center; }
.empty-box p { color: var(--ink-2); }
.confirm__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 30px; display: grid; place-items: center; }
.confirm p { color: var(--ink-2); }
.confirm__box { width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: grid; gap: 8px; text-align: start; font-size: 14px; }
.confirm__ctas { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

/* Account */
.account { padding-bottom: 80px; }
.auth { max-width: 460px; margin: 40px auto 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--stone); border-radius: 999px; padding: 4px; margin-bottom: 24px; }
.tab { height: 40px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.tab.is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.auth__form { display: grid; gap: 14px; }
.auth__form h1 { font-size: 30px; margin-bottom: 0; }
.auth__lead { color: var(--ink-2); font-size: 14px; }
.auth__forgot { justify-self: start; font-size: 13px; font-weight: 500; }
.auth__switch { text-align: center; font-size: 14px; color: var(--ink-2); }
.dash { padding-top: 40px; }
.dash__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.dash__email { color: var(--muted); }
.dash__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding-top: 28px; }
.dash h2, .help h2 { font-family: var(--body); font-stretch: 100%; font-size: 18px; font-weight: 600; letter-spacing: 0; margin-bottom: 14px; }
.orders { display: grid; gap: 12px; }
.order, .saved { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; font-size: 14px; }
.order__head { display: flex; justify-content: space-between; align-items: center; }
.order__date { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.order ul { list-style: none; color: var(--ink-2); margin-bottom: 8px; }
.saved { display: grid; gap: 2px; margin-bottom: 10px; }
.status { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--stone); }
.status--new { background: #e8f0fe; color: #1a56c4; }
.status--confirmed { background: #fff3d6; color: #8a5a00; }
.status--shipped { background: #efe6ff; color: #5b2bb5; }
.status--delivered { background: #e3f5e6; color: #1e7b34; }
.status--cancelled { background: #fdecea; color: #b3261e; }

/* Admin */
.admin { padding-bottom: 80px; }
.admin__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; padding: 32px 0 20px; }
.admin__stats { display: flex; gap: 10px; }
.admin__stats div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px; display: grid; }
.admin__stats strong { font-size: 20px; }
.admin__stats span { font-size: 12px; color: var(--muted); }
.admin .filters { margin-bottom: 16px; }
.admin .filter small { opacity: .6; margin-left: 4px; }
.admin__list { display: grid; gap: 14px; }
.aorder { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; font-size: 14px; }
.aorder__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.aorder__head span { color: var(--muted); margin-left: 10px; font-size: 13px; }
.aorder__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.aorder h4 { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.aorder h4:not(:first-child) { margin-top: 12px; }
.aorder p { margin-bottom: 3px; }
.aorder a { text-decoration: underline; }
.aorder b { float: right; font-weight: 600; }
.aorder__total { border-top: 1px solid var(--line); padding-top: 6px; margin-top: 6px; }
.aorder__notes { background: var(--stone); border-radius: 8px; padding: 8px 10px; margin-top: 8px; }
.status-select { font: inherit; font-size: 13px; font-weight: 600; border: 0; border-radius: 999px; padding: 8px 12px; cursor: pointer; }
.tag { font-size: 11px; background: var(--stone); padding: 2px 8px; border-radius: 999px; font-weight: 500; }
.warn { background: #fff3d6; color: #8a5a00; border-radius: 8px; padding: 8px 10px; margin-top: 8px; }

/* Help */
.help { max-width: 760px; padding: 48px 24px 80px; }
.help section { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; margin-top: 18px; scroll-margin-top: 90px; }
.help p, .help li { color: var(--ink-2); margin-bottom: 8px; }
.help ul { padding-inline-start: 20px; }
.help__table { width: 100%; border-collapse: collapse; margin-bottom: 12px; font-size: 15px; }
.help__table td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.help__table td:last-child { text-align: end; font-weight: 600; white-space: nowrap; }
.help__table s { color: var(--muted); font-weight: 400; margin-inline-start: 6px; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.contact-card { border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: grid; gap: 2px; transition: border-color .15s; }
.contact-card:hover { border-color: var(--ink); }
.contact-card span { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.footer--slim { padding: 24px 0; }
.footer--slim .footer__base { border: 0; padding: 0; }

@media (max-width: 900px) {
  .checkout__grid, .dash__grid { grid-template-columns: 1fr; gap: 24px; }
  .summary { position: static; margin-top: 0; }
  .aorder__grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav__account { display: block; }
  .page .header .logo { position: absolute; left: 50%; transform: translateX(-50%); }
}
@media (max-width: 560px) {
  .fields { grid-template-columns: 1fr; }
  .fieldset, .summary, .auth { padding: 18px; }
  .contact-cards { grid-template-columns: 1fr; }
  .back-link { font-size: 13px; }
  .admin__stats { width: 100%; }
  .admin__stats div { flex: 1; }
}

/* ---------- Size charts ---------- */
.picker__head .link { font-size: 14px; color: var(--muted); text-decoration: underline; background: none; border: 0; padding: 0; cursor: pointer; }
.size-guide { margin-top: 16px; padding: 16px; border-radius: 12px; background: var(--stone); }
.size-guide__note { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.size-guide__note a { text-decoration: underline; }
.size-chart + .size-chart { margin-top: 18px; }
.size-chart h4 { font-size: 14px; margin: 0 0 8px; }
.size-chart h4 small { font-weight: 400; color: var(--muted); }
.size-chart__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.size-chart table { width: max-content; min-width: 100%; border-collapse: collapse; font-size: 13px; background: #fff; }
.size-chart th, .size-chart td { padding: 8px 10px; border: 1px solid var(--line); text-align: center; white-space: nowrap; }
.size-chart thead th { background: #111; color: #fff; font-weight: 600; font-size: 12px; white-space: normal; max-width: 96px; }
.size-chart tbody th { font-weight: 700; }
.size-chart tbody tr:nth-child(even) td { background: #f7f7f7; }
#size-charts { margin-top: 20px; }
#size-charts .size-chart + .size-chart { margin-top: 28px; }


/* Newsletter field keeps its full height when stacked on phones */
.newsletter__form input { min-height: 48px; flex: 1 1 auto; }

/* ---------- Language switch (EN | AR) ---------- */
.lang-switch { display: inline-flex; border: 1px solid var(--ink); border-radius: 999px; overflow: hidden; margin-inline-end: 4px; }
.lang-switch button { font: 600 12px/1 var(--body); padding: 6px 9px; background: #fff; color: var(--ink); border: 0; cursor: pointer; letter-spacing: .04em; }
.lang-switch button.is-active { background: var(--ink); color: #fff; }
.header__actions { display: flex; align-items: center; }

/* ---------- Arabic ---------- */
html[lang="ar"] { --display: "Cairo", system-ui, sans-serif; --body: "Cairo", system-ui, sans-serif; }
html[lang="ar"] body { font-family: var(--body); }
html[lang="ar"] * { letter-spacing: 0 !important; font-stretch: normal !important; }
html[lang="ar"] .hero__title { line-height: 1.15; }
html[lang="ar"] .eyebrow, html[lang="ar"] .complete__title { text-transform: none; }
html[lang="ar"] .lang-switch button { font-family: "Inter", system-ui, sans-serif; }
@media (max-width: 400px) {
  .header__actions .icon-btn { width: 36px; }
  .lang-switch button { padding: 6px 7px; }
}
/* Phones: logo sits next to the menu button so the EN | AR switch fits beside the icons */
@media (max-width: 480px) {
  .header .logo, .page .header .logo { position: static; transform: none; margin-inline-start: 8px; margin-inline-end: auto; }
  .header .logo img { height: 24px; }
  .page .header .back-link { margin-inline-end: 4px; }
}
html[lang="ar"] .hero__title span { color: var(--ink); -webkit-text-stroke: 0; }
html[dir="rtl"] .drawer { animation-name: slide-rtl; }
@keyframes slide-rtl { from { transform: translateX(-100%); } }
html[dir="rtl"] input[type="tel"], html[dir="rtl"] input[type="email"], html[dir="rtl"] input[type="password"] { direction: ltr; text-align: right; }
html[lang="ar"] .hero__title { font-size: clamp(40px, 11vw, 92px); }

/* ---------- Promotion ---------- */
.promo-banner { background: var(--ink); color: #fff; border-radius: 12px; padding: 12px 16px; font-size: 14px; margin: 0 0 24px; text-align: center; }
.promo-banner strong { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.promo-banner--small { font-size: 13px; padding: 10px 12px; margin: 12px 0; text-align: start; }
.promo-hint { background: var(--stone); border-radius: 10px; padding: 10px 12px; font-size: 13px; margin: 12px 0; }
.drawer .promo-hint { margin: 12px 20px 0; }
.promo { margin: 16px 0 4px; display: grid; gap: 6px; }
.promo label { font-size: 13px; font-weight: 600; }
.promo__row { display: flex; gap: 8px; }
.promo__row input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; text-transform: uppercase; }
.promo__row .btn { height: 44px; padding: 0 18px; }
.promo__msg { font-size: 13px; color: #b3261e; margin: 0; }
.promo__msg.is-ok { color: var(--ink); font-weight: 600; }

/* ---------- Sold-out sizes ---------- */
.size.is-soldout { color: var(--muted); background: #f7f7f7; border-color: var(--line); text-decoration: line-through; cursor: not-allowed; }
.color-opt.is-soldout { opacity: .45; }
.picker__note--stock { font-size: 13px; color: var(--muted); margin-top: 8px; }
.line__soldout { color: #b3261e; font-weight: 600; font-size: 13px; }

/* ---------- Admin stock ---------- */
.admin__tabs { display: inline-flex; gap: 4px; background: var(--stone); padding: 4px; border-radius: 999px; margin: 24px 0 8px; }
.admin__tabs .tab { border: 0; background: none; padding: 8px 18px; border-radius: 999px; font: inherit; font-weight: 600; cursor: pointer; }
.admin__tabs .tab.is-active { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.stock__help { color: var(--ink-2); max-width: 560px; margin-top: 8px; font-size: 14px; }
.stock { display: grid; gap: 16px; margin-top: 16px; }
.stock__product { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.stock__product h3 { font-size: 16px; margin-bottom: 8px; }
.stock__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--line); }
.stock__color { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; min-width: 120px; }
.stock__sizes { display: flex; gap: 6px; flex-wrap: wrap; }
.stock__sizes .size { width: 48px; height: 38px; font-size: 13px; }
.stock__sizes .size.is-soldout { cursor: pointer; background: #fdecea; color: #b3261e; border-color: #f2b8b5; }

.live-note { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); margin: 4px 0 14px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #1e8e3e; box-shadow: 0 0 0 3px rgba(30,142,62,.2); flex: none; }

/* ---------- Stock counts ---------- */
.stock__summary { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); margin-top: 12px; }
.stock__summary strong { color: var(--ink); font-size: 18px; margin-inline-end: 4px; }
.stock__table { display: grid; grid-template-columns: minmax(110px, 1.4fr) repeat(var(--cols), minmax(44px, 1fr)); gap: 6px 8px; align-items: center; }
.stock__size { font-size: 12px; font-weight: 600; color: var(--muted); text-align: center; }
.stock__qty { width: 100%; height: 40px; border: 1px solid var(--line); border-radius: 8px; text-align: center; font: inherit; font-size: 15px; -moz-appearance: textfield; }
.stock__qty::-webkit-outer-spin-button, .stock__qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stock__qty.is-out { background: #fdecea; border-color: #f2b8b5; color: #b3261e; font-weight: 700; }
.stock__qty.is-low { background: #fff6d6; border-color: #f0dc8c; }
.stock__legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); margin-top: 6px; }
@media (max-width: 560px) { .stock__table { grid-template-columns: 84px repeat(var(--cols), minmax(38px, 1fr)); gap: 6px; } .stock__color { font-size: 12px; } }
.locked__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

.admin__tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.admin__tools .filters { margin: 0; }
