*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;padding-bottom:84px;font-family:Cairo,Tajawal,system-ui,-apple-system,"Segoe UI",Tahoma,sans-serif;color:var(--ink);background:#fff;line-height:1.7;font-size:16px}
img{max-width:100%;height:auto;display:block}
a{color:var(--primary-dark)}
h1,h2,h3{line-height:1.35;margin:0 0 .6rem;color:var(--ink)}
h1{font-size:1.6rem}h2{font-size:1.3rem}h3{font-size:1.05rem}
p{margin:0 0 1rem}
ul{padding:0;margin:0;list-style:none}
:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.wrap{width:100%;max-width:1180px;margin-inline:auto;padding-inline:16px}
.narrow{max-width:820px}
.center{text-align:center}
.small{font-size:.85rem}.muted{color:var(--muted)}
.skip{position:absolute;inset-inline-start:-999px;top:0;background:#000;color:#fff;padding:8px 14px;z-index:100}
.skip:focus{inset-inline-start:0}
[hidden]{display:none!important}

.topbar{background:var(--primary-dark);color:#fff;font-size:.78rem;text-align:center;padding:6px 0}
.hdr{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--line)}
.hdr-in{display:flex;align-items:center;gap:8px;min-height:60px}
.logo{display:flex;align-items:center;gap:8px;font-weight:700;color:var(--ink);text-decoration:none;font-size:1.1rem;margin-inline-end:auto}
.hdr-actions{display:flex;align-items:center;gap:6px}
.icon-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:0;background:none;color:var(--ink);cursor:pointer;border-radius:10px}
.icon-btn:hover{background:var(--soft)}
.cart-count{position:absolute;top:2px;inset-inline-end:0;background:var(--accent);color:#fff;border-radius:999px;font-size:.7rem;min-width:18px;height:18px;line-height:18px;text-align:center;font-weight:700}
.lang-btn{padding:6px 12px;border:1px solid var(--line);border-radius:999px;text-decoration:none;font-size:.85rem;color:var(--ink)}
.nav{display:none;position:absolute;top:100%;inset-inline:0;background:#fff;border-bottom:1px solid var(--line);padding:8px 16px 16px;flex-direction:column;box-shadow:0 12px 24px rgba(0,0,0,.06)}
.nav.open{display:flex}
.nav a{padding:12px 4px;border-bottom:1px solid var(--soft);text-decoration:none;color:var(--ink);font-weight:600}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 20px;border-radius:10px;border:2px solid transparent;font:inherit;font-weight:700;cursor:pointer;text-decoration:none;min-height:46px;transition:background .15s,color .15s}
.btn .ic{width:20px;height:20px}
.btn-sm{padding:8px 14px;min-height:40px;font-size:.9rem;width:100%}
.btn-block{display:flex;width:100%;margin-bottom:10px}
.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover{background:var(--primary-dark)}
.btn-accent{background:var(--accent);color:#1b1206}.btn-accent:hover{background:var(--accent-dark);color:#1b1206}
.btn-outline{background:#fff;color:var(--primary-dark);border-color:var(--primary)}.btn-outline:hover{background:var(--primary-light)}
.btn-ghost{background:transparent;color:var(--primary-dark);border-color:var(--line)}
.btn-whatsapp{background:#137A3C;color:#fff}.btn-whatsapp:hover{background:#0F6431}

.hero{background:linear-gradient(135deg,var(--primary-light),#fff);padding:28px 0}
.hero-in{display:grid;gap:20px;align-items:center}
.hero h1{font-size:1.9rem}
.hero p{color:var(--muted);font-size:1.05rem}
.hero-cta{display:flex;flex-wrap:wrap;gap:10px}
.hero-img{width:100%;max-width:240px;margin-inline:auto;border-radius:24px}
.sec{padding:32px 0}.sec-soft{background:var(--soft)}
.sec-head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:16px}
.lead{color:var(--muted)}

.cat-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.cat-tile{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;padding:18px 10px;border:1px solid var(--line);border-radius:14px;text-decoration:none;color:var(--ink);font-weight:700;background:#fff}
.cat-tile:hover{border-color:var(--primary);box-shadow:0 4px 14px rgba(14,124,134,.12)}
.cat-tile small{font-weight:400;color:var(--muted)}
.cat-ic{display:inline-flex;width:52px;height:52px;border-radius:14px;background:var(--primary-light);color:var(--primary-dark);align-items:center;justify-content:center}
.cat-ic .ic{width:28px;height:28px}

.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.card{position:relative;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff;display:flex;flex-direction:column}
.card-img{display:block;background:var(--soft);aspect-ratio:1}
.card-img img{width:100%;height:100%;object-fit:cover}
.card-body{padding:10px;display:flex;flex-direction:column;gap:4px;flex:1}
.card-body .btn{margin-top:auto}
.card-title{font-size:.95rem;margin:0}
.card-title a{text-decoration:none;color:var(--ink)}
.brand{font-size:.78rem;color:var(--muted);font-weight:600}
.price-row{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;margin:4px 0 8px}
.price{font-weight:700;color:var(--primary-dark)}
.price-req{color:var(--muted);font-weight:600;font-size:.9rem}
.price-old{color:var(--muted);font-size:.85rem}
.price-lg .price{font-size:1.5rem}
.badges{position:absolute;top:8px;inset-inline-start:8px;display:flex;flex-direction:column;gap:4px}
.badge{font-size:.7rem;padding:2px 8px;border-radius:999px;color:#fff;font-weight:700}
.badge-best{background:#A8570F}.badge-new{background:var(--primary)}

.feat-grid,.rev-grid{display:grid;gap:14px}
.feat{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px}
.feat p{color:var(--muted);margin:0}
.rev{margin:0;border:1px solid var(--line);border-radius:14px;padding:16px;background:#fff}
.rev blockquote{margin:0 0 8px}
.rev figcaption{color:var(--muted);font-size:.9rem}
.stars{color:var(--accent);letter-spacing:2px}

.crumbs{background:var(--soft);font-size:.85rem;padding:8px 0}
.crumbs a{color:var(--muted)}
.crumbs .sep{margin-inline:6px;color:var(--line)}
.notice{background:var(--primary-light);border-radius:10px;padding:10px 14px;font-size:.88rem;color:var(--primary-dark)}

.shop{display:grid;gap:12px}
.filter-toggle{width:100%}
.filters{display:none;border:1px solid var(--line);border-radius:14px;padding:12px;background:#fff}
.filters.open{display:block}
.fgroup{border:0;border-bottom:1px solid var(--soft);padding:8px 0 10px;margin:0}
.fgroup legend{font-weight:700;padding:0;margin-bottom:4px}
.chk{display:flex;align-items:center;gap:8px;padding:5px 0;cursor:pointer}
.chk input{width:20px;height:20px;accent-color:var(--primary)}
.range{display:flex;gap:8px}
.range label{flex:1;font-size:.85rem}
input,select,textarea{font:inherit;width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);min-height:44px}
input[type=checkbox],input[type=radio]{width:auto;min-height:0}
.shop-bar{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;font-size:.9rem}
.sort{display:flex;align-items:center;gap:6px}.sort select{width:auto}
.empty{padding:24px;text-align:center;color:var(--muted)}

.prod{display:grid;gap:20px}
.gallery-main{width:100%;aspect-ratio:1;object-fit:cover;border-radius:16px;background:var(--soft)}
.thumbs{display:flex;gap:8px;margin-top:8px}
.thumb{padding:0;border:2px solid var(--line);border-radius:10px;overflow:hidden;width:72px;height:72px;background:none;cursor:pointer}
.thumb.on{border-color:var(--primary)}
.opt{margin:14px 0}.opt-h{font-weight:700;margin-bottom:6px;display:flex;justify-content:space-between}
.opt-list{display:flex;flex-wrap:wrap;gap:8px}
.pill input{position:absolute;opacity:0;pointer-events:none}
.pill span{display:inline-flex;align-items:center;gap:6px;min-width:46px;min-height:44px;justify-content:center;padding:6px 14px;border:2px solid var(--line);border-radius:10px;cursor:pointer;font-weight:600}
.pill input:checked+span{border-color:var(--primary);background:var(--primary-light);color:var(--primary-dark)}
.pill input:focus-visible+span{outline:3px solid var(--accent);outline-offset:2px}
.sw{width:16px;height:16px;border-radius:50%;border:1px solid rgba(0,0,0,.2);display:inline-block}
.qty{display:inline-flex;border:1px solid var(--line);border-radius:10px;overflow:hidden}
.qty button{width:44px;border:0;background:var(--soft);font-size:1.2rem;cursor:pointer}
.qty input{width:60px;border:0;text-align:center;border-radius:0}
.prod-detail{display:grid;gap:24px}
.specs{width:100%;border-collapse:collapse}
.specs th,.specs td{text-align:start;padding:8px;border-bottom:1px solid var(--line)}
.specs th{width:38%;color:var(--muted);font-weight:600}
.form-error{color:#b3261e;font-weight:600}

.cart-cols{display:grid;gap:20px}
.cart-line{display:grid;grid-template-columns:72px 1fr;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}
.cart-line img{width:72px;height:72px;object-fit:cover;border-radius:10px;background:var(--soft)}
.cart-line .meta{font-size:.82rem;color:var(--muted)}
.cart-line .row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:6px;flex-wrap:wrap}
.link-btn{background:none;border:0;color:#b3261e;cursor:pointer;font:inherit;padding:8px 0}
.cart-side label,.card-box label,.calc label{display:block;margin-bottom:10px;font-weight:600;font-size:.92rem}
.cart-side input,.cart-side select,.cart-side textarea,.card-box input,.card-box textarea,.calc input{margin-top:4px;font-weight:400}
.card-box{border:1px solid var(--line);border-radius:14px;padding:16px;background:#fff}
.pay{border:0;padding:0;margin:0 0 10px}.pay legend{font-weight:700}
.totals{margin:12px 0}
.totals div{display:flex;justify-content:space-between;padding:4px 0}
.totals dt,.totals dd{margin:0}
.totals .grand{font-weight:700;font-size:1.15rem;border-top:1px solid var(--line);margin-top:6px;padding-top:8px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.calc-result{margin:12px 0;padding:12px;border-radius:10px;background:var(--primary-light);font-weight:600}
.table-wrap{overflow-x:auto;margin-bottom:16px}
.sizes{width:100%;border-collapse:collapse;font-size:.92rem}
.sizes th,.sizes td{padding:8px 6px;border:1px solid var(--line);text-align:center}
.sizes thead th{background:var(--primary-light)}
.sizes tr.hit{background:#fff4e2;font-weight:700}
.prose p{font-size:1.02rem}
.faq details{border:1px solid var(--line);border-radius:12px;padding:12px 14px;margin-bottom:10px}
.faq summary{font-weight:700;cursor:pointer}
.faq p{margin:8px 0 0;color:var(--muted)}
.post-item{padding:16px 0;border-bottom:1px solid var(--line)}
.post-item time{color:var(--muted);font-size:.85rem}
.contact-grid{display:grid;gap:24px}
.contact-list li{display:flex;gap:8px;align-items:center;padding:6px 0}
.map{width:100%;height:300px;border:0;border-radius:14px}

.ftr{background:var(--ink);color:#d6e1e6;margin-top:32px;padding-top:32px}
.ftr a{color:#d6e1e6}
.ftr-grid{display:grid;gap:22px}
.ftr-h{color:#fff;font-size:1rem}
.ftr li{padding:3px 0}
.ftr-note{border-top:1px solid rgba(255,255,255,.15);margin-top:22px;padding-block:16px;font-size:.82rem}
.ftr .logo{color:#fff}

.wa-float{position:fixed;bottom:16px;inset-inline-end:16px;width:56px;height:56px;border-radius:50%;background:#137A3C;color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 18px rgba(0,0,0,.25);z-index:60}
.wa-float .ic{width:30px;height:30px}
.toast{position:fixed;bottom:84px;inset-inline:16px;max-width:360px;margin-inline:auto;background:var(--ink);color:#fff;padding:12px 16px;border-radius:12px;text-align:center;z-index:70}

@media (min-width:640px){
 .grid{grid-template-columns:repeat(3,1fr)}
 .cat-grid{grid-template-columns:repeat(3,1fr)}
 .feat-grid{grid-template-columns:repeat(2,1fr)}
 .rev-grid{grid-template-columns:repeat(3,1fr)}
}
@media (min-width:960px){
 h1{font-size:2rem}
 .hero h1{font-size:2.5rem}
 .hero-in{grid-template-columns:1.1fr .9fr}
 .hero-img{max-width:420px}
 .menu-btn{display:none}
 .nav{display:flex;position:static;flex-direction:row;gap:2px;border:0;padding:0;box-shadow:none;background:none;margin-inline-end:auto}
 .nav a{border:0;padding:8px 10px;font-size:.92rem;border-radius:8px}
 .nav a:hover{background:var(--soft)}
 .logo{margin-inline-end:16px}
 .grid{grid-template-columns:repeat(4,1fr);gap:16px}
 .cat-grid{grid-template-columns:repeat(5,1fr)}
 .cat-grid-lg{grid-template-columns:repeat(3,1fr)}
 .feat-grid{grid-template-columns:repeat(4,1fr)}
 .shop{grid-template-columns:260px 1fr;align-items:start}
 .filter-toggle{display:none}
 .filters{display:block;position:sticky;top:76px}
 .shop-main .grid{grid-template-columns:repeat(3,1fr)}
 .prod{grid-template-columns:1fr 1fr;gap:40px}
 .prod-detail{grid-template-columns:1fr 1fr}
 .cart-cols{grid-template-columns:1.4fr 1fr}
 .contact-grid{grid-template-columns:1fr 1fr}
 .ftr-grid{grid-template-columns:1.3fr 1fr 1fr 1.3fr}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.fgroup[data-filter=size]{display:flex;flex-wrap:wrap;gap:4px 14px}.fgroup[data-filter=size] legend{width:100%}

.notice-warn{background:#FFF4E2;color:#6b3b06}
.consent{align-items:flex-start;font-weight:400;font-size:.9rem;margin:6px 0 10px}
.consent input{margin-top:5px}
.prose h2{margin-top:1.4rem}
button:disabled{opacity:.6;cursor:not-allowed}
.btn-ghost{color:var(--primary-dark)}
/* brand assets */
.logo img{border-radius:10px}
.ftr-mark{width:48px;height:48px;border-radius:12px}
.logo-ftr{color:#fff;font-weight:700}
.logo-ftr span{color:#fff}
/* price still to be set by the owner (bracketed so --production refuses to build) */
.price-tbd{color:var(--accent-dark);font-weight:700;font-size:.95rem;letter-spacing:.2px}
.price-tbd-note{display:block;font-size:.78rem;color:var(--muted);font-weight:500}
.price-lg .price-tbd{font-size:1.15rem}

/* keep the floating WhatsApp button from covering the last footer line */
.ftr-note{padding-bottom:76px;padding-inline-end:80px}

/* size chart drawn as a picture: foot diagram + one tile per size (data/sizes.json) */
.sg-figure{display:flex;gap:18px;align-items:center;margin:14px 0 6px;padding:16px;border:1px solid var(--line);border-radius:16px;background:#fff}
.sg-measure{flex:0 0 96px;text-align:center}
.sg-foot{width:84px;height:auto;display:block;margin:0 auto}
.sg-foot ellipse,.sg-foot circle{fill:var(--primary-light);stroke:var(--primary);stroke-width:2}
.sg-rule{stroke:var(--accent);stroke-width:2;stroke-dasharray:5 4;fill:none}
.sg-cap{stroke:var(--accent);stroke-width:2;fill:none;stroke-linecap:round}
.sg-measure-cap{margin:6px 0 0;font-size:.72rem;line-height:1.35;color:var(--muted)}
.sg-body{flex:1 1 auto;min-width:0}
.sg-tiles{list-style:none;display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:0;padding:0}
.sg-tile{display:flex;flex-direction:column;align-items:center;gap:5px;padding:10px 4px;border:1px solid var(--line);border-radius:12px;background:var(--soft)}
.sg-size{font-weight:800;font-size:1.02rem;color:var(--primary);line-height:1}
.sg-range{font-size:.78rem;color:var(--ink);display:flex;flex-direction:column;align-items:center;gap:3px;text-align:center;line-height:1.2}
.sg-unit{color:var(--muted);font-size:.7rem}
.sg-tile.is-pending{background:#fff;border-style:dashed}
.sg-slot{display:block;width:36px;height:9px;border-bottom:2px dashed var(--line)}
.sg-tbc{color:var(--muted);font-size:.66rem}
.sg-tile.is-hit{border-color:var(--accent);background:#fff8e6;box-shadow:inset 0 0 0 2px var(--accent)}
.sg-note{margin:10px 0 0;font-size:.82rem;color:var(--muted)}
.sg-figure-compact{display:block;padding:12px;margin:10px 0 0;border-radius:12px}
.sg-figure-compact .sg-tiles{gap:6px}
.sg-title{font-size:.82rem;color:var(--muted);margin:0 0 8px;display:flex;gap:8px;align-items:baseline;justify-content:space-between;flex-wrap:wrap}
.sg-tiles-compact .sg-tile{padding:8px 2px;gap:4px}
.sg-tiles-compact .sg-range{font-size:.7rem}
.sg-figure-compact .sg-note{margin-top:8px;font-size:.78rem}
@media(max-width:560px){.sg-figure{flex-direction:column;align-items:stretch;gap:12px}.sg-measure{flex:0 0 auto;display:flex;align-items:center;gap:12px;justify-content:center}.sg-measure-cap{margin:0;text-align:start}.sg-foot{width:56px}}

/* product page reassurance row: facts only (COD, delivery, size help on WhatsApp) */
.trust-strip{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0 4px;padding:0}
.trust-strip li{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;padding:10px 6px;border:1px solid var(--line);border-radius:12px;background:var(--soft);font-size:.76rem;line-height:1.3;color:var(--ink)}
.trust-strip .ic{color:var(--primary);width:22px;height:22px}
.trust-strip a{display:flex;flex-direction:column;align-items:center;gap:6px;color:inherit;text-decoration:none}
@media(max-width:360px){.trust-strip{grid-template-columns:1fr}}

/* the English brand name is long: keep the header lockup to two lines on narrow screens */
.logo span{line-height:1.15}
@media(max-width:430px){.logo{font-size:.88rem;gap:6px}.logo img{width:34px;height:34px}}
