/* ============ واجهة العميلات — تصميم فاخر ============ */
:root {
  --plum-900: #3a1a2a;
  --plum-800: #5a2840;
  --plum-700: #7a3956;
  --plum-600: #9b5170;
  --plum-100: #f3e4e6;
  --plum-50: #faf1f2;
  --cream: #fcf7f5;
  --sand: #f5ece6;
  --gold: #c5a065;
  --gold-soft: #e9dcc4;
  --ink: #3b2a33;
  --ink-2: #6a5660;
  --muted: #9a8790;
  --line: #ecdfdc;
  --card: #ffffff;
  --ok: #3b7a57; --ok-bg: #e8f3ec;
  --warn: #a2701f; --warn-bg: #fbf1df;
  --err: #b13b3b; --err-bg: #fbeaea;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 1px 2px rgba(58, 26, 42, .05), 0 4px 14px rgba(58, 26, 42, .05);
  --shadow: 0 2px 4px rgba(58, 26, 42, .04), 0 14px 40px rgba(58, 26, 42, .08);
  --shadow-lg: 0 30px 80px rgba(58, 26, 42, .22);
  --font: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --display: "El Messiri", var(--font);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--cream);
  font-size: 14.5px; line-height: 1.7; min-height: 100vh; display: flex; flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; color: transparent; font-size: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--plum-600); outline-offset: 2px; border-radius: 8px; }
[hidden] { display: none !important; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.muted { color: var(--muted); }
.app { flex: 1; outline: none; padding-bottom: 40px; }

/* ───── شريط الإعلان ───── */
.announce {
  background: linear-gradient(90deg, var(--plum-900), var(--plum-700), var(--plum-900));
  color: #f6e7ea; font-size: 12.5px; letter-spacing: .2px;
  display: flex; align-items: center; justify-content: center; gap: 14px; padding: 7px 12px; flex-wrap: wrap;
}
.announce__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

/* ───── الشريط العلوي ───── */
.topbar {
  position: sticky; top: 0; z-index: 40; background: rgba(252, 247, 245, .88);
  backdrop-filter: saturate(1.5) blur(16px); -webkit-backdrop-filter: saturate(1.5) blur(16px);
  border-bottom: 1px solid rgba(236, 223, 220, .8);
}
.topbar__inner { display: flex; align-items: center; gap: 18px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; overflow: hidden;
  background: #fff; color: var(--plum-600); box-shadow: 0 0 0 1px var(--line), 0 6px 18px rgba(155, 81, 112, .15);
}
.brand__logo img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.brand__logo svg { width: 24px; height: 24px; stroke: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--plum-800); }
.brand__sub { font-size: 11.5px; color: var(--gold); letter-spacing: 1px; }
.topbar__nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav-link { padding: 8px 14px; border-radius: 99px; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s; }
.nav-link:hover { background: var(--plum-50); color: var(--plum-700); }
.topbar__actions { display: flex; gap: 6px; }
.icon-btn {
  position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); transition: all .2s;
}
.icon-btn:hover { border-color: var(--plum-600); color: var(--plum-600); }
.icon-btn.is-on { background: var(--plum-800); color: #fff; border-color: var(--plum-800); }
.badge {
  position: absolute; top: -3px; inset-inline-end: -3px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px;
  background: var(--gold); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; line-height: 1;
  border: 2px solid var(--cream);
}

/* ───── الأزرار والحقول ───── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px;
  border-radius: 99px; border: 1px solid transparent; font-weight: 600; font-size: 14px;
  transition: transform .15s var(--ease), background .2s, box-shadow .2s, opacity .15s; white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn--primary { background: var(--plum-800); color: #fff; box-shadow: 0 10px 24px rgba(90, 40, 64, .25); }
.btn--primary:hover { background: var(--plum-900); }
.btn--rose { background: linear-gradient(135deg, var(--plum-600), var(--plum-800)); color: #fff; box-shadow: 0 12px 26px rgba(155, 81, 112, .3); }
.btn--rose:hover { box-shadow: 0 16px 32px rgba(155, 81, 112, .38); }
.btn--gold { background: linear-gradient(135deg, #d4b37a, var(--gold)); color: #fff; box-shadow: 0 10px 24px rgba(197, 160, 101, .35); }
.btn--ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--plum-600); color: var(--plum-700); }
.btn--outline-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); }
.btn--block { width: 100%; }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: 13px; }
.btn .spinner { width: 18px; height: 18px; border-width: 2px; border-color: rgba(255, 255, 255, .35); border-top-color: #fff; }

.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field > span { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.input, .textarea {
  width: 100%; border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 13px 16px;
  font-size: 16px; transition: border-color .15s, box-shadow .15s; /* 16px يمنع تكبير iOS */
}
.input:focus, .textarea:focus { outline: none; border-color: var(--plum-600); box-shadow: 0 0 0 4px rgba(155, 81, 112, .12); }
.textarea { resize: vertical; min-height: 84px; }
.input--phone { direction: ltr; text-align: right; letter-spacing: 1px; font-weight: 600; }
.error-text { color: var(--err); font-size: 13.5px; min-height: 1.2em; margin: 4px 0 10px; }

