:root {
  --cream: #f5efe6;
  --warm-white: #faf7f2;
  --sand: #e8ddd0;
  --taupe: #c4b49a;
  --deep-brown: #2c1a0e;
  --mid-brown: #5c3d2e;
  --amber: #c97b2f;
  --amber-light: #e8973a;
  --charcoal: #1a1410;
  --text-primary: #1e1208;
  --text-secondary: #6b5b4e;
  --text-light: #9e8e82;
  --gold: #b8952a;
  --gold-light: #d4af37;
  --ar-glow: rgba(201, 123, 47, 0.15);
}

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

body {
  font-family: "Tajawal", sans-serif;
  background: var(--warm-white);
  color: var(--text-primary);
  overflow-x: hidden;
  direction: rtl;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(196, 180, 154, 0.2);
}

.nav-logo {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--deep-brown);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo span {
  color: var(--amber);
}

.nav-logo-ar {
  font-family: "Tajawal", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--deep-brown);
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo-dot {
  width: 8px;
  height: 8px;
  background: var(--amber);
  border-radius: 50%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--deep-brown);
}

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

.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--sand);
  border: 1px solid transparent;
  border-radius: 100px;
  padding: 9px 18px;
  font-family: "Tajawal", sans-serif;
  font-size: 14px;
  color: var(--text-secondary);
  width: 220px;
  transition: all 0.2s;
  cursor: text;
}

.search-bar:hover {
  border-color: var(--taupe);
  background: #fff;
}

.search-icon {
  opacity: 0.5;
  font-size: 16px;
}

.nav-icon-btn {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  border: 1px solid var(--sand) !important;
  border-radius: 50% !important;
  background: transparent !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  font-size: 18px !important;
  color: var(--text-secondary) !important;
  transition: all 0.2s !important;
  flex-shrink: 0 !important;
}

.nav-icon-btn:hover {
  background: var(--sand);
  color: var(--deep-brown);
}

.cart-badge {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 20px;
  height: 20px;
  background: var(--amber);
  color: white;
  font-size: 11px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-indent: 0;
}

.nav-profile-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--deep-brown);
  font-size: 16px;
  font-weight: 600;
  overflow: hidden;
  flex-shrink: 0;
}

.nav-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* User Profile in Nav */
.user-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.user-profile:hover {
  opacity: 0.8;
}

.user-avatar-img,
.user-avatar {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border-radius: 50%;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--deep-brown);
  overflow: hidden;
  flex-shrink: 0;
}

.user-avatar-img {
  object-fit: cover;
}

.user-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100px;
}

/* ── HERO ── */
.hero {
  min-height: calc(100vh - 152px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 72px;
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px 80px 48px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(
    135deg,
    rgba(201, 123, 47, 0.08),
    rgba(201, 123, 47, 0.02)
  );
  border: 1px solid rgba(201, 123, 47, 0.25);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 500;
  color: var(--amber);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 28px;
  width: fit-content;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.hero-title {
  font-family: "Tajawal", sans-serif;
  font-size: 64px;
  font-weight: 700;
  line-height: 1.12;
  color: var(--deep-brown);
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.hero-title em {
  font-style: normal;
  color: var(--amber);
  position: relative;
}

.hero-title em::after {
  content: "";
  position: absolute;
  bottom: 2px;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), transparent);
  border-radius: 2px;
}

.hero-subtitle {
  font-size: 18px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 420px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--deep-brown);
  color: #fff;
  padding: 16px 32px;
  border-radius: 100px;
  font-family: "Tajawal", sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--amber), var(--mid-brown));
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(44, 26, 14, 0.25);
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-ar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(
    135deg,
    rgba(201, 123, 47, 0.1),
    rgba(201, 123, 47, 0.05)
  );
  color: var(--amber);
  padding: 15px 28px;
  border-radius: 100px;
  font-family: "Tajawal", sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border: 1.5px solid rgba(201, 123, 47, 0.4);
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 0.3px;
}

.btn-ar:hover {
  background: rgba(201, 123, 47, 0.15);
  border-color: var(--amber);
  transform: translateY(-2px);
}

.ar-icon {
  font-size: 20px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid var(--sand);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.trust-icon {
  font-size: 18px;
  color: var(--amber);
}

/* ── HERO VISUAL ── */
.hero-visual {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #ede4d7 0%, #d9cebe 100%);
}

.hero-visual-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 60% at 60% 40%,
      rgba(201, 123, 47, 0.08) 0%,
      transparent 70%
    ),
    linear-gradient(160deg, #ede4d7 0%, #cec0b0 100%);
}

.hero-room-scene {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0;
}

