/* sections.css - per-section layout (top-nav, hero, products, footer, fab-whatsapp) */

/* ============================================================
   TopNav (floating pill bar)
   ============================================================ */
.top-nav {
  position: sticky;
  top: 16px;
  z-index: var(--z-nav);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px;
  pointer-events: none;
  transition: top var(--dur-base) var(--ease-out);
}

.top-nav.is-scrolled {
  top: 8px;
}

.top-nav-row {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: var(--container-max);
}

/* Each pill in the nav - glassmorphic web approximation.
   Cream-tinted "liquid glass" so it reads as premium but stays on-brand. */
.nav-brand,
.nav-cta,
.nav-burger {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background:
    linear-gradient(135deg, rgba(255, 252, 246, 0.55), rgba(244, 239, 230, 0.18)),
    rgba(251, 248, 242, 0.55);
  backdrop-filter: blur(20px) saturate(180%) contrast(1.04);
  -webkit-backdrop-filter: blur(20px) saturate(180%) contrast(1.04);
  border: 1px solid rgba(255, 252, 246, 0.55);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-ink);
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -1px 0 rgba(19, 18, 17, 0.05),
    0 8px 24px rgba(19, 18, 17, 0.06),
    0 1px 2px rgba(19, 18, 17, 0.04);
  transition:
    background-color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
  overflow: hidden;
}

.nav-brand::before,
.nav-cta::before,
.nav-burger::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.55), transparent 38%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent 42%, rgba(255, 255, 255, 0.10));
  pointer-events: none;
  z-index: -1;
}

.nav-brand::after,
.nav-cta::after,
.nav-burger::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.nav-brand:hover,
.nav-burger:hover {
  border-color: rgba(255, 252, 246, 0.8);
}

.nav-brand {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0;
  font-size: 16px;
  flex-shrink: 0;
  gap: 10px;
  padding: 8px 16px 8px 8px;
}

[dir="rtl"] .nav-brand {
  padding: 8px 8px 8px 16px;
}

.nav-brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #292722;
  color: var(--color-paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  flex-shrink: 0;
}

.nav-brand-type {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 3px;
}

.nav-brand-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-ink);
  letter-spacing: 0;
}

.nav-brand-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* Combined glass pill: outer pill is LIGHT (cream), with dark WhatsApp button nested inside. */
.nav-cta {
  background:
    linear-gradient(135deg, rgba(255, 252, 246, 0.55), rgba(244, 239, 230, 0.18)),
    rgba(251, 248, 242, 0.55);
  color: var(--color-ink);
  border-color: rgba(255, 252, 246, 0.55);
  flex-shrink: 0;
  font-size: 13px;
  padding: 4px 6px 4px 8px;
  gap: 4px;
  margin-inline-start: auto;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -1px 0 rgba(19, 18, 17, 0.05),
    0 8px 24px rgba(19, 18, 17, 0.06),
    0 1px 2px rgba(19, 18, 17, 0.04);
}

[dir="rtl"] .nav-cta {
  padding: 4px 8px 4px 6px;
}

.nav-cta-links {
  display: none;
  align-items: center;
  gap: 0;
}

@media (min-width: 768px) {
  .nav-cta-links { display: inline-flex; }
}

.nav-cta-links a {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  color: var(--color-muted);
  font-size: 13px;
  letter-spacing: 0;
  font-weight: 500;
  transition: color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}

.nav-cta-links a:hover,
.nav-cta-links a.is-active {
  color: var(--color-ink);
  background: rgba(19, 18, 17, 0.05);
}

.nav-cta-links::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 18px;
  margin-inline: 6px;
  background: rgba(19, 18, 17, 0.10);
}

@media (max-width: 767px) {
  .nav-cta-links::after { display: none; }
}

/* The WhatsApp button in the navbar/header */
.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--wa-green);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.30);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.30),
    0 4px 14px rgba(37, 211, 102, 0.18);
  transition:
    background-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}

.nav-cta-btn:hover,
.nav-cta-btn:focus-visible {
  background: var(--wa-green-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 4px 16px rgba(37, 211, 102, 0.28);
}

.nav-cta-btn:active {
  transform: translateY(0);
  background: var(--wa-green-active);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.30),
    0 2px 8px rgba(37, 211, 102, 0.30);
}

