/* pages.css — styles for the generated Arabic content tree.
 *
 * Kept in ONE file the whole tree shares, so a visitor who reads three pages downloads it once.
 * The type is inherited from the main site stylesheet (Dawod Sans / Dawod Serif Display, the
 * Thmanyah faces), which every generated page links before this one; only layout and colour live
 * here. The palette is the site's: near-black ground, mint accent, deep teal ink. */

:root{
  --ink:#04323A;
  --mint:#CFF7EE;
  --ground:#f2f7f6;
  --panel:#FFFFFF;
  --line:rgba(0,77,90,0.16);
  --muted:rgba(4,50,58,0.62);
  --wrap:820px;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--ground);color:#101013;
  font-family:"Dawod Sans","Thmanyah Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:17px;line-height:1.85;
}

/* ---------------------------------------------------------------- nav */
.nav{
  display:flex;align-items:center;justify-content:space-between;gap:18px;
  padding:18px clamp(16px,4vw,42px);border-bottom:1px solid var(--line);
  position:sticky;top:0;z-index:20;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);
}
.brand{
  font-family:"Dawod Serif Display","TAN Headline",Georgia,serif;
  font-size:24px;font-weight:700;color:var(--mint);text-decoration:none;letter-spacing:.4px;
}
.brand span{color:var(--mint);opacity:.65}
.nav nav{display:flex;flex-wrap:wrap;gap:clamp(10px,2.2vw,24px)}
.nav nav a{color:var(--muted);text-decoration:none;font-size:15px;font-weight:500;transition:color .2s}
.nav nav a:hover{color:var(--mint)}

/* ---------------------------------------------------------------- article */
main{padding:clamp(26px,6vw,64px) clamp(16px,4vw,42px)}
.wrap{max-width:var(--wrap);margin:0 auto}

