:root {
  --plum: #111111;
  --plum2: #242424;
  --primary-color: #f47721;
  --accent-color: #ffca32;
  --gold: var(--accent-color);
  --rose: var(--primary-color);
  --ink: #111111;
  --mute: #5f5f5f;
  --bg: #ffffff;
  --card: #fff;
  --line: #e5e5e5;
  --ok: #0b7a53;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Figtree", system-ui, "Noto Sans Arabic", sans-serif;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
}
a {
  color: inherit;
  text-decoration: none;
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
h1,
h2,
h3,
.logo {
  font-family: var(--display);
  line-height: 1.1;
}
h2 {
  font-size: 24px;
}
.wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 16px;
}
svg.i {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.icon-sprite {
  position: absolute;
}

header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #111;
  color: #fff;
}
.bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
}
.hb {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid transparent;
  border-radius: 4px;
  text-align: start;
  white-space: nowrap;
}
.hb:hover {
  border-color: var(--rose);
}
.hb small {
  display: block;
  font-size: 11.5px;
  color: #fff;
  line-height: 1.2;
}
.hb b {
  display: block;
  font-size: 13.5px;
  line-height: 1.25;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.logo {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.logo i {
  display: block;
  height: 4px;
  margin-top: 2px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gold) 65%, var(--rose) 65%);
}
.search {
  flex: 1;
  display: flex;
  min-width: 0;
  height: 44px;
  background: #fff;
  border-radius: 8px;
  position: relative;
  color: #111;
}
.search:focus-within {
  box-shadow: 0 0 0 3px var(--gold);
}
.search select {
  border: 0;
  background: #fffaf0;
  border-radius: 8px 0 0 8px;
  padding: 0 8px;
  max-width: 150px;
  color: #111;
  font-size: 13px;
}
[dir="rtl"] .search select {
  border-radius: 0 8px 8px 0;
}
.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 0 14px;
  outline: 0;
  background: transparent;
  color: #111;
}
.search > button {
  background: var(--gold);
  width: 54px;
  display: grid;
  place-items: center;
  border-radius: 0 8px 8px 0;
  color: var(--plum);
}
[dir="rtl"] .search > button {
  border-radius: 8px 0 0 8px;
}
#sugg {
  position: absolute;
  top: 48px;
  inset-inline: 0;
  background: #fff;
  color: #111;
  border-radius: 8px;
  box-shadow: 0 12px 30px #0004;
  overflow: hidden;
  display: none;
  z-index: 5;
}
#sugg button {
  display: flex;
  gap: 10px;
  width: 100%;
  padding: 9px 14px;
  text-align: start;
  align-items: center;
}
#sugg button:hover,
#sugg button.on {
  background: #fffaf0;
}
#sugg em {
  margin-inline-start: auto;
  font-style: normal;
  color: var(--mute);
  font-size: 13px;
}
.cart {
  position: relative;
  font-weight: 700;
  align-items: flex-end;
}
.cart svg.i {
  width: 34px;
  height: 30px;
}
#count {
  position: absolute;
  top: 0;
  inset-inline-start: 22px;
  background: var(--gold);
  color: var(--plum);
  border-radius: 20px;
  min-width: 20px;
  padding: 0 5px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}
.sub {
  background: #111;
  color: #fff;
  display: flex;
  gap: 2px;
  padding: 4px 16px;
  overflow-x: auto;
  scrollbar-width: none;
  font-size: 14px;
}
.sub button {
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid transparent;
  display: flex;
  gap: 6px;
  align-items: center;
}
.sub button:hover {
  border-color: var(--rose);
}
.sub button.on {
  background: #292929;
  color: #fff;
  box-shadow: inset 0 -2px var(--gold);
  font-weight: 600;
}
.sub .deal {
  color: var(--gold);
  font-weight: 700;
  margin-inline-start: auto;
}

