/* ============================================
   ROUTER SALES PAGE SPECIFIC STYLES
   WiFiHapa - Router Sales & E-commerce 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 ----- */
.router-hero {
    background: linear-gradient(145deg, #edf4ff 0%, #ffffff 100%);
    padding: 2rem 1.5rem;
    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 .router-hero {
    background: var(--hero-bg, linear-gradient(145deg, #111827 0%, #1e2538 100%));
}

/* ----- ROUTER CARDS ----- */
.router-card {
    background: var(--card-bg, white);
    border-radius: 24px;
    padding: 1.2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: var(--transition, all 0.25s ease);
    height: 100%;
    position: relative;
}

body.dark .router-card {
    background: var(--card-bg, #1e2538);
    border-color: var(--border-light, rgba(255, 255, 255, 0.05));
}

.router-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(13, 110, 253, 0.08);
}

.router-badge {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    background: #d4a11e;
    color: white;
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
    font-size: 0.6rem;
    font-weight: 700;
}

.router-badge.sale {
    background: #dc3545;
}

.router-badge.new {
    background: #28a745;
}

.router-badge.premium {
    background: #6f42c1;
}

.router-image {
    width: 100%;
    height: 140px;
    background: linear-gradient(135deg, #f0f7fa, #e4edff);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    overflow: hidden;
}

.router-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.router-title {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
    color: var(--text-primary, #0a2c3d);
}

.router-specs {
    list-style: none;
    padding: 0;
    margin: 0.8rem 0;
}

.router-specs li {
    padding: 0.3rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
    color: var(--text-secondary, #5e6f7d);
}

body.dark .router-specs li {
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

.router-specs i {
    color: #0d6efd;
    width: 16px;
    font-size: 0.65rem;
}

.router-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary, #0a2c3d);
    margin: 0.6rem 0;
}

.router-price small {
    font-size: 0.65rem;
    font-weight: 500;
    color: #6c757d;
}

.old-price {
    text-decoration: line-through;
    font-size: 0.7rem;
    color: #dc3545;
    margin-left: 0.3rem;
}

/* ----- BUTTONS ----- */
.btn-buy-router {
    width: 100%;
    background: #0d6efd;
    border: none;
    border-radius: 50px;
    padding: 0.5rem;
    font-weight: 600;
    font-size: 0.75rem;
    color: white;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: var(--transition, all 0.2s ease);
}

.btn-buy-router:hover {
    background: #0b5ed7;
    color: white;
    transform: scale(0.98);
}

.btn-buy-router.outline {
    background: white;
    border: 1.5px solid #0d6efd;
    color: #0d6efd;
}

body.dark .btn-buy-router.outline {
    background: transparent;
    color: #0d6efd;
}

.btn-buy-router.outline:hover {
    background: #0d6efd;
    color: white;
}

/* ----- BUNDLE CARDS ----- */
.bundle-card {
    background: var(--card-bg, white);
    border-radius: 20px;
    padding: 1rem;
    text-align: center;
    transition: var(--transition, all 0.2s ease);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

body.dark .bundle-card {
    background: var(--card-bg, #1e2538);
    border-color: var(--border-light, rgba(255, 255, 255, 0.05));
}

.bundle-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
}

/* ----- SECTION TITLES ----- */
.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary, #0a2c3d);
}

/* ----- RESPONSIVE ----- */
@media (max-width: 768px) {
    .router-hero {
        padding: 1.2rem;
    }
    .router-hero h1 {
        font-size: 1.8rem;
    }
    .router-hero .fs-4 {
        font-size: 1.2rem !important;
    }
    .section-title {
        font-size: 1.3rem;
    }
    .router-title {
        font-size: 0.9rem;
    }
    .router-specs li {
        font-size: 0.65rem;
    }
    .router-price {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .router-card {
        padding: 1rem;
    }
    .router-image {
        height: 100px;
    }
    .router-badge {
        font-size: 0.5rem;
        padding: 0.15rem 0.6rem;
    }
    .btn-buy-router {
        padding: 0.4rem;
        font-size: 0.7rem;
    }
}