/* =========================================
   محل القطيفاني للوازم الحلاقين - الأنماط الرئيسية
   ========================================= */

/* ===== المتغيرات ===== */
:root {
  --navy: #192041;
  --navy-light: #232c5c;
  --navy-dark: #101528;
  --gold: #CEA75F;
  --gold-light: #e0c088;
  --gold-dark: #a88543;

  --bg: #ffffff;
  --bg-alt: #f7f8fc;
  --surface: #ffffff;
  --surface-2: #f1f3f9;
  --border: #e3e6ef;

  --text: #192041;
  --text-soft: #5a6178;
  --text-muted: #8b90a3;

  --success: #16a34a;
  --error: #dc2626;

  --radius: 14px;
  --radius-lg: 22px;
  --radius-sm: 8px;

  --shadow-sm: 0 2px 8px rgba(25, 32, 65, 0.06);
  --shadow: 0 8px 30px rgba(25, 32, 65, 0.10);
  --shadow-lg: 0 20px 50px rgba(25, 32, 65, 0.15);
  --shadow-gold: 0 10px 30px rgba(206, 167, 95, 0.35);

  --font-ar: 'Cairo', system-ui, sans-serif;
  --font-en: 'Inter', system-ui, sans-serif;

  --header-h: 76px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* الوضع الداكن */
[data-theme="dark"] {
  --bg: #0d1124;
  --bg-alt: #141a35;
  --surface: #1a2147;
  --surface-2: #232c5c;
  --border: #2d3668;

  --text: #f0f2fb;
  --text-soft: #b6bcd6;
  --text-muted: #8b90a3;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* ===== الأساسيات ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: var(--font-ar);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}

html[lang="en"] body { font-family: var(--font-en); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.text-gold { color: var(--gold); }

/* ===== Preloader ===== */
#preloader {
  position: fixed; inset: 0;
  background: var(--navy);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s, visibility 0.5s;
}
#preloader.hide { opacity: 0; visibility: hidden; }
.preloader-logo {
  width: 110px;
  height: 110px;
  margin-bottom: 1.5rem;
  animation: pulse 1.2s infinite;
}
.preloader-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(206, 167, 95, 0.45));
}
.preloader-bar {
  width: 200px; height: 4px;
  background: rgba(206, 167, 95, 0.2);
  border-radius: 4px; overflow: hidden;
}
.preloader-bar span {
  display: block; height: 100%; width: 0;
  background: var(--gold);
  animation: load 1.4s ease forwards;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes load { to { width: 100%; } }

/* ===== Header ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: all var(--transition);
}
[data-theme="dark"] .header { background: rgba(13, 17, 36, 0.85); }
.header.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }

.header-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
}

.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo-img {
  height: 48px;
  width: auto;
  display: block;
  transition: filter var(--transition);
  /* اللوغو الأبيض الأصلي - بالوضع الفاتح نصبغه كحلي */
  filter: brightness(0) saturate(100%) invert(13%) sepia(29%) saturate(2205%) hue-rotate(210deg) brightness(95%) contrast(95%);
}
/* بالوضع الداكن: نتركه أبيض */
[data-theme="dark"] .logo-img {
  filter: brightness(0) invert(1);
}
.nav ul { display: flex; gap: 0.35rem; }
.nav a {
  display: block;
  padding: 0.55rem 0.85rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-soft);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}
.nav a:hover, .nav a.active { color: var(--gold-dark); background: rgba(206, 167, 95, 0.1); }
[data-theme="dark"] .nav a:hover, [data-theme="dark"] .nav a.active { color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 0.6rem; }

.icon-btn {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 1.05rem;
  transition: all var(--transition);
}
.icon-btn:hover { background: var(--gold); color: var(--navy); transform: translateY(-2px); }
.lang-btn span { font-weight: 800; font-size: 0.8rem; }

.header-cta {
  padding: 0.65rem 1.2rem;
  font-size: 0.9rem;
}

