input {
    border-radius: 0!important;
}
/* css search menu */
.menu-search-wrapper {
    white-space: nowrap;
}

.menu-search-wrapper form.search-form {
    width: 0;
    max-width: 240px;
    overflow: hidden;
    transition: width 0.3s ease;
}

.menu-search-wrapper .input-group input {
    font-size: 0.9rem;
}



/* badge cart navigation */
.cart-badge {
    background-color: red;
    color: white;
    width: 20px;
    min-width: 20px;
    height: 20px;
    line-height: 20px;
    font-size: 11px;
    text-align: center;
    border-radius: 50%;
    margin-left: 5px;
    display: inline-block;
    transform: translate(-10px, -10px);
}

/* 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;*/
/*}*/
#marquee-merch-content {
    overflow: hidden;
    width: 100%;
}

.galerie-defilante {
    overflow: hidden;
    width: 100%;
}

.merch-track {
    display: flex;
    width: max-content;
    animation: scroll-merch 80s linear infinite;
}

.merch-group {
    display: flex;
    flex-shrink: 0;
}

.merch-group figure {
    flex-shrink: 0;
    margin: 0 10px;
    position: relative;
}

.galerie-defilante:hover .merch-track {
    animation-play-state: paused;
}

@keyframes scroll-merch {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

