/* كوين تشيس — تصميم "الأزرق الضبابي" (اتجاه 8) */
:root {
  --bg: #EEF3F6;
  --surface: #FFFFFF;
  --ink: #24333E;
  --sub: #71828D;
  --accent: #5B7C8D;
  --accent-deep: #48697B;
  --accent-ink: #FFFFFF;
  --soft: #E0EAF0;
  --line: #D2DEE5;
  --radius: 22px;
  --btnr: 14px;
  --bg-rgb: 238, 243, 246;
  --ink-rgb: 36, 51, 62;
  --shadow: 0 6px 18px rgba(var(--ink-rgb), .07);
  --font-head: 'Noto Sans Arabic', sans-serif;
  --font-body: 'Noto Sans Arabic', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.8;
  min-height: 100vh;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.page { max-width: 1100px; margin: 0 auto; padding: 0 16px 110px; }

/* ---------- الشريط العلوي ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px;
  background: rgba(var(--bg-rgb), .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand svg { color: var(--accent); display: block; flex: none; width: 24px; height: 24px; }
.brand .brand-en {
  font-family: var(--font-head);
  font-weight: 800; font-size: 18px; letter-spacing: .4px;
  color: var(--ink); white-space: nowrap;
}
.nav-links { display: flex; gap: 18px; font-size: 14px; color: var(--sub); align-items: center; }
.nav-links a.active { color: var(--accent); font-weight: 700; }
.cart-link {
  position: relative; display: flex; align-items: center; gap: 6px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 16px; font-size: 13px; color: var(--ink);
}
.cart-count {
  background: var(--accent); color: var(--accent-ink);
  min-width: 20px; height: 20px; border-radius: 999px;
  font-size: 11px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center; padding: 0 5px;
}

/* ---------- البانر المتحرك ---------- */
.hero {
  position: relative; margin: 18px 16px 0;
  border-radius: var(--radius); overflow: hidden;
  height: 230px; background: var(--soft);
}
@media (min-width: 720px) { .hero { height: 380px; } }
.hero .slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity .9s ease;
}
.hero .slide.on { opacity: 1; }
.hero .slide img { width: 100%; height: 100%; object-fit: cover; }
.hero .veil {
  position: absolute; inset: 0;
  background: linear-gradient(to left, rgba(var(--ink-rgb), .72) 20%, rgba(var(--ink-rgb), .15));
}
.hero .hero-in {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 26px; color: #fff;
}
.hero-title { font-family: var(--font-head); font-size: 25px; font-weight: 800; line-height: 1.6; }
@media (min-width: 720px) { .hero-title { font-size: 38px; } }
.hero-sub { font-size: 13px; opacity: .92; margin: 8px 0 16px; max-width: 340px; }
@media (min-width: 720px) { .hero-sub { font-size: 16px; max-width: 460px; } }
.hero-dots { position: absolute; bottom: 14px; left: 20px; z-index: 3; display: flex; gap: 7px; }
.hero-dots span {
  width: 8px; height: 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .45); transition: all .3s;
}
.hero-dots span.on { background: #fff; width: 22px; }

/* ---------- أزرار ---------- */
.btn {
  display: inline-block; background: var(--accent); color: var(--accent-ink);
  font-size: 14px; font-weight: 700; padding: 11px 26px;
  border-radius: var(--btnr); text-align: center; border: none;
  transition: background .2s;
}
.btn:hover { background: var(--accent-deep); }
.btn.block { display: block; width: 100%; padding: 15px; font-size: 15px; }
.btn.ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.btn:disabled { opacity: .55; cursor: default; }

/* ---------- شريط المزايا ---------- */

/* ---------- عناوين الأقسام والفلاتر ---------- */
.sec-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 22px 16px 6px; font-family: var(--font-head);
  font-weight: 800; font-size: 18px;
}
.sec-head .hint { font-family: var(--font-body); font-weight: 400; font-size: 11px; color: var(--sub); }
.chips { display: flex; gap: 8px; padding: 10px 16px 6px; font-size: 12px; flex-wrap: wrap; }
.chips button {
  border: 1px solid var(--line); color: var(--sub); background: var(--surface);
  border-radius: 999px; padding: 7px 16px; font-size: 12px; transition: all .2s;
}
.chips button.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* ---------- شبكة المنتجات ---------- */
.grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 12px; padding: 10px 16px 0;
}
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.pcard {
  background: var(--surface); border-radius: var(--radius);
  padding: 10px; box-shadow: var(--shadow);
  transition: transform .15s;
}
.pcard:hover { transform: translateY(-2px); }
.pcard .pimg {
  display: block; aspect-ratio: 1 / 1; border-radius: calc(var(--radius) - 8px);
  overflow: hidden; background: var(--soft);
}
.pcard .pimg img { width: 100%; height: 100%; object-fit: cover; }
.pname { font-size: 13px; font-weight: 700; margin: 9px 2px 3px; line-height: 1.6; }
.prow { display: flex; justify-content: space-between; align-items: center; margin: 0 2px 4px; }
.price { font-size: 14px; font-weight: 800; color: var(--accent); }
.price small { font-size: 11px; font-weight: 600; }
.addbtn {
  width: 30px; height: 30px; border-radius: 50%; border: none;
  background: var(--accent); color: var(--accent-ink);
  font-size: 18px; font-weight: 700; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- صفحة المنتج ---------- */
.back-row { padding: 14px 16px 0; }
.back {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; color: var(--sub); font-size: 13px;
}
.back:hover { color: var(--accent); }
.pd { padding: 14px 16px 0; display: grid; gap: 18px; }
@media (min-width: 720px) { .pd { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.pd-img {
  border-radius: var(--radius); overflow: hidden;
  background: var(--soft); aspect-ratio: 1;
}
.pd-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: 8px; margin-top: 8px; }
.pd-thumbs img {
  width: 64px; height: 64px; object-fit: cover; cursor: pointer;
  border-radius: 12px; border: 2px solid transparent; opacity: .75;
}
.pd-thumbs img.on { border-color: var(--accent); opacity: 1; }
.pd-cat { font-size: 11px; color: var(--accent); font-weight: 700; }
.pd-name { font-family: var(--font-head); font-size: 21px; font-weight: 800; margin: 4px 0 6px; }
.pd-price { font-size: 20px; font-weight: 800; color: var(--accent); margin-bottom: 4px; }
.pd-price small { font-size: 13px; }
.pd-note { font-size: 11px; color: var(--sub); margin-bottom: 12px; }
.pd-desc { font-size: 13.5px; color: var(--sub); line-height: 2; }
.qty-row { display: flex; justify-content: space-between; align-items: center; margin: 18px 0 12px; font-size: 14px; font-weight: 700; }
.stepper {
  display: flex; align-items: center; gap: 16px;
  background: var(--soft); border-radius: 999px; padding: 7px 16px;
}
.stepper button {
  border: none; background: none; font-size: 18px; font-weight: 700;
  color: var(--accent); width: 24px; height: 24px;
}
.stepper span { font-size: 14px; font-weight: 800; min-width: 20px; text-align: center; }
.stepper.sm { padding: 4px 12px; gap: 10px; }
.stepper.sm button { font-size: 15px; }

/* ---------- السلة ---------- */
.cart-list { padding: 16px 16px 0; display: flex; flex-direction: column; gap: 10px; }
.crow {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 10px;
}
.cimg {
  width: 64px; height: 64px; border-radius: calc(var(--radius) - 8px);
  overflow: hidden; background: var(--soft); flex: none;
}
.cimg img { width: 100%; height: 100%; object-fit: cover; }
.cmid { flex: 1; min-width: 0; }
.cname { font-size: 12.5px; font-weight: 700; }
.cprice { font-size: 12.5px; color: var(--accent); font-weight: 800; margin-top: 3px; }
.cdel { border: none; background: none; color: var(--sub); font-size: 16px; padding: 4px; }
.cdel:hover { color: #B0524F; }
.sum {
  margin: 16px 16px 0; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px;
}
.srow { display: flex; justify-content: space-between; font-size: 13px; color: var(--sub); padding: 5px 0; }
.srow.total {
  font-size: 15px; font-weight: 800; color: var(--ink);
  border-top: 1px dashed var(--line); margin-top: 7px; padding-top: 11px;
}
.cart-actions { padding: 14px 16px 0; }
.empty {
  text-align: center; padding: 70px 20px; color: var(--sub); font-size: 14px;
}
.empty .big { font-size: 44px; margin-bottom: 10px; }

/* ---------- الدفع / إتمام الطلب ---------- */
.form { padding: 16px 16px 0; display: flex; flex-direction: column; gap: 12px; }
.step-title {
  font-family: var(--font-head); font-size: 15px; font-weight: 800;
  display: flex; align-items: center; gap: 8px; margin-top: 6px;
}
.step-num {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  font-size: 12px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.methods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.method {
  background: var(--surface); border: 2px solid var(--line);
  border-radius: calc(var(--radius) - 6px); padding: 14px 10px;
  text-align: center; font-size: 13px; font-weight: 700; color: var(--sub);
  cursor: pointer; transition: all .2s;
}
.method .m-ic { display: block; margin-bottom: 6px; color: var(--accent); }
.method .m-fee { display: block; font-size: 11px; font-weight: 400; margin-top: 4px; color: var(--sub); }
.method.on { border-color: var(--accent); color: var(--ink); background: var(--soft); }
.method.on .m-fee { color: var(--accent); }
.fld label { font-size: 12px; color: var(--sub); display: block; margin-bottom: 5px; font-weight: 700; }
.fld label .opt { font-weight: 400; font-size: 11px; }
.inp, select.inp {
  width: 100%; background: var(--surface); border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 6px); padding: 12px;
  font-size: 13px; font-family: inherit; color: var(--ink);
}
.inp:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.inp.err { outline: 2px solid #B0524F; }
textarea.inp { resize: vertical; min-height: 74px; }
.pay-box {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 6px); padding: 12px 14px;
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; gap: 9px;
}
.pay-box .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex: none; }
.pay-box small { display: block; font-weight: 400; color: var(--sub); font-size: 11px; }
.form-err { color: #B0524F; font-size: 12px; font-weight: 700; min-height: 18px; }

/* ---------- صفحة النجاح ---------- */
.success { text-align: center; padding: 60px 24px 0; }
.success .check {
  width: 92px; height: 92px; margin: 0 auto 20px;
  border-radius: 50%; background: var(--soft);
  display: flex; align-items: center; justify-content: center;
}
.success h1 { font-family: var(--font-head); font-size: 22px; font-weight: 800; }
.success .ordernum {
  display: inline-block; margin: 14px 0 6px;
  background: var(--surface); border: 1px dashed var(--accent);
  border-radius: 999px; padding: 8px 22px;
  font-size: 14px; font-weight: 800; color: var(--accent);
}
.success p { color: var(--sub); font-size: 13px; max-width: 340px; margin: 8px auto 22px; }
.success .btn { min-width: 220px; }

/* ---------- الفوتر ---------- */
.footer {
  margin-top: 34px; padding: 22px 16px;
  border-top: 1px solid var(--line);
  text-align: center; color: var(--sub); font-size: 12px;
}
.footer .f-brand { font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: 14px; margin-bottom: 4px; }
.footer .f-copy { margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 11px; opacity: .85; }

/* ---------- شريط سفلي للموبايل ---------- */
.bnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  display: flex; justify-content: space-around;
  background: var(--surface); border-top: 1px solid var(--line);
  padding: 9px 0 12px; font-size: 11px; color: var(--sub);
}
.bnav a { display: flex; flex-direction: column; align-items: center; gap: 3px; position: relative; }
.bnav a.on { color: var(--accent); font-weight: 800; }
.bnav .cart-count { position: absolute; top: -6px; inset-inline-start: 22px; }
@media (min-width: 720px) { .bnav { display: none; } .page { padding-bottom: 40px; } }

/* ---------- رسالة توست ---------- */
.toast {
  position: fixed; bottom: 84px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #fff; font-size: 13px; font-weight: 700;
  padding: 10px 22px; border-radius: 999px; z-index: 80;
  opacity: 0; transition: opacity .25s; pointer-events: none;
}
.toast.show { opacity: 1; }

/* صور حقيقية للمنتج */
.pd-real { margin-top: 26px; }
.pd-real-title { font-size: 18px; font-weight: 700; margin: 0 0 12px; }
.pd-real-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pd-real-grid img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 16px; background: #fff; display: block; }
.pd-real-ph { aspect-ratio: 1/1; border: 2px dashed #b9c4d6; border-radius: 16px; display: flex; align-items: center; justify-content: center; color: #8a94a6; font-size: 14px; background: #f7f9fc; }
@media (max-width: 560px) { .pd-real-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; } .pd-real-grid img, .pd-real-ph { border-radius: 12px; } }

/* السعر القديم والمقاس */
.pd-old { text-decoration: line-through; color: var(--sub); font-weight: 400; font-size: 14px; }
.pd-save { display: inline-block; font-size: 12px; font-weight: 700; color: #1a7a4a; background: #e6f6ee; border-radius: 999px; padding: 2px 10px; margin-bottom: 6px; }
.pd-size { font-size: 14px; color: var(--sub); margin-bottom: 12px; }
.pd-stock { display: inline-block; font-size: 13px; font-weight: 700; color: #1a5fa8; background: #e8f1fa; border-radius: 999px; padding: 2px 12px; margin-bottom: 12px; }

/* ===== Themes: set theme in config.js (SITE_CONFIG.theme) or preview with ?theme=name ===== */
/* green-gold: أخضر غامق وذهبي */
html[data-theme="green-gold"] {
  --bg: #F1F3EA;
  --surface: #FFFFFF;
  --ink: #1E2B24;
  --sub: #7A8478;
  --accent: #1F4D3A;
  --accent-deep: #163A2B;
  --accent-ink: #FFFFFF;
  --soft: #E1EADF;
  --line: #D3DFD0;
  --bg-rgb: 244,241,232;
  --ink-rgb: 30,43,36;
}
/* navy-gold: كحلي وذهبي */
html[data-theme="navy-gold"] {
  --bg: #F2F3F7;
  --surface: #FFFFFF;
  --ink: #16213A;
  --sub: #6E7690;
  --accent: #1B2A4E;
  --accent-deep: #121D3A;
  --accent-ink: #FFFFFF;
  --soft: #E4E7F0;
  --line: #D3D8E6;
  --bg-rgb: 242,243,247;
  --ink-rgb: 22,33,58;
}
/* burgundy-cream: عنابي وكريمي */
html[data-theme="burgundy-cream"] {
  --bg: #F8F2EA;
  --surface: #FFFFFF;
  --ink: #3A1F26;
  --sub: #8A6F74;
  --accent: #7E2A3C;
  --accent-deep: #651F2F;
  --accent-ink: #FFFFFF;
  --soft: #F0E3D8;
  --line: #E4D3C6;
  --bg-rgb: 248,242,234;
  --ink-rgb: 58,31,38;
}
/* black-gold: أسود وذهبي */
html[data-theme="black-gold"] {
  --bg: #14120F;
  --surface: #24201A;
  --ink: #F3ECDD;
  --sub: #A89E88;
  --accent: #D4A93C;
  --accent-deep: #E3BC55;
  --accent-ink: #1A1608;
  --soft: #2E281F;
  --line: #3D3528;
  --bg-rgb: 20,18,15;
  --ink-rgb: 243,236,221;
}
/* wood-cream: خشبي ودافي */
html[data-theme="wood-cream"] {
  --bg: #F6EFE4;
  --surface: #FFFBF4;
  --ink: #3B2A1E;
  --sub: #8C7660;
  --accent: #9C6B3E;
  --accent-deep: #7F5430;
  --accent-ink: #FFFFFF;
  --soft: #EBDDC8;
  --line: #DDCBB0;
  --bg-rgb: 246,239,228;
  --ink-rgb: 59,42,30;
}

/* الثيم المعتمد: أحمر (crimson) — ألوان فقط */
html[data-theme="crimson"]{--bg:#FFF5F4;--surface:#fff;--ink:#331513;--sub:#94716D;--accent:#D32F2F;--accent-deep:#A82020;--accent-ink:#fff;--soft:#FBDAD7;--line:#F0D1CE;--bg-rgb:255,245,244;--ink-rgb:51,21,19;}
html[data-theme="crimson"] .pd-save{color:#A82020;background:#FBDAD7;}
html[data-theme="crimson"] .pd-stock{color:#331513;background:#FBDAD7;}

.pending { font-size: 12px; font-weight: 700; color: var(--sub); background: var(--soft); border-radius: 999px; padding: 2px 10px; }
.pd-price .pending { font-size: 14px; padding: 4px 14px; }
.pd-img, .pcard .pimg { background: #fff; }

.brand-logo { height: 54px; width: auto; display: block; }
@media (min-width: 720px) { .brand-logo { height: 60px; } }
.succ-logo { height: 84px; width: auto; display: block; margin: 0 auto 18px; }

/* ==== ONE PRODUCT PER ROW (applied Nov 27, approved by Ahmed). To go back to two per row: delete from here to the end of file, or replace this file with style-2col-backup.css ==== */
.grid { grid-template-columns: 1fr !important; gap: 16px; }
.pcard { padding: 12px; }
.pcard .pimg { aspect-ratio: 1 / 1; }
.pname { font-size: 15px; margin: 12px 4px 4px; }
.prow { margin: 0 4px 6px; }
.price { font-size: 17px; }
.addbtn { width: 38px; height: 38px; font-size: 22px; }
@media (min-width: 720px) { .grid { max-width: 520px; margin: 0 auto; } }
/* tablet: horizontal card */
@media (min-width: 720px) {
  .grid { max-width: 880px !important; margin: 0 auto; gap: 18px; }
  .pcard { display: grid; grid-template-columns: 280px 1fr; grid-template-rows: 1fr auto auto 1fr; column-gap: 22px; padding: 14px; align-items: center; }
  .pcard .pimg { grid-column: 1; grid-row: 1 / 5; width: 280px; }
  .pcard .pname { grid-column: 2; grid-row: 2; font-size: 20px; margin: 0; align-self: end; }
  .pcard .prow { grid-column: 2; grid-row: 3; margin: 12px 0 0; justify-content: space-between; }
  .price { font-size: 21px; }
  .addbtn { width: 46px; height: 46px; font-size: 26px; }
}

.pd-faq { margin-top: 26px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 14px 16px; font-weight: 700; font-size: 15px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent-deep); font-size: 20px; font-weight: 700; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0; padding: 0 16px 16px; color: var(--sub); line-height: 1.9; font-size: 14.5px; }

/* عرض الصورة الحقيقية: نصف صفحة تقريبًا مع أسهم */
.lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.72); display: flex; align-items: center; justify-content: center; padding: 16px; }
.lb-box { position: relative; width: min(92vw, 680px); height: min(52vh, 460px); background: #111; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; }
.lb-box img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #222; font-size: 30px; line-height: 1; cursor: pointer; z-index: 2; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.22); color: rgba(255,255,255,.85); text-shadow: 0 0 3px rgba(0,0,0,.6); font-size: 28px; line-height: 1; cursor: pointer; z-index: 2; padding-bottom: 4px; }
.lb-prev { right: 10px; } .lb-next { left: 10px; }
.lb-count { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,.55); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 12px; }

/* checkout tidy */
.form { gap: 22px; }
.fsec { display: flex; flex-direction: column; gap: 12px; }
.fsec .step-title { margin: 0 0 2px; }
.mfields { display: flex; flex-direction: column; gap: 12px; }
.mfields:empty { display: none; }
.srow { gap: 12px; align-items: baseline; }
.srow > span:last-child { white-space: nowrap; font-weight: 700; color: var(--ink); }
.srow.item { align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--line); }
.srow .s-name { flex: 1; min-width: 0; color: var(--ink); font-weight: 600; line-height: 1.6; }
.srow .s-name small { display: block; font-size: 11.5px; font-weight: 400; color: var(--sub); }
.srow.total > span:last-child { color: var(--accent); }
.form-err:empty { display: none; }

.pay-opts { display: flex; flex-direction: column; gap: 10px; }
.pay-box { cursor: pointer; border-width: 2px; }
.pay-box .dot { background: transparent; border: 2px solid var(--line); width: 14px; height: 14px; box-sizing: border-box; }
.pay-box.on { border-color: var(--accent); background: var(--soft); }
.pay-box.on .dot { background: var(--accent); border-color: var(--accent); }

.home-faq { margin-top: 34px; }
.faq-wa { color: var(--accent-deep); font-weight: 700; text-decoration: underline; }

/* اختيارنا لك — الكارت المميز */
.feat { position: relative; margin: 0 16px 18px; background: var(--accent); color: #fff; border-radius: 22px; padding: 14px; box-shadow: 0 8px 22px rgba(211,47,47,.28); }
.feat-badge { position: absolute; top: 26px; right: 26px; z-index: 3; display: inline-flex; align-items: center; gap: 5px; background: #fff; color: var(--accent); font-weight: 800; font-size: 12px; border-radius: 99px; padding: 5px 13px; box-shadow: 0 3px 8px rgba(0,0,0,.15); }
.feat-badge svg { fill: var(--accent); }
.feat-img { display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 16px; height: 260px; }
.feat-img img { width: 92%; height: 240px; object-fit: contain; }
.feat-name { display: block; font-size: 16px; font-weight: 800; margin: 12px 4px 4px; color: #fff; }
.feat-chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 4px 10px; }
.feat-chips span { background: rgba(255,255,255,.18); border-radius: 99px; padding: 3px 10px; font-size: 11px; font-weight: 700; }
.feat-row { display: flex; justify-content: space-between; align-items: center; margin: 0 4px; }
.feat-price { font-size: 26px; font-weight: 800; }
.feat-price .pd-old { color: #fff; opacity: .75; font-size: 13px; margin-right: 8px; }
.feat-btn { background: #fff; color: var(--accent); border-radius: 99px; padding: 10px 24px; font-weight: 800; font-size: 14px; }
@media (min-width: 720px) { .feat { max-width: 520px; margin-left: auto; margin-right: auto; } }
.feat-row { gap: 10px; flex-wrap: nowrap; }
.feat-price { font-size: 22px; white-space: nowrap; display: flex; align-items: baseline; gap: 8px; flex: 1 1 auto; min-width: 0; }
.feat-price .pd-old { display: inline; white-space: nowrap; font-size: 12px; margin: 0; }
.feat-btn { white-space: nowrap; flex: none; padding: 10px 20px; font-size: 14px; }
@media (max-width: 360px) { .feat-price { font-size: 19px; } .feat-btn { padding: 9px 14px; font-size: 13px; } }
.hero + .sec-head { margin-top: 22px; }
.feat { padding: 11px; border-radius: 20px; margin-bottom: 16px; }
.feat-img { height: 190px; border-radius: 14px; }
.feat-img img { height: 176px; }
.feat-badge { top: 20px; right: 20px; font-size: 11px; padding: 4px 11px; }
.feat-name { font-size: 14px; margin: 9px 4px 3px; line-height: 1.6; }
.feat-chips { margin: 3px 4px 8px; }
.feat-chips span { font-size: 10px; padding: 2px 9px; }
.feat-price { font-size: 20px; }
.feat-btn { padding: 8px 18px; font-size: 13px; }
@media (max-width: 360px) { .feat-price { font-size: 18px; } .feat-btn { padding: 8px 13px; font-size: 12px; } }

.ask-box { margin: 18px 16px 8px; background: var(--accent); color: #fff; border-radius: 20px; padding: 22px 16px 24px; text-align: center; }
.ask-box h3 { margin: 0 0 8px; font-size: 18px; font-weight: 800; }
.ask-box p { margin: 0 0 16px; font-size: 12px; opacity: .95; }
.ask-btn { display: inline-block; background: #fff; color: var(--accent); border-radius: 99px; padding: 12px 34px; font-weight: 800; font-size: 14px; }
@media (min-width: 720px) { .ask-box { max-width: 520px; margin-left: auto; margin-right: auto; } }

/* محاذاة الكارت المميز مع كروت المنتجات */
.sec-head + .feat { margin: 10px 16px 16px; }
.feat { padding: 10px; border-radius: var(--radius); box-shadow: var(--shadow); }
.feat-img { height: 160px; }
.feat-img img { height: 148px; }
.feat-badge { top: 18px; right: 18px; }
.feat-name { font-size: 14px; margin: 8px 4px 3px; }
.feat-price { font-size: 19px; }
.feat-btn { padding: 7px 16px; font-size: 13px; }
.ask-box h3 { margin: 0 0 16px; }
.ask-box { padding: 22px 16px 24px; }

/* علامة الأكثر مبيعاً + شريط الشطرنج تحت البانر */
.pcard.best { position: relative; }
.best-badge { position: absolute; top: 20px; right: 20px; z-index: 3; display: inline-flex; align-items: center; gap: 5px; background: var(--accent); color: #fff; font-weight: 800; font-size: 12px; border-radius: 99px; padding: 5px 13px; box-shadow: 0 3px 8px rgba(0,0,0,.18); }
.best-badge svg { fill: #fff; }
.chk-strip { display: flex; justify-content: center; gap: 6px; margin: 18px 0 6px; }
.chk-strip i { width: 16px; height: 16px; border-radius: 4px; background: var(--accent); opacity: .25; animation: chkp 2.4s ease-in-out infinite; }
.chk-strip i:nth-child(even) { background: #2b1414; }
@keyframes chkp { 0%, 100% { opacity: .2; transform: scale(.85); } 50% { opacity: .9; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .chk-strip i { animation: none; opacity: .6; } }




.hero-gap { display: block; height: auto; padding: 26px 16px 20px; }
.cboard { position: relative; width: 100%; max-width: 310px; margin-inline: auto; aspect-ratio: 3 / 2; direction: ltr; border-radius: 22px; overflow: hidden; border: 3px solid #2b1414; box-sizing: border-box; box-shadow: 0 10px 24px rgba(43,20,20,.22);
  background: repeating-conic-gradient(var(--accent) 0 25%, #fff3f0 0 50%) 0 0 / 33.3333% 50%; }
.cboard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255,255,255,.25), rgba(255,255,255,0) 45%, rgba(0,0,0,.12)); pointer-events: none; }
.kmove { position: absolute; left: 0; top: 0; width: 16.6667%; height: 25%; animation: kmv 12s ease-in-out infinite; z-index: 2; }
.kmove::before { content: ""; position: absolute; inset: 10%; border-radius: 12px; background: rgba(255,255,255,.4); box-shadow: 0 0 0 2px rgba(43,20,20,.22); }
.khop { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; animation: khp 1.2s ease-in-out infinite; }
.khop svg { display: block; width: 66%; height: auto; fill: #2b1414; filter: drop-shadow(0 3px 2px rgba(0,0,0,.35)); }
@keyframes kmv {
0% { transform: translate(0%,300%); }
11.67% { transform: translate(200%,200%); }
16.67% { transform: translate(200%,200%); }
28.33% { transform: translate(400%,300%); }
33.33% { transform: translate(400%,300%); }
45.00% { transform: translate(500%,100%); }
50.00% { transform: translate(500%,100%); }
61.67% { transform: translate(300%,0%); }
66.67% { transform: translate(300%,0%); }
78.33% { transform: translate(100%,100%); }
83.33% { transform: translate(100%,100%); }
95.00% { transform: translate(0%,300%); }
100% { transform: translate(0%,300%); } }
@keyframes khp { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-12%) scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .kmove { animation: none; transform: translate(100%,100%); } .khop { animation: none; } }
