/* ===== Laptop ===== */
@media (max-width: 1399px) {
    .product_wrap {
        grid-template-columns: 1.3fr 1fr;
    }

    .product_item:first-child h3 {
        font-size: 40px;
    }

    .product_item h3 {
        font-size: 24px;
    }

    .product_item:first-child {
        padding: 34px 40px 0 34px;
    }
}



@media (max-width:1366px) {
    body {
        padding-top: 94px;
    }

    .header-right-wrapper {
        padding: 0 20px;
    }

    .logo-wrapper {
        padding: 20px;
    }

    .logo-wrapper img {
        height: 40px;
    }

    .contact-detail {
        gap: 15px;
    }

    .header-right-wrapper .nav-link {
        margin: 0 8px;
    }

    .contact-info a {
        font-size: 15px;
    }

    .section-title br,
    .hero-title br {
        display: none;
    }

    .hero-title {
        font-size: 55px;
    }

    .about-section::before {
        bottom: -169px;
        width: 650px;
        background-size: 650px 578px;
    }

    .product_box .content h3 {
        gap: 12px;
    }

    .product_type_box .content h3 {
        gap: 12px;
    }
}

@media (max-width:1279px) {
    .product_type_box .content {
        padding: 0px 25px 25px;
    }

    .product_type_box .content h3:after {
        height: 35px;
        width: 35px;
        background-size: 35px;
    }

    .product_type_box .content h3 a {
        max-width: 180px;
    }

    .product_box .content {
        padding: 0px 25px 25px;
    }

    .product_box .content h3:after {
        height: 35px;
        width: 35px;
        background-size: 35px;
    }

    .product_box .content h3 a {
        max-width: 180px;
    }

    .form-data::before {
        left: -25%;
    }

    .hero-subtitle {
        font-size: 16px;
    }
}

