/* ════════════════════════════════════════════════
   GLOW · متجر الجمال — Master Stylesheet
   ════════════════════════════════════════════════ */
:root {
  --rose: #C2856B;
  --plum: #8B3A3A;
  --champagne: #F0E6D3;
  --gold: #C4A35A;
  --warm-bg: #F5EDE3;
  --surface: #FFF8F2;
  --text-dark: #2C1810;
  --text-mid: #6B4C3B;
  --text-light: #9C7A6A;
  --olive: #5B7B4F;
  --shadow-sm: 0 2px 16px rgba(44, 24, 16, 0.08);
  --shadow-md: 0 8px 40px rgba(44, 24, 16, 0.14);
  --shadow-lg: 0 20px 70px rgba(44, 24, 16, 0.2);
  --radius: 18px;
  --radius-sm: 10px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  /* ── Customizable button color (admin-controlled) ── */
  --btn-color: #8B3A3A;
  --btn-shadow-color: #5C1A1A;
}

/* ── RESET & BASE ──────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Tajawal', sans-serif;
  background: var(--warm-bg);
  color: var(--text-dark);
  overflow-x: hidden;
  cursor: none;
}

body.glow-body {
  -webkit-font-smoothing: antialiased;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  cursor: none;
  border: none;
  background: none;
  font-family: inherit;
}

/* ── CUSTOM CURSOR ─────────────────────────────── */
#cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--rose);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 999999;
  transform: translate(-50%, -50%);
  transition: background 0.2s, opacity 0.3s;
  opacity: 0;
}

#cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--rose);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 999998;
  transform: translate(-50%, -50%);
  transition: border-color 0.2s, scale 0.3s, opacity 0.3s;
  opacity: 0;
}

/* Hide custom cursor on mobile */
/* ── TOAST NOTIFICATIONS ───────────────────────── */
.custom-toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  background: rgba(107, 45, 78, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  z-index: 10000;
  font-weight: 600;
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
  border: 1px solid rgba(232, 164, 184, 0.3);
  pointer-events: none;
  text-align: center;
  min-width: 250px;
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

@media (max-width: 900px) {
  body {
    cursor: auto !important;
  }

  #cursor-dot,
  #cursor-ring {
    display: none !important;
  }
}

/* ── PAGE OVERLAY ──────────────────────────────── */
#page-overlay {
  position: fixed;
  inset: 0;
  background: var(--plum);
  z-index: 99990;
  transform: translateX(-100%);
  pointer-events: none;
}

/* ── CONTAINER ─────────────────────────────────── */
.container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* ── TYPOGRAPHY ────────────────────────────────── */
h1,
h2,
h3 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

.section-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--plum);
  margin-bottom: 40px;
}

.section-header {
  text-align: center;
}

/* ── BUTTONS — 3D PUSH EFFECT ──────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 0.75em;
  font-family: 'Tajawal', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  /* 3D push base */
  transform: translateY(-3px);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.btn:active {
  transform: translateY(0) !important;
}

/* PRIMARY — customizable color */
.btn-primary {
  background: var(--btn-color);
  color: #fff;
  box-shadow: 0 4px 0 0 var(--btn-shadow-color), 0 6px 16px rgba(0,0,0,0.2);
}
.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 7px 0 0 var(--btn-shadow-color), 0 10px 24px rgba(0,0,0,0.25);
}
.btn-primary:active {
  box-shadow: 0 0px 0 0 var(--btn-shadow-color), 0 2px 8px rgba(0,0,0,0.15);
}

/* GHOST — white top, customizable border */
.btn-ghost {
  background: #FAF7F4;
  color: var(--btn-color);
  border: 2px solid var(--btn-color);
  box-shadow: 0 4px 0 0 var(--btn-color);
}
.btn-ghost:hover {
  transform: translateY(-5px);
  box-shadow: 0 7px 0 0 var(--btn-color);
  background: #fff;
}
.btn-ghost:active {
  box-shadow: 0 0px 0 0 var(--btn-color);
}

/* GOLD — same as primary */
.btn-gold {
  background: var(--btn-color);
  color: #fff;
  box-shadow: 0 4px 0 0 var(--btn-shadow-color), 0 6px 16px rgba(0,0,0,0.2);
}
.btn-gold:hover {
  transform: translateY(-5px);
  box-shadow: 0 7px 0 0 var(--btn-shadow-color), 0 10px 24px rgba(0,0,0,0.25);
}
.btn-gold:active {
  box-shadow: 0 0px 0 0 var(--btn-shadow-color);
}

.btn-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.2) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.55s ease;
}

.btn-primary:hover .btn-shine {
  transform: translateX(100%);
}

/* Ripple */
.ripple-btn {
  overflow: hidden;
}

.ripple-btn .ripple-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple-anim 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-anim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ── GLASS CARD ────────────────────────────────── */
.glass-card {
  background: rgba(255, 248, 244, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(232, 164, 184, 0.28);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* ── FULL-PAGE SPIDER WEB CANVAS ──────────────── */
#page-web-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* Hero covers the web canvas */
#hero {
  position: relative;
  z-index: 1;
  background: #0d0610;
}

/* ── SECTION BASE ──────────────────────────────── */
.section {
  padding-block: 100px;
}

/* Announcement Board Style */
.announcement-bar {
  background: linear-gradient(90deg, var(--plum) 0%, #8B3A5A 50%, var(--plum) 100%);
  color: #fff;
  height: 40px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  z-index: 1100;
  white-space: nowrap;
}

.announcement-marquee {
  display: flex;
  gap: 60px;
  animation: announcement-scroll 15s linear infinite;
  padding-inline: 24px;
}

.announcement-marquee span {
  font-size: 0.88rem;
  font-weight: 600;
  font-family: 'Tajawal', sans-serif;
  flex-shrink: 0;
}

@keyframes announcement-scroll {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(-100%);
  }
}

.navbar {
  position: fixed;
  top: 40px;
  inset-inline: 0;
  z-index: 1000;
  background: rgba(253, 246, 238, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(232, 164, 184, 0.2);
  transition: transform 0.35s ease, box-shadow 0.3s, background 0.3s;
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
  transform: translateY(-40px);
  background: rgba(253, 246, 238, 0.92);
}

.nav-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* Stacked logo layout */
.logo-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  line-height: 1;
}

.logo-glow {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--plum);
  letter-spacing: 0.04em;
  line-height: 1.1;
}

/* Thin gold separator line */
.logo-divider {
  display: block;
  width: 100%;
  height: 1.5px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
  margin: 2px 0;
  border-radius: 2px;
}

.logo-ar {
  font-family: 'Tajawal', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.06em;
  direction: rtl;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-mid);
  position: relative;
  padding-bottom: 3px;
  transition: color 0.25s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--plum);
}

.nav-link:hover::after {
  width: 100%;
}

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

.nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--plum);
  position: relative;
  transition: background 0.25s, transform 0.2s;
}

.nav-btn:hover {
  background: rgba(232, 164, 184, 0.2);
  transform: scale(1.08);
}

/* Cart + Wishlist — always clearly visible */
#cart-icon,
#wishlist-btn {
  background: rgba(107,45,78,0.12);
  border: 1.5px solid rgba(107,45,78,0.22);
  color: var(--plum);
}

#cart-icon:hover,
#wishlist-btn:hover {
  background: var(--plum);
  color: #fff;
  border-color: var(--plum);
}

/* Dark/luxury theme: swap to light */
body.luxury #cart-icon,
body.luxury #wishlist-btn {
  background: rgba(255,255,255,0.12);
  border-color: rgba(201,168,76,0.45);
  color: var(--gold);
}

body.luxury #cart-icon:hover,
body.luxury #wishlist-btn:hover {
  background: var(--gold);
  color: #1a0a12;
  border-color: var(--gold);
}

/* ── Theme Toggle Pill ───────────────────────────── */
.theme-toggle-pill {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(107,45,78,0.1);
  border: 1.5px solid rgba(107,45,78,0.25);
  border-radius: 50px;
  padding: 3px;
  cursor: pointer;
  position: relative;
  transition: background 0.3s, border-color 0.3s;
  height: 34px;
  width: 68px;
}

.ttp-icon {
  font-size: 0.85rem;
  line-height: 1;
  z-index: 1;
  flex: 1;
  text-align: center;
  pointer-events: none;
  user-select: none;
  transition: opacity 0.3s;
}

