.popup-overlay,
.popup-overlaysecond {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	display: none;
	z-index: 1;
	overflow-y: auto;
}

.popup-overlay {
	z-index: 22;
}


/* Общие стили для попапов */
.popup {
	display: none;
	position: fixed;
	z-index: 1001;
	background: var(--White);
	padding: 20px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	max-width: 500px;
	width: 90%;
	border-radius: 20px;
}

/* Центрирование попапа */
.popup-center {
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

/* Попап у верхней части экрана */
.popup-top {
	width: 100%;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
}

/* Кнопка закрытия */
.popup-close {
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
	position: absolute;
	top: 10px;
	right: 10px;

}

span.close-popup {
	position: absolute;
	right: 16px;
	display: flex;
	top: 20px;
	cursor: pointer;
}

.mob-menu-logo {
	margin-bottom: 40px;
}

.mon-nav ul {
	list-style: none;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	row-gap: 15px;
}

.mon-nav a {
	color: rgba(27, 40, 55, 1);
	display: flex;
	align-items: center;
	justify-content: flex-end;
	column-gap: 10px;
	font-size: 22px;
	font-weight: 500;
	text-transform: uppercase;
}

span.buy-title,
.popup-content.thank h2 {
	display: block;
	color: rgba(27, 40, 55, 1);
	font-size: 20px;
	font-weight: 700;
	line-height: 28px;
	margin-bottom: 20px;
}

div#btn--one-click path,
div#thankyouPopup path {
	fill: #1b2837;
}

input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
	width: 100%;
	margin-bottom: 20px;
}

span.wpcf7-spinner {
	display: none;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner,
.wc-block-components-button:not(.is-link) .wc-block-components-button__text {
	font-size: clamp(1rem, 0.9393rem + 0.2589vw, 1.25rem);
	font-weight: 700;
	line-height: 120%;
	background-color: var(--Accent);
	border: 2px solid var(--Accent);
	padding: clamp(1rem, 0.9697rem + 0.1294vw, 1.125rem);
	border-radius: 12px;
	width: 100%;
	color: #ffffff;
}

.popup-content.thank h2 {
	text-align: center;
}

a.slide-button.pop-bnt.btn {
	width: 100%;
	margin: 20px auto 0;
}

.popup-content.thank p {
	text-align: center;
	margin-bottom: 30px;
	color: #1E2A3A;
}

.toast {
	position: fixed;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	background: #323232;
	color: #fff;
	padding: 12px 20px;
	border-radius: 8px;
	font-size: 14px;
	z-index: 9999;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.toast.show {
	opacity: 1;
}

.toast.hidden {
	display: none;
}

div#cart-items {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	margin-bottom: 30px;
}

.cart-item {
	flex-direction: column;
	display: flex;
	gap: 8px;
	border-radius: clamp(0.625rem, 0.4733rem + 0.6472vw, 1.25rem);
	overflow: hidden;
	background: #F9F9F9;
	box-shadow: 0px 8px 8px 0px rgba(0, 0, 0, 0.15);
	position: relative;
	transition: 0.3s ease;
}

button.remove-item.text-red-500.font-bold {
	margin: auto clamp(0.625rem, 0.4733rem + 0.6472vw, 1.25rem) clamp(0.625rem, 0.4733rem + 0.6472vw, 1.25rem);
	background-color: var(--Accent);
	color: #F9F9F9;
	border-radius: 12px;
	display: flex;
	justify-content: center;
	border: none;
}

a.flex-1 {
	margin: 0 clamp(0.625rem, 0.4733rem + 0.6472vw, 1.25rem);
	font-size: 13px;
}

button.remove-item svg {
	width: 16px;
	height: 16px;
}

button.remove-item svg path {
	fill: #ffffff;
}