* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

/* footer */
.footer_section {
	width: 100%;
	max-width: 480px;
	margin: 0 auto;
	padding: 20px 12px 20px;
	display: flex;
	flex-direction: column;
	gap: 18px;
	font-size: 14px;
	line-height: 24px;
}

.footer__group {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 14px;
	background: #24385c;
	border: 1px solid #35507f;
	border-radius: 16px;
}

.footer__title {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 8px 12px;
	border-radius: 10px;
	background: #ffffff;
	border: 1px solid #d6e0ee;
	color: #1a2a49;
	text-align: center;
	font-size: 24px;
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.footer__row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.footer__row--banks .footer__item {
	width: calc((100% - 20px) / 3);
}

.footer__row--delivery .footer__item {
	width: calc((100% - 10px) / 2);
}

.footer__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 78px;
	padding: 12px 8px;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	text-decoration: none;
	color: #111827;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.footer__item:active {
	transform: scale(0.98);
}

.footer__item:hover {
	border-color: #d1d5db;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.footer__logo {
	width: 110px;
	height: 50px;
	object-fit: contain;
	border-radius: 6px;
	flex: 0 0 50px;
}

.footer__info {
	text-align: center;
	margin: 10px auto;
	display: block;
	font-size: 14px;
	line-height: 26px;
}

.footer a.js-legal-popup {
	color: #2f72b1 !important;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.privacy-modal {
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(0, 0, 0, 0.72);
	z-index: 10000;
}

.privacy-modal.is-open {
	display: flex;
}

.privacy-modal__dialog {
	position: relative;
	width: 100%;
	max-width: 480px;
	height: min(85vh, 760px);
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.privacy-modal__close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.08);
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	z-index: 1;
}

.privacy-modal__frame {
	width: 100%;
	height: 100%;
	border: 0;
	background: #fff;
}