.ttp-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--plum), #8B3A5A);
  box-shadow: 0 2px 8px rgba(107,45,78,0.4);
  transition: left 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.3s ease;
  z-index: 2;
  pointer-events: none;
}

/* Luxury mode: thumb slides right (to moon side) */
body.luxury .theme-toggle-pill {
  background: rgba(20,8,14,0.65);
  border-color: rgba(201,168,76,0.5);
}

body.luxury .ttp-thumb {
  left: calc(100% - 29px);
  background: linear-gradient(135deg, #C9A84C, #F0CC6A);
  box-shadow: 0 2px 8px rgba(201,168,76,0.5);
}

@media (max-width: 768px) {
  .nav-btn {
    width: 46px;
    height: 46px;
    min-width: 44px;
  }
  .cart-btn {
    background: var(--plum);
    color: #fff;
    box-shadow: 0 4px 14px rgba(107,45,78,0.3);
    border: none;
  }
  .cart-btn:hover { background: #8B3A5A; }
  .theme-toggle-pill { width: 62px; height: 32px; }
  .ttp-thumb { width: 24px; height: 24px; top: 3px; }
  body.luxury .ttp-thumb { left: calc(100% - 27px); }
}

.cart-badge {
  position: absolute;
  top: 2px;
  inset-inline-end: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: var(--plum);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: center;
}

.admin-btn {
  font-size: 0.78rem;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-hamburger span {
  width: 22px;
  height: 2px;
  background: var(--plum);
  border-radius: 2px;
  transition: 0.3s;
  display: block;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--surface);
  border-top: 1px solid rgba(232, 164, 184, 0.2);
  padding: 16px 24px;
  gap: 8px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu .nav-link {
  padding: 10px 0;
  border-bottom: 1px solid rgba(232, 164, 184, 0.15);
}

/* ════════════════════════════════════════════════
   HERO SECTION
   ════════════════════════════════════════════════ */
#hero {
  min-height: 70dvh;
  position: relative;
  overflow: hidden;
  background: var(--warm-bg);
}
@media (max-width: 768px) {
  #hero { min-height: 50dvh; }
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Hero Background Image — full screen (admin override) */
.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  filter: contrast(1.05) saturate(1.08);
  will-change: opacity;
  display: block;
  z-index: 1;
}

/* Hero Background Video — fills screen, loops forever */
video.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 1;
  will-change: opacity;
  display: block;
  z-index: 1;
}

/* Reduce motion: pause video for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  video.hero-bg-video { animation-play-state: paused; }
}

/* fade the left edge of the image into the white bg */
.hero-bg-image::after { display: none; }

/* grid-reveal overlay: JS fills this with tiles */
.hero-img-reveal-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(4, 1fr);
}

.hero-reveal-tile {
  background: #FAF7F4;
  opacity: 1;
  animation: tileReveal 0.45s ease-out forwards;
}

@keyframes tileReveal {
  0%   { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.85); }
}

/* dark overlay so Arabic text stays readable over video */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(15, 5, 20, 0.45);
  pointer-events: none;
}

/* ── Mobile & Tablet Responsive ── */
@media (max-width: 1024px) {
  video.hero-bg-video {
    object-fit: cover;
    object-position: center center;
  }
}

@media (max-width: 768px) {
  .hero-bg-image {
    opacity: 0.85;
    filter: brightness(0.8);
  }
  video.hero-bg-video {
    object-fit: cover;
    object-position: center center;
  }
  .hero-img-reveal-grid {
    width: 100%;
    height: 100%;
  }
  #hero::before {
    background: rgba(15,5,20,0.5);
  }
}

@media (max-width: 480px) {
  video.hero-bg-video {
    object-fit: cover;
    object-position: 50% 50%;
  }
  #hero::before {
    background: linear-gradient(
      to top,
      rgba(15,5,20,0.65) 0%,
      rgba(15,5,20,0.3) 40%,
      transparent 100%
    );
  }
}

/* Hero Logo Floating */
.hero-logo-floating {
  position: absolute;
  right: 4%;
  top: 42%;
  transform: translateY(-50%) rotate(-12deg);
  z-index: 5;
  pointer-events: none;
  perspective: 1000px;
}

.floating-logo-box {
  background: transparent;
  backdrop-filter: none;
  border: none;
  border-radius: 0;
  padding: 0;
  animation: float-up-3d 5s ease-in-out infinite;
  box-shadow: none;
  transform-style: preserve-3d;
}

.floating-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  text-align: left;
  transform: translateZ(30px);
}

.floating-word {
  font-size: 4.8rem;
  color: #C9A84C;
  letter-spacing: 3px;
  text-shadow: 
    0 2px 8px rgba(0,0,0,0.4),
    0 8px 24px rgba(201, 168, 76, 0.4);
  display: block;
  line-height: 1.1;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.floating-word.beauty {
  font-size: 4.4rem;
  color: #2D1F29;
  margin-bottom: -12px;
  text-shadow: 
    0 2px 8px rgba(0,0,0,0.12),
    0 4px 16px rgba(45,31,41,0.15);
}

/* Zone word: pink in light theme, burgundy in dark theme */
.floating-word.zone {
  font-size: 4.8rem;
  color: #E8619A;
  margin-left: 140px;
  text-shadow: 
    0 2px 8px rgba(0,0,0,0.4),
    0 8px 24px rgba(232, 97, 154, 0.5);
}

[data-theme="dark"] .floating-word.zone {
  color: #8B1A3A;
  text-shadow: 
    0 2px 8px rgba(0,0,0,0.6),
    0 8px 24px rgba(139, 26, 58, 0.6);
}

@keyframes float-up-3d {
  0%, 100% {
    transform: translateY(0px) rotateX(8deg) rotateY(-4deg);
  }
  50% {
    transform: translateY(-18px) rotateX(14deg) rotateY(2deg);
  }
}

/* Responsive - Floating Logo */
@media (max-width: 768px) {
  .hero-logo-floating {
    right: 50%;
    transform: translate(50%, -50%) rotate(-8deg);
    top: 32%;
  }

  .floating-word {
    font-size: 2.6rem;
  }

  .floating-word.beauty {
    font-size: 2.3rem;
  }

  .floating-word.zone {
    font-size: 2.6rem;
    margin-left: 80px;
  }
}

/* Aurora Blobs — hidden on light hero */
.aurora-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  pointer-events: none;
}

/* Parallax Aurora Blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  mix-blend-mode: multiply;
  will-change: transform;
}

.blob-a {
  width: 380px;
  height: 380px;
  background: rgba(244, 196, 164, 0.6);
  top: 10%;
  right: 15%;
}

.blob-b {
  width: 320px;
  height: 320px;
  background: rgba(245, 200, 216, 0.55);
  bottom: 20%;
  left: 10%;
}

.blob-c {
  width: 280px;
  height: 280px;
  background: rgba(253, 233, 196, 0.5);
  top: 40%;
  left: 40%;
}

.blob-d {
  width: 240px;
  height: 240px;
  background: rgba(237, 213, 240, 0.45);
  bottom: 10%;
  right: 30%;
}

/* Floating Elements Styles */
.floating-elements {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.float-item {
  position: absolute;
  top: var(--top);
  left: var(--left);
  font-size: 1.8rem;
  opacity: 0.65;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
  animation: float-drift var(--dur) infinite alternate ease-in-out;
  will-change: transform;
}

@keyframes float-drift {
  0% {
    transform: translate(0, 0) rotate(0);
  }

  100% {
    transform: translate(30px, -40px) rotate(15deg);
  }
}

/* God Rays — hidden on white hero */
.god-rays {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
  opacity: 0;
}

.ray {
  position: absolute;
  width: 3px;
  height: 600px;
  background: linear-gradient(to bottom, rgba(255, 220, 120, 0.35) 0%, transparent 100%);
  transform-origin: top center;
  top: 0;
  left: 50%;
  transform: translateX(-50%) rotate(var(--angle));
  animation: ray-breathe var(--dur) var(--delay) infinite alternate ease-in-out;
  border-radius: 2px;
}

@keyframes ray-breathe {
  0% {
    opacity: 0.1;
    transform: translateX(-50%) rotate(var(--angle)) scaleY(1)
  }

  100% {
    opacity: 0.28;
    transform: translateX(-50%) rotate(var(--angle)) scaleY(1.06)
  }
}

/* Global Three.js + Dust Backgrounds */
#hero-canvas,
#dust-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

#hero-canvas {
  opacity: 0;
  display: none;
}