.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  flex-direction: column; justify-content: center; gap: 5px;
  align-items: center;
  border-radius: 12px;
  background: var(--surface-2);
}
.menu-toggle span {
  display: block; width: 22px; height: 2.5px;
  background: var(--text); border-radius: 3px;
  transition: all var(--transition);
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 12px;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: #fff;
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: linear-gradient(135deg, var(--navy-light), var(--navy)); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(206, 167, 95, 0.5); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-dark); background: rgba(206, 167, 95, 0.08); }
[data-theme="dark"] .btn-outline:hover { color: var(--gold); }
.btn-lg { padding: 1.05rem 2rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ===== Overlay ===== */
.overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0; visibility: hidden;
  transition: all var(--transition);
}
.overlay.show { opacity: 1; visibility: visible; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 60px) 0 80px;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--bg);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-shape {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.35;
}
.shape-1 { width: 500px; height: 500px; background: var(--gold); top: -150px; right: -100px; }
.shape-2 { width: 400px; height: 400px; background: var(--navy); bottom: -100px; left: -100px; opacity: 0.2; }
.shape-3 { width: 300px; height: 300px; background: var(--gold-light); top: 40%; left: 40%; opacity: 0.15; }

.hero-content {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(206, 167, 95, 0.15);
  color: var(--gold-dark);
  border-radius: 100px;
  font-size: 0.82rem; font-weight: 700;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(206, 167, 95, 0.3);
}
[data-theme="dark"] .hero-badge { color: var(--gold); }

.hero-text h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}
.hero-text p {
  font-size: 1.08rem;
  color: var(--text-soft);
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }

.hero-stats {
  display: flex; gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.stat strong { display: block; font-size: 1.8rem; font-weight: 900; color: var(--gold-dark); }
[data-theme="dark"] .stat strong { color: var(--gold); }
.stat span { font-size: 0.86rem; color: var(--text-muted); font-weight: 600; }

.hero-visual { position: relative; height: 500px; }
.hero-card.main-card {
  position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-card.main-card img { width: 100%; height: 100%; object-fit: cover; }

.floating-card {
  position: absolute;
  background: var(--surface);
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 0.85rem;
  border: 1px solid var(--border);
  animation: float 4s ease-in-out infinite;
}
.floating-card i {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  border-radius: 10px;
  display: grid; place-items: center;
  font-size: 1.05rem;
}
.floating-card strong { display: block; font-size: 0.92rem; }
.floating-card small { font-size: 0.75rem; color: var(--text-muted); }
.card-1 { top: 30px; inset-inline-start: -30px; }
.card-2 { bottom: 30px; inset-inline-end: -30px; animation-delay: 1.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.scroll-hint {
  position: absolute; bottom: 30px; left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  font-size: 1.4rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ===== Trust Bar ===== */
.trust-bar {
  background: var(--navy);
  color: #fff;
  padding: 1.4rem 0;
}
.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.trust-item {
  display: flex; align-items: center; justify-content: center;
  gap: 0.7rem;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.5rem;
}
.trust-item i { color: var(--gold); font-size: 1.4rem; }

/* ===== Sections ===== */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }

.section-head { text-align: center; max-width: 700px; margin: 0 auto 3.5rem; }
.section-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(206, 167, 95, 0.15);
  color: var(--gold-dark);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  border: 1px solid rgba(206, 167, 95, 0.25);
}
[data-theme="dark"] .section-tag { color: var(--gold); }
.section-head h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 900;
  margin-bottom: 0.8rem;
  line-height: 1.25;
}
.section-head p { color: var(--text-soft); font-size: 1.02rem; }

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}
.about-visual { position: relative; }
.about-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
}
.about-badge {
  position: absolute;
  bottom: -20px; inset-inline-start: -20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  padding: 1.1rem 1.4rem;
  border-radius: var(--radius);
  display: flex; align-items: center; gap: 0.85rem;
  box-shadow: var(--shadow-gold);
}
.about-badge i { font-size: 1.8rem; }
.about-badge strong { display: block; font-size: 1.5rem; font-weight: 900; line-height: 1; }
.about-badge small { font-size: 0.8rem; font-weight: 700; }

.about-text h3 { font-size: 1.7rem; font-weight: 900; margin-bottom: 1.2rem; }
.about-text p { color: var(--text-soft); margin-bottom: 1rem; font-size: 1.02rem; }