.nav-cta-btn svg {
  flex-shrink: 0;
}

.nav-cta-label {
  display: inline;
}

@media (max-width: 640px) {
  .nav-cta-label { display: none; }
  .nav-cta-btn { padding: 8px 10px; }
}

@media (max-width: 767px) {
  .nav-cta-links { display: none; }
}

@media (max-width: 767px) {
  .top-nav-row { justify-content: space-between; }
  .nav-brand { margin-inline-end: auto; }
  .nav-cta { display: none; }
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Language switcher (pill) - shown next to brand on desktop, in mobile drawer */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 4px 4px;
  border-radius: var(--radius-pill);
  background: rgba(251, 248, 242, 0.55);
  backdrop-filter: blur(20px) saturate(180%) contrast(1.04);
  -webkit-backdrop-filter: blur(20px) saturate(180%) contrast(1.04);
  border: 1px solid rgba(255, 252, 246, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -1px 0 rgba(19, 18, 17, 0.05),
    0 8px 24px rgba(19, 18, 17, 0.06);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  flex-shrink: 0;
  margin-inline-start: 8px;
}

.lang-switch-opt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  color: var(--color-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
  cursor: pointer;
}

.lang-switch-opt:hover {
  color: var(--color-ink);
  background: rgba(19, 18, 17, 0.05);
}

.lang-switch-opt.is-active {
  color: var(--color-ink);
  background: var(--color-paper);
  text-decoration: none;
}

@media (max-width: 767px) {
  .lang-switch { display: none; }
}

.nav-mobile-menu .nav-mobile-lang {
  display: flex;
  gap: 4px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(19, 18, 17, 0.08);
}

.nav-mobile-menu .nav-mobile-lang .lang-switch-opt {
  min-width: 44px;
  min-height: 32px;
  flex: 1;
  justify-content: center;
  background: rgba(19, 18, 17, 0.04);
}

.nav-mobile-menu .nav-mobile-lang .lang-switch-opt.is-active {
  background: #292722;
  color: var(--color-paper);
  text-decoration: none;
}

@media (min-width: 768px) {
  .nav-actions { display: none; }
}

.nav-cta-btn-mobile {
  width: 42px;
  height: 42px;
  padding: 0;
  justify-content: center;
}

/* ===== Mobile hamburger ===== */
.nav-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: var(--radius-pill);
  background: rgba(251, 248, 242, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border: 1px solid rgba(212, 207, 196, 0.6);
  color: var(--color-ink);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-out);
  flex-shrink: 0;
}

.nav-burger:hover {
  border-color: var(--color-ink);
}

.nav-burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out);
}

.nav-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.nav-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

@media (min-width: 768px) {
  .nav-burger { display: none; }
}

/* Mobile menu dropdown - glassmorphic */
.nav-mobile-menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 16px;
  width: auto;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px;
  pointer-events: auto;
  z-index: calc(var(--z-nav) + 1);
  background:
    linear-gradient(135deg, rgba(255, 252, 246, 0.65), rgba(244, 239, 230, 0.20)),
    rgba(251, 248, 242, 0.6);
  backdrop-filter: blur(20px) saturate(180%) contrast(1.04);
  -webkit-backdrop-filter: blur(20px) saturate(180%) contrast(1.04);
  border: 1px solid rgba(255, 252, 246, 0.55);
  border-radius: var(--radius-card);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -1px 0 rgba(19, 18, 17, 0.05),
    0 12px 32px rgba(19, 18, 17, 0.10),
    0 2px 6px rgba(19, 18, 17, 0.05);
}

.nav-mobile-menu[hidden] {
  display: none;
}

.nav-mobile-menu a {
  display: block;
  padding: 12px 16px;
  border-radius: var(--radius-block);
  color: var(--color-ink);
  font-size: 14px;
  font-weight: 500;
  pointer-events: auto;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out);
}

.nav-mobile-menu a:hover,
.nav-mobile-menu a.is-active {
  background: rgba(19, 18, 17, 0.06);
}

.nav-mobile-menu .mobile-wa-cta {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(19, 18, 17, 0.08);
}

.nav-mobile-menu .mobile-wa-cta a {
  background: var(--wa-green);
  color: #FFFFFF;
  text-align: center;
  font-weight: 600;
}

.nav-mobile-menu .mobile-wa-cta a:hover {
  background: var(--wa-green-hover);
}

