/* Theme base */
:root {
    --vs-theme-color1: #003d8f;
    --vs-theme-color1-rgb: 112, 22, 126;
    --vs-theme-color2: #62b4e4;
    --vs-theme-color2-rgb: 209, 129, 9;
    --vs-theme-color3: #a60c56;
    --vs-theme-color4: #4f830e;
    --vs-theme-color5: #f8931f;
    --vs-theme-color6: #F6F1E4;
    --vs-theme-color7: #FFEFE4;
    --vs-theme-color8: #FFEFE4;
    --vs-title-color: #25283e;
    --vs-title-color-rgb: 37, 40, 62;
    --vs-text-color: #e1e1e1;
    --vs-body-color: #5b5a7b;
    --vs-body-color-rgb: 91, 90, 123;
    --vs-smoke-color: #eff1f5;
    --vs-black-color: #000000;
    --vs-white-color: #ffffff;
    --vs-white-color-rgb: 255, 255, 255;
    --vs-yellow-color: #fec624;
    --vs-success-color: #28a745;
    --vs-error-color: #dc3545;
    --vs-border-color: #e0e0e0;
    --vs-title-font: "Baloo 2", sans-serif;
    --vs-body-font: "Roboto", sans-serif;
    --vs-special-font: "Amatic SC", sans-serif;
    --vs-icon-font: "Font Awesome 6 Pro";
    --vs-main-container: 1220px;
    --vs-container-gutters: 30px;
    --vs-section-space: 60px;
    --vs-section-space-mobile: 80px;
    --vs-section-title-space: 80px;
    --ripple-ani-duration: 5s;
}

/*--- AVERTISSEMENT---*/
.accueil-billetterie .vs-title div.split-line:last-child {
    padding: 30px;
    border-radius: 20px;
    font-weight: 200;
    font-size: 20px;
    /* color: #fff !important; */
}

.accueil-billetterie .vs-title div.split-line h5 > div:first-child {
    color: #fff !important;
    font-size: 33px;
}

#carteCadeauContainer {
    /*display: none;*/
}

.btn-loader {
    width: 24px;
    height: 24px;
    display: block;
    margin: 0 auto;
    vertical-align: middle;
}


/*  Menu  */

.vs-header__top {
    background-color: var(--vs-theme-color1);
    padding: 9px 0;
    position: fixed;
    width: 100%;
    z-index: 10000;
}

.breadcrumb-wrapper {
    top: 60px;
}

.main-menu > ul > li > a {
    color: var(--vs-black-color) !important;
}

.main-menu > ul > li > a:hover, .main-menu > ul > li > a.active {
    color: var(--vs-theme-color2) !important;
}

.vs-header__info-middle i {
    color: var(--vs-white-color);
}

.vs-btn__border {
    border: none;
}

.mobile-arrow {
    font-size: 14px;
    transition: transform 0.25s ease;
}

.mobile-arrow.rotate {
    transform: rotate(180deg);
}

.mobile-submenu-toggle {
    align-items: center;
    justify-content: center;
    background: none !important;
    border: none !important;
    padding: 8px;
    margin: 0;
    color: var(--vs-theme-color1);
    box-shadow: none !important;
}

.sticky-wrapper .fal.fa-bars {
    font-size: 30px;
    font-weight: 900;
    padding: 6px 12px;
}

.main-menu a {
    display: inline-block !important;
}

.sticky-wrapper {
    position: relative;
    top: 68px;
}

.dt-sc-tooltip-top b {
    font-size: 18px;
}

.main {
    margin-top: 60px;
}

@media (max-width: 767px) {
    .sticky-wrapper {
        top: 175px !important;
        margin-bottom: 5px !important;
    }

    .vs-header__logo > a.vs-svg-assets {
        display: none !important;
    }
}

/* -------global--------- */

.vs-service--tab__title--main {
    font-size: 3em;
    margin-bottom: 0.5em;
}

.vs-btn,
.shop-add-btn.vs-btn,
.bju-open-modal.vs-btn {
    border-radius: 50px;
}

.vs-header__action .nav-link, .vs-btn-mobile .nav-link, .downloadBillet, .seeUserCmdDetails, .downloadAllBilletsZip, #forgotPswForm .btn {
    border-radius: 8px;
    background: linear-gradient(135deg, var(--vs-theme-color1), var(--vs-theme-color2));
    color: #fff;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.downloadFacture {
    border-radius: 8px;
    background: linear-gradient(135deg, var(--vs-theme-color2), var(--vs-theme-color1));
    color: #fff;
    padding: 10px 15px;
    transition: all 0.3s ease;
}


/* --- pour boutons formulaire ---*/
.vs-btn.style10 {
    border: 3px solid #62b4e4;
    background-color: #fff;
    padding: 8px 20px;
    text-transform: initial;
    font-size: 17px;
    letter-spacing: 0;
    font-weight: 500;
    color: #333;
}