.spinner {
  width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--plum-600);
  animation: spin .7s linear infinite; display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }
.page-loader { display: grid; place-items: center; min-height: 50vh; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .5px;
  color: var(--plum-600); text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--gold); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 30px; }
.section-head h2 { font-family: var(--display); font-size: clamp(22px, 3vw, 30px); margin: 8px 0 8px; color: var(--plum-900); line-height: 1.3; }
.section-head p { margin: 0; color: var(--ink-2); }
.ornament { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--gold); margin-top: 12px; }
.ornament::before, .ornament::after { content: ""; width: 40px; height: 1px; background: currentColor; opacity: .6; }

/* ───── البطل (الهيدر الرئيسي) ───── */
.hero { position: relative; overflow: hidden; padding: 56px 0 70px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 15% 30%, rgba(243, 228, 230, .95) 0%, transparent 60%),
    radial-gradient(40% 50% at 90% 85%, rgba(233, 220, 196, .6) 0%, transparent 60%),
    var(--cream);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero__copy h1 {
  font-family: var(--display); font-size: clamp(30px, 4.2vw, 48px); line-height: 1.25; margin: 12px 0 14px; color: var(--plum-900);
}
.hero__copy h1 em { font-style: normal; color: var(--plum-600); position: relative; white-space: nowrap; }
.hero__copy h1 em::after {
  content: ""; position: absolute; inset-inline: 0; bottom: .08em; height: .22em; background: var(--gold-soft); z-index: -1; border-radius: 4px;
}
.hero__copy p { font-size: 15.5px; color: var(--ink-2); max-width: 520px; margin: 0 0 28px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__trust { display: flex; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
.trust { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); }
.trust__icon { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--plum-600); box-shadow: var(--shadow-sm); }
.trust__icon svg { width: 19px; height: 19px; }
.trust b { display: block; color: var(--ink); font-size: 14px; }

