/* ===================================
   Kustom Discount Banner Styles
   Version: 2.0.0
   =================================== */
#woocommerce_before_shop_loop h5 {
    margin-top: 0px !important;
}
.discount-banner {
    background: #FFFFFF;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 24px;
    padding: 24px;
    margin: 32px auto;
    display: flex;
    gap: 20px;
    flex-direction: column;
    max-width: 1432px;
}
.discount-content {
    width: 100%;
    text-align: left;
}
.discount-title {
    margin-bottom: 12px;
    font-size: 20px;
}
.discount-text {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 12px;
}
.discount-title-coupon {
    background-color: #000000;
    padding: 8px 14px 6px 14px;
    color: #ffffff !important;
    outline: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: inline-block;
    line-height: 1;
    font-size: 14px;
}
.discount-title-coupon:hover {
    color: #ff8981 !important;
}
.discount-brands {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.brand-item {
    padding: 28px 20px;
    background-color: #F9FAFB;
    border: 1px solid #E4E6EB;
    border-radius: 16px;
    text-align: center;
}
.brand-logo {
    margin-bottom: 0.75rem;
}
.brand-logo img {
    max-width: 100%;
    height: 28px;
}
.discount-badge {
    background-color: #000000;
    border-radius: 20px;
    padding: 8px 10px 6px 10px;
    font-size: 16px;
    color: #ffffff;
    margin-inline: auto;
    display: inline-block;
    font-weight: bold;
    line-height: 1;
}

@media print,screen and (min-width:64em) {
    .discount-banner {
        flex-direction: row;
        align-items: center;
        gap: 12%;
        padding: 40px;
    }
    .discount-content {
        width: 40%;
    }
    .discount-brands {
        width: 60%;
    }
}

@media print,screen and (min-width:40em) {
    .discount-brands {
        grid-template-columns: repeat(4, 1fr);
    }
}