/* ALI'S CELL — shared design for the official shop pages (wholesale, installments, warranty, services). */
:root{
  --brand:#1553d6;
  --brand-dark:#1246b3;
  --ink:#17141f;
  --muted:#6b667a;
  --line:#e6e2f0;
  --bg:#f7f3ea;
  --card:#fff;
  --ok:#0f9d58;
  --warn:#b45309;
  --radius:16px;
  --shadow:0 12px 30px -18px rgba(23,20,31,.45);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  font:16px/1.55 system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  background:var(--bg);
  color:var(--ink);
}
a{color:var(--brand)}
img{max-width:100%}
.wrap{max-width:1080px;margin:0 auto;padding:0 16px}
header.site{
  background:var(--ink);
  color:#fff;
  border-bottom:4px solid var(--brand);
  padding:18px 0;
}
header.site .wrap{display:flex;align-items:center;gap:12px;justify-content:space-between;flex-wrap:wrap}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:#fff}
.brand-mark{
  width:38px;height:38px;border-radius:12px;background:var(--brand);color:#fff;
  display:grid;place-items:center;font-weight:900;font-size:20px;
}
.brand b{display:block;letter-spacing:.06em;font-size:15px}
.brand small{display:block;color:#c9c4d9;font-size:12px}
.site-nav{display:flex;gap:6px;flex-wrap:wrap}
.site-nav a{
  color:#e8e5f2;text-decoration:none;font-size:13px;font-weight:600;
  padding:8px 10px;border-radius:10px;
}
.site-nav a:hover,.site-nav a[aria-current="page"]{background:rgba(255,255,255,.12);color:#fff}
main{padding:28px 0 48px}
.crumbs{font-size:13px;color:var(--muted);margin-bottom:14px}
.crumbs a{color:var(--muted);text-decoration:none}
.crumbs a:hover{color:var(--brand)}
.eyebrow{
  display:inline-block;font-size:11px;font-weight:800;letter-spacing:.12em;
  text-transform:uppercase;color:var(--brand);margin-bottom:6px;
}
h1{font-size:clamp(1.7rem,3.4vw,2.4rem);line-height:1.15;margin:0 0 10px}
h2{font-size:1.25rem;margin:26px 0 10px}
h3{font-size:1.02rem;margin:0 0 6px}
.lead{color:var(--muted);max-width:62ch;margin:0 0 18px}
.card{
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  padding:20px;box-shadow:var(--shadow);
}
.card + .card{margin-top:16px}
.grid{display:grid;gap:16px}
.grid.two{grid-template-columns:1fr}
@media (min-width:820px){.grid.two{grid-template-columns:1fr 1fr}}
label{display:block;font-size:13px;font-weight:700;margin:12px 0 4px}
input,select,textarea{
  width:100%;padding:11px 12px;border:1px solid #cfc9df;border-radius:12px;
  font:inherit;background:#fff;color:var(--ink);min-height:44px;
}
textarea{min-height:90px;resize:vertical}
input:focus,select:focus,textarea:focus{outline:2px solid rgba(21,83,214,.35);border-color:var(--brand)}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:46px;padding:11px 18px;border:0;border-radius:12px;
  font:inherit;font-weight:800;text-decoration:none;cursor:pointer;
}
.btn-primary{background:var(--brand);color:#fff}
.btn-primary:hover{background:var(--brand-dark)}
.btn-outline{background:#fff;color:var(--ink);border:1px solid #cfc9df}
.btn-outline:hover{border-color:var(--brand);color:var(--brand)}
.btn-wa{background:#1fa855;color:#fff}
.btn-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.muted{color:var(--muted)}
.small{font-size:13px}
.note{
  background:#fff7ed;border:1px solid #fed7aa;border-radius:12px;
  padding:12px;color:#6b4a1a;font-size:13px;line-height:1.5;
}
.sum{
  display:flex;justify-content:space-between;gap:12px;
  padding:8px 0;border-bottom:1px dashed var(--line);font-size:14px;
}
.sum:last-child{border-bottom:0}
.sum b{font-size:16px}
.total{font-size:20px;font-weight:900}
.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--line);border-radius:12px}
table{border-collapse:collapse;width:100%;font-size:14px}
th,td{padding:10px 12px;text-align:start;border-bottom:1px solid var(--line)}
th{background:#f1eefb;font-size:12px;text-transform:uppercase;letter-spacing:.04em}
tbody tr:last-child td{border-bottom:0}
.badge{
  display:inline-block;font-size:11px;font-weight:800;letter-spacing:.04em;
  padding:4px 8px;border-radius:999px;background:#e9f2ff;color:var(--brand);
}
.badge.ok{background:#e8f8ee;color:var(--ok)}
.badge.warn{background:#fff3e0;color:var(--warn)}
.steps{list-style:none;margin:0;padding:0;counter-reset:step}
.steps li{
  position:relative;padding:0 0 18px 42px;counter-increment:step;
}
.steps li::before{
  content:counter(step);position:absolute;inset-inline-start:0;top:0;
  width:28px;height:28px;border-radius:50%;background:var(--brand);color:#fff;
  display:grid;place-items:center;font-weight:800;font-size:13px;
}
.steps b{display:block}
.steps span{color:var(--muted);font-size:14px}
.item-row{
  display:grid;gap:8px;grid-template-columns:1fr 90px 44px;align-items:end;
  margin-bottom:8px;
}
.item-row button{
  min-height:44px;border-radius:12px;border:1px solid #cfc9df;background:#fff;cursor:pointer;font-size:18px;
}
.item-row button:hover{border-color:#e11d48;color:#e11d48}
footer.site{background:#17141f;color:#c9c4d9;padding:26px 0;font-size:13px}
footer.site a{color:#e8e5f2;text-decoration:none}
footer.site a:hover{text-decoration:underline}
.foot-links{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:10px}
.toast{
  position:fixed;inset-inline:16px;bottom:18px;z-index:10;
  background:#17141f;color:#fff;padding:12px 16px;border-radius:12px;
  font-size:14px;box-shadow:var(--shadow);opacity:0;transform:translateY(10px);
  transition:opacity .25s,transform .25s;
}
.toast.on{opacity:1;transform:none}
.toast.ok{background:#0f9d58}
.toast.err{background:#b00020}
.card-print{display:none}
@media print{
  body{background:#fff}
  header.site,footer.site,.site-nav,.btn,.btn-row,.crumbs,.note,.no-print{display:none!important}
  main{padding:0}
  .card{box-shadow:none;border-color:#000}
  .card-print{display:block}
  .print-card{border:2px solid #000;border-radius:12px;padding:18px;margin-top:10px}
  .print-card h2{margin-top:0}
  table{font-size:12px}
}
@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important}
}
