/*
 * OnePageCheckout — dynamic step-wizard layout
 *
 * IMPORTANT: everything in this file is scoped under
 * `#checkoutView.checkout-dynamic-mode`. That class is added at runtime by
 * checkout_wizard.js, and only when the "Checkout Layout" component field is
 * set to "Moderne". If the JS doesn't run for any reason, this stylesheet
 * has zero effect and the page renders exactly as the classic layout does.
 */

#checkoutView.checkout-dynamic-mode {
    --opc-accent: #e8892a;
    --opc-accent-dark: #c96f18;
    --opc-button-bg: #2fa360;
    --opc-button-bg-hover: color-mix(in srgb, var(--opc-button-bg) 85%, black);
    --opc-button-text: #ffffff;
    --opc-ink: #22201c;
    --opc-muted: #8a8478;
    --opc-surface: #ffffff;
    --opc-surface-muted: #faf8f4;
    --opc-accent-soft: color-mix(in srgb, var(--opc-accent) 10%, transparent);
    --opc-border: color-mix(in srgb, var(--opc-ink) 10%, transparent);
    --opc-border-soft: color-mix(in srgb, var(--opc-ink) 6%, transparent);
    --opc-radius-lg: 16px;
    --opc-radius: 12px;
    --opc-radius-sm: 8px;
    --opc-shadow-sm: 0 1px 2px rgba(20, 18, 14, 0.04);
    --opc-shadow: 0 1px 2px rgba(20, 18, 14, 0.04), 0 12px 28px -14px rgba(20, 18, 14, 0.22);
    color: var(--opc-ink);
}

/* Progress bar */
#checkoutView.checkout-dynamic-mode .opc-progress {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 720px;
    margin: 10px auto 40px;
    padding: 0 10px;
}

#checkoutView.checkout-dynamic-mode .opc-progress-step {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    cursor: default;
}

#checkoutView.checkout-dynamic-mode .opc-progress-step.is-reachable {
    cursor: pointer;
}

#checkoutView.checkout-dynamic-mode .opc-progress-step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 18px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--opc-border);
    z-index: 0;
    transition: background-color 0.25s ease;
}

#checkoutView.checkout-dynamic-mode .opc-progress-step.is-complete:not(:last-child):after {
    background: var(--opc-accent);
}

#checkoutView.checkout-dynamic-mode .opc-progress-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--opc-surface);
    border: 2px solid var(--opc-border);
    color: var(--opc-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    position: relative;
    z-index: 1;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

#checkoutView.checkout-dynamic-mode .opc-progress-step.is-current .opc-progress-dot {
    border-color: var(--opc-accent);
    color: var(--opc-accent);
    background: var(--opc-surface);
    box-shadow: 0 0 0 4px var(--opc-accent-soft);
}

#checkoutView.checkout-dynamic-mode .opc-progress-step.is-complete .opc-progress-dot {
    border-color: var(--opc-accent);
    background: var(--opc-accent);
    color: #fff;
}

#checkoutView.checkout-dynamic-mode .opc-progress-label {
    margin-top: 8px;
    font-size: 11.5px;
    color: var(--opc-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: color 0.2s ease;
}

#checkoutView.checkout-dynamic-mode .opc-progress-step.is-current .opc-progress-label {
    color: var(--opc-ink);
}

/* Cart view (order overview) top bar + wizard back link */
#checkoutView.checkout-dynamic-mode .opc-back-to-store,
#checkoutView.checkout-dynamic-mode .opc-back-to-cart {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--opc-muted);
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: color 0.15s ease;
}
#checkoutView.checkout-dynamic-mode .opc-back-to-cart {
    margin-bottom: 22px;
}
#checkoutView.checkout-dynamic-mode .opc-back-to-store:hover,
#checkoutView.checkout-dynamic-mode .opc-back-to-cart:hover {
    color: var(--opc-ink);
}

#checkoutView.checkout-dynamic-mode h2.text-center {
    font-weight: 600;
    margin-bottom: 24px;
}

