:root {
    
    --clr-bg-beige: #e7eaef;
    --clr-white: #ffffff;   
    --clr-border: #c8ccd1;
    --clr-bg-beige-1:#b8c0c8;
}
.order-wrapper {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.cart {
    background-color: var(--clr-bg-beige);
    padding: 2em;
    min-width: 900px;
}

.cart-product {
    position: relative;
    padding: 20px;
    background-color: var(--clr-white);
    margin-bottom: 30px;
    border-radius: 5px;
}

.cart-section__title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
}

.cart-product__wrapper {
    display: flex;
    gap: 30px;
}

.product-main {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--clr-border);
}

.product-thumb {
    width: 150px;
    height: auto;
}
.product-thumb img {
    max-width: 100%;
    height: auto;
}
.product-title a {
    font-size: 1.5em;
    color: var(--clr-black);
    font-weight: 600;
}
#msOrder {
    margin-top: 0;
}
.product-title {
    margin-bottom: 10px;
    padding-right: 50px;
}

.product-title a:hover {
    color: var(--clr-green);
}

.product-inner {
    display: flex;
    flex-direction: column;
    width: calc(100% - 150px);
}

.product-params {
    display: flex;
    gap: 30px;
    justify-content: space-between;
}

.params-item-title {
    font-size: 14px;
    color: var(--clr-white-on-b);
    margin-bottom: 10px;
    text-align: center;
}

.params-item-value {
    height: 32px;
    display: inline-flex;
    align-items: center;
}

.cart-item-price {
    font-size: 18px;
}

.cart-items-allprice {
    font-size: 22px;
    font-weight: 600;
}

.product-remove {
    position: absolute;
    right: 1em;
    top: 1.2em;
}

.icon-product-remove {
    position: relative;
    width: 40px;
    height: 40px;
    filter: invert(12%) sepia(100%) saturate(5018%) hue-rotate(7deg) brightness(81%) contrast(121%);
}

.icon-product-remove:hover {
    position: relative;
    width: 40px;
    height: 40px;
    filter: invert(12%) sepia(100%) saturate(5018%) hue-rotate(7deg) brightness(100%) contrast(121%);
}

.icon-product-remove::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    display: inline-block;
    width: 40px;
    height: 40px;
    transform: translateY(-50%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 70%;
    background-image: url(../img/2024/icon-delete.svg);
}

.opt-count {
    display: inline-block;
    position: relative;
    width: 150px;    
}


.opt-count input {
    border: none;
    width: 100%;
    text-align: center;
	    height: 30px;
		font-size: 18px;
}
* {
  box-sizing: border-box;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

input[type='number'] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.opt-count_number {
  display: inline-block;
  position: relative;
  padding: 0 30px;
  border: 1px solid var(--clr-bg-beige);
}


.opt-count_number input {
  height: 30px;
}

.number_controls {
  position: absolute;
  right: 0px;
  top: 0px;
  width: 150px;
}

.number_controls>div {
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size:18px;
  display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
	background: var(--clr-bg-beige);
}

.number_controls>div:hover {
  background: var(--clr-bg-beige-1);
}
.nc-plus {
    position: absolute;
    right: 0;
}
.nc-minus {
    position: absolute;
    left: 0;
}

.cart-bottom {
    display: flex;
    gap: 40px
}

.cart-bottom {
    background-color: var(--clr-white);
    font-size: 18px;
    padding: 2em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap:10px;
}
.cart-back {
    white-space: nowrap;
}
.cart-total {
    font-size: 22px;
    gap: 10px;
    display: flex;
}

.cart-total span {
    font-size: 24px;
    font-weight: 600;
}

.makeorder-item:not(:last-child) {
    margin-bottom: 2em;
}
.makeorder-item{
    background-color: var(--clr-bg-beige);
    padding: 2em;
}

.input-group>label {
    color: #000;
    display: block;
    font-size: 18px;
      
}

.input-group .input-text {
    background-color: #fff;
}
.opt-count .input-select, 
.opt-count .input-text {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #eee;
    border: 1px solid #eee;
    border-radius: 0;
    padding: 5px;
    position: relative;
}

.delivery-option__title{
    font-weight: 600;
}

.order-delivery__comment{
    margin-bottom: 1em;
}
.order-delivery__address{
    margin-top: 1em;
}
.delivery-option__description{
    font-size: 14px;
    color: var(--clr-white-on-b);
}
.delivery__address__input:not(:last-child){
    margin-bottom: 1em;
}

.section-makeorder label{
    display: block;
}
.section-makeorder label:not(:last-child){
    margin-bottom: 16px;
}
.order-receiver__inputs span,
.order-delivery__comment span{
    margin-bottom: 4px;
    display: block;   
}
.input-select, 
.input-text {
   border-radius: 5px;
   font-size: 14px;
   height: 36px;  
   width: 100%;
   padding: 0.5em 1em;
   background-color: #fff;
   color: var(--clr-white-on-b);
}
.input-textarea{
    height: 5em;  
    width: 100%;
    font-size: 14px;
    border-radius: 5px;
    padding: 0.5em 1em;
}
.order-total{
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}
.order-total span{
    font-size: 26px;
    font-weight: 900;
    
}
.btn-makeorder{
    width: 100%;
}
.section-makeorder__title,
.link-to-makeorder{
    display: none;
}
.btn-goshoping {
    background: #e7eaef;
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 16px;
    color: var(--clr-dark);
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
   
}
button#submit_order {
    height: 50px;
    font-weight: 600;
    text-transform: uppercase;
}
.order-wrapper h2{
    margin-top: 30px;

}

