/**
 * SO Woo Extensions : avertissement alcools (18 ans, retrait, pièce d'identité).
 * Fond teinté et filet fin sur tout le pourtour, pictogramme à gauche.
 */

.so-wext-alcohol {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 16px 0;
	padding: 14px 16px;
	border: 1px solid rgba(156, 106, 14, 0.28);
	border-radius: 12px;
	background: rgba(156, 106, 14, 0.07);
	color: inherit;
	font-size: 14px;
	line-height: 1.5;
	text-align: left;
}

.so-wext-alcohol__icon {
	flex: 0 0 auto;
	margin-top: 1px;
	color: #9C6A0E;
}

.so-wext-alcohol__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.so-wext-alcohol__title {
	font-weight: 700;
}

.so-wext-alcohol__text {
	opacity: 0.85;
}

/* Panier latéral : plus compact, au-dessus du total. */
.so-wext-alcohol--cart {
	margin: 0 0 14px;
	padding: 12px 14px;
	font-size: 13px;
}

/* Page de commande : au-dessus des modes de livraison. */
.so-wext-alcohol--checkout {
	margin: 0 0 18px;
}

/* Confirmation : sous l'adresse et les horaires du magasin. */
.so-wext-alcohol--thankyou {
	margin: 20px 0 0;
}

/* ---------- Fenêtre « Avez-vous 18 ans ou plus ? » ---------- */
.so-wext-age {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(30, 24, 18, 0.55);
}

.so-wext-age[hidden],
.so-wext-age [hidden] {
	display: none !important;
}

body.so-wext-age-open {
	overflow: hidden;
}

.so-wext-age__box {
	width: 100%;
	max-width: 420px;
	padding: 28px 26px 24px;
	border-radius: 18px;
	background: #fff;
	color: #23211D;
	font-family: "Montserrat", sans-serif;
	text-align: center;
	box-shadow: 0 24px 60px -20px rgba(30, 24, 18, 0.55);
}

.so-wext-age__title {
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #9C6A0E;
}

.so-wext-age__question {
	margin: 0 0 10px;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.25;
	color: #1E2430;
}

.so-wext-age__note,
.so-wext-age__refused {
	margin: 0 0 22px;
	font-size: 14px;
	line-height: 1.5;
	color: #7A7268;
}

.so-wext-age__refused {
	color: #23211D;
	font-weight: 600;
}

.so-wext-age__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.so-wext-age__btn {
	flex: 1 1 140px;
	margin: 0;
	padding: 13px 18px;
	border: 1px solid #4b3c31;
	border-radius: 999px;
	background: #fff;
	color: #4b3c31;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
	text-transform: none;
	letter-spacing: 0;
	box-shadow: none;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.so-wext-age__btn--yes {
	background: #4b3c31;
	color: #fff;
}

.so-wext-age__btn:hover,
.so-wext-age__btn:focus-visible {
	background: #F9B000;
	border-color: #F9B000;
	color: #1E1E1E;
	outline: none;
}
