/* ==========================================================================
   QAMAR — Maison de Luxe
   Design system & components
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  --ink:        #12110f;
  --ink-2:      #2c2a26;
  --muted:      #7d776d;
  --muted-2:    #a39c90;

  --bone:       #f8f5ef;
  --bone-2:     #efe9de;
  --bone-3:     #e4dbc9;
  --white:      #fffcf7;

  --gold:       #a2805a;
  --gold-2:     #c9a87c;
  --gold-3:     #e6d3b3;

  --dark:       #100f0e;
  --dark-2:     #1a1917;
  --dark-txt:   #f2ede3;

  --line:       rgba(18, 17, 15, 0.13);
  --line-soft:  rgba(18, 17, 15, 0.07);
  --line-dark:  rgba(242, 237, 227, 0.16);

  --serif: "Cormorant Garamond", "Didot", "Bodoni MT", "Times New Roman", Georgia, serif;
  --sans:  "Jost", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --arabic: "Noto Kufi Arabic", "Segoe UI", Tahoma, sans-serif;

  --pad:   clamp(20px, 4.4vw, 76px);
  --maxw:  1480px;
  --hdr:   86px;

  --ease:      cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);

  --shadow: 0 30px 80px -40px rgba(18, 17, 15, 0.45);
}

/* ---------- 2. Reset ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: var(--bone-3) var(--bone);
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }

::selection { background: var(--ink); color: var(--bone); }

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- 3. Type ----------------------------------------------------- */
h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1.02;
}

.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.7rem, 5.6vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.display em { font-style: italic; font-weight: 300; }

.h2 {
  font-size: clamp(1.9rem, 3.4vw, 3.1rem);
  line-height: 1.04;
}

.h3 { font-size: clamp(1.35rem, 2vw, 1.85rem); }

.eyebrow {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.9em;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.eyebrow--plain::before { display: none; }

.lede {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.78;
  color: var(--muted);
  max-width: 48ch;
}

.small {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.tabular { font-variant-numeric: tabular-nums; }

/* ---------- 4. Layout --------------------------------------------------- */
[id] { scroll-margin-top: calc(var(--hdr) + 40px); }
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-block: clamp(64px, 8vw, 130px); }
.section--tight { padding-block: clamp(42px, 5vw, 74px); }
.section--flush { padding-block: 0; }

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px 40px;
  padding-bottom: clamp(26px, 3vw, 46px);
}

.sec-head__left { max-width: 58ch; }
.sec-head__title { margin-top: 16px; }
.sec-head__sub { margin-top: 14px; }

/* ---------- 5. Buttons & links ------------------------------------------ */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--bone);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85em;
  padding: 17px 34px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-bg);
  transition: background 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease);
  overflow: hidden;
  cursor: pointer;
}

.btn span { position: relative; z-index: 1; }

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.55s var(--ease-out);
}

.btn:hover::after { transform: scaleY(1); }
.btn:hover { border-color: var(--gold); color: var(--white); }

.btn--block { width: 100%; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { color: var(--white); }

.btn--light {
  --btn-bg: transparent;
  --btn-fg: var(--dark-txt);
  border-color: var(--line-dark);
}
.btn--light:hover { color: var(--dark); }

.linkline {
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  transition: gap 0.4s var(--ease), color 0.4s var(--ease);
}
.linkline:hover { gap: 1.5em; color: var(--gold); }

.linkline svg { width: 14px; height: 14px; }

/* ---------- 6. Announcement --------------------------------------------- */
.announce {
  position: relative;
  z-index: 60;
  background: var(--ink);
  color: var(--bone-2);
  height: 38px;
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: height 0.5s var(--ease), opacity 0.35s var(--ease);
}

.site-header--solid .announce {
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.announce__track { display: contents; }

.announce__item {
  grid-area: 1 / 1;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
  padding-inline: 20px;
}
.announce__item.is-active { opacity: 1; visibility: visible; }

/* ---------- 7. Header --------------------------------------------------- */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 90;
  transition: transform 0.6s var(--ease-out), background 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--hdr);
  gap: 20px;
}

.site-header--solid {
  background: rgba(248, 245, 239, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-soft);
}

.site-header--solid .site-header__inner { height: 70px; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(13px, 1.7vw, 25px);
}

.nav__link {
  position: relative;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  padding-block: 6px;
  white-space: nowrap;
}

