/* ==========================================================================
   متغيرات الهوية البصرية — لوحة "فخمة وراقية": كحلي عميق + ذهبي دافئ + خلفية كريمية
   غيّر القيم هنا لتطبيق شعار وألوان مطبعتك الفعلية
   ========================================================================== */
:root {
  --brand-primary: #16224f;        /* كحلي عميق */
  --brand-primary-light: #2c4085;  /* كحلي أفتح (تدرجات) */
  --brand-primary-dark: #0a1230;   /* كحلي غامق جدًا (خلفيات داكنة) */
  --brand-accent: #c9973f;         /* ذهبي دافئ مطفي (بدل البرتقالي الصريح) */
  --brand-accent-light: #e3c07f;
  --brand-accent-dark: #a3792e;
  --bg: #f8f6f0;                   /* كريمي دافئ بدل الرمادي البارد */
  --surface: #ffffff;
  --surface-tint: #fcfaf5;
  --text: #1a1f33;
  --text-muted: #6d6a63;
  --border: #e8e2d3;
  --border-strong: #dcd3bd;
  --success: #16a34a;
  --danger: #c0392b;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(15, 20, 45, 0.06);
  --shadow: 0 10px 28px rgba(15, 20, 45, 0.09);
  --shadow-lg: 0 26px 60px rgba(15, 20, 45, 0.18);
  --shadow-gold: 0 14px 30px rgba(163, 121, 46, 0.32);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font: 'Cairo', 'Tahoma', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(ellipse 900px 560px at 8% -8%, rgba(22, 34, 79, 0.05), transparent 60%),
    radial-gradient(ellipse 1000px 640px at 104% 4%, rgba(201, 151, 63, 0.07), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  direction: inherit;
  text-align: start;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { text-wrap: balance; }
h1, h2 { letter-spacing: -0.01em; }

.lang-switch {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin-inline-start: 8px;
  transition: border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.lang-switch:hover { border-color: var(--brand-primary); color: var(--brand-primary); transform: translateY(-1px); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--brand-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Header (شريط علوي + هيدر + شريط الأقسام) — بيتبني من js/layout.js ===== */
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
.ico-sm { width: .95em; height: .95em; }
[dir="rtl"] .ico-flip, .ico-mirror { transform: scaleX(-1); }

.site-header {
  --topbar-h: 36px;
  position: sticky;
  top: calc(-1 * var(--topbar-h));
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(15, 20, 45, 0.08); }

.topbar { background: var(--brand-primary-dark); color: #cfd5e6; font-size: .82rem; }
.topbar-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 20px;
  height: var(--topbar-h);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.topbar-info, .topbar-actions { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar .ico { color: var(--brand-accent-light); }
.topbar-sep { width: 1px; height: 14px; background: rgba(255, 255, 255, .18); }
.topbar .lang-switch {
  background: transparent; border-color: rgba(255, 255, 255, .25); color: #fff;
  padding: 2px 12px; font-size: .78rem; margin: 0;
}
.topbar .lang-switch:hover { border-color: var(--brand-accent-light); color: var(--brand-accent-light); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 14px 20px;
  max-width: 1180px;
  margin: 0 auto;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.3rem; color: var(--brand-primary); white-space: nowrap;
}
.brand .logo-badge {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; object-fit: contain;
}

.header-search {
  flex: 1;
  max-width: 560px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  padding-inline-start: 16px;
  color: var(--text-muted);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.header-search:focus-within { border-color: var(--brand-primary); box-shadow: 0 0 0 4px rgba(22, 34, 79, .08); }
.header-search input {
  flex: 1; min-width: 0; border: 0; outline: none; background: transparent;
  font: inherit; font-size: .92rem; color: var(--text); padding: 8px 0;
}
.header-search input::-webkit-search-cancel-button { display: none; }
.header-search-btn {
  border: 0; border-radius: 999px; padding: 9px 20px;
  background: var(--brand-primary); color: #fff; font-weight: 700; font-size: .88rem;
  transition: background .2s var(--ease);
}
.header-search-btn:hover { background: var(--brand-primary-light); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--brand-accent-light), var(--brand-accent));
  color: #241a05; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: .92rem;
  box-shadow: 0 8px 18px rgba(163, 121, 46, .25);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.cart-btn .ico { width: 1.3em; height: 1.3em; }
.cart-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.cart-count {
  background: var(--brand-primary); color: #fff; border-radius: 999px;
  min-width: 22px; height: 22px; padding: 0 6px; font-size: .75rem;
  display: inline-flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums;
}
.cart-count.is-empty { background: rgba(22, 34, 79, .55); }

.icon-btn {
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface); color: var(--brand-primary);
  display: inline-flex; align-items: center; justify-content: center;
}
.icon-btn .ico { width: 22px; height: 22px; }
.nav-toggle { display: none; }

.navbar { border-top: 1px solid var(--border); }
.navbar-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; gap: 4px;
}
.navbar-inner > a {
  position: relative;
  padding: 13px 14px; font-weight: 700; font-size: .92rem; color: var(--text);
  transition: color .2s var(--ease);
}
.navbar-inner > a::after {
  content: ''; position: absolute; inset-inline: 14px; bottom: -1px; height: 3px;
  border-radius: 3px 3px 0 0; background: var(--brand-accent);
  transform: scaleX(0); transition: transform .3s var(--ease);
}
.navbar-inner > a:hover { color: var(--brand-primary); }
.navbar-inner > a.active { color: var(--brand-primary); }
.navbar-inner > a.active::after, .navbar-inner > a:hover::after { transform: scaleX(1); }
.navbar-inner > a.navbar-wa { margin-inline-start: auto; color: #138a43; display: inline-flex; align-items: center; gap: 6px; }
.navbar-inner > a.navbar-wa::after { display: none; }

.cat-menu { position: relative; margin-inline-end: 10px; }
.cat-menu-btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: 0; border-radius: 10px; padding: 8px 14px; margin: 6px 0;
  background: var(--brand-primary); color: #fff; font-weight: 700; font-size: .9rem;
}
.cat-menu-btn[aria-expanded="true"] .ico-sm { transform: rotate(180deg); }
.cat-menu-panel {
  display: none;
  position: absolute; top: calc(100% + 4px); inset-inline-start: 0;
  width: 320px; padding: 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  box-shadow: var(--shadow-lg);
}
.cat-menu-panel.open { display: grid; gap: 2px; animation: menuIn .22s var(--ease); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } }
.cat-link {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 10px; border-radius: 12px; font-weight: 600; font-size: .92rem;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.cat-link:hover { background: var(--surface-tint); color: var(--brand-primary); }
.cat-link-icon {
  width: 36px; height: 36px; border-radius: 10px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(201, 151, 63, .12); color: var(--brand-accent-dark);
}
.cat-link-all { justify-content: space-between; color: var(--brand-primary); font-weight: 800; border-top: 1px solid var(--border); border-radius: 0 0 12px 12px; margin-top: 4px; padding-top: 12px; }

@media (max-width: 960px) {
  .site-header { --topbar-h: 32px; }
  .topbar-hide-sm, .topbar-sep { display: none !important; }
  .header-inner { flex-wrap: wrap; gap: 10px 12px; padding: 10px 16px 12px; }
  .nav-toggle { display: inline-flex; }
  .brand { font-size: 1.15rem; margin-inline-end: auto; }
  .brand .logo-badge { width: 38px; height: 38px; }
  .header-search { order: 3; flex-basis: 100%; max-width: none; }
  .cart-btn { padding: 9px 14px; }
  .cart-btn-label { display: none; }
  .navbar { display: none; }
  body.nav-open .navbar { display: block; max-height: calc(100vh - 150px); overflow-y: auto; }
  .navbar-inner { flex-direction: column; align-items: stretch; padding: 8px 16px 16px; gap: 0; }
  .navbar-inner > a { padding: 13px 4px; border-bottom: 1px solid var(--border); }
  .navbar-inner > a::after { display: none; }
  .navbar-inner > a.navbar-wa { margin: 0; border-bottom: 0; }
  .cat-menu { order: 10; margin: 10px 0 0; }
  .cat-menu-btn { display: none; }
  .cat-menu-panel { display: grid; position: static; width: auto; box-shadow: none; padding: 6px; background: var(--surface-tint); }
}
@media (max-width: 420px) {
  .topbar-info a { font-size: .78rem; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), opacity .2s var(--ease), background .22s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand-primary-light), var(--brand-primary));
  color: #fff;
  box-shadow: 0 10px 22px rgba(22, 34, 79, 0.22);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(22, 34, 79, 0.3); }
.btn-accent {
  background: linear-gradient(135deg, var(--brand-accent-light), var(--brand-accent));
  color: #241a05;
  box-shadow: var(--shadow-gold);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(163, 121, 46, 0.4); }
.btn-outline { background: transparent; border: 2px solid var(--brand-primary); color: var(--brand-primary); }
.btn-outline:hover { background: var(--brand-primary); color: #fff; transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(ellipse 700px 420px at 85% -10%, rgba(201, 151, 63, 0.18), transparent 60%),
    linear-gradient(155deg, var(--brand-primary-light) 0%, var(--brand-primary) 45%, var(--brand-primary-dark) 100%);
  color: #fff;
  padding: 76px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .5;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  position: relative;
}
.hero h1 { font-size: 2.7rem; margin: 0 0 16px; line-height: 1.32; letter-spacing: -0.015em; }
.hero p { font-size: 1.1rem; opacity: .92; margin: 0 0 26px; max-width: 46ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  font-size: 6rem;
  backdrop-filter: blur(6px);
}
@media (max-width: 800px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.95rem; }
}

/* ===== سلايدر منتجات الهيدر (public/js/hero-slider.js) ===== */
/* توهّج ورا السلايدر بلون المنتج اللي في المقدمة (--hero-glow بيتظبط من JS) */
.hero { --hero-glow: 201, 151, 63; }
.hero .container > * { position: relative; z-index: 1; }
.hero .container::after {
  content: '';
  position: absolute;
  z-index: 0;
  inset-inline-end: -4%;
  top: 50%;
  width: 48%;
  aspect-ratio: 1;
  translate: 0 -50%;
  border-radius: 50%;
  background-color: rgb(var(--hero-glow));
  filter: blur(90px);
  opacity: .5;
  pointer-events: none;
  transition: background-color 1.1s ease;
}
.hero-slider-wrap { width: 100%; min-width: 0; overflow: hidden; }
.hero-slider { position: relative; outline: none; min-height: 430px; }
.hero-slider:focus-visible { box-shadow: 0 0 0 3px rgba(var(--hero-glow), .6); border-radius: 28px; }
.hero-track {
  position: relative;
  height: 360px;
  margin-top: 18px;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}
.hero-slider.is-dragging .hero-track { cursor: grabbing; }
.hero-slide { position: absolute; top: 0; left: 0; height: 100%; will-change: transform; }
.hero-card {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #fff;
  color: var(--text);
  -webkit-tap-highlight-color: transparent;
}
.hero-card-media {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f4efe2, #fbf9f3);
}
.hero-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.hero-card-emoji { font-size: 4rem; }
.hero-card-info h4 {
  margin: 0 0 4px;
  font-size: 1rem;
  line-height: 1.45;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hero-card-price { font-weight: 800; font-variant-numeric: tabular-nums; }
.hero-dots { display: flex; justify-content: center; gap: 7px; margin-top: 20px; }
.hero-dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px;
  background: #fff; opacity: .4; cursor: pointer;
  transition: width .35s var(--ease), opacity .35s, background-color .35s;
}
.hero-dots button.is-active { width: 24px; opacity: 1; background: var(--brand-accent); }
.hero-swiper { width: 100%; min-width: 0; padding: 22px 0 44px; }
.hero-swiper .swiper-pagination-bullet { background: #fff; opacity: .45; }
.hero-swiper .swiper-pagination-bullet-active { opacity: 1; background: var(--brand-accent); }

/* شكل Material: كارت كبير في أول السطر وجنبه كروت بتصغر */
.hero-slider-wrap[data-style="material"] .hero-slide { width: 60%; }
.hero-slider-wrap[data-style="material"] .hero-card { border-radius: 26px; box-shadow: none; }
.hero-slider-wrap[data-style="material"] .hero-card-info {
  position: absolute;
  inset: auto 0 0 0;
  padding: 46px 18px 16px;
  color: #fff;
  background: linear-gradient(to top, rgba(10, 16, 40, .88), rgba(10, 16, 40, .5) 55%, transparent);
}
.hero-slider-wrap[data-style="material"] .hero-card-price { color: var(--brand-accent-light, #e9c27a); }

/* شكل الكاروسيل الدايري 3D */
.hero-slider-wrap[data-style="ring"] .hero-track { height: 360px; margin-top: 30px; }
.hero-slider-wrap[data-style="ring"] .hero-slide { width: 265px; }
.hero-slider-wrap[data-style="ring"] .hero-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  box-shadow: 0 26px 50px rgba(5, 8, 20, .45);
}
.hero-slider-wrap[data-style="ring"] .hero-card-media { height: auto; aspect-ratio: 1; flex: none; }
.hero-slider-wrap[data-style="ring"] .hero-card-info { padding: 10px 14px; text-align: center; }
.hero-slider-wrap[data-style="ring"] .hero-card-info { padding: 12px 16px; }
.hero-slider-wrap[data-style="ring"] .hero-card-info h4 { font-size: 1rem; }
.hero-slider-wrap[data-style="ring"] .hero-card-price { color: var(--brand-primary); }

/* الشكل القديم (coverflow) */
.hero-slider-wrap[data-style="coverflow"] .swiper-slide { width: 190px; height: 260px; }
.hero-slider-wrap[data-style="coverflow"] .hero-card { display: flex; flex-direction: column; border-radius: var(--radius); box-shadow: 0 24px 50px rgba(5, 8, 20, .4); }
.hero-slider-wrap[data-style="coverflow"] .hero-card-media { height: auto; aspect-ratio: 1; flex: none; }
.hero-slider-wrap[data-style="coverflow"] .hero-card-media img { object-fit: contain; }
.hero-slider-wrap[data-style="coverflow"] .hero-card-info { padding: 10px 14px; text-align: center; }
.hero-slider-wrap[data-style="coverflow"] .hero-card-info h4 { font-size: .9rem; }
.hero-slider-wrap[data-style="coverflow"] .hero-card-price { color: var(--brand-primary); }

@media (max-width: 800px) {
  .hero .container::after { top: auto; bottom: -6%; inset-inline-end: 5%; width: 90%; translate: none; }
  .hero-slider { min-height: 0; }
  .hero-track { height: 290px; }
  .hero-slider-wrap[data-style="material"] .hero-slide { width: 66%; }
  .hero-slider-wrap[data-style="ring"] .hero-track { height: 295px; margin-top: 20px; }
  .hero-slider-wrap[data-style="ring"] .hero-slide { width: 210px; }
  .hero-slider-wrap[data-style="coverflow"] .swiper-slide { width: 170px; height: 245px; }
  .hero-card-info h4 { font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .container::after { transition: none; }
}

/* ===== Sections ===== */
.section { padding: 84px 0 92px; }
.section-title {
  text-align: center;
  margin: 0 0 10px;
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-primary);
  letter-spacing: -0.01em;
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin: 0 auto 44px;
  font-size: 1.05rem;
  max-width: 56ch;
}
.section-alt { background: var(--surface-tint); }

/* ===== Feature cards ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid rgba(232, 226, 211, .7);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.card::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-accent), var(--brand-primary));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card .icon {
  font-size: 1.7rem;
  margin-bottom: 14px;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--surface-tint), #f1ead9);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.card.text-center .icon { margin-inline: auto; }
.card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

/* ===== Product card ===== */
.product-card {
  background: var(--surface);
  border: 1px solid rgba(232, 226, 211, .7);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #f4efe2, #fbf9f3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  overflow: hidden;
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  box-sizing: border-box;
  transition: transform .5s var(--ease);
}
.product-card:hover .product-thumb img { transform: scale(1.05); }
.product-body { padding: 18px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.product-body h3 { margin: 0; font-size: 1.05rem; }
.product-desc { color: var(--text-muted); font-size: 0.88rem; flex: 1; }
.badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--brand-accent-light), var(--brand-accent));
  color: #241a05;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  align-self: flex-start;
  letter-spacing: .01em;
}
.price-row { display: flex; align-items: center; gap: 10px; }
.price { font-weight: 800; font-size: 1.2rem; color: var(--brand-primary); font-variant-numeric: tabular-nums; }
.price-old { text-decoration: line-through; color: var(--text-muted); font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.product-footer { padding: 0 18px 18px; }

.filter-bar { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 34px; }
.filter-chip {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.filter-chip:hover { transform: translateY(-1px); border-color: var(--brand-primary); }
.filter-chip.active { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); }

/* ===== Forms ===== */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 0.92rem; }
.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--surface);
  color: var(--text);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-control:focus { outline: none; border-color: var(--brand-primary); box-shadow: 0 0 0 4px rgba(22, 34, 79, 0.1); }