.vs-btn.style10::after, .vs-btn.style10::before {
    width: 100%;
    height: 100%;
    content: "";
    margin: auto;
    position: absolute;
    top: 0%;
    left: 0%;
    background: var(--vs-theme-color6);
    transition: all ease 0.5s;
    z-index: -1;
    border-radius: inherit;
    color: #000;
}

.vs-btn.style10:hover {
    color: var(--vs-black-color);
}

.form-check-input {
    border: var(--bs-border-width) solid #1a334c !important;
}


/* -------Page accueil billetterie -----------*/

.anchor-link {
    display: inline-flex;
    width: auto;
    padding: 10px 25px 10px 25px;
    height: auto;
    border-radius: 50px;
    border: 0;
    background-color: var(--vs-theme-color2);
    color: var(--vs-title-color);
    text-align: center;
    line-height: 35px;
    font-weight: 700;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    box-shadow: 0px 0px 5px #D9D9D9;
    margin: 0 5px;
    transition: all ease 0.4s;
}

.vs-shop__img {
    min-height: unset;
}

.billets-journee .col-lg-4.col-md-6 {
    display: flex;
}

.billets-journee .vs-shop {
    display: flex;
    flex-direction: column;
}

.billets-journee .product-about__actions {
    margin-top: auto;
}

/* -------- bloc accueil-billetterie */

.accueil-billetterie .filter-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
}

.accueil-billetterie .filter-buttons a.button {
    width: 145px;
    height: 50px;
    border-radius: 50px;
    border: 0;
    background-color: var(--vs-white-color);
    color: var(--vs-title-color);
    text-transform: capitalize;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0px 0px 5px #D9D9D9;
    margin: 0 5px;
    transition: all ease 0.4s;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.accueil-billetterie .filter-buttons a.button:hover, .accueil-billetterie .filter-buttons a.button:active {
    background-color: var(--vs-theme-color2);
    color: var(--vs-white-color);
}

@media (max-width: 767px) {
    #pass-saison .pass-bloc {
        display: block !important;
    }
}

/* -------- bloc billets journée */

.billets-journee form.cart input[type="button"] {
    padding: 0;
    border: 2px solid var(--vs-theme-color2);
    background-color: #fff;
    border-radius: 5px;
}

/* -------- bloc billets malin */
.billets-malin .product-price {
    color: var(--vs-theme-color1);
    margin-bottom: 0;
}

.billets-malin .product-price strong {
    font-weight: bolder;
    color: var(--vs-theme-color2);
    padding-left: 10px;
}

.billets-malin .product-desc {
    padding-top: 20px;
}


/* -------- bloc pass saison */

#pass-saison .quantity-container, .billets-journee .quantity-container {
    border: none;
}

#pass-saison .product-about__actions .qty-input {
    border: none;
    -moz-appearance: textfield;
    /* -webkit-appearance: none; */
}

#pass-saison .qty-btn, .billets-journee .qty-btn {
    padding: 0 !important;
    border: 2px solid var(--vs-theme-color2) !important;
    background-color: #fff !important;
    border-radius: 5px;
    width: 40px;
    height: 40px;
    min-height: 40px !important;
}

#panier .qty-btn {
    padding: 0 !important;
    border: 2px solid var(--vs-theme-color2) !important;
    background-color: #fff !important;
    border-radius: 5px;
    text-align: center;
}

#pass-saison .pass-bloc {
    display: flex;
    flex-direction: row;
}

#pass-saison .product-about__actions {
    flex: 0 0 50%;
    align-self: end;
    justify-content: center;
}

@media (max-width: 767px) {
    .cart_table td {
        padding: 5px;
        display: table-cell;
        width: 100%;
        border: none;
        line-height: 1.2;
    }
}


/* -------- bloc carte cadeau */

#cartes-cadeaux h5 {
    font-size: 20px;
    background-color: #e1f0f9;
    padding-left: 14px;
    line-height: 32px;
    padding-top: 2px;
    font-weight: 700;
    border-radius: 5px;
}

#giftCardsAccordion p:last-child {
    justify-content: space-evenly;
    display: flex;
    align-items: center;
}

#collapse1 .accordion-body i {
    font-size: 14px;
}

#collapse1 .accordion-body p:first-child {
    color: #b85151;
    font-size: 12px;
    font-style: italic;
}

.bouton-prix-style.active {
    color: white;
    background-color: #003d8f;
}

/* -------- bloc avantage séjours */

#avantages-sejours .bg-title {
    padding: 30px 0;
}

#avantages-sejours .feedback-block__icon--quote img {
    width: 45px;
}

