.bb-catalog{
  --bb-blue:#001689;
  --bb-dark:#050d35;
  --bb-yellow:#ffdd00;
  --bb-text:#475467;
  --bb-muted:#667085;
  --bb-line:#e4e7ec;
  --bb-soft:#f7f7f8;

  position:relative;
  left:50%;
  width:100vw;
  max-width:none;
  margin-left:-50vw;
  margin-right:-50vw;

  background:#fff;
  color:#101828;
  font-family:'Inter',sans-serif;
}

.bb-catalog *{
  box-sizing:border-box;
}

.bb-catalog a{
  text-decoration:none;
}

.bb-catalog__container{
  width:min(calc(100% - 40px),1240px);
  margin:0 auto;
}


/* INTRO */

.bb-catalog__intro{
  padding:24px 0 38px;
}

.bb-catalog__breadcrumbs{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:28px;
  color:var(--bb-muted);
  font-size:13px;
}

.bb-catalog__breadcrumbs a{
  color:var(--bb-muted);
}

.bb-catalog__breadcrumbs strong{
  color:#344054;
}

.bb-catalog__heading h1{
  margin:0 0 14px;
  color:#101828;
  font-size:clamp(42px,5vw,68px);
  line-height:1;
  letter-spacing:-.045em;
}

.bb-catalog__heading p{
  max-width:720px;
  margin:0;
  color:var(--bb-text);
  font-size:16px;
  line-height:1.65;
}


/* CONTENIDO */

.bb-catalog__content{
  padding:18px 0 80px;
}

.bb-catalog__toolbar{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  margin-bottom:24px;
}

.bb-catalog__count{
  color:var(--bb-muted);
  font-size:13px;
}

.bb-catalog__count p{
  margin:0;
}

.bb-catalog__filter-toggle{
  display:none;
}

.bb-catalog__layout{
  display:grid;
  grid-template-columns:260px minmax(0,1fr);
  gap:42px;
  align-items:start;
}


/* SIDEBAR */

.bb-catalog__sidebar{
  position:sticky;
  top:115px;
}

.bb-catalog__filter-block{
  margin-bottom:38px;
}

.bb-catalog__filter-block h2{
  margin:0 0 16px;
  color:#101828;
  font-size:18px;
  line-height:1.2;
}

.bb-catalog__filter-block ul{
  list-style:none;
  padding:0;
  margin:0;
}

.bb-catalog__filter-block li{
  margin:0 0 10px;
  color:var(--bb-text);
  font-size:14px;
}

.bb-catalog__filter-block ul.children{
  margin-top:10px;
  padding-left:18px;
}

.bb-catalog__filter-block a{
  color:var(--bb-text);
}

.bb-catalog__filter-block a:hover{
  color:var(--bb-blue);
}


/* GRID */

.bb-catalog ul.products{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:34px 20px;
  margin:0 !important;
  padding:0 !important;
}

.bb-catalog ul.products:before,
.bb-catalog ul.products:after{
  display:none !important;
}

.bb-catalog ul.products li.product{
  float:none !important;
  width:auto !important;
  margin:0 !important;
  padding:0 !important;
}


/* TARJETA */

.bb-product-card{
  list-style:none;
  background:#fff;
}

.bb-product-card__link{
  display:block;
  height:100%;
  color:#101828;
}

.bb-product-card__image{
  aspect-ratio:4 / 3;
  display:grid;
  place-items:center;
  padding:22px;
  overflow:hidden;
  background:var(--bb-soft);
}

.bb-product-card__image img{
  display:block;
  max-width:100%;
  max-height:100%;
  width:auto !important;
  height:auto !important;
  margin:0 !important;
  object-fit:contain;
  transition:transform .25s ease;
}

.bb-product-card__link:hover
.bb-product-card__image img{
  transform:scale(1.025);
}

.bb-product-card__body{
  padding:18px 2px 0;
}

.bb-product-card__brand{
  display:block;
  margin-bottom:8px;
  color:var(--bb-blue);
  font-size:11px;
  line-height:1;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.bb-product-card__title{
  margin:0 0 10px !important;
  color:#101828 !important;
  font-size:17px !important;
  line-height:1.3 !important;
  font-weight:700 !important;
}

.bb-product-card__category{
  margin-bottom:4px;
  color:var(--bb-text);
  font-size:13px;
}

.bb-product-card__sku{
  color:var(--bb-muted);
  font-size:12px;
}

.bb-product-card__cta{
  display:inline-block;
  margin-top:16px;
  color:var(--bb-blue);
  font-size:13px;
  font-weight:800;
}


/* PAGINACION */

.bb-catalog__pagination{
  margin-top:54px;
}

.bb-catalog nav.woocommerce-pagination{
  text-align:left;
}

.bb-catalog nav.woocommerce-pagination ul{
  border:0;
  margin:0;
}

.bb-catalog nav.woocommerce-pagination ul li{
  border:0;
  margin-right:5px;
}

.bb-catalog nav.woocommerce-pagination ul li a,
.bb-catalog nav.woocommerce-pagination ul li span{
  min-width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border:1px solid var(--bb-line);
  color:#101828;
  background:#fff;
}

.bb-catalog nav.woocommerce-pagination
ul li span.current{
  background:var(--bb-blue);
  border-color:var(--bb-blue);
  color:#fff;
}


/* VACIO */

.bb-catalog__empty{
  padding:80px 30px;
  background:var(--bb-soft);
  text-align:center;
}

.bb-catalog__empty h2{
  margin:0 0 10px;
  font-size:28px;
}

.bb-catalog__empty p{
  margin:0;
  color:var(--bb-text);
}


/* TABLET */

@media(max-width:980px){

  .bb-catalog__toolbar{
    justify-content:space-between;
  }

  .bb-catalog__filter-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:0 18px;
    background:#fff;
    border:1px solid var(--bb-line);
    border-radius:6px;
    color:#101828;
    font-size:14px;
    font-weight:700;
  }

  .bb-catalog__layout{
    grid-template-columns:1fr;
  }

  .bb-catalog__sidebar{
    display:none;
    position:static;
  }

  .bb-catalog ul.products{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}


/* MOBILE */

@media(max-width:620px){

  .bb-catalog__container{
    width:min(calc(100% - 28px),1240px);
  }

  .bb-catalog__intro{
    padding-top:20px;
    padding-bottom:26px;
  }

  .bb-catalog__breadcrumbs{
    margin-bottom:22px;
  }

  .bb-catalog__heading h1{
    font-size:40px;
  }

  .bb-catalog__heading p{
    font-size:15px;
  }

  .bb-catalog__content{
    padding-top:10px;
    padding-bottom:60px;
  }

  .bb-catalog ul.products{
    grid-template-columns:1fr;
    gap:32px;
  }
}

@media(min-width:420px) and (max-width:620px){

  .bb-catalog ul.products{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:28px 14px;
  }

  .bb-product-card__title{
    font-size:15px !important;
  }
}

/* ==================================================
   BIG BOSS LATAM - HEADER EN CATALOGO
   Mantener el mismo header blanco del resto del sitio
   ================================================== */

body.woocommerce-shop #masthead.site-header,
body.tax-product_cat #masthead.site-header,
body.tax-product_brand #masthead.site-header,
body.post-type-archive-product #masthead.site-header {
    background:#ffffff !important;
}