/* Cart / order-overview table */
#checkoutView.checkout-dynamic-mode .opc-cart-view table.table {
    background: var(--opc-surface);
    border: 1px solid var(--opc-border);
    border-radius: var(--opc-radius);
    overflow: hidden;
    box-shadow: var(--opc-shadow-sm);
    border-collapse: separate;
    border-spacing: 0;
}
#checkoutView.checkout-dynamic-mode .opc-cart-view table.table.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: var(--opc-surface-muted);
}
#checkoutView.checkout-dynamic-mode #checkoutHeaders th {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.05em;
    color: var(--opc-muted);
    font-weight: 700;
    padding-top: 16px;
    padding-bottom: 16px;
}
#checkoutView.checkout-dynamic-mode #checkoutLines > tr > td {
    padding-top: 16px;
    padding-bottom: 16px;
    border-color: var(--opc-border-soft);
}
#checkoutView.checkout-dynamic-mode .quantity-box > .quantity-adj {
    border-radius: 50%;
    border: 1px solid var(--opc-border);
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: var(--opc-surface);
}
#checkoutView.checkout-dynamic-mode .quantity-box > .quantity-adj:hover {
    background: var(--opc-surface-muted);
    border-color: var(--opc-muted);
}
#checkoutView.checkout-dynamic-mode .quantity-box > .quantity-input {
    border-radius: var(--opc-radius-sm);
    border-color: var(--opc-border);
    text-align: center;
}
#checkoutView.checkout-dynamic-mode tfoot.basketFooter {
    background: var(--opc-surface-muted);
}
#checkoutView.checkout-dynamic-mode tfoot.basketFooter td {
    padding: 18px 20px;
    border-top: 1px solid var(--opc-border);
}
#checkoutView.checkout-dynamic-mode tfoot.basketFooter span.basketTotalAmountCaption .basketTotalAmountToPay {
    color: var(--opc-ink);
}

#checkoutView.checkout-dynamic-mode .opc-cart-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0 10px;
}
#checkoutView.checkout-dynamic-mode #btn-empty-basket {
    background: transparent;
    border: 1px solid rgba(220, 53, 69, 0.35);
    color: #dc3545;
    border-radius: var(--opc-radius-sm);
    font-weight: 600;
    padding: 8px 16px;
    transition: background-color 0.15s ease;
}
#checkoutView.checkout-dynamic-mode #btn-empty-basket:hover {
    background: rgba(220, 53, 69, 0.08);
}
#checkoutView.checkout-dynamic-mode .opc-continue-btn {
    background-color: var(--opc-button-bg);
    color: var(--opc-button-text);
    border-radius: var(--opc-radius-sm);
    font-weight: 700;
    padding: 12px 22px;
    box-shadow: var(--opc-shadow-sm);
    border: none;
    transition: box-shadow 0.12s ease, background-color 0.12s ease;
}
#checkoutView.checkout-dynamic-mode .opc-continue-btn:hover,
#checkoutView.checkout-dynamic-mode .opc-continue-btn:focus {
    background-color: var(--opc-button-bg-hover);
    color: var(--opc-button-text);
    box-shadow: var(--opc-shadow);
}

/* Wizard grid: main step content (left) + persistent summary (right) */
#checkoutView.checkout-dynamic-mode .opc-wizard-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 36px;
    align-items: start;
}

#checkoutView.checkout-dynamic-mode .opc-wizard-main {
    grid-column: 1;
    min-width: 0;
    padding: 0 15px;
    box-sizing: border-box;
}

#checkoutView.checkout-dynamic-mode .opc-wizard-main > .row {
    display: none;
}
#checkoutView.checkout-dynamic-mode .opc-wizard-main > .row.opc-active {
    display: block;
    animation: opc-fade-in 0.2s ease;
}

