/* Pfote & Huf — Checkout */
body.checkout-index-index {
    --pfh-ink: #19334b;
    --pfh-muted: #60758a;
    --pfh-brand: #1979c3;
    --pfh-brand-hover: #12619e;
    --pfh-soft: #edf6fd;
    --pfh-border: #dce7ef;
    --pfh-surface: #ffffff;
    background: #f4f8fc;
    color: var(--pfh-ink);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
}

.checkout-index-index .page-header {
    background: var(--pfh-surface);
    border-bottom: 1px solid var(--pfh-border);
    box-shadow: 0 2px 16px rgba(25, 51, 75, .025);
}

.checkout-index-index .page-main {
    max-width: 1280px;
    padding-top: 30px;
    padding-bottom: 64px;
}

.checkout-index-index .checkout-container {
    max-width: 1180px;
    margin: 0 auto;
}

.checkout-index-index .checkout-container::after {
    content: "";
    display: table;
    clear: both;
}

.checkout-index-index .opc-progress-bar {
    margin: 0 0 32px;
}

.checkout-index-index .opc-progress-bar-item > span {
    color: var(--pfh-muted);
    font-size: 15px;
    font-weight: 600;
}

.checkout-index-index .opc-progress-bar-item._active > span {
    color: var(--pfh-brand);
}

.checkout-index-index .opc-progress-bar-item._active::before,
.checkout-index-index .opc-progress-bar-item._active > span::before {
    background: var(--pfh-brand);
    border-color: var(--pfh-brand);
}

.checkout-index-index .opc-wrapper,
.checkout-index-index .opc-sidebar {
    min-width: 0;
}

.checkout-index-index .opc-wrapper .step-title {
    border: 0;
    margin-bottom: 18px;
    padding-bottom: 0;
    color: var(--pfh-ink);
    font-size: clamp(23px, 2.2vw, 30px);
    font-weight: 700;
    letter-spacing: -.65px;
    line-height: 1.25;
}

.checkout-index-index .opc-wrapper .step-content {
    margin: 0 0 30px;
    padding: 26px;
    background: var(--pfh-surface);
    border: 1px solid var(--pfh-border);
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(25, 51, 75, .035);
}

.checkout-index-index .opc-wrapper .form-login,
.checkout-index-index .opc-wrapper .form-shipping-address {
    max-width: none;
}

.checkout-index-index .fieldset {
    margin-bottom: 24px;
}

.checkout-index-index .fieldset > .field {
    margin-bottom: 20px;
}

.checkout-index-index .field > .label {
    margin-bottom: 8px;
    color: var(--pfh-ink);
    font-size: 14px;
    font-weight: 600;
}

.checkout-index-index input.input-text,
.checkout-index-index select,
.checkout-index-index textarea {
    min-height: 48px;
    padding: 11px 13px;
    background: #fff;
    border: 1px solid #b9cddd;
    border-radius: 9px;
    box-shadow: none;
    color: var(--pfh-ink);
    font: inherit;
    font-size: 16px;
    transition: border-color .15s, box-shadow .15s;
}

.checkout-index-index select {
    padding-right: 32px;
}

.checkout-index-index textarea {
    min-height: 100px;
}

.checkout-index-index input.input-text:focus,
.checkout-index-index select:focus,
.checkout-index-index textarea:focus {
    border-color: var(--pfh-brand);
    box-shadow: 0 0 0 3px rgba(25, 121, 195, .12);
}

.checkout-index-index input[disabled],
.checkout-index-index select[disabled] {
    background: #f0f4fa;
}

.checkout-index-index input[type="checkbox"],
.checkout-index-index input[type="radio"] {
    width: 19px;
    height: 19px;
    accent-color: var(--pfh-brand);
    vertical-align: middle;
}

.checkout-index-index :focus-visible {
    outline: 3px solid #1979c3;
    outline-offset: 3px;
}

.checkout-index-index .field .note,
.checkout-index-index .field-tooltip .field-tooltip-content {
    color: var(--pfh-muted);
    font-size: 13px;
}

.checkout-index-index .mage-error,
.checkout-index-index div.mage-error {
    color: #a72b2b;
}

.checkout-index-index input.mage-error,
.checkout-index-index select.mage-error {
    border-color: #b83d3d;
}

.checkout-index-index .message {
    border-radius: 10px;
    line-height: 1.5;
}

.checkout-index-index .shipping-address-item {
    border-radius: 12px;
    padding: 18px;
    line-height: 1.7;
}

.checkout-index-index .shipping-address-item.selected-item {
    background: var(--pfh-soft);
    border-color: var(--pfh-brand);
}

.checkout-index-index .shipping-address-item.selected-item::after {
    background: var(--pfh-brand);
}

.checkout-index-index .table-checkout-shipping-method {
    width: 100%;
}

.checkout-index-index .table-checkout-shipping-method tbody td {
    padding-top: 20px;
    padding-bottom: 20px;
    border-color: var(--pfh-border);
    vertical-align: middle;
}

