:root {
  --bg: #fff5f8;
  --surface: #ffffff;
  --ink: #4a1525;
  --ink-2: #8a5566;
  --line: #f8d3e0;
  --accent: #d81b60;
  --accent-ink: #ffffff;
  --accent-2: color-mix(in srgb, var(--accent) 78%, #000);
  --accent-soft: #fce4ec;
  --lav: #e9a6c1;
  --gold: #b59228;
  --gold-soft: rgba(212, 175, 55, .35);
  --deep: #880e4f;
  --ok: #2e8b6a;
  --warn: #b7820f;
  --err: #c8413f;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(216, 27, 96, .06), 0 10px 30px -5px rgba(216, 27, 96, .14);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink);
  background: radial-gradient(1200px 600px at 85% -10%, #ffe1ec 0%, transparent 60%), var(--bg);
  font-family: "Tajawal", "IBM Plex Sans Arabic", system-ui, sans-serif; line-height: 1.65;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
.container { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 16px; height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; line-height: 1.1; }
.logo-img { width: 44px; height: 44px; border-radius: 50%; flex: none; box-shadow: 0 2px 8px rgba(176,122,69,.25); }
.logo-text strong { display: block; font-weight: 700; letter-spacing: .02em; font-size: 1rem; }
.logo-text span { font-size: .78rem; color: var(--ink-2); }
.header-nav { margin-inline-start: auto; display: flex; gap: 6px; align-items: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--line); background: var(--surface); padding: 10px 18px;
  border-radius: 999px; cursor: pointer; text-decoration: none; font-weight: 600; font-size: .95rem;
  transition: transform .1s, background .15s, border-color .15s;
}
.btn:hover { border-color: var(--ink-2); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { border-color: var(--accent); filter: brightness(1.06); }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn svg { width: 18px; height: 18px; flex: none; }
.badge {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; font-size: .75rem;
  background: var(--accent); color: var(--accent-ink); display: inline-grid; place-items: center;
}

/* ---------- Hero ---------- */
.hero { padding: 48px 0 24px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.eyebrow { color: var(--gold); font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.hero h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); line-height: 1.3; margin: 0 0 14px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { color: var(--ink-2); font-size: 1.08rem; margin: 0 0 24px; max-width: 44ch; }
.collage { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 12px; height: 420px; }
.collage img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.collage img:first-child { grid-row: span 2; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-2); font-size: .9rem; }
.trust span::before { content: "♡ "; color: var(--accent); }

/* ---------- Catalog ---------- */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 36px 0 16px; flex-wrap: wrap; }
.section-head h2 { margin: 0; font-size: 1.5rem; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line); background: var(--surface); padding: 7px 16px; border-radius: 99px;
  cursor: pointer; font-size: .9rem; font-weight: 500;
}
.chip[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; padding-bottom: 32px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; cursor: pointer; transition: transform .15s, box-shadow .15s; text-align: start; padding: 0;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-media { aspect-ratio: 1/1; position: relative; overflow: hidden; background: var(--accent-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-media img { transform: scale(1.04); }
.media-ph {
  width: 100%; height: 100%; display: grid; place-items: center; color: var(--c);
  background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--c) 22%, var(--surface)), color-mix(in srgb, var(--c) 8%, var(--surface)));
}
.media-ph svg { width: 58px; height: 58px; }
.card-tag {
  position: absolute; top: 10px; inset-inline-start: 10px; background: color-mix(in srgb, var(--surface) 92%, transparent);
  color: var(--ink); font-size: .75rem; padding: 2px 10px; border-radius: 99px; font-weight: 600;
}
.choc {
  position: absolute; bottom: 10px; inset-inline-start: 10px; background: #5a3a24; color: #f7e3c6;
  font-size: .72rem; padding: 2px 10px; border-radius: 99px; font-weight: 600;
}
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-body h3 { margin: 0; font-size: 1.02rem; }
.card-body p { margin: 0; color: var(--ink-2); font-size: .86rem; flex: 1; }
.price { font-weight: 700; margin-top: 8px; display: flex; justify-content: space-between; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price small { color: var(--ink-2); font-weight: 400; font-size: .78rem; }

.custom-cta {
  display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; margin: 8px 0 56px;
  background: linear-gradient(120deg, var(--accent-soft), color-mix(in srgb, var(--lav) 16%, var(--surface)));
  border-radius: var(--radius); padding: 24px;
}
.custom-cta h3 { margin: 0 0 4px; font-size: 1.2rem; }
.custom-cta p { margin: 0; color: var(--ink-2); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 40px; counter-reset: s; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.step::before {
  counter-increment: s; content: counter(s); display: inline-grid; place-items: center; width: 28px; height: 28px;
  border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; margin-bottom: 8px;
}
.step strong { display: block; }
.step span { color: var(--ink-2); font-size: .88rem; }

/* ---------- Modal & Drawer ---------- */
.overlay { position: fixed; inset: 0; background: rgba(20, 14, 22, .5); z-index: 40; display: none; }
.overlay.open { display: block; }
.modal {
  position: fixed; z-index: 50; inset: 0; margin: auto; width: min(620px, 100% - 24px); max-height: calc(100% - 32px);
  height: fit-content; overflow: auto; background: var(--surface); border-radius: 20px; display: none; box-shadow: var(--shadow);
}
.modal.open { display: block; }
.pm-media { aspect-ratio: 16/10; overflow: hidden; background: var(--accent-soft); }
.pm-media img, .pm-media .media-ph { width: 100%; height: 100%; object-fit: cover; }
.modal-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; padding: 18px 20px 0; }
.modal-head h3 { margin: 0; font-size: 1.25rem; }
.modal-body { padding: 12px 20px 20px; }
.icon-btn { border: 0; background: transparent; cursor: pointer; padding: 6px; border-radius: 8px; line-height: 0; }
.icon-btn:hover { background: var(--bg); }
.icon-btn svg { width: 20px; height: 20px; }
.modal-close { position: absolute; top: 10px; inset-inline-end: 10px; background: var(--surface); border-radius: 50%; padding: 8px; box-shadow: var(--shadow); }
.drawer {
  position: fixed; z-index: 50; top: 0; bottom: 0; inset-inline-end: 0; width: min(420px, 100%);
  background: var(--surface); transform: translateX(-100%); transition: transform .25s ease, visibility .25s;
  display: flex; flex-direction: column; box-shadow: var(--shadow); visibility: hidden;
}
.drawer.open { transform: translateX(0); visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; }
.drawer-body { flex: 1; overflow: auto; padding: 8px 20px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 16px 20px; display: grid; gap: 10px; }

.cart-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { width: 56px; height: 56px; border-radius: 10px; overflow: hidden; grid-row: span 2; }
.cart-thumb img, .cart-thumb .media-ph { width: 100%; height: 100%; object-fit: cover; }
.cart-thumb .media-ph svg { width: 24px; height: 24px; }
.cart-item h4 { margin: 0; font-size: .95rem; }
.cart-item .meta { color: var(--ink-2); font-size: .8rem; grid-column: 2 / -1; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { border: 0; background: none; width: 34px; height: 34px; cursor: pointer; font-size: 1.05rem; }
.qty input { width: 56px; text-align: center; border: 0; background: transparent; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.muted { color: var(--ink-2); }
.total-row { font-weight: 700; font-size: 1.1rem; }
.empty { text-align: center; padding: 48px 12px; color: var(--ink-2); }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label, .field .label { font-weight: 600; font-size: .9rem; }
.hint { color: var(--ink-2); font-size: .8rem; font-weight: 400; }
.input, select.input, textarea.input {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg);
}
.input:focus { outline: 2px solid color-mix(in srgb, var(--accent) 40%, transparent); border-color: var(--accent); }
textarea.input { min-height: 80px; resize: vertical; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span {
  display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: .9rem;
}
.opt input:checked + span { border-color: var(--accent); background: var(--accent-soft); font-weight: 600; }
.opt input:focus-visible + span { outline: 2px solid var(--accent); }
.opt small { color: var(--ink-2); }
.dropzone {
  border: 1.5px dashed var(--line); border-radius: 12px; padding: 14px; text-align: center; color: var(--ink-2);
  cursor: pointer; font-size: .9rem;
}
.dropzone:hover { border-color: var(--accent); }
.file-list { list-style: none; padding: 0; margin: 8px 0 0; font-size: .85rem; }
.file-list li { display: flex; justify-content: space-between; align-items: center; padding: 2px 0; }
.buy-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

/* ---------- Checkout ---------- */
.page { padding: 32px 0 64px; }
.page h1 { margin: 0 0 20px; font-size: 1.7rem; }
.checkout-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.panel h2 { margin: 0 0 16px; font-size: 1.15rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.radio-list { display: grid; gap: 8px; }
.radio-card { display: flex; justify-content: space-between; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.radio-card:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.radio-card input { accent-color: var(--accent); margin-inline-end: 8px; }
.notice { padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); font-size: .9rem; margin-bottom: 16px; }
.notice.ok { background: color-mix(in srgb, var(--ok) 14%, var(--surface)); }
.notice.warn { background: color-mix(in srgb, var(--warn) 16%, var(--surface)); }
.status-hero { text-align: center; padding: 48px 20px; }
.status-hero .big { font-size: 3rem; line-height: 1; margin-bottom: 12px; color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--ink-2); font-size: .9rem; }
.site-footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.site-footer a { text-decoration: none; }
.site-footer nav { display: flex; gap: 16px; }

#toast {
  position: fixed; bottom: 20px; left: 50%; transform: translate(-50%, 20px); background: var(--ink); color: var(--bg);
  padding: 10px 18px; border-radius: 999px; opacity: 0; transition: .2s; z-index: 100; pointer-events: none; font-size: .92rem;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#toast.err { background: var(--err); color: #fff; }

/* ---------- Admin ---------- */
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.tab { border: 0; background: none; padding: 10px 14px; cursor: pointer; font-weight: 600; color: var(--ink-2); border-bottom: 2px solid transparent; }
.tab[aria-selected="true"] { color: var(--ink); border-color: var(--accent); }
.order { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; }
.order-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.order-items { margin: 10px 0; padding: 0; list-style: none; font-size: .9rem; }
.order-items li { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.pill { font-size: .78rem; padding: 2px 10px; border-radius: 99px; font-weight: 600; background: var(--bg); border: 1px solid var(--line); white-space: nowrap; }
.pill.ok { background: color-mix(in srgb, var(--ok) 15%, var(--surface)); border-color: transparent; color: var(--ok); }
.pill.warn { background: color-mix(in srgb, var(--warn) 18%, var(--surface)); border-color: transparent; color: var(--warn); }
.pill.err { background: color-mix(in srgb, var(--err) 14%, var(--surface)); border-color: transparent; color: var(--err); }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.table-list .prod { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.prod-thumb { width: 56px; height: 56px; border-radius: 10px; overflow: hidden; }
.prod-thumb img, .prod-thumb .media-ph { width: 100%; height: 100%; object-fit: cover; }
.prod-thumb .media-ph svg { width: 24px; height: 24px; }
.check { display: flex; gap: 8px; align-items: center; font-weight: 500; }

@media (max-width: 860px) {
  .hero-grid, .checkout-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 28px; }
  .collage { height: 320px; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .two { grid-template-columns: 1fr; }
  .header-nav .btn-label { display: none; }
  .header-nav .btn { padding: 10px 12px; }
  .logo-text span { display: none; }
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card-body { padding: 10px 12px 12px; }
  .card-body h3 { font-size: .92rem; }
  .card-body p { display: none; }
  .collage { height: 260px; }
  .custom-cta { grid-template-columns: 1fr; }
}

/* ================= ثيم زهرة: فوشيا وذهبي ================= */
body { background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23E91E63' stroke-width='0.7' stroke-opacity='0.07'%3E%3Cpath d='M40 15c3 6 10 8 10 15s-7 9-10 15c-3-6-10-8-10-15s7-9 10-15z'/%3E%3Cpath d='M15 40c6-3 8-10 15-10s9 7 15 10c-6 3-8 10-15 10s-9-7-15-10z'/%3E%3C/g%3E%3C/svg%3E"); background-color: var(--bg); }
h1, h2, .deco { font-family: "Amiri", serif; }
h3, h4, .btn, .chip { font-family: "Cairo", "Tajawal", sans-serif; }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-color: transparent; box-shadow: 0 8px 22px -6px rgba(216,27,96,.45); }
.btn-primary:hover { filter: none; background: linear-gradient(135deg, var(--accent), var(--accent)); transform: translateY(-1px); }
.topbar { background: linear-gradient(90deg, var(--accent-2), var(--accent), var(--accent-2)); color: #fff; text-align: center; font-size: .85rem; padding: 7px 16px; font-weight: 500; }
.topbar b { color: #f5e1a4; font-weight: 600; }
.site-header { background: rgba(255,255,255,.88); border-bottom-color: #f8bbd0; }
.site-header .container { height: 74px; }
.logo-img { width: 50px; height: 50px; border: 1.5px solid var(--gold-soft); }
.logo-text strong { font-family: "Amiri", serif; font-size: 1.25rem; color: var(--deep); }
.logo-text span { color: var(--accent); font-weight: 600; }
.main-nav { display: flex; gap: 22px; margin-inline-start: 28px; font-family: "Cairo", sans-serif; font-weight: 600; font-size: .92rem; }
.main-nav a { text-decoration: none; color: color-mix(in srgb, var(--deep) 80%, transparent); padding: 4px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--accent); border-color: var(--accent); }
@media (max-width: 960px) { .main-nav { display: none; } }

.hero { position: relative; padding: 56px 0 72px; background: radial-gradient(circle at top right, rgba(252,228,236,.95), rgba(255,245,248,.85) 45%, rgba(248,187,208,.75)); overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40px; background: var(--surface); clip-path: ellipse(70% 100% at 50% 100%); border-top: 2px solid var(--gold-soft); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px; background: rgba(255,255,255,.92); border: 1px solid var(--gold-soft); color: var(--deep); font-weight: 700; font-size: .85rem; margin-bottom: 14px; }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(216,27,96,.15); }
.hero h1 { color: var(--deep); font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.35; }
.hero h1 em { background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 60%, #fff), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.frame { background: rgba(255,255,255,.95); padding: 14px; border-radius: 34px; border: 2px solid rgba(230,194,122,.8); box-shadow: var(--shadow); animation: floaty 6s ease-in-out infinite; position: relative; }
.frame .collage { height: 400px; }
.frame .collage img { border-radius: 22px; box-shadow: none; }
.float-tag { position: absolute; bottom: -18px; inset-inline-start: -14px; background: #fff; border: 1px solid #f8bbd0; border-radius: 18px; padding: 10px 14px; display: flex; gap: 10px; align-items: center; box-shadow: 0 10px 24px -8px rgba(136,14,79,.25); font-size: .8rem; }
.float-tag i { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-style: normal; }
.float-tag b { display: block; color: var(--deep); }
@keyframes floaty { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .frame { animation: none; } }

.sec { padding: 56px 0; }
.sec-white { background: #fff; }
.sec-title { text-align: center; margin-bottom: 30px; }
.sec-title small { color: var(--accent); font-weight: 700; font-size: .85rem; }
.sec-title h2 { margin: 2px 0 0; font-size: clamp(1.7rem, 3.4vw, 2.3rem); color: var(--deep); }
.divider { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 8px; color: var(--accent); }
.divider::before, .divider::after { content: ""; height: 1px; width: 64px; background: linear-gradient(90deg, transparent, #d4af37); }
.divider::after { transform: scaleX(-1); }

.ornate { position: relative; }
.ornate::before { content: ""; position: absolute; inset: 7px; border: 1px solid var(--gold-soft); border-radius: calc(var(--radius) - 4px); pointer-events: none; z-index: 2; transition: border-color .3s; }
.ornate:hover::before { border-color: rgba(216,27,96,.35); }
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cat-card { text-align: start; padding: 22px; border-radius: 24px; background: #fff5f8; border: 1px solid #f8bbd0; cursor: pointer; transition: all .3s; }
.cat-card .ic { width: 54px; height: 54px; border-radius: 16px; background: #fff; color: var(--accent); display: grid; place-items: center; margin-bottom: 12px; box-shadow: 0 2px 8px rgba(216,27,96,.1); }
.cat-card .ic svg { width: 28px; height: 28px; }
.cat-card h3 { margin: 0 0 4px; font-size: 1.05rem; color: var(--deep); }
.cat-card p { margin: 0; font-size: .82rem; color: var(--ink-2); }
.cat-card:hover { background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 10px 25px -6px rgba(216,27,96,.4); }
.cat-card:hover h3, .cat-card:hover p { color: #fff; }

.card { border-radius: 26px; }
.card-tag { color: var(--deep); border: 1px solid var(--gold-soft); }
.price { color: var(--accent); font-family: "Cairo", sans-serif; }

.custom { background: linear-gradient(135deg, #fff5f8, #fff, #fce4ec); border: 2px solid #f8bbd0; border-radius: 36px; padding: clamp(20px, 4vw, 44px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; box-shadow: var(--shadow); margin: 0 0 8px; }
.custom h2 { margin: 6px 0 6px; color: var(--deep); font-size: clamp(1.6rem, 3vw, 2.1rem); }
.custom .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.preview-card { background: #fff; border: 2px solid #f5e1a4; border-radius: 26px; padding: 18px; text-align: center; position: relative; }
.preview-card .lbl { position: absolute; top: -12px; inset-inline-end: 22px; background: #d4af37; color: #fff; font-size: .75rem; font-weight: 700; padding: 3px 12px; border-radius: 99px; }
.preview-inner { min-height: 240px; border-radius: 18px; background: linear-gradient(#fce4ec, #f8bbd0); border: 1px solid #f48fb1; display: grid; place-content: center; padding: 26px; position: relative; }
.preview-inner::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(212,175,55,.45); border-radius: 12px; }
.preview-inner p { font-family: "Amiri", serif; font-size: 1.55rem; font-weight: 700; color: var(--deep); margin: 0; overflow-wrap: anywhere; }
.preview-inner span { margin-top: 12px; justify-self: center; background: rgba(255,255,255,.85); padding: 3px 12px; border-radius: 99px; font-size: .8rem; color: var(--deep); }

.features { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.feature { background: #fff; border: 1px solid #f8d3e0; border-radius: 24px; padding: 20px; display: flex; gap: 14px; align-items: start; }
.feature .ic { width: 46px; height: 46px; flex: none; border-radius: 14px; background: #fce4ec; color: var(--accent); display: grid; place-items: center; }
.feature .ic svg { width: 24px; height: 24px; }
.feature h3 { margin: 0 0 4px; font-size: .98rem; color: var(--deep); }
.feature p { margin: 0; font-size: .8rem; color: var(--ink-2); }
.step { border-radius: 22px; }

.site-footer.rich { background: linear-gradient(#880e4f, #5c0a35); color: #fce4ec; border: 0; padding: 48px 0 24px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; }
.footer-grid h4 { color: #fff; margin: 0 0 12px; font-size: 1.05rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .88rem; opacity: .88; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.footer-brand img { width: 60px; height: 60px; border-radius: 50%; background: #fff; }
.footer-brand strong { font-family: "Amiri", serif; font-size: 1.5rem; color: #fff; }
.footer-grid p { font-size: .88rem; opacity: .85; margin: 0; }
.socials { display: flex; gap: 8px; margin-top: 14px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: #ad1457; display: grid; place-items: center; color: #fff; }
.socials a:hover { background: #d81b60; }
.socials svg { width: 19px; height: 19px; }
.copy { text-align: center; font-size: .78rem; opacity: .7; margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); }

@media (max-width: 900px) {
  .cat-grid, .features { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .custom, .footer-grid { grid-template-columns: 1fr; }
  .frame .collage { height: 320px; }
}
@media (max-width: 520px) {
  .cat-grid, .features, .custom .two { grid-template-columns: 1fr; }
}

.cat-grid.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-top: 18px; border-top: 1px solid #f8bbd0; max-width: 480px; }
.stats b { display: block; font-family: "Cairo", sans-serif; font-size: 1.5rem; font-weight: 800; color: #c2185b; }
.stats span { font-size: .78rem; color: var(--ink-2); }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.review { margin: 0; padding: 22px; border-radius: 24px; background: #fff5f8; border: 1px solid #f8bbd0; }
.review .stars { color: #d4af37; letter-spacing: 2px; }
.review blockquote { margin: 10px 0 14px; font-size: .9rem; }
.review figcaption { display: flex; gap: 10px; align-items: center; }
.review .av { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; }
.review small { display: block; color: var(--accent); font-size: .75rem; }
@media (max-width: 1080px) { .cat-grid.five { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } .cat-grid.five { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cat-grid.five { grid-template-columns: 1fr; } .stats b { font-size: 1.15rem; } }

/* خلفية الواجهة بالورد */
.hero {
  background:
    linear-gradient(90deg, rgba(255,245,248,0) 0%, rgba(255,245,248,.25) 45%, rgba(255,245,248,.6) 100%),
    var(--hero-bg, url("/img/hero-bg.jpg")) center / cover no-repeat;
}
@media (max-width: 900px) {
  .hero { background: linear-gradient(rgba(255,245,248,.6), rgba(255,245,248,.75)), var(--hero-bg, url("/img/hero-bg.jpg")) 80% center / cover no-repeat; }
}

.logo-img { width: 60px; height: 60px; border: 0; box-shadow: 0 3px 10px rgba(181,146,40,.3); }
.site-header .container { height: 80px; }

/* اسم Zahra بالذهبي مثل الشعار */
.brand-script {
  font-family: "Great Vibes", cursive !important; font-weight: 400 !important;
  font-size: 2.1rem !important; line-height: 1.35 !important; direction: ltr; display: inline-block !important; overflow: visible;
  background: linear-gradient(135deg, #8a5a1c 0%, #d4a24c 35%, #f3d58a 55%, #b8812f 80%, #7a4d16 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent !important;
  padding: 6px 8px 4px; margin: -6px 0 -4px; text-align: right;
}
.footer-brand .brand-script { font-size: 2.6rem !important; background: linear-gradient(135deg, #e6c27a, #f8e3a8 50%, #d4a24c); -webkit-background-clip: text; background-clip: text; }
.logo-text .brand-script { display: block !important; margin-bottom: -2px; }
