/* Trade quote builder (/quote) + trade account application (/trade-account) – extends app.css */
[hidden]{display:none!important}

/* dark hero (matches /best-sellers) */
.dk-hero{background:radial-gradient(ellipse at 70% 0%,#2b5fa8 0%,#16285a 45%,#0d1530 100%);color:#fff;padding:48px 0 60px}
.dk-hero .wrap{display:grid;grid-template-columns:1fr minmax(0,520px);gap:48px;align-items:start}
.dk-hero h1{color:#fff;font-size:52px;font-weight:800;letter-spacing:-1.4px}
.dk-hero h1 em{color:#ff7a45}
.dk-hero .lead{color:#c9d3ee}
.dk-hero .ticks li{color:#fff}
.dk-hero .ticks li::before{background-color:var(--orange)}
.dk-hero .card{color:var(--ink);position:static}
.stamp{display:inline-flex;align-items:center;background:var(--orange);color:#fff;font-weight:800;font-size:13px;letter-spacing:2px;text-transform:uppercase;border-radius:8px;padding:7px 12px;margin-bottom:18px}
.steps3{display:grid;gap:10px;margin:4px 0 26px}
.steps3 div{display:flex;align-items:center;gap:12px;font-size:16.5px;font-weight:500}
.steps3 b{flex:0 0 32px;height:32px;border-radius:50%;background:rgba(255,255,255,.12);border:1.5px solid rgba(255,255,255,.35);display:flex;align-items:center;justify-content:center;font-weight:700}
.qgrp{margin-bottom:16px}
.qgrp .q{font-size:15.5px;margin-bottom:8px}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chips button{font:inherit;font-size:14.5px;font-weight:600;color:var(--ink);background:#fff;border:1.5px solid var(--line);border-radius:999px;padding:9px 14px;cursor:pointer;transition:border-color .15s,background .15s}
.chips button:hover{border-color:var(--navy)}
.chips button.sel{background:var(--navy);border-color:var(--navy);color:#fff}
.sep{height:1px;background:var(--line);margin:6px 0 16px}
.trade-note{background:#fdf4ef;border:1px solid #f6d9cb;color:#7a3a1f;border-radius:12px;padding:10px 12px;font-size:13.5px;margin-top:10px}
.trade-note b{color:var(--orange-d)}
.qb-head .eyebrow{margin-bottom:8px}
@media (max-width:960px){
  .dk-hero{padding:28px 0 40px}
  .dk-hero .wrap{display:flex;flex-direction:column;gap:22px}
  .dk-hero h1{font-size:36px}
  .dk-hero .ticks{display:none}
}
.opt-l{font-weight:400;color:#8a8fa8}
.field textarea{width:100%;font:inherit;font-size:15px;padding:11px 14px;border:1.5px solid var(--line);border-radius:12px;resize:vertical;color:var(--ink);outline:none}
.field textarea:focus{border-color:var(--navy)}
.btn-block{width:100%;margin-top:6px}
.btn-outline{background:#fff;color:var(--navy);border:1.5px solid var(--navy);padding:13.5px 22px}
.btn-outline:hover{background:#f1f2f8}
.btn-outline[disabled]{opacity:.5;cursor:not-allowed}
.pdf-ok{background:#e9f6ef;color:var(--ok);font-size:14px;font-weight:500;border-radius:12px;padding:10px 12px;margin:8px 0 4px}
.pdf-ok b{color:var(--ink)}

.qb{padding:44px 0 72px;background:linear-gradient(180deg,var(--bg) 0%,#fff 260px)}
.qb-head h2{font-size:34px;line-height:1.15;letter-spacing:-.5px;margin-bottom:6px}
.qb-head p{color:var(--muted);font-size:16.5px;margin-bottom:24px}
.qb-grid{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:28px;align-items:start}

/* category tabs */
.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}
.tab{font:inherit;font-size:15px;font-weight:600;color:var(--ink);background:#fff;border:1.5px solid var(--line);border-radius:999px;padding:10px 16px;cursor:pointer}
.tab:hover{border-color:var(--navy)}
.tab[aria-selected=true]{background:var(--navy);border-color:var(--navy);color:#fff}
.tab .n{display:inline-block;min-width:20px;margin-left:6px;padding:0 6px;border-radius:999px;background:var(--orange);color:#fff;font-size:12px;line-height:20px;text-align:center}
.cat-note{font-size:14.5px;color:var(--muted);margin:0 0 14px}
.cat-note b{color:var(--ink)}

/* product groups */
.grp{background:#fff;border:1px solid var(--line);border-radius:var(--radius);margin-bottom:14px;overflow:hidden}
.grp-h{display:flex;align-items:center;gap:14px;padding:14px 18px;border-bottom:1px solid var(--line);background:#fbfbfd}
.grp-h img{width:64px;height:44px;object-fit:contain;flex:0 0 64px}
.grp-h b{font-size:17px;display:block}
.grp-h span{font-size:13.5px;color:var(--muted)}
.prow{display:grid;grid-template-columns:96px minmax(0,1fr) 110px 128px;gap:12px;align-items:center;padding:11px 18px;border-bottom:1px solid #f0f1f5}
.prow:last-child{border-bottom:0}
.prow.on{background:#f4f5fb}
.prow .cap{font-weight:600}
.prow .code{font-size:13.5px;color:var(--muted);min-width:0}
.prow .code span{white-space:nowrap}
.prow .code small{display:block;font-size:12.5px;color:var(--orange-d)}
.prow .code.has-img{display:flex;align-items:center;gap:10px}
.prow .code img.rimg{width:48px;height:34px;object-fit:contain;flex:0 0 48px}
.prow .code small.rl{color:var(--muted)}
.prow .price{text-align:right;font-weight:600}
.prow .price small{display:block;font-weight:400;font-size:12px;color:var(--muted)}
.qty{display:flex;align-items:center;justify-content:flex-end;gap:6px}
.qty button{width:34px;height:34px;border-radius:10px;border:1.5px solid var(--line);background:#fff;font:inherit;font-size:19px;font-weight:600;color:var(--navy);cursor:pointer;line-height:1}
.qty button:hover{border-color:var(--navy)}
.qty button.add{background:var(--orange);border-color:var(--orange);color:#fff}
.qty input{width:44px;height:34px;text-align:center;font:inherit;font-weight:600;border:1.5px solid var(--line);border-radius:10px;-moz-appearance:textfield}
.qty input::-webkit-outer-spin-button,.qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}

/* basket */
.basket{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 24px 60px rgba(27,32,63,.10);padding:22px;position:sticky;top:96px}
.b-title{font-size:20px;font-weight:700;margin-bottom:12px;display:flex;justify-content:space-between;align-items:baseline}
.b-title span{font-size:13.5px;font-weight:500;color:var(--muted)}
.b-lines{max-height:280px;overflow:auto;margin-bottom:10px}
.b-empty{font-size:14.5px;color:var(--muted);padding:14px;background:var(--bg);border-radius:12px}
.b-line{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid #f0f1f5;font-size:14.5px}
.b-line .d b{display:block;font-size:14px}
.b-line .d span{color:var(--muted);font-size:12.5px}
.b-line .t{font-weight:600}
.b-line .x{border:0;background:none;color:#a0a4b8;font-size:18px;cursor:pointer;padding:0 2px}
.b-line .x:hover{color:#c0392b}
.b-warn{display:none;background:#fdf1ec;color:var(--orange-d);font-size:14px;font-weight:500;border-radius:12px;padding:10px 12px;margin-bottom:10px}
.b-warn.show{display:block}
.b-warn.ok{background:#e9f6ef;color:var(--ok)}
.b-sec{border-top:1px solid var(--line);padding-top:12px;margin-top:4px}
.b-label{font-size:13.5px;font-weight:600;margin-bottom:8px}
.radio{display:flex;gap:10px;align-items:flex-start;font-size:14.5px;font-weight:500;margin-bottom:9px;cursor:pointer}
.radio input{margin-top:4px;accent-color:var(--navy);width:16px;height:16px;flex:0 0 16px}
.radio em{display:block;font-style:normal;font-weight:400;font-size:12.5px;color:var(--muted)}
.basket .field{margin:10px 0 8px}
.basket .field input{padding:10px 12px;font-size:15px}
.totals{border-top:1px solid var(--line);margin-top:6px;padding-top:10px;font-size:14.5px}
.totals div{display:flex;justify-content:space-between;padding:3px 0}
.totals .grand{font-size:18px;font-weight:700;color:var(--navy);border-top:1px solid var(--line);margin-top:6px;padding-top:8px}
.totals .muted{color:var(--muted)}

/* mobile basket bar */
.m-bar{position:fixed;left:12px;right:12px;bottom:12px;z-index:30;display:none;justify-content:space-between;align-items:center;gap:10px;background:var(--navy);color:#fff;border:0;border-radius:14px;padding:14px 18px;font:inherit;font-size:15px;box-shadow:0 12px 30px rgba(27,32,63,.3);cursor:pointer}

/* result */
.res{max-width:820px;margin:0 auto;text-align:center}
.res .done{padding:0}
.res h2{font-size:32px;letter-spacing:-.4px;margin-bottom:8px}
.res-sub{color:var(--muted);font-size:16.5px;margin-bottom:22px}
.res-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-bottom:26px}
.res-actions .btn-primary{flex:0 0 auto}
.res-table{text-align:left;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;margin-bottom:18px}
.res-table table{width:100%;border-collapse:collapse;font-size:14.5px}
.res-table th{background:var(--navy);color:#fff;font-weight:600;text-align:left;padding:10px 14px}
.res-table td{padding:10px 14px;border-bottom:1px solid #f0f1f5}
.res-table .r{text-align:right;white-space:nowrap}
.res-table tfoot td{border:0;padding:5px 14px}
.res-table tfoot .grand td{font-weight:700;font-size:16.5px;color:var(--navy);padding-top:9px;padding-bottom:12px}
.res-next{text-align:left;background:var(--bg);border-radius:var(--radius);padding:16px 18px;font-size:15px;color:var(--muted);margin-bottom:12px}
.res-next b{color:var(--ink)}

@media (max-width:960px){
  .qb-grid{grid-template-columns:1fr}
  .basket{position:static}
  .m-bar{display:flex}
  .qb-head h2{font-size:27px}
}
@media (max-width:520px){
  .prow{grid-template-columns:72px minmax(0,1fr) 112px;row-gap:4px;padding:11px 14px}
  .prow .price{grid-column:2;grid-row:2;text-align:left}
  .prow .qty{grid-column:3;grid-row:1/span 2}
  .grp-h{padding:12px 14px}
  .res h2{font-size:26px}
  .res-table td,.res-table th{padding:8px 10px}
}
/* Cookie banner sits at the top on phones so it never covers the first question (23 Oct 2026: only 33% of /quote leads had answered it). */
@media (max-width:960px){
  .consent{top:12px;bottom:auto;left:12px;right:12px;padding:12px 14px;gap:10px;font-size:13px;flex-direction:row;flex-wrap:wrap;align-items:center}
  .consent .btns{margin-left:auto}
  .consent .btn{padding:9px 14px}
}
