/* cart-with-products
    cart-container
    cart-header
    cart-header-item
		1st span
        countCartItems
        countCartItemsText
	cart-inner
		cart-column cart-column-left
		cart-column cart-column-right
			summary
			payment-logo
			dellivery-logo
			about-shipping */

.fw600{
	font-weight: 600;
}
.custom-radio {
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
}

.custom-radio input[type="radio"] {
  opacity: 0;
  position: absolute;
}

.custom-radio span {
  width: 1.1875em;  /* 19px */
  height: 1.1875em; /* 19px */
  border: 1px solid black;
  border-radius: 50%;
  display: inline-block;
  position: relative;
}
.rounded-button {
    width: 100%;
    height: 45px;
    background-color: black;
    color: white;
    border: none;
    border-radius: 25px;
    text-align: center;
    line-height: 42px;
    cursor: pointer;
    display: inline-block;
    transition: background-color 0.3s, color 0.3s;
    border: 1px solid black;
    font-size: 18px;
}
.rounded-button {
    width: 100%;
    height: auto;
    background-color: black;
    color: white;
    border: 1px solid black;
    border-radius: 1em;
    text-align: center;
    cursor: pointer;
    display: inline-block;
    transition: background-color 0.3s, color 0.3s;
	font-size: 1em;
	box-sizing: border-box;
	padding: .5em 0;
	margin: 1em 0;
	line-height: 1;
	&:hover {
		background-color: white;
		color: black;
	}
}

/* Галочка внутри круга */
.custom-radio input[type="radio"]:checked + span::before {
  content: "";
  width: 8px;
  height: 14px;
  border: solid black;
  border-width: 0 2px 2px 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%) rotate(45deg);
}
.cart-with-products {
	width: 100%;
	box-sizing: border-box;
	padding: 0;
	display: block;
	flex-direction: column;
	gap: 2em;
	background-color: var(--background-full);
	min-height: 300px;


}
#cart-container{
	width: 100%;
	box-sizing: border-box;
	display: flex;
	padding-top: 50px;
	@media screen and (max-width: 760px) {
		font-size: .84rem;
		padding-top: 10px;
	};
	
	flex-direction: column;
	gap: 2em;
	& > * {
		box-sizing: border-box;
		width: 100%;
		flex: 1 1 auto;
	}
	& .cart-header{
		font-size: 1em;
		font-weight: 500;
		
		& .font-size_38.fw600{
			font-weight: 600;
			font-size: 2em;
		}
		& a {
			
			float: right;
			@media screen and (max-width: 560px) {
				float: left;
				padding: 0.5em 0 ;
			};
			font-size: 0.9em;
			
		}
		.text-circle{
			display: inline-block;
			width: .8em;
			height: .8em;
			line-height: 2em;
			text-align: center;
			border-radius: 50%;
			background-color: #000 ;
			
			font-weight: 600;
			margin-left: 0.5em;
		}

	}
}

