:host {
--enviso-primary-color: #C00E0E;
--enviso-secondary-color: #1E2A5A;
font-family: light, sans-serif;
/* pas de "color" ici : sinon les icônes (enviso-icon) perdent leur couleur héritée */
}
/* Titre d'offre : redondant avec .dialog-title de la popup sur l'étape « Tickets » */
.enviso-ticket-widget-offer-name {
display: flex;
align-items: center;
gap: 10px;
margin: 0 0 14px;
font-family: medium, sans-serif;
font-size: 21px;
line-height: 1.2;
color: #1E2A5A;
}
.enviso-ticket-widget-offer-name:has(+ enviso-ticket-flow) > span { display: none; }
/* Boutons « Infos » et « Mes billets » : pastilles blanches avec picto + libellé
(le bouton « Panier » est réglé dans enviso-basket-button, plus bas) */
.enviso-ticket-widget-offer-name > enviso-button,
.internal-enviso-guest-button {
box-sizing: border-box;
width: auto;
min-width: 0;
max-width: none;
height: 38px;
min-height: 38px;
padding: 0;
font-size: 14px;
border-radius: 999px;
background: #fff;
border: 1px solid #E6E1DA;
color: #1E2A5A;
transition: border-color .2s, color .2s;
}
.enviso-ticket-widget-offer-name > enviso-button:hover,
.internal-enviso-guest-button:hover { border-color: #C00E0E; color: #C00E0E; }
.internal-enviso-guest-button { margin-right: 0; }
#enviso-basket-button { font-size: 1em; margin-right: 8px; }
/* Lien retour « Continuer les achats / Planifiez votre visite » */
.enviso-ticket-widget-offer-back-link {
margin-bottom: 10px;
font-family: medium, sans-serif;
font-size: 14px;
color: #1E2A5A;
}
.enviso-basket-button-wrapper > enviso-button {
box-sizing: border-box;
width: auto;
min-width: 0;
max-width: none;
height: 38px;
min-height: 38px;
padding: 0;
font-size: 14px;
border-radius: 999px;
background: #fff;
border: 1px solid #E6E1DA;
color: #1E2A5A;
transition: border-color .2s, color .2s;
}
.enviso-basket-button-wrapper > enviso-button:hover { border-color: #C00E0E; color: #C00E0E; }
/* Place réservée à droite du libellé quand le panier contient des articles */
.enviso-basket-button-wrapper:has(.enviso-basket-button-items-amount) > enviso-button { padding-right: 26px; }
.enviso-basket-button-items-amount {
top: 50%;
right: 10px;
transform: translateY(-50%);
box-sizing: border-box;
min-width: 18px;
height: 18px;
padding: 0 5px;
line-height: 18px;
border: 0;
background: #C00E0E;
font-family: medium, sans-serif;
font-size: 11px;
}
:host { font-family: medium, sans-serif; font-weight: 400; }
:host([primary]),
:host(.btnNext),
:host(.enviso-btnNext) {
height: auto;
min-height: 46px;
border-radius: 999px;
background-color: #C00E0E;
color: #fff;
transition: background-color .2s;
}
:host([primary]:hover) { background-color: #9E0B0B; }
:host([primary]) .enviso-btn { padding: 15px 20px; font-size: 15px; }
:host([primary][outline]) {
background-color: #fff;
border: 2px solid #C00E0E;
color: #C00E0E;
}
:host([primary][disabled]) { background-color: #ECEAE6; color: #8A8FA3; }
:host([icon-only][primary]),
:host([icon-only][secondary]) { border-radius: 50%; }
:host(.focus) { outline: 3px solid #1E2A5A; outline-offset: 2px; }
/* La police « medium » du thème place les capitales ~2 px trop haut :
on redescend le libellé pour le centrer en hauteur dans le bouton */
.enviso-btn:not(.icon-only) .btn-contents { position: relative; top: 2px; }
/* Tous les boutons « icône seule » : icône centrée dans le rond */
:host([icon-only]) .enviso-btn {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
line-height: 1;
}
:host([icon-only]) enviso-icon {
display: flex;
align-items: center;
justify-content: center;
width: auto;
height: auto;
line-height: 1;
}
/* − / + uniquement : icône redescendue (métrique de la police d'icônes) et en gras */
:host([icon-name="plus"]) .enviso-btn,
:host([icon-name="minus"]) .enviso-btn { padding-top: 7px; }
:host([icon-name="plus"]) enviso-icon,
:host([icon-name="minus"]) enviso-icon {
font-size: 16px;
-webkit-text-stroke: 1.2px currentColor; /* épaissit le trait de l'icône */
}
/* Boutons icône seuls (− / + / poubelle…) : l'icône prend la couleur du bouton */
:host([icon-only]) { display: inline-flex; align-items: center; justify-content: center; }
:host([icon-only]) .enviso-btn { color: inherit; background: transparent; }
:host([name="info-squared"]) {
--vul-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5M12 8h.01'/%3E%3C/svg%3E");
}
:host([name="shopping-cart"]),
:host([name="shopping-cart-loaded"]) { /* panier vide / panier rempli */
--vul-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='20' r='1.5'/%3E%3Ccircle cx='18' cy='20' r='1.5'/%3E%3Cpath d='M2.5 3h2.2l2.6 12.2a1.5 1.5 0 0 0 1.5 1.2h9.1a1.5 1.5 0 0 0 1.5-1.1L21.5 7H6'/%3E%3C/svg%3E");
}
:host([name="date-to"]) {
--vul-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z'/%3E%3Cpath d='M13 5v2M13 17v2M13 11v2'/%3E%3C/svg%3E");
}
:host([name="info-squared"]),
:host([name="shopping-cart"]),
:host([name="shopping-cart-loaded"]),
:host([name="date-to"]) {
display: inline-flex;
align-items: center;
justify-content: center;
width: 18px;
height: 18px;
flex: 0 0 18px;
}
:host([name="info-squared"]) i,
:host([name="shopping-cart"]) i,
:host([name="shopping-cart-loaded"]) i,
:host([name="date-to"]) i { display: none; }
:host([name="info-squared"])::before,
:host([name="shopping-cart"])::before,
:host([name="shopping-cart-loaded"])::before,
:host([name="date-to"])::before {
content: "";
width: 18px;
height: 18px;
background-color: currentColor;
-webkit-mask: var(--vul-ico) center / contain no-repeat;
mask: var(--vul-ico) center / contain no-repeat;
}
:host([icon-name="info-squared"]) .enviso-btn,
:host([icon-name="date-to"]) .enviso-btn,
:host([icon-only][title]:not([icon-name])) .enviso-btn { /* = bouton Panier */
gap: 7px;
padding: 0 14px;
white-space: nowrap;
}
:host([icon-name="info-squared"]) .btn-contents,
:host([icon-name="date-to"]) .btn-contents,
:host([icon-only][title]:not([icon-name])) .btn-contents {
position: relative;
top: 2px; /* centre les capitales de la police « medium » */
width: auto;
height: auto;
margin: 0;
padding: 0;
overflow: visible;
clip: auto;
clip-path: none;
font-size: 0; /* masque le libellé long d'Enviso… */
}
:host([icon-name="info-squared"]) .btn-contents::after,
:host([icon-name="date-to"]) .btn-contents::after,
:host([icon-only][title]:not([icon-name])) .btn-contents::after {
font-family: medium, sans-serif;
font-size: 14px; /* …et le remplace par un libellé court */
line-height: 1;
}
:host([icon-name="info-squared"]) .btn-contents::after { content: "Infos"; }
:host([icon-name="date-to"]) .btn-contents::after { content: "Mes billets"; }
:host([icon-only][title]:not([icon-name])) .btn-contents::after { content: "Panier"; }
/* Version anglaise (html lang="en-…") */
:host(:lang(en)[icon-name="info-squared"]) .btn-contents::after { content: "Info"; }
:host(:lang(en)[icon-name="date-to"]) .btn-contents::after { content: "My tickets"; }
:host(:lang(en)[icon-only][title]:not([icon-name])) .btn-contents::after { content: "Basket"; }
/* Voile + centrage horizontal dans la fenêtre du navigateur */
.enviso-dialog-backdrop-fullpage {
display: flex;
align-items: flex-start;
justify-content: center;
box-sizing: border-box;
padding: 6vh 16px;
background: rgba(7, 13, 32, .6);
}
/* Même largeur et mêmes arrondis que la popup billetterie */
.enviso-dialog-box,
.enviso-dialog-backdrop-fullpage > .enviso-dialog-box {
width: 100%;
max-width: 510px;
margin: 0 auto;
border-radius: 24px;
overflow: hidden;
box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.enviso-dialog-picture { height: 14em; border-radius: 0; }
.enviso-dialog-content { padding: 22px 28px 28px; font-size: 15px; line-height: 1.5; color: #3C4257; }
.enviso-header-info { margin-bottom: 14px; }
.enviso-title {
display: flex;
align-items: center;
gap: 10px;
font-family: medium, sans-serif;
font-size: 21px;
color: #1E2A5A;
}
.enviso-title::before {
content: "";
width: 5px;
height: 22px;
border-radius: 3px;
background: #C00E0E;
}
.enviso-description { font-style: italic; font-size: 14px; color: #8A8FA3; }
/* La carte = l'élément lui-même (remplace le fond gris + bordure verte d'origine) */
:host {
box-sizing: border-box;
margin: 0 0 10px;
padding: 0;
border: 1px solid #E6E1DA;
border-radius: 12px;
background: #fff;
color: #3C4257;
}
.enviso-ticket-item-wrapper {
box-sizing: border-box;
position: relative;
align-items: center;
gap: 12px;
min-height: 0;
padding: 14px 14px 14px 18px;
}
/* Liseré rouge à gauche */
.enviso-ticket-item-wrapper::before {
content: "";
flex: 0 0 4px;
align-self: stretch;
min-height: 36px;
border-radius: 2px;
background: #C00E0E;
}
.enviso-info { flex: 1; padding: 0; }
.enviso-name { font-family: medium, sans-serif; font-weight: 400; font-size: 16px; line-height: 1.3; color: #1E2A5A; }
.enviso-description { font-size: 13px; color: #8A8FA3; }
.enviso-price { margin-top: 4px; }
.enviso-price-full { min-width: 0; font-family: medium, sans-serif; font-weight: 400; font-size: 18px; color: #C00E0E; }
.enviso-amount { display: flex; align-items: center; border: 0; }
.enviso-nud { width: auto; height: auto; }
:host,
:host([layout=horizontal]) { width: auto; }
.enviso-nud-wrapper,
.enviso-nud-wrapper.vertical,
.enviso-nud-wrapper.horizontal,
:host([layout=horizontal]) .enviso-nud-wrapper.bordered {
flex-direction: row;
align-items: center;
gap: 4px;
height: auto;
padding: 4px;
border: 0;
border-radius: 999px;
background: #F6F4F1;
}
enviso-button {
flex: 0 0 32px;
width: 32px;
height: 32px;
min-height: 32px;
border-radius: 50%;
font-size: 1em;
display: flex;
align-items: center;
justify-content: center;
background: #fff;
border: 1px solid #E6E1DA;
color: #1E2A5A;
}
enviso-button:last-child { background: #C00E0E; border-color: #C00E0E; color: #fff; }
enviso-button[disabled] { opacity: .35; }
#enviso-value,
:host([layout=horizontal]) #enviso-value,
.enviso-nud-wrapper.bordered #enviso-value {
width: 26px;
padding: 0;
border: 0 !important; /* retire les traits noirs du mode « bordered » */
padding-top: 3px !important; /* centre le chiffre en hauteur (métrique de la police) */
font-family: medium, sans-serif;
font-size: 16px;
color: #1E2A5A;
}
/* Le contenu de l'étape « Tickets » prend toute la largeur de la popup (sinon ≈ 75 %) */
enviso-ticket-selection-step { display: block; width: 100%; }
.enviso-ticket-flow-bottom-buttons {
display: flex;
justify-content: flex-end;
align-items: center;
gap: 12px;
margin-top: 18px;
}
.enviso-steps-header-wrapper { gap: 8px; }
.enviso-steps-header-label {
font-family: medium, sans-serif;
font-size: 13px;
text-transform: none !important;
letter-spacing: 0;
color: #8A8FA3;
}
.enviso-steps-header.active .enviso-steps-header-label { color: #1E2A5A; }
.enviso-steps-header-progress { height: 4px; border-radius: 2px; background: #E6E1DA; }
.enviso-steps-header-progress-bar { height: 4px; border-radius: 2px; background: #C00E0E; }
.enviso-basket-header {
display: flex;
align-items: center;
gap: 10px;
font-family: medium, sans-serif;
font-size: 21px;
color: #1E2A5A;
}
.enviso-basket-header::before {
content: "";
width: 5px;
height: 22px;
border-radius: 3px;
background: #C00E0E;
}
.enviso-basket-header-description { font-style: italic; font-size: 14px; color: #8A8FA3; }
/* « Passer commande » en double en haut : masqué (reste en bas) */
.enviso-header-actions { display: none; }
/* Code promo puis total, l'un sous l'autre */
.enviso-basket-footer {
display: flex;
flex-direction: column;
align-items: stretch;
gap: 14px;
margin-top: 12px;
padding: 0;
background: transparent;
}
.enviso-basket-discount-panel,
.enviso-basket-total-amounts { width: 100%; max-width: none; }
.enviso-basket-total-amount { display: flex; justify-content: space-between; align-items: baseline; }
.enviso-basket-total-amount .enviso-label { font-family: medium, sans-serif; font-size: 16px; color: #3C4257; }
.enviso-basket-total-amount .enviso-price { font-family: medium, sans-serif; font-size: 21px; color: #1E2A5A; }
.enviso-basket-item {
display: block;
overflow: hidden;
margin-bottom: 12px;
border: 1px solid #E6E1DA;
border-radius: 14px;
background: #fff;
}
.enviso-basket-item-description {
display: flex;
align-items: center;
gap: 14px;
padding: 14px;
background: #fff;
border-bottom: 1px solid #E6E1DA;
}
.enviso-offer-image-box,
.enviso-basket-offer-image { width: 64px; height: 64px; border-radius: 10px; background-size: cover; }
.enviso-offer-description-box { flex: 1; }
.enviso-basket-offer-description-amount { display: block; font-family: medium, sans-serif; font-size: 17px; color: #1E2A5A; }
.enviso-basket-item-description-extra { font-size: 13px; color: #8A8FA3; }
/* Poubelle et croix : ronds de 34 px, même style que les autres pictos */
.enviso-basket-item-remove enviso-button,
.enviso-product-basket-item-remove enviso-button {
box-sizing: border-box;
width: 34px;
height: 34px;
min-width: 34px;
min-height: 34px;
font-size: 16px;
border-radius: 50%;
background: #fff;
border: 1px solid #E6E1DA;
color: #1E2A5A;
transition: border-color .2s, color .2s;
}
.enviso-basket-item-remove enviso-button:hover,
.enviso-product-basket-item-remove enviso-button:hover { border-color: #C00E0E; color: #C00E0E; }
.enviso-basket-item-entry {
display: flex;
align-items: center;
gap: 14px;
margin: 0;
padding: 14px 14px 14px 30px;
position: relative;
border: 0;
}
.enviso-basket-item-entry::before {
content: "";
position: absolute;
left: 14px;
top: 50%;
width: 4px;
height: 36px;
border-radius: 2px;
background: #C00E0E;
transform: translateY(-50%);
}
.enviso-basket-item-entry-description { flex: 1; }
.enviso-basket-item-entry-description-name { font-family: medium, sans-serif; font-size: 15px; color: #1E2A5A; }
.enviso-basket-item-entry-price-subtotal { font-family: medium, sans-serif; font-size: 16px; color: #C00E0E; }
.enviso-discount-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px 16px;
border: 1px dashed #CFC9C0;
border-radius: 14px;
background: #fff;
cursor: pointer;
}
.enviso-discount-text { font-family: medium, sans-serif; font-size: 14px; color: #1E2A5A; }
/* Champ du code + bouton « Appliquer » */
.enviso-discount-open { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.enviso-discount-open > * { margin-top: 0; }
.enviso-discount-open > input {
flex: 1;
min-width: 0;
max-width: none;
margin: 0;
box-sizing: border-box;
padding: 13px 16px 11px;
border: 1.5px solid #CFC9C0;
border-radius: 12px;
background: #fff;
font-family: light, sans-serif;
font-size: 15px;
color: #1E2A5A;
transition: border-color .2s, box-shadow .2s;
}
.enviso-discount-open > input:focus { outline: 0; border-color: #C00E0E; box-shadow: 0 0 0 3px #FBEAE8; }
.enviso-discount-apply-btn { flex: 0 0 auto; height: auto; font-size: 1em; }
.enviso-discount-error { color: #C00E0E; font-size: 13px; }
.enviso-basket-bottom-buttons {
display: flex;
justify-content: flex-end;
align-items: center;
gap: 12px;
margin-top: 18px;
}
.enviso-basket-header {
display: flex;
align-items: center;
gap: 10px;
font-family: medium, sans-serif;
font-size: 21px;
color: #1E2A5A;
}
.enviso-basket-header::before {
content: "";
width: 5px;
height: 22px;
border-radius: 3px;
background: #C00E0E;
}
.enviso-basket-header-description { font-style: italic; font-size: 14px; color: #8A8FA3; }
.enviso-dynamic-fields { display: flex; flex-direction: column; gap: 0; }
:host { display: block; width: 100%; max-width: none; }
.enviso-select-label {
margin-bottom: 6px;
font-family: medium, sans-serif;
font-weight: 400;
font-size: 14px;
color: #1E2A5A;
}
.enviso-select-info { margin-bottom: 8px; font-family: light, sans-serif; font-size: 13px; line-height: 1.4; color: #8A8FA3; }
.enviso-select-box-wrapper { padding-bottom: 12px; }
.enviso-select-value {
box-sizing: border-box;
width: 100%;
max-width: none;
padding: 14px 44px 12px 16px;
border: 1.5px solid #CFC9C0;
border-radius: 12px;
background-color: #fff;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E2A5A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
background-position: right 16px center;
background-size: 18px;
font-family: light, sans-serif;
font-size: 15px;
color: #1E2A5A;
transition: border-color .2s, box-shadow .2s;
}
.enviso-select-value:focus { outline: 0; border-color: #C00E0E; box-shadow: 0 0 0 3px #FBEAE8; }
.enviso-select-error-message p { font-size: 13px; color: #C00E0E; }
.enviso-manage-order-guest__title {
margin: 0 0 8px;
font-family: medium, sans-serif;
font-size: 28px;
font-weight: 400;
color: #C00E0E;
}
.enviso-manage-order-guest__description { margin: 0 0 20px; font-size: 15px; line-height: 1.5; color: #3C4257; }
.enviso-manage-order-guest__form { display: flex; flex-direction: column; gap: 18px; }
.enviso-manage-order-guest__form enviso-textbox { display: block; width: 100%; max-width: none; }
.enviso-manage-order-guest__submit { width: 100%; max-width: none; }
/* Le bouton reste grisé (variante disabled) tant que les champs sont vides */
:host { display: block; width: 100%; max-width: none; }
.enviso-txt-wrapper { width: 100%; }
.enviso-txt-label { display: block; margin-bottom: 8px; font-family: medium, sans-serif; font-size: 14px; color: #1E2A5A; }
.enviso-txt-value {
box-sizing: border-box;
width: 100%;
padding: 14px 16px;
border: 1.5px solid #CFC9C0;
border-radius: 12px;
background: #fff;
font-family: light, sans-serif;
font-size: 15px;
color: #1E2A5A;
transition: border-color .2s, box-shadow .2s;
}
.enviso-txt-value:focus { outline: 0; border-color: #C00E0E; box-shadow: 0 0 0 3px #FBEAE8; }
.enviso-txt-error-message { margin-top: 6px; font-size: 13px; color: #C00E0E; }