/* SERÊVE prototype styles. Uses logical properties so the same CSS works LTR and RTL. */
:root {
  --wine: #4a1232;
  --wine-dark: #400e2b; /* exact plum from the Instagram logo */
  --wine-soft: #f3e4e4;
  --cream: #fbf6f0;
  --sand: #f3e9df;
  --line: #e6d8cc;
  --gold: #a87c3e;
  --ink: #2a1a1e;
  --muted: #65555a;
  --white: #fff;
  --ok: #2f6b4f;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(67, 17, 31, .12);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', 'Segoe UI', system-ui, sans-serif;
  --wrap: 1200px;
  --gutter: 16px;
}
:lang(ar) {
  --font-display: 'Amiri', 'Times New Roman', serif;
  --font-body: 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.55;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; margin: 0; color: var(--wine); }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3 { line-height: 1.35; font-weight: 700; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dir-icon { transition: transform .2s; }
[dir="rtl"] .dir-icon { transform: scaleX(-1); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.eyebrow {
  font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); font-weight: 500;
}
:lang(ar) .eyebrow { letter-spacing: 0; font-size: 15px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border: 1px solid var(--wine); border-radius: var(--radius);
  background: var(--wine); color: var(--white); text-decoration: none;
  font-size: 14px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  transition: background .2s, color .2s, opacity .2s;
}
:lang(ar) .btn { letter-spacing: 0; font-size: 16px; }
.btn:hover { background: var(--wine-dark); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--wine); }
.btn-ghost:hover { background: var(--wine); color: var(--white); }
.btn-block { width: 100%; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; color: var(--wine); font-size: 14px;
  font-weight: 500; text-decoration: none; letter-spacing: .06em; text-transform: uppercase;
  min-height: 44px;
}
:lang(ar) .link-arrow { letter-spacing: 0; font-size: 15px; }
.link-arrow:hover { text-decoration: underline; }

/* Top bar */
.topbar { background: var(--wine-dark); color: #f6e9e3; font-size: 13px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar .tb-left { display: none; }
.topbar .tb-center { flex: 1; text-align: start; }
@media (min-width: 900px) {
  .topbar .tb-left { display: block; }
  .topbar .tb-center { text-align: center; }
}
.lang-switch { display: flex; gap: 2px; align-items: center; }
.lang-switch button {
  background: none; border: 0; color: inherit; padding: 6px 8px; min-height: 32px; border-radius: 3px; font-size: 13px;
}
.lang-switch button[aria-pressed="true"] { background: rgba(255,255,255,.16); font-weight: 600; }
.lang-switch button:disabled { opacity: .5; cursor: not-allowed; }
.lang-switch .cur { padding-inline-start: 10px; margin-inline-start: 6px; border-inline-start: 1px solid rgba(255,255,255,.3); }

/* Header */
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: var(--cream); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; }
/* Wordmark rebuilt from the Instagram logo: high-contrast serif caps with a small
   lowercase e carrying a diamond ornament. Replace with the designer's SVG when available. */