.feedback-block__rating .fa-solid.fa-star {
    color: #e4b762;
}

.feedback-block__icon--quote {
    border: none;
}


/* /////////////  à supprimer jusqu'à ici */
.vs-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    text-transform: uppercase;
    text-align: center;
    background-color: var(--vs-theme-color2);
    color: var(--vs-white-color);
    font-family: var(--vs-title-font);
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    padding: 18.5px 36px;
    z-index: 1;
    overflow: hidden;
    letter-spacing: 0.5px;
    border-radius: 50px;
    /* Medium devices */
}

.vs-btn::after, .vs-btn::before {
    width: 100%;
    height: 100%;
    content: "";
    margin: auto;
    position: absolute;
    top: 0%;
    left: 0%;
    background: var(--vs-theme-color1);
    transition: all ease 0.5s;
    z-index: -1;
    border-radius: inherit;
}

.vs-btn:before {
    transform: rotateX(90deg);
}

.vs-btn:after {
    transform: rotateY(90deg);
}

.vs-btn:hover {
    color: var(--vs-white-color);
}

.vs-btn:hover:before {
    transform: rotateX(0);
}

.vs-btn:hover:after {
    transform: rotateY(0);
}

/* à supprimer jusqu'à ici ///////////// */


/* -------footer---------*/
.vs-footer.bg-title {
    padding-top: 3em;
    border-top: 1px solid var(--vs-theme-color6);
}

.vs-footer .icon-call__icon,
.vs-footer .social-style a {
    border: none;
}

.vs-footer .vs-btn {
    padding: 7px 20px 5px;
    font-size: 16px;
    font-weight: 600;
}

.vs-footer__ele1 {
    left: 25%;
}

/* formulaires accueil  */
form.cart .quantity.buttons_added {
    margin: 10px 0px 12px;
    display: inline-block;
    width: 100%;
    float: left;
}

form.cart input[type="button"] {
    padding: 11px 15px;
    width: 40px;
    height: 40px;
    font-weight: bold;
    font-size: 15px;
    float: left;
}

form.cart input[type="number"] {
    display: inline-block;
    width: 55px;
    height: 40px;
    text-align: center;
    color: #333334;
    border: 0px;
    margin: 0px 0px 0px;
    padding: 0px;
    float: left;
    -moz-appearance: textfield;
    /* -webkit-appearance: none;*/
}

/* pour le display mon compte */
.vs-header__info-middle:hover .class_hours {
    display: block !important;
    background-color: #fff;
    z-index: 999;
    border-top: 9px solid var(--vs-theme-color1);
}
#cmdDetailsTbls {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}
/* mon compte reponsive */
/* -------------------------------------------------------------------------
   1. Tables that already have Bootstrap's .table-responsive wrapper
      (getCmdTable, getClientCmdTable, getCmdDetails product table, etc.)
   ------------------------------------------------------------------------- */
.table-responsive {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    position: relative;
}

/* Nicer scrollbar (WebKit browsers) */
.table-responsive::-webkit-scrollbar {
    height: 8px;
}
.table-responsive::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, .25);
    border-radius: 4px;
}
.table-responsive::-webkit-scrollbar-track {
    background: transparent;
}

/* Subtle left/right shadow so users can see there is more content to scroll.
   Adjust the two solid colors below if your background isn't white. */
.table-responsive {
    background:
            linear-gradient(to right, #fff 30%, rgba(255, 255, 255, 0)),
            linear-gradient(to right, rgba(255, 255, 255, 0), #fff 70%) 0 100%,
            radial-gradient(farthest-side at 0 50%, rgba(0, 0, 0, .15), rgba(0, 0, 0, 0)),
            radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, .15), rgba(0, 0, 0, 0)) 0 100%;
    background-repeat: no-repeat;
    background-color: #fff;
    background-size: 40px 100%, 40px 100%, 14px 100%, 14px 100%;
    background-position: 0 0, 100% 0, 0 0, 100%;
    background-attachment: local, local, scroll, scroll;
}

/* -------------------------------------------------------------------------
   2. Tables WITHOUT a .table-responsive wrapper
      (getClientCmdDetails: produit table, billets table, carte-cadeau
      table — all loaded inside #cmdDetailsTbls)

      Trick: make the <table> itself the scroll container, but force its
      children back to their normal table display values so columns still
      line up correctly.
   ------------------------------------------------------------------------- */
#cmdDetailsTbls > table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
}
#cmdDetailsTbls > table thead { display: table-header-group; }
#cmdDetailsTbls > table tbody { display: table-row-group; }
#cmdDetailsTbls > table tr    { display: table-row; }
#cmdDetailsTbls > table td,
#cmdDetailsTbls > table th    { display: table-cell; }

