/* Variables: active variables stylesheet selected by the master layout. */
.basket-page {
  color: var(--site-text-strong);
  font-family: 'Poppins', sans-serif;
  text-align: left;
  margin: 0 auto;
  box-sizing: border-box;
  width: 100%;
  max-width: 1448px;
  padding: 32px 24px 64px;
  color: #001f5b !important;
}
html.dark .basket-page {
    color: #e7edf7 !important;
}
.basket-page *, .basket-page *::before, .basket-page *::after { box-sizing: border-box; }
.basket-page [hidden] { display: none !important; }
.basket-page h1, .basket-page h2, .basket-page h3, .basket-page p, .basket-page dl, .basket-page dd { margin: 0; padding: 0; }
.basket-page a { color: inherit; text-decoration: none; }
.basket-page button, .basket-page input { font: inherit; }
.basket-page button { cursor: pointer; }
.basket-page button:disabled { cursor: not-allowed; opacity: .5; }
.basket-page :focus-visible { outline: 3px solid #d4a900; outline-offset: 4px; }
.basket-page .basket-muted, .basket-page .basket-small { color: var(--site-text-muted); }
.basket-small { font-size: 12px; line-height: 1.6; }
.basket-back { display: inline-block; font-size: 12px; font-weight: 500; margin-bottom: 28px; }
.basket-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 30px; }
.basket-page .basket-eyebrow { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--site-text-muted); margin-bottom: 8px; }
.basket-heading h1 { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; font-size: clamp(30px, 3vw, 42px); line-height: 1.2; font-weight: 600; letter-spacing: -.04em; }
.basket-heading h1 span { font-size: 12px; font-weight: 500; letter-spacing: 0; border: 1px solid var(--site-divider); border-radius: 99px; padding: 6px 12px; }
.basket-steps { display: flex; align-items: center; gap: 22px; list-style: none; padding: 0; margin: 0 0 5px; font-size: 11px; color: var(--site-text-muted); }
.basket-steps li { display: flex; align-items: center; gap: 7px; }
.basket-steps span { width: 23px; height: 23px; border: 1px solid var(--site-divider); border-radius: 50%; display: grid; place-items: center; font-size: 10px; }
.basket-steps [aria-current] { color: var(--site-text-strong); font-weight: 600; }
.basket-steps [aria-current] span { background: #ffd100; border-color: #ffd100; color: #001f5b; }
.basket-layout { display: grid; width: 100%; max-width: 1400px; min-width: 0; margin-inline: auto; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.basket-main { min-width: 0; display: grid; gap: 24px; }
.basket-panel { background: var(--site-surface-inset); border: 1px solid var(--site-divider); border-radius: 18px; box-shadow: 0 4px 24px rgba(0, 20, 55, .025); overflow: hidden; min-width: 0; max-width: 100%; }
.basket-panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 26px; border-bottom: 1px solid var(--site-divider); }
.basket-page h2 { font-size: 19px; line-height: 1.4; font-weight: 600; letter-spacing: -.025em; }
.basket-item { display: grid; grid-template-columns: 104px minmax(0, 1fr) 112px; align-items: center; gap: 20px; padding: 26px; border-bottom: 1px solid var(--site-divider); }
.basket-item:last-child { border-bottom: 0; }
.basket-product-image { width: 104px; height: 110px; padding: 10px; background: white; border: 1px solid #e8edf3; border-radius: 12px; display: grid; place-items: center; }
.basket-product-image img { max-width: 100%; width: 100%; height: 88px; object-fit: contain; }
.basket-page .basket-product-code { font-size: 10px; color: var(--site-text-muted); letter-spacing: .07em; margin-bottom: 7px; overflow-wrap: anywhere; }
.basket-page h3 { font-size: 14px; font-weight: 600; line-height: 1.55; overflow-wrap: anywhere; }
.basket-page h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.basket-page .basket-stock { display: flex; align-items: center; gap: 6px; font-size: 10px; color: var(--site-text-muted); margin: 10px 0; }
.basket-stock > span { height: 5px; width: 5px; border-radius: 50%; background: currentColor; }
.basket-page .basket-stock--available, .basket-page .basket-free { color: var(--site-success); }
.basket-page .basket-unit { font-size: 12px; }
.basket-unit span { font-size: 10px; }
.basket-item-actions { display: grid; justify-items: end; gap: 12px; }
.basket-line-total { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.basket-quantity { display: flex; border: 1px solid var(--site-divider); border-radius: 8px; height: 36px; overflow: hidden; }
.basket-quantity button, .basket-quantity input { background: var(--site-surface-inset); color: var(--site-text-strong); border: 0; padding: 0; height: 34px; min-height: 0; text-align: center; }
.basket-quantity button { width: 30px; font-size: 16px; }
.basket-quantity button:hover { background: var(--site-surface-soft); }
.basket-quantity input { width: 40px; font-size: 12px; appearance: textfield; -moz-appearance: textfield; box-shadow: none; }
.basket-quantity input::-webkit-inner-spin-button, .basket-quantity input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.basket-remove { color: var(--site-text-muted); background: transparent; padding: 0; border: 0; font-size: 10px !important; text-decoration: underline; text-underline-offset: 3px; }
.basket-remove:hover { color: #dc2626; }
.basket-fulfilment { padding: 24px 26px; }
.basket-fulfilment fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
.basket-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.basket-mode { position: relative; margin: 0; font-weight: 400; cursor: pointer; }
.basket-mode > input { position: absolute; top: 17px; right: 15px; z-index: 1; }
.basket-mode > span { display: grid; padding: 20px; gap: 3px; border: 1px solid var(--site-divider); border-radius: 12px; background: var(--site-surface-soft); }
.basket-mode input:checked + span { border-color: #d4ad00; box-shadow: inset 0 0 0 1px #d4ad00; background: rgba(255, 209, 0, .055); }
.basket-mode input:disabled + span { opacity: .45; cursor: not-allowed; }
.basket-mode strong { font-size: 13px; margin-top: 8px; }
.basket-mode small { color: var(--site-text-muted); font-size: 10px; }
.basket-mode svg { width: 25px; height: 25px; stroke: currentColor; fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.basket-page input[type=radio] { appearance: auto; -webkit-appearance: radio; accent-color: #a98900; width: 16px; height: 16px; flex: 0 0 16px; margin: 0; cursor: pointer; }
.basket-page .basket-panel-intro { margin: 22px 0 14px; font-size: 12px; line-height: 1.7; }
.basket-delivery-options { display: grid; gap: 9px; }
.basket-option { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--site-divider); border-radius: 10px; margin: 0; cursor: pointer; font-weight: 400; max-width:700px;}
.basket-option:has(input:checked) { border-color: #bda31c; background: rgba(255, 209, 0, .04); }
.basket-option:not(.basket-option--disabled):hover { background: var(--site-surface-soft); }
.basket-option--disabled { opacity: .58; cursor: not-allowed; }
.basket-option-copy { flex: 1; display: grid; gap: 4px; min-width: 0; }
.basket-option-copy strong { font-size: 12px; line-height: 1.5; font-weight: 600; }
.basket-option-copy small { color: var(--site-text-muted); font-size: 10px; line-height: 1.6; overflow-wrap: anywhere; }
.basket-option-price { font-size: 12px; font-weight: 600; white-space: nowrap; }
.basket-option-price small { font-size: 10px; }
.basket-search-label { display: block; font-size: 11px; margin-bottom: 7px; }
.basket-page .basket-branch-search { width: 100%; border: 1px solid var(--site-divider); border-radius: 9px; background: var(--site-surface-soft); color: var(--site-text-strong); font-size: 12px; height: 44px; padding: 0 13px; margin-bottom: 14px; }
.basket-branch-search::placeholder { color: var(--site-text-muted); }
.basket-branches { display: grid; gap: 10px; max-height: 450px; overflow-y: auto; overscroll-behavior: contain; }
.basket-branch { border: 1px solid var(--site-divider); border-radius: 10px; }
.basket-branch .basket-option { border: 0; }
.basket-branch:has(input:checked) { border-color: #bda31c; }
.basket-branch-stock { font-size: 10px; margin-top: 4px; }
.basket-branch-details { padding: 0 16px 12px 44px; font-size: 10px; color: var(--site-text-muted); line-height: 1.8; }
.basket-branch-details summary { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.basket-branch-details div { padding-top: 8px; }
.basket-save-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--site-divider); }
.basket-save-row > span { max-width: 240px; }
.basket-primary, .basket-secondary { display: inline-flex; justify-content: center; align-items: center; gap: 15px; border-radius: 9px; min-height: 46px; padding: 12px 18px; font-size: 12px !important; line-height: 1.5; font-weight: 600; transition: background .15s, box-shadow .15s; }
.basket-page .basket-primary { border: 1px solid #ffd100; background: #ffd100; color: #001f5b !important; }
.basket-page .basket-primary:hover:not(:disabled) { background: #eac100; border-color: #eac100; box-shadow: 0 4px 14px rgba(0, 0, 0, .08); }
.basket-page .basket-secondary { background: var(--site-surface-inset); color: var(--site-text-strong); border: 1px solid var(--site-divider); white-space: nowrap; }
.basket-secondary:hover:not(:disabled) { background: var(--site-surface-soft); }
.basket-summary-wrap { position: sticky; top: 30px; }
.basket-summary { padding: 28px; border-top: 3px solid #ffd100; }
.basket-summary-method { display: flex; align-items: center; gap: 8px; padding: 14px 12px; background: var(--site-surface-soft); border-radius: 8px; margin: 22px 0 18px; font-size: 11px; }
.basket-summary-method svg { width: 16px; height: 16px; flex-shrink: 0; stroke: var(--site-success); fill: none; stroke-width: 2; }
.basket-totals > div { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 10px 0; font-size: 12px; }
.basket-totals dt { font-weight: 400; }
.basket-totals dd { font-weight: 500; font-variant-numeric: tabular-nums; }
.basket-totals small { font-size: 10px; color: var(--site-text-muted); }
.basket-totals .basket-grand-total { padding: 20px 0; margin-top: 12px; border-top: 1px solid var(--site-divider); }
.basket-grand-total dt { font-size: 16px; font-weight: 600; }
.basket-grand-total small { display: block; font-size: 10px; font-weight: 400; margin-top: 3px; }
.basket-grand-total dd { font-size: 27px; font-weight: 600; letter-spacing: -.04em; }
.basket-summary .basket-primary { width: 100%; margin-top: 6px; }
.basket-page .basket-summary-footnote { text-align: center; font-size: 10px; color: var(--site-text-muted); line-height: 1.7; margin-top: 13px; }
.basket-help { padding: 24px 18px; font-size: 12px; }
.basket-help strong { font-weight: 500; }
.basket-page .basket-help p { margin: 8px 0 12px; font-size: 11px; line-height: 1.8; }
.basket-help a { font-weight: 500; border-bottom: 1px solid var(--site-divider); padding-bottom: 3px; }
.basket-page .basket-notice { padding: 14px 16px; background: rgba(245, 158, 11, .08); border: 1px solid rgba(245, 158, 11, .35); border-radius: 9px; margin: 0 0 20px; font-size: 12px; line-height: 1.7; }
.basket-page .basket-notice--success { border-color: rgba(16,185,129,.3); background: rgba(16,185,129,.07); }
.basket-empty { text-align: center; background: var(--site-surface-inset); border: 1px solid var(--site-divider); border-radius: 18px; padding: 70px 24px; }
.basket-empty-icon { display: grid; place-items: center; width: 84px; height: 84px; background: var(--site-surface-soft); border-radius: 50%; margin: 0 auto 24px; }
.basket-empty-icon svg { width: 38px; height: 38px; }
.basket-page .basket-empty h2 { font-size: 27px; }
.basket-page .basket-empty > p.basket-muted { margin: 13px auto 26px; max-width: 370px; font-size: 13px; line-height: 1.8; }
.basket-page .basket-overview { width: 100%; min-width: 0; max-width: 100%; }
.basket-related { min-width: 0; padding: clamp(14px, 2vw, 26px); border-top: 1px solid var(--site-divider); background: var(--site-surface-soft); }
.basket-page .basket-related h2 { margin-bottom: 16px; }
.basket-related .dp-related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.basket-related .dp-related-card.item { display: flex; flex-wrap: wrap; align-items: stretch; gap: 14px; float: none; width: auto; min-width: 0; max-width: 100%; margin: 0; padding: 16px; border: 1px solid var(--site-divider); border-radius: 12px; background: var(--site-surface-inset); }
.basket-related .dp-related-image { display: block; align-self: center; flex: 0 0 80px; width: 80px; max-width: 100%; aspect-ratio: 1; background: var(--site-surface-soft); border-radius: 6px; }
.basket-related .dp-related-image img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.basket-related .dp-related-content { display: flex; flex-direction: column; flex: 1 1 140px; min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.basket-page .basket-related h3 { font-size: 13px; line-height: 1.45; margin-bottom: 5px; }
.basket-related .dp-code, .basket-related .dp-empty { color: var(--site-text-muted); font-size: 11px; }
.basket-page .basket-related .dp-related-price { font-size: 13px; font-weight: 600; margin: 5px 0 8px; }
.basket-related .dp-related-price small { display: inline; font-weight: 400; }
.basket-page .basket-related .dp-related-price .alternativePrice { display: none !important; }
.basket-related .cart-button { flex: 0 0 auto; margin-top: auto !important; width: 100% !important; max-width: 180px; min-width: 0; min-height: 44px; height: 44px; }
.basket-related .cart-button__label { font-size: 12px; }
.basket-related:not(.is-expanded) .dp-related-card:nth-child(n + 7) { display: none; }
.basket-page .basket-related-toggle { margin-top: 16px; max-width: 100%; white-space: normal; }
.basket-page .basket-related-toggle--mobile { display: none; }
@media (max-width: 849.98px) {
  .basket-related:not(.is-expanded) .dp-related-card:nth-child(n + 4) { display: none; }
  .basket-page .basket-related-toggle--mobile { display: inline-flex; }
}
@media (max-width: 520px) {
  .basket-related .dp-related-grid { gap: 12px; }
  .basket-related .dp-related-card.item { padding: 12px; gap: 12px; }
  .basket-related .dp-related-image { flex-basis: 64px; width: 64px; }
  .basket-related .cart-button { max-width: 100%; }
}
.basket-page[aria-busy=true] { cursor: progress; }
.basket-updating { align-items: center; gap: 8px; color: var(--site-text-muted); font-size: 12px; }
.basket-loading-spinner { width: 18px; height: 18px; flex: 0 0 18px; animation: basket-loading-spin .7s linear infinite; }
.basket-quantity button:disabled, .basket-quantity input:disabled { cursor: progress; }
@keyframes basket-loading-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .basket-loading-spinner { animation: none; } }
  .basket-mode { display: block; float: none !important; width: 100% !important; }
  .basket-modes + [data-fulfilment-panel] { display: inline-block; clear: both; width: 100%; }
  .basket-modes + [data-fulfilment-panel][hidden] { display: none !important; }
  .basket-page .basket-panel-intro { display: block; clear: both; width: 100%; }
@media (max-width: 1150px) {
  .basket-modes { display: grid !important; width: 100%; clear: both; }
}
@media (max-width: 1050px) { .basket-layout { grid-template-columns: minmax(0, 1fr) 310px; gap: 20px; } .basket-item { grid-template-columns: 76px minmax(0, 1fr) 100px; gap: 14px; padding: 20px; } .basket-product-image { width: 76px; height: 90px; } .basket-product-image img { height: 68px; } .basket-summary { padding: 22px; } .basket-steps { gap: 12px; } }
@media (max-width: 850px) { .basket-layout { grid-template-columns: minmax(0, 1fr); } .basket-summary-wrap { position: static; } .basket-steps { display: none; } .basket-summary { padding: 26px; } }
@media (max-width: 520px) { .basket-page { padding: 24px 16px 40px; } .basket-heading { margin-bottom: 24px; } .basket-panel-heading { padding: 20px; align-items: start; } .basket-panel-heading > .basket-small { max-width: 90px; text-align: right; font-size: 10px; } .basket-item { grid-template-columns: 68px minmax(0, 1fr); padding: 20px; align-items: start; } .basket-product-image { width: 68px; height: 82px; } .basket-product-image img { height: 60px; } .basket-item-actions { grid-column: 1 / -1; display: flex; align-items: center; width: 100%; justify-content: space-between; } .basket-line-total { order: 3; margin-left: auto; } .basket-remove { margin-left: 4px; } .basket-fulfilment { padding: 20px; } .basket-mode > span { padding: 16px 13px; } .basket-mode small { font-size: 9px; } .basket-mode strong { font-size: 12px; } .basket-save-row { flex-direction: column; align-items: stretch; } .basket-save-row > span { max-width: none; } .basket-option { padding: 13px 10px; gap: 9px; } }
@media (prefers-reduced-motion: reduce) { .basket-page * { transition: none !important; scroll-behavior: auto !important; } }
