@font-face {
    font-family: 'Mark OT';
    src: url('../fonts/Mark OT.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mark OT';
    src: url('../fonts/Mark OT Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mark OT';
    src: url('../fonts/Mark OT Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mark OT';
    src: url('../fonts/Mark OT Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --checkout-font: 'Mark OT', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --checkout-text: #333333;
    --checkout-text-dark: #212121;
    --checkout-text-muted: #757575;
    --checkout-text-medium: #616161;
    --checkout-text-light: #AAAAAA;
    --checkout-price: #D32F2F;
    --checkout-price-free: #38A169;
    --checkout-bg: #FFFFFF;
    --checkout-bg-page: #F8F8F8;
    --checkout-bg-beige: #F9F7F4;
    --checkout-border: #E8E8E8;
    --checkout-border-dark: #CCCCCC;
    --checkout-primary: #212121;
    --checkout-link: #0066CC;
    --checkout-link-hover: #0052A3;
    --checkout-required: #D32F2F;
    --checkout-svea-orange: #F7941D;
    --checkout-disabled-bg: #E0E0E0;
    --checkout-disabled-text: #666666;
    --checkout-fs-11: 11px;
    --checkout-fs-12: 12px;
    --checkout-fs-13: 13px;
    --checkout-fs-14: 14px;
    --checkout-fs-15: 15px;
    --checkout-fs-16: 16px;
    --checkout-fs-18: 18px;
    --checkout-fs-20: 20px;
    --checkout-fs-24: 24px;
}

.checkout-page {
    font-family: var(--checkout-font);
    /*background: var(--checkout-bg-page);*/
    /*  padding: 36px 0 48px;*/
}

.checkout-no-cart {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.checkout-no-cart-card {
    background: var(--checkout-bg);
    border-radius: 0;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    text-align: center;
}

    .checkout-no-cart-card .checkout-btn-continue {
        display: inline-block;
        margin-top: 1.5rem;
        text-decoration: none;
    }

.checkout-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    align-items: start;
}

@media (max-width: 992px) {
    .checkout-wrap {
        grid-template-columns: 1fr;
    }
}

.checkout-progress {
    grid-column: 1 / -1;
    width: 100%;
    margin-bottom: 16px;
    padding: 0 0 4px;
    display: flex;
    justify-content: center;
}

.checkout-progress-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
    max-width: 75%;
    width: 100%;
}

.checkout-progress-step {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    cursor: pointer;
}

    .checkout-progress-step:last-child .checkout-progress-connector {
        display: none;
    }

.checkout-progress-marker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
    font-weight: 600;
    font-size: var(--checkout-fs-14);
    background: #E8E8E8;
    color: var(--checkout-text-light);
    transition: background 0.2s, color 0.2s;
}

.checkout-progress-num {
    display: block;
}

.checkout-progress-step.is-active .checkout-progress-marker {
    background: var(--checkout-primary);
    color: #FFFFFF;
}

.checkout-progress-step.is-active[data-progress-step="1"] .checkout-progress-marker {
    background: #E6FAED;
    color: var(--checkout-price-free);
}

.checkout-progress-step.is-active[data-progress-step="1"] .checkout-progress-num {
    display: none;
}

.checkout-progress-step.is-active[data-progress-step="1"] .checkout-progress-marker::after {
    content: "✓";
    display: block;
    color: var(--checkout-price-free);
    font-weight: 600;
}

.checkout-progress-step.is-completed .checkout-progress-marker {
    background: #E6FAED;
    color: var(--checkout-price-free);
}

.checkout-progress-step.is-completed .checkout-progress-num {
    display: none;
}

.checkout-progress-step.is-completed .checkout-progress-marker::after {
    content: "✓";
    display: block;
    color: var(--checkout-price-free);
    font-weight: 600;
}

.checkout-progress-step.is-locked {
    pointer-events: none;
    cursor: default;
    opacity: 0.6;
}

.checkout-progress-label {
    margin-left: 8px;
    font-size: var(--checkout-fs-16);
    font-weight: 400;
    color: var(--checkout-text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.checkout-progress-step.is-active .checkout-progress-label {
    color: var(--checkout-text);
    font-weight: 600;
}

.checkout-progress-step.is-active[data-progress-step="1"] .checkout-progress-label {
    color: var(--checkout-text);
    font-weight: 600;
}

.checkout-progress-step.is-completed .checkout-progress-label {
    color: var(--checkout-text);
    font-weight: 600;
}

.checkout-progress-connector {
    flex: 1;
    height: 0;
    min-height: 2px;
    min-width: 12px;
    margin: 0 8px;
    border: none;
    border-top: 2px solid #D0D0D0;
    background: transparent;
    transition: border-color 0.2s;
}

@media (max-width: 768px) {
    .checkout-progress-label {
        font-size: var(--checkout-fs-12);
        margin-left: 6px;
    }

    .checkout-progress-marker {
        width: 24px;
        height: 24px;
        font-size: var(--checkout-fs-12);
    }

    .checkout-progress-connector {
        margin: 0 4px;
    }
}

.checkout-sidebar {
    position: sticky;
    top: 16px;
}

.checkout-sidebar-card + .checkout-sidebar-card {
    margin-top: 20px;
}

.checkout-heading {
    font-size: var(--checkout-fs-24);
    font-weight: 700;
    margin: 0 0 20px;
    color: var(--checkout-text);
}

.checkout-main {
    max-width: 90%;
}

    .checkout-main .checkout-heading {
        font-size: var(--checkout-fs-24);
        font-weight: 700;
        margin: 0 0 20px;
        color: var(--checkout-text);
    }

.checkout-steps {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0;
}

.checkout-step-tab {
    background: #fafafa;
    border: 1px solid var(--checkout-border);
    border-radius: 0;
    padding: 0 1rem;
    transition: border-color 0.15s, background 0.15s;
}

    .checkout-step-tab:hover {
        background: #f5f5f5;
    }

.checkout-step-tab-active {
    background: #fff;
    border-color: #d0d0d0;
    border-left: 3px solid var(--checkout-primary);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.checkout-step-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--checkout-fs-15);
    color: var(--checkout-text);
    width: 100%;
    min-height: 48px;
}

    .checkout-step-item .checkout-step-num {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 1.75rem;
        height: 1.75rem;
        border-radius: 50%;
        background: var(--checkout-primary);
        color: #FFFFFF;
        font-weight: 600;
        font-size: var(--checkout-fs-14);
        flex-shrink: 0;
    }

    .checkout-step-item .checkout-step-label {
        flex: 1;
    }

    .checkout-step-item.checkout-step-completed .checkout-step-num {
        background: #E6FAED;
        color: var(--checkout-price-free);
    }

        .checkout-step-item.checkout-step-completed .checkout-step-num::after {
            content: "✓";
            color: var(--checkout-price-free);
        }

    .checkout-step-item.checkout-step-upcoming .checkout-step-num {
        background: #E8E8E8;
        color: #A0A0A0;
    }

    .checkout-step-item.checkout-step-upcoming .checkout-step-label {
        color: #A0A0A0;
    }

    .checkout-step-item.checkout-step-current .checkout-step-num {
        background: #000000;
        color: #FFFFFF;
    }

    .checkout-step-item.checkout-step-current .checkout-step-label {
        font-weight: 600;
        color: var(--checkout-text);
    }

.checkout-step-change {
    margin-left: auto;
    font-size: 0.9rem;
    color: #007BFF;
    text-decoration: none;
    flex-shrink: 0;
}

    .checkout-step-change:hover {
        text-decoration: underline;
    }

.checkout-accordion {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.checkout-accordion-item {
    background: var(--checkout-bg);
    border: 1px solid var(--checkout-border);
    border-radius: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    margin-bottom: 0;
}

    .checkout-accordion-item + .checkout-accordion-item {
        margin-top: 12px;
    }

    .checkout-accordion-item.is-locked .checkout-accordion-trigger {
        pointer-events: none;
        cursor: default;
        opacity: 0.6;
    }

    .checkout-accordion-item.checkout-step-tab-active {
        border-color: var(--checkout-border);
    }

.checkout-accordion-heading {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    display: flex;
    align-items: center;
}

    .checkout-accordion-heading .checkout-accordion-trigger {
        flex: 1;
        max-width: 90%;
    }

    .checkout-accordion-heading .checkout-step-change {
        flex-shrink: 0;
        margin-left: 8px;
    }

.checkout-accordion-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 16px 20px;
    text-align: left;
    font-size: var(--checkout-fs-16);
    color: var(--checkout-text);
    background: var(--checkout-bg);
    border: none;
    cursor: pointer;
    transition: background 0.15s;
}

    .checkout-accordion-trigger:hover {
        background: #FAFAFA;
    }

.checkout-accordion-trigger-open,
.checkout-accordion-item.checkout-step-tab-active .checkout-accordion-trigger {
    background: var(--checkout-bg);
    font-weight: 700;
    color: var(--checkout-text);
}

.checkout-accordion-trigger .checkout-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #000000;
    color: #FFFFFF;
    font-weight: 600;
    font-size: var(--checkout-fs-14);
    flex-shrink: 0;
}

.checkout-accordion-item.checkout-step-tab-active[data-step-tab="1"] .checkout-accordion-trigger .checkout-step-num {
    background: #E6FAED;
    color: var(--checkout-price-free);
    font-size: 0;
    line-height: 0;
}

    .checkout-accordion-item.checkout-step-tab-active[data-step-tab="1"] .checkout-accordion-trigger .checkout-step-num::after {
        content: "✓";
        display: block;
        font-size: var(--checkout-fs-14);
        line-height: 28px;
        font-weight: 600;
        color: var(--checkout-price-free);
    }

.checkout-accordion-item.checkout-step-completed .checkout-accordion-trigger .checkout-step-num {
    background: #E6FAED;
    color: var(--checkout-price-free);
    font-size: 0;
    line-height: 0;
}

    .checkout-accordion-item.checkout-step-completed .checkout-accordion-trigger .checkout-step-num::after {
        content: "✓";
        display: block;
        font-size: var(--checkout-fs-14);
        line-height: 28px;
        font-weight: 600;
        color: var(--checkout-price-free);
    }

.checkout-accordion-item.checkout-step-completed .checkout-accordion-label {
    color: var(--checkout-text);
    font-weight: 600;
}

.checkout-accordion-item.checkout-step-upcoming .checkout-accordion-trigger .checkout-step-num {
    background: #E8E8E8;
    color: var(--checkout-text-light);
}

.checkout-accordion-item.checkout-step-upcoming .checkout-accordion-label {
    color: var(--checkout-text-light);
}

.checkout-accordion-label {
    flex: 1;
}

/* Step 2: label + postcode summary on two lines */
.checkout-accordion-trigger-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.checkout-accordion-summary {
    font-size: var(--checkout-fs-13);
    font-weight: 400;
    color: var(--checkout-text-medium);
}

    .checkout-accordion-summary:empty {
        display: none;
    }

.checkout-accordion-heading .checkout-step-change {
    font-size: var(--checkout-fs-14);
    color: var(--checkout-link);
    text-decoration: none;
    font-weight: 400;
    align-self: center;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-top: 0;
    margin-bottom: 0;
}


    .checkout-accordion-heading .checkout-step-change:hover {
        text-decoration: underline;
        color: var(--checkout-link-hover);
    }

.checkout-accordion-content {
    padding: 20px 20px;
    border-top: 1px solid var(--checkout-border);
}

#panel-2.checkout-accordion-content {
    padding: 20px;
}

.checkout-accordion-content.checkout-step-panel-hidden {
    display: none;
}

.checkout-accordion-content[hidden] {
    display: none !important;
}

.checkout-payment-iframe-wrap {
    min-height: 580px;
    width: 100%;
}

    .checkout-payment-iframe-wrap iframe {
        width: 100%;
        min-height: 560px;
        border: none;
    }

/* Step 4 panel: ensure enough height when payment iframe is shown */
.checkout-accordion-content[data-step-panel="4"] {
    min-height: 600px;
}

.checkout-step-panel-hidden {
    display: none;
}

.checkout-actions {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--checkout-border);
    text-align: right;
}

