.smart-coupon-product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 13px 0 17px;
}

.smart-coupon-ticket {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 150px;
    min-width: 150px;
    aspect-ratio: 300 / 90;
    padding: 7px 18px;
    overflow: hidden;
    border: 0;
    border-radius: 7px;
    background-color: #f64d8c;
    background-image: url('https://cdn.whzxc.com/static/images/coupon_bg300.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    box-shadow: 0 5px 13px rgba(255, 79, 135, .2);
    color: #fff;
    line-height: 1.1;
    text-align: center;
}

.smart-coupon-ticket-value {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: .1px;
    text-shadow: 0 1px 2px rgba(130, 13, 54, .18);
}

.smart-coupon-ticket-action {
    margin-top: 4px;
    font-size: 10px;
    font-weight: 600;
    opacity: .9;
}

.smart-coupon-claim {
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.smart-coupon-claim:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(255, 79, 135, .3);
    filter: saturate(1.06);
}

.smart-coupon-claim:focus-visible {
    outline: 3px solid rgba(255, 79, 135, .25);
    outline-offset: 3px;
}

.smart-coupon-claim:disabled {
    cursor: default;
    opacity: 1;
}

.smart-coupon-claim.is-revealed {
    animation: smart-coupon-reveal .34s ease;
}

.smart-coupon-claim.is-revealed .smart-coupon-ticket-value {
    letter-spacing: .8px;
}

.smart-coupon-checkout {
    margin: 18px 0 12px;
    padding: 15px;
    border: 1px solid #f1d7e1;
    border-radius: 11px;
    background: linear-gradient(135deg, #fff9fb, #fff);
    box-shadow: 0 4px 15px rgba(51, 35, 44, .04);
}

.smart-coupon-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.smart-coupon-heading strong {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #3f3440;
    font-size: 14px;
}

.smart-coupon-heading strong i {
    color: #f05289;
    font-size: 17px;
}

.smart-coupon-state {
    display: none;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #eaf8f0;
    color: #16834e;
    font-size: 11px;
    font-weight: 600;
}

.smart-coupon-state.is-applied {
    display: inline-flex;
}

.smart-coupon-control {
    display: flex;
    align-items: center;
    min-height: 44px;
    overflow: hidden;
    border: 1px solid #e7dce1;
    border-radius: 9px;
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.smart-coupon-control:focus-within {
    border-color: #f26b99;
    box-shadow: 0 0 0 3px rgba(242, 107, 153, .11);
}

.smart-coupon-input-icon {
    flex: 0 0 auto;
    margin-left: 13px;
    color: #b297a2;
}

.smart-coupon-input {
    min-width: 0;
    height: 42px !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 13px;
    letter-spacing: .25px;
}

.smart-coupon-apply {
    align-self: stretch;
    min-width: 74px;
    padding: 0 15px;
    border: 0;
    background: linear-gradient(135deg, #ff79a6, #ef4c86);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: filter .18s ease;
}

.smart-coupon-apply:hover {
    filter: brightness(.96);
}

.smart-coupon-apply:disabled {
    opacity: .65;
}

.smart-coupon-remove {
    flex: 0 0 auto;
    padding: 7px;
    border: 0;
    background: transparent;
    color: #a3949a;
    line-height: 1;
}

.smart-coupon-remove:hover {
    color: #dc3545;
}

.smart-coupon-feedback {
    display: none;
    align-items: flex-start;
    gap: 7px;
    margin-top: 9px;
    padding: 8px 10px;
    border-radius: 7px;
    background: #fff0f2;
    color: #c73a50;
    font-size: 12px;
    line-height: 1.35;
}

.smart-coupon-feedback.is-visible {
    display: flex;
    animation: smart-coupon-error .22s ease;
}

@keyframes smart-coupon-reveal {
    0% { transform: scale(.94); }
    60% { transform: scale(1.04); }
    100% { transform: scale(1); }
}

@keyframes smart-coupon-error {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 575.98px) {
    .smart-coupon-product-list {
        gap: 8px;
    }

    .smart-coupon-ticket {
        width: 138px;
        min-width: 138px;
        padding: 6px 16px;
    }

    .smart-coupon-ticket-value {
        font-size: 15px;
    }

    .smart-coupon-checkout {
        margin: 14px 0 10px;
        padding: 12px;
    }

    .smart-coupon-state {
        max-width: 48%;
        text-align: right;
    }

    .smart-coupon-apply {
        min-width: 65px;
        padding: 0 11px;
    }

    .smart-coupon-input-icon {
        margin-left: 10px;
    }
}
