/* ===== Tokens ===== */
:root {
    --bg: #fbf8f3;
    --surface: #ffffff;
    --ink: #1d2433;
    --muted: #596275;
    --line: #e7e0d5;
    --brand: #c8265b;
    --brand-dark: #a81d4b;
    --brand-soft: #fce8ef;
    --green: #0b7a5a;
    --green-soft: #e3f5ee;
    --danger: #b3261e;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow: 0 12px 32px -14px rgba(29, 36, 51, .28);
    --font: "Cairo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, figure, blockquote, ol, ul, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

.container { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: 16px; }
.narrow { max-width: 820px; }
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 24px; border: 0; border-radius: 999px;
    font-weight: 700; line-height: 1.2; cursor: pointer; text-align: center;
    transition: background-color .2s, transform .15s, box-shadow .2s;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 22px -10px rgba(200, 38, 91, .8); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 9px 18px; font-size: .95rem; }
.btn-lg { padding: 15px 30px; font-size: 1.1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: not-allowed; }

/* ===== Promo bar & header ===== */
.promo-bar {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 8px 16px; background: var(--green); color: #fff;
    font-size: .92rem; font-weight: 600; text-align: center;
}
.site-header {
    position: sticky; top: 0; z-index: 50; height: var(--header-h);
    background: rgba(251, 248, 243, .92); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; }
.brand-mark {
    display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px;
    background: var(--brand); color: #fff; font-size: 1.2rem;
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
    display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
    font-weight: 600; font-size: .92rem; cursor: pointer;
}
.lang-toggle:hover { border-color: var(--ink); }

