/* PAGE INDEX */
.banner-carousel .carousel-inner{
            border-radius: 16px;
            overflow: hidden;
}

/* Mobile (par défaut) */
    #bannerCarousel .carousel-inner {
        height: 20vh;
    }
    #bannerCarousel .banner-click {
        height: 20vh;
    }

    /* Tablette / écran moyen */
    @media (min-width: 768px) {
        #bannerCarousel .carousel-inner {
            height: 30vh;
        }
        #bannerCarousel .banner-click {
            height: 30vh;
        }
    }

    /* Desktop */
    @media (min-width: 1200px) {
        #bannerCarousel .carousel-inner {
            height: 40vh;
        }
        #bannerCarousel .banner-click {
            height: 40vh;
        }
    }
    #bannerCarousel .carousel-item {
        height: 100%;
    }
    
    
    #bannerCarousel img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }


/* Hauteur stable et responsive : ne casse pas le layout */
.banner-carousel .banner-slide{
    height: clamp(180px, 22vw, 360px);
    background: #f1f3f5; /* fallback propre */
}

/* L'image remplit sans déformer */
.banner-carousel .banner-img{
    width: 100%;
    height: 100%;
    object-fit: cover;       /* crop propre */
    object-position: center; /* centré */
    display: block;
}

/* Caption lisible */
.banner-carousel .carousel-caption{
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem;
    text-align: left;
}

.banner-carousel .banner-caption-box{
    display: inline-block;
    padding: .75rem 1rem;
    border-radius: 14px;
    background: rgba(0,0,0,.35);
    backdrop-filter: blur(6px);
    color: #fff;
    max-width: 80%;
}



 .b-example-divider {
    width: 100%;
    height: 3rem;
    background-color: #0000001a;
    border: solid rgba(0,0,0,.15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em #0000001a, inset 0 .125em .5em #00000026;
}
.product-card {
    border-radius: 16px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
}
.product-image-wrapper {
    padding: 20px;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}
.product-image {
    max-height: 200px;
    object-fit: contain;
    transition: transform .3s ease;
}
.product-card:hover .product-image {
    transform: scale(1.05);
}

/* AUTRE */


    /* .nav-link.active,
.navbar-nav .nav-link.active {
    background-color: <?=$COULEUR?> !important;
    color: #fff !important;
    border-radius: 999px;
} */
.navbar .nav-link.active {
    background: rgba(255,255,255,0.2);
    border-radius: 50px;
    padding: 6px 14px;
}
    .navbar .nav-link {
    padding: 6px 14px;
}

    .navbar .nav-link:hover {
    color: rgba(248, 230, 230, 1) !important;
}

/* MON COMPTE */


 .account-card {
    border-radius: 16px;
}
.reservation-card {
    border-radius: 16px;
    transition: transform .2s ease;
}
.reservation-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}
.ticket-card {
    border-radius: 16px;
    transition: transform .2s ease;
}
.ticket-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

/* PAGE MAGASIN */


@media (max-width: 768px) {
    iframe {
        height: 250px;
    }
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    
}
.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
}


.horaires-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .4rem 1rem;
    font-size: 0.95rem;
}
.horaires-compact strong {
    color: #198754;
}


.info-card {
    border-radius: 16px;
}

.gallery img {
    border-radius: 16px;
    transition: transform .3s ease;
}

.gallery img:hover {
    transform: scale(1.03);
}

/* MON MAGASIN */

.login-card {
    border-radius: 16px;
    max-width: 420px;
}

/* Panier */




.checkout-header {
    background: #fff;
    border-bottom: 1px solid #e8e3dc;
    padding: 26px 0;
}

.checkout-logo-title {
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .02em;
    margin: 0;
    color: var(--checkout-main-color, #111);
}

.checkout-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 42px 22px 70px;
}

.checkout-section {
    margin-bottom: 34px;
}

.checkout-title {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.checkout-login-link,
.checkout-connected {
    color: var(--checkout-main-color, #111);
    font-size: 13px;
    font-weight: 700;
}

.checkout-login-link {
    text-decoration: underline;
}

.checkout-input {
    width: 100%;
    height: 54px;
    border: 1px solid #ddd8d1;
    border-radius: 10px;
    background: #fff;
    padding: 0 14px;
    font-size: 14px;
    outline: none;
}

.checkout-input:focus {
    border-color: var(--checkout-main-color, #111);
    box-shadow: 0 0 0 1px var(--checkout-main-color, #111);
}

.checkout-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    cursor: pointer;
}

.checkout-check input {
    width: 17px;
    height: 17px;
    margin-top: 1px;
}

.delivery-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #f3f1ee;
    border-radius: 10px;
    padding: 4px;
    gap: 4px;
}

.delivery-tab {
    height: 52px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    color: #111;
}

.delivery-tab input {
    display: none;
}

.delivery-tab.active {
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.12);
}

.pickup-box {
    border: 1px solid #ddd8d1;
    border-radius: 10px;
    background: #fff;
    padding: 18px;
}

.payment-methods {
    border: 1px solid #d9d4cd;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.payment-method {
    height: 58px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ece8e2;
    cursor: pointer;
    background: #fff;
    transition: .15s;
}

.payment-method:last-child {
    border-bottom: 0;
}

.payment-method.active {
    background: #faf8f6;
    box-shadow: inset 0 0 0 1px #111;
}

.payment-method input {
    display: none;
}

.payment-method-left {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 14px;
    font-weight: 600;
}

.payment-method img {
    height: 18px;
    width: auto;
    object-fit: contain;
}

.payment-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.payment-icons img {
    height: 20px;
}

.radio-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid #cfc7bf;
    position: relative;
    flex-shrink: 0;
}

