/*
Theme Name: Beloni Child
Theme URI: http://www.wpbingosite.com/beloni
Author: wpbingo
Description: This is a child theme for Beloni
Version: 1.0
Author URI: http://wpbingosite.com
Template: beloni
Text Domain: beloni-child
*/

/*************** ADD YOUR CUSTOM CSS HERE ***************/


/**
 * Nasconde il breadcrumb del tema
 * nelle categorie che utilizzano Slider Revolution.
 */
body.tax-product_cat.term-bocce #bwp-main > div[data-bg_default],
body.tax-product_cat.term-basket #bwp-main > div[data-bg_default],
body.tax-product_cat.term-calcio #bwp-main > div[data-bg_default],
body.tax-product_cat.term-ginnastica #bwp-main > div[data-bg_default],
body.tax-product_cat.term-pesca #bwp-main > div[data-bg_default],
body.tax-product_cat.term-running #bwp-main > div[data-bg_default],
body.tax-product_cat.term-team-uniform #bwp-main > div[data-bg_default],
body.tax-product_cat.term-tennistavolo #bwp-main > div[data-bg_default],
body.tax-product_cat.term-tiro-con-larco #bwp-main > div[data-bg_default],
body.tax-product_cat.term-volley #bwp-main > div[data-bg_default] {
    display: none !important;
}


/**
 * Spazio sotto gli slider delle categorie.
 */
.tss-shop-category-slider {
    width: 100%;
    clear: both;
    margin-bottom: 50px !important;
    position: relative;
    z-index: 1;
}


/**
 * Elimina la scritta "Shop" sopra il titolo pagina.
 */
.bwp-main .page-title .back-to-shop.active,
.bwp-main .page-title .back-to-shop {
    display: none !important;
}


/**
 * TEAMWEAR MADRE
 * Mostra soltanto le categorie sportive selezionate.
 */
body.term-239 .slick-track .product-category:not([data-id_category="181"]):not([data-id_category="158"]):not([data-id_category="184"]):not([data-id_category="174"]):not([data-id_category="199"]):not([data-id_category="156"]):not([data-id_category="151"]):not([data-id_category="149"]):not([data-id_category="346"]) {
    display: none !important;
}



/**
 * SOTTOCATEGORIE SHOP ONLINE
 * Mostra soltanto il banner:
 * niente titolo, breadcrumb e categorie circolari.
 */
body:is(
    .term-222,
    .term-232,
    .term-228,
    .term-223,
    .term-233,
    .term-236
) .page-title .content-title-heading,

body:is(
    .term-222,
    .term-232,
    .term-228,
    .term-223,
    .term-233,
    .term-236
) .page-title .breadcrumb,

body:is(
    .term-222,
    .term-232,
    .term-228,
    .term-223,
    .term-233,
    .term-236
) .page-title .woocommerce-product-subcategorie-content {
    display: none !important;
}


/**
 * Banner responsive sottocategorie Shop Online.
 */
body:is(
    .term-222,
    .term-232,
    .term-228,
    .term-223,
    .term-233,
    .term-236
) .page-title.bwp-title {
    width: 100% !important;
    height: calc(100vw * 470 / 1920) !important;
    max-height: 470px !important;
    min-height: 0 !important;
    padding: 0 !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}


/**
 * Banner sottocategorie Shop Online — tablet.
 */
@media (max-width: 1024px) {

    body:is(
        .term-222,
        .term-232,
        .term-228,
        .term-223,
        .term-233,
        .term-236
    ) .page-title.bwp-title {
        height: 250px !important;
    }
}


/**
 * Banner sottocategorie Shop Online — smartphone.
 */
@media (max-width: 767px) {

    body:is(
        .term-222,
        .term-232,
        .term-228,
        .term-223,
        .term-233,
        .term-236
    ) .page-title.bwp-title {
        height: 190px !important;
        background-position: center center !important;
    }
}


/**
 * SHOP ONLINE MADRE
 * Nasconde tutte le categorie del carosello.
 */
body.term-240
.woocommerce-product-subcategories
li.product-category {
    display: none !important;
}


