/* ============================================
   وصال — نظام التصميم
   هوية: كريمي دافئ، وردي هادئ، ذهبي ناعم
   ============================================ */

:root {
  /* فرض نظام الألوان الفاتح — يمنع الدارك مود التلقائي في متصفحات الموبايل */
  color-scheme: only light;

  /* الألوان — من باليت البراند */
  --blush: #F7EAE7;
  --rose: #D9A7A3;
  --rose-deep: #C18B86;
  --rose-soft: #F0DBD8;
  --taupe: #BDAA91;
  --gold: #C8B081;
  --gold-deep: #A8915F;
  --cream: #F3EFE6;
  --sage: #A9B4A6;
  --sage-deep: #7E927B;
  --gray: #5B5A57;

  /* مشتقات محايدة */
  --canvas: #FBF9F4;
  --card: #FFFFFF;
  --ink: #403E3A;
  --body-c: #5B5A57;
  --muted: #8E8A82;
  --line: #EAE3D7;
  --line-strong: #DDD3C2;

  /* الباترن الزخرفي */
  --pattern: url("../assets/pattern.webp");
  --pattern-gold: url("../assets/pattern-gold.webp");
  --pattern-light: url("../assets/pattern-light.webp");

  /* خطوط */
  --font-display: "El Messiri", serif;
  --font-body: "IBM Plex Sans Arabic", sans-serif;

  /* أبعاد */
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-1: 0 1px 2px rgba(64, 62, 58, 0.05), 0 4px 14px rgba(64, 62, 58, 0.06);
  --shadow-2: 0 6px 28px rgba(64, 62, 58, 0.12);
  --container: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { overflow-x: clip; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--body-c);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.45;
  margin: 0 0 12px 0;
  font-weight: 600;
  text-wrap: balance;
}

p { margin: 0 0 14px 0; text-wrap: pretty; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- أزرار ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: background 180ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 180ms, color 180ms, box-shadow 180ms;
  min-height: 48px;
  white-space: nowrap;
}
.btn svg { flex: none; }

.btn-primary {
  background: var(--rose);
  color: #FFFFFF;
}
.btn-primary:hover { background: var(--rose-deep); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-outline:hover { border-color: var(--rose); color: var(--rose-deep); }

.btn-whatsapp {
  background: var(--sage);
  color: #FFFFFF;
}
.btn-whatsapp:hover { background: var(--sage-deep); }

.btn-ghost-wa {
  background: transparent;
  color: var(--sage-deep);
  border-color: var(--sage);
}
.btn-ghost-wa:hover { background: rgba(169, 180, 166, 0.14); }

.btn-block { width: 100%; }

/* ---------- الهيدر ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(251, 249, 244, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 82px;
}
.header-logo img { height: 60px; width: auto; max-width: 100%; object-fit: contain; }
.header-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 0 0 auto;
  justify-content: center;
}
@media (max-width: 1000px) {
  .header-nav { gap: 16px; }
}
.header-nav a {
  font-size: 15px;
  white-space: nowrap;
  color: var(--body-c);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 150ms;
}
.header-nav a:hover { color: var(--ink); }
.header-nav a.active {
  color: var(--ink);
  border-bottom-color: var(--gold);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 0;
  justify-content: flex-end;
}
.header-logo { display: inline-flex; flex: 1 1 0; }
.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--body-c);
  cursor: pointer;
  transition: border-color 150ms, color 150ms, background 150ms;
}
.icon-btn:hover { border-color: var(--rose); color: var(--rose-deep); }
.icon-btn.wa { color: var(--sage-deep); border-color: rgba(169, 180, 166, 0.6); }
.icon-btn.wa:hover { background: rgba(169, 180, 166, 0.12); }
.cart-badge {
  position: absolute;
  top: -4px;
  inset-inline-end: -4px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--rose);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.menu-btn { display: none; }

/* قائمة الموبايل — درج ينزلق من اليسار */
.mobile-menu { display: none; }
.menu-backdrop { display: none; }
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  padding: 10px 20px 18px;
  gap: 2px;
}
.mobile-menu nav a {
  padding: 13px 6px;
  font-size: 16px;
  color: var(--body-c);
  border-bottom: 1px solid var(--line);
}
.mobile-menu nav a.active { color: var(--rose-deep); font-weight: 500; }
.mobile-menu nav a:last-child { border-bottom: none; }