.checkout-info-block {
    border: 1px solid var(--checkout-text);
    padding: 20px 24px;
    background: var(--checkout-bg);
    margin-bottom: 0;
}

    .checkout-info-block label {
        display: block;
        font-size: var(--checkout-fs-14);
        font-weight: 700;
        margin-bottom: 10px;
        color: var(--checkout-text);
    }

.checkout-label-required {
    color: var(--checkout-price);
    font-weight: 700;
}

.checkout-postnummer-row {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-bottom: 8px;
}

.checkout-input-postnummer {
    flex: 1;
    max-width: none;
    min-width: 0;
    border-radius: 0;
    border-right: none;
    height: 44px;
    padding: 10px 14px;
}

.checkout-postnummer-row .checkout-btn-vis {
    width: auto;
    min-width: 100px;
    max-width: 35%;
    padding: 0 20px;
    background: var(--checkout-primary);
    color: #FFFFFF;
    border: 1px solid var(--checkout-primary);
    border-radius: 0;
    font-size: var(--checkout-fs-16);
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

    .checkout-postnummer-row .checkout-btn-vis:hover {
        background: var(--checkout-primary);
        border-color: var(--checkout-text);
        color: #FFFFFF;
    }

.checkout-info-helper {
    font-size: var(--checkout-fs-13);
    font-weight: 400;
    color: var(--checkout-text-muted);
    margin: 0;
    line-height: 1.4;
}

.checkout-input {
    width: 100%;
    max-width: 240px;
    padding: 8px 12px;
    border: 1px solid var(--checkout-border-dark);
    border-radius: 0;
    font-size: var(--checkout-fs-16);
}

    .checkout-input:focus {
        outline: none;
        border-color: var(--checkout-primary);
        box-shadow: 0 0 0 2px rgba(26, 26, 26, 0.15);
    }

.checkout-delivery-options {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 24px;
}

.checkout-delivery-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--checkout-border);
    border-bottom: none;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}

    .checkout-delivery-option:last-of-type {
        border-bottom: 1px solid var(--checkout-border);
    }

    .checkout-delivery-option:hover {
        border-color: var(--checkout-border-dark);
    }

    .checkout-delivery-option input {
        margin-top: 3px;
        flex-shrink: 0;
    }

        .checkout-delivery-option input:checked + .checkout-delivery-option-content {
            font-weight: 500;
        }

    .checkout-delivery-option:has(input:checked) {
        border-color: var(--checkout-primary);
        background: #FAFAFA;
    }

        .checkout-delivery-option:has(input:checked) + .checkout-delivery-option {
            border-top-color: var(--checkout-primary);
        }