/**
 * SHOP ONLINE MADRE
 * Mostra soltanto:
 * 222 = Scuole
 * 329 = Nestor Calcio
 * 339 = Volley Academy Manu Benelli
 */
body.term-240
.woocommerce-product-subcategories
li.product-category[data-id_category="222"]:not(.slick-cloned),

body.term-240
.woocommerce-product-subcategories
li.product-category[data-id_category="329"]:not(.slick-cloned),

body.term-240
.woocommerce-product-subcategories
li.product-category[data-id_category="339"]:not(.slick-cloned) {
    display: block !important;
    width: 260px !important;
    flex: 0 0 260px !important;
}


/**
 * Centra le tre categorie Shop Online.
 */
body.term-240
.woocommerce-product-subcategories.slick-slider
.slick-track {
    display: flex !important;
    justify-content: center !important;
    gap: 40px !important;
    width: 100% !important;
    transform: none !important;
}


/**
 * Nasconde le frecce nella categoria madre Shop Online.
 */
body.term-240
.woocommerce-product-subcategorie-content
.slick-arrow {
    display: none !important;
}


/**
 * Categorie Shop Online — smartphone.
 */
@media (max-width: 767px) {

    body.term-240
    .woocommerce-product-subcategories
    li.product-category[data-id_category="222"]:not(.slick-cloned),

    body.term-240
    .woocommerce-product-subcategories
    li.product-category[data-id_category="329"]:not(.slick-cloned),

    body.term-240
    .woocommerce-product-subcategories
    li.product-category[data-id_category="339"]:not(.slick-cloned) {
        width: 145px !important;
        flex: 0 0 145px !important;
    }

    body.term-240
    .woocommerce-product-subcategories.slick-slider
    .slick-track {
        gap: 15px !important;
    }
}


/* =====================================================
   MENU ACCORDION SIDEBAR — SHOP ONLINE E TEAMWEAR
   ===================================================== */


/**
 * Titolo del menu.
 */
.bwp-sidebar .widget-custom-menu .widgettitle {
    margin: 0 0 15px !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid #c93635;
    color: #222222;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-transform: uppercase;
}


/**
 * Reset generale del menu.
 */
.bwp-sidebar .widget-custom-menu ul.menu,
.bwp-sidebar .widget-custom-menu ul.sub-menu {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}


/**
 * Voci principali.
 */
.bwp-sidebar .widget-custom-menu ul.menu > li {
    position: relative;
    margin: 0 !important;
    border-bottom: 1px solid #e5e5e5;
}


/**
 * Link principali.
 */
.bwp-sidebar .widget-custom-menu ul.menu > li > a {
    position: relative;
    display: block;
    min-height: 48px;
    padding: 14px 44px 12px 12px !important;
    color: #444444 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 22px !important;
    text-decoration: none !important;
    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}


/**
 * Hover delle voci principali.
 */
.bwp-sidebar .widget-custom-menu ul.menu > li > a:hover {
    background: #f7f7f7;
    color: #c93635 !important;
}


/**
 * Quadrato rosso con il simbolo +.
 */
.bwp-sidebar .widget-custom-menu li.menu-item-has-children > a::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #c93635;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 30px;
    transform: translateY(-50%);
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}


/**
 * Hover del quadrato rosso.
 */
.bwp-sidebar .widget-custom-menu li.menu-item-has-children > a:hover::after {
    background: #a92c2c;
}


/**
 * Quando il menu è aperto, + diventa −.
 */
.bwp-sidebar .widget-custom-menu li.menu-item-has-children.submenu-open > a::after {
    content: "−";
}


/**
 * Sottomenu chiuso.
 */
.bwp-sidebar .widget-custom-menu ul.sub-menu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    background: #f7f7f7;
    transition:
        max-height 0.35s ease,
        opacity 0.25s ease;
}


/**
 * Sottomenu aperto.
 */
.bwp-sidebar .widget-custom-menu li.submenu-open > ul.sub-menu {
    max-height: 1200px;
    opacity: 1;
}


/**
 * Singole sottocategorie.
 */
.bwp-sidebar .widget-custom-menu ul.sub-menu > li {
    margin: 0 !important;
    border-top: 1px solid #eeeeee;
}


/**
 * Link delle sottocategorie.
 */