textarea.form-control { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form-hint { font-size: 0.82rem; color: var(--text-muted); margin-top: 6px; }
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  max-width: 720px;
  margin: 0 auto;
}

.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  font-size: 0.92rem;
  font-weight: 600;
}
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

/* ===== Payment options ===== */
.payment-options { display: grid; gap: 12px; }
.payment-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.payment-option:has(input:checked) { border-color: var(--brand-primary); background: rgba(22, 34, 79, 0.05); }
.payment-option input { accent-color: var(--brand-primary); width: 18px; height: 18px; }
.payment-option .icon { font-size: 1.6rem; }
.payment-option .info strong { display: block; }
.payment-option .info span { font-size: 0.82rem; color: var(--text-muted); }
.payment-option-disabled { opacity: .55; cursor: not-allowed; }
.payment-option-disabled:hover { transform: none; }
.payment-option .soon-badge {
  position: absolute;
  inset-inline-end: 14px;
  top: 14px;
  background: var(--brand-accent);
  color: #241a05;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
}

/* ===== Cart ===== */
.cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item .thumb {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, #f4efe2, #fbf9f3);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}
.cart-item .info { flex: 1; }
.cart-item .info h4 { margin: 0 0 4px; font-size: 1rem; }
.cart-item .info small { color: var(--text-muted); }
.qty-control { display: flex; align-items: center; gap: 8px; }
.qty-control button {
  width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); font-weight: 700;
  transition: border-color .2s var(--ease), transform .15s var(--ease);
}
.qty-control button:hover { border-color: var(--brand-primary); transform: translateY(-1px); }
.remove-link { color: var(--danger); font-size: 0.85rem; font-weight: 600; }
.cart-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.summary-row { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 0.95rem; }
.summary-row.total { font-weight: 800; font-size: 1.15rem; border-top: 1px solid var(--border); padding-top: 12px; margin-top: 12px; font-variant-numeric: tabular-nums; }
.cart-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; align-items: start; }
@media (max-width: 860px) { .cart-layout { grid-template-columns: 1fr; } }

