    /* ==================================================
       COLOR SYSTEM
    ================================================== */
    :root {
        --primary: #158089;      /* Google blue */
        --secondary: #16a34a;    /* Health green */
        --accent: #f97316;      /* CTA orange */
        --bg-soft: #f5f9ff;
        --card-bg: #ffffff;
        --border: #e5e7eb;
        --text-main: #111827;
        --text-muted: #6b7280;
    }
    
    /* ==================================================
       PAGE
    ================================================== */
    body {
        /* background: #e4f6f3; */
        color: var(--text-main);
    }
    
    /* ==================================================
       HEADLINE
    ================================================== */
    h1 {
        font-weight: 700;
        letter-spacing: -0.3px;
    }
    
    /* ==================================================
       TABS
    ================================================== */
    .coupons .nav-tabs {
        border-bottom: none;
        gap: 10px;
    }
    
    .coupons .nav-tabs .nav-link {
        border-radius: 999px;
        padding: 10px 22px;
        font-weight: 600;
        background: #eef4ff;
        color: var(--primary);
        border: 1px solid transparent;
        transition: all .25s ease;
    }
    
    .coupons .nav-tabs .nav-link:hover {
        background: #e0ebff;
    }
    
    .coupons .nav-tabs .active {
        background: var(--primary) !important;
        color: #fff !important;
        box-shadow: 0 6px 18px rgba(26,115,232,.35);
    }
    
    /* ==================================================
       PANELS
    ================================================== */
    .coupon-panel {
        background: var(--bg-soft);
        border-radius: 16px;
        padding: 24px;
        min-height: 400px;
    }
    
    /* ==================================================
       COUPON GRID
    ================================================== */
    .coupons-row {
        row-gap: 24px;
    }
    
    /* ==================================================
       GOOGLE PAY STYLE COUPON CARD
    ================================================== */
    .coupon-link {
        text-decoration: none;
        color: inherit;
    }
    
    .gpay-coupon-card {
        background: var(--card-bg);
        border-radius: 18px;
        padding: 18px;
        height: 100%;
        border: 1px solid var(--border);
        display: flex;
        flex-direction: column;
        position: relative;
        transition: transform .25s ease, box-shadow .25s ease;
    }
    
    .gpay-coupon-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 40px rgba(0,0,0,.12);
    }
    
    /* Accent strip */
    .coupon-accent {
        height: 5px;
        width: 100%;
        background: linear-gradient(90deg, var(--primary), var(--secondary));
        border-radius: 18px 18px 0 0;
        margin: -18px -18px 14px;
    }
    
    /* ==================================================
       SHARED CONTENT WRAPPER
    ================================================== */
    .coupon-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
   /* ==================================================
   IMAGE COUPON – HERO STYLE
================================================== */
.coupon-image-only {
    flex: 1;
    margin: -18px;              /* remove card padding */
    margin-top: -13px;          /* align with accent */
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Image itself */
.coupon-image {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;          /* fills card properly */
    display: block;
}
    
    /* ==================================================
       TEXT COUPON
    ================================================== */
    .coupon-text-only {
        padding-top: 6px;
    }
    
    /* Provider */
    .coupon-provider {
        font-size: 13px;
        font-weight: 600;
        color: var(--primary);
        margin-bottom: 6px;
    }
    
    /* Offer */
    .coupon-offer {
        font-size: 18px;
        font-weight: 700;
        line-height: 1.3;
        margin-bottom: 6px;
        color: var(--primary);
    }
    
    /* Treatment */
    .coupon-treatment {
        font-size: 13px;
        font-weight: 500;
        color: var(--primary);
        margin-bottom: 8px;
    }
    
    /* Description */
    .coupon-desc {
        font-size: 13px;
        color: var(--primary);
        line-height: 1.45;
        margin-bottom: 16px;
    }
    
    /* CTA */
    .coupon-cta {
        margin-top: auto;
        font-weight: 600;
        font-size: 14px;
        color: var(--primary);
        text-align: right;
    }
    
    /* ==================================================
       DISCOUNT / SIMPLE COUPON BOX
    ================================================== */
    .coupon-text {
        background: #ffffff;
        border: 1px dashed var(--primary);
        border-radius: 14px;
        padding: 16px;
        min-height: 120px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    
    .coupon-text p {
        font-weight: 600;
        color: var(--primary);
        margin-bottom: 10px;
    }
    
    .coupon-button {
        font-size: 14px;
        font-weight: 600;
        color: var(--accent);
    }
    
    /* ==================================================
       LOADER
    ================================================== */
    #loader {
        margin: 50px auto;
    }
    
    
/* Adjust CTA for image cards */
.gpay-coupon-card .coupon-image-only + .coupon-cta {
    padding-top: 10px;
}

/* ==================================================
   TEXT COUPON – keep spacing comfortable
================================================== */
.coupon-text-only {
    padding-top: 6px;
}

/* ==================================================
   MOBILE TUNING
================================================== */
@media (max-width: 767px) {
    .coupon-image {
        min-height: 150px;
    }
}
    /* ==================================================
       MOBILE OPTIMIZATION
    ================================================== */
    @media (max-width: 767px) {
    
        h1 {
            font-size: 18px !important;
            padding: 0 10px;
        }
    
        .coupons .nav-tabs {
            flex-wrap: nowrap;
            overflow-x: auto;
            padding-bottom: 8px;
        }
    
        .coupons .nav-tabs .nav-link {
            white-space: nowrap;
            font-size: 14px;
            padding: 8px 16px;
        }
    
        .coupon-panel {
            padding: 16px;
        }
    
        .coupon-image {
            max-height: 110px;
        }
    
        .coupon-offer {
            font-size: 16px;
        }
    
        .coupon-desc {
            font-size: 12.5px;
        }
    
        .coupon-cta {
            text-align: left;
        }
    }
    /* ==================================================
   COUPON TABS – UX OPTIMIZED
================================================== */
.coupon-tabs {
    border-bottom: none;
    gap: 12px;
    margin-bottom: 20px;
}

.coupon-tabs .nav-item {
    flex: 0 0 auto;
}

.coupon-tabs .nav-link {
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    background: #eef4ff;
    transition: all 0.25s ease;
    line-height: 1;
}

/* Hover */
.coupon-tabs .nav-link:hover {
    background: #e0ebff;
    color: var(--primary);
}

/* Active */
.coupon-tabs .nav-link.active {
    background: var(--primary);
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(26,115,232,.35);
    border-color: transparent;
}

/* ==================================================
   MOBILE UX
================================================== */
@media (max-width: 767px) {

    .coupon-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .coupon-tabs .nav-link {
        font-size: 14px;
        padding: 8px 16px;
        white-space: nowrap;
    }

    /* Hide scrollbar but keep scroll */
    .coupon-tabs::-webkit-scrollbar {
        display: none;
    }
}
/* ==================================================
   IMAGE COUPON – PROVIDER OVERLAY
================================================== */
.coupon-image-only {
    position: relative;
}

/* Provider label */
.coupon-image-provider {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    max-width: 85%;

    background: var(--primary);
    backdrop-filter: blur(4px);
    color: #fff;

    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Mobile fine-tuning */
@media (max-width: 767px) {
    .coupon-image-provider {
        font-size: 11px;
        padding: 5px 10px;
        top: 8px;
        left: 8px;
    }
}