/* Same scrollbar/shadow treatment for consistency */
#cmdDetailsTbls > table {
    scrollbar-width: thin;
}
#cmdDetailsTbls > table::-webkit-scrollbar { height: 8px; }
#cmdDetailsTbls > table::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, .25);
    border-radius: 4px;
}

/* -------------------------------------------------------------------------
   3. Mobile tuning — smaller padding/font so more columns fit before
      scrolling kicks in, and action buttons don't wrap awkwardly.
   ------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
    .table-responsive table,
    #cmdDetailsTbls > table {
        font-size: 0.85rem;
    }

    .table-responsive table td,
    .table-responsive table th,
    #cmdDetailsTbls > table td,
    #cmdDetailsTbls > table th {
        padding: .5rem .6rem;
        white-space: nowrap;
    }

    /* Prevent action-button groups from breaking layout inside a cell */
    .table-responsive table td .btn,
    #cmdDetailsTbls > table td .btn,
    .table-responsive table td .dt-sc-button,
    #cmdDetailsTbls > table td .dt-sc-button {
        margin-bottom: .25rem;
        white-space: nowrap;
    }
}

/* -------------------------------------------------------------------------
   4. Optional: keep the first column (N°, order id) visible while
      scrolling horizontally on mobile. Remove this block if you don't
      want a sticky column.
   ------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
    .table-responsive table th:first-child,
    .table-responsive table td:first-child,
    #cmdDetailsTbls > table th:first-child,
    #cmdDetailsTbls > table td:first-child {
        position: sticky;
        left: 0;
        background: #fff;
        z-index: 1;
        box-shadow: 2px 0 4px rgba(0, 0, 0, .06);
    }
}


/* Pour modal bju et bs */
.class_hours li {
    list-style: none;
    padding: 3px 0;
}

.class_hours li a {
    border: 0;
    width: 100%;
    display: block;
    padding: 5px;
    text-align: left;
    color: inherit;
    text-decoration: none;
    font-weight: 500;
}

.class_hours li a:hover {
    background: #f5f5f5;
}

.bs-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.bs-modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bs-modal__panel {
    position: relative;
    max-width: 820px;
    width: 95vw;
    margin: 4vh auto;
    border-radius: 16px;
    padding: 28px 32px 24px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
    overflow-y: auto;
    max-height: 90%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.bs-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #f3f3f3;
    font-size: 22px;
    line-height: 34px;
    cursor: pointer;
}

.vs-dashboard-extra-div {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    margin: 30px auto;
    width: 98%;
}

/* Billets pdf  */
.rotated {
    margin-top: 0;
    margin-left: 80px;
    width: 100%;
    rotate: 90deg;
    text-align: right;
}

/* ============================================================
*  BJU – Calendrier front billetterie
*  À ajouter dans le fichier de style général du site
* ============================================================ */

/* ── Modal ── */

.bju-open-modal {
    position: relative;
    min-width: 120px;
    min-height: 36px;
    transition: opacity .15s;
}

.bju-open-modal.bju-btn-loading {
    pointer-events: none;
    opacity: .7;
}

.bju-btn-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255, 255, 255, .35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: bjuSpin .6s linear infinite;
    vertical-align: middle;
}

@keyframes bjuSpin {
    to {
        transform: rotate(360deg);
    }
}

.bju-modal__panel {
    position: relative;
    max-width: 820px;
    width: 95vw;
    margin: 4vh auto;
    border-radius: 16px;
    padding: 28px 32px 24px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
    overflow-y: auto;
    max-height: 90%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.bju-modal__grid {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.bju-modal__left {
    flex: 1 1 420px;
    min-width: 0;
}

.bju-modal__right {
    flex: 0 0 240px;
}

@media (max-width: 700px) {
    .bju-modal__grid {
        flex-direction: column;
    }

    .bju-modal__right {
        flex: none;
        width: 100%;
    }
}

.bju-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 18px;
    padding: 0;
}

/* ── Calendrier ── */

.bju-cal {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8eaed;
    overflow: hidden;
    user-select: none;
}

.bju-cal__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: #fafbfc;
    border-bottom: 1px solid #e8eaed;
}

.bju-cal__month {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a1a2e;
    text-transform: capitalize;
}

.bju-cal__arrow {
    width: 36px;
    height: 36px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #374151;
    transition: all .15s;
}

.bju-cal__arrow:hover:not(:disabled) {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.bju-cal__arrow:disabled {
    opacity: .3;
    cursor: default;
}

/* ── En-tête jours ── */

.bju-cal__head {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    padding: 10px 12px 6px;
    gap: 2px;
}

.bju-cal__head span {
    font-size: .75rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: lowercase;
}

/* ── Grille jours ── */

.bju-cal__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 4px 12px 14px;
    gap: 4px;
}

