/* ACRUN Packs */
:root {
	--acrunp-bg: #0a0a0a;
	--acrunp-border: rgba(255,255,255,.14);
	--acrunp-text: #f2ece0;
	--acrunp-muted: #b9b3a6;
	--acrunp-gold: #d4af37;
	--acrunp-radius: 14px;
}

/* ---------- Grille des packs ---------- */
.acrunp-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	max-width: 1200px;
	margin: 0 auto;
}

.acrunp-card {
	position: relative;
	border-radius: var(--acrunp-radius);
	overflow: hidden;
	background-color: #111;
	background-size: cover;
	background-position: center;
	border: 1px solid var(--acrunp-accent, var(--acrunp-border));
	min-height: 300px;
	display: flex;
	color: var(--acrunp-text);
}
.acrunp-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.75) 45%, rgba(10,10,10,.94) 100%);
	z-index: 0;
}
.acrunp-card__inner {
	position: relative;
	z-index: 1;
	padding: 20px 20px 18px;
	display: flex;
	flex-direction: column;
	width: 100%;
}
.acrunp-card__badge {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	font-size: .68rem;
	font-weight: 800;
	letter-spacing: .04em;
	padding: 5px 12px;
	border-radius: 999px;
	text-transform: uppercase;
}
.acrunp-badge--gold { background: var(--acrunp-gold); color: #241d05; }
.acrunp-badge--red  { background: #e8492a; color: #fff; }
.acrunp-badge--blue { background: #2f6fed; color: #fff; }

.acrunp-card__icon { font-size: 1.7rem; margin-bottom: 6px; display: block; }
.acrunp-card__title {
	margin: 0 0 8px;
	font-size: 1.15rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .01em;
	line-height: 1.25;
}
.acrunp-card__price {
	font-size: 1.7rem;
	font-weight: 800;
	color: var(--acrunp-accent, var(--acrunp-gold));
	margin-bottom: 6px;
}
.acrunp-card__price small {
	font-size: .74rem;
	font-weight: 400;
	color: var(--acrunp-muted);
	margin-left: 4px;
}
.acrunp-card__tagline {
	font-style: italic;
	font-size: .86rem;
	color: var(--acrunp-muted);
	margin: 0 0 10px;
}
.acrunp-card__items {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
	flex: 1;
}
.acrunp-card__items li {
	font-size: .86rem;
	margin-bottom: 6px;
	display: flex;
	gap: 6px;
	color: #e9e4d8;
}
.acrunp-card__arrow { color: var(--acrunp-accent, var(--acrunp-gold)); }

.acrunp-card__cta {
	margin-top: auto;
	border: 1px solid var(--acrunp-accent, var(--acrunp-gold));
	background: rgba(255,255,255,.04);
	color: var(--acrunp-text);
	font-weight: 700;
	font-size: .92rem;
	padding: 12px 16px;
	border-radius: 999px;
	cursor: pointer;
	transition: background .18s, color .18s;
}
.acrunp-card__cta:hover {
	background: var(--acrunp-accent, var(--acrunp-gold));
	color: #1a1200;
}

/* ---------- Modale de réservation ---------- */
.acrunp-modal-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(10,10,10,.72);
	z-index: 100000;
	overflow-y: auto;                       /* permet de défiler si le contenu dépasse l'écran */
	-webkit-overflow-scrolling: touch;      /* défilement fluide sur iOS */
	padding: 24px 16px;
	box-sizing: border-box;
}
.acrunp-modal-overlay.is-open {
	display: flex;
	justify-content: center;
	align-items: center;        /* centre verticalement quand le contenu tient à l'écran */
	align-items: safe center;   /* + navigateurs récents : bascule en haut (scrollable) si trop grand, sans jamais couper le haut */
}

.acrunp-modal {
	position: relative;
	background: #fff !important;
	color: #1c1c1c !important;
	width: 100%;
	max-width: 560px;
	margin: auto;                           /* garde-fou de centrage pour les très vieux navigateurs */
	border-radius: 16px;
	padding: 26px 26px 22px;
	box-sizing: border-box;
}
.acrunp-modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	background: none;
	border: none;
	font-size: 1.1rem;
	cursor: pointer;
	color: #777 !important;
	width: 32px;
	height: 32px;
	border-radius: 50%;
}
.acrunp-modal__close:hover { background: #f2f2f2; }

.acrunp-modal__title {
	margin: 0 0 2px !important;
	font-size: 1.25rem !important;
	color: #1c1c1c !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
}
.acrunp-modal__price { margin: 0 0 16px; color: #666 !important; font-size: .9rem; }

.acrunp-form__row { margin-bottom: 12px; display: inline-block; width: 48%; vertical-align: top; }
.acrunp-form__row--full { width: 100%; display: block; }
.acrunp-form__row label { display: block; font-weight: 600; font-size: .82rem; margin-bottom: 4px; color: #333 !important; }
.acrunp-field {
	width: 100%;
	padding: 9px 10px;
	border: 1px solid #e2ded4;
	border-radius: 8px;
	font-size: .95rem;
	box-sizing: border-box;
	color: #1c1c1c !important;
	background: #fff !important;
}
.acrunp-field:focus { outline: none; border-color: var(--acrunp-gold); box-shadow: 0 0 0 3px rgba(212,175,55,.15); }

.acrunp-modal__messages:empty { display: none; }
.acrunp-notice {
	padding: 9px 12px;
	border-radius: 8px;
	margin: 8px 0;
	font-size: .86rem;
}
.acrunp-notice--error   { background: #fdeaea !important; color: #9b1c1c !important; }
.acrunp-notice--warning { background: #fff4e0 !important; color: #8a5300 !important; }
.acrunp-notice--success { background: #e8f6ee !important; color: #14624a !important; }
.acrunp-wa {
	display: inline-block;
	margin-top: 4px;
	background: #25d366;
	color: #fff !important;
	padding: 5px 11px;
	border-radius: 6px;
	text-decoration: none;
	font-size: .82rem;
}

.acrunp-modal__estimate {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	background: #f4f1ea !important;
	color: #1c1c1c !important;
	padding: 12px 14px;
	border-radius: 10px;
	margin-top: 6px;
	font-size: .95rem;
}
.acrunp-modal__total { font-size: 1.3rem; color: #0b3d2e !important; }
.acrunp-modal__deposit-hint { font-size: .82rem; color: #666 !important; margin: 6px 2px 14px; }
.acrunp-modal__deposit { color: #0b3d2e !important; }

.acrunp-modal__submit {
	width: 100%;
	background: #0b3d2e !important;
	color: #fff !important;
	border: none;
	padding: 13px 18px;
	font-size: 1rem;
	font-weight: 600;
	border-radius: 10px;
	cursor: pointer;
}
.acrunp-modal__submit:hover { background: #14624a; }
.acrunp-modal__submit:disabled { opacity: .6; cursor: wait; }
.acrunp-modal__legal { font-size: .72rem; color: #888 !important; text-align: center; margin-top: 10px; }

@media (max-width: 900px) {
	.acrunp-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.acrunp-grid { grid-template-columns: 1fr; }
	.acrunp-form__row { width: 100%; display: block; }
}
