/* 🌍 HolyShape Syria. Fonts and everything else come from this app, nothing from another server, for slow connections */
@font-face { font-family: Plex; font-weight: 400; font-display: swap; src: url(fonts/plex-ar-400.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: Plex; font-weight: 700; font-display: swap; src: url(fonts/plex-ar-700.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: Plex; font-weight: 400; font-display: swap; src: url(fonts/plex-la-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2013-2014, U+2018-201D; }
@font-face { font-family: Plex; font-weight: 700; font-display: swap; src: url(fonts/plex-la-700.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2013-2014, U+2018-201D; }

:root {
  --bone: #F7F2EC; --paper: #FFFDFA; --ink: #231B18; --mute: #6C5F58; --line: #E4DAD0; --sand: #EDE3D8;
  --mocha: #8A6757; --mocha-deep: #684A3C; --wa: #128C4A; --bad: #A3453A; --ok: #E4EDE3;
  --btn: #231B18; --btn-t: #fff; --r: 4px;
  --gut: 16px; --max: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bone); color: var(--ink); font-family: Plex, 'SF Arabic', 'Segoe UI', 'Noto Sans Arabic', Tahoma, system-ui, sans-serif; font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--mocha-deep); outline-offset: 2px; }
bdi { unicode-bidi: isolate; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.eyebrow { font-size: 13px; font-weight: 700; color: var(--mocha-deep); }
.h2 { font-size: clamp(24px, 5.6vw, 34px); line-height: 1.3; font-weight: 700; }
.sec { padding-block: 44px; }
.sec.wrap + .sec.wrap { padding-top: 0; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.sec-h a { flex: none; font-size: 15px; font-weight: 700; color: var(--mocha-deep); border-bottom: 1px solid currentColor; }

/* Buttons: ink for shopping, green only where WhatsApp really opens */
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 54px; padding: 10px 20px; border-radius: var(--r); background: var(--btn); color: var(--btn-t); font-size: 17px; font-weight: 700; transition: opacity .15s; }
.btn:hover { opacity: .88; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.ghost:hover { background: var(--sand); opacity: 1; }
.btn.wa { background: var(--wa); color: #fff; }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn.inline { display: inline-flex; width: auto; }

/* Top of every page */
.bar { padding: 7px var(--gut); background: var(--ink); color: #fff; font-size: 13.5px; text-align: center; }
.top { position: sticky; top: 0; z-index: 30; background: var(--bone); border-bottom: 1px solid var(--line); }
.top-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 60px; }
.top-logo img { height: 22px; width: auto; }
.icon-b { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-inline-start: -10px; }
.icon-b svg { width: 24px; height: 24px; }
.top-end { display: flex; justify-content: flex-end; }
.top-end .icon-b { margin-inline: 0 -10px; }
.count { position: absolute; top: 4px; inset-inline-end: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--mocha-deep); color: #fff; font-size: 11.5px; line-height: 18px; font-weight: 700; text-align: center; }
.count:empty { display: none; }
.nav-strip { display: none; }

/* Hero */
.hero { display: grid; background: var(--sand); }
.hero-img { overflow: hidden; }
.hero-img img { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; object-position: center 25%; }
.hero-t { padding: 26px var(--gut) 30px; }
.hero h1 { margin: 6px 0 10px; font-size: clamp(32px, 8.6vw, 58px); line-height: 1.2; font-weight: 700; }
.hero p { max-width: 30em; color: var(--mute); font-size: 17px; }
.hero .btn { margin-top: 20px; }

.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.trust li { display: flex; align-items: center; gap: 10px; padding: 14px var(--gut); background: var(--bone); font-size: 14px; line-height: 1.35; font-weight: 700; }
.trust svg { width: 22px; height: 22px; flex: none; color: var(--mocha-deep); }

/* Categories */
.cats { display: flex; gap: 10px; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cat { flex: 0 0 38%; max-width: 170px; scroll-snap-align: start; }
.cat img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--sand); }
.cat b { display: block; margin-top: 8px; font-size: 15px; line-height: 1.35; }
.cat span { font-size: 13px; color: var(--mute); }

/* Product grid */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 10px; }
.pc { position: relative; display: flex; flex-direction: column; min-width: 0; }
.pc-img { position: relative; display: block; background: var(--sand); overflow: hidden; }
.pc-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .35s ease; }
.badge { position: absolute; top: 8px; inset-inline-start: 8px; padding: 2px 8px; background: var(--paper); font-size: 12px; font-weight: 700; color: var(--mocha-deep); }
.pc h3 { margin-top: 9px; font-size: 15px; line-height: 1.4; font-weight: 400; }
.pc-m { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 3px; }
.pc-m b { font-size: 16px; }
.dots { display: flex; gap: 4px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(35,27,24,.18); }
.stars { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--mute); }
.stars svg { width: 13px; height: 13px; color: var(--mocha); }
.pc .stars { margin-top: 3px; }

/* Three levels of shaping */
.levels { background: var(--paper); border-block: 1px solid var(--line); }
.lvl { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.lvl:first-child { border-top: 0; }
.lvl b { font-size: 19px; }
.lvl p { grid-column: 1; color: var(--mute); font-size: 15px; }
.lvl svg { grid-row: 1 / span 2; grid-column: 2; width: 20px; height: 20px; color: var(--mocha-deep); }
[dir="rtl"] .flip { transform: scaleX(-1); }
.meter { display: inline-flex; gap: 3px; }
.meter i { width: 22px; height: 5px; background: var(--line); }
.meter i.on { background: var(--mocha-deep); }

/* Reviews */
.revs { display: grid; gap: 12px; }
.rev { padding: 16px; background: var(--paper); border: 1px solid var(--line); }
.rev .rate { display: flex; gap: 2px; color: var(--mocha); }
.rev .rate svg { width: 14px; height: 14px; }
.rev p { margin-top: 8px; font-size: 15.5px; }
.rev footer { margin-top: 8px; font-size: 13.5px; color: var(--mute); }
.score { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; color: var(--mute); font-size: 15px; }
.score b { font-size: 30px; color: var(--ink); }

/* Steps and questions */
.steps { display: grid; gap: 18px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 34px 1fr; gap: 0 12px; counter-increment: s; }
.steps li::before { content: counter(s, arabic-indic); grid-row: span 2; font-size: 26px; line-height: 1.25; font-weight: 700; color: var(--mocha); }
.steps b { font-size: 16.5px; }
.steps span { color: var(--mute); font-size: 15px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 54px; padding: 12px 0; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; font-weight: 400; line-height: 1; color: var(--mocha-deep); }
.faq details[open] summary::after { content: '−'; }
.faq details p, .faq details ul { padding-bottom: 14px; color: var(--mute); font-size: 15.5px; }

/* Footer */
.foot { margin-top: 12px; padding: 36px 0 28px; background: var(--ink); color: #E9E0D8; font-size: 15px; }
.foot .logo { height: 20px; width: auto; filter: brightness(0) invert(.92); }
.foot-g { display: grid; gap: 26px; margin-top: 20px; }
.foot h3 { margin-bottom: 6px; font-size: 14px; font-weight: 700; color: #fff; }
.foot-c { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 14px; }
.foot-c a { display: block; padding: 3px 0; }
.foot .wa-l { font-weight: 700; color: #fff; border-bottom: 1px solid currentColor; }

/* Shop page */
.page-h { padding: 26px 0 12px; }
.page-h h1 { font-size: clamp(27px, 6.8vw, 40px); line-height: 1.25; font-weight: 700; }
.page-h p { color: var(--mute); font-size: 15px; }
.tabs { display: flex; gap: 8px; margin-inline: calc(var(--gut) * -1); padding: 4px var(--gut) 14px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: none; padding: 7px 14px; border: 1px solid var(--line); border-radius: 99px; background: var(--paper); font-size: 14.5px; }
.tabs a.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.tools { display: flex; gap: 10px; margin-bottom: 18px; }
.tools input, .tools select { min-width: 0; height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); font-size: 16px; }
.tools input { flex: 1 1 60%; }
.tools select { flex: 1 1 40%; }
.empty { padding: 40px 0; color: var(--mute); text-align: center; }

/* Product page */
.crumb { padding: 12px 0; font-size: 13.5px; color: var(--mute); }
.crumb a { color: var(--mute); }
.pd { display: grid; gap: 0; }
.gal-w { position: relative; margin-inline: calc(var(--gut) * -1); background: var(--sand); }
.gal { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gal::-webkit-scrollbar { display: none; }
.gal img { flex: 0 0 100%; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; scroll-snap-align: center; }
.gal-n { position: absolute; bottom: 10px; left: 12px; padding: 1px 9px; background: var(--paper); font-size: 13px; font-weight: 700; direction: ltr; }
.thumbs { display: none; }
.pi { padding-top: 18px; }
.pi h1 { font-size: clamp(25px, 6.2vw, 34px); line-height: 1.3; font-weight: 700; }
.pi .tag { margin-top: 6px; color: var(--mute); font-size: 16.5px; }
.rate-l { display: inline-flex; margin-top: 6px; }
.price { margin-top: 12px; font-size: 28px; line-height: 1.3; font-weight: 700; }
.price small { display: block; font-size: 14.5px; font-weight: 400; color: var(--mute); }
.opt { margin-top: 20px; }
.opt-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; font-size: 15px; font-weight: 700; }
.opt-h span span { font-weight: 400; color: var(--mute); }
.opt-h button { font-size: 14.5px; color: var(--mocha-deep); border-bottom: 1px solid currentColor; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-width: 56px; min-height: 48px; padding: 6px 14px; border-radius: var(--r); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 15.5px; font-weight: 700; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.chip[disabled] { color: #B0A59E; background: transparent; cursor: not-allowed; text-decoration: line-through; }
.sw { position: relative; width: 44px; height: 44px; border-radius: 50%; }
.sw i { position: absolute; inset: 6px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(35,27,24,.2); }
.sw[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--ink); }
.sw[disabled]::after { content: ''; position: absolute; top: 50%; left: 4px; right: 4px; height: 1.5px; background: var(--bad); transform: rotate(-45deg); }
.err { display: none; margin-top: 8px; font-size: 14.5px; font-weight: 700; color: var(--bad); }
.err.on { display: block; }
.low { margin-top: 8px; font-size: 14.5px; font-weight: 700; color: var(--mocha-deep); }
.cta { display: grid; gap: 8px; margin-top: 20px; }
.assure { margin-top: 18px; border-block: 1px solid var(--line); }
.assure li { display: flex; gap: 10px; padding: 11px 0; font-size: 15px; border-top: 1px solid var(--line); }
.assure li:first-child { border-top: 0; }
.assure svg { width: 22px; height: 22px; flex: none; margin-top: 1px; color: var(--mocha-deep); }
.assure span { display: block; font-size: 14px; color: var(--mute); }
.bens { margin-top: 2px; }
.bens li { position: relative; padding: 4px 0; padding-inline-start: 18px; color: var(--ink); }
.bens li::before { content: ''; position: absolute; inset-inline-start: 0; top: 16px; width: 7px; height: 7px; background: var(--mocha); }
.pi .faq { margin-top: 20px; }
.buy-b { position: fixed; inset: auto 0 0 0; z-index: 25; display: flex; align-items: center; gap: 12px; padding: 8px var(--gut) calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper); transform: translateY(110%); transition: transform .2s; }
.buy-b.on { transform: none; }
.buy-b b { flex: none; font-size: 20px; }
.buy-b .btn { min-height: 48px; }

/* Sheets */
dialog { color: var(--ink); }
dialog::backdrop { background: rgba(35,27,24,.55); }
.sheet { width: 100%; max-width: 100%; height: 94vh; height: 94dvh; max-height: none; margin: auto 0 0; padding: 0; border: 0; border-radius: 12px 12px 0 0; background: var(--paper); overscroll-behavior: contain; }
.sheet[open] { display: flex; flex-direction: column; }
.sh-h { display: flex; align-items: center; justify-content: space-between; flex: none; padding: 8px var(--gut); border-bottom: 1px solid var(--line); }
.sh-h h2 { font-size: 19px; font-weight: 700; outline: 0; }
.x { width: 44px; height: 44px; margin-inline-end: -10px; font-size: 26px; line-height: 1; }
.sh-b { flex: 1; min-height: 0; padding: 14px var(--gut); overflow-y: auto; }
.sh-f { flex: none; padding: 10px var(--gut) calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.ln { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ln img { width: 72px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--sand); }
.ln b { display: block; font-size: 15px; line-height: 1.4; font-weight: 700; }
.ln small { display: block; font-size: 14px; color: var(--mute); }
.ln-r { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.ln .gone { color: var(--bad); font-weight: 700; }
.qty { display: inline-flex; align-items: center; box-shadow: inset 0 0 0 1px var(--line); border-radius: 4px; }
.qty button { width: 40px; height: 40px; font-size: 19px; }
.qty output { min-width: 20px; text-align: center; font-weight: 700; }
.rm { font-size: 13.5px; color: var(--mute); border-bottom: 1px solid currentColor; }
.tot { display: flex; justify-content: space-between; align-items: baseline; font-size: 18px; font-weight: 700; }
.fine { font-size: 14px; color: var(--mute); }
.tot + .fine { margin-bottom: 10px; }
label.f { display: block; margin-bottom: 12px; font-size: 14.5px; font-weight: 700; }
label.f input, label.f select, label.f textarea { display: block; width: 100%; height: 50px; margin-top: 4px; padding: 0 12px; border: 1px solid #CFC3B7; border-radius: 4px; background: #fff; font-size: 16px; font-weight: 400; }
label.f textarea { height: 72px; padding: 10px 12px; resize: vertical; }
.ph { display: flex; margin-top: 4px; border: 1px solid #CFC3B7; border-radius: 4px; overflow: hidden; direction: ltr; background: #fff; }
.ph span { display: flex; align-items: center; padding: 0 12px; background: var(--sand); font-weight: 700; }
.ph input { margin: 0 !important; border: 0 !important; border-radius: 0 !important; text-align: left; }
.hp { position: absolute; left: -9999px; }
.done { padding: 36px 8px; text-align: center; }
.done h2 { margin-bottom: 8px; font-size: 24px; font-weight: 700; }
.done p { margin-bottom: 18px; color: var(--mute); }
.back { font-size: 14.5px; font-weight: 700; color: var(--mocha-deep); }
.menu-l a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 700; }
.pop { width: calc(100% - 24px); max-width: 520px; max-height: 88vh; max-height: 88dvh; margin: auto; padding: 0; border: 0; border-radius: 8px; background: var(--paper); overflow: hidden; }
.pop[open] { display: flex; flex-direction: column; }
.pop table { width: 100%; border-collapse: collapse; font-size: 14.5px; text-align: center; }
.pop th { padding: 8px 4px; background: var(--sand); font-weight: 700; }
.pop td { padding: 8px 4px; border-bottom: 1px solid var(--line); }
.pop tr.pick td { background: var(--ok); font-weight: 700; }
.res { min-height: 26px; margin-bottom: 8px; font-weight: 700; color: var(--mocha-deep); }

@media (hover: hover) { .pc-img:hover img { transform: scale(1.03); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

@media (min-width: 720px) {
  :root { --gut: 28px; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 32px 16px; }
  .cats { display: grid; grid-template-columns: repeat(6, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; }
  .cat { max-width: none; }
  .trust { grid-template-columns: repeat(4, 1fr); }
  .trust li { justify-content: center; }
  .revs { grid-template-columns: repeat(3, 1fr); }
  .foot-g { grid-template-columns: 1.2fr 1fr; }
  .sheet { width: 440px; height: 100vh; height: 100dvh; margin: 0 auto 0 0; border-radius: 0; }
  [dir="rtl"] .sheet { margin: 0 0 0 auto; margin-inline-start: auto; margin-inline-end: 0; }
}
@media (min-width: 1000px) {
  :root { --gut: 40px; }
  .bar { font-size: 14px; }
  .grid { grid-template-columns: repeat(4, 1fr); }
  .top-logo img { height: 25px; }
  .icon-b.menu { display: none; }
  .nav-strip { display: block; border-bottom: 1px solid var(--line); }
  .nav-d { display: flex; justify-content: center; gap: 24px; padding: 10px 0; font-size: 15px; white-space: nowrap; }
  .nav-d a:hover, .nav-d a.on { color: var(--mocha-deep); box-shadow: 0 1px 0 currentColor; }
  .hero { grid-template-columns: 1fr 1fr; align-items: center; }
  .hero-img img { aspect-ratio: 1 / 1; height: min(78vh, 720px); width: 100%; }
  .hero-t { padding: 40px 56px; order: -1; }
  .hero .btn { display: inline-flex; width: auto; min-width: 240px; }
  .sec { padding-block: 64px; }
  .levels .wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; }
  .lvls { margin-top: -16px; }
  .how { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
  .pd { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: start; }
  .gal-w { margin: 0; }
  .gal-n { display: none; }
  .thumbs { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 6px; }
  .thumbs button { box-shadow: inset 0 0 0 0 var(--ink); }
  .thumbs img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; opacity: .7; }
  .thumbs button[aria-current="true"] img { opacity: 1; outline: 1.5px solid var(--ink); outline-offset: -1.5px; }
  .pi { position: sticky; top: 92px; padding-top: 0; }
  .buy-b { display: none; }
}
