* {
	box-sizing: border-box;
}

p{
    margin: 0;
    padding: 0;
}
h3{
    margin: 0;
    padding: 0;
}

.cus-cart {
	max-width: 560px;
	background-color: white;
	padding: 40px;
}

.cus-cart__title {
	padding-bottom: 30px;
	font-family: 'Comfortaa', Arial, sans-serif;
	font-weight: 600;
	color: #3a1b12;
	font-size: 24px;
	line-height: 1.35;
}

.cus-products {
	border-top: 1px solid #cccccc;
	border-bottom: 1px solid #cccccc;

}

.cus-cart__close{
    position: fixed;
    top: 45px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    width: 20px;
    height: 20px;
    background-color: #805D85; 
    display: inline-block;
    mask: url("./img/cross.svg") no-repeat; 
    mask-size: contain;

}

.cus-product{
    display: grid;
    grid-template-columns: 90px 1fr repeat(2, 80px) 20px;
    column-gap: 10px;
    align-items: center;
}

.cus-product img{
    max-width: 100%;
}


.cus-products__item {
    padding: 15px 0;
}


.cus-product__title {
	font-family: 'Comfortaa', Arial, sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.55;
	color: black;
}

.cus-count__btn {
    width: 16px;
    height: 16px;
    background: none;
    border: none;
    background-color: #CCCCCC;
    display: inline-block;
    cursor: pointer;
    transition: all .1s;
}

.cus-products__item:hover .cus-count__btn {
    background-color: #676666;
}

.cus-count__btn--minus{
    mask: url("./img/minus.svg") no-repeat; 
    mask-size: contain;
}
.cus-count__btn--plus{
    mask: url("./img/plus.svg") no-repeat;
    mask-size: contain; 
}
.cus-count__mean {
    font-family: 'Comfortaa', Arial, sans-serif;
	font-size: 16px;
	font-weight: 300;
    line-height: 1;
    padding: 0 5px;
}
.cus-product__price {
    font-family: 'Comfortaa', Arial, sans-serif;
    font-weight: 300;
    color: #000;
    font-size: 16px;
}
.cus-product__del {
    width: 20px;
    height: 20px;
    background: none;
    border: none;
    background-color: #CCCCCC;
    display: inline-block;
    cursor: pointer;
    transition: all .1s;
    mask: url("./img/remove.svg") no-repeat;
    mask-size: contain; 
}
.cus-products__item:hover .cus-product__del {
    background-color: #676666;
}

.cus-cart__final-price{
    font-family: 'Comfortaa', Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.55;
    margin: 30px 0 20px;
    text-align: right;
}

.cus-personal__block{
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}
.cus-personal__block label{
    color: #805d85;
    font-weight: 400;
    font-family: 'Meea';
    font-size: 16px;
    padding-bottom: 7px;
}

.cus-block-min{
    display: flex;
    gap: 25px;
    flex-direction: row;
}

.cus-block-min__part{
    flex: 0 1 50%;
}

.cus-personal__input{
    padding: 10px 15px;
    color: rgb(128, 93, 133);
    font-family: 'Comfortaa', Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
    border: 1px solid rgb(128, 93, 133);
    border-radius: 3px;
    width: 100%;
}
.cus-personal__input:focus{
    border: 1px solid rgb(128, 93, 133);
    outline: none;
}
.cus-personal__input::placeholder, .iti__selected-dial-code{
    color: #CDC0CF;
    font-family: 'Comfortaa', Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
}

.iti__selected-dial-code{
    color: #6e6262;
}

.cus-personal__block span{
    font-family: 'Comfortaa', Arial, sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 1.55;
    color: #805d85;
    padding-bottom: 15px;
}

.cus-cart__delivery{
    margin-top: 60px;
}
.cus-delivery__title{
    margin: 20px 0;
    font-size: 20px;
    line-height: 1.35;
    font-family: 'Comfortaa', Arial, sans-serif;
    font-weight: 600;
    color: #3a1b12;
}


.cus-result p{
    font-size: 14px;
    font-weight: 400;
    font-family: 'Comfortaa', Arial, sans-serif;
    line-height: 1.5;
    text-align: right;
}

p.cus-cart__results-bold {
    margin-top: 5px;
    color: #000;
    font-size: 16px;
    font-weight: 600;
}

.cus-cart__btn{
    margin: 30px 0 10px;
    color: #ffffff;
    background-image: linear-gradient(0.5turn, rgba(206, 159, 252, 1) 0%, rgba(115, 103, 240, 1) 100%);
    border-radius: 64px;
    -moz-border-radius: 64px;
    -webkit-border-radius: 64px;
    font-family: Meea;
    font-weight: 400;
    box-shadow: 0px 5px 0px 0px #CE9FFC;
    font-size: 16px;
    border: none;
    height: 60px;
    width: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cus-cart__btn span{
    position: relative;
    z-index: 3;
}
.cus-cart__btn::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    background-color: #dbdb34;
    border-radius: 64px;
}

.cus-cart__btn:hover::after{
    z-index: 1;
    opacity: 1;
}

.d-none{
    display: none !important;
}

.border-err{
    border: 1px solid red !important;
}

.text-err{
    color: red !important;
}
.cus-cart__err-text{
    text-align: center;
}

select#cus-delivery-country {
  width: 100%;
  padding: 15px;
  font-size: 16px;
  color: #333;
  background-color: transparent;
  border: 1px solid rgb(128, 93, 133);
  border-radius: 4px;
  appearance: none; /* Убирает стандартное оформление в некоторых браузерах */
  -webkit-appearance: none; /* Для Safari */
  -moz-appearance: none; /* Для Firefox */

   

}
select:focus {
  outline: none;
  border-color: rgb(128, 93, 133);
  box-shadow: 0 0 0 2px rgba(128, 93, 133, .2);
}

select#cus-delivery-country{
  cursor: pointer;
  color: #CDC0CF;
}

select#cus-delivery-country._open{
    color: rgb(128, 93, 133);
}

option{
    -webkit-appearance:button !important;
        -moz-appearance:button !important;
            appearance:button !important;
    cursor: pointer;
}


[data-modal-wrapper] {
    position: fixed;
    margin: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
dialog{
    outline: none;
    border: none;
}

.dialog {
    max-width: 560px;
    padding: 0;
    width: 100%;
}
.dialog::backdrop {
    background-color: rgba(0, 0, 0, 0.8);
}

.dialog::-webkit-scrollbar {
  width: 0px;
}

dialog[open] {
    -webkit-animation: show 1s ease;
}

@-webkit-keyframes show {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.cus-cart__delivery-info{
    text-transform: uppercase;
    background-color: #82ABB9;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    border-radius: 0 0 10px 10px;
    padding: 5px;
    font-weight: 600;
    letter-spacing: 1px;
    color: white;
}

.cus-result__delivery{
    position: relative;
}

.cus-result__delivery img{
    width: 54px;
    height: 30px;
    position: relative;
    top: 11px;
    margin-right: 5px;
}