/* ── Checkout page — food premium layout ── */

.wz-checkout-page {
    background: #f7f5fa;
    padding: 8px 16px 40px;
}

.wz-checkout-page .modern-checkout.containerCustom {
    margin-top: 0 !important;
    padding: 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.wz-checkout {
    color: #3d3550;
}

/* Loader */
.custom-fullscreen-loader {
    position: fixed;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10060;
    background: rgba(46, 31, 83, 0.55);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
}

.custom-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(255, 255, 255, 0.25);
    border-top-color: #fff;
    border-radius: 50%;
    animation: wzSpin 0.8s linear infinite;
    margin-bottom: 14px;
}

@keyframes wzSpin {
    to { transform: rotate(360deg); }
}

/* Auth banner */
.wz-checkout .auth-cta {
    margin-bottom: 14px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #ebe6f2;
    text-align: center;
    font-size: 0.84rem;
    color: #6b5f80;
    box-shadow: 0 1px 3px rgba(46, 31, 83, 0.04);
}

.wz-checkout .auth-cta a {
    color: var(--primary-color, #6b4fa3) !important;
    font-weight: 700;
    text-decoration: none;
}

/* Grid */
.wz-checkout .checkout-container {
    display: grid;
    grid-template-columns: minmax(260px, 300px) minmax(0, 460px);
    gap: 22px;
    align-items: start;
    justify-content: center;
    max-width: 100%;
    margin: 0 auto;
}

.wz-checkout .checkout-sidebar {
    position: sticky;
    top: 84px;
    width: 100%;
    min-width: 0;
    justify-self: stretch;
}

.wz-checkout .summary-card {
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #ebe6f2;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(46, 31, 83, 0.06);
    padding: 0;
}

.wz-checkout .summary-title {
    margin: 0;
    padding: 16px 18px;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff !important;
    background: linear-gradient(135deg, #6b4fa3 0%, #7d5fb8 100%);
    display: flex;
    align-items: center;
    gap: 8px;
    border: 0;
}

.wz-checkout .order-items {
    max-height: min(420px, 50vh);
    overflow-y: auto;
    padding: 14px 16px;
    margin: 0;
    scrollbar-width: thin;
}

.wz-checkout .order-item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 10px 0;
    border-bottom: 1px solid #f0ecf5;
}

.wz-checkout .order-item:last-child {
    border-bottom: 0;
}

.wz-checkout .order-item .item-image {
    width: 64px;
    height: 64px;
    margin: 0;
    border-radius: 10px;
    overflow: visible;
    position: relative;
    background: #f3eff8;
    border: 1px solid #ebe6f2;
    flex-shrink: 0;
}

.wz-checkout .order-item .item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px !important;
    display: block;
}

.wz-checkout .order-item .item-quantity {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--primary-color, #6b4fa3);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    z-index: 1;
    line-height: 1;
}

.wz-checkout .order-item .item-info h4 {
    margin: 0 0 4px;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.35;
    color: #2e1f53;
}

.wz-checkout .order-item .item-info > p {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--primary-color, #6b4fa3);
}