.nav__link::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-end: 0;
  height: 1px;
  width: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform 0.45s var(--ease-out);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  line-height: 1;
}

.logo__mark {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  white-space: nowrap;
}

.logo__sub {
  font-size: 8px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--muted);
  text-indent: 0.36em;
}

.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 1.4vw, 22px);
}

.iconbtn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--ink);
  transition: color 0.4s var(--ease), transform 0.4s var(--ease);
}
.iconbtn:hover { color: var(--gold); transform: translateY(-1px); }
.iconbtn svg { width: 18px; height: 18px; stroke-width: 1.2; }

.iconbtn__count {
  position: absolute;
  inset-block-start: 0;
  inset-inline-end: -2px;
  min-width: 15px;
  height: 15px;
  padding-inline: 3px;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--white);
  font-size: 8.5px;
  letter-spacing: 0;
  border-radius: 999px;
  transition: transform 0.35s var(--ease-out);
}
.iconbtn__count[hidden] { display: none; }
.iconbtn__count.is-bump { transform: scale(1.35); }

.lang-toggle {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  padding: 7px 10px;
  border: 1px solid var(--line);
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
  white-space: nowrap;
}
.lang-toggle:hover { border-color: var(--ink); }

.cur-toggle {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
}
.cur-toggle:hover { color: var(--ink); }

.hamburger { display: none; }

/* ---------- 8. Hero ----------------------------------------------------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  align-items: stretch;
  min-height: min(100svh, 900px);
  padding-block-start: calc(var(--hdr) + 38px);
  background: var(--bone);
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 90px) var(--pad) clamp(48px, 6vw, 90px);
  max-width: 720px;
}

.hero__title { margin-block: 26px 0; }
.hero__title em { display: block; font-style: italic; }

.hero__sub {
  margin-block-start: 28px;
  max-width: 42ch;
  color: var(--muted);
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  margin-block-start: 38px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  margin-block-start: clamp(36px, 5vw, 62px);
  padding-block-start: 24px;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__media {
  position: relative;
  overflow: hidden;
  background: var(--bone-2);
  min-height: 420px;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  will-change: transform;
}

.hero__badge {
  position: absolute;
  inset-block-end: 26px;
  inset-inline-start: 26px;
  padding: 12px 18px;
  background: rgba(248, 245, 239, 0.9);
  backdrop-filter: blur(8px);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ---------- 9. Marquee -------------------------------------------------- */
.houses {
  border-block: 1px solid var(--line);
  background: var(--bone);
  padding-block: 26px;
  overflow: hidden;
}

.marquee { overflow: hidden; direction: ltr; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }

.marquee__track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 46s linear infinite;
}

.marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 44px;
  padding-inline: 22px;
  font-family: var(--serif);
  font-size: clamp(16px, 1.6vw, 22px);
  letter-spacing: 0.16em;
  color: var(--ink-2);
  white-space: nowrap;
  opacity: 0.8;
}

.marquee__item::after {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--gold);
  transform: rotate(45deg);
  opacity: 0.7;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- 10. Product card -------------------------------------------- */
.grid {
  display: grid;
  gap: clamp(18px, 2vw, 34px) clamp(14px, 1.6vw, 26px);
}
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card { position: relative; display: flex; flex-direction: column; }

.card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bone-2);
}

.card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out), opacity 0.7s var(--ease);
}

.card:hover .card__img { transform: scale(1.045); }

.card__img--alt {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s var(--ease);
}
.card:hover .card__img--alt { opacity: 1; }

.card__badge {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  padding: 6px 10px;
  background: rgba(248, 245, 239, 0.92);
  backdrop-filter: blur(6px);
  font-size: 8.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
}
.card__badge--dark { background: rgba(16, 15, 14, 0.86); color: var(--bone-2); }