.about-values { display: grid; gap: 1rem; margin: 2rem 0; }
.value {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.1rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.value i {
  width: 44px; height: 44px; flex-shrink: 0;
  display: grid; place-items: center;
  background: rgba(206, 167, 95, 0.15);
  color: var(--gold-dark);
  border-radius: 12px;
  font-size: 1.15rem;
}
[data-theme="dark"] .value i { color: var(--gold); }
.value strong { display: block; margin-bottom: 0.25rem; font-size: 1rem; }
.value p { color: var(--text-soft); font-size: 0.92rem; margin: 0; }

/* ===== Filters ===== */
.filters {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 0.65rem 1.4rem;
  border-radius: 100px;
  background: var(--surface);
  color: var(--text-soft);
  font-weight: 700;
  font-size: 0.92rem;
  border: 1.5px solid var(--border);
  transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold-dark); }
.filter-btn.active {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow);
}

/* ===== Products ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex; flex-direction: column;
  animation: fadeIn 0.5s ease;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--gold); }

.product-img {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--surface-2);
  cursor: zoom-in;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.product-card:hover .product-img img { transform: scale(1.08); }

.product-badge {
  position: absolute; top: 12px; inset-inline-start: 12px;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  font-size: 0.72rem; font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
}
.badge-hot { background: #dc2626; }
.badge-new { background: var(--gold-dark); }

.product-body { padding: 1.2rem; display: flex; flex-direction: column; flex: 1; gap: 0.6rem; }
.product-body h3 { font-size: 1.02rem; font-weight: 800; line-height: 1.35; }
.product-price { color: var(--gold-dark); font-weight: 900; font-size: 1.15rem; }
[data-theme="dark"] .product-price { color: var(--gold); }

.product-actions { display: flex; gap: 0.5rem; margin-top: auto; }
.product-actions .btn { flex: 1; padding: 0.7rem 0.9rem; font-size: 0.85rem; }
.product-actions .icon-btn { width: auto; padding: 0 0.9rem; }

/* ===== Packages ===== */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: stretch;
}
.package-card {
  position: relative;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  display: flex; flex-direction: column;
  transition: all var(--transition);
}
.package-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.package-card.featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(206, 167, 95, 0.08), var(--surface));
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}
.package-card.featured::before {
  content: attr(data-badge);
  position: absolute; top: -14px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  padding: 0.4rem 1.2rem;
  border-radius: 100px;
  font-size: 0.78rem; font-weight: 800;
  letter-spacing: 0.5px;
}
.package-card h3 { font-size: 1.35rem; font-weight: 900; margin-bottom: 0.5rem; }
.package-price { font-size: 1.9rem; font-weight: 900; color: var(--gold-dark); margin-bottom: 1.5rem; }
[data-theme="dark"] .package-price { color: var(--gold); }
.package-features { display: grid; gap: 0.75rem; margin-bottom: 2rem; flex: 1; }
.package-features li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.93rem; color: var(--text-soft); }
.package-features i { color: var(--success); margin-top: 4px; }

/* ===== Calculator ===== */
.calculator {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: start;
}
.calc-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.calc-item {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex; align-items: center; gap: 0.85rem;
  transition: all var(--transition);
}
.calc-item:hover { border-color: var(--gold); }
.calc-item img {
  width: 54px; height: 54px;
  object-fit: cover; border-radius: 10px;
  flex-shrink: 0;
}
.calc-info { flex: 1; min-width: 0; }
.calc-info h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.2rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.calc-info span { font-size: 0.8rem; color: var(--gold-dark); font-weight: 700; }
[data-theme="dark"] .calc-info span { color: var(--gold); }
.calc-qty { display: flex; align-items: center; gap: 0.4rem; }
.calc-qty button {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--surface-2);
  font-weight: 800; font-size: 1rem;
  color: var(--text);
  transition: all var(--transition);
}
.calc-qty button:hover { background: var(--gold); color: var(--navy); }
.calc-qty input {
  width: 42px; height: 30px;
  text-align: center;
  font-weight: 700;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
}

.calc-summary {
  position: sticky; top: calc(var(--header-h) + 20px);
  background: var(--surface);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow);
}
.calc-summary h3 { font-size: 1.2rem; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
#calcList { max-height: 240px; overflow-y: auto; margin-bottom: 1rem; }
#calcList li {
  display: flex; justify-content: space-between; gap: 0.5rem;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  border-bottom: 1px dashed var(--border);
}
#calcList li.empty { color: var(--text-muted); justify-content: center; font-style: italic; border: none; }
#calcList li strong { color: var(--gold-dark); }
[data-theme="dark"] #calcList li strong { color: var(--gold); }

