/* Shared styles for Privacy and Terms pages */

.terms-content {
    padding: 50px 6% 40px;
    max-width: 900px;
    margin: 0 auto;
}

.terms-content h1 {
    font-size: 48px;
    font-weight: 800;
    color: #111111;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.last-updated {
    color: #666666;
    font-size: 14px;
    margin-bottom: 48px;
    display: block;
}

.terms-section {
    margin-bottom: 40px;
}

.terms-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 20px;
}

.terms-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #444444;
    margin-bottom: 16px;
}

.terms-section ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.terms-section li {
    font-size: 16px;
    line-height: 1.8;
    color: #444444;
    margin-bottom: 8px;
}

.back-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #991b1b;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 32px;
    transition: transform 0.3s ease;
}

.back-home:hover {
    transform: translateX(-5px);
}

/* Sticky Navbar Fix for Legal Pages */
.navbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 2000;
}

/* Global Hide for Mobile-only elements on Desktop */


.mobile-contact-text {
    display: flex;
    flex-direction: column;
}

.mobile-contact-label {
    font-size: 9px;
    font-weight: 800;
    color: #991b1b;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 2px;
}

.mobile-contact-number {
    font-size: 13px;
    font-weight: 700;
    color: #111111;
    line-height: 1.1;
}





/* Fixed Mobile Responsive Rules */

@media (max-width: 900px) {

    /* Navbar & Contacts */
    .navbar {
        padding: 12px 20px;
    }



    .mobile-nav-toggle,
    .mobile-contact-pill {
        display: flex !important;
    }

    /* Grid & Layout Fixes */
    .product-grid,
    .categories-grid,
    .clients-grid,
    .footer-container {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }

    .about-container,
    .contact-container,
    .hero-split,
    .products-layout {
        flex-direction: column !important;
        gap: 40px;
    }

    .hero-image {
        height: 350px;
        margin: 0;
        border-radius: 0;
    }

    .hero-content {
        padding: 40px 6%;
        text-align: center;
    }

    /* Terms & Privacy Content Mobile Spacing */
    .terms-content {
        padding: 28px 5% 30px;
    }

    .back-home {
        margin-bottom: 18px;
        font-size: 14px;
    }

    .terms-content h1 {
        font-size: 32px;
        letter-spacing: -0.8px;
        margin-bottom: 12px;
        line-height: 1.25;
    }

    .last-updated {
        font-size: 13px;
        margin-bottom: 24px;
    }

    .terms-section {
        margin-bottom: 28px;
    }

    .terms-section:last-child {
        margin-bottom: 0;
    }

    .terms-section h2 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .terms-section p,
    .terms-section li {
        font-size: 15px;
        line-height: 1.65;
        margin-bottom: 12px;
    }

    /* Mobile bottom nav styles are now unified in assets/css/bottom-nav.css */
}

@media (max-width: 480px) {
    .terms-content {
        padding: 22px 16px 24px;
    }

    .back-home {
        margin-bottom: 14px;
        font-size: 13.5px;
    }

    .terms-content h1 {
        font-size: 26px;
        letter-spacing: -0.5px;
        margin-bottom: 10px;
    }

    .last-updated {
        font-size: 12.5px;
        margin-bottom: 20px;
    }

    .terms-section {
        margin-bottom: 22px;
    }

    .terms-section h2 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .terms-section p,
    .terms-section li {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 10px;
    }
}