.bwp-sidebar .widget-custom-menu ul.sub-menu > li > a {
    position: relative;
    display: block;
    padding: 11px 12px 11px 27px !important;
    color: #777777 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 20px !important;
    text-decoration: none !important;
    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}


/**
 * Piccolo segno davanti alle sottocategorie.
 */
.bwp-sidebar .widget-custom-menu ul.sub-menu > li > a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 12px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #c93635;
    transform: translateY(-50%);
}


/**
 * Hover sottocategorie.
 */
.bwp-sidebar .widget-custom-menu ul.sub-menu > li > a:hover {
    background: #eeeeee;
    color: #c93635 !important;
}


/**
 * Voce corrente.
 */
.bwp-sidebar .widget-custom-menu li.current-menu-item > a,
.bwp-sidebar .widget-custom-menu li.current-menu-ancestor > a {
    color: #c93635 !important;
    font-weight: 600 !important;
}


/**
 * Ottimizzazione mobile.
 */
@media (max-width: 767px) {

    .bwp-sidebar .widget-custom-menu ul.menu > li > a {
        min-height: 52px;
        padding-top: 15px !important;
        padding-bottom: 15px !important;
    }

    .bwp-sidebar .widget-custom-menu li.menu-item-has-children > a::after {
        width: 34px;
        height: 34px;
        right: 5px;
        font-size: 24px;
    }
}


/* =====================================================
   COLORI DIFFERENZIATI MENU
   Shop Online rosso — Teamwear blu
   ===================================================== */


/* ---------- SHOP ONLINE ---------- */

.bwp-sidebar .widget-custom-menu:has(#menu-albero-shop) .widgettitle {
    border-bottom-color: #c93635;
}

.bwp-sidebar #menu-albero-shop > li > a:hover,
.bwp-sidebar #menu-albero-shop li.current-menu-item > a,
.bwp-sidebar #menu-albero-shop li.current-menu-ancestor > a {
    color: #c93635 !important;
}

.bwp-sidebar #menu-albero-shop li.menu-item-has-children > a::after {
    background: #c93635;
}

.bwp-sidebar #menu-albero-shop li.menu-item-has-children > a:hover::after {
    background: #a92c2c;
}

.bwp-sidebar #menu-albero-shop ul.sub-menu > li > a::before {
    background: #c93635;
}

.bwp-sidebar #menu-albero-shop ul.sub-menu > li > a:hover {
    color: #c93635 !important;
}


/* ---------- TEAMWEAR ---------- */

.bwp-sidebar .widget-custom-menu:has(#menu-albero-teamwear) .widgettitle {
    border-bottom-color: #003b7a;
}

.bwp-sidebar #menu-albero-teamwear > li > a:hover,
.bwp-sidebar #menu-albero-teamwear li.current-menu-item > a,
.bwp-sidebar #menu-albero-teamwear li.current-menu-ancestor > a {
    color: #003b7a !important;
}

.bwp-sidebar #menu-albero-teamwear li.menu-item-has-children > a::after {
    background: #003b7a;
}

.bwp-sidebar #menu-albero-teamwear li.menu-item-has-children > a:hover::after {
    background: #002a57;
}

.bwp-sidebar #menu-albero-teamwear ul.sub-menu > li > a::before {
    background: #003b7a;
}

.bwp-sidebar #menu-albero-teamwear ul.sub-menu > li > a:hover {
    color: #003b7a !important;
}


/* =====================================================
   RIFINITURA SOTTOMENU ACCORDION
   ===================================================== */

/* Elimina i pallini dalle sottocategorie */
.bwp-sidebar .widget-custom-menu ul.sub-menu > li > a::before {
    content: none !important;
    display: none !important;
}

/* Primo livello: leggermente rientrato */
.bwp-sidebar .widget-custom-menu ul.menu > li > ul.sub-menu {
    width: calc(100% - 12px);
    margin-left: 12px !important;
}

/* Livelli successivi: ulteriore rientro */
.bwp-sidebar .widget-custom-menu ul.sub-menu ul.sub-menu {
    width: calc(100% - 14px);
    margin-left: 14px !important;
}