#dust-canvas {
  opacity: 0;
  display: none;
}

body {
  background: var(--warm-bg);
}

/* Make sections translucent to see background */
section {
  background: transparent !important;
  position: relative;
  z-index: 1;
}

.categories-section,
.products-section,
.how-section,
.testi-section,
.footer {
  background: rgba(255, 248, 244, 0.4) !important;
  backdrop-filter: blur(2px);
}

.bestsellers-section {
  background: transparent !important;
}

/* Hero Content — over full-screen image, buttons on left */
.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
  text-align: center;
  padding: 100px 20px 60px;
  direction: ltr;
}

@media (max-width: 768px) {
  .hero-content {
    padding: 100px 20px 60px;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 248, 244, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 50px;
  padding: 6px 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: var(--gold);
  margin-bottom: 24px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 1.4s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    transform: scale(1);
    opacity: 1
  }

  50% {
    transform: scale(1.4);
    opacity: 0.6
  }
}

.badge-text {
  font-weight: 500;
}

/* Headline */
.hero-headline {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 20px;
}

/* Gold Shimmer (applied by JS after reveal) */
.shimmer-active {
  background: linear-gradient(90deg, #4A1F35 0%, #C9A84C 45%, #8B3A5A 55%, #4A1F35 100%);
  background-size: 300% auto;
  animation: shimmer-sweep 3.5s linear infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes shimmer-sweep {
  0% {
    background-position: 0% center
  }

  100% {
    background-position: 200% center
  }
}

.shimmer-gold-text {
  background: linear-gradient(90deg, var(--plum) 0%, var(--gold) 45%, var(--plum) 100%);
  background-size: 200% auto;
  animation: shimmer-sweep 3s linear infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
  min-height: 2em;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
  margin-bottom: 16px;
  direction: ltr;
}

@media (max-width: 768px) {
  .hero-ctas {
    justify-content: center;
  }
}

/* ── HERO GLASS BUTTONS ─────────────────────────── */
.btn-vintage {
  background: rgba(20, 8, 14, 0.55);
  color: #f5e6ef;
  border: 1.5px solid rgba(201, 168, 76, 0.55);
  border-radius: 50px;
  font-family: 'Tajawal', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 12px 28px;
  position: relative;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 18px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.12);
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}

.btn-vintage:hover {
  background: rgba(107, 45, 78, 0.7);
  border-color: rgba(201, 168, 76, 0.85);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(107,45,78,0.45);
  color: #fff;
}

.btn-vintage:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.btn-vintage-ghost {
  background: rgba(255,255,255,0.07);
  color: rgba(245,230,240,0.9);
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  font-family: 'Tajawal', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 12px 28px;
  position: relative;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}

.btn-vintage-ghost:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.55);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  color: #fff;
}

.btn-vintage-ghost:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.vbtn-ornament {
  font-size: 0.75em;
  opacity: 0.7;
  display: inline-block;
}

/* ── HERO BZ CORNER BADGE ──────────────────────── */
.hero-bz-badge {
  position: absolute;
  bottom: 28px;
  right: 36px;
  z-index: 20;
  animation: bzFloat 4s ease-in-out infinite;
}

@keyframes bzFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

.bz-ring {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #5c2d00, #1a0800);
  border: 2px solid #b8862a;
  box-shadow:
    0 0 0 1px #7a4d0a,
    0 0 0 5px rgba(184,134,42,0.25),
    0 0 20px rgba(184,134,42,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: default;
  transition: box-shadow 0.3s;
}

.bz-ring::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px dashed rgba(232,201,126,0.4);
  pointer-events: none;
}

.bz-ring:hover {
  box-shadow:
    0 0 0 1px #c9a84c,
    0 0 0 5px rgba(184,134,42,0.45),
    0 0 30px rgba(184,134,42,0.4);
}

.bz-text {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: #e8c97e;
  letter-spacing: 0.12em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.7), 0 0 18px rgba(232,201,126,0.4);
  line-height: 1;
}

.bz-sub {
  font-family: 'Tajawal', sans-serif;
  font-size: 0.42rem;
  color: rgba(232,201,126,0.7);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 3px;
}

@media (max-width: 768px) {
  .hero-bz-badge {
    bottom: 16px;
    right: 16px;
  }
  .bz-ring {
    width: 68px;
    height: 68px;
  }
  .bz-text { font-size: 1.2rem; }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scroll-chevron {
  width: 28px;
  height: 28px;
  border-right: 2px solid var(--rose);
  border-bottom: 2px solid var(--rose);
  transform: rotate(45deg);
  animation: chevron-bounce 1.5s infinite;
}

@keyframes chevron-bounce {

  0%,
  100% {
    transform: rotate(45deg) translateY(0);
    opacity: 0.5
  }

  50% {
    transform: rotate(45deg) translateY(6px);
    opacity: 1
  }
}

/* Hero Stats */
.hero-stats {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
  max-width: 700px;
  margin-inline: auto;
  margin-top: 0;
  padding: 0 24px 48px;
  background: transparent;
}

.stat-card {
  padding: 20px 28px;
  text-align: center;
  border-radius: 0;
  flex: 1;
  background: rgba(255, 248, 244, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(232, 164, 184, 0.25);
  border-right: none;
}

.stat-card:first-child {
  border-radius: var(--radius) 0 0 var(--radius);
}

.stat-card:last-child {
  border-radius: 0 var(--radius) var(--radius) 0;
  border-right: 1px solid rgba(232, 164, 184, 0.25);
}

.stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--plum);
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 2px;
  display: block;
}

.stat-divider {
  display: none;
}

/* ════════════════════════════════════════════════
   CATEGORIES
   ════════════════════════════════════════════════ */
.categories-section {
  background: var(--surface);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cat-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  will-change: transform;
}

.cat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.cat-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/2;
}

.cat-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cat-card:hover .cat-img {
  transform: scale(1.07);
}

.cat-gradient-bg {
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: unset;
}

.cat-emoji {
  font-size: 3.5rem;
  line-height: 1;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.25));
  pointer-events: none;
}