@media (max-width: 880px) {
  .header-nav { display: none; }
  .menu-btn { display: inline-flex; }
  .header-logo img { height: 65px; }

  /* الدرج: مثبّت على يسار الشاشة أسفل الهيدر، ينزلق من اليسار لليمين */
  .mobile-menu {
    display: block;
    position: fixed;
    top: var(--wesal-header-h, 82px);
    bottom: 0;
    left: 0;
    width: min(80vw, 300px);
    background: var(--canvas);
    transform: translateX(-100%);
    transition: transform 0.34s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 70;
    overflow-y: auto;
    padding-top: 8px;
  }
  /* الحدّ والظل يظهرا فقط عند الفتح حتى لا يتسرّبا على يسار الصفحة وهو مغلق */
  .mobile-menu.open {
    transform: translateX(0);
    border-right: 1px solid var(--line);
    box-shadow: 6px 0 40px rgba(64, 62, 58, 0.18);
  }

  /* الخلفية المعتمة خلف الدرج (أسفل الهيدر) */
  .menu-backdrop {
    display: block;
    position: fixed;
    top: var(--wesal-header-h, 82px);
    inset-inline: 0;
    bottom: 0;
    z-index: 65;
    background: rgba(40, 32, 30, 0.42);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.32s ease, visibility 0.32s ease;
  }
  .menu-backdrop.open { opacity: 1; visibility: visible; }
}

/* ---------- الفوتر ---------- */
.site-footer {
  margin-top: 72px;
  background: var(--cream);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding: 52px 0 36px;
}
.footer-brand img { height: 60px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 14.5px; color: var(--muted); max-width: 280px; }
.footer-col h4 {
  font-size: 16px;
  margin-bottom: 14px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-col a {
  font-size: 14.5px;
  color: var(--body-c);
  transition: color 150ms;
}
.footer-col a:hover { color: var(--rose-deep); }
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.footer-bottom {
  border-top: 1px solid var(--line-strong);
  padding: 18px 0;
  font-size: 13.5px;
  color: var(--muted);
  text-align: center;
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; padding: 40px 0 28px; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- زر واتساب العائم ---------- */
.wa-fab {
  position: fixed;
  bottom: 18px;
  inset-inline-start: 18px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--sage);
  color: #fff;
  border-radius: 999px;
  padding: 13px 20px 13px 22px;
  box-shadow: var(--shadow-2);
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.wa-fab:hover { background: var(--sage-deep); }
.wa-fab span { line-height: 1; }
@media (max-width: 560px) {
  .wa-fab { padding: 13px; }
  .wa-fab span { display: none; }
}

/* ---------- مقاطع عامة ---------- */
.section { padding: 56px 0; }
.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 36px;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--gold-deep);
  margin-bottom: 8px;
  font-weight: 500;
}
.section-head h2 { font-size: clamp(24px, 4vw, 32px); }
.section-head p { color: var(--muted); font-size: 15.5px; margin: 0; }

.divider-flower {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gold);
  margin: 4px 0 14px;
}
.divider-flower::before,
.divider-flower::after {
  content: "";
  height: 1px;
  width: 54px;
  background: var(--line-strong);
}

/* ---------- كروت المنتجات ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 1020px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

.product-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 180ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 180ms;
}
.product-card:hover {
  box-shadow: var(--shadow-1);
  border-color: var(--line-strong);
}
.product-card .thumb {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--cream);
}
.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.product-card:hover .thumb img { transform: scale(1.035); }
.product-card .info {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.product-card .cat-label {
  font-size: 12.5px;
  color: var(--gold-deep);
}
.product-card h3 {
  font-size: 17px;
  margin: 0;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--ink);
}
.product-card .made-to-order {
  font-size: 13px;
  color: var(--muted);
  margin-top: auto;
  padding-top: 8px;
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blush);
  color: var(--rose-deep);
  border-radius: 999px;
  padding: 5px 13px;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.6;
}
.badge-soft.gold { background: #F1EADB; color: var(--gold-deep); }

/* ---------- كروت الأقسام ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 1020px) { .category-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .category-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

.category-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--cream);
  border: 1px solid var(--line);
}
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.category-card:hover img { transform: scale(1.04); }
.category-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(50, 38, 35, 0.78) 0%, rgba(50, 38, 35, 0.42) 30%, rgba(50, 38, 35, 0.08) 52%, rgba(50, 38, 35, 0) 72%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
}
.category-card .overlay h3 {
  color: #fff;
  margin: 0;
  font-size: 16.5px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.32);
}
.category-card .overlay span {
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/* ---------- فورم ---------- */
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 7px;
}
.field .hint {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 5px;
}
.field input[type="text"],
.field input[type="tel"],
.field input[type="date"],
.field select,
.field textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--card);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 150ms, box-shadow 150ms;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(217, 167, 163, 0.22);
}
.field.error input,
.field.error select { border-color: #C0716B; }
.field .error-msg {
  display: none;
  font-size: 12.5px;
  color: #B05D57;
  margin-top: 5px;
}
.field.error .error-msg { display: block; }

/* ---------- دروب داون مخصص (WesalSelect) ---------- */
.wsel { position: relative; }
.wsel-native {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.wsel-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--card);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
  text-align: start;
  transition: border-color 150ms, box-shadow 150ms;
}
.wsel-trigger.placeholder { color: var(--muted); }
.wsel-trigger:hover { border-color: var(--rose); }
.wsel.open .wsel-trigger {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(217, 167, 163, 0.22);
}
.wsel-trigger .wsel-chev {
  flex: none;
  color: var(--gold-deep);
  transition: transform 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.wsel.open .wsel-trigger .wsel-chev { transform: rotate(180deg); }
.field.error .wsel-trigger { border-color: #C0716B; }

.wsel-panel {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-2);
  padding: 6px;
  z-index: 40;
  max-height: 280px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 180ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.wsel.open .wsel-panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.wsel-option {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14.5px;
  color: var(--body-c);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: background 120ms, color 120ms;
}
.wsel-option:hover { background: var(--cream); color: var(--ink); }
.wsel-option.selected { color: var(--rose-deep); font-weight: 500; }
.wsel-option.selected::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--rose);
  flex: none;
}