.card__wish {
  position: absolute;
  inset-block-start: 8px;
  inset-inline-end: 8px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--ink);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), color 0.3s;
}
.card:hover .card__wish { opacity: 1; transform: none; }
.card__wish.is-on { opacity: 1; transform: none; color: #9c2b32; }
.card__wish svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.card__wish.is-on svg { fill: currentColor; }

.card__quick {
  position: absolute;
  inset-inline: 10px;
  inset-block-end: 10px;
  padding: 13px 16px;
  background: rgba(255, 252, 247, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  text-align: center;
  transform: translateY(calc(100% + 12px));
  opacity: 0;
  transition: transform 0.5s var(--ease-out), opacity 0.4s var(--ease), background 0.3s;
  cursor: pointer;
}
.card:hover .card__quick { transform: none; opacity: 1; }
.card__quick:hover { background: var(--ink); color: var(--bone); }

.card__body {
  padding-block-start: 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.card__brand {
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.card__name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.card__price {
  margin-block-start: 2px;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.card__was {
  color: var(--muted-2);
  text-decoration: line-through;
  font-size: 11px;
}

.card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* ---------- 11. Categories ---------------------------------------------- */
.cats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 26px);
}

.cat {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--bone-2);
  aspect-ratio: 3 / 4;
}

.cat img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.6s var(--ease-out), filter 0.8s var(--ease);
  filter: saturate(0.92);
}

.cat:hover img { transform: scale(1.05); filter: saturate(1); }

.cat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 11, 10, 0.62), rgba(12, 11, 10, 0.06) 46%, transparent 72%);
}

.cat__label {
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  z-index: 2;
  padding: clamp(18px, 2.4vw, 34px);
  color: var(--bone);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cat__name {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  line-height: 1.1;
}

.cat__count {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-3);
}

.cat__arrow {
  position: absolute;
  inset-block-end: clamp(18px, 2.4vw, 34px);
  inset-inline-end: clamp(18px, 2.4vw, 34px);
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(242, 237, 227, 0.4);
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--bone);
  transition: background 0.4s var(--ease), border-color 0.4s;
}
.cat:hover .cat__arrow { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.cat__arrow svg { width: 14px; height: 14px; }

/* ---------- 12. Editorial ----------------------------------------------- */
.ed {
  position: relative;
  min-height: clamp(420px, 62vh, 720px);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--dark);
  color: var(--bone);
  padding: clamp(60px, 9vw, 140px) var(--pad);
  text-align: center;
}

.ed__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
  opacity: 0.5;
  filter: saturate(0.6);
}

.ed::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(10, 9, 8, 0.25), rgba(10, 9, 8, 0.8));
}

.ed__inner { position: relative; z-index: 2; max-width: 900px; }

.ed__quote {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.4vw, 3rem);
  line-height: 1.22;
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.015em;
}

.ed__cite {
  margin-block-start: 30px;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-3);
}

.ed .btn { margin-block-start: 40px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 0;
  background: var(--bone-2);
}

.split__media { position: relative; overflow: hidden; min-height: 380px; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }

.split__body {
  padding: clamp(40px, 6vw, 100px) clamp(28px, 5vw, 88px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  background: var(--bone);
}

.split__body .h2 { max-width: 16ch; }

/* ---------- 13. Services ------------------------------------------------ */
.services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.service {
  padding: clamp(26px, 3vw, 46px) clamp(16px, 2vw, 34px) clamp(26px, 3vw, 46px) 0;
  border-inline-end: 1px solid var(--line);
  border-block-end: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service:last-child { border-inline-end: 0; }

.service__num {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.service__title {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.25;
}

.service__desc { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ---------- 14. Press --------------------------------------------------- */
.press {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 40px);
}

.press__item {
  padding-block-start: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.press__quote {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  line-height: 1.35;
  font-style: italic;
}

.press__src {
  font-size: 9.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- 15. Newsletter ---------------------------------------------- */
.news {
  background: var(--dark);
  color: var(--dark-txt);
  padding-block: clamp(56px, 7vw, 110px);
}

.news__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(30px, 5vw, 90px);
  align-items: end;
}

.news .eyebrow { color: var(--gold-2); }
.news .h2 { color: var(--white); }
.news__sub { color: rgba(242, 237, 227, 0.66); margin-block-start: 18px; max-width: 42ch; }

.news__form { display: flex; flex-direction: column; gap: 14px; }

.field {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line-dark);
  padding-block-end: 12px;
  transition: border-color 0.4s var(--ease);
}
.field:focus-within { border-color: var(--gold-2); }

.field input {
  flex: 1;
  background: none;
  border: 0;
  padding: 8px 0;
  font-size: 14px;
  color: var(--white);
  min-width: 0;
}
.field input::placeholder { color: rgba(242, 237, 227, 0.4); }
.field input:focus { outline: none; }

.field__btn {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-2);
  white-space: nowrap;
  padding-block: 8px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, color 0.3s;
}
.field__btn:hover { border-color: currentColor; color: var(--white); }

.news__note { font-size: 11px; color: rgba(242, 237, 227, 0.4); line-height: 1.6; }
.news__ok { color: var(--gold-2); font-size: 12px; letter-spacing: 0.08em; }

/* ---------- 16. Footer -------------------------------------------------- */
.footer {
  background: var(--dark);
  color: var(--dark-txt);
  padding-block-start: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--line-dark);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.3fr 2.2fr;
  gap: clamp(36px, 5vw, 90px);
  padding-block-end: clamp(40px, 5vw, 70px);
}

.footer__brand .logo { align-items: flex-start; }
.footer__brand .logo__mark { font-size: 24px; color: var(--white); }
.footer__brand .logo__sub { color: rgba(242, 237, 227, 0.45); }

.footer__about {
  margin-block-start: 22px;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(242, 237, 227, 0.55);
  max-width: 40ch;
}

.footer__addr {
  margin-block-start: 20px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(242, 237, 227, 0.4);
  line-height: 1.9;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.footer__col h4 {
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-block-end: 18px;
}

.footer__col li + li { margin-block-start: 11px; }

.footer__col a {
  font-size: 12.5px;
  color: rgba(242, 237, 227, 0.62);
  transition: color 0.35s, padding-inline-start 0.35s;
}
.footer__col a:hover { color: var(--white); padding-inline-start: 4px; }

.footer__bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 30px;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: rgba(242, 237, 227, 0.4);
}

.pay {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pay span {
  padding: 5px 9px;
  border: 1px solid var(--line-dark);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242, 237, 227, 0.5);
}

/* ---------- 17. Scrim / Drawer ------------------------------------------ */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(12, 11, 10, 0.5);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.scrim.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  z-index: 110;
  inset-block: 0;
  inset-inline-end: 0;
  width: min(460px, 100vw);
  background: var(--bone);
  display: flex;
  flex-direction: column;
  transform: translateX(101%);
  transition: transform 0.65s var(--ease-out);
  box-shadow: var(--shadow);
}
[dir="rtl"] .drawer { transform: translateX(-101%); }
.drawer.is-open { transform: none !important; }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 26px;
  border-block-end: 1px solid var(--line);
  flex: 0 0 auto;
}

.drawer__title {
  font-family: var(--serif);
  font-size: 22px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.drawer__title span { font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.18em; color: var(--muted); }

.drawer__body {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px 26px;
}

.drawer__foot {
  flex: 0 0 auto;
  padding: 20px 26px 26px;
  border-block-start: 1px solid var(--line);
  background: var(--bone);
}

.drawer__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 60px 0;
  color: var(--muted);
}
.drawer__empty .h3 { color: var(--ink); }

.line-item {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 16px;
  padding-block: 20px;
  border-block-end: 1px solid var(--line-soft);
}
.line-item:last-child { border-block-end: 0; }

.line-item__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bone-2);
}
.line-item__media img { width: 100%; height: 100%; object-fit: cover; }

.line-item__body { display: flex; flex-direction: column; gap: 6px; }

.line-item__brand { font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.line-item__name { font-family: var(--serif); font-size: 16px; line-height: 1.3; }
.line-item__meta { font-size: 11px; color: var(--muted); letter-spacing: 0.06em; }

.line-item__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-block-start: auto;
  padding-block-start: 8px;
}

.line-item__price { font-size: 12.5px; letter-spacing: 0.08em; }

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
}

.qty__btn {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.3s, background 0.3s;
}
.qty__btn:hover { color: var(--ink); background: var(--bone-2); }
.qty__val { min-width: 26px; text-align: center; font-size: 12px; }

.line-item__remove {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  border-bottom: 1px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}
.line-item__remove:hover { color: var(--ink); border-color: var(--ink); }

.totals { display: flex; flex-direction: column; gap: 9px; margin-block-end: 16px; }

.totals__row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.totals__row--total {
  padding-block-start: 12px;
  margin-block-start: 4px;
  border-block-start: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  letter-spacing: 0.1em;
}

.drawer__note {
  margin-block-start: 12px;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  text-align: center;
}

/* ---------- 18. Search overlay ------------------------------------------ */
.search {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: var(--bone);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}
.search.is-open { opacity: 1; visibility: visible; }

.search__inner {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding: clamp(28px, 5vw, 70px) var(--pad);
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.search__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block-end: 22px;
  border-block-end: 1px solid var(--ink);
}

