
/* css search menu */
.menu-search-wrapper {
    white-space: nowrap;
}
.menu-search-wrapper .input-group input {
    font-size: 0.9rem;
}
.is-invalid {
    border-color: #dc3545;
    background-color: #fff5f5;
}





/* archive-product.php */
.shop-layout {
    display: flex;
    gap: 40px;
}
.shop-sidebar {
    width: 300px;
    background: #fef1ec;
    padding: 20px;
}
.shop-products {
    flex-grow: 1;
}
.shop-sidebar h3 {
    font-size: 1rem;
    font-weight: bold;
    margin: 20px 0 10px;
}
.facetwp-facet {
    margin-bottom: 20px;
}

/*  single-product.php */
/* Forcer les miniatures en ligne horizontale */
.woocommerce-product-gallery .flex-control-thumbs {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    gap: 10px;
    margin-top: 1rem;
    padding-left: 0;
    list-style: none;
}

/* Miniatures sans numérotation */
.woocommerce-product-gallery__trigger{
    display: none !important;
}
.woocommerce-product-gallery .flex-control-thumbs li {
    float: none !important;
    list-style: none !important;
    width: auto !important;
    display: inline-block !important;
}

/* Supprimer les marqueurs ou numéros */
.woocommerce-product-gallery .flex-control-thumbs li::marker,
.woocommerce-product-gallery .flex-control-thumbs li::before {
    display: none !important;
    content: none !important;
}
.woocommerce-product-gallery .flex-control-thumbs img {
    max-width: 80px;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
}
/* Réinitialise et replace le badge promo */
.onsale {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 20;
    background: #e63946!important;
    color: white;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Conteneur nécessaire pour positionnement relatif */
.woocommerce-product-gallery {
    position: relative;
}

/* page de paienment générée auto par wooCommerce */
/*.wc-block-components-checkout-place-order-button {*/
/*    background-color: #0d6efd; !* Bootstrap primary *!*/
/*    color: white;*/
/*    border: none;*/
/*    font-size: 1.125rem;*/
/*    padding: 0.75rem 1.25rem;*/
/*    width: 100%;*/
/*    text-align: center;*/
/*    border-radius: 0.375rem;*/
/*}*/

/*.wc-block-components-checkout-place-order-button:hover {*/
/*    background-color: #0b5ed7;*/
/*}*/