body.woocommerce-shop .ast-primary-header-bar,
body.tax-product_cat .ast-primary-header-bar,
body.tax-product_brand .ast-primary-header-bar,
body.post-type-archive-product .ast-primary-header-bar {
    background:#ffffff !important;
}

/* Evita que el transparent header de Astra cambie el fondo */
body.woocommerce-shop.ast-theme-transparent-header #masthead,
body.tax-product_cat.ast-theme-transparent-header #masthead,
body.tax-product_brand.ast-theme-transparent-header #masthead,
body.post-type-archive-product.ast-theme-transparent-header #masthead {
    background:#ffffff !important;
}

/* ==================================================
   IMAGENES DE PRODUCTO
   Master de catalogo: 1200 x 1200 px
   ================================================== */

.bb-product-card__image{
    aspect-ratio:1 / 1;
    padding:18px;
    background:#ffffff;
    border:1px solid var(--bb-line);
}

.bb-product-card__image img{
    width:100% !important;
    height:100% !important;
    max-width:100%;
    max-height:100%;
    object-fit:contain;
    object-position:center;
}

/* ==================================================
   BUSCADOR DEL CATALOGO
   ================================================== */

.bb-catalog__search-row{
    margin:0 0 28px;
}

.bb-catalog__search{
    display:flex;
    align-items:center;
    width:100%;
    max-width:760px;
}

.bb-catalog__search input{
    flex:1;
    height:52px;
    padding:0 18px;
    border:1px solid var(--bb-line);
    border-right:0;
    border-radius:6px 0 0 6px;
    background:#fff;
    color:#101828;
    font-family:inherit;
    font-size:14px;
    outline:none;
}

.bb-catalog__search input:focus{
    border-color:var(--bb-blue);
}

.bb-catalog__search button{
    height:52px;
    padding:0 24px;
    border:1px solid var(--bb-blue);
    border-radius:0 6px 6px 0;
    background:var(--bb-blue);
    color:#fff;
    font-family:inherit;
    font-size:14px;
    font-weight:700;
    cursor:pointer;
}

.bb-catalog__search-clear{
    margin-left:16px;
    color:var(--bb-muted);
    font-size:13px;
    font-weight:600;
}

.bb-catalog__search-clear:hover{
    color:var(--bb-blue);
}

@media(max-width:620px){

    .bb-catalog__search{
        flex-wrap:wrap;
    }

    .bb-catalog__search input{
        min-width:0;
    }

    .bb-catalog__search button{
        padding:0 18px;
    }

    .bb-catalog__search-clear{
        width:100%;
        margin:10px 0 0;
    }
}

/* Buscador a ancho completo en desktop */
@media(min-width:981px){

    .bb-catalog__search-row{
        width:100%;
    }

    .bb-catalog__search{
        width:100%;
        max-width:none;
    }

    .bb-catalog__search input{
        width:100%;
    }
}

/* ==================================================
   FILTROS BIG BOSS LATAM
   ================================================== */

.bb-catalog__filter-options{
    display:grid;
    gap:11px;
}

.bb-catalog__category-group{
    display:grid;
    gap:10px;
}

.bb-catalog__category-group + .bb-catalog__category-group{
    margin-top:12px;
}

.bb-catalog__children{
    display:grid;
    gap:9px;
    padding-left:24px;
}

.bb-catalog__check-option{
    display:flex;
    align-items:flex-start;
    gap:9px;
    color:var(--bb-text);
    font-size:14px;
    line-height:1.4;
    cursor:pointer;
}

.bb-catalog__check-option--parent{
    color:#101828;
    font-weight:700;
}

.bb-catalog__check-option input{
    width:16px;
    height:16px;
    margin:2px 0 0;
    accent-color:var(--bb-blue);
    flex:0 0 auto;
}

.bb-catalog__apply{
    width:100%;
    min-height:46px;
    margin-top:4px;
    border:0;
    border-radius:6px;
    background:var(--bb-blue);
    color:#fff;
    font-family:inherit;
    font-size:14px;
    font-weight:700;
    cursor:pointer;
}

