/* media.css */

/* Мобильные устройства (до 768px) */
@media (max-width: 800px) {
    /* MENU */
    body.lock {
        overflow: hidden;
    }

    .header__body {
        height: 50px;
    }

    .header__logo img {
        width: 50px;
        height: 50px;
    }

    .header__logo-text {
        display: none;
    }

    .header__burger {
        display: block;
        position: relative;
        width: 30px;
        height: 20px;
        z-index: 3;
    }

    .header__burger span {
        background-color: #301a1a;
        position: absolute;
        width: 100%;
        height: 0.21rem;
        left: 0;
        top: 9px;
        transition: all 0.3s ease 0s;
    }

    .header__burger:before,
    .header__burger:after {
        content: '';
        background-color: #301a1a;
        position: absolute;
        width: 100%;
        height: 0.21rem;
        left: 0;
        transition: all 0.3s ease 0s;
    }

    .header__burger:before {
        top: 0;
    }

    .header__burger:after {
        bottom: 0;
    }

    .header__burger.active:before {
        transform: rotate(45deg);
        top: 8px;
    }

    .header__burger.active:after {
        transform: rotate(-45deg);
        bottom: 9px;
    }

    .header__burger.active span {
        transform: scale(0);
    }

    .header__menu {
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        height: 100%;
        /*для прокрутки меню, когда оно не помещается в экран*/
        overflow: auto;
        background-color: #eee;
        padding: 70px 4px 20px 4px;
        transition: all 0.3s ease 0s;
    }

    .header__menu.active {
        top: 0;
    }

    .header__list {
        display: block;
    }

    .header__list li {
        margin: 0 0 20px 0;
    }

    .header__link {
        font-size: 24px;
    }

    /* MENU */
    .container,
    .header__container {
        padding: 0 4px;
    }

    .col-3 {
        flex: 1 1 100%; /* Один элемент на строку */
    }

    .btn {
        border-radius: 8px;
        padding: 10px;
    }

    .btn-primary-outline {
        padding: 8px;
    }

    .header__container {
        gap: 4px;
    }

    .mt-94 {
        margin-top: 67px;
    }

    .header {
        padding: 4px 0;
        margin-bottom: 4px;
    }

    .header__nav,
    .header__phone {
        display: none;
    }

    .header__cart {
        padding: 14px;
    }

    .slider__wrapper {
        flex-direction: column;
        flex-direction: column-reverse;
        height: auto;
    }

    .swiper {
        width: 100%;
        height: auto;
    }

    .slider__image {
    }

    .custom-pagination {
        left: 8px;
    }

    .slider__content {
        gap: 16px;
        padding: 24px 8px 54px 8px;
    }

    .slider__button {
        flex: 1;
    }

    .slider__button .btn {
        width: 100%;
    }

    .slider__controls {
        justify-content: space-around;
        left: 8px;
        right: 8px;
        bottom: 8px;
        border-radius: 8px;
    }

    .slider__control {
        flex: 1;
        display: flex;
        justify-content: center;
        padding: 10px;
    }

    .categories__list {
        flex-direction: column;
        gap: 8px;
    }

    .categories__title {
        display: flex;
        gap: 5px;
    }

    /* News */
    .news__container {
        padding: 8px;
    }

    /* About company */
    .about__info {
        flex-direction: column;
    }

    .about__content {
        gap: 16px;
        padding: 8px;
    }

    .about__brand {
        top: 8px;
        left: 8px;
    }

    .about__header {
        padding: 8px;
    }

    /* Stats */
    .stats__container {
        flex-direction: column;
    }

    .stats__item {
        padding: 8px;
    }

    .product-slider__item {

    }

    .footer__container {
        flex-direction: column;
        gap: 2px;
    }

    /* Category */
    .categories__item {
        padding: 8px;
    }

    /* Product Slider */
    .product-slider__container {
        padding: 8px;
    }

    .product-slider__switcher {
        border-radius: 12px;
    }

    .product-switch__item {
        border-radius: 8px;
        padding: 10px;
    }

    .product-slider__image {
        padding: 0;
    }

    .product-slider__info {
        padding: 8px;
    }

    /* Seeds */
    .seeds__container {
        padding: 8px;
    }

    .seeds__header {
        flex-direction: column;
        align-items: baseline;
        gap: 8px;
    }

    .seeds__switcher {
        border-radius: 12px;
        width: 100%;
    }

    .seeds__item {
        border-radius: 8px;
        padding: 10px;
    }

    .seeds__prev,
    .seeds__next {
        padding: 12px;
    }

    .seeds__wrapper {
        gap: unset;
    }

    .seeds__products {
        padding: 8px;
    }

    .seeds__product {
        flex-direction: column;
    }

    .seeds__product-image {
        display: flex;
        justify-content: center;
    }

    .seeds__product-image img {
        height: 300px;
    }

    .seeds__product-header {
        flex-direction: column;
        justify-content: flex-start;
        align-items: baseline;
    }

    .seeds__product-info {
        flex-direction: column-reverse;
    }

    .seeds__product-properties {
        gap: 2px;
    }

    .seeds__product-price-info {
        flex-direction: column-reverse;
        gap: 16px;
    }

    /* Popup Cart */
    .cart__title-left {
        padding: 8px;
    }

    .cart__title-text {
        font-size: 22px;
        line-height: 1.15;
    }

    .cart__title-count {
        font-size: 14px;
    }

    .cart__item {
        align-items: flex-start;
        gap: 4px;
    }

    .cart__item-image {
        width: 80px;
        height: 80px;
    }

    .cart__item-category {
        font-size: 12px;
        font-weight: 400;
        line-height: 16px;
    }

    .cart__item-name {
        font-size: 13px;
        font-weight: 500;
        line-height: 16px;
    }

    .cart__item-total {
        font-size: 22px;
        font-weight: 500;
        line-height: 25px;
    }

    .cart__item-total .cs-currency {
        font-size: 13px;
        font-weight: 500;
        line-height: 16px;
    }

    .cart__item-unit-price {
        font-size: 11px;
        font-weight: 400;
        line-height: 16px;
    }

    .cart__item-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart__item-details {
        gap: unset;
        justify-content: space-between;
        width: 100%;
        height: 42px;
    }

    .cart__item-details .quantity_plus_minus {
        padding: 8px;
        gap: unset;
        border-radius: 8px;
    }

    .cart__item-details .quantity_plus_minus,
    .cart__item-details .remove {
        display: flex;
        align-items: center;
    }

    .cart__item-details .quantity-num {
        font-size: 13px;
        font-weight: 500;
        line-height: 17px
    }

    .cart__total {
        font-size: 16px;
        font-weight: 500;
        line-height: 19px;
    }

    .cart__total-text {
        font-size: 16px;
        font-weight: 700;
        line-height: 19px
    }

    .cart-popup__close {
        padding: 8px;
    }

    .social_container {
        padding: 8px;
    }

    .form-container__row {
        flex-direction: column;
    }
}

/* Планшеты (768px - 1024px) */
@media (max-width: 1024px) {

    /* Popup Cart */
    #cart .cart-popup {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        z-index: 1000;
        box-shadow: none;
        border-radius: unset;
    }

    .cart__item-details .remove {
        padding: 4px;
    }
}

/* Десктопы (больше 1024px) */
@media (min-width: 1024px) {
}
