/* Shalati Print — customer website. Colours come from Settings ← Identity (injected as --primary / --secondary). */
:root {
  --primary: #1F3864; --secondary: #F59E0B; --success: #16A34A; --danger: #DC2626; --warning: #F59E0B; --info: #2563EB;
  --bg: #F7F8FB; --surface: #FFFFFF; --surface-2: #F1F3F8; --text: #0F172A; --muted: #64748B; --line: #E4E8F0;
  --primary-soft: color-mix(in srgb, var(--primary) 10%, transparent);
  --primary-ink: color-mix(in srgb, var(--primary) 82%, #000);
  --secondary-soft: color-mix(in srgb, var(--secondary) 16%, transparent);
  --radius: 16px; --radius-sm: 10px; --shadow: 0 1px 2px rgba(15,23,42,.05), 0 8px 24px rgba(15,23,42,.06);
  --shadow-lg: 0 20px 50px rgba(15,23,42,.12); --wrap: 1200px; --font: 'Cairo', system-ui, sans-serif;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0B1120; --surface: #111A2E; --surface-2: #17223A; --text: #E8EDF7; --muted: #94A3B8; --line: #22304D;
  --primary-soft: color-mix(in srgb, var(--primary) 26%, transparent);
  --primary-ink: color-mix(in srgb, var(--primary) 45%, #fff);
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25); --shadow-lg: 0 20px 50px rgba(0,0,0,.45);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B1120; --surface: #111A2E; --surface-2: #17223A; --text: #E8EDF7; --muted: #94A3B8; --line: #22304D;
    --primary-soft: color-mix(in srgb, var(--primary) 26%, transparent);
    --primary-ink: color-mix(in srgb, var(--primary) 45%, #fff);
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25); --shadow-lg: 0 20px 50px rgba(0,0,0,.45);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
[x-cloak] { display: none !important; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.num { font-variant-numeric: tabular-nums; }

/* Icons + hover motion (Settings ← Identity ← icon motion) */
.ic { width: 22px; height: 22px; flex: none; transition: transform .25s cubic-bezier(.3,1.5,.6,1); }
.ic-sm { width: 18px; height: 18px; }
.ic-lg { width: 30px; height: 30px; }
body.motion-subtle a:hover .ic, body.motion-subtle button:hover .ic, body.motion-subtle .card-link:hover .ic { transform: translateY(-2px) scale(1.06); }
body.motion-lively a:hover .ic, body.motion-lively button:hover .ic, body.motion-lively .card-link:hover .ic { animation: ic-pop .55s ease; }
@keyframes ic-pop { 0% { transform: scale(1) } 30% { transform: scale(1.22) rotate(-8deg) } 60% { transform: scale(.95) rotate(5deg) } 100% { transform: scale(1) } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent;
  background: var(--primary); color: #fff; font-weight: 700; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn:hover { box-shadow: 0 8px 22px color-mix(in srgb, var(--primary) 35%, transparent); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-accent { background: var(--secondary); color: #1a1205; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); box-shadow: none; }
.btn-soft { background: var(--primary-soft); color: var(--primary-ink); }
.btn-soft:hover { box-shadow: none; background: color-mix(in srgb, var(--primary) 18%, transparent); }
.btn-wa { background: #25D366; color: #06290f; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 17px; border-radius: 14px; }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 0; background: transparent; cursor: pointer; position: relative; color: var(--text); }
.icon-btn:hover { background: var(--surface-2); }
.badge { position: absolute; inset-block-start: 3px; inset-inline-end: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--secondary); color: #1a1205;
  font-size: 11px; font-weight: 800; display: grid; place-items: center; }

/* Header */
.hdr { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.hdr-in { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; margin-inline-end: 8px; }
.brand img { height: 40px; width: auto; }
.logo-dark { display: none; }
:root[data-theme="dark"] .logo-light.has-dark { display: none; } :root[data-theme="dark"] .logo-dark { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-light.has-dark { display: none; } :root:not([data-theme="light"]) .logo-dark { display: block; } }
.nav { display: flex; gap: 2px; }
.nav a { padding: 8px 12px; border-radius: 10px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.nav a:hover, .nav a.on { color: var(--text); background: var(--surface-2); }
.hdr-tools { margin-inline-start: auto; display: flex; align-items: center; gap: 4px; }
.search { position: relative; }
.search input { width: 240px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); padding-inline: 40px 12px; }
.search .ic { position: absolute; inset-inline-start: 11px; top: 10px; color: var(--muted); }
.menu-btn { display: none; }
.ic-xs { width: 15px; height: 15px; }
/* v0.36 — two-tier header */
.topbar { background: var(--primary); color: #fff; font-size: 13px; }
.topbar-in { display: flex; align-items: center; gap: 14px; min-height: 34px; }
.topbar .grow { flex: 1; }
.tb-link { display: inline-flex; align-items: center; gap: 5px; color: #fff; opacity: .92; font-weight: 600; }
.tb-link:hover { opacity: 1; text-decoration: underline; }
.tb-lang { font-weight: 800; letter-spacing: .3px; border: 1px solid rgba(255,255,255,.4); border-radius: 8px; padding: 1px 9px; }
.open-now { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 700; }
.open-now .dot { width: 8px; height: 8px; border-radius: 50%; background: #F87171; box-shadow: 0 0 0 3px rgba(248,113,113,.25); }
.open-now.is-open .dot { background: #4ADE80; box-shadow: 0 0 0 3px rgba(74,222,128,.25); }
.search-wide { flex: 1; max-width: 640px; margin-inline: auto; display: flex; }
.search-wide input { width: 100%; height: 46px; padding-inline-end: 84px; }
.search-wide .ic { top: 14px; }
.search-wide .btn { position: absolute; inset-inline-end: 4px; top: 4px; height: 38px; }
.hdr-tools { margin-inline-start: 0; }
.search-m { display: none; padding-bottom: 10px; }
.search-m input { width: 100%; height: 44px; }
.search-m .ic { inset-inline-start: 27px; top: 13px; }
.nav2 { display: flex; align-items: center; gap: 2px; min-height: 44px; border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.nav2 > a, .mega-btn { padding: 7px 12px; border-radius: 10px; font-weight: 700; font-size: 15px; color: var(--muted); display: flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; font-family: inherit; }
.nav2 > a:hover, .nav2 > a.on, .mega-btn:hover, .mega-btn[aria-expanded="true"] { color: var(--text); background: var(--surface-2); }
.mega { position: relative; }
.mega-panel { position: absolute; top: 100%; inset-inline-start: 0; z-index: 50; width: min(560px, 90vw); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-item { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; font-weight: 700; font-size: 14.5px; }
.mega-item:hover { background: var(--surface-2); }
.mega-thumb { width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--primary-soft); color: var(--primary-ink); display: grid; place-items: center; overflow: hidden; }
.mega-thumb img { width: 100%; height: 100%; object-fit: cover; }
.drawer-group { font-size: 12.5px; font-weight: 800; color: var(--muted); padding: 14px 10px 4px; border-top: 1px solid var(--line); margin-top: 6px; }
.drawer-group:empty { padding: 0; }
.theme-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 1px solid var(--line); color: inherit; border-radius: 999px; padding: 3px 12px; cursor: pointer; font: inherit; font-size: 13px; }
.secure-note { display: inline-flex; align-items: center; gap: 5px; }
.desk-only { }
@media (max-width: 960px) {
  .nav, .nav2, .search.desk { display: none; }
  .search-m { display: block; }
  .menu-btn { display: inline-grid; }
  .hdr-tools { margin-inline-start: auto; }
  .desk-only { display: none; }
}
.drawer { position: fixed; inset: 0; z-index: 60; display: flex; }
.drawer-bg { position: absolute; inset: 0; background: rgba(2,6,23,.45); }
.drawer-panel { position: relative; width: min(340px, 86vw); height: 100%; background: var(--surface); padding: 18px; overflow: auto; box-shadow: var(--shadow-lg); }
.drawer-panel nav a { display: flex; align-items: center; gap: 12px; padding: 13px 10px; border-radius: 12px; font-weight: 700; }
.drawer-panel nav a:hover { background: var(--surface-2); }

/* Sections */
section { padding: 56px 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(22px, 3vw, 30px); margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--primary-ink); background: var(--primary-soft); padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; }

/* Hero */
.hero { padding: 40px 0 24px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto auto; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--secondary) 26%, transparent), transparent 65%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: auto auto -10% -12%; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--primary) 12%, transparent), transparent 62%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(32px, 5vw, 56px); line-height: 1.15; margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--primary-ink); background: linear-gradient(transparent 64%, color-mix(in srgb, var(--secondary) 30%, transparent) 64%, color-mix(in srgb, var(--secondary) 30%, transparent) 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 4px; }
.hero p.lead { font-size: clamp(16px, 2vw, 19px); color: var(--muted); max-width: 560px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 22px; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; color: var(--muted); font-size: 14px; font-weight: 600; }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust .ic { color: var(--success); width: 18px; height: 18px; }
.hero-media { position: relative; aspect-ratio: 1 / 1; border-radius: 32px; background: var(--surface); box-shadow: var(--shadow-lg); display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); }
.hero-media video, .hero-media .hero-logo { width: 78%; height: 78%; object-fit: contain; }
.hero-media .float { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow);
  display: flex; gap: 10px; align-items: center; font-weight: 700; font-size: 14px; animation: floaty 6s ease-in-out infinite; }
.hero-media .float .ic { color: var(--primary-ink); }
.hero-media .f1 { inset-block-start: 8%; inset-inline-start: 6%; } .hero-media .f2 { inset-block-end: 9%; inset-inline-end: 6%; animation-delay: -3s; }
@keyframes floaty { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-10px) } }
@media (max-width: 860px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero-cta .btn { white-space: normal; text-align: center; } .hero-media { max-width: 420px; margin-inline: auto; width: 100%; } }