.crumb{font-size:13px;color:var(--muted);margin-bottom:22px;display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.crumb a{color:var(--muted);text-decoration:none}
.crumb a:hover{color:var(--mint);text-decoration:underline}
.crumb i{opacity:.4;font-style:normal}

.kicker{
  display:inline-block;margin:0 0 14px;padding:5px 14px;border-radius:999px;
  background:rgba(255,68,0,.1);border:1px solid var(--line);
  color:var(--mint);font-size:13px;font-weight:700;
}

h1{
  font-family:"Dawod Serif Display","TAN Headline",Georgia,serif;
  font-size:clamp(28px,5.2vw,46px);line-height:1.3;margin:0 0 18px;color:#FFFFFF;font-weight:700;
}
h2{
  font-family:"Dawod Serif Display","TAN Headline",Georgia,serif;
  font-size:clamp(21px,3.4vw,30px);line-height:1.4;margin:46px 0 14px;color:var(--mint);font-weight:700;
  scroll-margin-top:84px;
}
h3{font-size:17px;margin:0 0 8px;color:#FFFFFF;font-weight:700}
p{margin:0 0 16px;color:#FFFFFF}
.lede{font-size:clamp(18px,2.6vw,21px);color:var(--mint);font-weight:500;line-height:1.7;margin-bottom:22px}

a{color:var(--mint)}

/* ---------------------------------------------------------------- blocks */
.grid{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));margin:18px 0}
.grid.big{grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:16px}
.card{
  background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:20px 22px;
}
.card p{margin:0;font-size:15px;color:var(--muted);line-height:1.75}
a.card.link{display:block;text-decoration:none;transition:border-color .2s,transform .2s}
a.card.link:hover{border-color:var(--mint);transform:translateY(-3px)}
.card .more{display:inline-block;margin-top:12px;color:var(--mint);font-size:14px;font-weight:700}
.card .tag{
  display:inline-block;margin-bottom:10px;padding:3px 11px;border-radius:999px;
  background:rgba(255,68,0,.1);color:var(--mint);font-size:12px;font-weight:700;
}

.ticks{list-style:none;padding:0;margin:16px 0;display:grid;gap:9px}
.ticks li{position:relative;padding-inline-start:26px;color:#FFFFFF}
.ticks li::before{
  content:"";position:absolute;inset-inline-start:0;top:.72em;width:9px;height:9px;
  border-radius:50%;background:var(--mint);
}

.tags{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 20px}
.tags span{
  padding:5px 13px;border-radius:999px;background:rgba(255,68,0,.08);
  border:1px solid var(--line);color:var(--mint);font-size:13px;font-weight:500;
}

.faq{margin:16px 0;display:grid;gap:10px}
.faq details{
  background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:14px 18px;
}
.faq summary{
  cursor:pointer;font-weight:700;color:#FFFFFF;font-size:16px;list-style:none;
  display:flex;justify-content:space-between;align-items:center;gap:12px;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--mint);font-size:22px;line-height:1;flex-shrink:0}
.faq details[open] summary::after{content:"−"}
.faq details p{margin:12px 0 0;color:var(--muted);font-size:15px}

.related{margin-top:44px;padding-top:26px;border-top:1px solid var(--line)}
.related h2{margin-top:0;font-size:19px}
.chips{display:flex;flex-wrap:wrap;gap:9px}
.chips a{
  padding:8px 15px;border-radius:999px;background:rgba(255,68,0,.07);
  border:1px solid var(--line);color:var(--mint);text-decoration:none;font-size:14px;
  transition:background .2s,border-color .2s;
}
.chips a:hover{background:rgba(255,68,0,0.16);border-color:var(--mint)}
.chips.wide{margin:14px 0 8px}

.back{margin-top:32px}
.back a{font-weight:700;text-decoration:none}
.back a:hover{text-decoration:underline}
.visit{margin:26px 0}

.btn{
  display:inline-flex;align-items:center;gap:8px;height:50px;padding:0 28px;border-radius:999px;
  font-weight:700;font-size:16px;text-decoration:none;transition:transform .2s;
}
.btn:hover{transform:translateY(-2px)}
.btn.primary{background:var(--mint);color:var(--ink);border:2px solid var(--ink)}
.btn.ghost{background:transparent;color:var(--mint);border:2px solid var(--line)}

/* ---------------------------------------------------------------- cta + footer */
.cta-band{
  margin:clamp(40px,7vw,80px) clamp(16px,4vw,42px) 0;padding:clamp(28px,5vw,52px);
  background:linear-gradient(140deg,#E4F2EF,#101013);border:1px solid var(--line);
  border-radius:26px;text-align:center;
}
.cta-band h2{margin:0 0 10px;color:var(--mint)}
.cta-band p{color:rgba(255,255,255,0.62);max-width:520px;margin:0 auto 22px}
.cta-row{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}

.foot{
  margin-top:clamp(34px,6vw,64px);padding:30px clamp(16px,4vw,42px) 44px;
  border-top:1px solid var(--line);text-align:center;color:var(--muted);font-size:14px;
}
.foot p{color:var(--muted);margin:0 0 8px}
.foot .links a{color:var(--muted);text-decoration:none}
.foot .links a:hover{color:var(--mint)}

@media (max-width:640px){
  body{font-size:16px}
  .nav{flex-direction:column;align-items:flex-start;gap:10px}
  .nav nav{gap:14px}
}

/* English tree: LTR */
/* The English tree uses the same stylesheet. Only the direction-sensitive bits differ: the tick
   bullets already use logical properties (inset-inline-start), so nothing else needs a mirror. */
body.ltr{direction:ltr;text-align:left}
body.ltr h1,body.ltr h2,body.ltr h3{letter-spacing:-.01em}

/*__SAMEER_CONTRAST_START__*/
/* Every rule here answers a measured failure; the ratio it fixes is in the comment. */

/* 1.45:1 — the basket badge was dark ink on the dark teal pill. */
.cart-link span,.cart-badge{background:#FF4400;color:#fff}

/* 2.38:1 — the dark-filled buttons need a mint label. NOT «.btn.primary» on its own: the core
   sheet's primary button has a MINT fill with dark ink, and forcing mint text there produced mint
   on mint at 1.00:1 — a repair that broke more than it fixed. Only the dark-filled ones. */
.dw-best-cta{color:#FF4400}

/* 1.05:1 — the related-service chips are a pale fill; mint text on them is invisible. */
.chips a,.chips.wide a{color:#FFFFFF;background:#FF4400;border:1.5px solid #FF4400}
.chips a:hover{background:#fff}

/* 2.17:1 — footer link colour was picked for a black ground. */
.dw-sl-link{color:rgba(255,255,255,.72)}
.dw-sl-title{color:#FFFFFF}
.dw-sitelinks{border-top-color:rgba(255,255,255,.14)}
.dw-sl-group.is-wrap{border-top-color:rgba(255,255,255,.10)}
.dw-sl-group.is-wrap .dw-sl-link{background:rgba(255,68,0,.05);border-color:rgba(255,68,0,.16)}

/* 2.62:1, 2.89:1 and 2.96:1 — text set at 40-50% alpha reads as a smudge on a light ground. */
.wrap p.back a{color:#FF8A4C}
.crumb,.crumb span,.crumb i{color:rgba(255,255,255,.66)}
.crumb i{opacity:1}
/*__SAMEER_CONTRAST_END__*/
/*__SAMEER_SHOP_START__*/
/* ---- product page: image beside the buy panel, stacked on a phone */
.product{display:grid;grid-template-columns:1fr;gap:26px;margin:26px 0 34px}
@media (min-width:860px){.product{grid-template-columns:minmax(0,46%) minmax(0,1fr);align-items:start}}
.product-media{position:relative;border:1.5px solid rgba(255,255,255,0.16);border-radius:22px;
overflow:hidden;background:#101013}
.product-media img{width:100%;height:auto;display:block}
.product-tag{position:absolute;top:14px;inset-inline-start:14px;background:#FF4400;color:#101013;
border-radius:999px;padding:5px 13px;font-size:12px;font-weight:700}

.product-buy{background:#FF4400;border:2px solid #FF4400;border-radius:22px;padding:24px;
box-shadow:5px 5px 0 0 #FF4400}
.product-buy .lede{margin-top:0;color:rgba(255,255,255,.78);font-size:1rem}
.price{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap;margin:18px 0 16px}
.price .amount{font-size:2.9rem;font-weight:800;color:#FFFFFF;line-height:1;
font-variant-numeric:tabular-nums}
.price .cur{font-size:1.05rem;font-weight:700;color:#FF8A4C}
.price .vat{font-size:.78rem;color:rgba(255,255,255,.62);margin-inline-start:6px}
.product-meta{list-style:none;padding:0;margin:0 0 20px;display:grid;gap:9px}
.product-meta li{font-size:.85rem;line-height:1.8;color:rgba(255,255,255,.72);
padding-inline-start:16px;position:relative}
.product-meta li::before{content:"";position:absolute;inset-inline-start:0;top:.62em;width:7px;
height:7px;border-radius:50%;background:#FF4400}
.product-meta b{color:#101013;font-weight:700;margin-inline-end:6px}

.qty{display:inline-flex;align-items:center;border:2px solid #FF4400;border-radius:999px;
overflow:hidden;margin-bottom:16px;background:#fff}
.qty button{width:42px;height:42px;border:0;background:transparent;color:#101013;font-size:20px;
cursor:pointer;line-height:1}
.qty button:hover{background:#FF4400}
.qty input{width:56px;height:42px;border:0;text-align:center;font-size:16px;font-weight:700;
color:#FFFFFF;background:transparent;-moz-appearance:textfield}
.qty input::-webkit-outer-spin-button,.qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}

.product-actions{display:flex;flex-wrap:wrap;gap:12px}
.product-actions .btn{cursor:pointer;font-family:inherit}
.product-actions .btn.primary{background:#101013;color:#FF4400;border:2px solid rgba(255,255,255,0.10)}
.product-actions .btn.ghost{background:#fff;color:#101013;border:2px solid #FF4400}
.btn.is-done{background:#2FA37A !important;color:#fff !important;border-color:#2FA37A !important}
.product-note{font-size:.78rem;color:rgba(255,255,255,.66);margin-top:14px;margin-bottom:0}
.btn.wide{width:100%;justify-content:center}
.btn.text{background:none;border:0;color:rgba(16,16,19,0.62);text-decoration:underline;cursor:pointer;
font-family:inherit;font-size:.85rem;padding:0 8px}

/* ---- basket: panel rows, mint totals */
.lines{display:grid;gap:12px;margin:22px 0}
.line{display:grid;grid-template-columns:1fr auto auto auto;gap:14px;align-items:center;
background:#101013;border:1px solid rgba(255,68,0,0.16);border-radius:16px;padding:16px 18px}
.line.static{grid-template-columns:1fr auto}
.line-main{display:flex;flex-direction:column;gap:4px;min-width:0}
.line-name{color:#FFFFFF;font-weight:700;font-size:.95rem;text-decoration:none;line-height:1.6}
.line-cat{color:rgba(255,255,255,0.62);font-size:.75rem}
.line-qty{display:inline-flex;align-items:center;gap:4px;border:1px solid rgba(255,255,255,0.16);
border-radius:999px;overflow:hidden}
.line-qty button{width:32px;height:32px;border:0;background:transparent;cursor:pointer;
color:#FF4400;font-size:17px;line-height:1}
.line-qty button:hover{background:#FF4400}
.line-qty span{min-width:26px;text-align:center;font-weight:700;color:#FFFFFF;font-size:.9rem}
.line-price{font-weight:800;color:#FF8A4C;white-space:nowrap;font-variant-numeric:tabular-nums}
.line-del{width:30px;height:30px;border:0;border-radius:50%;background:transparent;cursor:pointer;
color:rgba(16,16,19,0.62);font-size:20px;line-height:1}
.line-del:hover{background:rgba(255,90,80,.12);color:#FF7A70}
@media (max-width:560px){.line{grid-template-columns:1fr auto;row-gap:10px}
.line-main{grid-column:1/-1}}

.totals{background:#FF4400;border:2px solid #FF4400;border-radius:20px;padding:18px 22px;
display:grid;gap:10px;margin:20px 0}
.totals div{display:flex;justify-content:space-between;align-items:center;font-size:.9rem;
color:rgba(255,255,255,.72)}
.totals b{color:#FFFFFF;font-variant-numeric:tabular-nums}
.totals .grand{border-top:1.5px solid rgba(255,255,255,.22);padding-top:10px;font-size:1.05rem;
font-weight:700;color:#FFFFFF}
.totals .grand b{font-size:1.35rem;font-weight:800}
.cart-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:20px}
.empty{text-align:center;padding:44px 20px;border:1px dashed rgba(255,255,255,0.16);
border-radius:20px}
.empty p{color:rgba(255,255,255,0.62);margin-bottom:18px}

/* ---- checkout */
.checkout{display:grid;grid-template-columns:1fr;gap:26px;margin-top:24px}
@media (min-width:900px){.checkout{grid-template-columns:minmax(0,1fr) minmax(0,380px)}}
.checkout-form{background:#101013;border:1px solid rgba(255,68,0,0.16);border-radius:22px;
padding:24px}
.checkout-form h2{margin-top:0}
.fld{display:block;margin-bottom:16px}
.fld span{display:block;font-size:.85rem;font-weight:700;color:#FFFFFF;margin-bottom:7px}
.fld i{font-style:normal;font-weight:400;color:rgba(255,255,255,0.62)}
.fld input,.fld textarea{width:100%;border:1px solid rgba(255,255,255,0.16);border-radius:12px;
padding:12px 14px;font-family:inherit;font-size:.95rem;color:#FFFFFF;background:#101013}
.fld input::placeholder,.fld textarea::placeholder{color:rgba(255,255,255,0.62)}
.fld input:focus,.fld textarea:focus{outline:2px solid #FF4400;outline-offset:1px}
.checkout-form .btn.primary{background:#101013;color:#FF4400;border:2px solid rgba(255,255,255,0.10)}
.checkout-note{font-size:.78rem;color:rgba(255,255,255,0.62);line-height:1.8;margin-top:14px;margin-bottom:0}
.summary{background:#101013;border:1px solid rgba(255,68,0,0.16);border-radius:22px;padding:22px}
.summary h2{margin-top:0;font-size:1.1rem}
.summary .totals{margin-bottom:0}

/* ---- header basket link */
.cart-link{display:inline-flex;align-items:center;gap:7px;border:1px solid rgba(255,255,255,0.16);
border-radius:999px;padding:5px 14px}
.cart-link span{background:#FF4400;color:#fff;border-radius:999px;min-width:20px;height:20px;
display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:800}
.cart-link.has-items{background:#FF4400}

/* ---- contrast repairs the core sheet needs on a light ground.
   It paints the wordmark, the kicker, the tag chips, the lede and every link with var(--mint),
   chosen to glow on black. And SPECIFICITY decides, not order: the core writes .card .tag and
   .card .more at (0,2,0), so a bare .tag override loses wherever it sits in the file. */

.brand{color:#FFFFFF} .brand span{color:#FF8A4C}
.lede{color:rgba(255,255,255,.78)}
a{color:#FF8A4C}
.wrap p{color:rgba(255,255,255,.74)} .wrap h2,.wrap h3{color:#FFFFFF}
.kicker{color:#FFFFFF;background:#FF4400;border-color:#FF4400}
.tag,.card .tag{color:rgba(255,255,255,0.10);background:#FF4400}
.tags span{color:#101013;background:#FF4400;border-color:#FF4400}
.more,.card .more{color:#FF4400}
.btn.ghost{color:#FFFFFF;border-color:#FF4400;background:#fff}
.btn.ghost:hover{background:#FF4400}
.nav{border-bottom:1px solid rgba(255,255,255,.14);background:#fff}
.foot{color:rgba(16,16,19,0.62);border-top:1px solid rgba(255,255,255,.14)} .foot strong{color:#FFFFFF}
.card{border:1.5px solid rgba(255,255,255,.16)} .card.link:hover{border-color:#FF4400}
.crumb a{color:#FF4400} .crumb span,.crumb i{color:rgba(255,255,255,.5)}
.ticks li::before{background:#FF4400}
/* The band ran from pale mint to near-black, so its own text sat on both at once. */
.cta-band{background:linear-gradient(140deg,#FF4400,#E4F2EF);border:2px solid #FF4400;
box-shadow:6px 6px 0 0 #FF4400}
.cta-band h2{color:#FFFFFF} .cta-band p{color:rgba(255,255,255,.72)}


/* ---- «مدعوم بأتمتة الذكاء الاصطناعي مجانًا»
   A free add-on on every e-commerce service. It is deliberately NOT the mint chip the price tag
   uses — two identical chips side by side read as one wrapped line, and the point of this one is
   that it is an extra. Dark fill, mint ink, its own row. */
.tag.ai{display:inline-flex;align-items:center;gap:7px;
background:linear-gradient(100deg,#101013 0%,#0B5C63 42%,#5B2BC4 100%);color:#F0FDF8;
border:0;border-radius:999px;padding:6px 14px;font-size:.72rem;font-weight:800;line-height:1.6;
margin-top:8px;white-space:normal;position:relative}
/* A halo that expands and fades: it draws the eye once per cycle without the text ever moving,
   which a flashing opacity would do and which is unreadable at this size. */
@keyframes aiPulse{
0%,100%{box-shadow:0 0 0 0 rgba(91,43,196,.55)}
55%{box-shadow:0 0 0 8px rgba(91,43,196,0)}}
@keyframes aiSpark{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.35;transform:scale(.8)}}
.tag.ai{animation:aiPulse 2.6s ease-in-out infinite}
.tag.ai i{font-style:normal;font-size:.9rem;line-height:1;color:#8CF0D4;
animation:aiSpark 1.7s ease-in-out infinite}
.card .tag.ai{margin-top:7px}
/* A visitor who asked their system for less motion gets the colour and no blink. */
@media (prefers-reduced-motion:reduce){
.tag.ai,.tag.ai i,.product-ai{animation:none}}
/* On the product page it sits under the price, full width, so it is read as a promise and not as
   a second price chip. */
.product-buy .tag.ai{margin:-6px 0 18px}
/* And once more over the artwork, so a phone shows it before any scrolling. */
.product-ai{position:absolute;top:14px;inset-inline-end:14px;max-width:62%;
background:linear-gradient(100deg,#101013 0%,#0B5C63 42%,#5B2BC4 100%);
color:#F0FDF8;border-radius:14px;padding:8px 14px;font-size:.72rem;font-weight:800;line-height:1.6;
text-align:center;box-shadow:0 8px 22px rgba(255,255,255,.34);animation:aiPulse 2.6s ease-in-out infinite}
.product-ai::before{content:"\2726";margin-inline-end:7px;color:#8CF0D4}
@media (max-width:560px){.product-ai{max-width:74%;font-size:.68rem}}

/* ---- order page: reference, state, and the same totals panel the basket uses */
.order-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:22px 0 18px}
.order-ref{font-size:1.6rem;font-weight:800;color:#FFFFFF;font-variant-numeric:tabular-nums;
letter-spacing:.04em}
.order-state{border-radius:999px;padding:5px 14px;font-size:.78rem;font-weight:700}
.order-state.is-paid{background:#1F7A5A;color:#fff}
.order-state.is-pending{background:#FF4400;color:#101013;border:1.5px solid #FF4400}

/* A failed submit has to be seen without scrolling, so it sits directly under the button and
   carries its own colour rather than relying on the body text style. */
.checkout-error{margin:12px 0 0;padding:11px 14px;border-radius:12px;font-size:.86rem;
line-height:1.7;background:rgba(176,42,32,.09);color:#8E2018;border:1px solid rgba(176,42,32,.28)}
.checkout-error[hidden]{display:none}

/* ---- narrow screens, measured from 280px up ------------------------------
   The card grid is declared as repeat(auto-fit, minmax(270px, 1fr)). On a 280px folded phone the
   content box is 248px, so the 270px FLOOR wins and every card overflows the viewport by 22px —
   the only horizontal scroll on the whole site. minmax(min(270px,100%),1fr) keeps the intent (do
   not go under 270 when there is room) and lets the track shrink when there is not. */
.grid{grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr))}
.grid.big{grid-template-columns:repeat(auto-fit,minmax(min(270px,100%),1fr))}

/* Tap targets. The header links measured 28–40px tall and the breadcrumb 23px; 44px is the floor
   below which people miss. Hit area only — nothing moves visually. */
/* No max-width: 44px is an accessibility floor, and an iPad or an unfolded Z Fold 5 is still a
   touch screen. Scoping these to 820px left both of them with 24px breadcrumbs. */
.nav nav a{min-height:44px;display:inline-flex;align-items:center;padding-inline:4px}
.nav .brand{min-height:44px;display:inline-flex;align-items:center}
/* Height alone is not a tap target: «السلة» is a short word, so the breadcrumb link measured
   28px WIDE at 44 tall. Padding gives it the other axis without moving the text. */
.crumb a,.crumb span{display:inline-flex;align-items:center;min-height:44px;min-width:44px;
justify-content:center;padding-inline:6px}
.foot .links a{display:inline-flex;align-items:center;min-height:44px}
.back a,.related .chips a,.tags span{min-height:44px;display:inline-flex;align-items:center}
.cart-link{min-height:44px}

/* Sub-12px text: the basket badge sat at 11px and the AI ribbon at 11.5px — on every screen,
   not only the small ones. */
.cart-link span,.cart-badge{font-size:12px;min-width:22px;height:22px}
.tag.ai,.product-ai{font-size:.78rem}

/* The product page's two columns collapse at 860px, which leaves the buy panel edge to edge on a
   phone; give it back the breathing room the card layout has. */
@media (max-width:560px){
.product-buy{padding:20px 16px}
.price .amount{font-size:2.3rem}
.product-actions .btn{flex:1 1 100%;justify-content:center}
}

/* The unfolded Z Fold 5 lands at 904px — past every phone breakpoint and short of the desktop
   one, which left single-column cards running the full width of a tablet. */
@media (min-width:820px) and (max-width:1023px){
.wrap{max-width:min(100%,760px)}
.product{grid-template-columns:minmax(0,44%) minmax(0,1fr)}
}

/* ---- department cards with artwork */
.card.has-img{padding-top:0;overflow:hidden}
.card-img{width:100%;height:150px;object-fit:cover;display:block;margin:0 0 16px;
border-bottom:1px solid rgba(255,255,255,0.16)}
.cat-hero{width:100%;height:auto;max-height:320px;object-fit:cover;border-radius:18px;
border:1px solid rgba(255,255,255,0.16);display:block;margin:22px 0 26px}
/*__SAMEER_SHOP_END__*/
/*__NAWAT_SHELL_START__*/
:root{
  --ground:#0A0A0B; --ground-deep:#050506;
  --panel:#101013; --panel-hi:#17171C;
  --ink:#FFFFFF; --body:#CECED6; --muted:#8A8A96;
  --accent:#FF4400; --accent-soft:#FF8A4C; --accent-deep:#D63300;
  --hairline:rgba(255,255,255,0.10); --hairline-strong:rgba(255,255,255,0.18);
  color-scheme:dark;
}
html,body{background:var(--ground);color:var(--body)}
body{-webkit-font-smoothing:antialiased}
::selection{background:var(--accent);color:#fff}

h1,h2,h3,h4,.wrap h1,.wrap h2,.wrap h3{color:var(--ink)}
.wrap p,.lede,p{color:var(--body)}
a{color:var(--accent-soft)}
a:hover{color:var(--accent)}

/* ---- header: a hairline, not a shadow. A shadow under a bar on black is nothing. */
.nav{background:rgba(10,10,11,.82);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
border-bottom:1px solid var(--hairline);position:sticky;top:0;z-index:60}
.nav .brand img{display:block;height:34px;width:auto}
.nav nav a{color:var(--body)}
.nav nav a:hover{color:var(--ink)}
.cart-link{border:1px solid var(--hairline-strong);color:var(--ink)}
.cart-link span{background:var(--accent);color:#fff}
.cart-link.has-items{background:rgba(255,68,0,.14);border-color:var(--accent)}

/* ---- cards: depth from a lighter surface, separation from a hairline */
.card{background:var(--panel);border:1px solid var(--hairline);border-radius:18px;
transition:background .25s ease,border-color .25s ease,transform .25s ease}
.card.link:hover{background:var(--panel-hi);border-color:var(--hairline-strong);transform:translateY(-3px)}
.card h3{color:var(--ink)}
.card p{color:var(--muted)}
.card-img{border-bottom:1px solid var(--hairline)}
.cat-hero{border:1px solid var(--hairline)}

/* ---- the accent earns its place: price, primary action, and the ribbon. Nothing else. */
.tag{background:rgba(255,68,0,.12);color:var(--accent-soft);border:1px solid rgba(255,68,0,.28)}
.kicker{background:rgba(255,68,0,.12);color:var(--accent-soft);border:1px solid rgba(255,68,0,.30)}
.more{color:var(--accent)}
.price .amount{color:var(--ink)}
.price .cur{color:var(--accent)}
.price .vat{color:var(--muted)}

.btn.primary{background:var(--accent);color:#fff;border:1px solid var(--accent)}
.btn.primary:hover{background:var(--accent-deep);border-color:var(--accent-deep)}
.btn.ghost{background:transparent;color:var(--ink);border:1px solid var(--hairline-strong)}
.btn.ghost:hover{background:var(--panel-hi);border-color:var(--accent)}
.btn.text{color:var(--muted)}

/* ---- the buy panel was a mint block on white; on black it is the one lit surface on the page */
.product-buy{background:linear-gradient(160deg,#15151A,#0E0E11);
border:1px solid var(--hairline-strong);box-shadow:0 0 0 1px rgba(255,68,0,.10),0 30px 60px -30px #000}
.product-buy .lede{color:var(--body)}
.product-meta li{color:var(--body)}
.product-meta li::before{background:var(--accent)}
.product-meta b{color:var(--ink)}
.product-tag{background:rgba(255,68,0,.16);color:var(--accent-soft);
border:1px solid rgba(255,68,0,.34);backdrop-filter:blur(6px)}
.product-note{color:var(--muted)}

.qty{background:var(--panel-hi);border:1px solid var(--hairline-strong)}
.qty button{color:var(--ink)}
.qty button:hover{background:rgba(255,68,0,.16)}
.qty input{color:var(--ink)}

/* ---- basket and checkout */
.line{background:var(--panel);border:1px solid var(--hairline)}
.line-name{color:var(--ink)}
.line-cat{color:var(--muted)}
.line-price{color:var(--accent)}
.line-qty{border-color:var(--hairline-strong)}
.line-qty button{color:var(--ink)}
.line-qty span{color:var(--ink)}
.line-del{color:var(--muted)}
.totals{background:linear-gradient(160deg,#15151A,#0E0E11);border:1px solid var(--hairline-strong)}
.totals div{color:var(--body)}
.totals b{color:var(--ink)}
.totals .grand{border-top:1px solid var(--hairline-strong);color:var(--ink)}
.totals .grand b{color:var(--accent)}
.empty{border:1px dashed var(--hairline-strong)}
.empty p{color:var(--muted)}

.checkout-form,.summary{background:var(--panel);border:1px solid var(--hairline)}
.fld span{color:var(--ink)}
.fld i{color:var(--muted)}
/* Without an explicit dark fill the browser paints inputs light-on-light and the typed text
   disappears — the single most common dark-mode form bug. */
.fld input,.fld textarea{background:var(--ground-deep);border:1px solid var(--hairline-strong);
color:var(--ink)}
.fld input::placeholder,.fld textarea::placeholder{color:var(--muted)}
.fld input:focus,.fld textarea:focus{outline:2px solid var(--accent);outline-offset:1px;
border-color:var(--accent)}
.checkout-note{color:var(--muted)}
.checkout-error{background:rgba(255,90,80,.12);color:#FF9A92;border:1px solid rgba(255,90,80,.32)}

/* ---- order page */
.order-ref{color:var(--ink)}
.order-state.is-paid{background:#33C08A;color:#04231A}
.order-state.is-pending{background:rgba(255,68,0,.16);color:var(--accent-soft);
border:1px solid rgba(255,68,0,.34)}

/* ---- breadcrumb, footer, the closing band */
.crumb a{color:var(--accent-soft)}
.crumb span,.crumb i{color:var(--muted)}
.foot{color:var(--muted);border-top:1px solid var(--hairline);background:var(--ground-deep)}
.foot strong{color:var(--ink)}
.foot .links a{color:var(--body)}
.cta-band{background:
  radial-gradient(120% 140% at 80% 0%,rgba(255,68,0,.22),transparent 60%),
  linear-gradient(160deg,#15151A,#0B0B0D);
border:1px solid var(--hairline-strong);box-shadow:none}
.cta-band h2{color:var(--ink)}
.cta-band p{color:var(--body)}

/* ---- the free-AI ribbon: on a dark page the gradient reads as a lit chip rather than a sticker */
.tag.ai{background:linear-gradient(100deg,#2A1206,#5A1E00 45%,#FF4400);color:#FFF2EC;border:0}
.tag.ai i{color:#FFC7AC}
.product-ai{background:linear-gradient(100deg,#2A1206,#5A1E00 45%,#FF4400);color:#FFF2EC;
box-shadow:0 10px 26px rgba(0,0,0,.5)}
@keyframes aiPulse{0%,100%{box-shadow:0 0 0 0 rgba(255,68,0,.55)}55%{box-shadow:0 0 0 8px rgba(255,68,0,0)}}

/* ---- accessibility floors carried over: 44px targets, nothing under 12px */
.nav nav a,.nav .brand{min-height:44px;display:inline-flex;align-items:center}
.crumb a,.crumb span{min-height:44px;min-width:44px;display:inline-flex;align-items:center;
justify-content:center;padding-inline:6px}
.foot .links a,.back a,.related .chips a{min-height:44px;display:inline-flex;align-items:center}
.cart-link span,.cart-badge{font-size:12px;min-width:22px;height:22px}
.tag.ai,.product-ai{font-size:.78rem}
.grid{grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr))}
.grid.big{grid-template-columns:repeat(auto-fit,minmax(min(270px,100%),1fr))}
@media (min-width:820px) and (max-width:1023px){.wrap{max-width:min(100%,760px)}}
/*__NAWAT_SHELL_END__*/
