.text-foot {
    font-family: 'Poppins';
    font-weight: 400;
    font-style: Regular;
}

.noadre {
    font-family: 'Poppins';
    line-height: 20px;
}

.fontpart {
    font-family: 'Be Vietnam Pro';
    font-weight: 800;
}

.logos-grid img {
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease;
    grid-template-columns: repeat(3, 1fr);
}

.logos-grid img:hover {
    opacity: 1;
}

.logos:hover img {
    filter: grayscale(0%);
}

.textentre {
    font-weight: 700;
}

.textcate {
    font-weight: 300;
}

.textcar {

    bottom: 1.5rem;
    left: 0;
    right: 0;
    z-index: 10;
    padding-bottom: 50px !important;
    padding-left: 10rem !important;
}

.splide__pagination {
    display: flex;
    justify-content: start !important;
    gap: 0.6rem;
    position: absolute;
    bottom: 1.5rem;
    left: 0;
    right: 0;
    z-index: 10;
    padding-bottom: 50px !important;
    padding-left: 10rem !important;
}

.splide__pagination__page {
    width: 17px !important;
    height: 17px !important;
    border-radius: 9999px !important;
    background-color: transparent !important;
    opacity: 0.7;
    transition: all 0.3s ease;
    border: 4px solid white !important;
}

.textrouge:hover .textt {
    color: #D8030B;
}

.textrouge:hover .trait {
    border-color: #D8030B;
}

.splide__pagination__page.is-active,
.splide__pagination__page.custom-activee {
    background-color: #D8030B !important;
    transform: none !important;
    opacity: 1 !important;
}

.category-sidebar {
    width: 280px;
    flex-shrink: 0;
}

/* Styles pour la recherche */
.category-sidebar .search-box {
    position: relative;
    margin-bottom: 30px;
}

.category-sidebar .search-box input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border-radius: 25px;
    font-size: 14px;
}

.category-sidebar .search-box button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #1e3a5f;
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
}

/* Styles pour les widgets de la sidebar */
.category-sidebar .widget-title,
.category-sidebar h2,
.category-sidebar h3 {
    font-size: 24px;
    font-weight: 700;
    color: #000;
}

/* Styles pour le widget de catégories WooCommerce */
.category-sidebar .widget_product_categories ul,
.category-sidebar .product-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-sidebar .widget_product_categories a,
.category-sidebar .product-categories a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #666;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.category-sidebar .widget_product_categories a:hover,
.category-sidebar .product-categories a:hover,
.category-sidebar .widget_product_categories .current-cat>a,
.category-sidebar .product-categories .current-cat>a {

    color: #e74c3c;
    font-weight: 600;
}

.category-sidebar .widget_product_categories a::after,
.category-sidebar .product-categories a::after {
    content: '›';
    font-size: 20px;
    color: #999;
    margin-left: auto;
}

.category-header p {
    display: none;
}

/* Masquer le compteur de produits */
.category-sidebar .widget_product_categories .count,
.category-sidebar .product-categories .count {
    display: none;
}

/* Styles pour les sous-catégories */
.category-sidebar .widget_product_categories .children,
.category-sidebar .product-categories .children {
    margin-top: 10px;
    margin-left: 15px;
}

.category-sidebar .widget_product_categories .children a,
.category-sidebar .product-categories .children a {
    font-size: 14px;
    padding: 8px 12px;
}

/* Autres widgets de la sidebar */
.category-sidebar .widget ul {
    list-style: none;
    padding: 0;
}

.category-sidebar .widget ul li {
    padding: 0 0;
}

.category-sidebar .widget ul li:last-child {
    border-bottom: none;
}

.shop-layout {
    display: flex;
    gap: 20px;
}

.shop-main {
    flex: 3;
}

.shop-sidebar {
    flex: 1;
}

.widget_categories ul,
.widget_product_categories ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar .widget {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}

.sidebar .widget-title {
    padding: 16px 20px !important;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    border-bottom: 1px solid #e5e7eb;
}

.widget-title {
    padding: 14px 0 !important;
}

.product_type_simple {
    display: none;
}

.summary h1 {
    font-weight: 600;
}

.related h2 {
    font-weight: 600;
}

.related.products {
    background-color: white;
    border: 0 !important;
    border-radius: 0 !important;
}