.search__form { display: flex; align-items: center; gap: 16px; flex: 1; min-width: 0; }
.search__form svg { width: 20px; height: 20px; color: var(--muted); flex: 0 0 auto; }

#search-input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: 300;
  padding-block: 6px;
  color: var(--ink);
}
#search-input:focus { outline: none; }
#search-input::placeholder { color: var(--muted-2); }

.search__count {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.search__results {
  margin-block-start: 30px;
  overflow-y: auto;
  overscroll-behavior: contain;
  flex: 1;
}

.search__empty { color: var(--muted); font-size: 14px; padding-block: 20px; }

.search__suggest { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 24px; }

.pill {
  padding: 9px 18px;
  border: 1px solid var(--line);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: all 0.35s var(--ease);
}
.pill:hover, .pill.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bone);
}

/* ---------- 19. Page head (inner pages) --------------------------------- */
.page-head {
  padding-block: calc(var(--hdr) + 56px) clamp(30px, 4vw, 56px);
  border-block-end: 1px solid var(--line);
}

.page-head__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
}

.page-head__title { margin-block-start: 16px; }
.page-head__count { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.crumbs a:hover { color: var(--ink); }
.crumbs span { opacity: 0.5; }

/* ---------- 20. Shop toolbar -------------------------------------------- */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 26px;
  padding-block: 22px;
  border-block-end: 1px solid var(--line);
  position: sticky;
  inset-block-start: 70px;
  z-index: 40;
  background: rgba(248, 245, 239, 0.95);
  backdrop-filter: blur(12px);
}

.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.select {
  appearance: none;
  padding: 10px 34px 10px 14px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2312110f' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 10px;
}
[dir="rtl"] .select { background-position: left 12px center; padding: 10px 14px 10px 34px; }

.shop-grid { padding-block: clamp(30px, 4vw, 54px) clamp(60px, 8vw, 110px); }

.empty-state {
  padding-block: 90px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* ---------- 21. PDP ----------------------------------------------------- */
.pdp {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 4vw, 80px);
  padding-block: clamp(30px, 4vw, 60px) clamp(60px, 7vw, 110px);
  align-items: start;
}

.pdp__gallery { position: sticky; inset-block-start: 96px; }

.pdp__main {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bone-2);
}
.pdp__main img { width: 100%; height: 100%; object-fit: cover; }

.pdp__thumbs { display: flex; gap: 10px; margin-block-start: 10px; }

.pdp__thumb {
  width: 78px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bone-2);
  border: 1px solid transparent;
  transition: border-color 0.35s;
  padding: 0;
}
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumb.is-active { border-color: var(--ink); }

.pdp__info { display: flex; flex-direction: column; gap: 20px; }

.pdp__brand { font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); }

.pdp__title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  line-height: 1.08;
}

.pdp__price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 15px;
  letter-spacing: 0.1em;
}
.pdp__price .was { color: var(--muted-2); text-decoration: line-through; font-size: 13px; }
.pdp__price .save { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }

.pdp__desc { color: var(--muted); font-size: 14px; line-height: 1.8; max-width: 46ch; }

.opt-label {
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-block-end: 10px;
  display: block;
}

.swatches { display: flex; gap: 9px; }

.swatch {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 3px var(--bone);
  transition: box-shadow 0.3s, transform 0.3s;
}
.swatch.is-active { box-shadow: inset 0 0 0 3px var(--bone), 0 0 0 1px var(--ink); transform: scale(1.05); }

.sizes { display: flex; flex-wrap: wrap; gap: 8px; }

.size-btn {
  min-width: 52px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  transition: all 0.3s var(--ease);
}
.size-btn:hover { border-color: var(--ink); }
.size-btn.is-active { background: var(--ink); color: var(--bone); border-color: var(--ink); }

.buy-row { display: flex; gap: 10px; align-items: stretch; }
.buy-row .qty { border-color: var(--line); }
.buy-row .btn { flex: 1; }

.pdp__assure {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-block-start: 22px;
  border-block-start: 1px solid var(--line);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.pdp__assure span { display: flex; align-items: center; gap: 10px; }
.pdp__assure svg { width: 15px; height: 15px; color: var(--gold); flex: 0 0 auto; }

.accordion { border-block-start: 1px solid var(--line); }

.accordion__item { border-block-end: 1px solid var(--line); }

.accordion__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 17px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: start;
}

