/* ==========================================================================
   SoloAdesivi.it — banner cookie e footer legale
   ========================================================================== */

/* ---------- FOOTER: indirizzo e contatti ---------- */
.footer-address {
	margin: 16px 0 0;
	font-style: normal;
	font-size: 14.5px;
	line-height: 1.7;
	color: rgba(255, 250, 243, .55);
}

.footer-contact-list {
	list-style: none;
	margin: 18px 0 0;
	padding: 0;
	display: grid;
	gap: 9px;
	font-size: 14.5px;
}

.footer-contact-list li {
	display: block;
	color: rgba(255, 250, 243, .68);
}

.footer-contact-list .icon {
	display: none;
}

.footer-contact-list a {
	color: rgba(255, 250, 243, .78);
}

.footer-contact-list a:hover {
	color: var(--accent);
}

.footer-legal-label {
	color: rgba(255, 250, 243, .45);
}

.footer-widget-title-spaced {
	margin-top: 32px;
}

.footer-cookie-btn {
	padding: 0;
	background: none;
	border: 0;
	font: inherit;
	color: rgba(255, 250, 243, .68);
	text-align: left;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.footer-cookie-btn:hover {
	color: var(--accent);
}

/* ---------- BANNER COOKIE ---------- */
.cookie-banner {
	position: fixed;
	left: 20px;
	right: 20px;
	bottom: 20px;
	z-index: 9990;
	max-width: 880px;
	margin: 0 auto;
	padding: 24px 26px;
	background: #ffffff;
	border: 1px solid var(--line, #e0e0e0);
	border-radius: var(--radius, 20px);
	box-shadow: 0 18px 50px rgba(0, 0, 0, .14);
	opacity: 0;
	transform: translateY(14px);
	transition: opacity .22s ease, transform .22s ease;
}

.cookie-banner.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.cookie-banner[hidden] {
	display: none;
}

.cookie-banner-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}

.cookie-banner-copy {
	flex: 1 1 380px;
	min-width: 0;
}

.cookie-banner-title {
	margin: 0 0 6px;
	font-size: 17px;
	color: var(--ink, #121212);
}

.cookie-banner-text {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--muted, #5f5f5f);
}

.cookie-banner-text a {
	color: var(--crosta, #333333);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.cookie-banner-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	flex: none;
}

.cookie-banner-link {
	padding: 4px 2px;
	background: none;
	border: 0;
	font: inherit;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--crosta, #333333);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

/* ---------- PREFERENZE ---------- */
.cookie-preferences {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--line, #e0e0e0);
}

.cookie-preferences[hidden] {
	display: none;
}

.cookie-pref-title {
	margin: 0 0 16px;
	font-size: 15px;
	color: var(--ink, #121212);
}

.cookie-pref-item {
	padding: 12px 0;
	border-bottom: 1px dashed var(--line, #e0e0e0);
}

.cookie-pref-label {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
}

.cookie-pref-label input {
	width: 16px;
	height: 16px;
	accent-color: var(--primary, #1a1a1a);
	cursor: pointer;
}

.cookie-pref-name {
	font-size: 14.5px;
	font-weight: 600;
	color: var(--ink, #121212);
}

.cookie-pref-desc {
	margin: 4px 0 0 26px;
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--muted, #5f5f5f);
}

.cookie-pref-actions {
	margin-top: 18px;
}

@media (max-width: 720px) {
	.cookie-banner {
		left: 12px;
		right: 12px;
		bottom: 12px;
		padding: 18px 18px 20px;
	}

	.cookie-banner-inner {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
	}

	.cookie-banner-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.cookie-banner-actions .btn {
		width: 100%;
	}
}