.checkout-delivery-option-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.checkout-delivery-option-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}

.checkout-delivery-option-title-row {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.checkout-delivery-option-content strong {
    font-size: var(--checkout-fs-15);
    font-weight: 700;
    color: var(--checkout-text);
}

.checkout-delivery-option-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--checkout-disabled-bg);
    color: var(--checkout-text-muted);
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

.checkout-delivery-desc {
    font-size: var(--checkout-fs-14);
    font-weight: 400;
    color: var(--checkout-text-muted);
}

.checkout-delivery-option-top-row .checkout-delivery-price {
    flex-shrink: 0;
    margin-top: 0;
}

.checkout-delivery-price {
    font-size: var(--checkout-fs-14);
    font-weight: 700;
    color: var(--checkout-text);
}

.checkout-delivery-price-free {
    color: var(--checkout-price-free);
}

.checkout-actions-step3 {
    text-align: center;
    padding-top: 0px;
    border-top: 0px;
}

    .checkout-actions-step3 .checkout-btn-continue {
        min-width: 280px;
    }

        .checkout-actions-step3 .checkout-btn-continue:disabled {
            background: var(--checkout-disabled-bg);
            color: var(--checkout-disabled-text);
            cursor: not-allowed;
        }

.checkout-step3-product {
    display: flex;
    gap: 12px;
    padding: 16px 0;
    border-top: 1px solid var(--checkout-border);
    margin-bottom: 16px;
}

.checkout-store-link {
    font-size: var(--checkout-fs-15);
    margin-bottom: 0px;
    font-weight: 400;
}

    .checkout-store-link a {
        color: var(--checkout-link);
        text-decoration: none;
    }

        .checkout-store-link a:hover {
            text-decoration: underline;
            color: var(--checkout-link-hover);
        }

.checkout-cart-error {
    font-size: var(--checkout-fs-14);
    color: var(--checkout-required);
    margin: 0 0 12px;
    padding: 8px 12px;
    background: #FFF5F5;
    border-radius: 0;
    border: 1px solid #FCC;
}

.checkout-items {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 0;
    border-radius: 0;
    overflow: hidden;
}

.checkout-item-card {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 16px;
    padding: 20px 20px 20px 0px;
    border: none;
    border-bottom: 1px solid var(--checkout-border) !important;
    border-radius: 0;
    background: var(--checkout-bg);
    align-items: flex-end;
    position: relative;
}

.checkout-item-remove {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: var(--checkout-text-medium);
    cursor: pointer;
    padding: 0;
    border-radius: 0;
    transition: color 0.15s, background 0.15s;
}

    .checkout-item-remove:hover {
        color: var(--checkout-text-dark);
        background: #F0F0F0;
    }

    .checkout-item-remove svg {
        display: block;
    }

.checkout-item-card:last-child {
    border-bottom: none;
}

.checkout-item-card-image {
    width: 100px;
    height: 100px;
    border-radius: 0;
    overflow: hidden;
    background: var(--checkout-border);
    flex-shrink: 0;
}

.checkout-item-card .checkout-item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: var(--checkout-border);
}

.checkout-item-card-body {
    min-width: 0;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.checkout-item-card .checkout-item-name {
    font-size: var(--checkout-fs-14);
    font-weight: 700;
    margin: 0;
    color: var(--checkout-text-dark);
}

.checkout-item-desc {
    font-size: var(--checkout-fs-14);
    color: var(--checkout-text-medium);
    margin: 0;
    line-height: 1.35;
    font-weight: 400;
}

.checkout-item-card-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: auto;
}

