/* 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:#0A0A0A;
  --panel:#0F1A1C;
  --line:rgba(207,247,238,.16);
  --muted:#9DB6B8;
  --wrap:820px;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--ground);color:#EAF6F4;
  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(10,10,10,.86);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(207,247,238,.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:#fff;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:#fff;font-weight:700}
p{margin:0 0 16px;color:#D6E7E5}
.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(207,247,238,.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:#D6E7E5}
.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(207,247,238,.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:#fff;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(207,247,238,.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(207,247,238,.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,#0d2a2f,#04323A);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:#BFD8D6;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_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(207,247,238,.18);border-radius:22px;
overflow:hidden;background:#0A0A0A}
.product-media img{width:100%;height:auto;display:block}
.product-tag{position:absolute;top:14px;inset-inline-start:14px;background:#CFF7EE;color:#04323A;
border-radius:999px;padding:5px 13px;font-size:12px;font-weight:700}

.product-buy{background:#CFF7EE;border:2px solid #004D5A;border-radius:22px;padding:24px;
box-shadow:5px 5px 0 0 #004D5A}
.product-buy .lede{margin-top:0;color:rgba(4,50,58,.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:#04323A;line-height:1;
font-variant-numeric:tabular-nums}
.price .cur{font-size:1.05rem;font-weight:700;color:#004D5A}
.price .vat{font-size:.78rem;color:rgba(4,50,58,.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(4,50,58,.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:#004D5A}
.product-meta b{color:#04323A;font-weight:700;margin-inline-end:6px}

.qty{display:inline-flex;align-items:center;border:2px solid #004D5A;border-radius:999px;
overflow:hidden;margin-bottom:16px;background:#fff}
.qty button{width:42px;height:42px;border:0;background:transparent;color:#04323A;font-size:20px;
cursor:pointer;line-height:1}
.qty button:hover{background:#CFF7EE}
.qty input{width:56px;height:42px;border:0;text-align:center;font-size:16px;font-weight:700;
color:#04323A;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:#04323A;color:#CFF7EE;border:2px solid #04323A}
.product-actions .btn.ghost{background:#fff;color:#04323A;border:2px solid #004D5A}
.btn.is-done{background:#2FA37A !important;color:#fff !important;border-color:#2FA37A !important}
.product-note{font-size:.78rem;color:rgba(4,50,58,.66);margin-top:14px;margin-bottom:0}
.btn.wide{width:100%;justify-content:center}
.btn.text{background:none;border:0;color:#9DB6B8;text-decoration:underline;cursor:pointer;
font-family:inherit;font-size:.85rem;padding:0 8px}

/* ---- basket: dark 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:#0F1A1C;border:1px solid rgba(207,247,238,.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:#EAF6F4;font-weight:700;font-size:.95rem;text-decoration:none;line-height:1.6}
.line-cat{color:#9DB6B8;font-size:.75rem}
.line-qty{display:inline-flex;align-items:center;gap:4px;border:1px solid rgba(207,247,238,.22);
border-radius:999px;overflow:hidden}
.line-qty button{width:32px;height:32px;border:0;background:transparent;cursor:pointer;
color:#CFF7EE;font-size:17px;line-height:1}
.line-qty button:hover{background:rgba(207,247,238,.1)}
.line-qty span{min-width:26px;text-align:center;font-weight:700;color:#EAF6F4;font-size:.9rem}
.line-price{font-weight:800;color:#CFF7EE;white-space:nowrap;font-variant-numeric:tabular-nums}
.line-del{width:30px;height:30px;border:0;border-radius:50%;background:transparent;cursor:pointer;
color:#9DB6B8;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:#CFF7EE;border:2px solid #004D5A;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(4,50,58,.72)}
.totals b{color:#04323A;font-variant-numeric:tabular-nums}
.totals .grand{border-top:1.5px solid rgba(0,77,90,.22);padding-top:10px;font-size:1.05rem;
font-weight:700;color:#04323A}
.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(207,247,238,.25);
border-radius:20px}
.empty p{color:#9DB6B8;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:#0F1A1C;border:1px solid rgba(207,247,238,.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:#EAF6F4;margin-bottom:7px}
.fld i{font-style:normal;font-weight:400;color:#9DB6B8}
.fld input,.fld textarea{width:100%;border:1px solid rgba(207,247,238,.2);border-radius:12px;
padding:12px 14px;font-family:inherit;font-size:.95rem;color:#EAF6F4;background:#0A0A0A}
.fld input::placeholder,.fld textarea::placeholder{color:#5B7B84}
.fld input:focus,.fld textarea:focus{outline:2px solid #CFF7EE;outline-offset:1px}
.checkout-form .btn.primary{background:#CFF7EE;color:#04323A;border:2px solid #CFF7EE}
.checkout-note{font-size:.78rem;color:#9DB6B8;line-height:1.8;margin-top:14px;margin-bottom:0}
.summary{background:#0F1A1C;border:1px solid rgba(207,247,238,.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(207,247,238,.24);
border-radius:999px;padding:5px 14px}
.cart-link span{background:#CFF7EE;color:#04323A;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:rgba(207,247,238,.12)}

/* ---- 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(207,247,238,.16)}
.cat-hero{width:100%;height:auto;max-height:320px;object-fit:cover;border-radius:18px;
border:1px solid rgba(207,247,238,.16);display:block;margin:22px 0 26px}
/*__SAMEER_SHOP_END__*/
