/*Серый фон на сайт когда открыта правая панель корзины*/
.cart-right-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    transition: all 0.1s linear;
    background: rgb(0, 0, 0, 0.5);
    z-index: 90; /* 10; */
    visibility: hidden;
}

/*Показать серый фон корзины */
.cart-right-overlay.transparentBcg {
    visibility: visible;
}

.cart-right {
    position: fixed;
    top: 0;
    right: -100%; /*-100%;*/
    width: 360px;
    min-height: 100vh;
    padding: 20px;
    background-color: #fff;
    box-shadow: -2px 0 4px hsl(0 4% 15% / 10%);
    z-index: 100;
    transition: 0.3s;    
}

.cart-right.active {
    right:0;
    overflow: scroll; /*auto;*/
}

.cart-right-title {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    margin-top: 10px;
    color: #333;
}

.cart-right-box{
    display: grid;
    grid-template-columns: 32% 50% 18%;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.cart-img{
    width: 100px;
    height: auto;
    object-fit: contain;
    padding: 10px;
}

.detail-box{
    display: grid;
    row-gap: 0.5rem;
}

.cart-product-title{
    font-size: 0.9rem;
    font-family: "Bellota";
    font-weight: bold;
    /* text-transform: uppercase; */
}

.cart-price{
    font-weight: 500;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    color: #00b5c3;
    font-size: 15px;
}

.cart-quantity-controls {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}

.cart-quantity{
    border: 1px solid #00b5c3;
    outline-color: rgb(226,0,73);
    /* border-radius: 20%; */
    width: 4rem;
    height: 24px;
    text-align: center;
    font-size: 1rem;
    /* margin-left: 3px;
    margin-right: 3px; */
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    color: #333;
}

.cart-minus-quantity, .cart-plus-quantity {
    width: 24px;
    height: 24px;
    background-color: #00b5c3;     
    background-size: cover;  
    background-repeat: no-repeat;
    color: #fff;
    font-size: 22px;
    line-height: 22px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    
}

.cart-minus-quantity {
    border-top-left-radius: 30%;
    border-bottom-left-radius: 30%;
}

.cart-plus-quantity {
    border-top-right-radius: 30%;
    border-bottom-right-radius: 30%;
}

.add-to-basket-form-wrapper .img_block__button {
    width: 60%;
}

/* .cart-minus-quantity {
    background-image: url(../images/button-minus-quantity.svg);
}

.cart-plus-quantity {
    background-image: url(../images/button-plus-quantity.svg);
} */

/* кнопка Remove */
.cart-remove{
    width: 30px;
    height: 30px;
    appearance: none;
    /* border-radius: 50%; */
    border: 0;
    background-color: transparent;
    /* background-color: hsla(4, 0%, 0%, 1); */
    background-image: url("../images/trash-can-10417.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    cursor: pointer;
    padding: 0;
    /* position: absolute;
    top: 40%;
    left: 0%; */
    transition: background-color 200ms ease-out;
}

.cart-remove:hover {
    background-image: url("../images/trash-can-10417-hover.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.total{
    display: flex;
    justify-content: space-between; /* flex-end; */
    margin-top: 1.5rem;
    border-top: 1px solid #333;
    color: #e61f5f;
    font-weight: 600;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif; 
}

.total-title{
    font-size: 1rem;
    /* font-weight: 600;    */    
    margin-top: 10px;
}

.total-price{
    font-size: 1rem;
    margin-left: 00.5rem;
    margin-top: 10px;
}

.cart-close{
    position: absolute;
    top: 1rem;
    right: 0.8rem;
    cursor: pointer;
}

.btn-clear-cart {
    cursor: pointer;
    color: #e20049;
    background-color: #fff;
    border: 1px solid #e20049;
    align-self: center;
    text-align: center;
    border-radius: 25px;
    height: 34px;
    line-height: 32px;
    width: 250px;
    font-size: 15px;
    font-weight: bold;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    letter-spacing: 2px;
    align-content: center;
    /* margin: 10px auto; */
    margin-top: 20px;
    margin-left: 28px;
    margin-bottom: 10px;
}

.btn-clear-cart:hover {
    color: #9b9b9b;
    background-color: #fff;
    border: 1px solid #9b9b9b;
    transition: all 0.2s linear;
}

.btn-buy{
    /*margin: 1.5rem auto 0 auto;
    padding: 12px 20px; */
    
    background-color: rgb(226,0,73);
    color: #fff;
    cursor: pointer;
    border: none;
    align-self: center;
    text-align: center;
    border-radius: 25px;
    height: 34px;
    line-height: 32px;
    width: 250px;
    font-size: 15px;
    font-weight: bold;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    letter-spacing: 2px;
    align-content: center;
    margin-left: 28px;
    margin-bottom: 10px;
}

.btn-buy:hover{
    background-color: #9b9b9b;
    /* color: #fff; */
    transition: all 0.2s linear;
}

/* Breakpoints / Making responsive*/
@media (max-width:1080px){
    
}