/* Riduce lo spazio lasciato prima dal pallino */
.bwp-sidebar .widget-custom-menu ul.sub-menu > li > a {
    padding-left: 14px !important;
}

/* Sottomenu di secondo livello ancora più compatto */
.bwp-sidebar .widget-custom-menu ul.sub-menu ul.sub-menu > li > a {
    padding-left: 14px !important;
    font-size: 13px !important;
}


/* =====================================================
   TUTTE LE SOTTOCATEGORIE SHOP ONLINE
   Mostra soltanto l’immagine del banner
   ===================================================== */

/* Nasconde titolo, breadcrumb e categorie circolari */
body.tss-shop-online-child .page-title .content-title-heading,
body.tss-shop-online-child .page-title .breadcrumb,
body.tss-shop-online-child .page-title .woocommerce-product-subcategorie-content {
    display: none !important;
}

/* Banner desktop proporzionato a 1920 × 470 */
body.tss-shop-online-child .page-title.bwp-title {
    width: 100% !important;
    height: calc(100vw * 470 / 1920) !important;
    max-height: 470px !important;
    min-height: 0 !important;
    padding: 0 !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* Tablet */
@media (max-width: 1024px) {
    body.tss-shop-online-child .page-title.bwp-title {
        height: 250px !important;
    }
}

/* Smartphone */
@media (max-width: 767px) {
    body.tss-shop-online-child .page-title.bwp-title {
        height: 190px !important;
        background-position: center center !important;
    }
}


/* =====================================================
   SISTEMAZIONE TENDINA TAGLIE PRODOTTI VARIABILI
   ===================================================== */

.single-product form.variations_form table.variations {
    display: block !important;
    width: 100% !important;
    margin: 0 0 25px !important;
    border: 0 !important;
}

.single-product form.variations_form table.variations tbody,
.single-product form.variations_form table.variations tr {
    display: block !important;
    width: 100% !important;
}

.single-product form.variations_form table.variations td {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    padding: 0 !important;
    border: 0 !important;
}

.single-product form.variations_form table.variations td.label {
    margin-bottom: 8px !important;
}

.single-product form.variations_form table.variations td.label label {
    display: block !important;
    margin: 0 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
}

.single-product form.variations_form table.variations td.value select {
    display: block !important;
    width: 100% !important;
    max-width: 330px !important;
    height: 50px !important;
    margin: 0 !important;
    padding: 0 45px 0 15px !important;
    border: 1px solid #dddddd !important;
    background-color: #ffffff !important;
    color: #444444 !important;
    font-size: 15px !important;
}

.single-product form.variations_form table.variations .reset_variations {
    display: inline-block !important;
    margin-top: 8px !important;
    color: #777777 !important;
    font-size: 13px !important;
}

/* Elimina il secondo riquadro esterno delle varianti */
.single-product form.variations_form table.variations,
.single-product form.variations_form table.variations tbody,
.single-product form.variations_form table.variations tr,
.single-product form.variations_form table.variations tr.type_attribute,
.single-product form.variations_form table.variations td {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}


/* =====================================================
   TITOLI SIDEBAR TEAMWEAR / FILTRI
   Uniforma 2T Sport Teamwear, Tipologia e Color
   ===================================================== */

/* Titolo menu Teamwear */
.bwp-sidebar .widget-custom-menu:has(#menu-albero-teamwear) .widgettitle,

/* Titolo filtro Tipologia */
.bwp-sidebar .bwp-filter-category > h3,

/* Titolo filtro Color */
.bwp-sidebar .bwp-filter-color > h3 {
    margin: 32px 0 14px !important;
    padding: 0 0 10px !important;
    border-bottom: 2px solid #c93635 !important;

    color: #c93635 !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-transform: uppercase !important;
}

/* Il primo titolo non deve avere troppo spazio sopra */
.bwp-sidebar .widget-custom-menu:has(#menu-albero-teamwear) .widgettitle {
    margin-top: 0 !important;
}

/* Riduce lo spazio tra titolo e contenuto del filtro */
.bwp-sidebar .bwp-filter-category .filter_category_product,
.bwp-sidebar .bwp-filter-color .content_filter {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Distanza uniforme tra un filtro e quello successivo */
.bwp-sidebar .bwp-filter {
    margin-bottom: 0 !important;
}


/* =====================================================
   2T SPORT - NASCONDE SORT BY
   ===================================================== */

.woocommerce-ordering {
    display: none !important;
}

ul.woocommerce-product-subcategories li h2 {
    font-size: 12px;
    color: #fff;
    margin: 7px 0 6px;
    text-transform: uppercase;
    font-family: 'ArquitectaBold';
}

/* =====================================================
   DIGITAL FULL CUSTOM – SOLO BANNER
   Categoria ID 346
   Nasconde titolo, breadcrumb e categorie sopra il banner
   ===================================================== */

body.term-346 .page-title .content-title-heading,
body.term-346 .page-title .breadcrumb,
body.term-346 .page-title .woocommerce-product-subcategorie-content {
    display: none !important;
}

/* Mantiene il banner nelle proporzioni 1920 × 470 */
body.term-346 .page-title.bwp-title {
    width: 100% !important;
    height: calc(100vw * 470 / 1920) !important;
    max-height: 470px !important;
    min-height: 0 !important;
    padding: 0 !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* Tablet */
@media (max-width: 1024px) {
    body.term-346 .page-title.bwp-title {
        height: 250px !important;
    }
}

/* Smartphone */
@media (max-width: 767px) {
    body.term-346 .page-title.bwp-title {
        height: 190px !important;
        background-position: center center !important;
    }
}

/* =====================================================
   HEADER STICKY – SEMPRE BIANCO
   ===================================================== */

.bwp-header.sticky .header-sticky,
.page-template-homepage .bwp-header.sticky .header-sticky,
.page-template-homepage .bwp-header.header-v2.sticky .header-sticky,
.page-template-homepage .bwp-header.header-v6.sticky .header-sticky {
    background: #fff !important;
}
/* =====================================================
   HEADER STICKY – MENU NERO
   ===================================================== */

.bwp-header.sticky .header-sticky .bwp-navigation ul > li.level-0 > a,
.page-template-homepage .bwp-header.sticky .header-sticky .bwp-navigation ul > li.level-0 > a {
    color: #000 !important;
}

/* Hover, voce attiva e pagina corrente */
.bwp-header.sticky .header-sticky .bwp-navigation ul > li.level-0:hover > a,
.bwp-header.sticky .header-sticky .bwp-navigation ul > li.level-0.current-menu-item > a,
.bwp-header.sticky .header-sticky .bwp-navigation ul > li.level-0.current-menu-ancestor > a {
    color: #000 !important;
}

/* =====================================================
   HEADER STICKY – ICONE NERE
   Ricerca, login, wishlist, carrello
   ===================================================== */


.page-template-homepage .bwp-header.sticky .header-sticky .header-page-link,
.page-template-homepage .bwp-header.sticky .header-sticky .header-page-link *,
.page-template-homepage .bwp-header.sticky .header-sticky .header-page-link *:before,
.page-template-homepage .bwp-header.sticky .header-sticky .header-page-link *:after,
.page-template-homepage .bwp-header.sticky .header-sticky .block-top-link,
.page-template-homepage .bwp-header.sticky .header-sticky .block-top-link *,
.page-template-homepage .bwp-header.sticky .header-sticky .block-top-link *:before,
.page-template-homepage .bwp-header.sticky .header-sticky .block-top-link *:after {
    color: #000 !important;
}

/* =========================================================
   2T SPORT – DIGITAL FULL CUSTOM BADGE
   BELONI – GRIGLIA PRODOTTI
   ========================================================= */

/* Contenitore della foto Beloni */
.products-thumb {
    position: relative !important;
}

/* Badge sovrapposto alla foto */
.products-thumb .twot-badge-loop {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;

    width: 90px !important;
    height: auto !important;

    z-index: 20 !important;

    margin: 0 !important;
    padding: 0 !important;

    pointer-events: none !important;
}

/* PNG del badge */
.products-thumb .twot-badge-loop img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: none !important;
    margin: 0 !important;
}


/* MOBILE */
@media (max-width: 767px) {

    .products-thumb .twot-badge-loop {
        width: 65px !important;
        top: 8px !important;
        right: 8px !important;
    }

}
/* =========================================================
   2T SPORT – DIGITAL FULL CUSTOM BADGE
   BELONI – SCHEDA PRODOTTO
   ========================================================= */

/* Contenitore gallery Beloni */
.single-product .bwp-single-image {
    position: relative !important;
}

/* Badge sopra la foto principale */
.single-product .bwp-single-image .twot-badge-single {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;

    width: 120px !important;
    height: auto !important;

    z-index: 99 !important;

    margin: 0 !important;
    padding: 0 !important;

    pointer-events: none !important;
}

/* PNG */
.single-product .bwp-single-image .twot-badge-single img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: none !important;
    margin: 0 !important;
}

/* MOBILE */
@media (max-width: 767px) {

    .single-product .bwp-single-image .twot-badge-single {
        top: 12px !important;
        right: 12px !important;
        width: 85px !important;
    }

}
/* 2T Sport - override verde Beloni, incollare in CSS aggiuntivo o child */

#bwp-topbar.topbar-v3 .topbar-right #topbar_menu li a:hover {
  color: #cc0000 !important;
}

.bwp-header .header-page-link .mini-cart .cart-icon .icons-cart .cart-count {
  background: #cc0000 !important;
}

.bwp-header .header-search-form .search-from #searchsubmit, .bwp-header .header-search-form .search-from #searchsubmit2 {
  background: #cc0000 !important;
}

