/* Ficha B2B: galería, compra y condiciones. Estilos limitados a esta página. */
body.portal26-product-detail #content.p26-detail-page{max-width:1380px!important;width:calc(100% - 40px)!important;margin:0 auto!important;padding:18px 0 45px!important;color:#10264c}body.portal26-product-detail #content>#breadcrumb{display:none!important}
body.portal26-product-detail #content .ficha-tabla{display:grid!important;grid-template-columns:74px minmax(0,1fr) minmax(0,1.06fr)!important;grid-template-rows:max-content 1fr!important;grid-template-areas:"thumb imagen datos" "thumb imagen compra"!important;gap:0 26px!important;align-items:start!important;margin:10px 0 30px!important}
body.portal26-product-detail #content .ficha-tabla>.col-lg-4{width:100%!important;max-width:none!important;float:none!important;margin:0!important;padding:0!important;min-width:0!important;border:0!important;background:#fff!important}
body.portal26-product-detail #content .ficha-tabla>.p26-detail-thumbnails{grid-area:thumb!important;display:flex;flex-direction:column;gap:12px;min-width:0}.p26-detail-thumbnail{width:74px;height:74px;border:1px solid #d5deea;border-radius:4px;padding:5px;background:#fff;cursor:pointer}.p26-detail-thumbnail.is-active{border-color:#ff7f00;box-shadow:0 0 0 1px #ff7f00}.p26-detail-thumbnail img{width:100%;height:100%;object-fit:contain}
body.portal26-product-detail #content .ficha-tabla>#btn-ampliar{grid-area:imagen!important;grid-column:2!important;grid-row:1 / span 2!important;min-height:440px!important;display:flex!important;align-items:center!important;justify-content:center!important;position:relative;overflow:hidden;cursor:default}body.portal26-product-detail #btn-ampliar .imagen-ficha{width:100%!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:12px!important;box-sizing:border-box!important}body.portal26-product-detail #btn-ampliar .imagen-ficha img{width:100%!important;height:440px!important;max-width:100%!important;object-fit:contain!important}body.portal26-product-detail #btn-ampliar .imagen-ficha img[src$=".svg"]{background:#f5f7fa;border-radius:6px;padding:65px}
body.portal26-product-detail #content .ficha-tabla>.ficha-col-3{grid-area:datos!important;grid-column:3!important;grid-row:1!important;padding:8px 0 0!important}body.portal26-product-detail #content .ficha-tabla>.col-lg-4:last-child{grid-area:compra!important;grid-column:3!important;grid-row:2!important;padding:0!important}
body.portal26-product-detail .titulo-ficha,body.portal26-product-detail .titulo-ficha h1{font-family:inherit!important;font-size:29px!important;line-height:1.22!important;letter-spacing:-.4px;font-weight:800!important;color:#10264c!important;margin:0 0 9px!important;text-transform:none!important}body.portal26-product-detail .ref-ficha{font-size:12px!important;color:#64748b!important;margin:0 0 8px!important}.p26-detail-meta{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:12px;color:#64748b;margin-bottom:12px;line-height:1.5}.p26-detail-description{font-size:14px;line-height:1.6;color:#5d6f87;margin:0 0 9px}
body.portal26-product-detail .precios-content-ficha .precios{border:0!important;padding:0!important;margin:0!important;background:transparent!important;box-shadow:none!important}.precio_producto{float:none!important;clear:both!important;margin:12px 0 4px!important}body.portal26-product-detail .precio_producto .precio{font-size:29px!important;font-weight:800!important;color:#10264c!important}.precio_producto_txt{font-size:13px;line-height:1.7;color:#64748b;margin-bottom:12px}
.p26-detail-buy-format{border-top:1px solid #e0e6ef;border-bottom:1px solid #e0e6ef;padding:13px 0;margin:14px 0}.p26-detail-buy-format h2{font-size:14px;font-weight:750;margin:0 0 9px}.p26-detail-buy-format strong{display:block;text-align:center;border:1px solid #10264c;border-radius:4px;padding:9px;font-size:13px}.p26-detail-buy-format span{display:block;font-size:12px;color:#64748b;margin-top:7px}
body.portal26-product-detail .precios-content-ficha .btn-add-cesta.d-none.d-lg-block{display:flex!important;align-items:center!important;gap:12px!important;width:100%!important;margin:14px 0 8px!important;float:none!important}body.portal26-product-detail .precios-content-ficha .btn-add-cesta-controls-off{display:flex!important;align-items:center!important;flex:0 0 118px!important;width:118px!important;height:42px!important;padding:0!important;margin:0!important;border:1px solid #d9e1ed!important;border-radius:4px!important;overflow:hidden!important;background:#fff!important}body.portal26-product-detail .ficha-tabla .btn-add-cesta-controls-controls{width:34px!important;flex:0 0 34px!important;height:40px!important;float:none!important;margin:0!important;padding:0!important}body.portal26-product-detail .ficha-tabla .btn_restar,body.portal26-product-detail .ficha-tabla .btn_sumar{display:flex!important;align-items:center!important;justify-content:center!important;width:34px!important;height:40px!important;font-size:16px!important;padding:0!important;border:0!important;background:#f5f7fb!important;color:#10264c!important;cursor:pointer}body.portal26-product-detail .ficha-tabla .btn-add-cesta-input{flex:1!important;min-width:0!important;width:48px!important;float:none!important;padding:0!important;margin:0!important}body.portal26-product-detail .ficha-tabla .btn-add-cesta-input input{width:100%!important;height:40px!important;padding:0!important;text-align:center!important;border:0!important;background:#fff!important;font-size:14px!important}
body.portal26-product-detail .precios-content-ficha .btn-add-cesta>.btn-add-cesta-controls-btn{display:flex!important;flex:1!important;min-width:0!important;width:auto!important;float:none!important;margin:0!important}body.portal26-product-detail .precios-content-ficha .btn-add-cesta-controls-btn>a{display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;width:100%!important;min-height:42px!important;padding:10px 12px!important;background:#ff7f00!important;border:1px solid #ff7f00!important;color:#fff!important;font-size:13px!important;font-weight:750!important;border-radius:4px!important;text-decoration:none!important;cursor:pointer}body.portal26-product-detail .precios-content-ficha .anadir_cesta{display:flex!important;gap:9px;align-items:center;justify-content:center;width:100%!important;color:#fff!important;background:transparent!important;margin:0!important;padding:0!important}body.portal26-product-detail .precios-content-ficha a.agregar-cesta i{color:#fff!important}
body.portal26-product-detail .ficha.d-none.d-lg-block,body.portal26-product-detail .ficha-tabla .product-actions-favourite{display:none!important}.p26-detail-future-actions{display:grid;gap:7px;width:100%!important;margin:8px 0 0!important}.p26-detail-future-actions button{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:40px;padding:8px 12px;border:1px solid #bbc8da;border-radius:4px;background:#fff;color:#10264c;font-size:13px;font-weight:650;opacity:1;cursor:not-allowed}.p26-detail-future-actions button i{display:inline-block!important;background:transparent!important;box-shadow:none!important;border:0!important;padding:0!important;width:auto!important;height:auto!important;border-radius:0!important;color:#10264c!important;font-size:16px!important}
.p26-detail-lower-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:42px;margin:28px 0 35px}.p26-detail-information,.p26-detail-supplier-section{min-width:0;padding:0!important;margin:0!important;border:0!important;background:#fff!important;border-radius:0!important}.p26-detail-lower-grid h2{font-size:19px;font-weight:750;color:#10264c;margin:0 0 17px}.p26-detail-specs{display:block;margin:0}.p26-detail-specs>div{display:grid;grid-template-columns:40% minmax(0,1fr);gap:15px;border-bottom:1px solid #dce4ee;padding:11px 0;font-size:13px;line-height:1.6}.p26-detail-specs dt{margin:0;font-weight:650;color:#10264c}.p26-detail-specs dd{margin:0;color:#5c6f89;overflow-wrap:anywhere}.p26-detail-supplier-section .proveedor-tit{display:none!important}.p26-detail-supplier-section .datosProveedor{margin:0!important;padding:0!important;max-width:100%!important;font-size:13px;line-height:1.6}.p26-detail-supplier-section .proveedor-datos>.td{display:block!important;width:100%!important;padding:11px 0!important;border-bottom:1px solid #dce4ee}.p26-detail-supplier-section .table{display:block!important;width:100%!important;margin:0!important}.p26-detail-supplier-section .tr{display:grid!important;grid-template-columns:40% minmax(0,1fr);gap:15px;padding:11px 0;border-bottom:1px solid #dce4ee}.p26-detail-supplier-section .tr>.td{display:block!important;width:auto!important;padding:0!important}.p26-detail-supplier-section .logoProvee img{max-height:60px;max-width:140px;object-fit:contain;margin:10px 0}.p26-detail-supplier-section .proveedor-tit+.table{margin-top:0!important}
body.portal26-product-detail .p26-recommend-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin:16px 0 30px}body.portal26-product-detail .p26-recommend-grid>.product-box{width:100%!important;max-width:none!important;flex:none!important;padding:0!important;margin:0!important;min-width:0}.p26-recommend-note{font-size:10px;color:#687990;line-height:1.4;min-height:28px;padding:8px 10px 0}body.portal26-product-detail #cResultados1,body.portal26-product-detail #cResultados2{margin-top:12px!important}body.portal26-product-detail .productos-relacionados{background:transparent!important;padding:10px 0!important;font-size:21px!important;font-weight:750!important;color:#10264c!important;text-transform:none!important}
@media(max-width:1100px){body.portal26-product-detail .p26-recommend-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:991px){body.portal26-product-detail #content .ficha-tabla{grid-template-columns:64px minmax(0,1fr)!important;grid-template-rows:auto!important;grid-template-areas:"thumb imagen" "datos datos" "compra compra"!important;gap:14px 18px!important}body.portal26-product-detail #content .ficha-tabla>#btn-ampliar{grid-column:2!important;grid-row:1!important;min-height:280px!important}body.portal26-product-detail #btn-ampliar .imagen-ficha img{height:300px!important}body.portal26-product-detail #content .ficha-tabla>.ficha-col-3{grid-column:1 / -1!important;grid-row:2!important;padding:10px 0 0!important}body.portal26-product-detail #content .ficha-tabla>.col-lg-4:last-child{grid-column:1 / -1!important;grid-row:3!important}.p26-detail-thumbnail{width:64px;height:64px}body.portal26-product-detail .precios-content-ficha .product-mobile-add-to-cart-wrapper{display:none!important}.p26-detail-lower-grid{grid-template-columns:1fr;gap:28px}}
@media(max-width:580px){body.portal26-product-detail #content.p26-detail-page{width:calc(100% - 24px)!important}body.portal26-product-detail #content .ficha-tabla{grid-template-columns:52px minmax(0,1fr)!important;gap:12px!important}.p26-detail-thumbnail{width:52px;height:52px}body.portal26-product-detail .titulo-ficha,body.portal26-product-detail .titulo-ficha h1{font-size:24px!important}body.portal26-product-detail #btn-ampliar .imagen-ficha img{height:240px!important;padding:8px!important}body.portal26-product-detail .p26-recommend-grid{grid-template-columns:1fr}.p26-detail-specs>div{grid-template-columns:38% minmax(0,1fr)}}

/* Etiquetas y valores del proveedor alineados con su identificación. */
body.portal26-product-detail .p26-detail-supplier-section .p26-detail-specs>div,body.portal26-product-detail .p26-detail-supplier-section .datosProveedor .tr{display:grid!important;grid-template-columns:40% minmax(0,1fr)!important;gap:15px!important;width:100%!important;padding:11px 0!important;margin:0!important;border:0!important;border-bottom:1px solid #dce4ee!important;box-sizing:border-box!important;align-items:start}
body.portal26-product-detail .p26-detail-supplier-section .datosProveedor .tr>.td{width:auto!important;max-width:100%!important;display:block!important;float:none!important;padding:0!important;margin:0!important;border:0!important;font-size:13px!important;line-height:1.6!important;overflow-wrap:anywhere}
body.portal26-product-detail .p26-detail-future-actions button{cursor:pointer}.p26-detail-future-actions button:hover{border-color:#ff7f00;background:#fffaf4}.p26-detail-future-actions button.is-saved i{color:#ff7f00!important}.p26-detail-cart-icon{display:inline-block;flex:0 0 19px;color:#fff;fill:none!important;vertical-align:middle}

/* Contenedor del detalle igual al de inicio, con los mismos márgenes interiores. */
body.portal26-active.portal26-product-detail #content.p26-detail-page{box-sizing:border-box!important;width:100%!important;max-width:var(--p26-width)!important;padding-left:var(--p26-pad)!important;padding-right:var(--p26-pad)!important}
@media(min-width:1200px){body.portal26-active.portal26-product-detail #content.p26-detail-page{width:calc(100% - 40px)!important}}
body.portal26-product-detail .productos-relacionados{border-bottom:0!important}
body.portal26-product-detail #loadButton1.loadButton-off,body.portal26-product-detail #loadButton2.loadButton-off{display:none!important;margin:0!important;height:0!important}
body.portal26-product-detail #cResultados1 .p26-recommend-grid{margin-bottom:0!important}
body.portal26-product-detail #cResultadosContainer2{padding-top:68px}
body.portal26-product-detail #cResultadosContainer2 .productos-relacionados{margin-top:0!important}

/* r49: selector nativo de distribuidores, compatible con el cambio heredado de panel. */
body.portal26-product-detail .p26-detail-supplier-section #select-distribuidor{appearance:none;-webkit-appearance:none;width:100%!important;max-width:100%!important;min-height:43px;padding:10px 36px 10px 12px!important;border:1px solid #cbd8e8!important;border-radius:6px!important;color:#10264c!important;font:13px/1.5 Arial,Helvetica,sans-serif!important;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23617894' stroke-width='1.7'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") right 12px center no-repeat!important;cursor:pointer;box-shadow:none!important}body.portal26-product-detail .p26-detail-supplier-section #select-distribuidor:focus{outline:2px solid #ff7f0033!important;border-color:#ff7f00!important}body.portal26-product-detail .proveedor-distribuidor-txt{min-width:0}body.portal26-product-detail .proveedor-distribuidor-txt>div{width:100%}
