/* Hallmark · v2.0.0 · genre: editorial · theme: brand · redesign: full · hero: Stage (/) · nav: inline-monogram · footer: three-column-mast · job: buy · signature: pure white elevated cards over faint blush paper with warm rose-brown depth, strict one-job color roles, and LEGO-inspired category rail */
/* Hallmark · pre-emit critique: P5 H5 E5 S5 R5 V5 · cut all gold outlines and gold text so rose owns actions, charcoal owns hierarchy, and warm shadows carry surface depth */

:root {
  /* Surfaces */
  --surface-page: #FFF9F7;
  --surface-card: #FFFFFF;
  --surface-chip: #FBECEF;
  --surface-chip-hover: #F6DDE2;
  --surface-ink: #2E2A2B;
  --surface-ink-text: #FFFFFF;

  /* Strict One-Job Color Roles */
  --brand-pink: #EDA0A8;
  --brand-rose: #B4485E;       /* Actions only: Commander, active chip, links (>5.3:1 with white) */
  --brand-rose-hover: #96384B;
  --brand-rose-ink: #FFFFFF;
  --brand-gold: #C9973F;       /* Thin accent lines only — NEVER used for text */

  /* Typography Ink */
  --text-main: #2E2A2B;        /* Main text & bold prices */
  --text-muted: #6E6164;       /* Soft grey-brown for secondary info (>5.4:1 on white) */

  /* Subtle Hairlines & Warm Rose-Brown Elevation */
  --border-pale: #F1E5E7;
  --border-input: #ECE0E2;
  --shadow-card: 0 10px 30px rgba(96, 60, 68, 0.065), 0 2px 6px rgba(96, 60, 68, 0.03);
  --shadow-card-hover: 0 16px 38px rgba(96, 60, 68, 0.11), 0 4px 12px rgba(96, 60, 68, 0.05);
  --shadow-field: 0 4px 16px rgba(96, 60, 68, 0.055), 0 1px 3px rgba(96, 60, 68, 0.03);

  /* Neutral Stock & Semantic Pills */
  --stock-ok-bg: #EEF4F0;
  --stock-ok-text: #3B5A46;
  --stock-out-bg: #F2EFEF;
  --stock-out-text: #6E6164;
  --status-err-bg: #FEF2F2;
  --status-err-border: #F5B8B8;
  --status-err-text: #991B1B;

  /* Self-Hosted Fonts */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Jost', system-ui, -apple-system, sans-serif;
  --font-ar: 'Cairo', system-ui, -apple-system, sans-serif;

  /* Geometry */
  --radius-sm: 8px;
  --radius: 16px;
  --radius-pill: 999px;
  --container-max: 1320px;
  --z-nav: 60;
  --z-sticky: 40;
}

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

[hidden] {
  display: none !important;
}

.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;
}

html {
  font-size: 16px;
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--brand-pink) var(--surface-page);
}

body {
  font-family: var(--font-sans);
  background-color: var(--surface-page);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23C75B70' stroke-opacity='0.065' stroke-width='1.1'%3E%3Ccircle cx='16' cy='16' r='6.5'/%3E%3Ccircle cx='48' cy='16' r='6.5'/%3E%3Ccircle cx='16' cy='48' r='6.5'/%3E%3Ccircle cx='48' cy='48' r='6.5'/%3E%3Crect x='2' y='2' width='60' height='28' rx='4' stroke-opacity='0.04'/%3E%3Crect x='2' y='34' width='60' height='28' rx='4' stroke-opacity='0.04'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 64px 64px;
  color: var(--text-main);
  line-height: 1.55;
  min-height: 100dvh;
  overflow-x: clip;
  display: flex;
  flex-direction: column;
  caret-color: var(--brand-rose);
}

::selection {
  background-color: var(--surface-chip);
  color: var(--brand-rose);
}

html[lang="ar"] body {
  font-family: var(--font-ar);
}

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

a {
  color: var(--brand-rose);
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
}

h1, h2, h3 {
  overflow-wrap: break-word;
  min-width: 0;
  text-wrap: balance;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brand-rose);
  outline-offset: 2px;
}

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

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

/* Top Utility Bar */
.top-bar {
  background-color: var(--surface-ink);
  color: var(--surface-ink-text);
  font-size: 0.8125rem;
  text-align: center;
  padding: 8px 16px;
}

/* Sticky Pure White Header with Soft Shadow (no gold outline) */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background-color: var(--surface-card);
  box-shadow: 0 2px 14px rgba(96, 60, 68, 0.045);
}

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

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
  white-space: nowrap;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.site-header.mono-on-scroll .brand-link {
  opacity: 0;
  transform: translateY(-4px) scale(0.92);
  pointer-events: none;
}

