/* Brand tokens are scoped to the checkout, not the live theme or wallet SDKs. */
.checkout-app {
    --checkout-violet: #6a3579;
    --checkout-violet-dark: #362c5e;
    --checkout-yellow: #ffe100;
    --checkout-ink: #302d35;
    --checkout-muted: #68616d;
    --checkout-border: #e3dfe5;
    --bs-body-color: var(--checkout-ink);
    --bs-body-bg: #f5f5f5;
    --bs-body-font-family: 'Open Sans', Arial, sans-serif;
    --bs-primary: var(--checkout-violet);
    --bs-primary-rgb: 106, 53, 121;
    --bs-link-color: var(--checkout-violet);
    --bs-link-color-rgb: 106, 53, 121;
    --bs-link-hover-color: var(--checkout-violet-dark);
    --bs-link-hover-color-rgb: 54, 44, 94;
    --bs-border-color: var(--checkout-border);
    --bs-secondary-color: var(--checkout-muted);
    background: var(--bs-body-bg);
    color: var(--checkout-ink);
    font-family: var(--bs-body-font-family);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.checkout-app [hidden] { display: none !important; }
.checkout-app :is(a, button, summary, input, select, textarea):not(.braintree-wallet-controls *):focus-visible { outline: 3px solid var(--checkout-violet); outline-offset: 3px; }
.checkout-app .checkout-skip-link { position: absolute; top: .5rem; left: 1rem; transform: translateY(-200%); z-index: 1100; padding: .7rem 1rem; background: white; color: var(--checkout-violet-dark); border: 2px solid var(--checkout-violet); border-radius: 6px; }
.checkout-app .checkout-skip-link:focus { transform: translateY(0); }
.checkout-app .checkout-main { flex: 1; min-width: 0; }
.checkout-app .checkout-main:focus { outline: none; }
.checkout-app .checkout-header { position: sticky; top: 0; z-index: 1020; background: white; }
.checkout-app .checkout-header .container { max-width: none; padding-inline: 24px; }
.checkout-app .checkout-masthead { background: white; color: var(--checkout-violet); border-bottom: 1px solid #e9e5f0; box-shadow: 0 2px 12px rgba(54, 44, 94, .08); }
.checkout-app .checkout-masthead-inner { height: 72px; display: flex; align-items: center; gap: 2rem; }
.checkout-app .checkout-brand { width: 245px; flex-shrink: 0; display: block; }
/* Reuse the live site's original purple logo on its white masthead. */
.checkout-app .checkout-brand img { display: block; width: 100%; height: auto; }
.checkout-app .checkout-call-order { margin: 0 0 0 auto; font-size: .8rem; }
.checkout-app .checkout-call-order a { color: var(--checkout-violet); font-weight: 700; text-decoration: none; margin-left: .3rem; }
.checkout-app .checkout-header-actions { display: flex; align-items: stretch; gap: 0; margin-left: auto; }
.checkout-app .checkout-chat-action { background: var(--checkout-violet); color: white; border-radius: 0 10px 10px 0; }
.checkout-app .checkout-embedded-chat-action { position: fixed; right: .75rem; bottom: .75rem; z-index: 20; display: flex; align-items: center; gap: .5rem; padding: .65rem .9rem; border: 0; border-radius: 999px; background: var(--checkout-violet); color: white; font: inherit; font-size: .875rem; font-weight: 700; text-decoration: none; box-shadow: 0 2px 8px rgb(0 0 0 / 20%); }
.checkout-app .checkout-embedded-chat-action:hover { color: white; filter: brightness(1.1); }
.checkout-app .checkout-header-actions:has(.checkout-chat-action) .checkout-account-menu > .checkout-icon-action { border-radius: 0; }
.checkout-app .checkout-icon-action { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 4px 12px; min-width: 64px; min-height: 51px; border: 0; background: var(--checkout-yellow); color: var(--checkout-violet-dark); text-decoration: none; font: inherit; font-size: 12px; font-weight: 700; }
.checkout-app .checkout-icon-action:hover { color: var(--checkout-violet-dark); filter: brightness(.97); }
.checkout-app .checkout-basket-action { order: -1; border: 1px solid #e5ddea; border-radius: 10px 0 0 10px; box-shadow: 0 3px 10px rgba(54, 44, 94, .12); }
.checkout-app .checkout-account-menu > .checkout-icon-action { background: var(--checkout-violet); color: white; border: 1px solid #e5ddea; border-left: 0; border-radius: 0 10px 10px 0; height: 100%; }
.checkout-app .checkout-basket-total { font-weight: 700; }
.checkout-app .checkout-masthead :is(a, button):focus-visible { outline-color: var(--checkout-violet); }
.checkout-app .checkout-menu-toggle { display: none; }
.checkout-app .checkout-account-dropdown { width: min(20rem, calc(100vw - 2rem)); font-size: .85rem; }
.checkout-app .checkout-account-state { font-weight: 700; color: var(--checkout-violet); }
.checkout-app .account-email { white-space: normal; overflow-wrap: anywhere; }
.checkout-app .checkout-header .dropdown-menu { --bs-dropdown-link-active-bg: var(--checkout-violet); --bs-dropdown-link-hover-bg: #f4edf6; border-color: var(--checkout-border); border-radius: 6px; box-shadow: 0 4px 14px rgb(54 44 94 / 10%); }
.checkout-app .checkout-shop-nav { background: linear-gradient(135deg, var(--checkout-violet-dark), var(--checkout-violet)); border-top: 1px solid rgba(255, 255, 255, .22); box-shadow: 0 4px 12px rgba(54, 44, 94, .22); }
.checkout-app .checkout-shop-links { display: flex; align-items: stretch; justify-content: center; gap: 0; list-style: none; margin: 0; padding: 0; min-height: 34px; }
.checkout-app .checkout-shop-item { display: flex; align-items: stretch; position: relative; }
.checkout-app .checkout-shop-item:hover, .checkout-app .checkout-shop-item:focus-within { background: rgba(255, 255, 255, .14); }
.checkout-app .checkout-shop-link { display: flex; align-items: center; color: white; font-size: 13px; font-weight: 700; text-decoration: none; text-transform: uppercase; padding: 0 12px; min-height: 34px; white-space: nowrap; }
.checkout-app .checkout-shop-link:hover { color: var(--checkout-yellow); text-decoration: none; }
.checkout-app .checkout-submenu-toggle { color: white; background: none; border: 0; padding: .5rem .25rem; min-width: 24px; min-height: 36px; }
.checkout-app .checkout-shop-nav :is(a, button, input):focus-visible { outline-color: var(--checkout-yellow); }
.checkout-app .checkout-submenu-toggle::after { margin: 0; vertical-align: middle; }
.checkout-app .checkout-shop-submenu { font-size: 13px; min-width: 235px; padding: 8px; border-radius: 0 0 6px 6px; }
.checkout-app .checkout-shop-submenu .dropdown-item { padding-block: .55rem; }
.checkout-app .checkout-shop-search { margin-left: .4rem; display: flex; align-items: center; }
.checkout-app .checkout-shop-search .checkout-search-toggle { background: transparent; color: white; border: 0; border-radius: 0; padding: .5rem .75rem; min-height: 36px; }
.checkout-app .checkout-shop-search .checkout-search-toggle:hover { background: var(--checkout-violet-dark); color: var(--checkout-yellow); }
.checkout-app .checkout-search-dropdown { width: min(320px, calc(100vw - 2rem)); padding: .75rem; }
.checkout-app .checkout-search-dropdown form { width: 100%; }
.checkout-app .checkout-search-dropdown input { flex: 1; width: 0; padding: .6rem; font-size: .9rem; }
.checkout-app .checkout-search-dropdown button[type="submit"] { padding: .6rem; }
.checkout-app .checkout-shop-search form { display: flex; align-items: center; }
.checkout-app .checkout-shop-search input { width: 105px; min-width: 0; border: 0; background: #f5f5f5; border-radius: 4px 0 0 4px; padding: .3rem .5rem; font: inherit; font-size: .75rem; }
.checkout-app .checkout-shop-search button { border: 0; background: #f5f5f5; color: var(--checkout-violet); border-radius: 0 4px 4px 0; padding: .25rem .4rem; }
.checkout-app .checkout-hero { background: white; border: 1px solid var(--checkout-border); border-left: 4px solid var(--checkout-violet); border-radius: 6px; padding: 1.25rem !important; }
.checkout-app .checkout-hero h1 { color: var(--checkout-violet); font-size: clamp(1.5rem, 2.5vw, 1.85rem); font-weight: 600; }
.checkout-app .checkout-hero .lead { font-size: 1rem; line-height: 1.6; }
.checkout-app .eyebrow { color: var(--checkout-violet); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .5rem; }
.checkout-app .checkout-main .card { --bs-card-bg: white; border-radius: 6px; border-color: var(--checkout-border); }
.checkout-app .checkout-main .card.border-0 { border: 1px solid var(--checkout-border) !important; }
.checkout-app .basket-product-table th { background: #f4edf6; font-size: .8rem; padding: .85rem 1rem; }
.checkout-app .basket-product-table td { padding: 1rem; font-size: .9rem; }
.checkout-app .basket-product { width: 52%; min-width: 220px; }
.checkout-app .basket-product-image { object-fit: contain; border-radius: 6px; flex-shrink: 0; }
.checkout-app .basket-product-summary { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: .35rem; }
.checkout-app .basket-quantity-form { width: 132px; }
.checkout-app .basket-quantity-controls { flex-wrap: nowrap; }
.checkout-app .basket-quantity-controls input { min-width: 0; height: 36px; padding: .25rem; text-align: center; appearance: textfield; -moz-appearance: textfield; }
.checkout-app .basket-quantity-controls input::-webkit-inner-spin-button, .checkout-app .basket-quantity-controls input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.checkout-app .basket-control-button {
    --bs-btn-color: var(--checkout-violet);
    --bs-btn-bg: #f4edf6;
    --bs-btn-border-color: #b9b5bc;
    --bs-btn-hover-color: var(--checkout-violet-dark);
    --bs-btn-hover-bg: #e9dfee;
    --bs-btn-hover-border-color: #aaa4ad;
    --bs-btn-active-color: var(--checkout-violet-dark);
    --bs-btn-active-bg: #e2d5e8;
    --bs-btn-active-border-color: #aaa4ad;
    --bs-btn-disabled-color: var(--checkout-muted);
    --bs-btn-disabled-bg: #f4edf6;
    --bs-btn-disabled-border-color: #b9b5bc;
    --bs-btn-focus-shadow-rgb: 106, 53, 121;
    --bs-btn-border-radius: 6px;
}
.checkout-app .basket-quantity-action {
    flex: 0 0 36px; width: 36px; height: 36px; padding: 0; display: inline-flex; justify-content: center; align-items: center;
}
.checkout-app .basket-voucher-entry { grid-column: 1 / -1; min-width: 0; }
.checkout-app .basket-voucher-controls > :is(input, button) { height: 32px; }
.checkout-app .basket-voucher-controls input {
    min-width: 0; padding: .25rem 2rem .25rem .5rem; border-color: #8b798f;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2368616d' stroke-width='1.3'%3E%3Ccircle cx='10' cy='10' r='7.5'/%3E%3Ccircle cx='10' cy='6.5' r='.8' fill='%2368616d' stroke='none'/%3E%3Cpath d='M10 9v5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right .5rem center; background-size: 16px 16px;
}
.checkout-app .basket-quantity-action .bi { font-size: 18px; line-height: 1; }
.checkout-app .basket-summary { display: grid; grid-template-columns: 1fr auto; gap: .75rem 1rem; }
.checkout-app .basket-summary dd { text-align: right; margin: 0; }
.checkout-app .basket-summary .basket-delivery-upgrade-hint { display: block; max-width: 10rem; margin-left: auto; line-height: 1.15; }
.checkout-app .gift-message-preview { white-space: pre-wrap; overflow-wrap: anywhere; }
.checkout-app .basket-product-table { --bs-table-bg: white; table-layout: fixed; }
.checkout-app .basket-price-column { width: 76px; }
.checkout-app .basket-action-column { width: 172px; }
.checkout-app .basket-extras-table .btn { white-space: nowrap; }
.checkout-app .basket-total-column { width: 84px; }
.checkout-app .confirmation-quantity-column { width: 100px; }
.checkout-app .basket-extra-list { border: 1px solid var(--checkout-border); border-radius: 6px; background: white; }
.checkout-app .basket-extra-card-image { height: 57px; object-fit: cover; }
.checkout-app .basket-extras-table td { background: transparent; }
.checkout-app .basket-extras-table tr[data-themed-card-feature]:has(+ tr[data-message-choice-divider]) > td,
.checkout-app .basket-extras-table tr[data-message-choice-divider] > td { border-bottom: 0; }
.checkout-app .basket-extras-table tr[data-message-choice-divider] > td { padding-block: 0; }
.checkout-app .basket-extras-table tr[data-message-choice-divider],
.checkout-app .basket-extras-table tr[data-message-choice-divider] + tr[data-free-message-feature] { border-top: 0; }
.checkout-app .basket-card-feature { background: #f4edf6; border-block: 1px solid #e3d5e8; }
.checkout-app .basket-card-preview { width: 160px; max-width: 100%; }
.checkout-app .basket-card-preview img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.checkout-app .basket-card-picker-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; gap: 1.5rem; }
.checkout-app .basket-card-modal-form { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.checkout-app [data-extra-footer][hidden] { display: none; }
.checkout-app [data-extra-footer] .basket-extra-thumbnails { width: 100%; margin: 0 0 .5rem; }
.checkout-app .basket-card-designs { display: flex; gap: .625rem; overflow-x: auto; padding: 5px; margin-top: 1rem; scrollbar-width: none; scroll-snap-type: x proximity; }
.checkout-app .basket-card-designs::-webkit-scrollbar { display: none; }
.checkout-app .basket-card-design { position: relative; flex: 0 0 76px; width: 76px; padding: 3px; border: 1px solid var(--checkout-border); border-radius: 6px; cursor: pointer; background: white; scroll-snap-align: center; }
.checkout-app .basket-card-design:hover { border-color: var(--checkout-violet); }
.checkout-app .basket-card-design:has(input:checked) { border-color: var(--checkout-violet); box-shadow: 0 0 0 2px var(--checkout-violet); }
.checkout-app .basket-card-design:has(input:focus-visible) { outline: 3px solid var(--checkout-violet); outline-offset: 2px; }
.checkout-app .basket-card-design img { display: block; width: 100%; height: auto; aspect-ratio: 400 / 284; object-fit: cover; border-radius: 2px; }
.checkout-app .basket-card-carousel { position: relative; }
.checkout-app .basket-card-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 1; width: 36px; height: 40px; padding: 0; background: rgba(255, 255, 255, .92); color: var(--checkout-violet); border: 1px solid var(--checkout-border); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.checkout-app .basket-card-arrow[data-card-previous] { left: .5rem; }
.checkout-app .basket-card-arrow[data-card-next] { right: .5rem; }
.checkout-app .basket-card-selected-preview { display: block; width: 100%; height: auto; aspect-ratio: 400 / 284; object-fit: cover; }
.checkout-app .basket-extra-carousel-image { position: relative; width: 100%; max-width: 400px; margin-inline: auto; aspect-ratio: 1; }
.checkout-app .basket-extra-selected-preview { display: block; width: 100%; height: 100%; object-fit: contain; }
.checkout-app .basket-extra-description { white-space: pre-line; overflow-wrap: anywhere; }
.checkout-app .basket-extra-thumbnails { max-width: 100%; }
.checkout-app [data-extra-category] {
    --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-color: var(--checkout-violet);
    border-color: var(--checkout-violet);
    color: #fff;
}
.checkout-app [data-extra-category] option { background-color: #fff; color: #25202a; }
.checkout-app .basket-extra-thumbnails img { aspect-ratio: 1; object-fit: contain; }
.checkout-app .basket-extra-thumbnails [aria-pressed="true"] { border-color: var(--checkout-violet); box-shadow: 0 0 0 2px var(--checkout-violet); }
.checkout-app .basket-extra-thumbnails button:focus-visible { outline: 3px solid var(--checkout-violet); outline-offset: 2px; }
@media (min-width: 768px) {
    .checkout-app .basket-card-carousel { max-width: 450px; margin-inline: auto; }
}
@media (max-width: 767px) {
    .checkout-app .basket-extras-table td:nth-child(2) { text-align: right; }
    .checkout-app .basket-card-picker-layout { grid-template-columns: minmax(0, 1fr); }
    .checkout-app .basket-card-picker-layout { gap: .75rem; }
    .checkout-app .basket-card-carousel { max-width: min(220px, 26dvh); margin-inline: auto; }
    .checkout-app .basket-extra-carousel-image { max-width: min(220px, 28dvh); }
    .checkout-app .basket-card-designs { margin-top: .5rem; gap: .5rem; }
    .checkout-app .basket-card-design { flex-basis: 56px; width: 56px; }
    .checkout-app #basket-card-modal .mb-3 { margin-bottom: .5rem !important; }
    .checkout-app #basket-card-modal .form-label { font-size: 14px; margin-bottom: .25rem; }
    .checkout-app #basket-card-modal textarea { min-height: 70px; height: 70px; }
    .checkout-app #basket-card-modal .modal-body p { margin-bottom: 0; }
}
@media (max-width: 991px) {
    .checkout-app .modal { height: 100dvh; }
    .checkout-app .modal-dialog { --bs-modal-margin: .5rem; }
    .checkout-app .modal-content { max-height: calc(100dvh - 1rem); }
    .checkout-app .modal-body { min-height: 0; overflow-y: auto; overscroll-behavior-y: contain; scrollbar-width: thin; }
    .checkout-app .modal-header { padding: .75rem; }
    .checkout-app .modal :is(input:not([type=checkbox], [type=radio], [type=hidden]), textarea, select) { font-size: 16px; }
    .checkout-app .checkout-modal-actions { position: sticky; bottom: -1rem; z-index: 2; background: white; padding-block: .75rem; border-top: 1px solid var(--checkout-border); }
    .checkout-app #basket-login-modal button[type=submit] { position: sticky; bottom: 0; z-index: 2; }
    .checkout-app #account-registration-modal .row { --bs-gutter-y: .5rem; }
    .checkout-app #account-registration-modal .form-label { font-size: 14px; margin-bottom: .25rem; }
    .checkout-app #account-registration-modal .col-12:has(input:is([name=first_name], [name=last_name])) { width: 50%; }
    .checkout-app .checkout-registration-error:has([hidden]) { display: none; }
}
.checkout-app .basket-extras-feature { background: #fff8df; border-block: 1px solid #eee2b5; }
.checkout-app .basket-extras-preview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: .4rem; }
.checkout-app .basket-extras-preview img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: white; }
.checkout-app #basket-gift-message-title.small { color: var(--checkout-muted) !important; font-weight: 400; }
@media (max-width: 575px) {
    .checkout-app :is(.basket-card-feature, .basket-extras-feature) { grid-template-columns: minmax(0, 1fr); gap: .75rem; text-align: center; }
    .checkout-app .basket-card-preview { margin-inline: auto; }
    .checkout-app .basket-extras-preview { width: 220px; max-width: 100%; margin-inline: auto; }
    .checkout-app .basket-card-actions { justify-content: center; }
}
.checkout-app #basket-gift-message { scroll-margin-top: 1rem; }
.checkout-app .basket-upsells summary { cursor: pointer; }
.checkout-app .basket-upsell-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); gap: 1rem; max-height: 600px; overflow-y: auto; }
.checkout-app .basket-offer-image { width: 100%; height: 140px; object-fit: contain; padding: .75rem; }
.checkout-app .basket-page :is(h1, h2, h3) { color: var(--checkout-violet) !important; font-weight: 700; }
.checkout-app .checkout-standard-page :is(h1, h2, h3, legend) { color: var(--checkout-violet) !important; font-weight: 700; }
.checkout-app .basket-item-count { background: var(--checkout-violet); color: white; flex-shrink: 0; }
.checkout-app .basket-checkout-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.checkout-app .checkout-main .basket-express-checkout { --bs-card-bg: #f4edf6; }
.checkout-app .basket-checkout-choices .btn { display: flex; flex-direction: column; justify-content: center; font-size: .8rem; padding: .6rem .4rem; }
.checkout-app .basket-wallet-button { width: 100%; height: 48px; padding: 8px 16px; display: flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 6px; color: #111; }
.checkout-app .basket-wallet-mark { display: block; width: 84px; max-width: 100%; height: 24px; object-fit: contain; }
.checkout-app .basket-wallet-button:focus-visible { outline: 3px solid var(--checkout-violet); outline-offset: 3px; }
.checkout-app .basket-wallet-button:disabled { opacity: .55; cursor: not-allowed; }
.checkout-app .basket-wallet-google { background: #000; color: #fff; }
.checkout-app .basket-wallet-google .basket-wallet-mark { width: 58px; height: 24px; }
.checkout-app .basket-wallet-apple { background: #fff; border-color: #000; }
.checkout-app .basket-wallet-apple .basket-wallet-mark { width: 75px; height: 48px; flex-shrink: 0; }
.checkout-app .basket-wallet-paypal { background: #ffc439; color: #003087; }
.checkout-app .basket-wallet-klarna { background: #ffa8cd; }
.checkout-app .basket-wallet-klarna .basket-wallet-mark { width: 115px; height: 48px; flex-shrink: 0; }
.checkout-app .basket-provider-frame { display: block; width: 100%; height: 120px; min-height: 90px; border: 0; }
.checkout-app .basket-terms-modal .modal-dialog { height: calc(100dvh - 2rem); min-height: 0; margin: 1rem auto; }
.checkout-app .basket-terms-modal .modal-content { height: 100%; max-height: 100%; }
.checkout-app .basket-terms-modal .modal-body { display: flex; flex-direction: column; overflow: hidden; }
.checkout-app .basket-terms-modal [data-terms-frame] { flex: 1; min-height: 0; }
.checkout-app .basket-terms-modal iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 575px) {
    .checkout-app .basket-terms-modal .modal-dialog { height: 100dvh; margin: 0; }
}
.checkout-app .basket-provider-challenge .modal-dialog { width: calc(100% - 1rem); max-width: 900px; height: calc(100dvh - 1rem); min-height: 0; margin: .5rem auto; }
.checkout-app .basket-provider-challenge .modal-content { height: 100%; max-height: 100%; }
.checkout-app .basket-provider-challenge .modal-body { flex: 1; min-height: 0; overflow: hidden; }
.checkout-app .basket-provider-challenge [data-provider-frame] { height: 100%; }
.checkout-app .basket-provider-challenge .basket-provider-frame { min-height: 0; }
@media (max-width: 575px) {
    .checkout-app .basket-provider-challenge .modal-dialog { width: 100%; height: 100dvh; margin: 0; }
    .checkout-app .basket-provider-challenge .modal-content { border-radius: 0; }
}
.checkout-app.provider-embedded { background: #fff; min-height: 0; }
.checkout-app.provider-embedded .checkout-main { flex: none; }
.checkout-app.provider-embedded .card { border: 0 !important; box-shadow: none !important; }
.checkout-app.provider-embedded .card-body { padding: 0 !important; }
.checkout-app.provider-embedded #braintree-wallets { margin-block: 0 !important; }
.checkout-app.provider-embedded #braintree-wallets section > div { padding: .5rem 0 !important; border: 0 !important; }
.checkout-app.provider-embedded :is(#braintree-status, #klarna-status) { padding: .5rem .75rem; margin-top: .5rem !important; font-size: .8rem; }
.checkout-app.provider-embedded #klarna-express-button { margin-block: .5rem !important; }
.checkout-app .braintree-three-d-secure-loading:not([hidden]) { position: fixed; inset: 0; z-index: 1060; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgb(0 0 0 / 45%); }
.checkout-app .braintree-three-d-secure-loading > div { width: 100%; max-width: 24rem; max-height: 100%; overflow-y: auto; }
.checkout-app .basket-checkout-divider { display: flex; align-items: center; gap: .75rem; margin: .9rem 0; color: var(--checkout-muted); font-size: .8rem; }
.checkout-app .basket-checkout-divider::before, .checkout-app .basket-checkout-divider::after { content: ''; height: 1px; background: var(--checkout-border); flex: 1; }
@media (min-width: 992px) {
    .checkout-app .basket-order-summary { position: sticky; top: 1rem; }
}
@media (max-width: 575px) {
    .checkout-app .basket-product-table thead { display: none; }
    .checkout-app .basket-product-table, .checkout-app .basket-product-table tbody, .checkout-app .basket-product-table tr, .checkout-app .basket-product-table td { display: block; width: 100%; }
    .checkout-app .basket-product-table tr { padding: .5rem 0; border-top: 1px solid var(--checkout-border); }
    .checkout-app .basket-product-table td { border: 0; padding: .5rem 1rem; }
    .checkout-app .basket-product-table td[data-label] { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
    .checkout-app .basket-product-table td[data-label]::before { content: attr(data-label); font-weight: 600; text-align: left; }
    .checkout-app .basket-quantity-form { text-align: right; }
}
/* Only rig Bootstrap actions; no generic button rule or provider-wallet styling. */
.checkout-app .checkout-main :is(.btn-primary, .btn-outline-primary, .btn-outline-secondary, .btn-outline-danger, .btn-secondary):not(.braintree-wallet-controls *) { border-radius: 6px; font-weight: 600; }
.checkout-app .checkout-main .btn-primary:not(.braintree-wallet-controls *) {
    --bs-btn-bg: var(--checkout-violet);
    --bs-btn-border-color: var(--checkout-violet);
    --bs-btn-hover-bg: var(--checkout-violet-dark);
    --bs-btn-hover-border-color: var(--checkout-violet-dark);
    --bs-btn-active-bg: var(--checkout-violet-dark);
    --bs-btn-active-border-color: var(--checkout-violet-dark);
    --bs-btn-disabled-bg: var(--checkout-violet);
    --bs-btn-disabled-border-color: var(--checkout-violet);
    --bs-btn-focus-shadow-rgb: 106, 53, 121;
}
.checkout-app .checkout-main .btn-outline-primary:not(.braintree-wallet-controls *) {
    --bs-btn-color: var(--checkout-violet);
    --bs-btn-border-color: var(--checkout-violet);
    --bs-btn-hover-bg: var(--checkout-violet);
    --bs-btn-hover-border-color: var(--checkout-violet);
    --bs-btn-active-bg: var(--checkout-violet-dark);
    --bs-btn-active-border-color: var(--checkout-violet-dark);
    --bs-btn-disabled-color: var(--checkout-violet);
    --bs-btn-disabled-border-color: var(--checkout-violet);
    --bs-btn-focus-shadow-rgb: 106, 53, 121;
}
.checkout-app .checkout-main :is(.form-control, .form-select) { border-radius: 6px; padding-block: .6rem; }
.checkout-app .checkout-main .input-group > :is(.btn, .form-control, .form-select):not(:first-child) { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.checkout-app .checkout-main .input-group > :is(.btn, .form-control, .form-select):not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.checkout-app .checkout-main :is(.form-control, .form-select):focus { border-color: var(--checkout-violet); box-shadow: 0 0 0 .2rem rgb(106 53 121 / 15%); }
.checkout-app .form-switch .form-check-input:checked { background-color: var(--checkout-violet); border-color: var(--checkout-violet); }
.checkout-app .form-switch .form-check-input:focus { border-color: var(--checkout-violet); box-shadow: 0 0 0 .2rem rgb(106 53 121 / 15%); }
.checkout-app .form-switch .form-check-input:focus:not(:checked) { --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%236a3579'/%3e%3c/svg%3e"); }
.checkout-app .form-label { font-size: .88rem; font-weight: 600; }
.checkout-app .checkout-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.checkout-app .checkout-step { position: relative; min-width: 0; }
.checkout-app .checkout-step:not(:last-child)::after { content: ''; position: absolute; right: -.4rem; top: calc(50% - 4px); width: 8px; height: 8px; border-top: 1px solid #b4a8ba; border-right: 1px solid #b4a8ba; transform: rotate(45deg); }
.checkout-app .checkout-step a, .checkout-app .step-label { display: flex; gap: .6rem; align-items: center; height: 100%; padding: .7rem; border-radius: 6px; color: var(--checkout-muted); font-size: .85rem; text-decoration: none; }
.checkout-app .checkout-step a:hover { background: #f0eaf3; color: var(--checkout-violet); }
.checkout-app .step-number { width: 1.6rem; height: 1.6rem; display: inline-flex; flex-shrink: 0; justify-content: center; align-items: center; border: 1px solid #cbbfd0; border-radius: 50%; font-size: .75rem; }
.checkout-app .is-current .step-label { background: #ece5ef; color: var(--checkout-violet-dark); font-weight: 700; }
.checkout-app .is-current .step-number { background: var(--checkout-violet); color: white; border-color: var(--checkout-violet); }
.checkout-app .step-label[aria-disabled="true"] { color: var(--checkout-muted); }
.checkout-app .checkout-progress-compact .checkout-steps { display: flex; gap: .9rem; }
.checkout-app .checkout-progress-compact .checkout-step a, .checkout-app .checkout-progress-compact .step-label { flex-direction: row; gap: .3rem; padding: .25rem .4rem; font-size: .75rem; text-align: left; }
.checkout-app .checkout-progress-compact .step-number { width: 1.15rem; height: 1.15rem; font-size: .65rem; }
.checkout-app .address-saved { background: #ece5ef; color: var(--checkout-violet-dark); }
.checkout-app .checkout-main summary { cursor: pointer; font-weight: 600; }
.checkout-app .address-editor summary { color: var(--checkout-violet); font-size: .9rem; }
.checkout-app .delivery-option { border: 1px solid var(--checkout-border); border-radius: 6px; background: white; }
.checkout-app .delivery-option.is-selected { border-color: var(--checkout-violet); background: #f5eff7; }
.checkout-app .basket-delivery-toggle { color: var(--checkout-violet); text-align: right; white-space: normal; text-decoration: none; font-weight: 400; }
.checkout-app .basket-date-toggle { color: var(--checkout-violet); border-color: var(--checkout-border); border-radius: 6px; text-decoration: none; }
.checkout-app .basket-date-toggle:hover, .checkout-app .basket-date-toggle:focus-visible { border-color: #c6b8ce; background: #f5eff7; text-decoration: none; }
.checkout-app .basket-delivery-menu { width: 320px; min-width: 0; max-width: calc(100vw - 3rem); }
.checkout-app .basket-delivery-menu .dropdown-item { white-space: normal; font-size: .9rem; }
.checkout-app .basket-delivery-menu .is-selected { background: #f5eff7; color: var(--checkout-violet); }
.checkout-app #basket-summary-title { scroll-margin-top: 1rem; }
.checkout-app .checkout-main dd { overflow-wrap: anywhere; }
.checkout-app .checkout-main .alert { border-radius: 6px; overflow-wrap: anywhere; }
.checkout-app .checkout-footer { background: white; border-top: 1px solid var(--checkout-border); margin-top: 1rem; }
.checkout-app .checkout-inspiration { background: var(--checkout-violet); color: white; }
.checkout-app .checkout-inspiration-inner { display: flex; align-items: center; gap: 2rem; padding-block: 1.5rem; }
.checkout-app .checkout-inspiration h2 { font-size: 1.1rem; font-weight: 600; margin-bottom: .35rem; }
.checkout-app .checkout-inspiration p { font-size: .8rem; margin: 0; }
.checkout-app .checkout-inspiration-link { background: var(--checkout-yellow); color: var(--checkout-violet-dark); border: 1px solid var(--checkout-yellow); border-radius: 6px; padding: .65rem 1rem; font-size: .85rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.checkout-app .checkout-inspiration-link:hover { background: white; border-color: white; }
.checkout-app .checkout-inspiration a:focus-visible { outline-color: var(--checkout-yellow); }
.checkout-app .checkout-social-links { display: flex; flex-wrap: wrap; gap: 1rem; margin-left: auto; font-size: .8rem; }
.checkout-app .checkout-social-links a { color: white; text-underline-offset: .2em; }
.checkout-app .checkout-footer-content { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 3rem; padding-block: 2rem; }
.checkout-app .checkout-footer-content h2 { color: var(--checkout-violet); font-size: 1rem; font-weight: 600; margin-bottom: 1rem; }
.checkout-app .checkout-footer-links { list-style: none; margin: 0; padding: 0; font-size: .85rem; }
.checkout-app .checkout-footer-links li { margin-bottom: .55rem; }
.checkout-app .checkout-footer-links a { color: var(--checkout-ink); text-decoration: none; }
.checkout-app .checkout-footer-links a:hover { color: var(--checkout-violet); text-decoration: underline; }
.checkout-app .checkout-payment-brands { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0 0 .75rem; padding: 0; }
.checkout-app .checkout-payment-brands li { display: flex; align-items: center; min-height: 32px; padding: .3rem .6rem; border: 1px solid var(--checkout-border); border-radius: 4px; font-size: .8rem; font-weight: 600; background: #f9f9f9; }
.checkout-app .checkout-payment-brands .checkout-klarna-brand { padding: 0 .4rem; background: #ffb3c7; }
.checkout-app .checkout-klarna-brand img { object-fit: contain; }
.checkout-app .checkout-footer-note { font-size: .75rem; color: var(--checkout-muted); }
.checkout-app .checkout-footer-support { font-size: .85rem; }
.checkout-app .checkout-footer-support a { font-weight: 700; white-space: nowrap; }
.checkout-app .checkout-food-rating { display: inline-block; }
.checkout-app .checkout-food-rating img { max-width: 100%; height: auto; }
.checkout-app .checkout-copyright { border-top: 1px solid var(--checkout-border); background: #f5f5f5; text-align: center; padding-block: 1rem; font-size: .7rem; color: var(--checkout-muted); }
.checkout-app .checkout-copyright p { margin: .2rem 0; }

@media (min-width: 1280px) {
    .checkout-app .checkout-shop-collapse.collapse { display: block; }
    /* Anchor to the entire menu item, not the small arrow button Popper targets. */
    .checkout-app .checkout-shop-submenu { top: 100% !important; left: 0 !important; right: auto !important; transform: none !important; margin: 0 !important; }
    .checkout-app .checkout-shop-item:nth-last-child(-n+3) .checkout-shop-submenu { left: auto !important; right: 0 !important; }
    .checkout-app .checkout-search-dropdown { top: 100% !important; right: 0 !important; left: auto !important; transform: none !important; margin: 0 !important; }
}
@media (min-width: 992px) {
    .checkout-app .checkout-summary { position: sticky; top: 1.5rem; }
}
@media (max-width: 1279px) {
    .checkout-app .checkout-masthead-inner { gap: .75rem; }
    .checkout-app .checkout-header .container { padding-inline: 0; }
    .checkout-app .checkout-header .checkout-masthead-inner { height: 45px; padding-left: 52px; position: relative; }
    .checkout-app .checkout-brand { width: 187px; max-width: calc(100% - 110px); flex-shrink: 1; }
    .checkout-app .checkout-call-order { display: none; }
    .checkout-app .checkout-header-actions { margin-left: auto; gap: 0; height: 45px; }
    .checkout-app .checkout-action-label { display: block; font-size: 10px; }
    .checkout-app .checkout-icon-action { min-width: 45px; min-height: 45px; padding: 2px 9px; }
    .checkout-app .checkout-basket-action, .checkout-app .checkout-account-menu > .checkout-icon-action { border-radius: 0; }
    .checkout-app .checkout-chat-action { border-radius: 0; }
    .checkout-app .checkout-header-actions:has(.checkout-chat-action) { flex-shrink: 0; }
    .checkout-app .checkout-masthead-inner:has(.checkout-chat-action) .checkout-brand { min-width: 0; max-width: calc(100% - 162px); }
    .checkout-app .checkout-basket-label { display: none; }
    .checkout-app .checkout-menu-toggle { display: flex; position: absolute; left: 0; top: 0; width: 44px; background: transparent; color: var(--checkout-violet); }
    .checkout-app .checkout-shop-links { display: block; padding-block: .5rem; }
    .checkout-app .checkout-shop-item { flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid rgb(255 255 255 / 15%); }
    .checkout-app .checkout-shop-link { font-size: .9rem; padding: .75rem .5rem; flex: 1; }
    .checkout-app .checkout-submenu-toggle { min-height: 44px; min-width: 44px; }
    .checkout-app .checkout-shop-submenu { position: static !important; transform: none !important; float: none; flex-basis: 100%; margin: .25rem 0 .5rem !important; box-shadow: none; }
    .checkout-app .checkout-shop-search { margin: .75rem .5rem .25rem; }
    .checkout-app .checkout-shop-search { position: relative; flex-wrap: wrap; }
    .checkout-app .checkout-search-dropdown { position: static !important; transform: none !important; flex-basis: 100%; width: 100%; margin: .5rem 0 !important; }
    .checkout-app .checkout-shop-search input { flex: 1; width: auto; padding: .7rem; font-size: .9rem; border: 1px solid var(--checkout-border); }
    .checkout-app .checkout-shop-search button { padding: .7rem; border: 1px solid var(--checkout-border); border-left: 0; }
}
@media (max-width: 767.98px) {
    .checkout-app .checkout-steps { gap: .65rem; }
    .checkout-app .checkout-step a, .checkout-app .step-label { flex-direction: column; justify-content: flex-start; text-align: center; gap: .35rem; padding: .5rem .25rem; font-size: .72rem; }
    .checkout-app .checkout-inspiration-inner { flex-wrap: wrap; gap: 1rem; }
    .checkout-app .checkout-inspiration-inner > div { flex-basis: 100%; }
    .checkout-app .checkout-social-links { margin-left: 0; gap: .75rem; }
    .checkout-app .checkout-footer-content { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
    .checkout-app .checkout-footer-content > section { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
    .checkout-app .checkout-shop-collapse.collapsing { transition: none; }
}
.checkout-app .delivery-calendar { width: 290px; max-width: calc(100vw - 32px); }
.checkout-app .delivery-calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; text-align: center; }
.checkout-app .delivery-calendar-grid .btn { padding: .3rem 0; }
.checkout-app .delivery-calendar-grid .btn:disabled { opacity: .3; }
#checkout-multiple-address-info {
    display: none;
}

[data-checkout-details]:has(#checkout-multiple-addresses:checked) #checkout-multiple-address-info {
    display: block;
}

[data-checkout-details]:has(#checkout-multiple-addresses:checked) #checkout-single-address {
    display: none;
}