.calc-total {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 0;
  margin-bottom: 0.5rem;
  font-size: 1.05rem; font-weight: 700;
  border-top: 2px solid var(--border);
}
.calc-total strong { color: var(--gold-dark); font-size: 1.3rem; }
[data-theme="dark"] .calc-total strong { color: var(--gold); }
.calc-note { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 1rem; }

/* ===== Testimonials ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  position: relative;
  transition: all var(--transition);
}
.testimonial:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold); }
.testimonial::before {
  content: '\201C';
  position: absolute; top: 10px; inset-inline-end: 20px;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
}
.testimonial .stars { color: var(--gold); margin-bottom: 0.8rem; letter-spacing: 2px; }
.testimonial p { color: var(--text-soft); margin-bottom: 1.2rem; font-size: 0.98rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.8rem; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--gold);
  display: grid; place-items: center;
  font-weight: 900; font-size: 1rem;
}
.testimonial-author strong { display: block; font-size: 0.95rem; }
.testimonial-author small { color: var(--text-muted); font-size: 0.8rem; }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; display: grid; gap: 0.8rem; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item.open { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%;
  padding: 1.2rem 1.4rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  text-align: start;
  transition: color var(--transition);
}
.faq-q:hover { color: var(--gold-dark); }
[data-theme="dark"] .faq-q:hover { color: var(--gold); }
.faq-q i {
  flex-shrink: 0;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: var(--surface-2);
  border-radius: 50%;
  color: var(--gold-dark);
  transition: all var(--transition);
  font-size: 0.85rem;
}
[data-theme="dark"] .faq-q i { color: var(--gold); }
.faq-item.open .faq-q i { background: var(--gold); color: var(--navy); transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  padding: 0 1.4rem;
  color: var(--text-soft);
  font-size: 0.95rem;
}
.faq-item.open .faq-a { max-height: 400px; padding: 0 1.4rem 1.4rem; }

/* ===== Payment ===== */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.payment-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.payment-card:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: var(--shadow); }
.payment-card i {
  display: inline-grid; place-items: center;
  width: 64px; height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--gold);
  font-size: 1.6rem;
  margin-bottom: 1rem;
}
.payment-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.payment-card p { color: var(--text-soft); font-size: 0.93rem; }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-form {
  background: var(--surface);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1.5px solid transparent;
  color: var(--text);
  transition: all var(--transition);
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(206, 167, 95, 0.15);
}
.form-group input.invalid,
.form-group textarea.invalid { border-color: var(--error); }
.form-group .error {
  display: block;
  color: var(--error);
  font-size: 0.82rem;
  margin-top: 0.3rem;
  min-height: 1em;
  font-weight: 600;
}

.contact-info { display: grid; gap: 1rem; }
.info-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.info-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--gold);
  border-radius: 12px;
  font-size: 1.1rem;
}
.info-item strong { display: block; margin-bottom: 0.15rem; font-size: 0.95rem; }
.info-item p, .info-item a { color: var(--text-soft); font-size: 0.9rem; transition: color var(--transition); }
.info-item a:hover { color: var(--gold-dark); }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16/10;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ===== Newsletter ===== */
.newsletter-section { background: linear-gradient(135deg, var(--navy), var(--navy-dark)); color: #fff; }
.newsletter {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(206, 167, 95, 0.3);
  border-radius: var(--radius-lg);
}
.newsletter h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 0.5rem; }
.newsletter p { color: rgba(255, 255, 255, 0.75); }

/* ===== Footer ===== */
.footer { background: var(--navy-dark); color: rgba(255, 255, 255, 0.85); padding: 4rem 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.3fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer .logo-img {
  filter: brightness(0) invert(1);
}
.footer-desc { color: rgba(255, 255, 255, 0.65); font-size: 0.92rem; margin: 1rem 0 1.2rem; }
.socials { display: flex; gap: 0.6rem; }
.socials a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  font-size: 1.05rem;
  transition: all var(--transition);
}
.socials a:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px); }