.bb-catalog__filters-reset{
    display:block;
    margin-top:13px;
    color:var(--bb-muted);
    font-size:13px;
    text-align:center;
}

.bb-catalog__filters-reset:hover{
    color:var(--bb-blue);
}


/* FILTROS ACTIVOS */

.bb-catalog__active-filters{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
    margin:0 0 20px;
}

.bb-catalog__active-label{
    margin-right:2px;
    color:var(--bb-muted);
    font-size:12px;
}

.bb-catalog__chip{
    display:inline-flex;
    align-items:center;
    min-height:30px;
    padding:4px 10px;
    background:var(--bb-soft);
    border:1px solid var(--bb-line);
    border-radius:5px;
    color:#344054;
    font-size:12px;
    font-weight:600;
}

.bb-catalog__clear-filters{
    margin-left:4px;
    color:var(--bb-blue);
    font-size:12px;
    font-weight:700;
}


/* EMPTY */

.bb-catalog__empty a{
    display:inline-block;
    margin-top:18px;
    color:var(--bb-blue);
    font-size:14px;
    font-weight:700;
}

@media(max-width:980px){

    .bb-catalog__filter-toggle{
        position:relative;
        z-index:10;
        cursor:pointer;
        pointer-events:auto;
    }

    .bb-catalog__sidebar{
        visibility:visible;
    }

    body.bb-filters-open .bb-catalog__sidebar{
        transform:translateX(0) !important;
    }

    body.bb-filters-open .bb-catalog__overlay{
        opacity:1 !important;
        visibility:visible !important;
        pointer-events:auto;
    }
}

/* ==================================================
   DRAWER FILTROS CSS-ONLY
   BIG BOSS LATAM
   ================================================== */

.bb-catalog__drawer-state{
    position:absolute;
    width:1px;
    height:1px;
    opacity:0;
    pointer-events:none;
}

.bb-catalog__filter-toggle-css,
.bb-catalog__drawer-close-css,
.bb-catalog__overlay-css{
    display:none;
}

@media(max-width:980px){

    .bb-catalog__filter-toggle{
        display:none !important;
    }

    .bb-catalog__filter-toggle-css{
        display:inline-flex;
        align-items:center;
        justify-content:center;
        min-height:44px;
        padding:0 18px;
        background:#001689;
        border:1px solid #001689;
        border-radius:6px;
        color:#ffffff;
        font-size:14px;
        font-weight:700;
        line-height:1;
        cursor:pointer;
        user-select:none;
    }

    .bb-catalog__sidebar{
        display:block !important;
        position:fixed !important;
        top:0;
        left:0;
        z-index:100001;
        width:min(390px,88vw);
        height:100vh;
        padding:0 24px 32px;
        overflow-y:auto;
        background:#ffffff;
        transform:translateX(-102%);
        transition:transform .25s ease;
    }

    .bb-catalog__drawer-head{
        position:sticky;
        top:0;
        z-index:2;
        display:flex;
        align-items:center;
        justify-content:space-between;
        min-height:72px;
        margin:0 -24px 28px;
        padding:0 24px;
        background:#ffffff;
        border-bottom:1px solid var(--bb-line);
    }

    .bb-catalog__drawer-close{
        display:none !important;
    }

    .bb-catalog__drawer-close-css{
        display:grid;
        place-items:center;
        width:42px;
        height:42px;
        color:#101828;
        font-family:Arial,sans-serif;
        font-size:32px;
        font-weight:300;
        line-height:1;
        cursor:pointer;
        user-select:none;
    }

    .bb-catalog__overlay-css{
        position:fixed;
        inset:0;
        z-index:100000;
        display:block;
        background:rgba(5,13,53,.45);
        opacity:0;
        visibility:hidden;
        pointer-events:none;
        cursor:pointer;
        transition:
            opacity .2s ease,
            visibility .2s ease;
    }

    #bb-filter-drawer-toggle:checked
    ~ .bb-catalog__layout
    .bb-catalog__sidebar{
        transform:translateX(0) !important;
    }

    #bb-filter-drawer-toggle:checked
    ~ .bb-catalog__layout
    .bb-catalog__overlay-css{
        opacity:1;
        visibility:visible;
        pointer-events:auto;
    }

    body:has(#bb-filter-drawer-toggle:checked){
        overflow:hidden;
    }
}

@media(min-width:981px){

    .bb-catalog__drawer-state,
    .bb-catalog__filter-toggle-css,
    .bb-catalog__drawer-close-css,
    .bb-catalog__overlay-css{
        display:none !important;
    }
}

/* ==================================================
   DRAWER MOBILE DEFINITIVO - CSS :TARGET
   ================================================== */

.bb-catalog__filter-toggle-css,
.bb-catalog__drawer-close-css,
.bb-catalog__overlay-css{
    display:none;
}