/* ===== Empty state ===== */
.empty-state { text-align: center; padding: 64px 20px; color: var(--text-muted); }
.empty-state .icon { font-size: 3.5rem; margin-bottom: 16px; }

/* ===== Job / Portfolio card ===== */
.job-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
  flex-wrap: wrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.job-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.job-card h3 { margin: 0 0 6px; }
.job-meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 0.85rem; color: var(--text-muted); }
.job-meta span { background: var(--surface-tint); padding: 4px 10px; border-radius: 999px; }

/* ===== Utilities ===== */
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-2 { gap: 16px; }
.loading {
  text-align: center;
  padding: 48px;
  color: var(--text-muted);
  position: relative;
}
.loading::after {
  content: '';
  display: block;
  width: 34px; height: 34px;
  margin: 14px auto 0;
  border-radius: 50%;
  border: 3px solid var(--border);
  border-top-color: var(--brand-accent);
  animation: spin 0.85s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.small-note { font-size: 0.8rem; color: var(--text-muted); }

.breadcrumb { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }
.breadcrumb a { color: var(--brand-primary); font-weight: 600; }

/* ===== Scroll-reveal animation hooks (progressive enhancement — see js/animations.js) =====
   العناصر تظهر عادي فورًا لو الجافاسكريبت اتأخر أو اتمنع؛ الإخفاء الابتدائي بيتحط عن طريق GSAP نفسه بعد ما يتأكد إنه اشتغل */
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-animate { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   التصميم الجديد (نوفمبر 2026): عناوين الأقسام، الكروت، الصفحة الرئيسية، الفوتر
   ========================================================================== */
.btn .ico { width: 1.2em; height: 1.2em; }
.btn-lg { padding: 15px 30px; font-size: 1rem; border-radius: 14px; }
.btn-ghost-light { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .45); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; transform: translateY(-2px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .8rem; font-weight: 800; color: var(--brand-accent-dark);
  background: rgba(201, 151, 63, .12); padding: 5px 14px; border-radius: 999px; margin-bottom: 12px;
}
.eyebrow-light { color: var(--brand-accent-light); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }

.section-tight { padding: 64px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.section-head .section-title { text-align: start; margin: 0; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.section-head .section-subtitle { text-align: start; margin: 8px 0 0; }
.section-head-center { flex-direction: column; align-items: center; text-align: center; }
.section-head-center .section-title { text-align: center; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-weight: 800; color: var(--brand-primary); transition: gap .25s var(--ease);
}
.link-arrow:hover { gap: 10px; }
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .section-tight { padding: 48px 0; }
  .section-head { flex-wrap: wrap; align-items: flex-start; margin-bottom: 22px; }
}

/* ===== Hero ===== */
.hero { padding: 64px 0 84px; }
.hero h1 { font-size: clamp(2.05rem, 4.2vw, 3.2rem); line-height: 1.25; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 30px; }
.hero-trust li { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; color: rgba(255, 255, 255, .88); }
.hero-trust .ico {
  width: 34px; height: 34px; padding: 8px; border-radius: 50%;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: var(--brand-accent-light);
}
@media (max-width: 800px) {
  .hero { padding: 40px 0 56px; }
  .hero-trust { gap: 10px 16px; margin-top: 22px; }
  .hero-trust li { font-size: .84rem; }
}

/* ===== الأقسام ===== */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-tile {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: 22px; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.cat-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.cat-tile-media { aspect-ratio: 4 / 3; background: #f3efe5; overflow: hidden; }
.cat-tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat-tile:hover .cat-tile-media img { transform: scale(1.06); }
.cat-tile-body { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.cat-tile h3 { margin: 0; font-size: 1rem; line-height: 1.4; }
.cat-tile-count { font-size: .8rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.cat-tile-icon {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(201, 151, 63, .12); color: var(--brand-accent-dark);
}
.cat-tile-icon .ico { width: 22px; height: 22px; }
.cat-tile-all {
  justify-content: center; align-items: flex-start; gap: 8px; padding: 26px; min-height: 100%;
  background: radial-gradient(ellipse at 100% 0%, rgba(201, 151, 63, .3), transparent 60%), linear-gradient(150deg, var(--brand-primary-light), var(--brand-primary-dark));
  border: 0; color: #fff;
}
.cat-tile-all h3 { font-size: 1.3rem; }
.cat-tile-all .cat-tile-count { color: rgba(255, 255, 255, .7); }
.cat-tile-all .cat-tile-icon { background: rgba(255, 255, 255, .12); color: var(--brand-accent-light); margin-bottom: 6px; }
.cat-tile-all .product-go { margin-top: 10px; background: var(--brand-accent); color: #241a05; }
@media (max-width: 960px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-tile { border-radius: 18px; }
  .cat-tile-body { padding: 10px 12px; gap: 8px; }
  .cat-tile-icon { width: 34px; height: 34px; border-radius: 10px; }
  .cat-tile-icon .ico { width: 18px; height: 18px; }
  .cat-tile h3 { font-size: .88rem; }
  .cat-tile-all { padding: 18px; }
}

/* ===== خطوات الطلب ===== */
.steps-section { background: var(--surface-tint); border-block: 1px solid var(--border); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 26px 24px; }
.step-num {
  position: absolute; top: 14px; inset-inline-end: 20px;
  font-size: 3rem; font-weight: 800; line-height: 1; color: rgba(22, 34, 79, .07); font-variant-numeric: tabular-nums;
}
.step-icon {
  width: 54px; height: 54px; border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brand-primary-light), var(--brand-primary)); color: #fff;
  box-shadow: 0 10px 20px rgba(22, 34, 79, .2);
}
.step-icon .ico { width: 26px; height: 26px; }
.step h3 { margin: 18px 0 6px; font-size: 1.08rem; }
.step p { margin: 0; color: var(--text-muted); font-size: .92rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .step { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; padding: 18px; }
  .step-icon { grid-row: span 2; width: 48px; height: 48px; }
  .step h3 { margin: 2px 0 4px; }
}

/* ===== كارت المنتج ===== */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.product-card { border-radius: 22px; border-color: var(--border); box-shadow: var(--shadow-sm); }
.product-card:hover { box-shadow: var(--shadow-lg); }
.product-thumb { position: relative; background: #f3efe5; }
.product-thumb img { object-fit: cover; }
.thumb-emoji { font-size: 3.6rem; }
.badge-float { position: absolute; bottom: 10px; inset-inline-start: 10px; box-shadow: 0 6px 14px rgba(163, 121, 46, .3); }
.product-body { padding: 14px 16px 16px; gap: 10px; }
.product-body h3 {
  font-size: .98rem; line-height: 1.5; min-height: 3em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.product-go {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-tint); border: 1px solid var(--border); color: var(--brand-primary);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.product-card:hover .product-go { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); }
@media (max-width: 760px) {
  .product-card { border-radius: 18px; }
  .product-body { padding: 10px 12px 12px; gap: 6px; }
  .product-body h3 { font-size: .86rem; }
  .product-body .price { font-size: 1rem; }
  .product-go { width: 32px; height: 32px; }
}

/* ===== العروض ===== */
.offers-section { padding: 72px 0; background: linear-gradient(180deg, #fbf3e2 0%, var(--bg) 100%); overflow: hidden; }
.offers-section .section-head { margin-bottom: 22px; }
.offers-nav { display: flex; gap: 8px; }
.offers-nav button {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface); color: var(--brand-primary);
  display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm);
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.offers-nav button:hover { background: var(--brand-primary); color: #fff; transform: translateY(-2px); }
.offers-track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 2px 24px; scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent;
}
.offer-card {
  flex: 0 0 300px; scroll-snap-align: start; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.offer-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.offer-media { position: relative; aspect-ratio: 1; background: #f3efe5; overflow: hidden; }
.offer-media img { width: 100%; height: 100%; object-fit: cover; }
.offer-off {
  position: absolute; top: 12px; inset-inline-start: 12px;
  background: var(--danger); color: #fff; font-weight: 800; font-size: .8rem; padding: 4px 10px; border-radius: 999px;
}
.offer-body { position: relative; flex: 1; display: flex; flex-direction: column; padding: 26px 20px 20px; }
.offer-icon {
  position: absolute; top: -24px; inset-inline-end: 18px;
  width: 48px; height: 48px; border-radius: 14px; border: 3px solid var(--surface);
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brand-primary-light), var(--brand-primary)); color: #fff;
}
.offer-card h3 { margin: 0 0 12px; font-size: 1.05rem; line-height: 1.45; padding-inline-end: 52px; }
.offer-features { margin: 0 0 16px; flex: 1; }
.offer-features li { display: flex; align-items: flex-start; gap: 8px; font-size: .88rem; color: var(--text-muted); margin-bottom: 6px; }
.offer-features .ico { color: var(--success); margin-top: .25em; }
.offer-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px dashed var(--border-strong); }
@media (max-width: 640px) {
  .offer-card { flex-basis: 260px; }
  .offers-nav { display: none; }
}

/* ===== شريط خدمات التصميم ===== */
.design-band {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
  padding: 56px; border-radius: 30px; overflow: hidden; color: #fff;
  background:
    radial-gradient(ellipse 520px 360px at 100% 100%, rgba(201, 151, 63, .32), transparent 60%),
    linear-gradient(150deg, var(--brand-primary-light), var(--brand-primary) 50%, var(--brand-primary-dark));
}
.design-band h2 { margin: 0 0 12px; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.3; }
.design-band p { margin: 0 0 26px; opacity: .88; max-width: 48ch; }
.design-band-visual { position: relative; height: 320px; }
.design-shot {
  position: absolute; aspect-ratio: 1; border-radius: 20px; overflow: hidden;
  border: 4px solid rgba(255, 255, 255, .9); box-shadow: 0 24px 50px rgba(5, 8, 20, .45); background: #fff;
}
.design-shot img { width: 100%; height: 100%; object-fit: cover; }
.design-shot-1 { width: 56%; top: 0; inset-inline-start: 4%; rotate: -6deg; }
.design-shot-2 { width: 50%; bottom: 0; inset-inline-end: 0; rotate: 5deg; }
.design-shot-3 { width: 36%; top: 30%; inset-inline-start: 38%; rotate: -1deg; z-index: 2; }
@media (max-width: 860px) {
  .design-band { grid-template-columns: 1fr; padding: 34px 22px; border-radius: 24px; gap: 26px; }
  .design-band-visual { height: 230px; max-width: 380px; width: 100%; margin-inline: auto; }
}

/* ===== الأرقام ===== */
.stats-band { background: var(--surface); border-block: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid .stat-item { padding: 34px 12px; text-align: center; }
.stats-grid .stat-item + .stat-item { border-inline-start: 1px solid var(--border); }
.stat-item strong { display: block; font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--brand-primary); font-variant-numeric: tabular-nums; line-height: 1.3; }
.stat-item span { color: var(--text-muted); font-size: .88rem; }
@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid .stat-item { padding: 22px 8px; }
  .stats-grid .stat-item:nth-child(3) { border-inline-start: 0; }
  .stats-grid .stat-item:nth-child(n + 3) { border-top: 1px solid var(--border); }
}

/* ===== ليه تختارنا ===== */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 26px 24px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-icon {
  width: 54px; height: 54px; border-radius: 16px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(201, 151, 63, .14); color: var(--brand-accent-dark);
}
.why-icon .ico { width: 26px; height: 26px; }
.why-card h3 { margin: 16px 0 6px; font-size: 1.05rem; }
.why-card p { margin: 0; color: var(--text-muted); font-size: .92rem; }
.shipping-strip {
  display: flex; align-items: center; gap: 18px; margin-top: 20px; padding: 22px 26px;
  border-radius: 22px; border: 1px solid var(--border-strong);
  background: linear-gradient(135deg, #fdf6e6, var(--surface));
}
.shipping-strip h3 { margin: 0 0 4px; font-size: 1.08rem; }
.shipping-strip p { margin: 0; color: var(--text-muted); font-size: .94rem; }
@media (max-width: 960px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) {
  .why-grid { gap: 12px; }
  .why-card { padding: 18px 16px; }
  .why-card h3 { font-size: .96rem; }
  .why-card p { font-size: .84rem; }
  .shipping-strip { align-items: flex-start; padding: 18px; }
}

/* ===== الأسئلة الشائعة ===== */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq-intro { position: sticky; top: 150px; }
.faq-intro .section-title, .faq-intro .section-subtitle { text-align: start; }
.faq-intro .section-subtitle { margin: 10px 0 24px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; margin-bottom: 12px; transition: box-shadow .25s var(--ease); }
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px 22px; font-weight: 700;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chevron { color: var(--brand-accent-dark); transition: transform .3s var(--ease); }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-item p { margin: 0; padding: 0 22px 20px; color: var(--text-muted); }
@media (max-width: 860px) {
  .faq-layout { grid-template-columns: 1fr; gap: 24px; }
  .faq-intro { position: static; }
}

/* ===== Footer ===== */
.site-footer {
  background:
    radial-gradient(ellipse 700px 400px at 90% 0%, rgba(201, 151, 63, 0.12), transparent 60%),
    var(--brand-primary-dark);
  color: #b9c0d4;
  padding: 0 0 26px;
  margin-top: 40px;
}
.footer-cta { padding-top: 44px; margin-bottom: 44px; }
.footer-cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 30px 36px; border-radius: 24px; color: #fff;
  background: linear-gradient(135deg, var(--brand-primary-light), var(--brand-primary));
  box-shadow: 0 24px 50px rgba(10, 18, 48, .35); border: 1px solid rgba(255, 255, 255, .1);
}
.footer-cta h3 { margin: 0 0 4px; font-size: 1.3rem; }
.footer-cta p { margin: 0; opacity: .8; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 34px; }
.footer-grid h4 { color: #fff; margin: 6px 0 16px; font-size: 1rem; }
.footer-grid li { margin-bottom: 10px; font-size: .92rem; }
.footer-grid a { transition: color .2s var(--ease); }
.footer-grid a:hover { color: var(--brand-accent-light); }
.brand-light { color: #fff; }
.footer-brand p { font-size: .92rem; max-width: 34ch; margin: 14px 0 18px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #fff;
}
.footer-social a:hover { background: var(--brand-accent); color: #241a05; }
.footer-contact li, .footer-contact a { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact .ico { color: var(--brand-accent-light); margin-top: .2em; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .85rem; color: #8892ab;
}
.footer-bottom-note { display: inline-flex; align-items: center; gap: 8px; }
.footer-admin { display: inline-flex; align-items: center; gap: 6px; color: #8892ab; }
.footer-admin:hover { color: #fff; }
.footer-admin .ico { width: 14px; height: 14px; }
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-cta-inner { padding: 24px 22px; }
}
@media (max-width: 480px) {
  .footer-cta .btn { width: 100%; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* ===== زرار واتساب العائم ===== */
.wa-fab {
  position: fixed; bottom: 20px; inset-inline-end: 20px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #25d366; color: #fff; box-shadow: 0 12px 28px rgba(18, 140, 74, .45);
  transition: transform .25s var(--ease);
}
.wa-fab .ico { width: 30px; height: 30px; stroke-width: 1.9; }
.wa-fab:hover { transform: scale(1.08); }
.wa-fab::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25d366; animation: waPulse 2.4s ease-out infinite;
}
@keyframes waPulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }
@media (max-width: 640px) { .wa-fab { width: 52px; height: 52px; bottom: 16px; inset-inline-end: 16px; } }
@media (prefers-reduced-motion: reduce) { .wa-fab::before { animation: none; } }

/* ===== رأس الصفحات الداخلية + فلاتر المتجر ===== */
.page-hero {
  padding: 48px 0 40px; text-align: center;
  background: radial-gradient(ellipse 600px 260px at 50% 0%, rgba(201, 151, 63, .14), transparent 70%), var(--surface-tint);
  border-bottom: 1px solid var(--border);
}
.page-hero .section-title { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.page-hero .section-subtitle { margin-bottom: 0; }
.filter-bar { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding: 4px 2px 10px; margin-bottom: 22px; scrollbar-width: none; }
.filter-bar::-webkit-scrollbar { display: none; }
.filter-chip { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; flex: none; padding: 9px 16px; }
.filter-chip .ico { color: var(--brand-accent-dark); }
.filter-chip.active .ico { color: var(--brand-accent-light); }
.search-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 12px 18px; margin-bottom: 20px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border); font-weight: 700;
}
.search-banner[hidden] { display: none; }
.search-banner > span { display: inline-flex; align-items: center; gap: 8px; }
.search-banner button { background: none; border: 0; font: inherit; }

/* ===== نص تعريفي بالمطبعة (مهم للسيو) ===== */
.about-seo { padding-top: 0; }
.about-seo-inner {
  max-width: 860px; margin: 0 auto; padding: 32px 36px; border-radius: 22px;
  background: var(--surface); border: 1px solid var(--border);
}
.about-seo h2 { margin: 0 0 12px; font-size: 1.35rem; color: var(--brand-primary); }
.about-seo p { margin: 0 0 10px; color: var(--text-muted); }
.about-seo p:last-child { margin-bottom: 0; }
@media (max-width: 640px) { .about-seo-inner { padding: 22px 18px; } }

/* ==========================================================================
   صفحة المنتج + السلة + الدفع (التصميم الجديد — المرحلة التانية)
   ========================================================================== */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .88rem; margin-bottom: 22px; }
.breadcrumb a { color: var(--brand-primary); font-weight: 700; }
.breadcrumb span { color: var(--text-muted); }

/* ===== صفحة المنتج ===== */
.product-page { padding-top: 28px; }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.pd-gallery { position: sticky; top: 150px; }
.pd-image {
  position: relative; aspect-ratio: 1; border-radius: 28px; overflow: hidden;
  background: #f3efe5; border: 1px solid var(--border); box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
}
.pd-image img { width: 100%; height: 100%; object-fit: contain; }
.pd-image .thumb-emoji { font-size: 7rem; }
.pd-cat {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px;
  font-size: .82rem; font-weight: 700; color: var(--brand-accent-dark);
  background: rgba(201, 151, 63, .12); padding: 5px 12px; border-radius: 999px;
}
.pd-cat[hidden] { display: none; }
.pd-title { margin: 0 0 12px; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.35; color: var(--brand-primary); }
.pd-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 16px; }
.pd-price .price { font-size: 2rem; }
.pd-price-note { flex-basis: 100%; color: var(--text-muted); font-size: .84rem; }
.pd-desc { color: var(--text-muted); margin: 0 0 22px; line-height: 1.9; }

.option-group { margin-bottom: 20px; }
.option-label { display: block; font-weight: 800; margin-bottom: 10px; font-size: .95rem; }
.option-values { display: flex; gap: 8px; flex-wrap: wrap; }
.option-values button {
  padding: 9px 16px; border-radius: 12px; border: 1.5px solid var(--border); background: var(--surface);
  font-size: .9rem; font-weight: 600; color: var(--text);
  transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
}
.option-values button:hover { border-color: var(--brand-primary); transform: translateY(-1px); }
.option-values button.active { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); }
.option-tiers { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.option-tiers button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 16px; text-align: start; }
.option-tiers button.active { box-shadow: 0 10px 22px rgba(22, 34, 79, .22); }
.opt-price { display: block; font-weight: 800; font-size: 1.05rem; color: var(--brand-accent-dark); font-variant-numeric: tabular-nums; }
.option-values button.active .opt-price { color: var(--brand-accent-light); }

.pd-buy { display: flex; gap: 12px; align-items: stretch; margin: 6px 0 12px; }
.qty-box {
  display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: 14px; background: var(--surface); overflow: hidden; flex: none;
}
.qty-box button { width: 44px; height: 100%; min-height: 52px; border: 0; background: transparent; font-size: 1.3rem; font-weight: 800; color: var(--brand-primary); }
.qty-box button:hover { background: var(--surface-tint); }
.qty-box input { width: 54px; border: 0; text-align: center; font: inherit; font-weight: 800; font-size: 1.05rem; background: transparent; -moz-appearance: textfield; }
.qty-box input::-webkit-outer-spin-button, .qty-box input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pd-add { flex: 1; }
.pd-add .ico { width: 1.35em; height: 1.35em; }
.pd-total { margin-bottom: 12px; color: var(--text-muted); font-weight: 600; }
.pd-total[hidden] { display: none; }
.pd-total strong { color: var(--brand-primary); font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.btn-wa { background: #fff; color: #128c4a; border: 1.5px solid #25d366; }
.btn-wa:hover { background: #25d366; color: #fff; transform: translateY(-2px); }
.pd-trust { display: grid; gap: 10px; margin-top: 22px; padding: 18px 20px; border-radius: 18px; background: var(--surface-tint); border: 1px solid var(--border); }
.pd-trust li { display: flex; align-items: center; gap: 12px; font-size: .9rem; font-weight: 600; }
.pd-trust .ico { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: rgba(201, 151, 63, .14); color: var(--brand-accent-dark); }

.pd-cards { margin-top: 36px; padding: 28px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.pd-cards-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.pd-cards-head h3 { margin: 4px 0 4px; }
.pd-cards .card-row { border-radius: 16px !important; background: var(--surface-tint); }

.related-section { padding-top: 0; }
.related-section[hidden] { display: none; }

.buy-bar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 95;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--border);
  box-shadow: 0 -10px 30px rgba(15, 20, 45, .1);
}
.buy-bar[hidden] { display: none; }
.buy-bar-price small { display: block; color: var(--text-muted); font-size: .75rem; }
.buy-bar-price strong { font-size: 1.2rem; color: var(--brand-primary); font-variant-numeric: tabular-nums; }
.buy-bar .btn { flex: 1; max-width: 230px; }
body:has(.buy-bar:not([hidden])) .wa-fab { bottom: 86px; }

.toast {
  position: fixed; z-index: 120; top: 96px; inset-inline-end: 20px; width: min(380px, calc(100vw - 32px));
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px;
  background: var(--brand-primary-dark); color: #fff; box-shadow: var(--shadow-lg);
}
.toast[hidden] { display: none; }
.toast.is-in { animation: toastIn .35s var(--ease); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-12px); } }
.toast-icon { width: 36px; height: 36px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; background: #22c55e; }
.toast-text { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: .85rem; }
.toast-text strong { font-size: .95rem; }
.toast-text span { opacity: .75; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toast-close { background: none; border: 0; color: #fff; opacity: .6; padding: 4px; }
.toast-close:hover { opacity: 1; }
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.45); } }

@media (max-width: 800px) {
  .product-detail { grid-template-columns: 1fr; gap: 22px; }
  .pd-gallery { position: static; }
  .pd-image { border-radius: 22px; }
  .pd-price .price { font-size: 1.7rem; }
  .toast { top: auto; bottom: 90px; inset-inline: 16px; width: auto; }
  .pd-cards { padding: 18px; }
}
@media (max-width: 420px) {
  .pd-buy { flex-direction: column; }
  .qty-box { align-self: flex-start; }
}

/* ===== خطوات الطلب ===== */
.page-hero-sm { padding: 30px 0 26px; }
.page-hero-sm .section-title { margin-bottom: 16px; }
.checkout-steps { list-style: none; margin: 0 auto; padding: 0; display: flex; justify-content: center; gap: 6px; max-width: 640px; }
.checkout-steps li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; color: var(--text-muted); position: relative; text-align: center; }
.checkout-steps li + li::before {
  content: ''; position: absolute; top: 16px; inset-inline-end: calc(50% + 22px); width: calc(100% - 44px); height: 2px; background: var(--border-strong);
}
.checkout-steps li.is-done::before, .checkout-steps li.is-active::before { background: var(--brand-accent); }
.step-dot {
  position: relative; z-index: 1; width: 34px; height: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); border: 2px solid var(--border-strong); font-weight: 800; color: var(--text-muted);
}
.is-active .step-dot { background: var(--brand-primary); border-color: var(--brand-primary); color: #fff; box-shadow: 0 0 0 5px rgba(22, 34, 79, .12); }
.is-done .step-dot { background: var(--brand-accent); border-color: var(--brand-accent); color: #241a05; }
.checkout-steps li.is-active, .checkout-steps li.is-done { color: var(--brand-primary); }

/* ===== السلة ===== */
.cart-layout { grid-template-columns: 1fr 380px; gap: 28px; }
.cart-list { display: grid; gap: 14px; align-content: start; }
.cart-row {
  display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; align-items: start;
  padding: 16px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border);
}
.cart-row-thumb { width: 96px; height: 96px; border-radius: 14px; overflow: hidden; background: #f3efe5; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; }
.cart-row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-row-info h3 { margin: 0 0 4px; font-size: 1rem; line-height: 1.5; }
.cart-row-info h3 a:hover { color: var(--brand-primary); text-decoration: underline; }
.cart-row-opts { font-size: .82rem; color: var(--text-muted); margin-bottom: 2px; }
.cart-row-unit { font-size: .85rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.cart-row-unit span { font-size: .78rem; }
.cart-row-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
.qty-control { display: inline-flex; align-items: center; gap: 0; border: 1.5px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--surface); }
.qty-control button { width: 34px; height: 34px; border: 0; border-radius: 0; background: transparent; font-weight: 800; font-size: 1.05rem; color: var(--brand-primary); }
.qty-control button:hover { background: var(--surface-tint); transform: none; }
.qty-control span { min-width: 30px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.cart-remove { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; color: var(--danger); font-weight: 700; font-size: .85rem; padding: 4px; }
.cart-remove:hover { text-decoration: underline; }
.cart-row-total { font-weight: 800; font-size: 1.1rem; color: var(--brand-primary); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cart-more { margin-top: 6px; justify-self: start; }
.cart-summary { position: sticky; top: 150px; border-radius: 24px; padding: 24px; }
.cart-summary h2 { margin: 0 0 16px; font-size: 1.2rem; color: var(--brand-primary); }
.summary-row .muted { color: var(--text-muted); font-size: .85rem; }
.summary-notes { display: grid; gap: 8px; margin: 18px 0 0; padding-top: 16px; border-top: 1px dashed var(--border-strong); }
.summary-notes li { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--text-muted); }
.summary-notes .ico { color: var(--brand-accent-dark); }
.summary-help { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; font-size: .86rem; font-weight: 700; color: #128c4a; }
.summary-help:hover { text-decoration: underline; }
.empty-state-card { max-width: 520px; margin: 0 auto; padding: 46px 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); }
.empty-state-card .why-icon { margin-bottom: 14px; }
.empty-state-card h2 { margin: 0 0 6px; color: var(--brand-primary); font-size: 1.35rem; }
.empty-state-card p { margin: 0 0 22px; }
@media (max-width: 960px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
}
@media (max-width: 560px) {
  .cart-row { grid-template-columns: 72px 1fr; gap: 12px; padding: 12px; }
  .cart-row-thumb { width: 72px; height: 72px; }
  .cart-row-total { grid-column: 2; }
}

/* ===== الدفع ===== */
.checkout-layout { display: grid; grid-template-columns: 1fr 400px; gap: 28px; align-items: start; }
.checkout-main { display: grid; gap: 18px; }
.co-card { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 26px; }
.co-title { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: 1.15rem; color: var(--brand-primary); }
.co-num {
  width: 32px; height: 32px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-primary); color: #fff; font-size: .95rem;
}
.payment-option { border-radius: 16px; border-width: 1.5px; padding: 14px 16px; }
.payment-option .icon {
  width: 44px; height: 44px; border-radius: 12px; flex: none; display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-tint); border: 1px solid var(--border); color: var(--brand-primary);
}
.payment-option .icon .ico { width: 24px; height: 24px; }
.payment-option:has(input:checked) .icon { background: var(--brand-primary); border-color: var(--brand-primary); color: #fff; }
.delivery-options .payment-option { cursor: pointer; }
.delivery-fee { margin-inline-start: auto; font-weight: 800; color: var(--brand-primary); white-space: nowrap; font-variant-numeric: tabular-nums; }
.payment-option .soon-badge { position: static; margin-inline-start: auto; }
.mini-item { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: .9rem; }
.mini-thumb { position: relative; width: 54px; height: 54px; border-radius: 12px; background: #f3efe5; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; border: 1px solid var(--border); }
.mini-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 11px; }
.mini-thumb b {
  position: absolute; top: -7px; inset-inline-end: -7px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 999px;
  background: var(--brand-primary); color: #fff; font-size: .72rem; display: inline-flex; align-items: center; justify-content: center;
}
.mini-name { display: flex; flex-direction: column; font-weight: 700; line-height: 1.45; }
.mini-name small { font-weight: 500; color: var(--text-muted); font-size: .78rem; }
.mini-price { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
#order-summary { margin-bottom: 12px; }
@media (max-width: 960px) {
  .checkout-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .co-card { padding: 18px 16px; border-radius: 20px; }
  .payment-option { flex-wrap: wrap; }
}

/* ===== موافقة الكوكيز (بتظهر بس لو أكواد التتبع متفعّلة — js/analytics.js) ===== */
.consent-bar {
  position: fixed; z-index: 110; bottom: 16px; inset-inline-start: 16px; width: min(440px, calc(100vw - 32px));
  padding: 16px 18px; border-radius: 18px; background: var(--brand-primary-dark); color: #e6e9f2;
  box-shadow: var(--shadow-lg); animation: toastIn .35s var(--ease);
}
.consent-bar p { margin: 0 0 12px; font-size: .86rem; line-height: 1.7; }
.consent-actions { display: flex; gap: 8px; }
.consent-no { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .3); }
.consent-no:hover { border-color: #fff; }
body:has(.buy-bar:not([hidden])) .consent-bar { bottom: 86px; }
@media (max-width: 640px) { .consent-bar { inset-inline: 12px; width: auto; bottom: 80px; } }

/* ===== الفاتورة الضريبية (اختياري — الضريبة بتتضاف بس لو الزبون طلبها) ===== */
.invoice-box { padding: 14px 16px; border-radius: 16px; border: 1.5px dashed var(--border-strong); background: var(--surface-tint); }
.invoice-toggle { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.invoice-toggle input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--brand-primary); flex: none; }
.invoice-toggle span { display: flex; flex-direction: column; }
.invoice-toggle small { color: var(--text-muted); font-size: .84rem; }
.invoice-box:has(input:checked) { border-style: solid; border-color: var(--brand-primary); background: rgba(22, 34, 79, .04); }
#invoice-fields[hidden], #order-vat-row[hidden] { display: none; }
.summary-vat-note { margin: 10px 0 0; font-size: .8rem; color: var(--text-muted); line-height: 1.7; }

/* ==========================================================================
   المدونة (/blog — src/blog.js)
   ========================================================================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blog-card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border);
  border-radius: 22px; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-card-media { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #f3efe5, #fbf9f3); overflow: hidden; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-card h2 { margin: 0; font-size: 1.12rem; line-height: 1.55; color: var(--brand-primary); }
.blog-card p { margin: 0; color: var(--text-muted); font-size: .92rem; flex: 1; }
.blog-cat {
  align-self: flex-start; display: inline-block; font-size: .78rem; font-weight: 800; color: var(--brand-accent-dark);
  background: rgba(201, 151, 63, .12); padding: 4px 12px; border-radius: 999px;
}
.blog-meta { font-size: .82rem; color: var(--text-muted); }
@media (max-width: 960px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; gap: 16px; } }

.blog-container { max-width: 820px; }
.blog-head { padding: 40px 0 26px; background: radial-gradient(ellipse 600px 260px at 50% 0%, rgba(201, 151, 63, .14), transparent 70%), var(--surface-tint); border-bottom: 1px solid var(--border); }
.blog-head h1 { margin: 12px 0 10px; font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.4; color: var(--brand-primary); }
.blog-head .breadcrumb { margin-bottom: 14px; }
.blog-cover { margin: 28px 0 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--border); aspect-ratio: 16 / 9; background: #f3efe5; }
.blog-cover img { width: 100%; height: 100%; object-fit: cover; }
.blog-figure { margin: 0; }
.blog-credit { margin-top: 8px; font-size: .78rem; color: var(--text-muted, #8a8f9c); }
.blog-credit a { color: inherit; text-decoration: underline; }
.blog-toc { margin: 26px 0 0; padding: 18px 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); }
.blog-toc ol { margin: 8px 0 0; padding-inline-start: 22px; }
.blog-toc li { margin: 4px 0; }
.blog-toc a { color: var(--brand-primary); font-weight: 600; }
.blog-toc a:hover { text-decoration: underline; }
.blog-body { padding: 10px 0 0; font-size: 1.06rem; line-height: 2; }
.blog-body h2 { margin: 38px 0 12px; font-size: clamp(1.3rem, 2.6vw, 1.6rem); line-height: 1.5; color: var(--brand-primary); scroll-margin-top: 150px; }
.blog-body p { margin: 0 0 16px; }
.blog-body ul { margin: 0 0 18px; padding-inline-start: 24px; list-style: disc; }
.blog-body li { margin-bottom: 8px; }
.blog-lead { font-size: 1.15rem; color: var(--text); margin-top: 26px !important; }
.blog-tip { margin: 6px 0 20px; padding: 14px 18px; border-radius: 14px; background: #fdf6e6; border-inline-start: 4px solid var(--brand-accent); font-size: .98rem; }
.blog-body .faq-item p { padding: 0 22px 18px; }
.blog-products { margin: 30px 0; padding: 22px; border-radius: 22px; background: var(--surface-tint); border: 1px solid var(--border); }
.blog-products h3 { margin: 0 0 14px; font-size: 1.05rem; color: var(--brand-primary); }
.blog-products .product-grid { grid-template-columns: repeat(3, 1fr); }
.blog-products-fallback { grid-column: 1 / -1; margin: 0; }
.blog-products-fallback a { color: var(--brand-primary); font-weight: 700; text-decoration: underline; }
@media (max-width: 700px) { .blog-products { padding: 14px; } .blog-products .product-grid { grid-template-columns: repeat(2, 1fr); } }
.blog-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin: 30px 0 14px; padding: 24px 26px; border-radius: 22px; color: #fff;
  background: linear-gradient(135deg, var(--brand-primary-light), var(--brand-primary));
}
.blog-cta h3 { margin: 0 0 4px; }
.blog-cta p { margin: 0; opacity: .85; }
.blog-disclaimer { font-size: .82rem; color: var(--text-muted); margin: 0 0 30px; }
.blog-more { margin: 0 0 50px; padding-top: 22px; border-top: 1px solid var(--border); }
.blog-more h3 { margin: 0 0 10px; color: var(--brand-primary); }
.blog-more li { margin: 6px 0; }
.blog-more a { color: var(--brand-primary); font-weight: 700; }
.blog-more a:hover { text-decoration: underline; }
/* غلاف المقال: تصميم ثابت بألوان الموقع (صور المنتجات فيها أسعار مطبوعة فمش بنستخدمها هنا) */
.blog-art {
  position: relative; display: flex; align-items: flex-end; overflow: hidden;
  aspect-ratio: 16 / 9; padding: 22px 24px; color: #fff;
  background: radial-gradient(ellipse 70% 90% at 100% 0%, rgba(201, 151, 63, .55), transparent 60%), linear-gradient(150deg, var(--brand-primary-light), var(--brand-primary-dark));
}
.blog-art::after {
  content: ''; position: absolute; inset-inline-start: -10%; top: -30%; width: 55%; aspect-ratio: 1; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .14); box-shadow: 0 0 0 26px rgba(255, 255, 255, .04), 0 0 0 60px rgba(255, 255, 255, .03);
}
.blog-art span { position: relative; z-index: 1; font-weight: 800; font-size: 1.05rem; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); }
.blog-art-trust { background: radial-gradient(ellipse 70% 90% at 100% 0%, rgba(34, 197, 94, .35), transparent 60%), linear-gradient(150deg, #1e3a5f, var(--brand-primary-dark)); }
.blog-art-marketing { background: radial-gradient(ellipse 70% 90% at 100% 0%, rgba(239, 125, 60, .45), transparent 60%), linear-gradient(150deg, #3b2a5e, var(--brand-primary-dark)); }
.blog-art-ai { background: radial-gradient(ellipse 70% 90% at 100% 0%, rgba(99, 179, 237, .45), transparent 60%), linear-gradient(150deg, #1d2f6f, #0a1230); }
.blog-art-design-print { background: radial-gradient(ellipse 70% 90% at 100% 0%, rgba(236, 72, 153, .35), transparent 60%), linear-gradient(150deg, #33264f, var(--brand-primary-dark)); }
.blog-cover.blog-art { margin: 28px 0 0; border-radius: 24px; aspect-ratio: 21 / 8; border: 0; }
.blog-cover.blog-art span { font-size: 1.2rem; }
@media (max-width: 600px) { .blog-cover.blog-art { aspect-ratio: 16 / 7; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ===== هيدر المتجر (نموذج 3: صغير وعملي بحركة) ===== */
.store-head { position: relative; overflow: hidden; isolation: isolate; padding: 26px 0 18px; background: var(--surface-tint); border-bottom: 1px solid var(--border); }
.store-head::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55;
  background-image: radial-gradient(rgba(22, 34, 79, .12) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 90%); mask-image: linear-gradient(to bottom, #000, transparent 90%);
}
.store-head::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 3px;
  background: linear-gradient(90deg, transparent, #c9973f, #16224f, #c9973f, transparent); background-size: 200% 100%;
  animation: lineMove 6s linear infinite;
}
.store-blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(40px); pointer-events: none; }
.store-blob-a { width: 320px; height: 220px; background: rgba(201, 151, 63, .28); top: -90px; inset-inline-start: 8%; animation: blobA 9s ease-in-out infinite alternate; }
.store-blob-b { width: 280px; height: 200px; background: rgba(22, 34, 79, .14); bottom: -110px; inset-inline-end: 6%; animation: blobB 11s ease-in-out infinite alternate; }
.store-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; animation: slideUp .5s both; }
.store-crumbs { display: flex; gap: 8px; font-size: .85rem; color: var(--text-muted); }
.store-crumbs a { color: var(--brand-accent-dark, #8a6a2a); font-weight: 600; }
.store-title { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 6px 0 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.shine-text {
  background: linear-gradient(100deg, var(--brand-primary, #16224f) 40%, #c9973f 50%, var(--brand-primary, #16224f) 60%);
  background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 5s ease-in-out infinite;
}
.store-count {
  font-size: .82rem; font-weight: 800; color: #241a05; background: linear-gradient(135deg, #e6c27a, #c9973f);
  border-radius: 999px; padding: 5px 13px; box-shadow: 0 6px 16px -6px rgba(201, 151, 63, .7);
}
.store-count.pop { animation: pop .45s cubic-bezier(.34, 1.56, .64, 1); }
.store-sort select {
  appearance: none; font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; color: var(--brand-primary, #16224f);
  padding: 10px 40px 10px 18px; border: 1px solid var(--border); border-radius: 999px; background: #fff;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: 18px 52%, 23px 52%; background-size: 5px 5px; background-repeat: no-repeat;
  transition: border-color .2s, box-shadow .2s;
}
[dir="rtl"] .store-sort select { padding: 10px 18px 10px 40px; }
.store-sort select:hover { border-color: var(--brand-accent, #c9973f); box-shadow: 0 6px 18px -10px rgba(22, 34, 79, .45); }
.store-chips { margin: 16px 0 0; padding-bottom: 4px; }
.store-chips .filter-chip { animation: chipIn .45s both; animation-delay: calc(var(--i, 0) * 60ms); position: relative; overflow: hidden; }
.store-chips .filter-chip.active { box-shadow: 0 8px 20px -10px rgba(22, 34, 79, .8); }
@keyframes lineMove { to { background-position: -200% 0; } }
@keyframes blobA { to { transform: translate(60px, 30px) scale(1.15); } }
@keyframes blobB { to { transform: translate(-50px, -20px) scale(1.1); } }
@keyframes shine { 0%, 30% { background-position: 100% 0; } 70%, 100% { background-position: 0 0; } }
@keyframes pop { 0% { transform: scale(.6); } 100% { transform: scale(1); } }
@keyframes chipIn { from { transform: translateY(10px) scale(.96); } to { transform: none; } }
@keyframes slideUp { from { transform: translateY(10px); } to { transform: none; } }
@media (max-width: 760px) {
  .store-top { align-items: stretch; }
  .store-sort, .store-sort select { width: 100%; }
}

/* ===== حركات عامة للموقع كله ===== */
/* لمعة بتعدّي على الأزرار لما الماوس يقف عليها */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 60%; inset-inline-start: -80%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg);
  transition: inset-inline-start .6s ease;
}
.btn:hover::after { inset-inline-start: 130%; }
/* كروت المنتجات: ميلان + لمعة ضوء مكان الماوس */
.product-card { position: relative; transition: transform .25s ease, box-shadow .3s ease; transform-style: preserve-3d; will-change: transform; }
.product-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .28), transparent 45%);
}
.product-card:hover::after { opacity: 1; }
/* رأس الصفحات الداخلية: بقعة ذهبي بتتحرك بهدوء + خط متحرك تحت */
.page-hero { position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before {
  content: ""; position: absolute; z-index: -1; width: 420px; height: 260px; border-radius: 50%; top: -120px; inset-inline-start: 50%;
  background: rgba(201, 151, 63, .22); filter: blur(50px); animation: blobA 10s ease-in-out infinite alternate;
}
.page-hero::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 3px;
  background: linear-gradient(90deg, transparent, #c9973f, #16224f, #c9973f, transparent); background-size: 200% 100%;
  animation: lineMove 6s linear infinite;
}
.page-hero .section-title { animation: slideUp .5s both; }
.page-hero .eyebrow { animation: chipIn .5s both; }
/* زرار واتساب العائم: نبض خفيف يلفت النظر */
.wa-fab, .whatsapp-float, .floating-whatsapp { animation: waPulse 2.6s ease-out infinite; }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
@media (prefers-reduced-motion: reduce) {
  .store-head::after, .store-blob, .shine-text, .store-chips .filter-chip, .store-top, .page-hero::before, .page-hero::after,
  .page-hero .section-title, .page-hero .eyebrow, .wa-fab, .whatsapp-float, .floating-whatsapp { animation: none !important; }
  .shine-text { color: var(--brand-primary, #16224f); background: none; }
}

/* ===== الرئيسية: شريط أقسام متحرك + أرقام + hover ===== */
.marquee { overflow: hidden; background: var(--brand-primary, #16224f); padding: 14px 0; border-block: 1px solid rgba(201, 151, 63, .35); }
.marquee-track { display: flex; width: max-content; gap: 14px; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee a {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; border-radius: 999px; white-space: nowrap;
  color: #fff; font-weight: 700; font-size: .95rem; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05);
  transition: background .25s, color .25s, transform .25s;
}
.marquee a:hover { background: #e6c27a; color: #241a05; transform: translateY(-2px); }
.marquee a .ico { color: #e6c27a; width: 18px; height: 18px; }
.marquee a:hover .ico { color: #241a05; }
[dir="rtl"] .marquee-track { animation-name: marqueeRtl; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marqueeRtl { to { transform: translateX(50%); } }
.stats-band { position: relative; overflow: hidden; }
.stats-band::before {
  content: ""; position: absolute; inset-inline: 0; top: -1px; height: 3px;
  background: linear-gradient(90deg, transparent, #c9973f, #16224f, #c9973f, transparent); background-size: 200% 100%;
  animation: lineMove 6s linear infinite;
}
.stat-item strong { transition: transform .3s; }
.stat-item:hover strong { transform: scale(1.08); color: #c9973f; }
/* أيقونات الأقسام والخطوات بتتحرك لما الماوس يقف عليها */
.cat-tile-icon, .step-num { transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.cat-tile:hover .cat-tile-icon, .step:hover .step-num { transform: translateY(-4px) rotate(-8deg) scale(1.12); }
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .stats-band::before { animation: none; }
  .marquee { overflow-x: auto; }
}

/* ===== صفحات الأنشطة (/for) ===== */
.ind-title { margin: 34px 0 16px; font-size: 1.5rem; color: var(--brand-primary, #16224f); }
.ind-needs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.ind-need {
  position: relative; padding: 22px 20px 20px; border-radius: 20px; background: #fff; border: 1px solid var(--border);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.ind-need:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #e6c27a; }
.ind-need h3 { margin: 10px 0 8px; font-size: 1.08rem; color: var(--brand-primary, #16224f); }
.ind-need p { margin: 0; color: var(--text-muted); line-height: 1.8; }
.ind-num {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; font-weight: 800;
  color: #241a05; background: linear-gradient(135deg, #e6c27a, #c9973f); transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}
.ind-need:hover .ind-num { transform: rotate(-10deg) scale(1.12); }
.ind-others { display: flex; flex-wrap: wrap; gap: 8px; }
.ind-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.ind-tile {
  position: relative; overflow: hidden; display: flex; align-items: flex-end; min-height: 150px; border-radius: 20px;
  background: var(--brand-primary, #16224f); color: #fff; isolation: isolate;
}
.ind-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s; }
.ind-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(22, 34, 79, .92), rgba(22, 34, 79, .15) 70%); }
.ind-tile span { padding: 14px; font-weight: 800; font-size: .98rem; line-height: 1.4; }
.ind-tile:hover img { transform: scale(1.08); }
.ind-tile:hover span { color: #e6c27a; }
@media (max-width: 900px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } .ind-tile { min-height: 120px; } }
.navbar-inner > a { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1180px) { .navbar-inner > a { font-size: .9rem; padding-inline: 8px; } }
.svc-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.svc-link {
  display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; background: #fff;
  border: 1px solid var(--border); font-weight: 700; color: var(--brand-primary, #16224f); transition: transform .25s, border-color .25s, box-shadow .25s;
}
.svc-link .ico { color: #c9973f; flex: none; }
.svc-link:hover { transform: translateY(-3px); border-color: #e6c27a; box-shadow: var(--shadow-sm); }

/* شاركه مع صاحبك على واتساب (صفحة المنتج + المقالات) */
.pd-share, .post-share { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: .88rem; font-weight: 700; color: #128c4a; text-decoration: none; }
.pd-share { width: 100%; justify-content: center; }
.pd-share:hover, .post-share:hover { text-decoration: underline; }
.pd-share .ico, .post-share .ico { width: 18px; height: 18px; }
.post-share { padding: 10px 16px; border: 1.5px solid #25d366; border-radius: 12px; background: #fff; }

/* ==== تقييمات العملاء (صفحة المنتج + review.html) ==== */
.product-reviews{margin-top:24px;}
.rv-stars{color:#e0a526;letter-spacing:2px;font-size:1.05rem;}
.rv-summary{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:12px;font-size:1.05rem;}
.rv-count,.rv-empty{opacity:.75;}
.rv-item{border-top:1px solid var(--border,#e8e2d3);padding:12px 0;}
.rv-item p{margin:6px 0 0;}
.rv-top{display:flex;gap:10px;align-items:center;flex-wrap:wrap;}
.rv-cta{margin-top:12px;font-weight:600;}
.rv-pick{display:flex;flex-direction:row-reverse;justify-content:flex-end;gap:4px;}
.rv-pick input{position:absolute;opacity:0;width:1px;height:1px;}
.rv-pick label{font-size:2rem;line-height:1;cursor:pointer;color:#cfc8b8;transition:transform .15s,color .15s;}
.rv-pick label:hover,.rv-pick label:hover~label,.rv-pick input:checked~label{color:#e0a526;}
.rv-pick input:focus-visible+label{outline:2px solid #e0a526;border-radius:4px;}
.rv-product{display:flex;gap:12px;align-items:center;margin-bottom:10px;}
.rv-product img{width:64px;height:64px;object-fit:cover;border-radius:10px;}
.rv-card{margin-bottom:16px;}

/* السلة: "ممكن تحتاج كمان" */
.cart-upsell { margin-top: 22px; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-tint); }
.cart-upsell h3 { margin: 0 0 14px; font-size: 1rem; color: var(--brand-primary); }
.cart-upsell-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cart-upsell-card { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); text-align: center; }
.cart-upsell-thumb { width: 84px; height: 84px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: var(--surface-tint); font-size: 2rem; }
.cart-upsell-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-upsell-name { font-size: .85rem; font-weight: 700; color: var(--text); text-decoration: none; line-height: 1.5; }
.cart-upsell-price { font-size: .85rem; color: var(--brand-accent-dark); font-weight: 700; }
.cart-upsell-card .btn { width: 100%; justify-content: center; }
@media (max-width: 640px) {
  .cart-upsell-grid { grid-template-columns: 1fr; }
  .cart-upsell-card { display: grid; grid-template-columns: 64px 1fr auto; grid-template-areas: "thumb name btn" "thumb price btn"; align-items: center; column-gap: 12px; row-gap: 2px; text-align: start; }
  .cart-upsell-thumb { grid-area: thumb; width: 64px; height: 64px; }
  .cart-upsell-name { grid-area: name; align-self: end; }
  .cart-upsell-price { grid-area: price; align-self: start; }
  .cart-upsell-card .btn { grid-area: btn; width: auto; }
}

/* صفحة المنتج: طلب عرض سعر لكمية أكبر */
.pd-quote { margin-top: 12px; border: 1px dashed var(--border-strong); border-radius: 12px; padding: 10px 14px; background: var(--surface); }
.pd-quote summary { cursor: pointer; font-size: .88rem; font-weight: 700; color: var(--brand-primary); }
.pd-quote form { display: grid; gap: 8px; margin-top: 10px; }
.pd-quote .btn { justify-self: start; }
.pd-quote-msg { margin: 0; font-size: .85rem; color: var(--danger); }
.pd-quote-msg.ok { color: var(--success); font-weight: 700; }

/* الدفع: كود الخصم / الإحالة */
.coupon-box { margin: 14px 0 6px; padding: 12px; border: 1px dashed var(--border-strong); border-radius: 12px; background: var(--surface-tint); }
.coupon-box label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 8px; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row .form-control { flex: 1; min-width: 0; text-transform: uppercase; }
.coupon-msg { margin: 6px 0 0; font-size: .8rem; color: var(--danger); min-height: 1em; }
.coupon-msg.ok { color: var(--success); font-weight: 700; }
.coupon-discount-row span:last-child { color: var(--success); font-weight: 700; }
.rv-src{font-size:.8rem;opacity:.7;background:rgba(0,0,0,.05);border-radius:999px;padding:2px 10px;}

/* ==== آراء العملاء على خرائط جوجل (الصفحة الرئيسية) ==== */
.greviews-score{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:center;margin-top:6px;font-weight:600;text-decoration:none;color:inherit;border:1px solid var(--border,#e8e2d3);border-radius:999px;padding:6px 16px;}
.greviews-score strong{font-size:1.15rem;}
.greviews-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;margin-top:24px;}
.greview{margin:0;background:var(--surface,#fff);border:1px solid var(--border,#e8e2d3);border-radius:16px;padding:18px;display:flex;flex-direction:column;gap:10px;}
.greview blockquote{margin:0;line-height:1.9;flex:1;}
.greview figcaption{font-weight:700;}
.greview figcaption span{font-weight:400;opacity:.65;font-size:.85rem;}

/* ==========================================================================
   تحسينات بصرية (نوفمبر 2026): خط العناوين · تمييز الهيرو · سكيلتون · شريط الموبايل
   ========================================================================== */
:root { --font-heading: 'Readex Pro', 'Cairo', Tahoma, system-ui, sans-serif; }
h1, h2, h3, .section-title, .brand, .hero-card-info h4 { font-family: var(--font-heading); }

/* تمييز كلمة في عنوان الهيرو بالذهبي */
.hero-highlight {
  color: var(--brand-accent-light);
  text-shadow: 0 2px 26px rgba(201, 151, 63, .4);
}

/* سكيلتون تحميل (بدل نص "جاري التحميل") */
.skel { position: relative; overflow: hidden; background: var(--border); border-radius: 10px; }
.skel::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent);
  transform: translateX(-100%); animation: skelShine 1.4s infinite;
}
@keyframes skelShine { 100% { transform: translateX(100%); } }
.skel-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.skel-thumb { aspect-ratio: 1 / 1; border-radius: 0; }
.skel-line { height: 14px; margin: 12px 18px 0; border-radius: 8px; }
.skel-line.w60 { width: 60%; }
.skel-line.w40 { width: 40%; }
.skel-line.last { margin-bottom: 18px; }

/* تلميح زرار واتساب العائم */
.wa-fab::after {
  content: attr(data-label);
  position: absolute; inset-inline-end: calc(100% + 12px); top: 50%;
  translate: 0 -50%;
  background: #1a1f33; color: #fff; font-family: var(--font-heading);
  font-size: .8rem; font-weight: 700; padding: 8px 14px; border-radius: 12px; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transform: translateX(6px); transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.wa-fab:hover::after { opacity: 1; transform: translateX(0); }

/* شريط تنقل سفلي للموبايل */
.mobile-bar { display: none; }
@media (max-width: 768px) {
  body { padding-bottom: 62px; }
  body:has(.buy-bar) { padding-bottom: 0; }
  .wa-fab, .wa-fab::after { display: none; }
  .mobile-bar {
    display: flex; position: fixed; inset-inline: 0; bottom: 0; z-index: 95;
    background: rgba(255,255,255,.97); backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border); box-shadow: 0 -6px 22px rgba(15,20,45,.08);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .mobile-bar a {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 8px 4px 9px; font-size: .7rem; font-weight: 700; color: var(--text-muted);
  }
  .mobile-bar a.active { color: var(--brand-primary); }
  .mobile-bar a .ico { width: 22px; height: 22px; }
  .mobile-bar .mb-cart { position: relative; }
  .mobile-bar .mb-count {
    position: absolute; top: 0; inset-inline-start: 50%; margin-inline-start: 4px;
    background: var(--brand-accent); color: #241a05;
    font-size: .62rem; font-weight: 800; line-height: 1;
    min-width: 16px; height: 16px; border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center; padding: 0 4px;
  }
  .mobile-bar .mb-count[hidden] { display: none; }
}

/* ===== باقة الهوية الكاملة — CTA في الرئيسية ===== */
.bundle-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 36px 40px; border-radius: 26px; color: #fff;
  background:
    radial-gradient(ellipse 420px 260px at 90% -10%, rgba(201, 151, 63, .3), transparent 60%),
    linear-gradient(135deg, var(--brand-primary-light), var(--brand-primary) 55%, var(--brand-primary-dark));
  box-shadow: 0 26px 55px rgba(10, 18, 48, .32); border: 1px solid rgba(255, 255, 255, .1);
}
.bundle-cta-text h2 { margin: 0 0 8px; font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.bundle-cta-text p { margin: 0; opacity: .92; max-width: 60ch; }
.bundle-cta-text .eyebrow-light { margin-bottom: 10px; }
@media (max-width: 640px) {
  .bundle-cta { padding: 26px 22px; }
  .bundle-cta-action { width: 100%; }
  .bundle-cta-action .btn { width: 100%; }
}

/* رابط بوابة الشركات في الشريط العلوي: على الموبايل بيفضل هو وبنخبّي "اطلب عرض سعر" عشان الشريط ما يطلعش برّه الشاشة */
@media (max-width: 560px) {
  .topbar-actions a:not(.topbar-company) { display: none; }
}