.checkout-item-card .checkout-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--checkout-border);
    border-radius: 0;
    overflow: hidden;
    background: var(--checkout-bg);
}

.checkout-qty-btn {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: var(--checkout-bg);
    font-size: var(--checkout-fs-16);
    font-weight: 400;
    cursor: pointer;
    color: var(--checkout-text-dark);
    transition: background 0.15s;
}

    .checkout-qty-btn:hover {
        background: var(--checkout-border);
    }

    .checkout-qty-btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

.checkout-qty-value {
    min-width: 2.5rem;
    text-align: center;
    font-size: var(--checkout-fs-14);
    font-weight: 400;
}

.checkout-item-card .checkout-btn-remove {
    display: inline-block;
    padding: 6px 12px;
    font-size: var(--checkout-fs-14);
    color: var(--checkout-text-dark);
    cursor: pointer;
    font-weight: 400;
    background: var(--checkout-bg);
    border: 1px solid var(--checkout-border);
    border-radius: 0;
    text-decoration: none;
}

    .checkout-item-card .checkout-btn-remove:hover {
        background: #F5F5F5;
        border-color: var(--checkout-border-dark);
        color: var(--checkout-text-dark);
    }

.checkout-item-card-price {
    text-align: right;
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    align-self: flex-end;
    gap: 8px;
}

.checkout-item-price-was {
    font-size: var(--checkout-fs-14);
    color: var(--checkout-text-dark);
    font-weight: 400;
    text-decoration: line-through;
    display: inline;
}

    .checkout-item-price-was:empty {
        display: none;
    }

.checkout-item-card .checkout-item-price-current,
.checkout-item-card .checkout-item-price {
    font-size: var(--checkout-fs-14);
    color: var(--checkout-price) !important;
}

@media (max-width: 640px) {
    .checkout-item-card {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto 1fr;
    }

    .checkout-item-card-image {
        width: 100%;
        height: 160px;
    }

    .checkout-item-card-price {
        text-align: left;
    }
}

.checkout-discount-block {
    margin: 24px 0;
    padding: 5px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.checkout-discount-label {
    font-size: var(--checkout-fs-14);
    font-weight: 500;
    color: var(--checkout-text);
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.checkout-discount-icon {
    display: inline-flex;
    flex-shrink: 0;
    color: var(--checkout-primary);
}

.checkout-discount-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.checkout-discount-block .checkout-discount-input {
    flex: 0 1 auto;
    width: 200px;
    min-width: 160px;
    max-width: 250px;
}

.checkout-btn-apply {
    padding: 10.5px 20px;
    background: var(--checkout-primary);
    color: #FFFFFF;
    border: none;
    border-radius: 0;
    font-size: var(--checkout-fs-14);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

    .checkout-btn-apply:hover {
        background: var(--checkout-primary);
    }

.checkout-item {
    border-bottom: none;
}

.checkout-item-image {
    width: 100px;
    height: 100px;
    background: #E8E8E8;
    border-radius: 0;
    object-fit: cover;
}

.checkout-item-details {
    min-width: 0;
}

.checkout-item-name {
    font-size: var(--checkout-fs-15);
    font-weight: 600;
    margin: 0 0 4px;
    color: var(--checkout-primary);
}

.checkout-item-meta {
    font-size: var(--checkout-fs-14);
    color: var(--checkout-disabled-text);
    margin: 0;
}

.checkout-item-delivery {
    font-size: var(--checkout-fs-13);
    color: var(--checkout-disabled-text);
    margin-top: 4px;
}

.checkout-item-right {
    text-align: right;
}

.checkout-item-price {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.checkout-item-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.checkout-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 0;
    overflow: hidden;
}

    .checkout-qty button {
        width: 32px;
        height: 32px;
        border: none;
        background: #f5f5f5;
        cursor: pointer;
        font-size: 1rem;
        line-height: 1;
    }

        .checkout-qty button:hover {
            background: var(--checkout-border);
        }

    .checkout-qty span {
        min-width: 32px;
        text-align: center;
        font-size: var(--checkout-fs-14);
    }

.checkout-btn-remove {
    font-size: var(--checkout-fs-14);
    color: var(--checkout-required);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

    .checkout-btn-remove:hover {
        color: #B02A37;
    }

.checkout-summary {
    margin: 20px 0;
    padding: 16px 0;
    border-top: 1px solid var(--checkout-border);
}

.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: var(--checkout-fs-14);
    color: var(--checkout-text);
}

    .checkout-summary-row:last-child {
        margin-bottom: 0;
    }

    .checkout-summary-row strong {
        font-weight: 600;
    }

.checkout-svea-box {
    background: var(--checkout-bg-beige);
    border: 1px solid var(--checkout-border);
    border-radius: 0;
    padding: 16px 20px;
    margin: 20px 0;
}

.checkout-svea-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.checkout-svea-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--checkout-svea-orange);
    color: #FFFFFF;
    font-size: var(--checkout-fs-18);
    font-weight: 700;
    flex-shrink: 0;
    border-radius: 50%;
}

.checkout-svea-headline {
    font-weight: 600;
    font-size: var(--checkout-fs-14);
    margin: 0;
    color: var(--checkout-text);
}

.checkout-svea-box .checkout-svea-title {
    font-weight: 600;
    font-size: var(--checkout-fs-14);
    margin: 0 0 4px;
    color: var(--checkout-text);
}

.checkout-svea-box .checkout-svea-desc {
    font-size: var(--checkout-fs-14);
    color: var(--checkout-text);
    margin: 0;
}

.checkout-svea-amount {
    font-size: var(--checkout-fs-14);
    margin-top: 8px;
    font-weight: 500;
    color: var(--checkout-text);
}

.checkout-discount {
    margin: 1.25rem 0;
}

.checkout-discount-toggle {
    font-size: var(--checkout-fs-14);
    color: #007BFF;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

    .checkout-discount-toggle:hover {
        color: #0052a3;
    }

.checkout-discount-content {
    margin-top: 0.75rem;
}

    .checkout-discount-content input {
        width: 100%;
        max-width: 280px;
        padding: 8px 12px;
        border: 1px solid var(--checkout-border-dark);
        border-radius: 0;
        font-size: var(--checkout-fs-14);
    }

.checkout-applied-codes {
    margin-top: 12px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.checkout-code-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.checkout-code-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px 4px 12px;
    background: var(--checkout-bg-beige);
    border: 1px solid var(--checkout-border-dark);
    font-size: var(--checkout-fs-12);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--checkout-text-dark);
}

.checkout-code-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--checkout-text-muted);
    font-size: 16px;
    line-height: 1;
}

    .checkout-code-remove:hover {
        color: var(--checkout-text-dark);
    }