.bju-cal__day {
    position: relative;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: .9rem;
    font-weight: 500;
    color: #9ca3af;
    cursor: default;
    transition: all .15s;
    border: 2px solid transparent;
}

/* ── États des jours ── */

.bju-cal__day--empty {
    visibility: hidden;
}

.bju-cal__day--closed {
    color: #c4c8ce;
    background: #f5f5f7;
}

.bju-cal__day--open {
    color: #1a1a2e;
    background: #e8f4fd;
    cursor: pointer;
    font-weight: 600;
}

.bju-cal__day--open:hover {
    background: #cce5ff;
    border-color: #90c2ff;
}

.bju-cal__day--selected {
    color: #fff !important;
    background: #2563eb !important;
    border-color: #2563eb !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, .35);
}

.bju-cal__day--soldout {
    color: #c4c8ce;
    background: #f5f5f7;
    cursor: default;
}

.bju-cal__day--soldout::after {
    content: "";
    position: absolute;
    inset: 25%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='2.5' stroke-linecap='round'%3E%3Cline x1='4' y1='4' x2='20' y2='20'/%3E%3Cline x1='20' y1='4' x2='4' y2='20'/%3E%3C/svg%3E") center / contain no-repeat;
}

.bju-cal__day--today {
    box-shadow: inset 0 0 0 2px #d1d5db;
}

.bju-cal__day--loading {
    animation: bjuPulse 1s ease-in-out infinite;
}

@keyframes bjuPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: .4;
    }
}

/* ── Légende ── */

.bju-cal__legend {
    display: flex;
    gap: 16px;
    padding: 10px 16px 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.bju-cal__legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .72rem;
    color: #6b7280;
}

.bju-cal__legend-box {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    flex-shrink: 0;
}

.bju-cal__legend--available {
    background: #e8f4fd;
    border: 1px solid #90c2ff;
}

.bju-cal__legend--closed {
    background: #f5f5f7;
    border: 1px solid #e0e0e0;
}

.bju-cal__legend--soldout {
    background: #f5f5f7;
    border: 1px solid #e0e0e0;
    position: relative;
}

.bju-cal__legend--soldout::after {
    content: "";
    position: absolute;
    inset: 3px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='3' stroke-linecap='round'%3E%3Cline x1='4' y1='4' x2='20' y2='20'/%3E%3Cline x1='20' y1='4' x2='4' y2='20'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ── Placeholder (chargement) ── */

.bju-cal__placeholder {
    padding: 24px 16px;
    text-align: center;
    color: #9ca3af;
    font-size: .88rem;
}

/* ── Bloc tarifs ── */

.bju-block {
    margin-top: 16px;
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: 12px;
    overflow: hidden;
}

.bju-prices-header {
    background: #f8fafc;
    padding: 12px 16px;
    border-bottom: 1px solid #e8eaed;
    font-size: .9rem;
    font-weight: 600;
    color: #1a1a2e;
}

.bju-prices {
    padding: 8px 16px 12px;
}

.bju-price-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f1f3f5;
}

.bju-price-row:last-child {
    border-bottom: none;
}

.bju-price-row__label {
    font-weight: 600;
    font-size: .92rem;
    color: #1a1a2e;
}

.bju-price-row__price {
    font-size: .82rem;
    color: #6b7280;
    margin-top: 1px;
}

/* ── Sélecteur quantité ── */

.bju-qty {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
}

.bju-qty button {
    width: 34px;
    height: 34px;
    border: none;
    background: #f9fafb;
    cursor: pointer;
    font-size: 1.1rem;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .1s;
}

.bju-qty button:hover {
    background: #e5e7eb;
}

.bju-qty button:active {
    background: #d1d5db;
}

.bju-qty input {
    width: 38px;
    height: 34px;
    text-align: center;
    border: none;
    border-left: 1px solid #d1d5db;
    border-right: 1px solid #d1d5db;
    font-size: .92rem;
    font-weight: 600;
    color: #1a1a2e;
    background: #fff;
    -moz-appearance: textfield;
}

.bju-qty input::-webkit-outer-spin-button,
.bju-qty input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ── Résumé panier ── */

.bju-summary {
    background: #f8fafc;
    border: 1px solid #e8eaed;
    border-radius: 12px;
    padding: 18px 16px;
}

.bju-summary__title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8eaed;
}

.bju-summary__date {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .88rem;
    color: #4b5563;
    margin-bottom: 12px;
}

.bju-summary__date strong {
    color: #1a1a2e;
}

.bju-summary__lines {
    margin-bottom: 14px;
}

.bju-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 0;
    border-bottom: 1px solid #edf0f3;
}

.bju-line:last-child {
    border-bottom: none;
}

.bju-line__left {
    flex: 1;
}