.cart-inner{
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 2em 3em;
	box-sizing: border-box;
	@media (max-width: 900px) {
		grid-template-columns: 1fr;
	}
	& .cart-item{
		display: grid;
		grid-template-columns: 150px 1fr ;
		@media screen and (max-width: 500px) {
			grid-template-columns: 100px 1fr ;
			font-size: 0.8rem;
			
		}
		gap: 1em;
		margin-bottom: 2em;
		& > .cart-item__image {
			width: 100%;
			aspect-ratio: 1 / 1;
			display: block;
			overflow: hidden;
			
			& img {
				width: 100%;
				height: 100%;
				object-fit: cover;
				display: block;
			}
		}
		& > .cart-item__details {
			display: flex;
			flex-direction: column;
			justify-content: start;
			position: relative;
			gap: .5em;
			font-size: 0.875rem;
			line-height: 1.5;
			& .cart-item__title {			
				font-weight: 700;
				margin: 0;
			}
			& .cart-item__price {
				font-size: 1em;
				font-weight: 500;
				color: var(--font_color_secondary);
			}
			& .cart-item__loc{
				padding-top: 0px;
			}
			& .cart-item__quantity {
				display: flex;
				align-items: center;
				gap: 0.5em;
				& input {
					width: 50px;
					padding: 0.2em;
					text-align: center;
					border: 1px solid #ccc;
					border-radius: 5px;
				}
			}
			& .cart-item__remove {
				color: var(--color-accent);
				cursor: pointer;
				font-size: 0.9em;
				text-decoration: underline;
				position: absolute;
				right: 0;
				top:1.5em
			}
		}
	}
	& .summary{
		box-sizing: border-box;
		background: var(--background-full-alternate);
		padding: 1em;
		font-size: 1rem;
		& .cart-item__header, .dja-center {
			display: flex;
			justify-content: space-between;
			align-items: center;
			
		}
		& .cart-summary-row:has(input[type="radio"])  {
			display: flex;
			align-items: flex-start;
			gap: 0.625rem;
			font-size: 0.875rem;
			line-height: 1.4;
			display: none;
			& label {
				cursor: pointer;
				font-size: 0.9em;
			}
		}

		

		
	}

}

.dellivery-logo,
.payment-logo,
.about-shipping {
	text-align: center;
	& img{
		margin: 1em 0;
		max-width: 100%;
	}
	& a{color: #000;
		font-size: 0.9em;
	}
}

.empty-cart-container{
	padding-bottom:80px;
	@media screen and (max-width: 760px) {
		padding-bottom:30px;
	}
	& .cart_image_block{
	  height: 379px;
	  padding-top: 86px;
	  padding-bottom: 24px;
	  width: 100%;
	  display: flex;
	  justify-content: center;
	  align-items: center;
	  box-sizing: border-box;
	  @media screen and (max-width: 760px) {
		padding-top: 25px;
	  }
	  & img{
		  width: 18rem;
	      height: 18rem;
		  max-width: 100%;
		  max-height: 100%;
		  border:none;
		  @media screen and (max-width: 760px) {
			width: 16rem;
	        height: 16rem;
		  }
	  }
	}
	& .cart_empty_row:nth-child(2){
		display: flex;
		justify-content: center;
		align-items: center;
		width: 100%;
		& span{
			text-align: center;
			font-size: 2.375rem;
			font-weight: 700;
			@media screen and (max-width: 760px) {
				font-size: 1.375rem;
			}
		}
		
	}
	& .cart_empty_row:nth-child(3){
		display: flex;
		justify-content: center;
		align-items: center;
		width: 100%;
		font-size: 1.125rem;
		font-weight: 700;
		text-align: center;
		& span{
			text-align: center;
			@media screen and (max-width: 760px) {
				font-size: 0.8rem;
			}
		}
	}
	& .cart_empty_row:nth-child(4){
		display: flex;
	    justify-content: center;
	    align-items: center;
	    width: 100%;
		font-size: 1.125rem;
		font-weight: 700;
		@media screen and (max-width: 760px) {
			font-size: 0.8rem;
		}
	}
	& .cart_empty_row:nth-child(5){
		display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
		margin-top: 47px;
		& a:nth-child(1){
			max-width: 300px;
			height: 41px;
			margin: 0px 15px;
			width: 100%;
		    background-color: black;
		    color: white;
		    border: none;
		    border-radius: 25px;
		    text-align: center;
		    cursor: pointer;
		    display: inline-block;
		    transition: background-color 0.3s, color 0.3s;
		    border: 1px solid black;
		    font-size: 18px;
			font-weight: 500;
			text-decoration: none;
		}
		& a:nth-child(2){
			max-width: 300px;
			height: 41px;
			margin: 0px 15px;
			width: 100%;
		    background-color: black;
		    color: white;
		    border: none;
		    border-radius: 25px;
		    text-align: center;
		    cursor: pointer;
		    display: inline-block;
		    transition: background-color 0.3s, color 0.3s;
		    border: 1px solid black;
		    font-size: 18px;
			font-weight: 500;
			text-decoration: none;
		}
	}
}
.rounded-button:hover {
  background-color: white;
  border: 1px solid black;
  color: black;
}