.cat-gradient-scarves  { background: linear-gradient(135deg,#8b5a7a 0%,#c492b1 50%,#e8cfe0 100%); }
.cat-gradient-makeup   { background: linear-gradient(135deg,#c97b8a 0%,#e8b4c0 50%,#f5dde4 100%); }
.cat-gradient-skincare { background: linear-gradient(135deg,#4a7c5e 0%,#7db892 50%,#c4e0cf 100%); }
.cat-gradient-vitamins { background: linear-gradient(135deg,#b87333 0%,#c9a84c 50%,#ecdfa8 100%); }

.cat-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(107, 45, 78, 0.7) 100%);
}

.cat-info {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  padding: 20px 16px 14px;
  z-index: 2;
}

.cat-en {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 220, 180, 0.85);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cat-ar {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-top: 2px;
}

.cat-count {
  font-size: 0.78rem;
  color: rgba(255, 220, 180, 0.7);
  margin-top: 2px;
  display: block;
}

.cat-arrow {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transform: scale(0);
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
}

.cat-card:hover .cat-arrow {
  transform: scale(1);
  opacity: 1;
}

/* ════════════════════════════════════════════════
   PRODUCT CARD
   ════════════════════════════════════════════════ */
.product-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
  will-change: transform;
  display: flex;
  flex-direction: column;
}

.card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* ── Product Formation Animation ────────────────── */
.product-card.has-image .card-img-wrap {
  position: relative;
}

.product-card.has-image .card-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(circle at 50% 50%,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0) 100%);
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.product-card.has-image:not(.img-formed) .card-img {
  opacity: 0;
  filter: blur(14px) saturate(0);
  transform: scale(1.08);
  clip-path: inset(10% round 12px);
  animation: none;
}

.product-card.has-image.img-forming .card-img {
  animation: imgForm 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.product-card.has-image.img-formed .card-img {
  opacity: 1;
  filter: none;
  transform: scale(1);
  clip-path: inset(0% round 0px);
}

@keyframes imgForm {
  0%   { opacity: 0;    filter: blur(14px) saturate(0);   transform: scale(1.1);  clip-path: inset(18% round 20px); }
  25%  { opacity: 0.3;  filter: blur(9px)  saturate(0.3); transform: scale(1.06); clip-path: inset(12% round 14px); }
  55%  { opacity: 0.7;  filter: blur(4px)  saturate(0.7); transform: scale(1.03); clip-path: inset(5%  round 8px);  }
  80%  { opacity: 0.92; filter: blur(1px)  saturate(0.95);transform: scale(1.01); clip-path: inset(1%  round 3px);  }
  100% { opacity: 1;    filter: none;                      transform: scale(1);    clip-path: inset(0%  round 0px);  }
}

/* Particle shimmer overlay during formation */
.product-card.has-image.img-forming .card-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  background: 
    radial-gradient(circle at 20% 30%, rgba(232,97,154,0.25) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(201,168,76,0.2) 0%, transparent 35%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 0%, transparent 60%);
  animation: particleShimmer 1.1s ease-out forwards;
  pointer-events: none;
}

@keyframes particleShimmer {
  0%   { opacity: 1; }
  70%  { opacity: 0.4; }
  100% { opacity: 0; }
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(107, 45, 78, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  gap: 12px;
}

.overlay-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--plum);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: transform 0.2s, background 0.2s;
}

.overlay-btn:hover {
  transform: scale(1.1);
  background: #fff;
}

.badge-new,
.badge-best {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
  color: #fff;
}

.badge-new {
  background: linear-gradient(135deg, #C9A84C, #E8BD6A);
}

.badge-best {
  background: linear-gradient(135deg, #6B2D4E, #8B3A5A);
}

.card-body {
  padding: 9px 12px 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.card-cat {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
}

/* Title + price on same row */
.card-info-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
}

.card-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--plum);
  line-height: 1.3;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-price {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a6b2a;
  white-space: nowrap;
}

.card-price span {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--text-light);
  margin-inline-start: 2px;
}

/* Wish + details row */
.card-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px;
}

/* Floating (+) button on image corner */
.card-add-fab {
  position: absolute;
  bottom: 8px;
  inset-inline-end: 8px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--plum), #8B3A5A);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(107,45,78,0.45);
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  opacity: 0;
  z-index: 4;
}

.product-card:hover .card-add-fab,
.product-card:focus-within .card-add-fab {
  opacity: 1;
}

/* Always visible on touch devices */
@media (hover: none) {
  .card-add-fab { opacity: 1; }
}

.card-add-fab:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 18px rgba(107,45,78,0.5);
}

.card-wish-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(232, 164, 184, 0.5);
  color: var(--rose);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s;
  position: relative;
}

.card-wish-btn.active {
  background: var(--rose);
  color: #fff;
  border-color: var(--rose);
}

.card-wish-btn:hover {
  background: rgba(232, 164, 184, 0.15);
}

.card-extra-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-details-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-mid);
  text-decoration: underline;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s;
}

.card-details-link:hover {
  color: var(--plum);
}

/* Shimmer Placeholder */
.shimmer-placeholder {
  background: linear-gradient(90deg, #f0e6e0 25%, #f8f0ec 50%, #f0e6e0 75%);
  background-size: 200% 100%;
  animation: shimmer-load 1.5s infinite;
  border-radius: var(--radius);
  aspect-ratio: 1/1;
}

@keyframes shimmer-load {
  0% {
    background-position: 200% 0
  }

  100% {
    background-position: -200% 0
  }
}

/* ════════════════════════════════════════════════
   BESTSELLERS PINNED HORIZONTAL SCROLL
   ════════════════════════════════════════════════ */
.bestsellers-section {
  background: var(--warm-bg);
  padding-block: 80px 0;
}

.bestsellers-header {
  margin-bottom: 40px;
  text-align: center;
}

.bestsellers-track-wrap {
  overflow: clip;
}

.bestsellers-track {
  display: flex;
  gap: 24px;
  padding: 0 40px 80px;
  width: max-content;
}

.bestsellers-track .product-card {
  width: 200px;
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════
   PRODUCTS GRID
   ════════════════════════════════════════════════ */
.products-section {
  background: var(--surface);
}

/* ══════════════════════════════════════════════
   NEW MODULAR CATEGORY SECTIONS
   ══════════════════════════════════════════════ */
#category-sections {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 40px 0 60px;
}

/* ── Slim Skin Separator ─────────────────────── */
.cat-skin-separator {
  width: 100%;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin: 32px 0 0;
}

.css-sep-content {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 32px;
  width: 100%;
  max-width: 1200px;
  direction: rtl;
}

.css-sep-icon {
  font-size: 1.5rem;
  filter: drop-shadow(0 0 8px rgba(201,168,76,0.6));
  flex-shrink: 0;
}

.css-sep-text {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.css-sep-en {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c9a84c;
}

.css-sep-divider {
  color: rgba(201,168,76,0.4);
  font-size: 0.9rem;
}

.css-sep-ar {
  font-family: 'Tajawal', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255,235,220,0.8);
}

.css-sep-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(201,168,76,0.5) 0%, transparent 100%);
}

/* ── Section Wrapper ─────────────────────────── */
.cat-section-new {
  padding: 0 0 12px;
}

/* ── Section Header (slim) ───────────────────── */
.csn-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 14px;
  max-width: 1200px;
  margin: 0 auto;
  direction: rtl;
}

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

.csn-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.csn-en {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 2px;
  display: block;
}

.csn-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.2;
}

body.luxury .csn-title { color: #fff; }

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

.csn-count {
  font-family: 'Tajawal', sans-serif;
  font-size: 0.8rem;
  color: var(--text-mid);
  opacity: 0.7;
}

.csn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Tajawal', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  padding: 5px 12px;
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 20px;
  transition: background 0.2s, border-color 0.2s;
}

.csn-view-all:hover {
  background: rgba(201,168,76,0.12);
  border-color: var(--gold);
}

/* ── Horizontal Scroll Row ───────────────────── */
.csn-row-wrap {
  position: relative;
  padding: 0 0 6px;
}

.csn-h-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 20px 16px;
  direction: rtl;
}

.csn-h-row::-webkit-scrollbar { display: none; }

/* Cards in horizontal rows: 4 visible on desktop */
.csn-h-row .product-card {
  flex: 0 0 calc(25% - 9px);
  min-width: 160px;
  max-width: 220px;
  scroll-snap-align: start;
}

/* 3 visible on mobile */
@media (max-width: 600px) {
  .csn-h-row .product-card {
    flex: 0 0 calc(32% - 6px);
    min-width: 110px;
  }
  .csn-h-row .card-title {
    font-size: 0.72rem;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
  .csn-h-row .card-price {
    font-size: 0.78rem;
  }
  .csn-h-row .card-body {
    padding: 8px 8px 10px;
  }
  .csn-h-row .card-img-wrap {
    height: 110px;
  }
  .csn-h-row .card-add-fab {
    width: 26px;
    height: 26px;
    font-size: 0.9rem;
    bottom: 6px;
    inset-inline-end: 6px;
  }
  .csn-h-row .card-wish-btn {
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
    top: 5px;
    inset-inline-start: 5px;
  }
  .csn-h-row .card-badge {
    font-size: 0.6rem;
    padding: 2px 6px;
  }
}

@media (min-width: 601px) and (max-width: 900px) {
  .csn-h-row .product-card {
    flex: 0 0 calc(33% - 8px);
  }
}

/* Scroll fade edge indicator */
.csn-row-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 40px;
  height: 100%;
  background: linear-gradient(to right, var(--warm-bg), transparent);
  pointer-events: none;
  z-index: 2;
}

body.luxury .csn-row-wrap::after {
  background: linear-gradient(to right, #14080e, transparent);
}

/* ── Legacy section box (kept for admin compatibility) ──────── */
.cat-section-box {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.2);
  background: var(--surface);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.3s ease;
}

.cat-section-banner {
  position: relative;
  height: 200px;
  overflow: hidden;
  transition: filter 0.3s ease;
}

.cat-section-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.2) 100%);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 32px;
  direction: rtl;
}

.cat-section-icon {
  font-size: 3rem;
  line-height: 1;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

.cat-section-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.9);
  margin: 0 0 4px;
}

.cat-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