/* Feature strip */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; gap: 14px; align-items: flex-start; }
.feature .tile { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-ink); flex: none; }
.feature h3 { font-size: 16px; margin: 2px 0 4px; } .feature p { margin: 0; font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }

/* Cards & grids */
.grid { display: grid; gap: 18px; }
.g-cats { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.g-prod { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-pad { padding: 20px; }
.card-link { transition: transform .2s, box-shadow .2s, border-color .2s; display: block; }
.card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--primary) 35%, var(--line)); }
.cat { padding: 18px; text-align: center; }
.cat .thumb { width: 72px; height: 72px; margin: 0 auto 12px; border-radius: 20px; background: var(--primary-soft); display: grid; place-items: center; overflow: hidden; color: var(--primary-ink); }
.cat .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cat b { display: block; font-size: 15px; }
.prod { overflow: hidden; display: flex; flex-direction: column; }
.prod .img { aspect-ratio: 4 / 3; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; color: var(--muted); }
.prod .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.prod:hover .img img { transform: scale(1.05); }
.prod .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.prod .name { font-weight: 800; font-size: 16px; }
.prod .from { margin-top: auto; padding-top: 8px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.price { font-weight: 800; color: var(--primary-ink); font-size: 18px; }
.price small { font-size: 12px; color: var(--muted); font-weight: 600; }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.tag-ok { background: color-mix(in srgb, var(--success) 14%, transparent); color: var(--success); }
.tag-warn { background: color-mix(in srgb, var(--warning) 18%, transparent); color: color-mix(in srgb, var(--warning) 60%, #000); }
.tag-bad { background: color-mix(in srgb, var(--danger) 14%, transparent); color: var(--danger); }
:root[data-theme="dark"] .tag-warn { color: var(--warning); }

/* Steps */
.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { padding: 22px; position: relative; }
.step::before { counter-increment: s; content: counter(s); position: absolute; inset-block-start: 18px; inset-inline-end: 18px; font-size: 44px; font-weight: 900; color: var(--primary-soft); line-height: 1; }
.step .tile { width: 48px; height: 48px; border-radius: 14px; background: var(--secondary-soft); color: color-mix(in srgb, var(--secondary) 60%, #000); display: grid; place-items: center; margin-bottom: 14px; }
:root[data-theme="dark"] .step .tile { color: var(--secondary); }
.step h3 { font-size: 17px; } .step p { color: var(--muted); font-size: 14px; margin: 0; }
@media (max-width: 900px) { .steps4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps4 { grid-template-columns: 1fr; } }

/* CTA band */
.band { border-radius: 28px; padding: 36px; background: linear-gradient(120deg, var(--primary), color-mix(in srgb, var(--primary) 60%, #000)); color: #fff; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; inset-inline-end: -120px; inset-block-start: -160px; background: color-mix(in srgb, var(--secondary) 22%, transparent); filter: blur(40px); }
.band > * { position: relative; z-index: 1; }
.band h2 { color: #fff; margin: 0 0 6px; font-size: clamp(22px, 3vw, 30px); } .band p { margin: 0; opacity: .85; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label, .lbl { font-weight: 700; font-size: 14px; }
.input, .select, .textarea { width: 100%; min-height: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); padding: 10px 14px; transition: border-color .15s, box-shadow .15s; }
.textarea { min-height: 96px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.input.err { border-color: var(--danger); }
.err-msg { color: var(--danger); font-size: 13px; font-weight: 600; }
.hint { color: var(--muted); font-size: 13px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 14px; }
.check input { width: 20px; height: 20px; accent-color: var(--primary); margin-top: 2px; flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 42px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; transition: all .15s; }
.chip:hover { border-color: color-mix(in srgb, var(--primary) 50%, var(--line)); }
.chip.on { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-ink); }
.opt { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; background: var(--surface); transition: all .15s; }
.opt:hover { border-color: color-mix(in srgb, var(--primary) 45%, var(--line)); }
.opt.on { border-color: var(--primary); background: var(--primary-soft); }
.opt input { accent-color: var(--primary); width: 18px; height: 18px; }
.opt .grow { flex: 1; } .opt .ic { color: var(--primary-ink); }
.drop { display: block; position: relative; border: 2px dashed var(--line); border-radius: 16px; padding: 22px; text-align: center; cursor: pointer; transition: all .2s; background: var(--surface-2); }
.drop:hover, .drop.over { border-color: var(--primary); background: var(--primary-soft); }
.alert { border-radius: 14px; padding: 12px 16px; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.alert .ic { flex: none; margin-top: 1px; }
.alert-ok { background: color-mix(in srgb, var(--success) 12%, transparent); color: color-mix(in srgb, var(--success) 75%, var(--text)); }
.alert-warn { background: color-mix(in srgb, var(--warning) 15%, transparent); color: color-mix(in srgb, var(--warning) 45%, var(--text)); }
.alert-err { background: color-mix(in srgb, var(--danger) 12%, transparent); color: color-mix(in srgb, var(--danger) 75%, var(--text)); }
.alert-info { background: var(--primary-soft); color: var(--primary-ink); }
.otp { display: flex; gap: 8px; direction: ltr; justify-content: center; }
.otp input { width: 50px; height: 58px; text-align: center; font-size: 24px; font-weight: 800; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); }
.otp input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }

/* Product page */
.crumbs { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: 14px; padding: 18px 0 6px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--text); }
.pp { display: grid; grid-template-columns: 1fr 440px; grid-template-areas: "gallery config" "details config"; gap: 24px 32px; align-items: start; padding-bottom: 60px; }
.pp-gallery { grid-area: gallery; } .pp-details { grid-area: details; display: grid; gap: 16px; align-content: start; } .pp > .config { grid-area: config; }
.gallery .main { aspect-ratio: 1 / 1; border-radius: 22px; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; border: 1px solid var(--line); }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.gallery .thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.gallery .thumbs button { width: 72px; height: 72px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; flex: none; background: var(--surface-2); }
.gallery .thumbs button.on { border-color: var(--primary); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.config { position: sticky; top: 88px; }
.config h1 { font-size: 28px; margin-bottom: 4px; }
.cfg-sec { padding: 16px 0; border-top: 1px solid var(--line); }
.cfg-sec:first-of-type { border-top: 0; }
.cfg-sec > .lbl { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.pricebox { background: var(--surface-2); border-radius: 16px; padding: 16px; margin-top: 8px; }
.pricebox .total { font-size: 30px; font-weight: 900; color: var(--primary-ink); line-height: 1.1; }
.pricebox .line { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.skeleton { background: linear-gradient(90deg, var(--surface-2), var(--line), var(--surface-2)); background-size: 200% 100%; animation: sk 1.2s linear infinite; border-radius: 8px; color: transparent !important; }
@keyframes sk { to { background-position: -200% 0 } }
.prose { color: var(--text); } .prose h2 { font-size: 22px; margin-top: 1.4em; } .prose ul { padding-inline-start: 1.3em; } .prose img { border-radius: 14px; }
.sticky-buy { display: none; }
@media (max-width: 960px) {
  .pp { grid-template-columns: 1fr; grid-template-areas: "gallery" "config" "details"; }
  .gallery .main { aspect-ratio: 4 / 3; }
  .config { position: static; }
  .sticky-buy { display: flex; position: fixed; inset-inline: 0; bottom: 0; z-index: 30; background: var(--surface); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); gap: 12px; align-items: center; box-shadow: 0 -8px 24px rgba(0,0,0,.08); }
  .sticky-buy .grow { flex: 1; }
  body.has-sticky { padding-bottom: 80px; }
}

/* Cart & checkout */
.two { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; padding-bottom: 60px; }
@media (max-width: 960px) { .two { grid-template-columns: 1fr; } }
.cart-line { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 16px; border-bottom: 1px solid var(--line); align-items: center; }
.cart-line:last-child { border-bottom: 0; }
.cart-line .img { width: 84px; height: 84px; border-radius: 14px; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; color: var(--muted); }
.cart-line .img img { width: 100%; height: 100%; object-fit: cover; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.qty button { width: 38px; height: 38px; border: 0; background: var(--surface-2); cursor: pointer; font-size: 18px; }
.qty input { width: 70px; height: 38px; border: 0; text-align: center; background: var(--surface); }
.summary { position: sticky; top: 88px; }
.summary .row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 15px; }
.summary .grand { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font-size: 19px; font-weight: 900; }
.stepper { display: flex; gap: 8px; margin: 10px 0 22px; flex-wrap: wrap; }
.stepper span { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--muted); font-size: 14px; }
.stepper b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-size: 13px; }
.stepper .on { color: var(--text); } .stepper .on b { background: var(--primary); color: #fff; }
.stepper .done b { background: var(--success); color: #fff; }
.stepper i { width: 30px; height: 2px; background: var(--line); align-self: center; }

/* Account */
.acc { display: grid; grid-template-columns: 250px 1fr; gap: 24px; padding: 24px 0 60px; align-items: start; }
.acc-nav a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; font-weight: 700; color: var(--muted); }
.acc-nav a.on, .acc-nav a:hover { background: var(--primary-soft); color: var(--primary-ink); }
@media (max-width: 860px) { .acc { grid-template-columns: 1fr; } .acc-nav { display: flex; overflow-x: auto; gap: 4px; } .acc-nav a { white-space: nowrap; } }
.olist { width: 100%; border-collapse: collapse; }
.olist th { text-align: start; font-size: 13px; color: var(--muted); font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.olist td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.olist tr:hover td { background: var(--surface-2); }
@media (max-width: 640px) { .olist thead { display: none; } .olist tr { display: grid; grid-template-columns: 1fr auto; padding: 10px 0; border-bottom: 1px solid var(--line); } .olist td { border: 0; padding: 4px 10px; } }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: flex; gap: 14px; padding-bottom: 18px; position: relative; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: 13px; top: 28px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); flex: none; z-index: 1; }
.timeline .done .dot { background: var(--success); color: #fff; }
.timeline .now .dot { background: var(--primary); color: #fff; box-shadow: 0 0 0 6px var(--primary-soft); }
.timeline .now b { color: var(--primary-ink); }
.timeline .reviewing .dot { background: #EA580C; box-shadow: 0 0 0 6px rgba(234,88,12,.15); }
.timeline .reviewing b { color: #C2410C; }
.review-card { border-inline-start: 4px solid #EA580C; background: color-mix(in srgb, #EA580C 7%, var(--surface)); }
.review-card h3 { color: #C2410C; }
.review-card.review-accepted { border-color: var(--success); background: color-mix(in srgb, var(--success) 8%, var(--surface)); }
.review-card.review-accepted h3 { color: var(--success); }
.review-card.review-waiting_customer { border-color: #DC2626; background: color-mix(in srgb, #DC2626 6%, var(--surface)); }
.review-card.review-waiting_customer h3 { color: #B91C1C; }
.stat { padding: 18px; } .stat .v { font-size: 26px; font-weight: 900; } .stat .k { color: var(--muted); font-size: 13px; font-weight: 700; }

/* Auth */
.auth { min-height: calc(100vh - 68px); display: grid; place-items: center; padding: 40px 16px; }
.auth .card { width: 100%; max-width: 440px; padding: 28px; }
.tabs { display: flex; background: var(--surface-2); border-radius: 12px; padding: 4px; margin-bottom: 18px; }
.tabs button { flex: 1; min-height: 40px; border: 0; background: transparent; border-radius: 9px; font-weight: 700; cursor: pointer; color: var(--muted); }
.tabs button.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }

/* Footer */
.ftr { background: var(--surface); border-top: 1px solid var(--line); padding: 48px 0 24px; margin-top: 40px; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; }
.ftr h4 { font-size: 15px; margin-bottom: 12px; }
.ftr a { color: var(--muted); display: block; padding: 4px 0; } .ftr a:hover { color: var(--text); }
.social { display: flex; gap: 8px; margin-top: 12px; }
.social a { width: 40px; height: 40px; border-radius: 12px; background: var(--surface-2); display: grid; place-items: center; padding: 0; }
.ftr-bottom { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
@media (max-width: 860px) { .ftr-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ftr-grid { grid-template-columns: 1fr; } }

/* Floating WhatsApp + toast */
.wa-fab { position: fixed; inset-block-end: 20px; inset-inline-end: 20px; z-index: 35; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(37,211,102,.4); }
.wa-fab .ic { width: 28px; height: 28px; }
body.has-sticky .wa-fab { inset-block-end: 96px; }
.toast { position: fixed; inset-block-start: 84px; inset-inline-end: 16px; z-index: 70; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); border-radius: 14px; padding: 12px 16px; display: flex; gap: 10px; align-items: center; font-weight: 700; max-width: calc(100vw - 32px); }
.toast .ic { color: var(--success); }
.empty { text-align: center; padding: 50px 20px; }
.empty .ic { width: 56px; height: 56px; color: var(--muted); margin: 0 auto 12px; }
.spin { width: 18px; height: 18px; border: 2.5px solid currentColor; border-inline-end-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg) } }
.banner-strip { display: grid; gap: 16px; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.banner-strip a, .banner-strip div.b { scroll-snap-align: start; border-radius: 20px; overflow: hidden; position: relative; aspect-ratio: 16 / 7; background: var(--surface-2); }
.banner-strip img { width: 100%; height: 100%; object-fit: cover; }
.banner-strip .cap { position: absolute; inset: auto 0 0 0; padding: 16px; background: linear-gradient(transparent, rgba(0,0,0,.7)); color: #fff; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 4px; }
.faq summary { cursor: pointer; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { margin: 10px 0 0; color: var(--muted); }
.drop .ic { display: block; } .empty .ic, .feature .tile .ic { display: block; }

.design-cta { display: grid; gap: 10px; padding: 14px; border-radius: 14px; background: linear-gradient(135deg, var(--primary-soft), var(--secondary-soft)); border: 1px solid color-mix(in srgb, var(--primary) 20%, var(--line)); }
.design-cta .btn { width: 100%; }

/* quote request (v0.31) */
.qp-results { position: absolute; inset-inline: 0; top: 100%; z-index: 20; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px rgba(15,23,42,.12); overflow: hidden; }
.qp-results button { display: block; width: 100%; text-align: start; padding: 10px 14px; background: none; border: 0; border-bottom: 1px solid var(--line); color: inherit; font: inherit; cursor: pointer; }
.qp-results button:last-child { border-bottom: 0; }
.qp-results button:hover { background: var(--surface-2); }
.qp-line { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.qp-head { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.qp-head .grow { flex: 1; }
.drop.drop-sm { padding: 10px 12px; display: flex; gap: 6px; align-items: center; justify-content: center; }

/* product options (v0.31) */
.cfg-head { display: flex; gap: 8px; align-items: center; font-weight: 800; margin: 18px 0 4px; color: var(--primary-ink); flex-wrap: wrap; }
.cfg-head .muted { font-weight: 400; }
.og .lbl .req { color: #DC2626; margin-inline-start: 2px; }
.og-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.og-c { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; padding: 10px 8px; min-height: 52px;
  border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.og-c:hover { border-color: color-mix(in srgb, var(--primary) 50%, var(--line)); }
.og-c.on { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.og-c.off { opacity: .5; cursor: not-allowed; }
.og-c.warn { border-color: var(--warning); }
.og-c.bad { border-color: #DC2626; }
.og-c img { width: 100%; max-height: 64px; object-fit: contain; border-radius: 8px; }
.og-l { font-weight: 700; font-size: 14px; line-height: 1.3; }
.og-p { font-size: 11.5px; color: var(--muted); }
.cfg-qty .select { min-height: 44px; }
.breakdown { margin-top: 8px; }
.breakdown summary { cursor: pointer; font-weight: 700; font-size: 13px; color: var(--primary-ink); }
.breakdown .line { border-top: 1px dashed var(--line); padding-top: 4px; margin-top: 4px; }

/* back to shopping after «add to cart» (v0.31.1) */
.cart-added { position: fixed; inset-block-start: 84px; inset-inline-end: 16px; z-index: 71; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  border-radius: 14px; padding: 12px 14px; display: flex; gap: 10px; align-items: center; width: min(420px, calc(100vw - 32px)); }
.cart-added > .ic { color: var(--success); flex: none; }
.cart-added .grow { flex: 1; min-width: 0; }
@media (max-width: 640px) { .cart-added { inset-block-start: auto; inset-block-end: 16px; inset-inline: 16px; width: auto; } }

/* v0.36 — reprint guarantee and the security badge */
.guarantee { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.guarantee .ic { color: var(--success); flex: none; margin-top: 2px; }
.secure-badge { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--success) 9%, transparent); color: var(--text); font-size: 13.5px; margin-top: 12px; }
.secure-badge .ic { color: var(--success); flex: none; }
/* v0.36 — grouped sections on the home page */
.cat-group + .cat-group { margin-top: 28px; }
.cat-group h3 { font-size: 18px; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
