/* Barre sticky produit WooCommerce */
.wc-sticky-product-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    border-top: 1px solid #e0e0e0;
}

.wc-sticky-product-bar.visible {
    transform: translateY(0);
}

.wc-sticky-bar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    max-width: 100%;
    gap: 16px;
}

.wc-sticky-bar-image {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    background: #f5f5f5;
}

.wc-sticky-bar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wc-sticky-bar-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wc-sticky-bar-title {
    font-size: 16px;
    font-weight: 500;
    color: #333333;
    margin: 0;
.wc-sticky-bar-title .wc-sticky-bar-stock-label {
    font-weight: 700;
    color: #c0392b;
    margin-left: 6px;
    text-transform: uppercase;
}

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wc-sticky-bar-price {
    font-size: 18px;
    font-weight: 600;
    color: #333333;
}

.wc-sticky-bar-price .woocommerce-Price-amount {
    color: #333333;
}

.wc-sticky-bar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.wc-sticky-bar-add-to-cart,
.wc-sticky-bar-buy-now {
    background: #FF825F !important;
    color: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    padding: 10px 16px !important;
    border-radius: 4px;
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.wc-sticky-bar-add-to-cart:hover {
    background: rgb(82,57,67) !important;
    border-color: #333333 !important;
    color: #333333 !important;
}

.wc-sticky-bar-buy-now {
    background: transparent !important;
    color: #000000 !important;
    border-color: #2c2c2c !important;
}

.wc-sticky-bar-buy-now:hover {
    background: rgb(82,57,67) !important;
    border-color: #1a1a1a !important;
    color: #ffffff !important;
}

.wc-sticky-bar-add-to-cart:disabled,
.wc-sticky-bar-buy-now:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.wc-sticky-bar-unavailable {
    color: #999999;
    font-size: 13px;
}

.wc-sticky-bar-out-of-stock {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.wc-sticky-bar-out-of-stock-text {
    background-color: #FF6B35;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.wc-sticky-bar-notify-button {
    background: #FF6B35 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 10px 16px !important;
    border-radius: 4px !important;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.wc-sticky-bar-notify-button:hover {
    background: #e55a2b !important;
    color: #ffffff !important;
}

.wc-sticky-bar-notify-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.wc-sticky-bar-notify-button svg {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    flex-shrink: 0;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .wc-sticky-bar-container {
        padding: 10px 16px;
        gap: 12px;
    }
    
    .wc-sticky-bar-image {
        width: 50px;
        height: 50px;
    }
    
    .wc-sticky-bar-title {
        font-size: 14px;
    }
    
    .wc-sticky-bar-price {
        font-size: 16px;
    }
    
    .wc-sticky-bar-add-to-cart,
    .wc-sticky-bar-buy-now {
        padding: 8px 12px !important;
        font-size: 11px;
    }
}

/* Masquer la barre sur très petits écrans si nécessaire */
@media (max-width: 480px) {
    .wc-sticky-bar-info {
        display: none;
    }
    
    .wc-sticky-bar-container {
        justify-content: center;
    }
}