@media (min-width: 768px) {
  .nav-mobile-menu { display: none !important; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding-block: 72px 48px;
}

@media (min-width: 768px) {
  .hero {
    padding-block: 96px 56px;
  }
}

.hero-eyebrow {
  margin-bottom: 32px;
}

.hero h1 {
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero h1 .accent {
  color: var(--color-accent);
  font-style: italic;
}

.hero-subhead {
  font-size: clamp(18px, 1.8vw, 22px);
  color: var(--color-muted);
  line-height: 1.5;
  max-width: 720px;
  margin-bottom: 24px;
}

.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.3;
  color: var(--color-ink);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  max-width: 60ch;
}

.hero-tagline .accent {
  color: var(--color-accent);
}

.hero-body {
  font-size: 16px;
  color: var(--color-muted);
  max-width: 640px;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.hero-ctas .btn-primary {
  background: #292722;
  color: var(--color-paper);
}

.hero-ctas .btn-primary:hover {
  background: var(--color-accent);
  color: var(--color-paper);
}

.hero-ctas .btn-ghost {
  background: transparent;
  color: #292722;
  border-color: #292722;
}

.hero-ctas .btn-ghost:hover {
  background: #292722;
  color: var(--color-paper);
}

/* Hero image rail - marquee */
.hero-image-rail {
  position: relative;
  width: 100vw;
  margin-inline-start: calc(50% - 50vw);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.hero-image-rail-track {
  display: flex;
  gap: 24px;
  width: max-content;
  padding-inline: 24px;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-image-rail-track {
    animation: railScroll 50s linear infinite;
  }
}

.hero-image-rail:hover .hero-image-rail-track {
  animation-play-state: paused;
}

.hero-image-rail-card {
  flex-shrink: 0;
  width: 320px;
  height: 220px;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--color-hairline);
  background: var(--color-surface);
}

.hero-image-rail-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes railScroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 480px) {
  .hero-image-rail-card {
    width: 260px;
    height: 180px;
  }
}

/* ============================================================
   Section headers
   ============================================================ */
.section-header {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 48px;
  }
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  color: var(--color-ink);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0;
}

[dir="rtl"] .section-title {
  letter-spacing: 0;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 16px;
  color: var(--color-muted);
  max-width: 60ch;
  margin: 0;
  line-height: 1.5;
}

/* ============================================================
   Products grid + card
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 600px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Horizontal scrollable row — manual scroll only, no animation, no marquee.
   Single row of products with horizontal overflow. Users scroll/swipe manually. */
.products-row {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 20px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  /* Hide scrollbar visually but keep scrolling functional */
  scrollbar-width: none;          /* Firefox */
  -ms-overflow-style: none;       /* IE and old Edge */
}

.products-row::-webkit-scrollbar {
  display: none;                  /* Chrome, Safari, modern Edge */
}

.products-row > * {
  flex: 0 0 auto;
}

/* On medium+ screens, give each card a sensible fixed width so the row
   stays scannable but not cramped. On phones, cards fill more viewport. */
.products-row > .product-card {
  width: 200px;
}

@media (min-width: 600px) {
  .products-row > .product-card {
    width: 220px;
  }
}

@media (min-width: 1024px) {
  .products-row > .product-card {
    width: 240px;
  }
}

/* Scroll cue indicator — small chevron arrows that hint "scrollable" on desktop */
.products-row-wrap {
  position: relative;
}

.products-row-wrap::after,
.products-row-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 16px;
  width: 48px;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
}

.products-row-wrap::before {
  inset-inline-start: 0;
  background: linear-gradient(to inset-inline-end, var(--color-paper), transparent);
}

.products-row-wrap::after {
  inset-inline-end: 0;
  background: linear-gradient(to inset-inline-start, var(--color-paper), transparent);
}

.products-row-wrap[data-fade-left="true"]::before {
  opacity: 1;
}

.products-row-wrap[data-fade-right="true"]::after {
  opacity: 1;
}

/* Subtle hint strip — small text "اسحب للمزيد" or "Scroll" */
.products-row-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 16px;
}

.products-row-hint svg {
  width: 12px;
  height: 12px;
}

/* ============================================================
   Per-category rails (products.php)
   One horizontal scrollable section per category.
   ============================================================ */
