/* مَسند — storefront. Colors / fonts / radius / light-dark mode come from the admin panel at runtime. */

:root {
  --bg: #050a1c;
  --bg2: #0a1433;
  --primary: #3d5afe;
  --accent: #38bdf8;
  --text: #eef1ff;
  --muted: #97a1c4;
  --radius: 22px;
  --font: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --font-head: var(--font);

  /* surfaces (dark mode) */
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --surface: rgba(255, 255, 255, .04);
  --surface-2: rgba(255, 255, 255, .08);
  --glass: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  --glass-solid: rgba(14, 22, 52, .9);
  --input: rgba(5, 10, 28, .45);
  --media: #f3f5ff;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .75);
  --inset: inset 0 1px 0 rgba(255,255,255,.06);
  --danger: #ff6b7a;
  --ok: #34d399;
  --max: 1220px;
  --gutter: clamp(16px, 4vw, 40px);
}
body.light {
  --line: rgba(15, 23, 60, .08);
  --line-2: rgba(15, 23, 60, .14);
  --surface: rgba(15, 23, 60, .03);
  --surface-2: rgba(15, 23, 60, .06);
  --glass: #ffffff;
  --glass-solid: rgba(255, 255, 255, .96);
  --input: #ffffff;
  --shadow: 0 18px 50px -24px rgba(20, 30, 80, .22);
  --inset: none;
  --danger: #d92d3a;
  --ok: #12a150;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--primary); color: #fff; }
[hidden] { display: none !important; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hl { background: linear-gradient(90deg, var(--accent), var(--primary)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.icon { display: inline-grid; place-items: center; flex: none; }
.icon svg { width: 100%; height: 100%; }

@media (max-width: 767px) { .hide-m { display: none !important; } }
@media (min-width: 768px) { .hide-d { display: none !important; } }

/* Ambient glow */
.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ambient::before, .ambient::after { content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.ambient::before { width: 60vw; height: 60vw; top: -25vw; inset-inline-end: -15vw; background: radial-gradient(circle, color-mix(in srgb, var(--primary) 60%, transparent), transparent 70%); }
.ambient::after { width: 50vw; height: 50vw; bottom: -25vw; inset-inline-start: -20vw; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%); }
body.light .ambient::before, body.light .ambient::after { opacity: .18; }
body.no-glow .ambient { display: none; }

.boot { min-height: 100vh; display: grid; place-items: center; }
.boot span { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Header ---------- */
.announce { text-align: center; font-size: 13px; padding: 8px var(--gutter); color: #fff;
  background: linear-gradient(90deg, color-mix(in srgb, var(--primary) 70%, #000), var(--primary), color-mix(in srgb, var(--primary) 70%, #000)); }
.header { position: sticky; top: 0; z-index: 40; padding-block: 12px; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.header.scrolled { background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(18px) saturate(160%); border-bottom-color: var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 52px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; }
.logo img { width: auto; }
body:not(.light) .logo.on-dark img { filter: brightness(0) invert(1); }
.nav { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.nav a { padding: 6px 16px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: color .2s, background .2s; }
.nav a:hover { color: var(--text); background: var(--surface-2); }
.header-end { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; place-items: center; }
.menu-btn svg { width: 20px; height: 20px; }
@media (max-width: 860px) {
  .nav { position: fixed; inset: 76px var(--gutter) auto; flex-direction: column; border-radius: 20px; padding: 10px; background: var(--glass-solid); backdrop-filter: blur(20px); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: all .25s; }
  .nav.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav a { padding: 12px 16px; font-size: 16px; }
  .menu-btn { display: grid; }
  .header-end .btn { display: none; }
}

/* ---------- Buttons & chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap; transition: transform .15s, box-shadow .25s, background .25s, border-color .25s; }
.btn:active { transform: scale(.97); }
.btn-primary { background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 85%, #fff), var(--primary)); color: #fff; box-shadow: 0 10px 30px -8px color-mix(in srgb, var(--primary) 70%, transparent), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover { box-shadow: 0 14px 40px -6px color-mix(in srgb, var(--primary) 85%, transparent), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-ghost { background: var(--surface); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: color-mix(in srgb, var(--text) 35%, transparent); background: var(--surface-2); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn .arrow { width: 34px; height: 34px; margin-inline-end: -14px; border-radius: 50%; background: #fff; color: var(--primary); display: grid; place-items: center; }
.btn .arrow svg { width: 16px; height: 16px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 999px; font-size: 13px; color: var(--muted); background: var(--surface); border: 1px solid var(--line-2); }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.chip { border: 1px solid var(--line-2); background: var(--surface); border-radius: 999px; padding: 7px 18px; font-size: 14px; cursor: pointer; color: var(--muted); transition: all .2s; white-space: nowrap; }
.chip:hover { color: var(--text); border-color: color-mix(in srgb, var(--text) 30%, transparent); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.glass { background: var(--glass); border: 1px solid var(--line-2); border-radius: var(--radius); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); box-shadow: var(--shadow), var(--inset); }
body.light .glass { border-color: var(--line); }
.circle-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #0b1230; box-shadow: 0 4px 14px rgba(0,0,0,.15); flex: none; transition: transform .2s; }
.circle-btn svg { width: 18px; height: 18px; }

/* price block */
.price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price s { color: var(--muted); font-weight: 400; margin-inline-start: 8px; font-size: .85em; }
.off { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: color-mix(in srgb, var(--ok) 18%, transparent); color: var(--ok); vertical-align: middle; margin-inline-start: 8px; }
.badge { position: absolute; top: 10px; inset-inline-start: 10px; z-index: 2; font-size: 12px; font-weight: 600; padding: 3px 12px; border-radius: 999px; background: var(--primary); color: #fff; }
.badge.out { background: #1c2340; color: #c9d0ec; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(28px, 6vw, 64px); isolation: isolate; }
.hero-stripes { position: absolute; inset: -140px 0 0; z-index: -1; pointer-events: none; opacity: .8;
  background: repeating-linear-gradient(90deg, transparent 0px, color-mix(in srgb, var(--primary) 45%, transparent) 34px, transparent 68px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.35) 35%, #000 80%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.35) 35%, #000 80%, transparent 100%); }
.hero-stripes::after { content: ""; position: absolute; inset: auto 10% 0; height: 50%; background: radial-gradient(ellipse at 50% 100%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 70%); filter: blur(40px); }
body.light .hero-stripes { opacity: .25; }
body.no-stripes .hero-stripes { display: none; }
.hero-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.hero h1 { margin: 0; font-size: clamp(34px, 6vw, 72px); line-height: 1.15; font-weight: 700; letter-spacing: -.01em; max-width: 16ch; }
.hero-sub { margin: 0; max-width: 56ch; color: var(--muted); font-size: clamp(16px, 1.6vw, 18px); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ---------- Showcase (3 products, center larger) ---------- */
.showcase { position: relative; margin-top: clamp(36px, 5vw, 64px); overflow-x: clip; padding-block: 10px 6px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
html { overflow-x: clip; }
.sc-track { position: relative; height: var(--sc-h, 560px); }
.sc-card { position: absolute; top: 0; left: 50%; width: var(--sc-w, 380px); padding: 12px; display: flex; flex-direction: column;
  transform: translateX(-50%) scale(.78); opacity: 0; pointer-events: none; transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .45s, filter .45s; }
.sc-card.is-center { transform: translateX(-50%) scale(1); opacity: 1; pointer-events: auto; z-index: 3; }
.sc-card.is-right { transform: translateX(calc(-50% + var(--sc-gap, 360px))) scale(.8); opacity: .85; pointer-events: auto; z-index: 2; filter: saturate(.85); }
.sc-card.is-left  { transform: translateX(calc(-50% - var(--sc-gap, 360px))) scale(.8); opacity: .85; pointer-events: auto; z-index: 2; filter: saturate(.85); }
.sc-media { position: relative; aspect-ratio: 1; border-radius: calc(var(--radius) - 6px); overflow: hidden; background: var(--media); }
.sc-media img { width: 100%; height: 100%; object-fit: cover; }
.sc-body { padding: 16px 8px 6px; display: grid; gap: 6px; }
.sc-body h3 { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.sc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.sc-foot .price { font-size: 20px; }
.sc-foot .btn { height: 44px; padding: 0 20px; }
.sc-card.is-center { box-shadow: 0 40px 90px -30px color-mix(in srgb, var(--primary) 70%, transparent), var(--inset); border-color: color-mix(in srgb, var(--accent) 40%, var(--line-2)); }
.sc-nav { position: absolute; top: 40%; z-index: 4; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--glass-solid); color: var(--text); display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(10px); }
.sc-nav svg { width: 18px; height: 18px; }
.sc-nav.prev { right: 0; }
.sc-nav.next { left: 0; }
.sc-dots { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.sc-dots button { width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0; background: var(--line-2); cursor: pointer; transition: width .3s, background .3s; }
.sc-dots button[aria-current="true"] { width: 26px; background: var(--accent); }
.showcase { --sc-w: 380px; --sc-gap: 420px; }
@media (max-width: 1150px) { .showcase { --sc-w: 340px; --sc-gap: 340px; } }
@media (max-width: 900px) { .showcase { --sc-w: 300px; --sc-gap: 270px; } }
@media (max-width: 560px) {
  .showcase { --sc-w: min(78vw, 320px); --sc-gap: 62vw; --sc-h: auto; }
  .sc-track { height: auto; min-height: 120px; }
  .sc-card.is-center { position: relative; left: auto; transform: none; margin-inline: auto; }
  .sc-card.is-left, .sc-card.is-right { transform: translateX(calc(-50% + var(--dir, 1) * var(--sc-gap))) scale(.82); opacity: .5; }
  .sc-card.is-left { --dir: -1; }
  .sc-nav { display: none; }
  .sc-body h3 { font-size: 16px; }
}
body.anim .sc-card.is-center .sc-media img { animation: drift 9s ease-in-out infinite; }
@keyframes drift { 50% { transform: scale(1.04); } }

/* ---------- Banners ---------- */
.banner-slot { margin-block: clamp(20px, 3vw, 36px); }
.banner-slot.slot-top { margin-top: 18px; }
.bn { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface); isolation: isolate; }
.bn-track { display: flex; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.bn.fade .bn-track { display: grid; }
.bn.fade .bn-slide { grid-area: 1 / 1; opacity: 0; transition: opacity .7s; }
.bn.fade .bn-slide.on { opacity: 1; z-index: 1; }
.bn-slide { position: relative; flex: 0 0 100%; aspect-ratio: var(--ar-d); }
@media (max-width: 767px) { .bn-slide { aspect-ratio: var(--ar-m); } }
.bn-slide picture, .bn-slide img { width: 100%; height: 100%; display: block; }
.bn-slide img { object-fit: var(--fit, cover); background: var(--fill, transparent); }
.bn-slide > a.bn-link { position: absolute; inset: 0; z-index: 2; }
.bn-copy { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: clamp(18px, 4vw, 56px); max-width: 640px; color: #fff; pointer-events: none; }
.bn-copy.c-center { inset-inline: 0; margin-inline: auto; align-items: center; text-align: center; }
.bn-copy.c-end { inset-inline-start: auto; }
.bn-slide.shade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, rgba(5,10,28,.65), rgba(5,10,28,.1) 70%); }
.bn-copy h3 { margin: 0; font-size: clamp(20px, 3.4vw, 40px); line-height: 1.25; }
.bn-copy p { margin: 0; font-size: clamp(14px, 1.6vw, 17px); opacity: .9; }
.bn-copy .btn { pointer-events: auto; align-self: flex-start; height: 44px; position: relative; z-index: 3; }
.bn-copy.c-center .btn { align-self: center; }
.bn-price { display: inline-flex; align-items: baseline; gap: 10px; font-weight: 700; font-size: clamp(18px, 2.4vw, 28px); }
.bn-price s { font-size: .6em; opacity: .7; font-weight: 400; }
.bn-arrow { position: absolute; top: 50%; translate: 0 -50%; z-index: 4; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: #0b1230; display: grid; place-items: center; cursor: pointer; }
.bn-arrow svg { width: 16px; height: 16px; }
.bn-arrow.prev { right: 12px; }
.bn-arrow.next { left: 12px; }
.bn-dots { position: absolute; bottom: 12px; inset-inline: 0; z-index: 4; display: flex; justify-content: center; gap: 6px; }
.bn-dots button { width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0; background: rgba(255,255,255,.5); cursor: pointer; transition: width .3s; }
.bn-dots button[aria-current="true"] { width: 22px; background: #fff; }

/* ---------- Values strip ---------- */
.values { margin-top: clamp(36px, 5vw, 72px); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px; }
.value { display: flex; gap: 14px; align-items: center; padding: 18px 20px; }
.value + .value { border-inline-start: 1px solid var(--line); }
.value .icon { width: 44px; height: 44px; border-radius: 14px; padding: 11px; color: var(--accent); background: color-mix(in srgb, var(--primary) 16%, transparent); border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent); }
.value h3 { margin: 0; font-size: 15px; font-weight: 600; }
.value p { margin: 0; font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .values-grid { grid-template-columns: 1fr 1fr; } .value:nth-child(3) { border-inline-start: 0; } .value:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .value { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; } .value p { display: none; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(52px, 8vw, 110px); position: relative; }
.section-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: clamp(26px, 4vw, 48px); }
.section-head h2 { margin: 0; font-size: clamp(26px, 3.8vw, 44px); line-height: 1.25; font-weight: 700; max-width: 22ch; }
.section-head p { margin: 0; color: var(--muted); max-width: 56ch; }

.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { padding: 26px; transition: transform .3s, border-color .3s; }
.feature:hover { transform: translateY(-4px); }
.feature .icon { width: 50px; height: 50px; border-radius: 50%; padding: 13px; color: var(--accent); background: var(--surface-2); border: 1px solid var(--line-2); margin-bottom: 36px; }
.feature h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }
.feature.featured { color: #fff; background: linear-gradient(160deg, color-mix(in srgb, var(--primary) 95%, #fff 5%), color-mix(in srgb, var(--primary) 60%, #000)); border-color: color-mix(in srgb, var(--primary) 70%, #fff); box-shadow: 0 30px 70px -20px color-mix(in srgb, var(--primary) 70%, transparent); }
.feature.featured .icon { color: #fff; background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.25); }
.feature.featured p { color: rgba(255,255,255,.82); }
@media (max-width: 1000px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .features-grid { gap: 10px; } .feature { padding: 18px; } .feature .icon { margin-bottom: 18px; width: 42px; height: 42px; padding: 10px; } .feature h3 { font-size: 15px; } .feature p { font-size: 13px; } }

.filters { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
@media (max-width: 640px) { .filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); } .filters::-webkit-scrollbar { display: none; } }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 22px); }
@media (max-width: 1050px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .grid { grid-template-columns: repeat(2, 1fr); } }
.card { display: flex; flex-direction: column; padding: 10px; transition: transform .3s, border-color .3s; }
.card:hover { transform: translateY(-4px); }
.card-media { position: relative; aspect-ratio: 1; border-radius: calc(var(--radius) - 8px); overflow: hidden; background: var(--media); }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s, transform .6s; }
.card-media img + img { opacity: 0; }
@media (hover: hover) { .card:hover .card-media img + img { opacity: 1; } .card:hover .card-media img:first-child { transform: scale(1.04); } }
.card-body { padding: 14px 6px 6px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-cat { font-size: 12px; color: var(--accent); }
.card-title { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.55; flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.card .circle-btn { width: 36px; height: 36px; background: var(--surface-2); color: var(--text); box-shadow: none; border: 1px solid var(--line-2); }
.card:hover .circle-btn { background: var(--primary); border-color: var(--primary); color: #fff; }
@media (max-width: 480px) { .card-title { font-size: 14px; } .card .circle-btn { display: none; } }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px; }
.stat + .stat { border-inline-start: 1px solid var(--line); }
.stat .label { color: var(--muted); font-size: 14px; }
.stat .num { font-size: clamp(28px, 4vw, 42px); font-weight: 700; line-height: 1.2; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-inline-start: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } .stat { padding: 20px; } }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.about h2 { margin: 16px 0; font-size: clamp(26px, 3.8vw, 42px); line-height: 1.3; }
.about p { color: var(--muted); font-size: 17px; margin: 0 0 26px; white-space: pre-line; }
.about-media { position: relative; aspect-ratio: 5 / 4; padding: 10px; }
.about-media img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--radius) - 6px); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { padding: 0 24px; border-radius: 18px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--muted); font-weight: 400; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--text); }
.faq details p { margin: 0 0 20px; color: var(--muted); white-space: pre-line; }

.cta-band { position: relative; overflow: hidden; text-align: center; padding: clamp(40px, 7vw, 80px) var(--gutter); border-radius: calc(var(--radius) + 10px); color: #fff;
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 90%, #fff 10%), color-mix(in srgb, var(--primary) 55%, #000)); }
.cta-band h2 { margin: 0 0 10px; font-size: clamp(26px, 4vw, 42px); }
.cta-band p { margin: 0 0 26px; color: rgba(255,255,255,.85); }
.cta-band .btn { background: #fff; color: #0b1230; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); margin-top: clamp(40px, 6vw, 80px); padding-block: 56px 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.footer h4 { margin: 0 0 14px; font-size: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a, .footer button.linklike { color: var(--muted); transition: color .2s; }
.footer a:hover, .footer button.linklike:hover { color: var(--text); }
.footer p { color: var(--muted); max-width: 36ch; margin: 14px 0 18px; }
.linklike { background: none; border: 0; padding: 0; cursor: pointer; font-size: inherit; text-align: start; }
.socials { display: flex; gap: 8px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); background: var(--surface); }
.socials a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

.wa-float { position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 35; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -6px rgba(37,211,102,.6); }
.wa-float svg { width: 28px; height: 28px; }
@media (max-width: 920px) { body.pdp-page .wa-float { bottom: 96px; } }

/* ---------- Product landing pages (page builder) ----------
   Page-level variables come from the page design (dark Masned theme by default);
   section-level --sx-* variables come from each section's own settings. */
.crumbs { font-size: 13px; color: var(--muted); padding-block: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--text); }
body.lp-page { background: var(--bg); --line: color-mix(in srgb, var(--lp-border-c) 14%, transparent); --line-2: color-mix(in srgb, var(--lp-border-c) 24%, transparent);
  --surface: color-mix(in srgb, var(--lp-surface) 70%, transparent); --surface-2: var(--lp-surface2); --input: color-mix(in srgb, var(--bg) 70%, var(--lp-surface)); --media: var(--lp-frame); }
body.lp-page .ambient { display: none; }
body.lp-page .glass { background: var(--lp-surface); backdrop-filter: none; }
body.lp-page .btn-primary { background: var(--accent); color: var(--lp-on-accent); box-shadow: 0 10px 28px -14px color-mix(in srgb, var(--accent) 70%, transparent); }
body.lp-page .header.scrolled { background: color-mix(in srgb, var(--bg) 88%, transparent); }
.lp-wrap, .lp-main .crumbs { max-width: var(--lp-max, 1160px); margin-inline: auto; padding-inline: var(--gutter); }
.lp-flow { display: flex; flex-direction: column; }
@media (max-width: 767px) { .lp-flow.has-mobile-order > * { order: var(--mo, 999); } }

/* section box */
.lps { padding-top: calc(var(--sx-pt, 48px) * var(--lp-gap, 1)); padding-bottom: calc(var(--sx-pb, 48px) * var(--lp-gap, 1)); margin-top: var(--sx-mt, 0); margin-bottom: var(--sx-mb, 0);
  color: var(--sx-text, var(--text)); }
.lps-in { max-width: var(--lp-max, 1160px); margin-inline: auto; padding-inline: var(--gutter); }
.lps.w-narrow > .lps-in { max-width: min(760px, var(--lp-max)); }
.lps.w-wide > .lps-in { max-width: min(1400px, 100%); }
.lps.w-full > .lps-in { max-width: none; padding-inline: 0; }
.lps.has-bg > .lps-in { background: var(--sx-bg); border-radius: var(--sx-radius, var(--radius)); padding: calc(28px * var(--lp-gap, 1)) clamp(18px, 4vw, 48px); max-width: calc(var(--lp-max, 1160px) - 2 * var(--gutter)); }
.lps.has-bg.w-full > .lps-in { border-radius: 0; max-width: none; }
.lps.bd-subtle > .lps-in, body.lp-bd-subtle .lps.has-bg:not([class*="bd-"]) > .lps-in { border: 1px solid var(--line); }
.lps.bd-strong > .lps-in { border: 1.5px solid color-mix(in srgb, var(--lp-border-c) 40%, transparent); }
.lps.bd-none > .lps-in { border: 0; }
.lps.sh-soft > .lps-in { box-shadow: 0 20px 50px -30px rgba(0,0,0,.6); }
.lps.sh-deep > .lps-in { box-shadow: 0 30px 80px -24px rgba(0,0,0,.8); }
.lps.al-start .lp-head, .lps.al-start .lp-hero-copy, .lps.al-start .lp-content { text-align: start; align-items: flex-start; margin-inline: 0; }
.lps.al-center .lp-head, .lps.al-center .lp-content, .lps.al-center .lp-split-copy { text-align: center; }
.lps.al-end .lp-head, .lps.al-end .lp-content { text-align: end; margin-inline-start: auto; margin-inline-end: 0; }
.lp-head { text-align: center; margin: 0 auto calc(30px * var(--lp-gap, 1)); max-width: 720px; }
.lp-title { margin: 0; color: var(--sx-heading, var(--lp-heading, var(--text))); font-size: clamp(24px, 3.3vw, 38px); line-height: 1.25; font-weight: var(--sx-tw, 650); letter-spacing: -.01em; }
.ts-s .lp-title { font-size: clamp(20px, 2.4vw, 26px); }
.ts-l .lp-title { font-size: clamp(28px, 4.2vw, 48px); }
.ts-xl .lp-title { font-size: clamp(32px, 5.4vw, 62px); }
.lp-sub { margin: 10px auto 0; color: var(--muted); max-width: 60ch; }
.lps h3 { color: var(--sx-heading, var(--lp-heading, var(--text))); }
.lp-empty { text-align: center; color: var(--muted); padding: 24px; border: 1px dashed var(--line-2); border-radius: var(--radius); }
.lp-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 10px; }
.lp-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.lp-chip.muted { color: var(--muted); background: var(--surface); border-color: var(--line-2); }

/* buttons */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap;
  background: var(--accent); color: var(--lp-on-accent); border: 1px solid transparent; border-radius: 999px; transition: transform .15s, filter .2s, box-shadow .2s;
  box-shadow: 0 12px 30px -16px color-mix(in srgb, var(--accent) 80%, transparent); }
.lp-btn:hover { filter: brightness(1.06); }
.lp-btn:active { transform: scale(.98); }
.lp-btn .arrow { width: 32px; height: 32px; margin-inline-end: -14px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--lp-on-accent) 14%, transparent); }
.lp-btn .arrow svg { width: 15px; height: 15px; }
.lp-btn.ghost { background: transparent; color: var(--text); border-color: var(--line-2); box-shadow: none; }
body.lp-btn-rounded .lp-btn, body.lp-btn-rounded.lp-page .btn { border-radius: 12px; }
body.lp-btn-square .lp-btn, body.lp-btn-square.lp-page .btn { border-radius: 4px; }

/* media frames: each image sits on a frame chosen per page / per section */
.lp-media { position: relative; border-radius: var(--lp-img-r, 18px); overflow: hidden; aspect-ratio: var(--sx-ratio, auto); background: var(--sx-frame, var(--frame-c, transparent)); }
.lp-media img { width: 100%; height: 100%; object-fit: var(--sx-fit, cover); display: block; }
body.lp-if-frame .lp-media, .lps.if-frame .lp-media { --frame-c: var(--lp-frame); padding: 0; }
body.lp-if-tint .lp-media, .lps.if-tint .lp-media { --frame-c: color-mix(in srgb, #f2e9fb 16%, var(--lp-surface)); }
body.lp-if-surface .lp-media, .lps.if-surface .lp-media { --frame-c: var(--lp-surface); }
body.lp-if-none .lp-media, .lps.if-none .lp-media { --frame-c: transparent; }
.lps.if-custom .lp-media { --frame-c: var(--sx-frame); }
.ratio-auto .lp-media { aspect-ratio: auto; }
.lp-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--lp-img-r, 18px); overflow: hidden; background: #000; }
.lp-video iframe, .lp-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* hero */
.lp-hero { display: grid; gap: clamp(22px, 4vw, 56px); align-items: center; }
.lp-hero.split { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.lp-hero.split.media-end .lp-hero-media { order: 2; }
.lp-hero.split.size-s { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.lp-hero.split.size-l { grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); }
.lp-hero.centered { grid-template-columns: minmax(0, 1fr); text-align: center; }
.lp-hero.centered .lp-hero-copy { order: -1; align-items: center; max-width: 760px; margin-inline: auto; }
.lp-hero.centered .lp-hero-media { width: min(100%, 520px); margin-inline: auto; }
.lp-hero.centered.size-s .lp-hero-media { width: min(100%, 380px); }
.lp-hero.centered.size-l .lp-hero-media { width: min(100%, 760px); }
.lp-hero.malign-start .lp-hero-media { align-self: start; }
.lp-hero.malign-end .lp-hero-media { align-self: end; }
.lp-hero-media .lp-media { aspect-ratio: var(--sx-ratio, 1); }
.lp-hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.lp-name { margin: 0; color: var(--muted); font-size: 14px; }
.lp-h1 { margin: 0; font-size: clamp(30px, 4.6vw, 54px); line-height: 1.15; font-weight: 700; letter-spacing: -.015em; color: var(--sx-heading, var(--lp-heading, var(--text))); }
.lp-lead { margin: 0; color: var(--muted); font-size: clamp(15px, 1.6vw, 18px); max-width: 56ch; white-space: pre-line; }
.lp-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; }
.lp-price .now { font-size: clamp(26px, 3vw, 34px); font-weight: 700; color: var(--sx-heading, var(--lp-heading)); font-variant-numeric: tabular-nums; }
.lp-price s { color: var(--muted); }
.lp-price .off { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; color: #dfeedd; background: color-mix(in srgb, var(--lp-accent2, #6d8765) 45%, transparent); }
body.light .lp-price .off { color: #2c4426; background: color-mix(in srgb, #6d8765 22%, transparent); }
.lp-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.lp-hero.centered .lp-ctas { justify-content: center; }
.pdp-options { display: grid; gap: 14px; }
.opt-label { font-size: 14px; margin-bottom: 8px; }
.opt-label span { color: var(--muted); }
.opts { display: flex; gap: 8px; flex-wrap: wrap; }
.perks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 4px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.perks li { display: flex; gap: 8px; align-items: center; }
.perks .icon { width: 18px; height: 18px; color: var(--accent); }
.lp-stats { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.lp-stat { flex: 1 1 130px; max-width: 220px; display: grid; gap: 2px; text-align: center; padding: 16px 12px; border-radius: var(--radius); background: var(--lp-surface); border: 1px solid var(--line); }
.lp-stat b { font-size: clamp(22px, 3vw, 30px); font-weight: 600; color: var(--sx-heading, var(--lp-heading)); font-variant-numeric: tabular-nums; }
.lp-stat span { font-size: 12px; color: var(--muted); }
.countdown .cd-title { flex-basis: 100%; text-align: center; font-size: 13px; color: var(--muted); }
@media (max-width: 860px) {
  .lp-hero.split, .lp-hero.split.size-s, .lp-hero.split.size-l { grid-template-columns: minmax(0, 1fr); }
  .lp-hero.split.media-end .lp-hero-media { order: 0; }
  .lp-stat { flex-basis: 40%; }
}

/* galleries */
.lp-gal { display: grid; gap: 10px; }
.lp-gal-main { position: relative; display: grid; }
.lp-gal-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .35s; }
.lp-gal-slide.on { opacity: 1; visibility: visible; }
.lp-gal-slide .lp-media { aspect-ratio: var(--sx-ratio, 1); }
.lp-gal-nav { position: absolute; top: 50%; translate: 0 -50%; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  background: color-mix(in srgb, var(--bg) 70%, transparent); color: var(--text); backdrop-filter: blur(6px); }
.lp-gal-nav svg { width: 17px; height: 17px; }
.lp-gal-nav.prev { right: 10px; } .lp-gal-nav.next { left: 10px; }
.lp-gal-count { position: absolute; bottom: 10px; inset-inline-start: 10px; z-index: 2; font-size: 12px; padding: 2px 10px; border-radius: 999px; background: color-mix(in srgb, var(--bg) 70%, transparent); }
.lp-gal-thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.lp-thumb { flex: none; width: 64px; height: 64px; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: var(--lp-frame); cursor: pointer; opacity: .55; color: var(--text); }
.lp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lp-thumb[aria-current="true"] { border-color: var(--accent); opacity: 1; }
.lp-grid { display: grid; gap: 14px; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.lp-grid.cols-2 { --cols: 2; } .lp-grid.cols-3 { --cols: 3; } .lp-grid.cols-4 { --cols: 4; }
.lp-fig { margin: 0; }
.lp-fig .lp-media { aspect-ratio: var(--sx-ratio, 4 / 3); }
.lp-fig figcaption { padding: 8px 4px 0; color: var(--muted); font-size: 14px; }
.lp-fig.half { max-width: 50%; margin-inline: auto; }
.lp-slider { position: relative; }
.lp-slider-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.lp-slider-track::-webkit-scrollbar { display: none; }
.lp-slider-track .lp-fig { flex: 0 0 min(78%, 520px); scroll-snap-align: center; }
@media (max-width: 640px) { .lp-grid { --cols: 2 !important; } }

/* problem / solution & generic split */
.lp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.lp-split.no-media { grid-template-columns: minmax(0, 1fr); max-width: 820px; margin-inline: auto; }
.lp-split.media-end .lp-split-media { order: 2; }
.lp-split.media-top { grid-template-columns: minmax(0, 1fr); }
.lp-split-copy { display: grid; gap: 16px; }
.lp-pblock { padding: 20px 22px; border-radius: var(--radius); background: var(--lp-surface); border: 1px solid var(--line); display: grid; gap: 10px; justify-items: start; }
.lp-pblock p { margin: 0; color: var(--muted); white-space: pre-line; }
.lp-pblock.solution { border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.lp-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lp-points li { display: flex; gap: 10px; align-items: flex-start; }
.lp-points .icon { width: 18px; height: 18px; color: var(--accent); margin-top: 4px; }
.problem .lp-points .icon { color: var(--muted); }
@media (max-width: 760px) { .lp-split { grid-template-columns: minmax(0, 1fr); } .lp-split.media-end .lp-split-media { order: 0; } }

/* features */
.lp-feats { display: grid; gap: 14px; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.lp-feats.cols-2 { --cols: 2; } .lp-feats.cols-3 { --cols: 3; } .lp-feats.cols-4 { --cols: 4; }
.lp-feat { display: grid; gap: 14px; align-content: start; }
.lp-feat h3 { margin: 0 0 4px; font-size: 17px; font-weight: 600; }
.lp-feat p { margin: 0; color: var(--muted); font-size: 14px; }
.lp-feat .lp-media { aspect-ratio: var(--sx-ratio, 16 / 10); }
.lp-ic { width: 46px; height: 46px; padding: 11px; border-radius: 14px; display: grid; place-items: center; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.lp-ic svg { width: 100%; height: 100%; }
.lp-feats.style-cards .lp-feat { padding: 22px; border-radius: var(--radius); background: var(--lp-surface); border: 1px solid var(--line); }
.lp-feats.style-minimal .lp-feat { text-align: center; justify-items: center; }
.lp-feats.style-list { grid-template-columns: minmax(0, 1fr); max-width: 760px; margin-inline: auto; }
.lp-feats.style-list .lp-feat { grid-template-columns: auto 1fr; align-items: start; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
@media (max-width: 900px) { .lp-feats { --cols: 2 !important; } }
@media (max-width: 560px) { .lp-feats { --cols: 1 !important; } }

/* specs / tables */
.lp-box { background: var(--lp-surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; max-width: 880px; margin-inline: auto; }
.lp-scroll { overflow-x: auto; }
.lp-table { width: 100%; border-collapse: collapse; }
.lp-table th, .lp-table td { padding: 14px 18px; text-align: start; border-bottom: 1px solid var(--line); font-size: 15px; }
.lp-table th { color: var(--muted); font-weight: 500; width: 40%; }
.lp-table thead th { color: var(--sx-heading, var(--lp-heading)); font-weight: 700; background: var(--lp-surface2); }
.lp-table tr:last-child > * { border-bottom: 0; }
.lp-speclist { margin: 0; padding: 8px 22px; }
.lp-speclist div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line-2); }
.lp-speclist div:last-child { border-bottom: 0; }
.lp-speclist dt { color: var(--muted); } .lp-speclist dd { margin: 0; font-weight: 600; text-align: end; }
.lp-specgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.lp-spec { display: grid; gap: 4px; padding: 18px 20px; border-inline-start: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lp-spec span { color: var(--muted); font-size: 13px; }

/* steps */
.lp-steps { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 14px; max-width: 920px; }
.lp-steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; padding: 18px 20px; border-radius: var(--radius); background: var(--lp-surface); border: 1px solid var(--line); }
.lp-steps li > .lp-media { grid-column: 1 / -1; aspect-ratio: var(--sx-ratio, 16 / 9); }
.lp-steps .n { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--lp-on-accent); background: var(--accent); }
.lp-steps h3 { margin: 4px 0 4px; font-size: 16px; } .lp-steps p { margin: 0; color: var(--muted); font-size: 14px; }
.lp-steps.layout-cards { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); max-width: none; }
.lp-steps.layout-cards li { grid-template-columns: minmax(0, 1fr); }
.lp-steps.layout-timeline li { background: none; border: 0; padding: 0 0 22px; position: relative; }
.lp-steps.layout-timeline li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 18px; top: 44px; bottom: 4px; width: 2px; background: var(--line-2); }

/* faq */
.lp-faq { display: grid; gap: 10px; max-width: 820px; margin-inline: auto; }
.lp-qa { padding: 0 22px; border-radius: calc(var(--radius) - 4px); background: var(--lp-surface); border: 1px solid var(--line); }
.lp-faq.as-list .lp-qa { padding: 18px 22px; }
.lp-faq.as-list h3 { margin: 0 0 6px; font-size: 16px; }
.lp-qa summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.lp-qa summary::-webkit-details-marker { display: none; }
.lp-qa summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--muted); transition: transform .25s; }
.lp-qa[open] summary::after { transform: rotate(45deg); }
.lp-qa p { margin: 0 0 18px; color: var(--muted); white-space: pre-line; }

/* reviews */
.lp-rating { display: flex; align-items: center; justify-content: center; gap: 10px; margin: -10px 0 22px; }
.lp-rating b { font-size: 30px; color: var(--sx-heading, var(--lp-heading)); }
.lp-rating span { color: var(--muted); font-size: 14px; }
.stars { color: #e7c46a; letter-spacing: 2px; }
.lp-reviews { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.lp-reviews.layout-list { grid-template-columns: minmax(0, 1fr); max-width: 820px; margin-inline: auto; }
.lp-review { padding: 20px 22px; border-radius: var(--radius); background: var(--lp-surface); border: 1px solid var(--line); display: grid; gap: 10px; }
.lp-review p { margin: 0; white-space: pre-line; }
.lp-review footer { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.lp-review .ver { color: #9fc79a; }
.lp-review-imgs { display: flex; gap: 6px; }
.lp-review-imgs img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }

/* trust */
.lp-trust { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.lp-trust-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--radius); background: var(--lp-surface); border: 1px solid var(--line); }
.lp-trust-item .icon { width: 40px; height: 40px; padding: 9px; border-radius: 12px; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.lp-trust-item h3 { margin: 0 0 4px; font-size: 15px; } .lp-trust-item p { margin: 0; color: var(--muted); font-size: 13px; }
.lp-links { text-align: center; margin: 16px 0 0; font-size: 14px; } .lp-links a { color: var(--accent); }

/* offer */
.lp-offer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border-radius: var(--radius); overflow: hidden; background: var(--lp-surface); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.lp-offer > .lp-media { border-radius: 0; aspect-ratio: var(--sx-ratio, 4 / 3); }
.lp-offer-copy { padding: clamp(22px, 4vw, 44px); display: grid; gap: 12px; align-content: center; justify-items: start; }
.lp-offer-copy p { margin: 0; color: var(--muted); }
.lp-offer.layout-overlay { grid-template-columns: minmax(0, 1fr); position: relative; }
.lp-offer.layout-overlay > .lp-media { grid-area: 1 / 1; aspect-ratio: var(--sx-ratio, 21 / 9); }
.lp-offer.layout-overlay .lp-offer-copy { grid-area: 1 / 1; z-index: 1; background: linear-gradient(to left, color-mix(in srgb, var(--bg) 85%, transparent), transparent 75%); }
.lp-offer:not(:has(.lp-media)) { grid-template-columns: minmax(0, 1fr); text-align: center; }
@media (max-width: 760px) { .lp-offer { grid-template-columns: minmax(0, 1fr); } }

/* free content */
.lp-content { display: grid; gap: 14px; max-width: 820px; margin-inline: auto; }
.lp-content p { margin: 0; color: var(--muted); white-space: pre-line; }
.lp-quote { margin: 0; padding: 18px 22px; border-inline-start: 3px solid var(--accent); background: var(--lp-surface); border-radius: 0 var(--radius) var(--radius) 0; }
.lp-quote p { color: var(--text); font-size: 18px; } .lp-quote cite { color: var(--muted); font-size: 13px; font-style: normal; }
.lp-hr { border: 0; border-top: 1px solid var(--line-2); margin: 8px 0; width: 100%; }

/* cta */
.lp-cta { text-align: center; padding: clamp(32px, 6vw, 60px) var(--gutter); border-radius: var(--radius); display: grid; gap: 10px; justify-items: center;
  background: radial-gradient(120% 120% at 50% 0%, color-mix(in srgb, var(--accent) 22%, var(--lp-surface)), var(--lp-surface)); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.lp-cta h2 { margin: 0; color: var(--sx-heading, var(--lp-heading)); font-size: clamp(22px, 3.2vw, 34px); }
.lp-cta p { margin: 0 0 8px; color: var(--muted); }
.lp-row { grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); grid-template-columns: none; overflow-x: auto; }

/* motion: page default + per-section override */
.rv { transition: opacity .6s ease, transform .6s ease; }
body.anim-ready.lp-an-subtle .lps.an-page .rv:not(.in), body.anim-ready .lps.an-fade .rv:not(.in) { opacity: 0; }
body.anim-ready.lp-an-normal .lps.an-page .rv:not(.in), body.anim-ready .lps.an-rise .rv:not(.in) { opacity: 0; transform: translateY(22px); }
body.anim-ready .lps.an-zoom .rv:not(.in) { opacity: 0; transform: scale(.96); }
body.edit-mode .rv { opacity: 1 !important; transform: none !important; }

/* ---------- per-text overrides + admin click-to-edit ---------- */
.tx[style*="--fs:"] { font-size: var(--fs) !important; }
@media (max-width: 767px) { .tx[style*="--fsm:"] { font-size: var(--fsm) !important; } }
.tx-hidden { opacity: .35; text-decoration: line-through; }
body.edit-mode [data-k] { cursor: pointer; outline: 1px dashed transparent; outline-offset: 3px; border-radius: 4px; transition: outline-color .15s, background .15s; }
body.edit-mode [data-k]:hover { outline-color: #f59e0b; background: rgba(245, 158, 11, .08); }
body.edit-mode [data-k].tx-focus { outline: 2px solid #f59e0b; }
body.edit-mode [data-k]:empty::before { content: "(فاضي — اضغطي للكتابة)"; opacity: .5; font-size: 12px; }
body.edit-mode .sec-off { opacity: .45; }
body.edit-mode .reveal { opacity: 1; transform: none; }
body.edit-mode .lps.sec-selected > .lps-in { outline: 2px solid #f59e0b; outline-offset: 6px; border-radius: 8px; }
.lps.sec-off { opacity: .45; }

/* ---------- Order form ---------- */
.order { max-width: 680px; margin-inline: auto; padding: clamp(20px, 3vw, 32px); scroll-margin-top: 96px; border-radius: calc(var(--radius) + 4px); }
.order h2 { margin: 0 0 4px; font-size: 24px; }
.order > p { margin: 0 0 22px; color: var(--muted); font-size: 14px; }
.order-product { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; background: var(--surface); margin-bottom: 18px; }
.order-product img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--media); }
.order-product b { display: block; font-size: 14px; line-height: 1.4; }
.order-product span { font-size: 13px; color: var(--muted); }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 14px; font-weight: 500; }
.field label .req { color: var(--danger); }
.field label .opt { color: var(--muted); font-weight: 400; font-size: 12px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .row { grid-template-columns: 1fr; } }
.input, .select, .textarea { width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; font-size: 16px; border: 1px solid var(--line-2); background: var(--input); color: var(--text); transition: border-color .2s, box-shadow .2s; }
.input::placeholder, .textarea::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); }
.textarea { height: auto; min-height: 88px; padding: 13px 16px; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; padding-inline-end: 44px; background: var(--input) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2397a1c4' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat left 16px center / 16px; }
.select option { background: var(--bg2); color: var(--text); }
body.light .select option { background: #fff; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.input[dir="ltr"] { text-align: right; }
.field.invalid .input, .field.invalid .select, .field.invalid .textarea { border-color: var(--danger); }
.err { color: var(--danger); font-size: 12px; }
.err:empty { display: none; }
.qty { justify-self: start; display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; height: 50px; background: var(--input); }
.qty button { width: 48px; height: 100%; border: 0; background: none; cursor: pointer; font-size: 20px; color: var(--muted); }
.qty button:hover { color: var(--text); }
.qty output { min-width: 32px; text-align: center; font-weight: 700; }
.totals { border-top: 1px dashed var(--line-2); margin: 10px 0 18px; padding-top: 14px; display: grid; gap: 8px; font-size: 15px; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-size: 19px; font-weight: 700; padding-top: 10px; border-top: 1px solid var(--line); margin-top: 4px; }
.secure-note { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 12px; font-size: 13px; color: var(--muted); }
.secure-note .icon { width: 16px; height: 16px; }

.buybar { position: fixed; inset-inline: 0; bottom: 0; z-index: 30; background: var(--glass-solid); backdrop-filter: blur(18px); border-top: 1px solid var(--line); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); display: none; align-items: center; gap: 14px; transform: translateY(110%); transition: transform .3s; }
.buybar.show { transform: none; }
.buybar .btn { flex: 1; height: 48px; }
@media (max-width: 920px) { .buybar { display: flex; } body.pdp-page { padding-bottom: 80px; } }

/* ---------- Thanks / pages ---------- */
.thanks { max-width: 640px; margin: clamp(32px, 6vw, 72px) auto 0; padding: clamp(24px, 5vw, 44px); text-align: center; }
.tick { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--ok), color-mix(in srgb, var(--ok) 60%, #000)); box-shadow: 0 0 0 10px color-mix(in srgb, var(--ok) 15%, transparent); }
.tick svg { width: 34px; height: 34px; }
.thanks h1 { margin: 0 0 8px; font-size: clamp(24px, 3.4vw, 34px); }
.thanks > p { color: var(--muted); margin: 0 0 26px; }
.summary { text-align: start; border-radius: 18px; padding: 18px 20px; margin: 0 0 26px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; font-size: 14px; }
.summary div { display: flex; justify-content: space-between; gap: 12px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; text-align: end; }
.steps { text-align: start; margin: 0 0 28px; }
.steps h2 { font-size: 16px; margin: 0 0 14px; }
.step { display: flex; gap: 14px; padding-bottom: 18px; position: relative; }
.step .n { width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: color-mix(in srgb, var(--primary) 25%, transparent); border: 1px solid var(--primary); }
.step:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 14px; top: 32px; bottom: 2px; width: 1px; background: var(--line-2); }
.step b { display: block; font-size: 15px; }
.step span { color: var(--muted); font-size: 14px; }
.thanks-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.btn-wa { background: #25d366; color: #06301a; }
.btn-wa svg { width: 20px; height: 20px; }
.prose { max-width: 780px; margin: clamp(24px, 5vw, 56px) auto 0; padding: clamp(24px, 5vw, 48px); }
.prose h1 { margin: 0 0 20px; font-size: clamp(26px, 3.4vw, 38px); }
.prose .body { color: var(--muted); white-space: pre-line; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }

/* consent */
.consent { position: fixed; z-index: 60; bottom: 16px; inset-inline: 16px; max-width: 560px; margin-inline: auto; padding: 16px 18px; font-size: 14px; background: var(--glass-solid); }
.consent p { margin: 0 0 12px; color: var(--muted); }
.consent a { color: var(--accent); }
.consent-actions { display: flex; gap: 8px; justify-content: flex-end; }

/* preview mode badge */
.preview-flag { position: fixed; top: 8px; left: 8px; z-index: 100; font-size: 12px; padding: 4px 10px; border-radius: 999px; background: #facc15; color: #2a2000; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
body:not(.anim) .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