/* "عرض الكل" button floating on banner */
.cat-view-all-btn {
  position: absolute;
  bottom: 16px;
  inset-inline-end: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.18);
  border: 1.5px solid rgba(255,255,255,0.45);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: 'Tajawal', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  letter-spacing: 0.02em;
  z-index: 5;
}

.cat-view-all-btn:hover {
  background: rgba(255,255,255,0.32);
  transform: translateX(-3px);
}

/* Product count badge on banner */
.cat-count-badge {
  margin-inline-start: auto;
  background: rgba(255,255,255,0.18);
  border: 1.5px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: 'Tajawal', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 50px;
  white-space: nowrap;
  letter-spacing: 0.03em;
}

/* Load More button area */
.cat-load-more-wrap {
  display: flex;
  justify-content: center;
  padding-top: 20px;
}

.cat-load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 2px dashed rgba(107,45,78,0.35);
  border-radius: 14px;
  padding: 14px 32px;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
  font-family: 'Tajawal', sans-serif;
  direction: rtl;
}

.cat-load-more-btn:hover {
  background: rgba(107,45,78,0.06);
  border-color: var(--plum);
  transform: translateY(-1px);
}

.clm-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--plum);
}

.clm-count {
  font-size: 0.8rem;
  color: var(--text-light);
  background: rgba(107,45,78,0.1);
  padding: 2px 10px;
  border-radius: 20px;
}

.clm-arrow {
  color: var(--plum);
  transition: transform 0.3s;
}

.cat-load-more-btn:hover .clm-arrow {
  transform: translateY(3px);
}

.cat-section-body {
  padding: 20px 24px 24px;
}

@media (max-width: 640px) {
  .cat-section-banner { height: 140px; }
  .cat-section-title  { font-size: 1.3rem; }
  .cat-section-icon   { font-size: 2rem; }
  #category-sections  { padding: 32px 12px; gap: 24px; }
  .cat-section-body   { padding: 16px 16px 20px; }
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
  min-height: 200px;
  align-items: start;
}

/* Tablet: 3 columns minimum */
@media (min-width: 601px) and (max-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

/* Mobile: always 2 columns */
@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .product-card .card-body {
    padding: 8px 9px 8px;
    gap: 4px;
  }
  .product-card .card-title {
    font-size: 0.78rem;
  }
  .product-card .card-price {
    font-size: 0.85rem;
  }
  .card-add-fab {
    width: 30px;
    height: 30px;
    font-size: 1.1rem;
    bottom: 6px;
  }
}

/* ── Category Horizontal Strip ─────────────────── */
.cat-strip-wrap {
  position: relative;
  margin-top: 8px;
}

.cat-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 12px 4px 20px;
  cursor: grab;
}

.cat-strip:active { cursor: grabbing; }

.cat-strip::-webkit-scrollbar { height: 4px; }
.cat-strip::-webkit-scrollbar-track { background: transparent; }
.cat-strip::-webkit-scrollbar-thumb { background: rgba(201,168,76,.35); border-radius: 4px; }

.cat-strip .product-card {
  flex: 0 0 180px;
  scroll-snap-align: start;
}

.cat-strip-arrows {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-bottom: 8px;
}

.cat-strip-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(201,168,76,.4);
  background: var(--surface);
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background .2s, border-color .2s;
}

.cat-strip-arrow:hover {
  background: var(--rose);
  border-color: var(--rose);
  color: #fff;
}

@media (max-width: 640px) {
  .cat-strip .product-card { flex: 0 0 180px; }
}

.product-card.hidden {
  display: none;
}

/* Filter Bar */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 36px;
  padding: 16px 20px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(232, 164, 184, 0.2);
}

.filter-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  font-family: 'Tajawal', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 50px;
  background: #111;
  border: 1.5px solid #333;
  color: #fff;
  transition: var(--transition);
}

.pill:hover {
  background: #222;
  border-color: var(--gold);
  color: #fff;
}

.pill.active {
  background: #000;
  color: #fff;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold);
}

.price-filter {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 220px;
}

.filter-label {
  font-size: 0.85rem;
  color: var(--text-mid);
}

.price-slider-wrap {
  padding-inline: 4px;
}

.noUi-connect {
  background: var(--plum);
}

.noUi-handle::before,
.noUi-handle::after {
  display: none;
}

.noUi-handle {
  border-radius: 50%;
  background: var(--plum);
  border: 2px solid #fff;
  box-shadow: var(--shadow-sm);
  cursor: none;
}

/* ════════════════════════════════════════════════
   HOW IT WORKS
   ════════════════════════════════════════════════ */
.how-section {
  background: var(--warm-bg);
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.step-card {
  flex: 1;
  min-width: 180px;
  max-width: 260px;
  text-align: center;
  padding: 32px 20px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--plum), var(--rose));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  display: block;
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.step-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--plum);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

.step-divider {
  font-size: 2rem;
  color: var(--rose);
  padding: 0 8px;
  align-self: center;
  opacity: 0.5;
  margin-top: -16px;
}

/* ════════════════════════════════════════════════
   TESTIMONIALS MARQUEE
   ════════════════════════════════════════════════ */
.testimonials-section {
  background: var(--surface);
  overflow: hidden;
  padding-block: 80px;
}

.marquee-wrap {
  overflow: hidden;
  margin-top: 32px;
}

.marquee-track {
  display: flex;
  gap: 20px;
  animation: marquee-scroll 18s linear infinite;
  width: max-content;
}

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

@keyframes marquee-scroll {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(-50%)
  }
}

.testimonial-card {
  min-width: 280px;
  max-width: 300px;
  background: var(--warm-bg);
  border: 1px solid rgba(232, 164, 184, 0.25);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.testi-stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 10px;
}

.testi-text {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 14px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testi-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--plum));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.testi-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--plum);
}

.testi-location {
  font-size: 0.75rem;
  color: var(--text-light);
}

.testi-store-reply {
  margin-top: 10px;
  background: rgba(123,45,139,.08);
  border-right: 3px solid var(--btn-color);
  border-radius: 0 10px 10px 0;
  padding: 8px 12px;
  font-size: .82rem;
  color: var(--text-mid);
}
.testi-reply-label {
  display: block;
  font-weight: 700;
  color: var(--btn-color);
  font-size: .78rem;
  margin-bottom: 3px;
}

/* ════════════════════════════════════════════════
   NEWSLETTER
   ════════════════════════════════════════════════ */
.newsletter-section {
  background: var(--warm-bg);
}

.newsletter-card {
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 680px;
  margin-inline: auto;
}

.newsletter-decor {
  font-size: 4rem;
  position: absolute;
  top: -10px;
  inset-inline-end: 20px;
  opacity: 0.15;
  line-height: 1;
}

.newsletter-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--plum);
  margin: 8px 0 10px;
}

.newsletter-sub {
  color: var(--text-mid);
  margin-bottom: 28px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin-inline: auto;
  flex-wrap: wrap;
}

.newsletter-input {
  flex: 1;
  min-width: 220px;
  padding: 14px 20px;
  border-radius: 50px;
  border: 1.5px solid rgba(232, 164, 184, 0.4);
  background: rgba(255, 248, 244, 0.8);
  font-family: 'Tajawal', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.newsletter-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.newsletter-note {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 14px;
}

/* ════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════ */
.footer {
  background: var(--plum);
  color: rgba(255, 235, 225, 0.9);
  padding-top: 60px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 235, 225, 0.12);
}

.footer-logo {
  margin-bottom: 12px;
}

.footer .logo-glow {
  color: #fff;
}

.footer .logo-divider {
  background: linear-gradient(90deg, rgba(201,168,76,0.7) 0%, transparent 100%);
}

