.service-section .service-icon svg {
    width: 2em;
    height: 2em;
    display: block;
    fill: #ffffff;
    font-size: 23px;
}

.service-icon {
    background: var(--main);
    text-align: center;
    border-radius: 100%;
    display: inline-block;
    padding: 12px;
}


.service-icon .image-crop {
    display: block;
    width: 3em;
    height: 3em;
    vertical-align: middle;
    line-height: 3em;
}


.wash-stribe-payment {
    position: relative;
}

.loader {
    position: absolute;
    margin: 0 auto;
    width: 30px;
    height: 30px;
    margin-left: -15px;
    margin-top: -15px;
    opacity: 0;
    top: 50%;
    left: 50%
}

.loader:before {
    content: '';
    display: block;
    padding-top: 100%
}

.loading .loader {
    opacity: 1
}

.loader .circular {
    animation: rotatekey 2s linear infinite;
    height: 100%;
    transform-origin: center center;
    width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto
}

.loader .path {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    animation: dash 1.5s ease-in-out infinite;
    stroke: #000;
    stroke-linecap: round
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0
    }

    50% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -35px
    }

    100% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -124px
    }
}


.wash_payment_list .box_added_content {
    display: none;
}

.show_box_added {
    cursor: pointer;
    font-weight: 500;
    text-decoration: underline;
}

/* ── Stripe return notice banner ─────────────────────────────────── */
.jws-stripe-notice {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .08);
    animation: jws-notice-in .35s ease;
    max-width: 90vw;
    margin: 0 auto 20px;
}

@keyframes jws-notice-in {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.jws-stripe-notice--success {
    background: #f0faf3;
    border: 1.5px solid #4caf7d;
    color: #1a4731;
}

.jws-stripe-notice--cancel {
    background: #fff8f0;
    border: 1.5px solid #f0a040;
    color: #5a3200;
}

.jws-stripe-notice__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    margin-top: 2px;
}

.jws-stripe-notice--success .jws-stripe-notice__icon {
    background: #4caf7d;
    color: #fff;
}

.jws-stripe-notice--cancel .jws-stripe-notice__icon {
    background: #f0a040;
    color: #fff;
}

.jws-stripe-notice__body {
    flex: 1;
}

.jws-stripe-notice__body h3 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
}

.jws-stripe-notice__body p {
    margin: 0 0 10px;
    font-size: 14px;
    opacity: .85;
}

.jws-stripe-notice__details {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    font-size: 14px;
}

.jws-stripe-notice__details li {
    margin-bottom: 4px;
}

.jws-stripe-notice__btn {
    display: inline-block;
    padding: 9px 22px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: opacity .2s;
}

.jws-stripe-notice__btn:hover {
    opacity: .85;
}

.jws-stripe-notice--success .jws-stripe-notice__btn--book {
    background: #4caf7d;
    color: #fff;
}

.jws-stripe-notice--cancel .jws-stripe-notice__btn--book {
    background: #f0a040;
    color: #fff;
}

.jws-stripe-notice__close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    opacity: .5;
    padding: 0;
}

.jws-stripe-notice__close:hover {
    opacity: 1;
}
/* ---------- Booking form states (v1.6) ---------- */
.jws-booked-car-wash .vehicles-item:focus-visible,
.jws-booked-car-wash .package-inner:focus-visible,
.jws-booked-car-wash .service-inner:focus-visible,
.jws-booked-car-wash .time-inner:focus-visible,
.jws-booked-car-wash .booked-calendar td:focus-visible {
    outline: 2px solid var(--main);
    outline-offset: 2px;
}

.jws-booked-car-wash .booked-calendar td.prev-date {
    cursor: not-allowed;
}

.jws-booked-car-wash .time-inner.diable {
    cursor: not-allowed;
}

.jws-booked-car-wash .time-inner.is-full {
    text-decoration: line-through;
}

.jws-booked-car-wash .time-closed--small {
    font-size: 15px;
    margin-top: 10px;
}

.jws-booked-car-wash .jws-wash-empty {
    text-align: center;
    opacity: .7;
    margin: 0;
}

.jws-booked-car-wash .form-field.has-error input {
    border-color: #f51b24;
    background: #fff5f5;
}

.jws-booked-car-wash .booked-missing {
    margin: 15px 0 0;
    font-size: 13px;
    color: #888;
    text-align: right;
}

.jws-booked-car-wash .booked-missing:empty {
    display: none;
}

.jws-booked-car-wash .booked-submit-wash.diable {
    opacity: .6;
}

.jws-booked-car-wash .booked-submit-wash.form-loader {
    opacity: .6;
    cursor: progress;
}

.jws-booked-car-wash .booked-errors {
    margin: 0;
    padding-left: 18px;
}

.jws-booked-car-wash .booked-summary {
    list-style: none;
    margin: 15px 0;
    padding: 0;
}

.jws-booked-car-wash .booked-summary li {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 6px 0;
    border-bottom: 1px solid #eee;
}

.jws-booked-car-wash .wash-test-badge {
    font-size: 11px;
    background: #f0ad4e;
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    vertical-align: middle;
}

/* ── Payment method choice ── */
.jws-booked-car-wash .booked-payment {
    --pay-accent: var(--main, #e5002b);
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, .08);
}