.checkout-code-remove-all-item {
    display: inline-flex;
    align-items: center;
}

.checkout-code-remove-all {
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: var(--checkout-fs-12);
    color: var(--checkout-link);
    text-decoration: underline;
}

    .checkout-code-remove-all:hover {
        color: #0052a3;
    }

.checkout-discount-msg {
    margin: 8px 0 0;
    font-size: var(--checkout-fs-13);
    text-align: center;
    min-height: 1.3em;
}

    .checkout-discount-msg.is-error {
        color: #D32F2F;
    }

    .checkout-discount-msg.is-success {
        color: #2e7d32;
    }

.checkout-btn-continue {
    display: inline-block;
    min-width: 140px;
    padding: 12px 24px;
    background: var(--checkout-primary);
    color: #FFFFFF;
    border: none;
    border-radius: 0;
    font-size: var(--checkout-fs-16);
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    margin-top: 0;
    width: 100%;
}

    .checkout-btn-continue:hover {
        background: var(--checkout-primary);
        color: #FFFFFF;
    }

.checkout-next-steps {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--checkout-border);
}

.checkout-next-step {
    padding: 12px 0;
    font-size: var(--checkout-fs-15);
    color: #999999;
}

.checkout-next-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 0;
    background: #e0e0e0;
    color: #999;
    font-weight: 600;
    font-size: 0.8rem;
    margin-right: 0.5rem;
}

.checkout-sidebar-card .checkout-heading {
    font-size: var(--checkout-fs-20);
    font-weight: 400;
    margin: 0 0 16px;
    color: var(--checkout-text);
}

.checkout-sidebar-title-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 5px;
}

    .checkout-sidebar-title-row .checkout-heading-sidebar {
        margin: 0;
    }

.checkout-order-count {
    font-size: var(--checkout-fs-14);
    font-weight: 400;
    color: var(--checkout-text-muted);
    flex-shrink: 0;
}

.checkout-order-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--checkout-border);
    position: relative;
    padding-right: 36px;
}

    .checkout-order-item:last-child {
        border-bottom: none;
    }

.checkout-order-item-img {
    width: 70px;
    height: 70px;
    background: var(--checkout-border);
    border-radius: 0;
    flex-shrink: 0;
    object-fit: cover;
}

.checkout-order-item-info {
    flex: 1;
    min-width: 0;
}

.checkout-order-item-name {
    font-size: var(--checkout-fs-14);
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--checkout-text);
}

.checkout-order-item-delivery {
    font-size: var(--checkout-fs-12);
    font-weight: 400;
    color: var(--checkout-text-muted);
    margin: 0 0 4px;
}

    .checkout-order-item-delivery:empty {
        display: none;
    }

.checkout-order-item-price {
    font-size: var(--checkout-fs-14);
    color: var(--checkout-price);
    margin: 0;
}

    .checkout-order-item-price span:first-of-type {
        color: inherit;
        font-weight: inherit;
    }

.checkout-order-summary {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 2px solid var(--checkout-border);
    font-size: var(--checkout-fs-14);
    color: var(--checkout-text);
}

    .checkout-order-summary .checkout-summary-row {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        margin-bottom: 8px;
        font-size: var(--checkout-fs-14);
    }

        .checkout-order-summary .checkout-summary-row span:first-child {
            font-weight: 400;
            color: var(--checkout-text);
            text-align: left;
        }

        .checkout-order-summary .checkout-summary-row:not(.checkout-summary-total) span:last-child {
            font-weight: 700;
            color: var(--checkout-text);
            text-align: right;
        }

    .checkout-order-summary .checkout-summary-row-thick-border {
        margin-top: 0;
    }

    .checkout-order-summary .checkout-summary-total {
        margin-top: 12px;
        padding-top: 12px;
        border-top: 2px solid var(--checkout-border);
        margin-bottom: 0;
    }

        .checkout-order-summary .checkout-summary-total strong {
            font-weight: 700;
            color: var(--checkout-text);
        }

.checkout-help-text {
    font-size: var(--checkout-fs-14);
    color: var(--checkout-text);
    margin: 0 0 8px;
}

.checkout-help-link {
    color: var(--checkout-link);
    text-decoration: none;
    font-size: var(--checkout-fs-14);
}

    .checkout-help-link:hover {
        text-decoration: underline;
        color: var(--checkout-link-hover);
    }

.checkout-svea-detail {
    font-size: var(--checkout-fs-14);
    color: var(--checkout-text);
    margin: 0 0 8px;
}

.checkout-svea-detail-link {
    color: var(--checkout-link);
    text-decoration: none;
    font-size: var(--checkout-fs-14);
    display: inline-block;
    margin-top: 4px;
}

    .checkout-svea-detail-link:hover {
        text-decoration: underline;
        color: var(--checkout-link-hover);
    }

.checkout-guarantees-box {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    padding: 20px 16px;
    background: #FAFAFA;
    border: 1px solid var(--checkout-border);
}

.checkout-guarantee-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: var(--checkout-fs-12);
    color: var(--checkout-text);
    gap: 8px;
}