@media (max-width: 576px) {
  .cart_empty_row {
    flex-direction: column;
    gap: 24px;
  }
}

/*****************************checkout**********************************************/
.checkout-page {
  padding: 65px 0;
  width: 100%;

  & .block-container {
    max-width: 1254px;
    margin: 0 auto;
    width: calc(100% - 30px);
    float: unset;
    padding: 0 15px;

    & .header-checkbox {
      width: 100%;

      & .checkout-page__title {
        font-size: 38px;
        line-height: 47px;
        text-transform: uppercase;
        display: flex;
        margin-bottom: 45px;
        font-family: "Montserrat", sans-serif;
        font-weight: 600;
      }
    }
	& .checkout-tabs{
		  display: none;
		  top: 0;
		  left: 50%;
		  transform: translateX(-50%);
		  background: white;
		  width: 100%;
		  max-width: 500px;
		  text-align: center;
		  z-index: 1000;
		  margin-bottom: 32px;
		  & .tab-button {
			  flex: 1;
			  text-align: center;
			  padding: 0;
			  cursor: pointer;
			  font-size: 16px;
			  line-height: 19px;
			  font-weight: 700;
			  font-family: "Monserat",sans-serif;
			  text-transform: uppercase;
			  border: none;
				border-bottom-width: medium;
				border-bottom-style: none;
				border-bottom-color: currentcolor;
			  background: none;
			  margin-left: 15px;
			  outline: none;
		  }
		  & .tab-button.active {
			  border-bottom: 3px solid black;
		  }
		  & .tab-button:first-child {
			  margin-left: 0;
		  }
	}
	& .checkout-container{
			display: flex;
			justify-content: space-between;
			& form{
				width:100%;
				& .checkout-page-inner{
					  display: flex;
					  gap: 32px;
					  justify-content: space-between;
					  & .checkout-left{
						  width:60%;
						  & .checkout-left__inner{
							  & .checkout-page__block-title{
								  font-size: 16px;
								  line-height: 19px;
								  text-transform: uppercase;
								  display: flex;
								  margin-bottom: 20px;
								  font-family: "Monserat",sans-serif;
								  font-weight: 700;
							  }
							  & .checkout-page__rows{
								  & .input-row{
									  width: 100%;
									  margin-bottom: 44px;
									  display: flex;
									  gap: 25px !important;
									  position: relative;
									  & .input-container{
										  width: 100%;	  
									  }									  
								  }
								  & textarea{
										  padding: 13px 16px;
										  background: #ffffff;
										  border: 1px solid #000000;
										  border-radius: 24px;
										  margin-bottom: 44px;
										  color: #000000;
										  text-align: left;
										  font-family: "Monserat",sans-serif;
										  font-size: 14px;
										  line-height: 18px;
										  letter-spacing: 0px;
										  font-weight: 400;
										  opacity: 1;
										  height: 305px;
										  resize: none;
										  width:calc(100% - 32px);
										  outline: none;
									  }
							  }
						  }
					  }
					& .checkout-right{
						width: 35%;
						display: flex;
						flex-direction: column;
						margin-top: -86px;
						& .checkout-right-top{
							display: flex;
							flex-direction: column;
							& .checkout-page__block-title{
								font-size: 16px;
								line-height: 19px;
								text-transform: uppercase;
								display: flex;
								margin-bottom: 20px;
								font-family: "Monserat",sans-serif;
								font-weight: 700;
							}
							& .border-checkout{
								display: flex;
								flex-direction: column;
								& .cart-item-checkout:first-child {
								  padding: 0px 16px 20px 16px;
								  display: flex;
								  align-items: stretch;
								  background-color: #ebebeb;
								  margin-bottom: 10px;
								}
								& .cart-item-checkout {
								  display: flex;
								  align-items: stretch;
								  background-color: #ebebeb;
								  padding: 20px 16px;
								  margin-bottom: 10px;
								  & div:nth-child(1){
										max-width: 164px;
										margin-right: 16px;
									& img{
										max-width: 100% !important;
										max-height: 100% !important;
										vertical-align: middle;
										border: none;
										width: 98px;
										height: 98px;
										aspect-ratio: auto 98 / 98;
									}
								  }
								  & .cart-item__details{
									  display: flex;
									  flex-direction: column;
									  flex: 1;
									  padding-top: 10px;
									  margin-left: 20px;
									  & .cart-item__description{
										  line-height: 1.2;
										  flex: 1;
										  font-size: 0.875rem;
										  display: flex;
										  flex-direction: column;
										  gap: 1px;
										  & .cart-item__title{
											  font-family: "Monserat",sans-serif;
											  font-size: 16px;
											  line-height: 20px;
											  letter-spacing: 0px;
											  text-transform: uppercase;
											  font-weight: 700;
											  margin-top: 8px; 
										  }
									  }
								  }
								}
								& .cart-right-shipping{
									display: flex;
									flex-direction: row;
									justify-content: space-between;
									font-family: "Monserat",sans-serif;
									font-size: 16px;
									line-height: 19px;
									font-weight: 700;
									& .cart-right-checkout-row{
										display: flex;
										flex-direction: column;
										justify-content: space-between;
										clear: both;
										margin: 5px 0;
										& .policy-row-checkout{
											margin: 0;
										    clear: both;
										    padding:0;
											& a{
												color: black;
												font-size: 14px;
												font-weight: 400;
												text-decoration: underline;
											}
										}
									}
								}
								& .cart-right-tax{
									padding-bottom: 20px;
								    margin-bottom: 20px;
								    border-bottom: 1px solid #000000;
									& .cart-right-checkout-row:nth-child(1){
										display: flex;
										justify-content: space-between;
										clear: both;
										float: none;
										padding-top: 16px;
										& span{
											font-size: 1rem;
											font-weight: 500;
										}
									}
									& .cart-right-checkout-row:nth-child(2){
										display: flex;
										justify-content: space-between;
										clear: both;
										float: none;								
										margin: 5px 0;
										& span{
											font-size: 0.75rem;
											font-weight: 500;
										}
									}
								}
							}
							& .cart-right-checkout-estimated{
								display: flex;
								flex-direction: row;
								justify-content: space-between;
								font-family: "Monserat",sans-serif;
								font-size: 16px;
								font-weight: 400;
								padding-bottom: 20px;
								margin-bottom: 20px;
								border-bottom: 1px solid #000000;
								& .cart-right-checkout-estimated-block{
									display: flex;
								    flex-direction: column;
								    justify-content: space-between;
								    clear: both;
								    margin: 5px 0;
								}
								& .cart-right-checkout-estimated-block-date{
									font-size: 16px;
									line-height: 19px;
									font-weight: 700;
									text-transform: uppercase;
									display: flex;
									justify-content: space-between;
									clear: both;
									margin: 5px 0;
								}
							}
							& .coupon-container{
									display: flex;
									flex-direction: column;
									& .cart-right-checkout-row{
										flex-direction: column;
									    align-items: flex-start;
									    gap: 10px;
										display: flex;
									    justify-content: space-between;
									    clear: both;
										margin: 5px 0;
										& label{
											font-size: 0.875rem;
											font-weight: 600;
										}
									}
									& .coupon_area{
										display: flex;
										gap: 10px;
										width: 100%;
										& input{
											flex: 1;
											padding: 10px;
											border: 1px solid #ccc;
											border-radius: 4px;
											font-size: 14px;
											width: 100%;
											margin: 0;
											font-family: "Montserrat", Arial, Helvetica, sans-serif;
											outline: none;
											accent-color: #000;
										}
										& button{
											padding: 10px 16px;
											border-radius: 4px;
											background: black;
											color: white;
											font-size: 0.875rem;
											font-weight: 600;
											border: none;
											cursor: pointer;
											outline: none;
										}
									}
									
							}
							& .total-area{
								display: flex;
								flex-direction: column;
								& .cart-right-checkout-row{
									display: flex;
									justify-content: space-between;
									clear: both;
									& .total-title{
										font-family: "Monserat",sans-serif;
										font-size: 16px;
										font-weight: 900;
									}
									#checkoutTotal{
										font-family: "Monserat",sans-serif;
										font-size: 16px;
										font-weight: 900;
									}
								}
								
							}
						}
						& .checkout-submit{
							width: 100%;
							background: black;
							color: white;
							padding: 15px;
							font-size: 16px;
							font-weight: bold;
							border: none;
							cursor: pointer;
							text-transform: uppercase;
							border-radius: 24px;
							outline: none;
							text-align: center;
							margin-top: 16px;
						}
					}
					& .secure-payment{
						margin-top: 30px;
						display: flex;
						justify-content: center;
						flex-direction: column;
						width: 100%;
						& .secure-payment-title{
							font-size: 14px;
							line-height: 24px;
							font-weight: 700;
							font-family: "Monserat",sans-serif;
							text-transform: uppercase;
							margin-bottom: 15px;
							text-align: center;
						}
						& .secure-payment-images{
							display: flex;
							gap: 15px;
							justify-content: center;
							margin-bottom: 15px;
						}
						& .secure-payment-one-image{
							display: flex;
							justify-content: center;
							& img{
								width:100%;
							}
						}
					}
				}
			}
	  }
  }
}
 .input-checkout{
	  padding: 13px 16px;
	  background: #ffffff;
	  border: 1px solid #000000;
	  border-radius: 24px;
	  color: #000000;
	  text-align: left;
	  font-family: "Monserat",sans-serif;
	  font-size: 14px;
	  line-height: 18px;
	  letter-spacing: 0px;
	  font-weight: 400;
	  opacity: 1;
	  margin-bottom: 0;
	  width: 100%;
	  outline: none;
	  accent-color:#000;
	  -webkit-box-sizing: border-box;
	  position: relative;
  }
   .error-message-checkout{
	  position: absolute;
	  font-family: "Monserat",sans-serif;
	  font-size: 11px;
	  line-height: 14px;
	  text-transform: uppercase;
	  font-family: "Monserat",sans-serif;
	  font-weight: 400;
	  margin-left: 15px;
	  bottom: -20px;
	  color: red;
	  display: none;
  }
  .checkout-page .checkout-right-top {
  display: flex;
  flex-direction: column;
}
.sum-chekout-block{
	text-align: right;
	display: flex;
	justify-content: end;
	flex-direction: column;
	border-top: 1px solid #000000;
	margin-top: 10px;
	padding: 15px 0;
	font-size: 16px;
	font-weight: 400;
	& .sum-chekout-bold{
		text-align: right;
	}
	& price{
		text-align: right;
		font-weight:600;
	}
}
@media (max-width: 992px) {
  .checkout-page-inner {
    width: 100%;
  }
}
@media (max-width: 992px) {
  .checkout-left {
    width: 100% !important;
  }
}
@media (max-width: 992px) {
  .checkout-right {
    width: 100% !important;
    display: none !important;
    margin-top: 0 !important;
  }
}
.checkout-page .block-container .checkout-tabs {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  width: 100%;
  max-width: 500px;
  text-align: center;
  z-index: 1000;
  margin-bottom: 32px;
  position: relative;
}
a.buttonFlipper, a.buttonFlipper{
	text-align: center;
	max-width: 370px !important;
    width: 100%;
	--element-height: 42px;
    --button-bg-color: #000;  
    --button-hover-bg-color: #fff;
    --border-inner-hover: 1px solid #000;
	--button-hover-text-color:#000;
	font-weight:600;
	& span{
		text-align: center;
	}
}
  
  