.site-header.mono-on-scroll.is-scrolled .brand-link {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.home-logo-banner {
  text-align: center;
  padding: 20px 16px 4px;
}

.home-logo-banner img {
  height: 76px;
  width: auto;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .home-logo-banner {
    padding: 26px 16px 6px;
  }
  .home-logo-banner img {
    height: 92px;
  }
}

.brand-monogram {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.brand-wordmark {
  display: none;
  flex-direction: column;
  line-height: 1.1;
}

.brand-wordmark-main {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-main);
}

.brand-wordmark-sub {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .header-inner {
    height: 72px;
  }
  .brand-monogram {
    height: 44px;
  }
  .brand-wordmark {
    display: flex;
  }
}

.header-nav {
  display: none;
  align-items: center;
  gap: 28px;
}

.header-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-main);
  padding-block: 4px;
  border-bottom: 1.5px solid transparent;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--brand-rose);
  border-bottom-color: var(--brand-gold);
}

@media (min-width: 860px) {
  .header-nav {
    display: flex;
  }
}

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

@media (max-width: 859px) {
  .header-actions {
    display: contents;
  }
  .menu-btn {
    order: -1;
  }
  .brand-link {
    order: 0;
    margin-inline-end: auto;
  }
  .lang-group {
    order: 1;
  }
}

.header-text-link {
  display: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-main);
  padding: 8px 12px;
  white-space: nowrap;
  transition: color 0.15s ease;
}

@media (min-width: 768px) {
  .header-text-link {
    display: inline-flex;
    align-items: center;
  }
}

.hero-actions .header-text-link {
  display: inline-flex;
  align-items: center;
}

.header-text-link:hover {
  color: var(--brand-rose);
}

/* Simple Soft White Pill Language Button (no gold outline) */
.lang-switch {
  background-color: var(--surface-card);
  border: 1px solid var(--border-pale);
  box-shadow: var(--shadow-field);
  color: var(--text-main);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 16px;
  min-height: 40px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.lang-switch:hover {
  background-color: var(--surface-chip);
  color: var(--brand-rose);
}

/* Primary Rose Action Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--brand-rose);
  color: var(--brand-rose-ink);
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  min-height: 44px;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.22s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease;
}

.btn-primary:hover {
  background-color: var(--brand-rose-hover);
  transform: translateY(-1.5px);
  box-shadow: 0 8px 20px rgba(180, 72, 94, 0.22);
}

.btn-primary:active {
  transform: scale(0.975);
}

.btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--surface-card);
  color: var(--text-main);
  border: 1px solid var(--border-pale);
  box-shadow: var(--shadow-field);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  min-height: 44px;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.22s ease, color 0.22s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease;
}

.btn-outline:hover {
  background-color: var(--surface-chip);
  color: var(--brand-rose);
  transform: translateY(-1.5px);
  box-shadow: var(--shadow-card);
}

.btn-outline:active {
  transform: scale(0.975);
}

/* Section Heading with Thin Gold Accent Line Under Heading */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--brand-gold);
}

.section-meta-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-inline-start: auto;
}

/* Compact Trilingual Language Switcher (FR / EN / عربي) */
.lang-group {
  display: inline-flex;
  align-items: center;
  background-color: var(--surface-card);
  border: 1px solid var(--border-pale);
  box-shadow: var(--shadow-field);
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 2px;
}

.lang-opt {
  min-height: 34px;
  min-width: 36px;
  padding: 0 9px;
  border: none;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.lang-opt:hover {
  color: var(--brand-rose);
}

.lang-opt.active {
  background-color: var(--brand-rose);
  color: #FFFFFF;
}

/* Mobile Hamburger Button & Slide-Over Drawer (Storefront) */
.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-pale);
  border-radius: var(--radius-pill);
  background-color: var(--surface-card);
  color: var(--text-main);
  box-shadow: var(--shadow-field);
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-btn:hover {
  background-color: var(--surface-chip);
  color: var(--brand-rose);
}

.menu-btn:active {
  transform: scale(0.92);
}

.menu-btn svg line {
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}

.menu-btn svg line:nth-child(1) { transform-origin: 12px 6px; }
.menu-btn svg line:nth-child(2) { transform-origin: 12px 12px; }
.menu-btn svg line:nth-child(3) { transform-origin: 12px 18px; }

.menu-btn[aria-expanded="true"] {
  background-color: var(--surface-chip);
  color: var(--brand-rose);
}

.menu-btn[aria-expanded="true"] svg line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] svg line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-btn[aria-expanded="true"] svg line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (min-width: 860px) {
  .menu-btn {
    display: none;
  }
}