@keyframes opc-fade-in {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

#checkoutView.checkout-dynamic-mode .opc-step-nav {
    display: flex;
    justify-content: flex-start;
    margin: 30px 0 10px;
    padding-top: 20px;
    border-top: 1px solid var(--opc-border);
}
#checkoutView.checkout-dynamic-mode .opc-step-prev {
    background: transparent;
    border: 1px solid var(--opc-border);
    color: var(--opc-ink);
    border-radius: var(--opc-radius-sm);
    font-weight: 600;
    padding: 10px 18px;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}
#checkoutView.checkout-dynamic-mode .opc-step-prev:hover {
    background: var(--opc-surface-muted);
    border-color: var(--opc-muted);
}

/* Form fields (Information step) */
#checkoutView.checkout-dynamic-mode #checkoutForm .control-label,
#checkoutView.checkout-dynamic-mode #checkoutForm label.form-check-label {
    font-weight: 600;
    font-size: 13px;
    color: var(--opc-ink);
}
#checkoutView.checkout-dynamic-mode #checkoutForm input.form-control,
#checkoutView.checkout-dynamic-mode #checkoutForm select.form-control,
#checkoutView.checkout-dynamic-mode #checkoutForm textarea.form-control {
    border: 1px solid var(--opc-border);
    border-radius: var(--opc-radius-sm);
    padding: 10px 14px;
    font-size: 14px !important;
    background: var(--opc-surface);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
#checkoutView.checkout-dynamic-mode #checkoutForm input.form-control:focus,
#checkoutView.checkout-dynamic-mode #checkoutForm select.form-control:focus,
#checkoutView.checkout-dynamic-mode #checkoutForm textarea.form-control:focus {
    border-color: var(--opc-accent);
    box-shadow: 0 0 0 3px var(--opc-accent-soft);
    outline: none;
}

#checkoutView.checkout-dynamic-mode #checkoutForm .input-group input.form-control,
#checkoutView.checkout-dynamic-mode #checkoutForm input#e-mail {
    border-radius: var(--opc-radius-sm) 0 0 var(--opc-radius-sm);
    border-right: none;
    height: 42px;
}

#checkoutView.checkout-dynamic-mode #checkoutForm .input-group .input-group-btn:last-child > .btn,
#checkoutView.checkout-dynamic-mode #btn-get-customer-data {
    background-color: var(--opc-button-bg);
    color: var(--opc-button-text);
    border-color: var(--opc-button-bg);
    border-radius: 0 var(--opc-radius-sm) var(--opc-radius-sm) 0;
    font-weight: 700;
    padding: 10px 18px;
    transition: background-color 0.12s ease;
}
#checkoutView.checkout-dynamic-mode #checkoutForm .input-group .input-group-btn:last-child > .btn:hover,
#checkoutView.checkout-dynamic-mode #btn-get-customer-data:hover {
    background-color: var(--opc-button-bg-hover);
    border-color: var(--opc-button-bg-hover);
    color: var(--opc-button-text);
}

/* Warranty box "Tilføj til kurv" button, shown in the cart view - same
   Bootstrap .btn-success default as the others above. */
#checkoutView.checkout-dynamic-mode #add_warranty {
    background-color: var(--opc-button-bg);
    border-color: var(--opc-button-bg);
    color: var(--opc-button-text);
}
#checkoutView.checkout-dynamic-mode #add_warranty:hover {
    background-color: var(--opc-button-bg-hover);
    border-color: var(--opc-button-bg-hover);
    color: var(--opc-button-text);
}

/* Toggle rows: "Virksomhed", "Bemærkninger", "Levering til anden adresse", "Rabatkode" */
#checkoutView.checkout-dynamic-mode .checkbox-container {
    background: var(--opc-surface);
    border: 1px solid var(--opc-border);
    border-radius: var(--opc-radius);
    margin-top: 12px;
    padding: 16px 18px;
    transition: border-color 0.15s ease;
}
#checkoutView.checkout-dynamic-mode .checkbox-container:hover {
    border-color: var(--opc-muted);
}
#checkoutView.checkout-dynamic-mode .checkbox-container > div:first-child > input {
    width: 18px;
    height: 18px;
    accent-color: var(--opc-accent);
    cursor: pointer;
}
#checkoutView.checkout-dynamic-mode .checkbox-container > div:first-child > label {
    font-weight: 600;
    cursor: pointer;
}
#checkoutView.checkout-dynamic-mode .checkbox-container > div.form-group-container {
    border-top: 1px solid var(--opc-border-soft);
    margin-top: 14px;
}