/* ---------- منتقي تاريخ مخصص (WesalDate) ---------- */
.wdate { position: relative; }
.wdate-native { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.wdate-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--card);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
  text-align: start;
  transition: border-color 150ms, box-shadow 150ms;
}
.wdate-trigger.placeholder { color: var(--muted); }
.wdate-trigger:hover { border-color: var(--rose); }
.wdate.open .wdate-trigger {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(217, 167, 163, 0.22);
}
.wdate-trigger .wdate-ico { flex: none; color: var(--gold-deep); }
.wdate-trigger .wdate-label { flex: 1; }
.wdate-trigger .wdate-clear {
  flex: none;
  color: var(--muted);
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 2px;
  border-radius: 999px;
  display: none;
  line-height: 0;
}
.wdate-trigger .wdate-clear:hover { color: var(--rose-deep); background: var(--cream); }
.wdate.has-value .wdate-clear { display: inline-flex; }

.wdate-pop {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-start: 0;
  width: 296px;
  max-width: 92vw;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  padding: 14px;
  z-index: 40;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 180ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.wdate.open .wdate-pop { opacity: 1; transform: translateY(0); pointer-events: auto; }
.wdate-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.wdate-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.wdate-navs {
  display: flex;
  align-items: center;
  gap: 4px;
}
.wdate-nav {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--body-c);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 150ms, color 150ms, background 150ms;
}
.wdate-nav:hover { border-color: var(--rose); color: var(--rose-deep); background: var(--cream); }
.wdate-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.wdate-dow {
  text-align: center;
  font-size: 11.5px;
  color: var(--muted);
  padding: 4px 0 8px;
  font-weight: 500;
}
.wdate-day {
  aspect-ratio: 1 / 1;
  border: none;
  background: transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 120ms, color 120ms;
}
.wdate-day:hover { background: var(--cream); }
.wdate-day.empty { pointer-events: none; }
.wdate-day.today { box-shadow: inset 0 0 0 1px var(--line-strong); }
.wdate-day.selected { background: var(--rose); color: #fff; font-weight: 600; }
.wdate-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.wdate-today-btn {
  border: none;
  background: transparent;
  color: var(--rose-deep);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
}
.wdate-today-btn:hover { background: var(--cream); }

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  overflow: hidden;
  background: var(--card);
}
.qty-control button {
  width: 42px;
  height: 42px;
  border: none;
  background: transparent;
  font-size: 19px;
  color: var(--body-c);
  cursor: pointer;
  transition: background 120ms;
  line-height: 1;
}
.qty-control button:hover { background: var(--cream); }
.qty-control .qty-num {
  min-width: 36px;
  text-align: center;
  font-weight: 600;
  color: var(--ink);
}

/* ---------- بطاقة جانبية / ملخص ---------- */
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.panel.soft { background: var(--blush); border-color: transparent; }
.panel.cream { background: var(--cream); border-color: transparent; }

