/* =====================================================================
   Product page — يتبع نفس لغة تصميم المتجر (store.css)
   ملاحظة: index.php يحقن --green/--sale/--header من ألوان المنتج،
   لذلك المكوّنات الأساسية تستعمل رموزًا محايدة (--ink/--price/--line).
   ===================================================================== */
:root {
    --ink: #121212;          /* النص/الأزرار الأساسية */
    --body: #4a4a4a;
    --muted: #767676;
    --line: #e3e3e3;
    --line-2: #f0f0f0;
    --bg: #ffffff;
    --panel: #f6f5f3;        /* رمادي دافئ كما في المتجر */
    --price: #008000;        /* الأسعار خضراء كما في المتجر */
    --radius: 16px;
    --radius-lg: 22px;
    --shadow: 0 10px 30px rgba(18, 18, 18, .07);
    --max: 620px;

    /* قيم افتراضية للّون المميّز (يحقن index.php قيم المنتج فوقها) */
    --green: #121212;
    --green-dark: #000000;
    --green-soft: #f6f5f3;
    --sale: #b3202c;
    --header: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', 'Cairo', system-ui, -apple-system, sans-serif;
    color: var(--ink);
    background: var(--panel);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, .product__title, .section-title, .price-box__value {
    font-family: 'Inter', 'Cairo', system-ui, sans-serif;
    letter-spacing: -.02em;
}

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

/* ===== شريط متحرك / Marquee — مطابق تمامًا لشريط المتجر (.st-ann) =====
   اللون قابل للتخصيص لكل منتج عبر --marquee-bg / --marquee-fg. */
.marquee {
    background: var(--marquee-bg, var(--panel));
    color: var(--marquee-fg, var(--ink));
    border-bottom: 1px solid var(--line-2);
    overflow: hidden;
    height: 52px;
    display: flex;
    align-items: center;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.01em;
}
/* نسختان من المحتوى ليصبح الدوران متصلًا بلا قفزة */
.marquee__track {
    display: flex;
    width: max-content;
    flex: 0 0 auto;
    animation: marquee-scroll 28s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; flex: 0 0 auto; }
.marquee__group span {
    white-space: nowrap;
    padding: 0 26px;
    position: relative;
    display: inline-flex;
    align-items: center;
}
/* فاصل نقطي بين العبارات */
.marquee__group span::after {
    content: "";
    position: absolute; inset-inline-end: -4px; top: 50%;
    width: 5px; height: 5px; border-radius: 50%;
    background: currentColor; opacity: .3; transform: translateY(-50%);
}
@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
/* في RTL يُثبَّت المسار من اليمين، فالتحرك لليسار يُفرغ الشريط.
   الاتجاه الصحيح هنا موجب. / RTL pins the track to the right: scroll the other way. */
[dir="rtl"] .marquee__track { animation-name: marquee-scroll-rtl; }
@keyframes marquee-scroll-rtl {
    from { transform: translateX(0); }
    to   { transform: translateX(50%); }
}
@media (prefers-reduced-motion: reduce) {
    .marquee__track { animation: none; }
}
@media (max-width: 720px) {
    .marquee { font-size: 15px; height: 44px; }
    .marquee__track { animation-duration: 20s; }
    .marquee__group span { padding: 0 18px; }
}

/* ===== ترويسة العلامة + التنقل / Brand bar + nav ===== */
.topbar {
    position: sticky; top: 0;
    background: #fff;
    border-bottom: 1px solid var(--line-2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    z-index: 60;
}
.topbar__brand { display: inline-flex; align-items: center; justify-content: center; }
.topbar__logo { height: 46px; width: auto; display: block; }
.topbar__name { color: var(--ink); font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
/* مساحة موازنة بعرض زر القائمة حتى يبقى الشعار في المنتصف تمامًا */
.topbar__spacer { width: 42px; flex: 0 0 42px; }

/* ===== زر القائمة المتحرك / Animated hamburger =====
   حركة على مرحلتين: الشريطان العلوي/السفلي ينزلقان للمنتصف أولًا
   ثم يدوران إلى علامة X — مع تأخير زمني يعطي إحساسًا سلسًا. */
.burger {
    width: 44px; height: 44px; flex: 0 0 44px;
    display: inline-grid; place-items: center;
    background: transparent; border: 0; padding: 0; cursor: pointer;
    border-radius: 11px; -webkit-tap-highlight-color: transparent;
    transition: background .15s;
}
.burger:hover { background: var(--panel); }
.burger:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.burger__box { position: relative; display: block; width: 24px; height: 18px; }

/* الشريط الأوسط + شريطان عبر ::before/::after */
.burger__inner,
.burger__inner::before,
.burger__inner::after {
    position: absolute; left: 0;
    width: 24px; height: 2px; border-radius: 2px;
    background: var(--ink);
}
.burger__inner {
    top: 50%; margin-top: -1px;
    transition: transform .22s .12s cubic-bezier(.215, .61, .355, 1);
}
.burger__inner::before {
    content: ""; top: -8px;
    transition: top .1s .2s ease, opacity .1s ease;
}
.burger__inner::after {
    content: ""; bottom: -8px;
    transition: bottom .1s .2s ease,
                transform .1s cubic-bezier(.55, .055, .675, .19);
}

/* الحالة المفتوحة → X مع دوران كامل (spin) */
.burger.is-open .burger__inner {
    transform: rotate(135deg);
    transition-delay: .1s;
    transition-timing-function: cubic-bezier(.215, .61, .355, 1);
}
.burger.is-open .burger__inner::before {
    top: 0; opacity: 0;
    transition: top .1s ease, opacity .1s .16s ease;
}
.burger.is-open .burger__inner::after {
    bottom: 0; transform: rotate(-90deg);
    transition: bottom .1s ease,
                transform .1s .16s cubic-bezier(.215, .61, .355, 1);
}

/* ===== درج التنقل / Slide-out drawer ===== */
.nav-backdrop {
    position: fixed; inset: 0; z-index: 70;
    background: rgba(0, 0, 0, .45);
    opacity: 0; transition: opacity .28s ease;
}
.nav-backdrop.is-open { opacity: 1; }

.nav-drawer {
    position: fixed; inset-block: 0; inset-inline-start: 0; z-index: 80;
    width: min(78vw, 300px);
    background: #fff;
    padding: 84px 22px 22px;
    display: flex; flex-direction: column; gap: 6px;
    box-shadow: 0 0 40px rgba(0, 0, 0, .22);
    transform: translateX(-102%);
    transition: transform .32s cubic-bezier(.4, 0, .2, 1);
}
[dir="rtl"] .nav-drawer { transform: translateX(102%); }
.nav-drawer.is-open,
[dir="rtl"] .nav-drawer.is-open { transform: translateX(0); }
.nav-drawer a {
    display: block; padding: 14px 14px; border-radius: 10px;
    font-size: 17px; font-weight: 700; color: var(--ink); text-decoration: none;
    transition: background .15s;
}
.nav-drawer a:hover { background: var(--panel); }

@media (prefers-reduced-motion: reduce) {
    .burger__inner, .burger__inner::before, .burger__inner::after,
    .nav-drawer, .nav-backdrop { transition: none !important; }
}

/* ===== الصفحة / Page wrapper ===== */
.page {
    max-width: var(--max);
    margin: 0 auto;
    background: var(--bg);
}
section { padding: 20px 18px; }

/* ===== المعرض / Image carousel ===== */
.gallery { padding: 10px; }
/* صورة المنتج بعرض كامل مع هامش صغير / full-width image with a small margin */
.gallery .carousel { max-width: none; margin-inline: 0; }
.carousel { position: relative; border-radius: 5px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); }
.carousel__track {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; direction: ltr;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide { flex: 0 0 100%; scroll-snap-align: center; }
.carousel__slide img { width: 100%; aspect-ratio: 1/1; object-fit: contain; object-position: center; background: #fff; border-radius: 5px; }

.carousel__arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 38px; height: 38px; border: none; border-radius: 50%;
    background: rgba(255, 255, 255, .95); color: var(--ink);
    display: grid; place-items: center; cursor: pointer; z-index: 2;
    border: 1px solid var(--line); box-shadow: 0 2px 10px rgba(18, 18, 18, .12);
}
.carousel__arrow svg { width: 22px; height: 22px; }
.carousel__arrow:active { transform: translateY(-50%) scale(.9); }
.carousel__arrow--prev { right: 10px; }   /* RTL: السابق على اليمين */
.carousel__arrow--next { left: 10px; }

.carousel__dots { display: flex; justify-content: center; gap: 7px; margin-top: 12px; }
.carousel__dots .dot {
    width: 8px; height: 8px; padding: 0; border: none; border-radius: 999px;
    background: #d1d5db; cursor: pointer; transition: width .2s, background .2s;
}
.carousel__dots .dot.is-active { background: var(--green); width: 22px; }

.badge-sale {
    position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2;
    background: #fff; color: var(--ink); font-weight: 500; border: 1px solid var(--line);
    padding: 5px 14px; border-radius: 999px; font-size: 13px;
}

/* ===== المنتج / Product info ===== */
.stars-row { display: flex; align-items: center; gap: 8px; }
.stars { color: #fbbf24; letter-spacing: 2px; font-size: 20px; line-height: 1; }
.stars-count { color: var(--muted); font-size: 13px; }
.product__title { font-size: 16px; font-weight: 700; margin: 6px 0 9px; line-height: 1.55; }

.price-box { display: flex; align-items: baseline; gap: 8px 10px; flex-wrap: wrap; margin-bottom: 14px; }
.price-box__value { font-size: 22px; font-weight: 700; color: var(--price); white-space: nowrap;
    direction: ltr; unicode-bidi: isolate; }
.price-box__old { font-size: 14px; color: var(--muted); text-decoration: line-through; white-space: nowrap;
    direction: ltr; unicode-bidi: isolate; }
.price-box__off { background: var(--panel); color: var(--ink); border: 1px solid var(--line); font-weight: 600; font-size: 11.5px; padding: 3px 9px; border-radius: 999px; white-space: nowrap; align-self: center; }

.product__desc { color: #333; margin-bottom: 14px; }

.features { list-style: none; display: grid; gap: 8px; margin-bottom: 18px; }
.features li { position: relative; padding-inline-start: 30px; font-weight: 500; color: var(--body); }
.features li::before {
    content: '✓'; position: absolute; inset-inline-start: 0;
    top: 50%; transform: translateY(-50%);
    width: 20px; height: 20px; background: var(--ink); color: #fff;
    border-radius: 50%; font-size: 12px; display: grid; place-items: center;
}

/* ===== أزرار الطلب / CTA buttons ===== */
.btn-order {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; border: none; cursor: pointer;
    background: var(--green); color: var(--cta-fg, #fff); font-family: inherit;
    font-size: 17px; font-weight: 600; padding: 16px; border-radius: 999px;
    text-align: center; text-decoration: none;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
    transition: transform .12s, background .2s;
}
.btn-order svg { width: 22px; height: 22px; flex-shrink: 0; }
/* اهتزاز دوري للفت الانتباه / periodic attention buzz */
.btn-order { animation: cta-buzz 4s ease-in-out infinite; }
@keyframes cta-buzz {
    0%, 88%, 100% { transform: translateX(0) rotate(0); }
    89% { transform: translateX(-3px) rotate(-.6deg); }
    90% { transform: translateX(3px) rotate(.6deg); }
    91% { transform: translateX(-3px) rotate(-.6deg); }
    92% { transform: translateX(3px) rotate(.6deg); }
    93% { transform: translateX(-2px); }
    94% { transform: translateX(2px); }
    95% { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) { .btn-order { animation: none; } }
.btn-order:hover { background: var(--green-dark); }
.btn-order:active { transform: scale(.98); }
.btn-order--hero { margin-top: 4px; }
.btn-order:disabled { opacity: .7; cursor: default; }

/* ===== زر عائم / Floating CTA — نفس لون ومقاس زر النموذج ===== */
.float-cta {
    position: fixed; z-index: 90;
    inset-inline: 0; bottom: 14px;
    width: calc(100% - 28px);
    max-width: calc(var(--max) - 28px);
    margin-inline: auto;
    transition: opacity .25s ease, transform .25s ease;
}
.float-cta[hidden] { display: none; }
.float-cta.is-hidden { opacity: 0; transform: translateY(120%); pointer-events: none; }
@media (max-width: 480px) { .float-cta { bottom: 10px; width: calc(100% - 20px); } }

/* ===== شريط الثقة / Trust strip ===== */
.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; background: var(--panel); }
.trust__item { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.trust__item span { font-size: 20px; }

/* ===== نموذج الطلب / Order form ===== */
.order { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); margin: 14px; box-shadow: var(--shadow); }
.order__title { font-size: 19px; font-weight: 700; margin-bottom: 16px; text-align: center; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 14px; }
.req { color: var(--sale); }

/* حقل بأيقونة على اليمين (RTL) كما في التصميم */
.input-icon {
    position: relative; display: flex; align-items: stretch;
    border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
    background: #fff; transition: border-color .15s, box-shadow .15s;
}
.input-icon:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.input-icon.invalid { border-color: var(--sale); }
.input-icon__btn {
    flex: 0 0 48px; display: grid; place-items: center;
    background: var(--panel); color: var(--body); border-inline-end: 1px solid var(--line-2);
}
.input-icon__btn svg { width: 21px; height: 21px; }
.input-icon input, .input-icon select {
    flex: 1; min-width: 0; height: 52px; border: none; background: transparent; outline: none;
    padding: 0 14px; font-family: inherit; font-size: 16px; color: var(--ink); line-height: 52px;
}
.input-icon ::placeholder { color: #9aa1ab; }
/* القائمة المنسدلة: أخفِ السهم الأصلي وأضف شيفرون على اليسار */
.input-icon--select select { appearance: none; -webkit-appearance: none; padding-inline-start: 40px; }
.input-icon__chev { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-icon__chev svg { width: 20px; height: 20px; }

.err { color: var(--sale); font-size: 12px; min-height: 14px; display: block; margin-top: 4px; text-align: right; }

/* رقائق المتغيّرات / Variant chips */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip span {
    display: inline-block; padding: 5px 11px; border: 1px solid var(--line);
    border-radius: 999px; font-weight: 500; font-size: 11.5px; line-height: 1.5; background: #fff;
    color: var(--ink); transition: border-color .15s, background .15s, color .15s;
}
.chip input:checked + span { border-color: var(--green); background: var(--green); color: var(--cta-fg, #fff); }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(18, 18, 18, .12); }

.order__summary { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-top: 1px dashed var(--line); margin-bottom: 12px; font-weight: 700; }
.order__summary strong { color: var(--price); font-size: 17px; font-weight: 700;
    direction: ltr; unicode-bidi: isolate; }

/* تذكرة نجاح الطلب / order success ticket */
.order-success { text-align: center; padding: 30px 16px; }
.order-success h3 { font-size: 22px; font-weight: 700; color: var(--ink); margin: 6px 0 8px; opacity: 0; animation: oc-fade .4s .7s ease forwards; }
.order-success p { color: #444; font-size: 15px; opacity: 0; animation: oc-fade .4s .9s ease forwards; }

/* علامة صح متحركة (رسم الدائرة ثم الصح) / animated draw-in check */
.success-check { width: 92px; height: 92px; display: block; margin: 0 auto 14px; animation: oc-pop .4s .85s ease; transform-origin: center; }
.success-check__circle {
    fill: none; stroke: var(--price); stroke-width: 3;
    stroke-dasharray: 151; stroke-dashoffset: 151;
    animation: oc-circle .55s ease forwards;
}
.success-check__tick {
    fill: none; stroke: var(--price); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round;
    stroke-dasharray: 40; stroke-dashoffset: 40;
    animation: oc-tick .35s .5s ease forwards;
}
@keyframes oc-circle { to { stroke-dashoffset: 0; } }
@keyframes oc-tick   { to { stroke-dashoffset: 0; } }
@keyframes oc-pop    { 0% { transform: scale(1); } 50% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes oc-fade   { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    .success-check__circle, .success-check__tick { animation: none; stroke-dashoffset: 0; }
    .order-success h3, .order-success p { animation: none; opacity: 1; }
}

.form-msg { margin-top: 12px; padding: 12px; border-radius: 10px; font-weight: 700; text-align: center; }
.form-msg.ok { background: #e9f9f0; color: #0b7a3c; }
.form-msg.bad { background: #fdecea; color: var(--sale); }

/* ===== خطوات الطلب / Steps ===== */
.steps-wrap .section-title { margin-bottom: 18px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; text-align: center; position: relative; }
.steps::before {
    content: ''; position: absolute; top: 25px; left: 12.5%; right: 12.5%;
    height: 2px; background: var(--line); z-index: 0;
}
.step { display: flex; flex-direction: column; align-items: center; gap: 9px; position: relative; z-index: 1; }
.step__ic {
    position: relative; width: 52px; height: 52px; border-radius: 50%;
    background: #fff; border: 1.5px solid var(--ink); color: var(--ink);
    display: grid; place-items: center;
}
.step__ic svg { width: 24px; height: 24px; }
.step__n {
    position: absolute; top: -6px; right: -6px;
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--ink); color: #fff; border: 2px solid #fff;
    font-size: 11px; font-weight: 800; line-height: 1;
    display: flex; align-items: center; justify-content: center; text-align: center;
}
.step__lbl { font-size: 12px; font-weight: 700; }

/* ===== المواصفات / Specs ===== */
.section-title { font-size: 20px; font-weight: 700; margin-bottom: 14px; text-align: center; }
.specs__table { width: 100%; border-collapse: collapse; }
.specs__table td { padding: 11px 12px; border: 1px solid var(--line); font-size: 14px; }
.specs__table td:first-child { font-weight: 600; background: var(--panel); width: 40%; }

/* ===== الوصف الكامل المُستنسخ / Cloned full description ===== */
.description { padding: 0; }
.description img { width: 100%; height: auto; border-radius: 8px; margin: 6px 0; }
.description p { margin: 8px 12px; }
.description iframe {
    width: 100%; aspect-ratio: 16/9; height: auto; border: 0; display: block; margin: 10px 0;
}
.description table { width: calc(100% - 24px); margin: 10px 12px; border-collapse: collapse; }
.description td { border: 1px solid var(--line); padding: 8px; }

/* ===== المراجعات / Reviews ===== */
.reviews { background: #fff; }
.reviews__head { display: flex; align-items: center; gap: 8px; justify-content: center; margin-bottom: 14px; }
.review-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
.review-photos img { aspect-ratio: 1/1; object-fit: cover; border-radius: 10px; }
.review { display: flex; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.review__avatar { width: 40px; height: 40px; border-radius: 50%; flex: 0 0 40px; object-fit: cover; }
.review__name { font-weight: 800; font-size: 14px; display: flex; gap: 6px; align-items: center; }
.review__text { font-size: 14px; color: #333; }

/* ===== الضمان / Guarantee ===== */
.guarantee { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.guarantee__item {
    background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 8px;
    font-weight: 600; font-size: 13px; color: var(--ink);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.guarantee__item svg { width: 26px; height: 26px; color: var(--ink); }

/* ===== زر ثابت / Sticky CTA ===== */
.sticky-cta {
    position: fixed; inset-inline: 0; bottom: 0; z-index: 50;
    max-width: var(--max); margin: 0 auto;
    background: var(--green); color: var(--cta-fg, #fff); text-decoration: none;
    font-size: 17px; font-weight: 600; text-align: center;
    padding: 15px; box-shadow: 0 -4px 16px rgba(0, 0, 0, .15);
}
.sticky-cta:active { background: var(--green-dark); }

/* ===== صور أسفل الصفحة / Footer images (stacked, full-width) ===== */
.bottom-stack { padding: 0; display: block; }
.bottom-stack img { width: 100%; height: auto; display: block; }

/* ===== نافذة المغادرة / Exit overlay (form only) ===== */
.exit-overlay {
    position: fixed; inset: 0; z-index: 300; background: rgba(0, 0, 0, .6);
    overflow-y: auto; padding: 14px; display: flex; align-items: flex-start; justify-content: center;
    animation: exit-fade .2s ease;
}
.exit-overlay[hidden] { display: none; }
.exit-overlay__inner {
    background: #fff; border-radius: 16px; width: 100%; max-width: var(--max);
    margin: 20px auto; position: relative; box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
    animation: exit-pop .25s ease;
}
.exit-overlay__close {
    position: absolute; top: 8px; inset-inline-end: 10px; z-index: 2;
    width: 34px; height: 34px; border: none; border-radius: 50%; cursor: pointer;
    background: #f1f1f1; color: #555; font-size: 17px; line-height: 1;
}
.exit-overlay__head { text-align: center; padding: 20px 16px 4px; }
.exit-overlay__head h2 { font-size: 20px; font-weight: 700; color: var(--ink); }
.exit-overlay__head p { color: var(--muted); font-size: 14px; margin-top: 6px; }
/* النموذج المنقول داخل النافذة يملأ العرض بلا هوامش زائدة */
.exit-overlay #order { margin: 12px; border: none; box-shadow: none; }
@keyframes exit-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes exit-pop { from { transform: translateY(14px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }

/* ===== التذييل / Footer ===== */
.site-footer { max-width: var(--max); margin: 0 auto; background: #fff; text-align: center; padding: 24px 16px 100px; border-top: 1px solid var(--line); }
.site-footer__logo { height: 40px; width: auto; margin: 0 auto 10px; }
.site-footer p { color: var(--muted); font-size: 13px; }

@media (min-width: 600px) {
    /* بلا هامش سفلي وبلا تدوير أسفل: صورة النهاية تلامس أسفل الصفحة */
    .page { margin: 16px auto 0; border-radius: 18px 18px 0 0; overflow: hidden; box-shadow: var(--shadow); }
}