.checkout-guarantee-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
}

    .checkout-guarantee-icon svg {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

.checkout-guarantee-icon-secure {
    background: #E6FAED;
    color: var(--checkout-price-free);
}

.checkout-guarantee-icon-delivery {
    background: #E3F2FD;
    color: #1976D2;
}

.checkout-guarantee-icon-return {
    background: #F3E5F5;
    color: #7B1FA2;
}

.checkout-order-item-remove {
    position: absolute;
    top: 5px;
    right: 0;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: var(--checkout-text-muted);
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

    .checkout-order-item-remove:hover {
        color: var(--checkout-text);
    }

/* Checkout loader – top progress bar + overlay; short transition so it feels snappy */
.checkout-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.12s ease-out;
}

    .checkout-loader.is-active {
        pointer-events: auto;
        opacity: 1;
    }

.checkout-loader-bar {
    height: 3px;
    width: 100%;
    background: var(--checkout-border);
    overflow: hidden;
}

    .checkout-loader-bar::after {
        content: '';
        display: block;
        height: 100%;
        width: 28%;
        min-width: 120px;
        background: linear-gradient(90deg, var(--checkout-primary) 0%, var(--checkout-link) 50%, var(--checkout-primary) 100%);
        background-size: 200% 100%;
        animation: checkout-loader-shimmer 1.2s ease-in-out infinite;
    }

.checkout-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-loader-spinner {
    width: 44px;
    height: 44px;
    border: 3px solid var(--checkout-border);
    border-top-color: var(--checkout-primary);
    border-radius: 50%;
    animation: checkout-loader-spin 0.8s linear infinite;
}

@keyframes checkout-loader-shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(400%);
    }
}

@keyframes checkout-loader-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ── Delivery groups ───────────────────────────────────────────────── */

.checkout-delivery-group {
    margin-bottom: 24px;
}

.checkout-delivery-group-label {
    margin: 0;
    padding: 8px 16px;
    font-size: var(--checkout-fs-11);
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--checkout-text-muted);
    border-bottom: 1px solid var(--checkout-border);
    background: var(--checkout-bg-beige);
}

.checkout-delivery-group .checkout-delivery-options {
    margin-bottom: 0;
}

/* item row above delivery options (step 3) */
.checkout-delivery-item-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid var(--checkout-border);
    border-bottom: none;
    background: var(--checkout-bg);
}

.checkout-delivery-item-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    flex-shrink: 0;
    background: #fff;
}

.checkout-delivery-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.checkout-delivery-item-name {
    font-size: var(--checkout-fs-15);
    font-weight: 700;
    color: var(--checkout-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.checkout-delivery-item-time {
    font-size: var(--checkout-fs-13);
    color: var(--checkout-text-muted);
}

.checkout-delivery-options-box {
    margin-top: 0;
    margin-bottom: 10px;
}

/* store-pickup dropdown */
.checkout-store-wrap {
    padding: 12px 0px;
    background: var(--checkout-bg-beige);
    border-top: 1px solid var(--checkout-border);
}

.checkout-store-select-label {
    display: block;
    font-size: var(--checkout-fs-13);
    font-weight: 600;
    color: var(--checkout-text);
    margin-bottom: 0px;
}

.checkout-store-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--checkout-border-dark);
    border-radius: 0;
    font-size: var(--checkout-fs-14);
    background: var(--checkout-bg);
    color: var(--checkout-text);
    cursor: pointer;
    appearance: auto;
}

/* item summary at bottom of group */
.checkout-delivery-group-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-top: 1px solid var(--checkout-border);
    background: var(--checkout-bg-beige);
}

.checkout-delivery-group-item-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
    background: #fff;
}

.checkout-delivery-group-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.checkout-delivery-group-item-name {
    font-size: var(--checkout-fs-13);
    font-weight: 600;
    color: var(--checkout-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.checkout-delivery-group-item-delivery {
    font-size: var(--checkout-fs-12);
    color: var(--checkout-text-muted);
}

/* loading / error states */
.checkout-delivery-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 28px 16px;
    color: var(--checkout-text-muted);
    font-size: var(--checkout-fs-14);
}

.checkout-delivery-loading-text::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 8px;
    vertical-align: middle;
    border: 2px solid var(--checkout-border);
    border-top-color: var(--checkout-primary);
    border-radius: 50%;
    animation: checkout-loader-spin 0.8s linear infinite;
}

.checkout-delivery-fetch-error {
    margin: 6px 0 0;
    font-size: var(--checkout-fs-13);
    color: #d32f2f;
}

.checkout-storepickup-wrap {
    background: #fff;
}

.checkout-storepickup-info {
    background: #eef3ff;
    border-left: 3px solid #2f6ff0;
    padding: 14px 16px;
    margin-bottom: 12px;
}

.checkout-storepickup-info-title {
    font-size: var(--checkout-fs-16);
    font-weight: 400;
    margin-bottom: 4px;
}

.checkout-storepickup-info-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.checkout-storepickup-info-title-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #2B7FFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.checkout-storepickup-info-text {
    font-size: var(--checkout-fs-14);
    color: var(--checkout-text-muted);
}

.checkout-storepickup-info-bullets {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: flex-start;
    margin-top: 10px;
}

.checkout-storepickup-info-bullet {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    font-size: var(--checkout-fs-13);
    color: var(--checkout-text-muted);
    white-space: nowrap;
}

.checkout-storepickup-info-bullet-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.checkout-storepickup-list {
    border: 1px solid var(--checkout-border);
    margin-top: 10px;
}

.checkout-storepickup-choice-list {
    border: 1px solid var(--checkout-border);
    margin-top: 5px;
    max-height: 275px;
    overflow-y: auto;
    background: #fff;
}

.checkout-storepickup-card {
    display: block;
    width: 100%;
    text-align: left;
    border: 0;
    background: #fff;
    cursor: pointer;
    padding: 10px 12px 12px 12px;
    border-bottom: 1px solid var(--checkout-border);
    font: inherit;
}

.checkout-storepickup-card--pickup {
    background: #EFF6FF;
}

    .checkout-storepickup-card--pickup:hover {
        background: #E0F0FF;
    }

.checkout-storepickup-card--store {
    background: #fff;
    border-bottom: 1px solid var(--checkout-border);
}

.checkout-storepickup-card:last-child {
    border-bottom: 0;
}

.checkout-storepickup-card:hover {
    background: #f9fbff;
}

.checkout-storepickup-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: var(--checkout-fs-14);
}