/* ---------- توست ---------- */
.toast {
  position: fixed;
  bottom: 84px;
  inset-inline-start: 50%;
  transform: translateX(50%) translateY(8px);
  background: var(--ink);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14.5px;
  box-shadow: var(--shadow-2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 100;
  white-space: nowrap;
}
.toast.show {
  opacity: 1;
  transform: translateX(50%) translateY(0);
}

/* ---------- فتات الخبز ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--muted);
  padding: 22px 0 0;
  flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--rose-deep); }
.breadcrumb .sep { color: var(--line-strong); }

/* ---------- بانر عنوان الصفحة (موحّد لكل الصفحات الداخلية) ---------- */
.page-banner {
  position: relative;
  overflow: hidden;
  background: var(--blush);
  border-bottom: 1px solid var(--line);
}
.page-hero {
  text-align: center;
  padding: 56px 0 60px;
}
.page-hero h1 { font-size: clamp(26px, 4.6vw, 38px); margin-bottom: 10px; }
.page-hero p {
  color: var(--body-c);
  max-width: 540px;
  margin: 0 auto;
  font-size: 15.5px;
}
.page-hero .brand-logo {
  height: 60px;
  width: auto;
  margin: 0 auto 18px;
}

/* ---------- شرائط ---------- */
.chip-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 34px;
}
.chip {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--body-c);
  font-size: 14px;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 150ms;
  line-height: 1.6;
}
.chip:hover { border-color: var(--rose); color: var(--rose-deep); }
.chip.active {
  background: var(--rose);
  border-color: var(--rose);
  color: #fff;
}

/* ---------- عناصر مساعدة ---------- */
.note-strip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 14px;
  color: var(--body-c);
}
.note-strip svg { flex: none; margin-top: 4px; color: var(--gold-deep); }

.empty-state {
  text-align: center;
  padding: 70px 20px;
}
.empty-state h3 { font-size: 22px; }
.empty-state p { color: var(--muted); }

@media (max-width: 560px) {
  .section { padding: 42px 0; }
  body { font-size: 15.5px; }
}

/* ============================================
   الباترن الزخرفي — لمسات ورد هاند ميد
   ============================================ */

/*
  الباترن أُعيد تلوينه ذهبيًا (pattern-gold) ليظهر بوضوح على الأسطح الفاتحة،
  وفاتحًا (pattern-light) على الشريط الوردي الغامق. تدرّج لوني (::after) يحمي وضوح النص.
*/

/* البطل في الرئيسية (خلفية blush) */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--pattern-gold);
  background-size: 460px auto;
  background-repeat: repeat;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(66% 78% at 80% 50%, var(--blush) 0%, var(--blush) 22%, rgba(247,234,231,0) 64%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner { position: relative; z-index: 1; }

/* بانر عناوين الصفحات (خلفية blush) — الباترن يظهر كاملًا دون قص */
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--pattern-gold);
  background-size: 440px auto;
  background-repeat: repeat;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 96% at 50% 50%, var(--blush) 0%, var(--blush) 20%, rgba(247,234,231,0.4) 56%, rgba(247,234,231,0) 80%);
  pointer-events: none;
  z-index: 0;
}
.page-banner .container { position: relative; z-index: 1; }

/* شريط الدعوة للتواصل — خلفية وردية غنية والباترن فاتح يلمع فوقها */
.cta-strip { position: relative; overflow: hidden; }
.cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--pattern-light);
  background-size: 400px auto;
  background-repeat: repeat;
  opacity: 0.32;
  pointer-events: none;
  z-index: 0;
}
.cta-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(82% 130% at 50% 50%, rgba(74,46,44,0.34) 0%, rgba(74,46,44,0) 80%);
  pointer-events: none;
  z-index: 0;
}
.cta-strip > * { position: relative; z-index: 1; }

/* الفوتر (خلفية cream) — باترن خفيف يتلاشى لأسفل */
.site-footer { position: relative; overflow: hidden; }
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--pattern-gold);
  background-size: 400px auto;
  background-repeat: repeat;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}
.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(243,239,230,0.15) 0%, rgba(243,239,230,0.6) 50%, var(--cream) 88%);
  pointer-events: none;
  z-index: 0;
}
.site-footer .container,
.site-footer .footer-bottom { position: relative; z-index: 1; }

/* صفحة المنتج — باترن خفيف كواترمارك خلف المحتوى */
.product-page { position: relative; }
.product-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: var(--pattern-gold);
  background-size: 480px auto;
  background-repeat: repeat;
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
}
.product-page > * { position: relative; z-index: 1; }

/* قسم وعد البراند (خلفية cream) — واترمارك خفيف */
.promise { position: relative; overflow: hidden; }
.promise::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--pattern-gold);
  background-size: 440px auto;
  background-repeat: repeat;
  opacity: 0.26;
  pointer-events: none;
  z-index: 0;
}
.promise::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(82% 118% at 50% 50%, var(--cream) 0%, var(--cream) 20%, rgba(243,239,230,0.45) 58%, rgba(243,239,230,0) 92%);
  pointer-events: none;
  z-index: 0;
}
.promise .container { position: relative; z-index: 1; }

