/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 320px;
}

@media (min-width: 768px) {
    .hero-section {
        min-height: 420px;
    }
}

.slider-arrow-left {
    left: 0.5rem;
}

.slider-arrow-right {
    right: 0.5rem;
}

@media (min-width: 768px) {
    .slider-arrow {
        width: 2.75rem;
        height: 2.75rem;
    }

    .slider-arrow-left {
        left: 1rem;
    }

    .slider-arrow-right {
        right: 1rem;
    }
}

/* ===== COUNTDOWN BAR ===== */
.countdown-bar {
    padding: 0.6rem 1rem;
}

.countdown-unit {
    min-width: 2.25rem;
    text-align: center;
    border-radius: 0.4rem;
    padding: 0.15rem 0.35rem;
}

/* ===== PRODUCT TABS ===== */
.tab-bar-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.375rem;
    border-radius: 1rem;
}

@media (min-width: 640px) {
    .tab-bar-wrap {
        border-radius: 9999px;
    }
}

/* ===== CATEGORY CARDS ===== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 72rem;
    margin: 0 auto;
}

@media (min-width: 480px) {
    .category-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 640px) {
    .category-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (min-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(7, 1fr);
    }
}

@media (min-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(8, 1fr);
    }
}

.category-card {
    width: 100%;
    min-width: 0;
}

/* ===== STATS SECTION ===== */
.stats-section {
    padding: 3rem 0;
}

@media (max-width: 639px) {
    .stats-section .grid {
        gap: 1rem;
    }

    .stat-card {
        padding: 1rem;
    }
}

/* ===== FEATURE PILLS ===== */
.feature-pill-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
}

.feature-pill-row::-webkit-scrollbar {
    display: none;
}

.feature-pill {
    flex-shrink: 0;
}

/* ===== SECTION HEADER ===== */
.section-title {
    font-size: clamp(1.25rem, 4vw, 1.875rem);
}

.section-sub {
    font-size: clamp(0.8rem, 2.5vw, 1rem);
}

/* ===== BTN FOOTER LINK ===== */
.btn-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
    font-size: clamp(0.8rem, 2.5vw, 0.95rem);
    font-weight: 700;
    border-radius: 9999px;
}

/* ===== HERO IMAGE ===== */
.hero-img-wrapper img {
    width: clamp(10rem, 40vw, 20rem);
    height: clamp(10rem, 40vw, 20rem);
}

/* ===== HERO FLOAT ANIMATION ===== */
.animate-float {
    animation: floatY 5s ease-in-out infinite;
}
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

/* ===== SIDEBAR ACTIVE LINK ===== */
.category-link.active {
    background-color: #F0F7FB !important;
    color: #1D689B !important;
    font-weight: 800 !important;
    border-inline-start: 3px solid #2C79AF !important;
}

.dark .category-link.active {
    background-color: rgba(44, 121, 175, 0.2) !important;
    color: #54B3E6 !important;
    border-inline-start: 3px solid #54B3E6 !important;
}