.bju-line__title {
    font-size: .85rem;
    font-weight: 600;
    color: #1a1a2e;
}

.bju-line__meta {
    font-size: .78rem;
    color: #6b7280;
}

.bju-line__remove {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 2px 4px;
    transition: color .15s;
}

.bju-line__remove:hover {
    color: #ef4444;
}

.bju-summary__total {
    display: flex;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 2px solid #1a1a2e;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
}

/* ── Checkout ── */
@media (max-width: 767px) {
    tfoot.checkout-ordertable th {
        display: table-cell !important;
    }
}

/* ── Bouton ajouter au panier ── */

#bjuAddToCart {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-size: .95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all .2s;
    background: #16a34a;
    color: #fff;
}

#bjuAddToCart:disabled {
    background: #d1d5db;
    color: #9ca3af;
    cursor: not-allowed;
}

#bjuAddToCart:not(:disabled):hover {
    background: #15803d;
    box-shadow: 0 2px 8px rgba(22, 163, 74, .3);
}

/* ── Erreur ── */

.bju-front-error {
    padding: 12px;
    text-align: center;
    color: #dc2626;
    font-size: .88rem;
}

#bju-toast-wrap {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: min(420px, calc(100vw - 32px));
    pointer-events: none;
}

@media (max-width: 640px) {
    #bju-toast-wrap {
        left: 16px;
        right: 16px;
        bottom: auto;
        top: 16px;
        max-width: unset;
    }
}

.bju-toast {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 12px;
    border-radius: 14px;
    background: rgba(18, 18, 18, .92);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .25);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease;
}

.bju-toast.is-show {
    opacity: 1;
    transform: translateY(0);
}

.bju-toast__icon {
    width: 26px;
    height: 26px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    margin-top: 1px;
    background: rgba(255, 255, 255, .10);
}

.bju-toast__body {
    flex: 1 1 auto;
    min-width: 0;
}

.bju-toast__title {
    margin: 0 0 2px 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.bju-toast__msg {
    margin: 0;
    font-size: 13px;
    line-height: 1.25;
    opacity: .92;
    word-break: break-word;
}

.bju-toast__close {
    all: unset;
    cursor: pointer;
    padding: 6px;
    margin: -4px -4px 0 0;
    border-radius: 10px;
    opacity: .8;
}

.bju-toast__close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, .10);
}

/* Types */
.bju-toast--success .bju-toast__icon {
    background: rgba(46, 204, 113, .18);
}

.bju-toast--info .bju-toast__icon {
    background: rgba(52, 152, 219, .18);
}

.bju-toast--warn .bju-toast__icon {
    background: rgba(241, 196, 15, .18);
}

.bju-toast--error .bju-toast__icon {
    background: rgba(231, 76, 60, .18);
}

@media (prefers-reduced-motion: reduce) {
    .bju-toast {
        transition: none;
    }
}

.d-flex {
    display: flex;
    flex-wrap: wrap !important;
    align-content: center !important;
}

.flex-row {
    flex-direction: row !important;
    justify-content: start !important;
    gap: 1rem;
}

.justify-between {
    justify-content: space-between !important;
}

.bju-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.bju-modal.is-open {
    display: flex;
}

.bju-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
}

.bju-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #f3f3f3;
    font-size: 22px;
    line-height: 34px;
    cursor: pointer;
}

.bsimple-open-modal {
    cursor: pointer;
}

.bs-modal__overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* authentification */
.personal-info-toggle {
    padding: 20px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: #f8f9fa;
}

.personal-info-toggle h4 {
    margin: 0;
}

.personal-info-toggle p {
    color: #6c757d;
    font-size: 0.95rem;
}

/* ── Erreur ── */

.bju-front-error {
    padding: 12px;
    text-align: center;
    color: #dc2626;
    font-size: .88rem;
}

#bju-toast-wrap {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: min(420px, calc(100vw - 32px));
    pointer-events: none;
}

@media (max-width: 640px) {
    #bju-toast-wrap {
        left: 16px;
        right: 16px;
        bottom: auto;
        top: 16px;
        max-width: unset;
    }
}

.bju-toast {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 12px;
    border-radius: 14px;
    background: rgba(0, 61, 143, .92);
    color: #fff;
    border: 1px solid rgba(5, 78, 177, 0.93);
    box-shadow: 0 10px 28px rgba(2, 26, 59, 0.91);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease;
}

.bju-toast.is-show {
    opacity: 1;
    transform: translateY(0);
}

.bju-toast__icon {
    width: 26px;
    height: 26px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    margin-top: 1px;
    background: rgba(255, 255, 255, .10);
}

.bju-toast__body {
    flex: 1 1 auto;
    min-width: 0;
}

