.pz-checkout-wrap {
    padding: 40px 0;
}

.pz-checkout-title {
    font-size: 26px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 24px;
}

.pz-checkout-grid {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.pz-checkout-main {
    flex: 1 1 560px;
    min-width: 300px;
}

.pz-checkout-side {
    flex: 0 0 360px;
    max-width: 100%;
}

.pz-block {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 20px;
}

.pz-block__title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pz-block__title .step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #dc2626;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

/* Address cards */
.pz-address-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pz-address {
    display: flex;
    gap: 12px;
    padding: 16px;
    border: 2px solid #eef2f7;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
}

.pz-address:hover {
    border-color: #cbd5e1;
}

.pz-address.is-selected {
    border-color: #dc2626;
    background: #fef2f2;
}

.pz-address input[type="radio"] {
    margin-top: 3px;
    accent-color: #dc2626;
}

.pz-address__body {
    flex: 1 1 auto;
}

.pz-address__name {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 3px;
}

.pz-address__meta {
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
}

.pz-address__badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: #dc2626;
    background: #fee2e2;
    padding: 2px 8px;
    border-radius: 999px;
    margin-top: 6px;
}

.pz-toggle-newaddr {
    background: transparent;
    border: 1px dashed #cbd5e1;
    color: #475569;
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 12px;
    transition: all .2s ease;
}

.pz-toggle-newaddr:hover {
    border-color: #dc2626;
    color: #dc2626;
}

.pz-newaddr {
    margin-top: 16px;
    display: none;
}

.pz-newaddr.is-open {
    display: block;
}

.pz-field {
    margin-bottom: 14px;
}

.pz-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.pz-field input, .pz-field textarea {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 11px 13px;
    font-size: 14px;
    color: #0f172a;
    transition: border-color .2s ease;
}

.pz-field input:focus, .pz-field textarea:focus {
    outline: none;
    border-color: #dc2626;
}

.pz-field input.is-invalid {
    border-color: #dc2626;
}

.pz-field-error {
    color: #dc2626;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

.pz-field-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.pz-field-row .pz-field {
    flex: 1 1 200px;
}

.pz-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #475569;
}

.pz-check input {
    width: auto;
    accent-color: #dc2626;
}

/* Payment methods */
.pz-pay-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pz-pay {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 2px solid #eef2f7;
    border-radius: 12px;
    cursor: pointer;
    transition: all .2s ease;
}

.pz-pay:hover {
    border-color: #cbd5e1;
}

.pz-pay.is-selected {
    border-color: #dc2626;
    background: #fef2f2;
}

.pz-pay input[type="radio"] {
    accent-color: #dc2626;
}

.pz-pay__icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #334155;
    font-size: 18px;
}

.pz-pay__body {
    flex: 1 1 auto;
}

.pz-pay__title {
    font-weight: 700;
    color: #0f172a;
}

.pz-pay__desc {
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
}

/* Summary side */
.pz-osummary {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 16px;
    padding: 22px;
    position: sticky;
    top: 20px;
}

.pz-osummary__title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 16px;
}

.pz-osummary__items {
    max-height: 260px;
    overflow-y: auto;
    margin-bottom: 14px;
}

.pz-osummary__item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}

.pz-osummary__item img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #eef2f7;
}

.pz-osummary__item-body {
    flex: 1 1 auto;
    min-width: 0;
}

.pz-osummary__item-name {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    display: block;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pz-osummary__item-meta {
    font-size: 12px;
    color: #64748b;
}

.pz-osummary__item-total {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
}

.pz-osummary__row {
    display: flex;
    justify-content: space-between;
    padding: 7px 0;
    font-size: 14px;
    color: #475569;
}

.pz-osummary__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0 4px;
    margin-top: 6px;
    border-top: 1px solid #eef2f7;
}

.pz-osummary__total span {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
}

.pz-osummary__total strong {
    font-size: 22px;
    color: #0f172a;
}

.pz-place-btn {
    width: 100%;
    padding: 15px;
    border: 0;
    border-radius: 12px;
    background: #dc2626;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 14px;
    transition: background .2s ease;
}

.pz-place-btn:hover {
    background: #b91c1c;
}

.pz-place-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
}

/* Success page */
.pz-success {
    max-width: 720px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}

.pz-success__icon {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 20px;
}

.pz-success__title {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
}

.pz-success__sub {
    color: #64748b;
    margin: 0 0 24px;
}

.pz-success__num {
    display: inline-block;
    background: #f1f5f9;
    color: #0f172a;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 999px;
    margin-bottom: 24px;
    letter-spacing: .5px;
}

.pz-success__box {
    text-align: left;
    border: 1px solid #eef2f7;
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 20px;
}

.pz-success__box h4 {
    font-size: 15px;
    margin: 0 0 12px;
    color: #0f172a;
}

.pz-success__line {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
    color: #475569;
}

.pz-success__line strong {
    color: #0f172a;
}

.pz-success__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.pz-success__btn {
    padding: 13px 26px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s ease;
}

.pz-success__btn--primary {
    background: #dc2626;
    color: #fff !important;
}

.pz-success__btn--primary:hover {
    background: #b91c1c;
}

.pz-success__btn--light {
    background: #f1f5f9;
    color: #0f172a !important;
}

.pz-success__btn--light:hover {
    background: #e2e8f0;
}

@media (max-width: 767px) {
    .pz-osummary {
        position: static;
    }
}
