/* Empire Premium Bau – B2B-Plattform · Anwendungen: Warenkorb, Kasse, Konto, Konfigurator, Vergleich, Schnellbestellung, Berater */

.app-wrap { padding-top: 24px; padding-bottom: 80px; min-height: 60vh; }
.app-loading { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 80px 0; color: var(--muted); }
.app-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 4px 0 22px; }
.app-h h1 { margin: 0; }
.app-h p { margin: 4px 0 0; color: var(--muted); }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.sticky { position: sticky; top: 140px; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.box + .box { margin-top: 16px; }
.box h2 { font-size: 18px; margin-bottom: 14px; }
.box h3 { font-size: 15.5px; margin-bottom: 10px; }
.rows { display: grid; gap: 8px; margin: 0; }
.rows div { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.rows dt { color: var(--muted); }
.rows dd { margin: 0; font-weight: 650; text-align: right; font-variant-numeric: tabular-nums; }
.rows .total { padding-top: 10px; margin-top: 4px; border-top: 1px solid var(--line); font-size: 17px; }
.rows .total dt { color: var(--ink); font-weight: 750; }
.rows .total dd { font-size: 20px; font-weight: 780; }
.note { display: flex; gap: 9px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--bg-2); color: var(--ink-2); font-size: 13.5px; margin: 12px 0 0; }
.note .ic { flex: none; margin-top: 1px; color: var(--accent); }
.note.warn { background: var(--wait-bg); color: var(--wait); } .note.warn .ic { color: var(--wait); }
.note.ok { background: var(--ok-bg); color: var(--ok); } .note.ok .ic { color: var(--ok); }
.note.err { background: var(--off-bg); color: var(--off); } .note.err .ic { color: var(--off); }
.btnrow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.btnrow .btn { flex: 1 1 auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 12px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .r { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tbl a.rowlink { color: var(--ink); font-weight: 650; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.tbl tbody tr.clickable { cursor: pointer; }
.tbl tbody tr.clickable:hover { background: var(--bg-2); }
.empty-mini { padding: 28px; text-align: center; color: var(--muted); }

/* ========== Warenkorb-Schublade ========== */
.drawer { position: fixed; inset: 0; z-index: 100; background: var(--scrim); display: flex; justify-content: flex-end; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.drawer-panel { width: min(460px, 100vw); height: 100%; background: var(--card); display: flex; flex-direction: column; box-shadow: var(--shadow-2); animation: slideR .28s var(--ease); }
@keyframes slideR { from { transform: translateX(100%); } }
.drawer-h { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 16px 22px; border-bottom: 1px solid var(--line); }
.drawer-h h2 { margin: 0; font-size: 19px; }
.drawer-h h2 span { color: var(--muted); font-weight: 600; }
.drawer-h .hdr-btn { display: inline-flex; }
.drawer-b { flex: 1; overflow: auto; padding: 6px 22px; }
.drawer-f { border-top: 1px solid var(--line); padding: 16px 22px 20px; background: var(--bg-2); }
.drawer-f .rows { margin-bottom: 14px; }
.dline { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-2); align-items: start; }
.dline:last-child { border-bottom: 0; }
.dline img, .dline .ph { width: 64px; height: 64px; border-radius: 10px; background: var(--well); object-fit: contain; padding: 4px; mix-blend-mode: multiply; }
.dline .ph { display: flex; align-items: center; justify-content: center; color: var(--faint); }
.dl-t { min-width: 0; }
.dl-t a { color: var(--ink); font-weight: 640; font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dl-t small { display: block; color: var(--muted); font-size: 12.5px; margin: 2px 0 8px; }
.dl-q { display: flex; align-items: center; gap: 10px; }
.dl-q .qty { height: 34px; }
.dl-q .qty input { width: 44px; font-size: 14px; }
.dl-q .qty-b { width: 28px; }
.dl-p { text-align: right; font-weight: 720; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dl-p small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.dl-tag { display: inline-block; margin-top: 4px; font-size: 11.5px; font-weight: 700; color: var(--sun-ink); }
.dl-issue { display: block; margin-top: 6px; font-size: 12.5px; font-weight: 650; color: var(--off); }
.icon-btn { border: 0; background: none; padding: 6px; border-radius: 8px; color: var(--muted); display: inline-flex; }
.icon-btn:hover { background: var(--bg-2); color: var(--off); }

/* ========== Warenkorb-Seite und Kasse ========== */
.cart-lines .dline { grid-template-columns: 84px minmax(0, 1fr) 150px 120px 36px; align-items: center; padding: 16px 0; }
.cart-lines .dline img, .cart-lines .dline .ph { width: 84px; height: 84px; }
.cart-lines .dl-unit { font-size: 13.5px; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.cart-lines .dl-unit b { display: block; color: var(--ink); font-size: 15px; }
.cart-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 14px 0 0; border-top: 1px solid var(--line); margin-top: 6px; }
.cart-tools .grow { flex: 1; }
.step-h { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: 18px; }
.step-h b { width: 30px; height: 30px; border-radius: 9px; background: var(--accent-soft); color: var(--accent-ink); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; flex: none; }
.choice { display: grid; gap: 10px; margin: 0 0 14px; }
.choice-2 { grid-template-columns: 1fr 1fr; }
.opt { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .15s, background .15s; }
.opt:hover { border-color: var(--faint); }
.opt input { margin: 3px 0 0; accent-color: var(--accent); width: 18px; height: 18px; flex: none; }
.opt b { display: block; font-size: 14.5px; }
.opt small { color: var(--muted); font-size: 13px; }
.opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.opt.is-disabled { opacity: .5; pointer-events: none; }
.sum-lines { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; max-height: 260px; overflow: auto; }
.sum-lines li { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.sum-lines span { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sum-lines b { white-space: nowrap; font-variant-numeric: tabular-nums; }
.done { text-align: center; max-width: 640px; margin: 20px auto; padding: 44px 32px; }
.done-ic { width: 72px; height: 72px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.done h1 { font-size: 30px; }
.done .lead { margin: 0 auto 22px; }

/* ========== Kundenkonto ========== */
.acc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: start; }
.acc-nav { position: sticky; top: 140px; display: flex; flex-direction: column; gap: 2px; }
.acc-nav a { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 600; font-size: 14.5px; text-decoration: none !important; }
.acc-nav a:hover { background: var(--bg-2); color: var(--ink); }
.acc-nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-ink); }
.acc-nav a .ic { color: currentColor; opacity: .85; }
.acc-nav em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 700; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.acc-nav hr { border: 0; border-top: 1px solid var(--line); margin: 8px 0; }
.acc-who { padding: 6px 12px 14px; }
.acc-who b { display: block; font-size: 15px; }
.acc-who span { font-size: 12.5px; color: var(--muted); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.kpi { display: flex; flex-direction: column; gap: 4px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); color: var(--ink); text-decoration: none !important; transition: border-color .15s; }
.kpi:hover { border-color: var(--accent); }
.kpi span { font-size: 13px; color: var(--muted); font-weight: 600; }
.kpi b { font-size: 26px; font-weight: 780; letter-spacing: -.02em; }
.contact-card { display: flex; gap: 14px; align-items: center; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; flex: none; }
.contact-card p { margin: 0; font-size: 14px; color: var(--muted); }
.contact-card b { color: var(--ink); font-size: 15px; display: block; }
.st { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 99px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-neu, .st-eingereicht, .st-gesendet, .st-offen { background: var(--accent-soft); color: var(--accent-ink); }
.st-bestaetigt, .st-versendet { background: var(--wait-bg); color: var(--wait); }
.st-abgeschlossen, .st-bezahlt, .st-angenommen, .st-freigegeben, .st-erledigt { background: var(--ok-bg); color: var(--ok); }
.st-storniert, .st-abgelehnt, .st-abgelaufen, .st-faellig { background: var(--off-bg); color: var(--off); }
.st-entwurf { background: var(--bg-3); color: var(--muted); }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.timeline li { position: relative; padding-left: 24px; font-size: 14px; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 8px; top: 18px; bottom: -12px; width: 1px; background: var(--line); }
.timeline small { display: block; color: var(--muted); font-size: 12.5px; }
.thread { display: grid; gap: 12px; margin-bottom: 16px; }
.msg { max-width: 82%; padding: 12px 15px; border-radius: 14px; background: var(--bg-2); font-size: 14.5px; white-space: pre-wrap; }
.msg small { display: block; margin-bottom: 4px; font-size: 12px; color: var(--muted); font-weight: 650; white-space: normal; }
.msg.me { margin-left: auto; background: var(--accent-soft); }
.addr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.addr { padding: 16px; border: 1px solid var(--line); border-radius: var(--r); font-size: 14px; display: flex; flex-direction: column; gap: 8px; }
.addr p { margin: 0; white-space: pre-line; color: var(--ink-2); }
.addr .acts { display: flex; gap: 8px; margin-top: auto; }
.minicards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.mcard { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r); align-items: center; }
.mcard img, .mcard .ph { width: 64px; height: 64px; object-fit: contain; background: var(--well); border-radius: 10px; padding: 4px; mix-blend-mode: multiply; }
.mcard a { color: var(--ink); font-weight: 640; font-size: 14px; }
.mcard small { display: block; color: var(--muted); font-size: 12.5px; }
.mcard .acts { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; }
.mcard .acts b { margin-right: auto; font-variant-numeric: tabular-nums; }
.filterbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.filterbar input { height: 38px; border: 1px solid var(--line); border-radius: 9px; padding: 0 12px; background: var(--field); min-width: 220px; }

/* ========== Konfigurator ========== */
.cfg { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 28px; align-items: start; }
.cfg-step { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; margin-bottom: 16px; }
.cfg-step h2 { display: flex; align-items: center; gap: 12px; font-size: 18px; margin-bottom: 14px; }
.cfg-step h2 b { width: 30px; height: 30px; border-radius: 9px; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.cfg-step .hint { font-size: 13.5px; color: var(--muted); margin: -6px 0 14px; }
.cfg-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 14px; }
.picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.pick { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 12px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--card); text-align: left; color: var(--ink); transition: border-color .15s, background .15s; }
.pick:hover { border-color: var(--faint); }
.pick[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.pick img { width: 100%; height: 86px; object-fit: contain; background: var(--well); border-radius: 8px; padding: 6px; mix-blend-mode: multiply; margin-bottom: 4px; }
.pick b { font-size: 13.5px; line-height: 1.3; }
.pick small { color: var(--muted); font-size: 12px; }
.pick .fit { position: absolute; top: 8px; right: 8px; }
.pick-price { font-weight: 720; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 13.5px; }
.checklist .dot { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; font-weight: 800; }
.checklist .s-ok .dot { background: var(--ok); } .checklist .s-warn .dot { background: var(--wait); } .checklist .s-fail .dot { background: var(--off); } .checklist .s-unknown .dot { background: var(--faint); }
.checklist b { display: block; font-size: 14px; }
.checklist span { color: var(--muted); }
.verdict { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 12px; margin-bottom: 14px; font-weight: 700; }
.verdict small { display: block; font-weight: 500; font-size: 13px; }
.verdict.v-ok { background: var(--ok-bg); color: var(--ok); } .verdict.v-warn { background: var(--wait-bg); color: var(--wait); } .verdict.v-fail { background: var(--off-bg); color: var(--off); } .verdict.v-unknown { background: var(--bg-3); color: var(--ink-2); }
.big-kwp { font-size: 34px; font-weight: 800; letter-spacing: -.03em; }
.layout-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; }
.layout-chips span { padding: 4px 10px; border-radius: 8px; background: var(--bg-3); font-size: 12.5px; font-weight: 650; }

/* ========== Vergleich ========== */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.cmp { border-collapse: collapse; width: 100%; min-width: 720px; font-size: 14px; }
.cmp th, .cmp td { padding: 11px 14px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.cmp thead td { vertical-align: top; }
.cmp th { width: 200px; color: var(--muted); font-weight: 600; background: var(--bg-2); position: sticky; left: 0; }
.cmp .grp th { background: var(--bg-3); color: var(--ink); font-weight: 750; }
.cmp tr.diff td { background: var(--sun-soft); }
.cmp-head { display: flex; flex-direction: column; gap: 8px; }
.cmp-head img { width: 120px; height: 120px; object-fit: contain; background: var(--well); border-radius: 10px; padding: 8px; mix-blend-mode: multiply; }
.cmp-head a { color: var(--ink); font-weight: 680; }

/* ========== Schnellbestellung ========== */
.qo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.qo textarea { width: 100%; min-height: 220px; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 14px; }
.drop { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 26px; border: 2px dashed var(--line); border-radius: var(--r); text-align: center; color: var(--muted); cursor: pointer; }
.drop.is-over { border-color: var(--accent); background: var(--accent-soft); }
.qo-res .dline { grid-template-columns: 56px minmax(0, 1fr) 140px 110px 36px; align-items: center; }
.qo-res .dline img, .qo-res .dline .ph { width: 56px; height: 56px; }
.unknown { margin-top: 12px; }
.unknown li { color: var(--off); font-size: 13.5px; }

/* ========== Produktberater ========== */
.ai-fab { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: inline-flex; align-items: center; gap: 9px; height: 52px; padding: 0 20px 0 16px; border: 0; border-radius: 26px; background: var(--brand); color: #fff; font-weight: 700; font-size: 14.5px; box-shadow: 0 10px 30px rgba(11, 37, 69, .35); transition: transform .2s var(--ease); }
.ai-fab:hover { transform: translateY(-2px); }
.ai-fab .ic { color: var(--sun); }
.ai { position: fixed; right: 20px; bottom: 20px; z-index: 110; width: min(420px, calc(100vw - 24px)); height: min(640px, calc(100vh - 40px)); background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-2); display: flex; flex-direction: column; overflow: hidden; animation: popin .22s var(--ease); }
@keyframes popin { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.ai-h { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 18px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.ai-h .ic { color: var(--sun); }
.ai-h div { flex: 1; }
.ai-h b { display: block; font-size: 15px; }
.ai-h small { opacity: .75; font-size: 12px; }
.ai-h button { border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; }
.ai-b { flex: 1; overflow: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; background: var(--bg-2); }
.ai-m { max-width: 90%; padding: 11px 14px; border-radius: 14px; font-size: 14px; line-height: 1.5; background: var(--card); border: 1px solid var(--line-2); }
.ai-m.u { margin-left: auto; background: var(--accent); color: #fff; border-color: transparent; }
.ai-m p { margin: 0 0 .6em; } .ai-m p:last-child { margin: 0; }
.ai-m ul { margin: .3em 0 .6em; padding-left: 18px; }
.ai-m h2, .ai-m h3 { font-size: 14.5px; margin: .4em 0 .3em; }
.ai-cards { display: grid; gap: 8px; margin-top: 10px; }
.ai-card { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); text-decoration: none !important; font-size: 13px; }
.ai-card img { width: 44px; height: 44px; object-fit: contain; background: var(--well); border-radius: 6px; mix-blend-mode: multiply; }
.ai-card b { display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ai-card small { color: var(--muted); }
.ai-act { margin-top: 10px; }
.ai-f { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--card); }
.ai-f textarea { flex: 1; resize: none; height: 44px; max-height: 120px; border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; background: var(--field); font-size: 14px; }
.ai-f button { width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.ai-disc { margin: 0; padding: 6px 14px 10px; font-size: 11.5px; color: var(--faint); background: var(--card); }
.ai-sugg { display: flex; flex-wrap: wrap; gap: 6px; }
.ai-sugg button { border: 1px solid var(--line); background: var(--card); border-radius: 99px; padding: 6px 11px; font-size: 12.5px; color: var(--ink-2); }
.ai-sugg button:hover { border-color: var(--accent); color: var(--accent); }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: .25; } }

/* ========== Dialog ========== */
.modal { position: fixed; inset: 0; z-index: 130; background: var(--scrim); display: flex; align-items: center; justify-content: center; padding: 16px; animation: fade .2s; }
.modal-in { width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow-2); padding: 24px; }
.modal-in h2 { font-size: 20px; }

@media (max-width: 1120px) {
  .cols, .cfg, .acc { grid-template-columns: 1fr; }
  .sticky, .acc-nav { position: static; }
  .acc-nav { flex-direction: row; overflow-x: auto; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
  .acc-nav a { white-space: nowrap; }
  .acc-nav hr, .acc-who { display: none; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qo { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .cart-lines .dline, .qo-res .dline { grid-template-columns: 64px minmax(0, 1fr) auto; }
  .cart-lines .dline img, .cart-lines .dline .ph { width: 64px; height: 64px; }
  .cart-lines .dl-unit { display: none; }
  .cart-lines .dl-q { grid-column: 2; }
  .choice-2 { grid-template-columns: 1fr; }
  .cfg-in { grid-template-columns: 1fr; }
  .ai { right: 12px; bottom: 12px; }
  .ai-fab { right: 14px; bottom: 14px; height: 48px; }
  .ai-fab span { display: none; }
  .ai-fab { padding: 0 14px; }
  .tbl th, .tbl td { padding: 10px 8px; }
  .hide-sm { display: none; }
}