.footer h4 { color: #fff; margin-bottom: 1.2rem; font-size: 1.05rem; }
.footer ul { display: grid; gap: 0.6rem; }
.footer ul a { color: rgba(255, 255, 255, 0.7); transition: color var(--transition); font-size: 0.92rem; }
.footer ul a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); }
.footer-contact i { color: var(--gold); margin-top: 5px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}
.footer-bottom .container {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}

/* ===== Scroll Top ===== */
.scroll-top {
  position: fixed;
  bottom: 30px; inset-inline-end: 30px;
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-gold);
  z-index: 900;
  opacity: 0; visibility: hidden;
  transform: translateY(15px);
  transition: all var(--transition);
}
.scroll-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { transform: translateY(-5px); }

/* ===== Lightbox ===== */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: grid; place-items: center;
  z-index: 2000;
  opacity: 0; visibility: hidden;
  transition: all var(--transition);
  padding: 20px;
}
.lightbox.show { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 90vw; max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  animation: zoomIn 0.3s ease;
}
@keyframes zoomIn { from { transform: scale(0.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.lightbox-close {
  position: absolute; top: 20px; inset-inline-end: 20px;
  width: 46px; height: 46px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 50%;
  font-size: 1.3rem;
  display: grid; place-items: center;
  transition: all var(--transition);
}
.lightbox-close:hover { background: var(--gold); color: var(--navy); }

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 30px; left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--navy);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  border-inline-start: 4px solid var(--gold);
  box-shadow: var(--shadow-lg);
  z-index: 3000;
  opacity: 0;
  transition: all var(--transition);
  font-weight: 600;
  max-width: 90vw;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.success { border-color: var(--success); }
.toast.error { border-color: var(--error); }

/* ===== Animations ===== */
@keyframes fadeIn { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s, transform 0.7s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .hero-text p { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { max-width: 500px; margin: 0 auto; width: 100%; height: 400px; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .calculator { grid-template-columns: 1fr; }
  .calc-summary { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0; inset-inline-end: -320px;
    width: 300px; height: 100vh;
    background: var(--surface);
    padding: calc(var(--header-h) + 30px) 1.5rem 2rem;
    box-shadow: var(--shadow-lg);
    transition: inset-inline-end 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    overflow-y: auto;
  }
  .nav.open { inset-inline-end: 0; }
  .nav ul { flex-direction: column; gap: 0.4rem; }
  .nav a { padding: 0.9rem 1rem; font-size: 1rem; }
  .menu-toggle { display: flex; }
  .header-cta { display: none; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { height: 340px; }
  .card-1, .card-2 { padding: 0.7rem 0.9rem; }
  .card-1 { inset-inline-start: 10px; }
  .card-2 { inset-inline-end: 10px; }
  .about-badge { padding: 0.9rem 1rem; }
  .section { padding: 70px 0; }
  .form-row { grid-template-columns: 1fr; }
  .newsletter { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding-top: calc(var(--header-h) + 30px); }
  .hero-stats { gap: 1.5rem; }
  .stat strong { font-size: 1.4rem; }
  .logo-text strong { font-size: 0.95rem; }
  .logo-text small { font-size: 0.65rem; }
  .logo-mark { width: 38px; height: 38px; font-size: 1.3rem; }
  .icon-btn { width: 38px; height: 38px; }
  .btn { padding: 0.75rem 1.2rem; font-size: 0.9rem; }
  .btn-lg { padding: 0.9rem 1.5rem; font-size: 0.95rem; }
  .package-card { padding: 1.6rem 1.3rem; }
  .package-card.featured { transform: none; }
  .calc-item { padding: 0.8rem; }
  .calc-item img { width: 44px; height: 44px; }
}

@media (max-width: 360px) {
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; }
  .filters { gap: 0.4rem; }
  .filter-btn { padding: 0.5rem 1rem; font-size: 0.85rem; }
}

/* ===== RTL/LTR fixes ===== */
html[dir="ltr"] .btn i.fa-arrow-left { transform: rotate(180deg); }

/* ===== Accessibility ===== */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--navy-light); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* =========================================
   إضافات نظام المتجر: السلة + Checkout
   ========================================= */

/* ===== Cart Button ===== */
.cart-btn { position: relative; }
.cart-badge {
  position: absolute;
  top: -4px; inset-inline-end: -4px;
  min-width: 20px; height: 20px;
  padding: 0 5px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 900;
  display: none;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg);
  animation: badgePop 0.3s ease;
}
.cart-badge.show { display: flex; }
@keyframes badgePop {
  0% { transform: scale(0); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* ===== Cart Drawer ===== */
.cart-drawer {
  position: fixed;
  top: 0; inset-inline-end: -420px;
  width: 400px; max-width: 95vw;
  height: 100vh;
  background: var(--surface);
  box-shadow: -10px 0 40px rgba(0,0,0,0.15);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transition: inset-inline-end 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
[dir="rtl"] .cart-drawer { inset-inline-end: -420px; box-shadow: 10px 0 40px rgba(0,0,0,0.15); }
.cart-drawer.open { inset-inline-end: 0; }

.cart-header {
  padding: 1.3rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: #fff;
}
.cart-header h3 {
  font-size: 1.1rem;
  display: flex; align-items: center; gap: 0.6rem;
  margin: 0;
}
.cart-header h3 i { color: var(--gold); }
.cart-count {
  background: var(--gold);
  color: var(--navy);
  padding: 0.15rem 0.55rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 900;
}
.cart-close {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-radius: 10px;
  font-size: 1.05rem;
  display: grid; place-items: center;
  transition: all var(--transition);
}
.cart-close:hover { background: var(--gold); color: var(--navy); }

.cart-body {
  flex: 1; overflow-y: auto;
  padding: 1rem 1.5rem;
}
.cart-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--text-muted);
}
.cart-empty i { font-size: 3.5rem; color: var(--border); margin-bottom: 1rem; }
.cart-empty p { margin-bottom: 1.5rem; font-size: 1rem; }

.cart-items { display: grid; gap: 0.8rem; }
.cart-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 0.85rem;
  padding: 0.85rem;
  background: var(--surface-2);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  align-items: center;
  animation: fadeIn 0.3s ease;
}
.cart-item img {
  width: 70px; height: 70px;
  object-fit: cover;
  border-radius: 10px;
}
.cart-item-info { min-width: 0; }
.cart-item-info h4 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
.cart-item-info .price {
  color: var(--gold-dark);
  font-weight: 800;
  font-size: 0.9rem;
}
[data-theme="dark"] .cart-item-info .price { color: var(--gold); }

.cart-item-actions {
  display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem;
}
.cart-qty {
  display: flex; align-items: center; gap: 0.3rem;
  background: var(--surface);
  border-radius: 8px;
  padding: 0.15rem;
  border: 1px solid var(--border);
}
.cart-qty button {
  width: 26px; height: 26px;
  border-radius: 6px;
  background: transparent;
  font-weight: 900;
  color: var(--text);
  transition: all var(--transition);
  font-size: 0.9rem;
}
.cart-qty button:hover { background: var(--gold); color: var(--navy); }
.cart-qty span {
  min-width: 24px; text-align: center;
  font-weight: 800; font-size: 0.88rem;
}
.cart-remove {
  color: var(--error);
  font-size: 0.85rem;
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
  transition: all var(--transition);
}
.cart-remove:hover { background: rgba(220, 38, 38, 0.1); }

.cart-footer {
  padding: 1.2rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
  display: grid;
  gap: 0.6rem;
}
.cart-summary {
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.4rem;
}
.cart-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.35rem 0;
  font-size: 0.92rem;
}
.cart-row.total {
  font-size: 1.1rem;
  font-weight: 900;
  padding-top: 0.6rem;
  border-top: 1px solid var(--border);
  margin-top: 0.4rem;
}
.cart-row.total strong { color: var(--gold-dark); font-size: 1.25rem; }
[data-theme="dark"] .cart-row.total strong { color: var(--gold); }

/* ===== Modal ===== */
.modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 1500;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: all var(--transition);
  overflow-y: auto;
}
.modal.show { opacity: 1; visibility: visible; }
.modal-content {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 600px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  margin: auto;
}
.modal-lg { max-width: 720px; }
.modal-sm { max-width: 440px; }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(30px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute;
  top: 1rem; inset-inline-end: 1rem;
  width: 40px; height: 40px;
  background: var(--surface-2);
  border-radius: 50%;
  font-size: 1.1rem;
  color: var(--text);
  display: grid; place-items: center;
  transition: all var(--transition);
  z-index: 2;
}
.modal-close:hover { background: var(--error); color: #fff; transform: rotate(90deg); }

.modal-header {
  text-align: center;
  margin-bottom: 1.8rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
}
.modal-header h2 {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
}
.modal-header h2 i { color: var(--gold); }
.modal-header p { color: var(--text-soft); font-size: 0.92rem; }

/* ===== Payment Options ===== */
.payment-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.7rem;
  margin-top: 0.5rem;
}
.payment-option {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 1rem;
  background: var(--surface-2);
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 0.9rem;
  font-weight: 700;
}
.payment-option input { display: none; }
.payment-option i {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--surface);
  border-radius: 10px;
  color: var(--gold-dark);
  font-size: 1rem;
  flex-shrink: 0;
}
.payment-option:hover { border-color: var(--gold); }
.payment-option.selected {
  border-color: var(--gold);
  background: rgba(206, 167, 95, 0.12);
}
.payment-option.selected i { background: var(--gold); color: var(--navy); }

