#header .soc-free-search {
	width: 100%;
	min-width: 0;
}

.soc-free-list-button,
.soc-free-mobile-nav button,
.soc-free-list-dialog form button {
	border: 0;
	background: transparent;
	color: inherit;
	padding: 0;
}

.soc-free-list-button {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	line-height: 1.4;
}

.soc-free-list-button:hover,
.soc-free-list-button[aria-pressed="true"] {
	color: var(--theme-palette-color-2);
}

.soc-free-header-list {
	display: flex;
	align-items: center;
}

.soc-free-header-list button {
	width: 22px;
	height: 22px;
	justify-content: center;
}

.soc-free-product-lists {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin-block: 20px;
}

.ct-woo-card-extra:has(> .soc-free-product-lists) {
	position: absolute;
	inset: 12px 12px auto auto;
	z-index: 2;
}

.ct-woo-card-extra .soc-free-product-lists {
	flex-direction: column;
	gap: 6px;
	margin: 0;
}

.ct-woo-card-extra .soc-free-list-button {
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--theme-palette-color-8);
}

.soc-free-mobile-lists {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 24px;
	margin-top: 16px;
}

#footer [data-row="top"] > .ct-container:has(> [data-column="contacts"] .soc-free-footer-contacts) {
	width: calc(100% - 2 * clamp(20px, 3.2vw, 64px));
	max-width: none;
}

@media (min-width: 1000px) {
	#footer [data-row="top"] > .ct-container:has(> [data-column="contacts"] .soc-free-footer-contacts) {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
	}
}

.soc-free-footer-contacts {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	padding: 0;
	list-style: none;
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
}

.soc-free-footer-contacts li {
	display: flex;
	align-items: center;
	gap: 12px;
}

.soc-free-footer-contacts li > span {
	display: grid;
}

.soc-free-footer-contacts a,
.soc-free-footer-contacts strong {
	font-weight: 600;
}

.soc-free-list-dialog {
	width: min(720px, calc(100% - 32px));
	max-height: 85vh;
	padding: 26px;
	border: 1px solid var(--theme-border-color);
	border-radius: 16px;
	color: var(--theme-text-color);
	background: var(--theme-palette-color-8);
}

.soc-free-list-dialog::backdrop {
	background: rgb(0 0 0 / 45%);
}

.soc-free-list-dialog form {
	float: right;
}

.soc-free-list-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	gap: 16px;
}

.soc-free-list-content article {
	padding: 16px;
	border: 1px solid var(--theme-border-color);
	border-radius: 12px;
}

.soc-free-list-content dl {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 4px 12px;
	margin-block: 12px;
}

.soc-free-list-content dd {
	margin: 0;
}

.soc-free-mobile-nav {
	display: none;
}

@media (max-width: 999px) {
	body:has(.soc-free-mobile-nav) {
		padding-bottom: calc(64px + env(safe-area-inset-bottom));
	}

	.soc-free-mobile-nav {
		position: fixed;
		z-index: 10;
		inset: auto 0 0;
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		padding-bottom: env(safe-area-inset-bottom);
		background: var(--theme-palette-color-8);
		border-top: 1px solid var(--theme-border-color);
	}

	.soc-free-mobile-nav > * {
		min-height: 63px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 4px;
		color: var(--theme-text-color);
		font-size: 12px;
	}

	.soc-free-mobile-nav button:hover {
		color: var(--theme-palette-color-2);
	}
}

@media (max-width: 689px) {
	.soc-free-footer-contacts {
		flex-direction: column;
	}
}
