/* FunnySocks Legal RO – pagini legale și formular de retragere */
.fsx-missing {
	padding: 1px 6px;
	background: #ffe066;
	color: #3a2a00;
	font-weight: 700;
	border-radius: 3px;
}

.fsx-firma {
	display: grid;
	grid-template-columns: max-content 1fr;
	gap: 6px 18px;
	margin: 0 0 24px;
	padding: 18px 20px;
	background: var(--fsx-tape, #fff4df);
	border-left: 3px solid var(--wd-alternative-color, #c63678);
}
.fsx-firma dt { font-weight: 700; margin: 0; }
.fsx-firma dd { margin: 0; }

.fsx-table-wrap { overflow-x: auto; margin: 10px 0 24px; }
.fsx-cookie-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.fsx-cookie-table th,
.fsx-cookie-table td { padding: 8px 10px; border: 1px solid rgba(0, 0, 0, .12); text-align: left; vertical-align: top; }
.fsx-cookie-table th { background: #f6f6f6; }
.fsx-cookie-table code { white-space: nowrap; }

.fsx-callout {
	margin: 18px 0;
	padding: 14px 18px;
	border: 2px solid var(--wd-primary-color, #1c1c1c);
	box-shadow: 4px 4px 0 var(--wd-alternative-color, #c63678);
}

.fsx-model {
	margin: 18px 0;
	padding: 18px 20px;
	border: 1px dashed rgba(0, 0, 0, .35);
	background: #fafafa;
	font-size: 15px;
}

/* Formular de retragere */
.fsx-wd { max-width: 760px; margin: 20px 0; }
.fsx-wd__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.fsx-wd__field { margin: 0 0 16px; }
.fsx-wd__field--wide { grid-column: 1 / -1; }
.fsx-wd__field label { display: block; margin-bottom: 6px; font-weight: 600; }
.fsx-wd__field .required { color: var(--wd-alternative-color, #c63678); }
.fsx-wd__field input,
.fsx-wd__field textarea { width: 100%; }
.fsx-wd__hp { position: absolute !important; left: -9999px !important; }
.fsx-wd__note { font-size: 13px; color: #666; }
.fsx-wd__submit { min-height: 52px; padding: 0 28px; }
.fsx-wd__errors { margin-bottom: 16px; padding: 12px 16px; border-left: 3px solid #c62828; background: #fdecea; }
.fsx-wd__errors ul { margin: 0; padding-left: 18px; }
.fsx-wd--ok { padding: 18px 20px; border-left: 3px solid #2e7d32; background: #edf7ee; }

/* Footer legal */
.fsx-footer-legal {
	--fsx-fl-ink: var(--wd-primary-color, #1c1c1c);
	--fsx-fl-muted: #6b6b6b;
	--fsx-fl-line: rgba(0, 0, 0, .1);
	width: 100%;
	font-size: 13px;
	line-height: 1.6;
	color: var(--fsx-fl-muted);
}

.fsx-footer-legal__links ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 0;
	margin: 0;
	padding: 0 0 18px;
	list-style: none;
}
.fsx-footer-legal__links li { display: flex; align-items: center; margin: 0; }
.fsx-footer-legal__links li + li::before {
	content: "";
	width: 4px;
	height: 4px;
	margin: 0 14px;
	border-radius: 50%;
	background: var(--wd-alternative-color, #c63678);
	opacity: .7;
}
.fsx-footer-legal__links a {
	color: var(--fsx-fl-ink);
	font-weight: 600;
	text-decoration: none;
	background-image: linear-gradient(currentColor, currentColor);
	background-size: 0 1px;
	background-position: 0 100%;
	background-repeat: no-repeat;
	transition: background-size .2s, color .2s;
}
.fsx-footer-legal__links a:hover,
.fsx-footer-legal__links a:focus-visible {
	color: var(--wd-alternative-color, #c63678);
	background-size: 100% 1px;
}

.fsx-footer-legal__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px 32px;
	padding-top: 18px;
	border-top: 1px solid var(--fsx-fl-line);
}
.fsx-footer-legal__firma {
	display: flex;
	flex-direction: column;
	gap: 1px;
	margin: 0;
	font-style: normal;
}
.fsx-footer-legal__name {
	color: var(--fsx-fl-ink);
	font-family: var(--wd-title-font, "Syne", Arial, sans-serif);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .03em;
}
.fsx-footer-legal__sep { margin: 0 8px; opacity: .6; }
.fsx-nowrap { white-space: nowrap; }

.fsx-footer-legal__aside {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 14px;
}
.fsx-footer-legal__cookies {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 50px;
	padding: 0 16px;
	border: 1.5px solid var(--fsx-fl-ink);
	border-radius: 8px;
	background: #fff;
	color: var(--fsx-fl-ink);
	font-weight: 700;
	white-space: nowrap;
	text-decoration: none;
	transition: background .15s, color .15s;
}
.fsx-footer-legal__cookies:hover,
.fsx-footer-legal__cookies:focus-visible {
	background: var(--fsx-fl-ink);
	color: #fff;
}
.fsx-footer-legal__anpc .fsx-anpc { justify-content: flex-end; }

/* Tabletă: rândurile se rup, deci renunțăm la puncte ca să nu înceapă un rând cu separator */
@media (max-width: 1199px) {
	.fsx-footer-legal__links ul { gap: 8px 24px; }
	.fsx-footer-legal__links li + li::before { content: none; }
}

@media (max-width: 767px) {
	/* Pe mobil: listă pe două coloane, fără separatoare, ușor de apăsat */
	.fsx-footer-legal__links ul {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0 16px;
		padding-bottom: 14px;
	}
	.fsx-footer-legal__links li + li::before { content: none; }
	.fsx-footer-legal__links a { display: block; padding: 7px 0; line-height: 1.35; }

	.fsx-footer-legal__bottom { flex-direction: column; align-items: stretch; gap: 16px; }
	.fsx-footer-legal__firma { align-items: flex-start; }
	.fsx-footer-legal__ids { display: flex; flex-direction: column; }
	.fsx-footer-legal__sep { display: none; }
	.fsx-footer-legal__aside { flex-direction: column; align-items: stretch; gap: 10px; }
	.fsx-footer-legal__cookies { justify-content: center; }
	.fsx-footer-legal__anpc .fsx-anpc { justify-content: center; }
}

@media (max-width: 600px) {
	.fsx-wd__grid { grid-template-columns: 1fr; }
	.fsx-firma { grid-template-columns: 1fr; }
	.fsx-firma dd { margin-bottom: 8px; }
	.fsx-wd input, .fsx-wd textarea { font-size: 16px; }
}
