.amelia-v2-booking #amelia-container.am-fs__wrapper .acpa-promo-wrapper {
    position: relative;
    margin: 0 0 16px 0;
    padding: 12px 16px;
    border: 1px solid #d9dde2;
    border-radius: 6px;
    background: #f8f9fb;
    font-family: inherit;
}

/*
 * Inline variant — the widget is mounted right under Amelia's `.am-fs__coupon`
 * row inside the Summary panel. Drop the card chrome so it visually matches
 * the surrounding form items.
 */
.amelia-v2-booking #amelia-container.am-fs__wrapper .acpa-promo-wrapper--inline {
    margin: 8px 0 0 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.amelia-v2-booking #amelia-container.am-fs__wrapper .acpa-promo-label {
    display: block;
    margin: 0 0 6px 0;
    font-weight: 600;
    font-size: 14px;
}

.amelia-v2-booking #amelia-container.am-fs__wrapper .acpa-promo-wrapper--inline .acpa-promo-label {
    color: rgba(26, 44, 55, 0.7);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 4px;
}

.acpa-promo-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.amelia-v2-booking #amelia-container.am-fs__wrapper .acpa-promo-input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid #c5cbd3;
    border-radius: 4px;
    font-size: 14px;
    text-transform: uppercase;
}

.amelia-v2-booking #amelia-container.am-fs__wrapper .acpa-promo-wrapper--inline .acpa-promo-input {
    height: 32px;
    padding: 4px 11px;
    border-color: #D1D5D7;
}

.amelia-v2-booking #amelia-container.am-fs__wrapper .acpa-promo-button {
    flex: 0 0 auto;
    padding: 8px 14px;
    border: 1px solid #1d6dde;
    background: #1d6dde;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.acpa-promo-button:hover {
    background: #1556b8;
    border-color: #1556b8;
}

/*
 * Inline variant — match Amelia's gold "Add" button next door.
 */
.amelia-v2-booking #amelia-container.am-fs__wrapper .acpa-promo-wrapper--inline .acpa-promo-button {
    height: 32px;
    padding: 0 14px;
    background: rgba(196, 175, 92, 1);
    border-color: rgba(196, 175, 92, 1);
    border-radius: 4px;
    font-weight: 500;
}

.amelia-v2-booking #amelia-container.am-fs__wrapper .acpa-promo-wrapper--inline .acpa-promo-button:hover {
    background: rgba(196, 175, 92, 0.8);
    border-color: rgba(196, 175, 92, 0.8);
}

.amelia-v2-booking #amelia-container.am-fs__wrapper .acpa-promo-message {
    margin-top: 8px;
    font-size: 13px;
    line-height: 18px;
    font-weight: 400;
}

.amelia-v2-booking #amelia-container.am-fs__wrapper .acpa-promo-success {
    color: #1A2C37;
}
.acpa-promo-error {
    color: #b32d2e;
}
.amelia-v2-booking #amelia-container.am-fs__wrapper label.acpa-promo-label {
    color: #c4af5c!important;
    margin-top: 16px;
}

.am-fs__main:has(.am-fs__congrats) .am-fs__main-heading ,
.am-fs__payments:has(.am-fs__payments-error) .acpa-promo-wrapper {
    display: none;
}
.am-fs__main:has(.am-fs__congrats) button.am-button-finish {
    width: 100%;
}
/*
 * Fully-covered state: hide Amelia's payment-method blocks so nothing
 * Stripe-related is rendered to the user. Class names confirmed from
 * the live DOM (Amelia v3 / Vue 3 build).
 */
body.acpa-fully-covered .am-fs__payments-pm,
body.acpa-fully-covered .am-fs__payment-stripe,
body.acpa-fully-covered .am-fs__payment-stripe__express-checkout,
body.acpa-fully-covered .am-fs__payment-stripe__card,
body.acpa-fully-covered .am-fs__payment-stripe__policy,
body.acpa-fully-covered .am-fs__payment-divider,
body.acpa-fully-covered .am-fs__payments-method,
body.acpa-fully-covered .am-fs__payments-main,
body.acpa-fully-covered .am-fs__payment_default,
body.acpa-fully-covered .StripeElement {
    display: none !important;
}

/*
 * Promo-applied state (partial or full): hide the Stripe Express button
 * (Pay with Link / Apple Pay / Google Pay) and the "Or pay with card"
 * divider. The card form itself remains so the customer can pay any
 * remaining amount when the discount is partial.
 */
.amelia-v2-booking-use-promocode .amelia-v2-booking #amelia-container .am-fs__payment-stripe .am-fs__payment-stripe__express-checkout,
.amelia-v2-booking-use-promocode .amelia-v2-booking #amelia-container .am-fs__payment-stripe .am-fs__payment-divider {
    display: none;
}

/*
 * Locked state — visual cue that the promo code is committed for this
 * checkout session and cannot be edited until the page reloads.
 */
.amelia-v2-booking #amelia-container.am-fs__wrapper .acpa-promo-applied .acpa-promo-input {
    background: #f1f3f5;
    color: rgba(26, 44, 55, 0.65);
    cursor: not-allowed;
}

.amelia-v2-booking #amelia-container.am-fs__wrapper .acpa-promo-applied .acpa-promo-button {
    opacity: 0.65;
    cursor: not-allowed;
    background: rgba(196, 175, 92, 0.5);
    border-color: rgba(196, 175, 92, 0.5);
}

.amelia-v2-booking #amelia-container.am-fs__wrapper .acpa-promo-applied .acpa-promo-button:hover {
    background: rgba(196, 175, 92, 0.5);
    border-color: rgba(196, 175, 92, 0.5);
}

.amelia-v2-booking #amelia-container.am-fs__wrapper .acpa-complete-booking-wrapper {
    margin: 12px 0;
    padding: 14px 16px;
    border: 1px solid #1d5732;
    border-radius: 6px;
    background: #ecf6ef;
    color: #1d5732;
    font-family: inherit;
}

.amelia-v2-booking #amelia-container.am-fs__wrapper .acpa-complete-booking-wrapper p {
    margin: 0 0 10px 0;
    font-size: 14px;
}

.amelia-v2-booking #amelia-container.am-fs__wrapper .acpa-complete-booking-button {
    display: inline-block;
    padding: 10px 18px;
    border: 1px solid #1d5732;
    background: #1d5732;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
}

.amelia-v2-booking #amelia-container.am-fs__wrapper .acpa-complete-booking-button:hover {
    background: #143d23;
    border-color: #143d23;
}

.amelia-v2-booking #amelia-container.am-fs__wrapper .acpa-complete-booking-button[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.amelia-v2-booking #amelia-container.am-fs__wrapper .acpa-booking-success {
    margin: 16px 0;
    padding: 16px 20px;
    border-radius: 6px;
    background: #ecf6ef;
    border: 1px solid #1d5732;
    color: #1d5732;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}
