/* КАТАЛОГ 1239 */
@media (max-width: 1322px) {
    .catalog__card-description {
        border-left: none;
    }
}

/* КАТАЛОГ-модалка 1153 */
@media (max-width: 1153px) {
    .catalog__fast-view img {
        display: flex;
    }
}

/* КАТАЛОГ 780 */
@media (max-width: 780px) {
    .catalog{
        display: block;
    }
    .left-panel {
        margin-bottom: 20px;
    }

    .catalog__images {
        margin: 0 auto;
    }

    .catalog__card {
        padding: 30px;
    }

    .catalog__card-description {
        border-left: none;
    }
}

/* КОРЗИНА - 1280 */
@media (max-width: 1280px) {
    .shoppingcart {
        display: flex;
        flex-direction: column;
        gap: 25px;
        align-items: center;
    }
}

/* КОРЗИНА - 640 */
@media (max-width: 640px) {
    .shoppingcart__card {
        display: flex;
        flex-direction: column;
        gap: 25px;
        padding: 15px;
    }

    .shoppingcart__card-photo {
        justify-content: center;
    }

    .shoppingcart__card-price {
        max-width: 100%;
        display: flex;
        flex-wrap: nowrap;
        align-items: end;
        gap: 20px;
        /* justify-content: space-between; */
        padding: 0 20px 20px 20px;
    }

    .shoppingcart__card-price-num {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .shoppingcart__order {
        width: 100%;
        max-width: none;
    }
}

/* КАРТОЧКА-товара - 1080 */
@media (max-width: 1080px) {
    .product-card {
        display: flex;
        flex-direction: column;
        gap: 25px;
        padding: 30px;
    }

    .product__card-description {
        display: grid;
        grid-template-columns: 1fr;
    }

    .product__card-description-one {
        padding: 30px;
    }

    .product__info {
        padding: 30px 30px;
    }

    .product__title {
        font-size: 30px;
        line-height: 40px;
    }

    .product__title-center,
    .product__text-center {
        padding: 0 0 30px 0;
    }

    .product__title-center {
        font-size: 30px;
        line-height: 40px;
    }
}

/* КАРТОЧКА-товара - 840 */
@media (max-width: 840px) {
    .product__card-props {
        grid-template-columns: 1fr 1fr;
    }

    .product__card-props-item {
        padding: 30px;
    }

    .product__card-props-item:not(:last-child) {
        border-right: none;
    }
}

/* 1080 */
@media (max-width: 1180px) {
    .navbar__dropup-desktop {
        display: none;
    }
    .navbar__icon, .search-button {
        width: 26px;
        height: 26px;
    }

    .navbar__bottom-a {
        display: none;
    }

    .navbar__bottom-ul {
        display: block;
        margin: 0 auto;
        background-color: transparent;
        box-shadow: none;
    }

    .navbar__bottom-order {
        box-shadow: 2px 2px 20px 0px rgba(0, 0, 0, 0.25);
    }

    .home__photos-scale {
        display: flex;
        justify-content: center;
        scale: 1;
    }

    #home {
        display: flex;
        flex-direction: column;
        gap: 0px;
    }

    .home__title-three {
        display: flex;
    }

    .home__title-one,
    .home__title-two {
        display: none;
    }

    .li-nav {
        display: none !important;
    }

    .burger {
        display: flex;
    }

    .navbar__top-ul {
        display: flex;
        position: relative;
    }
    
    /* Ensure icons are visible on mobile */
    .navbar__top-ul > li:not(.li-nav) {
        display: flex;
        align-items: center;
    }

    .delivery__content {
        grid-template-columns: 1fr;
        padding: 40px;
    }

    .delivery__card-img {
        max-width: 400px;
    }
}

@media (max-width: 991px) {
    .li-search{
        display: block;
    }
    .home__button{
        margin-top: 40px;
        display: block;
    }
    .footer-content{
        gap: 10px;
    }
    .catalog__fast-view{
        justify-content: center;
    }
}
/* 800 */
@media (max-width: 800px) {
    .footer-section {
        flex: 1 0 100%;
        margin-bottom: 30px;
    }

    .footer-copyright {
        display: block;
    }

    .clients__content {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .items {
        padding: 20px;
    }

    .item_3, .item_6, .item_9{
        border-right: none;
    }
    .item_4, .item_8{
        border-right: var(--border);
    }
    .item_9{
        border-bottom: var(--border);
    }

}

/* 640 */
@media (max-width: 640px) {
    header .navbar__top{
        padding: 15px 15px;
        flex-wrap: nowrap;
        gap: 0;
        justify-content: space-between;
        align-items: center;
    }
    
    /* Logo styling */
    .navbar__logo {
        width: 120px;
        flex-shrink: 0;
    }
    
    /* Icons container */
    .navbar__top-ul {
        gap: 12px;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-end;
    }
    
    /* All icons uniform sizing */
    .navbar__icon, .search-button {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }
    
    .navbar__icon.burger {
        width: 28px;
        height: 28px;
    }
    
    /* Search button styling */
    .li-search #searchBtn {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        cursor: pointer;
    }
    
    .li-search .search-button {
        position: static;
        transform: none;
        width: 24px;
        height: 24px;
    }
    
    .li-search form{
        display: none;
    }
    
    /* Currency dropdown mobile styling */
    .currency-dropdown {
        position: relative;
    }
    
    .currency-btn {
        padding: 6px 10px;
        font-size: 12px;
        min-width: 45px;
        text-align: center;
        border-radius: 15px;
        background-color: var(--color-white);
        border: 1px solid var(--color-black);
        cursor: pointer;
        white-space: nowrap;
    }
    
    .currency-menu {
        right: 0;
        left: auto;
        min-width: 120px;
    }
    .delivery__card {
        display: grid;
        grid-template-columns: 1fr;
        /* gap: 25px; */
    }
    .call-button{
        right: -20px;
    }
    .product__card-description-one h2, .product__card-description-one h1{
        font-size: 28px;
        padding: 0;
    }
    .product__info{
        width: 360px;
    }
    .product__card-description-one h1, .product__card-description-one h2, .product__card-description h1, .product__card-description h2{
        padding: 20px 0;
        font-size: 27px;
    }
    .product__card-description-one{
        padding: 0 20px;
    }
    .filter-wrap .filter__title{
        display: none;
    }
    .left-panel .mob_filter_title{
        display: flex;
    }
    .left-panel .filter-wrap{
        opacity: 0;
        visibility: hidden;
        height: 0;
        padding: 0;
    }
    .left-panel .filter-wrap.active{
        opacity: 1;
        visibility: visible;
        height: auto;
        padding: 20px 10px 20px;
    }
    .catalog__address{
        padding-top: 80px;
    }
    .catalog__address .catalog__address-path{
        display: none;
    }
    .catalog__images{
        margin-bottom: 25px;
    }
    .catalog__card-text, .catalog__card-description{
        max-width: 100%;
    }
}

/* 540 */
@media (max-width: 540px) {
    .home__button{
        margin-top: 0;
    }
    .home__photos-scale {
        scale: 0.8;
    }
    .navbar__bottom-ul{
        padding: 20px 0;
        margin: 0;
    }
    .navbar__bottom-ul .btn__modal{
        white-space: nowrap;
        font-size: 14px;
        padding: 20px 20px;
    }

}
/* 460 */
/*@media (max-width: 460px) {*/
/*    .navbar__bottom-ul {*/
/*        margin-left: -30px;*/
/*    }*/
/*}*/
