@media (width <= 1440px) {
    .catalog .catalog-card {
        grid-template-columns: repeat(3, 270px);
    }
    header {
    }
}

@media (width <= 1200px) {
    .catalog .catalog-card {
        grid-template-columns: repeat(2, 270px);
    }
    footer {
        display: flex;
    }
    footer .d1 {
        padding: 0;
        width: 100%;
    }
    footer .d1:first-child {
        display: none;
    }
}
@media (width <= 980px) {
    .product-store {
        display: flex;
    }
}
@media (width <= 834px) {
    .catalog .category {
        display: none;
    }
    .catalog .d1:last-child {
        border: none;
    }
    .cart {
        display: flex;
        flex-direction: column;
    }
    .open-mobile-category {
        display: block;
    }
    
}

@media (width <= 840px) {
    .auth .auth-form .image-d1 {
        display: none;
    }
    .auth .auth-form {
        width: 50%;
    }
    .auth .auth-form .d1 {
        width: 100%;
    }
}

@media (width <= 768px) {
    .catalog .catalog-card {
        justify-content: center;
    }
    .card-item-show {
        display: flex;
        flex-direction: column;
    }
}

@media (width <= 670px) {
    .order .d1 .items .d2 .order-info {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .auth .auth-form {
        width: 65%;
    }
    header {
        display: none;
    }
    header.mobile {
        display: flex;
    }
    .mobile-header-button {
        display: flex;
    }
    .product-store {
        flex-direction: column;
    }
}

@media (width <= 570px) {
    section.back {
        padding: 0;
    }
    .catalog .d1:last-child {
        padding: 0;
    }
    .catalog .catalog-card {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }
    .catalog .d1 .header-text {
        padding: 10px;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    .reviews {
        grid-template-columns: 1fr;
        padding: 0;
    }
    .reviews .review .d2:first-child {
        flex-direction: row;
    }
    .cart .cart-items .d2:nth-child(2) form.destory {
        display: none;
    }
    .mobile-price-counter {
        display: flex;
    }
    .mobile-price-counter {
        align-items: center;
        gap: 20px;
        flex-wrap: wrap;
    }
    .cart .cart-items .d2:nth-child(3) {
        display: none;
    }
    .auth .auth-form {
        width: 80%;
    }
}


@media (width <= 480px) {
    h2 {
        text-align: center;
    }
    .view-card {
        padding: 0;
    }
    .catalog .catalog-card {
        grid-template-columns: repeat(1, 1fr);
        gap: 0;
    }
    .card-item-show {
        padding: 0;
    }
    .cart {
        padding: 0;
    }
    .order .d1 .items .d2 .order-info {
        flex-direction: column;
    }
    .order .d1 .items .bbc {
        flex-direction: column;
    }
    .auth .auth-form {
        width: 100%;
        height: 100dvh;
    }
    .order .d1 .items .d2:nth-child(2) {
        justify-content: center;
    }
    .profile {
        min-height: 100dvh;
    }
    
}
@media (width <= 320px) {
    .order .d1 .items .d2:nth-child(2) {
        gap: 0px;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        padding: 0;
    } 
}