.hero {
  position: relative;
  overflow: hidden;
}
.home-sections { display: flex; flex-direction: column; }
.home-section[hidden] { display: none !important; }
.slides {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.slide {
  position: relative;
  isolation: isolate;
  background: linear-gradient(120deg, var(--plum), var(--primary-color) 60%, var(--accent-color));
  min-width: 100%;
  scroll-snap-align: start;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 44px max(60px, calc((100% - 1300px) / 2)) 150px;
  color: #fff;
  min-height: 400px;
}
.slide-background { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgb(17 17 17 / 82%), rgb(17 17 17 / 16%)); content: ""; }
.slide-copy { max-width: min(60%, 650px); }
.slide-copy .section-eyebrow { display: block; margin-bottom: 12px; color: var(--accent-color); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.slide h1 {
  font-size: clamp(30px, 4.4vw, 58px);
  font-weight: 800;
  max-width: 13ch;
}
.slide p {
  margin: 12px 0 22px;
  font-size: 17px;
  max-width: 44ch;
}
.slide .art {
  width: min(38%, 420px);
  display: flex;
  align-items: center;
}
.slide .art svg {
  width: 50%;
  filter: drop-shadow(0 18px 14px #0005);
}
.slide .art svg:nth-child(2) {
  margin-inline-start: -6%;
  margin-top: 70px;
}
.arrow {
  position: absolute;
  top: 130px;
  width: 42px;
  height: 70px;
  border-radius: 6px;
  background: #fff3;
  color: #fff;
  font-size: 28px;
}
.arrow[data-slide="-1"] {
  left: 8px;
}
.arrow[data-slide="1"] {
  right: 8px;
}
.arrow:hover {
  background: #fff6;
}
#range {
  width: 100%;
}
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--plum);
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 30px;
  text-align: center;
}
.btn:hover {
  filter: brightness(1.07);
}
.btn.dark {
  background: var(--plum);
  color: #fff;
}
.btn.ghost {
  background: #fff;
  border: 1px solid var(--line);
}
.btn.full {
  width: 100%;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: -120px;
  position: relative;
  z-index: 2;
}
.tile {
  background: var(--card);
  border-radius: 6px;
  padding: 18px;
}
.tile h3 {
  font-size: 19px;
  margin-bottom: 12px;
}
.quad {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.quad button {
  text-align: start;
  font-size: 12.5px;
}
.quad .ph {
  margin-bottom: 4px;
}
.tile > .link {
  margin-top: 12px;
}
.link {
  color: var(--plum2);
  font-weight: 600;
  font-size: 14px;
}
.link:hover {
  color: var(--rose);
  text-decoration: underline;
}
.ph {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 6px;
  width: 100%;
}
.ph svg {
  width: 72%;
  height: 72%;
}
.ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.panel {
  background: var(--card);
  border-radius: 6px;
  padding: 20px;
  margin-top: 20px;
}
.head {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.clock {
  background: var(--rose);
  color: #fff;
  border-radius: 6px;
  padding: 4px 10px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.flash-subtitle { margin-top: 5px; color: var(--mute); font-size: 13px; }
.flash-discount { margin-inline-start: auto; padding: 5px 10px; border-radius: 20px; color: #111; background: var(--accent-color); font-size: 12px; }
.section-eyebrow { color: var(--primary-color); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.brand-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 30px; }
.brand-story > img { display: block; width: 100%; max-height: 440px; border-radius: 6px; object-fit: cover; }
.brand-story > img[hidden], .campaign-section video[hidden] { display: none !important; }
.brand-story h2, .campaign-copy h2 { margin: 9px 0 12px; font-size: clamp(24px, 3vw, 42px); }
.brand-story > div > p:not(.section-eyebrow) { margin-bottom: 20px; color: var(--mute); }
.campaign-section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: 24px; }
.campaign-section video { display: block; width: 100%; max-height: 480px; border-radius: 6px; background: #111; object-fit: cover; }
.campaign-section.campaign-video-missing { grid-template-columns: 1fr; }
.lookbook-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.lookbook-item { min-width: 0; }
.lookbook-item .ph { width: 100%; }
.customizer-mode [data-home-section]:hover { outline: 3px solid var(--primary-color); outline-offset: -3px; cursor: crosshair; }
.rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}
.rail .p {
  min-width: 200px;
  max-width: 200px;
  scroll-snap-align: start;
}
.shop {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  align-items: start;
}
.filters {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.filters fieldset {
  border: 0;
}
.filters legend {
  font-weight: 700;
  margin-bottom: 6px;
}
.filters label {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 3px 0;
  font-size: 14px;
}
select.box,
input.box {
  border: 1px solid #dedede;
  border-radius: 6px;
  padding: 9px 10px;
  background: #fff;
  width: 100%;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
  gap: 22px 14px;
}
.p {
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: relative;
  min-width: 0;
}
.p .open {
  text-align: start;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.p .name {
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px;
}
.p .open:hover .name {
  color: var(--rose);
}
.off {
  position: absolute;
  top: 8px;
  inset-inline-start: 8px;
  background: var(--rose);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}
.heart {
  position: absolute;
  top: 6px;
  inset-inline-end: 6px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
}
.heart.on {
  color: var(--rose);
}
.heart.on svg {
  fill: currentColor;
}
.stars {
  color: #b94b00;
  font-size: 13px;
  letter-spacing: 1px;
}
.stars span {
  color: var(--mute);
  letter-spacing: 0;
}
.price {
  font-size: 20px;
  font-weight: 700;
}
.price s {
  font-size: 13px;
  color: var(--mute);
  font-weight: 400;
  margin-inline-start: 6px;
}
.ship {
  font-size: 12.5px;
  color: var(--ok);
}
.p .btn {
  margin-top: auto;
  padding: 7px;
  font-size: 14px;
}
.empty {
  text-align: center;
  padding: 50px 10px;
  color: var(--mute);
}
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.trust div {
  display: flex;
  gap: 12px;
}
.trust svg.i {
  width: 30px;
  height: 30px;
  color: var(--plum2);
}
.trust p {
  font-size: 13.5px;
  color: var(--mute);
}

footer {
  background: var(--plum);
  color: #fff;
  margin-top: 30px;
}
.top {
  width: 100%;
  background: var(--plum2);
  padding: 13px;
  color: #fff;
}
.cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 36px 16px;
}
.cols h3 {
  font-size: 16px;
  margin-bottom: 10px;
}
.cols button {
  display: block;
  padding: 3px 0;
  color: #c2c1ba;
  font-size: 14px;
  text-align: start;
}
.cols button:hover {
  text-decoration: underline;
  color: #fff;
}
.note {
  border-top: 1px solid #ffffff2a;
  padding: 18px;
  text-align: center;
  font-size: 13px;
  color: #c2c1ba;
}

dialog {
  border: 0;
  border-radius: 10px;
  padding: 0;
  width: min(520px, 94vw);
  max-height: 92vh;
  color: var(--ink);
  margin: auto;
}
dialog::backdrop {
  background: #000a;
}
dialog.wide {
  width: min(900px, 94vw);
}
dialog.side {
  margin: 0;
  margin-inline-start: auto;
  height: 100dvh;
  max-height: 100dvh;
  width: min(420px, 100vw);
  border-radius: 0;
}
.dh {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: #fffaf0;
  position: sticky;
  top: 0;
  z-index: 2;
}
.dh h2 {
  font-size: 19px;
}
.dh button {
  font-size: 26px;
  line-height: 1;
  padding: 0 6px;
}
.db {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.db label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 600;
  font-size: 14px;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.pd {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.pd ul {
  padding-inline-start: 18px;
}
.line {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--gold);
  border-radius: 20px;
  margin-inline-end: 10px;
}
.qty button {
  width: 30px;
  height: 28px;
  font-weight: 700;
}
.row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.meter {
  height: 8px;
  background: #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
}
.meter i {
  display: block;
  height: 100%;
  background: var(--ok);
}
.hint {
  font-size: 13px;
  color: var(--mute);
}
#toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  padding: 11px 20px;
  border-radius: 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 99;
  max-width: 92vw;
}
#toast.on {
  opacity: 1;
}
/* keep English text readable inside right-to-left layouts */
[dir="rtl"] :is(h1, h2, p, li, label span, .hint, .ship, #found, .name) {
  unicode-bidi: plaintext;
}
[dir="rtl"] .off,
.stars {
  direction: ltr;
  unicode-bidi: isolate;
}
[dir="rtl"] .stars {
  text-align: right;
}

.banner {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px max(24px, calc((100% - 1400px) / 2));
  min-height: 170px;
}
.banner h1 {
  font-size: clamp(28px, 4vw, 46px);
  margin: 6px 0;
}
.crumbs {
  font-size: 13px;
  display: flex;
  gap: 6px;
}
.crumbs button {
  color: #fff;
  text-decoration: underline;
}
.banner .art {
  display: flex;
  gap: 8px;
}
.banner .art svg {
  width: clamp(70px, 11vw, 140px);
  filter: drop-shadow(0 10px 8px #0005);
}
@media (max-width: 600px) {
  .banner .art {
    display: none;
  }
}
@media (max-width: 1100px) {
  .bar {
    flex-wrap: wrap;
  }
  .search {
    order: 9;
    flex-basis: 100%;
  }
  .logo-b {
    margin-inline-end: auto;
  }
  .tiles {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 760px) {
  header {
    position: static;
  }
  .bar {
    padding: 8px;
    gap: 2px;
  }
  .logo {
    font-size: 22px;
  }
  .acct small,
  .lang small,
  .cart-t,
  .acct b {
    display: none;
  }
  .theme-toggle small,
  .theme-toggle b {
    display: none;
  }
  .theme-toggle {
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 5px;
  }
  .loc {
    order: 10;
    flex-basis: 100%;
  }
  .loc small,
  .loc b {
    display: inline;
    max-width: none;
    margin-inline-end: 4px;
  }
  .search select {
    max-width: 80px;
  }
  .slide {
    padding: 30px 22px 100px;
    min-height: 320px;
  }
  .slide-copy { max-width: 100%; }
  .slide .art,
  .arrow {
    display: none;
  }
  .tiles {
    margin-top: -70px;
    gap: 10px;
  }

  .tile {
    padding: 10px;
  }
  .tile h3 {
    font-size: 15px;
  }
  .shop,
  .pd,
  .two {
    grid-template-columns: 1fr;
  }
  .filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust,
  .cols {
    grid-template-columns: 1fr 1fr;
  }
  .brand-story, .campaign-section { grid-template-columns: 1fr; gap: 15px; }
  .brand-story > img { max-height: 300px; }
  .lookbook-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel {
    padding: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.theme-toggle { color: #fff; }
.theme-toggle > svg { color: #ffca32; }
.theme-toggle:hover { border-color: #f47721; }
body[data-theme="dark"] {
  --ink: #f2f2f2;
  --mute: #b7b7b7;
  --bg: #171717;
  --card: #242424;
  --line: #3a3a3a;
  color-scheme: dark;
}
body[data-theme="dark"] .tile,
body[data-theme="dark"] .panel,
body[data-theme="dark"] dialog {
  color: var(--ink);
  background: var(--card);
}
body[data-theme="dark"] .btn.ghost {
  border-color: #505050;
  color: var(--ink);
  background: #303030;
}
body[data-theme="dark"] .heart {
  color: #f2f2f2;
  background: #303030;
}
body[data-theme="dark"] .dh {
  color: #fff;
  background: #303030;
}
body[data-theme="dark"] .db input,
body[data-theme="dark"] .db select,
body[data-theme="dark"] .db textarea,
body[data-theme="dark"] select.box,
body[data-theme="dark"] input.box {
  border-color: #505050;
  color: #f2f2f2;
  background: #303030;
}
body[data-theme="dark"] .meter { background: #444; }
body[data-theme="dark"] #toast { color: #fff; background: #333; }
body[data-theme="dark"] #sugg { color: #111; }
body[data-theme="dark"] #sugg em { color: #666; }