.category-rail {
  margin-bottom: 56px;
}

.category-rail:last-child {
  margin-bottom: 0;
}

.category-rail-title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-ink);
  line-height: 1.2;
  margin: 0;
  letter-spacing: 0;
}

[dir="rtl"] .category-rail-title {
  letter-spacing: 0;
  line-height: 1.3;
}

.category-rail-count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-muted);
  margin-top: 4px;
  display: inline-block;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: border-color var(--dur-fast) var(--ease-out),
              transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
  text-decoration: none;
  color: inherit;
  position: relative;
}

.product-card:hover {
  border-color: var(--color-ink);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(19, 18, 17, 0.06);
}

.product-card-image {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--color-paper);
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.product-card:hover .product-card-image img {
  transform: scale(1.04);
}

.product-card-badge {
  position: absolute;
  top: 8px;
  inset-inline-start: 8px;
  z-index: 2;
}

.product-card-info {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.product-card-name {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-ink);
  line-height: 1.3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

[dir="rtl"] .product-card-name {
  letter-spacing: 0;
  line-height: 1.4;
}

.product-card-price {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-ink);
  letter-spacing: var(--tracking-mono);
  margin-top: auto;
  padding-top: 4px;
}

.product-card-price .currency {
  font-size: 10px;
  color: var(--color-muted);
  margin-inline-start: 3px;
}

.product-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: #292722;
  color: var(--color-paper);
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-sans);
  align-self: flex-start;
  margin-top: 6px;
  transition: background-color var(--dur-fast) var(--ease-out);
}

.product-card:hover .product-card-cta {
  background: var(--color-accent);
}

.product-card-cta svg {
  width: 11px;
  height: 11px;
}

/* ============================================================
   Features section (tone-night)
   ============================================================ */
.features {
  padding-block: var(--space-section);
}

@media (min-width: 768px) {
  .features {
    padding-block: var(--space-section-md);
  }
}

.features-head {
  margin-bottom: 48px;
  max-width: 720px;
}

.features-head h2 {
  color: var(--color-paper);
  margin-bottom: 16px;
}

.features-head .lede {
  color: var(--color-night-muted);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 600px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-accent);
}

.feature-title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-paper);
  line-height: 1.3;
  margin: 0;
  letter-spacing: 0;
}

[dir="rtl"] .feature-title {
  letter-spacing: 0;
  line-height: 1.4;
}

.feature-desc {
  font-size: 14px;
  color: var(--color-night-muted);
  line-height: 1.5;
  margin: 0;
  max-width: none;
}

/* ============================================================
   Products page (full-width, no sidebar)
   ============================================================ */
.shop-layout {
  display: block;
}

.products-main {
  width: 100%;
}

@media (min-width: 1024px) {
  .shop-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (min-width: 1024px) {
  .filter-sidebar {
    position: sticky;
    top: 96px;
  }
}

.filter-group {
  margin-bottom: 20px;
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-group-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 12px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  cursor: pointer;
  font-size: 14px;
  color: var(--color-ink);
}

.filter-option input {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid var(--color-hairline);
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color var(--dur-fast) var(--ease-out);
}

.filter-option input:checked {
  border-color: var(--color-accent);
}

.filter-option input:checked::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--color-accent);
  border-radius: 50%;
}

.filter-option:hover input {
  border-color: var(--color-ink);
}

.filter-radio {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid var(--color-hairline);
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}

.filter-radio:checked {
  border-color: var(--color-accent);
}

.filter-radio:checked::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--color-accent);
  border-radius: 50%;
}

.filter-submit {
  margin-top: 16px;
  width: 100%;
}

/* ============================================================
   Product page (product detail)
   ============================================================ */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

@media (min-width: 1024px) {
  .product-detail-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.product-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 13px;
  color: var(--color-muted);
  margin-bottom: 24px;
}

.product-breadcrumb a {
  color: var(--color-muted);
  transition: color var(--dur-fast) var(--ease-out);
}

.product-breadcrumb a:hover {
  color: var(--color-ink);
}

.product-breadcrumb .sep {
  opacity: 0.5;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-info h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  letter-spacing: 0;
}

[dir="rtl"] .product-info h1 {
  letter-spacing: 0;
  font-family: var(--font-sans);
}