/* Freight / payment option cards (.radio) */
#checkoutView.checkout-dynamic-mode #levering,
#checkoutView.checkout-dynamic-mode #betaling {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
#checkoutView.checkout-dynamic-mode .radio {
    width: auto;
    float: none;
    margin: 0 !important;
    border: 1px solid var(--opc-border);
    border-radius: var(--opc-radius);
    box-shadow: var(--opc-shadow-sm);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
    position: relative;
}
#checkoutView.checkout-dynamic-mode .radio:hover {
    border-color: var(--opc-muted);
    box-shadow: var(--opc-shadow);
    background-color: var(--opc-surface);
}
#checkoutView.checkout-dynamic-mode .radio:has(input:checked) {
    border-color: var(--opc-accent);
    background-color: var(--opc-accent-soft);
    box-shadow: 0 0 0 1px var(--opc-accent);
}
#checkoutView.checkout-dynamic-mode .radio > div:first-child > div:first-child > input {
    width: 20px;
    height: 20px;
    accent-color: var(--opc-accent);
    cursor: pointer;
}
#checkoutView.checkout-dynamic-mode .radio label.control-label {
    cursor: pointer;
    font-weight: 500;
}
#checkoutView.checkout-dynamic-mode .radio > div > div:nth-child(3) > span {
    font-weight: 700;
    white-space: nowrap;
}

#checkoutView.checkout-dynamic-mode .radio > div:first-child + * {
    border-top: 1px solid var(--opc-border-soft);
    padding-top: 14px;
    margin-top: 4px;
}
#checkoutView.checkout-dynamic-mode .radio > .no-packaging-checkbox,
#checkoutView.checkout-dynamic-mode .radio > select,
#checkoutView.checkout-dynamic-mode .radio > textarea {
    display: block;
    margin-left: 16px;
    margin-right: 16px;
    margin-bottom: 16px;
    box-sizing: border-box;
}
#checkoutView.checkout-dynamic-mode .radio > .no-packaging-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--opc-muted);
}
#checkoutView.checkout-dynamic-mode .radio > .no-packaging-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--opc-accent);
    cursor: pointer;
    flex-shrink: 0;
}
#checkoutView.checkout-dynamic-mode .radio > .no-packaging-checkbox label {
    cursor: pointer;
    font-weight: 400;
    margin: 0;
}
#checkoutView.checkout-dynamic-mode .radio > select,
#checkoutView.checkout-dynamic-mode .radio > textarea {
    width: calc(100% - 32px);
    border: 1px solid var(--opc-border);
    border-radius: var(--opc-radius-sm);
    padding: 10px 12px;
    font-size: 13px;
    background: var(--opc-surface);
    color: var(--opc-ink);
    font-family: inherit;
}
#checkoutView.checkout-dynamic-mode .radio > select:focus,
#checkoutView.checkout-dynamic-mode .radio > textarea:focus {
    border-color: var(--opc-accent);
    box-shadow: 0 0 0 3px var(--opc-accent-soft);
    outline: none;
}
#checkoutView.checkout-dynamic-mode .radio > textarea {
    resize: vertical;
    min-height: 60px;
}

@media (max-width: 991px) {
    #checkoutView.checkout-dynamic-mode #levering,
    #checkoutView.checkout-dynamic-mode #betaling {
        grid-template-columns: 1fr;
    }
}

