/* Manga-Mafia V147 | Visual-only Shopware 6.7 order confirmation layout.
   Explicitly limited to frontend.checkout.confirm.page. Does not alter forms,
   order processing, payment availability, taxes, alerts or voucher guard. */
body.is-active-route-frontend-checkout-confirm-page {
    --mm147-red: #ac0823;
    --mm147-red-dark: #870016;
    --mm147-ink: #24232a;
    --mm147-muted: #69666f;
    --mm147-edge: #e9e2e4;
    --mm147-surface: #fff;
    --mm147-shadow: 0 10px 34px rgba(48, 29, 38, .055);
    background: #f8f6f6;
    color: var(--mm147-ink);
}
body.is-active-route-frontend-checkout-confirm-page .content-main {
    background: linear-gradient(180deg, #fcf9f9 0, #f8f6f6 310px);
    min-height: 65vh;
}
body.is-active-route-frontend-checkout-confirm-page .header-minimal {
    background: #fff;
    border-bottom: 1px solid #eee7e9;
    box-shadow: 0 4px 22px rgba(34, 20, 24, .035);
}
body.is-active-route-frontend-checkout-confirm-page .header-minimal .container {
    max-width: 1260px;
}
body.is-active-route-frontend-checkout-confirm-page .header-minimal-row {
    min-height: 92px;
    align-items: center;
}
body.is-active-route-frontend-checkout-confirm-page .header-minimal-contact {
    font-size: 13px;
    line-height: 1.55;
    color: var(--mm147-muted);
}
body.is-active-route-frontend-checkout-confirm-page .header-minimal-back-to-shop-button {
    border: 1px solid #e4c8cf;
    border-radius: 9px;
    color: var(--mm147-red);
    background: #fff;
    font-weight: 700;
    padding: 10px 15px;
}
body.is-active-route-frontend-checkout-confirm-page .header-minimal-back-to-shop-button:hover {
    background: #fff1f4;
    border-color: var(--mm147-red);
    color: var(--mm147-red-dark);
}
body.is-active-route-frontend-checkout-confirm-page .content-main > .container {
    max-width: 1290px;
}
body.is-active-route-frontend-checkout-confirm-page .checkout {
    padding: 38px 0 74px;
    max-width: none;
}
body.is-active-route-frontend-checkout-confirm-page .checkout .checkout-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 365px);
    align-items: start;
    gap: 26px;
    margin: 0;
    width: 100%;
}
body.is-active-route-frontend-checkout-confirm-page .checkout .checkout-main,
body.is-active-route-frontend-checkout-confirm-page .checkout .checkout-aside {
    width: auto;
    max-width: none;
    min-width: 0;
    flex: none;
    margin: 0;
    padding: 0;
}
body.is-active-route-frontend-checkout-confirm-page .checkout .checkout-main {
    grid-column: 1;
    grid-row: 1;
}
body.is-active-route-frontend-checkout-confirm-page .checkout .checkout-additional {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}
body.is-active-route-frontend-checkout-confirm-page .checkout .checkout-aside {
    grid-column: 2;
    grid-row: 1 / span 2;
    position: sticky;
    top: 22px;
    align-self: start;
}
body.is-active-route-frontend-checkout-confirm-page .confirm-main-header {
    display: inline-block;
    margin: 2px 0 24px;
    font-size: clamp(27px, 2.7vw, 35px);
    font-weight: 850;
    letter-spacing: -.035em;
    line-height: 1.16;
    color: #24232a;
}
body.is-active-route-frontend-checkout-confirm-page .confirm-main-header-item-counter {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #66616a !important;
    background: #f0ebed;
    border-radius: 999px;
    padding: 6px 11px;
    margin: 0 0 0 9px !important;
    vertical-align: 5px;
    white-space: nowrap;
}
body.is-active-route-frontend-checkout-confirm-page .checkout-main > .alert,
body.is-active-route-frontend-checkout-confirm-page .checkout-main .flashbags .alert {
    border-radius: 11px;
    margin-bottom: 16px;
    padding: 14px 17px;
}
body.is-active-route-frontend-checkout-confirm-page .checkout-main .card.checkout-card,
body.is-active-route-frontend-checkout-confirm-page .confirm-product > .card,
body.is-active-route-frontend-checkout-confirm-page .checkout-additional > .card {
    border: 1px solid var(--mm147-edge);
    background: var(--mm147-surface);
    box-shadow: var(--mm147-shadow);
    border-radius: 14px;
    overflow: hidden;
}
body.is-active-route-frontend-checkout-confirm-page .checkout-main .card-body {
    padding: 22px 23px;
}
body.is-active-route-frontend-checkout-confirm-page .checkout-main .card-title {
    display: block;
    width: 100%;
    padding: 0 0 13px;
    margin: 0 0 15px;
    border-bottom: 1px solid #f0eaec;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
    color: var(--mm147-ink);
}
body.is-active-route-frontend-checkout-confirm-page .confirm-tos,
body.is-active-route-frontend-checkout-confirm-page .confirm-address,
body.is-active-route-frontend-checkout-confirm-page .confirm-payment-shipping,
body.is-active-route-frontend-checkout-confirm-page .confirm-payment,
body.is-active-route-frontend-checkout-confirm-page .confirm-product {
    margin-bottom: 20px;
}
body.is-active-route-frontend-checkout-confirm-page .confirm-tos .revocation-notice,
body.is-active-route-frontend-checkout-confirm-page .confirm-tos .legal-guarantee-notice {
    font-size: 14px;
    line-height: 1.6;
    color: #605c63;
    margin-bottom: 12px;
}
body.is-active-route-frontend-checkout-confirm-page .confirm-tos .form-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding-left: 0;
    margin: 12px 0 0;
}
body.is-active-route-frontend-checkout-confirm-page .confirm-tos .form-check-input {
    flex: none;
    width: 19px;
    height: 19px;
    margin: 2px 0 0;
    border-color: #a29ba0;
}
body.is-active-route-frontend-checkout-confirm-page .form-check-input:checked {
    background-color: var(--mm147-red);
    border-color: var(--mm147-red);
}
body.is-active-route-frontend-checkout-confirm-page .confirm-tos .form-check label {
    font-size: 14px;
    line-height: 1.55;
    color: #353139;
}
body.is-active-route-frontend-checkout-confirm-page a,
body.is-active-route-frontend-checkout-confirm-page .btn-link-inline {
    text-underline-offset: 3px;
}
body.is-active-route-frontend-checkout-confirm-page .checkout-main .btn-light {
    background: #fbf8f9;
    border: 1px solid #ebdce0;
    color: #92223a;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
}
body.is-active-route-frontend-checkout-confirm-page .checkout-main .btn-light:hover {
    border-color: #c18b98;
    background: #fff1f4;
}
body.is-active-route-frontend-checkout-confirm-page .confirm-address .card-col,
body.is-active-route-frontend-checkout-confirm-page .confirm-payment-shipping .confirm-payment,
body.is-active-route-frontend-checkout-confirm-page .confirm-payment-shipping .confirm-shipping {
    min-width: 0;
}
body.is-active-route-frontend-checkout-confirm-page .confirm-address address,
body.is-active-route-frontend-checkout-confirm-page .confirm-address .confirm-address-billing,
body.is-active-route-frontend-checkout-confirm-page .confirm-address .confirm-address-shipping {
    line-height: 1.65;
    font-size: 14px;
    color: #4d4850;
}
body.is-active-route-frontend-checkout-confirm-page .confirm-address .card-actions {
    margin-top: 16px;
}
body.is-active-route-frontend-checkout-confirm-page .confirm-payment-shipping .payment-method,
body.is-active-route-frontend-checkout-confirm-page .confirm-payment-shipping .shipping-method {
    padding: 8px 0;
    border-bottom: 1px solid #f0ebed;
}
body.is-active-route-frontend-checkout-confirm-page .confirm-payment-shipping .payment-method:last-child,
body.is-active-route-frontend-checkout-confirm-page .confirm-payment-shipping .shipping-method:last-child {
    border-bottom: 0;
}
body.is-active-route-frontend-checkout-confirm-page .confirm-product > .card > .card-body {
    padding: 8px 22px 13px;
}
body.is-active-route-frontend-checkout-confirm-page .confirm-product .mmgc-cart-v146 {
    background: transparent;
    border-bottom-color: #eee7e9 !important;
}
body.is-active-route-frontend-checkout-confirm-page .confirm-product .mmgc-cart-v146__icon {
    border-color: #e5d9dd;
    background: #fcf8f9;
}
body.is-active-route-frontend-checkout-confirm-page .confirm-product .mmgc-cart-v146__details {
    background: #fdfafa;
}
body.is-active-route-frontend-checkout-confirm-page .checkout .checkout-aside-container {
    width: 100%;
}
body.is-active-route-frontend-checkout-confirm-page .checkout-aside-summary {
    padding: 24px;
    background: #fff;
    border: 1px solid var(--mm147-edge);
    border-radius: 16px;
    box-shadow: 0 14px 40px rgba(42, 24, 32, .08);
}
body.is-active-route-frontend-checkout-confirm-page .checkout-aside-summary-header {
    margin: 0 0 19px;
    font-size: 21px;
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: -.025em;
    color: #24232a;
}
body.is-active-route-frontend-checkout-confirm-page .checkout-aside-summary-list {
    margin: 0;
    row-gap: 2px;
}
body.is-active-route-frontend-checkout-confirm-page .checkout-aside-summary-list dt,
body.is-active-route-frontend-checkout-confirm-page .checkout-aside-summary-list dd {
    padding: 7px 0;
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
}
body.is-active-route-frontend-checkout-confirm-page .checkout-aside-summary-list dd {
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}
body.is-active-route-frontend-checkout-confirm-page .checkout-aside-summary-list .checkout-aside-summary-total {
    padding-top: 17px;
    padding-bottom: 14px;
    margin-top: 9px;
    font-size: 17px;
    font-weight: 850;
    color: #202028;
    border-top: 1px solid #e8dee1;
}
body.is-active-route-frontend-checkout-confirm-page .checkout-aside-summary-list dd.checkout-aside-summary-total {
    font-size: 23px;
    font-weight: 900;
    letter-spacing: -.035em;
    color: var(--mm147-red);
    white-space: nowrap;
}
body.is-active-route-frontend-checkout-confirm-page .checkout-aside-summary-list .summary-tax,
body.is-active-route-frontend-checkout-confirm-page .checkout-aside-summary-list .summary-net {
    font-size: 12px;
    color: #767078;
}
body.is-active-route-frontend-checkout-confirm-page .checkout-aside-action {
    margin-top: 14px;
}
body.is-active-route-frontend-checkout-confirm-page #confirmOrderForm .btn-primary {
    width: 100%;
    min-height: 54px;
    padding: 15px 17px;
    color: #fff;
    border: 1px solid var(--mm147-red-dark);
    border-radius: 12px;
    background: linear-gradient(110deg, #920019 0%, #c10a2c 100%);
    box-shadow: 0 10px 21px rgba(145, 0, 31, .16);
    font-size: 15px;
    line-height: 1.3;
    font-weight: 800;
    transition: box-shadow .18s ease, filter .18s ease;
}
body.is-active-route-frontend-checkout-confirm-page #confirmOrderForm .btn-primary:hover {
    filter: brightness(1.055);
    box-shadow: 0 12px 26px rgba(145, 0, 31, .23);
}
body.is-active-route-frontend-checkout-confirm-page #confirmOrderForm .btn-primary:disabled {
    opacity: .55;
    box-shadow: none;
    cursor: not-allowed;
}
body.is-active-route-frontend-checkout-confirm-page .checkout :is(a, button, input, select, textarea):focus-visible {
    outline: 2px solid #ba1334;
    outline-offset: 3px;
}
/* Do not hide or diminish payment errors, mandatory consents or fiscal details. */
body.is-active-route-frontend-checkout-confirm-page .alert-danger,
body.is-active-route-frontend-checkout-confirm-page .alert-warning {
    border-left-width: 4px;
    box-shadow: 0 3px 14px rgba(155, 69, 14, .06);
}
@media (max-width: 1199.98px) {
    body.is-active-route-frontend-checkout-confirm-page .checkout .checkout-container {
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 18px;
    }
    body.is-active-route-frontend-checkout-confirm-page .checkout-main .card-body {
        padding: 19px;
    }
    body.is-active-route-frontend-checkout-confirm-page .confirm-product > .card > .card-body {
        padding: 7px 14px 12px;
    }
    body.is-active-route-frontend-checkout-confirm-page .checkout-aside-summary {
        padding: 20px;
    }
}
@media (max-width: 991.98px) {
    body.is-active-route-frontend-checkout-confirm-page .checkout .checkout-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }
    body.is-active-route-frontend-checkout-confirm-page .checkout .checkout-main,
    body.is-active-route-frontend-checkout-confirm-page .checkout .checkout-aside,
    body.is-active-route-frontend-checkout-confirm-page .checkout .checkout-additional {
        grid-column: 1;
        grid-row: auto;
    }
    body.is-active-route-frontend-checkout-confirm-page .checkout .checkout-aside {
        position: static;
        top: auto;
    }
    body.is-active-route-frontend-checkout-confirm-page .checkout {
        padding-top: 24px;
    }
}
@media (max-width: 575.98px) {
    body.is-active-route-frontend-checkout-confirm-page .checkout {
        padding: 18px 0 35px;
    }
    body.is-active-route-frontend-checkout-confirm-page .confirm-main-header {
        font-size: 25px;
        margin-bottom: 14px;
    }
    body.is-active-route-frontend-checkout-confirm-page .confirm-main-header-item-counter {
        font-size: 12px !important;
        padding: 5px 8px;
        vertical-align: 3px;
    }
    body.is-active-route-frontend-checkout-confirm-page .checkout-main .card-body {
        padding: 17px;
    }
    body.is-active-route-frontend-checkout-confirm-page .checkout-aside-summary {
        padding: 20px;
    }
    body.is-active-route-frontend-checkout-confirm-page .header-minimal-row {
        min-height: 72px;
    }
    body.is-active-route-frontend-checkout-confirm-page .header-minimal-contact {
        display: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    body.is-active-route-frontend-checkout-confirm-page #confirmOrderForm .btn-primary {
        transition: none;
    }
}
