/* Tecnonova Supplier Sync — integración visual del catálogo con el tema Tecnonova */
body.bnss-catalog-ui,
body.bnss-catalog-ui #wrap_all,
body.bnss-catalog-ui .bitnova-main,
body.bnss-catalog-ui .bitnova-inner-main {
    background:#020b12!important;
    color:#eaf7ff;
}

body.bnss-catalog-ui .bitnova-shop-shell,
body.bnss-catalog-ui .bitnova-page-content {
    width:min(calc(100% - 64px),1460px)!important;
    max-width:1460px!important;
    margin-inline:auto!important;
    padding:34px 0 72px!important;
}

.bnss-catalog-hero {
    position:relative;
    overflow:hidden;
    margin:0 0 30px;
    padding:36px 38px;
    border:1px solid rgba(21,200,255,.22);
    border-radius:18px;
    background:
        radial-gradient(circle at 82% 20%,rgba(36,71,255,.25),transparent 31%),
        linear-gradient(118deg,#061926 0%,#04111a 58%,#061a2c 100%);
    box-shadow:0 22px 60px rgba(0,0,0,.2);
}
.bnss-catalog-hero:after{content:"";position:absolute;right:-90px;top:-130px;width:360px;height:360px;border-radius:50%;background:rgba(0,197,255,.08);filter:blur(18px);pointer-events:none}
.bnss-catalog-hero>span{display:block;margin-bottom:8px;color:#48d9ff;font-size:11px;font-weight:900;letter-spacing:2.2px}
.bnss-catalog-hero h1{position:relative!important;margin:0 0 8px!important;color:#fff!important;font-family:"Russo One","Arial Black",sans-serif!important;font-size:clamp(32px,4vw,58px)!important;line-height:1!important;font-weight:400!important}
.bnss-catalog-hero p{position:relative;max-width:720px;margin:0!important;color:#a9c0cf!important;font-size:15px}

body.bnss-catalog-ui .woocommerce-breadcrumb{margin:0 0 18px!important;color:#668194!important;font-size:12px!important}
body.bnss-catalog-ui .woocommerce-breadcrumb a{color:#9cb6c6!important}
body.bnss-catalog-ui .woocommerce-result-count{color:#7f98a8!important}
body.bnss-catalog-ui .woocommerce-ordering select,
body.bnss-catalog-ui .select2-selection,
body.bnss-catalog-ui input.input-text,
body.bnss-catalog-ui textarea,
body.bnss-catalog-ui select{border:1px solid #163b50!important;border-radius:9px!important;background:#081923!important;color:#dff6ff!important}

body.bnss-catalog-ui .bitnova-shop-shell ul.products {
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:18px!important;
    width:100%!important;
    margin:26px 0 0!important;
    padding:0!important;
}
body.bnss-catalog-ui .bitnova-shop-shell ul.products:before,
body.bnss-catalog-ui .bitnova-shop-shell ul.products:after{display:none!important}
body.bnss-catalog-ui .bitnova-shop-shell ul.products li.product {
    float:none!important;
    width:auto!important;
    min-width:0!important;
    margin:0!important;
    padding:0 0 15px!important;
    overflow:hidden!important;
    border:1px solid rgba(95,179,220,.15)!important;
    border-radius:13px!important;
    background:linear-gradient(180deg,#0a1b27,#071721)!important;
    box-shadow:0 10px 28px rgba(0,0,0,.12)!important;
    transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease!important;
}
body.bnss-catalog-ui .bitnova-shop-shell ul.products li.product:hover{transform:translateY(-4px);border-color:rgba(21,200,255,.42)!important;box-shadow:0 20px 38px rgba(0,131,190,.12)!important}
body.bnss-catalog-ui ul.products li.product a.woocommerce-LoopProduct-link{display:block!important}
body.bnss-catalog-ui ul.products li.product img{
    width:100%!important;
    height:auto!important;
    aspect-ratio:1/1!important;
    margin:0!important;
    padding:13px!important;
    object-fit:contain!important;
    background:#fff!important;
}
body.bnss-catalog-ui ul.products li.product .woocommerce-loop-product__title{min-height:48px;margin:13px 14px 5px!important;padding:0!important;color:#f4fbff!important;font-size:15px!important;line-height:1.3!important;font-weight:800!important}
body.bnss-catalog-ui ul.products li.product .price{display:block;margin:8px 14px 12px!important;color:#fff!important;font-size:19px!important;font-weight:900!important}
body.bnss-catalog-ui ul.products li.product .price del{color:#637c8b!important;font-size:12px!important}
body.bnss-catalog-ui ul.products li.product .price ins{color:#ff5263!important;text-decoration:none!important}
body.bnss-catalog-ui ul.products li.product .button{display:flex!important;align-items:center!important;justify-content:center!important;width:calc(100% - 28px)!important;min-height:42px!important;margin:0 14px!important;padding:9px 12px!important;border:0!important;border-radius:7px!important;background:linear-gradient(135deg,#14c8f5,#20b7e7)!important;color:#00121c!important;font-weight:900!important;text-align:center!important}
body.bnss-catalog-ui ul.products li.product .added_to_cart{display:block;margin:10px 14px 0;color:#4fe0ff!important}
body.bnss-catalog-ui span.onsale{top:10px!important;left:10px!important;right:auto!important;min-width:0!important;min-height:0!important;padding:6px 9px!important;border-radius:6px!important;background:#ff3852!important;line-height:1!important;font-size:11px!important}

/* Ficha de producto */
body.bnss-catalog-ui.single-product .bitnova-shop-shell{padding-top:34px!important}
body.bnss-catalog-ui.single-product div.product{display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr)!important;gap:46px!important;align-items:start!important}
body.bnss-catalog-ui.single-product div.product .woocommerce-product-gallery,
body.bnss-catalog-ui.single-product div.product .summary{float:none!important;width:100%!important;margin:0!important}
body.bnss-catalog-ui.single-product .woocommerce-product-gallery{padding:18px;border:1px solid rgba(21,200,255,.16);border-radius:16px;background:#071721}
body.bnss-catalog-ui.single-product .woocommerce-product-gallery__image a{display:flex;align-items:center;justify-content:center;background:radial-gradient(circle,#102a3b,#06131d 70%);border-radius:10px;overflow:hidden}
body.bnss-catalog-ui.single-product .woocommerce-product-gallery__image img{width:100%!important;aspect-ratio:1/1;object-fit:contain!important;padding:18px;background:transparent!important}
body.bnss-catalog-ui.single-product .flex-control-thumbs{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px!important;margin-top:10px!important}
body.bnss-catalog-ui.single-product .flex-control-thumbs li{float:none!important;width:auto!important;border:1px solid #173a4f;border-radius:7px;overflow:hidden}
body.bnss-catalog-ui.single-product .summary .product_title{margin:0 0 12px!important;color:#fff!important;font-family:"Russo One","Arial Black",sans-serif!important;font-size:clamp(28px,3vw,46px)!important;line-height:1.08!important;font-weight:400!important}
body.bnss-catalog-ui.single-product .summary .price{margin:16px 0!important;color:#fff!important;font-size:30px!important;font-weight:900!important}
body.bnss-catalog-ui.single-product .summary .woocommerce-product-details__short-description{color:#9fb8c7!important;font-size:15px;line-height:1.65}
body.bnss-catalog-ui.single-product .stock{color:#46db8a!important;font-weight:750!important}
body.bnss-catalog-ui.single-product form.cart{display:flex;gap:10px;margin:24px 0!important}
body.bnss-catalog-ui.single-product form.cart .quantity input{height:48px!important;border-radius:8px!important}
body.bnss-catalog-ui.single-product .single_add_to_cart_button{min-height:48px!important;padding:0 28px!important;border:0!important;border-radius:8px!important;background:linear-gradient(135deg,#14c8f5,#20b7e7)!important;color:#00131d!important;font-weight:900!important}
body.bnss-catalog-ui.single-product .product_meta{padding-top:18px;border-top:1px solid rgba(126,182,211,.13);color:#738f9f!important}
body.bnss-catalog-ui.single-product .product_meta a{color:#49d8ff!important}

.bnss-product-meta{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}
.bnss-product-meta>span{min-width:150px;padding:11px 13px;border:1px solid #173c50;border-radius:9px;background:#071a25}
.bnss-product-meta small{display:block;color:#6f8c9e;font-size:10px;text-transform:uppercase;letter-spacing:1px}.bnss-product-meta strong{display:block;margin-top:2px;color:#e9f9ff;font-size:13px}
.bnss-product-trust{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:22px 0 0}
.bnss-product-trust>span{display:grid;grid-template-columns:30px 1fr;grid-template-rows:auto auto;column-gap:8px;padding:10px;border:1px solid rgba(21,200,255,.16);border-radius:9px;background:#061823}.bnss-product-trust b{grid-row:1/3;display:flex;align-items:center;justify-content:center;width:30px;height:30px;border:1px solid #0e6e95;border-radius:7px;color:#27d0ff}.bnss-product-trust strong{color:#e9f7fd;font-size:11px}.bnss-product-trust small{color:#68889a;font-size:9px}

body.bnss-catalog-ui .woocommerce-tabs{grid-column:1/-1!important;margin-top:12px!important;padding-top:25px;border-top:1px solid rgba(83,155,190,.17)}
body.bnss-catalog-ui .woocommerce-tabs ul.tabs{padding:0!important;margin:0 0 18px!important;border:0!important}
body.bnss-catalog-ui .woocommerce-tabs ul.tabs:before{display:none!important}
body.bnss-catalog-ui .woocommerce-tabs ul.tabs li{border:1px solid #153a4f!important;border-radius:8px!important;background:#071925!important}
body.bnss-catalog-ui .woocommerce-tabs ul.tabs li.active{background:#0c2939!important;border-color:#16a9df!important}
body.bnss-catalog-ui .woocommerce-tabs ul.tabs li a{color:#d9f5ff!important}
body.bnss-catalog-ui .woocommerce-Tabs-panel{padding:22px!important;border:1px solid rgba(65,145,183,.16)!important;border-radius:12px!important;background:#061620!important;color:#a9c2d0!important}
body.bnss-catalog-ui .woocommerce-Tabs-panel h2{color:#fff!important;font-family:"Russo One","Arial Black",sans-serif!important}

/* Carrito / checkout / cuenta */
body.bnss-catalog-ui table.shop_table{overflow:hidden;border:1px solid #16384b!important;border-radius:10px!important;background:#071721!important;color:#c8dde8!important}
body.bnss-catalog-ui table.shop_table th,body.bnss-catalog-ui table.shop_table td{border-color:#153346!important}
body.bnss-catalog-ui .woocommerce-message,body.bnss-catalog-ui .woocommerce-info,body.bnss-catalog-ui .woocommerce-error{border:1px solid #17495f!important;border-radius:9px!important;background:#071c29!important;color:#d9f6ff!important}
body.bnss-catalog-ui .woocommerce-checkout #payment{border:1px solid #163a4e!important;border-radius:12px!important;background:#071a25!important}
body.bnss-catalog-ui .woocommerce-MyAccount-navigation ul{overflow:hidden;border:1px solid #163a4e;border-radius:10px;background:#071925}
body.bnss-catalog-ui .woocommerce-MyAccount-navigation a{display:block;padding:11px 13px!important;color:#bdd7e5!important;border-bottom:1px solid #123044}

@media(max-width:1180px){body.bnss-catalog-ui .bitnova-shop-shell ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:900px){
 body.bnss-catalog-ui .bitnova-shop-shell,body.bnss-catalog-ui .bitnova-page-content{width:calc(100% - 32px)!important}
 body.bnss-catalog-ui.single-product div.product{grid-template-columns:1fr!important;gap:24px!important}
 body.bnss-catalog-ui .bitnova-shop-shell ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .bnss-product-trust{grid-template-columns:1fr!important}
}
@media(max-width:560px){
 body.bnss-catalog-ui .bitnova-shop-shell,body.bnss-catalog-ui .bitnova-page-content{width:calc(100% - 24px)!important;padding-top:20px!important}
 .bnss-catalog-hero{padding:24px 19px;margin-bottom:20px;border-radius:13px}.bnss-catalog-hero h1{font-size:32px!important}.bnss-catalog-hero p{font-size:13px!important}
 body.bnss-catalog-ui .bitnova-shop-shell ul.products{grid-template-columns:1fr!important;gap:12px!important;margin-top:18px!important}
 body.bnss-catalog-ui ul.products li.product img{aspect-ratio:4/3!important;padding:15px!important}
 body.bnss-catalog-ui ul.products li.product .woocommerce-loop-product__title{min-height:0!important;font-size:15px!important}
 body.bnss-catalog-ui.single-product .woocommerce-product-gallery{padding:10px}
 body.bnss-catalog-ui.single-product .summary .product_title{font-size:30px!important}
 body.bnss-catalog-ui.single-product form.cart{flex-wrap:wrap}.bnss-product-meta{display:grid;grid-template-columns:1fr 1fr}.bnss-product-meta>span{min-width:0}
 body.bnss-catalog-ui .woocommerce-tabs ul.tabs{display:flex!important;gap:6px;overflow-x:auto}
 body.bnss-catalog-ui .woocommerce-tabs ul.tabs li{flex:0 0 auto!important;margin:0!important}
}


/* ==========================================================
   Tecnonova Supplier Sync 1.3 — ficha de producto reparada
   ========================================================== */
body.bnss-catalog-ui,
body.bnss-catalog-ui #main,
body.bnss-catalog-ui .main_color,
body.bnss-catalog-ui .container_wrap,
body.bnss-catalog-ui .template-shop {
    background:#020d14 !important;
    color:#d3e4ed !important;
}

body.bnss-catalog-ui.single-product .bitnova-inner-main {
    padding-top:28px !important;
}

body.bnss-catalog-ui.single-product .bitnova-shop-shell {
    width:min(1460px, calc(100% - 48px)) !important;
    max-width:none !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
}

/* Enfold puede introducir tabs/related dentro o fuera de .product.
   Flex-wrap evita que queden atrapados en la columna derecha. */
body.bnss-catalog-ui.single-product .bitnova-shop-shell div.product {
    display:flex !important;
    flex-wrap:wrap !important;
    align-items:flex-start !important;
    gap:34px 46px !important;
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
}

body.bnss-catalog-ui.single-product .bitnova-shop-shell div.product > .woocommerce-product-gallery,
body.bnss-catalog-ui.single-product .bitnova-shop-shell div.product .woocommerce-product-gallery {
    flex:0 1 520px !important;
    width:520px !important;
    max-width:520px !important;
    min-width:0 !important;
    margin:0 !important;
    float:none !important;
    box-sizing:border-box !important;
}

body.bnss-catalog-ui.single-product .bitnova-shop-shell div.product > .summary,
body.bnss-catalog-ui.single-product .bitnova-shop-shell div.product .summary {
    flex:1 1 600px !important;
    width:auto !important;
    max-width:none !important;
    min-width:0 !important;
    margin:0 !important;
    float:none !important;
    box-sizing:border-box !important;
}

body.bnss-catalog-ui.single-product .woocommerce-product-gallery,
body.bnss-catalog-ui.single-product .woocommerce-product-gallery__wrapper,
body.bnss-catalog-ui.single-product .woocommerce-product-gallery__image,
body.bnss-catalog-ui.single-product .woocommerce-product-gallery__image a {
    width:100% !important;
    max-width:none !important;
}

body.bnss-catalog-ui.single-product .woocommerce-product-gallery {
    padding:14px !important;
    border:1px solid rgba(21,200,255,.20) !important;
    border-radius:16px !important;
    background:#061722 !important;
    overflow:hidden !important;
}

body.bnss-catalog-ui.single-product .woocommerce-product-gallery__image a {
    min-height:480px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    border-radius:12px !important;
    background:#f7f9fa !important;
}

body.bnss-catalog-ui.single-product .woocommerce-product-gallery__image img {
    display:block !important;
    width:100% !important;
    height:480px !important;
    max-height:480px !important;
    padding:24px !important;
    object-fit:contain !important;
    background:#f7f9fa !important;
}

body.bnss-catalog-ui.single-product .flex-control-thumbs img {
    width:100% !important;
    height:74px !important;
    padding:5px !important;
    object-fit:contain !important;
    background:#fff !important;
}

/* Descripción, especificaciones y relacionados siempre a ancho completo */
body.bnss-catalog-ui.single-product .bitnova-shop-shell .woocommerce-tabs,
body.bnss-catalog-ui.single-product .bitnova-shop-shell .wc-tabs-wrapper,
body.bnss-catalog-ui.single-product .bitnova-shop-shell section.related.products,
body.bnss-catalog-ui.single-product .bitnova-shop-shell section.upsells.products,
body.bnss-catalog-ui.single-product .bitnova-shop-shell div.product > .woocommerce-tabs,
body.bnss-catalog-ui.single-product .bitnova-shop-shell div.product > section.related.products,
body.bnss-catalog-ui.single-product .bitnova-shop-shell div.product > section.upsells.products {
    flex:0 0 100% !important;
    clear:both !important;
    width:100% !important;
    max-width:none !important;
    margin-left:0 !important;
    margin-right:0 !important;
    float:none !important;
    box-sizing:border-box !important;
}

body.bnss-catalog-ui.single-product .woocommerce-tabs {
    margin-top:18px !important;
    padding:0 !important;
    border:0 !important;
}

body.bnss-catalog-ui.single-product .woocommerce-tabs ul.tabs {
    margin:0 0 10px !important;
}

body.bnss-catalog-ui.single-product .woocommerce-Tabs-panel,
body.bnss-catalog-ui.single-product .woocommerce-tabs .panel {
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:26px 30px !important;
    border:1px solid rgba(21,200,255,.16) !important;
    border-radius:14px !important;
    background:#061722 !important;
    color:#b9d4e2 !important;
    box-sizing:border-box !important;
}

body.bnss-catalog-ui.single-product .woocommerce-Tabs-panel h2,
body.bnss-catalog-ui.single-product .woocommerce-tabs .panel h2 {
    margin:0 0 18px !important;
    color:#fff !important;
    font-size:24px !important;
    line-height:1.2 !important;
}

body.bnss-catalog-ui.single-product .woocommerce-Tabs-panel ul,
body.bnss-catalog-ui.single-product .woocommerce-tabs .panel ul {
    margin:14px 0 0 !important;
    padding-left:24px !important;
}

body.bnss-catalog-ui.single-product .woocommerce-Tabs-panel li,
body.bnss-catalog-ui.single-product .woocommerce-tabs .panel li {
    margin:0 0 12px !important;
    color:#b9d4e2 !important;
    line-height:1.65 !important;
}

/* Relacionados: elimina los bloques blancos heredados de Enfold */
body.bnss-catalog-ui.single-product section.related.products,
body.bnss-catalog-ui.single-product section.upsells.products {
    margin-top:30px !important;
    padding:26px !important;
    border:1px solid rgba(21,200,255,.14) !important;
    border-radius:16px !important;
    background:#05151f !important;
}

body.bnss-catalog-ui.single-product section.related.products > h2,
body.bnss-catalog-ui.single-product section.upsells.products > h2 {
    margin:0 0 20px !important;
    color:#fff !important;
    font-size:25px !important;
}

body.bnss-catalog-ui.single-product section.related ul.products,
body.bnss-catalog-ui.single-product section.upsells ul.products {
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:14px !important;
    margin:0 !important;
}

body.bnss-catalog-ui.single-product section.related ul.products li.product,
body.bnss-catalog-ui.single-product section.upsells ul.products li.product,
body.bnss-catalog-ui.single-product section.related .inner_product,
body.bnss-catalog-ui.single-product section.upsells .inner_product,
body.bnss-catalog-ui.single-product section.related .inner_product_header,
body.bnss-catalog-ui.single-product section.upsells .inner_product_header,
body.bnss-catalog-ui.single-product section.related .thumbnail_container,
body.bnss-catalog-ui.single-product section.upsells .thumbnail_container,
body.bnss-catalog-ui.single-product section.related .avia_cart_buttons,
body.bnss-catalog-ui.single-product section.upsells .avia_cart_buttons {
    border-color:rgba(21,200,255,.13) !important;
    background:#081a25 !important;
    color:#dff5ff !important;
    box-shadow:none !important;
}

body.bnss-catalog-ui.single-product section.related ul.products li.product,
body.bnss-catalog-ui.single-product section.upsells ul.products li.product {
    overflow:hidden !important;
    min-width:0 !important;
    padding:0 !important;
    border:1px solid rgba(21,200,255,.13) !important;
    border-radius:12px !important;
}

body.bnss-catalog-ui.single-product section.related li.product img,
body.bnss-catalog-ui.single-product section.upsells li.product img {
    width:100% !important;
    height:210px !important;
    padding:14px !important;
    object-fit:contain !important;
    background:#f6f8f9 !important;
}

body.bnss-catalog-ui.single-product section.related li.product h2,
body.bnss-catalog-ui.single-product section.related li.product h3,
body.bnss-catalog-ui.single-product section.upsells li.product h2,
body.bnss-catalog-ui.single-product section.upsells li.product h3,
body.bnss-catalog-ui.single-product section.related .woocommerce-loop-product__title,
body.bnss-catalog-ui.single-product section.upsells .woocommerce-loop-product__title {
    min-height:0 !important;
    color:#f0fbff !important;
}

body.bnss-catalog-ui.single-product section.related .avia_cart_buttons,
body.bnss-catalog-ui.single-product section.upsells .avia_cart_buttons {
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:7px !important;
    padding:12px !important;
    border-top:1px solid rgba(255,255,255,.06) !important;
}

body.bnss-catalog-ui.single-product section.related .avia_cart_buttons a,
body.bnss-catalog-ui.single-product section.upsells .avia_cart_buttons a {
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:38px !important;
    margin:0 !important;
    border:0 !important;
    border-radius:7px !important;
    background:linear-gradient(135deg,#14c8f5,#20b7e7) !important;
    color:#00131d !important;
    font-weight:850 !important;
}

/* Footer/marcas del tema: evita texto negro en páginas WooCommerce */
body.bnss-catalog-ui .bitnova-brands-track a,
body.bnss-catalog-ui .bitnova-brands-track span {
    color:#d8edf7 !important;
}

@media(max-width:1100px){
    body.bnss-catalog-ui.single-product .bitnova-shop-shell div.product > .woocommerce-product-gallery,
    body.bnss-catalog-ui.single-product .bitnova-shop-shell div.product .woocommerce-product-gallery {
        flex:0 1 430px !important;
        width:430px !important;
        max-width:430px !important;
    }
    body.bnss-catalog-ui.single-product .woocommerce-product-gallery__image a,
    body.bnss-catalog-ui.single-product .woocommerce-product-gallery__image img {
        min-height:400px !important;
        height:400px !important;
        max-height:400px !important;
    }
    body.bnss-catalog-ui.single-product section.related ul.products,
    body.bnss-catalog-ui.single-product section.upsells ul.products {
        grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    }
}

@media(max-width:820px){
    body.bnss-catalog-ui.single-product .bitnova-shop-shell {
        width:calc(100% - 28px) !important;
    }
    body.bnss-catalog-ui.single-product .bitnova-shop-shell div.product {
        display:block !important;
    }
    body.bnss-catalog-ui.single-product .bitnova-shop-shell div.product > .woocommerce-product-gallery,
    body.bnss-catalog-ui.single-product .bitnova-shop-shell div.product .woocommerce-product-gallery,
    body.bnss-catalog-ui.single-product .bitnova-shop-shell div.product > .summary,
    body.bnss-catalog-ui.single-product .bitnova-shop-shell div.product .summary {
        width:100% !important;
        max-width:none !important;
        margin:0 0 22px !important;
    }
    body.bnss-catalog-ui.single-product .woocommerce-product-gallery__image a,
    body.bnss-catalog-ui.single-product .woocommerce-product-gallery__image img {
        min-height:0 !important;
        height:auto !important;
        max-height:520px !important;
        aspect-ratio:1/1 !important;
    }
    body.bnss-catalog-ui.single-product section.related ul.products,
    body.bnss-catalog-ui.single-product section.upsells ul.products {
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    }
}

@media(max-width:560px){
    body.bnss-catalog-ui.single-product .bitnova-shop-shell {
        width:calc(100% - 20px) !important;
    }
    body.bnss-catalog-ui.single-product .woocommerce-product-gallery {
        padding:8px !important;
    }
    body.bnss-catalog-ui.single-product .woocommerce-product-gallery__image img {
        padding:12px !important;
    }
    body.bnss-catalog-ui.single-product .summary .product_title {
        font-size:clamp(28px,10vw,38px) !important;
        overflow-wrap:anywhere !important;
    }
    body.bnss-catalog-ui.single-product .woocommerce-Tabs-panel,
    body.bnss-catalog-ui.single-product .woocommerce-tabs .panel,
    body.bnss-catalog-ui.single-product section.related.products,
    body.bnss-catalog-ui.single-product section.upsells.products {
        padding:17px !important;
        border-radius:12px !important;
    }
    body.bnss-catalog-ui.single-product section.related ul.products,
    body.bnss-catalog-ui.single-product section.upsells ul.products {
        grid-template-columns:1fr !important;
    }
    body.bnss-catalog-ui.single-product section.related li.product img,
    body.bnss-catalog-ui.single-product section.upsells li.product img {
        height:240px !important;
    }
}

/* ==========================================================
   Tecnonova Supplier Sync 1.4 — ficha WooCommerce / Enfold
   Layout estable, relacionados anchos y responsive real
   ========================================================== */

/* Contenedor general de producto */
body.bnss-catalog-ui.single-product .bitnova-shop-shell {
    width:min(1480px, calc(100% - 48px)) !important;
    max-width:1480px !important;
    margin:0 auto !important;
    padding:30px 0 72px !important;
    box-sizing:border-box !important;
}

/* WooCommerce nativo: imagen + resumen en dos columnas */
body.bnss-catalog-ui.single-product .bitnova-shop-shell div.product {
    display:grid !important;
    grid-template-columns:minmax(420px, 0.92fr) minmax(0, 1.08fr) !important;
    column-gap:56px !important;
    row-gap:34px !important;
    align-items:start !important;
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
    overflow:visible !important;
}

/* Por si alguna versión de Enfold conserva sus wrappers */
body.bnss-catalog-ui.single-product .single-product-main-image,
body.bnss-catalog-ui.single-product .single-product-summary {
    float:none !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    margin:0 !important;
    padding:0 !important;
    clear:none !important;
}
body.bnss-catalog-ui.single-product .single-product-main-image {
    grid-column:1 !important;
}
body.bnss-catalog-ui.single-product .single-product-summary {
    grid-column:2 !important;
}

body.bnss-catalog-ui.single-product .bitnova-shop-shell div.product > .woocommerce-product-gallery,
body.bnss-catalog-ui.single-product .bitnova-shop-shell div.product > .summary {
    float:none !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    margin:0 !important;
    box-sizing:border-box !important;
}
body.bnss-catalog-ui.single-product .bitnova-shop-shell div.product > .woocommerce-product-gallery { grid-column:1 !important; }
body.bnss-catalog-ui.single-product .bitnova-shop-shell div.product > .summary { grid-column:2 !important; }

/* Galería */
body.bnss-catalog-ui.single-product .woocommerce-product-gallery {
    position:relative !important;
    padding:14px !important;
    border:1px solid rgba(23,201,255,.24) !important;
    border-radius:18px !important;
    background:linear-gradient(180deg,#071923,#05131c) !important;
    box-shadow:0 18px 50px rgba(0,0,0,.18) !important;
    overflow:hidden !important;
}
body.bnss-catalog-ui.single-product .woocommerce-product-gallery__wrapper {
    width:100% !important;
    margin:0 !important;
}
body.bnss-catalog-ui.single-product .woocommerce-product-gallery__image,
body.bnss-catalog-ui.single-product .woocommerce-product-gallery__image a {
    width:100% !important;
    max-width:none !important;
}
body.bnss-catalog-ui.single-product .woocommerce-product-gallery__image a {
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:520px !important;
    border-radius:13px !important;
    background:#fff !important;
    overflow:hidden !important;
}
body.bnss-catalog-ui.single-product .woocommerce-product-gallery__image img {
    display:block !important;
    width:100% !important;
    height:520px !important;
    max-height:520px !important;
    margin:0 !important;
    padding:24px !important;
    object-fit:contain !important;
    background:#fff !important;
}
body.bnss-catalog-ui.single-product .flex-control-thumbs {
    display:grid !important;
    grid-template-columns:repeat(5,minmax(0,82px)) !important;
    gap:10px !important;
    justify-content:start !important;
    width:100% !important;
    margin:12px 0 0 !important;
    padding:0 !important;
}
body.bnss-catalog-ui.single-product .flex-control-thumbs li {
    float:none !important;
    width:82px !important;
    height:82px !important;
    margin:0 !important;
    border:1px solid #1b4a61 !important;
    border-radius:9px !important;
    background:#fff !important;
    overflow:hidden !important;
}
body.bnss-catalog-ui.single-product .flex-control-thumbs img {
    width:100% !important;
    height:100% !important;
    padding:6px !important;
    object-fit:contain !important;
    background:#fff !important;
}

/* Resumen */
body.bnss-catalog-ui.single-product .summary.entry-summary {
    padding:8px 0 0 !important;
}
body.bnss-catalog-ui.single-product .summary .product_title {
    max-width:900px !important;
    margin:0 0 18px !important;
    color:#fff !important;
    font-size:clamp(34px,3.25vw,54px) !important;
    line-height:1.06 !important;
    letter-spacing:-.02em !important;
    overflow-wrap:anywhere !important;
}
body.bnss-catalog-ui.single-product .summary p.price {
    margin:0 0 20px !important;
    color:#fff !important;
    font-size:32px !important;
    line-height:1 !important;
    font-weight:900 !important;
}
body.bnss-catalog-ui.single-product .summary .woocommerce-product-details__short-description {
    max-width:760px !important;
    margin-bottom:18px !important;
    color:#c4dbe7 !important;
    font-size:15px !important;
    line-height:1.65 !important;
}
body.bnss-catalog-ui.single-product form.cart {
    display:flex !important;
    align-items:center !important;
    gap:16px !important;
    margin:22px 0 24px !important;
}
body.bnss-catalog-ui.single-product form.cart .quantity {
    float:none !important;
    margin:0 !important;
}
body.bnss-catalog-ui.single-product form.cart .single_add_to_cart_button {
    min-width:190px !important;
    min-height:50px !important;
    border:0 !important;
    border-radius:9px !important;
    background:linear-gradient(135deg,#15cdf7,#20b9e9) !important;
    color:#00131d !important;
    font-weight:900 !important;
}

/* Tabs a todo el ancho */
body.bnss-catalog-ui.single-product .bitnova-shop-shell div.product > .woocommerce-tabs,
body.bnss-catalog-ui.single-product .bitnova-shop-shell div.product > .wc-tabs-wrapper,
body.bnss-catalog-ui.single-product .bitnova-shop-shell div.product > section.related.products,
body.bnss-catalog-ui.single-product .bitnova-shop-shell div.product > section.upsells.products {
    grid-column:1 / -1 !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    float:none !important;
    clear:both !important;
    margin-left:0 !important;
    margin-right:0 !important;
    box-sizing:border-box !important;
}
body.bnss-catalog-ui.single-product .woocommerce-tabs {
    margin-top:8px !important;
}
body.bnss-catalog-ui.single-product .woocommerce-tabs ul.tabs {
    display:flex !important;
    flex-wrap:wrap !important;
    gap:8px !important;
    width:100% !important;
    margin:0 0 12px !important;
    padding:0 !important;
    border:0 !important;
}
body.bnss-catalog-ui.single-product .woocommerce-tabs ul.tabs:before,
body.bnss-catalog-ui.single-product .woocommerce-tabs ul.tabs:after { display:none !important; }
body.bnss-catalog-ui.single-product .woocommerce-tabs ul.tabs li {
    float:none !important;
    display:block !important;
    margin:0 !important;
    padding:0 !important;
    border:1px solid #1b4b63 !important;
    border-radius:999px !important;
    background:#071923 !important;
}
body.bnss-catalog-ui.single-product .woocommerce-tabs ul.tabs li a {
    display:block !important;
    padding:9px 15px !important;
    color:#a9c7d6 !important;
    font-size:13px !important;
    line-height:1 !important;
    font-weight:800 !important;
}
body.bnss-catalog-ui.single-product .woocommerce-tabs ul.tabs li.active {
    border-color:#18c8f5 !important;
    background:#0c2938 !important;
}
body.bnss-catalog-ui.single-product .woocommerce-tabs ul.tabs li.active a { color:#fff !important; }
body.bnss-catalog-ui.single-product .woocommerce-Tabs-panel,
body.bnss-catalog-ui.single-product .woocommerce-tabs .panel {
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:28px 32px !important;
    border:1px solid rgba(21,200,255,.18) !important;
    border-radius:16px !important;
    background:linear-gradient(180deg,#071923,#061721) !important;
    color:#b9d8e6 !important;
    box-sizing:border-box !important;
}

/* Productos relacionados: 4 tarjetas de ancho real */
body.bnss-catalog-ui.single-product section.related.products,
body.bnss-catalog-ui.single-product section.upsells.products {
    width:100% !important;
    max-width:none !important;
    margin:8px 0 0 !important;
    padding:28px !important;
    border:1px solid rgba(21,200,255,.16) !important;
    border-radius:18px !important;
    background:#05151f !important;
    box-sizing:border-box !important;
}
body.bnss-catalog-ui.single-product section.related.products > h2,
body.bnss-catalog-ui.single-product section.upsells.products > h2 {
    margin:0 0 20px !important;
    color:#fff !important;
    font-size:27px !important;
    line-height:1.15 !important;
}
body.bnss-catalog-ui.single-product section.related ul.products,
body.bnss-catalog-ui.single-product section.upsells ul.products {
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:18px !important;
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
}
body.bnss-catalog-ui.single-product section.related ul.products:before,
body.bnss-catalog-ui.single-product section.related ul.products:after,
body.bnss-catalog-ui.single-product section.upsells ul.products:before,
body.bnss-catalog-ui.single-product section.upsells ul.products:after { display:none !important; }
body.bnss-catalog-ui.single-product section.related ul.products li.product,
body.bnss-catalog-ui.single-product section.upsells ul.products li.product {
    float:none !important;
    display:flex !important;
    flex-direction:column !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    height:100% !important;
    margin:0 !important;
    padding:0 0 14px !important;
    border:1px solid rgba(21,200,255,.15) !important;
    border-radius:13px !important;
    background:#081a25 !important;
    overflow:hidden !important;
    box-sizing:border-box !important;
}
body.bnss-catalog-ui.single-product section.related .inner_product,
body.bnss-catalog-ui.single-product section.upsells .inner_product,
body.bnss-catalog-ui.single-product section.related .inner_product_header,
body.bnss-catalog-ui.single-product section.upsells .inner_product_header,
body.bnss-catalog-ui.single-product section.related .thumbnail_container,
body.bnss-catalog-ui.single-product section.upsells .thumbnail_container {
    display:block !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    margin:0 !important;
    padding:0 !important;
    background:#081a25 !important;
    box-sizing:border-box !important;
}
body.bnss-catalog-ui.single-product section.related .thumbnail_container,
body.bnss-catalog-ui.single-product section.upsells .thumbnail_container {
    background:#fff !important;
}
body.bnss-catalog-ui.single-product section.related li.product img,
body.bnss-catalog-ui.single-product section.upsells li.product img {
    display:block !important;
    width:100% !important;
    height:230px !important;
    margin:0 !important;
    padding:18px !important;
    object-fit:contain !important;
    background:#fff !important;
}
body.bnss-catalog-ui.single-product section.related .woocommerce-loop-product__title,
body.bnss-catalog-ui.single-product section.upsells .woocommerce-loop-product__title,
body.bnss-catalog-ui.single-product section.related h2,
body.bnss-catalog-ui.single-product section.related h3,
body.bnss-catalog-ui.single-product section.upsells h2,
body.bnss-catalog-ui.single-product section.upsells h3 {
    min-height:0 !important;
    margin:14px 14px 7px !important;
    padding:0 !important;
    color:#f2fbff !important;
    font-size:15px !important;
    line-height:1.35 !important;
    font-weight:850 !important;
    overflow-wrap:anywhere !important;
}
body.bnss-catalog-ui.single-product section.related .price,
body.bnss-catalog-ui.single-product section.upsells .price {
    display:block !important;
    margin:8px 14px 14px !important;
    color:#fff !important;
    font-size:20px !important;
    font-weight:900 !important;
}
body.bnss-catalog-ui.single-product section.related .avia_cart_buttons,
body.bnss-catalog-ui.single-product section.upsells .avia_cart_buttons {
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:8px !important;
    width:100% !important;
    max-width:none !important;
    margin:auto 0 0 !important;
    padding:0 14px !important;
    border:0 !important;
    background:transparent !important;
    box-sizing:border-box !important;
}
body.bnss-catalog-ui.single-product section.related .avia_cart_buttons a,
body.bnss-catalog-ui.single-product section.upsells .avia_cart_buttons a,
body.bnss-catalog-ui.single-product section.related li.product .button,
body.bnss-catalog-ui.single-product section.upsells li.product .button {
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:100% !important;
    min-height:40px !important;
    margin:0 !important;
    padding:9px 10px !important;
    border:0 !important;
    border-radius:7px !important;
    background:linear-gradient(135deg,#15c9f4,#20b8e8) !important;
    color:#00131d !important;
    font-size:12px !important;
    font-weight:900 !important;
    line-height:1.1 !important;
    text-align:center !important;
    box-sizing:border-box !important;
}

@media(max-width:1180px){
    body.bnss-catalog-ui.single-product .bitnova-shop-shell div.product {
        grid-template-columns:minmax(360px,.9fr) minmax(0,1.1fr) !important;
        column-gap:36px !important;
    }
    body.bnss-catalog-ui.single-product .woocommerce-product-gallery__image a { min-height:440px !important; }
    body.bnss-catalog-ui.single-product .woocommerce-product-gallery__image img { height:440px !important; max-height:440px !important; }
    body.bnss-catalog-ui.single-product section.related ul.products,
    body.bnss-catalog-ui.single-product section.upsells ul.products { grid-template-columns:repeat(3,minmax(0,1fr)) !important; }
}

@media(max-width:860px){
    body.bnss-catalog-ui.single-product .bitnova-shop-shell {
        width:calc(100% - 28px) !important;
        padding-top:20px !important;
    }
    body.bnss-catalog-ui.single-product .bitnova-shop-shell div.product {
        display:block !important;
    }
    body.bnss-catalog-ui.single-product .single-product-main-image,
    body.bnss-catalog-ui.single-product .single-product-summary,
    body.bnss-catalog-ui.single-product .bitnova-shop-shell div.product > .woocommerce-product-gallery,
    body.bnss-catalog-ui.single-product .bitnova-shop-shell div.product > .summary {
        display:block !important;
        width:100% !important;
        max-width:none !important;
        margin:0 0 24px !important;
    }
    body.bnss-catalog-ui.single-product .woocommerce-product-gallery__image a { min-height:0 !important; }
    body.bnss-catalog-ui.single-product .woocommerce-product-gallery__image img {
        height:auto !important;
        max-height:560px !important;
        aspect-ratio:1/1 !important;
    }
    body.bnss-catalog-ui.single-product section.related ul.products,
    body.bnss-catalog-ui.single-product section.upsells ul.products { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
}

@media(max-width:560px){
    body.bnss-catalog-ui.single-product .bitnova-shop-shell { width:calc(100% - 20px) !important; }
    body.bnss-catalog-ui.single-product .summary .product_title { font-size:clamp(28px,10vw,38px) !important; }
    body.bnss-catalog-ui.single-product form.cart { flex-wrap:wrap !important; }
    body.bnss-catalog-ui.single-product form.cart .single_add_to_cart_button { width:100% !important; }
    body.bnss-catalog-ui.single-product .woocommerce-Tabs-panel,
    body.bnss-catalog-ui.single-product .woocommerce-tabs .panel,
    body.bnss-catalog-ui.single-product section.related.products,
    body.bnss-catalog-ui.single-product section.upsells.products { padding:16px !important; }
    body.bnss-catalog-ui.single-product section.related ul.products,
    body.bnss-catalog-ui.single-product section.upsells ul.products { grid-template-columns:1fr !important; }
    body.bnss-catalog-ui.single-product section.related li.product img,
    body.bnss-catalog-ui.single-product section.upsells li.product img { height:260px !important; }
}

/* ==========================================================
   Tecnonova Supplier Sync 1.5 — catálogo, filtros y lightbox
   ========================================================== */

/* El shell del tema no debe parecer una tarjeta gigante. */
body.bnss-catalog-ui .bitnova-shop-shell {
    min-height:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
}

/* Cabecera de catálogo/categoría. */
body.bnss-catalog-ui .bnss-catalog-hero {
    display:flex !important;
    align-items:flex-end !important;
    justify-content:space-between !important;
    gap:26px !important;
    min-height:170px !important;
    margin:0 0 22px !important;
    padding:30px 34px !important;
}
body.bnss-catalog-ui .bnss-catalog-hero-copy { position:relative; z-index:1; max-width:920px; }
body.bnss-catalog-ui .bnss-catalog-hero h1 {
    margin:0 0 10px !important;
    font-size:clamp(30px,3.2vw,48px) !important;
    line-height:1.02 !important;
}
body.bnss-catalog-ui .bnss-catalog-description,
body.bnss-catalog-ui .bnss-catalog-description p {
    margin:0 !important;
    color:#a9c0cf !important;
    font-size:14px !important;
    line-height:1.55 !important;
}
body.bnss-catalog-ui .bnss-catalog-count {
    position:relative;
    z-index:1;
    display:flex;
    min-width:112px;
    flex-direction:column;
    align-items:flex-end;
    color:#8da7b7;
}
body.bnss-catalog-ui .bnss-catalog-count strong { color:#fff; font-size:30px; line-height:1; }
body.bnss-catalog-ui .bnss-catalog-count span { margin-top:5px; font-size:12px; text-transform:uppercase; letter-spacing:1.2px; }

/* Barra avanzada de filtros. */
body.bnss-catalog-ui .bnss-catalog-toolbar {
    margin:0 0 26px !important;
    padding:18px !important;
    border:1px solid rgba(21,200,255,.16) !important;
    border-radius:15px !important;
    background:linear-gradient(180deg,rgba(8,27,40,.96),rgba(5,19,29,.96)) !important;
    box-shadow:0 14px 36px rgba(0,0,0,.14) !important;
}
body.bnss-catalog-ui .bnss-catalog-toolbar-top {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin-bottom:14px;
}
body.bnss-catalog-ui .bnss-catalog-toolbar-top > div { display:flex; align-items:baseline; gap:10px; }
body.bnss-catalog-ui .bnss-catalog-toolbar-top strong { color:#fff; font-size:16px; }
body.bnss-catalog-ui .bnss-catalog-toolbar-top span { color:#7895a6; font-size:12px; }
body.bnss-catalog-ui .bnss-filter-toggle {
    display:none;
    min-height:38px;
    padding:8px 14px;
    border:1px solid rgba(21,200,255,.28);
    border-radius:8px;
    background:#092131;
    color:#dff9ff;
    font-weight:800;
}
body.bnss-catalog-ui .bnss-filter-form {
    display:grid;
    grid-template-columns:minmax(220px,1.45fr) minmax(145px,.85fr) minmax(200px,1fr) minmax(175px,.95fr) minmax(120px,.65fr) auto;
    gap:10px;
    align-items:end;
}
body.bnss-catalog-ui .bnss-filter-field { display:flex; min-width:0; flex-direction:column; gap:6px; }
body.bnss-catalog-ui .bnss-filter-field > span { color:#7f9aab; font-size:10px; font-weight:800; letter-spacing:.85px; text-transform:uppercase; }
body.bnss-catalog-ui .bnss-filter-field input,
body.bnss-catalog-ui .bnss-filter-field select {
    width:100% !important;
    height:42px !important;
    margin:0 !important;
    padding:0 12px !important;
    border:1px solid #184157 !important;
    border-radius:8px !important;
    outline:0 !important;
    background:#061924 !important;
    color:#e7f8ff !important;
    box-sizing:border-box !important;
}
body.bnss-catalog-ui .bnss-filter-field input:focus,
body.bnss-catalog-ui .bnss-filter-field select:focus { border-color:#15c8ff !important; box-shadow:0 0 0 3px rgba(21,200,255,.08) !important; }
body.bnss-catalog-ui .bnss-filter-price > div { display:grid; grid-template-columns:1fr auto 1fr; gap:7px; align-items:center; }
body.bnss-catalog-ui .bnss-filter-price b { color:#5c7d90; font-weight:500; }
body.bnss-catalog-ui .bnss-stock-check {
    display:flex;
    align-items:center;
    gap:8px;
    min-height:42px;
    padding:0 12px;
    border:1px solid #184157;
    border-radius:8px;
    background:#061924;
    color:#d9eff8;
    font-size:12px;
    font-weight:700;
    white-space:nowrap;
}
body.bnss-catalog-ui .bnss-stock-check input { width:16px !important; height:16px !important; margin:0 !important; accent-color:#15c8ff; }
body.bnss-catalog-ui .bnss-filter-actions { display:grid; grid-template-columns:1fr; gap:6px; min-width:116px; }
body.bnss-catalog-ui .bnss-filter-actions button,
body.bnss-catalog-ui .bnss-filter-actions a {
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    margin:0 !important;
    padding:8px 15px !important;
    border-radius:8px !important;
    font-size:12px !important;
    font-weight:900 !important;
    text-decoration:none !important;
    box-sizing:border-box !important;
}
body.bnss-catalog-ui .bnss-filter-actions button { border:0 !important; background:linear-gradient(135deg,#15d4ff,#10b7ed) !important; color:#00131d !important; }
body.bnss-catalog-ui .bnss-filter-actions a { min-height:28px; border:1px solid rgba(255,255,255,.08) !important; background:#0b202c !important; color:#9bb8c8 !important; }

/* Chips de subcategorías. */
body.bnss-catalog-ui .bnss-category-chips { margin-top:14px; padding-top:14px; border-top:1px solid rgba(255,255,255,.06); }
body.bnss-catalog-ui .bnss-category-chips > span { display:block; margin-bottom:8px; color:#69899a; font-size:10px; font-weight:900; letter-spacing:1.1px; text-transform:uppercase; }
body.bnss-catalog-ui .bnss-category-chips > div { display:flex; gap:8px; overflow-x:auto; padding-bottom:2px; scrollbar-width:thin; }
body.bnss-catalog-ui .bnss-category-chips a {
    display:flex;
    flex:0 0 auto;
    align-items:center;
    gap:7px;
    min-height:34px;
    padding:7px 11px;
    border:1px solid rgba(21,200,255,.13);
    border-radius:999px;
    background:#071b27;
    color:#d9f3fc !important;
    font-size:11px;
    font-weight:800;
    text-decoration:none !important;
}
body.bnss-catalog-ui .bnss-category-chips a:hover { border-color:rgba(21,200,255,.44); background:#0a2636; }
body.bnss-catalog-ui .bnss-category-chips small { color:#5f8294; font-size:9px; }

/* Tarjetas de categoría/producto: anulamos el blanco de Enfold. */
body.bnss-catalog-ui .bitnova-shop-shell ul.products { margin-top:0 !important; }
body.bnss-catalog-ui ul.products li.product,
body.bnss-catalog-ui ul.products li.product .inner_product,
body.bnss-catalog-ui ul.products li.product .inner_product_header,
body.bnss-catalog-ui ul.products li.product .avia_cart_buttons {
    background:#081a25 !important;
    color:#e9f8ff !important;
}
body.bnss-catalog-ui ul.products li.product .inner_product {
    display:flex !important;
    height:100% !important;
    flex-direction:column !important;
    overflow:hidden !important;
    border-radius:12px !important;
}
body.bnss-catalog-ui ul.products li.product .thumbnail_container {
    position:relative !important;
    overflow:hidden !important;
    margin:0 !important;
    padding:12px !important;
    background:#fff !important;
}
body.bnss-catalog-ui ul.products li.product .thumbnail_container img,
body.bnss-catalog-ui ul.products li.product a img {
    display:block !important;
    width:100% !important;
    height:280px !important;
    margin:0 !important;
    padding:10px !important;
    object-fit:contain !important;
    background:#fff !important;
}
body.bnss-catalog-ui ul.products li.product .inner_product_header {
    flex:1 1 auto !important;
    min-height:118px !important;
    padding:14px 15px 12px !important;
    border-top:1px solid rgba(255,255,255,.055) !important;
}
body.bnss-catalog-ui ul.products li.product .woocommerce-loop-product__title,
body.bnss-catalog-ui ul.products li.product .inner_product_header h2,
body.bnss-catalog-ui ul.products li.product .inner_product_header h3 {
    min-height:0 !important;
    margin:0 0 10px !important;
    padding:0 !important;
    color:#f3fbff !important;
    font-size:15px !important;
    line-height:1.32 !important;
    font-weight:850 !important;
}
body.bnss-catalog-ui ul.products li.product .price {
    margin:0 !important;
    color:#fff !important;
    font-size:20px !important;
    font-weight:900 !important;
}
body.bnss-catalog-ui ul.products li.product .avia_cart_buttons {
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:7px !important;
    margin-top:auto !important;
    padding:12px 14px 14px !important;
    border-top:1px solid rgba(255,255,255,.055) !important;
}
body.bnss-catalog-ui ul.products li.product .avia_cart_buttons .button-mini-delimiter,
body.bnss-catalog-ui ul.products li.product .avia-arrow { display:none !important; }
body.bnss-catalog-ui ul.products li.product .avia_cart_buttons a,
body.bnss-catalog-ui ul.products li.product .button {
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:100% !important;
    min-height:40px !important;
    margin:0 !important;
    padding:8px 10px !important;
    border:0 !important;
    border-radius:7px !important;
    background:linear-gradient(135deg,#15ccf7,#21b9e8) !important;
    color:#00131c !important;
    font-size:12px !important;
    font-weight:900 !important;
    line-height:1.15 !important;
    text-align:center !important;
    opacity:1 !important;
}
body.bnss-catalog-ui ul.products li.product .avia_cart_buttons a.show_details_button,
body.bnss-catalog-ui ul.products li.product .avia_cart_buttons a:nth-child(2) {
    border:1px solid rgba(21,200,255,.16) !important;
    background:#0c2634 !important;
    color:#dff8ff !important;
}

/* Ficha compacta: título y galería aprovechan mejor el espacio. */
body.bnss-catalog-ui.single-product .bitnova-shop-shell div.product {
    grid-template-columns:minmax(380px,.82fr) minmax(0,1.18fr) !important;
    column-gap:38px !important;
    row-gap:24px !important;
}
body.bnss-catalog-ui.single-product .woocommerce-product-gallery__image a { min-height:430px !important; cursor:zoom-in !important; }
body.bnss-catalog-ui.single-product .woocommerce-product-gallery__image img { height:430px !important; max-height:430px !important; padding:18px !important; }
body.bnss-catalog-ui.single-product .summary .product_title {
    max-width:820px !important;
    margin:0 0 14px !important;
    font-size:clamp(30px,3.1vw,46px) !important;
    line-height:1.07 !important;
}
body.bnss-catalog-ui.single-product .woocommerce-tabs,
body.bnss-catalog-ui.single-product section.related.products,
body.bnss-catalog-ui.single-product section.upsells.products {
    grid-column:1 / -1 !important;
    width:100% !important;
    max-width:none !important;
}

/* Relacionados realmente a ancho completo y botones legibles. */
body.bnss-catalog-ui.single-product section.related.products,
body.bnss-catalog-ui.single-product section.upsells.products {
    margin:26px 0 0 !important;
    padding:22px !important;
}
body.bnss-catalog-ui.single-product section.related ul.products,
body.bnss-catalog-ui.single-product section.upsells ul.products {
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:16px !important;
}
body.bnss-catalog-ui.single-product section.related .avia_cart_buttons a,
body.bnss-catalog-ui.single-product section.upsells .avia_cart_buttons a,
body.bnss-catalog-ui.single-product section.related li.product .button,
body.bnss-catalog-ui.single-product section.upsells li.product .button {
    color:#00131c !important;
    opacity:1 !important;
}
body.bnss-catalog-ui.single-product section.related .avia_cart_buttons a.show_details_button,
body.bnss-catalog-ui.single-product section.upsells .avia_cart_buttons a.show_details_button,
body.bnss-catalog-ui.single-product section.related .avia_cart_buttons a:nth-child(2),
body.bnss-catalog-ui.single-product section.upsells .avia_cart_buttons a:nth-child(2) {
    border:1px solid rgba(21,200,255,.2) !important;
    background:#0c2634 !important;
    color:#e3f8ff !important;
}

/* Lightbox de galería, sin navegar a la URL de la imagen. */
.bnss-lightbox[hidden] { display:none !important; }
.bnss-lightbox {
    position:fixed;
    z-index:999999;
    inset:0;
    display:grid;
    place-items:center;
    padding:24px;
}
.bnss-lightbox-backdrop { position:absolute; inset:0; background:rgba(0,7,12,.91); backdrop-filter:blur(12px); }
.bnss-lightbox-dialog {
    position:relative;
    z-index:1;
    display:flex;
    width:min(1100px,94vw);
    height:min(820px,90vh);
    align-items:center;
    justify-content:center;
    border:1px solid rgba(21,200,255,.2);
    border-radius:18px;
    background:#071620;
    box-shadow:0 35px 100px rgba(0,0,0,.6);
    overflow:hidden;
}
.bnss-lightbox-image { display:block; max-width:88%; max-height:86%; object-fit:contain; background:#fff; }
.bnss-lightbox-close,
.bnss-lightbox-prev,
.bnss-lightbox-next {
    position:absolute;
    z-index:2;
    display:grid;
    place-items:center;
    border:1px solid rgba(21,200,255,.22);
    border-radius:999px;
    background:rgba(3,20,30,.9);
    color:#fff;
    cursor:pointer;
}
.bnss-lightbox-close { top:14px; right:14px; width:42px; height:42px; font-size:28px; }
.bnss-lightbox-prev,
.bnss-lightbox-next { top:50%; width:48px; height:48px; transform:translateY(-50%); font-size:36px; }
.bnss-lightbox-prev { left:14px; }
.bnss-lightbox-next { right:14px; }
.bnss-lightbox-counter { position:absolute; left:50%; bottom:12px; transform:translateX(-50%); padding:6px 10px; border-radius:999px; background:rgba(0,0,0,.55); color:#dff7ff; font-size:12px; }

@media(max-width:1280px){
    body.bnss-catalog-ui .bnss-filter-form { grid-template-columns:repeat(3,minmax(0,1fr)); }
    body.bnss-catalog-ui .bnss-filter-actions { grid-template-columns:1fr 1fr; }
    body.bnss-catalog-ui .bitnova-shop-shell ul.products { grid-template-columns:repeat(3,minmax(0,1fr)) !important; }
}

@media(max-width:900px){
    body.bnss-catalog-ui .bitnova-shop-shell,
    body.bnss-catalog-ui .bitnova-page-content { width:calc(100% - 28px)!important; }
    body.bnss-catalog-ui .bnss-catalog-hero { min-height:0 !important; padding:24px !important; }
    body.bnss-catalog-ui .bnss-catalog-count { display:none; }
    body.bnss-catalog-ui .bnss-filter-toggle { display:flex; align-items:center; justify-content:center; }
    body.bnss-catalog-ui .bnss-filter-form { display:none; grid-template-columns:repeat(2,minmax(0,1fr)); }
    body.bnss-catalog-ui .bnss-filter-form.is-open { display:grid; }
    body.bnss-catalog-ui .bnss-filter-search,
    body.bnss-catalog-ui .bnss-filter-actions { grid-column:1 / -1; }
    body.bnss-catalog-ui .bitnova-shop-shell ul.products { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
    body.bnss-catalog-ui ul.products li.product .thumbnail_container img,
    body.bnss-catalog-ui ul.products li.product a img { height:240px !important; }
    body.bnss-catalog-ui.single-product .bitnova-shop-shell div.product { display:block !important; }
    body.bnss-catalog-ui.single-product .woocommerce-product-gallery__image a { min-height:0 !important; }
    body.bnss-catalog-ui.single-product .woocommerce-product-gallery__image img { height:auto !important; max-height:520px !important; }
    body.bnss-catalog-ui.single-product section.related ul.products,
    body.bnss-catalog-ui.single-product section.upsells ul.products { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
}

@media(max-width:560px){
    body.bnss-catalog-ui .bitnova-shop-shell,
    body.bnss-catalog-ui .bitnova-page-content { width:calc(100% - 18px)!important; }
    body.bnss-catalog-ui .bnss-catalog-hero { margin-bottom:14px !important; padding:19px !important; border-radius:13px !important; }
    body.bnss-catalog-ui .bnss-catalog-hero h1 { font-size:29px !important; }
    body.bnss-catalog-ui .bnss-catalog-toolbar { padding:13px !important; border-radius:12px !important; }
    body.bnss-catalog-ui .bnss-catalog-toolbar-top > div { display:block; }
    body.bnss-catalog-ui .bnss-catalog-toolbar-top span { display:block; margin-top:3px; }
    body.bnss-catalog-ui .bnss-filter-form,
    body.bnss-catalog-ui .bnss-filter-form.is-open { grid-template-columns:1fr; }
    body.bnss-catalog-ui .bnss-filter-search,
    body.bnss-catalog-ui .bnss-filter-actions { grid-column:auto; }
    body.bnss-catalog-ui .bnss-filter-actions { grid-template-columns:1fr 1fr; }
    body.bnss-catalog-ui .bitnova-shop-shell ul.products { grid-template-columns:1fr !important; gap:12px !important; }
    body.bnss-catalog-ui ul.products li.product .thumbnail_container img,
    body.bnss-catalog-ui ul.products li.product a img { height:290px !important; }
    body.bnss-catalog-ui.single-product .summary .product_title { font-size:30px !important; }
    body.bnss-catalog-ui.single-product section.related ul.products,
    body.bnss-catalog-ui.single-product section.upsells ul.products { grid-template-columns:1fr !important; }
    .bnss-lightbox { padding:8px; }
    .bnss-lightbox-dialog { width:98vw; height:86vh; border-radius:12px; }
    .bnss-lightbox-image { max-width:94%; max-height:80%; }
    .bnss-lightbox-prev { left:7px; }
    .bnss-lightbox-next { right:7px; }
}


/* 1.5.79 · ultra-wide catalog: more balanced product cards and pure-white image canvases. */
@media(min-width:1600px){
    body.bnss-catalog-ui .bitnova-shop-shell ul.products{grid-template-columns:repeat(5,minmax(0,1fr))!important}
    body.bnss-catalog-ui ul.products li.product .woocommerce-loop-product__title,
    body.bnss-catalog-ui ul.products li.product .inner_product_header h2,
    body.bnss-catalog-ui ul.products li.product .inner_product_header h3{min-height:52px!important}
    body.bnss-catalog-ui ul.products li.product .thumbnail_container img,
    body.bnss-catalog-ui ul.products li.product a img{height:260px!important}
}
