@media (max-width: 768px) {
    .main-navbar .top-header-part {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .main-navbar .top-header-part .search_field {
        width: 100%;
    }

    .main-navbar .top-header-part .enquiry_button_part {
        width: 100%;
        display: flex;
        justify-content: flex-start;
    }

    .main-navbar .top-header-part .enquiry_button_part button {
        width: auto;
    }

}

@media (max-width: 992px) {
    .main-navbar .top-header-part {
        gap: 10px;
    }

    header .navbar .container-fluid {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    header .navbar .container-fluid .navbar-toggler {
        margin-left: auto;
    }

    header .navbar .container-fluid .collapse.navbar-collapse {
        order: 1;
        width: 100%;
    }

    .main-navbar .top-header-part .enquiry_button_part {
        display: none;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {

    header .navbar .container-fluid .navbar-nav .mega-dropdown {
        position: static;
    }

    header .navbar .container-fluid .navbar-nav .mega-dropdown .dropdown-menu {
        width: min(760px, calc(100vw - 3rem));
        left: 50%;
        transform: translateX(-50%);
        margin-top: -1px;
    }

    header .navbar .container-fluid .navbar-nav .mega-dropdown .dropdown-menu .cat-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    header .navbar .container-fluid .navbar-nav .mega-dropdown .dropdown-menu .cat-pill {
        padding: 10px 12px;
        font-size: 13px;
    }

    header .navbar .container-fluid .navbar-nav .nav-item {
        padding: 0 6px;
    }
}


@media (max-width: 992px) {
    header .navbar .container-fluid .navbar-nav .mega-dropdown .dropdown-menu {
        width: 100%;
        left: 0;
        transform: none;
        border-radius: 8px;
    }

    header .navbar .container-fluid .navbar-nav .mega-dropdown .dropdown-menu .cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .productdetail_first_section .right_side_part .info_part .title {
        margin-top: 30px;
    }
}

@media (max-width: 576px) {
    header .navbar .container-fluid .navbar-nav .mega-dropdown .dropdown-menu .cat-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1400px) {
    .about_first_section img {
        height: 600px;
        object-fit: cover;
        object-position: center;
    }

    .about_first_section .content-on-img .subtitle {
        font-size: 42px;
        max-width: 520px;
    }
}

@media (max-width: 1200px) {
    .about_first_section img {
        height: 520px;
    }

    .about_first_section .content-on-img {
        left: 8%;
    }

    .about_first_section .content-on-img .subtitle {
        font-size: 36px;
        max-width: 480px;
    }

    .about_first_section .content-on-img .title {
        font-size: 15px;
    }
}

@media (max-width: 1024px) {
    .about_first_section img {
        height: 460px;
    }

    .about_first_section .content-on-img {
        left: 6%;
    }

    .about_first_section .content-on-img .subtitle {
        font-size: 32px;
        max-width: 440px;
    }

    .about_first_section .content-on-img .title {
        font-size: 14px;
    }
}

@media (max-width: 992px) {
    .about_first_section img {
        height: 420px;
    }

    .about_first_section .content-on-img {
        left: 5%;
    }

    .about_first_section .content-on-img .subtitle {
        font-size: 28px;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .about_first_section img {
        height: 200px;
    }

    .about_first_section .content-on-img {
        /* top: auto; */
        /* bottom: 30px; */
        left: 20px;
        right: 20px;
        max-width: 50%;
        /* transform: none; */
    }

    .about_first_section .content-on-img .subtitle {
        font-size: 24px;
        max-width: 100%;
    }

    .about_first_section .content-on-img .title {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .about_first_section img {
        height: 200px;
    }

    .about_first_section .content-on-img {
        left: 15px;
        right: 15px;
    }

    .about_first_section .content-on-img .subtitle {
        font-size: 20px;
    }

    .about_first_section .content-on-img .title {
        font-size: 13px;
    }
}

@media (max-width: 1400px) {
    .about_second_section {
        padding: 80px 0;
    }

    .about_second_section .container {
        height: 200px;
    }

    .about_second_section .first p:nth-of-type(1) {
        font-size: 32px;
    }

    .about_second_section .first p:nth-of-type(2) {
        font-size: 18px;
    }
}

@media (max-width: 1200px) {
    .about_second_section {
        padding: 70px 0;
    }

    .about_second_section .container {
        height: 180px;
    }

    .about_second_section .first p:nth-of-type(1) {
        font-size: 30px;
    }

    .about_second_section .first p:nth-of-type(2) {
        font-size: 18px;
    }
}

@media (max-width: 1024px) {
    .about_second_section {
        padding: 60px 0;
    }

    .about_second_section .container {
        height: 160px;
    }

    .about_second_section .first p:nth-of-type(1) {
        font-size: 28px;
    }

    .about_second_section .first p:nth-of-type(2) {
        font-size: 17px;
    }
}

@media (max-width: 992px) {
    .about_second_section {
        padding: 50px 0;
    }

    .about_second_section .container {
        height: auto;
        padding: 24px 16px;
    }

    .about_second_section .row {
        row-gap: 20px;
    }

    .about_second_section .first::after {
        display: none;
    }

    .about_second_section .first p:nth-of-type(1) {
        font-size: 26px;
    }

    .about_second_section .first p:nth-of-type(2) {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .about_second_section {
        padding: 40px 0;
    }

    .about_second_section .container {
        padding: 20px 14px;
        border-radius: 16px;
        background-position: center;
        background-size: cover;
    }

    .about_second_section .first p:nth-of-type(1) {
        font-size: 24px;
    }

    .about_second_section .first p:nth-of-type(2) {
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .about_second_section {
        padding: 32px 0;
    }

    .about_second_section .container {
        padding: 18px 12px;
        border-radius: 14px;
    }

    .about_second_section .first p:nth-of-type(1) {
        font-size: 22px;
    }

    .about_second_section .first p:nth-of-type(2) {
        font-size: 14px;
    }
}


@media (max-width: 1400px) {
    .product_first_section img {
        height: 600px;
        object-fit: cover;
        object-position: center;
    }

    .product_first_section .content-on-img .subtitle {
        font-size: 42px;
        max-width: 520px;
    }
}

@media (max-width: 1200px) {
    .product_first_section img {
        height: 520px;
    }

    .product_first_section .content-on-img {
        left: 8%;
    }

    .product_first_section .content-on-img .subtitle {
        font-size: 36px;
        max-width: 480px;
    }
}

@media (max-width: 1024px) {
    .product_first_section img {
        height: 460px;
    }

    .product_first_section .content-on-img {
        left: 6%;
    }

    .product_first_section .content-on-img .subtitle {
        font-size: 32px;
        max-width: 440px;
    }
}

@media (max-width: 992px) {
    .product_first_section img {
        height: 420px;
    }

    .product_first_section .content-on-img {
        left: 5%;
    }

    .product_first_section .content-on-img .subtitle {
        font-size: 28px;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .product_first_section img {
        height: 200px;
    }

    .product_first_section .content-on-img {
        left: 20px;
        right: 20px;
        max-width: 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .product_first_section .content-on-img .subtitle {
        font-size: 24px;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .product_first_section img {
        height: 200px;
    }

    .product_first_section .content-on-img {
        left: 15px;
        right: 15px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .product_first_section .content-on-img .subtitle {
        font-size: 20px;
    }
}

@media (max-width: 992px) {
    .productdetail_first_section .product-slider-container .main-swiper {
        width: 100%;
    }

    .productdetail_first_section .product-slider-container {
        flex-direction: column;
    }

    .productdetail_first_section .product-slider-container .thumb_part,
    .productdetail_first_section .product-slider-container .main_img_part {
        width: 100%;
        max-width: 100%;
    }

    .productdetail_first_section .product-slider-container .main_img_part {
        order: 1;
        margin-bottom: 15px;
    }

    .productdetail_first_section .product-slider-container .thumb_part {
        order: 2;
    }

    .productdetail_first_section .product-slider-container .thumb-swiper .swiper-wrapper {
        flex-direction: row;
    }

    .productdetail_first_section .product-slider-container .thumb-swiper .swiper-slide {
        width: 80px;
        height: 80px;
        margin-right: 10px;
        margin-bottom: 0;
    }

    .productdetail_first_section .product-slider-container .thumb-swiper .swiper-slide:last-child {
        margin-right: 0;
    }
}


@media (max-width: 576px) {
    .productdetail_first_section .product-slider-container .main-swiper {
        height: 300px;
    }

    .productdetail_first_section .product-slider-container .thumb-swiper .swiper-slide {
        height: 64px !important;
        width: 64px !important;
    }
}