.product-info .product-price {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 500;
  color: var(--color-ink);
  letter-spacing: var(--tracking-mono);
}

.product-info .product-price .currency {
  font-size: 14px;
  color: var(--color-muted);
  margin-inline-start: 4px;
}

.product-info .product-description {
  margin-top: 8px;
  color: var(--color-muted);
  line-height: 1.6;
  font-size: 15px;
}

.product-info .product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

/* ============================================================
   Order form
   ============================================================ */
.order-form-wrapper {
  position: relative;
}

.order-form {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.order-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--color-paper);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-block);
  margin: 16px 0;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--color-muted);
  letter-spacing: var(--tracking-mono);
}

.order-total .total-price {
  font-size: 22px;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: var(--tracking-mono);
}

.order-total .total-price .currency {
  font-size: 13px;
  color: var(--color-muted);
  margin-inline-start: 4px;
}

/* ============================================================
   Order success card
   ============================================================ */
.order-success {
  display: none;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
  background: var(--color-surface);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-card);
  text-align: center;
}

.order-success[data-state="visible"],
.order-success.show {
  display: flex;
}

.order-success .success-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0;
}

.order-success h3 {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--color-ink);
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0;
}

[dir="rtl"] .order-success h3 {
  font-family: var(--font-sans);
  letter-spacing: 0;
  line-height: 1.3;
}

.order-success .order-id {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--color-muted);
  letter-spacing: var(--tracking-mono);
  margin: 0;
}

.order-success .lede {
  margin: 0 auto;
}

.order-success .success-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}

@media (min-width: 480px) {
  .order-success .success-actions {
    flex-direction: row;
    justify-content: center;
  }
}

/* ============================================================
   Floating WhatsApp button
   ============================================================ */
.fab-whatsapp {
  position: fixed;
  bottom: 24px;
  inset-inline-start: 24px;
  z-index: calc(var(--z-nav) - 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa-green);
  color: #FFFFFF;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.30),
    0 6px 20px rgba(37, 211, 102, 0.32);
  transition:
    transform var(--dur-fast) var(--ease-out),
    background-color var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
}

.fab-whatsapp:hover,
.fab-whatsapp:focus-visible {
  background: var(--wa-green-hover);
  transform: translateY(-2px) scale(1.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 10px 28px rgba(37, 211, 102, 0.42);
}

.fab-whatsapp:active {
  transform: translateY(0) scale(0.98);
  background: var(--wa-green-active);
}

.fab-whatsapp svg {
  width: 28px;
  height: 28px;
  color: #FFFFFF;
}

@media (max-width: 480px) {
  .fab-whatsapp {
    bottom: 16px;
    inset-inline-start: 16px;
    width: 52px;
    height: 52px;
  }
  .fab-whatsapp svg {
    width: 24px;
    height: 24px;
  }
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--color-night);
  color: var(--color-paper);
  padding-block: 64px;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .footer {
    padding-block: 80px;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

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

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 56px;
  }
}

.footer-brand .wordmark {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-paper);
  margin-bottom: 12px;
  display: block;
  letter-spacing: 0;
}

[dir="rtl"] .footer-brand .wordmark {
  letter-spacing: 0;
}

.footer-brand .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-night-muted);
  margin-bottom: 16px;
  display: block;
}

.footer-brand .desc {
  font-size: 14px;
  color: var(--color-night-muted);
  line-height: 1.6;
  max-width: 36ch;
  margin: 0;
}

.footer-col-heading {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-night-muted);
  margin-bottom: 16px;
}

.footer-col-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--color-paper);
}

.footer-col-list a {
  transition: color var(--dur-fast) var(--ease-out);
}

.footer-col-list a:hover {
  color: var(--color-accent);
}

.footer-socials {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(244, 239, 230, 0.2);
  color: var(--color-paper);
  transition: border-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              background-color var(--dur-fast) var(--ease-out);
}

.footer-social:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-copyright {
  font-size: 13px;
  color: var(--color-night-muted);
  line-height: 1.5;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(244, 239, 230, 0.1);
}

.footer-copyright a {
  color: var(--color-night-muted);
  transition: color var(--dur-fast) var(--ease-out);
}

.footer-copyright a:hover {
  color: var(--color-accent);
}

.footer-wa-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: var(--wa-green);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-sans);
  margin-top: 8px;
  transition: background-color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.30),
              0 4px 14px rgba(37, 211, 102, 0.18);
}

