/* ============================================================
   ركن الهوانم — ROKN EL HAWANEM
   كتان · رمل · تراكوتا · ذهبي | ثيم C
   ============================================================ */
:root{
  --bg:#F7F1E6;
  --bg-2:#F1E8D8;
  --paper:#FDFBF6;
  --sand:#EDE0CC;
  --sand-2:#E4D3B8;
  --ink:#2E2721;
  --ink-soft:#5C5045;
  --muted:#8C7C6B;
  --terra:#B4653F;
  --terra-deep:#8B4A2B;
  --gold:#BE9A62;
  --line:#E3D6C1;
  --line-2:#D6C4A8;
  --green:#2F6B4F;
  --head:'Noto Kufi Arabic','Segoe UI',sans-serif;
  --body:'Almarai','Segoe UI',sans-serif;
  --latin:'Cormorant Garamond',Georgia,serif;
  --r:18px;
  --soft:0 22px 48px -34px rgba(46,39,33,.55);
  --shadow-lift:0 34px 60px -36px rgba(46,39,33,.55);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{overflow-x:hidden}
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:var(--body); font-weight:400; line-height:1.9;
  -webkit-font-smoothing:antialiased;
}
img{display:block; max-width:100%}
a{color:inherit; text-decoration:none}
button{font-family:inherit}
.wrap{width:min(1180px, calc(100% - 44px)); margin:0 auto}
.num{font-variant-numeric:tabular-nums; direction:ltr; unicode-bidi:isolate}
.hidden{display:none !important}

/* ---------- شريط علوي ---------- */
.ticker{background:var(--bg-2); border-bottom:1px solid var(--line-2)}
.ticker-in{
  display:flex; gap:14px; justify-content:center; flex-wrap:wrap;
  padding:9px 14px; font-size:11.5px; color:var(--ink-soft);
}
.ticker-in i{color:var(--gold); font-style:normal}
.ticker-in span{white-space:nowrap}

