




.fastcart-suppress .product-add-to-cart button[type=submit],
.fastcart-suppress .js-product-miniature button.add-to-cart,
.fastcart-suppress form[action*="controller=cart"] button[type=submit] {
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity .15s;
}



.fastcart-btn:hover  {
    background: #000;
}

.fastcart-btn[disabled],
.fastcart-btn.is-disabled {
    opacity: .5;
    cursor: not-allowed;
}

.fastcart-counter,
.fastcart-total {
    font-size: .75rem;
    font-weight: 600;
}

.fastcart-wrapper-list .fastcart-btn {
    padding: .4rem .6rem;
}

[data-cart-button].is-disabled {
    opacity: .5;
    pointer-events: none;
}




[data-cart-button].is-disabled {
    opacity: .5;
    pointer-events: none;
}

.fastcart-btn.fastcart-locked { pointer-events: none; }
.fastcart-spinner {
    display:inline-block;
    width:1.05em;
    height:1.05em;
    border:.18em solid currentColor;
    border-top-color:transparent;
    border-radius:50%;
    animation:fc-spin .65s linear infinite;
    box-sizing:border-box;
    vertical-align:middle;
}
@keyframes fc-spin { to { transform:rotate(360deg); } }
.fc-sr-only {
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0 0 0 0);
    white-space:nowrap;
    border:0;
}
.fastcart-loading { opacity:.85; }
.fastcart-added   { }
.fastcart-error   { }

/* Animation pour mettre en évidence le panier */
.blockcart.fastcart-highlight {
    /* Applique l'animation nommée 'fc-cart-pulse' sur 0.6 secondes */
    animation: fc-cart-pulse 3.6s ease-in-out;
}

 

.fastcart-wrapper {
    margin-top:28px;
    background: #f4f3f0;
    width: 100%;
    text-align: center;
}
.fastcart-btn {
    cursor: pointer;
    border: unset;
    background: unset;
    border: 0;
    font-size: 12px;
    padding: 13px 0;
    user-select: none;
    border-radius: 0;
    color:#000;
}
.fastcart-counter, .fastcart-total {
    display: none;
}
.fastcart-wrapper:hover .fastcart-btn {
    color: #FFF;
}
.fastcart-loading .fastcart-btn-label, .fastcart-added .fastcart-btn-label  {
    color: #000;
}


.fc-confirm-panel-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1050;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fc-confirm-panel-backdrop.is-visible {
    opacity: 1;
}

.fc-confirm-panel {
    position: fixed;
    background: #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.15);
    z-index: 1051;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    box-sizing: border-box;
}

/* --- Style Desktop (slide depuis la droite) --- */
@media (min-width: 992px) {
    .fc-confirm-panel {
        top: 0;
        right: 0;
        width: 25%;
        max-width: 350px;
        height: 100%;
        transform: translateX(100%);
        transition: transform 0.4s ease-out;
    }
    .fc-confirm-panel.is-visible {
        transform: translateX(0);
    }
}

/* --- Style Mobile (slide depuis le bas) --- */
@media (max-width: 991px) {
    .fc-confirm-panel {
        bottom: 0;
        left: 0;
        width: 100%;
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
        transform: translateY(100%);
        transition: transform 0.4s ease-out;
    }
    .fc-confirm-panel.is-visible {
        transform: translateY(0);
    }
}

/* --- Contenu du Panneau --- */
.fc-confirm-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}
.fc-confirm-header h3 {
    margin: 0;
    font-weight: 400;
    font-size:14px;
    text-transform: uppercase;
}
.fc-confirm-close {
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    padding: 0;
    flex:0;
}

/* Produit ajouté */
.fc-added-product {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0;
}
.fc-added-product img {
    width: 45%;
    max-width: 250px;
    height: auto;
    flex-shrink: 0;
}
.fc-added-product-info {
    text-transform: uppercase;
    font-size:12px;
}
.fc-added-product-info .name {
    font-weight: 500;
}
.fc-added-product-info .price {
    color: #000;
}
.fc-confirm-panel .product-miniature .product-description {
padding:0;
}
/* Bouton "Voir le panier" */
.fc-added-product-info {
    margin-top:0;
    margin-bottom: auto;
}
.fc-view-cart-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.75rem;
    background: #f4f3f0;
    color: #000;
    font-size: 12px;
    text-decoration: none;
    border-radius: 3px;
    margin:10px auto;
    transition: background 0.2s;
}
.fc-view-cart-btn:hover {
    background: #000;
    color:#FFF;
}

.fc-suggestions {
    margin: auto auto 0 auto;
}
/* Produits suggérés */
.fc-suggestions h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 0.7rem;
    text-transform: uppercase;
}
.fc-suggestions-grid {
    display: grid;
    gap: 1rem;
}
.fc-suggestions .cinqOct_producPriceShipping, .fc-suggestions .cinqOct_productTitle a {
    font-size: 12px;
}
/* 2 produits sur desktop */
@media (min-width: 992px) {
    .fc-suggestions-grid {
        grid-template-columns: 1fr 1fr;
    }
}
/* 3 produits sur mobile */
@media (max-width: 991px) {
    .fc-suggestions-grid {
        grid-template-columns: 1fr 1fr;
    }
    .fc-suggestions-grid .product-miniature {
        font-size: 0.8rem;
    }
}
.fc-suggestions-grid .product-miniature img {
    width: 100%;
    height: auto;
    margin-bottom: 0.5rem;
}
.fc-suggestions-grid .product-miniature .cinqOct_productTitle a {
    text-decoration: none;
    color: #222;
}
.fc-suggestions-grid .product-miniature .price {
    font-size: 0.9em;
}

/* Barre de timer sur mobile */
.fc-timer-bar {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
}