/* ==========================================================================
   Lammah لمـاح — coffee • music • people
   Brand colors sampled from the logo: red #CC4131, navy #171649.
   Supporting tones from the shop interior: amber shelf light, cream album
   sleeves. ONE fixed palette — the site deliberately does not change with
   the visitor's dark-mode setting.
   ========================================================================== */

:root {
  --cream: #F4EADB;
  --cream-deep: #EBDDC7;
  --paper: #FBF5EC;
  --espresso: #171649;      /* brand navy */
  --espresso-soft: #24235E;
  --gold: #CC4131;          /* brand red — primary accent */
  --gold-deep: #A8321F;
  --gold-tint: #F6DDD3;
  --rose: #E39B2D;          /* amber shelf light */
  --rose-deep: #9A5A14;
  --rose-tint: #F5E2C0;
  --ink: #171649;
  --ink-soft: #57557A;
  --border: rgba(23, 22, 73, 0.14);
  --shadow-color: 23, 22, 73;

  --font-display-ar: 'El Messiri', 'IBM Plex Sans Arabic', sans-serif;
  --font-display-en: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 0.2s;
  --dur-base: 0.5s;
  --dur-slow: 0.9s;

  --container: 1180px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

body {
  min-height: 100dvh;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}

html[dir="rtl"] body { font-family: 'IBM Plex Sans Arabic', var(--font-body); }

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

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

@media (min-width: 768px) {
  .container { padding-inline: 40px; }
}

h1, h2, h3 { text-wrap: balance; font-weight: 700; color: var(--ink); }

[lang-display="ar"], html[data-lang="ar"] .display { font-family: var(--font-display-ar); }
html[data-lang="ar"] .display { font-weight: 700; letter-spacing: 0; }
html[data-lang="en"] .display { font-family: var(--font-display-en); font-weight: 600; font-style: italic; }

img[loading="lazy"] { opacity: 0; transition: opacity 0.5s var(--ease-out); }
img[loading="lazy"].img-loaded { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  img[loading="lazy"] { opacity: 1; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
html[data-lang="ar"] .eyebrow { letter-spacing: 0.02em; text-transform: none; font-size: 14px; }

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--rose);
}

.section { padding: 88px 0; position: relative; }
@media (max-width: 640px) { .section { padding: 64px 0; } }

.section-head {
  max-width: 620px;
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.section-head.center { margin-inline: auto; text-align: center; align-items: center; }

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.25;
}

.section-sub { color: var(--ink-soft); font-size: 16.5px; max-width: 52ch; }

.on-dark { --cream: var(--espresso); }
.band-dark {
  background: var(--espresso);
  color: #F3E9DD;
}
.band-dark .section-sub { color: #C9C6DD; }
.band-dark .eyebrow { color: var(--rose); }
.band-dark .eyebrow::before { background: var(--gold); }
.band-dark h2, .band-dark h3 { color: #F9F2E7; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--gold);
  color: #FBF6EF;
  box-shadow: 0 10px 24px -12px rgba(204, 65, 49, 0.6);
}
.btn-primary:hover { background: var(--gold-deep); box-shadow: 0 14px 30px -12px rgba(204, 65, 49, 0.65); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--ink); }
.band-dark .btn-ghost { color: #F3E9DD; border-color: rgba(243,233,221,0.28); }
.band-dark .btn-ghost:hover { border-color: #F3E9DD; }

.btn-sm { padding: 10px 18px; font-size: 13.5px; }

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), backdrop-filter var(--dur-fast) var(--ease-out);
}
.site-header.scrolled {
  padding: 12px 0;
  background: rgba(var(--shadow-color), 0.04);
  background-color: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 var(--border);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.brand { display: flex; align-items: center; gap: 12px; }
/* wide wordmark logo (802x291, red block with navy "Lammah") */
.brand-mark { height: 40px; width: auto; flex-shrink: 0; border-radius: 6px; box-shadow: 0 6px 16px -10px rgba(var(--shadow-color), 0.6); }
.footer-logo { height: 52px; }
.brand-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.brand-name {
  font-family: var(--font-display-ar);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
html[data-lang="en"] .brand-name { font-family: var(--font-display-en); font-size: 21px; letter-spacing: 0.02em; }
.brand-sub { display: block; font-size: 10.5px; letter-spacing: 0.1em; color: var(--ink-soft); text-transform: uppercase; margin-top: 3px; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color var(--dur-fast), background var(--dur-fast);
}
.main-nav a:hover { color: var(--ink); background: rgba(var(--shadow-color), 0.05); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.lang-toggle {
  display: inline-flex;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.lang-toggle button {
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-soft);
  transition: background var(--dur-fast), color var(--dur-fast);
}
.lang-toggle button[aria-pressed="true"] { background: var(--espresso); color: var(--cream); }

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
}

@media (max-width: 920px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  padding: 100px 28px 40px;
  gap: 6px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.mobile-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-nav a {
  font-size: 22px;
  font-weight: 700;
  padding: 14px 4px;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.mobile-nav.open a { opacity: 1; transform: translateY(0); }
.mobile-nav a:nth-child(1) { transition-delay: 0.05s; }
.mobile-nav a:nth-child(2) { transition-delay: 0.1s; }
.mobile-nav a:nth-child(3) { transition-delay: 0.15s; }
.mobile-nav a:nth-child(4) { transition-delay: 0.2s; }
.mobile-nav a:nth-child(5) { transition-delay: 0.25s; }
.mobile-nav .btn { margin-top: 20px; align-self: flex-start; opacity: 0; transform: translateY(10px); transition: opacity 0.4s var(--ease-out) 0.3s, transform 0.4s var(--ease-out) 0.3s; }
.mobile-nav.open .btn { opacity: 1; transform: translateY(0); }

/* ---------- Hero ----------
   "Now playing" hero: the shop photo fills the background under a warm
   espresso shade (keeps the amber shelf light instead of turning it purple),
   a big record with a tonearm spins half off the end edge, and the intro is
   a frosted music-player card — logo as album art, Lammah as the artist,
   moving progress bar, and a red play button that opens the menu. */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 110px 0 150px; /* more room below than above = optically centred card */
  overflow: hidden;
  background: #160B06;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(22, 11, 6, 0.92) 0%, rgba(22, 11, 6, 0.76) 38%, rgba(22, 11, 6, 0.28) 70%, rgba(22, 11, 6, 0.1) 100%),
    linear-gradient(0deg, rgba(22, 11, 6, 0.6) 0%, transparent 30%);
}
html[dir="rtl"] .hero-scrim {
  background:
    linear-gradient(270deg, rgba(22, 11, 6, 0.92) 0%, rgba(22, 11, 6, 0.76) 38%, rgba(22, 11, 6, 0.28) 70%, rgba(22, 11, 6, 0.1) 100%),
    linear-gradient(0deg, rgba(22, 11, 6, 0.6) 0%, transparent 30%);
}

.hero-inner { position: relative; z-index: 2; width: 100%; }

/* --- record + tonearm ---
   .hero-vinyl positions (no transform, so motion settings can't move it),
   .hero-vinyl-disc spins, .tonearm stays still on the visible half. */
.hero-vinyl {
  --size: min(44vw, 560px);
  position: absolute;
  z-index: 1;
  top: calc(50% - var(--size) / 2);
  inset-inline-end: calc(var(--size) * -0.42);
  width: var(--size);
  aspect-ratio: 1;
  opacity: 0;
  animation: fade-in 1.2s var(--ease-out) 0.3s forwards;
}
.hero-vinyl-disc {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 31%, rgba(255, 255, 255, 0.07) 31.5% 32%, transparent 32.5%),
    repeating-radial-gradient(circle at 50% 50%, #141416 0 2px, #222226 2px 3.5px);
  box-shadow: 0 40px 70px -20px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spin 9s linear infinite;
}
.hero-vinyl-disc::after { /* sheen */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 30deg, transparent 0 12%, rgba(255, 255, 255, 0.1) 16%, transparent 22% 62%, rgba(255, 255, 255, 0.08) 66%, transparent 72%);
}
.hero-vinyl-label {
  width: 34%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gold);
  color: var(--espresso);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display-en);
  font-style: italic;
  font-weight: 700;
  font-size: calc(var(--size) * 0.11);
  line-height: 1;
  position: relative;
}
.hero-vinyl-label::after { /* spindle hole */
  content: "";
  position: absolute;
  width: 9%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #141416;
  bottom: 18%;
}

.tonearm { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
html[dir="rtl"] .tonearm { transform: scaleX(-1); }
.tonearm-pivot {
  position: absolute;
  left: -1%;
  top: -5%;
  width: 14%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #F6F2EA, #A39E94 58%, #57534C);
  box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.75);
}
.tonearm-arm {
  position: absolute;
  left: 5%;
  top: 1%;
  width: 2.4%;
  height: 52%;
  border-radius: 4px;
  background: linear-gradient(90deg, #8D887F, #F1EDE6 45%, #9A958C);
  transform-origin: 50% 0;
  transform: rotate(-24deg);
  box-shadow: 0 8px 14px -6px rgba(0, 0, 0, 0.6);
}
.tonearm-arm::after { /* headshell */
  content: "";
  position: absolute;
  bottom: -9%;
  left: 50%;
  width: 360%;
  height: 13%;
  transform: translateX(-50%);
  border-radius: 3px;
  background: linear-gradient(180deg, #3A3A40, #1C1C20);
}

/* --- "now playing" card --- */
.player {
  max-width: 540px;
  padding: 22px 22px 20px;
  border-radius: 28px;
  background: rgba(30, 17, 10, 0.52);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(251, 245, 236, 0.16);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
  color: #FBF5EC;
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.9s var(--ease-out) 0.15s forwards;
}
.player-top { display: flex; gap: 16px; align-items: center; }
.player-meta { min-width: 0; }

.now-playing {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 12px 5px 10px;
  border-radius: 999px;
  background: rgba(251, 245, 236, 0.1);
  border: 1px solid rgba(251, 245, 236, 0.22);
  color: #FBF5EC;
  font-size: 11.5px;
  font-weight: 600;
}
.now-playing .np-label { font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.12em; color: var(--rose); }

.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.eq i {
  width: 3px;
  height: 100%;
  border-radius: 2px;
  background: var(--rose);
  transform-origin: bottom;
  animation: eq 0.9s ease-in-out infinite alternate;
}
.eq i:nth-child(2) { animation-duration: 0.7s; animation-delay: -0.3s; }
.eq i:nth-child(3) { animation-duration: 1.1s; animation-delay: -0.6s; }
.eq i:nth-child(4) { animation-duration: 0.8s; animation-delay: -0.15s; }

.hero-title {
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.25;
  margin: 8px 0 4px;
  color: #FBF5EC;
}
.hero-title .accent { color: var(--rose); }

/* album art = the logo: red square, navy italic wordmark */
.logo-art {
  flex: 0 0 auto;
  width: 104px;
  height: 104px;
  border-radius: 18px;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 28px -12px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.logo-word {
  direction: ltr;
  font-family: var(--font-display-en);
  font-style: italic;
  font-weight: 600;
  color: var(--espresso);
  line-height: 1;
  white-space: nowrap;
}
.logo-art .logo-word { font-size: 23px; }
.logo-word .macron { position: relative; display: inline-block; }
.logo-word .macron::before { /* the bar over the "m", as in the logo */
  content: "";
  position: absolute;
  top: 0.14em;
  inset-inline: 0.06em;
  height: 0.07em;
  background: currentColor;
}

.player-artist { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: 13px; color: rgba(251, 245, 236, 0.7); }
.player-artist .logo-word { color: var(--rose); font-size: 19px; }

.hero-sub { font-size: 15px; margin: 16px 0 18px; color: rgba(251, 245, 236, 0.82); }

.player-bar { display: block; position: relative; height: 4px; border-radius: 4px; background: rgba(251, 245, 236, 0.18); }
.player-bar i {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 0;
  border-radius: 4px;
  background: var(--rose);
  animation: progress 40s linear infinite;
}
.player-bar i::after {
  content: "";
  position: absolute;
  inset-inline-end: -6px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FBF5EC;
  transform: translateY(-50%);
}
.player-times { display: flex; justify-content: space-between; margin-top: 8px; font-family: var(--font-body); font-size: 11.5px; letter-spacing: 0.06em; color: rgba(251, 245, 236, 0.6); }

.player-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.pc-group { display: flex; align-items: center; gap: 10px; }
.pc-icon { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; color: rgba(251, 245, 236, 0.7); }
.pc-icon svg { width: 22px; height: 22px; }
html[dir="rtl"] .pc-icon svg { transform: scaleX(-1); }
.player-play {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 10px 10px;
  border-radius: 999px;
  background: var(--gold);
  color: #FBF5EC;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 12px 26px -12px rgba(204, 65, 49, 0.8);
  transition: background var(--dur-fast), transform var(--dur-fast);
}
html[dir="rtl"] .player-play { padding: 10px 10px 10px 20px; }
.player-play:hover { background: var(--gold-deep); }
.player-play:active { transform: scale(0.97); }
.pp-circle { width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); display: flex; align-items: center; justify-content: center; }
.pp-circle svg { width: 14px; height: 14px; }
.player-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: rgba(251, 245, 236, 0.85); }
.player-link:hover { color: #FBF5EC; }
.player-link svg { width: 16px; height: 16px; }
html[dir="rtl"] .player-link svg { transform: scaleX(-1); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes eq { from { transform: scaleY(0.25); } to { transform: scaleY(1); } }
@keyframes progress { to { width: 100%; } }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

@media (max-width: 899px) {
  /* phones: photo + sign up top, card floats over the lower half with room
     beneath it, record peeks in from the end edge just above the card */
  .hero { align-items: flex-end; padding: 110px 0 96px; }
  .hero-scrim,
  html[dir="rtl"] .hero-scrim {
    background: linear-gradient(180deg, rgba(22, 11, 6, 0.3) 0%, rgba(22, 11, 6, 0.1) 22%, rgba(22, 11, 6, 0.72) 50%, rgba(22, 11, 6, 0.94) 72%);
  }
  .hero-media img { object-position: center 20%; }
  .hero-vinyl {
    --size: min(42vw, 160px);
    top: 25%;
    inset-inline-end: calc(var(--size) * -0.45);
  }
  .player { padding: 18px; border-radius: 24px; }
  .logo-art { width: 84px; height: 84px; }
  .logo-art .logo-word { font-size: 18px; }
  .pc-icon { display: none; }
}

/* reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { transition-delay: calc(var(--i, 0) * 70ms); }

@media (prefers-reduced-motion: reduce) {
  .player, .hero-vinyl, .reveal { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ---------- Marquee strip ---------- */
.strip {
  overflow: hidden;
  background: var(--espresso);
}
.strip-track {
  display: flex;
  width: max-content;
  gap: 56px;
  padding: 16px 0;
  animation: marquee 32s linear infinite;
}
.strip-track span {
  font-family: var(--font-display-ar);
  font-weight: 500;
  font-size: 19px;
  color: #F4EADB;
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}
html[data-lang="en"] .strip-track span { font-family: var(--font-display-en); font-style: italic; }
.strip-track span::after { content: "♪"; color: var(--rose); font-style: normal; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
html[dir="rtl"] .strip-track { animation-name: marquee-rtl; }
@keyframes marquee-rtl {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

/* ---------- Categories ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 820px;
  margin-inline: auto;
}
@media (min-width: 560px) { .cat-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }

.cat-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 34px -20px rgba(var(--shadow-color), 0.35);
  border-color: transparent;
}
.cat-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-tint);
  color: var(--gold-deep);
  transition: transform var(--dur-base) var(--ease-out);
}
.cat-card:nth-child(even) .cat-icon { background: var(--rose-tint); color: var(--rose-deep); }
.cat-card:hover .cat-icon { transform: scale(1.08) rotate(-4deg); }
.cat-icon svg { width: 34px; height: 34px; }
.cat-icon.has-photo { background: none; }
.cat-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.cat-card span { font-size: 15.5px; font-weight: 700; }

/* ---------- Products ---------- */
.cat-section { scroll-margin-top: 110px; }
.cat-section + .cat-section { margin-top: 56px; }
.cat-section-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.cat-section-head .eyebrow { margin: 0; }
.cat-section-head .cat-count { font-size: 13px; color: var(--ink-soft); font-weight: 500; }

.coming-soon {
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: var(--paper);
}
.coming-soon p { font-size: 14.5px; color: var(--ink-soft); }

.prod-disclaimer {
  margin-top: 40px;
  font-size: 12.5px;
  color: var(--ink-soft);
  text-align: center;
  max-width: 60ch;
  margin-inline: auto;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -22px rgba(var(--shadow-color), 0.4); }

.product-art {
  aspect-ratio: 4 / 5;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-art svg { width: 68%; height: 68%; transition: transform var(--dur-base) var(--ease-out); }
.product-card:hover .product-art svg { transform: scale(1.06); }
.product-art img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-base) var(--ease-out); }
.product-card:hover .product-art img { transform: scale(1.06); }

.product-badge {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  background: rgba(var(--shadow-color), 0.55);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
}

.product-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-name { font-size: 15.5px; font-weight: 700; }
.product-cat { font-size: 12px; color: var(--ink-soft); }
.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.product-price { font-family: var(--font-display-en); font-size: 19px; font-weight: 700; color: var(--gold-deep); }
html[data-lang="ar"] .product-price { font-family: var(--font-display-ar); font-weight: 600; }

.product-cal {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--cream-deep);
  padding: 5px 10px;
  border-radius: 999px;
  flex-shrink: 0;
}
.product-cal svg { width: 13px; height: 13px; color: var(--rose); flex-shrink: 0; }

/* ---------- Why us ---------- */
.why-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  max-width: 980px;
  margin-inline: auto;
}
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }

.why-card {
  padding: 32px 26px;
  border-radius: var(--radius-lg);
  background: rgba(243, 233, 221, 0.04);
  border: 1px solid rgba(243, 233, 221, 0.14);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.why-num {
  font-family: var(--font-display-en);
  font-size: 14px;
  color: var(--rose);
  font-weight: 700;
}
.why-icon {
  width: 50px; height: 50px; border-radius: 14px;
  background: rgba(227, 155, 45, 0.16);
  display: flex; align-items: center; justify-content: center;
  color: var(--rose);
}
.why-icon svg { width: 24px; height: 24px; }
.why-card h3 { font-size: 19px; }
.why-card p { color: #C9C6DD; font-size: 14.5px; }

/* ---------- About / split ---------- */
.split {
  display: grid;
  gap: 48px;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }

.about-art { position: relative; aspect-ratio: 4/5; max-width: 420px; width: 100%; margin-inline: auto; }
.about-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 50px -24px rgba(var(--shadow-color), 0.45);
}
.about-badge {
  position: absolute;
  bottom: 6%;
  inset-inline-start: -6%;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 20px 40px -22px rgba(var(--shadow-color), 0.35);
}
.about-badge strong { font-size: 22px; font-family: var(--font-display-en); font-style: italic; color: var(--gold); display: block; line-height: 1.2; }
.about-badge svg { color: var(--espresso); flex-shrink: 0; }
.about-badge span { font-size: 11.5px; color: var(--ink-soft); }

.about-copy p { color: var(--ink-soft); font-size: 16.5px; margin-bottom: 18px; }
.about-list { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.about-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; }
.about-list svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }

/* ---------- Occasions band ---------- */
.occ-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.occ-nav {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--paper);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.occ-nav:hover { background: var(--gold); color: #fff; border-color: transparent; }
.occ-nav:active { transform: scale(0.94); }
.occ-nav svg { width: 20px; height: 20px; }
.occ-prev svg { transform: scaleX(-1); }
html[dir="rtl"] .occ-prev svg { transform: scaleX(1); }
html[dir="rtl"] .occ-next svg { transform: scaleX(-1); }
@media (max-width: 560px) { .occ-nav { width: 38px; height: 38px; } .occ-nav svg { width: 17px; height: 17px; } }

.occ-scroller {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  min-width: 0;
}
.occ-scroller::-webkit-scrollbar { display: none; }
.occ-card {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: 240px;
  border-radius: var(--radius-md);
  padding: 26px 22px;
  background: var(--paper);
  border: 1px solid var(--border);
}
.occ-card h4 { font-size: 16.5px; margin-bottom: 8px; }
.occ-card p { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- Testimonials ---------- */
.testi-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  max-width: 1080px;
  margin-inline: auto;
}
@media (min-width: 640px) { .testi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .testi-grid { grid-template-columns: repeat(4, 1fr); } }

.testi-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.testi-stars { display: flex; gap: 3px; }
.testi-stars svg { width: 15px; height: 15px; }
.testi-quote { font-size: 14.5px; color: var(--ink-soft); flex: 1; }
.testi-name { font-size: 14px; font-weight: 700; color: var(--ink); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.1fr 1fr; gap: 40px; } }

.contact-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
}
.contact-row { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.contact-row:last-child { border-bottom: none; }
.contact-row .icon-wrap {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: var(--gold-tint); color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
}
.contact-row .icon-wrap svg { width: 20px; height: 20px; }
.contact-row h4 { font-size: 14px; margin-bottom: 4px; }
.contact-row p, .contact-row a { font-size: 14.5px; color: var(--ink-soft); }
.contact-row a:hover { color: var(--gold-deep); }

.map-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 320px;
  height: 100%;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; filter: saturate(0.85); }
.map-open-link {
  position: absolute;
  inset-inline-end: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 8px 20px -8px rgba(var(--shadow-color), 0.35);
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.map-open-link svg { width: 16px; height: 16px; color: var(--rose); flex-shrink: 0; }
.map-open-link:hover { transform: translateY(-2px); background: var(--gold-tint); }

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso); color: #E8DCCB; padding: 64px 0 28px; }
.footer-top {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(232, 220, 203, 0.14);
}
@media (min-width: 760px) { .footer-top { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-brand .brand-name { color: #F9F2E7; }
.footer-brand p { color: #B8A996; font-size: 14.5px; margin-top: 14px; max-width: 34ch; }
.footer-col h5 { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: #B8A996; margin-bottom: 16px; }
html[data-lang="ar"] .footer-col h5 { text-transform: none; letter-spacing: 0; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a, .footer-col span { font-size: 14.5px; color: #E8DCCB; }
.footer-col a:hover { color: var(--rose); }

.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(232, 220, 203, 0.25);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-fast), border-color var(--dur-fast);
}
.social-row a:hover { background: var(--rose); border-color: var(--rose); }
.social-row svg { width: 17px; height: 17px; }

.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: 24px; font-size: 12.5px; color: #9A8B78;
}

/* ---------- Arch divider ---------- */
.arch-divider { display: block; width: 100%; height: auto; color: var(--cream); }

/* ---------- Product ID badge ---------- */
.product-id {
  position: absolute;
  bottom: 12px;
  inset-inline-end: 12px;
  background: rgba(var(--shadow-color), 0.55);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  font-family: var(--font-display-en);
}


/* ---------- Header over the photo hero ---------- */
.site-header:not(.scrolled) .main-nav a { color: rgba(251, 245, 236, 0.88); }
.site-header:not(.scrolled) .main-nav a:hover { color: #FBF5EC; background: rgba(251, 245, 236, 0.1); }
.site-header:not(.scrolled) .lang-toggle,
.site-header:not(.scrolled) .menu-toggle { border-color: rgba(251, 245, 236, 0.35); color: #FBF5EC; }
.site-header:not(.scrolled) .lang-toggle button[aria-pressed="false"] { color: rgba(251, 245, 236, 0.85); }
.site-header:not(.scrolled) .lang-toggle button[aria-pressed="true"] { background: #FBF5EC; color: var(--espresso); }

.about-art img { object-position: center 30%; }

/* ---------- Products: header row + view toggle ---------- */
.prod-head-row { flex-direction: row; align-items: center; justify-content: space-between; max-width: none; }

.view-toggle {
  display: inline-flex;
  flex-shrink: 0;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
  background: var(--paper);
}
.view-toggle button {
  width: 36px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--ink-soft);
  transition: background var(--dur-fast), color var(--dur-fast);
}
.view-toggle button svg { width: 18px; height: 18px; }
.view-toggle button[aria-pressed="true"] { background: var(--espresso); color: var(--cream); }

/* One-item-at-a-time view: an override on top of the default grid, applied
   by adding "view-list" to #productSections (see applyProductView). */
#productSections.view-list .product-grid {
  grid-template-columns: 1fr;
  max-width: 460px;
  margin-inline: auto;
  gap: 56px;
}
#productSections.view-list .product-art { aspect-ratio: 4 / 3; }

.product-card { cursor: pointer; }

.product-price-wrap { display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.product-price-original { font-size: 13px; color: var(--ink-soft); text-decoration: line-through; }
.product-discount-tag {
  font-size: 11px; font-weight: 700; color: #fff; background: var(--gold);
  padding: 3px 8px; border-radius: 999px;
}

/* ---------- Promo banner ---------- */
.promo-banner {
  position: relative;
  overflow: hidden;
  padding: 50px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0px,
    var(--gold) 34px,
    #C03A2B 34px,
    #C03A2B 68px
  );
}
.promo-banner-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.promo-banner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.promo-banner-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: transparent;
}
.promo-banner.has-image .promo-banner-scrim {
  background: linear-gradient(180deg, rgba(var(--shadow-color), 0.5), rgba(var(--shadow-color), 0.66));
}
.promo-banner-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 20px;
  direction: ltr;
}
.promo-word {
  font-family: var(--font-display-en);
  font-style: italic;
  font-size: clamp(46px, 8vw, 84px);
  font-weight: 600;
  color: #FBF5EC;
  line-height: 1.05;
  text-shadow: 0 6px 18px rgba(var(--shadow-color), 0.35);
}
.promo-word .macron { position: relative; display: inline-block; }
.promo-word .macron::before { /* the bar over the "m", as in the logo */
  content: "";
  position: absolute;
  top: 0.12em;
  inset-inline: 0.06em;
  height: 0.07em;
  background: currentColor;
}
.promo-spark {
  font-size: clamp(22px, 3vw, 32px);
  color: var(--rose-tint);
  opacity: 0.95;
}
.promo-tag {
  position: relative;
  z-index: 2;
  font-family: var(--font-display-en);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(16px, 2vw, 20px);
  color: var(--rose-tint);
  letter-spacing: 0.04em;
}
html[data-lang="ar"] .promo-tag { font-family: var(--font-display-ar); font-style: normal; font-weight: 500; letter-spacing: 0; }

/* ---------- Promo photo showcase (continuous marquee) ----------
   Cards are built in JS from real item photos, picked at random on every
   load (see renderPromoShowcase). Pure-CSS animation; the site-wide
   prefers-reduced-motion rule already collapses its duration. */
.promo-scroller-wrap { overflow: hidden; margin-bottom: 28px; }
.promo-scroller {
  display: flex;
  width: max-content;
  gap: 20px;
  animation: promo-marquee 30s linear infinite;
}
.promo-scroller:hover { animation-play-state: paused; }
@keyframes promo-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
html[dir="rtl"] .promo-scroller { animation-name: promo-marquee-rtl; }
@keyframes promo-marquee-rtl {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}
.promo-card {
  flex: 0 0 auto;
  width: 220px;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -24px rgba(var(--shadow-color), 0.4);
}
.promo-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
@media (max-width: 560px) { .promo-card { width: 170px; } }
.promo-caption {
  text-align: center;
  color: var(--ink-soft);
  font-size: 15px;
  margin-top: 4px;
}

/* ---------- Floating social (bottom-left corner, both languages) ---------- */
.floating-social {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.floating-social a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--espresso);
  color: #FBF5EC;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(251, 245, 236, 0.22);
  box-shadow: 0 10px 24px -10px rgba(var(--shadow-color), 0.6);
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.floating-social a:hover { transform: translateY(-3px); background: var(--gold); }
.floating-social svg { width: 21px; height: 21px; }
/* phones: the corner icons wait until you've scrolled past the hero so they
   never sit on top of the "now playing" card (toggled in initFloatingSocial) */
.floating-social { transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out); }
@media (max-width: 899px) {
  .floating-social.fs-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }
}
@media (max-width: 640px) {
  .floating-social { left: 14px; bottom: 14px; }
  .floating-social a { width: 42px; height: 42px; }
}

/* ---------- Product detail modal ---------- */
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out);
}
.product-modal.open { opacity: 1; pointer-events: auto; }
.product-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(var(--shadow-color), 0.72);
}
.product-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  max-height: 85vh;
  overflow-y: auto;
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
  transform: scale(0.94);
  transition: transform var(--dur-base) var(--ease-out);
}
.product-modal.open .product-modal-panel { transform: scale(1); }
.product-modal-close {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-fast) var(--ease-out);
}
.product-modal-close:hover { background: rgba(0, 0, 0, 0.55); }
.product-modal-close svg { width: 18px; height: 18px; }
.product-modal-media { aspect-ratio: 4 / 3; background: var(--gold-tint); }
.product-modal-media img { width: 100%; height: 100%; object-fit: cover; }
.product-modal-illus { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.product-modal-illus svg { width: 46%; height: 46%; }
.product-modal-body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 8px; }
.product-modal-cat { font-size: 12px; color: var(--ink-soft); }
.product-modal-name { font-size: 21px; font-weight: 700; }
.product-modal-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.product-modal-notes {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.75;
  padding-top: 12px;
  margin-top: 6px;
  border-top: 1px solid var(--border);
  white-space: pre-line; /* keep line breaks typed into the data (e.g. Alt+Enter in a sheet cell) */
}
.product-modal-notes:empty { display: none; }
@media (prefers-reduced-motion: reduce) {
  .product-modal, .product-modal-panel { transition: none; }
}