/* ---------- الهيدر ---------- */
.hdr{
  position:sticky; top:0; z-index:40; background:rgba(247,241,230,.95);
  backdrop-filter:blur(12px); border-bottom:1px solid var(--line-2);
}
.hdr-in{display:flex; align-items:center; justify-content:space-between; gap:18px; height:80px}
.brand{display:flex; align-items:center; gap:12px; min-width:0}
.logo-chip{
  width:48px; height:48px; border-radius:50%; overflow:hidden; flex:0 0 48px;
  background:#fff; border:1px solid var(--line-2);
  box-shadow:0 10px 22px -16px rgba(46,39,33,.8);
}
.logo-chip img{width:100%; height:100%; object-fit:contain; padding:4px}
.brand-txt{display:flex; flex-direction:column; line-height:1.2; min-width:0}
.brand-txt b{font-family:var(--head); font-size:19px; font-weight:700; letter-spacing:-.2px; white-space:nowrap}
.brand-txt i{font-style:normal; font-family:var(--latin); font-size:10px; letter-spacing:.24em; color:var(--muted); margin-top:2px}
.nav{display:flex; gap:2px; font-size:13px; color:var(--ink-soft)}
.nav a{padding:8px 13px; border-radius:999px; transition:.25s; white-space:nowrap}
.nav a:hover{background:var(--sand); color:var(--ink)}
.nav a.on{background:var(--terra-deep); color:#F9F0E1}
.hdr-act{display:flex; align-items:center; gap:8px}
.icon-btn{
  border:1px solid var(--line-2); background:var(--paper); color:var(--ink-soft);
  font-size:12.5px; padding:9px 16px; border-radius:999px; cursor:pointer; transition:.25s;
  display:inline-flex; align-items:center; gap:7px; white-space:nowrap;
}
.icon-btn:hover{background:var(--sand); border-color:var(--gold); color:var(--ink)}
.cart{display:flex; align-items:center; gap:8px; background:var(--ink); color:#F7EFE2; border-color:var(--ink)}
.cart:hover{background:var(--terra-deep); border-color:var(--terra-deep); color:#fff}
.cart b{
  min-width:20px; height:20px; border-radius:50%; background:#F7EFE2; color:var(--ink);
  display:inline-flex; align-items:center; justify-content:center;
  font-size:11px; font-weight:700; padding:0 5px;
}
.cart .cart-total{font-size:11.5px; color:#D9CBB8; border-right:1px solid rgba(255,255,255,.25); padding-right:8px}

/* ---------- الهيرو ---------- */
.hero{padding:24px 0 0}
.cover-wrap{
  position:relative; border-radius:calc(var(--r) + 8px); overflow:hidden;
  border:1px solid var(--line-2); background:var(--sand);
  box-shadow:0 40px 80px -56px rgba(46,39,33,.85);
}
.cover-wrap::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.35); border-radius:inherit;
}
.cover{width:100%; height:auto; aspect-ratio:1600/533; object-fit:cover; display:block}
.cover-badge{
  position:absolute; bottom:16px; left:16px;
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(253,251,246,.94); backdrop-filter:blur(6px);
  border:1px solid rgba(255,255,255,.7); color:var(--terra-deep);
  font-size:11px; font-weight:700; padding:8px 15px; border-radius:999px;
  box-shadow:0 16px 30px -22px rgba(46,39,33,.9);
}
.cover-badge i{width:6px; height:6px; border-radius:50%; background:var(--terra); font-style:normal}
.hero-copy{text-align:center; padding:42px 0 40px}
.eyebrow{
  display:inline-flex; align-items:center; gap:10px; font-size:10.5px; font-weight:600;
  letter-spacing:.14em; color:var(--terra); margin-bottom:14px;
}
.eyebrow::before,.eyebrow::after{content:""; width:30px; height:1px; background:var(--line-2)}
.hero h1{
  font-family:var(--head); font-weight:700; font-size:clamp(27px,3.6vw,42px);
  line-height:1.6; margin:0 auto 14px; letter-spacing:-.4px; max-width:24ch;
}
.hero h1 em{font-style:normal; color:var(--terra-deep); position:relative; white-space:nowrap}
.hero h1 em::after{
  content:""; position:absolute; right:0; left:0; bottom:2px; height:8px;
  background:linear-gradient(90deg, rgba(190,154,98,0), rgba(190,154,98,.38), rgba(190,154,98,0));
  border-radius:999px; z-index:-1;
}
.hero .lead{font-size:14px; color:var(--ink-soft); max-width:56ch; margin:0 auto 26px; line-height:2.05; font-weight:300}
.cta{display:flex; gap:10px; flex-wrap:wrap; justify-content:center; margin-bottom:32px}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  background:var(--terra-deep); color:#FBF3E6; border:1px solid var(--terra-deep);
  padding:14px 30px; font-size:13.5px; font-weight:700; border-radius:999px;
  cursor:pointer; transition:.25s; box-shadow:0 16px 32px -22px rgba(139,74,43,.95);
  text-align:center;
}
.btn:hover{background:var(--terra); border-color:var(--terra); transform:translateY(-2px)}
.btn:disabled{opacity:.55; cursor:not-allowed; transform:none}
.btn.ghost{background:transparent; color:var(--ink); border-color:var(--line-2); box-shadow:none; font-weight:400}
.btn.ghost:hover{background:var(--sand); border-color:var(--gold); transform:none}
.btn.full{width:100%; box-shadow:none; font-size:13px; padding:12px 18px}
.btn.wa{background:#1F7A4D; border-color:#1F7A4D; color:#fff}
.btn.wa:hover{background:#25D366; border-color:#25D366; color:#06281A}

.stats{
  display:flex; justify-content:center; align-items:center; flex-wrap:wrap;
  border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  max-width:760px; margin:0 auto;
}
.stats div{padding:18px 34px; text-align:center; flex:1 1 0; min-width:140px}
.stats div + div{border-right:1px solid var(--line)}
.stats b{display:block; font-family:var(--head); font-size:20px; font-weight:700; line-height:1.4; color:var(--terra-deep)}
.stats span{font-size:10.5px; color:var(--muted); font-weight:400}

/* ---------- الأقسام ---------- */
.cats{padding:32px 0 0}
.cats-in{display:flex; gap:8px; justify-content:center; flex-wrap:wrap}
.cat-pill{
  border:1px solid var(--line-2); background:var(--paper); color:var(--ink-soft);
  font-size:12.5px; padding:9px 20px; border-radius:999px; cursor:pointer;
  transition:.22s; font-weight:400;
}
.cat-pill:hover{border-color:var(--gold); color:var(--ink); background:#fff}
.cat-pill.on{background:var(--ink); border-color:var(--ink); color:#F7EFE2; font-weight:700}

.sec{padding:42px 0 64px}
.sec-head{display:flex; align-items:flex-end; justify-content:space-between; gap:18px; margin-bottom:30px; flex-wrap:wrap}
.sec-head .lbl{font-family:var(--latin); font-size:12px; letter-spacing:.28em; color:var(--gold); margin-bottom:6px}
.sec-head h2{font-family:var(--head); font-size:clamp(22px,2.8vw,30px); font-weight:700; margin:0; line-height:1.6; letter-spacing:-.3px}
.sec-head p{margin:8px 0 0; font-size:12.5px; color:var(--muted); font-weight:300}
.sec-head .side{font-size:12.5px; font-weight:700; color:var(--terra-deep); background:var(--paper); border:1px solid var(--line-2); border-radius:999px; padding:8px 18px; white-space:nowrap; transition:.25s}
.sec-head .side:hover{background:var(--terra-deep); color:#FBF3E6; border-color:var(--terra-deep)}

/* ---------- كروت المنتجات ---------- */
.grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px}
.card{
  background:var(--paper); border:1px solid var(--line); border-radius:var(--r);
  overflow:hidden; display:flex; flex-direction:column; transition:.35s; box-shadow:var(--soft);
}
.card:hover{transform:translateY(-6px); box-shadow:var(--shadow-lift); border-color:var(--line-2)}
.card-img{position:relative; padding:12px 12px 0; background:linear-gradient(160deg,#F3EAD9,#EADDC7)}
.card-img .inner{border-radius:12px; overflow:hidden; background:#FBF6EC; padding:10px; border:1px solid rgba(214,196,168,.55)}
.card-img img{width:100%; height:300px; object-fit:contain; transition:transform .5s}
.card:hover .card-img img{transform:scale(1.035)}
.badge{
  position:absolute; top:22px; right:22px; z-index:2;
  background:rgba(46,39,33,.9); color:#F7EFE2; border:1px solid rgba(255,255,255,.14);
  font-size:9.5px; font-weight:700; padding:5px 12px; border-radius:999px;
}
.badge.warm{background:var(--terra); border-color:rgba(255,255,255,.22)}
.badge.gold{background:var(--gold); color:#2E2721}
.badge.emerald{background:var(--green); border-color:rgba(255,255,255,.2)}
.card-body{padding:18px 20px 22px; display:flex; flex-direction:column; flex:1}
.cat{font-size:9.5px; font-weight:700; letter-spacing:.14em; color:var(--muted); margin-bottom:7px}
.name{font-family:var(--head); font-size:15.5px; font-weight:600; line-height:1.7; margin:0 0 10px}
.price{display:flex; align-items:baseline; gap:8px; margin-bottom:14px; flex-wrap:wrap}
.price b{font-family:var(--head); font-size:23px; font-weight:700; color:var(--terra-deep); line-height:1}
.price small{font-size:11.5px; color:var(--terra); font-weight:700}
.price del{font-size:11.5px; color:var(--muted); font-weight:400}
.sizes{display:flex; gap:6px; flex-wrap:wrap; margin-bottom:16px}
.size{
  min-width:38px; height:33px; padding:0 9px; border-radius:10px;
  background:var(--bg); border:1px solid var(--line-2); color:var(--ink-soft);
  font-size:11.5px; font-weight:700; cursor:pointer; transition:.2s;
}
.size:hover{border-color:var(--gold); color:var(--ink)}
.size.on{background:var(--ink); border-color:var(--ink); color:#F7EFE2}
.size.off{background:#EFE7D8; color:#BCAA92; border-color:#E3D6C1; text-decoration:line-through; cursor:not-allowed}
.size.off:hover{border-color:#E3D6C1; color:#BCAA92}
.stock-note{font-size:10.5px; color:var(--muted); margin:-8px 0 12px; font-weight:300}
.stock-note.low{color:var(--terra)}
.card-act{margin-top:auto; display:flex; flex-direction:column; gap:8px}
.wa{
  display:flex; align-items:center; justify-content:center; gap:7px;
  border:1px solid var(--line-2); color:var(--ink-soft); background:transparent;
  font-size:12px; font-weight:700; padding:11px; border-radius:999px; transition:.25s;
}
.wa:hover{background:#25D366; border-color:#25D366; color:#06281A}

.card.more{
  background:transparent; border:1.5px dashed var(--line-2); box-shadow:none;
  align-items:center; justify-content:center; text-align:center; padding:40px 26px; min-height:300px;
}
.card.more:hover{transform:none; border-color:var(--gold); background:rgba(253,251,246,.6)}
.card.more .orn{
  width:52px; height:52px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  border:1px solid var(--line-2); color:var(--gold); font-size:20px; margin-bottom:16px; background:var(--paper);
}
.card.more b{font-family:var(--head); font-size:17px; font-weight:700; display:block; margin-bottom:8px}
.card.more p{font-size:12px; color:var(--muted); margin:0 0 18px; line-height:1.9; font-weight:300; max-width:26ch}

/* skeleton */
.skeleton{background:var(--paper); border:1px solid var(--line); border-radius:var(--r); overflow:hidden; padding:12px}
.skeleton .sk-img{height:300px; border-radius:12px; background:linear-gradient(100deg,#F1E8D8 30%,#F8F2E7 50%,#F1E8D8 70%); background-size:200% 100%; animation:shine 1.4s infinite linear}
.skeleton .sk-line{height:12px; margin:14px 2px 0; border-radius:6px; background:#F1E8D8}
.skeleton .sk-line.short{width:55%}
@keyframes shine{to{background-position:-200% 0}}
.empty-note{
  grid-column:1/-1; text-align:center; padding:40px 20px; border:1px dashed var(--line-2);
  border-radius:var(--r); color:var(--muted); font-size:13px; background:var(--paper);
}

/* ---------- شريط الثقة ---------- */
.trust{border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:var(--bg-2)}
.trust-in{display:grid; grid-template-columns:repeat(4,1fr); padding:28px 0}
.trust-it{padding:0 22px; display:flex; gap:11px; align-items:flex-start}
.trust-it + .trust-it{border-right:1px solid var(--line-2)}
.trust-it i{
  flex:0 0 30px; height:30px; border-radius:50%; background:var(--paper);
  border:1px solid var(--line-2); color:var(--terra); display:flex;
  align-items:center; justify-content:center; font-style:normal; font-size:12px; font-weight:700; margin-top:2px;
}
.trust-it b{display:block; font-size:12.5px; font-weight:700; line-height:1.6}
.trust-it span{font-size:10.5px; color:var(--muted); font-weight:300}

/* ---------- الجملة ---------- */
.whole{padding:60px 0}
.whole-in{
  position:relative; overflow:hidden; background:var(--ink); color:#EDE3D5;
  border-radius:calc(var(--r) + 10px); padding:46px; display:grid;
  grid-template-columns:1.35fr .65fr; gap:34px; align-items:center;
  box-shadow:0 34px 70px -46px rgba(46,39,33,.9);
}
.whole-in::before{content:""; position:absolute; top:-120px; left:-70px; width:360px; height:360px; border-radius:50%; background:radial-gradient(circle, rgba(190,154,98,.30), transparent 70%)}
.whole-in::after{content:""; position:absolute; bottom:-150px; right:-80px; width:340px; height:340px; border-radius:50%; background:radial-gradient(circle, rgba(180,101,63,.28), transparent 70%)}
.whole-in > *{position:relative; z-index:1}
.whole-in .tag-line{font-family:var(--latin); font-size:11px; letter-spacing:.26em; color:var(--gold); margin-bottom:12px}
.whole-in h2{font-family:var(--head); font-size:clamp(21px,2.7vw,29px); font-weight:700; margin:0 0 12px; line-height:1.65; color:#FBF4E7}
.whole-in p{margin:0; font-size:13px; color:#BCAE9C; max-width:52ch; line-height:2; font-weight:300}
.whole-in .btn{background:var(--gold); border-color:var(--gold); color:#2E2721; justify-self:end; box-shadow:none}
.whole-in .btn:hover{background:#D3B27F; border-color:#D3B27F; color:#2E2721}

/* ---------- الفوتر ---------- */
.ftr{background:#241E19; color:#BFB2A1; padding:54px 0 0}
.ftr-in{display:grid; grid-template-columns:1.5fr .8fr .9fr; gap:40px; padding-bottom:44px}
.ftr .brand-txt b{color:#F7EFE2}
.ftr .brand-txt i{color:#8E8172}
.ftr .logo-chip{width:52px; height:52px; flex:0 0 52px; border-color:#3B332B; box-shadow:none}
.ftr-brand p{font-size:12.5px; line-height:2.05; color:#9C8F7F; max-width:38ch; margin:16px 0 0; font-weight:300}
.ftr-col h4{font-size:10.5px; letter-spacing:.18em; color:#F7EFE2; font-weight:700; margin:4px 0 15px}
.ftr-col a{display:block; font-size:12.5px; color:#9C8F7F; margin-bottom:10px; transition:.25s}
.ftr-col a:hover{color:#E2C89B}
.ftr-col .wa-n{font-size:15px; color:#E2C89B; margin-bottom:14px; font-weight:700}
.ftr-bot{border-top:1px solid #362D25; padding:18px 0}
.ftr-bot-in{display:flex; justify-content:space-between; align-items:center; gap:14px; flex-wrap:wrap; font-size:10.5px; color:#837666}
.ftr-bot a{color:#BFB2A1; border-bottom:1px solid #463B31; padding-bottom:1px}
.ftr-bot a:hover{color:#E2C89B; border-color:#E2C89B}

/* ---------- السلة (Drawer) ---------- */
.overlay{
  position:fixed; inset:0; background:rgba(36,30,25,.55); backdrop-filter:blur(2px);
  opacity:0; pointer-events:none; transition:.3s; z-index:60;
}
.overlay.on{opacity:1; pointer-events:auto}
.drawer{
  position:fixed; top:0; left:0; bottom:0; width:min(440px,100%); z-index:70;
  background:var(--bg); box-shadow:24px 0 60px -30px rgba(0,0,0,.5);
  transform:translateX(-104%); transition:transform .35s cubic-bezier(.22,.8,.3,1);
  display:flex; flex-direction:column;
}
html[dir="rtl"] .drawer{left:auto; right:0; transform:translateX(104%); box-shadow:-24px 0 60px -30px rgba(0,0,0,.5)}
.drawer.on, html[dir="rtl"] .drawer.on{transform:translateX(0)}
.drawer-head{display:flex; align-items:center; justify-content:space-between; gap:10px; padding:18px 20px; border-bottom:1px solid var(--line-2); background:var(--paper)}
.drawer-head b{font-family:var(--head); font-size:16px; font-weight:700}
.drawer-head span{font-size:11px; color:var(--muted)}
.x-btn{width:34px; height:34px; border-radius:50%; border:1px solid var(--line-2); background:var(--bg); color:var(--ink-soft); font-size:18px; line-height:1; cursor:pointer; display:flex; align-items:center; justify-content:center}
.x-btn:hover{background:var(--sand); color:var(--ink)}
.drawer-body{flex:1; overflow-y:auto; padding:16px 18px}
.drawer-foot{border-top:1px solid var(--line-2); background:var(--paper); padding:16px 18px 18px; max-height:70vh; overflow-y:auto}

.ship-bar{margin-bottom:14px}
.ship-bar p{font-size:11px; color:var(--ink-soft); margin:0 0 7px}
.ship-bar p b{color:var(--terra-deep)}
.ship-track{height:6px; border-radius:999px; background:var(--sand-2); overflow:hidden}
.ship-track i{display:block; height:100%; width:0%; background:linear-gradient(90deg,var(--gold),var(--terra)); transition:width .4s}

.cart-empty{text-align:center; padding:52px 18px; color:var(--muted)}
.cart-empty .big{font-size:34px; color:var(--gold); margin-bottom:14px}
.cart-empty b{display:block; font-family:var(--head); color:var(--ink); font-size:16px; margin-bottom:6px}
.cart-empty p{font-size:12.5px; margin:0 0 18px}

.cart-item{display:flex; gap:12px; padding:12px 0; border-bottom:1px dashed var(--line-2)}
.cart-item:last-child{border-bottom:0}
.ci-img{width:74px; height:74px; flex:0 0 74px; border-radius:12px; overflow:hidden; background:#FBF6EC; border:1px solid var(--line-2); padding:4px}
.ci-img img{width:100%; height:100%; object-fit:contain}
.ci-main{flex:1; min-width:0}
.ci-main b{display:block; font-size:12.5px; font-weight:700; line-height:1.6; margin-bottom:2px}
.ci-meta{font-size:10.5px; color:var(--muted); margin-bottom:7px}
.ci-row{display:flex; align-items:center; justify-content:space-between; gap:8px}
.ci-price{font-family:var(--head); font-size:13px; font-weight:700; color:var(--terra-deep)}
.qty{display:inline-flex; align-items:center; border:1px solid var(--line-2); border-radius:999px; background:var(--bg); overflow:hidden}
.qty button{width:28px; height:28px; border:0; background:transparent; color:var(--ink-soft); font-size:15px; cursor:pointer; line-height:1}
.qty button:hover{background:var(--sand); color:var(--ink)}
.qty button:disabled{opacity:.35; cursor:not-allowed}
.qty span{min-width:26px; text-align:center; font-size:11.5px; font-weight:700; font-variant-numeric:tabular-nums}
.ci-del{border:0; background:transparent; color:var(--muted); font-size:11px; cursor:pointer; text-decoration:underline; padding:0}
.ci-del:hover{color:var(--terra-deep)}

.sum-row{display:flex; justify-content:space-between; align-items:center; font-size:12.5px; color:var(--ink-soft); padding:3px 0}
.sum-row b{font-weight:700; color:var(--ink); font-variant-numeric:tabular-nums}
.sum-row.total{border-top:1px solid var(--line-2); margin-top:8px; padding-top:10px; font-size:13.5px}
.sum-row.total b{font-family:var(--head); font-size:19px; color:var(--terra-deep)}
.sum-row.discount b{color:var(--green)}

.promo{display:flex; gap:6px; margin:12px 0 4px}
.promo input{
  flex:1; min-width:0; border:1px solid var(--line-2); background:var(--bg); border-radius:10px;
  padding:9px 12px; font-size:12px; font-family:inherit; color:var(--ink); outline:none;
}
.promo input:focus{border-color:var(--gold); background:#fff}
.promo button{border:1px solid var(--ink); background:var(--ink); color:#F7EFE2; border-radius:10px; padding:0 14px; font-size:11.5px; font-weight:700; cursor:pointer}
.promo button:hover{background:var(--terra-deep); border-color:var(--terra-deep)}
.promo-msg{font-size:10.5px; margin:0 0 6px; min-height:16px}
.promo-msg.ok{color:var(--green)}
.promo-msg.err{color:#A33B2B}

.form-grid{display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:10px}
.form-grid .wide{grid-column:1/-1}
.field{display:flex; flex-direction:column; gap:4px}
.field label{font-size:10.5px; font-weight:700; color:var(--ink-soft)}
.field input,.field select,.field textarea{
  width:100%; border:1px solid var(--line-2); background:var(--bg); border-radius:10px;
  padding:9px 11px; font-size:12px; font-family:inherit; color:var(--ink); outline:none;
  transition:.2s;
}
.field textarea{resize:vertical; min-height:54px}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--gold); background:#fff}
.field input.bad,.field select.bad,.field textarea.bad{border-color:#B4472F; background:#FDF2EE}
.validation{font-size:11px; color:#A33B2B; background:#FBEAE4; border:1px solid #E8C7BB; border-radius:10px; padding:8px 11px; margin:10px 0 0; line-height:1.7}
.drawer-foot .btn{margin-top:10px}
.pay-note{font-size:10px; color:var(--muted); text-align:center; margin:8px 0 0; line-height:1.7}

/* موبايل بار */
.mobile-bar{
  position:fixed; bottom:0; left:0; right:0; z-index:35; background:var(--ink); color:#F7EFE2;
  padding:10px 16px calc(10px + env(safe-area-inset-bottom)); display:none; align-items:center;
  justify-content:space-between; gap:10px; box-shadow:0 -12px 30px -18px rgba(0,0,0,.6);
}
.mobile-bar b{font-family:var(--head); font-size:14px}
.mobile-bar span{font-size:10.5px; color:#C9BBAA; display:block}
.mobile-bar .mbtn{background:var(--gold); color:#2E2721; border:0; border-radius:999px; padding:10px 18px; font-size:12px; font-weight:700; cursor:pointer; display:flex; gap:7px; align-items:center}
.mobile-bar .mbtn b{background:#2E2721; color:var(--gold); border-radius:50%; width:18px; height:18px; display:inline-flex; align-items:center; justify-content:center; font-size:10px; padding:0}

/* توست */
.toast{
  position:fixed; top:22px; left:50%; transform:translate(-50%,-28px);
  background:var(--ink); color:#F7EFE2; font-size:12.5px; font-weight:700;
  padding:11px 26px; border-radius:999px; opacity:0; pointer-events:none;
  transition:.3s; z-index:90; box-shadow:var(--soft); max-width:calc(100% - 30px); text-align:center;
}
.toast.on{opacity:1; transform:translate(-50%,0)}
.toast.bad{background:#8E3B2A}

/* ---------- صفحات داخلية (تتبع / شكر) ---------- */
.page-hero{background:var(--bg-2); border-bottom:1px solid var(--line-2); padding:44px 0 40px; text-align:center}
.page-hero .lbl{font-family:var(--latin); font-size:11.5px; letter-spacing:.28em; color:var(--gold); margin-bottom:8px}
.page-hero h1{font-family:var(--head); font-size:clamp(24px,3.2vw,34px); font-weight:700; margin:0 0 10px; line-height:1.5}
.page-hero p{font-size:13px; color:var(--ink-soft); max-width:52ch; margin:0 auto; font-weight:300}
.panel{background:var(--paper); border:1px solid var(--line); border-radius:var(--r); box-shadow:var(--soft); padding:26px}
.panel h2{font-family:var(--head); font-size:18px; font-weight:700; margin:0 0 6px}
.panel .sub{font-size:12px; color:var(--muted); margin:0 0 18px; font-weight:300}
.track-form{display:grid; grid-template-columns:1fr 1fr; gap:10px}
.track-form .wide{grid-column:1/-1}
.track-form label{font-size:11px; font-weight:700; color:var(--ink-soft); margin-bottom:4px; display:block}
.track-form input{border:1px solid var(--line-2); background:var(--bg); border-radius:12px; padding:12px 14px; font-size:13px; font-family:inherit; width:100%; outline:none}
.track-form input:focus{border-color:var(--gold); background:#fff}
.track-actions{display:flex; gap:8px; flex-wrap:wrap; margin-top:14px}
.track-actions .btn{flex:1 1 180px}
.track-list{margin-top:26px; display:flex; flex-direction:column; gap:16px}
.order-card{border:1px solid var(--line-2); border-radius:14px; overflow:hidden; background:var(--paper)}
.order-top{display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:wrap; padding:14px 16px; background:var(--bg-2); border-bottom:1px solid var(--line)}
.order-top .ref{font-family:var(--head); font-size:14px; font-weight:700; letter-spacing:.02em}
.order-top .ref small{display:block; font-family:var(--body); font-size:10px; color:var(--muted); font-weight:400; margin-top:2px}
.status-pill{font-size:10.5px; font-weight:700; padding:5px 12px; border-radius:999px; background:var(--sand); color:var(--ink-soft); white-space:nowrap}
.status-pill.new{background:#F2E4CF; color:#8B5E2B}
.status-pill.confirmed{background:#E3EDE6; color:#2F6B4F}
.status-pill.shipped{background:#E5EAF2; color:#3C5A80}
.status-pill.delivered{background:#DDEBDF; color:#245F3C}
.status-pill.cancelled{background:#F6E2DC; color:#9B3B29}
.steps{display:flex; align-items:center; padding:16px 16px 4px; gap:0}
.step{flex:1; text-align:center; position:relative; font-size:9.5px; color:var(--muted)}
.step::before{content:""; display:block; width:22px; height:22px; border-radius:50%; border:2px solid var(--line-2); background:var(--bg); margin:0 auto 6px}
.step::after{content:""; position:absolute; top:11px; right:50%; width:100%; height:2px; background:var(--line-2); z-index:0}
.step:first-child::after{display:none}
.step span{position:relative; z-index:1}
.step.done{color:var(--green); font-weight:700}
.step.done::before{background:var(--green); border-color:var(--green); box-shadow:inset 0 0 0 4px var(--paper)}
.step.done::after{background:var(--green)}
.step.now{color:var(--terra-deep); font-weight:700}
.step.now::before{background:var(--paper); border-color:var(--terra); box-shadow:inset 0 0 0 4px var(--terra)}
.order-body{padding:8px 16px 16px}
.oi{display:flex; justify-content:space-between; gap:10px; font-size:12px; padding:7px 0; border-bottom:1px dashed var(--line)}
.oi:last-child{border-bottom:0}
.oi .n{color:var(--ink)}
.oi .n small{color:var(--muted); font-size:10.5px; display:block}
.oi b{color:var(--terra-deep); white-space:nowrap}
.order-totals{margin-top:10px; padding-top:10px; border-top:1px solid var(--line-2)}
.order-meta{font-size:10.5px; color:var(--muted); margin-top:10px; line-height:1.9}

.thanks{max-width:720px; margin:0 auto; padding:44px 0 70px}
.thanks-box{background:var(--paper); border:1px solid var(--line); border-radius:calc(var(--r) + 6px); box-shadow:0 30px 60px -40px rgba(46,39,33,.6); padding:38px 34px; text-align:center; position:relative; overflow:hidden}
.thanks-box::before{content:""; position:absolute; top:-90px; left:50%; transform:translateX(-50%); width:220px; height:220px; border-radius:50%; background:radial-gradient(circle, rgba(190,154,98,.22), transparent 70%)}
.thanks-ico{width:72px; height:72px; border-radius:50%; background:#E6EFE8; border:2px solid #BFD8C6; color:var(--green); display:flex; align-items:center; justify-content:center; font-size:30px; margin:0 auto 18px; position:relative}
.thanks-box h1{font-family:var(--head); font-size:24px; margin:0 0 8px; line-height:1.5; position:relative}
.thanks-box .ref-line{display:inline-flex; align-items:center; gap:8px; background:var(--bg-2); border:1px dashed var(--gold); border-radius:999px; padding:8px 18px; font-size:12.5px; margin:6px 0 18px; position:relative}
.thanks-box .ref-line b{font-family:var(--head); font-size:15px; letter-spacing:.05em}
.thanks-box p{font-size:12.5px; color:var(--ink-soft); max-width:48ch; margin:0 auto 18px; font-weight:300; position:relative}
.thanks-note{background:var(--bg-2); border:1px solid var(--line-2); border-radius:12px; padding:14px 16px; font-size:11.5px; color:var(--ink-soft); text-align:right; line-height:1.9; margin:0 0 18px; position:relative}
.thanks-actions{display:flex; gap:8px; justify-content:center; flex-wrap:wrap; position:relative}
.thanks-items{text-align:right; margin:20px 0; position:relative}
.thanks-items h3{font-size:12px; color:var(--muted); font-weight:700; margin:0 0 8px}

/* ---------- استجابة ---------- */
@media (max-width:1024px){
  .hdr-in{height:auto; flex-wrap:wrap; padding-top:10px; gap:0 10px}
  .nav{
    display:flex; order:3; flex:1 0 100%; gap:4px; overflow-x:auto;
    padding:4px 0 10px; scrollbar-width:none; -webkit-overflow-scrolling:touch;
  }
  .nav::-webkit-scrollbar{display:none}
  .nav a{padding:6px 12px; font-size:12px; flex:0 0 auto}
  .grid{grid-template-columns:1fr 1fr}
  .card-img img{height:260px}
  .whole-in{grid-template-columns:1fr; padding:36px 30px}
  .whole-in .btn{justify-self:start}
  .ftr-in{grid-template-columns:1fr 1fr; gap:30px}
}
@media (max-width:820px){
  .trust-in{grid-template-columns:1fr 1fr; row-gap:20px}
  .trust-it:nth-child(odd){border-right:0}
  .trust-it{padding:0 12px}
  .cover-badge{bottom:10px; left:10px; font-size:10px; padding:6px 12px}
  .cart .cart-total{display:none}
}
@media (max-width:600px){
  .wrap{width:calc(100% - 30px)}
  .hdr-in{height:auto; gap:0 8px; padding-top:8px}
  .logo-chip{width:40px; height:40px; flex:0 0 40px}
  .brand-txt b{font-size:16px}
  .brand-txt i{font-size:8.5px; letter-spacing:.16em}
  .hdr-act .icon-btn:not(.cart){display:none}
  .hero{padding:16px 0 0}
  .cover-wrap{border-radius:16px}
  .cover-badge{display:none}
  .hero-copy{padding:28px 0 32px}
  .hero h1{font-size:25px; line-height:1.7}
  .hero .lead{font-size:12.5px; line-height:2}
  .btn{padding:12px 24px; font-size:12.5px}
  .stats div{padding:13px 8px; min-width:0; flex-basis:33.33%}
  .stats b{font-size:16px}
  .stats span{font-size:9.5px}
  .cats{padding-top:24px}
  .cat-pill{font-size:11.5px; padding:8px 15px}
  .sec{padding:32px 0 46px}
  .sec-head{margin-bottom:20px}
  .grid{grid-template-columns:1fr; gap:18px}
  .card-img img{height:300px}
  .card.more{min-height:0; padding:32px 22px}
  .trust-in{grid-template-columns:1fr; row-gap:0; padding:10px 0}
  .trust-it{padding:12px 4px; border-right:0 !important}
  .trust-it + .trust-it{border-top:1px solid var(--line-2)}
  .whole{padding:42px 0}
  .whole-in{padding:28px 22px}
  .ftr-in{grid-template-columns:1fr; gap:26px; padding-bottom:30px}
  .ftr{padding-top:40px}
  .ftr-bot-in{flex-direction:column; align-items:flex-start; gap:7px}
  .toast{width:calc(100% - 40px)}
  .mobile-bar{display:flex}
  body.has-bar{padding-bottom:74px}
  .drawer{width:100%}
  .form-grid{grid-template-columns:1fr}
  .track-form{grid-template-columns:1fr}
  .thanks-box{padding:28px 20px}
  .thanks-box h1{font-size:20px}
  .steps{padding:14px 10px 0}
  .step{font-size:8.5px}
  .panel{padding:20px 16px}
}
@media (prefers-reduced-motion:reduce){
  *{transition:none !important; animation:none !important; scroll-behavior:auto !important}
}