.accordion__icon {
  position: relative;
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
}
.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.4s var(--ease);
}
.accordion__icon::before { inset-block: 5px; inset-inline: 0; height: 1px; }
.accordion__icon::after { inset-inline: 5px; inset-block: 0; width: 1px; }
.accordion__item.is-open .accordion__icon::after { transform: scaleY(0); }

.accordion__body {
  overflow: hidden;
  height: 0;
  transition: height 0.45s var(--ease-out);
}
.accordion__inner { padding-block-end: 20px; font-size: 13px; color: var(--muted); line-height: 1.8; }
.accordion__inner p + p { margin-block-start: 10px; }

/* ---------- 22. Checkout ------------------------------------------------ */
.checkout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 5vw, 90px);
  padding-block: clamp(20px, 3vw, 45px) clamp(60px, 7vw, 110px);
  align-items: start;
}

.co-section { padding-block: 26px; border-block-end: 1px solid var(--line); }
.co-section:first-child { padding-block-start: 0; }
.co-section__title {
  font-family: var(--serif);
  font-size: 21px;
  margin-block-end: 20px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.co-section__title span { font-family: var(--sans); font-size: 10px; letter-spacing: 0.2em; color: var(--gold); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row + .form-row, .form-row + .form-field, .form-field + .form-row { margin-block-start: 16px; }

.form-field { display: flex; flex-direction: column; gap: 7px; }

.form-field label {
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.input {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 14px;
  transition: border-color 0.3s;
}
.input:focus { outline: none; border-color: var(--ink); }
select.input { cursor: pointer; appearance: none; }

.radio-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
}
.radio-card + .radio-card { margin-block-start: 10px; }
.radio-card:has(input:checked) { border-color: var(--ink); background: var(--white); }

.radio-card input { margin-block-start: 3px; accent-color: var(--ink); }

.radio-card__t { font-size: 13px; letter-spacing: 0.06em; }
.radio-card__s { font-size: 11px; color: var(--muted); letter-spacing: 0.05em; }

.co-summary {
  position: sticky;
  inset-block-start: 96px;
  background: var(--bone-2);
  padding: clamp(22px, 2.4vw, 34px);
}

.co-summary__list { display: flex; flex-direction: column; gap: 16px; margin-block: 20px 22px; max-height: 340px; overflow-y: auto; }

.co-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; }
.co-line__media { aspect-ratio: 4/5; overflow: hidden; background: var(--bone-3); }
.co-line__media img { width: 100%; height: 100%; object-fit: cover; }
.co-line__name { font-size: 12.5px; line-height: 1.4; }
.co-line__meta { font-size: 10px; letter-spacing: 0.1em; color: var(--muted); }
.co-line__price { font-size: 12px; letter-spacing: 0.06em; }

.co-note {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  margin-block-start: 14px;
  text-align: center;
  line-height: 1.6;
}

.co-success {
  max-width: 620px;
  margin-inline: auto;
  padding-block: clamp(60px, 10vw, 140px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.co-success__mark {
  width: 68px;
  height: 68px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--gold);
  margin-block-end: 8px;
}
.co-success__mark svg { width: 26px; height: 26px; }

/* ---------- 23. Toast --------------------------------------------------- */
.toast {
  position: fixed;
  inset-block-end: 26px;
  inset-inline: 0;
  z-index: 130;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.toast__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  background: var(--ink);
  color: var(--bone);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.45s var(--ease-out), opacity 0.35s;
  max-width: calc(100vw - 32px);
}
.toast.is-on .toast__inner { transform: none; opacity: 1; }
.toast__inner svg { width: 15px; height: 15px; color: var(--gold-2); }

/* ---------- 24. Motion -------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: none; }

.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }

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

/* ---------- 25. Arabic tuning ------------------------------------------ */
html[lang="ar"] body { font-family: var(--arabic); font-size: 14.5px; line-height: 1.85; }

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] .display,
html[lang="ar"] .h2,
html[lang="ar"] .h3,
html[lang="ar"] .card__name,
html[lang="ar"] .cat__name,
html[lang="ar"] .ed__quote,
html[lang="ar"] .press__quote,
html[lang="ar"] .pdp__title,
html[lang="ar"] .drawer__title,
html[lang="ar"] .co-section__title,
html[lang="ar"] .service__title {
  font-family: var(--arabic);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.32;
}

html[lang="ar"] .display { line-height: 1.18; }
html[lang="ar"] .hero__title em { font-style: normal; }
html[lang="ar"] .ed__quote { font-style: normal; }
html[lang="ar"] .press__quote { font-style: normal; }

html[lang="ar"] .eyebrow,
html[lang="ar"] .small,
html[lang="ar"] .nav__link,
html[lang="ar"] .btn,
html[lang="ar"] .footer__col h4 { letter-spacing: 0.04em; }

html[lang="ar"] .logo__mark { font-family: var(--arabic); letter-spacing: 0; text-indent: 0; }
html[lang="ar"] .logo__sub { letter-spacing: 0.1em; }

html[lang="ar"] .marquee__item { font-family: var(--arabic); letter-spacing: 0; }

html[lang="ar"] .lede { max-width: 52ch; }

/* ---------- 26. Responsive --------------------------------------------- */
@media (max-width: 1180px) {
  .grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service:nth-child(2) { border-inline-end: 0; }
}

@media (max-width: 1000px) {
  :root { --hdr: 72px; }

  .nav { display: none; }
  .hamburger { display: inline-flex; }

  .site-header__inner { grid-template-columns: 1fr auto 1fr; column-gap: 8px; }
  .hamburger { justify-self: start; }
  .site-header__actions { justify-self: end; }
  .logo { align-items: center; justify-self: center; }
  .logo__mark { font-size: 20px; letter-spacing: 0.28em; }
  .site-header__actions { gap: 6px; }
  .lang-toggle { padding: 6px 8px; font-size: 9.5px; }
  [data-hide-sm] { display: none !important; }

  .hero { grid-template-columns: 1fr; min-height: 0; padding-block-start: calc(var(--hdr) + 20px); }
  .hero__copy { order: 2; padding-inline: var(--pad); }
  .hero__media { order: 1; min-height: 62vh; }
  .hero__meta { margin-block-start: 30px; }

  .split { grid-template-columns: 1fr; }
  .split__media { min-height: 52vw; }

  .news__inner { grid-template-columns: 1fr; align-items: start; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .pdp { grid-template-columns: 1fr; }
  .pdp__gallery { position: static; }

  .checkout { grid-template-columns: 1fr; }
  .co-summary { position: static; order: -1; }

  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .press { grid-template-columns: 1fr; }
  .press__item { padding-block-start: 20px; }
}

@media (max-width: 760px) {
  body { font-size: 14px; }
  .display { font-size: clamp(2.2rem, 9vw, 3.1rem); }

  .grid--4, .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--4 { gap: 22px 12px; }

  .cats { grid-template-columns: 1fr; }
  .cat { aspect-ratio: 4 / 3; }

  .services { grid-template-columns: 1fr; }
  .service { border-inline-end: 0; padding-inline-end: 0; }

  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }

  .card__quick { display: none; }
  .card__name { font-size: 15px; }
  .card__price { font-size: 11.5px; }

  .form-row { grid-template-columns: 1fr; }

  .toolbar { position: static; }

  .announce__item { font-size: 9px; letter-spacing: 0.12em; }

  .ed { min-height: 380px; }

  .pdp__thumbs .pdp__thumb { width: 64px; }

  .search__inner { padding-block-start: 24px; }
}

@media (max-width: 480px) {
  .grid--4, .grid--3 { grid-template-columns: 1fr; gap: 26px; }
  .grid--4 .card__media { aspect-ratio: 1 / 1; }
  .footer__cols { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
}

/* ---------- 27. Print --------------------------------------------------- */
@media print {
  .site-header, .announce, .drawer, .scrim, .search, .toast, .marquee { display: none !important; }
}

/* ---------- 28. RTL direction fixes ------------------------------------- */
[dir="rtl"] .linkline svg,
[dir="rtl"] .cat__arrow svg,
[dir="rtl"] .crumbs svg { transform: scaleX(-1); }


[dir="rtl"] .card__brand,
[dir="rtl"] .line-item__brand,
[dir="rtl"] .pdp__brand,
[dir="rtl"] .press__src { direction: ltr; text-align: end; display: block; }

[dir="rtl"] .logo__mark { letter-spacing: 0.06em; text-indent: 0.06em; }

[dir="rtl"] .hero__title em,
[dir="rtl"] .ed__quote { font-style: normal; }