.logo {
  font-family: 'Playfair Display', 'Bodoni MT', Didot, Georgia, serif; font-size: 32px; color: var(--wine-dark);
  text-decoration: none; letter-spacing: -.02em; font-weight: 500; line-height: 1; white-space: nowrap;
  display: inline-flex; align-items: baseline; font-style: normal;
}
.logo-e { position: relative; font-size: .96em; margin-inline: .01em .03em; }
.logo-e svg { position: absolute; left: 52%; top: .04em; width: .3em; height: .3em; transform: translateX(-50%); }
@media (min-width: 900px) { .logo { font-size: 44px; } }
.nav { display: none; }
@media (min-width: 1000px) {
  .nav { display: flex; gap: 4px; margin-inline-start: 24px; }
  .nav a, .nav button {
    background: none; border: 0; text-decoration: none; font-size: 15px; padding: 10px 12px; color: var(--ink);
    min-height: 44px; display: inline-flex; align-items: center; gap: 4px; border-radius: var(--radius);
  }
  .nav a:hover, .nav button:hover { color: var(--wine); background: var(--sand); }
}
.nav-dd { position: relative; }
.nav-dd-menu {
  position: absolute; top: 100%; inset-inline-start: 0; min-width: 260px; background: var(--white);
  box-shadow: var(--shadow); border-radius: var(--radius); padding: 8px; display: none; z-index: 5;
}
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu { display: block; }
.nav-dd-menu a { display: flex; width: 100%; }
.header-search { display: none; flex: 1; max-width: 340px; margin-inline-start: auto; position: relative; }
@media (min-width: 1100px) { .header-search { display: block; } }
.header-search input {
  width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 999px; background: var(--white);
  padding-inline: 18px 46px; font-size: 14px;
}
.header-search button {
  position: absolute; inset-inline-end: 4px; top: 4px; width: 36px; height: 36px; border: 0; background: none; color: var(--wine);
  display: grid; place-items: center;
}
.header-icons { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
@media (min-width: 1100px) { .header-icons { margin-inline-start: 8px; } }
.icon-btn {
  position: relative; width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0;
  color: var(--wine); border-radius: 50%; text-decoration: none;
}
.icon-btn:hover { background: var(--sand); }
.icon-btn .badge {
  position: absolute; top: 4px; inset-inline-end: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px;
  background: var(--wine); color: var(--white); font-size: 11px; line-height: 18px; text-align: center; font-weight: 600;
}
.icon-btn .badge:empty { display: none; }
.menu-btn { margin-inline-start: -10px; }
@media (min-width: 1000px) { .menu-btn { display: none; } }
.only-mobile-search { display: grid; }
@media (min-width: 1100px) { .only-mobile-search { display: none; } }
.mobile-search { display: none; padding: 0 var(--gutter) 12px; }
.mobile-search.open { display: block; }
.mobile-search form { position: relative; }
.mobile-search input {
  width: 100%; height: 46px; border: 1px solid var(--line); border-radius: 999px; padding-inline: 18px 48px; background: var(--white);
}
.mobile-search button { position: absolute; inset-inline-end: 4px; top: 4px; width: 38px; height: 38px; border: 0; background: none; color: var(--wine); display: grid; place-items: center; }

/* Drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(42, 26, 30, .45); z-index: 60; display: none; }
.drawer-backdrop.open { display: block; }
.drawer {
  position: fixed; top: 0; bottom: 0; inset-inline-start: 0; width: min(86vw, 360px); background: var(--cream); z-index: 61;
  transform: translateX(-100%); transition: transform .25s; display: flex; flex-direction: column; overflow-y: auto;
}
[dir="rtl"] .drawer { transform: translateX(100%); }
.drawer.open { transform: none !important; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 12px var(--gutter); border-bottom: 1px solid var(--line); }
.drawer nav { padding: 8px 0; }
.drawer nav a, .drawer nav button {
  display: flex; width: 100%; min-height: 52px; align-items: center; padding: 0 var(--gutter); text-decoration: none;
  font-size: 17px; border: 0; background: none; text-align: start; border-bottom: 1px solid var(--line);
}
.drawer nav .sub { padding-inline-start: calc(var(--gutter) + 14px); font-size: 15px; color: var(--muted); }

/* Hero */
.hero { background: linear-gradient(180deg, var(--sand), var(--cream)); }
.hero .wrap { display: grid; gap: 28px; padding-block: 0 36px; }
.hero-media { order: -1; margin-inline: calc(var(--gutter) * -1); aspect-ratio: 4 / 3.4; overflow: hidden; }
.hero-media .ph { width: 100%; height: 100%; }
.hero-copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.hero h1 { font-size: clamp(42px, 9vw, 84px); }
.hero-copy p { font-size: 18px; max-width: 36ch; color: var(--muted); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr 1fr; align-items: center; padding-block: 48px; gap: 48px; }
  .hero-media { order: 0; margin: 0; aspect-ratio: 4 / 4.4; border-radius: var(--radius); }
}

/* Trust bar */
.trust { border-block: 1px solid var(--line); background: var(--white); }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); }
.trust li { display: flex; gap: 12px; align-items: center; padding: 16px 8px; font-size: 14px; color: var(--ink); }
.trust li svg { flex: none; color: var(--wine); }

@media (min-width: 900px) {
  .trust ul { grid-template-columns: repeat(4, 1fr); }
  .trust li { justify-content: center; }
  .trust li:last-child { grid-column: auto; }
}

