.max-h-320{
    max-height: 360px!important;
}
.filter_form .accord ul{
    display: none;
}
.filter_form .accord.active ul{
    display: block;
}
.filter_form .accord.active .ph-caret-down{
    rotate: 180deg;
}


.quantity .btn {
    border: 1px solid var(--gray-100);
    line-height: 1;
    min-width: 0;
    width: 30px;
    font-size: 19px;
    color: var(--neutral-500)!important;
    height: 30px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 10px;
    background: var(--gray-50);
}

.quantity .btn:hover {
    background-color: var(--main-600);
    color: #fff!important;
}

.quantity .btn.decrease {
    border-radius: 4px 0 0 4px;
    border-right: none;
}

.quantity .btn.increase {
    border-radius: 0 4px 4px 0;
    border-left: none;
}

.quantity .input {
    height: 30px;
    width: 30px;
    padding: 0;
    text-align: center;
    font-style: normal;
    color: var(--gray-500);
    border-left: 0;
    border-right: 0;
    border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
}


.cart-block {
    display: none;
    position: absolute;
    background-color: #fff;
    /*padding: 10px;*/
    max-width: 530px;
    width: 100%;
    top: calc(100% + 16px);
    right: 0;
    z-index: 12;
    max-height: calc(100vh - 41px);
    overflow-y: auto;
    padding: 8px 0;
    border: 1px solid var(--gray-100);
    border-top-color: transparent;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.1);
}

.cart-block.active {
    display: block;
}

.cart-block > p:only-child {
    text-align: center;
    padding: 10px;
    /*margin: 0;*/
}

.cart-block img {
    width: 80px;
    height: 80px;
    -o-object-fit: cover;
    object-fit: cover;
    margin-right: 10px;
}

.cart-block .title {
    display: block;
    font-size: 12px;
    font-weight: 400;
    margin-bottom: 5px;
    color: var(--gray-500);
}

.cart-block .description {
    width: 60%;
    padding-right: 15px;
}

.cart-block > div {
    padding: 8px 10px;
    /*border-bottom: 1px solid #ddd;*/
}

.cart-block .price {
    font-size: 17px;
    width: 25%;
}

.cart-block .remove {
    color: var(--gray-300);
    font-size: 15px;
    padding-left: 15px;
    padding-right: 5px;
    display: block;
}

.cart-block .subtotal, .cart-block .subpayout {
    text-align: right;
    background-color: var(--gray-50);
    padding: 15px;
}

.cart-block .subtotal span, .cart-block .subpayout span {
    font-size: 20px;
    padding-left: 15px;
    /*padding-right: 15px;*/
    font-weight: 700;
}

.cart-block .item {
    padding: 8px 10px;
    border-bottom: 1px solid #ddd;
}

.cart-block .empty{
    margin-top: -10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-block .subtotal, .cart-block .subpayout{
    /*border-top: 1px solid #ddd;*/
    border-bottom: 1px solid #ddd;
    padding: 8px;
}
.cart-block .cart_action{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
}

.cart-block .price {
    font-size: 17px;
    width: 25%;
}

.cart-block .remove {
    color: var(--gray-300);
    font-size: 15px;
    padding-left: 15px;
    padding-right: 5px;
    display: block;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .cart-block {
        top: 210px;
        z-index: 100;
        position: fixed;
        min-height: calc(100vh - 210px);
    }

    .header.fixed-header .cart-block{
        top:100%;
        min-height: calc(100vh - 78px);
    }

    .cart-block .cart-inner {
        position: relative;
    }

    .cart-block .subtotal, .cart-block .subpayout{
        position: fixed;
        bottom: 64px;
        right: 10px;
        max-width: 510px;
        width: calc(100% - 20px);
    }
    .cart-block .subtotal{
        bottom: 111px;
    }
    .cart-block .cart_action{
        position: fixed;
        bottom: 0;
        right: 10px;
        max-width: 510px;
        width: calc(100% - 20px);
        background: #fff;
    }
    .header.fixed-header .cart-block .subtotal, .header.fixed-header .cart-block .subpayout, .header.fixed-header .cart-block .cart_action{
        width: 100%;
        position: unset;
    }
    .header_cart_goods{
        min-height: calc(100vh - 385px);
        overflow-y: auto;
    }
    .header.fixed-header .header_cart_goods{
        min-height: calc(100vh - 248px);
    }
    .cart-block .empty{
        margin-top: -130px;
    }
}