/* Order summary sidebar, always visible, sticky within the wizard view. */
#checkoutView.checkout-dynamic-mode .step5Container {
    grid-column: 2;
    align-self: start;
    position: sticky;
    top: 20px;
    background: var(--opc-surface);
    border: 1px solid var(--opc-border);
    border-radius: var(--opc-radius-lg);
    box-shadow: var(--opc-shadow);
    padding: 22px 22px 24px;
}
#checkoutView.checkout-dynamic-mode .step5Container h2 {
    font-size: 17px;
    font-weight: 700;
    text-align: left !important;
    margin: 0 0 14px;
}

/* Product list, shown above the price breakdown */
#checkoutView.checkout-dynamic-mode .opc-summary-products {
    max-height: 280px;
    overflow-y: auto;
    margin-bottom: 16px;
    padding-right: 4px;
}
#checkoutView.checkout-dynamic-mode .opc-summary-product {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--opc-border-soft);
}
#checkoutView.checkout-dynamic-mode .opc-summary-product:first-child {
    padding-top: 0;
}
#checkoutView.checkout-dynamic-mode .opc-summary-product-img {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: var(--opc-radius-sm);
    background-color: var(--opc-surface-muted);
    background-size: cover;
    background-position: center;
    border: 1px solid var(--opc-border-soft);
}
#checkoutView.checkout-dynamic-mode .opc-summary-product-info {
    flex: 1;
    min-width: 0;
}
#checkoutView.checkout-dynamic-mode .opc-summary-product-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--opc-ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#checkoutView.checkout-dynamic-mode .opc-summary-product-qty {
    font-size: 12px;
    color: var(--opc-muted);
}
#checkoutView.checkout-dynamic-mode .opc-summary-product-price {
    font-size: 13px;
    font-weight: 600;
    color: var(--opc-ink);
    white-space: nowrap;
    flex-shrink: 0;
}

#checkoutView.checkout-dynamic-mode .step5Container table.table {
    margin-bottom: 0;
}
#checkoutView.checkout-dynamic-mode .step5Container table.table td {
    border: none;
    padding: 7px 0;
    font-size: 13.5px;
    color: var(--opc-muted);
}
#checkoutView.checkout-dynamic-mode .step5Container table.table td.text-right {
    color: var(--opc-ink);
    font-weight: 600;
    text-align: right;
}
#checkoutView.checkout-dynamic-mode .step5Container table.table tr:last-child {
    border-top: 1px solid var(--opc-border);
}
#checkoutView.checkout-dynamic-mode .step5Container table.table tr:last-child td {
    padding-top: 14px;
    color: var(--opc-ink);
}
#checkoutView.checkout-dynamic-mode .step5Container table.table tr:last-child h3 {
    margin: 0;
    font-size: 20px;
}
#checkoutView.checkout-dynamic-mode .step5Container hr {
    margin: 14px 0;
    border-color: var(--opc-border);
}
#checkoutView.checkout-dynamic-mode .step5Container .form-group {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 13px;
}
#checkoutView.checkout-dynamic-mode .step5Container .form-group input[type="checkbox"] {
    width: 17px;
    height: 17px;
    margin-top: 1px;
    flex-shrink: 0;
    accent-color: var(--opc-accent);
    cursor: pointer;
}
#checkoutView.checkout-dynamic-mode .step5Container .form-group label {
    font-weight: 400;
    margin: 0;
    cursor: pointer;
    line-height: 1.4;
}

#checkoutView.checkout-dynamic-mode .opc-sidebar-next,
#checkoutView.checkout-dynamic-mode #btn-submit-order {
    width: 100%;
    height: 46px;
    background-color: var(--opc-button-bg);
    color: var(--opc-button-text);
    border-radius: var(--opc-radius-sm);
    font-weight: 700;
    margin-top: 8px;
    border: none;
    box-shadow: var(--opc-shadow-sm);
    transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.15s ease, background-color 0.12s ease;
}
#checkoutView.checkout-dynamic-mode .opc-sidebar-next:hover,
#checkoutView.checkout-dynamic-mode #btn-submit-order:not(:disabled):hover {
    background-color: var(--opc-button-bg-hover);
    color: var(--opc-button-text);
    box-shadow: var(--opc-shadow);
}
#checkoutView.checkout-dynamic-mode #btn-submit-order:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