/* =========================================
   MOBILE / TABLET
   1200 and below
========================================= */
@media (max-width: 1199px) {

    .navbar-toggle {
        display: block;
        z-index: 99999;
    }

    .navbar-toggle {
        position: relative;
        width: 28px;
        height: 28px;
        padding: 0;
        background: none;
        border: 0;
        cursor: pointer;
        flex-shrink: 0;
    }

    .navbar-toggle span {
        position: absolute;
        left: 0;
        width: 28px;
        height: 2px;
        margin: 0;
        background-color: var(--primary-red);
        border-radius: 2px;
        display: block;
        transition: all 0.3s ease-in-out;
    }


    .navbar-toggle span:nth-child(1) {
        top: 0;
    }

    .navbar-toggle span:nth-child(2) {
        top: 9px;
    }

    .navbar-toggle span:nth-child(3) {
        top: 18px;
    }

    /* ---------- X state ---------- */
    .menu-show .navbar-toggle span:nth-child(1) {
        top: 9px;
        /* middle ma lavo */
        transform: rotate(45deg);
    }

    .menu-show .navbar-toggle span:nth-child(2) {
        opacity: 0;
        width: 0;
    }

    .menu-show .navbar-toggle span:nth-child(3) {
        top: 9px;
        /* middle ma lavo */
        transform: rotate(-45deg);
    }

    /*
     * IMPORTANT:
     * Submenu stays INSIDE the main black menu.
     */

    .desktop-nav .nav-item.dropdown {
        position: relative;
        width: 100%;
        transition: all 0.5s ease;
    }



    /*
     * CLOSED
     */

    .desktop-nav .nav-item.dropdown>.dropdown-menu {
        display: none !important;
        position: static !important;
        top: auto;
        left: auto;
        width: 100%;
        min-width: 0;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto;
        transform: none !important;
        transition: all 0.5s ease;
    }


    /*
     * OPEN
     */

    .desktop-nav .nav-item.dropdown.submenu-open>.dropdown-menu {

        display: block !important;
    }


    /*
     * Submenu items
     */

    .desktop-nav .nav-item.dropdown>.dropdown-menu li {

        display: block;

        width: 100%;

        margin: 0;
        padding: 0;
    }


    /*
     * Submenu links
     */

    .desktop-nav .nav-item.dropdown>.dropdown-menu li a {

        display: block;

        width: 100%;

        padding: 9px 15px;

        color: #ffffff !important;

        background: transparent !important;

        font-size: 14px;

        line-height: 1.4;

        text-decoration: none;

        white-space: normal;

        transition: color 0.3s ease;
    }


    /*
     * Hover submenu link
     */

    .desktop-nav .nav-item.dropdown>.dropdown-menu li a:hover {

        color: #ee3239 !important;

        background: transparent !important;
    }


    /*
     * Arrow when opened
     */

    .desktop-nav .nav-item.dropdown.submenu-open>.nav-link .submenu-toggle {

        transform: rotate(225deg);
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-right-wrapper {
        position: relative;
        padding-right: 20px;
        justify-content: flex-end;
        gap: 20px;
    }

    /* Slide-in mobile nav panel */
    .desktop-nav {
        position: fixed;
        top: 0;
        right: -380px;
        width: 300px;
        max-width: 85%;
        height: 100vh;
        background: var(--dark-bg);
        z-index: 1050;
        padding: 65px 30px 30px;
        overflow-y: auto;
        transition: right 0.4s ease;
        box-shadow: -8px 0 25px rgba(0, 0, 0, 0.35);
    }

    .desktop-nav.active {
        right: 0;
    }

    .desktop-nav ul.nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        height: auto;
    }

    .desktop-nav ul.nav li.nav-item {
        width: 100%;
        border-bottom: 1px solid #FFFFFF1A;
    }

    .header-right-wrapper .nav-link::after {
        bottom: -1px;
    }

    .desktop-nav ul.nav li.nav-item:has(> .nav-link.active),
    .desktop-nav ul.nav li.nav-item.submenu-open {
        border-bottom: 1px solid var(--primary-red);
    }

    .header-right-wrapper .nav-link {
        margin: 0;
        padding: 14px 0;
        width: 100%;
        justify-content: space-between;
    }

    .menu-show .desktop-nav {
        right: 0;
        box-shadow: -1px 0 10px 0 #0000001f;
        display: flex;
        flex-direction: column;
    }

    .menu-show .desktop-nav .social-links {
        display: block;
        margin: auto 0 0 0;
    }

    .astim-about-intro,
    section {
        padding: 60px 0;
    }

    .giant-text {
        font-size: 250px;
    }

    .section-title {
        font-size: 36px;
    }

    .about-text {
        font-size: 16px;
    }


    .about-section::before {
        bottom: -115px;
        width: 570px;
        height: 500px;
        background-size: 570px 500px;
    }

    .products-section {
        padding: 120px 0 50px;
    }

    .product-card-left {
        width: 100%;
        max-width: 570px;
    }

    .product-title {
        font-size: 36px;
    }

    .product-title br {
        display: none;
    }

    .product-card {
        padding: 39px 40px 0px 39px;
    }

    .product-card-right .product-card {
        padding: 30px 30px 0 30px;
    }

    .large-card .card-image img {
        max-height: 300px;
    }

    .product-card-right .product-card h3 {
        font-size: 24px;
    }

    .form-detail {
        max-width: 510px;
    }

    .product-detail-section .product_content_col {
        padding-left: 18px;
    }

    .product-detail-section .product_image_col {
        max-width: 488px;
    }

    .breadcrumb-item.active,
    .breadcrumb-item a {
        font-size: 17px;
    }

    ol.breadcrumb {
        margin-bottom: 15px;
    }

    .product-detail-section .product_detail h1 {
        font-size: 36px;
        margin-bottom: 15px;
    }

    .product-detail-section .product_detail p {
        font-size: 17px;
    }

    .product-detail-section .product_detail .btn-wrp {
        margin: 32px 0px;
    }

    .product-detail-section table tr>* {
        padding: 0px 14px;
        font-size: 14px;
    }

    .product-detail-section {
        padding-top: 60px;
    }

    .btn-primary-custom {
        font-size: 14px;
        padding: 0 15px;
        gap: 5px;

    }
}

