/* ==========================================
   SOULFRESH - SPECIAL OFFERS DESIGN SYSTEM
   Clean, Simple, Professional & Theme-Unified
========================================== */

/* ==========================================
   HOMEPAGE & GLOBAL SPECIAL OFFERS SECTION
========================================== */
.special-offers-section,
section.special-offers-section {
    background-color: #F4FAF2 !important;
    background: #F4FAF2 !important;
    padding: 60px 0;
    position: relative;
}

.special-offers-section .section-title {
    margin-bottom: 35px;
}

.special-offers-section .section-title .sub-title {
    color: #2E7D32;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-size: 13px;
    display: inline-block;
    margin-bottom: 8px;
}

.special-offers-section .section-title h2 {
    font-size: 34px;
    font-weight: 800;
    color: #183B20;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.special-offers-section .section-title p {
    color: #556858;
    max-width: 600px;
    margin: auto;
    font-size: 14.5px;
    line-height: 1.5;
}

/* ==========================================
   CLEAN RECTANGULAR OFFER CARDS
========================================== */
.clean-offer-card {
    border-radius: 22px;
    padding: 26px 22px;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 220px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: all 0.32s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
    background: #ebf7ee;
    border: 1px solid rgba(46, 125, 50, 0.14);
}

.clean-offer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(46, 125, 50, 0.10);
}

/* Subtle Clean Green & White Theme Color Variations */
.clean-offer-card.theme-mint,
.clean-offer-card.card-mint {
    background-color: #ebf7ee !important;
    background: #ebf7ee !important;
    border: 1px solid rgba(46, 125, 50, 0.14) !important;
}

.clean-offer-card.theme-warm,
.clean-offer-card.card-warm {
    background-color: #eef7f2 !important;
    background: #eef7f2 !important;
    border: 1px solid rgba(46, 125, 50, 0.14) !important;
}

.clean-offer-card.theme-soft-green,
.clean-offer-card.card-soft-green {
    background-color: #f1f8f3 !important;
    background: #f1f8f3 !important;
    border: 1px solid rgba(46, 125, 50, 0.14) !important;
}

.clean-offer-card.is-active-offer {
    border: 2px solid #2E7D32;
    box-shadow: 0 8px 24px rgba(46, 125, 50, 0.14);
}

/* Card Left Content Area */
.clean-offer-content {
    flex: 1;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.clean-offer-badge {
    display: inline-flex;
    align-items: center;
    font-size: 13.5px;
    font-weight: 700;
    color: #2E7D32;
    margin-bottom: 10px;
    line-height: 1;
}

.clean-offer-badge i {
    font-size: 13px;
    color: #2E7D32;
}

.clean-offer-title {
    font-size: 23px;
    font-weight: 800;
    color: #183B20;
    margin-bottom: 6px;
    line-height: 1.22;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.2px;
}

.clean-offer-text {
    font-size: 13.5px;
    color: #556858;
    margin-bottom: 18px;
    line-height: 1.4;
}

.clean-offer-btn {
    background: #2E7D32;
    color: #ffffff !important;
    padding: 9px 20px;
    border-radius: 50px;
    font-size: 13.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.20);
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}

.clean-offer-btn:hover {
    background: #1B5E20;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(46, 125, 50, 0.30);
    color: #ffffff !important;
}

.clean-offer-btn i {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.clean-offer-btn:hover i {
    transform: translateX(3px);
}

/* Card Right Image Area */
.clean-offer-image {
    width: 44%;
    max-width: 175px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
}

.clean-offer-image img {
    max-width: 100%;
    max-height: 165px;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.06));
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.clean-offer-card:hover .clean-offer-image img {
    transform: scale(1.06);
}

/* ==========================================
   OFFERS PAGE - CLEAN TOP BANNER
========================================== */
.clean-offers-banner,
section.clean-offers-banner,
.clean-offers-content-section,
section.clean-offers-content-section {
    background-color: #F4FAF2 !important;
    background: #F4FAF2 !important;
}

.clean-offers-banner {
    padding: 40px 0 35px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(46, 125, 50, 0.08);
}

.banner-leaf-deco {
    position: absolute;
    top: -10px;
    left: -20px;
    width: 130px;
    height: 130px;
    pointer-events: none;
}

.clean-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #556858;
    margin-bottom: 8px;
}

.clean-breadcrumb a {
    color: #2E7D32;
    text-decoration: none;
    font-weight: 600;
}

.clean-breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb-sep {
    font-size: 10px;
    color: #99a89c;
}

.breadcrumb-current {
    color: #556858;
    font-weight: 500;
}

.clean-banner-title {
    font-size: 38px;
    font-weight: 800;
    color: #183B20;
    margin-bottom: 4px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.5px;
}

.clean-banner-subtitle {
    font-size: 15px;
    color: #556858;
    margin: 0;
}

.clean-banner-quote {
    display: inline-block;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    border: 1px dashed rgba(46, 125, 50, 0.25);
}

.clean-banner-quote .quote-text {
    font-size: 18px;
    font-weight: 700;
    color: #2E7D32;
    line-height: 1.25;
    display: inline-block;
    font-family: 'Poppins', sans-serif;
}

.clean-banner-quote .quote-text em {
    font-style: italic;
    font-weight: 800;
}