.hero__art { position: relative; height: 560px; }
.hero__img { position: absolute; overflow: hidden; background: var(--plum-100); box-shadow: var(--shadow); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 6s var(--ease); }
.hero__art:hover .hero__img img { transform: scale(1.04); }
.hero__img--main { inset-inline-end: 0; top: 0; width: 62%; height: 100%; border-radius: 999px 999px 26px 26px; border: 8px solid #fff; }
.hero__img--a { inset-inline-start: 0; top: 40px; width: 40%; height: 46%; border-radius: 26px; border: 6px solid #fff; }
.hero__img--b { inset-inline-start: 6%; bottom: 0; width: 36%; height: 40%; border-radius: 26px; border: 6px solid #fff; }
.hero__float {
  position: absolute; background: #fff; border-radius: 18px; padding: 12px 16px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 10px; font-size: 13px; z-index: 2; animation: float 5s ease-in-out infinite;
}
.hero__float b { font-family: var(--display); font-size: 19px; color: var(--plum-700); line-height: 1; }
.hero__float--1 { inset-inline-end: 52%; bottom: 46%; }
.hero__float--2 { inset-inline-end: -10px; bottom: 34px; animation-delay: -2.5s; }
.hero__float .dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--plum-50); color: var(--plum-600); }
.hero__float .dot svg { width: 18px; height: 18px; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ───── الأقسام (كاروسيل) ───── */
.cat-strip { padding: 10px 0 60px; }
.cat-row { display: flex; gap: 18px; overflow-x: auto; padding: 6px 4px 14px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.cat-row::-webkit-scrollbar { display: none; }
.cat-card { flex: 0 0 132px; scroll-snap-align: start; text-align: center; background: none; border: 0; padding: 0; }
.cat-card__img {
  width: 132px; height: 160px; border-radius: 999px 999px 22px 22px; overflow: hidden; background: var(--plum-100);
  border: 4px solid #fff; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s;
}
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; }
.cat-card:hover .cat-card__img { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat-card__name { display: block; margin-top: 10px; font-weight: 600; font-size: 13.5px; }
.cat-card__count { font-size: 12px; color: var(--muted); }

/* ───── كيف تحجزين ───── */
.steps-sec { padding: 60px 0; background: #fff; border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { text-align: center; padding: 10px 14px; position: relative; }
.step__num {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center;
  background: var(--plum-50); color: var(--plum-700); position: relative;
}
.step__num svg { width: 26px; height: 26px; }
.step__num::after {
  counter-increment: s; content: counter(s); position: absolute; top: -4px; inset-inline-end: -4px; width: 24px; height: 24px;
  border-radius: 50%; background: var(--gold); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center;
}
.step h3 { margin: 0 0 4px; font-size: 14.5px; }
.step p { margin: 0; font-size: 13px; color: var(--ink-2); }

/* ───── الخدمات ───── */
.services-sec { padding: 60px 0 20px; }
.svc-tools {
  position: sticky; top: 72px; z-index: 30; background: rgba(252, 247, 245, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 12px 0; margin-bottom: 10px; border-bottom: 1px solid transparent;
}
.svc-tools.is-stuck { border-bottom-color: var(--line); }
.svc-tools__row { display: flex; gap: 12px; align-items: center; }
.search { position: relative; flex: 0 0 260px; }
.search input { padding-inline-start: 42px; border-radius: 99px; height: 46px; font-size: 15px; }
.search svg { position: absolute; inset-inline-start: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; padding: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0; padding: 9px 18px; border-radius: 99px; border: 1px solid var(--line); background: #fff; font-weight: 500; font-size: 13px;
  transition: all .2s;
}
.chip:hover { border-color: var(--plum-600); color: var(--plum-700); }
.chip.is-active { background: var(--plum-800); color: #fff; border-color: var(--plum-800); }

.cat-section { padding-top: 26px; scroll-margin-top: 150px; }
.cat-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.cat-section__head h2 { font-family: var(--display); font-size: 22px; margin: 0; color: var(--plum-900); }
.cat-section__head p { margin: 2px 0 0; color: var(--ink-2); font-size: 13px; max-width: 640px; }
.cat-section__count { font-size: 13px; color: var(--muted); white-space: nowrap; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); }
.svc {
  background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s; position: relative; cursor: pointer;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc.in-cart { box-shadow: 0 0 0 2px var(--plum-600), var(--shadow); }
.svc__media { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; background: linear-gradient(145deg, var(--plum-100), var(--sand)); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc:hover .svc__media img { transform: scale(1.06); }
.svc__ph { width: 100%; height: 100%; display: grid; place-items: center; font-family: var(--display); font-size: 48px; color: var(--plum-600); opacity: .55; }
.svc__tag {
  position: absolute; top: 12px; inset-inline-start: 12px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(6px);
  border-radius: 99px; padding: 4px 11px; font-size: 12px; font-weight: 600; color: var(--plum-700); display: inline-flex; gap: 5px; align-items: center;
}
.svc__tag svg { width: 14px; height: 14px; }
.svc__incart {
  position: absolute; top: 12px; inset-inline-end: 12px; background: var(--plum-800); color: #fff; border-radius: 99px; font-size: 12px;
  font-weight: 700; padding: 4px 10px;
}
.svc__body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.svc__name { font-weight: 600; font-size: 14.5px; margin: 0 0 4px; line-height: 1.45; }
.svc__desc { color: var(--muted); font-size: 12.5px; margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.svc__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { font-weight: 700; font-size: 15.5px; color: var(--plum-900); }
.price small { font-size: 12px; font-weight: 600; color: var(--muted); }
.price__from { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted); }
.add-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--plum-50); color: var(--plum-700);
  display: grid; place-items: center; transition: all .2s;
}
.add-btn:hover { background: var(--plum-800); color: #fff; }
.add-btn svg { width: 19px; height: 19px; stroke-width: 2.2; }
.empty-search { text-align: center; padding: 40px 10px; color: var(--muted); }

/* ───── شريط العروس ───── */
.bride { margin: 60px 0 10px; }
.bride__card {
  position: relative; border-radius: 32px; overflow: hidden; min-height: 340px; display: grid; align-items: center; color: #fff;
  background: var(--plum-900);
}
.bride__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.bride__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(58, 26, 42, .15), rgba(58, 26, 42, .85) 70%); }
.bride__copy { position: relative; z-index: 1; padding: 40px 48px; max-width: 520px; }
.bride__copy h2 { font-family: var(--display); font-size: clamp(24px, 3vw, 34px); margin: 10px 0 10px; line-height: 1.25; }
.bride__copy p { opacity: .85; margin: 0 0 22px; }
.bride .eyebrow { color: var(--gold-soft); }

/* ───── ليش تختارينا ───── */
.why { padding: 60px 0; }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why__item { background: #fff; border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.why__item .ico { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, var(--plum-50), var(--gold-soft)); display: grid; place-items: center; color: var(--plum-700); margin-bottom: 14px; }
.why__item h3 { margin: 0 0 6px; font-size: 14.5px; }
.why__item p { margin: 0; color: var(--ink-2); font-size: 13px; }

/* ───── شريط السلة السفلي ───── */
.cart-bar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 35; padding: 12px 16px calc(14px + var(--safe-b));
  background: linear-gradient(to top, rgba(252, 247, 245, 1) 60%, rgba(252, 247, 245, 0)); pointer-events: none;
}
.cart-bar__btn {
  pointer-events: auto; max-width: 560px; margin: 0 auto; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--plum-900); color: #fff; border-radius: 99px; padding: 10px 12px 10px 22px; box-shadow: var(--shadow-lg); min-height: 62px;
  animation: rise .3s var(--ease);
}
.cart-bar__count { width: 40px; height: 40px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; font-weight: 700; }
.cart-bar__label { font-weight: 700; display: flex; align-items: center; gap: 12px; }
.cart-bar__total { font-weight: 700; display: flex; align-items: center; gap: 6px; }
.cart-bar__total small { color: rgba(255, 255, 255, .7); }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } }

/* ───── الصفحات الداخلية ───── */
.page { padding-top: 30px; max-width: 760px; padding-bottom: 120px; }
.page-head { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.page-head h1 { font-family: var(--display); font-size: 24px; margin: 0; color: var(--plum-900); }
.back { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); }
.back svg { transform: scaleX(-1); }

.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 22px; margin-bottom: 16px; border: 1px solid rgba(236, 223, 220, .6); }
.card h3 { margin: 0 0 12px; font-size: 14.5px; display: flex; align-items: center; gap: 8px; }
.card h3 svg { color: var(--plum-600); width: 20px; height: 20px; }

