@media (min-width: 767px) {
  .animate {
    animation-duration: 0.3s;
    -webkit-animation-duration: 0.3s;
    animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
  }
}

@keyframes slideIn {
  0% {
    transform: translateY(1rem);
    opacity: 0;
  }

  100% {
    transform: translateY(0rem);
    opacity: 1;
  }

  0% {
    transform: translateY(1rem);
    opacity: 0;
  }
}

@-webkit-keyframes slideIn {
  0% {
    -webkit-transform: transform;
    -webkit-opacity: 0;
  }

  100% {
    -webkit-transform: translateY(0);
    -webkit-opacity: 1;
  }

  0% {
    -webkit-transform: translateY(1rem);
    -webkit-opacity: 0;
  }
}

.slideIn {
  -webkit-animation-name: slideIn;
  animation-name: slideIn;
}

@media (max-width: 1420px) {
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .product-variant label.btn.btn-outline-primary {
        margin-bottom: 8px;
    }
}
@media (max-width: 991px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .navbar-collapse.collapsing .navbar-nav {
        display: block;
        position: fixed;
        top: 0;
        bottom: 0;
        left: -100%;
        transition: all 0.2s ease;
    }

    .navbar-collapse.show .navbar-nav {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        flex-direction: column;
        height: auto;
        width: 100%;
        transition: left 0.35s ease;
        box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 15%);
        background-color: white;
        z-index: 99;
        padding-top: 70px;
    }

    .footer-logo {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 0 0 100%;
        margin-bottom: 30px;
    }

    ul.footer-list {
        -moz-column-count: 2;
        -moz-column-gap: 10px;
        -webkit-column-count: 2;
        -webkit-column-gap: 10px;
        column-count: 2;
        column-gap: 10px;
    }

    .header-account {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 0 0 100%;
        margin-top: 7px;
    }
    nav.main-nav .navbar-nav .nav-item {
        margin: 0;
    }
    nav.main-nav .navbar-nav .nav-item .dropdown-toggle::before {
        right: 20px;
    }
    nav.main-nav .navbar-nav .nav-item .nav-link {
        font-weight: 600;
        font-size: 16px;
        line-height: 30px;
        color: #000000;
        padding: 8px 20px;
        border-bottom: 1px solid #dbdbdb91;
    }
    button.close.float-right {
        position: absolute;
        top: 15px;
        right: 15px;
        background-color: transparent;
        border: 0;
        padding: 0;
    }
    button.close.float-right svg {
        width: 30px;
        height: 30px;
    }
    .navbar-nav .dropdown-menu {
        position: static;
        padding: 0;
        border: 0;
    }
    nav.main-nav .navbar-nav .nav-item .dropdown-menu .dropdown-item {
        font-size: 16px;
        padding: 6px 30px;
    }
    
    
    .__dropdownSubz .dropdown-item.dropdown-toggle::before {
        right: 20px !important;
    }
    
    
    .categories-list {
        grid-template-columns: repeat(3, 1fr);
    }
    .product-cart {
        grid-template-columns: auto;
        grid-row-gap: 15px;
    }
    .product-cart label {
        text-align: left !important;
    }
}
@media (max-width: 767px) {
    .logo {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 0 0 100%;
        text-align: center;
        margin-bottom:10px;
    }
    .logo img {
        max-width: 180px;
    }
    .header-account.d-flex.justify-content-end.align-items-center {
        justify-content: center !important;
        margin-bottom: 20px;
    }
    header.header {
        position: relative;
    }
    .cart.d-flex.justify-content-start {
        position: absolute;
        bottom: 9px;
        right: 0;
        border: 0;
        margin: 0;
        z-index: 9999;
    }
    .dropdown.country {
        border-right: 1.5px solid #afafaf96;
        margin-right: 15px;
        padding-right: 30px;
    }
    .country .dropdown-toggle::before {
        right: 8px;
    }
    nav.main-nav {
        margin-top: 6px;
    }
    .footer-copyright p {
        text-align: center;
        margin-top: 10px;
    }
    .footer-social {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 0 0 100%;
        margin-top: 30px;
    }
    .cart-page {
        padding-bottom: 50px;
    }
    .cart-product {
        padding: 10px;
        grid-template-columns: 110px auto 150px;
        grid-column-gap: 10px;
    }
    .cart-product-image {
        padding: 10px;
    }

    .categories-sidebar {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
        margin-top: 35px;
    }

    .product-image img {
        height: auto;
        object-fit: contain;
        max-width: 100%;
    }

    .product-title {
        font-size: 18px;
    }
    .current-price {
        font-size: 16px;
    }
    button.add-cart {
        padding: 0;
    }

    button.add-cart svg {
        width: 35px;
        height: 35px;
    }
    .address-box {
        margin-bottom: 18px;
    }

    .orders-tab > .d-flex.align-items-start {
        display: block !important;
    }
    .nav-pills .nav-link {
        width: 100%;
    }

    .tab-content {
        padding-left: 5px;
        padding-right: 5px;
    }
    .orders-tab .nav.flex-column {
        border-bottom: 1px solid #d3d3d375;
        margin-bottom: 20px;
        padding-bottom: 10px;
    }
    .payment-options .payment-item {
        margin-bottom: 10px;
    }
    .product-slider-thumbs {
        height: 60px;
        cursor: pointer;
        padding: 6px;
    }
    .product-slider-thumbs img {
        height: 40px;
        object-fit: cover;
    }

}
@media (max-width: 575px) {
    .categories-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .cart-product {
        grid-template-columns: 100%;
    }
    .cart-product-detail {
        margin: 30px 0;
    }
    .cart-quantity {
        max-width: 100px;
    }
    .tab-wishlist .cart-product {
        grid-template-columns: 100%;
    }
    .categories-item .row .col-6 {
        width: 100%;
    }
    button.add-cart {
    margin-bottom: 0;
}
.tab-orders-list > .media {
    display: block;
}
.tab-orders-list .media img {
    width: 100%;
    height: auto;
    margin-right: 0;
    margin-bottom: 20px;
}
.tab-write-review {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
    margin-top: 10px;
}
.tab-retrun-order {
    width: 100%;
    text-align: center;
}
}