.clean-banner-quote .quote-text i {
    font-size: 15px;
    color: #2E7D32;
    margin-left: 2px;
}

/* ==========================================
   OFFERS PAGE - FILTER TABS BAR
========================================== */
.clean-offer-tabs-bar {
    background: #fbfdfb;
    border: 1px solid #e8eee8;
    border-radius: 16px;
    padding: 12px 18px;
}

.clean-offer-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.clean-tab-link {
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13.5px;
    font-weight: 600;
    color: #556858;
    background: #ffffff;
    border: 1px solid #e0e8e0;
    text-decoration: none;
    transition: all 0.22s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.clean-tab-link:hover {
    color: #2E7D32;
    border-color: #2E7D32;
    background: #f4faf4;
}

.clean-tab-link.active {
    background: #2E7D32;
    color: #ffffff;
    border-color: #2E7D32;
    box-shadow: 0 4px 10px rgba(46, 125, 50, 0.22);
}

.clean-tab-link .tab-count {
    font-size: 12px;
    opacity: 0.85;
}

/* ==========================================
   OFFERS PAGE - PRODUCT CARDS
========================================== */
.clean-product-card {
    background: #ffffff;
    border: 1px solid #eef2ef;
    border-radius: 18px;
    padding: 18px;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.clean-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(46, 125, 50, 0.10);
    border-color: rgba(46, 125, 50, 0.3);
}

.clean-discount-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #e53935;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    z-index: 3;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.clean-product-img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    margin-bottom: 10px;
    text-decoration: none;
}

.clean-product-img-wrap img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 180px;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
}

.clean-product-card:hover .clean-product-img-wrap img {
    transform: scale(1.06);
}

.clean-product-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.clean-product-cat {
    font-size: 11.5px;
    color: #88998a;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.clean-product-name {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 4px;
}

.clean-product-name a {
    color: #1a202c;
    text-decoration: none;
    transition: color 0.2s ease;
}

.clean-product-name a:hover {
    color: #2E7D32;
}

.clean-product-unit {
    font-size: 12.5px;
    color: #6c757d;
    margin-bottom: 10px;
}

.clean-product-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
    margin-bottom: 8px;
}

.clean-product-price-row .current-price {
    font-size: 18px;
    font-weight: 800;
    color: #2E7D32;
}

.clean-product-price-row .mrp-price {
    font-size: 13.5px;
    color: #999999;
    text-decoration: line-through;
}

.clean-add-cart-btn {
    width: 100%;
    background: #2E7D32;
    color: #ffffff;
    border: none;
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.22s ease;
}

.clean-add-cart-btn:hover {
    background: #1B5E20;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(46, 125, 50, 0.25);
}

/* ==========================================
   OFFERS PAGE - COUPONS & EMPTY STATES
========================================== */
.clean-coupon-box {
    background: #fbfdfb;
    transition: all 0.2s ease;
}

.clean-coupon-box:hover {
    background: #f0f7f1;
    border-color: #2E7D32 !important;
}

.clean-offers-empty {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #eef2ef;
    padding: 60px 20px;
}

.clean-offers-empty .empty-icon-wrap {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #e8f5e9;
    color: #2E7D32;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

/* ==========================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
========================================== */
@media (max-width: 991px) {
    .special-offers-section {
        padding: 45px 0;
    }

    .special-offers-section .section-title h2 {
        font-size: 28px;
    }

    .clean-offers-banner {
        padding: 30px 0;
    }

    .clean-banner-title {
        font-size: 30px;
    }

    .clean-offer-card {
        min-height: 200px;
        padding: 22px 18px;
    }

    .clean-offer-title {
        font-size: 20px;
    }

    .clean-offer-image {
        max-width: 140px;
    }
}

@media (max-width: 576px) {
    .special-offers-section {
        padding: 35px 0;
    }

    .special-offers-section .section-title h2 {
        font-size: 24px;
    }

    .special-offers-section .section-title p {
        font-size: 13.5px;
    }

    .clean-offer-card {
        padding: 20px 16px;
        min-height: auto;
    }

    .clean-offer-title {
        font-size: 18px;
    }

    .clean-offer-text {
        font-size: 12.5px;
        margin-bottom: 14px;
    }

    .clean-offer-btn {
        padding: 7px 16px;
        font-size: 12.5px;
    }

    .clean-offer-image {
        width: 38%;
        max-width: 115px;
    }

    .clean-offer-image img {
        max-height: 110px;
    }

    .clean-banner-title {
        font-size: 26px;
    }

    .clean-banner-subtitle {
        font-size: 13.5px;
    }

    .clean-offer-tabs {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 6px;
    }

    .clean-tab-link {
        white-space: nowrap;
        padding: 6px 14px;
        font-size: 12.5px;
    }

    .clean-product-card {
        padding: 12px;
    }

    .clean-product-img-wrap {
        height: 148px;
    }

    .clean-product-img-wrap img {
        max-height: 148px;
    }

    .clean-product-name {
        font-size: 13.5px;
    }

    .clean-product-price-row .current-price {
        font-size: 16px;
    }

    .clean-add-cart-btn {
        padding: 7px 10px;
        font-size: 12px;
    }
}