/* ===== Hero ===== */
.hero { padding-block: clamp(28px, 6vw, 72px); background: radial-gradient(900px 420px at 85% -10%, var(--brand-soft), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
.eyebrow {
    display: inline-block; padding: 4px 14px; margin-bottom: 14px;
    background: var(--brand-soft); color: var(--brand-dark); border-radius: 999px;
    font-weight: 700; font-size: .9rem;
}
.hero h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }
.lead { margin-top: 12px; font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); max-width: 34em; }
.price-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 22px; }
.price { font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 800; color: var(--brand); line-height: 1; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .92rem; }
.chip-green { background: var(--green-soft); color: var(--green); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; color: var(--muted); font-weight: 600; font-size: .95rem; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust .i { color: var(--green); }
.hero-media img {
    width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

/* ===== Sections ===== */
.section { padding-block: clamp(40px, 7vw, 80px); }
.section-alt { background: #f5efe6; }
.section-title { text-align: center; font-size: clamp(1.6rem, 3.6vw, 2.3rem); font-weight: 800; line-height: 1.3; margin-bottom: clamp(24px, 4vw, 40px); }
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 1px 2px rgba(29, 36, 51, .04); }
.card h3 { font-size: 1.1rem; font-weight: 700; margin: 14px 0 4px; }
.card p { color: var(--muted); }
.icon-wrap { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); }
.icon-wrap .i { width: 24px; height: 24px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; }
.steps h3 { font-size: 1.1rem; margin: 14px 0 4px; }
.steps p { color: var(--muted); }

/* video */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.video iframe, .video-play, .video-play img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { padding: 0; border: 0; background: #000; cursor: pointer; }
.video-play img { object-fit: cover; opacity: .9; transition: opacity .2s; }
.video-play:hover img { opacity: 1; }
.play-badge {
    position: absolute; inset: 0; margin: auto; display: grid; place-items: center;
    width: 76px; height: 76px; border-radius: 50%; background: var(--brand); color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
}
.play-badge .i { width: 34px; height: 34px; }
[dir="rtl"] .play-badge .i { transform: scaleX(-1); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-item { padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: #ddd; cursor: zoom-in; aspect-ratio: 1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.05); }

/* specs */
.specs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.spec { text-align: center; padding: 22px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.spec .i { width: 30px; height: 30px; color: var(--brand); }
.spec h3 { font-size: .95rem; color: var(--muted); font-weight: 600; margin-top: 10px; }
.spec p { font-weight: 700; }

/* reviews */
.review { display: flex; flex-direction: column; gap: 10px; }
.stars { display: flex; gap: 2px; color: #f5a623; }
.review blockquote { font-size: 1.05rem; }
.review figcaption { margin-top: auto; font-weight: 700; color: var(--muted); }

/* ===== Order ===== */
.order-banner {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    max-width: 640px; margin: -12px auto 28px; padding: 10px 18px;
    background: var(--green-soft); color: var(--green); border-radius: 999px; font-weight: 700; text-align: center;
}
.order-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 24px; align-items: start; }
.form { display: grid; gap: 18px; padding: clamp(18px, 3vw, 32px); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { min-width: 0; }
.field label { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-weight: 700; font-size: .95rem; }
.field label .i { color: var(--brand); width: 1.1em; height: 1.1em; }
.field input, .field select, .field textarea {
    width: 100%; min-height: 50px; padding: 11px 14px; font-size: 16px;
    background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
    transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.field input:disabled, .field select:disabled { background: #f3efe8; color: var(--muted); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.err { display: none; margin-top: 6px; color: var(--danger); font-size: .88rem; font-weight: 600; }
.field.invalid .err { display: block; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; opacity: 0; }

.combo { position: relative; }
.combo ul {
    position: absolute; inset-inline: 0; top: calc(100% + 6px); z-index: 20;
    max-height: 280px; overflow-y: auto; padding: 6px;
    background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
}
.combo li { display: flex; flex-direction: column; padding: 9px 12px; border-radius: 10px; cursor: pointer; line-height: 1.4; }
.combo li small { color: var(--muted); font-size: .82rem; }
.combo li[aria-selected="true"], .combo li:hover { background: var(--brand-soft); }
.combo li.empty { cursor: default; color: var(--muted); }
.combo li.empty:hover { background: none; }

.qty { display: inline-flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.qty button { width: 50px; display: grid; place-items: center; border: 0; background: #f5efe6; cursor: pointer; }
.qty button:hover { background: var(--brand-soft); color: var(--brand); }
.field .qty input { width: 72px; min-height: 48px; border: 0; border-radius: 0; text-align: center; font-weight: 700; box-shadow: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.mini-total { display: none; justify-content: space-between; align-items: baseline; padding: 14px 16px; background: var(--brand-soft); border-radius: 12px; font-weight: 700; }
.mini-total strong { color: var(--brand-dark); font-size: 1.3rem; }
.form-error { padding: 12px 14px; background: #fdecea; color: var(--danger); border-radius: 12px; font-weight: 600; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: .88rem; text-align: center; }
.spinner { display: none; width: 20px; height: 20px; border: 3px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.btn.loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.summary { position: sticky; top: calc(var(--header-h) + 16px); }
.summary h3 { margin: 0 0 16px; font-size: 1.15rem; }
.summary-product { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.summary-product img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; }
.summary-product small { display: block; color: var(--muted); }
.rows { padding-block: 12px; }
.rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; }
.rows dt { color: var(--muted); }
.rows dd { margin: 0; font-weight: 700; text-align: end; }
.free { color: var(--green); }
.rows s { color: var(--muted); font-weight: 400; margin-inline-end: 6px; }
.total-row { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 2px dashed var(--line); font-weight: 700; }
.total-row strong { font-size: 1.6rem; color: var(--brand); }

/* faq */
.faq { display: grid; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq-item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 16px 20px; font-weight: 700; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .i { transition: transform .2s; color: var(--brand); }
.faq-item[open] summary .i { transform: rotate(180deg); }
.faq-item p { padding: 0 20px 18px; color: var(--muted); }

/* footer */
.site-footer { padding: 36px 0 96px; background: var(--ink); color: #cbd2de; text-align: center; }
.site-footer strong { color: #fff; font-size: 1.15rem; }
.site-footer p { margin: 4px 0 14px; }
.site-footer small { opacity: .75; }

/* sticky mobile CTA */
.sticky-cta {
    position: fixed; inset-inline: 0; bottom: 0; z-index: 40;
    display: none; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(29, 36, 51, .25);
    transform: translateY(110%); transition: transform .25s;
}
.sticky-cta small { display: block; color: var(--muted); line-height: 1.2; }
.sticky-cta strong { color: var(--brand); font-size: 1.2rem; line-height: 1.2; }
.sticky-cta.show { transform: none; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(10, 12, 18, .92); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(92vw, 900px); max-height: 86vh; border-radius: 12px; object-fit: contain; }
.lb-btn {
    position: absolute; display: grid; place-items: center; width: 48px; height: 48px;
    border: 0; border-radius: 50%; background: rgba(255, 255, 255, .15); color: #fff; cursor: pointer;
}
.lb-btn:hover { background: rgba(255, 255, 255, .3); }
.lb-close { top: 16px; inset-inline-end: 16px; }
.lb-prev { inset-inline-start: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { inset-inline-end: 12px; top: 50%; transform: translateY(-50%); }
[dir="ltr"] .lb-prev .i, [dir="ltr"] .lb-next .i { transform: scaleX(-1); }

/* reveal animation */
.reveal-ready .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal-ready .reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-media { order: -1; }
    .hero-media img { aspect-ratio: 4 / 3; object-position: center 60%; }
    .grid-3, .steps { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .specs { grid-template-columns: repeat(2, 1fr); }
    .specs .spec:last-child { grid-column: 1 / -1; }
    .order-grid { grid-template-columns: 1fr; }
    .summary { position: static; }
    .mini-total { display: flex; }
    .sticky-cta { display: flex; }
}
@media (max-width: 560px) {
    .field-row { grid-template-columns: 1fr; }
    .brand-name { display: none; }
    .hero-cta .btn { flex: 1 1 100%; }
    .promo-bar { font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .reveal-ready .reveal { opacity: 1; transform: none; }
}

/* ===== Thank-you page ===== */
.thanks { padding-block: clamp(28px, 6vw, 64px); }
.thanks-card { text-align: center; padding: clamp(22px, 4vw, 40px); }
.thanks-icon { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--green-soft); color: var(--green); }
.thanks-icon .i { width: 44px; height: 44px; }
.thanks-card h1 { margin-top: 18px; font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 800; }
.thanks-card .lead { margin: 10px auto 0; }
.order-ref { margin: 18px 0 8px; padding: 10px 16px; display: inline-block; background: var(--brand-soft); border-radius: 999px; color: var(--brand-dark); }
.details { margin: 18px 0 0; text-align: start; }
.details > div { border-bottom: 1px solid var(--line); }
.thanks-card .total-row { margin: 8px 0 26px; }

/* ===== Payment ===== */
[hidden] { display: none !important; }
.combo li.empty.action { cursor: pointer; color: var(--brand); font-weight: 600; }
.hint { margin: -2px 0 8px; color: var(--muted); font-size: .88rem; }
.pay { margin: 0; padding: 18px; min-width: 0; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fdfbf8; display: grid; gap: 14px; }
.pay legend { display: inline-flex; align-items: center; gap: 8px; padding-inline: 8px; font-weight: 800; }
.pay legend .i { color: var(--brand); }
.pay-notice { color: var(--muted); font-size: .95rem; }
.pay-notice-strong { padding: 10px 14px; background: #fff4e0; color: #8a5200; border-radius: 12px; font-weight: 700; }
.pay-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pay-card, .pay-mode {
    position: relative; display: flex; flex-direction: column; gap: 2px; padding: 14px 16px;
    background: #fff; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .2s, background-color .2s;
}
.pay-card input, .pay-mode input { position: absolute; opacity: 0; pointer-events: none; }
.pay-card small { color: var(--muted); line-height: 1.5; }
.pay-card.selected, .pay-mode.selected { border-color: var(--brand); background: var(--brand-soft); }
.pay-card:focus-within, .pay-mode:focus-within { outline: 3px solid var(--brand); outline-offset: 2px; }
.pay-card:only-of-type { grid-column: 1 / -1; }
.instapay-box { display: grid; gap: 14px; padding-top: 4px; }
.insta-to { padding: 12px 14px; background: var(--green-soft); color: var(--green); border-radius: 12px; font-weight: 600; }
.insta-to strong { font-size: 1.05rem; user-select: all; }
.pay-modes { display: grid; gap: 10px; }
.pay-mode { flex-direction: row; align-items: center; font-weight: 600; }
.pay-remaining { color: var(--muted); font-weight: 600; }
.field input[type="file"] { padding: 9px 12px; min-height: 50px; background: #fff; }
.field input[type="file"] + input { margin-top: 10px; }
.rows-pay { padding-top: 6px; border-top: 1px solid var(--line); margin-top: 10px; }

@media (max-width: 560px) {
    .pay-options { grid-template-columns: 1fr; }
}
.pay-note:not(:empty) { margin-top: 14px; padding: 12px 16px; background: var(--green-soft); color: var(--green); border-radius: 12px; font-weight: 600; }
.insta-link { display: inline-block; margin-top: 8px; padding: 8px 16px; background: var(--green); color: #fff; border-radius: 999px; font-weight: 700; font-size: .92rem; }
.insta-link:hover { background: #086348; }

/* ===== Nutrition facts ===== */
.section-sub { max-width: 640px; margin: -18px auto 26px; text-align: center; color: var(--muted); }
.nutrition-card {
    position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line);
    border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow); cursor: zoom-in;
}
.nutrition-card img { width: 100%; height: auto; }
.zoom-hint {
    display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 12px;
    background: #f5efe6; color: var(--muted); font-size: .9rem; font-weight: 600; border-top: 1px solid var(--line);
}
.lightbox.zoomable { display: block; overflow: auto; padding: 56px 12px 24px; text-align: center; -webkit-overflow-scrolling: touch; }
.lightbox.zoomable[hidden] { display: none; }
.lightbox.zoomable img { max-width: none; max-height: none; width: max(100%, 900px); margin-inline: auto; background: #fff; }
.lightbox.zoomable .lb-close { position: fixed; }
@media (min-width: 1000px) {
    .lightbox.zoomable img { width: min(100%, 1100px); }
}
