
@media only screen and (max-width: 800px)  {
    #header-logo
	{	
		background-size: contain;
	}

	.newsletter-left-body-panel {
		width: 90vw;
	}

	.newsletter-right-body-panel {
		width: 90vw;
		height: fit-content;
		margin: 0;
	}

	.newsletter-right-body-panel img
	{
		width: 90vw;
		min-width: 320px;
		height: auto;
	}
}

body
{
	background-color: #fff;
}

/* ══════════════════════════════════════════
   Fil d'etapes, repris de Pays-d'Enhaut : numero dans un cercle, libelle en
   capitales, trait entre les etapes. Pose en haut du bandeau bleu, donc en
   blanc : etape courante cerclee, etapes passees en pastille pleine.
   ══════════════════════════════════════════ */
#breadcrumb-lang-wrapper
{
	background-color: var(--color-second-light);
	padding-top: 16px;
}

#breadcrumb
{
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: 60vw;
	min-width: 0;
	/* Le global plafonne a 800 px : le fil ne s'alignait plus sur le contenu. */
	max-width: none;
	margin: 24px auto 0;
	padding: 0;
	box-sizing: border-box;
}

.breadcrumb_step
{
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.breadcrumb_img_wrap,
.breadcrumb_dot,
.breadcrumb_text_mobile
{
	display: none;
}

.breadcrumb_step p
{
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	color: rgba(255, 255, 255, 0.75);
}

.breadcrumb_number
{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 30px;
	height: 30px;
	border: 2px solid rgba(255, 255, 255, 0.5);
	border-radius: 50%;
	box-sizing: border-box;
	font-size: var(--font-size-14);
	font-weight: bold;
	line-height: 1;
	color: rgba(255, 255, 255, 0.85);
}

.breadcrumb_text
{
	font-size: 0.78rem;
	font-weight: bold;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	white-space: nowrap;
	color: rgba(255, 255, 255, 0.75);
}

.breadcrumb_separator
{
	flex: 1;
	min-width: 16px;
	width: auto;
	height: 2px;
	margin: 0 12px;
	align-self: center;
	background: rgba(255, 255, 255, 0.35);
}

.breadcrumb_separator img,
.breadcrumb_separator_fill
{
	display: none;
}

.breadcrumb_separator.breadcrumb_separator_active
{
	background: var(--color-main);
}

.breadcrumb_active .breadcrumb_number
{
	border-color: var(--color-main);
	color: var(--color-main);
}

.breadcrumb_active .breadcrumb_text
{
	color: var(--color-main);
}

.breadcrumb_prev_active .breadcrumb_number
{
	border-color: var(--color-main);
	background: var(--color-main);
	color: var(--color-second-light);
}

.breadcrumb_prev_active .breadcrumb_text
{
	color: var(--color-main);
}

/* Sur grand ecran, le selecteur de langue reste a droite du logo, dans le
   blanc de l'en-tete ; sur petit ecran il passe sous le fil, sur le bandeau. */
@media (min-width: 801px)
{
	#breadcrumb-lang-wrapper .header-body
	{
		position: absolute;
		top: 24px;
		left: 0;
		right: 0;
		z-index: 2;
		pointer-events: none;
	}

	#breadcrumb-lang-wrapper .header-body > *
	{
		pointer-events: auto;
	}
}

/* Sous le selecteur de langue, .lang-card porte le titre de bienvenue et le
   bouton retour de l'en-tete. Ici le titre est vide et le retour est pose
   dans le contenu (backButtonInContent) : le bloc vide creusait l'en-tete. */
.header-body .lang-card
{
	display: none;
}

@media (max-width: 800px)
{
	#breadcrumb
	{
		width: 90vw;
		margin-top: 8px;
	}

	/* Faute de place, seul le libelle de l'etape courante reste affiche. Le
	   global masque le cercle de l'etape courante et affiche un second libelle :
	   on garde le cercle, et le libelle "ordinateur". */
	.breadcrumb_step:not(.breadcrumb_active) .breadcrumb_text
	{
		display: none;
	}

	.breadcrumb_active .breadcrumb_number
	{
		display: inline-flex;
	}

	.breadcrumb_active .breadcrumb_text_mobile
	{
		display: none;
	}

	.breadcrumb_active .breadcrumb_text_desktop
	{
		display: inline;
	}
}

#header-logo
{
 	background-image: url('/images/gryon/logo_gryon_blanc.svg') ;
 	background-position: 25%;
	max-height: 50px;
	margin-top: 25px;
	margin-bottom: 20px;
}


.menu-lang-button
{
	border: 1px solid #dddddd;
	border-radius: 7px;
}

.lang-card-element {
width: 100%;
}


/* Le panneau d'accueil React porte l'id translation_title_home_page_ (tiret
   bas final) : sans lui, le titre perdait taille et couleur de l'ancien guichet. */
#translation_title_home_page,
#translation_title_home_page_,
#translation_title_payment_page
{
	font-size: 24px;
	font-weight: var(--font-weight-medium);
	line-height: 30px;
	margin-bottom: 25px;
}

/* "En savoir plus" : le global ne donne au bouton aucune disposition, l'icone
   restait plus haute que le libelle et collee a lui. */
.moreinfo-button,
.lessinfo-button
{
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

#translation_payment_error
{
	color: var(--color-red);
}

#translation_start_comment,
#translation_discover,
#translation_payment_info,
#add-more-card-button,
#footer-links
{
	color: var(--color-second);
}

#translation_title_home_page,
#translation_title_home_page_
{
	color: white;
}

.left-body-panel-desc
{
	color: white;
}

#footer-links  a
{
	color: var(--color-second);
	text-decoration: none;
	margin-left: 10px;
}

#footer
{
	color: white;
	display:flex;
	justify-content: space-between;
}


#reservation h2
{
	color: var(--color-darker-grey);
}

.card-guest-header
{
	color: var(--color-second-light);
	font-weight: bold;
	margin-bottom: 5px;
}

.card-guest-body
{
	padding-top: 10px;
}

.card-name:focus,
.card-firstname:focus,
.card-birthdate:focus
{
	outline-style: solid;
	outline-color: var(--color-button-primary);
	outline-width: 2px;
}

#send_cards,
#download_cards,
#translation_processing_cards_info,
#translation_fail_processing_cards_info,
#translation_fail_processing_cards_info_bold
{
	background-color : var(--color-main);
	color: var(--color-second-light);
}


#card-and-discount
{	
	display: inline;
	background-repeat: no-repeat;
	background-size:  contain;
	background-position: center;
	/*background-image: url("../images/juratourisme/jura-pass.png");/* card_and_discount_de */
	margin: auto;
	width: 100%;
	height: 200px;
}

.reservation-element
{
	display: flex;
}

.reservation-left
{
	width: 100%;
}

#available-card-management
{
	border-bottom: 0px solid var(--color-light-blue);

}

.action-button, #discover-resort-pass-button
{
	background-color:  var(--color-button-primary);
	border: 0px;
	border-radius: 22px;
	color: white ;
	font-family: var(--theme-font-family-medium);
	font-weight: var(--font-weight-medium);
	font-size: var(--font-size-20);
	line-height: var(--line-spacing-24);
	text-align: center;
	/* width: 360px; */
	height: 45px;
}

.action-button:hover, #discover-resort-pass-button:hover
{
	background-color:  var(--color-button-hover) !important;
}

#current-lang
{
  color: var(--color-dark-grey);
  font-size: 20px;
  text-transform: uppercase;
  margin-right: 2px;
}

#footer-note
{
	color: red;
	font-family: var(--font-family-roboto);
	font-weight: normal;
}

#footer-first-block img 
{
	width: 45px;
}

#footer-second-block img
{
	height: 55px;
}

/* Bouton retour pose au-dessus du titre des personnes (backButtonInContent) :
   bouton blanc sur le bandeau, comme le selecteur de langue. */
#content-create-card .content-back-button
{
	display: flex;
	width: fit-content;
	align-items: center;
	gap: 6px;
	height: 32px;
	box-sizing: border-box;
	margin: 0 0 12px;
	padding: 0 14px 0 10px;
	border: none;
	border-radius: 7px;
	background: #FFFFFF;
	color: var(--color-darker-grey);
	font-family: var(--theme-font-family);
	font-size: var(--font-size-16);
	font-weight: var(--font-weight-medium);
	line-height: 1;
	cursor: pointer;
}

#content-create-card .content-back-button img
{
	height: 16px;
}

#content-create-card .content-back-button:hover
{
	background: #EEF2F6;
}

/* Fiches des personnes en grille, comme Pays-d'Enhaut. Le global met les
   fiches en `flex: 0 1 29%` avec `min-width: 350px` : elles debordaient de
   leur colonne et se chevauchaient. Autant de colonnes que la largeur en
   autorise, jamais moins de 300 px. */
#content-create-card .card-guest-content
{
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 16px;
	margin-top: 20px;
	margin-bottom: 20px;
}

#content-create-card .card-guest
{
	min-width: 0;
	margin: 0;
	flex: none;
}

/* Ajout d'une personne : cadre traitille blanc sur toute la largeur, sous les
   fiches. Le "+" vient du CSS, plus grand : le libelle card_add_person est
   surcharge sans lui pour ce theme. */
.add-card-plus
{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	grid-column: 1 / -1;
	min-height: 72px;
	padding: 20px;
	border: 2px dashed rgba(255, 255, 255, 0.6);
	border-radius: 8px;
	background: transparent;
	color: var(--color-main);
	font-family: var(--theme-font-family-medium);
	font-size: var(--font-size-16);
	cursor: pointer;
	transition: background .15s, border-color .15s;
}

.add-card-plus::before
{
	content: "+";
	font-size: var(--font-size-25);
	line-height: 1;
	flex: 0 0 auto;
}

.add-card-plus:hover
{
	background: rgba(255, 255, 255, 0.15);
	border-color: var(--color-main);
}

/* Choix entre adresse commune et adresses individuelles
   (collapseIndividualMails) : deux onglets cote a cote, l'actif plein en bleu
   fonce, pour que la bascule entre les deux modes se voie. */
.mail-mode-switch
{
	display: inline-flex;
	gap: 4px;
	margin: 0 0 24px;
	padding: 4px;
	border-radius: 12px;
	background-color: #EEF2F6;
}

.mail-mode-option
{
	padding: 10px 18px;
	border: 0;
	border-radius: 9px;
	background: transparent;
	cursor: pointer;
	font-family: var(--theme-font-family);
	font-size: var(--font-size-16);
	font-weight: var(--font-weight-medium);
	color: var(--color-dark-grey);
	transition: background-color 0.15s, color 0.15s;
}

.mail-mode-option:hover
{
	color: var(--color-darker-grey);
}

.mail-mode-option--active,
.mail-mode-option--active:hover
{
	background-color: var(--color-button-primary);
	color: #FFFFFF;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.mail-mode-option:focus-visible
{
	outline: 2px solid var(--color-button-primary);
	outline-offset: 2px;
}

@media (max-width: 600px)
{
	.mail-mode-switch
	{
		display: flex;
	}

	.mail-mode-option
	{
		flex: 1;
		padding: 10px 8px;
		font-size: var(--font-size-14);
		text-align: center;
		line-height: 1.25;
	}
}

/* ══════════════════════════════════════════
   Ecran d'attente (showProcessView), repris de Pays-d'Enhaut : carte blanche
   sur le bandeau, au lieu des textes bleu et vert du global. Pas d'image a
   droite pour ce theme (image_process_*.png absente) : colonne retiree.
   ══════════════════════════════════════════ */
#content-process-card
{
	width: 60vw;
	box-sizing: border-box;
	margin: 32px auto 48px;
	padding: 32px;
	border-radius: 16px;
	background-color: var(--color-main);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

#content-process-card .title-process-card-guest
{
	margin: 0 0 20px;
	font-size: 26px;
	font-weight: bold;
	line-height: 1.2;
	color: var(--color-button-primary);
}

#content-process-card .process-right-body-panel,
#content-process-card .process-body-panel-fantom
{
	display: none;
}

/* L'animation d'attente (loading_pdf.gif) a un fond blanc : bloc blanc borde,
   sur toute la largeur de la carte. */
#content-process-card .process-pdf-loading-block,
#content-process-card .process-pdf-fail-block
{
	width: 100%;
	box-sizing: border-box;
	margin: 0 0 16px;
	padding: 24px;
	border: 1px solid #E3E8ED;
	border-radius: 12px;
	background-color: #FFFFFF;
	box-shadow: none;
}

#content-process-card .process-pdf-loading-block img
{
	width: 72px;
	height: 72px;
	margin-top: 0;
}

#content-process-card .process-pdf-loading-block p,
#content-process-card .process-pdf-fail-block p
{
	color: var(--color-darker-grey);
	font-size: var(--font-size-16);
	line-height: 1.5;
}

#content-process-card .processing-blue-text,
#content-process-card .processing-green-text
{
	margin: 8px 0 0;
	color: var(--color-dark-grey);
	font-size: var(--font-size-16);
	line-height: 1.5;
}

/* La colonne garde sinon la largeur du global : moitie de la carte sur
   ordinateur, texte qui deborde sur telephone. */
#content-process-card .process-left-body-panel
{
	flex: 1;
	width: 100%;
	min-width: 0;
	max-width: none;
	box-sizing: border-box;
}

#content-process-card p
{
	width: auto;
	max-width: 100%;
}

@media (max-width: 800px)
{
	#content-process-card
	{
		width: auto;
		margin: 16px 20px 32px;
		padding: 20px;
	}
}

/* ══════════════════════════════════════════
   Ecran final : boutons, envoi par e-mail, newsletter.
   ══════════════════════════════════════════ */

/* "Envoyer par e-mail" et "Telecharger" en tuiles cote a cote, grande icone
   au-dessus du libelle, comme Pays-d'Enhaut. Le global laisse le groupe en
   bloc : les boutons s'empilaient sans espace, icone collee au libelle. */
.action-buttons-secondary
{
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	width: 100%;
	max-width: 560px;
	margin-top: 32px;
}

.action-buttons-secondary .action-button,
.action-buttons-secondary .disabled-action-button
{
	width: 100%;
	height: auto;
	min-height: 120px;
	padding: 20px 16px;
	border-radius: 16px;
	font-size: var(--font-size-18);
	line-height: 1.3;
	/* Sans equilibrage, "par e-mail" se coupait au tiret ("e-" / "mail"). */
	text-wrap: balance;
}

.action-button-inner
{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.action-buttons-secondary .action-button-inner
{
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.action-button-icon
{
	display: inline-flex;
}

.action-buttons-secondary .action-button-icon svg
{
	width: 32px;
	height: 32px;
}

/* L'envoi par e-mail passe en premier, plein en bleu fonce : c'est l'action
   principale. Le composant rend le PDF d'abord ; seul l'ordre visuel change. */
#send_cards
{
	order: -1;
}

.action-buttons-secondary #send_cards.action-button
{
	background-color: var(--color-button-primary);
	border: 2px solid var(--color-button-primary);
	color: var(--color-main);
}

/* Bloc d'envoi ouvert : la tuile est cerclee de blanc. */
.action-buttons-secondary #send_cards.action-button--selected
{
	border-color: var(--color-main);
}

/* Le telechargement devient secondaire : contour blanc sur le bandeau. */
.action-buttons-secondary .action-button:not(#send_cards)
{
	background-color: transparent;
	border: 2px solid var(--color-main);
	color: var(--color-main);
}

.action-buttons-secondary .action-button:not(#send_cards):hover
{
	background-color: rgba(255, 255, 255, 0.15) !important;
}

/* Petit ecran : les tuiles redeviennent des boutons pleine largeur empiles,
   icone a gauche du libelle. */
@media (max-width: 600px)
{
	.action-buttons-secondary
	{
		grid-template-columns: 1fr;
		gap: 12px;
		margin-top: 24px;
	}

	.action-buttons-secondary .action-button,
	.action-buttons-secondary .disabled-action-button
	{
		min-height: 52px;
		padding: 12px 20px;
		border-radius: 26px;
		font-size: var(--font-size-16);
	}

	.action-buttons-secondary .action-button-inner
	{
		flex-direction: row;
		gap: 10px;
	}

	.action-buttons-secondary .action-button-icon svg
	{
		width: 20px;
		height: 20px;
	}
}

/* Envoi par e-mail : carte blanche comme la newsletter, au lieu de textes
   poses directement sur le bandeau. */
#content-send-card
{
	width: 60vw;
	box-sizing: border-box;
	margin: 32px auto 48px;
	padding: 32px;
	border-radius: 16px;
	background-color: var(--color-main);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
	color: var(--color-darker-grey);
}

#content-send-card .title-create-card-guest
{
	margin: 0 0 20px;
	font-size: 26px;
	font-weight: bold;
	line-height: 1.2;
	color: var(--color-button-primary);
}

#send-all-cards-to-one-mail p,
#send_cards_individually
{
	margin: 0 0 10px;
	font-size: var(--font-size-16);
	font-weight: var(--font-weight-medium);
	color: var(--color-darker-grey);
}

#send_cards_individually
{
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid #E3E8ED;
}

#content-send-card .mail-input
{
	width: 100%;
	max-width: 480px;
	height: 46px;
	box-sizing: border-box;
	margin: 0;
	padding: 0 14px;
	border: 1px solid #C9D3DD;
	border-radius: 10px;
	background-color: #FFFFFF;
	font-family: var(--theme-font-family);
	font-size: var(--font-size-16);
	color: var(--color-darker-grey);
}

#content-send-card .mail-input:focus
{
	outline: 2px solid var(--color-button-primary);
	outline-offset: 1px;
	border-color: transparent;
}

/* Fiches par personne, repris de Pays-d'Enhaut : fond clair, sans ombre ni
   bandeau d'en-tete ; "CARTE #1" en petites capitales, nom appuye dessous,
   champ 12 px plus bas. Le global donne a l'en-tete une hauteur fixe de 30 px
   et met le paragraphe du champ en inline (sa marge du haut etait ignoree). */
#content-send-card .card-guest-content
{
	gap: 16px;
	margin: 0;
}

#content-send-card .card-guest
{
	box-sizing: border-box;
	min-width: 0;
	margin: 0;
	padding: 16px 18px;
	border: 0;
	border-radius: 12px;
	background-color: #EEF2F6;
	box-shadow: none;
}

#content-send-card .card-guest-header
{
	height: auto;
	margin: 0 0 2px;
	padding: 0;
	border: 0;
	background: transparent;
}

#content-send-card .card-guest-header p
{
	margin: 0;
	font-size: var(--font-size-12);
	font-weight: bold;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	color: var(--color-button-primary);
}

#content-send-card .send-card-guest-body
{
	padding: 0;
	background: transparent;
	box-shadow: none;
	border-radius: 0;
}

#content-send-card .send-card-to
{
	margin-left: 0;
	font-size: var(--font-size-18);
	font-weight: var(--font-weight-medium) !important;
	line-height: 1.3;
	color: var(--color-darker-grey);
}

#content-send-card .card-guest-body p.send-card-to-mail
{
	display: block;
	margin: 12px 0 0 !important;
}

#content-send-card .card-guest .mail-input
{
	max-width: none;
}

/* Bouton d'envoi a droite, sous les fiches. Le global impose 358 px
   !important a .validate-card-button. */
#content-send-card .content-create-card-buttons
{
	display: flex;
	width: 100%;
	min-width: 0;
	justify-content: flex-end;
	margin-top: 24px;
}

#send-all-cards-button
{
	width: auto !important;
	min-width: 220px;
	height: 48px;
	padding: 0 32px;
	border-radius: 24px;
}

@media (max-width: 800px)
{
	#content-send-card .content-create-card-buttons
	{
		justify-content: stretch;
	}

	#send-all-cards-button
	{
		width: 100% !important;
		max-width: none;
	}
}

/* Entre telephone et grand ecran, le global passe l'ecran final a 80vw : la
   carte d'envoi prend la meme largeur. */
@media (min-width: 801px) and (max-width: 1200px)
{
	#content-send-card
	{
		width: 80vw;
	}
}

/* Newsletter : encart blanc arrondi et ombre, comme la carte d'envoi. Champ,
   case et bouton alignes sur toute la largeur (le champ etait plus etroit que
   le bouton, la case decalee). */
.content-deliverycards-body #right-panel
{
	align-self: flex-start;
	padding: 24px 28px;
	border-radius: 16px;
	background-color: var(--color-main);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
	color: var(--color-darker-grey);
}

.content-deliverycards-body #right-panel h2
{
	margin-top: 0;
	color: var(--color-button-primary);
}

#content-newsletter label
{
	color: var(--color-darker-grey);
}

#translation_checkbox_newsletter_text
{
	font-family: var(--theme-font-family-medium);
	font-weight: var(--font-weight-medium);
}

#content-newsletter .newsletter-special-offer
{
	font-size: var(--font-size-14);
	opacity: 0.8;
}

#content-newsletter #mail-subscribe,
#content-newsletter #subscribe-newsletter-button
{
	width: 100%;
	max-width: none;
	box-sizing: border-box;
	margin-left: 0;
	margin-right: 0;
}

#content-newsletter #mail-subscribe
{
	height: 46px;
	padding: 0 14px;
	border: 1px solid #C9D3DD;
	border-radius: 10px;
	font-family: var(--theme-font-family);
	font-size: var(--font-size-16);
}

#content-newsletter .checkbox-subscribe-block
{
	margin-left: 0;
	padding-left: 0;
}

/* Case de la newsletter : bordure grise, puis fond bleu fonce et coche
   blanche une fois cochee. */
#content-newsletter #subscribeNews
{
	width: 22px;
	height: 22px;
	min-width: 22px;
	margin-top: 1px;
	border: 2px solid #A9B6C3;
	border-radius: 5px;
	background-color: #FFFFFF;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 14px 14px;
}

#content-newsletter #subscribeNews:hover
{
	border-color: var(--color-button-primary);
}

#content-newsletter #subscribeNews:focus-visible
{
	outline: 2px solid var(--color-button-primary);
	outline-offset: 2px;
}

#content-newsletter #subscribeNews:checked
{
	border-color: var(--color-button-primary);
	background-color: var(--color-button-primary);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

#content-newsletter .checkbox-subscribe-block label
{
	cursor: pointer;
}

@media (max-width: 800px)
{
	/* L'encart d'envoi porte .content-card, que le global fixe a 90vw
	   (!important). */
	#content-send-card
	{
		width: auto !important;
		margin: 16px 20px 32px;
		padding: 20px;
	}

	/* Le global met la newsletter en pleine largeur d'ecran sans arrondi
	   (!important). */
	.content-deliverycards-body #right-panel
	{
		width: auto;
		margin: 0 0 24px;
		border-radius: 16px !important;
		align-self: stretch;
	}
}

/* Tourist tax payment: text on the blue band, amount and SumUp form
   in a white card, like the e-mail block. */
#content-payment
{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	gap: 40px;
}

#content-payment #translation_title_payment_page
{
	color: white;
}

#content-payment .right-body-panel
{
	flex: 0 1 420px;
	max-width: 420px;
	box-sizing: border-box;
	padding: 32px;
	border-radius: 16px;
	background-color: var(--color-main);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

#payment-management
{
	align-items: baseline;
	gap: 16px;
	padding-bottom: 16px;
	margin-bottom: 16px;
	border-bottom: 1px solid #E3E8ED;
}

#payment_amount-text,
#payment_tax_amount
{
	margin: 0;
	color: var(--color-button-primary, #012F56);
}

#payment_amount-text
{
	font-size: 18px;
	line-height: 24px;
}

#payment_tax_amount
{
	width: auto;
	white-space: nowrap;
	font-size: 26px;
	font-weight: bold;
}

#payment-info-text
{
	margin: 0 0 24px;
	color: var(--color-darker-grey, #333);
	font-size: 14px;
}

#start-payment-button
{
	width: 100%;
	justify-content: center;
}

#sumup-card:empty
{
	display: none;
}

#content-payment #translation_payment_error
{
	margin: 16px 0 0;
	font-size: 14px;
}

@media (max-width: 800px)
{
	#content-payment
	{
		flex-direction: column;
		gap: 24px;
	}

	#content-payment .right-body-panel
	{
		flex-basis: auto;
		width: 100%;
		max-width: none;
		min-width: 0;
		padding: 24px;
	}
}

/* ══════════════════════════════════════════
   Couleurs du site Alpes Vaudoises : header et pied de page bleu foncé,
   contenu sur fond blanc, réservation sur le bleu de la bande « Newsletter »
   du site, boutons comme son bouton « S'abonner ». Mêmes logos que le
   self-checkin.

   --color-main (blanc) servait de couleur aux textes, au fil d'étapes et aux
   contours posés sur le bandeau : il passe en bleu foncé, ce qui les rend
   lisibles sur le blanc. Les encarts qui l'utilisaient comme fond sont remis
   en blanc plus bas.
   ══════════════════════════════════════════ */
:root
{
	--color-navy: #011C32;
	--color-av-band: #0C2F57;
	--color-av-light: #DAF5FF;
	--color-main: var(--color-navy);
	--color-second-light: var(--color-navy);
}

/* Sous le pied de page, sur une page courte : le bleu du pied de page */
body
{
	background-color: var(--color-navy);
}

/* ── Header : bleu foncé, logo blanc ─────────────────────────── */
#header-logo
{
	background-color: var(--color-navy);
	background-origin: content-box;
	margin: 0;
	padding: 25px 0 20px;
	box-sizing: content-box;
}

/* ── Contenu : fond blanc ─────────────────────────────────────── */
#breadcrumb-lang-wrapper,
.body-content,
#noReservation,
.content-card
{
	background-color: #fff;
}

#content
{
	background-color: var(--color-navy);
}

/* flow-root : la marge basse des encarts (génération, envoi) reste dans le
   blanc au lieu de passer dans le bleu du pied de page */
.body-content
{
	display: flow-root;
	margin-bottom: 0;
	padding-bottom: 0;
}

.breadcrumb_step p,
.breadcrumb_text
{
	color: rgba(1, 28, 50, 0.6);
}

.breadcrumb_number
{
	border-color: rgba(1, 28, 50, 0.35);
	color: rgba(1, 28, 50, 0.7);
}

.breadcrumb_separator
{
	background: rgba(1, 28, 50, 0.2);
}

.breadcrumb_prev_active .breadcrumb_number
{
	color: #fff;
}

/* Textes du bandeau écrits en blanc en dur dans le thème */
#translation_title_home_page,
#translation_title_home_page_,
.left-body-panel-desc,
#content-payment #translation_title_payment_page,
#noReservation,
#noReservation p
{
	color: var(--color-navy);
}

/* Encarts blancs qui prenaient --color-main comme fond */
#content-process-card,
#content-send-card,
.content-deliverycards-body #right-panel,
#content-payment .right-body-panel
{
	background-color: #fff;
	box-shadow: 0 4px 18px rgba(1, 28, 50, 0.12);
}

/* Fiches des personnes : même forme qu'avant (en-tête et corps arrondis,
   séparés par un filet), avec un contour léger sur chacun maintenant qu'elles
   sont sur du blanc. Le contour suit l'arrondi (box-shadow, pas border).
   Étape Personnes seulement : l'écran d'envoi a ses propres fiches. */
#content-create-card .card-guest-header
{
	box-shadow: 0 0 0 1px rgba(1, 28, 50, 0.15);
	color: var(--color-av-band);
}

#content-create-card .card-guest-body
{
	box-shadow: 0 0 0 1px rgba(1, 28, 50, 0.15);
	border-radius: 0 0 7px 7px;
}

/* ── Boutons : bleu foncé sur le blanc ───────────────────────── */
.action-button,
.enabled-action-button,
#discover-resort-pass-button
{
	background-color: var(--color-navy);
	color: #fff;
}

.action-button:hover,
.enabled-action-button:hover,
#discover-resort-pass-button:hover
{
	background-color: var(--color-av-band) !important;
	color: #fff;
}

.action-button span,
.enabled-action-button span
{
	color: inherit;
}

.moreinfo-button,
.lessinfo-button
{
	border: 1px solid rgba(1, 28, 50, 0.3);
	color: var(--color-navy);
}

/* ── Réservation : bande bleue du site, texte clair ──────────── */
#reservation,
#footer-note
{
	background-color: var(--color-av-band);
}

#reservation h2,
#reservation p,
#reservation span,
#reservation .reservation-item,
#reservation .reservation-item div
{
	color: #fff;
}

#footer-note,
#footer-note p
{
	color: var(--color-av-light);
}

#footer-note
{
	padding-bottom: 8px;
}

/* ── Pied de page : bleu foncé, centré ───────────────────────── */
#footer
{
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px 72px;
	text-align: center;
	margin-bottom: 0;
	color: #fff;
}

#footer-first-block,
#footer-second-block
{
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 0 1 auto;
	text-align: center;
}

#footer p,
#footer .footer_contact
{
	color: #fff;
}

#footer img
{
	margin-top: 0;
}

/* Écusson de la commune sur un carré blanc, pour qu'il ressorte sur le bleu */
#footer-first-block > img
{
	background: #fff;
	padding: 8px;
	border-radius: 4px;
	box-sizing: content-box;
	width: auto;
	height: 55px;
	margin-bottom: 14px;
}

/* Logo de la destination, lien vers son site, aligné en bas sur l'écusson */
.footer-logo-link
{
	display: flex;
	align-items: flex-end;
	height: 71px;
	margin-bottom: 14px;
}

#footer-second-block .footer-logo-link img
{
	height: 40px;
	width: auto;
}

.footer-logo-link:focus-visible
{
	outline: 2px solid #fff;
	outline-offset: 4px;
}

/* Marque régionale (Alpes Vaudoises) */
#footer-brand
{
	flex-basis: 100%;
	display: flex;
	justify-content: center;
}

#footer-brand img
{
	height: 34px;
	width: auto;
	max-width: 100%;
}

#footer-copyright
{
	flex-basis: 100%;
	justify-content: center;
	gap: 16px;
}

#footer-copyright a
{
	color: #fff;
}

/* Contours blancs du bandeau, invisibles sur le blanc : en bleu */
#content-create-card .content-back-button
{
	border: 1px solid rgba(1, 28, 50, 0.3);
}

.add-card-plus
{
	border-color: rgba(1, 28, 50, 0.35);
}

.add-card-plus:hover
{
	background: rgba(1, 28, 50, 0.05);
}

/* Fiches côte à côte de même hauteur : la grille étire le bloc qui contient
   chaque fiche ; la fiche remplit ce bloc, et son corps la hauteur restante */
#content-create-card .card-guest-content > .body-panel
{
	display: flex;
	flex-direction: column;
}

#content-create-card .card-guest-content > .body-panel > .card-guest
{
	flex: 1;
}

#content-create-card .card-guest
{
	display: flex;
	flex-direction: column;
}

#content-create-card .card-guest-body
{
	flex: 1;
}

/* Tuiles de l'écran final : « Envoyer par e-mail » plein bleu foncé, texte
   blanc (le thème lui donnait --color-main, devenu bleu foncé) ; au survol le
   bleu du site ; ouverte, sans cerclage. « Télécharger » garde son
   contour, fond bleu très clair au survol. */
.action-buttons-secondary #send_cards.action-button
{
	background-color: var(--color-navy);
	border-color: var(--color-navy);
	color: #fff;
}

.action-buttons-secondary #send_cards.action-button:hover
{
	background-color: var(--color-av-band) !important;
	border-color: var(--color-av-band);
	color: #fff;
}

.action-buttons-secondary #send_cards.action-button--selected
{
	border-color: var(--color-navy);
}

.action-buttons-secondary .action-button:not(#send_cards):hover
{
	background-color: var(--color-av-light) !important;
	color: var(--color-navy);
}

/* Messages de l'écran de génération : le thème leur donnait --color-main en
   fond et --color-second-light en texte, tous deux devenus bleu foncé */
#translation_processing_cards_info,
#translation_fail_processing_cards_info,
#translation_fail_processing_cards_info_bold
{
	background-color: transparent;
	color: var(--color-navy);
}

/* Encart newsletter de l'écran final : texte blanc en dur, sur un fond devenu
   blanc */
.content-deliverycards-body #right-panel
{
	color: var(--color-navy);
}

/* « Plus de carte disponible » : blanc en dur dans le style commun */
#no-more-card-available-text
{
	color: var(--color-navy);
}

/* Tuiles pendant l'envoi ou le téléchargement (désactivées) : gris-bleu clair,
   libellé et icône en bleu estompé. Sans cela la tuile e-mail reprenait la règle
   #send_cards (fond et texte bleu foncé) et paraissait vide. */
.action-buttons-secondary .disabled-action-button,
.action-buttons-secondary #send_cards.disabled-action-button,
.action-buttons-secondary #download_cards.disabled-action-button
{
	background-color: #E3E9EF !important;
	border: 2px solid #E3E9EF;
	color: rgba(1, 28, 50, 0.55);
}

.action-buttons-secondary .disabled-action-button span
{
	color: inherit;
}

/* Écran final, mobile : l'envoi des cartes passe avant la newsletter. Dans le
   HTML, l'encart d'envoi suit le bloc des deux panneaux : en colonne, la
   newsletter s'intercalait entre les boutons et l'envoi. Le bloc des panneaux
   s'efface (display: contents) pour que les trois encarts se rangent
   ensemble ; ses espacements (40 px entre les encarts, 20 px en bas) passent
   en marges. Ordinateur inchangé. */
@media (max-width: 800px)
{
	.body-content:has(> .content-deliverycards-body)
	{
		display: flex;
		flex-direction: column;
		padding-bottom: 20px;
	}

	.body-content > .content-deliverycards-body
	{
		display: contents;
	}

	.body-content > .content-deliverycards-body > #left-panel
	{
		order: 1;
	}

	.body-content > .mail-block-wrapper
	{
		order: 2;
	}

	.body-content > .mail-block-wrapper--open
	{
		margin-top: 24px;
	}

	.body-content > .content-deliverycards-body > #right-panel
	{
		order: 3;
		margin-top: 40px;
	}

	/* L'encart d'envoi ouvert porte déjà 32 px de marge basse. */
	.body-content:has(> .mail-block-wrapper--open) > .content-deliverycards-body > #right-panel
	{
		margin-top: 28px;
	}
}