.room-illustration {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

/* Furniture placeholder illustration */
.sofa-scene {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 65%;
}

.sofa-body {
  position: absolute;
  bottom: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  height: 38%;
  background: linear-gradient(160deg, #7a5c45, #5c3d2e);
  border-radius: 16px 16px 8px 8px;
  box-shadow: 0 20px 60px rgba(44, 26, 14, 0.3);
}

.sofa-back {
  position: absolute;
  bottom: 100%;
  left: 5%;
  right: 5%;
  height: 60%;
  background: linear-gradient(160deg, #8a6c55, #6b4d3e);
  border-radius: 10px 10px 0 0;
}

.sofa-cushion {
  position: absolute;
  bottom: 50%;
  width: 28%;
  height: 40%;
  background: linear-gradient(160deg, #a07860, #7a5c45);
  border-radius: 8px;
  box-shadow: inset 0 -4px 8px rgba(0, 0, 0, 0.15);
}

.sofa-cushion:nth-child(2) {
  left: 8%;
}

.sofa-cushion:nth-child(3) {
  left: 38%;
}

.sofa-cushion:nth-child(4) {
  right: 8%;
}

.sofa-legs {
  position: absolute;
  bottom: -8%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 10%;
}

.sofa-leg {
  width: 12px;
  height: 18px;
  background: #3a2216;
  border-radius: 0 0 4px 4px;
}

/* AR phone overlay */
.ar-phone-overlay {
  position: absolute;
  bottom: 24%;
  left: 12%;
  z-index: 10;
}

.ar-phone {
  width: 80px;
  height: 140px;
  background: linear-gradient(160deg, #1a1a1a, #333);
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.ar-phone-screen {
  position: absolute;
  inset: 4px;
  background: linear-gradient(
    160deg,
    rgba(201, 123, 47, 0.3),
    rgba(44, 26, 14, 0.5)
  );
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ar-scan-lines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 6px,
    rgba(201, 123, 47, 0.08) 6px,
    rgba(201, 123, 47, 0.08) 7px
  );
  animation: scan 3s linear infinite;
}

@keyframes scan {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(14px);
  }
}

.ar-corner-tl,
.ar-corner-tr,
.ar-corner-bl,
.ar-corner-br {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--amber-light);
  border-style: solid;
}

.ar-corner-tl {
  top: 8px;
  right: 8px;
  border-width: 2px 0 0 2px;
}

.ar-corner-tr {
  top: 8px;
  left: 8px;
  border-width: 2px 2px 0 0;
}

.ar-corner-bl {
  bottom: 8px;
  right: 8px;
  border-width: 0 0 2px 2px;
}

.ar-corner-br {
  bottom: 8px;
  left: 8px;
  border-width: 0 2px 2px 0;
}

.ar-label {
  background: rgba(201, 123, 47, 0.9);
  color: white;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 3px 6px;
  border-radius: 4px;
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.ar-badge {
  position: absolute;
  top: -10px;
  left: -10px;
  background: var(--amber);
  color: white;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(201, 123, 47, 0.4);
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%,
  100% {
    box-shadow: 0 4px 12px rgba(201, 123, 47, 0.4);
  }

  50% {
    box-shadow: 0 4px 24px rgba(201, 123, 47, 0.7);
  }
}

/* Floor grid AR effect */
.ar-floor-grid {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background:
    linear-gradient(rgba(201, 123, 47, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 123, 47, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  perspective: 400px;
  transform: perspective(400px) rotateX(40deg);
  transform-origin: bottom;
  opacity: 0.8;
}

/* Floating stats */
.hero-float-stats {
  position: absolute;
  top: 48px;
  right: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-stat {
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(196, 180, 154, 0.3);
  border-radius: 12px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  box-shadow: 0 4px 20px rgba(44, 26, 14, 0.1);
  animation: slideInRight 0.6s ease both;
}

.float-stat:nth-child(2) {
  animation-delay: 0.15s;
}

.float-stat:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.float-stat-icon {
  font-size: 20px;
}

.float-stat-text strong {
  display: block;
  font-weight: 700;
  color: var(--deep-brown);
  font-size: 14px;
}

.float-stat-text span {
  color: var(--text-light);
  font-size: 11px;
}

/* ── VALUE STRIP ── */
.value-strip {
  background: var(--deep-brown);
  padding: 20px 0;
  overflow: hidden;
}

.value-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  white-space: nowrap;
}

.value-item-icon {
  font-size: 20px;
  color: var(--amber-light);
}

.value-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.15);
}

/* ── AR SECTION ── */
.ar-section {
  padding: 120px 64px;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}

.section-title {
  font-family: "Tajawal", sans-serif;
  font-size: 44px;
  font-weight: 700;
  color: var(--deep-brown);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
}

.ar-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ar-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid transparent;
  transition: all 0.3s;
  cursor: pointer;
}

.ar-step:hover {
  background: linear-gradient(135deg, rgba(201, 123, 47, 0.06), transparent);
  border-color: rgba(201, 123, 47, 0.15);
}

.ar-step-num {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: linear-gradient(135deg, var(--amber), var(--mid-brown));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.ar-step-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--deep-brown);
  margin-bottom: 4px;
}

.ar-step-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.ar-demo-visual {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(145deg, #ede4d7, #cec0b0);
  aspect-ratio: 4/5;
  box-shadow: 0 40px 100px rgba(44, 26, 14, 0.2);
}

.ar-demo-room {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 60px;
}

/* Large furniture in AR demo */
.ar-furniture-piece {
  width: 70%;
  height: 38%;
  background: linear-gradient(160deg, #8a6c55, #5c3d2e);
  border-radius: 14px;
  position: relative;
  box-shadow: 0 30px 80px rgba(44, 26, 14, 0.35);
}

.ar-furniture-piece::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 5%;
  right: 5%;
  height: 55%;
  background: linear-gradient(160deg, #9a7c65, #7a5c45);
  border-radius: 10px 10px 0 0;
}

.ar-measurement {
  position: absolute;
  background: rgba(201, 123, 47, 0.9);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

.ar-measurement-h {
  top: 30%;
  left: -50px;
  writing-mode: vertical-lr;
  text-orientation: mixed;
}

.ar-measurement-w {
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
}

.ar-scan-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(201, 123, 47, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 123, 47, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  border-radius: 28px;
}

.ar-corners {
  position: absolute;
  inset: 20px;
  pointer-events: none;
}

.arc {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--amber);
  border-style: solid;
  opacity: 0.6;
}

.arc-tl {
  top: 0;
  right: 0;
  border-width: 3px 0 0 3px;
  border-radius: 4px 0 0 0;
}

.arc-tr {
  top: 0;
  left: 0;
  border-width: 3px 3px 0 0;
  border-radius: 0 4px 0 0;
}

.arc-bl {
  bottom: 0;
  right: 0;
  border-width: 0 0 3px 3px;
  border-radius: 0 0 0 4px;
}

.arc-br {
  bottom: 0;
  left: 0;
  border-width: 0 3px 3px 0;
  border-radius: 0 0 4px 0;
}

.ar-chip {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(201, 123, 47, 0.95);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 16px rgba(201, 123, 47, 0.4);
}

.chip-dot {
  width: 7px;
  height: 7px;
  background: white;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

/* ── CATEGORIES ── */
.categories-section {
  padding: 80px 64px;
  background: var(--cream);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.category-card {
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 3/4;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--sand);
}

.category-card:hover {
  transform: translateY(-8px);
}

.category-card:hover .category-overlay {
  opacity: 0.6;
}

.category-visual {
  width: 100%;
  height: 70%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  position: relative;
}

.cat-bg-1 {
  background: linear-gradient(160deg, #c4af9a, #a89080);
}

.cat-bg-2 {
  background: linear-gradient(160deg, #b8c4b2, #96a890);
}

.cat-bg-3 {
  background: linear-gradient(160deg, #c4b89a, #a89880);
}

.cat-bg-4 {
  background: linear-gradient(160deg, #b0bcca, #90a0b0);
}

.cat-bg-5 {
  background: linear-gradient(160deg, #cab8a4, #aa9884);
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44, 26, 14, 0.8), transparent 50%);
  opacity: 0.5;
  transition: opacity 0.3s;
}

.category-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  color: white;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.category-count {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.8;
  display: block;
  margin-top: 2px;
}

/* ── PRODUCTS SECTION ── */
.products-section {
  padding: 80px 64px;
  max-width: 1280px;
  margin: 0 auto;
}

.products-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.filter-tabs {
  display: flex;
  gap: 8px;
}

.filter-tab {
  padding: 9px 20px;
  border-radius: 100px;
  font-family: "Tajawal", sans-serif;
  font-size: 14px;
  cursor: pointer;
  border: 1.5px solid var(--sand);
  background: transparent;
  color: var(--text-secondary);
  transition: all 0.2s;
  font-weight: 500;
}

.filter-tab:hover {
  border-color: var(--taupe);
  color: var(--deep-brown);
}

.filter-tab.active {
  background: var(--deep-brown);
  border-color: var(--deep-brown);
  color: white;
}

.sort-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--text-light);
}

.sort-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: "Tajawal", sans-serif;
  font-size: 13px;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.2s;
}

.sort-btn:hover {
  background: var(--sand);
}

.sort-btn.active {
  color: var(--amber);
  font-weight: 600;
}

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

/* ── PRODUCT CARD ── */
.product-card {
  border-radius: 20px;
  overflow: hidden;
  background: white;
  border: 1px solid rgba(196, 180, 154, 0.2);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(44, 26, 14, 0.12);
  border-color: rgba(201, 123, 47, 0.2);
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, #f0e8dc, #e0d4c4);
  overflow: hidden;
}

.product-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

/* Furniture mini illustrations for cards */
.mini-furniture {
  width: 65%;
  height: 50%;
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(44, 26, 14, 0.2);
}

.mini-sofa {
  background: linear-gradient(160deg, #9a7c65, #6b4d3e);
}

.mini-table {
  width: 50%;
  height: 30%;
  background: linear-gradient(160deg, #a68c74, #7a5c45);
  border-radius: 50% 50% 0 0 / 20px 20px 0 0;
}

.mini-wardrobe {
  background: linear-gradient(160deg, #8c7060, #5c4030);
  border-radius: 6px 6px 0 0;
}

.mini-decor {
  background: radial-gradient(circle, #c4a882, #a08860);
  border-radius: 50%;
  width: 30%;
  height: 40%;
}

.product-badge-wrap {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.badge-sale {
  background: rgba(220, 60, 40, 0.9);
  color: white;
}

.badge-ar {
  background: rgba(201, 123, 47, 0.92);
  color: white;
  letter-spacing: 0.3px;
}

.badge-ar-icon {
  font-size: 13px;
}

.product-actions {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s;
}

.product-card:hover .product-actions {
  opacity: 1;
  transform: translateX(0);
}

.action-btn {
  width: 36px;
  height: 36px;
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(8px);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(44, 26, 14, 0.1);
}

.action-btn:hover {
  background: white;
  transform: scale(1.1);
}

/* AR preview button on hover */
.ar-preview-hover {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgba(44, 26, 14, 0.95) 0%,
    rgba(44, 26, 14, 0.7) 60%,
    transparent 100%
  );
  padding: 20px 16px 12px;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: white;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.product-card:hover .ar-preview-hover {
  transform: translateY(0);
}

.product-info {
  padding: 16px 18px 18px;
}

.product-category {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--amber);
  font-weight: 600;
  margin-bottom: 6px;
}

.product-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--deep-brown);
  line-height: 1.4;
  margin-bottom: 12px;
}

.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.price-group {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-current {
  font-size: 22px;
  font-weight: 700;
  color: var(--deep-brown);
}

.price-currency {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.price-old {
  font-size: 13px;
  color: var(--text-light);
  text-decoration: line-through;
}

.discount-pct {
  font-size: 11px;
  font-weight: 700;
  color: #c93030;
  background: rgba(201, 48, 48, 0.08);
  padding: 2px 7px;
  border-radius: 4px;
}

.tabby-row {
  display: none !important;
}
.tabby-logo {
  display: none !important;
}

.product-cta {
  width: 100%;
  padding: 12px;
  background: var(--deep-brown);
  color: white;
  border: none;
  border-radius: 12px;
  font-family: "Tajawal", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.3px;
}

.product-cta:hover {
  background: linear-gradient(135deg, var(--amber), var(--mid-brown));
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(44, 26, 14, 0.2);
}

/* ── TESTIMONIALS ── */
.testimonials-section {
  padding: 100px 64px;
  background: var(--cream);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 40px auto 0;
}

.testimonial-card {
  background: white;
  border-radius: 20px;
  padding: 28px;
  border: 1px solid rgba(196, 180, 154, 0.2);
  transition: transform 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 16px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
  font-weight: 700;
  font-size: 15px;
}

.av1 {
  background: linear-gradient(135deg, #8a6c55, #5c3d2e);
}

.av2 {
  background: linear-gradient(135deg, #7a8a6c, #4e5c3e);
}

.av3 {
  background: linear-gradient(135deg, #6c7a8a, #3e4e5c);
}

.author-info strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--deep-brown);
}

.author-info span {
  font-size: 12px;
  color: var(--text-light);
}

.ar-star {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(201, 123, 47, 0.1);
  color: var(--amber);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 6px;
}

/* ── FOOTER ── */
footer {
  background: var(--charcoal);
  color: #686462;
  padding: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto 48px;
}

.footer-brand .nav-logo-ar {
  color: white;
  font-size: 26px;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 24px;
  max-width: 280px;
}

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

.social-btn {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}

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

.footer-col h5 {
  font-size: 13px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid #686462;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

.payment-logos {
  display: flex;
  gap: 12px;
  align-items: center;
}

.payment-logo {
  background: rgba(255, 255, 255, 0.1);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
}

/* ── ANIMATIONS ── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content > * {
  animation: fadeInUp 0.7s ease both;
}

.hero-eyebrow {
  animation-delay: 0.1s;
}

.hero-title {
  animation-delay: 0.2s;
}

.hero-subtitle {
  animation-delay: 0.3s;
}

.hero-ctas {
  animation-delay: 0.4s;
}

.hero-trust-bar {
  animation-delay: 0.5s;
}

/* ── STICKY AR BUTTON ── */
.ar-sticky-btn {
  position: fixed;
  bottom: 32px;
  left: 32px;
  z-index: 200;
  background: linear-gradient(135deg, var(--amber), #b86020);
  color: white;
  border: none;
  border-radius: 100px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Tajawal", sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(201, 123, 47, 0.5);
  transition: all 0.3s;
  animation: fadeInUp 1s 1s both;
  letter-spacing: 0.3px;
}

.ar-sticky-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(201, 123, 47, 0.6);
}

/* ── PROMO BANNER ── */
.promo-section {
  padding: 80px 64px;
  background: linear-gradient(135deg, var(--deep-brown), var(--mid-brown));
  margin: 0 64px;
  border-radius: 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.promo-section::before {
  content: "";
  position: absolute;
  top: -60%;
  left: 0;
  width: 50%;
  height: 200%;
  background: radial-gradient(
    ellipse,
    rgba(201, 123, 47, 0.2),
    transparent 60%
  );
}

.promo-content {
  position: relative;
  z-index: 1;
}

.promo-content .section-label {
  color: var(--amber-light);
  margin-bottom: 12px;
}

.promo-title {
  font-family: "Tajawal", sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: white;
  line-height: 1.2;
  margin-bottom: 16px;
}

.promo-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  margin-bottom: 32px;
  max-width: 400px;
  line-height: 1.6;
}

.promo-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: var(--deep-brown);
  padding: 14px 28px;
  border-radius: 100px;
  font-family: "Tajawal", sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
}

.promo-cta:hover {
  background: var(--amber-light);
  color: white;
  transform: translateY(-2px);
}

.promo-visual {
  font-size: 120px;
  opacity: 0.15;
  position: absolute;
  left: 48px;
  top: 50%;
  transform: translateY(-50%);
}

/* ── CART SIDEBAR ── */
.cart-sidebar {
  position: fixed;
  top: 0;
  left: -400px;
  width: 400px;
  height: 100vh;
  background: white;
  z-index: 10001;
  box-shadow: 20px 0 60px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  font-family: "Tajawal", sans-serif;
}

.cart-sidebar.active {
  left: 0;
}

.cart-header {
  padding: 32px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h3 {
  margin: 0;
  font-size: 20px;
  color: var(--deep-brown);
}

.close-cart {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #94a3b8;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 32px;
}

.cart-item {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  animation: fadeInUp 0.4s ease both;
}

.cart-item-img {
  width: 80px;
  height: 80px;
  background: #f8fafc;
  border-radius: 12px;
  padding: 8px;
  object-fit: contain;
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-weight: 700;
  color: var(--deep-brown);
  margin-bottom: 4px;
  font-size: 15px;
}

.cart-item-price {
  color: #c4b49a;
  font-weight: 800;
}

.cart-footer {
  padding: 32px;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
  font-size: 18px;
  font-weight: 800;
  color: var(--deep-brown);
}

.checkout-btn {
  width: 100%;
  background: var(--deep-brown);
  color: white;
  border: none;
  padding: 18px;
  border-radius: 16px;
  font-family: "Tajawal", sans-serif;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
}

.checkout-btn:hover {
  background: var(--amber);
  transform: translateY(-2px);
}

/* ── OVERLAY ── */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(44, 26, 14, 0.4);
  backdrop-filter: blur(8px);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: 0.4s;
}

.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ── TOASTS ── */
.toast {
  background: white;
  padding: 16px 24px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(44, 26, 14, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Tajawal", sans-serif;
  font-weight: 700;
  color: var(--deep-brown);
  border-right: 4px solid var(--amber);
  animation: slideInDown 0.4s ease both;
  pointer-events: auto;
}

@keyframes slideInDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.toast-success {
  border-right-color: #10b981;
  background: #f0fdf4;
  color: #065f46;
}

.toast-error {
  border-right-color: #ef4444;
  background: #fef2f2;
  color: #7f1d1d;
}

.toast-info {
  border-right-color: #3b82f6;
  background: #eff6ff;
  color: #1e3a8a;
}

.toast-warning {
  border-right-color: #f59e0b;
  background: #fffbeb;
  color: #92400e;
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--deep-brown);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-family: "Tajawal", sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-primary:hover {
  background: var(--amber);
  transform: translateY(-2px);
}

.btn-outline {
  background: white;
  color: var(--deep-brown);
  border: 1px solid rgba(44, 26, 14, 0.1);
  padding: 14px 28px;
  border-radius: 12px;
  font-family: "Tajawal", sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.btn-outline:hover {
  background: #f8fafc;
  border-color: var(--amber);
}

.btn-ar {
  background: var(--amber-light);
  color: var(--deep-brown);
  border: none;
  padding: 14px 24px;
  border-radius: 12px;
  font-family: "Tajawal", sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-ar:hover {
  background: var(--amber);
  color: white;
}

/* ============================================
   QUICK VIEW MODAL (Part 3)
   ============================================ */
#quick-view-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(44, 26, 14, 0.55);
  backdrop-filter: blur(4px);
}

#quick-view-overlay.qv-visible {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.qv-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(44, 26, 14, 0.55);
  backdrop-filter: blur(4px);
}

.qv-modal {
  position: relative;
  background: #faf7f2;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(44, 26, 14, 0.22);
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  direction: rtl;
  font-family: "Tajawal", sans-serif;
  transform: translateY(20px);
  transition: transform 0.28s ease;
}

#quick-view-overlay.qv-visible .qv-modal {
  transform: translateY(0);
}

.qv-close {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e8ddd0;
  background: white;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  color: #2c1a0e;
  transition: 0.2s;
}

.qv-close:hover {
  background: #f1f5f9;
}

.qv-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.qv-image-col {
  background: white;
  border-radius: 28px 0 0 28px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.qv-image-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
}

.qv-image-wrap img {
  max-width: 100%;
  max-height: 300px;
  object-fit: contain;
}

.qv-delivery-badge {
  background: #dcfce7;
  color: #15803d;
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.qv-info-col {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.qv-category {
  font-size: 12px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.qv-title {
  font-size: 26px;
  color: #2c1a0e;
  font-weight: 800;
  margin: 0;
  line-height: 1.3;
}

.qv-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.qv-price-main {
  font-size: 24px;
  font-weight: 800;
  color: #2c1a0e;
}

.qv-price-old {
  font-size: 16px;
  color: #94a3b8;
  text-decoration: line-through;
}

.qv-desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.8;
  margin: 0;
  max-height: 80px;
  overflow: hidden;
}

.qv-tabby {
  display: none !important;
}

.qv-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.qv-btn-cart {
  flex: 1;
  padding: 14px;
  background: #2c1a0e;
  color: white;
  border: none;
  border-radius: 14px;
  font-family: "Tajawal", sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s;
}

.qv-btn-cart:hover {
  background: #c97b2f;
}

.qv-btn-ar {
  flex: 1;
  padding: 14px;
  background: var(--amber-light, #fff3e0);
  color: #2c1a0e;
  border: 1px solid #e8ddd0;
  border-radius: 14px;
  font-family: "Tajawal", sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s;
  white-space: nowrap;
}

.qv-btn-ar:hover {
  background: var(--amber, #c97b2f);
  color: white;
}

.qv-btn-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.qv-btn-fav {
  width: 50px;
  min-width: 50px;
  height: 50px;
  background: white;
  border: 1px solid #e8ddd0;
  border-radius: 14px;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}

.qv-btn-fav:hover {
  border-color: #ef4444;
}

.qv-full-link {
  background: none;
  border: none;
  color: var(--amber, #c97b2f);
  font-family: "Tajawal", sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  text-align: right;
  margin-top: auto;
  transition: 0.2s;
}

.qv-full-link:hover {
  text-decoration: underline;
}

/* Product card AR CTA variant */
.product-cta.product-cta-ar {
  background: var(--amber-light, #fff3e0);
  color: #2c1a0e;
  border: 1px solid #e8ddd0;
}

.product-cta.product-cta-ar:hover {
  background: #c97b2f;
  color: white;
  border-color: #c97b2f;
}

/* Responsive Quick View */
@media (max-width: 680px) {
  .qv-body {
    grid-template-columns: 1fr;
  }

  .qv-image-col {
    border-radius: 28px 28px 0 0;
  }

  .qv-modal {
    border-radius: 20px 20px 0 0;
    position: fixed;
    bottom: 0;
    max-height: 90vh;
  }
}

/* ============================================
   QUANTITY SELECTOR
   ============================================ */
.qty-selector {
  display: inline-flex;
  align-items: center;
  background: white;
  border: 1.5px solid #e8ddd0;
  border-radius: 14px;
  overflow: hidden;
  height: 48px;
}

.qty-btn {
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  font-size: 22px;
  font-weight: 300;
  color: #2c1a0e;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  line-height: 1;
}

.qty-btn:hover {
  background: #faf7f2;
}

.qty-btn:active {
  background: #f1ebe2;
}

.qty-value {
  min-width: 44px;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  color: #2c1a0e;
  font-family: "Tajawal", sans-serif;
  border-right: 1.5px solid #e8ddd0;
  border-left: 1.5px solid #e8ddd0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   AR BUTTON — FULL WIDTH PROMINENT
   ============================================ */
.ar-btn-full {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #c97b2f 0%, #e8a94a 100%);
  color: white;
  border: none;
  border-radius: 16px;
  font-family: "Tajawal", sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(201, 123, 47, 0.35);
  letter-spacing: 0.3px;
  position: relative;
  z-index: 5;
  pointer-events: auto;
}

.ar-btn-full:hover {
  background: linear-gradient(135deg, #b86a1f 0%, #d9973a 100%);
  box-shadow: 0 6px 20px rgba(201, 123, 47, 0.45);
  transform: translateY(-1px);
}

.ar-btn-full:active {
  transform: translateY(0);
}

.ar-btn-full:disabled,
.ar-btn-full.ar-btn-full--disabled {
  background: linear-gradient(135deg, #c4b49a 0%, #d4c4aa 100%);
  box-shadow: none;
  opacity: 0.7;
  cursor: not-allowed;
}

.ar-btn-icon {
  font-size: 20px;
  line-height: 1;
}

/* QV actions layout update */
.qv-actions {
  display: flex;
  gap: 10px;
}

.qv-btn-cart {
  flex: 1;
}

.qv-btn-fav {
  width: 50px;
  min-width: 50px;
}

/* ============================================================ */
/* STICKY BOTTOM ACTION BAR - MOBILE PRODUCT PAGES               */
/* ============================================================ */

.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid var(--sand);
  padding: 12px 16px;
  display: none; /* hidden on desktop */
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  z-index: 90;
  box-shadow: 0 -2px 10px rgba(44, 26, 14, 0.08);
}

@media (max-width: 768px) {
  .mobile-sticky-bar {
    display: flex;
  }
}

.mobile-sticky-bar.hidden {
  display: none;
}

.sticky-qty-control {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--cream);
  border-radius: 10px;
  padding: 6px 10px;
}

.sticky-qty-btn {
  width: 28px;
  height: 28px;
  border: none;
  background: white;
  color: var(--deep-brown);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sticky-qty-btn:hover {
  background: var(--sand);
}

.sticky-qty-btn:active {
  transform: scale(0.9);
}

.sticky-qty-display {
  font-weight: 600;
  min-width: 20px;
  text-align: center;
  color: var(--text-primary);
}

.sticky-add-btn {
  flex: 1;
  background: var(--amber);
  color: white;
  border: none;
  padding: 14px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.sticky-add-btn:hover {
  background: var(--amber-light);
  transform: translateY(-1px);
}

.sticky-add-btn:active {
  transform: scale(0.98);
}

.sticky-add-btn.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* ============================================================ */
/* MOBILE FIX — SURGICAL RESPONSIVE PATCH                       */
/* Root cause analysis applied. No UI redesign.                 */
/* ============================================================ */

/* ── FIX 1: NAV — padding 48px causes overflow on mobile ── */
@media (max-width: 768px) {
  nav {
    padding: 0 16px;
    height: 60px;
  }

  /* Hide nav links on mobile (no hamburger needed — nav-actions still visible) */
  .nav-links {
    display: none;
  }

  /* Shrink search bar */
  .search-bar {
    width: 130px;
    padding: 8px 12px;
    font-size: 13px;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-logo-ar {
    font-size: 20px;
  }
}

/* ── FIX 2: HERO — mobile responsive layout ── */
@media (max-width: 768px) {
  .hero {
    display: flex !important;
    flex-direction: column !important;
    min-height: auto !important;
    padding-top: 72px !important;
  }

  /* إخفاء eyebrow على الجوال */
  .hero-eyebrow {
    display: none !important;
  }

  /* النص أولاً ثم الصورة */
  .hero-visual {
    display: block !important;
    order: 1 !important;
    min-height: 220px !important;
    max-height: 280px !important;
    width: 100% !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .hero-content {
    padding: 20px 20px 12px !important;
    order: 0 !important;
  }

  .hero-title {
    font-size: clamp(28px, 8vw, 38px);
    line-height: 1.2;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
  }

  .hero-subtitle {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
  }

  .hero-trust-bar {
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 16px;
  }

  .btn-primary,
  .btn-ar {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
  }
}

/* ── 375px phones ── */
@media (max-width: 390px) {
  .hero-content {
    padding: 16px 16px 10px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-visual {
    min-height: 200px;
    max-height: 240px;
  }
}

/* ── FIX 3: VALUE STRIP — side-by-side items overflow ── */
@media (max-width: 768px) {
  .value-strip-inner {
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    scrollbar-width: none;
    padding: 0 16px;
  }

  .value-strip-inner::-webkit-scrollbar {
    display: none;
  }

  .value-item {
    flex-shrink: 0;
    font-size: 12px;
    padding: 0 16px;
  }

  .value-divider {
    display: none;
  }
}

/* ── FIX 4: PRODUCTS SECTION — 4-col grid + 64px padding kills mobile ── */
@media (max-width: 768px) {
  .products-section {
    padding: 24px 16px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }

  .products-header {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
  }

  /* Filter tabs: horizontal scroll instead of wrap */
  .filter-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    flex-shrink: 0;
  }

  .filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .filter-tab {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 13px;
    padding: 8px 14px;
  }

  /* Sort controls: wrap */
  .sort-controls {
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* ── FIX 5: PRODUCT CARD — always show actions on mobile (no hover on touch) ── */
@media (max-width: 768px) {
  .product-actions {
    opacity: 1 !important;
    transform: none !important;
  }

  .ar-preview-hover {
    /* Hide AR hover overlay on mobile since no hover */
    display: none;
  }

  .product-image-wrap {
    aspect-ratio: 1 / 1;
  }

  .product-image-wrap img {
    padding: 12px;
  }

  .product-name {
    font-size: 13px;
  }

  .price-current {
    font-size: 18px;
  }

  .product-info {
    padding: 12px;
  }

  .product-cta {
    font-size: 13px;
    padding: 10px;
  }

  .tabby-row {
    display: none !important;
  }
}

/* ── FIX 6: QUICK VIEW MODAL — pointer-events conflict + layout fix ── */
/* redesign.css sets pointer-events:none always, only when visible it should be auto */
/* ALSO fix the 2-col grid on small screens */
@media (max-width: 680px) {
  #quick-view-overlay {
    padding: 0 !important;
    align-items: flex-end !important;
  }

  .qv-modal {
    max-width: 100% !important;
    width: 100% !important;
    border-radius: 24px 24px 0 0 !important;
    position: fixed !important;
    bottom: 0 !important;
    max-height: 92vh !important;
    overflow-y: auto !important;
  }

  .qv-body {
    grid-template-columns: 1fr !important;
  }

  .qv-image-col {
    border-radius: 24px 24px 0 0;
    padding: 20px;
  }

  .qv-image-wrap {
    min-height: 200px;
  }

  .qv-image-wrap img {
    max-height: 220px;
  }

  .qv-info-col {
    padding: 20px 20px 32px;
  }

  .qv-title {
    font-size: 20px;
  }

  .qv-price-main {
    font-size: 20px;
  }

  .qv-actions {
    flex-wrap: nowrap;
  }

  .qv-btn-cart,
  .qv-btn-ar {
    padding: 12px;
    font-size: 14px;
  }

  .qv-ar-btn-premium {
    height: 52px !important;
    font-size: 14px !important;
    margin-top: 10px;
  }
}

/* ── FIX 7: CART SIDEBAR — 400px width overflows on small phones ── */
@media (max-width: 480px) {
  .cart-sidebar {
    width: 100% !important;
    left: -100% !important;
  }

  .cart-sidebar.active {
    left: 0 !important;
  }
}

/* ── FIX 8: AR STICKY BUTTON — blocks content, needs repositioning ── */
@media (max-width: 768px) {
  .ar-sticky-btn {
    bottom: 16px;
    left: 16px;
    font-size: 12px;
    padding: 10px 16px;
    gap: 6px;
    /* Reduce z-index slightly so QV modal can still be tapped */
    z-index: 150;
  }

  /* Detail page only: lift WhatsApp pill above the mobile sticky action bar
     so it doesn't sit on top of "أضف للسلة" / AR buttons. */
  body:has(.mobile-sticky-bar) .ar-sticky-btn {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px) + 12px);
  }
}

/* ── FIX 9: FOOTER — 4-col grid overflows ── */
@media (max-width: 768px) {
  footer {
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .payment-logos {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ── FIX 10: TESTIMONIALS — 3-col grid on mobile ── */
@media (max-width: 768px) {
  .testimonials-section {
    padding: 48px 16px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
}

/* ── FIX 11: AR SECTION — 2-col grid on mobile ── */
@media (max-width: 768px) {
  .ar-section {
    grid-template-columns: 1fr !important;
    padding: 48px 16px;
    gap: 40px;
  }

  .section-title {
    font-size: 28px !important;
  }
}

/* ── FIX 12: PROMO SECTION — large horizontal padding on mobile ── */
@media (max-width: 768px) {
  .promo-section {
    margin: 0 16px;
    padding: 40px 24px;
    flex-direction: column;
    text-align: center;
  }

  .promo-title {
    font-size: 26px;
  }

  .promo-visual {
    display: none;
  }
}

/* ── FIX 13: CATEGORIES SECTION — if still rendered, 5-col breaks mobile ── */
@media (max-width: 768px) {
  .categories-section {
    padding: 40px 16px;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }
}

/* ── FIX 14: PRODUCT DETAIL PAGE ── */
@media (max-width: 768px) {
  .product-detail-layout {
    grid-template-columns: 1fr !important;
  }
}

/* ── FIX 15: GLOBAL — prevent any element wider than viewport ── */
* {
  max-width: 100%;
}

img,
video,
iframe {
  max-width: 100%;
}

/* Ensure no horizontal overflow from fixed widths */
@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 360px) {
  .products-grid {
    grid-template-columns: 1fr !important;
  }

  .product-name {
    font-size: 12px !important;
  }

  .price-current {
    font-size: 16px !important;
  }

  nav {
    padding: 0 12px !important;
  }

  .search-bar {
    width: 100px !important;
  }
}

/* ── FIX 16: iOS 100vh bug — use dvh where supported ── */
@supports (height: 100dvh) {
  .overlay,
  .cart-sidebar {
    height: 100dvh;
  }
}

/* ── FIX 17: Touch tap targets minimum 44px ── */
@media (max-width: 768px) {
  .filter-tab,
  .nav-icon-btn,
  .action-btn,
  .close-cart,
  .checkout-btn,
  .qv-close {
    min-height: 44px;
    min-width: 44px;
  }
}

/* ── FIX 18: Input zoom prevention on iOS ── */
@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="password"],
  select,
  textarea {
    font-size: 16px !important;
    /* Prevents auto-zoom on iOS */
  }
}

/* ============================================================ */
/* AR FEATURE SECTION — MOBILE-FIRST                            */
/* ============================================================ */
.ar-feature-section {
  padding: 0 16px 48px;
  max-width: 1280px;
  margin: 0 auto;
}

.ar-feature-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  background: linear-gradient(145deg, #f5efe6, #ede4d7);
  border-radius: 24px;
  padding: 32px 24px;
}

.ar-feature-content {
  width: 100%;
}

/* Hide the decorative AR visual on mobile — takes too much space */
.ar-feature-visual-hide {
  display: none;
}

/* AR Steps — compact on mobile */
.ar-feature-section .ar-steps {
  gap: 16px;
}

.ar-feature-section .ar-step {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 14px;
  border: 1px solid rgba(196, 180, 154, 0.25);
}

/* Tablet and up: 2-col layout, show visual */
@media (min-width: 768px) {
  .ar-feature-section {
    padding: 0 32px 64px;
  }

  .ar-feature-inner {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 56px 48px;
    border-radius: 32px;
  }

  .ar-feature-visual-hide {
    display: block;
  }
}

@media (min-width: 1024px) {
  .ar-feature-section {
    padding: 0 64px 80px;
  }

  .ar-feature-inner {
    padding: 80px;
  }
}

/* ============================================================ */
/* PROMO BANNER — MOBILE-FIRST                                   */
/* ============================================================ */
.promo-wrapper {
  padding: 0 16px 48px;
}

/* Promo stats — fluid font size */
.promo-stats {
  display: flex;
  gap: 16px;
  position: relative;
  z-index: 1;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.promo-stat {
  text-align: center;
  color: white;
  flex: 1;
  min-width: 60px;
}

.promo-stat-num {
  font-size: clamp(24px, 6vw, 48px);
  font-weight: 800;
  line-height: 1;
}

.promo-stat-label {
  font-size: clamp(11px, 1.5vw, 14px);
  opacity: 0.7;
  margin-top: 4px;
}

.promo-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

/* Mobile: stack promo content vertically */
@media (max-width: 768px) {
  .promo-wrapper {
    padding: 0 16px 40px;
  }

  .promo-section {
    flex-direction: column !important;
    padding: 32px 24px !important;
    margin: 0 !important;
    text-align: center;
    gap: 24px;
  }

  .promo-visual {
    display: none !important;
  }

  .promo-title {
    font-size: clamp(22px, 5vw, 36px) !important;
    margin-bottom: 12px;
  }

  .promo-desc {
    font-size: 14px !important;
    margin-bottom: 20px !important;
    max-width: 100% !important;
  }

  .promo-cta {
    width: 100%;
    justify-content: center;
    padding: 13px 20px !important;
  }

  .promo-stats {
    margin-top: 8px;
    gap: 12px;
  }

  .promo-stat-num {
    font-size: clamp(20px, 7vw, 32px);
  }
}

@media (min-width: 769px) {
  .promo-wrapper {
    padding: 0 32px 64px;
  }

  .promo-stats {
    margin-top: 0;
    flex-direction: column;
    gap: 20px;
  }

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

@media (min-width: 1024px) {
  .promo-wrapper {
    padding: 0 64px 80px;
  }
}

/* ============================================================ */
/* ANIMATED VALUE STRIP MARQUEE                                  */
/* ============================================================ */
.value-strip {
  background: var(--deep-brown);
  padding: 0;
  overflow: hidden;
  height: 52px;
  display: flex;
  align-items: center;
  position: relative;
}

/* Fade edges */
.value-strip::before,
.value-strip::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.value-strip::before {
  right: 0;
  background: linear-gradient(to left, var(--deep-brown), transparent);
}

.value-strip::after {
  left: 0;
  background: linear-gradient(to right, var(--deep-brown), transparent);
}

.value-strip-marquee {
  width: 100%;
  overflow: hidden;
  display: flex;
}

.value-strip-track {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: marquee-rtl 8s linear infinite;
  will-change: transform;
}

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

.value-strip-track .value-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  white-space: nowrap;
  padding: 0 40px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.value-strip-track .value-item:last-child {
  border-right: none;
}

.value-strip-track .value-item strong {
  color: var(--amber-light);
  font-weight: 800;
}

.value-strip-track .value-item-icon {
  font-size: 16px;
  flex-shrink: 0;
}

/* RTL scroll: items move from left to right */
@keyframes marquee-rtl {
  0% {
    transform: translateX(0);
  }

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

@media (max-width: 768px) {
  .value-strip {
    height: 44px;
  }

  .value-strip-track .value-item {
    font-size: 12px;
    padding: 0 24px;
  }

  .value-strip-track {
    animation-duration: 20s;
  }
}

/* ── HERO VISUAL: dark background to match luxury sofa photo ── */
.hero-visual {
  background: #1a1410 !important;
}

/* Float stats: ensure readable on dark background */
.hero-visual .hero-float-stats {
  z-index: 10;
}

/* ── FIX: Hero visual background white to match AR sofa image ── */
.hero-visual {
  background: #faf7f2 !important;
}

/* ── Hero min-height —نحسب ارتفاع النافبار ── */
.hero {
  min-height: calc(100vh - 152px) !important;
  padding-top: 72px !important;
}

.hero-content {
  padding-bottom: 48px !important;
}

/* Remove the border-top gap that was for trust bar */
.hero-trust-bar {
  display: none !important;
}

/* ── HERO SLIDESHOW ── */
.hero-visual {
  background: var(--warm-white) !important;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
}

/* Second slide (luxury sofa dark): cover mode */
.hero-slide:nth-child(2) {
  object-fit: cover;
}

/* ── HERO MAIN IMAGE — no frame, transparent, blends with bg ── */
.hero-visual {
  background: transparent !important;
  overflow: visible !important;
}

.hero-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  mix-blend-mode: multiply;
  display: block;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}

/* على الجوال: إزالة mix-blend-mode لتوضيح الصورة */
@media (max-width: 768px) {
  .hero-main-img {
    mix-blend-mode: normal;
    object-fit: contain;
    object-position: center center;
    max-height: 300px;
    width: 100%;
    padding: 0 16px;
  }
}

/* AR section image: same treatment */
.ar-feature-visual-hide {
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

/* AR feature inner background matches page */
.ar-feature-inner {
  background: linear-gradient(145deg, #f5efe6, #ede4d7);
}

/* ── TIGHTEN AR FEATURE SECTION — remove wasted space ── */
.ar-feature-section {
  padding: 0 16px 24px !important;
}

.ar-feature-inner {
  padding: 28px 24px !important;
  gap: 24px !important;
  border-radius: 20px !important;
}

.ar-feature-section .ar-steps {
  gap: 10px !important;
  margin-top: 16px !important;
}

.ar-feature-section .ar-step {
  padding: 10px 14px !important;
  border-radius: 12px !important;
}

.ar-feature-section .ar-step h4 {
  font-size: 14px !important;
  margin-bottom: 2px !important;
}

.ar-feature-section .ar-step p {
  font-size: 12px !important;
  margin: 0 !important;
}

.ar-feature-section .section-title {
  margin-bottom: 8px !important;
}

.ar-feature-section .section-desc {
  margin-bottom: 0 !important;
}

@media (min-width: 768px) {
  .ar-feature-section {
    padding: 0 32px 40px !important;
  }

  .ar-feature-inner {
    padding: 40px 40px !important;
    gap: 32px !important;
  }
}

@media (min-width: 1024px) {
  .ar-feature-section {
    padding: 0 64px 56px !important;
  }

  .ar-feature-inner {
    padding: 56px !important;
    gap: 48px !important;
  }
}

/* ── PROMO SECTION — mobile only ── */
/* إخفاء مربع التخفيضات على اللابتوب والشاشات الكبيرة */
@media (min-width: 769px) {
  .promo-wrapper {
    display: none !important;
  }
}

/* إظهاره على الجوال فقط */
@media (max-width: 768px) {
  .promo-wrapper {
    display: block;
    padding: 0 16px 24px !important;
  }
}

/* ── HERO: padding صحيح لحساب النافبار ── */
.hero {
  padding-top: 72px !important;
  padding-bottom: 0 !important;
  min-height: calc(100vh - 152px) !important;
  align-items: stretch !important;
}

.hero-content {
  padding: 40px 48px !important;
}

@media (max-width: 768px) {
  .hero-content {
    padding: 28px 20px !important;
  }
}

/* ================================================================ */
/* NEW PREMIUM QUICK VIEW MODAL — qvn-*                              */
/* ================================================================ */
#qv-overlay-new {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(44, 26, 14, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

#qv-overlay-new.qv-visible {
  display: flex;
}

.qvn-backdrop {
  position: absolute;
  inset: 0;
  cursor: pointer;
}

.qvn-modal {
  position: relative;
  background: #faf8f5;
  border-radius: 24px;
  width: 100%;
  max-width: 900px;
  max-height: 92vh;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  animation: qvnFadeIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  direction: rtl;
}

@keyframes qvnFadeIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ── INFO SIDE (right in RTL) ── */
.qvn-info {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-left: 1px solid #ece9e4;
  overflow-y: auto;
}

.qvn-close {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: #f0ece6;
  color: #6b5d50;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10;
}

.qvn-close:hover {
  background: #e0dbd3;
}

.qvn-badge {
  display: inline-block;
  background: #f5ede3;
  color: #b8722a;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  width: fit-content;
}

.qvn-title {
  font-size: 22px;
  font-weight: 800;
  color: #1e1410;
  line-height: 1.4;
  margin: 0;
}

.qvn-price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.qvn-price-new {
  font-size: 26px;
  font-weight: 800;
  color: #1e1410;
}

.qvn-price-unit {
  font-size: 14px;
  color: #9e9187;
  font-weight: 500;
}

.qvn-price-old {
  font-size: 15px;
  color: #b0a89e;
  text-decoration: line-through;
  font-weight: 500;
}

.qvn-save-badge {
  background: #d4edda;
  color: #1a6e30;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.qvn-desc {
  font-size: 13.5px;
  color: #6b5d50;
  line-height: 1.8;
  border-top: 1px solid #ece9e4;
  padding-top: 14px;
  margin: 0;
}

.qvn-installment {
  font-size: 13px;
  color: #7a6e64;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.qvn-tabby {
  display: none !important;
}
.qvn-installment {
  display: none !important;
}

/* Colors Section in Quick View */
.qvn-colors-section {
  margin: 20px 0;
  padding: 15px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.qvn-colors-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.qvn-colors-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.qvn-color-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid #ddd;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
  background-size: cover;
  background-position: center;
  background-color: #e0e0e0;
  overflow: hidden;
}

.qvn-color-btn:hover {
  transform: scale(1.15);
  border-color: #999;
}

.qvn-color-btn.active {
  border-color: #5c3d1e;
  box-shadow: 0 0 0 2px #5c3d1e;
}

/* Sizes Section in Quick View */
.qvn-sizes-section {
  margin: 20px 0;
  padding: 15px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.qvn-sizes-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.qvn-sizes-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.qvn-size-btn {
  padding: 8px 16px;
  border: 2px solid #ddd;
  border-radius: 6px;
  background: white;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  color: #333;
  transition: all 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.qvn-size-btn:hover {
  border-color: #999;
  background: #f5f5f5;
}

.qvn-size-btn.active {
  border-color: #5c3d1e;
  background: #5c3d1e;
  color: white;
}

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

.qvn-qty-label {
  font-size: 14px;
  font-weight: 600;
  color: #3d3128;
}

.qvn-qty-ctrl {
  display: flex;
  align-items: center;
  border: 1.5px solid #ddd7cf;
  border-radius: 10px;
  overflow: hidden;
}

.qvn-qty-btn {
  width: 38px;
  height: 38px;
  border: none;
  background: #f5f1ec;
  color: #3d3128;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  font-family: inherit;
}

.qvn-qty-btn:hover {
  background: #ece7e0;
}

.qvn-qty-val {
  width: 44px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: #1e1410;
  border: none;
  border-right: 1.5px solid #ddd7cf;
  border-left: 1.5px solid #ddd7cf;
  background: white;
  height: 38px;
  outline: none;
  font-family: inherit;
}

.qvn-btn-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  pointer-events: auto;
  position: relative;
  z-index: 100;
}

.qvn-btn-row {
  display: flex;
  gap: 10px;
  pointer-events: auto;
}

.qvn-btn-cart {
  flex: 1;
  background: #2c1f14;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 14px 18px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition:
    background 0.2s,
    transform 0.1s;
}

.qvn-btn-cart:hover {
  background: #3d2c1e;
}

.qvn-btn-cart:active {
  transform: scale(0.98);
}

.qvn-btn-wish {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  border: 1.5px solid #ddd7cf;
  background: white;
  color: #c0a898;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.qvn-btn-wish:hover,
.qvn-btn-wish.wished {
  border-color: #e08070;
  color: #e05050;
}

.qvn-btn-try {
  width: 100%;
  background: white;
  border: 1.5px solid #2c1f14;
  border-radius: 12px;
  padding: 13px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #2c1f14;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
  position: relative;
  z-index: 5;
  pointer-events: auto;
}

.qvn-btn-try:hover {
  background: #f5f0eb;
}

/* ── GALLERY SIDE (left in RTL) ── */
.qvn-gallery {
  background: #f0ece6;
  position: relative;
  min-height: 400px;
  overflow: hidden;
}

.qvn-track-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qvn-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.qvn-slide {
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.qvn-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  max-height: 420px;
}

.qvn-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: white;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  color: #3d3128;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: all 0.2s;
}

.qvn-arrow:hover {
  background: #2c1f14;
  color: white;
}

.qvn-prev {
  right: 12px;
}

.qvn-next {
  left: 12px;
}

.qvn-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.qvn-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #c0b5a8;
  cursor: pointer;
  transition: all 0.25s;
}

.qvn-dot.active {
  background: #2c1f14;
  width: 20px;
  border-radius: 4px;
}

/* ── MOBILE: stack vertically ── */
@media (max-width: 640px) {
  .qvn-modal {
    grid-template-columns: 1fr;
    max-height: 95vh;
    border-radius: 20px 20px 0 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    animation: qvnSlideUp 0.35s ease;
  }

  @keyframes qvnSlideUp {
    from {
      transform: translateY(100%);
    }

    to {
      transform: translateY(0);
    }
  }

  #qv-overlay-new {
    align-items: flex-end;
    padding: 0;
  }

  .qvn-gallery {
    min-height: 220px;
    order: -1;
    border-radius: 20px 20px 0 0;
  }

  .qvn-info {
    border-left: none;
    border-top: 1px solid #ece9e4;
    padding: 24px 20px;
    gap: 12px;
  }

  .qvn-title {
    font-size: 18px;
  }

  .qvn-price-new {
    font-size: 22px;
  }
}

/* ================================================================ */
/* ✅ MOBILE HERO FINAL FIX — آخر قاعدة = أعلى أولوية               */
/* ================================================================ */

/* الجوال 768px وأقل */
@media (max-width: 768px) {
  /* النافبار ثابت بارتفاع 72px — الهيرو يحسب منه */
  section.hero {
    display: flex !important;
    flex-direction: column !important;
    min-height: auto !important;
    height: auto !important;
    padding-top: 72px !important;
    overflow: visible !important;
  }

  /* النص فوق */
  section.hero .hero-content {
    order: 0 !important;
    padding: 20px 20px 12px !important;
    flex: none !important;
  }

  /* الصورة تحت */
  section.hero .hero-visual {
    display: block !important;
    order: 1 !important;
    min-height: 220px !important;
    max-height: 280px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    flex: none !important;
  }

  /* إخفاء eyebrow */
  section.hero .hero-eyebrow {
    display: none !important;
  }

  /* ضغط النص */
  section.hero .hero-title {
    font-size: clamp(26px, 7.5vw, 36px) !important;
    line-height: 1.2 !important;
    margin-bottom: 8px !important;
  }

  section.hero .hero-subtitle {
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin-bottom: 0 !important;
  }
}

/* 375px–390px phones */
@media (max-width: 390px) {
  section.hero {
    padding-top: 72px !important;
  }

  section.hero .hero-content {
    padding: 16px 16px 8px !important;
  }

  section.hero .hero-title {
    font-size: 25px !important;
  }

  section.hero .hero-visual {
    min-height: 190px !important;
    max-height: 240px !important;
  }
}

/* ================================================================ */
/* ✅ PRODUCT CARD — ncard  (Pixel-Perfect Match)                    */
/* ================================================================ */

/* ══ PRODUCT CARDS ══════════════════════════════════════════════ */
.ncard {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.ncard:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
}

/* ── Image wrapper ── */
.ncard-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #ede9e3;
}

.ncard-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1;
  transition: transform 0.45s ease;
}
.ncard:hover .ncard-img {
  transform: scale(1.04);
}

/* ── Savings badge – top right ── */
.ncard-badge-discount {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #dff5e1;
  color: #1f7a3d;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  z-index: 3;
  direction: rtl;
  white-space: nowrap;
}

/* ── Arrow buttons – vertically centered on image sides ── */
.ncard-arrow {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.95) !important;
  border: none !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 4 !important;
  color: #2c1a0e !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18) !important;
  transition: background 0.15s ease, transform 0.15s ease !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
  direction: ltr !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  overflow: hidden !important;
}
.ncard-arrow svg {
  display: block;
  width: 14px !important;
  height: 14px !important;
  pointer-events: none;
  flex-shrink: 0;
}
.ncard-arrow:hover {
  background: #fff !important;
  transform: translateY(-50%) scale(1.1) !important;
}
.ncard-arrow:active {
  transform: translateY(-50%) scale(0.94) !important;
}
.ncard-arrow-prev {
  right: 8px !important;
  left: auto !important;
}
.ncard-arrow-next {
  left: 8px !important;
  right: auto !important;
}

/* ── Plus button – bottom left ── */
.ncard-add-btn {
  position: absolute !important;
  bottom: 10px !important;
  left: 10px !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: #fff !important;
  border: none !important;
  font-size: 26px !important;
  font-weight: 300 !important;
  color: #222 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18) !important;
  transition:
    transform 0.15s ease,
    background 0.15s ease !important;
  z-index: 3 !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
}
.ncard-add-btn:hover {
  background: #f5f5f5;
  transform: scale(1.1);
}
.ncard-add-btn:active {
  transform: scale(0.92);
}
.ncard-eye-btn {
  position: absolute !important;
  bottom: 10px !important;
  right: 10px !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid #e8ddd0 !important;
  cursor: pointer !important;
  font-size: 16px !important;
  line-height: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  direction: ltr !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18) !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
  z-index: 5 !important;
}
.ncard-eye-btn:hover {
  background: #f5f5f5 !important;
  transform: scale(1.1);
}
.ncard-eye-btn:active {
  transform: scale(0.92);
}

/* ── Delivery badge – bottom center ── */
.ncard-delivery {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: #e2f0ec;
  color: #2b6b52;
  font-size: 10px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  white-space: nowrap;
  z-index: 3;
  margin: 0;
  direction: rtl;
}

/* ── Info section – right-aligned (RTL start) ── */
.ncard-info {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
  flex: 1;
  gap: 8px;
}

/* ── Color swatches – right-aligned ── */
.ncard-swatches {
  display: flex;
  flex-direction: row;
  gap: 7px;
  align-items: center;
  justify-content: flex-start;
}

.ncard-swatch {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  border-radius: 50% !important;
  flex-shrink: 0 !important;
  cursor: pointer;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
  flex-shrink: 0;
  box-sizing: border-box;
  border: 2px solid rgba(0, 0, 0, 0.08);
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
  background-size: cover;
  background-position: center;
  background-color: #e0e0e0;
  display: inline-block;
  overflow: hidden;
}
.ncard-swatch:hover {
  transform: scale(1.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.ncard-swatch.active {
  outline: 2.5px solid #5c3d1e;
  outline-offset: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

/* ── Title – right-aligned, bold ── */
.ncard-name {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  width: 100%;
  text-align: right;
}

/* ── Price row – right-aligned ── */
.ncard-price-row {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 8px;
  direction: rtl;
  width: 100%;
}

.ncard-price {
  font-size: 22px;
  font-weight: 800;
  color: #000;
  line-height: 1;
}

.ncard-currency {
  font-size: 18px;
  font-weight: 700;
  color: #000;
  display: inline-flex;
  align-items: center;
  margin-inline-start: -2px;
}

.ncard-old-price {
  font-size: 13px;
  color: #ababab;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  font-weight: 400;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.ncard-old-price svg {
  stroke: #ababab;
}

/* ── Tabby installment row ── */
.ncard-tabby-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  direction: rtl;
  width: 100%;
  margin-top: 2px;
}
.ncard-tabby-text {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}
.ncard-tabby-text strong {
  font-weight: 700;
  color: #1a1a1a;
}
.ncard-tabby-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 6px;
  background: #3bea93;
  color: #1a1a1a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -0.2px;
  line-height: 1.4;
  font-family: 'Inter', system-ui, sans-serif;
}

/* ── CTA button ── */
.ncard-cta {
  width: 100%;
  background: #ff6600;
  color: #fff;
  border: none;
  border-radius: 14px;
  height: 48px;
  padding: 0 8px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  font-family: "Tajawal", sans-serif;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.18s ease,
    transform 0.12s ease;
}
.ncard-cta:hover {
  background: #e55a00;
}
.ncard-cta:active {
  background: #cc5200;
  transform: scale(0.98);
}

.ncard-ar-btn {
  width: 100%;
  background: #ff6600;
  color: #fff;
  border: none;
  border-radius: 14px;
  height: 48px;
  padding: 0 8px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  font-family: "Tajawal", sans-serif;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.18s ease,
    transform 0.12s ease;
  text-decoration: none;
  position: relative;
  z-index: 5;
  pointer-events: auto;
}
.ncard-ar-btn:hover {
  background: #e55a00;
}
.ncard-ar-btn:active {
  background: #cc5200;
  transform: scale(0.98);
}

/* ── Grid ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  align-items: start;
}

/* ─── MOBILE ─── */
@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
    align-items: stretch !important;
  }

  .ncard {
    border-radius: 18px;
  }
  .ncard-img-wrap {
    border-radius: 18px;
  }

  .ncard-info {
    padding: 12px 12px 14px;
    gap: 7px;
  }

  .ncard-name {
    font-size: 13px;
  }
  .ncard-price {
    font-size: 20px;
  }
  .ncard-currency,
  .ncard-old-price {
    font-size: 12px;
  }
  .ncard-tabby-text {
    font-size: 11px;
  }
  .ncard-tabby-badge {
    font-size: 10px;
    padding: 2px 7px;
  }

  .ncard-cta {
    font-size: 13px;
    height: 44px;
    border-radius: 12px;
  }
  .ncard-ar-btn {
    font-size: 13px;
    height: 44px;
    border-radius: 12px;
  }

  .ncard-badge-discount {
    font-size: 10px;
    padding: 4px 10px;
    top: 8px;
    right: 8px;
  }

  .ncard-arrow {
    width: 26px;
    height: 26px;
    font-size: 14px;
  }
  .ncard-arrow-prev {
    right: 6px;
  }
  .ncard-arrow-next {
    left: 6px;
  }

  .ncard-add-btn {
    width: 32px;
    height: 32px;
    font-size: 22px;
    bottom: 8px;
    left: 8px;
  }

  .ncard-delivery {
    font-size: 9.5px;
    padding: 4px 10px;
    bottom: 8px;
  }

  .ncard-swatch {
    width: 22px;
    height: 22px;
  }
}
