body.ph-is-kassa {
    background: rgba(244, 248, 250, 1);
}

body.ph-is-kassa .ph-main,
body.ph-is-kassa .ph-footer,
body.ph-is-kassa .ph-top,
body.ph-is-kassa .ph-header,
body.ph-is-kassa .ph-trust {
    display: none;
}

.ph-kassa {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ph-kassa__top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 28px 16px;
    width: min(760px, calc(100% - 32px));
}

.ph-kassa__logo img {
    display: block;
    height: 24px;
    width: auto;
}

.ph-kassa__steps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ph-kassa__steps li {
    display: flex;
    align-items: center;
    font-family: var(--ph-font-head);
    font-size: 14px;
    font-weight: 600;
    color: #b0b0b0;
}

.ph-kassa__steps li.is-on,
.ph-kassa__steps li.is-done {
    color: var(--ph-red);
}

.ph-kassa__steps li + li::before {
    content: "";
    display: block;
    width: 48px;
    height: 1px;
    margin: 0 14px;
    background: #d9d9d9;
}

.ph-kassa__steps li.is-done + li::before {
    background: var(--ph-red);
}

.ph-kassa__main {
    width: min(760px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0px 48px;
    flex: 1 1 auto;
}

.ph-checkout-oos {
    margin: 0 0 20px;
    padding: 12px 14px;
    border: 1px solid #f0cfc8;
    border-radius: 8px;
    background: #fff8f6;
}

.ph-checkout-oos__title {
    margin: 0 0 6px;
    color: #1a1a1a;
    font-size: 0.95rem;
    font-weight: 700;
}

.ph-checkout-oos__list {
    margin: 0;
    padding-left: 1.15em;
    color: #1a1a1a;
}

.ph-checkout-oos__list li + li {
    margin-top: 2px;
}

.ph-kassa__intro {
    display: grid;
    gap: 20px;
    margin-bottom: 28px;
    border: solid;
    border-width: 2px 0px 4px 0px;
    border-color: var(--ph-red);
    padding: 24px 20px;
    background: #fff;
}

.ph-kassa__title {
    margin: 0 0 8px;
    font-family: var(--ph-font-display);
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
}

.ph-kassa__lead {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--ph-muted);
}

.ph-kassa__trust {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ph-kassa__trust li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

.ph-kassa__trust .ph-icon {
    color: var(--ph-red);
}

.ph-kassa__empty {
    margin: 0 0 20px;
    font-size: 16px;
}

.ph-kassa__shop {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 8px;
    background: var(--ph-red);
    color: #fff;
    font-weight: 600;
}

.ph-kassa__shop:hover {
    background: var(--ph-red-hover);
}

.ph-kassa .woocommerce-error,
.ph-kassa .woocommerce-info,
.ph-kassa .woocommerce-message {
    margin: 0 0 16px;
    padding: 12px 16px;
    border: 1px solid var(--ph-border);
    background: var(--ph-blush);
}

.ph-kassa #kco-wrapper,
.ph-kassa #kco-iframe,
.ph-kassa #klarna-checkout-container {
    width: 100%;
    max-width: none;
    margin: 0;
}

.ph-kassa #kco-order-review,
.ph-kassa #kco-extra-checkout-fields,
.ph-kassa .woocommerce-billing-fields,
.ph-kassa .woocommerce-shipping-fields,
.ph-kassa .woocommerce-additional-fields,
.ph-kassa .woocommerce-checkout-review-order,
.ph-kassa .checkout_coupon,
.ph-kassa .woocommerce-form-coupon-toggle,
.ph-kassa .woocommerce-form-login-toggle,
.ph-kassa .woocommerce-form-login,
.ph-kassa .klarna-checkout-select-other-wrapper,
.ph-kassa #order_review_heading,
.ph-kassa .woocommerce-terms-and-conditions-wrapper,
.ph-kassa #place_order {
    display: none !important;
}

.ph-kassa__badge {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-top: 40px;
    padding: 20px 0 0;
    border-top: 1px solid var(--ph-border);
}

.ph-kassa__seal {
    display: block;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    object-fit: contain;
}

.ph-kassa__badge-title {
    margin: 0 0 6px;
    font-family: poppins;
    font-size: 20px;
    font-weight: 600;
    color: #1a1323;
}

.ph-kassa__badge p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--ph-muted);
    font-family: inter;
}

.ph-kassa__foot {
    padding: 28px 16px 36px;
    text-align: center;
}

.ph-kassa__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}

.ph-kassa__legal li {
    display: flex;
    align-items: center;
}

.ph-kassa__legal li + li::before {
    content: "";
    display: block;
    width: 1px;
    height: 14px;
    margin: 0 14px;
    background: #d9d9d9;
}

.ph-kassa__legal a {
    display: inline-block;
    font-size: 14px;
    font-family: inter;
    font-weight: 400;
    color: var(--ph-muted);
    transform: scale(1);
    transition: color 0.3s ease, transform 0.3s ease;
}

.ph-kassa__legal a:hover {
    color: var(--ph-red);
    transform: scale(1.05);
}

.ph-kassa__copy {
    margin: 0;
    font-size: 13px;
    color: #9a9a9a;
}

.ph-thanks {
    background: #fff;
    padding: 24px 30px;
}

.ph-thanks__title {
    margin: 0 0 12px;
    font-family: var(--ph-font-display);
    font-size: 28px;
    font-weight: 600;
}

.ph-thanks__intro {
    margin: 0 0 24px;
    font-size: 16px;
    color: var(--ph-muted);
}

.ph-thanks__overview {
    display: grid;
    gap: 12px;
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
    display: none;
}

.ph-thanks__overview li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 0;
    border-bottom: 1px solid var(--ph-border);
}

.ph-thanks__overview span {
    font-size: 13px;
    color: var(--ph-muted);
}

.ph-thanks__overview strong {
    font-size: 16px;
}

.ph-thanks__pay {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 8px;
    background: var(--ph-red);
    color: #fff;
    font-weight: 600;
}

.woocommerce-order-details {
    display: none;
}

form.kco-form {
    background: #fff;
}

.kco-checkout-form {
    background: #fff;
}



@media (min-width: 768px) {
    .ph-kassa__intro {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
    }

    .ph-kassa__title {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .ph-kassa__steps li + li::before {
        width: 24px;
        margin: 0 8px;
    }

    .ph-kassa__title,
    .ph-thanks__title {
        font-size: 28px;
    }
}

@media (max-width: 400px) {
    .ph-kassa__top {
        flex-direction: column;
        gap: 16px;
    }
    .ph-kassa__logo img {
        height: 32px;
    }
}