/* ==========================================================================
   Offers Page Styling - Modern, Vibrant & Interactive
   ========================================================================== */

/* Hero Banner */
.offers-hero-section {
    background: linear-gradient(135deg, #0f4c28 0%, #007327 50%, #065f46 100%);
    border-radius: 24px;
    padding: 50px 40px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 115, 39, 0.2);
}

.offers-hero-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.offers-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.offers-main-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600 !important;
    font-size: 2.5rem;
    line-height: 1.2;
    margin-top: 15px;
    margin-bottom: 12px;
    color: #fff;
}

.offers-hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    line-height: 1.5;
}

/* Countdown Clock */
.countdown-container {
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 18px 24px;
    text-align: center;
    max-width: 380px;
}

.countdown-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 8px 12px;
    min-width: 60px;
}

.countdown-number {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
}

.countdown-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
    margin-top: 4px;
}

/* Filter Pills */
.offers-filter-bar {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 30px;
    scrollbar-width: none;
}

.offers-filter-bar::-webkit-scrollbar {
    display: none;
}

.offer-filter-btn {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: all 0.25s ease;
    cursor: pointer;
}

.offer-filter-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #1e293b;
}

.offer-filter-btn.active {
    background: #007327;
    border-color: #007327;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 115, 39, 0.25);
}

/* Coupon Ticket Card */
.coupon-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.coupon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(0, 115, 39, 0.09);
    border-color: #cbd5e1;
}

/* Category Accent Strip at top */
.coupon-card-top-accent {
    height: 4px;
    width: 100%;
    flex-shrink: 0;
}
.coupon-card-top-accent.badge-discount-green {
    background: linear-gradient(90deg, #007327, #10b981);
}
.coupon-card-top-accent.badge-discount-blue {
    background: linear-gradient(90deg, #0284c7, #38bdf8);
}
.coupon-card-top-accent.badge-discount-purple {
    background: linear-gradient(90deg, #7c3aed, #a855f7);
}
.coupon-card-top-accent.badge-discount-orange {
    background: linear-gradient(90deg, #ea580c, #f97316);
}

.coupon-card-header {
    padding: 22px 24px 16px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    position: relative;
}

.coupon-category-badge {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge-discount-green {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.badge-discount-orange {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
}

.badge-discount-blue {
    background: #f0f9ff;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.badge-discount-purple {
    background: #faf5ff;
    color: #6b21a8;
    border: 1px solid #e9d5ff;
}

.coupon-verified-pill {
    font-size: 0.72rem;
    font-weight: 600;
    color: #059669;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 3px 9px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.coupon-discount-banner {
    margin-top: 4px;
    margin-bottom: 4px;
}

.coupon-discount-val {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.95rem;
    color: #0f172a;
    line-height: 1.1;
    letter-spacing: -0.5px;
    display: inline-block;
}

.coupon-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600 !important;
    color: #1e293b;
    font-size: 1.05rem;
    margin-top: 6px;
    margin-bottom: 6px;
    line-height: 1.35;
}

.coupon-desc {
    color: #64748b;
    font-size: 0.86rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Ticket Notch Cutout */
.coupon-notch-divider {
    position: relative;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    margin: 0;
    flex-shrink: 0;
}

.coupon-notch-divider::before,
.coupon-notch-divider::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.coupon-notch-divider::before {
    left: -13px;
    box-shadow: inset -2px 0 3px rgba(0, 0, 0, 0.04);
}

.coupon-notch-divider::after {
    right: -13px;
    box-shadow: inset 2px 0 3px rgba(0, 0, 0, 0.04);
}

.coupon-dashed-line {
    width: 100%;
    border-top: 2px dashed #cbd5e1;
    margin: 0 20px;
    z-index: 1;
}

/* Coupon Card Footer */
.coupon-card-footer {
    padding: 16px 22px 20px;
    background: #fafbfc;
    border-top: 1px solid rgba(226, 232, 240, 0.5);
    flex-shrink: 0;
}

.coupon-code-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1.5px dashed #007327;
    border-radius: 12px;
    padding: 8px 14px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.coupon-code-box:hover {
    background: #f0fdf4;
    border-color: #007327;
}

.coupon-code-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.coupon-code-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.coupon-code-text {
    font-family: 'Poppins', monospace;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 1.2px;
    color: #007327;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-copy-code {
    background: #007327;
    border: 1px solid #007327;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 8px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 115, 39, 0.2);
}

.btn-copy-code:hover {
    background: #0f4c28;
    border-color: #0f4c28;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 115, 39, 0.3);
}

.btn-copy-code.copied {
    background: #059669 !important;
    border-color: #059669 !important;
    color: #ffffff !important;
    transform: scale(0.98);
}

.coupon-meta-terms {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.76rem;
    color: #64748b;
    gap: 8px;
}

/* Spotlight Deal Products */
.deal-product-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.25s ease;
    height: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.deal-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.deal-product-img-wrap {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    padding: 15px;
    position: relative;
}

.deal-product-img {
    max-height: 150px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.deal-product-card:hover .deal-product-img {
    transform: scale(1.05);
}

.deal-discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ef4444;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.72rem;
    padding: 4px 8px;
    border-radius: 6px;
}

/* Care Packages Banner */
.care-package-card {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

/* Steps Section */
.step-item-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    height: 100%;
}

.step-num-circle {
    width: 44px;
    height: 44px;
    background: #e8f5e9;
    color: #007327;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.1rem;
    border: 2px solid #a7f3d0;
}