/* Required-fields validator panel */
#checkoutView.checkout-dynamic-mode div.validator-result > div {
    box-shadow: none;
    padding: 0;
    width: auto;
    background: transparent;
}
#checkoutView.checkout-dynamic-mode div.validator-result > div > span {
    display: block;
    margin-top: 18px;
    font-size: 14px;
    font-weight: 700;
}
#checkoutView.checkout-dynamic-mode div.validator-result > div > small {
    color: var(--opc-muted);
}
#checkoutView.checkout-dynamic-mode div.validator-result > div > ul > li {
    background: #fff8ec;
    border: 1px solid rgba(232, 137, 42, 0.25);
    border-radius: var(--opc-radius-sm);
    margin: 8px 0 0;
    padding: 4px;
    transition: background-color 0.15s ease;
}
#checkoutView.checkout-dynamic-mode div.validator-result > div > ul > li:hover {
    background: #fef1dc;
}
#checkoutView.checkout-dynamic-mode div.validator-result > div > ul > li > a > span {
    font-size: 13px;
    font-weight: 500;
    color: var(--opc-ink);
}

#checkoutView.checkout-dynamic-mode ._orderStep {
    display: none;
}

#checkoutView.checkout-dynamic-mode .step2Check,
#checkoutView.checkout-dynamic-mode .step3Check,
#checkoutView.checkout-dynamic-mode .step4Check {
    display: none;
}
#checkoutView.checkout-dynamic-mode .step2Container.opc-fields-complete .step2Check,
#checkoutView.checkout-dynamic-mode .step3Container.opc-fields-complete .step3Check,
#checkoutView.checkout-dynamic-mode .step4Container.opc-fields-complete .step4Check {
    display: inline-block;
    color: var(--opc-accent);
    margin-left: 10px;
    font-size: 0.75em;
}

#checkoutView.checkout-dynamic-mode .opc-cart-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 40px 0;
    color: var(--opc-muted);
    font-size: 14px;
}
#checkoutView.checkout-dynamic-mode .opc-cart-loading-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid var(--opc-border);
    border-top-color: var(--opc-accent);
    border-radius: 50%;
    animation: opc-spin 0.7s linear infinite;
}
@keyframes opc-spin {
    to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
    #checkoutView.checkout-dynamic-mode .opc-cart-loading-spinner {
        animation: none;
    }
}

/* Hide cart view while in wizard, and vice versa */
#checkoutView.checkout-dynamic-mode.opc-showing-wizard .opc-cart-view {
    display: none;
}
#checkoutView.checkout-dynamic-mode:not(.opc-showing-wizard) .opc-wizard-grid,
#checkoutView.checkout-dynamic-mode:not(.opc-showing-wizard) .opc-progress,
#checkoutView.checkout-dynamic-mode:not(.opc-showing-wizard) .opc-back-to-cart {
    display: none;
}

@media (max-width: 991px) {
    #checkoutView.checkout-dynamic-mode .opc-wizard-grid {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column-reverse;
    }
    #checkoutView.checkout-dynamic-mode .step5Container {
        grid-column: 1;
        position: static;
        order: -1;
        margin-bottom: 24px;
        margin: auto;
    }
    #checkoutView.checkout-dynamic-mode .opc-progress-label {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    #checkoutView.checkout-dynamic-mode .opc-wizard-main > .row.opc-active,
    #checkoutView.checkout-dynamic-mode * {
        animation: none !important;
        transition: none !important;
    }
}

#levering .radio {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

#levering .radio > div {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

#levering .radio > div > div {
    min-width: 0;
    box-sizing: border-box;
}

#levering .radio label {
    white-space: normal;
    word-break: break-word;
}

#betaling .radio {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

#betaling .radio > div {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

#betaling .radio > div > div {
    min-width: 0;
    box-sizing: border-box;
}

#betaling .radio label {
    white-space: normal;
    word-break: break-word;
}