.shipment-payment{display:grid;gap:14px;margin-top:20px}.shipment-payment h3{margin:0}.shipment-payment .cash-payment-methods{display:flex;flex-wrap:wrap;gap:8px}.shipment-payment .cash-payment-methods label{flex:1 1 140px;display:flex;align-items:center;gap:8px;padding:10px;border:1px solid var(--border,#344550);border-radius:12px}.shipment-payment input[type=checkbox],.shipment-payment input[type=radio]{width:18px;height:18px;flex:0 0 18px;accent-color:#aa40ef}.shipment-payment [data-pay=cash]{display:grid;gap:10px}.shipment-payment [hidden]{display:none!important}.shipment-payment .cash-payment-list{max-height:255px;overflow:auto}.shipment-chosen{display:grid;gap:6px}.shipment-chosen-row{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:8px 12px;border:1px solid #28bd9d70;border-radius:10px;background:#28bd9d0c}.shipment-points{padding:16px;border:1px solid #a958df60;border-radius:15px;background:linear-gradient(120deg,#8e39db12,#426cd808)}.shipment-points-heading{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}.shipment-points-heading span{font-weight:700;color:var(--text,#dfeafa)}.shipment-points-toggle{display:flex;align-items:center;gap:8px}.shipment-points [data-pay=points-fields]{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin-top:12px}.shipment-points [data-pay=points-fields]>label{flex:1 1 160px}.shipment-payment-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px;background:#7c94b10d;border:1px solid var(--border,#344550);border-radius:14px}.shipment-payment-summary>div{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.shipment-payment-summary small{grid-column:1/-1}.shipment-payment-summary .matched{color:#28b598}.shipment-payment-summary .short{color:var(--text,#dfeafa)}@media(max-width:520px){.shipment-payment-summary{grid-template-columns:1fr}.shipment-payment .cash-payment-methods label{flex-basis:120px;font-size:12px}.shipment-points{padding:12px}.shipment-payment .cash-payment-list{max-height:210px}}
/* Structured shipment checkout; keep shared components and their event roots intact. */
.shipment-payment .shipment-receipt-date{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 6px;flex-basis:100%;margin-top:4px;color:var(--muted);font-size:11px;line-height:1.7}
.shipment-payment .shipment-receipt-date time{color:var(--ink);font-variant-numeric:tabular-nums;unicode-bidi:isolate}
.shipment-payment .shipment-chosen-copy{display:grid;gap:2px;min-width:0}
.shipment-method-panel,.shipment-account-panel{display:contents}
.shipment-summary-heading{grid-column:1/-1;display:flex;align-items:center;gap:8px;font-size:15px}
.shipment-summary-heading svg,.shipment-transfer-count svg,.shipment-method-icon svg{width:19px;height:19px;flex:none}
.shipment-method-icon{display:inline-flex;color:var(--accent)}
.shipment-method-icon.method-instapay{color:#db9b29}.shipment-method-icon.method-vodafone_iphone{color:#9691ef}.shipment-method-icon.method-points{color:#e3b034}
.shipment-transfer-count{display:flex;align-items:center;gap:6px;color:var(--accent);padding-top:7px}
.basket-quantity-control{display:flex;align-items:center;gap:2px;margin-top:5px;direction:rtl}
.basket-line-prices .basket-quantity-control input{margin:0;min-width:28px;flex:1;width:0;padding:8px 2px}
.basket-quantity-control button{padding:2px;width:18px;flex:none;font-size:16px;color:var(--accent)}
.basket-quantity-control button:disabled{opacity:.3;cursor:default}
.basket-remove svg{width:18px;height:18px}
#action-dialog:has(.sale-checkout){width:min(1360px,calc(100vw - 32px));max-width:1360px;padding:20px;max-height:94dvh;overflow:hidden}
#action-dialog:has(.sale-checkout) #action-form{display:flex;flex-direction:column;max-height:calc(94dvh - 42px);overflow:hidden;min-height:0}
#action-dialog:has(.sale-checkout) .dialog-heading{flex:none}
#action-dialog:has(.sale-checkout) #dialog-title{font-size:25px;gap:12px}
#action-dialog:has(.sale-checkout) #dialog-description{padding:0 70px 12px 0;font-size:12px;flex:none;border:0}
#action-dialog:has(.sale-checkout) #dialog-fields{overflow:auto;min-height:0;padding:0 2px 8px;overscroll-behavior:contain}
#action-dialog:has(.sale-checkout) #action-form>.dialog-actions{flex:none;margin-top:8px;padding-top:12px}
#action-dialog:has(.sale-checkout) #dialog-error{flex:none;margin:6px 0}
.sale-checkout>.sale-outcomes,.sale-checkout>.sale-outcome-note{display:none}
.sale-checkout #sale-payment{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(320px,1fr);gap:14px;align-items:start}
.sale-checkout .sale-customer-capture{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0;margin:0;background:none;border:0;font-size:12px}
.sale-purchased-badge{display:inline-flex;align-items:center;gap:8px;border:1px solid #11cfa26b;background:#08ad8530;border-radius:12px;padding:8px 12px;color:var(--accent);font-weight:700}
.sale-purchased-badge svg{width:18px;height:18px}.sale-purchased-badge small{font-size:10px;color:var(--muted);font-weight:400}
.sale-checkout #sale-basket,.sale-checkout #sale-payment-fields,.sale-checkout .shipment-payment{display:contents}
.sale-checkout .sale-picker{grid-column:1;grid-row:2}
.sale-checkout .sale-selection{grid-column:2;grid-row:2;align-self:stretch}
.sale-checkout .shipment-method-panel{display:grid;gap:12px;grid-column:1;grid-row:3;border:1px solid var(--line);border-radius:13px;padding:16px;background:var(--surface)}
.sale-checkout .shipment-account-panel{display:grid;gap:14px;grid-column:2;grid-row:3;min-width:0}
.sale-checkout .sale-confirm{grid-column:1/-1;margin:0;padding:12px 0 0;font-size:12px}
.sale-checkout .sale-picker,.sale-checkout .sale-selection{padding:14px;border-radius:13px}
.sale-checkout .sale-section-heading{margin-bottom:12px}
.sale-checkout .sale-section-heading h3{font-size:17px}.sale-checkout .sale-section-heading p{font-size:11px}
.sale-checkout .basket-games{grid-template-columns:repeat(3,minmax(0,1fr));max-height:154px;gap:8px}
.sale-checkout .basket-game{padding:7px;min-height:62px}.sale-checkout .basket-game>span{font-size:12px}.sale-checkout .basket-game small{font-size:10px}
.sale-checkout .basket-game[aria-pressed=true],.sale-checkout .basket-pack[aria-pressed=true]{border-color:#16d3a5;background:#06ba8b12;box-shadow:inset 0 0 0 1px #16d3a525}
.sale-checkout .basket-search-row{margin:12px 0 8px}.sale-checkout .basket-search-row>b{display:none}.sale-checkout .basket-search-row input{font-size:13px}
.sale-checkout .basket-packs{max-height:266px;gap:8px}.sale-checkout .basket-pack{align-items:center;text-align:center;padding:9px 6px;gap:4px;min-height:117px}
.sale-checkout .basket-pack b{padding:0;font-size:14px}.sale-checkout .basket-pack small{font-size:10px}
.sale-checkout .basket-pack-plus{display:grid;place-items:center;border:1px solid var(--line);background:var(--surface);width:25px;height:25px;border-radius:9px;font-size:19px}
.sale-checkout .basket-pack[aria-pressed=true] .basket-pack-plus{border-color:#13dca0;background:#13dca0;color:#064e3b;border-radius:50%;font-size:15px}
.sale-checkout #basket-unlisted{border:1px solid var(--line);font-size:12px;margin-top:8px;padding:8px}
.sale-checkout .sale-selection .sale-step{display:none}
.sale-checkout #basket-lines{max-height:330px}
.sale-checkout .basket-line{padding:13px;margin-bottom:10px}.sale-checkout .basket-line header b{font-size:15px}.sale-checkout .basket-line header small{font-size:12px}
.sale-checkout .basket-remove{display:grid;place-items:center;width:33px;height:33px;background:#e8749220;color:#ed88a1;border:1px solid #ed88a125}
.sale-checkout .basket-line-prices{grid-template-columns:1fr;gap:8px;margin-top:14px}
.sale-checkout .basket-line-prices>.basket-fixed-price,.sale-checkout .basket-quantity-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;font-size:13px}
.sale-checkout .basket-fixed-price>span{font-size:13px;white-space:nowrap}
.sale-checkout .basket-price-control,.sale-checkout .basket-quantity-control{width:57%;margin:0;border:1px solid var(--line);border-radius:8px;overflow:hidden;min-height:36px;background:var(--panel)}
.sale-checkout .basket-quantity-control button{width:34px;min-height:34px;background:var(--surface);font-size:21px}.sale-checkout .basket-quantity-control input{border:0;background:none;font-size:15px}
.sale-checkout .basket-price-control>bdi{font-size:15px}.sale-checkout .basket-price-control .basket-price-edit{border:0;border-radius:0;border-inline-start:1px solid var(--line);min-height:35px;width:34px}
.sale-checkout .basket-line-prices .basket-price-control input{border:0;font-size:15px}
.sale-checkout .basket-totals{grid-template-columns:1fr;gap:0;margin-top:10px}
.sale-checkout .basket-totals>div{display:flex;align-items:center;justify-content:space-between;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:9px 0;gap:8px;background:none}
.sale-checkout .basket-totals span{font-size:12px}.sale-checkout .basket-totals b{margin:0;font-size:16px}
.sale-checkout .basket-difference{margin-top:10px;font-size:10px}.sale-checkout .basket-profit-note{margin-top:8px}
.sale-checkout .shipment-points{padding:15px;border-radius:12px;background:linear-gradient(130deg,#3664ad21,#5d50b516);border-color:#657bc066}
.sale-checkout .shipment-points-heading{font-size:15px}.sale-checkout .shipment-points-heading span{color:var(--ink);font-size:14px}
.sale-checkout .shipment-points-toggle{font-size:13px}.sale-checkout .shipment-points .field-hint{font-size:11px;margin:8px 0 0}
.sale-checkout .shipment-payment-summary{grid-template-columns:1fr;padding:15px;border-radius:12px;gap:0;background:var(--surface);border-color:var(--line)}
.sale-checkout .shipment-summary-heading{padding-bottom:12px;border-bottom:1px solid var(--line);margin:0;color:var(--ink);font-size:17px}
.sale-checkout .shipment-payment-summary>div{padding:12px 0;border-bottom:1px solid var(--line);font-size:13px}.sale-checkout .shipment-payment-summary b{font-size:17px;font-weight:600;direction:rtl}
.sale-checkout .shipment-payment-summary .shipment-due{font-weight:700}.sale-checkout .shipment-payment-summary .matched{color:var(--accent);font-weight:700}.sale-checkout .shipment-payment-summary small{margin-top:10px;font-size:11px}
.sale-checkout .shipment-payment .cash-payment-methods{gap:6px;margin:0}
.sale-checkout .cash-payment-methods label{position:relative;justify-content:center;flex:1 1 95px;padding:11px 6px!important;margin:0!important;font-size:11px;border-radius:10px;gap:5px;background:var(--panel);border-color:var(--line)}
.sale-checkout .cash-payment-methods label:has(:checked){border-color:#16d3a5;background:#06ba8b20}
.sale-checkout .cash-payment-methods input[type=radio]{position:absolute;inset:0;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
.sale-checkout .cash-payment-methods label:has(:focus-visible){outline:2px solid var(--accent);outline-offset:2px}
.sale-checkout .shipment-payment input[type=checkbox]{accent-color:#05cb98}
.sale-checkout [data-pay=search]{margin:0;font-size:13px}
.sale-checkout .cash-payment-list{max-height:204px;gap:7px}
.sale-checkout .cash-payment-option{position:relative;flex-direction:row-reverse;justify-content:space-between;padding:9px!important;margin:0!important;border-color:var(--line);border-radius:9px;font-size:11px}
.sale-checkout .cash-payment-option>span{display:flex;align-items:center;flex-wrap:wrap;gap:4px}.sale-checkout .cash-payment-option b{font-size:15px;color:var(--ink)}.sale-checkout .cash-payment-option small{font-size:10px}
.sale-checkout [data-pay=older]{width:100%;font-size:12px;padding:8px}
.sale-checkout .shipment-chosen-row,.sale-checkout .shipment-receipt-details{font-size:11px}
.sale-checkout .shipment-method-panel .sale-step{background:#3673d833;color:#8fb5ff}
@media(max-width:850px){
 #action-dialog:has(.sale-checkout){width:100%;padding:0;border-radius:20px 20px 0 0;max-height:94dvh}
 #action-dialog:has(.sale-checkout) #action-form{max-height:94dvh}
 #action-dialog:has(.sale-checkout) .dialog-heading{padding:14px 16px 0}
 #action-dialog:has(.sale-checkout) #dialog-title{font-size:20px}
 #action-dialog:has(.sale-checkout) #dialog-description{padding:6px 16px 12px;font-size:11px}
 #action-dialog:has(.sale-checkout) #dialog-fields{padding:0 12px 12px}
 #action-dialog:has(.sale-checkout) #action-form>.dialog-actions{margin:0;padding:10px 14px calc(12px + env(safe-area-inset-bottom,0px))}
 .sale-checkout #sale-payment{grid-template-columns:1fr;gap:12px}
 .sale-checkout .sale-picker,.sale-checkout .sale-selection,.sale-checkout .shipment-method-panel,.sale-checkout .shipment-account-panel,.sale-checkout .sale-confirm{grid-column:1;grid-row:auto}
 .sale-checkout .sale-customer-capture{flex-wrap:wrap;font-size:10px;gap:7px}
 .sale-checkout .basket-games{grid-template-columns:repeat(2,minmax(0,1fr));max-height:144px}
 .sale-checkout .basket-pack b{font-size:12px}.sale-checkout .basket-pack>span:not(.basket-pack-plus){font-size:11px}
 .sale-checkout .basket-pack-plus{width:21px;height:21px;inset-inline-end:4px;top:5px}
 .sale-checkout .shipment-method-panel{padding:12px}.sale-checkout .sale-selection{align-self:start}
 .sale-checkout .basket-packs{max-height:240px}.sale-checkout #basket-lines{max-height:none}
 .sale-checkout .sale-section-heading h3{font-size:15px}
}
/* Let the points card sit directly below the selected packages. */
@media(min-width:851px){
 .sale-checkout .sale-picker{grid-row:2 / span 2;align-self:stretch}
 .sale-checkout .sale-selection{grid-row:2;align-self:start}
 .sale-checkout .shipment-account-panel{display:contents}
 .sale-checkout .shipment-points{grid-column:2;grid-row:3}
 .sale-checkout .shipment-payment-summary{grid-column:2;grid-row:4}
 .sale-checkout .shipment-method-panel{grid-row:4 / span 2}
 .sale-checkout [data-pay=error]{grid-column:2;grid-row:5}
 .sale-checkout .sale-confirm{grid-row:6}
}
.sale-checkout .basket-totals{grid-template-columns:1fr 1fr;gap:8px}
.sale-checkout .basket-totals>div{display:block;border:1px solid var(--line);border-radius:8px;padding:9px}
.sale-checkout .basket-totals b{margin-top:5px}
.sale-checkout .basket-profit{background:#0dbd9810!important}
.sale-checkout .basket-totals{grid-template-columns:1fr;gap:10px}
.sale-checkout .basket-totals>.basket-compact-total{display:flex;border:0;border-top:1px solid var(--line);border-radius:0;padding:12px 0}
.sale-checkout .basket-compact-total span{font-size:15px;color:var(--ink);font-weight:700}.sale-checkout .basket-compact-total b{font-size:19px;margin:0}
.basket-calculation-details{font-size:11px;color:var(--muted);border-top:1px solid var(--line);padding-top:9px}
.basket-calculation-details>summary{cursor:pointer;line-height:1.9}.sale-checkout .basket-calculation-details>summary b{display:inline;margin-inline-start:8px;color:var(--accent);font-size:13px}
.basket-calculation-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding-top:12px}.basket-calculation-grid>div{padding:8px;border:1px solid var(--line);border-radius:7px}
/* Reference details: bag, count, search, wallet and payment selection marks. */
.basket-selection-icon{display:grid;place-items:center;flex:none;width:28px;height:32px;color:#6da7ff}
.basket-selection-icon svg{width:27px;height:27px}
.sale-selection .sale-section-heading{align-items:flex-start;gap:9px}.sale-selection .sale-section-heading>div{flex:1;min-width:0}
.sale-selection .sale-section-heading h3{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.sale-selection #basket-count{display:inline-grid;place-items:center;min-width:24px;height:24px;border-radius:50%;padding:0 6px;margin:0;background:#326dcc38;color:#b6d2ff;font-size:12px}
html[data-theme=light] .sale-selection #basket-count{color:#2864ac;background:#3973cb20}
.basket-search-icon{display:none}.sale-checkout .basket-search-row{position:relative}
.sale-checkout .basket-search-icon{position:absolute;inset-inline-start:12px;top:50%;transform:translateY(-50%);display:flex;color:var(--muted);pointer-events:none}
.basket-search-icon svg{width:20px;height:20px}.sale-checkout .basket-search-row input{padding-inline-start:40px}
.basket-unlisted-icon{display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:#527dc621;color:#92bfff;margin-inline-end:7px}
.basket-unlisted-icon svg{width:16px;height:16px}
.basket-game-check{display:none}.sale-checkout .basket-game[aria-pressed=true] .basket-game-check{display:grid;place-items:center;margin-inline-start:auto;flex:none;width:23px;height:23px;border-radius:50%;background:#13dca0;color:#064e3b}
.basket-game-check svg{width:16px;height:16px}
.shipment-search-wrap{position:relative}.shipment-search-wrap>span{position:absolute;inset-inline-start:12px;top:50%;transform:translateY(-50%);display:flex;pointer-events:none;color:var(--muted)}
.shipment-search-wrap>span svg{width:20px;height:20px}.shipment-payment [data-pay=search]{padding-inline-start:40px;width:100%}
.shipment-points-heading>b{display:flex;align-items:center;gap:8px}.shipment-points .shipment-points-heading .shipment-points-star{display:inline-flex;color:#f7c644}.shipment-points-star svg{width:23px;height:23px}
.shipment-summary-heading>svg{color:#71a8ff;width:23px;height:23px}
.shipment-payment [data-pay=older]{display:flex;justify-content:center;align-items:center;gap:9px}.shipment-payment [data-pay=older] svg{width:16px;height:16px}
.sale-checkout .cash-payment-methods label:has(:checked)::after{content:'';display:block;flex:none;width:17px;height:17px;border-radius:50%;background:#11dcab url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23054b3b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 10 3 3 7-7'/%3E%3C/svg%3E") center/15px no-repeat}
.sale-checkout .shipment-transfer-count{justify-self:start;padding:7px 11px!important;border:1px solid #14cfa653;border-radius:10px;background:#0bb0841c}
.sale-checkout .shipment-transfer-count svg{background:#10dca3;border-radius:50%;color:#075240;padding:3px;width:21px;height:21px}
.sale-checkout .sale-confirm input{width:22px;height:22px;accent-color:#04d39c}
.sale-checkout .method-other{color:#9ab8c7}
/* Petrol glass palette from the checkout reference, scoped to dark checkout. */
html[data-theme=dark] #action-dialog:has(.sale-checkout){background:linear-gradient(125deg,#0a2a30f7,#061e24fa);border-color:#355861;box-shadow:0 24px 90px #0007,inset 0 1px 0 #8debd00d}
html[data-theme=dark] .sale-checkout :is(.sale-picker,.sale-selection,.shipment-method-panel,.shipment-payment-summary){background:linear-gradient(120deg,#102e36b3,#0b242ca6);border-color:#2c4b55}
html[data-theme=dark] .sale-checkout :is(.basket-line,.basket-game,.basket-pack,.cash-payment-methods label,.cash-payment-option){background:#0b252db0;border-color:#294752}
html[data-theme=dark] .sale-checkout :is(input,.basket-price-control,.basket-quantity-control){background:#08232b;color:#e7f4f7;border-color:#35545e}
html[data-theme=dark] .sale-checkout :is(.basket-game,.basket-pack,.cash-payment-methods label,.cash-payment-option):is([aria-pressed=true],:has(input:checked)){border-color:#04d8ac;background:linear-gradient(110deg,#064c405c,#063f3d75);box-shadow:inset 0 0 0 1px #0ad8af12}
html[data-theme=dark] .sale-checkout .shipment-points{background:linear-gradient(120deg,#182f4a99,#202b4b66);border-color:#465886}
html[data-theme=dark] .sale-checkout .sale-step{background:linear-gradient(135deg,#265da0,#173c70);color:#d6e8ff;box-shadow:inset 0 1px 0 #9dcaff22}
html[data-theme=dark] .sale-checkout .shipment-points-heading>span{color:#acd0ff}
html[data-theme=dark] .sale-checkout .shipment-summary-heading{color:#edf6fa}
html[data-theme=dark] .sale-checkout .shipment-payment-summary .matched{color:#02dfaf}
html[data-theme=dark] #action-dialog:has(.sale-checkout) #dialog-submit{background:linear-gradient(110deg,#04ecae,#00cfa4);border-color:#07e6b6;color:#043c34;box-shadow:0 4px 22px #00c89724}
html[data-theme=dark] .sale-checkout .basket-selection-icon,html[data-theme=dark] .sale-checkout .shipment-summary-heading>svg{color:#72abff}