.checkout-storepickup-card-top-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.checkout-storepickup-card-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.checkout-storepickup-card-eta {
    font-size: var(--checkout-fs-12);
    color: #6b7280;
    flex-shrink: 0;
}

.checkout-storepickup-card-name {
    font-size: var(--checkout-fs-14);
    font-weight: 500;
    color: var(--checkout-text);
}

.checkout-storepickup-card-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border: 1px solid;
    border-radius: 2px;
    font-size: var(--checkout-fs-12);
    line-height: 1.1;
    font-weight: 700;
    flex-shrink: 0;
}

.checkout-storepickup-badge-store {
    background: #fff;
    border-color: #b7e6c3;
    color: #0f7b3a;
    line-height: 1;
    font-size: 10px;
}

.checkout-storepickup-badge-pickup {
    background: #f1f5ff;
    border-color: #8ab4ff;
    color: #1f5ed6;
    line-height: 1;
    font-size: 10px;
}

.checkout-storepickup-card-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: var(--checkout-fs-12);
    color: #374151;
}

.checkout-storepickup-card-meta-text {
    line-height: 1.35;
}

.checkout-storepickup-card-meta-row .checkout-storepickup-icon {
    flex-shrink: 0;
}

.checkout-storepickup-icon {
    flex-shrink: 0;
}

.checkout-storepickup-card-note {
    margin-top: 8px;
    font-size: var(--checkout-fs-13);
    color: #1f5ed6;
}

.checkout-storepickup-nb {
    margin-top: 8px;
    font-size: var(--checkout-fs-13);
    color: #155DFC;
}

.checkout-storepickup-selected {
    margin-top: 12px;
    background: #eaf6ef;
    border: 1px solid #b7e6c3;
    padding: 12px;
}

.checkout-storepickup-selected-title {
    color: #0D542B;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}

.checkout-storepickup-selected-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

[data-mpc="true"] .checkout-storepickup-selected-title-row {
    justify-content: space-between;
    gap: 12px;
}

.checkout-mpc-selected-change {
    margin-left: auto;
    color: var(--checkout-link);
    text-decoration: underline;
    white-space: nowrap;
    font-size: var(--checkout-fs-13);
}

.checkout-storepickup-selected-icon {
    flex-shrink: 0;
}

.checkout-storepickup-selected-name {
    color: #016630;
    font-family: "Mark OT";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.checkout-storepickup-selected-address,
.checkout-storepickup-selected-hours {
    color: #008236;
    font-family: "Mark OT";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.checkout-storepickup-selected-note {
    color: #1f5ed6;
    margin-top: 4px;
}

.checkout-storepickup-selected-eta {
    color: #00A63E;
    font-family: "Mark OT";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
}

.checkout-storepickup-link {
    color: #155DFC;
    font-family: "Mark OT";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

/* ── MyPackCollect (PostNord) modal ─────────────────────────────────── */

.checkout-mpc-modal[hidden] {
    display: none;
}

.checkout-mpc-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
}

.checkout-mpc-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.checkout-mpc-panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: min(780px, 96vw);
    background: #fff;
    box-shadow: -8px 0 24px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
}

.checkout-mpc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--checkout-border);
}

.checkout-mpc-title {
    font-size: var(--checkout-fs-18);
    font-weight: 700;
    color: var(--checkout-text);
}

.checkout-mpc-close {
    border: 0;
    background: transparent;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    color: var(--checkout-text);
}

.checkout-mpc-body {
    padding: 14px 16px 18px;
    overflow: hidden;
    flex: 1;
    display: flex;
    min-height: 0;
}

.checkout-mpc-split {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 14px;
    align-items: stretch;
    width: 100%;
    flex: 1;
    min-height: 0;
}

.checkout-mpc-map {
    height: 100%;
    min-height: 0;
    border: 1px solid var(--checkout-border);
    background: #f1f1f1;
}

.checkout-mpc-listcol {
    min-width: 0;
    overflow: auto;
    min-height: 0;
}

/* MyPackCollect modal should not inherit StorePickup list max-height */
.checkout-mpc-modal .checkout-mpc-listcol .checkout-storepickup-choice-list {
    max-height: none;
    overflow: visible;
    border: 0;
    margin-top: 0;
}

@media (max-width: 768px) {
    .checkout-mpc-split {
        grid-template-columns: 1fr;
    }

    .checkout-mpc-map {
        height: 260px;
    }
}

.checkout-mpc-hint {
    font-size: var(--checkout-fs-13);
    color: var(--checkout-text-muted);
    margin-bottom: 12px;
}

.checkout-mpc-searchrow {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.checkout-mpc-input {
    flex: 1;
    border: 1px solid var(--checkout-border);
    padding: 10px 12px;
    font: inherit;
}

.checkout-mpc-searchbtn {
    border: 1px solid var(--checkout-primary);
    background: var(--checkout-primary);
    color: #fff;
    padding: 10px 14px;
    cursor: pointer;
    font: inherit;
    white-space: nowrap;
}

.checkout-mpc-status {
    font-size: var(--checkout-fs-13);
    color: var(--checkout-text-muted);
    margin-bottom: 10px;
}

.checkout-mpc-store {
    border: 1px solid var(--checkout-border);
    padding: 12px;
    margin-bottom: 10px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: start;
}

.checkout-mpc-store-top {
    min-width: 0;
}

.checkout-mpc-store-title-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: baseline;
}

.checkout-mpc-store-name {
    font-size: var(--checkout-fs-14);
    font-weight: 700;
    color: var(--checkout-text-dark);
}

.checkout-mpc-store-distance {
    font-size: var(--checkout-fs-12);
    color: var(--checkout-text-muted);
    white-space: nowrap;
}

.checkout-mpc-store-address {
    margin-top: 6px;
    font-size: var(--checkout-fs-13);
    color: var(--checkout-text);
}

.checkout-mpc-store-hours-toggle {
    margin-top: 8px;
    border: 0;
    background: transparent;
    padding: 0;
    color: var(--checkout-link);
    text-decoration: underline;
    cursor: pointer;
    font: inherit;
    font-size: var(--checkout-fs-13);
}

