.smart-coupon-product-list {
    width: 100%;
    margin: 14px 0 18px;
    padding: 16px;
    border-radius: 8px;
    background: linear-gradient(155deg, #ffe6e8 0%, #fff0e6 62%, #fff3e3 100%);
}

.smart-coupon-intro {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 6px 0 18px;
    color: #e82f62;
    font-size: 15px;
    line-height: 1.4;
    text-align: center;
}

.smart-coupon-intro i {
    flex: 0 0 auto;
    font-size: 18px;
}

.smart-coupon-offers {
    display: grid;
    gap: 12px;
}

.smart-coupon-offer {
    min-width: 0;
    padding: 19px 14px 12px;
    border-radius: 7px;
    background: #fff;
}

.smart-coupon-offer-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 0 6px 15px;
    text-align: center;
    overflow-wrap: anywhere;
}

.smart-coupon-offer-value {
    color: #171717;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.smart-coupon-offer-extra {
    color: #8d8d8d;
    font-size: 14px;
}

.smart-coupon-offer-name {
    color: #333;
    font-size: 13px;
    font-weight: 600;
}

.smart-coupon-offer-description {
    color: #686868;
    font-size: 13px;
    line-height: 1.4;
    white-space: pre-line;
}

.smart-coupon-offer-conditions {
    color: #af566d;
    font-size: 12px;
    line-height: 1.4;
}

.smart-coupon-code {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px 12px;
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 0;
    border-radius: 3px;
    background: #f5f5f5;
    color: #171717;
    cursor: pointer;
    transition: background-color .18s ease;
}

.smart-coupon-code:hover {
    background: #ffeef1;
}

.smart-coupon-code:focus-visible {
    outline: 3px solid #e82f62;
    outline-offset: 2px;
}

.smart-coupon-code:disabled {
    cursor: progress;
    opacity: .65;
}

.smart-coupon-code-text {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .3px;
    overflow-wrap: anywhere;
}

.smart-coupon-code-action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #e82f62;
    font-size: 12px;
    font-weight: 600;
}

.smart-coupon-product-feedback {
    margin: 9px 0 0;
    color: #24804e;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
}

.smart-coupon-product-feedback[hidden] {
    display: none;
}

.smart-coupon-product-feedback.is-error {
    color: #c73a50;
}

.smart-coupon-help {
    margin-top: 15px;
    color: #e82f62;
    font-size: 14px;
    text-align: center;
}

.smart-coupon-help summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    list-style: none;
}

.smart-coupon-help summary::-webkit-details-marker {
    display: none;
}

.smart-coupon-help summary:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.smart-coupon-help ol {
    max-width: 420px;
    margin: 13px auto 0;
    padding-left: 24px;
    color: #5b4950;
    font-size: 13px;
    line-height: 1.6;
    text-align: left;
}

.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-error {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

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

    .smart-coupon-intro {
        margin: 4px 0 13px;
        font-size: 13px;
    }

    .smart-coupon-offer {
        padding: 17px 11px 10px;
    }

    .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;
    }
}
