/* Lenzini's checkout: compact navy layout with comfortable touch targets. */
.basket-screen, .basket-scroll { background: #fff; }
.basket-nav { min-height: 44px; padding: 12px 16px; }
.basket-nav-title { font-size: 16px; }
.basket-clear-btn { min-height: 44px; font-size: 14px; }
.basket-back-btn { width: 32px; height: 32px; font-size: 17px; }
.basket-back-btn::after { content: ""; position: absolute; inset: -6px; }
.basket-venue-row { padding: 12px 16px; font-size: 15px; }
.basket-venue-row > svg { width: 18px; height: 18px; flex-shrink: 0; }
.basket-section-header { padding: 8px 16px; font-size: 14px; }
.basket-item-row { padding: 12px 16px; }
.basket-item-top { gap: 12px; }
.basket-item-name, .basket-item-price { font-size: 15px; }
.basket-item-price { flex-shrink: 0; }
.basket-item-size { font-size: 13px; margin-bottom: 6px; }
.basket-item-opts { font-size: 12px; margin-bottom: 6px; }
.basket-item-qty-row { gap: 14px; }
.basket-qty-btn { position: relative; width: 30px; height: 30px; font-size: 17px; }
.basket-qty-btn::after { content: ""; position: absolute; inset: -7px; }
.basket-qty-num { font-size: 14px; }
.basket-benefits { background: #fff; padding: 0 16px; }
.basket-benefit-row {
  width: 100%; display: flex; align-items: center; gap: 12px;
  min-height: 44px; padding: 16px 0; background: none; border: 0;
  border-top: 1px solid #e7e9ef; color: #283c70;
  text-align: left; cursor: pointer; font-family: inherit;
}
.basket-benefit-row:last-child { border-bottom: 1px solid #e7e9ef; }
.basket-benefit-row > svg:first-child { flex: 0 0 24px; width: 24px; height: 24px; }
.basket-benefit-row > svg:last-child { flex: 0 0 18px; width: 18px; height: 18px; }
.basket-benefit-row:active { background: #f6f7fb; }
.basket-benefit-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.basket-benefit-copy strong { font-size: 15px; line-height: 1.3; font-weight: 750; }
.basket-benefit-copy > span { color: #5b6579; font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.basket-applied { display: flex; align-items: flex-start; gap: 12px; padding: 16px 0; border-top: 1px solid #e7e9ef; }
.basket-applied > svg { flex: 0 0 24px; width: 24px; height: 24px; color: #283c70; }
.basket-applied-saving { color: #237347; font-weight: 750; font-size: 15px; text-align: right; }
.basket-applied-saving small { display: block; font-size: 11px; font-weight: 600; line-height: 1.5; max-width: 95px; margin-top: 4px; }
.basket-remove-discount { position: relative; align-self: flex-start; border: 0; background: none; padding: 6px 0; color: #b02a38; font-size: 13px; font-weight: 700; min-height: 36px; cursor: pointer; }
.basket-remove-discount::after { content: ""; position: absolute; inset: -4px 0; }
.basket-benefit-notice { padding: 12px 16px; color: #596478; font-size: 13px; line-height: 1.5; }
.basket-benefit-notice button { border: 0; background: none; color: #283c70; font: inherit; font-weight: 700; text-decoration: underline; padding: 8px; cursor: pointer; }
.basket-footer { padding: 2px 16px calc(12px + env(safe-area-inset-bottom)); }
.basket-table-row { min-height: 44px; padding: 10px 0; font-size: 14px; }
.basket-summary { padding: 10px 12px 0; font-size: 13px; color: #596478; }
.basket-summary > div { display: flex; justify-content: space-between; gap: 16px; padding-top: 4px; }
.basket-summary .basket-summary-saving { color: #237347; font-weight: 700; }
.basket-footer .basket-footer-total { padding: 8px 0 10px; font-size: 24px; }
.basket-footer .basket-checkout-btn { min-height: 48px; padding: 14px; font-size: 15px; line-height: 1.3; border-radius: 12px; }
.basket-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.basket-benefit-dialog {
  position: fixed; inset: auto 0 0; margin: 0 auto; padding: 0;
  width: 100%; max-width: 600px; max-height: 92vh; max-height: 92dvh;
  border: 0; border-radius: 28px 28px 0 0;
  background: #fff; color: #202a3d; box-shadow: 0 -12px 60px #111e3a33;
  overflow: hidden; font-family: inherit;
}
.basket-benefit-dialog[open] { display: flex; flex-direction: column; animation: basket-sheet-enter .22s ease-out; }
.basket-benefit-dialog::backdrop { background: rgba(13, 22, 43, .42); backdrop-filter: blur(3px); }
.basket-sheet-handle { height: 5px; width: 40px; border-radius: 10px; background: #c5c9d1; margin: 10px auto 4px; flex-shrink: 0; }
.basket-sheet-header { display: flex; gap: 12px; align-items: center; padding: 14px 22px 4px; flex-shrink: 0; }
.basket-sheet-header h2 { flex: 1; margin: 0; color: #283c70; font-size: 23px; line-height: 1.25; font-weight: 750; outline: none; }
.basket-sheet-close { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #e1e5ed; border-radius: 50%; background: #fafbfe; color: #283c70; cursor: pointer; flex-shrink: 0; }
.basket-sheet-body { padding: 0 22px 22px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.basket-sheet-intro { color: #5b6579; font-size: 15px; line-height: 1.55; margin: 12px 0 22px; }
.basket-sheet-footer { padding: 14px 22px max(18px, env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #edf0f5; flex-shrink: 0; }
.basket-sheet-primary { width: 100%; min-height: 52px; border: 0; border-radius: 12px; padding: 14px 18px; background: #283c70; color: #fff; font-family: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.basket-sheet-primary:disabled { opacity: .65; cursor: wait; }
.basket-sheet-empty { text-align: center; padding: 22px 8px 28px; }
.basket-sheet-empty > svg { width: 52px; height: 52px; padding: 14px; box-sizing: content-box; background: #f0f3fa; color: #283c70; border-radius: 50%; }
.basket-sheet-empty h3 { font-size: 19px; color: #283c70; margin: 18px 0 8px; }
.basket-sheet-empty p { font-size: 15px; line-height: 1.6; color: #5b6579; margin: 0 0 20px; }
.basket-reward-card { border: 1.5px solid #dfe4ed; border-radius: 15px; overflow: hidden; margin-bottom: 16px; }
.basket-reward-card.is-applied { border-color: #488963; }
.reward-card-main { display: flex; align-items: stretch; }
.reward-card-art { flex: 0 0 90px; padding: 20px 12px; background: linear-gradient(145deg, #283c70, #4e6092); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 13px; text-align: center; }
.reward-card-art svg { width: 32px; height: 32px; }
.reward-card-art strong { font-size: 19px; line-height: 1.3; }
.reward-card-copy { padding: 16px; flex: 1; min-width: 0; }
.reward-card-badge { display: inline-block; background: #edf0f8; color: #283c70; padding: 4px 8px; border-radius: 6px; font-size: 11px; font-weight: 750; letter-spacing: .03em; }
.is-applied .reward-card-badge { background: #e7f3eb; color: #237347; }
.reward-card-copy h3 { margin: 9px 0 4px; font-size: 17px; line-height: 1.3; color: #202a3d; overflow-wrap: anywhere; }
.reward-card-code { font-size: 12px; color: #687187; letter-spacing: .04em; overflow-wrap: anywhere; }
.reward-card-terms { font-size: 12px; color: #5b6579; line-height: 1.5; margin: 8px 0 0; }
.reward-card-action { padding: 10px 0 4px; min-height: 38px; background: none; border: 0; color: #283c70; font-size: 14px; font-weight: 750; font-family: inherit; cursor: pointer; }
.reward-card-action:disabled { opacity: .6; cursor: wait; }
.reward-card-status { padding: 10px 14px; background: #fff3d7; color: #715012; font-size: 13px; line-height: 1.45; text-align: center; }
.reward-card-status.is-eligible { background: #edf7ef; color: #236a40; }
.basket-voucher-label { display: block; color: #283c70; font-size: 14px; font-weight: 700; margin: 18px 0 9px; }
.basket-voucher-input { width: 100%; box-sizing: border-box; padding: 16px; border: 1.5px solid #a2adbf; border-radius: 12px; font-family: inherit; font-size: 16px; line-height: 1.5; background: #fff; color: #202a3d; }
#discountInput { text-transform: uppercase; }
#discountInput::placeholder { text-transform: none; }
.basket-sheet-message { color: #5b6579; font-size: 14px; line-height: 1.5; margin: 16px 0; }
.basket-sheet-message:empty { margin: 0; }
.basket-sheet-message.is-error { color: #a52335; }
#basketVoucherForm .basket-sheet-primary { margin-top: 20px; }
.basket-benefit-dialog button:focus-visible, .basket-benefit-row:focus-visible, .basket-remove-discount:focus-visible, .basket-voucher-input:focus-visible { outline: 3px solid #7897d8; outline-offset: 3px; }
@keyframes basket-sheet-enter { from { transform: translateY(28px); opacity: .6; } to { transform: translateY(0); opacity: 1; } }
@media (min-width: 700px) {
  .basket-benefit-dialog { inset: 0; margin: auto; border-radius: 24px; max-height: 85vh; }
}
@media (max-width: 350px) {
  .basket-benefits { padding: 0 16px; }
  .basket-benefit-row, .basket-applied { gap: 12px; }
  .basket-sheet-header, .basket-sheet-body, .basket-sheet-footer { padding-left: 16px; padding-right: 16px; }
  .reward-card-art { flex-basis: 70px; padding: 16px 8px; }
  .reward-card-copy { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) { .basket-benefit-dialog[open] { animation: none; } }