.footer .logo-ar {
  color: var(--gold);
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255, 235, 225, 0.65);
  margin-bottom: 20px;
}

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

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 235, 225, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 235, 225, 0.75);
  transition: background 0.25s, color 0.25s;
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.footer-heading {
  font-size: 0.8rem;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a,
.footer-links span {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a0a1e;
  background: rgba(255, 210, 220, 0.9);
  border: 1.5px solid rgba(232, 120, 160, 0.5);
  border-radius: 50px;
  padding: 5px 16px;
  transition: all 0.25s ease;
  text-decoration: none;
}

.footer-links a:hover {
  background: #fff;
  border-color: #e878a0;
  color: #6B2D4E;
  transform: translateX(-3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-block: 20px;
  font-size: 0.8rem;
  color: rgba(255, 235, 225, 0.45);
}

/* ════════════════════════════════════════════════
   PRODUCT MODAL
   ════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(26, 10, 18, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: opacity 0.3s;
}

.modal-overlay[hidden] {
  display: none;
}

.modal-box {
  background: var(--surface);
  border-radius: var(--radius);
  max-width: 900px;
  width: 100%;
  max-height: 90dvh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: sticky;
  top: 16px;
  inset-inline-end: 16px;
  float: inline-end;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(107, 45, 78, 0.1);
  color: var(--plum);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 16px 0 0;
  z-index: 2;
  transition: background 0.2s;
}

.modal-close:hover {
  background: rgba(107, 45, 78, 0.2);
}

.modal-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  clear: both;
}

.modal-gallery {
  padding: 24px 0 24px 24px;
}

.modal-swiper {
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.modal-swiper .swiper-slide img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.modal-details {
  padding: 32px 32px 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-cat-badge {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.modal-title {
  font-size: 1.6rem;
  color: var(--plum);
  line-height: 1.3;
}

.modal-stars {
  color: var(--gold);
  font-size: 0.95rem;
}

.modal-reviews {
  color: var(--text-light);
  font-size: 0.85rem;
}

.modal-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--plum);
}

.modal-desc {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.modal-qty {
  display: flex;
  align-items: center;
  gap: 16px;
}

.qty-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(232, 164, 184, 0.5);
  color: var(--plum);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.qty-btn:hover {
  background: rgba(232, 164, 184, 0.2);
}

.qty-val {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--plum);
  min-width: 24px;
  text-align: center;
}

.modal-add-btn,
.modal-wish-btn {
  width: 100%;
}

.modal-wish-btn {
  color: var(--rose);
  border-color: var(--rose);
}

/* ════════════════════════════════════════════════
   CART DRAWER
   ════════════════════════════════════════════════ */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(26, 10, 18, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}

.cart-overlay.show {
  opacity: 1;
  pointer-events: all;
}

.cart-drawer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100dvh;
  width: min(420px, 100vw);
  background: var(--surface);
  z-index: 3001;
  box-shadow: 4px 0 60px rgba(107, 45, 78, 0.18);
  display: flex;
  flex-direction: column;
  transform: translateX(-110%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(232, 164, 184, 0.2);
}

.cart-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--plum);
}

.cart-close {
  color: var(--text-mid);
  font-size: 1.2rem;
  padding: 4px;
  border-radius: 50%;
  transition: background 0.2s;
}

.cart-close:hover {
  background: rgba(232, 164, 184, 0.2);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-empty {
  text-align: center;
  padding: 40px 0;
  color: var(--text-light);
}

.cart-empty-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.cart-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--warm-bg);
  border: 1px solid rgba(232, 164, 184, 0.15);
}

.cart-item-img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--plum);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 700;
  margin-top: 2px;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.cart-item-qty .qty-btn {
  width: 28px;
  height: 28px;
  font-size: 1rem;
}

.cart-item-qty .qty-val {
  font-size: 0.95rem;
}

.cart-item-remove {
  color: var(--rose);
  font-size: 1.1rem;
  padding: 4px;
  border-radius: 50%;
  transition: background 0.2s;
  flex-shrink: 0;
}

.cart-item-remove:hover {
  background: rgba(232, 164, 184, 0.2);
}

.cart-footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(232, 164, 184, 0.2);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-total {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--plum);
}

.whatsapp-btn {
  background: linear-gradient(135deg, #25D366, #1BA84D);
  gap: 10px;
  font-size: 0.95rem;
}

.whatsapp-btn:hover {
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.35);
}

/* ════════════════════════════════════════════════
   SUCCESS OVERLAY
   ════════════════════════════════════════════════ */
.success-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(253, 246, 238, 0.95);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.success-overlay[hidden] {
  display: none;
}

.success-box {
  padding: 48px 40px;
  text-align: center;
  max-width: 480px;
  width: 100%;
}

.lottie-wrap {
  width: 120px;
  height: 120px;
  margin-inline: auto;
  margin-bottom: 20px;
}

.success-title {
  font-size: 1.8rem;
  color: var(--plum);
  margin-bottom: 12px;
}

.success-sub {
  color: var(--text-mid);
  margin-bottom: 8px;
}

.success-note {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

/* ════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .modal-inner {
    grid-template-columns: 1fr;
  }

  .modal-gallery {
    padding: 24px 24px 0;
  }

  .modal-details {
    padding: 24px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .nav-hamburger {
    display: flex;
  }

  .steps-grid {
    gap: 12px;
  }

  .step-divider {
    display: none;
  }

  .hero-stats {
    flex-direction: column;
  }

  .stat-card:first-child,
  .stat-card:last-child {
    border-radius: var(--radius);
  }

  .stat-divider {
    width: 60px;
    height: 1px;
  }
}

@media (max-width: 600px) {
  .categories-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .filter-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  #cursor-dot,
  #cursor-ring {
    display: none;
  }

  body {
    cursor: auto;
  }

  button,
  a {
    cursor: pointer;
  }
}

/* ── REDUCED MOTION ─────────────────────────────── */
@media (prefers-reduced-motion:reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* ════════════════════════════════════════════════
   FLOATING PWA INSTALL BUTTON (SIDE)
   ════════════════════════════════════════════════ */
.pwa-float-btn {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2000;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--plum, #6B2D4E), #9b4077);
  box-shadow: 0 6px 24px rgba(107,45,78,0.4);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s, box-shadow 0.25s, width 0.3s;
  overflow: hidden;
}
.pwa-float-btn:hover {
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 10px 36px rgba(107,45,78,0.5);
}
.pwa-float-btn .pwa-float-label {
  position: absolute;
  left: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--plum, #6B2D4E);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 50px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  font-family: 'Tajawal', sans-serif;
}
.pwa-float-btn:hover .pwa-float-label {
  opacity: 1;
}
@media (max-width: 768px) {
  .pwa-float-btn {
    width: 42px;
    height: 42px;
    right: 8px;
  }
  .pwa-float-btn .pwa-float-label { display: none; }
}

/* ════════════════════════════════════════════════
   FLOATING WHATSAPP BUTTON
   ════════════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 2000;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #1BA84D);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  animation: whatsapp-pulse 2.5s infinite;
  transition: transform 0.25s, box-shadow 0.25s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 36px rgba(37, 211, 102, 0.55);
}

@keyframes whatsapp-pulse {

  0%,
  100% {
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45), 0 0 0 14px rgba(37, 211, 102, 0);
  }
}

.whatsapp-float-tip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--plum);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 50px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  transform: translateY(-50%) translateX(6px);
}

.whatsapp-float:hover .whatsapp-float-tip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ════════════════════════════════════════════════
   ABOUT SECTION
   ════════════════════════════════════════════════ */
#about {
  background: var(--surface);
}

/* ════════════════════════════════════════════════
   MISC POLISH
   ════════════════════════════════════════════════ */
/* Smooth image fade-in on load */
img {
  transition: opacity 0.4s ease;
}

img[loading="lazy"] {
  opacity: 0;
}

img.loaded {
  opacity: 1;
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Swiper pagination dots — brand colors */
.swiper-pagination-bullet {
  background: var(--rose);
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  background: var(--plum);
  opacity: 1;
}

/* Mobile stat stack fix */
@media (max-width: 900px) {
  .hero-stats {
    flex-direction: column;
    max-width: 320px;
    padding: 0 24px 40px;
  }

  .stat-card {
    width: 100%;
    border-right: 1px solid rgba(232, 164, 184, 0.25) !important;
  }

  .stat-card:first-child {
    border-radius: var(--radius) var(--radius) 0 0;
  }

  .stat-card:last-child {
    border-radius: 0 0 var(--radius) var(--radius);
    border-top: none;
  }
}

/* Better step grid gap on desktop */
@media (min-width: 901px) {
  .steps-grid {
    gap: 16px;
  }

  .step-card {
    border-radius: var(--radius);
  }
}

/* Horizontal scroll section — hide native scrollbar */
.bestsellers-track-wrap {
  scrollbar-width: none;
}

.bestsellers-track-wrap::-webkit-scrollbar {
  display: none;
}

/* ════════════════════════════════════════════════
   WIZARD & MODAL STYLES (Glassmorphism UI)
   ════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(61, 16, 80, 0.55);
  backdrop-filter: blur(14px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease;
}

.modal-overlay.hidden {
  display: none;
}

.login-modal-box,
.wizard-container {
  width: 90%;
  max-width: 480px;
  background: #fff;
  border-radius: 28px;
  padding: 48px 44px 40px;
  position: relative;
  box-shadow: 0 8px 0 0 var(--btn-shadow-color), 0 20px 60px rgba(123,45,139,0.22);
  max-height: 90vh;
  overflow-y: auto;
  border: 2.5px solid var(--btn-color);
}

.app-settings-section {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px dashed rgba(232, 164, 184, 0.3);
  text-align: center;
}

.app-settings-section h4 {
  font-family: 'Tajawal', sans-serif;
  color: var(--plum);
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.app-settings-section p {
  font-size: 0.9rem;
  color: var(--text-mid);
  margin-bottom: 20px;
  line-height: 1.5;
}

#pwa-installed-msg {
  color: #1BA84D;
  font-weight: 700;
  background: rgba(27, 168, 77, 0.1);
  padding: 12px;
  border-radius: 12px;
}

.wizard-container {
  max-width: 800px;
  padding: 60px 40px;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.4rem;
  color: var(--text-light);
  cursor: pointer;
  z-index: 10;
  padding: 10px;
  border: none;
  background: none;
}

.login-tabs {
  display: flex;
  gap: 4px;
  background: rgba(123, 45, 139, 0.08);
  border-radius: 50px;
  padding: 5px;
  margin-bottom: 30px;
  border: 1.5px solid rgba(123,45,139,0.15);
}

.login-tab {
  flex: 1;
  padding: 12px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--btn-color);
  background: none;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  font-family: 'Tajawal', sans-serif;
}

.login-tab.active {
  background: var(--btn-color);
  color: #fff;
  box-shadow: 0 4px 12px rgba(123,45,139,0.3);
}

.login-form {
  display: none;
  text-align: center;
}

.login-form.active {
  display: block;
  animation: fade-up 0.5s ease;
}

/* Wizard Specifics */
.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
  animation: fade-up 0.6s ease;
}

.wizard-title {
  font-size: 1.95rem;
  font-weight: 700;
  color: var(--plum);
  margin-bottom: 14px;
}

.wizard-sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  margin-bottom: 32px;
}