@media(max-width:980px){

    .bb-catalog__filter-toggle,
    .bb-catalog__drawer-state{
        display:none !important;
    }

    .bb-catalog__filter-toggle-css{
        display:inline-flex !important;
        align-items:center;
        justify-content:center;
        min-height:44px;
        padding:0 18px;
        background:#001689;
        border:1px solid #001689;
        border-radius:6px;
        color:#fff !important;
        font-size:14px;
        font-weight:700;
        text-decoration:none !important;
    }

    .bb-catalog__sidebar{
        display:block !important;
        position:fixed !important;
        top:0;
        left:0;
        z-index:100001;
        width:min(390px,88vw);
        height:100vh;
        padding:0 24px 32px;
        overflow-y:auto;
        background:#fff;
        transform:translateX(-102%);
        transition:transform .25s ease;
    }

    .bb-catalog__sidebar:target{
        transform:translateX(0) !important;
    }

    .bb-catalog__drawer-head{
        position:sticky;
        top:0;
        z-index:3;
        display:flex !important;
        align-items:center;
        justify-content:space-between;
        min-height:72px;
        margin:0 -24px 28px;
        padding:0 24px;
        background:#fff;
        border-bottom:1px solid var(--bb-line);
    }

    .bb-catalog__drawer-close,
    .bb-catalog__drawer-close-css{
        display:none;
    }

    .bb-catalog__sidebar:target .bb-catalog__drawer-close-css{
        display:grid !important;
        place-items:center;
        width:42px;
        height:42px;
        color:#101828 !important;
        font-family:Arial,sans-serif;
        font-size:32px;
        line-height:1;
        text-decoration:none !important;
    }

    .bb-catalog__overlay-css{
        position:fixed;
        inset:0;
        z-index:100000;
        background:rgba(5,13,53,.45);
        opacity:0;
        visibility:hidden;
        pointer-events:none;
    }

    .bb-catalog__sidebar:target + .bb-catalog__overlay-css{
        display:block !important;
        opacity:1;
        visibility:visible;
        pointer-events:auto;
    }
}

@media(min-width:981px){

    .bb-catalog__filter-toggle-css,
    .bb-catalog__drawer-close-css,
    .bb-catalog__overlay-css{
        display:none !important;
    }
}

/* ==================================================
   DRAWER FILTROS - VERSION DEFINITIVA
   Sobrescribe implementaciones anteriores
   ================================================== */

@media(max-width:980px){

    body .bb-catalog .bb-catalog__filter-toggle{
        display:inline-flex !important;
        align-items:center;
        justify-content:center;
        min-height:44px;
        padding:0 18px;
        border:1px solid #001689;
        border-radius:6px;
        background:#001689;
        color:#ffffff;
        font-family:inherit;
        font-size:14px;
        font-weight:700;
        cursor:pointer;
        pointer-events:auto;
    }

    body .bb-catalog .bb-catalog__sidebar{
        display:block !important;
        visibility:visible !important;
        position:fixed !important;
        top:0;
        left:0;
        z-index:100001;
        width:min(390px,88vw);
        height:100vh;
        padding:0 24px 32px;
        overflow-y:auto;
        background:#ffffff;
        transform:translateX(-102%);
        transition:transform .25s ease;
    }

    body.bb-filters-open .bb-catalog .bb-catalog__sidebar{
        transform:translateX(0) !important;
    }

    body .bb-catalog .bb-catalog__drawer-head{
        position:sticky;
        top:0;
        z-index:3;
        display:flex !important;
        align-items:center;
        justify-content:space-between;
        min-height:72px;
        margin:0 -24px 28px;
        padding:0 24px;
        background:#ffffff;
        border-bottom:1px solid var(--bb-line);
    }

    body .bb-catalog .bb-catalog__drawer-close{
        display:grid !important;
        place-items:center;
        width:42px;
        height:42px;
        padding:0;
        border:0;
        background:transparent;
        color:#101828;
        font-family:Arial,sans-serif;
        font-size:32px;
        font-weight:300;
        line-height:1;
        cursor:pointer;
    }

    body .bb-catalog .bb-catalog__overlay{
        display:block !important;
        position:fixed;
        inset:0;
        z-index:100000;
        width:100%;
        height:100%;
        padding:0;
        border:0;
        background:rgba(5,13,53,.45);
        opacity:0;
        visibility:hidden;
        pointer-events:none;
        transition:opacity .2s ease, visibility .2s ease;
    }

    body.bb-filters-open .bb-catalog .bb-catalog__overlay{
        opacity:1 !important;
        visibility:visible !important;
        pointer-events:auto !important;
    }

    body.bb-filters-open{
        overflow:hidden;
    }
}

@media(min-width:981px){

    body .bb-catalog .bb-catalog__filter-toggle{
        display:none !important;
    }

    body .bb-catalog .bb-catalog__drawer-head,
    body .bb-catalog .bb-catalog__overlay{
        display:none !important;
    }
}

/* ==================================================
   BIG BOSS LATAM
   DRAWER MOBILE FINAL - SIN JAVASCRIPT
   ================================================== */

.bb-mobile-filters-state,
.bb-mobile-filter-button,
.bb-mobile-filter-head,
.bb-mobile-filter-close,
.bb-mobile-filter-overlay{
    display:none;
}