.bwp-header .header-mobile .mini-cart .cart-count {
  background: #cc0000 !important;
}

.entry-vote.vote-poor .entry-vote-inner {
  color: #cc0000 !important;
}

.text-success {
  color: #cc0000 !important;
}

.btn-success {
  background-color: #cc0000 !important;
  border-color: #cc0000 !important;
}

.btn-success:focus, .btn-success.focus {
  box-shadow: 0 0 0 0.2rem rgba(204, 0, 0, .5) !important;
}

.btn-success.disabled, .btn-success:disabled {
  background-color: #cc0000 !important;
  border-color: #cc0000 !important;
}

.btn-success:not(:disabled):not(.disabled):active:focus, .btn-success:not(:disabled):not(.disabled).active:focus, .show > .btn-success.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(204, 0, 0, .5) !important;
}

.btn-outline-success {
  color: #cc0000 !important;
  border-color: #cc0000 !important;
}

.btn-outline-success:hover {
  background-color: #cc0000 !important;
  border-color: #cc0000 !important;
}

.btn-outline-success:focus, .btn-outline-success.focus {
  box-shadow: 0 0 0 0.2rem rgba(204, 0, 0, .5) !important;
}

.btn-outline-success.disabled, .btn-outline-success:disabled {
  color: #cc0000 !important;
}