/* ===== Checkout Summary ===== */
.checkout-summary {
  background: var(--surface-2);
  border-radius: var(--radius);
  padding: 1.2rem;
  margin: 1.5rem 0;
  border: 1px solid var(--border);
}
.checkout-summary h4 {
  font-size: 1rem;
  margin-bottom: 0.8rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--border);
}
#checkoutItems {
  max-height: 200px;
  overflow-y: auto;
  margin-bottom: 0.8rem;
}
#checkoutItems li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0;
  font-size: 0.88rem;
  border-bottom: 1px dashed var(--border);
}
#checkoutItems li:last-child { border-bottom: none; }
#checkoutItems li strong { color: var(--gold-dark); white-space: nowrap; }
[data-theme="dark"] #checkoutItems li strong { color: var(--gold); }

.checkout-totals { padding-top: 0.5rem; border-top: 1px solid var(--border); }

/* ===== Success Modal ===== */
.success-content { text-align: center; }
.success-icon {
  width: 90px; height: 90px;
  margin: 0 auto 1.2rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 3rem;
  color: var(--navy);
  animation: successPop 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
@keyframes successPop {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}
.success-content h2 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}
.success-content p {
  color: var(--text-soft);
  margin-bottom: 1.3rem;
  font-size: 0.95rem;
}
.success-order-id {
  background: var(--surface-2);
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1.3rem;
  border: 2px dashed var(--gold);
}
.success-order-id span {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
}
.success-order-id strong {
  font-size: 1.4rem;
  color: var(--gold-dark);
  font-weight: 900;
  letter-spacing: 1px;
}
[data-theme="dark"] .success-order-id strong { color: var(--gold); }