@media(max-width:980px){

    /*
     * Checkbox funcional invisible.
     */
    body .bb-catalog .bb-mobile-filters-state{
        position:absolute !important;
        width:1px !important;
        height:1px !important;
        margin:0 !important;
        padding:0 !important;
        opacity:0 !important;
        pointer-events:none !important;
    }


    /*
     * Boton Filtros.
     */
    body .bb-catalog .bb-mobile-filter-button{
        display:inline-flex !important;
        align-items:center;
        justify-content:center;
        min-height:44px;
        padding:0 18px;
        background:#001689;
        border:1px solid #001689;
        border-radius:6px;
        color:#ffffff !important;
        font-family:inherit;
        font-size:14px;
        font-weight:700;
        line-height:1;
        cursor:pointer;
        user-select:none;
    }


    /*
     * Sidebar cerrado.
     */
    body .bb-catalog .bb-catalog__sidebar{
        display:block !important;
        visibility:visible !important;
        position:fixed !important;
        top:0 !important;
        left:0 !important;
        z-index:100001 !important;

        width:min(390px,88vw) !important;
        height:100dvh !important;

        margin:0 !important;
        padding:0 24px 32px !important;

        overflow-y:auto !important;

        background:#ffffff !important;

        transform:translateX(-105%) !important;
        transition:transform .25s ease !important;
    }


    /*
     * Sidebar abierto.
     */
    body .bb-catalog
    #bb-mobile-filters-toggle:checked
    ~ .bb-catalog__toolbar
    ~ .bb-catalog__layout
    .bb-catalog__sidebar{
        transform:translateX(0) !important;
    }


    /*
     * Cabecera.
     */
    body .bb-catalog .bb-mobile-filter-head{
        position:sticky;
        top:0;
        z-index:5;

        display:flex !important;
        align-items:center;
        justify-content:space-between;

        min-height:72px;

        margin:0 -24px 28px;
        padding:0 24px;

        background:#ffffff;
        border-bottom:1px solid var(--bb-line);
    }

    body .bb-catalog .bb-mobile-filter-head strong{
        color:#101828;
        font-size:20px;
        font-weight:700;
    }


    /*
     * Cerrar.
     */
    body .bb-catalog .bb-mobile-filter-close{
        display:grid !important;
        place-items:center;

        width:42px;
        height:42px;

        color:#101828 !important;

        font-family:Arial,sans-serif;
        font-size:32px;
        font-weight:300;
        line-height:1;

        cursor:pointer;
        user-select:none;
    }


    /*
     * Overlay.
     */
    body .bb-catalog .bb-mobile-filter-overlay{
        display:block !important;

        position:fixed !important;
        inset:0 !important;
        z-index:100000 !important;

        background:rgba(5,13,53,.45) !important;

        opacity:0;
        visibility:hidden;
        pointer-events:none;

        transition:
            opacity .2s ease,
            visibility .2s ease;
    }


    body .bb-catalog
    #bb-mobile-filters-toggle:checked
    ~ .bb-catalog__toolbar
    ~ .bb-catalog__layout
    .bb-mobile-filter-overlay{
        opacity:1 !important;
        visibility:visible !important;
        pointer-events:auto !important;
    }


    /*
     * Controles antiguos desactivados.
     */
    body .bb-catalog .bb-catalog__filter-toggle,
    body .bb-catalog .bb-catalog__filter-toggle-css,
    body .bb-catalog .bb-catalog__drawer-close,
    body .bb-catalog .bb-catalog__overlay,
    body .bb-catalog .bb-catalog__drawer-state{
        display:none !important;
    }
}


/* Desktop: sidebar normal */

@media(min-width:981px){

    body .bb-catalog .bb-mobile-filters-state,
    body .bb-catalog .bb-mobile-filter-button,
    body .bb-catalog .bb-mobile-filter-head,
    body .bb-catalog .bb-mobile-filter-close,
    body .bb-catalog .bb-mobile-filter-overlay{
        display:none !important;
    }
}

/* ==================================================
   BIG BOSS LATAM
   FILTROS MOBILE - OVERRIDE FINAL
   ================================================== */

@media(max-width:980px){

    body .bb-catalog .bb-catalog__filter-toggle{
        display:inline-flex !important;
        align-items:center !important;
        justify-content:center !important;
        min-height:44px !important;
        padding:0 18px !important;
        border:1px solid #001689 !important;
        border-radius:6px !important;
        background:#001689 !important;
        color:#ffffff !important;
        font-family:inherit !important;
        font-size:14px !important;
        font-weight:700 !important;
        cursor:pointer !important;
        pointer-events:auto !important;
    }

    body .bb-catalog .bb-catalog__sidebar{
        display:block !important;
        visibility:visible !important;
        position:fixed !important;
        top:0 !important;
        left:0 !important;
        z-index:100001 !important;

        width:min(390px,88vw) !important;
        height:100dvh !important;

        margin:0 !important;
        padding:0 24px 32px !important;

        overflow-y:auto !important;
        background:#ffffff !important;

        transform:translateX(-105%) !important;
        transition:transform .25s ease !important;
    }

    body.bb-filters-open .bb-catalog .bb-catalog__sidebar{
        transform:translateX(0) !important;
    }

    body .bb-catalog .bb-catalog__drawer-head{
        position:sticky !important;
        top:0 !important;
        z-index:5 !important;

        display:flex !important;
        align-items:center !important;
        justify-content:space-between !important;

        min-height:72px !important;

        margin:0 -24px 28px !important;
        padding:0 24px !important;

        background:#ffffff !important;
        border-bottom:1px solid var(--bb-line) !important;
    }

    body .bb-catalog .bb-catalog__drawer-head strong{
        color:#101828 !important;
        font-size:20px !important;
        font-weight:700 !important;
    }

    body .bb-catalog .bb-catalog__drawer-close{
        display:grid !important;
        place-items:center !important;

        width:42px !important;
        height:42px !important;
        padding:0 !important;

        border:0 !important;
        background:transparent !important;

        color:#101828 !important;
        font-family:Arial,sans-serif !important;
        font-size:32px !important;
        font-weight:300 !important;
        line-height:1 !important;

        cursor:pointer !important;
        pointer-events:auto !important;
    }

    body .bb-catalog .bb-catalog__overlay{
        display:block !important;
        position:fixed !important;
        inset:0 !important;
        z-index:100000 !important;

        width:100% !important;
        height:100% !important;
        padding:0 !important;

        border:0 !important;
        background:rgba(5,13,53,.45) !important;

        opacity:0 !important;
        visibility:hidden !important;
        pointer-events:none !important;
    }

    body.bb-filters-open .bb-catalog .bb-catalog__overlay{
        opacity:1 !important;
        visibility:visible !important;
        pointer-events:auto !important;
    }

    body.bb-filters-open{
        overflow:hidden !important;
    }
}

@media(min-width:981px){

    body .bb-catalog .bb-catalog__filter-toggle{
        display:none !important;
    }

    body .bb-catalog .bb-catalog__drawer-head,
    body .bb-catalog .bb-catalog__overlay{
        display:none !important;
    }
}