.checkout-mpc-hours {
    margin-top: 8px;
    border-top: 1px solid var(--checkout-border);
    padding-top: 8px;
}

.checkout-mpc-hours-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: var(--checkout-fs-13);
    color: var(--checkout-text);
    padding: 2px 0;
}

.checkout-mpc-hours-day {
    color: var(--checkout-text-medium);
}

.checkout-mpc-store-actions {
    display: flex;
    align-items: start;
}

.checkout-mpc-pick-btn {
    border: 1px solid var(--checkout-primary);
    background: var(--checkout-primary);
    color: #fff;
    padding: 7px 10px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    font-size: var(--checkout-fs-13);
    line-height: 1.1;
    white-space: nowrap;
    border-radius: 2px;
}

    .checkout-mpc-pick-btn:hover {
        filter: brightness(0.95);
    }

.checkout-mpc-inline-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 16px;
    margin-bottom: 10px;
}

.checkout-mpc-inline-btn {
    border: 1px solid var(--checkout-border-dark);
    background: #fff;
    padding: 10px 12px;
    flex: 1;
    width: auto;
    text-align: left;
    cursor: pointer;
    font: inherit;
}

.checkout-mpc-inline-change {
    color: var(--checkout-link);
    text-decoration: underline;
    white-space: nowrap;
}

/* --- Order Confirmation (Skeidar.Web exact match) --- */
.order-confirmation {
    position: relative;
    padding-bottom: 20px;
}

.order-confirmation__header {
    background-color: #eef9ea; /* $lightgreen */
    width: 100vw;
    position: relative;
    padding: 12px 30px 24px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-bottom: 30px;
    text-align: center;
}

.order-confirmation__header__content {
    max-width: 680px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .order-confirmation__header__content {
        padding: 25px 30px;
    }
}

.order-confirmation__heading {
    font-size: 20px;
    line-height: 23px;
    text-transform: uppercase;
    margin: 0 0 17px;
}

.order-confirmation__light-heading {
    font-size: 20px;
    line-height: 23px;
    margin: 0;
}

.order-confirmation__reference {
    margin-bottom: 0;
    font-size: 14px;
}

.order-confirmation__intro {
    margin-bottom: 16px;
    text-align: center;
}

.order-confirmation__date {
    margin: 0;
    font-size: 16px;
}

.order-confirmation__delivery,
.order-confirmation__summary,
.order-confirmation__details {
    max-width: 680px;
    margin: 0 auto;
}

.order-confirmation__delivery {
    border: 2px solid #000000; /* $black */
    padding: 12px;
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .order-confirmation__delivery {
        padding: 12px 18px;
        margin-bottom: 30px;
    }
}

.order-confirmation__sub-heading,
.order-confirmation__details-heading {
    font-size: 18px;
    line-height: 23px;
    margin: 0;
}

.order-confirmation__details-heading {
    text-transform: uppercase;
    margin-bottom: 10px;
}

.order-confirmation__description {
    margin: 0;
    font-size: 14px;
}

.order-confirmation__items {
    margin-top: 10px;
}

.order-confirmation__item {
    display: flex;
    padding: 8px 0;
    border-bottom: 1px solid #cecece; /* $lightborder */
    font-size: 14px;
}

    .order-confirmation__item:first-child {
        padding: 16px 0 8px;
    }

    .order-confirmation__item:last-child {
        padding: 8px 0 0;
        border-bottom: 0;
    }

    .order-confirmation__item:first-child:last-child {
        padding: 16px 0 0;
        border-bottom: 0;
    }

.order-confirmation__item__image {
    margin-right: 12px;
    flex: 0 0 80px; /* Stronger width constraint for mobile */
    max-width: 120px;
}

    .order-confirmation__item__image img {
        max-width: 100%;
        height: auto;
        display: block;
    }

@media (min-width: 768px) {
    .order-confirmation__item__image {
        flex: 0 0 260px;
        max-width: 260px;
        margin-right: 16px;
    }
}

.order-confirmation__item__link {
    color: #000000;
    text-decoration: none;
    font-weight: 700;
}

.order-confirmation__item__price {
    margin-left: auto;
}

.order-confirmation__summary {
    width: 100%;
    line-height: 20px;
    margin-bottom: 30px;
    border-collapse: collapse;
}

@media (min-width: 768px) {
    .order-confirmation__summary {
        margin-bottom: 55px;
    }
}

.order-confirmation__summary td {
    padding: 4px 0;
}

    .order-confirmation__summary td:last-child {
        text-align: right;
    }

.order-confirmation__summary__spacer td {
    padding-bottom: 6px;
}

.order-confirmation__summary__total {
    font-size: 18px;
    font-weight:700;
}

    .order-confirmation__summary__total td {
        border-top: 1px solid #000000;
        padding-top: 20px;
    }

.order-confirmation__details {
    margin-top: 20px;
}

.order-confirmation__details__wrapper {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.order-confirmation__details__column {
    padding: 0 15px;
    margin-bottom: 25px;
    width: 100%;
    font-size: 14px;
}

@media (min-width: 768px) {
    .order-confirmation__details__column {
        width: 50%;
    }
}

.order-confirmation__details__column p {
    margin: 0 0 10px;
    line-height: 1.5;
}

.order-confirmation__details__column__notification {
    margin-bottom: 5px;
    margin-top: 10px;
}

.order-confirmation__details__column__notification__message {
    display: block;
    background: rgba(255, 76, 76, 0.1);
    border: 1px solid #ff4c4c; /* $red */
    padding: 8px 15px;
    font-weight: 500;
    color: #ff4c4c;
}

.order-confirmation__note {
    margin: 30px auto 0;
    max-width: 500px;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
}

    .order-confirmation__note a {
        color: #000000;
        text-decoration: underline;
    }

.order-confirmation__btn-container {
    text-align: center;
    margin-top: 40px;
    padding-bottom: 40px;
}

.order-confirmation__btn {
    display: inline-block;
    background: #000000;
    color: #ffffff;
    padding: 14px 40px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: background 0.2s;
}

    .order-confirmation__btn:hover {
        background: #333333;
    }

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
}

.order-confirmation .strong {
    font-weight: 700;
}