.wizard-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 20px;
  margin-bottom: 35px;
}

.opt-card {
  background: #fff;
  border: 1.5px solid rgba(232, 164, 184, 0.25);
  padding: 30px 15px;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.opt-card:hover {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.04);
  transform: translateY(-5px);
}

.opt-card.selected {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.12);
}

.opt-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
  display: block;
}

.opt-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--plum);
}

.wizard-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  max-width: 100%;
}

.wizard-results .product-card {
  max-width: 240px;
  margin-inline: auto;
}

.wizard-results .card-img-wrap {
  aspect-ratio: 1 / 1;
  max-height: 200px;
}

/* FAB Assistant */
.fab-assistant {
  position: fixed;
  bottom: 35px;
  inset-inline-start: 35px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--plum);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 35px rgba(107, 45, 78, 0.4);
  z-index: 999;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fab-assistant:hover {
  transform: scale(1.15) rotate(-10deg);
  background: var(--gold);
}

.fab-badge {
  position: absolute;
  top: -4px;
  inset-inline-end: -4px;
  background: var(--gold);
  border: 2px solid #fff;
  color: #fff;
  font-size: 0.65rem;
  padding: 3px 9px;
  border-radius: 50px;
  font-weight: 700;
}

/* ════════════════════════════════════════════════
   STORES MARKETPLACE & BOTTOM NAV
   ════════════════════════════════════════════════ */
.stores-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}

@media (max-width: 600px) {
  .stores-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 20px;
  }
}

.store-card {
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid rgba(232, 164, 184, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.store-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--rose);
  box-shadow: var(--shadow-md);
}

.store-banner {
  height: 100px;
  overflow: hidden;
  position: relative;
}

@media (max-width: 600px) {
  .store-banner {
    height: 70px;
  }
}

.store-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.store-card:hover .store-banner img {
  transform: scale(1.1);
}

.store-info {
  padding: 10px 8px;
  text-align: center;
  position: relative;
}

@media (max-width: 600px) {
  .store-info {
    padding: 6px 4px;
  }
}

.store-emoji {
  font-size: 1.4rem;
  margin: 0 auto 4px;
  display: block;
  text-align: center;
  line-height: 1;
}

@media (max-width: 600px) {
  .store-emoji {
    font-size: 1.1rem;
    margin-bottom: 2px;
  }
}

.store-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--plum);
  margin-bottom: 2px;
}

@media (max-width: 600px) {
  .store-name {
    font-size: 0.65rem;
    margin-bottom: 1px;
  }
}

.store-cat {
  font-size: 0.75rem;
  color: var(--text-light);
  letter-spacing: 0.03em;
}

@media (max-width: 600px) {
  .store-cat {
    font-size: 0.55rem;
    letter-spacing: 0;
  }
}

/* Bottom Nav - Desktop Hidden */
.mobile-bottom-nav {
  display: none !important;
}

@media (max-width: 900px) {
  .mobile-bottom-nav {
    display: flex !important;
    position: fixed;
    bottom: 16px;
    left: 14px;
    right: 14px;
    height: 58px;
    background: rgba(255, 248, 244, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 22px;
    z-index: 9999;
    box-shadow: 0 10px 35px rgba(107, 45, 78, 0.15), inset 0 1px 1px rgba(255,255,255,0.6);
    padding: 0 6px;
    justify-content: space-between;
    align-items: center;
  }

  .nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 100%;
    cursor: pointer;
    min-width: 0;
    padding: 0 2px;
  }

  .nav-item-icon {
    font-size: 1.05rem;
    transition: transform 0.3s;
    line-height: 1;
  }

  .nav-item-text {
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .nav-item.active {
    color: var(--plum);
  }

  .nav-item.active .nav-item-icon {
    transform: translateY(-4px) scale(1.1);
    filter: drop-shadow(0 3px 6px rgba(107, 45, 78, 0.2));
  }

  .nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 5px;
    width: 4px;
    height: 4px;
    background: var(--plum);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--plum);
  }

  .nav-item-badge {
    position: absolute;
    top: 12px;
    right: 20%;
    background: var(--rose);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    min-width: 17px;
    height: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1.5px solid #fff;
    box-shadow: 0 2px 8px rgba(232, 164, 184, 0.4);
  }
}

.fab-badge {
  position: absolute;
  top: -4px;
  inset-inline-end: -4px;
  background: var(--gold);
  border: 2px solid #fff;
  color: #fff;
  font-size: 0.65rem;
  padding: 3px 9px;
  border-radius: 50px;
  font-weight: 700;
}

/* ════════════════════════════════════════════════
   SPACE INTRO ANIMATION
   ════════════════════════════════════════════════ */
#space-intro-container {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: #0a050f;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#space-intro-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
}

#intro-bz-logo {
  position: relative;
  z-index: 2;
  font-family: 'Playfair Display', serif;
  font-size: 10rem;
  font-weight: 700;
  color: transparent;
  background: linear-gradient(90deg, #E8A4B8, #C9A84C, #E8A4B8);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  opacity: 0;
  transform: scale(3) translateZ(50px);
  filter: drop-shadow(0 0 60px rgba(201, 168, 76, 0.8));
  transition: none; /* Removed transition for an INSTANT POP */
}

#intro-bz-logo.visible {
  opacity: 1;
  transform: scale(1) translateZ(0);
  animation: intro-shimmer-sweep 3s linear infinite;
}

@keyframes intro-shimmer-sweep {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ════════════════════════════════════════════════
   DIVIDER RIBBON
   ════════════════════════════════════════════════ */
.image-separator-ribbon {
  width: 100%;
  height: 120px;
  margin: 40px 0;
  background: linear-gradient(90deg, var(--rose) 0%, var(--gold) 50%, var(--rose) 100%);
  position: relative;
  z-index: 5;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  animation: bg-scroll-left 25s linear infinite;
  border-top: 2px solid rgba(201, 168, 76, 0.3);
  border-bottom: 2px solid rgba(201, 168, 76, 0.3);
}

@keyframes bg-scroll-left {
  from { background-position: 1200px center; }
  to { background-position: 0 center; }
}

/* ════════════════════════════════════════════════
   SEARCH & NAV BAR
   ════════════════════════════════════════════════ */
.search-nav-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 20px auto 40px;
  max-width: 800px;
  padding: 0 15px;
}

