/* ============================================
   BUNDLES OFFERS PAGE SPECIFIC STYLES
   WiFiHapa - Bundle Deals & Promotions Styles
   ============================================ */
   /* Main Content */
.main-content {
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Hero Section */
.bundles-hero {
    background: linear-gradient(145deg, #edf4ff 0%, #ffffff 100%);
    padding: 2.5rem 2rem;
    border-radius: 40px;
    margin: 1.5rem 0 2rem;
    border: 1px solid rgba(13, 110, 253, 0.05);
    transition: var(--transition, all 0.3s ease);
}

body.dark .bundles-hero {
    background: var(--hero-bg, linear-gradient(145deg, #111827 0%, #1e2538 100%));
}

@media (max-width: 768px) {
    .bundles-hero {
        padding: 1.5rem;
    }
    .bundles-hero h1 {
        font-size: 1.8rem;
    }
    .bundles-hero .fs-4 {
        font-size: 1.2rem !important;
    }
}

/* Offer Badges */
.offer-badge {
    background: rgba(13, 110, 253, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #0d6efd;
}

.offer-badge i {
    color: #0d6efd;
}

body.dark .offer-badge {
    background: rgba(13, 110, 253, 0.2);
    color: #6ea8fe;
}

body.dark .offer-badge i {
    color: #6ea8fe;
}

/* Countdown Timer */
.countdown-timer {
    background: #0b2b40;
    border-radius: 20px;
    padding: 1rem;
    color: white;
    text-align: center;
    max-width: 250px;
    margin: 0 auto;
}

.timer-digits {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: monospace;
}

/* Section Title */
.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary, #0a2c3d);
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }
}

/* Bundle Cards */
.bundle-card {
    background: var(--card-bg, white);
    border-radius: 28px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,0.04));
    border: 1px solid var(--border-light, rgba(0,0,0,0.05));
    transition: var(--transition, all 0.25s ease);
    height: 100%;
    position: relative;
}

body.dark .bundle-card {
    background: var(--card-bg, #1e2538);
}

.bundle-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(13, 110, 253, 0.08);
}

.bundle-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #d4a11e;
    color: white;
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.bundle-badge.super-saver {
    background: #dc3545;
}

.bundle-icon {
    width: 60px;
    height: 60px;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

body.dark .bundle-icon {
    background: #2a3448;
}

.bundle-icon i {
    font-size: 1.8rem;
    color: #0d6efd;
}

.bundle-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary, #0a2c3d);
    margin: 0.6rem 0;
}

.bundle-price small {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-secondary, #6c757d);
}

.original-price {
    text-decoration: line-through;
    font-size: 0.8rem;
    color: #dc3545;
    margin-left: 0.3rem;
}

.savings-badge {
    background: #28a745;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    display: inline-block;
}

/* Bundle Features */
.bundle-features {
    list-style: none;
    padding: 0;
    margin: 0.8rem 0;
}

.bundle-features li {
    padding: 0.4rem 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8rem;
    border-bottom: 1px dashed var(--border-light, rgba(0,0,0,0.05));
    color: var(--text-secondary, #5e6f7d);
}

.bundle-features li:last-child {
    border-bottom: none;
}

.bundle-features i {
    color: #0d6efd;
    width: 18px;
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* Bundle Buttons */
.btn-bundle {
    width: 100%;
    background: #0d6efd;
    border: none;
    border-radius: 50px;
    padding: 0.6rem;
    font-weight: 600;
    font-size: 0.85rem;
    color: white;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: var(--transition, all 0.2s ease);
    cursor: pointer;
}

.btn-bundle:hover {
    background: #0b5ed7;
    transform: translateY(-2px);
    color: white;
}

.btn-bundle.outline {
    background: white;
    border: 1.5px solid #0d6efd;
    color: #0d6efd;
}

body.dark .btn-bundle.outline {
    background: transparent;
}

.btn-bundle.outline:hover {
    background: #0d6efd;
    color: white;
}

/* % off next to the crossed out price (same as the Routers page) */
.discount-pill {
    display: inline-block;
    background: #dc3545;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.1rem 0.5rem;
    border-radius: 50px;
    margin-left: 0.35rem;
    vertical-align: middle;
}

/* Info Cards */
.info-card {
    background: var(--card-bg, white);
    border-radius: 24px;
    padding: 1.5rem;
    border: 1px solid var(--border-light, rgba(0,0,0,0.05));
    height: 100%;
}

body.dark .info-card {
    background: var(--card-bg, #1e2538);
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon.gold-bg {
    background: rgba(212, 161, 30, 0.12);
    color: #d4a11e;
}

body.dark .info-icon.gold-bg {
    background: rgba(212, 161, 30, 0.2);
}

body.dark .info-icon.blue-bg {
    background: rgba(13, 110, 253, 0.2);
    color: #6ea8fe;
}

.info-icon.blue-bg {
    background: #e4edff;
    color: #0d6efd;
}

/* Discount Tiers */
.discount-tier {
    background: var(--badge-light-bg, #f8fafd);
    padding: 0.8rem;
    border-radius: 16px;
    font-size: 0.8rem;
}

body.dark .discount-tier {
    background: var(--badge-light-bg, #2a3448);
}

/* Offer Banner */
.offer-banner {
    background: linear-gradient(135deg, #0b2b40 0%, #1a4a60 100%);
    border-radius: 20px;
    padding: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .bundle-card {
        padding: 1.2rem;
    }
    .bundle-price {
        font-size: 1.3rem;
    }
    .countdown-timer {
        margin-top: 1rem;
    }
    .info-card {
        padding: 1.2rem;
    }
    .offer-banner {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .bundle-hero h1 {
        font-size: 1.8rem;
    }
    .bundle-icon {
        width: 50px;
        height: 50px;
    }
    .bundle-icon i {
        font-size: 1.5rem;
    }
    .discount-tier {
        padding: 0.5rem;
        font-size: 0.7rem;
    }
}

/* Out of stock (stock set on admin/bundles.php) */
.btn-bundle.disabled {
    background: #adb5bd !important;
    border-color: #adb5bd !important;
    color: #fff !important;
    cursor: not-allowed;
}

/* What's inside: the real products of the bundle */
.bundle-inside-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary, #6c757d);
    margin: 0.8rem 0 0.4rem;
}

.bundle-items {
    list-style: none;
    padding: 0;
    margin: 0 0 0.4rem;
    display: grid;
    gap: 0.4rem;
}

.bundle-items li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary, #0a2c3d);
    background: rgba(13, 110, 253, 0.05);
    border-radius: 12px;
    padding: 0.35rem 0.5rem;
}

.bundle-items img,
.bundle-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    flex-shrink: 0;
}

.bundle-items img {
    object-fit: contain;
    background: #fff;
    border: 1px solid #eef2f6;
}

.bundle-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
}

.bundle-items strong {
    color: #0d6efd;
}

body.dark .bundle-items li {
    background: rgba(110, 168, 254, 0.08);
}