.line-item { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line-item:last-child { border-bottom: 0; }
.line-item__img { width: 58px; height: 58px; border-radius: 14px; object-fit: cover; background: var(--plum-100); flex-shrink: 0; }
.line-item__info { flex: 1; min-width: 0; }
.line-item__name { font-weight: 600; }
.line-item__sub { font-size: 13px; color: var(--muted); }
.line-item__price { font-weight: 700; white-space: nowrap; }

.stepper { display: inline-flex; align-items: center; background: var(--plum-50); border-radius: 99px; height: 38px; overflow: hidden; }
.stepper button { width: 36px; height: 100%; background: transparent; border: 0; color: var(--plum-800); display: grid; place-items: center; }
.stepper button:hover { background: var(--plum-100); }
.stepper svg { width: 16px; height: 16px; stroke-width: 2.4; }
.stepper span { min-width: 22px; text-align: center; font-weight: 700; }

.summary-row { display: flex; justify-content: space-between; padding: 6px 0; color: var(--ink-2); gap: 12px; }
.summary-row.total { color: var(--plum-900); font-weight: 700; font-size: 16px; border-top: 1px dashed var(--line); margin-top: 8px; padding-top: 14px; }

.empty { text-align: center; padding: 50px 20px; }
.empty__icon { width: 92px; height: 92px; border-radius: 50%; background: var(--plum-50); display: grid; place-items: center; margin: 0 auto 18px; color: var(--plum-600); }
.empty__icon svg { width: 40px; height: 40px; }
.empty h2 { font-family: var(--display); margin: 0 0 6px; color: var(--plum-900); }
.empty p { color: var(--muted); margin: 0 0 22px; }

/* ───── التاريخ والوقت ───── */
.days { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 10px; scrollbar-width: thin; scroll-snap-type: x mandatory; }
.day {
  flex-shrink: 0; width: 70px; padding: 12px 4px; border-radius: 18px; border: 1.5px solid var(--line); background: #fff; text-align: center;
  scroll-snap-align: start; transition: all .2s; line-height: 1.3;
}
.day__wd { font-size: 12px; color: var(--muted); }
.day__num { font-size: 19px; font-weight: 700; font-family: var(--display); }
.day__mon { font-size: 11.5px; color: var(--muted); }
.day:hover:not([disabled]) { border-color: var(--plum-600); }
.day.is-active { background: var(--plum-800); border-color: var(--plum-800); color: #fff; box-shadow: 0 10px 20px rgba(90, 40, 64, .25); }
.day.is-active .day__wd, .day.is-active .day__mon { color: rgba(255, 255, 255, .7); }
.day[disabled] { opacity: .35; cursor: not-allowed; background: transparent; }
.periods { display: grid; gap: 16px; }
.period__title { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.time { height: 46px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; transition: all .2s; }
.time:hover { border-color: var(--plum-600); }
.time.is-active { background: var(--plum-600); border-color: var(--plum-600); color: #fff; }
.no-slots { text-align: center; padding: 22px; color: var(--muted); background: var(--cream); border-radius: 16px; }

.pay-note { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--muted); margin-top: 12px; }
.pay-note svg { width: 16px; height: 16px; }
.terms { font-size: 13px; color: var(--ink-2); background: var(--sand); padding: 12px 14px; border-radius: 14px; margin-bottom: 14px; }

/* ───── صفحة الحجز ───── */
.status-hero { text-align: center; padding: 30px 20px 24px; }
.status-icon { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; }
.status-icon svg { width: 44px; height: 44px; stroke-width: 2.2; }
.status-icon--ok { background: var(--ok-bg); color: var(--ok); animation: pop .45s cubic-bezier(.2, 1.4, .4, 1); }
.status-icon--wait { background: var(--warn-bg); color: var(--warn); }
.status-icon--err { background: var(--err-bg); color: var(--err); }
@keyframes pop { from { transform: scale(.5); opacity: 0; } }
.status-hero h1 { font-family: var(--display); margin: 0 0 6px; font-size: 24px; color: var(--plum-900); }
.status-hero p { margin: 0; color: var(--muted); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 13.5px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; text-align: left; }
.location-box { border: 1.5px dashed rgba(155, 81, 112, .4); background: var(--plum-50); border-radius: var(--radius); padding: 20px; }
.location-box h3 { margin-top: 0; }
.location-box p { margin: 0 0 14px; font-size: 14px; color: var(--ink-2); }
.location-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.location-done { display: flex; align-items: center; gap: 10px; color: var(--ok); font-weight: 600; background: var(--ok-bg); border-radius: 16px; padding: 14px 16px; }

.pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 11px; border-radius: 99px; font-size: 12.5px; font-weight: 600; }
.pill--confirmed { background: var(--ok-bg); color: var(--ok); }
.pill--pending { background: var(--warn-bg); color: var(--warn); }
.pill--completed { background: #eceaf6; color: #4c4597; }
.pill--cancelled, .pill--no_show, .pill--failed { background: var(--err-bg); color: var(--err); }
.booking-card { display: block; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 18px; margin-bottom: 12px; transition: transform .2s; border: 1px solid rgba(236, 223, 220, .6); }
.booking-card:hover { transform: translateY(-2px); }
.booking-card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; gap: 10px; }
.booking-card__when { font-weight: 700; font-size: 14.5px; }
.booking-card__svcs { color: var(--ink-2); font-size: 13px; }

/* ───── النافذة المنبثقة ───── */
.sheet { position: fixed; inset: 0; z-index: 60; display: grid; align-items: end; justify-items: center; }
.sheet__backdrop { position: absolute; inset: 0; background: rgba(58, 26, 42, .5); backdrop-filter: blur(3px); animation: fade .2s; }
.sheet__panel {
  position: relative; width: 100%; max-width: 460px; background: #fff; border-radius: 28px 28px 0 0; padding: 30px 24px calc(24px + var(--safe-b));
  box-shadow: var(--shadow-lg); animation: slideUp .3s var(--ease); max-height: 92vh; overflow-y: auto;
}
.sheet__panel.has-media { padding-top: 0; }
.sheet__close {
  position: absolute; top: 14px; inset-inline-start: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92);
  display: grid; place-items: center; z-index: 2; box-shadow: var(--shadow-sm);
}
.sheet h2 { font-family: var(--display); margin: 0 0 4px; font-size: 21px; color: var(--plum-900); }
.sheet .lead { color: var(--muted); margin: 0 0 18px; font-size: 13.5px; }
.sheet__icon { width: 60px; height: 60px; border-radius: 20px; display: grid; place-items: center; background: #e6f6ec; color: #1e9e57; margin-bottom: 14px; }
.sheet__icon svg { width: 30px; height: 30px; }
.sheet__media { margin: 0 -24px 18px; aspect-ratio: 16 / 10; overflow: hidden; background: var(--plum-100); border-radius: 28px 28px 0 0; }
.sheet__media img { width: 100%; height: 100%; object-fit: cover; }
@keyframes slideUp { from { transform: translateY(40px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
@media (min-width: 640px) {
  .sheet { align-items: center; }
  .sheet__panel { border-radius: 28px; }
}

.opts { display: grid; gap: 8px; margin: 6px 0 18px; }
.opt {
  display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 16px; border: 1.5px solid var(--line); cursor: pointer; transition: all .15s;
}
.opt:hover { border-color: var(--plum-600); }
.opt input { accent-color: var(--plum-700); width: 18px; height: 18px; }
.opt__name { flex: 1; font-weight: 600; }
.opt__dur { font-size: 12.5px; color: var(--muted); }
.opt__price { font-weight: 700; color: var(--plum-800); }
.opt:has(input:checked) { border-color: var(--plum-700); background: var(--plum-50); }
.sheet-meta { display: flex; gap: 14px; color: var(--muted); font-size: 13.5px; margin-bottom: 12px; flex-wrap: wrap; }
.sheet-meta span { display: inline-flex; align-items: center; gap: 5px; }
.sheet-meta svg { width: 16px; height: 16px; }
.sheet-add { display: flex; gap: 10px; align-items: center; }
.sheet-add .stepper { height: 50px; }
.sheet-add .stepper button { width: 44px; }
.sheet-add .btn { flex: 1; }

.phone-wrap { position: relative; }
.otp { display: flex; gap: 10px; justify-content: center; direction: ltr; margin: 6px 0 8px; }
.otp input { width: 60px; height: 64px; text-align: center; font-size: 26px; font-weight: 700; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; }
.otp input:focus { outline: none; border-color: var(--plum-600); box-shadow: 0 0 0 4px rgba(155, 81, 112, .12); }
.resend { text-align: center; font-size: 14px; color: var(--muted); margin-top: 14px; }
.link-btn { background: none; border: 0; color: var(--plum-600); font-weight: 700; padding: 0; }
.link-btn[disabled] { color: var(--muted); font-weight: 500; cursor: default; }
.dev-hint { background: var(--warn-bg); color: var(--warn); font-size: 13px; padding: 8px 12px; border-radius: 12px; text-align: center; margin-bottom: 12px; }

.toast {
  position: fixed; left: 50%; bottom: 100px; transform: translate(-50%, 20px); z-index: 80; background: var(--plum-900); color: #fff;
  padding: 12px 20px; border-radius: 99px; font-size: 14.5px; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s; max-width: calc(100vw - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: var(--err); }

/* ───── التذييل ───── */
.footer { background: var(--plum-900); color: #e9d9de; padding: 26px 0 18px; font-size: 12px; }
body.has-cartbar .footer { padding-bottom: 96px; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 20px; align-items: start; }
.footer__brand { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; }
.footer__logo { width: 36px; height: 36px; border-radius: 50%; background: #fff; overflow: hidden; display: grid; place-items: center; grid-row: span 1; }
.footer__logo img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.footer strong { font-family: var(--display); font-size: 15px; color: #fff; }
.footer p { grid-column: 1 / -1; margin: 6px 0 0; color: #c9b3bb; max-width: 380px; font-size: 11.5px; line-height: 1.7; }
.footer__col { display: grid; gap: 3px; align-content: start; }
.footer__col h4 { margin: 0 0 3px; color: var(--gold); font-size: 12px; letter-spacing: .3px; }
.footer a:hover { color: #fff; }
.muted-light { color: #b39aa3; font-size: 11.5px; }
.socials { grid-column: 1 / -1; display: flex; gap: 6px; margin-top: 10px; }
.socials:empty { display: none; }
.socials a { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); display: grid; place-items: center; transition: all .2s; }
.socials a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.socials svg { width: 13px; height: 13px; }
.footer__copy { margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .08); color: #a88e98; font-size: 11px; }

/* ───── شاشات متوسطة وصغيرة ───── */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 34px; }
  .hero__art { height: 420px; max-width: 520px; width: 100%; margin: 0 auto; }
  .steps, .why__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 16px; }
  .footer__brand { grid-column: 1 / -1; }
  .topbar__nav { display: none; }
  .topbar__actions { margin-inline-start: auto; }
  .search { flex-basis: 200px; }
}
@media (max-width: 620px) {
  .container { padding-inline: 16px; }
  .announce { font-size: 11.5px; gap: 8px; }
  .announce span:nth-child(n+3) { display: none; }
  .topbar__inner { height: 64px; }
  .svc-tools { top: 64px; }
  .brand__logo { width: 40px; height: 40px; }
  .brand__name { font-size: 18px; }
  .hero { padding: 30px 0 40px; }
  .hero__copy { text-align: center; }
  .hero__copy p { margin-inline: auto; font-size: 15.5px; }
  .hero__cta { justify-content: center; }
  .hero__trust { justify-content: center; gap: 14px; }
  .trust { font-size: 12.5px; }
  .trust b { font-size: 13.5px; }
  .hero__art { height: 340px; }
  .hero__float { padding: 9px 12px; }
  .hero__float b { font-size: 18px; }
  .svc-tools__row { flex-direction: column; align-items: stretch; gap: 10px; }
  .search { flex-basis: auto; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .svc { border-radius: 18px; }
  .svc__body { padding: 12px; }
  .svc__name { font-size: 13.5px; }
  .svc__desc { display: none; }
  .price { font-size: 15px; }
  .add-btn { width: 36px; height: 36px; }
  .cat-section__head h2 { font-size: 19px; }
  .cat-card { flex-basis: 104px; }
  .cat-card__img { width: 104px; height: 128px; }
  .steps-sec, .why { padding: 44px 0; }
  .steps { gap: 10px; }
  .why__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .why__item { padding: 16px 14px; }
  .bride__copy { padding: 30px 24px; }
  .line-item { flex-wrap: wrap; row-gap: 8px; }
  .line-item__info { flex-basis: calc(100% - 72px); }
  .line-item__price { margin-inline-start: auto; }
  .otp input { width: 56px; height: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ───────── الإضافات: الإشعارات، الخطوات، الكوبون ───────── */
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; margin-bottom: 16px; font-size: 13.5px; }
.notice svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.notice b { display: block; margin-bottom: 2px; }
.notice p { margin: 0; }
.notice--warn { background: var(--warn-bg); color: var(--warn); }
.notice--info { background: var(--sand); color: var(--plum-800); }
.steps-bar { display: flex; gap: 6px; list-style: none; padding: 0; margin: -6px 0 18px; counter-reset: st; }
.steps-bar li { flex: 1; font-size: 12px; color: var(--muted); padding-top: 9px; border-top: 3px solid var(--line); counter-increment: st; }
.steps-bar li::before { content: counter(st) ". "; }
.steps-bar li.is-done { border-color: var(--gold); color: var(--ink-2); }
.steps-bar li.is-active { border-color: var(--plum-700); color: var(--plum-800); font-weight: 600; }
.coupon { display: flex; gap: 8px; }
.coupon .input { flex: 1; text-transform: uppercase; letter-spacing: 1px; }
.coupon .input[readonly] { background: var(--sand); }
.hint { color: var(--muted); font-size: 12.5px; margin: 10px 0 0; }
.req { color: var(--err); font-style: normal; }
.txt-ok { color: var(--ok, #1f7a4d); }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23826a78' stroke-width='2.4'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 14px center; padding-inline-end: 36px; }
.stars { display: flex; gap: 6px; justify-content: center; direction: ltr; }
.stars button { border: 0; background: none; font-size: 32px; line-height: 1; color: #e3d9de; cursor: pointer; padding: 2px; transition: transform .1s, color .1s; }
.stars button.is-on { color: var(--gold); }
.stars button:active { transform: scale(.9); }
.review-box h3, .review-box p { text-align: center; }

/* ───── الدفعة الثالثة: العرض، الأكثر طلباً، الشارات، الاقتراحات، التثبيت ───── */
.offer { padding: 10px 0 26px; }
.offer__card { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding: 22px 24px; border-radius: 22px; color: #fff; background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--gold) 55%, transparent) 0%, transparent 55%), linear-gradient(135deg, var(--plum-900), var(--plum-700)); box-shadow: 0 14px 40px rgba(60, 20, 45, .18); }
.offer__copy { max-width: 560px; }
.offer .eyebrow { color: var(--gold-soft); }
.offer h2 { font-family: var(--display); font-size: clamp(20px, 2.6vw, 28px); margin: 4px 0 6px; }
.offer p { margin: 0 0 12px; opacity: .85; font-size: 13.5px; }
.offer__actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.offer__code { display: inline-flex; align-items: center; gap: 6px; border: 1.5px dashed rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .08); color: #fff; border-radius: 12px; padding: 7px 12px; cursor: pointer; font: inherit; }
.offer__code b { letter-spacing: 1.5px; font-size: 14px; }
.offer__code small { opacity: .7; font-size: 11px; }
.offer__code svg { width: 16px; height: 16px; }
.countdown { display: flex; gap: 8px; direction: rtl; }
.countdown div { min-width: 58px; text-align: center; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px; padding: 8px 6px; }
.countdown b { display: block; font-size: 22px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.countdown small { font-size: 10.5px; opacity: .75; }
.popular-sec { padding: 18px 0 8px; }
.popular-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 14px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x mandatory; }
.popular-row > * { scroll-snap-align: start; }
.svc__badge { position: absolute; top: 10px; inset-inline-end: 10px; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--plum-800); color: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.svc__badge--offer { background: #c0392b; } .svc__badge--new { background: #1f7a4d; } .svc__badge--popular { background: var(--gold); } .svc__badge--bride { background: #a14d7f; }
.suggest { margin-top: 18px; }
.suggest h3 { font-size: 14.5px; display: flex; align-items: center; gap: 6px; margin: 0 0 10px; }
.suggest h3 svg { width: 18px; height: 18px; color: var(--gold); }
.suggest__row { display: grid; gap: 8px; }
.suggest__item { display: flex; align-items: center; gap: 10px; padding: 8px; background: #fff; border-radius: 14px; border: 1px solid var(--line, #eee3e7); cursor: pointer; }
.suggest__item img, .suggest__ph { width: 50px; height: 50px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: var(--plum-50); display: grid; place-items: center; color: var(--plum-700); font-weight: 700; }
.suggest__item div { flex: 1; min-width: 0; display: grid; }
.suggest__item b { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggest__item span { font-size: 12.5px; color: var(--ink-2); }
.install-bar { position: fixed; inset-inline: 12px; bottom: 14px; z-index: 60; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 16px; padding: 10px 12px; box-shadow: 0 12px 34px rgba(60, 20, 45, .22); max-width: 460px; margin: 0 auto; animation: slideUp .3s ease-out; }
body.has-cartbar .install-bar { bottom: 86px; }
.install-bar > span svg { width: 22px; height: 22px; color: var(--gold); }
.install-bar div { flex: 1; display: grid; }
.install-bar b { font-size: 13px; } .install-bar small { font-size: 11.5px; color: var(--muted, #8a7a86); }
.install-bar__x { border: 0; background: none; color: #998; font-size: 14px; cursor: pointer; padding: 4px; }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } }
@media (max-width: 640px) { .countdown div { min-width: 50px; } .offer__card { padding: 18px; } .popular-row { grid-auto-columns: 78%; } }
.pay-methods { display: grid; gap: 8px; }
.pay-method { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; font-size: 13.5px; }
.pay-method:has(input:checked) { border-color: var(--rose, #c2185b); background: color-mix(in srgb, var(--rose, #c2185b) 6%, transparent); font-weight: 600; }
.pay-method input { accent-color: var(--plum-900); }