/* =========================
   DESKTOP HOVER
========================= */


@media (max-width:1024px) {
    .about-left {
        padding-top: 0;
    }

    .section-title {
        font-size: 32px;
    }

    .brand-subtitle {
        margin-top: 20px;
    }

    .brand-logo {
        margin-bottom: 0;
    }

    .counter-num,
    .counter-plus {
        font-size: 40px;
    }

    .counter-text {
        font-size: 14px;
    }

    .product-title {
        margin-bottom: 20px;
    }

    .product-card-right .product-card h3 {
        font-size: 22px;
        margin-bottom: 20px;
    }


    .form-detail {
        max-width: 450px;
    }



    .inner-hero .hero-title {
        font-size: 50px;
    }



}


@media (max-width:991px) {
    .header-right-wrapper {
        gap: 10px;
    }

    .sticky header .logo-wrapper {
        padding: 15px;
    }

    .btn-primary-custom {
        font-size: 14px;
        padding: 0 15px;
        gap: 5px;

    }

    .contact-detail {
        gap: 10px;
    }

    .hero-section {
        padding: 30px 0px 81px;
    }

    .owl-carousel .owl-item img {
        height: 350px;
        object-fit: contain;
    }

    .hero-wrap .hero-image-container {
        margin: 20px auto 30px !important;
    }

    .hero-wrap {
        display: flex;
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-wrap .hero-image-container {
        margin: 20px auto 30px !important;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .hero-carousel .owl-dots {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        justify-content: center;
    }

    .hero-title {
        font-size: 44px;
        margin-bottom: 15px;
    }

    .giant-text {
        font-size: 200px;
    }

    .gs-reveal-right.about-details {
        max-width: 100%;
        margin-top: 12px;
    }

    .counter-grid:not(.about) {
        padding-top: 0;
        gap: 25px 0;
        max-width: 270px;
        margin-left: auto;
        margin-top: -70px;
    }

    .counter-grid:not(.about)>* {
        width: 100%;
    }

    .counter-num,
    .counter-plus {
        font-size: 32px;
        margin-bottom: 1px
    }

    .about-section::before {
        bottom: -280px;
    }

    .brand-logo {
        padding: 15px;
    }



    .brand-logo img {
        height: 30px;
    }

    .about-section::before {
        bottom: -160px;
        width: 480px;
        height: 400px;
        background-size: 480px 400px;
    }

    .about-section::after {
        display: block;
    }


    .products-section {
        padding: 70px 0 50px;
    }

    .products-section h2 {
        font-size: 39px;
        margin-bottom: 5px;
    }

    .product_wrap {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        margin-top: 40px;
    }

    .product_item:first-child {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .product_item:first-child h3 {
        font-size: 36px;
    }

    .product_item:first-child .image {
        margin-top: -100px;
        max-width: 300px;
    }

    /* right cards: text upar, image niche */
    .product_item:not(:first-child) {
        flex-direction: column;
        padding: 26px 26px 0;
    }

    .product_item:not(:first-child) .image {
        max-width: 220px;
        flex: 0 0 auto;
        margin-top: 10px;
        align-self: flex-end;
    }

    .product_item:not(:first-child) .image img {
        max-height: 220px;
    }

    .btn-link {
        font-size: 15px;
        padding: 0 20px;
        gap: 7px;
    }

    .hero-section.inner-hero {
        min-height: 260px;
    }

    .inner-hero .hero-title {
        font-size: 40px;
    }

    .form-detail {
        max-width: 322px;
    }

    .form-card .form-control {
        padding: 12px 18px;
        height: 46px;
        margin-bottom: 12px;
        font-size: 14px;
    }

    .contact-section .section-title {
        font-size: 28px;
        margin-bottom: 25px;
    }

    .product-detail-section {
        padding-top: 60px;
    }

    .product-detail-section .product_image_col {
        position: unset;
        max-width: 100%;
    }

    .product_image_col .image {
        padding: 45px 0px;
        max-width: 530px;
        width: 100%;
        margin: 0px auto 30px;
    }

    .product-detail-section .product_content_col {
        text-align: center;
        padding: 0px 30px;
    }

    .breadcrumb-item.active,
    .breadcrumb-item a {
        font-size: 16px;
    }

    ol.breadcrumb {
        margin-bottom: 12px;
    }

    .product-detail-section .product_detail h1 {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .product-detail-section .product_detail p {
        font-size: 16px;
        line-height: 150%;
    }

    .product-detail-section .product_detail .btn-wrp {
        margin: 30px 0px;
        justify-content: center;
    }

    .product_type_box .content h3 a {
        max-width: 225px;
    }

    .product_type_box .content h3 {
        height: 56px;
    }

    .product_type_box {
        min-height: 340px;
    }


    .product_box .content h3 a {
        max-width: 225px;
    }

    .product_box .content h3 {
        height: 56px;
    }

    .product_box {
        min-height: 340px;
    }

    .form-card h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .info-item a,
    .info-item strong {
        font-size: 16px;
    }

    .info-item {
        margin-bottom: 20px;
    }

    .social-list a {
        width: 32px;
        height: 32px;
    }

    .astim-about-heading h2 {
        font-size: 36px;
    }

    .astim-about-product-visual {
        margin-top: 60px;
    }

    .astim-about-product-visual img {
        display: block;
        max-width: 600px;
        width: 100%;
    }

    .astim-about-copy>p,
    .astim-about-copy__block p {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .astim-about-copy h3 {
        margin: 0 0 10px;
        font-size: 22px;
    }

    .about_water {
        bottom: -40px;
        width: 510px;
    }

    .about_water .img-valve {
        top: -22px;
        width: 250px;
    }

    .about_water::before {
        left: 57px;
        top: -10px;
        width: 400px;
        height: 237px;
        background-size: contain;
    }

}

@media (max-width: 767px) {
    body {
        padding-top: 70px;
    }

    section,
    .astim-about-intro,
    section {
        padding: 30px 0;
    }

    .section-title {
        font-size: 22px;
    }

    .products-section {
        padding: 30px 0;
    }

    .logo-wrapper {
        padding: 15px;
    }

    .sticky header .main-header {
        padding: 0;
    }

    .sticky header .logo-wrapper {
        padding: 10px 0px 20px;
    }

    .logo-wrapper img {
        height: 25px;
    }

    .product-detail .main-header .header-right-wrapper {
        border-radius: 0;
        background-image: none !important;
        background-color: transparent !important;
    }

    .contact-detail .contact-info {
        display: none !important;
    }

    .contact-detail .btn-primary-custom span {
        display: none;
    }

    .header-right-wrapper {
        padding: 0 10px;
    }

    .hero-section {
        padding: 30px 0px 60px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-title {
        font-size: 24px;
    }

    .btn-primary-custom {
        line-height: 44px;
    }

    .owl-carousel .owl-item img {
        height: 200px;
        object-fit: contain;
    }

    .about-section::before {
        display: none;
    }

    .products-section h2 {
        font-size: 30px;
        margin-bottom: 10px;
    }

    .counter-grid:not(.about)>* {
        width: 50%;
    }

    .counter-num,
    .counter-plus {
        font-size: 30px;
        margin-bottom: 4px;
    }


    .about-text {
        font-size: 15px;
    }

    .about-left .title,
    .gs-reveal-right.about-details {
        text-align: center;
    }

    .counter-grid>div>div {
        justify-content: center;
    }

    .brand-logo {
        margin: 0 auto;
    }

    .product-grid {
        flex-direction: column;
    }

    .counter-grid:not(.about) {
        padding-top: 0;
        gap: 20px 0;
        max-width: 100%;
        margin-left: 0;
        margin-top: 30px;
    }

    .giant-text {
        font-size: 90px;
    }

    .large-card .product-title br,
    .about-section::after,
    .footer-quote br {
        display: none;
    }

    .product_wrap {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 30px;
    }

    .product_item,
    .product_item:first-child {
        padding: 24px 20px !important;
    }

    .product_item h3,
    .product_item:first-child h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .product_item .product-btn {
        font-size: 14px;
        line-height: 36px;
        padding: 0 18px;
    }

    .product_item .image {
        order: -1;
    }

    .product_item:first-child .image {
        margin-top: 0px;
        max-width: 200px;
        margin: 0 auto 20px;
    }

    .product_item:not(:first-child) .image {
        max-width: 200px;
        margin: 0 auto 20px;
    }

    .product_item:not(:first-child) .image img {
        max-height: 200px;
    }

    .product_item .content {
        text-align: center;
    }

    .hero-section.inner-hero {
        min-height: 180px;
    }

    .inner-hero .hero-title {
        font-size: 30px;
    }

    .site-footer {
        padding-top: 50px;
    }


    .footer-quote {
        font-size: 15px;
    }

    .social-links a {
        width: 36px;
        height: 36px;
    }

    .footer-nav li a {
        font-size: 14px;
        margin: 0 10px;
    }

    .footer-contact {
        justify-content: center;
        gap: 10px;
    }

    .footer-contact .contact-box {
        width: 100%;
        max-width: 100%;
    }

    .footer-contact a {
        gap: 10px;
        font-size: 15px;
    }

    .footer-contact i {
        width: 44px !important;
        height: 44px !important;
    }

    .footer_bottom p,
    .footer_bottom p a {
        font-size: 14px;
        text-align: center;
    }

    .product-detail-section {
        padding-top: 30px;
    }

    .product_image_col .image {
        max-width: 530px;
        margin-bottom: 20px;
        height: 400px;
    }

    .product-detail-section .product_image_col img {
        object-fit: contain;

    }

    .breadcrumb-item.active,
    .breadcrumb-item a {
        font-size: 14px;
    }

    .product-detail-section .product_detail h1 {
        font-size: 25px;
    }

    .product-detail-section .product_detail p {
        font-size: 14px;
        line-height: 140%;
    }

    .product-detail-section .product_detail .btn-wrp {
        margin: 20px 0px;
        flex-direction: column;
        gap: 10px;
    }

    .product-detail-section .product_detail .btn-wrp a.btn {
        width: 100%;
    }

    .product-detail-section .product_detail h4 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .product-detail-section table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .product-detail-section table tr>* {
        padding: 0px 12px;
        font-size: 13px;
        text-wrap: nowrap;
    }

    .product-detail-section .product_content_col {
        padding: 0px 15px;
    }

    .main_pop_wrapper {
        padding: 45px 20px;
        background-size: 200px;
    }

    .inquiry-box {
        padding: 20px;
    }

    .form_content h2 {
        font-size: 25px;
        margin-bottom: 16px;
    }

    .form_content .form-control {
        padding: 12px 18px;
        height: 46px;
        margin-bottom: 12px;
        font-size: 14px;
    }

    .popup_close {
        right: 18px;
        top: 8px;
    }

    .product_type_box .content h3 {
        height: fit-content;
    }

    .product_type_box {
        min-height: fit-content;
    }


    .product_box .content h3 {
        height: fit-content;
    }

    .product_box {
        min-height: fit-content;
    }

    .form-card {
        padding: 30px 25px;
    }

    .form-card h2 {
        font-size: 22px;
        margin-bottom: 25px;
    }

    .form-data::before {
        display: none;
    }

    .form-data {
        order: -1;
        margin-bottom: 30px;
    }

    .form-detail {
        max-width: 100%;
    }

    .astim-about-container .counter-grid {
        margin: 0 0 40px;
    }

    .astim-about-heading h2 {
        font-size: 22px;
    }

    .astim-about-copy>p,
    .astim-about-copy__block p {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .astim-about-copy h3 {
        font-size: 20px;
    }

    .astim-about-product-visual {
        margin-top: 40px;
    }

    .about_water {
        bottom: 0;
        width: 360px;
        position: relative;
        margin-top: 60px;
    }

    .about_water .img-valve {
        top: -15px;
        width: 179px;
    }

    .about_water::before {
        left: 27px;
        top: -60px;
        width: 310px;
        height: 237px;
        background-size: contain;
    }


}