.checkout-index-index .table-checkout-shipping-method tbody tr:has(input:checked) {
    background: var(--pfh-soft);
}

.checkout-index-index .table-checkout-shipping-method .col-price {
    font-weight: 700;
    white-space: nowrap;
}

.checkout-index-index .opc-payment .payment-method {
    margin-bottom: 12px;
    background: #fff;
    border: 1px solid var(--pfh-border);
    border-radius: 12px;
}

.checkout-index-index .opc-payment .payment-method._active {
    border-color: var(--pfh-brand);
    box-shadow: 0 0 0 1px var(--pfh-brand);
}

.checkout-index-index .payment-method .payment-method-title {
    padding: 17px 16px;
    border: 0;
}

.checkout-index-index .payment-method-title .label {
    color: var(--pfh-ink);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.checkout-index-index .payment-method .payment-method-content {
    padding: 0 16px 18px;
}

.checkout-index-index .payment-method-title img {
    max-height: 36px;
    width: auto;
    vertical-align: middle;
}

.checkout-index-index .checkout-billing-address {
    margin-top: 16px;
}

.checkout-index-index .opc-block-summary {
    margin-bottom: 16px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--pfh-border);
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(25, 51, 75, .035);
}

.checkout-index-index .opc-block-summary > .title {
    margin-bottom: 18px;
    color: var(--pfh-ink);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.4px;
}