/* ==================================================
   CHIPS DE FILTROS REMOVIBLES
   ================================================== */

.bb-catalog__chip--removable{
    display:inline-flex;
    align-items:center;
    gap:7px;
    text-decoration:none !important;
    cursor:pointer;
}

.bb-catalog__chip--removable:hover{
    text-decoration:none !important;
}

.bb-catalog__chip-x{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-family:Arial,sans-serif;
    font-size:16px;
    font-weight:400;
    line-height:1;
}

/* ==================================================
   ARCHIVO DINAMICO DE MARCA
   ================================================== */

.bb-catalog__brand-logo-wrap{
    display:flex;
    align-items:center;
    min-height:60px;
    margin-bottom:20px;
}

.bb-catalog__brand-logo{
    display:block;
    width:auto;
    height:auto;
    max-width:190px;
    max-height:72px;
    object-fit:contain;
}

@media(max-width:767px){

    .bb-catalog__brand-logo-wrap{
        min-height:48px;
        margin-bottom:16px;
    }

    .bb-catalog__brand-logo{
        max-width:155px;
        max-height:58px;
    }
}

/* ==================================================
   PAGINAS DINAMICAS DE MARCA
   ================================================== */

.bb-brand-hero{
    display:grid;
    grid-template-columns:minmax(0, .9fr) minmax(0, 1.1fr);
    align-items:stretch;
    gap:56px;
    padding:38px 0 54px;
}

.bb-brand-hero__content{
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-width:0;
    padding:30px 0;
}

.bb-brand-hero__logo{
    display:flex;
    align-items:center;
    margin-bottom:28px;
}

.bb-brand-hero__logo img{
    display:block;
    width:auto;
    height:auto;
    max-width:200px;
    max-height:78px;
    object-fit:contain;
}

.bb-brand-hero h1{
    margin:0;
    color:#050d35;
    font-size:clamp(42px,5vw,68px);
    line-height:.98;
    letter-spacing:-.035em;
}

.bb-brand-hero__intro{
    max-width:620px;
    margin-top:24px;
    color:#475467;
    font-size:18px;
    line-height:1.65;
}

.bb-brand-hero__intro p{
    margin:0;
}

.bb-brand-hero__media{
    min-height:430px;
    overflow:hidden;
    border-radius:8px;
    background:#f4f6f8;
}

.bb-brand-hero__media img{
    display:block;
    width:100%;
    height:100%;
    min-height:430px;
    object-fit:cover;
}


/* BLOQUE INSTITUCIONAL */

.bb-brand-story{
    padding:72px 0;
    background:#050d35;
}

.bb-brand-story__grid{
    display:grid;
    grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);
    align-items:center;
    gap:64px;
}

.bb-brand-story__media{
    overflow:hidden;
    border-radius:8px;
}

.bb-brand-story__media img{
    display:block;
    width:100%;
    aspect-ratio:16 / 10;
    object-fit:cover;
}

.bb-brand-story__content{
    max-width:540px;
}

.bb-brand-story__content h2{
    margin:0;
    color:#ffffff;
    font-size:clamp(32px,4vw,50px);
    line-height:1.05;
    letter-spacing:-.025em;
}

.bb-brand-story__text{
    margin-top:24px;
    color:rgba(255,255,255,.82);
    font-size:17px;
    line-height:1.7;
}

.bb-brand-story__text p{
    margin:0 0 18px;
}

.bb-brand-story__text p:last-child{
    margin-bottom:0;
}


/* TABLET */

@media(max-width:980px){

    .bb-brand-hero{
        grid-template-columns:1fr;
        gap:28px;
        padding:28px 0 42px;
    }

    .bb-brand-hero__content{
        padding:12px 0 0;
    }

    .bb-brand-hero__media{
        min-height:360px;
    }

    .bb-brand-hero__media img{
        min-height:360px;
    }

    .bb-brand-story{
        padding:56px 0;
    }

    .bb-brand-story__grid{
        grid-template-columns:1fr;
        gap:38px;
    }

    .bb-brand-story__content{
        max-width:680px;
    }
}


/* MOBILE */

@media(max-width:620px){

    .bb-brand-hero{
        padding:18px 0 34px;
    }

    .bb-brand-hero__logo{
        margin-bottom:20px;
    }

    .bb-brand-hero__logo img{
        max-width:155px;
        max-height:62px;
    }

    .bb-brand-hero h1{
        font-size:40px;
    }

    .bb-brand-hero__intro{
        margin-top:18px;
        font-size:16px;
    }

    .bb-brand-hero__media,
    .bb-brand-hero__media img{
        min-height:280px;
    }

    .bb-brand-story{
        padding:46px 0;
    }

    .bb-brand-story__grid{
        gap:30px;
    }

    .bb-brand-story__text{
        font-size:16px;
    }
}

/* ==================================================
   BIG BOSS LATAM
   HERO DE MARCA - IMAGEN PRIMERO EN MOBILE/TABLET
   ================================================== */

@media(max-width:980px){

    .bb-brand-hero{
        gap:24px !important;
    }

    .bb-brand-hero__media{
        order:1;
    }

    .bb-brand-hero__content{
        order:2;
        padding:0 !important;
    }

    .bb-brand-hero__logo{
        margin-bottom:18px;
    }
}

@media(max-width:620px){

    .bb-brand-hero{
        gap:22px !important;
    }

    .bb-brand-hero__media{
        border-radius:6px;
    }

    .bb-brand-hero__content{
        padding:0 0 8px !important;
    }

    .bb-brand-hero__logo{
        margin-bottom:16px;
    }
}

/* ==================================================
   PAGINAS DE MARCA
   Reducir espacio entre Hero y catalogo
   ================================================== */

