:root{
  --bg:#fdf3e6;        /* кремовий фон як на muxomor.ua */
  --card:#ffffff;
  --text:#212326;
  --muted:#6b6f75;
  --accent:#e36718;    /* фірмовий помаранчевий */
  --accent-d:#c9560f;
  --line:#ecdfce;
  --err:#b3261e;
  --r:16px;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text);font:16px/1.45 Jost,system-ui,sans-serif}
h1,h2{font-family:Cabin,Jost,sans-serif;color:var(--accent);margin:0 0 14px;line-height:1.2}
h1{font-size:30px} h2{font-size:21px}
.top{max-width:1040px;margin:0 auto;padding:18px 16px 0;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.back{color:var(--text);text-decoration:none;font-size:14px;text-transform:uppercase;letter-spacing:.06em;font-weight:500}
.back:hover{color:var(--accent)}
.brand{font-family:Cabin,sans-serif;font-weight:700;font-size:20px}
.wrap{max-width:1040px;margin:0 auto;padding:16px;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:20px;align-items:start}
.col-summary{order:2}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:20px;margin-bottom:16px}
.sticky{position:sticky;top:12px}
label{display:block;font-size:14px;font-weight:500;margin:0 0 12px}
label.plain{margin:0}
.opt{color:var(--muted);font-weight:400}
input[type=text],input[type=tel],input[type=email],input:not([type]),textarea{
  display:block;width:100%;margin-top:6px;padding:13px 14px;border:1px solid var(--line);border-radius:12px;
  font:inherit;font-size:16px;color:var(--text);background:#fff;outline:none}
input:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(227,103,24,.15)}
input.bad{border-color:var(--err)}
.choices{display:grid;gap:8px;margin-bottom:14px}
.choice{display:flex;align-items:center;gap:10px;margin:0;padding:13px 14px;border:1px solid var(--line);border-radius:12px;cursor:pointer;font-size:16px;font-weight:400}
.choice:has(input:checked){border-color:var(--accent);background:#fff7ef}
.choice input{accent-color:var(--accent);width:18px;height:18px;margin:0}
.hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.btn{display:block;width:100%;border:0;border-radius:var(--r);background:var(--accent);color:#fff;font:600 14px Jost,sans-serif;letter-spacing:.12em;text-transform:uppercase;padding:18px 20px;cursor:pointer;transition:background .15s}
.btn:hover{background:var(--accent-d)}
.btn[disabled]{opacity:.6;cursor:wait}
.fine{color:var(--muted);font-size:12px;text-align:center;margin:10px 0 0}
.error{background:#fdecea;color:var(--err);border:1px solid #f5c6c2;border-radius:12px;padding:12px 14px;margin-bottom:12px;font-size:14px}
.lines{display:grid;gap:14px;margin-bottom:14px}
.line{display:grid;grid-template-columns:56px 1fr auto;gap:12px;align-items:center}
.line img,.ph{width:56px;height:56px;border-radius:10px;object-fit:cover;background:#f3e8d8}
.line .t{font-weight:500;font-size:15px}
.line .v{color:var(--muted);font-size:13px}
.line .p{font-weight:600;white-space:nowrap}
.totals{border-top:1px solid var(--line);padding-top:12px;display:grid;gap:6px;font-size:15px}
.totals div{display:flex;justify-content:space-between;gap:12px}
.totals .grand{font-size:19px;margin-top:6px;padding-top:10px;border-top:1px solid var(--line)}
.totals .grand b{color:var(--accent)}
.center{text-align:center;grid-column:1/-1;padding:40px 20px}
.done{grid-template-columns:1fr}
.check{width:64px;height:64px;border-radius:50%;background:var(--accent);color:#fff;font-size:34px;line-height:64px;margin:0 auto 14px}
#npTypes{display:grid;gap:8px;margin:0 0 0 18px;padding-left:12px;border-left:3px solid var(--accent)}
#npTypes[hidden]{display:none}
label.combo{position:relative}
.sug{list-style:none;margin:4px 0 0;padding:4px;position:absolute;left:0;right:0;z-index:20;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 24px rgba(0,0,0,.12);max-height:260px;overflow:auto}
.sug li{padding:10px 12px;border-radius:8px;cursor:pointer;font-size:15px;font-weight:400}
.sug li:hover,.sug li.act{background:#fff7ef}
.sug li.none{color:var(--muted);cursor:default}
@media (max-width:820px){
  .wrap{grid-template-columns:1fr}
  .col-summary{order:-1}
  .sticky{position:static}
}

.rcpt{display:flex;gap:10px;margin-bottom:12px}
.rcpt .choice{flex:1}
.promo{display:flex;gap:8px;margin:12px 0 4px}
.promo input{flex:1;min-width:0}
.btn2{border:1px solid #2f5d3a;background:#fff;color:#2f5d3a;border-radius:10px;padding:0 14px;font:inherit;font-weight:600;cursor:pointer}
.btn2:disabled{opacity:.5}
#promoMsg.ok{color:#2f7d3a}#promoMsg.bad{color:#b3261e}
.consent{display:flex;gap:10px;align-items:flex-start;margin:12px 2px;font-size:14px;cursor:pointer}
.consent input{margin-top:3px}
#otherBox{margin-top:8px}
#doneText{white-space:pre-line}

.rcpt .choice{padding:10px 12px}
.rcpt .choice span{white-space:nowrap;font-size:15px}
@media (max-width:420px){.rcpt .choice{padding:10px 8px}.rcpt .choice span{font-size:14px}}

.upsell{margin:0 0 16px;padding-top:12px;border-top:1px solid var(--line)}
.upTitle{font-weight:600;font-size:14px;margin-bottom:10px}
.upList{display:flex;gap:10px;overflow-x:auto;padding-bottom:4px;-webkit-overflow-scrolling:touch}
.upCard{flex:0 0 132px;border:1px solid var(--line);border-radius:12px;padding:8px;display:flex;flex-direction:column;gap:4px;background:#fff}
.upCard img,.upCard .ph{width:100%;height:84px;border-radius:8px;object-fit:cover}
.upT{font-size:13px;line-height:1.25;min-height:32px}
.upP{font-weight:600;font-size:14px}
.upAdd{padding:6px 8px;font-size:13px;width:100%}

#npTypes{display:block}
#npTypes select{width:100%;padding:14px 40px 14px 14px;font:inherit;font-size:16px;border:1px solid var(--line);border-radius:12px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23d46f2f' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center;-webkit-appearance:none;appearance:none;color:inherit}
#npTypes select:focus{outline:2px solid var(--accent);outline-offset:1px}

/* кошик: великі фото, кількість, прибрати */
.lines{gap:12px}
.line{grid-template-columns:104px 1fr auto;align-items:start;gap:14px;padding:12px;border:1px solid var(--line);border-radius:14px;position:relative;background:#fff}
.line img,.line .ph{width:104px;height:104px;border-radius:10px;object-fit:cover}
.lmid .t{font-weight:600;font-size:16px;line-height:1.25;padding-right:26px}
.qty{display:inline-flex;align-items:center;gap:0;margin-top:10px;border:1px solid var(--line);border-radius:10px;overflow:hidden}
.qty button{width:34px;height:34px;border:0;background:#faf3ea;font-size:18px;cursor:pointer;color:var(--ink,#222)}
.qty button:disabled{opacity:.4;cursor:default}
.qty span{min-width:34px;text-align:center;font-weight:600}
.lprice{text-align:right;align-self:end;display:grid;gap:2px;justify-items:end}
.lprice .sale{background:#e53935;color:#fff;font-size:12px;font-weight:700;border-radius:6px;padding:2px 8px}
.lprice .old{text-decoration:line-through;color:var(--muted);font-size:14px}
.lprice .p{font-weight:700;font-size:17px}
.line .rm{position:absolute;top:8px;right:8px;width:26px;height:26px;border:0;border-radius:6px;background:#eee;color:#666;font-size:18px;line-height:1;cursor:pointer;padding:0}
/* рекомендація */
.upsell{background:#fff6ec;border:1px solid var(--accent);border-radius:14px;padding:12px}
.upBig{display:grid;grid-template-columns:104px 1fr;gap:12px;align-items:start}
.upBig img,.upBig .ph{width:104px;height:104px;border-radius:10px;object-fit:cover}
.upHead{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}
.upTitle2{font-weight:700;font-size:15px;line-height:1.25}
.upArrows{display:flex;gap:6px;flex:0 0 auto}
.upArrows button{width:28px;height:28px;border:1px solid var(--line);background:#fff;border-radius:8px;cursor:pointer;font-size:16px}
.upName{font-weight:600;margin-top:6px;font-size:14px}
.upDesc{color:var(--muted);font-size:13px;margin-top:2px}
.upPrice{font-weight:700;font-size:17px;margin-top:6px;text-align:right}
.upBtn{margin-top:10px;width:100%}
@media (max-width:420px){.line{grid-template-columns:84px 1fr;}.line img,.line .ph{width:84px;height:84px}.lprice{grid-column:1/-1;justify-items:end;display:flex;gap:8px;align-items:center;justify-content:flex-end}.upBig{grid-template-columns:84px 1fr}.upBig img,.upBig .ph{width:84px;height:84px}}
.upList{display:block;overflow:visible;padding:0}
.line>*,.upBig>*{min-width:0}
.lmid .t{overflow-wrap:anywhere}

/* крупніший шрифт (≈ +25%) */
body{font-size:19px}
h1{font-size:36px} h2{font-size:26px}
.back{font-size:16px}
label{font-size:17px}
input[type=text],input[type=tel],input[type=email],input:not([type]),textarea,#npTypes select{font-size:19px}
.choice{font-size:19px}
.fine{font-size:14px}
.error{font-size:17px}
.line .t,.lmid .t{font-size:19px}
.line .v{font-size:16px}
.qty button{font-size:21px;width:38px;height:38px}
.qty span{font-size:18px;min-width:38px}
.lprice .p{font-size:20px}
.lprice .old{font-size:16px}
.lprice .sale{font-size:13px}
.totals{font-size:18px}
.totals .grand{font-size:23px}
.sug li{font-size:18px}
.consent{font-size:17px}
.consent input{width:22px;height:22px;flex:0 0 22px;margin-top:2px}
.rcpt .choice span{font-size:17px}
.btn,.btn2{font-size:18px}
.upTitle2{font-size:18px}
.upName{font-size:17px}
.upDesc{font-size:15px}
.upPrice{font-size:20px}
#doneText{font-size:19px}
@media (max-width:420px){
  h1{font-size:30px} h2{font-size:24px}
  .rcpt .choice span{font-size:15px}
  .choice{font-size:18px}
  .line .t,.lmid .t{font-size:17px}
  .upTitle2{font-size:16px}
}

/* ширший макет на великих екранах */
.top,.wrap{max-width:1180px}
.wrap{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:32px;padding:20px 24px}
.top{padding-left:24px;padding-right:24px}
@media (max-width:820px){.wrap{padding:16px;grid-template-columns:1fr}.top{padding-left:16px;padding-right:16px}}