.jws-booked-car-wash .booked-payment-title {
    margin: 0 0 12px;
    font-size: 16px;
}

.jws-booked-car-wash .booked-pay-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.jws-booked-car-wash .booked-pay-option {
    background: #fff;
    border: 1.5px solid #e3e3e3;
    border-radius: 10px;
    transition: border-color .15s, box-shadow .15s;
}

.jws-booked-car-wash .booked-pay-option:hover {
    border-color: #c8c8c8;
}

.jws-booked-car-wash .booked-pay-option.is-selected {
    border-color: var(--pay-accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--pay-accent) 12%, transparent);
}

.jws-booked-car-wash .booked-pay-option-head {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 14px 16px;
    cursor: pointer;
    font-weight: 400;
}

.jws-booked-car-wash .booked-pay-option-head input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
}

.jws-booked-car-wash .booked-pay-radio {
    box-sizing: border-box;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    border: 2px solid #c4c4c4;
    border-radius: 50%;
    background: #fff;
    transition: border-color .15s, background .15s, box-shadow .15s;
}

.jws-booked-car-wash .booked-pay-option.is-selected .booked-pay-radio {
    border-color: var(--pay-accent);
    background: var(--pay-accent);
    box-shadow: inset 0 0 0 3px #fff;
}

.jws-booked-car-wash .booked-pay-option-head input:focus-visible ~ .booked-pay-radio {
    outline: 2px solid var(--pay-accent);
    outline-offset: 3px;
}

.jws-booked-car-wash .booked-pay-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #f4f5f7;
    color: #444;
    transition: background .15s, color .15s;
}

.jws-booked-car-wash .booked-pay-option.is-selected .booked-pay-icon {
    background: color-mix(in srgb, var(--pay-accent) 10%, #fff);
    color: var(--pay-accent);
}

.jws-booked-car-wash .booked-pay-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.35;
}

.jws-booked-car-wash .booked-pay-text strong {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #111;
    font-size: 15px;
    font-weight: 600;
}

.jws-booked-car-wash .booked-pay-text small {
    margin-top: 2px;
    color: #777;
    font-size: 13px;
}

.jws-booked-car-wash .booked-pay-detail {
    margin: 0 16px 16px;
    padding-top: 14px;
    border-top: 1px dashed #e3e3e3;
    color: #333;
    font-size: 14px;
}

.jws-booked-car-wash .booked-pay-detail[hidden],
.jws-booked-car-wash .booked-pay-actions [hidden] {
    display: none !important;
}

.jws-booked-car-wash .booked-pay-detail p {
    margin: 0 0 10px;
}

.jws-booked-car-wash .booked-pay-detail p:last-child {
    margin-bottom: 0;
}

.jws-booked-car-wash .booked-pay-actions {
    margin-top: 16px;
}

.jws-booked-car-wash .booked-pay-actions .booked-pay-submit {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px 28px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

.jws-booked-car-wash .booked-payment.is-done .booked-pay-option-head {
    cursor: default;
}

/* Bank transfer details */
.jws-booked-car-wash .booked-bank {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.jws-booked-car-wash .booked-bank-qr {
    width: 160px;
    height: 160px;
    object-fit: contain;
    padding: 6px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
}

.jws-booked-car-wash .booked-bank-details {
    flex: 1 1 260px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.jws-booked-car-wash .booked-bank-details li {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid #f0f0f0;
}

.jws-booked-car-wash .booked-bank-details li:last-child {
    border-bottom: 0;
}

.jws-booked-car-wash .booked-bank-details li > span:first-child {
    color: #777;
    font-size: 14px;
}

.jws-booked-car-wash .booked-bank-details strong {
    word-break: break-word;
}

.jws-booked-car-wash .booked-copy {
    padding: 4px 10px;
    background: #f4f4f4;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    color: #333;
    font-size: 12px;
    line-height: 1.4;
    cursor: pointer;
}

.jws-booked-car-wash .booked-copy:hover {
    background: #eaeaea;
}

.jws-booked-car-wash .booked-copy.copied {
    background: #f0faf3;
    border-color: #4caf7d;
    color: #1a4731;
}

.jws-booked-car-wash .booked-bank-hint {
    padding: 8px 12px;
    background: #fff8f0;
    border-radius: 6px;
    color: #5a3200;
    font-size: 13px;
}

.jws-booked-car-wash .booked-pay-done {
    margin: 16px 0 0;
    padding: 12px 14px;
    background: #f0faf3;
    border: 1.5px solid #4caf7d;
    border-radius: 8px;
    color: #1a4731;
    font-weight: 600;
}

@media (max-width: 575px) {
    .jws-booked-car-wash .booked-pay-option-head {
        gap: 10px;
        padding: 12px;
    }
    .jws-booked-car-wash .booked-pay-icon {
        width: 36px;
        height: 36px;
    }
    .jws-booked-car-wash .booked-pay-detail {
        margin: 0 12px 12px;
    }
    .jws-booked-car-wash .booked-bank-details li {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 2px 10px;
    }
    .jws-booked-car-wash .booked-bank-details li > span:first-child {
        grid-column: 1 / -1;
    }
    .jws-booked-car-wash .booked-bank-qr {
        margin: 0 auto;
    }
}
