/* Mobile & Responsive Overrides */

@media (max-width: 960px) {

    /* Navbar collapse */
    .nav-links {
        display: none;
        /* Hide standard links */
    }

    .nav-cta {
        display: none;
        /* Hide standard CTA */
    }

    .menu-toggle {
        display: flex;
        z-index: 1100;
        margin-left: auto;
    }

    /* Mobile Drawer */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 70%;
        height: 100vh;
        background-color: var(--bg-secondary);
        z-index: 1050;
        padding-top: 100px;
        padding-left: 2rem;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active a {
        font-size: 1.5rem;
        color: var(--text-primary);
    }

    .mobile-menu-overlay.active {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.7);
        z-index: 1040;
    }

    /* Hero Stacking */
    .hero-container {
        flex-direction: column-reverse;
        justify-content: center;
        text-align: center;
        padding-top: var(--space-md);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-img {
        max-width: 80%;
        margin-bottom: var(--space-md);
    }

    /* Showcase Stacking */
    .showcase-item {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
    }

    .showcase-item.reverse {
        flex-direction: column;
    }

    .showcase-text h3 {
        font-size: 1.5rem;
    }

    /* Footer / Mobile Sticky */
    .footer-links {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .mobile-sticky-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: var(--bg-secondary);
        padding: 12px 24px;
        align-items: center;
        justify-content: space-between;
        z-index: 999;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
    }

    .mobile-sticky-bar .price {
        font-size: 1.25rem;
        color: var(--accent-gold);
        font-weight: 700;
    }

    .mobile-sticky-bar .original-price {
        font-size: 0.875rem;
        color: var(--text-muted);
        text-decoration: line-through;
        margin-left: 4px;
    }

    /* Back to Top position adjustment */
    .back-to-top {
        bottom: 90px;
        /* Above sticky bar */
        right: 20px;
        width: 45px;
        height: 45px;
    }

    /* Specs grid adjustment */
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Reviews single column */
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* Small phones */
@media (max-width: 480px) {
    :root {
        --container-width: 92%;
    }

    .hero-title {
        font-size: 2rem;
    }
}