.footer-wa-cta:hover {
  background: var(--wa-green-hover);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35),
              0 6px 18px rgba(37, 211, 102, 0.28);
}

.footer-wa-cta svg {
  width: 16px;
  height: 16px;
}

/* ============================================================
   Testimonials section (lodev-style WhatsApp chat bubbles)
   Manual horizontal scroll only, no animation, no marquee.
   ============================================================ */
.testimonials-section {
  padding-block: 0 clamp(96px, 12vw, 160px);
}

.testimonials-section .section-header {
  margin-bottom: 56px;
  max-width: 720px;
}

.testimonials-section .section-intro {
  font-size: 16px;
  color: var(--color-muted);
  max-width: 60ch;
  margin-top: 16px;
}

/* Horizontal scrollable rail — manual scroll only */
.testimonials-rail {
  width: 100vw;
  margin-inline-start: calc(50% - 50vw);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.testimonials-rail::-webkit-scrollbar {
  display: none;
}

.testimonials-rail-track {
  display: flex;
  gap: 16px;
  width: max-content;
  padding-inline: 24px;
}

@media (min-width: 768px) {
  .testimonials-rail-track {
    gap: 20px;
    padding-inline: 40px;
  }
}

/* WhatsApp-style chat bubble card — NO avatar, NO image */
.wa-bubble {
  position: relative;
  width: min(320px, 86vw);
  scroll-snap-align: start;
  padding: 20px 22px 28px;
  background: var(--color-paper);
  border: 1px solid var(--color-hairline);
  border-radius: 14px 14px 14px 4px;
  color: var(--color-ink);
  font-family: var(--font-sans);
  box-shadow: 0 1px 2px rgba(19, 18, 17, 0.04);
  transition: border-color var(--dur-fast) var(--ease-out),
              transform var(--dur-base) var(--ease-out);
}

.wa-bubble:hover {
  border-color: var(--color-ink);
  transform: translateY(-2px);
}

[dir="rtl"] .wa-bubble {
  border-radius: 14px 14px 4px 14px;
}

/* HEADER — name + role only. NO <img>. */
.wa-bubble-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-hairline);
}

.wa-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wa-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
  color: var(--color-ink);
}

[dir="rtl"] .wa-name {
  font-family: var(--font-sans);
  letter-spacing: 0;
  line-height: 1.4;
}

.wa-role {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  line-height: 1.4;
}

.wa-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--color-muted);
}

.wa-phone svg {
  width: 14px;
  height: 14px;
}

/* QUOTE — Newsreader italic */
.wa-message {
  margin: 0 0 14px 0;
}

.wa-message p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.55;
  color: var(--color-ink);
  margin: 0;
  max-width: none;
  letter-spacing: 0;
}

[dir="rtl"] .wa-message p {
  font-family: var(--font-sans);
  font-style: normal;
  letter-spacing: 0;
  line-height: 1.7;
}

/* FOOTER — timestamp + read ticks, JetBrains Mono */
.wa-bubble-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-muted);
  letter-spacing: var(--tracking-mono);
}

.wa-time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-muted);
  letter-spacing: var(--tracking-mono);
}

.wa-ticks {
  display: inline-flex;
  align-items: center;
  color: var(--color-accent);
}

.wa-ticks svg {
  width: 18px;
  height: 12px;
}

/* Phone-cut corner — triangular cut at bottom-right to echo WhatsApp */
.wa-cut {
  position: absolute;
  bottom: 0;
  inset-inline-end: 0;
  width: 22px;
  height: 22px;
  pointer-events: none;
  background: linear-gradient(
    to inset-inline-start top,
    transparent 50%,
    var(--color-paper) 50%
  );
  /* The visible edge of the triangle is the bubble's background color; it
     only "cuts" the bottom-right corner. */
  clip-path: path('M 100% 0 L 0 0 L 100% 100% Z');
  transform: scaleX(-1);
}

[dir="rtl"] .wa-cut {
  transform: scaleX(1);
}

/* Focus ring on the card for keyboard nav through the rail */
.wa-bubble:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 14px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .testimonials-rail {
    scroll-behavior: auto;
  }
  .wa-bubble {
    transition: none;
  }
  .wa-bubble:hover {
    transform: none;
  }
}