/* Desktop */
body.tax-product_brand .bb-brand-hero{
    padding-bottom:18px !important;
}

body.tax-product_brand .bb-catalog__content{
    padding-top:18px !important;
}


/* Tablet */
@media(max-width:980px){

    body.tax-product_brand .bb-brand-hero{
        padding-bottom:14px !important;
    }

    body.tax-product_brand .bb-catalog__content{
        padding-top:14px !important;
    }
}


/* Mobile */
@media(max-width:620px){

    body.tax-product_brand .bb-brand-hero{
        padding-bottom:10px !important;
    }

    body.tax-product_brand .bb-catalog__content{
        padding-top:10px !important;
    }
}

/* ==================================================
   TITULO DEL CATALOGO DENTRO DE MARCA
   ================================================== */

.bb-catalog__brand-products-heading{
    margin:0 0 22px;
}

.bb-catalog__brand-products-heading h2{
    margin:0;
    color:#050d35;
    font-size:clamp(28px,3vw,38px);
    font-weight:700;
    line-height:1.1;
    letter-spacing:-.02em;
}

@media(max-width:620px){

    .bb-catalog__brand-products-heading{
        margin-bottom:18px;
    }

    .bb-catalog__brand-products-heading h2{
        font-size:28px;
    }
}

/* ===== BIG BOSS BRAND REDESIGN V1 ===== */

/* ==================================================
   HERO DE MARCA
   ================================================== */

body.tax-product_brand .bb-brand-hero{
    display:grid;
    grid-template-columns:minmax(340px,.78fr) minmax(0,1.22fr);
    align-items:stretch;
    gap:42px;
    padding:30px 0 42px !important;
}

body.tax-product_brand .bb-brand-hero__content{
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:34px 0 !important;
}

body.tax-product_brand .bb-brand-hero__logo{
    margin:0 0 24px;
}

body.tax-product_brand .bb-brand-hero__logo img{
    max-width:190px;
    max-height:72px;
}

body.tax-product_brand .bb-brand-hero h1{
    max-width:600px;
    margin:0;
    font-size:clamp(40px,4.2vw,60px);
    line-height:1.02;
    letter-spacing:-.035em;
    color:#050d35;
}

body.tax-product_brand .bb-brand-hero__intro{
    max-width:570px;
    margin-top:22px;
    font-size:17px;
    line-height:1.65;
    color:#596579;
}

body.tax-product_brand .bb-brand-hero__media{
    min-height:0;
    aspect-ratio:16 / 10;
    overflow:hidden;
    border-radius:10px;
    background:#f2f4f7;
}

body.tax-product_brand .bb-brand-hero__media img{
    width:100%;
    height:100%;
    min-height:0;
    object-fit:cover;
    object-position:center;
}


/* ==================================================
   BLOQUE EDITORIAL / HISTORIA DE MARCA
   ================================================== */

body.tax-product_brand .bb-brand-story{
    padding:68px 0;
    background:#050d35;
}

body.tax-product_brand .bb-brand-story__grid{
    display:grid;
    grid-template-columns:minmax(0,1.12fr) minmax(360px,.88fr);
    align-items:center;
    gap:64px;
}

body.tax-product_brand .bb-brand-story__media{
    border-radius:10px;
    overflow:hidden;
}

body.tax-product_brand .bb-brand-story__media img{
    width:100%;
    aspect-ratio:16 / 10;
    object-fit:cover;
}

body.tax-product_brand .bb-brand-story__content{
    max-width:520px;
}

body.tax-product_brand .bb-brand-story__content h2{
    margin:0;
    font-size:clamp(34px,3.8vw,52px);
    line-height:1.02;
    letter-spacing:-.035em;
    color:#fff;
}

body.tax-product_brand .bb-brand-story__text{
    margin-top:24px;
    font-size:17px;
    line-height:1.72;
    color:rgba(255,255,255,.82);
}


/* ==================================================
   ZONA DE CATALOGO DE MARCA
   ================================================== */

body.tax-product_brand .bb-catalog__content{
    padding-top:56px !important;
}

body.tax-product_brand .bb-catalog__brand-products-heading{
    margin:0 0 26px;
}

body.tax-product_brand .bb-catalog__brand-products-heading h2{
    margin:0;
    color:#050d35;
    font-size:clamp(30px,3vw,42px);
    line-height:1.08;
    letter-spacing:-.025em;
}


/* ==================================================
   BUSCADOR DE MARCA
   ================================================== */

body.tax-product_brand .bb-catalog__search-row{
    margin-top:0;
    margin-bottom:30px;
}

body.tax-product_brand .bb-catalog__search{
    padding:0;
}


/* ==================================================
   SIDEBAR DE MARCA
   ================================================== */

body.tax-product_brand .bb-catalog__sidebar{
    border-color:#e1e5ea;
}

body.tax-product_brand .bb-catalog__category-title{
    margin:0 0 12px;
    color:#050d35;
    font-size:14px;
    line-height:1.3;
    font-weight:700;
}

body.tax-product_brand .bb-catalog__children{
    display:flex;
    flex-direction:column;
    gap:9px;
}


/* ==================================================
   TABLET
   ================================================== */

@media(max-width:980px){

    body.tax-product_brand .bb-brand-hero{
        grid-template-columns:1fr;
        gap:24px;
        padding:24px 0 38px !important;
    }

    body.tax-product_brand .bb-brand-hero__media{
        order:1;
        aspect-ratio:16 / 9;
    }

    body.tax-product_brand .bb-brand-hero__content{
        order:2;
        padding:0 !important;
    }

    body.tax-product_brand .bb-brand-story{
        padding:54px 0;
    }

    body.tax-product_brand .bb-brand-story__grid{
        grid-template-columns:1fr;
        gap:34px;
    }

    body.tax-product_brand .bb-brand-story__content{
        max-width:680px;
    }

    body.tax-product_brand .bb-catalog__content{
        padding-top:44px !important;
    }

    body.tax-product_brand .bb-brand-families__grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}