/* ══════════════════════════════════════════════
   STICKY CATEGORY CHIPS BAR
   ══════════════════════════════════════════════ */
.cat-chips-bar {
  position: sticky;
  top: 70px;
  z-index: 900;
  background: rgba(253,246,238,0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(201,168,76,0.18);
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: background 0.3s;
}

body.luxury .cat-chips-bar {
  background: rgba(20,8,14,0.88);
  border-bottom-color: rgba(201,168,76,0.2);
}

.cat-chips-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  direction: rtl;
}

.cat-chips-inner::-webkit-scrollbar { display: none; }

.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 50px;
  border: 1.5px solid rgba(107,45,78,0.2);
  background: transparent;
  color: var(--text-mid);
  font-family: 'Tajawal', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  scroll-snap-align: start;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
  cursor: pointer;
}

.cat-chip:hover {
  background: rgba(107,45,78,0.08);
  border-color: var(--plum);
  color: var(--plum);
  transform: translateY(-1px);
}

.cat-chip.active {
  background: var(--plum);
  border-color: var(--plum);
  color: #fff;
  box-shadow: 0 4px 14px rgba(107,45,78,0.35);
}

body.luxury .cat-chip {
  color: rgba(255,235,225,0.7);
  border-color: rgba(201,168,76,0.25);
}

body.luxury .cat-chip.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #1a0a12;
}

.cat-chip-icon {
  font-size: 1rem;
  line-height: 1;
}

/* ══════════════════════════════════════════════
   SHOP BY BRAND
   ══════════════════════════════════════════════ */
.brands-section {
  padding: 60px 0;
  background: var(--warm-bg);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 12px;
  background: var(--surface);
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: 16px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.25s;
  text-align: center;
}

.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(107,45,78,0.15);
  border-color: var(--gold);
}

.brand-emoji {
  font-size: 2rem;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.15));
}

.brand-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-mid);
  letter-spacing: 0.04em;
}

@media (max-width: 600px) {
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .brand-card { padding: 14px 8px; }
  .brand-emoji { font-size: 1.6rem; }
}

/* ── Old category-jump pills (kept for compatibility) ── */
.category-jump-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.search-box-wrap {
  width: 100%;
  max-width: 600px;
}

/* ── ELEGANT SEARCH INPUT ────────────────────── */
.brutalist-search-container {
  position: relative;
  width: 100%;
  font-family: 'Tajawal', sans-serif;
  direction: rtl;
  margin-top: 24px;
}

.brutalist-search-input {
  width: 100%;
  padding: 14px 48px 14px 22px;
  font-size: 1rem;
  font-weight: 500;
  color: #2A1020;
  background-color: rgba(255,255,255,0.95);
  border: 1.5px solid rgba(232,164,184,0.35);
  border-radius: 50px;
  outline: none;
  text-align: right;
  font-family: 'Tajawal', sans-serif;
  transition: all 0.35s ease;
  box-shadow: 0 2px 16px rgba(107,45,78,0.06);
  position: relative;
  box-sizing: border-box;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.brutalist-search-input::placeholder {
  color: #9a7b8d;
  font-weight: 400;
  transition: color 0.3s ease;
}

.brutalist-search-input:focus::placeholder {
  color: transparent;
}

.brutalist-search-input:focus {
  border-color: #C9A84C;
  box-shadow: 0 2px 24px rgba(201,168,76,0.15), 0 0 0 3px rgba(201,168,76,0.08);
  background: #fff;
}

.brutalist-search-label {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  color: #9a7b8d;
  background: none;
  padding: 0;
  z-index: 1;
  font-family: 'Tajawal', sans-serif;
  transition: all 0.3s ease;
  pointer-events: none;
}

.brutalist-search-input:focus + .brutalist-search-label {
  color: #C9A84C;
  transform: translateY(-50%) scale(1.1);
}

/* smooth-type gradient overlay */
.smooth-type {
  position: relative;
  overflow: hidden;
}

/* dark mode */
.dark-mode .brutalist-search-input {
  color: #f8efe6;
  background: rgba(30,12,22,0.85);
  border-color: rgba(201,168,76,0.3);
  box-shadow: 0 2px 16px rgba(0,0,0,0.2);
}

.dark-mode .brutalist-search-input:focus {
  border-color: #C9A84C;
  box-shadow: 0 2px 24px rgba(201,168,76,0.12);
  background: rgba(30,12,22,0.95);
}

.dark-mode .brutalist-search-label {
  color: rgba(201,168,76,0.6);
}

.dark-mode .brutalist-search-input:focus + .brutalist-search-label {
  color: #C9A84C;
}
/* -- LOGIN MODAL HEADER -- */
.login-modal-header {
  text-align: center;
  margin-bottom: 28px;
}

.login-modal-logo {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 6px;
  display: block;
}

.login-modal-brand {
  font-family: 'Cormorant Garamond', 'Tajawal', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--btn-color);
  letter-spacing: 0.06em;
  margin: 0;
}

/* -- LOGIN MODAL FIXES -- */
.login-input {
  width: 100%;
  padding: 14px 20px;
  border-radius: 14px;
  border: 2px solid rgba(123, 45, 139, 0.18);
  background: #faf7ff;
  font-family: 'Tajawal', sans-serif;
  font-size: 1rem;
  margin-bottom: 12px;
  text-align: right;
  outline: none;
  transition: all 0.3s ease;
  color: #1a0a1e;
  box-sizing: border-box;
}

.login-input:focus {
  border-color: var(--btn-color);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(123,45,139,0.1), 0 3px 0 0 var(--btn-color);
}

.login-divider {
  text-align: center;
  position: relative;
  margin: 24px 0;
  color: var(--text-light);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.login-divider span {
  flex-shrink: 0;
}

.login-divider::before,
.login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(107, 45, 78, 0.1);
}

/* -- ADMIN ACCESS -- */
.admin-btn {
  display: flex !important;
}

/* -- BTN FULL WIDTH -- */
.btn-full {
  width: 100%;
  display: block;
  text-align: center;
  margin-top: 8px;
}

/* ═══════════════════════════════════════════
   COMPACT QUICK VIEW PANEL
════════════════════════════════════════════ */
.qv-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 6, 12, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9800;
  padding: 16px;
}

.qv-overlay[hidden] {
  display: none !important;
}

.qv-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.28);
  display: flex;
  flex-direction: row-reverse;
  gap: 0;
  max-width: 480px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.qv-close {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0,0,0,0.08);
  color: #555;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}
.qv-close:hover { background: rgba(0,0,0,0.18); }

.qv-img-wrap {
  flex-shrink: 0;
  width: 140px;
  align-self: stretch;
}

.qv-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.qv-info {
  flex: 1;
  padding: 18px 16px 16px 36px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
  direction: rtl;
}

.qv-cat {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--plum);
  background: rgba(123, 45, 139, 0.1);
  padding: 2px 8px;
  border-radius: 30px;
  align-self: flex-start;
  letter-spacing: 0.02em;
}

.qv-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.3;
  margin: 0;
}

.qv-price {
  font-size: 1.1rem;
  font-weight: 900;
  color: #1a6b2a;
  margin: 0;
}

.qv-desc {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.qv-add-btn {
  margin-top: auto;
  padding: 10px 18px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--btn-color, var(--plum)), #8B3A5A);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: 'Tajawal', sans-serif;
  transition: box-shadow 0.25s, transform 0.2s;
  box-shadow: 0 6px 20px rgba(107, 45, 78, 0.3);
}
.qv-add-btn:hover {
  box-shadow: 0 10px 28px rgba(107, 45, 78, 0.45);
  transform: translateY(-2px);
}

@media (max-width: 480px) {
  .qv-card {
    flex-direction: column;
    max-width: 320px;
  }
  .qv-img-wrap {
    width: 100%;
    height: 150px;
  }
  .qv-info {
    padding: 14px 14px 14px 14px;
  }
}