.radio-dot.active {
    border-color: #111;
}

.radio-dot.active:after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #111;
    position: absolute;
    top: 3px;
    left: 3px;
}

.checkout-btn-main {
    width: 100%;
    height: 56px;
    border-radius: 10px;
    border: 0;
    background: var(--checkout-main-color, #111);
    color: #fff;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.checkout-btn-main:hover {
    background: var(--checkout-main-hover, #222);
    color: #fff;
}

/* FIX CHECKOUT SUMMARY */

.shopify-cart-wrapper {
    min-height: 100vh;
    /* background: #f5f5f3 !important; */
}

.summary-card {
    position: sticky;
    top: 26px;
    min-width: 0;
}

.summary-product-row {
    display: flex !important;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    margin-bottom: 22px;
}

.summary-img-wrap {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    flex: 0 0 64px !important;
    border: 1px solid #d8d8d8;
    border-radius: 9px;
    background: #fff;
    position: relative;
    overflow: visible;
}

.summary-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    max-width: 64px !important;
    max-height: 64px !important;
    object-fit: contain !important;
    display: block;
    border-radius: 9px;
}

.summary-product-name {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 14px;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.summary-product-price {
    flex: 0 0 90px;
    text-align: right;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.summary-img-wrap span {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #111;
    color: #fff;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}


.summary-promo .badge,
.summary-promo .badge-promo {
    font-size: 11px;
    border-radius: 999px;
}

.summary-saving {
    margin-top: 5px;
    color: #555;
    font-size: 12px;
    font-weight: 600;
}

.summary-saving i {
    margin-right: 4px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 14px;
    margin-bottom: 12px;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #dedbd6;
    font-size: 18px;
    font-weight: 800;
}

.summary-total strong {
    font-size: 24px;
}

.cart-qty-actions {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.cart-qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid #ddd8d1;
    border-radius: 8px;
    background: #fff;
    color: #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: .15s;
}

.cart-qty-btn:hover {
    background: #f5f3ef;
}

.cart-qty-btn:disabled,
.cart-qty-btn.disabled {
    opacity: .4;
    cursor: not-allowed;
    background: #e9ecef;
    color: #999;
    border-color: #dee2e6;
}

.cart-qty-value {
    min-width: 26px;
    height: 28px;
    padding: 0 8px;
    border-radius: 8px;
    background: #f3f1ee;
    color: #111;
    font-size: 13px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cart-remove-btn {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    color: #999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.cart-remove-btn:hover {
    color: #dc3545;
    background: #fff1f1;
}

.empty-cart-box {
    max-width: 520px;
    margin: 80px auto;
    background: #fff;
    border: 1px solid #e5dfd7;
    border-radius: 18px;
    padding: 60px 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,.04);
}

.empty-cart-box i {
    font-size: 70px !important;
    color: var(--checkout-main-color, #111) !important;
}

.empty-cart-box h4 {
    font-size: 28px;
    margin-top: 20px;
}

.empty-cart-box p {
    font-size: 15px;
    color: #777 !important;
}

footer {
    background: #fff !important;
    border-top: 1px solid #e5dfd7;
    padding: 24px 0 !important;
    margin-top: 0 !important;
    font-size: 13px;
    color: #777;
}

footer a {
    color: #555 !important;
    text-decoration: none;
}

footer a:hover {
    color: #111 !important;
    text-decoration: underline;
}

@media (max-width: 991px) {
    .shopify-cart-wrapper {
        background: #f5f5f3;
    }

    .checkout-header {
        padding: 18px 0;
        text-align: center;
    }

    .checkout-logo-title {
        font-size: 24px;
    }

    .checkout-container {
        padding: 24px 12px 60px;
    }

    .summary-card {
        position: static;
        padding-left: 0;
        margin-top: 35px;
        padding-top: 26px;
        border-top: 1px solid #dedbd6;
    }

    .checkout-title {
        font-size: 20px;
    }

    .shopify-cart-wrapper .row {
        flex-direction: column-reverse;
    }

    .delivery-tab {
        height: 48px;
    }

    .empty-cart-box {
        margin: 30px auto;
        padding: 40px 24px;
        border-radius: 14px;
    }

    .empty-cart-box h4 {
        font-size: 24px;
    }
}

/* Reset PASSWORD & sign & forgot PASSWORD*/

.login-card {
    border-radius: 16px;
    max-width: 420px;
}


/* header */

.header-social-menu a {
    color: #fff;
    font-size: 1.25rem;
    opacity: .85;
    transition: opacity .2s ease, transform .2s ease;
}

.header-social-menu a:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.menu-separator {
    width: 1px;
    height: 26px;
    background: rgba(255,255,255,.35);
}