@media (max-width: 1439px) {
    .cart {
        min-width: 750px;
    }
    .cart-section__title {
        font-size: 28px;

    }
}
@media (max-width: 1199px) {
    .cart {
        min-width: 500px;
    }
    .cart-bottom {
        padding: 2em 1em;
        gap: 1em;
        flex-direction: column-reverse;
    }
    .cart-section__title {
        font-size: 24px;
    }
    .product-title a {
        font-size: 20px;
    }
    .cart-items-allprice {
        font-size: 20px;
    }
    .product-params {
        gap: 10px;
    }
    .opt-count {
        width: 100px;
    }
    .number_controls {
        width: 100px;
    }
}
@media (max-width: 991px) {
    .order-wrapper {
        flex-direction: column;
    }
    .section-makeorder__title{
        display: block;
        font-size: 32px;
        font-weight: 600;
        margin-bottom: 20px;
    }
    .link-to-makeorder{
        display: block;
    }
    .cart-back {
        display: flex;
        gap:10px;
    }
}
@media (max-width: 767px) {

    .cart-back {
        display: flex;
        gap: 10px;
        flex-direction: column;
    }
    h1.page-title {
        font-size: 32px;
        margin-bottom: 20px;
    }
    .cart-product__wrapper {
        gap: 10px;
        position: relative;
    }
    .cart-product {
        padding: 14px;
    }
    .product-remove {
        right: 0;
        top: 10px;
    }
    .product-title {
        padding-right: 30px;
    }
    .product-thumb {
        width: 80px;
        height: 80px;
        position: absolute;
        top:0;
        left: 0;
    }
    .product-inner {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .product-main {
        padding-left: 100px;
        min-height: 90px;
        display: flex;
    flex-direction: column;
    justify-content: center;
    }

}
@media (max-width: 575px) {
    .cart-section__title{
        display: none;
    }
    .cart {
        min-width: 320px;
        background-color: var(--clr-cream-light);
    padding: 0;
    }
    .product-title a {
        font-size: 18px;
    }
    .sku{
        font-size: 14px;
        color: var(--clr-white-on-b);
    }
    .product-main {
        margin-bottom: 10px;
        padding-bottom: 10px;
    }
    .section-makeorder__title {
        font-size: 26px;
    }
    .cart-total span {
        font-size: 22px;
    }
    .makeorder-item {
              padding: 1.5em 1em;
    }

}
.delivery-inputs_1 .delivery-region,
.delivery-inputs_1 .delivery-city,
.delivery-inputs_1 .delivery-street,
.delivery-inputs_1 .delivery-building,
.delivery-inputs_1 .delivery-room,
.delivery-inputs_1 .delivery-floor,
.delivery-inputs_2 .delivery-floor,
.delivery-inputs_3 .delivery-street,
.delivery-inputs_3 .delivery-building,
.delivery-inputs_3 .delivery-room
 {
 display: none;
 }
