/* =====================================================================
   هدايا سلمى — ملف التصميم الوحيد للموقع
   الألوان والخطوط كلها متغيرات هون. غيّر القيمة مرة وحدة بتتغير بكل الصفحات.
   ===================================================================== */
/* ===== الخطوط (مستضافة على الموقع نفسه — أسرع وما بتعتمد على جوجل) ===== */
@font-face { font-family: 'Aref Ruqaa'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/aref-ruqaa-700-arabic.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'Aref Ruqaa'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/aref-ruqaa-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'El Messiri'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/el-messiri-arabic.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'El Messiri'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/el-messiri-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Tajawal'; font-style: normal; font-weight: 400 500; font-display: swap; src: url('/assets/fonts/tajawal-500-arabic.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'Tajawal'; font-style: normal; font-weight: 400 500; font-display: swap; src: url('/assets/fonts/tajawal-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* =====================================================================
   هدايا سلمى — التصميم (النسخة الهادئة)
   الفكرة: بطاقة دعوة عرس. ألوان اللوجو (وردي فاتح وذهبي وردي) على ورق فاتح،
   مساحات واسعة، والصور بإطار قوس زي أقواس الأعراس — قليلة ومقصودة.
   الألوان والخطوط كلها متغيرات هون. غيّر القيمة مرة وحدة بتتغير بكل الصفحات.
   ===================================================================== */
:root {
  --paper: #FBF6F3;      /* الخلفية: أبيض مائل للوردي */
  --blush: #F3E6E0;      /* وردي اللوجو الفاتح للأقسام الثانوية */
  --ink: #3A2A2E;        /* النص الأساسي: بني بنفسجي غامق */
  --muted: #7A686C;      /* النص الثانوي */
  --rose: #A9705C;       /* الذهبي الوردي: للروابط والأسعار والزخرفة */
  --line: #E5D5CE;       /* الخطوط الفاصلة */
  --font-display: "Aref Ruqaa", "El Messiri", serif;
  --font-body: "El Messiri", "Tajawal", system-ui, sans-serif;
  --font-small: "Tajawal", system-ui, sans-serif;
  --max: 1120px;
  --narrow: 720px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.85;
  overflow-x: hidden; padding-bottom: 76px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose); text-underline-offset: 4px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-weight: 700; color: var(--ink); margin: 0 0 .6em; }
h1 { font-family: var(--font-display); font-size: clamp(34px, 6.4vw, 54px); line-height: 1.45; text-wrap: balance; }
h2 { font-family: var(--font-display); font-size: clamp(27px, 4.4vw, 36px); line-height: 1.5; }
h3 { font-family: var(--font-body); font-size: 21px; line-height: 1.5; }
.container { max-width: var(--max); margin: 0 auto; padding-inline: 20px; }
.narrow > * { max-width: var(--narrow); }
.closing .narrow > * { margin-inline: auto; }
.lead { font-size: 19px; color: var(--muted); max-width: 36em; }
.skip { position: absolute; right: -9999px; }
.skip:focus { right: 16px; top: 8px; z-index: 99; background: #fff; padding: 8px 12px; }

/* ===== الأزرار ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 10px 28px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: 17px;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #4c3a3f; }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--rose); }
.btn-quiet:hover { background: var(--blush); }
.btn-sm { min-height: 40px; padding: 6px 18px; font-size: 15px; }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ===== الهيدر ===== */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(251, 246, 243, .96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 14px; padding: 10px 20px; max-width: var(--max); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-inline-end: auto; }
.brand img { width: 44px; height: 46px; object-fit: cover; border-radius: 10px; }
.brand-name { font-family: var(--font-display); font-size: 24px; line-height: 1; white-space: nowrap; }
.main-nav { display: none; gap: 4px; }
.main-nav a { padding: 6px 10px; text-decoration: none; color: var(--ink); font-size: 15px; white-space: nowrap; border-bottom: 1px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--rose); border-bottom-color: var(--rose); }
.menu-btn { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.mobile-nav { display: none; border-top: 1px solid var(--line); padding: 6px 0 10px; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 12px 22px; text-decoration: none; color: var(--ink); font-size: 18px; }
.mobile-nav a[aria-current="page"] { color: var(--rose); }
@media (min-width: 1080px) {
  .main-nav { display: flex; }
  .menu-btn, .mobile-nav, .mobile-nav.open { display: none; }
}
@media (max-width: 420px) { .header-cta { display: none; } }

/* ===== الصور: مستطيلة بزوايا ناعمة ===== */
.photo { margin: 0; }
.photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; }
.photo.small { max-width: 320px; }

/* ===== الافتتاحية ===== */
.hero { display: grid; gap: 28px; align-items: center; padding-top: 28px; padding-bottom: 36px; }
.hero .slogan { font-family: var(--font-display); color: var(--rose); font-size: clamp(22px, 3.4vw, 28px); line-height: 1.6; margin-bottom: .35em; }
.hero h1 { margin-bottom: .35em; }
.hero-photo img { aspect-ratio: 4 / 3; }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1fr 1fr; gap: 64px; padding-top: 56px; padding-bottom: 64px; }
  .hero-photo img { aspect-ratio: 1 / 1; }
}