/* ==================================================
   MOBILE
   ================================================== */

@media(max-width:620px){

    body.tax-product_brand .bb-brand-hero{
        gap:20px;
        padding:16px 0 30px !important;
    }

    body.tax-product_brand .bb-brand-hero__media{
        aspect-ratio:4 / 3;
        border-radius:7px;
    }

    body.tax-product_brand .bb-brand-hero__logo{
        margin-bottom:18px;
    }

    body.tax-product_brand .bb-brand-hero__logo img{
        max-width:150px;
        max-height:58px;
    }

    body.tax-product_brand .bb-brand-hero h1{
        font-size:38px;
    }

    body.tax-product_brand .bb-brand-hero__intro{
        margin-top:16px;
        font-size:16px;
        line-height:1.6;
    }

    body.tax-product_brand .bb-brand-story{
        padding:44px 0;
    }

    body.tax-product_brand .bb-brand-story__grid{
        gap:28px;
    }

    body.tax-product_brand .bb-brand-story__content h2{
        font-size:34px;
    }

    body.tax-product_brand .bb-brand-story__text{
        margin-top:18px;
        font-size:16px;
    }

    body.tax-product_brand .bb-catalog__content{
        padding-top:36px !important;
    }

    body.tax-product_brand .bb-catalog__brand-products-heading{
        margin-bottom:20px;
    }

    body.tax-product_brand .bb-catalog__brand-products-heading h2{
        font-size:30px;
    }

    body.tax-product_brand .bb-brand-families{
        margin-bottom:28px;
    }

    body.tax-product_brand .bb-brand-families__grid{
        grid-template-columns:1fr 1fr;
        gap:10px;
    }

    body.tax-product_brand .bb-brand-families__item{
        min-height:108px;
        padding:16px 14px;
    }

    body.tax-product_brand .bb-brand-families__name{
        max-width:100%;
        padding-right:6px;
        font-size:15px;
    }

    body.tax-product_brand .bb-brand-families__count{
        margin-top:20px;
        padding-right:24px;
        font-size:11px;
    }

    body.tax-product_brand .bb-brand-families__item::after{
        right:13px;
        bottom:13px;
        font-size:17px;
    }
}

/* ===== END BIG BOSS BRAND REDESIGN V1 ===== */

/* ==================================================
   PAGINAS DE MARCA
   Ajuste espaciado Hero -> Catalogo
   ================================================== */

body.tax-product_brand .bb-brand-hero{
    padding-bottom:18px !important;
}

body.tax-product_brand .bb-catalog__content{
    padding-top:26px !important;
}

@media(max-width:980px){

    body.tax-product_brand .bb-brand-hero{
        padding-bottom:14px !important;
    }

    body.tax-product_brand .bb-catalog__content{
        padding-top:22px !important;
    }
}

@media(max-width:620px){

    body.tax-product_brand .bb-brand-hero{
        padding-bottom:10px !important;
    }

    body.tax-product_brand .bb-catalog__content{
        padding-top:18px !important;
    }
}


/* BIG BOSS - Ancla del catalogo */
#catalogo-productos{
    scroll-margin-top:100px;
}

@media(max-width:980px){
    #catalogo-productos{
        scroll-margin-top:88px;
    }
}

@media(max-width:620px){
    #catalogo-productos{
        scroll-margin-top:76px;
    }
}


/* ==================================================
   BIG BOSS LATAM
   Evitar segundo salto vertical al aplicar filtros
   ================================================== */

body.post-type-archive-product,
body.tax-product_brand{
    overflow-anchor:none;
}

body.post-type-archive-product .bb-catalog__content,
body.tax-product_brand .bb-catalog__content{
    overflow-anchor:none;
}


/* BIG BOSS - Actualizacion AJAX del catalogo */
#catalogo-productos{
    transition:opacity .15s ease;
}

#catalogo-productos.bb-catalog--loading{
    opacity:.55;
    pointer-events:none;
    cursor:wait;
}

/* ==================================================
   FILTROS TECNICOS EN ACORDEON
   ================================================== */

.bb-catalog__category-item{
    width:100%;
}

.bb-catalog__category-row{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:8px;
    width:100%;
}

.bb-catalog__category-row > .bb-catalog__check-option{
    flex:1 1 auto;
    min-width:0;
}


/* Boton de flecha */

.bb-catalog__technical-toggle{
    display:flex;
    align-items:center;
    justify-content:center;

    flex:0 0 26px;
    width:26px;
    height:26px;

    margin:-3px 0 0;
    padding:0;

    border:0;
    border-radius:4px;

    background:transparent;
    color:#667085;

    cursor:pointer;
}

.bb-catalog__technical-toggle:hover{
    background:#f2f4f7;
    color:var(--bb-blue);
}

.bb-catalog__technical-toggle:focus{
    outline:2px solid var(--bb-blue);
    outline-offset:1px;
}


/* Flecha */

.bb-catalog__technical-chevron{
    display:block;

    font-size:15px;
    line-height:1;

    transition:transform .2s ease;
}

.bb-catalog__technical-toggle[aria-expanded="true"]
.bb-catalog__technical-chevron{
    transform:rotate(180deg);
}


/* Subtipos tecnicos */

.bb-catalog__technical-children{
    display:grid;
    gap:8px;

    margin-top:8px;
    padding-left:25px;
}

.bb-catalog__technical-children[hidden]{
    display:none;
}

.bb-catalog__technical-children
.bb-catalog__check-option{
    font-size:13px;
    line-height:1.35;
}