.bju-toast__title {
    margin: 0 0 2px 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

.bju-toast__msg {
    margin: 0;
    font-size: 13px;
    line-height: 1.25;
    opacity: .92;
    word-break: break-word;
    color: #fff;
}

.bju-toast__close {
    all: unset;
    cursor: pointer;
    padding: 6px;
    margin: -4px -4px 0 0;
    border-radius: 10px;
    opacity: .8;
}

.bju-toast__close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, .10);
}

.bju-btn-spinner, .bs-btn-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255, 255, 255, .35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: bjuSpin .6s linear infinite;
    vertical-align: middle;
}

.bju-open-modal.bju-btn-loading, .bs-open-modal.bs-btn-loading {
    pointer-events: none;
    opacity: .7;
}

/* Édition des catégories BJU dans le panier uniquement. */
#panierTable .bju-cart-count { display: block; font-weight: 700; }
#panierTable .bju-cart-edit { display: block; margin: 8px auto 0; padding: 6px 10px; border: 1px solid #003d8f; border-radius: 6px; color: #003d8f; background: #fff; font: inherit; font-size: 13px; line-height: 1.4; cursor: pointer; }
#panierTable .bju-cart-editor-row > td { padding: 16px; text-align: left; }
#panierTable .bju-cart-editor { width: 100%; min-width: 0; padding: 18px; border: 1px solid #b7c9e5; border-radius: 10px; background: #f5f8fc; color: #172a46; box-sizing: border-box; }
#panierTable .bju-cart-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
#panierTable .bju-cart-category { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; border: 1px solid #d5dfed; border-radius: 8px; background: white; min-width: 0; }
#panierTable .bju-cart-label { min-width: 0; overflow-wrap: anywhere; }
#panierTable .bju-cart-label label { margin: 0; color: #172a46; font-weight: 700; }
#panierTable .bju-cart-label small { display: block; font-size: 12px; line-height: 1.5; }
#panierTable .bju-cart-quantity-control { display: flex; align-items: center; flex-shrink: 0; }
#panierTable .bju-cart-quantity { width: 62px; height: 40px; padding: 4px; margin: 0; text-align: center; border: 1px solid #b7c9e5; border-radius: 0; color: #172a46; background: #fff; }
#panierTable .bju-cart-quantity { -moz-appearance: textfield; appearance: textfield; }
#panierTable .bju-cart-quantity::-webkit-inner-spin-button,
#panierTable .bju-cart-quantity::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
#panierTable .bju-cart-step { width: 32px; height: 40px; padding: 0; border: 1px solid #b7c9e5; background: #edf3fb; color: #003d8f; font-size: 20px; cursor: pointer; }
#panierTable .bju-cart-message { margin: 0 0 12px; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
#panierTable .bju-cart-message:empty { display: none; }
#panierTable .bju-cart-message.is-error { color: #a31f2a; font-weight: 600; }
#panierTable .bju-cart-selection { margin: 16px 0; font-weight: 700; }
#panierTable .bju-cart-actions { display: flex; flex-wrap: wrap; gap: 10px; }
#panierTable .bju-cart-save, #panierTable .bju-cart-cancel { padding: 10px 16px; border: 1px solid #003d8f; border-radius: 6px; font: inherit; line-height: 1.4; cursor: pointer; }
#panierTable .bju-cart-save { background: #003d8f; color: #fff; }
#panierTable .bju-cart-cancel { background: #fff; color: #003d8f; }
#panierTable .bju-cart-editor button:disabled, #panierTable .bju-cart-edit:disabled { opacity: .5; cursor: wait; }
#panierTable .bju-cart-editor :focus-visible, #panierTable .bju-cart-edit:focus-visible { outline: 2px solid #003d8f; outline-offset: 3px; }
@media (max-width: 767px) {
    #panierTable .bju-cart-editor-row { display: table-row; }
    #panierTable .bju-cart-editor-row > td { display: table-cell; width: auto; padding: 8px; }
    #panierTable .bju-cart-editor-row > td::before { display: none; }
    #panierTable .bju-cart-editor { padding: 12px; max-width: calc(100vw - 48px); }
    #panierTable .bju-cart-fields { grid-template-columns: minmax(0, 1fr); }
    #panierTable .bju-cart-category { flex-wrap: wrap; }
}

/* Types */
.bju-toast--success .bju-toast__icon {
    background: rgba(46, 204, 113, .18);
}

.bju-toast--info .bju-toast__icon {
    background: rgba(52, 152, 219, .18);
}

.bju-toast--warn .bju-toast__icon {
    background: rgba(241, 196, 15, .18);
}

.bju-toast--error .bju-toast__icon {
    background: rgba(231, 76, 60, .18);
}