body.drawer-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.nav-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(46, 42, 43, 0.44);
  display: flex;
  justify-content: flex-start; /* Left edge in LTR, Right edge in RTL */
  touch-action: none;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.32s ease, visibility 0s linear 0.32s;
}

.nav-drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.28s ease, visibility 0s linear 0s;
}

.nav-drawer {
  width: min(312px, 84vw);
  height: 100%;
  background: var(--surface-page);
  border-start-end-radius: 24px;
  border-end-end-radius: 24px;
  box-shadow: 10px 0 36px rgba(46, 42, 43, 0.18);
  display: flex;
  flex-direction: column;
  padding: 0 0 calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  transform: translate3d(-100%, 0, 0);
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

html[dir="rtl"] .nav-drawer {
  box-shadow: -10px 0 36px rgba(46, 42, 43, 0.18);
  transform: translate3d(100%, 0, 0);
}

.nav-drawer-backdrop.is-open .nav-drawer,
html[dir="rtl"] .nav-drawer-backdrop.is-open .nav-drawer {
  transform: translate3d(0, 0, 0);
}

@keyframes anfFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes anfFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes anfSlideInLeft {
  from { transform: translateX(-100%); opacity: 0.7; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes anfSlideInRight {
  from { transform: translateX(100%); opacity: 0.7; }
  to { transform: translateX(0); opacity: 1; }
}

/* Smooth Scroll Reveal System */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.62s cubic-bezier(0.16, 1, 0.3, 1), transform 0.62s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.nav-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 14px;
  background: var(--surface-card);
  border-bottom: 1px solid var(--brand-gold);
  flex-shrink: 0;
}

.nav-drawer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-drawer-brand img {
  height: 36px;
  width: auto;
}

.nav-drawer-brand-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main);
}

html[lang="ar"] .nav-drawer-brand-name {
  font-family: var(--font-ar);
  font-size: 1.05rem;
}

.nav-drawer-close {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--surface-chip);
  color: var(--brand-rose);
  font-size: 1.35rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-drawer-body {
  padding: 16px 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.nav-drawer-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 6px;
  margin-bottom: -6px;
}

html[lang="ar"] .nav-drawer-label {
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.78rem;
}

.nav-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-drawer-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 8px 14px;
  border-radius: 12px;
  background: var(--surface-card);
  box-shadow: var(--shadow-field);
  color: var(--text-main);
  font-size: 0.94rem;
  font-weight: 500;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-drawer-links a:hover,
.nav-drawer-links a.active {
  background: var(--surface-chip);
  color: var(--brand-rose);
}

.nav-drawer-links img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-drawer-sep {
  display: none;
}

.nav-drawer-socials {
  margin-top: auto;
  padding: 14px 16px 0;
  border-top: 1px solid var(--border-pale);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.nav-drawer-socials .social-pill {
  justify-content: center;
  min-height: 42px;
  background: var(--surface-card);
  box-shadow: var(--shadow-field);
  color: var(--brand-rose);
  font-weight: 600;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 2.6vw, 2.35rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-main);
}

html[lang="ar"] .section-title {
  font-family: var(--font-ar);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 700;
}

.section-meta-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Article count in soft grey-brown (NEVER gold) */
.section-count {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Footer */
.site-footer {
  margin-top: auto;
  background-color: var(--surface-card);
  box-shadow: 0 -4px 24px rgba(96, 60, 68, 0.04);
  padding: 48px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
  }
}

.footer-logo {
  height: 56px;
  width: auto;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 0.9375rem;
  color: var(--text-muted);
  max-width: 48ch;
  margin-bottom: 8px;
}

.footer-availability {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-col-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 0.9375rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--brand-rose);
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-main);
  background-color: var(--surface-chip);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.social-pill:hover {
  background-color: var(--surface-chip-hover);
  color: var(--brand-rose);
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--border-pale);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Form Controls (pure white, pale hairline only where needed) */
.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-main);
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: 12px 16px;
  font-size: 1rem;
  color: var(--text-main);
  background-color: var(--surface-card);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-sm);
}

.field textarea {
  min-height: 88px;
  resize: vertical;
}

.field input.invalid,
.field select.invalid,
.field textarea.invalid {
  border-color: var(--status-err-text);
  background-color: var(--status-err-bg);
}

.field-error {
  font-size: 0.8125rem;
  color: var(--status-err-text);
  display: none;
}

.field.has-error .field-error {
  display: block;
}

.alert-error {
  background-color: var(--status-err-bg);
  border: 1px solid var(--status-err-border);
  color: var(--status-err-text);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.875rem;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Smooth animations enabled across all devices */
