/* ==========================================================================
   Global & Layout Setup
   ========================================================================== */
   .test-series-page {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: #f4f6fb;
    color: #1a1a24;
}

/* Helper Class */
.desktop-only {
    display: inline;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, #020b33 0%, #0d2873 50%, #0042a5 100%);
    position: relative;
    padding: 50px 0 90px 0;
    color: #ffffff;
    overflow: hidden;
}

/* Floating Dots & Ambient Background Layer */
.hero-bg-accents {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

/* Left-side Dot Matrix Grid */
.hero-dots-grid {
    position: absolute;
    top: 30px;
    left: 20px;
    width: 140px;
    height: 180px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1.5px, transparent 1.5px);
    background-size: 14px 14px;
    opacity: 0.7;
}

/* Large Curvy Radial Background Glow Effect */
.hero-curvy-bg {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 140%;
    background: radial-gradient(circle, rgba(28, 93, 233, 0.45) 0%, rgba(2, 11, 51, 0) 70%);
    border-radius: 50%;
    filter: blur(50px);
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 620px;
}

.breadcrumb {
    font-size: 13px;
    color: #a0aec0;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: #cbd5e0;
    text-decoration: none;
}

.breadcrumb .sep {
    margin: 0 6px;
    color: #718096;
}

.breadcrumb .active {
    color: #ffb800;
    font-weight: 600;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.hero-description {
    font-size: 16px;
    line-height: 1.6;
    color: #d2d6dc;
    margin-bottom: 32px;
}

/* Hero Stats Grid (Responsive Layout) */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    width: 100%;
}

.stat-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 12px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.stat-icon {
    font-size: 18px;
    color: #ffb800;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    white-space: nowrap;
}

.stat-text span {
    font-size: 11px;
    color: #a0aec0;
    display: block;
    white-space: nowrap;
}

/* Right Side Image Wrapper & Curvy Background */
.hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    max-width: 580px;
    width: 100%;
}

/* Curvy Shape directly behind the Asset Image */
.curvy-image-backdrop {
    position: absolute;
    width: 115%;
    height: 115%;
    top: -7.5%;
    left: -7.5%;
    background: radial-gradient(ellipse at center, rgba(30, 82, 219, 0.45) 0%, rgba(2, 11, 51, 0.1) 70%);
    border-radius: 40% 60% 65% 35% / 45% 55% 45% 55%;
    z-index: 1;
    pointer-events: none;
    transform: rotate(-3deg);
}

.hero-img {
    position: relative;
    z-index: 2;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.3));
}

/* Curved Bottom Divider Wave */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 60px;
    line-height: 0;
    z-index: 3;
}

.hero-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* ==========================================================================
   Hero Responsiveness Across Screens
   ========================================================================== */

/* Large Laptops / Tablets Landscape (1024px - 1200px) */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 44px;
    }
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* Tablets Portrait (768px - 991px) */
@media (max-width: 991px) {
    .hero-section {
        padding: 40px 0 80px 0;
    }
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 36px;
    }
    .hero-content {
        max-width: 100%;
    }
    .breadcrumb {
        justify-content: center;
        display: flex;
    }
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
        margin: 0 auto;
    }
    .stat-card {
        justify-content: flex-start;
        text-align: left;
    }
    .hero-image-wrapper {
        max-width: 500px;
    }
    .hero-dots-grid {
        width: 90px;
        height: 120px;
    }
}

/* Mobile Devices (Under 576px) */
@media (max-width: 576px) {
    .hero-section {
        padding: 30px 0 70px 0;
    }
    .hero-title {
        font-size: 32px;
    }
    .hero-description {
        font-size: 14px;
        margin-bottom: 24px;
    }
    .desktop-only {
        display: none;
    }
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .stat-card {
        padding: 10px 14px;
    }
    .curvy-image-backdrop {
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
    }
    .hero-dots-grid {
        display: none; /* Hide dots on small mobile to avoid overflow */
    }
}
/* ==========================================================================
   Catalog & Filter Section
   ========================================================================== */
.catalog-section {
    padding: 30px 0 60px 0;
}