.checkout-index-index .opc-block-summary .product-item-name {
    color: var(--pfh-ink);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.checkout-index-index .opc-block-summary .product-image-photo {
    border-radius: 8px;
}

.checkout-index-index .opc-block-summary .table-totals th,
.checkout-index-index .opc-block-summary .table-totals td {
    padding-top: 11px;
    padding-bottom: 11px;
    font-size: 14px;
}

.checkout-index-index .opc-block-summary .table-totals .grand th,
.checkout-index-index .opc-block-summary .table-totals .grand td {
    padding-top: 18px;
    border-top: 1px solid var(--pfh-border);
    color: var(--pfh-ink);
    font-size: 19px;
    font-weight: 750;
}

.checkout-index-index .opc-block-shipping-information {
    padding: 20px 24px;
    background: #fff;
    border: 1px solid var(--pfh-border);
    border-radius: 14px;
}

.checkout-index-index .shipping-information-title {
    color: var(--pfh-ink);
    font-size: 16px;
    font-weight: 650;
}

.checkout-index-index .shipping-information-content {
    color: var(--pfh-muted);
    font-size: 14px;
    line-height: 1.7;
}

.checkout-index-index .action.primary {
    min-height: 48px;
    padding: 13px 22px;
    background: var(--pfh-brand);
    border: 1px solid var(--pfh-brand);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(25, 121, 195, .12);
    color: #fff;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.4;
    white-space: normal;
    transition: background .15s, box-shadow .15s;
}

.checkout-index-index .action.primary:hover,
.checkout-index-index .action.primary:focus {
    background: var(--pfh-brand-hover);
    border-color: var(--pfh-brand-hover);
    color: #fff;
}

.checkout-index-index .action.primary[disabled] {
    opacity: .5;
    box-shadow: none;
}

.checkout-index-index .action.action-show-popup {
    min-height: 44px;
    padding: 10px 16px;
    background: #fff;
    border: 1px solid #b9cddd;
    border-radius: 9px;
    color: var(--pfh-brand);
}

.checkout-index-index #place-order-trigger-wrapper .action.primary,
.checkout-index-index .order-with-agreement .action.primary {
    width: 100%;
}

.checkout-index-index .checkout-agreements .checkout-agreement {
    margin-bottom: 16px;
}

.checkout-index-index .checkout-agreement label {
    font-size: 13px;
    line-height: 1.65;
}

.checkout-index-index .checkout-agreement button {
    color: var(--pfh-brand);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.checkout-index-index .discount-code {
    margin-top: 20px;
}

.checkout-index-index .discount-code .payment-option-title {
    color: var(--pfh-muted);
    font-size: 14px;
}

.checkout-index-index .opc-estimated-wrapper {
    margin-bottom: 22px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--pfh-border);
    border-radius: 12px;
}

@media (min-width: 1024px) {
    .checkout-index-index .opc-wrapper {
        float: left;
        width: calc(100% - 388px);
        padding-right: 0;
    }

    .checkout-index-index .opc-sidebar {
        float: right;
        position: sticky;
        top: 24px;
        width: 360px;
        margin: 0;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .checkout-index-index .opc-wrapper {
        float: left;
        width: calc(100% - 314px);
        padding-right: 0;
    }

    .checkout-index-index .opc-sidebar {
        float: right;
        width: 290px;
        margin: 0;
    }

    .checkout-index-index .opc-wrapper .step-content,
    .checkout-index-index .opc-block-summary {
        padding: 18px;
    }
}

@media (max-width: 767px) {
    .checkout-index-index .page-main {
        padding: 18px 16px 40px;
    }

    .checkout-index-index .opc-wrapper {
        float: none;
        width: 100%;
        padding: 0;
    }

    .checkout-index-index .opc-wrapper .step-content {
        margin-bottom: 24px;
        padding: 18px 16px;
        border-radius: 14px;
    }

    .checkout-index-index .opc-wrapper .step-title {
        margin-bottom: 14px;
        font-size: 24px;
    }

    .checkout-index-index .opc-wrapper .form-login,
    .checkout-index-index .opc-wrapper .form-shipping-address {
        margin-left: 0;
        margin-right: 0;
        padding: 0;
        background: transparent;
        border: 0;
    }

    .checkout-index-index .fieldset > .field {
        margin-bottom: 18px;
    }

    .checkout-index-index .actions-toolbar > .primary {
        float: none;
        width: 100%;
    }

    .checkout-index-index .actions-toolbar .action.primary {
        width: 100%;
        margin: 0;
    }

    .checkout-index-index .table-checkout-shipping-method tbody td {
        padding: 16px 6px;
        font-size: 14px;
    }

    .checkout-index-index .opc-block-summary {
        padding: 20px 16px;
        border-radius: 12px;
    }

    .checkout-index-index .opc-block-shipping-information {
        padding: 18px 16px;
    }

    .checkout-index-index .payment-method .payment-method-title {
        padding: 16px 12px;
    }

    .checkout-index-index .payment-method .payment-method-content {
        padding: 0 12px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .checkout-index-index *,
    .checkout-index-index *::before,
    .checkout-index-index *::after {
        transition: none !important;
        animation: none !important;
    }
}

/* Zustimmungen: AGB und Versandinformationen */
.checkout-index-index .checkout-agreement {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    box-sizing: border-box;
    margin: 0 0 12px;
    padding: 16px;
    background: #f3f8fd;
    border: 1px solid #d5e5f2;
    border-radius: 12px;
    color: #19334b;
}

.checkout-index-index .checkout-agreement:has(input:checked) {
    background: #eaf4fc;
    border-color: #1979c3;
}

.checkout-index-index .checkout-agreement input[type="checkbox"] {
    position: static;
    float: none;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin: 2px 0 0;
    accent-color: #1979c3;
    cursor: pointer;
}

.checkout-index-index .checkout-agreement label {
    display: block;
    flex: 1;
    min-width: 0;
    margin: 0;
    padding: 0;
    color: #19334b;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.65;
    cursor: pointer;
    overflow-wrap: anywhere;
}

.checkout-index-index .checkout-agreement a,
.checkout-index-index .checkout-agreement button {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    color: #1979c3;
    font: inherit;
    font-weight: 650;
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.checkout-index-index .checkout-agreement a:hover,
.checkout-index-index .checkout-agreement button:hover {
    color: #12619e;
}

.checkout-index-index .checkout-agreement:focus-within {
    outline: 2px solid #1979c3;
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .checkout-index-index .checkout-agreement {
        gap: 12px;
        padding: 15px 13px;
    }
}
/* Dezente, kompakte Zustimmungen */
body.checkout-index-index .checkout-agreement {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: start;
    gap: 11px;
    margin: 0 0 10px;
    padding: 14px;
    background: #fff;
    border: 1px solid #e0e7ef;
    border-radius: 10px;
    box-shadow: none;
}

body.checkout-index-index .checkout-agreement:has(input:checked) {
    background: #f7fbff;
    border-color: #a8cfee;
}

body.checkout-index-index .checkout-agreement input[type="checkbox"] {
    position: static;
    grid-column: 1;
    grid-row: 1;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: #1979c3;
    cursor: pointer;
}

body.checkout-index-index .checkout-agreement label {
    position: relative;
    display: block;
    grid-column: 2;
    min-width: 0;
    margin: 0;
    padding: 0 11px 0 0;
    color: #405367;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.65;
    text-align: left;
    overflow-wrap: normal;
    word-break: normal;
}

body.checkout-index-index .checkout-agreement label::after {
    position: absolute;
    top: 0;
    right: 0;
    display: inline;
    margin: 0;
    color: #a34b4b;
    font-size: 11px;
    line-height: 1.65;
}

body.checkout-index-index .checkout-agreement label a,
body.checkout-index-index .checkout-agreement label button {
    display: inline;
    width: auto;
    max-width: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #256799;
    font-family: inherit;
    font-size: inherit;
    font-weight: 500;
    line-height: inherit;
    text-align: left;
    text-decoration: none;
    white-space: normal;
    vertical-align: baseline;
}

body.checkout-index-index .checkout-agreement label a:hover,
body.checkout-index-index .checkout-agreement label button:hover {
    color: #125c94;
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.checkout-index-index .checkout-agreement:focus-within {
    outline: 2px solid #1979c3;
    outline-offset: 2px;
}

@media (max-width: 767px) {
    body.checkout-index-index .checkout-agreement {
        padding: 14px;
        gap: 12px;
    }

    body.checkout-index-index .checkout-agreement label {
        font-size: 14px;
    }
}