:root {
    --main-font-family: 'Inter';
    --Text-Main: #000000;
    --Brand-color-Primary: #000000;
    --Text-paragraph: #575766;
    --CTA-color: #000000;
    --Gray-Background: #ECEFF4;
    --Text-light: #94A0B1;
    --wp--preset--shadow--outlined: 1px solid black;
}

/* Małe Telefony */
@media (max-width: 768px) {
    /* Stylizacja dla małych telefonów */

    .container {
        padding: 0 24px;
    }


    #polityka-prywatnosci .container {
        padding-top: 60px;

    }

    #polityka-prywatnosci {
        border-radius: 0;
    }

    /*HEADER */

    header .header-contact {
        display: none;
        opacity: 0;
    }

    header .account-icons .icon-wrapper.wishlist-icon {}

    header .custom-logo {
        max-width: 130px;
    }

    .site-branding .custom-logo-link {
        display: none;
    }

    .site-branding .mobile-logo {
        display: inline-block;
    }

    header .container {
        padding: 16px 24px;
    }

    .sub-menu {
        display: none;



    }

    .sub-menu li a {
        font-size: 18px !important;

    }


    .sub-menu.expanded {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        position: static;
        visibility: visible;
        opacity: 1;
        margin: 32px 0 0 0;
        padding: 0;
        list-style: none;
    }

    nav.mobile-navigation li {
        width: 100%;
        text-align: center;
    }

    nav.mobile-navigation li.current_page_item a {
        color: var(--CTA-color);
    }

    .woocommerce-MyAccount-navigation {
        margin-bottom: 24px;
    }

    .grecaptcha-badge {
        display: none !important;
    }

    #before-advantages .container {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .mobile-menu-contact-wrapper {
        display: none;
        position: fixed;
        bottom: 16px;
        right: 16px;
        flex-direction: column;
        gap: 16px;
        z-index: 600;
        transition: bottom 0.3s ease-in-out;

    }

    .mobile-menu-contact-wrapper a {
        width: 48px;
        height: 48px;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: var(--CTA-color);
        border-radius: 16px;
        box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.10), 0px 2px 4px -1px rgba(0, 0, 0, 0.06);
    }

    input {
        font-size: 13px !important;
    }

    textarea {
        font-size: 13px !important;
    }

    #indyvidual-ask {
        width: 100%;
    }

    #indyvidual-ask .wpcf7-select {
        font-size: 16px;
    }


    .error-404 .container {
        padding-top: 40px;
        flex-direction: column;
        gap: 40px;
    }


    .error-404 .container .left-col {
        align-items: center;
        text-align: center;
    }

    .error-404 .container .right-col {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #after-swiper .cat-wrapper {
        display: flex;
        flex-direction: column;
    }

    #front-products .section-wrapper {
        flex-direction: column;
        padding-bottom: 42px;
        position: relative;
    }

    #front-products .product-wrapper {
        max-width: 100%;
    }

    #front-products .section-baner.desktop {
        display: none;
    }

    .swiper-pagination-bullet-active {
        background-color: #000 !important;
    }


    #contact-baner .container {
        flex-direction: column;
        padding-top: 62px;
        gap: 62px;
    }

    #contact-baner .container .right-col .text-wrapper {
        text-align: center;
    }

    #contact-baner .container .right-col .icons-wrapper {
        grid-template-columns: 1fr;
        padding-left: 36px;
        padding-right: 36px;
        text-align: center;
    }

    #text-section .container {
        padding-top: 60px;
        padding-bottom: 40px;
    }

    #contact-baner .container .left-col h2 {
        font-size: 32px;
        font-weight: 400;
        text-align: center;
    }

    #contact-baner {
        border-radius: 0;
    }

    #contact-baner .container .left-col .main-button {
        width: 100%;
    }

    #icons-baner .container .icons-wrapper {
        flex-direction: column;
        display: flex;
        text-align: center;
    }

    #zaufanie .card-wrapper {
        display: flex;
        width: 100%;
    }

    #zaufanie .section-header h2 {
        font-size: 32px;

    }

    #mobile-baner .section-baner.mobile {
        display: flex;
    }

    #zaufanie .section-header {
        margin-top: 33px;
        margin-bottom: 55px;
    }

    footer .footer-menu-wrapper {
        flex-direction: column;
        gap: 42px;

    }

    #menu-menu-footer {
        gap: 20px;
    }

    footer .footer-menu-wrapper .col.footer-contact-col {
        margin-top: 28px;
    }

    footer .footer-menu-wrapper .col {
        flex-direction: column;
    }

    #menu-menu-footer {
        flex-direction: column;
    }

    #company-hero .container {
        flex-direction: column;
        padding-top: 52px;
        padding-bottom: 86px;
    }

    #company-hero .container .left-col {
        padding: 0;
    }

    #company-hero .container .left-col h1 {
        font-size: 32px;
        text-align: center;
    }

    #company-hero .container .right-col p {
        color: #26262B;

        text-align: center;
    }

    #company-hero .hero-numbers {
        position: static;
        width: 100%;
        margin-bottom: 14px;
    }

    #images .container {
        padding: 0;
    }

    #images .slide-description {
        display: none;
    }

    .swiper-slide.company-slide {
        height: auto;
    }

    #images .swiper-navs {
        position: static;
        margin-top: 16px;
        margin-bottom: 19px;
        justify-content: center;
    }

    #images .images-wrapper {
        flex-direction: column;
    }

    #images .images-wrapper .col-1 {
        height: 360px;
        width: 100%;
    }

    #images .images-wrapper .col-1 img {
        border-radius: 0;
        max-height: 360px;
        height: 100%;
    }

    #company-text .container {
        flex-direction: column;
        padding-top: 52px;
        padding-bottom: 0;
    }

    #company-text .container .left-col {
        align-items: center;
        text-align: center;
    }

    #images .images-wrapper {
        max-height: unset;
    }

    #images .company-swiper .swiper-wrapper .swiper-slide img {
        border-radius: 16px;
    }

    #images .images-wrapper .col-2 {
        width: 100%;
        aspect-ratio: 1;
    }

    #images::before {
        content: none;
    }

    #front-slider .text-container .left-col h2 {
        font-size: 36px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        text-align: center;
    }

    #front-slider .text-container .right-col .buttons-wrapper {
        flex-direction: column;
    }

    #front-slider .text-container .right-col .buttons-wrapper a {
        width: 100%;
    }

    #front-slider .text-container .right-col p {
        text-align: center;
    }

    #front-slider .text-container {
        flex-direction: column;
        padding-left: 24px;
        padding-right: 24px;
        gap: 52px;
    }

    #after-swiper {
        margin-top: -50px;
    }

    #front-slider {
        padding-top: 50px;
    }

    #front-slider .container {
        padding-left: 0;
        padding-right: 0;
    }

    #front-slider .image-container img {
        height: 370px;
        object-fit: cover;
    }

    #after-swiper .container {
        padding-top: 73px;
        padding-bottom: 73px;
    }

    #front-products .container {
        padding-top: 68px;
    }

    #after-swiper .cat-wrapper .front-cat {
        align-items: center;
        text-align: center;
    }

    #front-products .container .section-header h1 {
        font-size: 32px;
        font-weight: 400;
    }

    #zaufanie {
        margin-top: 0;
        border-radius: 0;
    }

    #archive-header .container .shop-header {
        flex-direction: column;
        gap: 22px;
    }

    .woocommerce .products ul,
    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }

    .woocommerce ul.products[class*=columns-] li.product,
    .woocommerce-page ul.products[class*=columns-] li.product {
        width: 100%;
    }

    #archive-header {
        margin: 16px;
        border-radius: 24px;
        width: auto;
    }

    #archive-header .container {
        padding-top: 36px;
        padding-bottom: 42px;
    }

    #archive-header .container .shop-header h1 {
        text-align: center;
        font-size: 36px;
    }

    #archive-header .container .header-text {
        text-align: center;
    }

    #contact-baner .container .left-col {
        min-width: unset;
    }

    .product-item .product-card {
        border-radius: 16px;
        height: auto;
    }

    #zaufanie .container {
        position: relative;
        padding-bottom: 77px;
    }

    #zaufanie .card-wrapper-pagination {
        bottom: 40px;
    }




    #zaufanie .card-wrapper-pagination .swiper-pagination-bullet {
        background-color: #575766 !important;
        opacity: 1 !important;
    }

    #zaufanie .card-wrapper-pagination .swiper-pagination-bullet-active {
        background-color: #fff !important;
    }

    #product-page {
        margin-bottom: 0;
    }

    #single-product .product-basic-info {
        flex-direction: column;
        gap: 52px;
    }

    #single-product {
        margin-top: 52px;
    }

    #single-product .product-basic-info .product-info-wrapper,
    #single-product .product-basic-info .product-image-wrapper,
    #single-product .product-basic-info .product-info-wrapper {
        max-width: unset;
    }

    .product-info-wrapper .zastosowanie-wrapper .cards-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-info-wrapper .zastosowanie-wrapper .cards-wrapper .single-zastosowanie {
        aspect-ratio: unset;
        height: 105px;
    }

    .product-info-wrapper .product-info-desc .product-attributes {
        margin-top: 60px;
    }

    .mobile-product-title {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-product-title h2 {
        color: #000;
        text-align: center;
        font-size: 36px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }

    .product-info-wrapper .product-title {
        display: none;
    }

    #zalety {
        border-radius: 0;
    }

    #zalety .container {
        align-items: center;
    }

    #zalety .container .product-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 32px;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
    }

    #zalety .section-header h3 {
        color: var(--Grays-900, #393941);
        font-family: Inter;
        font-size: 16px;
        font-style: normal;
        font-weight: 600;
        line-height: 16px;
        /* 100% */
    }

    #contact-baner .container .left-col .person-wrapper,
    #contact-baner .container .left-col .main-button {
        display: none;
    }

    #contact-baner .container .mobile-col {
        display: flex;
    }

    #faq .faq-wrapper .faq-item .faq-header h4,
    #faq .faq-wrapper .faq-item .faq-desc-inner {
        font-size: 13px;
    }

    #faq .faq-wrapper .faq-item .faq-desc-inner {
        line-height: 1.5;
    }

    #text-section .active-text span.word {
        font-size: 36px;
    }

    #kontakt-page .container {
        flex-direction: column;
        padding-top: 80px;
        align-items: center;
        text-align: center;
        gap: 68px;
    }

    #kontakt-page .container .kontakt-header,
    #kontakt-page .kontakt-phone,
    #kontakt-page .kontakt-mail {
        align-items: center;
        text-align: center;
        justify-content: center;
    }

    #kontakt-page .container .kontakt-col.col-3 {
        margin-right: 0;
        margin-top: 30px;
    }

    #map {
        display: flex;
        flex-direction: column-reverse;
        height: auto;
    }

    #map .container {
        padding: 0;
        border-radius: 0;
    }

    #map .info-wrapper {
        position: static;
        border-radius: 0;
        height: auto;
        transform: none;
        text-align: center;
        align-items: center;
    }

    #map #kontakt-map {
        min-height: 462px;
        border-radius: 0;
    }

    #contact-form {
        margin-top: 0;
        margin-bottom: 24px;
        border-radius: 0;
    }

    #contact-form .container {
        gap: 64px;
        align-items: center;
    }

    #contact-form .container .section-header h2 {
        max-width: 320px;
        text-align: center;
    }

    .forms-row input {
        height: 48px;
        font-size: 13px;
    }

    #dist-hero .container {
        padding-top: 52px;
    }

    #dist-hero .container h1 {
        font-size: 36px;
    }

    #dist-hero {
        background-image: none;
    }

    #why-us .container .cols-wrapper {
        flex-direction: column;
    }

    #why-us .container .logos .logo-wrapper {
        flex-direction: column;
        gap: 25px;
    }

    #why-us .container .cols-wrapper .right-col {
        display: flex;
        flex-direction: column;

    }

    .indyvidual-ask-header {
        padding: 24px;
    }

    #indyvidual-ask .indyvidual-ask-content {
        padding: 24px;
    }

    #dist-form .container {
        flex-direction: column;
        padding: 0 0 36px 0;
        gap: 60px;
    }

    #why-us {
        border-radius: 16px 16px 0 0;
    }

    #dist-form .container .left-col {
        max-width: unset;
        border-radius: 0 0 16px 16px;
        align-items: center;
        text-align: center;
        padding-bottom: 70px;
    }

    #dist-form .container .form-col {
        padding-left: 24px;
        padding-right: 24px;
    }

    #dist-form .wpcf7-form-control.wpcf7-radio {
        flex-direction: column;
    }

    #dist-form .wpcf7-list-item {
        width: 100%;
    }

    #dist-form .forms-row.form-order-size .wpcf7-form-control.wpcf7-radio {
        display: flex;
        flex-direction: column;
    }

    #why-us .section-image {
        left: 0;
        transform: none;
    }

    #why-us .section-image img {
        height: 310px;
        object-fit: cover;
        border-radius: 56px;
        object-fit: none;
    }

    #why-us .container {
        padding-top: 230px;
        padding-bottom: 38px;
        text-align: center;
    }

    #why-us .container .cols-wrapper .left-col h2 {
        max-width: unset;
        font-size: 32px;
    }
}