.catalog-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Filter Header Bar */
.filter-header {
    background: #ffffff;
    border-radius: 16px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    margin-bottom: 28px;
    gap: 16px;
}

.filter-title {
    font-size: 18px;
    font-weight: 700;
    color: #0d1b3e;
    margin: 0;
    white-space: nowrap;
}

.filter-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
}

.pill-btn {
    border: none;
    background: #f0f4f8;
    color: #4a5568;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.pill-btn i {
    font-size: 12px;
}

.pill-btn:hover {
    background: #e2e8f0;
}

.pill-btn.active {
    background: #2563eb;
    color: #ffffff;
}

.sort-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-size: 13px;
    color: #718096;
    font-weight: 500;
}

.sort-select {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #2d3748;
    outline: none;
    background: #fff;
    cursor: pointer;
}

/* ==========================================================================
   Cards Grid
   ========================================================================== */
.test-cards-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.test-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.test-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Header Colors */
.theme-ca   { background: linear-gradient(135deg, #091a3e, #0d2873); }
.theme-cs   { background: linear-gradient(135deg, #024b30, #046a45); }
.theme-cma  { background: linear-gradient(135deg, #4c0840, #6f0d5e); }
.theme-jee  { background: linear-gradient(135deg, #031c4b, #003285); }
.theme-neet { background: linear-gradient(135deg, #003a3d, #00565b); }
.theme-ssc  { background: linear-gradient(135deg, #580c0c, #801212); }

.card-header {
    padding: 16px;
    position: relative;
    color: #ffffff;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: capitalize;
}

.badge-bestseller { background: #ffaa00; color: #000; }
.badge-popular    { background: #10b981; color: #fff; }
.badge-trending   { background: #ec4899; color: #fff; }
.badge-new        { background: #06b6d4; color: #fff; }

.header-content {
    margin-top: 24px;
}

.header-content h3 {
    font-size: 20px;
    font-weight: 800;
    margin: 0;
    line-height: 1;
}

.header-content p {
    font-size: 10px;
    font-weight: 700;
    margin: 2px 0 0 0;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.header-content span {
    font-size: 10px;
    opacity: 0.8;
}

.header-logo {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #64748b;
    margin-bottom: 12px;
}

.test-name {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.feature-item {
    font-size: 11px;
    color: #16a34a;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    margin-bottom: 12px;
}

.price {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
}

.old-price {
    font-size: 11px;
    color: #94a3b8;
    text-decoration: line-through;
}

.discount {
    font-size: 10px;
    color: #16a34a;
    background: #dcfce7;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    margin-left: auto;
}

.btn-details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 8px;
    border: 1px solid #2563eb;
    border-radius: 8px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-details:hover {
    background: #2563eb;
    color: #ffffff;
}

/* ==========================================================================
   Features Bottom Bar
   ========================================================================== */
.features-bar {
    background: #ffffff;
    border-radius: 16px;
    padding: 18px 24px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.feature-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.box-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.icon-blue   { background: #eff6ff; color: #2563eb; }
.icon-orange { background: #fff7ed; color: #ea580c; }
.icon-green  { background: #f0fdf4; color: #16a34a; }
.icon-purple { background: #faf5ff; color: #9333ea; }
.icon-red    { background: #fef2f2; color: #dc2626; }

.box-text h5 {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.box-text p {
    font-size: 11px;
    color: #64748b;
    margin: 2px 0 0 0;
    line-height: 1.2;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1200px) {
    .test-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .features-bar {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .filter-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .filter-pills {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .test-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-title {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .test-cards-grid {
        grid-template-columns: 1fr;
    }
    .features-bar {
        grid-template-columns: 1fr;
    }
    .hero-stats {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   1. Base & Layout Container
   ========================================================================== */
   .test-series-page {
    width: 100%;
    overflow-x: hidden;
    background-color: #f7f9fc;
    color: #1a202c;
    line-height: 1.5;
}

.desktop-only {
    display: inline;
}

.mb-0 {
    margin-bottom: 0 !important;
}

/* ==========================================================================
   2. Hero Section (Gradient, Dots, Radial Glow, Wavy Border)
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, #090326 0%, #150a3d 50%, #11052c 100%);
    position: relative;
    padding: 36px 0 90px 0;
    color: #ffffff;
    overflow: hidden;
}

.hero-dots-top-right {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 120px;
    height: 90px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    z-index: 1;
    pointer-events: none;
}

.hero-dots-center {
    position: absolute;
    top: 40px;
    left: 55%;
    width: 100px;
    height: 80px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    z-index: 1;
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.breadcrumb {
    font-size: 12px;
    color: #a0aec0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: #ffffff;
}

.breadcrumb .sep {
    color: #4a5568;
    font-size: 10px;
}

.breadcrumb .active {
    color: #e2e8f0;
}

.category-pill {
    display: inline-block;
    background: rgba(139, 92, 246, 0.25);
    border: 1px solid rgba(139, 92, 246, 0.4);
    color: #c4b5fd;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 12px;
    color: #ffffff;
    letter-spacing: -0.2px;
}

.hero-description {
    font-size: 13px;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 28px;
}

/* Stat Badges */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-icon {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 14px;
}

.stat-text strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.stat-text span {
    font-size: 10px;
    color: #94a3b8;
    display: block;
    margin-top: 2px;
}

/* Vector Illustration Graphics Area */
.hero-image-wrapper {
    flex: 0 0 420px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-glow-behind {
    position: absolute;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.5) 0%, rgba(79, 70, 229, 0.2) 45%, transparent 70%);
    filter: blur(40px);
    z-index: 1;
    pointer-events: none;
}

.hero-vector-art {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 360px;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clipboard-mockup {
    width: 190px;
    height: 230px;
    background: #6366f1;
    border-radius: 16px;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.4);
    position: relative;
    padding: 24px 16px 16px;
    transform: rotate(-4deg);
    border: 2px solid #818cf8;
}

.clipboard-clip {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 20px;
    background: #4338ca;
    border-radius: 6px;
    border: 2px solid #a5b4fc;
}

.clipboard-content {
    background: #ffffff;
    border-radius: 8px;
    height: 100%;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.clipboard-title {
    font-size: 10px;
    font-weight: 800;
    color: #4338ca;
    text-align: center;
    text-transform: uppercase;
}

.clipboard-line {
    height: 8px;
    background: #e0e7ff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding: 0 4px;
}

.clipboard-check {
    width: 12px;
    height: 12px;
    background: #6366f1;
    border-radius: 3px;
    margin-right: 6px;
}

.pencil-mockup {
    position: absolute;
    bottom: 20px;
    left: 40px;
    width: 110px;
    height: 14px;
    background: #f59e0b;
    border-radius: 3px;
    transform: rotate(-35deg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 3;
}

.clock-mockup {
    position: absolute;
    right: 10px;
    bottom: 30px;
    width: 130px;
    height: 130px;
    background: #818cf8;
    border-radius: 50%;
    border: 6px solid #4f46e5;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.clock-face {
    width: 100px;
    height: 100px;
    background: #ffffff;
    border-radius: 50%;
    position: relative;
}

.clock-hand-hour {
    position: absolute;
    top: 25px;
    left: 48px;
    width: 4px;
    height: 28px;
    background: #1e1b4b;
    transform-origin: bottom center;
    transform: rotate(45deg);
    border-radius: 2px;
}

.clock-hand-min {
    position: absolute;
    top: 15px;
    left: 48px;
    width: 3px;
    height: 38px;
    background: #4338ca;
    transform-origin: bottom center;
    transform: rotate(135deg);
    border-radius: 2px;
}

.hero-wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 3;
}

.hero-wave-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
}

/* ==========================================================================
   3. Main Container (2-Column Grid)
   ========================================================================== */
.main-container {
    max-width: 1200px;
    margin: 30px auto 60px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
}

.content-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 24px;
    margin-bottom: 24px;
}

.section-heading {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.about-text {
    font-size: 13px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Feature Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.feature-item {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    padding: 12px;
}

.feature-icon-box {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    margin-bottom: 8px;
    font-size: 12px;
}

.feature-title {
    font-size: 11px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.feature-desc {
    font-size: 10px;
    color: #64748b;
    line-height: 1.3;
}

/* Tags Flex */
.tags-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.subject-tag {
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
}

.tag-purple { background: #f3e8ff; color: #7e22ce; }
.tag-green { background: #dcfce7; color: #15803d; }
.tag-orange { background: #ffedd5; color: #c2410c; }
.tag-pink { background: #fce7f3; color: #be185d; }
.tag-blue { background: #e0f2fe; color: #0369a1; }

/* Highlights List */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
}

.highlight-line {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
}

.check-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #10b981;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 10px;
}

/* Sample Tests Cards */
.sample-tests-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.view-all-link {
    font-size: 12px;
    font-weight: 600;
    color: #4f46e5;
    text-decoration: none;
}

.sample-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.sample-card {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px 12px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sample-card-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-size: 14px;
}

.icon-purple { background: #f3e8ff; color: #7e22ce; }
.icon-green { background: #dcfce7; color: #15803d; }
.icon-orange { background: #ffedd5; color: #c2410c; }
.icon-blue { background: #e0f2fe; color: #0369a1; }

.sample-card-title {
    font-size: 11px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
    line-height: 1.3;
}

.sample-card-meta {
    font-size: 10px;
    color: #94a3b8;
    margin-bottom: 12px;
}

.btn-view-test {
    width: 100%;
    padding: 6px 0;
    border: 1px solid #818cf8;
    background: #ffffff;
    color: #4f46e5;
    font-size: 11px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-view-test:hover {
    background: #eef2ff;
}

/* ==========================================================================
   4. Sidebar Purchase Panel
   ========================================================================== */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pricing-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.pricing-label {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 8px;
    margin-bottom: 12px;
}

.current-price {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
}

.original-price {
    font-size: 13px;
    color: #94a3b8;
    text-decoration: line-through;
}

.discount-badge {
    font-size: 11px;
    font-weight: 700;
    color: #16a34a;
}

.savings-box {
    background: #f0fdf4;
    border-radius: 6px;
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    color: #16a34a;
    margin-bottom: 16px;
}

.validity-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
    margin-bottom: 20px;
}

.validity-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 14px;
}

.validity-text span {
    display: block;
    font-size: 9px;
    color: #94a3b8;
    text-transform: uppercase;
}

.validity-text strong {
    display: block;
    font-size: 11px;
    color: #1e293b;
}

/* Coupon Items */
.offers-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.offers-title {
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
}

.badge-best-offer {
    background: #ffedd5;
    color: #c2410c;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
}

.coupons-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.coupon-item {
    border: 1px dashed #cbd5e1;
    border-radius: 6px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fafafa;
}

.coupon-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.coupon-left label {
    cursor: pointer;
}

.coupon-code {
    font-size: 11px;
    font-weight: 700;
    color: #0f172a;
}

.coupon-desc {
    font-size: 10px;
    color: #64748b;
}

.btn-apply-coupon {
    background: none;
    border: none;
    color: #4f46e5;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.enter-coupon-btn {
    width: 100%;
    padding: 8px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 6px;
    color: #4f46e5;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    margin-bottom: 16px;
}

.btn-buy-now {
    width: 100%;
    padding: 12px;
    background: #4f46e5;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    transition: background 0.2s ease;
    margin-bottom: 8px;
}

.btn-buy-now:hover {
    background: #4338ca;
}

.checkout-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 10px;
    color: #64748b;
    margin-bottom: 16px;
}

.trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    font-weight: 600;
    color: #475569;
}

.trust-item i {
    color: #4f46e5;
    font-size: 12px;
}

.support-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.support-title {
    font-size: 11px;
    font-weight: 700;
    color: #1e293b;
}

.support-sub {
    font-size: 10px;
    color: #64748b;
}

.btn-chat {
    padding: 6px 12px;
    border: 1px solid #818cf8;
    background: #ffffff;
    color: #4f46e5;
    font-size: 10px;
    font-weight: 700;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

/* ==========================================================================
   5. Recommended Cards Slider
   ========================================================================== */
.recommended-section {
    max-width: 1200px;
    margin: 40px auto 60px;
    padding: 0 24px;
}

.rec-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.slider-arrows {
    display: flex;
    gap: 8px;
}

.arrow-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
    font-size: 11px;
}

.rec-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.rec-card {
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.rec-card-hero {
    height: 110px;
    padding: 12px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff;
}

.rec-hero-1 { background: linear-gradient(135deg, #1e1b4b, #31103f); }
.rec-hero-2 { background: linear-gradient(135deg, #064e3b, #022c22); }
.rec-hero-3 { background: linear-gradient(135deg, #78350f, #451a03); }
.rec-hero-4 { background: linear-gradient(135deg, #075985, #0c4a6e); }

.rec-badge-off {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ef4444;
    color: #ffffff;
    font-size: 8px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 3px;
}

.rec-hero-cat {
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0.8;
    margin-top: 16px;
}

.rec-hero-title {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
}

.rec-card-body {
    padding: 12px;
}

.rec-card-category {
    font-size: 11px;
    font-weight: 700;
    color: #1e293b;
}

.rec-subtitle {
    font-size: 10px;
    color: #64748b;
    margin-bottom: 8px;
}

.rec-price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 8px;
}

.rec-price { font-size: 13px; font-weight: 800; color: #0f172a; }
.rec-old-price { font-size: 10px; color: #94a3b8; text-decoration: line-through; }

.rec-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    color: #f59e0b;
    font-weight: 700;
}

.rec-rating span {
    color: #94a3b8;
    font-weight: 400;
}

/* ==========================================================================
   6. Media Queries & Responsiveness
   ========================================================================== */
@media (max-width: 1024px) {
    .main-container {
        grid-template-columns: 1fr;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .breadcrumb {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image-wrapper {
        flex: none;
        width: 100%;
    }

    .sample-cards-grid, .rec-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .desktop-only {
        display: none;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .sample-cards-grid, .rec-cards-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

/* ==========================================================================
   FINAL RESPONSIVE SYSTEM
   Hi-Tech Pathshala - Test Series
   --------------------------------------------------------------------------
   IMPORTANT:
   - No existing classes removed
   - No HTML changes required
   - Only responsive overrides
   - Bootstrap compatible
   ========================================================================== */


/* ==========================================================================
   LARGE DESKTOP
   1400px+
   ========================================================================== */

   @media (min-width: 1400px) {

    .hero-container,
    .main-container,
    .recommended-section,
    .catalog-container {
        max-width: 1280px;
    }

    .hero-container {
        gap: 50px;
    }

    .hero-content {
        max-width: 640px;
    }

    .hero-image-wrapper {
        flex-basis: 460px;
    }

    .test-cards-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .features-bar {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

}


/* ==========================================================================
   DESKTOP / LAPTOP
   1200px - 1399px
   ========================================================================== */

@media (max-width: 1399px) {

    .hero-container,
    .main-container,
    .recommended-section,
    .catalog-container {
        max-width: 1200px;
    }

    .hero-container {
        gap: 32px;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-image-wrapper {
        flex-basis: 400px;
    }

    .test-cards-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .features-bar {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


/* ==========================================================================
   SMALL LAPTOP / TABLET LANDSCAPE
   992px - 1199px
   ========================================================================== */

@media (max-width: 1199px) {

    /* ---------- Global Containers ---------- */

    .hero-container,
    .main-container,
    .recommended-section,
    .catalog-container {
        padding-left: 20px;
        padding-right: 20px;
    }


    /* ---------- Hero ---------- */

    .hero-section {
        padding-top: 34px;
        padding-bottom: 80px;
    }

    .hero-container {
        gap: 28px;
    }

    .hero-content {
        max-width: 560px;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-image-wrapper {
        flex-basis: 360px;
    }

    .hero-vector-art {
        max-width: 330px;
    }


    /* ---------- Main Content ---------- */

    .main-container {
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 24px;
    }


    /* ---------- Test Cards ---------- */

    .test-cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }


    /* ---------- Features ---------- */

    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .features-bar {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }


    /* ---------- Sample / Recommended ---------- */

    .sample-cards-grid,
    .rec-cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }


    /* ---------- Pricing ---------- */

    .pricing-card {
        padding: 18px;
    }

}


/* ==========================================================================
   TABLET
   768px - 991px
   ========================================================================== */

@media (max-width: 991px) {

    /* ---------- Global ---------- */

    .test-series-page {
        width: 100%;
        overflow-x: hidden;
    }


    /* ---------- Hero ---------- */

    .hero-section {
        padding: 32px 0 72px;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .hero-content {
        width: 100%;
        max-width: 720px;
        margin: 0 auto;
    }

    .breadcrumb {
        justify-content: center;
    }

    .category-pill {
        margin-bottom: 12px;
    }

    .hero-title {
        font-size: 32px;
        line-height: 1.2;
    }

    .hero-description {
        max-width: 650px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 24px;
    }


    /* ---------- Hero Stats ---------- */

    .hero-stats {
        justify-content: center;
        width: 100%;
        gap: 14px 22px;
    }

    .stat-card {
        justify-content: flex-start;
        text-align: left;
    }


    /* ---------- Hero Illustration ---------- */

    .hero-image-wrapper {
        width: 100%;
        max-width: 460px;
        flex: none;
        margin: 0 auto;
    }

    .hero-vector-art {
        max-width: 360px;
    }


    /* ---------- Main Content ---------- */

    .main-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        margin-top: 24px;
        margin-bottom: 48px;
    }


    /* ---------- Sidebar ---------- */

    .sidebar {
        width: 100%;
    }

    .pricing-card {
        width: 100%;
    }


    /* ---------- Features ---------- */

    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .features-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    /* ---------- Sample Cards ---------- */

    .sample-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    /* ---------- Recommended ---------- */

    .rec-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    /* ---------- Catalog ---------- */

    .catalog-section {
        padding-top: 24px;
        padding-bottom: 48px;
    }

    .filter-header {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .filter-title {
        white-space: normal;
    }

    .filter-pills {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 4px;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    .sort-wrapper {
        width: 100%;
        justify-content: flex-end;
    }


    /* ---------- Cards ---------- */

    .card-header {
        height: 115px;
    }

    .header-content h3 {
        font-size: 18px;
    }

}


/* ==========================================================================
   MOBILE LANDSCAPE / LARGE MOBILE
   576px - 767px
   ========================================================================== */

@media (max-width: 767px) {

    /* ---------- Containers ---------- */

    .hero-container,
    .main-container,
    .recommended-section,
    .catalog-container {
        padding-left: 16px;
        padding-right: 16px;
    }


    /* ---------- Hero ---------- */

    .hero-section {
        padding: 28px 0 64px;
    }

    .hero-title {
        font-size: 28px;
        line-height: 1.22;
        letter-spacing: -0.3px;
    }

    .hero-description {
        font-size: 13px;
        line-height: 1.55;
        margin-bottom: 22px;
    }

    .breadcrumb {
        font-size: 11px;
        margin-bottom: 14px;
    }


    /* ---------- Hero Stats ---------- */

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        max-width: 520px;
        margin: 0 auto;
    }

    .stat-card {
        width: 100%;
    }

    .stat-icon {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .stat-text strong {
        font-size: 12px;
    }

    .stat-text span {
        font-size: 9px;
    }


    /* ---------- Hero Illustration ---------- */

    .hero-image-wrapper {
        max-width: 400px;
    }

    .hero-vector-art {
        height: 230px;
        max-width: 320px;
    }

    .clipboard-mockup {
        width: 170px;
        height: 205px;
    }

    .clock-mockup {
        width: 110px;
        height: 110px;
        right: 0;
        bottom: 22px;
    }

    .clock-face {
        width: 84px;
        height: 84px;
    }

    .pencil-mockup {
        width: 95px;
        left: 25px;
    }


    /* ---------- Main Content ---------- */

    .main-container {
        margin-top: 20px;
        margin-bottom: 40px;
    }

    .content-card {
        padding: 18px;
        margin-bottom: 18px;
    }

    .section-heading {
        font-size: 15px;
    }

    .about-text {
        font-size: 12px;
    }


    /* ---------- Features ---------- */

    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .feature-item {
        padding: 10px;
    }


    /* ---------- Highlights ---------- */

    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }


    /* ---------- Sample Tests ---------- */

    .sample-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }


    /* ---------- Pricing ---------- */

    .pricing-card {
        padding: 16px;
    }

    .current-price {
        font-size: 22px;
    }


    /* ---------- Recommended ---------- */

    .recommended-section {
        margin-top: 30px;
        margin-bottom: 40px;
    }

    .rec-header {
        margin-bottom: 14px;
    }

    .rec-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }


    /* ---------- Features Bar ---------- */

    .features-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 16px;
        gap: 14px;
    }

}


/* ==========================================================================
   MOBILE PORTRAIT
   <= 575px
   ========================================================================== */

@media (max-width: 575px) {

    /* ---------- Global ---------- */

    .desktop-only {
        display: none !important;
    }


    /* ---------- Hero ---------- */

    .hero-section {
        padding: 24px 0 58px;
    }

    .hero-container {
        padding-left: 14px;
        padding-right: 14px;
        gap: 24px;
    }

    .hero-title {
        font-size: 25px;
        line-height: 1.22;
    }

    .hero-description {
        font-size: 12px;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .category-pill {
        font-size: 9px;
        padding: 4px 8px;
        margin-bottom: 10px;
    }


    /* ---------- Breadcrumb ---------- */

    .breadcrumb {
        font-size: 10px;
        gap: 4px;
        margin-bottom: 12px;
    }

    .breadcrumb .sep {
        font-size: 8px;
    }


    /* ---------- Hero Stats ---------- */

    .hero-stats {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 280px;
        gap: 10px;
    }

    .stat-card {
        width: 100%;
        justify-content: flex-start;
    }


    /* ---------- Hero Illustration ---------- */

    .hero-image-wrapper {
        max-width: 330px;
    }

    .hero-vector-art {
        width: 100%;
        height: 210px;
    }

    .hero-glow-behind {
        width: 220px;
        height: 220px;
    }

    .clipboard-mockup {
        width: 150px;
        height: 185px;
        padding: 20px 12px 12px;
        border-radius: 13px;
    }

    .clipboard-content {
        padding: 9px;
        gap: 7px;
    }

    .clipboard-title {
        font-size: 8px;
    }

    .clipboard-line {
        height: 6px;
    }

    .clipboard-check {
        width: 9px;
        height: 9px;
    }

    .pencil-mockup {
        width: 82px;
        height: 11px;
        left: 18px;
        bottom: 18px;
    }

    .clock-mockup {
        width: 92px;
        height: 92px;
        border-width: 5px;
        right: -2px;
        bottom: 20px;
    }

    .clock-face {
        width: 70px;
        height: 70px;
    }

    .clock-hand-hour {
        top: 18px;
        left: 33px;
        height: 21px;
    }

    .clock-hand-min {
        top: 10px;
        left: 34px;
        height: 28px;
    }


    /* ---------- Wave ---------- */

    .hero-wave-bottom svg {
        height: 36px;
    }

    .hero-wave {
        height: 40px;
    }


    /* ---------- Catalog ---------- */

    .catalog-section {
        padding: 20px 0 40px;
    }

    .catalog-container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .filter-header {
        padding: 12px 14px;
        border-radius: 12px;
        margin-bottom: 18px;
    }

    .filter-title {
        font-size: 15px;
    }

    .filter-pills {
        gap: 6px;
    }

    .pill-btn {
        padding: 7px 11px;
        font-size: 11px;
        border-radius: 8px;
    }

    .sort-wrapper {
        justify-content: space-between;
        font-size: 11px;
    }

    .sort-select {
        font-size: 11px;
        padding: 6px 8px;
    }


    /* ---------- Test Cards ---------- */

    .test-cards-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .test-card {
        border-radius: 13px;
    }

    .card-header {
        height: 110px;
        padding: 14px;
    }

    .header-content {
        margin-top: 22px;
    }

    .header-content h3 {
        font-size: 18px;
    }

    .header-content p {
        font-size: 9px;
    }

    .header-content span {
        font-size: 9px;
    }

    .card-body {
        padding: 14px;
    }

    .test-name {
        font-size: 12px;
    }

    .feature-item {
        font-size: 10px;
        margin-bottom: 12px;
    }

    .price {
        font-size: 15px;
    }


    /* ---------- Features Bar ---------- */

    .features-bar {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 14px;
        border-radius: 12px;
    }

    .feature-box {
        gap: 10px;
    }

    .box-icon {
        width: 36px;
        height: 36px;
    }


    /* ---------- Main Container ---------- */

    .main-container {
        padding-left: 14px;
        padding-right: 14px;
        margin-top: 18px;
        margin-bottom: 32px;
    }

    .content-card {
        padding: 16px;
        border-radius: 10px;
    }


    /* ---------- Feature Grid ---------- */

    .features-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .feature-item {
        padding: 10px;
    }


    /* ---------- Tags ---------- */

    .tags-flex {
        gap: 7px;
    }

    .subject-tag {
        font-size: 11px;
        padding: 5px 11px;
    }


    /* ---------- Highlights ---------- */

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .highlight-line {
        font-size: 11px;
    }


    /* ---------- Sample Tests ---------- */

    .sample-tests-header {
        align-items: flex-start;
        gap: 10px;
    }

    .sample-cards-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .sample-card {
        padding: 12px;
    }


    /* ---------- Pricing ---------- */

    .pricing-card {
        padding: 14px;
        border-radius: 10px;
    }

    .price-row {
        flex-wrap: wrap;
        gap: 6px;
    }

    .current-price {
        font-size: 21px;
    }

    .original-price {
        font-size: 12px;
    }

    .discount-badge {
        font-size: 10px;
    }

    .validity-grid {
        grid-template-columns: 1fr 1fr;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }


    /* ---------- Coupon ---------- */

    .coupon-item {
        padding: 9px;
    }

    .coupon-desc {
        font-size: 9px;
    }


    /* ---------- Support ---------- */

    .support-card {
        padding: 11px 12px;
    }

    .support-title {
        font-size: 10px;
    }

    .support-sub {
        font-size: 9px;
    }


    /* ---------- Recommended ---------- */

    .recommended-section {
        padding-left: 14px;
        padding-right: 14px;
        margin-top: 28px;
        margin-bottom: 36px;
    }

    .rec-cards-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .rec-card-hero {
        height: 105px;
    }

}


/* ==========================================================================
   VERY SMALL DEVICES
   <= 380px
   ========================================================================== */

@media (max-width: 380px) {

    .hero-container,
    .main-container,
    .recommended-section,
    .catalog-container {
        padding-left: 12px;
        padding-right: 12px;
    }


    .hero-title {
        font-size: 23px;
    }

    .hero-description {
        font-size: 11px;
    }


    .hero-image-wrapper {
        max-width: 290px;
    }

    .hero-vector-art {
        transform: scale(0.9);
        transform-origin: center;
    }


    .filter-header {
        padding: 10px 12px;
    }

    .pill-btn {
        padding: 6px 9px;
        font-size: 10px;
    }


    .content-card {
        padding: 14px;
    }


    .section-heading {
        font-size: 14px;
    }


    .pricing-card {
        padding: 12px;
    }


    .validity-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }


    .btn-buy-now {
        padding: 11px;
        font-size: 12px;
    }


    .features-bar {
        padding: 12px;
    }

}


/* ==========================================================================
   EXTRA SMALL DEVICES
   <= 320px
   ========================================================================== */

@media (max-width: 320px) {

    .hero-title {
        font-size: 21px;
    }

    .hero-description {
        font-size: 10.5px;
    }

    .hero-container,
    .main-container,
    .recommended-section,
    .catalog-container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .stat-text strong {
        font-size: 11px;
    }

    .stat-text span {
        font-size: 8px;
    }

    .card-header {
        height: 105px;
    }

    .header-content h3 {
        font-size: 16px;
    }

}