/* Modales de disponibilite (fiche produit + panier) : couleur d'accent = theme du store */
.av-modal .modal-content {
	border: 0;
	border-radius: 16px;
	box-shadow: 0 20px 50px rgba(15, 23, 42, .18);
	overflow: hidden;
}
.av-modal .modal-header {
	border-bottom: 0;
	padding: 1.5rem 1.5rem .75rem;
	align-items: flex-start;
	gap: .9rem;
}
.av-modal__icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 19px;
	color: var(--color-1, #5CC0B5);
	background: color-mix(in srgb, var(--color-1, #5CC0B5) 14%, #fff);
}
.av-modal__title {
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.3;
	margin: 0;
	color: #0f172a;
}
.av-modal__subtitle {
	font-size: .875rem;
	color: #64748b;
	margin: .2rem 0 0;
}
.av-modal .modal-body {
	padding: .25rem 1.5rem 1.25rem;
}
.av-modal .modal-footer {
	border-top: 0;
	padding: 0 1.5rem 1.5rem;
	gap: .5rem;
}
.av-modal .modal-footer > * {
	margin: 0;
}

/* Produits concernes */
.av-items {
	list-style: none;
	padding: 0;
	margin: 0 0 1.25rem;
	border: 1px solid #eef1f5;
	border-radius: 12px;
	max-height: 240px;
	overflow-y: auto;
}
.av-item {
	display: flex;
	align-items: center;
	gap: .75rem;
	padding: .65rem .85rem;
}
.av-item + .av-item {
	border-top: 1px solid #eef1f5;
}
.av-item img {
	width: 44px;
	height: 44px;
	object-fit: contain;
	border-radius: 8px;
	background: #f8fafc;
	flex-shrink: 0;
}
.av-item__title {
	flex: 1;
	min-width: 0;
	font-size: .9rem;
	font-weight: 500;
	line-height: 1.3;
	color: #0f172a;
}
.av-badge {
	font-size: .68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
	padding: .3rem .6rem;
	border-radius: 999px;
	white-space: nowrap;
}
.av-badge--restocking {
	background: #fff4e0;
	color: #a15c00;
}
.av-badge--on_order {
	background: #e8f1fd;
	color: #1d4f91;
}

/* Contacter la boutique */
.av-section-label {
	font-size: .72rem;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: #94a3b8;
	font-weight: 700;
	margin-bottom: .5rem;
}
.av-contacts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: .6rem;
	margin-bottom: 1.25rem;
}
.av-contacts:last-child {
	margin-bottom: 0;
}
.av-contact {
	display: flex;
	align-items: center;
	gap: .75rem;
	padding: .75rem .9rem;
	border: 1px solid #e5e9f0;
	border-radius: 12px;
	color: #0f172a;
	text-decoration: none;
	transition: border-color .15s, box-shadow .15s;
}
.av-contact:hover,
.av-contact:focus {
	border-color: var(--color-1, #5CC0B5);
	box-shadow: 0 2px 12px rgba(15, 23, 42, .07);
	color: #0f172a;
}
.av-contact__icon {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	background: #f1f5f9;
	color: #334155;
}
.av-contact strong {
	display: block;
	font-size: .875rem;
	font-weight: 600;
}
.av-contact small {
	display: block;
	font-size: .8rem;
	color: #64748b;
}

/* Acceptation obligatoire */
.av-accept {
	display: flex;
	gap: .75rem;
	align-items: flex-start;
	margin: 0;
	padding: 1rem;
	border: 1.5px solid #e5e9f0;
	border-radius: 12px;
	cursor: pointer;
	font-size: .85rem;
	line-height: 1.55;
	color: #334155;
	transition: border-color .15s, background-color .15s;
}
.av-accept .form-check-input {
	flex-shrink: 0;
	width: 1.15rem;
	height: 1.15rem;
	margin: .15rem 0 0;
	cursor: pointer;
}
.av-accept:has(.form-check-input:checked) {
	border-color: var(--color-1, #5CC0B5);
	background: color-mix(in srgb, var(--color-1, #5CC0B5) 6%, #fff);
}