.btn-outline-success:not(:disabled):not(.disabled):active, .btn-outline-success:not(:disabled):not(.disabled).active, .show > .btn-outline-success.dropdown-toggle {
  background-color: #cc0000 !important;
  border-color: #cc0000 !important;
}

.btn-outline-success:not(:disabled):not(.disabled):active:focus, .btn-outline-success:not(:disabled):not(.disabled).active:focus, .show > .btn-outline-success.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(204, 0, 0, .5) !important;
}



/* 2T SPORT - HEADER SOTTOCATEGORIE TEAMWEAR */

/* Solo sottocategorie, non categorie principali */
body.tax-product_cat:has(.page-title .woocommerce-product-subcategorie-content)
.page-title.bwp-title {
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center center !important;
    padding: 55px 20px !important;
    margin-bottom: 40px !important;
}

/* Nasconde breadcrumb */
body.tax-product_cat:has(.page-title .woocommerce-product-subcategorie-content)
.page-title .breadcrumb {
    display: none !important;
}

/* Nasconde il carosello delle altre sottocategorie */
body.tax-product_cat:has(.page-title .woocommerce-product-subcategorie-content)
.page-title .woocommerce-product-subcategorie-content {
    display: none !important;
}

/* Mantiene visibile e centrato soltanto il titolo */
body.tax-product_cat:has(.page-title .woocommerce-product-subcategorie-content)
.page-title .content-title-heading {
    display: block !important;
    margin: 0 !important;
}