@media (prefers-reduced-motion: reduce) {
    .bju-toast {
        transition: none;
    }
}
/* =========================================================================
   Mobile top bar — Account + Cart (with LIVE dynamic cart) on mobile,
   matching the desktop version, styled for touch + your color palette.

   CSS ONLY — no HTML or JS changes needed.

   Why not just duplicate the block into the offcanvas menu?
   Because the cart preview only works thanks to id="recapPanier" being
   UNIQUE on the page — some script elsewhere does $('#recapPanier').html(...)
   to inject live cart contents. Duplicating that id into the offcanvas
   would mean the update script only ever refreshes the FIRST match in the
   DOM (the desktop one), leaving a second copy permanently empty.

   So instead: the single existing .panier-web block (account + cart,
   already wired to your JS) gets unhidden on mobile/tablet too, right in
   the top bar — exactly like you already did for the phone/calendar info
   column. The static duplicate account/cart links inside the offcanvas
   menu are hidden since they're now redundant.

   Load this AFTER Bootstrap's CSS and your custom CSS.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Unhide the desktop Account/Cart column on mobile & tablet
   ------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .vs-header__top .panier-web.d-none.d-lg-block {
        display: block !important;
    }

    /* Row now holds: [phone/calendar info]  [account/cart icons] —
       stack them centered instead of Bootstrap's justify-content-between,
       which would push account/cart hard to the edge on narrow screens */
    .vs-header__top .row.gy-1 {
        justify-content: center !important;
        row-gap: 8px;
    }

    .vs-header__top .panier-web .d-flex {
        justify-content: center;
        gap: 1.75rem !important;
    }

    /* Small visual separation from the info line above it */
    .vs-header__top .panier-web {
        padding-top: 4px;
        border-top: 1px solid rgba(255, 255, 255, .15);
        margin-top: 4px;
    }

    /* Comfortable 44px+ touch targets, matches your theme's white icon color */
    .vs-header__top .vs-header__info-middle > a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
    }

    .vs-header__top .vs-header__info-middle i {
        font-size: 1.35em;
    }
}

/* -------------------------------------------------------------------------
   2. Touch-friendly dropdown open/close.
      Your base CSS opens .class_hours on :hover, which doesn't fire
      reliably on touch. :focus-within is the CSS-only equivalent — a tap
      focuses the trigger <a>, which is the normal touch behavior.
   ------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .vs-header__top .vs-header__info-middle:focus-within .class_hours {
        display: block !important;
    }
}

/* -------------------------------------------------------------------------
   3. Style the dropdown panels (.class_hours / #recapPanier) for mobile:
      centered, width clamped to the viewport, themed like the rest of
      your site (theme-color1 accent border, matches .bju-modal__panel /
      #cmdDetailsTbls treatment already in your stylesheet).
   ------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
    .vs-header__top .class_hours {
        position: fixed !important;
        top: 100px;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%);
        width: calc(100vw - 32px) !important;
        max-width: 340px;
        max-height: 70vh;
        overflow-y: auto;
        border-radius: 12px;
        border-top: 4px solid var(--vs-theme-color1) !important;
        box-shadow: 0 12px 32px rgba(0, 0, 0, .25);
        z-index: 10020;
    }
}

/* On slightly larger phones/small tablets keep the original relative
   positioning but still clamp width so it never overflows the screen */
@media (min-width: 768px) and (max-width: 991.98px) {
    .vs-header__top .class_hours {
        width: 280px !important;
        max-width: 90vw;
    }
}

/* -------------------------------------------------------------------------
   4. Hide the now-redundant static Account / Panier links inside the
      offcanvas menu — the live versions in the top bar replace them.
      The ticket/billet link (no .mobile-action-link class) stays untouched.
   ------------------------------------------------------------------------- */
#mobileMenu .mobile-menu-actions .mobile-action-link {
    display: none;
}

#mobileMenu .mobile-menu-actions .vs-btn-mobile:has(.mobile-action-link) {
    display: none;
}

/* -------------------------------------------------------------------------
   5. The top bar is now two rows tall on mobile (info + account/cart).
      Keep your existing offsets (.sticky-wrapper top: 110px,
      .breadcrumb-wrapper, .main margin-top) in sync with its real height.
      Adjust the 100px value below to match what you measure on a real
      device/DevTools — it depends on font sizes actually rendered.
   ------------------------------------------------------------------------- */
@media (max-width: 767px) {
    .main {

    }

    .breadcrumb-wrapper {
        top: 175px;
    }
    .vs-dashboard {
        margin-top: 175px;
    }
}

/* Bouton eclairci pendant le paiement */
#btnOrderWithCarteCadeauBtn.is-loading,
.is-loading {
    background-color: #d6ecf8 !important; /* version claire de rgb(98,180,228) */
    cursor: wait;
    opacity: 1; /* au cas ou :disabled baisse l'opacite */
}
