:root {
  --green: #087A5B;
  --green-dark: #064638;
  --green-light: #D8EEE4;
  --ivory: #F8F5EC;
  --gold: #C5A15A;
  --ink: #12261F;
  --muted: #4E635B;
  --line: #CFE3D9;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(6, 70, 56, .10);
  --font: "IBM Plex Sans Arabic", "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23D8EEE4' stroke-opacity='.16' stroke-width='1.4'%3E%3Crect x='22' y='22' width='36' height='36'/%3E%3Crect x='22' y='22' width='36' height='36' transform='rotate(45 40 40)'/%3E%3Cpath d='M0 40h14M66 40h14M40 0v14M40 66v14'/%3E%3C/g%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--ivory); line-height: 1.75; font-size: 16px; }
img, svg { max-width: 100%; display: block; }
a { color: var(--green); }
h1, h2, h3 { line-height: 1.35; margin: 0 0 .5em; color: var(--green-dark); }
h1 { font-size: clamp(1.9rem, 6vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 4vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; top: -100px; inset-inline-start: 16px; }
.skip:focus { top: 8px; background: var(--white); padding: 8px 12px; z-index: 10; }

/* header */
.top { background: var(--green-dark); color: var(--ivory); position: sticky; top: 0; z-index: 5; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ivory); text-decoration: none; }
.brand-mark { width: 34px; height: 34px; }
.brand-name { font-size: 1.5rem; font-weight: 700; letter-spacing: 0; }
.brand-latin { font-size: .72rem; letter-spacing: .28em; opacity: .75; direction: ltr; }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--ivory); text-decoration: none; padding: 8px 12px; border-radius: 10px; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(216, 238, 228, .14); }
.menu-btn { display: none; background: none; border: 1px solid rgba(248,245,236,.4); color: var(--ivory); border-radius: 10px; padding: 6px 12px; font: inherit; }
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; inset-inline: 0; top: 64px; background: var(--green-dark); flex-direction: column; padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
}

/* hero */
.hero { background: var(--green-dark) var(--star); background-size: 80px; color: var(--ivory); padding: 56px 0 64px; }
.hero h1 { color: var(--ivory); }
.hero p { font-size: 1.12rem; max-width: 36em; opacity: .92; }
.hero .kicker { display: inline-block; color: var(--green-dark); background: var(--green-light); border-radius: 999px; padding: 2px 14px; font-size: .85rem; margin-bottom: 14px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
@media (max-width: 760px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding: 36px 0 44px; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 22px; border-radius: 12px; font: inherit; font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: #066A4F; }
.btn-light { background: var(--ivory); color: var(--green-dark); }
.btn-outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn[disabled], .btn.is-disabled { opacity: .55; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

section { padding: 48px 0; }
.section-head { margin-bottom: 24px; }
.section-head p { color: var(--muted); }
.band { background: var(--white); }
.pattern-rule { height: 10px; background: var(--green) var(--star); background-size: 40px; }

/* product cards */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card-img { background: var(--green-light); aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 18px; }
.card-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3 { margin: 0; }
.card-body p { color: var(--muted); margin: 0; font-size: .95rem; }
.price { font-weight: 700; color: var(--green-dark); margin-top: auto; }
.badge { display: inline-block; font-size: .78rem; padding: 1px 10px; border-radius: 999px; background: #F3E9D2; color: #6B5325; width: fit-content; }
.badge.live { background: var(--green-light); color: var(--green-dark); }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); counter-reset: s; }
.steps li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; counter-increment: s; position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; transform: rotate(45deg); background: var(--green); color: var(--white); font-weight: 700; margin-bottom: 12px; }
.steps li::before { line-height: 1; }
.steps b { display: block; color: var(--green-dark); }

/* product page */
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 760px) { .pd { grid-template-columns: 1fr; gap: 20px; } }
.pd-img { background: var(--green-light); border-radius: var(--radius); padding: 28px; }
.pd-note { font-size: .82rem; color: var(--muted); margin-top: 8px; }
.specs { padding-inline-start: 1.2em; color: var(--muted); }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 14px; }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: 6px; color: var(--green-dark); }
.field input[type=text], .field input[type=number], .field textarea { width: 100%; font: inherit; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--ivory); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--green); border-color: var(--green); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; font-weight: 500; color: var(--ink); }
.chips input { position: absolute; opacity: 0; }
.chips span { display: inline-block; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; background: var(--ivory); }
.chips input:checked + span { background: var(--green); border-color: var(--green); color: var(--white); }
.chips input:focus-visible + span { outline: 2px solid var(--green-dark); outline-offset: 2px; }
.qty { display: flex; align-items: center; gap: 8px; }
.qty button { width: 44px; height: 44px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--ivory); font-size: 1.3rem; cursor: pointer; }
.qty input { width: 70px !important; text-align: center; }
.hint { font-size: .85rem; color: var(--muted); }
.alert { background: #F3E9D2; color: #5A4520; border-radius: 10px; padding: 10px 14px; font-size: .92rem; }

/* faq */
details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 4px 16px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; padding: 12px 0; color: var(--green-dark); }
details p { color: var(--muted); }

.info-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.info { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.info h3 { display: flex; gap: 8px; align-items: center; }

/* footer */
.foot { background: var(--green-dark) var(--star); background-size: 80px; color: var(--ivory); padding: 36px 0 24px; margin-top: 24px; }
.foot a { color: var(--green-light); }
.foot-grid { display: grid; gap: 20px; grid-template-columns: 2fr 1fr 1fr; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }
.foot small { opacity: .7; display: block; margin-top: 20px; }
.foot ul { list-style: none; padding: 0; margin: 0; }

.wa-float { position: fixed; inset-inline-start: 16px; bottom: 16px; z-index: 6; box-shadow: var(--shadow); border-radius: 999px; }
@media (min-width: 761px) { .wa-float { display: none; } }
.pd-img img { max-width: 340px; margin-inline: auto; }
@media (max-width: 760px) { .pd-img { padding: 16px; } .pd-img img { max-width: 240px; } body:has(.wa-float) { padding-bottom: 76px; } }