.related.products .product {
    border: 0;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.category-page-container {
    display: flex;
    gap: 30px;
    max-width: 1400px;
    margin: 40px auto;
}



/* Styles pour la barre de contrôle */
.view-toggle.active {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

.view-toggle.active svg {
    color: white;
}

/* Vue grille (par défaut) 
.products-container.grid-view {
    display: grid;
}

/* Vue liste 
.products-container.list-view {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.products-container.list-view .product-item {
    display: flex;
    flex-direction: row;
}

.products-container.list-view .product-item .woocommerce-loop-product__link {
    display: flex;
    width: 100%;
    gap: 1.5rem;
}

.products-container.list-view .product-item img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    flex-shrink: 0;
}

.products-container.list-view .product-item .woocommerce-loop-product__title {
    font-size: 1.125rem;
    margin-top: 0;
}

/* Style des cartes produit en grille 
.products-container.grid-view .product-item {
    display: flex;
    flex-direction: column;
}

.product-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.product-item .woocommerce-loop-product__title {
    font-size: 0.95rem;
    color: #1e40af;
    font-weight: 500;
    margin: 0.3rem 1rem;
    line-height: 1.4;
}

.product-item .price {
    margin: 0 1rem 1rem;
    font-weight: 600;
    color: #111827;
}
.product-item li{
  padding: 0.5rem;
}
.product-item .button {
    margin: 1rem 1rem;
}

/* Catégories de produits 
.product-categories {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0.5rem 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

/* Boutons d'action (wishlist, compare) 
.product-item .tinvwl_add_to_wishlist_button,
.product-item .compare-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
    z-index: 10;
}

.product-item .compare-button {
    right: 4rem;
}

.product-item .tinvwl_add_to_wishlist_button:hover,
.product-item .compare-button:hover {
    background: #ef4444;
    color: white;
    transform: scale(1.1);
}

/* Badge "Ajouter au panier" rapide 
.product-item .added_to_cart {
    display: none;
}

/* Pagination WooCommerce 
.woocommerce-pagination {
    margin-top: 2rem;
    text-align: center;
}

.woocommerce-pagination ul {
    display: inline-flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
}

.woocommerce-pagination ul li {
    display: inline-block;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
    display: block;
    padding: 0.5rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    background: white;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s;
}

.woocommerce-pagination ul li a:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.woocommerce-pagination ul li span.current {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

/* Compteur de résultats et tri 
.woocommerce-result-count {
    font-size: 0.875rem;
    color: #6b7280;
}

.woocommerce-ordering select {
    padding: 0.5rem 2rem 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    background: white;
    color: #374151;
    font-size: 0.875rem;
    cursor: pointer;
}

.woocommerce-ordering select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}*/
.sub-cat.parent .text-hover-cat.child-2 {
    display: none;
}

.sub-cat.parent {
    position: relative;
    margin: 0px 20px;
    height: 100%;
    padding: 20px;
}

.sub-cat.parent .child-1 {
    height: 100%;

}

.sub-cat.parent:hover {
    border-radius: 16px;
    box-shadow: 0px 0px 10px 1px #0000002b;
}

.sub-cat.parent.row:hover {
    justify-content: center !important;
    align-items: center !important;
}

.sub-cat.parent:hover .child-1.row {
    justify-content: center !important;
    align-items: center !important;
}

.sub-cat.parent:hover .text-hover-cat.child-2 {
    display: block;
    position: absolute;
    height: 100%;
    width: 100%;
    border-radius: 16px;
    top: 0;
    margin: auto;
    left: 0;
    background-color: #29356e80;
}

.loader-svg {
    width: 40px;
    height: 40px;
}

a .product-title {
    font-weight: 400;
    color: #333e48;
    font-size: 1em;
    display: block;
    line-height: 1.2em;
}

@media (max-width: 768px) {
    .category-page-container {
        flex-direction: column;
    }

    .category-sidebar {
        width: 100%;
    }

    .subcategories-grid {
        grid-template-columns: 1fr;
    }

    .related.products ul.products {
        grid-template-columns: 1fr !important;
    }
}

@media only screen and (min-width:314px) and (max-width:769px) {
    .splide__pagination {
        justify-content: center !important;
        padding-left: 1rem !important;
    }

    .related.products ul.products {
        grid-template-columns: 1fr !important;
    }

    .textcar {
        justify-content: center !important;
        padding-left: 1rem !important;
    }
}

@media only screen and (min-width:770px) and (max-width:991px) {
    .splide__pagination {
        padding-left: 5rem !important;
    }

    .textcar {
        padding-left: 5rem !important;
    }

    .related.products ul.products {
        grid-template-columns: 1fr !important;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1270px) {
    .splide__pagination {
        padding-left: 10rem !important;
    }

    .textcar {
        padding-left: 1Orem !important;
    }
}