@media (max-width: 1120px) {}

@media (max-width: 992px) {
    .custom_nav-container .nav_search-btn {
        background-position: center;
    }

    .slider_section {
        background-size: cover;
        background-position: center;
    }

    .quote_btn-container {
        justify-content: center;
    }
}

@media (max-width: 768px) {

    /* ── Hero ── */
    .hero_area {
        height: auto;
    }

    .slider_section {
        padding: 70px 0 70px;
        background-size: cover;
        background-position: center center;
        background-attachment: scroll;
    }

    .about_hero_section.slider_section {
        padding: 0;
    }

    .slider_section .glass {
        display: none;
    }

    .slider_section .detail-box {
        text-align: center;
    }

    /* h1 is near-black in main CSS — make it white so it shows on the image */
    .slider_section .detail-box h1 {
        color: #ffffff;
        text-shadow: 0 2px 8px rgba(0,0,0,0.7);
    }

    .slider_section .detail-box h2 {
        text-shadow: 0 2px 8px rgba(0,0,0,0.7);
    }

    /* Dark scrim so text is always readable over the image */
    .slider_section::before {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 0;
    }

    .slider_section .container {
        position: relative;
        z-index: 1;
    }

    .slider_section .custom_carousel-control {
        display: none;
    }

    .slider_section .carousel-indicators {
        bottom: 25px;
        right: 25px;
    }

    /* ── Navbar logos ── */
    .navbar-brand img.brand-logo-glasses {
        height: 22px;
        max-width: 36px;
    }

    .navbar-brand img.brand-logo-text {
        height: 15px;
        max-width: 120px;
    }

    /* ── About section ── */
    .about_section .img-box {
        margin-top: 35px;
        text-align: center;
    }

    /* ── Product cards — 2 per row on tablet ── */
    .glass_section .heading_container {
        justify-content: center;
    }

    .glass_section .glass_container {
        justify-content: center;
    }

    .glass_section .glass_container .box {
        width: calc(50% - 24px);
        min-width: 160px;
    }

    /* ── Offer section ── */
    .offer_section .detail-box {
        margin: 45px 0;
        text-align: center;
    }

    /* ── Buy section ── */
    .buy_section .box {
        margin-bottom: 30px;
    }

    /* ── Quality section ── */
    .quality_section .img-container {
        margin-top: 25px;
        height: 175px;
    }

    /* ── Footer ── */
    .info_section .row > div {
        text-align: center;
    }

    .info_section .row .col-md-3 {
        margin: 0;
        margin-bottom: 25px;
    }

    .site-footer .footer-logo {
        justify-content: center;
    }

    .site-footer .footer-contact-list,
    .site-footer .footer-nav-list {
        text-align: center;
    }
}

@media (max-width: 576px) {

    .slider_section .detail-box h1 {
        font-size: 2.5rem;
    }

    .slider_section .detail-box h2 {
        font-size: 1.75rem;
    }

    .heading_container h2 {
        font-size: 1.75rem;
    }

    /* ── Product cards — 1 per row on phone ── */
    .glass_section .glass_container .box {
        width: calc(100% - 24px);
        max-width: 340px;
    }

    /* ── Navbar logos ── */
    .navbar-brand img.brand-logo-glasses {
        height: 20px;
        max-width: 32px;
    }

    .navbar-brand img.brand-logo-text {
        height: 13px;
        max-width: 100px;
    }

    /* ── Buttons ── */
    .slider_section .detail-box .btn-box a {
        padding: 10px 30px;
        font-size: 0.9rem;
    }

    /* ── Contact page ── */
    .contact_page .contact_info_card,
    .contact_page .contact_form_card {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .slider_section .carousel-indicators {
        bottom: 20px;
        right: 20px;
    }

    .layout_padding {
        padding: 50px 0;
    }

    .layout_padding2 {
        padding: 30px 0;
    }
}

@media (max-width: 400px) {
    .slider_section .detail-box h1 {
        font-size: 2rem;
    }

    .slider_section .detail-box h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 360px) {
    .slider_section .detail-box h1 {
        font-size: 1.75rem;
    }

    .slider_section .detail-box h2 {
        font-size: 1.3rem;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1170px;
    }
}
