/* Homepage coupon widget only. Native coupon actions and Theme Options colors remain in use. */
.ccmh-home #st_coupons-1 .st-list-coupons {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
}
.ccmh-home #st_coupons-1 .coupon-item {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) 195px;
    align-items: start;
    justify-content: initial;
    column-gap: 20px;
    width: 100%;
    min-width: 0;
    min-height: 150px;
    margin: 0;
    padding: 20px;
    border: 1px solid rgba(43, 33, 27, .06);
    border-radius: 6px;
    box-sizing: border-box;
    box-shadow: 0 3px 16px rgba(43, 33, 27, .055);
}
.ccmh-home #st_coupons-1 .coupon-item:hover {
    box-shadow: 0 5px 20px rgba(43, 33, 27, .08);
}
.ccmh-home #st_coupons-1 .coupon-item.no-thumb {
    grid-template-columns: minmax(0, 1fr) 195px;
}
.ccmh-home #st_coupons-1 .coupon-item::after,
.ccmh-home #st_coupons-1 .coupon-item > .clear {
    display: none;
}
.ccmh-home #st_coupons-1 .store-thumb-link {
    float: none;
    width: 150px;
    min-width: 0;
    margin: 0;
}
.ccmh-home #st_coupons-1 .store-thumb {
    width: 150px;
    max-width: 100%;
    height: 90px;
    margin: 0 0 6px;
    overflow: hidden;
}
.ccmh-home #st_coupons-1 .store-thumb > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 5px;
    box-sizing: border-box;
}
.ccmh-home #st_coupons-1 .store-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
}
.ccmh-home #st_coupons-1 .store-name a {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 12px;
    line-height: 1.4;
}
.ccmh-home #st_coupons-1 .latest-coupon {
    float: none;
    width: auto;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding-top: 2px;
    overflow: visible;
}
.ccmh-home #st_coupons-1 .latest-coupon .coupon-title {
    margin: 0;
    padding: 0;
    text-align: left;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 500;
    overflow-wrap: anywhere;
}
.ccmh-home #st_coupons-1 .ccmh-coupon-summary {
    display: block;
    margin: 7px 0 0;
    color: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0;
    text-align: left;
    overflow-wrap: anywhere;
}
.ccmh-home #st_coupons-1 .coupon-detail {
    display: block;
    float: none;
    align-self: center;
    width: 100%;
    min-width: 0;
    margin: 0;
    text-align: right;
}
.ccmh-home #st_coupons-1 .coupon-detail .coupon-button {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    box-sizing: border-box;
}
.ccmh-home #st_coupons-1 .coupon-detail .exp-text {
    margin: 10px 0 0;
    font-size: 11px;
    line-height: 1.5;
}
.ccmh-home #st_coupons-1 .coupon-save {
    margin: 0 0 0 8px;
}
@media (max-width: 790px) {
    .ccmh-home #st_coupons-1 .coupon-item {
        grid-template-columns: 120px minmax(0, 1fr) 170px;
        column-gap: 16px;
        padding: 18px;
    }
    .ccmh-home #st_coupons-1 .store-thumb-link,
    .ccmh-home #st_coupons-1 .store-thumb { width: 120px; }
    .ccmh-home #st_coupons-1 .store-thumb { height: 76px; }
    .ccmh-home #st_coupons-1 .latest-coupon .coupon-title { font-size: 16px; }
}
@media (max-width: 600px) {
    .ccmh-home #st_coupons-1 .st-list-coupons { gap: 14px; }
    .ccmh-home #st_coupons-1 .filter-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 10px 6px;
        font-size: 12px;
        line-height: 1.35;
        text-align: center;
    }
    .ccmh-home #st_coupons-1 .coupon-item {
        grid-template-columns: 80px minmax(0, 1fr);
        gap: 16px 14px;
        min-height: 0;
        padding: 16px 14px 10px;
        border-radius: 8px;
        overflow: visible;
    }
    .ccmh-home #st_coupons-1 .coupon-item.no-thumb { grid-template-columns: minmax(0, 1fr); }
    .ccmh-home #st_coupons-1 .store-thumb-link { grid-row: 1; width: 80px; }
    .ccmh-home #st_coupons-1 .store-thumb { width: 80px; height: 58px; margin-bottom: 6px; }
    .ccmh-home #st_coupons-1 .store-name { display: block; }
    .ccmh-home #st_coupons-1 .store-name a {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        font-size: 10px;
        line-height: 1.4;
    }
    .ccmh-home #st_coupons-1 .latest-coupon { align-self: center; padding: 0; }
    .ccmh-home #st_coupons-1 .latest-coupon .coupon-title { font-size: 16px; line-height: 1.45; font-weight: 600; }
    .ccmh-home #st_coupons-1 .coupon-item > .ccmh-coupon-summary { grid-column: 1 / -1; margin: 0; font-size: 13px; }
    .ccmh-home #st_coupons-1 .coupon-detail { grid-column: 1 / -1; align-self: start; overflow: visible; }
    .ccmh-home #st_coupons-1 .no-thumb .coupon-detail { grid-column: 1; }
    .ccmh-home #st_coupons-1 .coupon-detail .coupon-button { width: 100%; min-width: 0; min-height: 46px; font-size: 14px; line-height: 22px; }
    .ccmh-home #st_coupons-1 .coupon-code .get-code { font-size: 14px; line-height: 18px; }
    .ccmh-home #st_coupons-1 .coupon-code .get-code::after { border-top-width: 46px; }
    .ccmh-home #st_coupons-1 .coupon-detail .exp-text {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        min-height: 32px;
        margin-top: 6px;
        text-align: left;
    }
    .ccmh-home #st_coupons-1 .exp-text .coupon-save {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        float: none;
        flex: 0 0 36px;
        width: 36px;
        height: 36px;
        margin: -2px 0;
    }
}