/* Checkout add-ons in summary */
.wz-checkout-addons {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wz-checkout-addon {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 6px 8px;
    align-items: center;
    padding: 7px 9px;
    border-radius: 8px;
    background: #f8f6fb;
    border: 1px solid #ebe6f2;
}

.wz-checkout-addon__badge {
    padding: 2px 6px;
    border-radius: 999px;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary-color, #6b4fa3);
    background: rgba(107, 79, 163, 0.1);
}

.wz-checkout-addon__name {
    font-size: 0.76rem;
    font-weight: 700;
    color: #3d3550;
    min-width: 0;
}

.wz-checkout-addon__meta {
    font-size: 0.72rem;
    font-weight: 600;
    color: #9a8fb0;
    white-space: nowrap;
}

/* Coupon */
.wz-checkout .coupon-section {
    padding: 0 16px;
    margin: 0 0 12px;
}

.wz-checkout .coupon-toggle {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary-color, #6b4fa3);
    cursor: pointer;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.wz-checkout .coupon-form {
    display: flex;
    gap: 8px;
}

.wz-checkout .coupon-form input {
    flex: 1;
    min-width: 0;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #e4ddf0;
    border-radius: 10px;
    font-size: 0.84rem;
    background: #fdfcfe;
}

.wz-checkout .coupon-form input:focus {
    outline: none;
    border-color: var(--primary-color, #6b4fa3);
    box-shadow: 0 0 0 3px rgba(107, 79, 163, 0.12);
}

.wz-checkout .coupon-form button {
    height: 40px;
    padding: 0 16px;
    border: 0;
    border-radius: 10px;
    background: var(--primary-color, #6b4fa3);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

/* Totals */
.wz-checkout .order-totals {
    padding: 14px 16px 16px;
    margin: 0;
    border-top: 1px solid #f0ecf5;
    background: #fdfcfe;
}

.wz-checkout .total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.84rem;
    color: #6b5f80;
}

.wz-checkout .total-row.discount {
    color: #2e9e6a;
}

.wz-checkout .grand-total {
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px dashed #e4ddf0;
    font-size: 1rem;
    font-weight: 800;
    color: #2e1f53 !important;
}

.wz-checkout .grand-total span:last-child {
    color: var(--primary-color, #6b4fa3);
    font-size: 1.12rem;
}

.wz-checkout .order-item .item-info > p .bdt-icon,
.wz-checkout .order-totals .bdt-icon,
.wz-checkout .wz-checkout-addon__meta .bdt-icon {
    color: var(--primary-color, #6b4fa3);
}

/* Main column */
.wz-checkout .checkout-main {
    background: #fff;
    border: 1px solid #ebe6f2;
    border-radius: 16px;
    padding: 18px 16px;
    box-shadow: 0 1px 3px rgba(46, 31, 83, 0.04);
    width: 100%;
    max-width: 460px;
    justify-self: end;
}

/* Steps */
.wz-checkout .checkout-steps {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 22px;
    padding: 0 4px;
    position: relative;
}

.wz-checkout .checkout-steps::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: #ebe6f2;
    z-index: 0;
}

.wz-checkout .step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.wz-checkout .step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #e4ddf0;
    color: #9a8fb0;
    font-size: 0.82rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wz-checkout .step.active .step-number {
    background: var(--primary-color, #6b4fa3);
    border-color: var(--primary-color, #6b4fa3);
    color: #fff;
    box-shadow: 0 4px 12px rgba(107, 79, 163, 0.3);
}

.wz-checkout .step-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #9a8fb0;
    line-height: 1.25;
    max-width: 90px;
}

.wz-checkout .step.active .step-label {
    color: var(--primary-color, #6b4fa3);
    font-weight: 700;
}

/* Sections */
.wz-checkout .checkout-section {
    margin-bottom: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid #f0ecf5;
}

.wz-checkout .checkout-section:first-of-type {
    margin-bottom: 10px;
    padding-bottom: 12px;
}

.wz-checkout .checkout-section:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.wz-checkout .section-title,
.checkout-address-section > .section-title {
    margin: 0 0 14px;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #2e1f53;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wz-checkout .section-title i,
.checkout-address-section > .section-title i {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: rgba(107, 79, 163, 0.1);
    color: var(--primary-color, #6b4fa3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
}

/* Payment cards */
.wz-checkout .payment-cards-container {
    display: grid;
    gap: 10px;
}

.wz-checkout .payment-cards-1-items { grid-template-columns: 1fr; }
.wz-checkout .payment-cards-2-items { grid-template-columns: repeat(2, 1fr); }
.wz-checkout .payment-cards-3-items { grid-template-columns: repeat(2, 1fr); }
.wz-checkout .payment-cards-3-items .payment-card:last-child { grid-column: span 2; }
.wz-checkout .payment-cards-4-items { grid-template-columns: repeat(2, 1fr); }

.wz-checkout .payment-card {
    border: 1.5px solid #e4ddf0;
    border-radius: 12px;
    padding: 0;
    cursor: pointer;
    background: #fdfcfe;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.wz-checkout .payment-card:hover {
    border-color: #cfc6df;
    box-shadow: 0 4px 14px rgba(46, 31, 83, 0.06);
}

.wz-checkout .payment-card.active {
    border-color: var(--primary-color, #6b4fa3);
    background: rgba(107, 79, 163, 0.05);
    box-shadow: 0 4px 16px rgba(107, 79, 163, 0.12);
}

.wz-checkout .payment-card-inner {
    padding: 14px 12px;
    text-align: center;
    position: relative;
}

.wz-checkout .payment-card img {
    height: 28px;
    margin-bottom: 8px;
    object-fit: contain;
}

.wz-checkout .payment-card--cod img {
    height: 40px;
    margin-bottom: 0;
}

.wz-checkout .payment-card--cod .payment-card-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 16px 12px;
}

.wz-checkout .payment-card span {
    font-size: 0.82rem;
    font-weight: 700;
    color: #3d3550;
}

.wz-checkout .payment-checkmark {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color, #6b4fa3);
    color: #fff;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.15s, transform 0.15s;
}

.wz-checkout .payment-card.active .payment-checkmark {
    opacity: 1;
    transform: scale(1);
}

/* Place order */
.wz-checkout .place-order-btn {
    width: 100%;
    margin-top: 14px;
    padding: 14px 16px;
    border: 0;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #6b4fa3 0%, #7d5fb8 100%);
    box-shadow: 0 6px 20px rgba(107, 79, 163, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
}

.wz-checkout .place-order-btn:hover:not(.disabled) {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(107, 79, 163, 0.34);
}

.wz-checkout .place-order-btn.disabled {
    background: #d8d2e4;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.wz-checkout .security-badge {
    margin-top: 10px;
    font-size: 0.76rem;
    color: #9a8fb0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.wz-checkout .animated-border-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e4ddf0;
    border-radius: 10px;
    font-size: 0.88rem;
    box-sizing: border-box;
}

.wz-checkout .animated-border-input:focus {
    outline: none;
    border-color: var(--primary-color, #6b4fa3);
    box-shadow: 0 0 0 3px rgba(107, 79, 163, 0.12);
}

/* ── Address section ── */
.checkout-address-section {
    margin-top: 0;
}

.wz-checkout .checkout-address-section {
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.wz-checkout .address-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}

.wz-checkout .address-card {
    position: relative;
    padding: 14px 16px;
    border: 1px solid #ebe6f2;
    border-radius: 12px;
    background: #fdfcfe;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.wz-checkout .address-card.default {
    border-color: rgba(107, 79, 163, 0.35);
    background: rgba(107, 79, 163, 0.04);
}

.wz-checkout .address-info p {
    margin: 0 0 4px;
    font-size: 0.82rem;
    line-height: 1.45;
    color: #6b5f80;
}

.wz-checkout .address-info p strong {
    color: #3d3550;
    font-weight: 700;
}

.wz-checkout .address-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0ecf5;
}

.wz-checkout .address-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px !important;
    border-radius: 9px !important;
    font-size: 0.78rem !important;
    font-weight: 600;
    border: 1px solid #e4ddf0 !important;
    background: #fff;
    color: #6b5f80;
    cursor: pointer;
}

.wz-checkout .address-actions .btn:hover {
    border-color: var(--primary-color, #6b4fa3) !important;
    color: var(--primary-color, #6b4fa3);
}

.wz-checkout .btn-add {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border: 1px dashed #cfc6df;
    border-radius: 10px;
    background: #fff;
    color: var(--primary-color, #6b4fa3);
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
}

.wz-checkout .btn-add:hover {
    background: rgba(107, 79, 163, 0.05);
}

/* Address form */
.wz-addr-form {
    margin-top: 14px;
    max-width: 100%;
    padding: 16px;
    border-radius: 14px;
    background: #fdfcfe;
    border: 1px solid #ebe6f2;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.wz-addr-form__title {
    margin: 0 0 14px;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1rem;
    font-weight: 700;
    color: #2e1f53;
}

.wz-addr-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.wz-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.wz-field--full {
    grid-column: 1 / -1;
}

.wz-field__label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #6b5f80;
    letter-spacing: 0.02em;
}

.wz-field__input,
.wz-addr-form .input-text {
    width: 100%;
    box-sizing: border-box;
    height: 42px;
    padding: 0 12px;
    border: 1.5px solid #c5b8d9;
    border-radius: 10px;
    font-size: 0.88rem;
    color: #2e1f53;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}

.wz-field__input:focus,
.wz-addr-form .input-text:focus,
.wz-addr-form textarea.input-text:focus,
.wz-addr-form .input-text:not(:placeholder-shown),
.wz-addr-form textarea.input-text:not(:placeholder-shown),
.wz-addr-form select.input-text:valid {
    outline: none;
    background: rgba(107, 79, 163, 0.08);
    border-color: var(--primary-color, #6b4fa3);
}

.wz-field__input:focus,
.wz-addr-form .input-text:focus,
.wz-addr-form textarea.input-text:focus {
    box-shadow: 0 0 0 3px rgba(107, 79, 163, 0.14);
}

.wz-addr-form select.input-text:valid {
    color: #2e1f53;
}

.wz-addr-form textarea.input-text {
    height: auto;
    min-height: 88px;
    padding: 10px 12px;
    resize: vertical;
    line-height: 1.45;
}

.wz-addr-form .input-text::placeholder {
    color: #9a8fb0;
    opacity: 1;
}

.wz-addr-form .input-error {
    border-color: #e05252 !important;
    box-shadow: 0 0 0 3px rgba(224, 82, 82, 0.1) !important;
}

/* Pill radios — receive at */
.wz-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wz-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1.5px solid #e4ddf0;
    background: #fff;
    font-size: 0.84rem;
    font-weight: 600;
    color: #6b5f80;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.wz-pill:has(input:checked) {
    border-color: var(--primary-color, #6b4fa3);
    background: rgba(107, 79, 163, 0.08);
    color: var(--primary-color, #6b4fa3);
}

.wz-pill input {
    accent-color: var(--primary-color, #6b4fa3);
}

/* Delivery zone cards */
.wz-zone-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.wz-zone-option {
    position: relative;
    border: 1.5px solid #e4ddf0;
    border-radius: 11px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.wz-zone-option:hover {
    border-color: #cfc6df;
    box-shadow: 0 3px 10px rgba(46, 31, 83, 0.05);
}

.wz-zone-option.selected-option {
    border-color: var(--primary-color, #6b4fa3);
    background: rgba(107, 79, 163, 0.06);
    box-shadow: 0 3px 12px rgba(107, 79, 163, 0.1);
}

.wz-zone-option .hidden-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.wz-zone-option .custom-radio-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 10px;
    cursor: pointer;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}

/* Custom area dropdown */
.wz-area-dropdown {
    position: relative;
    width: 100%;
    z-index: 5;
}

.wz-area-dropdown__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 12px 0 12px;
    border: 1.5px solid #c5b8d9;
    border-radius: 12px;
    background: #fff;
    color: #9a8fb0;
    font-size: 0.88rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}

.wz-area-dropdown__trigger.has-value,
.wz-area-dropdown__trigger.is-open {
    background: rgba(107, 79, 163, 0.08);
    border-color: var(--primary-color, #6b4fa3);
    color: #2e1f53;
}

.wz-area-dropdown__trigger.is-open {
    box-shadow: 0 0 0 3px rgba(107, 79, 163, 0.14);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.wz-area-dropdown.is-error .wz-area-dropdown__trigger {
    border-color: #e05252 !important;
    box-shadow: 0 0 0 3px rgba(224, 82, 82, 0.1) !important;
}

.wz-area-dropdown__lead {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(107, 79, 163, 0.12);
    color: var(--primary-color, #6b4fa3);
    font-size: 0.78rem;
}

.wz-area-dropdown__value {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wz-area-dropdown__chevron {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(107, 79, 163, 0.1);
    color: var(--primary-color, #6b4fa3);
    font-size: 0.68rem;
    transition: transform 0.2s ease, background 0.15s;
}

.wz-area-dropdown__trigger.is-open .wz-area-dropdown__chevron {
    transform: rotate(180deg);
    background: rgba(107, 79, 163, 0.18);
}

.wz-area-dropdown__menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    margin: 0;
    padding: 8px;
    list-style: none;
    border-radius: 14px;
    border: 1.5px solid rgba(107, 79, 163, 0.22);
    background:
        linear-gradient(180deg, #ffffff 0%, #fbf9fe 100%);
    box-shadow:
        0 16px 36px rgba(46, 31, 83, 0.14),
        0 2px 8px rgba(107, 79, 163, 0.08);
    z-index: 30;
    overflow: hidden;
}

.wz-area-dropdown__option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #3d3550;
    font-size: 0.88rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.wz-area-dropdown__option:hover {
    background: rgba(107, 79, 163, 0.08);
    color: var(--primary-color, #6b4fa3);
}

.wz-area-dropdown__option.is-selected {
    background: rgba(107, 79, 163, 0.12);
    color: var(--primary-color, #6b4fa3);
}

.wz-area-dropdown__option-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(107, 79, 163, 0.1);
    color: var(--primary-color, #6b4fa3);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.wz-area-dropdown__option-text {
    flex: 1;
    min-width: 0;
}

.wz-area-dropdown__check {
    color: var(--primary-color, #6b4fa3);
    font-size: 0.75rem;
}

.wz-area-dd-enter {
    transition: opacity 0.16s ease, transform 0.16s ease;
}
.wz-area-dd-enter-start {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
}
.wz-area-dd-enter-end {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.wz-area-dd-leave {
    transition: opacity 0.12s ease, transform 0.12s ease;
}
.wz-area-dd-leave-start {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.wz-area-dd-leave-end {
    opacity: 0;
    transform: translateY(-4px) scale(0.98);
}

[x-cloak] {
    display: none !important;
}

.wz-area-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(107, 79, 163, 0.07) 0%, rgba(125, 95, 184, 0.05) 100%);
    border: 1px solid rgba(107, 79, 163, 0.14);
    color: #5c5070;
    font-size: 0.8rem;
    line-height: 1.5;
}

.wz-area-note__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(107, 79, 163, 0.12);
    color: var(--primary-color, #6b4fa3);
    font-size: 0.78rem;
    margin-top: 1px;
}

.wz-area-note__text {
    margin: 0;
    font-weight: 500;
}

.wz-area-note__text strong {
    font-weight: 700;
    color: #4a3f63;
}

.wz-zone-option .custom-radio-box {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    border-radius: 50%;
    border: 2px solid #cfc6df;
    flex-shrink: 0;
    position: relative;
}

.wz-zone-option .custom-radio-box::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--primary-color, #6b4fa3);
    opacity: 0;
    transform: scale(0);
    transition: opacity 0.15s, transform 0.15s;
}

.wz-zone-option .hidden-radio:checked + .custom-radio-label .custom-radio-box {
    border-color: var(--primary-color, #6b4fa3);
}

.wz-zone-option .hidden-radio:checked + .custom-radio-label .custom-radio-box::after {
    opacity: 1;
    transform: scale(1);
}

.wz-zone-option .custom-radio-text {
    font-size: 0.78rem !important;
    font-weight: 700;
    line-height: 1.35;
    color: #3d3550;
    white-space: nowrap;
}

.input-error-group .wz-zone-option {
    border-color: #e8a8a8;
}

.wz-addr-form__actions {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wz-addr-form__submit {
    width: 100%;
    height: 46px;
    border: 0;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #6b4fa3 0%, #7d5fb8 100%);
    box-shadow: 0 6px 20px rgba(107, 79, 163, 0.28);
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
}

.wz-addr-form__submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(107, 79, 163, 0.34);
}

.wz-check-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #6b5f80;
}

.wz-check-row input {
    accent-color: var(--primary-color, #6b4fa3);
}

.wz-checkout .wz-scan-wrap:not(:has(.wz-scan-block)) {
    display: none;
}

.wz-checkout .wz-scan-wrap:has(.wz-scan-block) {
    margin-bottom: 10px;
}

.wz-scan-block {
    text-align: center;
    padding: 12px 0 4px;
}

.wz-scan-block h3 {
    margin: 0 0 12px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color, #6b4fa3);
    line-height: 1.45;
}

.wz-scan-block img {
    max-width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
    border-radius: 12px !important;
}

.wz-payment-ref {
    margin: 14px 0 4px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wz-payment-ref .input-text {
    width: 100%;
    box-sizing: border-box;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #e4ddf0;
    border-radius: 10px;
    font-size: 0.88rem;
    color: #2e1f53;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.wz-payment-ref .input-text:focus {
    outline: none;
    border-color: var(--primary-color, #6b4fa3);
    box-shadow: 0 0 0 3px rgba(107, 79, 163, 0.1);
}

@media (max-width: 900px) {
    .wz-checkout .checkout-container {
        grid-template-columns: 1fr;
        max-width: 480px;
    }

    .wz-checkout .checkout-main {
        max-width: 100%;
        justify-self: stretch;
    }

    .wz-checkout .checkout-sidebar {
        position: static;
        order: -1;
    }

    .wz-zone-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.address-card__default-toggle {
    position: absolute;
    top: 12px;
    right: 12px;
}

.address-card__default-icon {
    font-size: 1.1rem;
    color: #2e9e6a;
}

.address-card__compact-head {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 6px;
}

.address-card__compact-head p {
    margin: 0 !important;
    font-weight: 600;
    color: #3d3550;
}

.wz-checkout .add-address {
    margin-top: 12px;
}

@media (max-width: 600px) {
    .wz-checkout-page {
        padding: 6px 10px 28px;
    }

    .wz-checkout .checkout-main {
        padding: 16px 14px;
    }

    .wz-addr-form__grid {
        grid-template-columns: 1fr;
    }

    .wz-checkout .payment-cards-2-items,
    .wz-checkout .payment-cards-3-items,
    .wz-checkout .payment-cards-4-items {
        grid-template-columns: 1fr;
    }

    .wz-checkout .payment-cards-3-items .payment-card:last-child {
        grid-column: auto;
    }

    .wz-checkout .checkout-steps::before {
        left: 8%;
        right: 8%;
    }

    .wz-checkout .step-label {
        font-size: 0.65rem;
        max-width: 72px;
    }

    .wz-checkout .payment-card-inner {
        display: flex;
        align-items: center;
        gap: 12px;
        text-align: left;
    }

    .wz-checkout .payment-card img {
        margin: 0;
    }

    .wz-checkout .coupon-form {
        flex-direction: column;
    }

    .wz-checkout .coupon-form button {
        width: 100%;
        min-height: 42px;
    }
}