/* شريط الثقة */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust ul { list-style: none; margin: 0 auto; padding-top: 18px; padding-bottom: 18px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 20px; text-align: center; }
.trust li { display: flex; flex-direction: column; line-height: 1.5; }
.trust b { font-size: 19px; font-weight: 600; }
.trust span { font-size: 14px; color: var(--muted); }
@media (min-width: 760px) { .trust ul { grid-template-columns: repeat(4, 1fr); } }

/* شبكة المنتجات */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.section-head h2 { margin: 0; }
.section-head a { font-size: 16px; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 16px; }
.card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; margin-bottom: 10px; transition: opacity .2s; }
.card:hover img { opacity: .9; }
.card-name { font-size: 17px; font-weight: 600; line-height: 1.5; }
.card-price { font-size: 16px; color: var(--rose); }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 36px 28px; } .card-name { font-size: 19px; } }

/* قصتنا: قصيرة بالنص */
.story { text-align: center; }
.story p { max-width: 34em; margin-inline: auto; font-size: 18px; color: var(--muted); }

/* الخطوات: تسلسل حقيقي */
.steps { list-style: none; margin: 0 0 24px; padding: 0; counter-reset: s; display: grid; gap: 18px; }
.steps li { counter-increment: s; display: flex; flex-direction: column; padding-top: 14px; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s); color: var(--rose); font-size: 15px; margin-bottom: 2px; }
.steps b { font-size: 18px; font-weight: 600; }
.steps span { color: var(--muted); font-size: 16px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

/* ===== الأقسام ===== */
.section { padding: 48px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section.tint { background: var(--blush); border-top: 0; }
.section.tint + .section { border-top: 0; }
.section-intro { color: var(--muted); max-width: 40em; }
.aside-link { margin: 22px 0 0; font-size: 16px; }

/* الوعد */
.promise { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px 40px; }
.promise li { display: flex; flex-direction: column; padding-inline-start: 18px; border-inline-start: 2px solid var(--rose); }
.promise b { font-size: 19px; font-weight: 600; }
.promise span { color: var(--muted); font-size: 16px; line-height: 1.8; }
@media (min-width: 760px) { .promise { grid-template-columns: 1fr 1fr; } }

/* المعرض: صور قليلة بنفس المقاس، بدون مربعات فاضية */
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }
.gallery figcaption { font-family: var(--font-small); font-size: 14px; color: var(--muted); padding-top: 8px; }
.gallery.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 560px) {
  .gallery.cols-3 { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .gallery figcaption { font-size: 12.5px; line-height: 1.5; }
}
@media (min-width: 760px) {
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* ===== صفحات المنتجات ===== */
.breadcrumb { font-family: var(--font-small); font-size: 14px; color: var(--muted); padding-top: 20px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li + li::before { content: "/"; margin-inline-end: 8px; color: var(--line); }
.breadcrumb a { text-decoration: none; }
.p-hero { display: grid; gap: 36px; align-items: center; padding-top: 18px; padding-bottom: 52px; }
.p-hero .photo { width: 100%; }
.p-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 6px 0 14px; }
.p-price b { font-size: 28px; font-weight: 700; color: var(--rose); }
.p-price span { font-size: 15px; color: var(--muted); }
.tag { display: inline-block; font-family: var(--font-small); font-size: 14px; color: var(--rose); border: 1px solid var(--rose); border-radius: 999px; padding: 2px 14px; margin-bottom: 10px; }
@media (min-width: 900px) {
  .p-hero { grid-template-columns: 1fr 1fr; gap: 72px; padding-top: 28px; padding-bottom: 72px; }
}
.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 820px) { .split { grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: start; } }

.includes { list-style: none; margin: 0 0 8px; padding: 0; }
.includes li { position: relative; padding: 6px 22px 6px 0; }
.includes li::before { content: ""; position: absolute; right: 2px; top: 1.05em; width: 7px; height: 7px; border-radius: 999px; background: var(--rose); }

.pkgs { display: grid; gap: 0; border-top: 1px solid var(--line); }
.pkg { padding: 26px 0; border-bottom: 1px solid var(--line); }
.pkg h3 { font-family: var(--font-display); font-size: 28px; margin-bottom: .1em; }
.pkg h3 .tag { font-family: var(--font-small); font-size: 13px; font-weight: 500; vertical-align: middle; margin: 0 8px 0 0; }
.pkg > p:not(.p-price):not(.tag) { color: var(--muted); }
@media (min-width: 900px) {
  .pkgs { grid-template-columns: repeat(3, 1fr); border-top: 0; gap: 0; }
  .pkg { padding: 6px 32px 6px 32px; border-bottom: 0; border-inline-start: 1px solid var(--line); }
  .pkg:first-child { border-inline-start: 0; padding-inline-start: 0; }
}

table.prices { width: 100%; border-collapse: collapse; font-size: 17px; margin-bottom: 28px; }
table.prices th, table.prices td { text-align: right; padding: 12px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.prices th { font-family: var(--font-small); font-size: 14px; color: var(--muted); font-weight: 500; }
table.prices td:not(:first-child) { white-space: nowrap; color: var(--rose); font-weight: 600; }
table.prices a { color: var(--ink); text-decoration: none; }
.page-head { padding-top: 22px; padding-bottom: 8px; }

/* ===== الأسئلة ===== */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; gap: 14px; align-items: center; padding: 18px 0; font-weight: 600; font-size: 18px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-inline-start: auto; font-size: 22px; color: var(--rose); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; color: var(--muted); }

.related { margin-top: 36px; }
.related p { font-size: 15px; color: var(--muted); margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { font-size: 15px; text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 4px 16px; }
.chips a:hover { border-color: var(--rose); color: var(--rose); }

/* ===== الختام والفوتر ===== */
.closing { text-align: center; padding: 56px 0 52px; border-top: 1px solid var(--line); }
.closing-title { font-family: var(--font-display); font-size: clamp(26px, 4.4vw, 34px); line-height: 1.5; margin-bottom: .3em; }
.closing p { color: var(--muted); }
.closing .btn { margin-top: 6px; }
.site-footer { border-top: 1px solid var(--line); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 24px; padding-top: 32px; padding-bottom: 16px; }
.footer-brand { font-family: var(--font-display); font-size: 24px; margin-bottom: .2em; }
.footer-grid p { color: var(--muted); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.footer-grid a { text-decoration: none; color: var(--ink); }
.footer-grid a:hover { color: var(--rose); }
.copy { text-align: center; padding: 8px 20px 24px; font-family: var(--font-small); font-size: 13px; color: var(--muted); margin: 0; }

/* زر الطلب الثابت على الموبايل */
.sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 50; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(251, 246, 243, .97); border-top: 1px solid var(--line); }
@media (min-width: 1080px) { .sticky-cta { display: none; } body { padding-bottom: 0; } }

@media (prefers-reduced-motion: no-preference) {
  .btn, .chips a, .main-nav a { transition: background .2s, color .2s, border-color .2s; }
}
