/* ОБЩИЙ АДАПТИВ */

@media (max-width: 768px) {
    .conteiner {
        padding: 0 20px !important;
    }

    header {
        position: relative;
        flex-wrap: wrap;
        gap: 20px;
        padding: 20px 0 !important;
    }

    [for=burger] {
        display: block !important;
        width: 30px;
        height: 30px;
        cursor: pointer;
        background: url('../image/burger.svg') no-repeat center;
        background-size: contain;
    }

    #burger:checked + [for=burger] {
        background: url('../image/close.svg') no-repeat center;
        background-size: contain;
    }

    .menu-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 20px;
        z-index: 100;
    }

    #burger:checked ~ .menu-nav {
        display: block !important;
    }

    .menu-nav nav {
        flex-direction: column !important;
        gap: 15px !important;
    }

    .kn-nav {
        gap: 15px !important;
    }

    .logo img {
        max-width: 140px !important;
    }

    .catalog {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }

    .cards {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 20px !important;
    }

    .k-tovara {
        flex-direction: column !important;
        padding: 25px !important;
    }

    .foto-tovara img {
        max-width: 100% !important;
    }

    .footer-color .f-t,
    .footer-color .f-b {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 25px !important;
    }

    .footer-color .f-t {
        padding: 40px 0 20px !important;
    }

    .footer-color .f-b {
        padding: 20px 0 40px !important;
    }

    .ssilki-na-cs {
        gap: 20px !important;
    }

    .k-card {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .price-block {
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
}

@media (max-width: 480px) {
    .catalog {
        grid-template-columns: 1fr !important;
    }

    .kn-nav {
        display: none !important;
    }

    .zag {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px !important;
    }

    .poisk {
        width: 100% !important;
    }

    .filter {
        flex-wrap: wrap !important;
        gap: 10px !important;
    }

    .active,
    .kn-filt {
        width: auto !important;
        padding: 8px 16px !important;
        font-size: 14px !important;
    }

    .card {
        max-width: 100% !important;
    }
}