.success-actions { display: grid; gap: 0.6rem; }

/* ===== Products Toolbar ===== */
.products-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
.search-wrap {
  flex: 1;
  min-width: 240px;
  position: relative;
}
.search-wrap i {
  position: absolute;
  top: 50%;
  inset-inline-start: 1rem;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}
.search-wrap input {
  width: 100%;
  padding: 0.85rem 1rem;
  padding-inline-start: 2.8rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1.5px solid var(--border);
  color: var(--text);
  font-size: 0.95rem;
  transition: all var(--transition);
}
.search-wrap input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(206, 167, 95, 0.15);
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}
.no-results i { font-size: 3rem; margin-bottom: 1rem; color: var(--border); display: block; }

/* ===== Add to cart button variant ===== */
.product-actions { display: grid; grid-template-columns: 1fr auto; gap: 0.5rem; }
.product-actions .btn { padding: 0.7rem 0.9rem; font-size: 0.85rem; }
.add-cart-btn {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  border-radius: 12px;
  font-size: 1.05rem;
  transition: all var(--transition);
  flex-shrink: 0;
}
.add-cart-btn:hover { transform: translateY(-3px) scale(1.05); box-shadow: var(--shadow-gold); }
.add-cart-btn.added { background: var(--success); color: #fff; }

/* ===== Responsive ===== */
@media (max-width: 480px) {
  .cart-drawer { width: 100vw; }
  .modal-content { padding: 1.5rem 1.2rem; }
  .modal-close { top: 0.7rem; inset-inline-end: 0.7rem; width: 34px; height: 34px; }
  .payment-options { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 60px 1fr; }
  .cart-item img { width: 60px; height: 60px; }
  .cart-item-actions { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
}