/* Sections */
.section { padding-block: 48px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-head h2 { font-size: clamp(30px, 4vw, 40px); }

/* Collection tiles: grid on desktop, swipe row with a peeking card on mobile */
.tiles {
  display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 12px; overflow-x: auto;
  scroll-snap-type: x mandatory; padding-bottom: 6px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  scrollbar-width: none;
}
.tiles::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
  .tiles { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0; }
}
.tile {
  position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden;
  scroll-snap-align: start; text-decoration: none; color: var(--white);
}
.tile .ph { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .4s; }
.tile:hover .ph { transform: scale(1.04); }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(30, 8, 14, .78)); }
.tile-body { position: absolute; inset-inline: 0; bottom: 0; padding: 18px; z-index: 1; }
.tile-body h3 { color: var(--white); font-size: 28px; margin-bottom: 8px; }
.tile-body span { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; display: inline-flex; gap: 6px; align-items: center; }
:lang(ar) .tile-body span { letter-spacing: 0; font-size: 15px; }

/* Product cards */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 32px 20px; } }
@media (min-width: 768px) { .grid.g4 { grid-template-columns: repeat(4, 1fr); gap: 32px 16px; } }
.card { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.card-media { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.card-media a { display: block; width: 100%; height: 100%; }
.card-media .ph { width: 100%; height: 100%; transition: transform .4s; }
.card:hover .card-media .ph { transform: scale(1.03); }
.wish-btn {
  position: absolute; top: 8px; inset-inline-end: 8px; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .9); color: var(--wine); display: grid; place-items: center;
}
.wish-btn[aria-pressed="true"] svg { fill: var(--wine); }
.mto-badge {
  position: absolute; bottom: 8px; inset-inline-start: 8px; background: rgba(255, 255, 255, .92); color: var(--wine);
  font-size: 12px; padding: 4px 10px; border-radius: 999px; font-weight: 500;
}
.card h3 { font-family: var(--font-body); font-size: 16px; font-weight: 500; color: var(--ink); line-height: 1.3; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--wine); }
.price { font-weight: 600; color: var(--ink); }
.card .price { font-size: 16px; }
.swatches { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.swatch {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid transparent; padding: 3px; background: none;
  display: grid; place-items: center;
}
.swatch span { width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.swatch[aria-pressed="true"] { border-color: var(--wine); }
.swatch:hover { border-color: var(--line); }
.card .meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.card .btn { min-height: 44px; padding: 0 12px; font-size: 13px; width: 100%; }

/* Made-to-order steps */
.steps { display: grid; gap: 16px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.step-num { font-family: var(--font-display); font-size: 40px; color: var(--gold); line-height: 1; }
.step h3 { font-size: 26px; }
.step p { color: var(--muted); }

/* Story band */
.story { display: grid; }

.story-video { position: relative; min-height: 300px; overflow: hidden; color: var(--white); display: flex; align-items: flex-end; }
.story-video .ph { position: absolute; inset: 0; width: 100%; height: 100%; }
.story-video::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 8, 14, .1), rgba(30, 8, 14, .75)); }
.story-video .inner { position: relative; z-index: 1; padding: 32px var(--gutter); display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.story-video h2 { color: var(--white); font-size: 32px; max-width: 14ch; }
.play { width: 64px; height: 64px; border-radius: 50%; border: 0; background: var(--white); color: var(--wine); display: grid; place-items: center; flex: none; }
.story-text { background: var(--wine-soft); padding: 48px var(--gutter); display: flex; flex-direction: column; gap: 16px; justify-content: center; align-items: center; text-align: center; }
.story-text p { margin-inline: auto; }
.story-text h2 { font-size: clamp(32px, 4vw, 44px); }
.story-text p { max-width: 52ch; color: var(--ink); }
@media (min-width: 900px) { .story-text { padding: 64px; } .story-video .inner { padding: 48px; } }

/* Footer */
.footer { background: var(--wine-dark); color: #f3e5df; margin-top: 0; }
.footer a { color: #f3e5df; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer .news { border-bottom: 1px solid rgba(255, 255, 255, .14); padding-block: 40px; display: grid; gap: 16px; }
@media (min-width: 900px) { .footer .news { grid-template-columns: 1fr 1fr; align-items: center; } }
.footer .news h2 { color: var(--white); font-size: 32px; }
.footer .news form { display: flex; gap: 8px; flex-wrap: wrap; }
.footer .news input {
  flex: 1 1 220px; height: 48px; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .08); color: var(--white); padding-inline: 16px;
}
.footer .news input::placeholder { color: rgba(255, 255, 255, .7); }
.footer .news .btn { background: var(--white); color: var(--wine); border-color: var(--white); }
.footer .cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 16px; padding-block: 40px; }
@media (min-width: 900px) { .footer .cols { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer h3 { font-family: var(--font-body); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: 12px; font-weight: 600; }
:lang(ar) .footer h3 { letter-spacing: 0; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer li a { display: inline-flex; min-height: 36px; align-items: center; }
.footer .brand-col { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 900px) { .footer .brand-col { grid-column: auto; } }
.footer .brand-col .logo { color: #fff0f6; --logo-bg: var(--wine-dark); font-size: 40px; }
.socials { display: flex; gap: 8px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); display: grid; place-items: center; }
.pay-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-chip { background: var(--white); color: var(--ink); border-radius: 4px; padding: 4px 10px; font-size: 12px; font-weight: 600; }
.footer .legal { border-top: 1px solid rgba(255, 255, 255, .14); padding-block: 20px; font-size: 13px; display: flex; flex-direction: column; gap: 6px; color: rgba(255, 255, 255, .78); }

/* Floating WhatsApp */
.wa-float {
  position: fixed; bottom: 18px; inset-inline-end: 18px; z-index: 50; width: 56px; height: 56px; border-radius: 50%;
  background: #1f8f4e; color: var(--white); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}

/* Prototype ribbon */
.proto-note { background: #fff4d6; color: #5b4300; font-size: 13px; text-align: center; padding: 8px var(--gutter); }

/* Breadcrumb */
.crumbs { font-size: 14px; color: var(--muted); padding-block: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); }

/* Collection page */
.page-head { padding-block: 8px 24px; display: flex; flex-direction: column; gap: 6px; }
.page-head h1 { font-size: clamp(36px, 5vw, 56px); }
.filters { display: flex; flex-direction: column; gap: 14px; padding-block: 16px; border-block: 1px solid var(--line); margin-bottom: 24px; }
.filter-row { display: flex; gap: 8px; align-items: center; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.filter-row::-webkit-scrollbar { display: none; }
.filter-label { font-size: 13px; color: var(--muted); flex: none; min-width: 80px; }
.chip {
  flex: none; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white);
  font-size: 14px; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
}
.chip[aria-pressed="true"] { background: var(--wine); border-color: var(--wine); color: var(--white); }
.chip .dot { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2); }
.filters-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.filters-bottom select { height: 44px; border: 1px solid var(--line); border-radius: var(--radius); padding-inline: 12px; background: var(--white); }
.empty { padding: 48px 0; text-align: center; color: var(--muted); display: flex; flex-direction: column; gap: 16px; align-items: center; }

/* Product page */
.pdp { display: grid; gap: 28px; padding-bottom: 48px; }
@media (min-width: 900px) { .pdp { grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; } }
.gallery { display: grid; gap: 10px; }
@media (min-width: 900px) { .gallery { position: sticky; top: 90px; } }
.gallery-main { aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.gallery-main .ph { width: 100%; height: 100%; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.thumb { aspect-ratio: 3 / 4; padding: 0; border: 2px solid transparent; border-radius: var(--radius); overflow: hidden; background: none; }
.thumb[aria-pressed="true"] { border-color: var(--wine); }
.thumb .ph { width: 100%; height: 100%; }
.pdp-info { display: flex; flex-direction: column; gap: 22px; }
.pdp-info h1 { font-size: clamp(36px, 5vw, 52px); }
.pdp-price { font-size: 24px; font-weight: 600; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.pdp-price small { font-size: 13px; font-weight: 400; color: var(--muted); }
.mto-box { display: flex; gap: 12px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.mto-box svg { color: var(--gold); flex: none; margin-top: 2px; }
.mto-box strong { display: block; color: var(--wine); }
.mto-box span { color: var(--muted); font-size: 14px; }
.opt-label { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 15px; }
.opt-label b { font-weight: 600; }
.opt-label .text-btn { background: none; border: 0; color: var(--wine); text-decoration: underline; display: inline-flex; gap: 6px; align-items: center; min-height: 44px; padding: 0; }
.pdp .swatch { width: 44px; height: 44px; }
.sizes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.size-btn {
  min-height: 48px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); font-size: 15px; font-weight: 500;
}
.size-btn:hover { border-color: var(--wine); }
.size-btn[aria-pressed="true"] { background: var(--wine); color: var(--white); border-color: var(--wine); }
.size-hint { color: #9b2c2c; font-size: 14px; margin-top: 8px; min-height: 1em; }
details.measure { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
details.measure summary { padding: 14px 16px; cursor: pointer; min-height: 48px; font-weight: 500; }
.measure-fields { padding: 0 16px 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.measure-fields label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--muted); }
.measure-fields label.full { grid-column: 1 / -1; }
.field input, .field textarea, .measure-fields input, .measure-fields textarea {
  height: 46px; border: 1px solid var(--line); border-radius: var(--radius); padding-inline: 12px; background: var(--cream); width: 100%;
}
.measure-fields textarea, .field textarea { height: 76px; padding-block: 10px; resize: vertical; }
.buy-row { display: flex; gap: 10px; }
.qty { display: flex; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); flex: none; }
.qty button { width: 44px; border: 0; background: none; font-size: 20px; color: var(--wine); }
.qty output { width: 36px; display: grid; place-items: center; font-weight: 600; }
.buy-row .btn { flex: 1; }
.wa-link { display: inline-flex; gap: 10px; align-items: center; color: var(--ok); font-weight: 500; min-height: 44px; text-decoration: none; }
.wa-link:hover { text-decoration: underline; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 56px; font-weight: 500; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font-size: 22px; color: var(--wine); }
.acc details[open] summary::after { content: '−'; }
.acc details p { padding-bottom: 16px; color: var(--muted); }

/* Toast */
.toast {
  position: fixed; bottom: 86px; inset-inline: 16px; margin-inline: auto; max-width: 420px; z-index: 70;
  background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 14px 16px; display: flex;
  align-items: center; justify-content: space-between; gap: 12px; box-shadow: var(--shadow);
  transform: translateY(20px); opacity: 0; pointer-events: none; transition: all .25s;
}
.toast.show { transform: none; opacity: 1; pointer-events: auto; }
.toast a { color: #f2d9a8; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }

/* Modal */
.modal-backdrop { position: fixed; inset: 0; background: rgba(42, 26, 30, .5); z-index: 80; display: none; align-items: flex-end; justify-content: center; }
.modal-backdrop.open { display: flex; }
@media (min-width: 700px) { .modal-backdrop { align-items: center; } }
.modal { background: var(--cream); width: 100%; max-width: 620px; max-height: 90vh; overflow-y: auto; border-radius: 12px 12px 0 0; padding: 24px var(--gutter) 32px; }
@media (min-width: 700px) { .modal { border-radius: 8px; padding: 32px; } }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.modal-head h2 { font-size: 34px; }
.modal p { color: var(--muted); margin-bottom: 16px; }
table.sg { width: 100%; border-collapse: collapse; background: var(--white); font-size: 15px; margin-bottom: 16px; }
table.sg th, table.sg td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: center; }
table.sg th { background: var(--sand); font-weight: 600; }

/* Cart & checkout */
.cart { display: grid; gap: 32px; padding-bottom: 56px; }
@media (min-width: 900px) { .cart { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.cart-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cart-item { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.cart-item .ph { width: 96px; height: 128px; border-radius: var(--radius); }
.cart-item h3 { font-family: var(--font-body); font-size: 17px; font-weight: 500; color: var(--ink); }
.cart-item h3 a { text-decoration: none; }
.cart-item .sub { color: var(--muted); font-size: 14px; }
.cart-item .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.cart-item .qty { height: 44px; }
.remove-btn { background: none; border: 0; color: var(--muted); text-decoration: underline; min-height: 44px; padding: 0; }
.summary { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 900px) { .summary { position: sticky; top: 90px; } }
.summary h2 { font-size: 30px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; }
.sum-row.total { font-size: 20px; font-weight: 600; border-top: 1px solid var(--line); padding-top: 14px; }
.radio-group { display: grid; gap: 8px; }
.radio {
  display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 14px;
  min-height: 52px; background: var(--white); cursor: pointer;
}
.radio:has(input:checked) { border-color: var(--wine); box-shadow: inset 0 0 0 1px var(--wine); }
.radio input { accent-color: var(--wine); width: 18px; height: 18px; }
.radio .end { margin-inline-start: auto; color: var(--muted); font-size: 14px; }
.progress { height: 6px; background: var(--sand); border-radius: 3px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--gold); }
.free-note { font-size: 14px; color: var(--muted); }
.checkout-form { display: flex; flex-direction: column; gap: 28px; }
.checkout-form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; }
.checkout-form legend { font-family: var(--font-display); font-size: 28px; color: var(--wine); margin-bottom: 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--muted); }
.field.full { grid-column: 1 / -1; }
.field input { background: var(--white); }
.demo-note { font-size: 13px; color: #5b4300; background: #fff4d6; padding: 10px 12px; border-radius: var(--radius); }
.done { text-align: center; padding: 64px 0; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.done svg { color: var(--ok); }
.done p { max-width: 50ch; color: var(--muted); }

/* Placeholder note on images */
.ph-wrap { position: relative; }

/* Real photos */
img.ph { object-fit: cover; object-position: center top; background: var(--sand); }
img.ph-detail { transform: scale(2.2); transform-origin: 50% 40%; }
.gallery-main, .thumb { overflow: hidden; }
.colour-name { font-size: 14px; color: var(--muted); }
.drawer .logo { --logo-bg: var(--cream); }
.colour-name { display: inline-flex; align-items: center; gap: 6px; }
.dot-mini { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); flex: none; }
.play { text-decoration: none; transition: transform .2s; }
.play:hover { transform: scale(1.06); }
.video-text { display: flex; flex-direction: column; gap: 10px; }
.video-link { color: var(--white); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; display: inline-flex; gap: 6px; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
:lang(ar) .video-link { letter-spacing: 0; font-size: 15px; }

/* Signature Collection slider (homepage) */
.tiles-slider { position: relative; }
@media (min-width: 768px) {
  .tiles-slider .tiles { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: calc((100% - 24px) / 3); overflow-x: auto; scroll-snap-type: x mandatory; }
}
.tiles-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--wine); display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, .18); transition: background .2s; }
.tiles-nav:hover { background: #fff; }
.tiles-prev { inset-inline-start: 10px; }
.tiles-next { inset-inline-end: 10px; }
[dir="rtl"] .tiles-nav svg { transform: scaleX(-1); }
@media (max-width: 767px) { .tiles-nav { display: none; } }

/* Our Story image */
.story-media { margin: 0; background: #faf5ef; display: flex; align-items: center; justify-content: center; padding: 24px var(--gutter); }
.story-media img { display: block; width: auto; max-width: 100%; height: auto; max-height: min(85vh, 760px); }
.story-text { order: -1; }
@media (min-width: 900px) {
  .story-media { padding: 48px 40px 56px; }
}

/* Our Story map lightbox */
.story-media img[data-story-map] { cursor: zoom-in; }
.map-lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(30, 8, 14, .82); display: flex; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; animation: mapFade .25s ease; }
.map-lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: var(--radius); box-shadow: 0 10px 40px rgba(0, 0, 0, .35); cursor: default; }
.map-lightbox-close { position: absolute; top: 14px; inset-inline-end: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--wine); font-size: 28px; line-height: 1; cursor: pointer; }
@keyframes mapFade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .map-lightbox { animation: none; } }

/* Story viewer arrows and counter */
.map-lightbox img { cursor: pointer; }
.map-lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--wine); display: grid; place-items: center; cursor: pointer; z-index: 2; }
.map-lightbox-prev { inset-inline-start: 14px; }
.map-lightbox-next { inset-inline-end: 14px; }
[dir="rtl"] .map-lightbox-nav svg { transform: scaleX(-1); }
.map-lightbox-count { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 13px; letter-spacing: .1em; }
@media (max-width: 600px) { .map-lightbox-nav { width: 38px; height: 38px; } .map-lightbox { padding: 56px 12px 40px; } }