/* Tablety */
@media (min-width: 769px) and (max-width: 1320px) {

    #after-swiper .cat-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .container {
        padding-left: 24px;
        padding-right: 24px;
    }

    #front-products .section-baner.desktop {
        display: none;
    }

    #front-products .product-wrapper {
        max-width: 100%;
    }

    #contact-baner .container {
        flex-direction: column;
        gap: 120px;
    }

    #contact-baner .container .left-col {
        align-items: center;
        text-align: center;
    }

    #contact-baner .container .right-col .text-wrapper {
        text-align: center;
    }

    #contact-baner .container .right-col .icons-wrapper {
        text-align: center;
    }

    #icons-baner .container .icons-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    #icons-baner .container .icons-wrapper .icon {
        align-items: center;
        text-align: center;
    }

    footer .footer-menu-wrapper {
        flex-direction: column;
        gap: 35px;
    }

    #after-swiper .cat-wrapper .front-cat {
        align-items: center;
        text-align: center;
    }

    #front-products .section-wrapper {
        padding-bottom: 40px;
        position: relative;
    }

    #after-swiper {
        margin-top: -40px;
    }

    #zaufanie .container {
        position: relative;
    }

    #company-hero .container {
        flex-direction: column;
        padding-top: 40px;
    }

    #company-hero .container .left-col {
        padding-top: 40px;
        padding-bottom: 40px;
        align-items: center;
        text-align: center;
    }

    #company-hero .container .mid-col {
        display: none;
    }

    #company-hero .container .right-col {
        padding-top: 20px;
        text-align: center;
    }

    #company-hero .container .right-col p {
        max-width: unset;
    }

    #company-hero .hero-numbers {
        position: static;
        width: 100%;
        margin-bottom: 24px;
        border-radius: 0;
    }

    #images::before {
        content: none;
    }

    #images .company-swiper .swiper-wrapper .swiper-slide img {
        border-radius: 16px;
    }

    #images .slide-description {
        left: 24px;
        top: 24px;
    }

    .swiper-slide.company-slide {
        height: auto;
    }

    #images .swiper-navs {
        transform: translateX(-50%);
    }

    #images .images-wrapper {
        margin-top: 24px;
    }

    #images .images-wrapper .col-1 img {
        border-radius: 16px 0 0 16px;
        height: 100%;
        object-fit: cover;
    }

    #images .images-wrapper .col-2 {
        border: none;
        border-radius: 0 16px 16px 0;
        flex: 1;
    }

    #images .images-wrapper .col-1 {
        width: 100%;
        flex: 1;
    }

    #dist-form .container {
        gap: 50px;
    }

    #why-us .container {
        padding-top: 300px;
    }

    .woocommerce .products ul,
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
    }

    #kontakt-page .container .kontakt-col.col-3 {
        display: none;
    }

    #map .info-wrapper {
        left: 40px;
    }

    #kontakt-page .container {
        justify-content: space-around;
    }

    header #primary-menu,
    header .header-contact {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    #mobile-baner .section-baner.mobile {
        display: flex;
    }
}



@media (min-width: 768px) {
    #shop-filters-container {
        display: block;
        position: static;
        height: max-content;
        overflow: visible;
    }

    #shop-filters-container .close-modal-button {
        display: none;
        /* Ukryj przycisk zamknięcia na desktopie */
    }

    #related-posts .swiper-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    #related-posts .swiper-wrapper {
        /* display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px; */
        box-sizing: border-box;
    }
}

#cart-modal-mobile .woocommerce-variation-add-to-cart button {
    margin: 0;
}

#cart-modal-mobile .woocommerce-variation-price .vat-info {
    font-size: 13px;
}

#cart-modal-mobile .woocommerce-variation-price .vat-info bdi,
#cart-modal-mobile .woocommerce-variation-price .vat-info .woocommerce-Price-amount.amount {
    font-size: 13px;
    font-weight: 400;
    color: var(--Text-Main);
    line-height: 14px;
}