/* The basket page. Ported from Quad King's basket styles (iron-quad: preview/catalogue-site/basket/basket.css and
   integration.css): the same rules, limited to .basket-page, without Quad King's own page header, footer, fonts and
   the parts ADG does not show (RRP savings, oil-drum address). Loaded after listing.css. Change the look there first. */
.basket-page{--ink:#101113;--muted:#5d6064;--line:#d9dbde;--pale:#f4f4f6;--gutter:clamp(24px,4.2vw,72px)}
.basket-page,.basket-page *{box-sizing:border-box}
.basket-page button,.basket-page input,.basket-page a{-webkit-tap-highlight-color:transparent}
.basket-page button,.basket-page input{font:inherit;color:inherit}
.basket-page button,.basket-page a{touch-action:manipulation}
.basket-page a{color:inherit;text-decoration-thickness:1px;text-underline-offset:5px}
.basket-page button{cursor:pointer}
.basket-page svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.35;flex-shrink:0}
.basket-page h1,.basket-page h2,.basket-page h3,.basket-page p{margin:0}
.basket-page h1,.basket-page h2,.basket-page h3{font-weight:400}
.basket-page button:focus-visible,.basket-page a:focus-visible,.basket-page input:focus-visible,.basket-page [tabindex]:focus-visible{outline:2px solid var(--ink);outline-offset:5px}
.basket-page [hidden]{display:none!important}
.basket-page .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.basket-page .heading{margin-bottom:44px}
.basket-page .heading h1{display:flex;align-items:baseline;gap:18px;font-size:56px;line-height:1.12;letter-spacing:-.025em}
.basket-page .heading h1 span{font-size:24px;color:var(--muted);letter-spacing:0}
.basket-page .heading>p{color:var(--muted);margin-top:14px;font-size:18px}
.basket-page .basket-layout{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:clamp(40px,5vw,80px);align-items:start}
.basket-page .items{min-width:0}
.basket-page .basket-item{display:grid;grid-template-columns:180px minmax(0,1fr);column-gap:28px;padding:32px 0;border-top:1px solid var(--line)}
.basket-page .product-image{display:flex;align-items:center;justify-content:center;width:180px;height:170px;background:#fff}
.basket-page .product-image img{width:100%;height:100%;object-fit:contain}
.basket-page .product-copy{min-width:0}
.basket-page .brand-line{display:flex;gap:16px;justify-content:space-between;flex-wrap:wrap;color:var(--muted);font-size:14px;margin-bottom:12px}
.basket-page .product-title{font-size:22px;line-height:1.28;letter-spacing:-.012em;text-decoration:none}
.basket-page .product-title:hover{text-decoration:underline}
.basket-page .price-row{display:flex;align-items:baseline;gap:16px;margin-top:19px;flex-wrap:wrap}
.basket-page .price{font-size:24px;line-height:1.45;letter-spacing:normal;font-weight:600;font-variant-numeric:tabular-nums}
.basket-page .each{font-size:14px;font-weight:400;color:var(--muted);margin-left:5px}
.basket-page .item-actions{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-top:22px}
.basket-page .quantity-wrap{display:flex;align-items:center;gap:12px}
.basket-page .quantity-label{font-size:14px;color:var(--muted)}
.basket-page .quantity{display:grid;grid-template-columns:42px 38px 42px;border:1px solid #909399;border-radius:3px;height:44px}
.basket-page .quantity button{border:0;background:transparent;font-size:23px;line-height:1;display:flex;align-items:center;justify-content:center}
.basket-page .quantity svg{width:16px;height:16px}
.basket-page .quantity button:hover{background:#eeeef0}
.basket-page .quantity button:disabled{color:#999;cursor:default;background:transparent}
.basket-page .quantity output{display:flex;align-items:center;justify-content:center;font-size:16px;font-variant-numeric:tabular-nums}
.basket-page .text-button{border:0;padding:10px 0;background:transparent;font-size:15px;text-decoration:underline;text-underline-offset:5px;min-height:44px}
.basket-page .text-button:hover{color:#555}
.basket-page .line-total{display:flex;gap:12px;margin-top:16px;font-size:14px;color:var(--muted)}
.basket-page .line-total strong{font-weight:600;color:var(--ink)}
.basket-page .fitment-note{border-top:1px solid var(--line);padding-top:22px;margin-top:4px;max-width:65ch;font-size:16px;color:var(--muted)}
.basket-page .undo-row{padding:12px 0;display:flex;gap:20px;align-items:center;font-size:16px}
.basket-page .undo-row span{flex:1}
.basket-page .summary{background:var(--pale);padding:30px;position:sticky;top:154px;border-radius:4px}
.basket-page .summary h2{font-size:28px;line-height:1.2;margin-bottom:28px;letter-spacing:-.015em}
.basket-page .totals{margin:0}
.basket-page .totals>div{display:flex;justify-content:space-between;gap:16px;font-size:17px;margin-top:12px}
.basket-page .totals dd{margin:0;white-space:nowrap;font-variant-numeric:tabular-nums}
.basket-page .delivery{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:23px 0;margin-top:23px}
.basket-page .delivery-title{display:flex;justify-content:space-between;gap:14px;align-items:baseline}
.basket-page .delivery-title h3{font-size:17px}
.basket-page .delivery-title span{font-size:17px;font-variant-numeric:tabular-nums}
.basket-page .delivery p{font-size:15px;margin-top:6px;color:var(--muted)}
.basket-page .delivery #delivery-message{font-size:14px;margin-top:13px}
.basket-page .total{display:flex;justify-content:space-between;align-items:baseline;margin-top:22px;font-size:22px}
.basket-page .total strong{font-size:34px;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-.02em}
.basket-page .tax-note{font-size:13px;color:var(--muted);text-align:right;margin-top:3px}
.basket-page .postcode-field{margin-top:24px;scroll-margin-top:170px;scroll-margin-bottom:120px}
.basket-page .postcode-field label{display:block;font-size:17px;margin-bottom:8px}
.basket-page .postcode-field input{display:block;width:100%;min-height:48px;padding:10px 12px;border:1px solid #909399;border-radius:3px;background:#fff;font-size:18px;line-height:1.4;text-transform:uppercase;caret-color:var(--ink);scroll-margin-top:170px;scroll-margin-bottom:150px}
.basket-page .postcode-field input[aria-invalid="true"]{border:2px solid #8b2424;padding:9px 11px}
.basket-page .postcode-field p{font-size:14px;line-height:1.5;color:var(--muted);margin-top:10px}
.basket-page .postcode-field a{display:inline-block;min-height:24px;color:var(--ink)}
.basket-page .primary{min-height:56px;padding:15px 20px;display:flex;align-items:center;justify-content:space-between;gap:18px;background:var(--ink);color:white;border:1px solid var(--ink);border-radius:4px;text-decoration:none;line-height:1.25;font-size:18px;transition:background-color 160ms ease-out}
.basket-page .primary:hover{background:#34363a}
.basket-page .primary:active{background:#505256}
.basket-page .summary>.primary{width:100%;margin-top:27px}
.basket-page .guest-note{text-align:center;font-size:14px;margin-top:13px;color:var(--muted)}
.basket-page .seller{border-top:1px solid var(--line);margin-top:26px;padding-top:23px;font-size:14px;color:var(--muted)}
.basket-page .seller p+p{margin-top:9px}
.basket-page .seller strong{font-weight:600;color:var(--ink)}
.basket-page .checkout-notice{font-size:15px;margin-top:18px;padding:14px;background:#fff;border:1px solid #aeb0b4;border-radius:3px}
.basket-page .mobile-bar{display:none}
.basket-page .empty{padding:68px 20px 92px;text-align:center}
.basket-page .empty h2{font-size:44px;letter-spacing:-.025em;line-height:1.15}
.basket-page .empty p{color:var(--muted);margin-top:18px}
.basket-page .empty .primary{width:240px;margin:34px auto 0}
.basket-page .empty #empty-undo{margin-top:20px}
.basket-page .noscript{padding:25px;border:1px solid #333}
@media(min-width:1600px){
.basket-page .basket-item{grid-template-columns:210px minmax(0,1fr)}
.basket-page .product-image{width:210px;height:200px}
}
@media(max-width:1100px){
.basket-page .basket-layout{grid-template-columns:minmax(0,1fr) 330px;gap:30px}
.basket-page .summary{padding:24px}
.basket-page .basket-item{grid-template-columns:125px minmax(0,1fr);gap:20px}
.basket-page .product-image{width:125px;height:135px}
.basket-page .quantity-wrap{gap:8px}
.basket-page .quantity-label{display:none}
}
@media(max-width:760px){
.basket-page .heading{margin-bottom:28px}
.basket-page .heading h1{font-size:40px;gap:14px}
.basket-page .heading h1 span{font-size:20px}
.basket-page .heading>p{font-size:16px;margin-top:12px;max-width:30ch}
.basket-page .basket-layout{display:block}
.basket-page .basket-item{grid-template-columns:98px minmax(0,1fr);gap:18px;padding:26px 0}
.basket-page .product-image{width:98px;height:112px}
.basket-page .brand-line{font-size:12px;gap:4px;margin-bottom:9px;flex-direction:column}
.basket-page .product-title{font-size:20px}
.basket-page .price-row{gap:10px;margin-top:16px}
.basket-page .price{font-size:23px}
.basket-page .each{font-size:12px}
.basket-page .item-actions{gap:12px;margin-top:17px;flex-wrap:wrap}
.basket-page .quantity{grid-template-columns:42px 34px 42px}
.basket-page .text-button{font-size:14px}
.basket-page .line-total{font-size:13px;margin-top:12px}
.basket-page .fitment-note{font-size:14px;padding-top:18px}
.basket-page .summary{position:static;margin:36px -24px 0;padding:30px 24px 32px;border-radius:0}
.basket-page .summary h2{font-size:28px;margin-bottom:24px}
.basket-page .totals>div{font-size:17px}
.basket-page .delivery{margin-top:21px}
.basket-page .summary>.primary{margin-top:24px}
.basket-page .seller{font-size:14px}
.basket-page .mobile-bar{position:fixed;z-index:6;bottom:0;left:0;right:0;display:flex;align-items:center;gap:18px;padding:14px 20px calc(14px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fff}
.basket-page .mobile-bar>div{flex-shrink:0}
.basket-page .mobile-bar span{display:block;font-size:12px;color:var(--muted)}
.basket-page .mobile-bar #mobile-postcode-label{font-size:inherit;color:inherit}
.basket-page .mobile-bar strong{font-size:23px;font-weight:600;font-variant-numeric:tabular-nums;line-height:1.15}
.basket-page .mobile-bar .primary{flex:1;min-height:50px;font-size:15px;padding:12px 14px;gap:8px}
.basket-page .mobile-bar svg{width:19px}
.basket-page .empty{padding:52px 0 64px}
.basket-page .empty h2{font-size:36px}
.basket-page .empty p{font-size:17px}
.basket-page .empty .primary{font-size:17px}
}
@media(max-width:360px){
.basket-page .basket-item{grid-template-columns:72px minmax(0,1fr);gap:14px}
.basket-page .product-image{width:72px;height:96px}
.basket-page .summary{margin-left:-20px;margin-right:-20px;padding-left:20px;padding-right:20px}
.basket-page .heading h1{font-size:36px}
.basket-page .mobile-bar{padding-left:14px;padding-right:14px;gap:12px}
.basket-page .mobile-bar .primary{font-size:14px;padding:10px}
.basket-page .mobile-bar strong{font-size:21px}
.basket-page .mobile-bar svg{width:16px}
}
.basket-page .product-copy h2{font-size:22px;line-height:1.28}
.basket-page .product-title{display:block}
/* Keep a tall summary reachable when the fixed navigation leaves little screen space. */
@media(min-width:761px) and (max-height:1050px){
.basket-page .summary{position:static}
}
@media(max-width:760px){
.basket-page .basket-item{grid-template-columns:98px minmax(0,1fr);gap:0 20px}
.basket-page .product-copy{display:contents}
.basket-page .product-image{grid-column:1;grid-row:1;width:98px;height:96px}
.basket-page .brand-line{grid-column:2;grid-row:1;align-self:center;font-size:14px;gap:6px;margin:0}
.basket-page .product-copy h2{grid-column:1/-1;grid-row:2;font-size:20px;line-height:1.28;margin-top:18px}
.basket-page .price-row{grid-column:1/-1;grid-row:3;margin-top:20px}
.basket-page .item-actions{grid-column:1/-1;grid-row:5;margin-top:18px}
.basket-page .quantity-label{display:block;font-size:14px;margin-right:4px}
.basket-page .line-total{grid-column:1/-1;grid-row:6}
.basket-page .stock-limit{grid-column:1/-1;grid-row:6}
.basket-page .stock-limit+.line-total{grid-row:7}
.basket-page a,.basket-page button,.basket-page [tabindex]{scroll-margin-top:90px;scroll-margin-bottom:110px}
}
@media(prefers-reduced-motion:reduce){
.basket-page,.basket-page *{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}
.basket-page .basket-status{font-size:16px;color:#45484c;max-width:65ch;margin-bottom:24px}
.basket-page .unavailable-copy{grid-column:1/-1}
.basket-page .unavailable-copy h2{font-size:22px;line-height:1.3}
.basket-page .unavailable-copy p{font-size:16px;color:#5d6064;margin-top:12px}
.basket-page .unavailable-copy .text-button{margin-top:10px}
.basket-page .checkout:disabled{cursor:not-allowed;opacity:1;background:#5d6064;border-color:#5d6064;color:#fff}
.basket-page .basket-image-fallback{object-fit:contain}
/* ADG's own additions. */
.basket-page .receipt-item{padding:26px 0;border-top:1px solid var(--line);overflow-wrap:anywhere}
.basket-page .receipt-item h2{font-size:22px;line-height:1.28;margin-bottom:12px}
.basket-page .receipt-item p+p{margin-top:8px}
.basket-page .receipt-item .part-no{font-size:14px;color:var(--muted)}
.basket-page .receipt-email{margin-top:24px}
.basket-page .return-actions{display:flex;flex-wrap:wrap;align-items:center;gap:24px;margin-top:32px}
.basket-page .return-actions .primary{width:auto;max-width:100%}
.basket-page #return-notice{margin-top:24px}
.basket-page #return-message{overflow-wrap:anywhere}
.basket-page #return-title{display:block}
.basket-page{max-width:1600px;margin:0 auto;padding:60px var(--gutter) 72px;font:18px/1.45 Barlow,Arial,sans-serif;color:var(--ink)}
.basket-page .part-no{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.basket-page .stock-limit{font-size:14px;color:var(--muted);margin-top:10px}
.basket-page .mobile-bar .primary svg,.basket-page .primary svg{stroke:currentColor}
@media(max-width:760px){.basket-page{padding:36px 24px 118px}}
@media(max-width:360px){.basket-page{padding-left:20px;padding-right:20px}}
