/* B8.4 piloto Samsung: estilos aislados; no reemplaza styles.css original */
.b84-equipment-section{margin:22px auto 32px;padding:24px;border:1px solid #d8e8fc;border-radius:20px;background:#f6faff}
.b84-equipment-section h2{margin:0 0 9px;color:#103765;font-size:clamp(1.45rem,2.4vw,2rem)}
.b84-equipment-section p{margin:0 0 17px;color:#34516c}
.b84-equipment-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.b84-equipment-card{display:flex;flex-direction:column;gap:8px;padding:12px;background:#fff;border:1px solid #cfe0f5;border-radius:16px;text-decoration:none;color:#0a3d79;box-shadow:0 3px 10px #0b438014}
.b84-equipment-card:hover,.b84-equipment-card:focus-visible{outline:2px solid #1265bd}
.b84-equipment-card img{width:100%;height:110px;object-fit:contain;border-radius:11px;background:#f6f9fe}
.b84-equipment-card strong{font-size:1.03rem}.b84-equipment-card span{font-size:.87rem;color:#4f6882}
.b84-scoped-finder{margin:24px auto 40px}.b84-panel{background:#fff;border:1px solid #d3e4f7;border-radius:19px;padding:26px;box-shadow:0 9px 24px #123c5b0a}
.b84-panel-head h2{font-size:clamp(1.35rem,2.3vw,1.8rem);margin:6px 0}.b84-panel-head p{margin:0 0 18px;color:#47617d}
.b84-filter-grid{display:grid;grid-template-columns:1fr 1.5fr;gap:14px}.b84-filter-grid label{display:grid;gap:7px;font-weight:700;color:#15456d}
.b84-filter-grid select,.b84-filter-grid input{min-height:48px;width:100%;border:1px solid #a9c7ec;border-radius:12px;padding:10px;font:inherit;background:#fff;color:#173f62}
.b84-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.b84-status{margin:15px 0;color:#284f76;font-weight:600}
.b84-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.b84-product{display:grid;grid-template-columns:90px 1fr;gap:10px;padding:15px;border:1px solid #dce7f5;border-radius:15px;min-width:0}
.b84-product img{width:90px;height:100px;object-fit:contain;background:#f8fbff;border-radius:10px}
.b84-product h3{font-size:1rem;margin:4px 0 7px;overflow-wrap:anywhere}.b84-product p{font-size:.88rem;margin:0 0 4px;color:#48617a}
.b84-product small{display:block;color:#667f92;margin-bottom:12px}.b84-product .btn{display:inline-block;padding:9px 12px;font-size:.88rem;line-height:1.25}
.b84-code{font-weight:800;color:#1354a2}.b84-more{margin-top:15px}.b84-disclaimer{font-size:.84rem;color:#657b91;margin:16px 0 0}
.b84-hero-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}.b84-hero-actions .btn{font-size:.94rem}
@media(max-width:1000px){.b84-equipment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.b84-results{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.b84-panel,.b84-equipment-section{padding:16px}.b84-equipment-grid,.b84-results,.b84-filter-grid{grid-template-columns:1fr}.b84-equipment-card img{height:100px}.b84-product{grid-template-columns:75px 1fr}.b84-product img{width:75px;height:85px}.b84-actions .btn{width:100%}}

/* B8.4 Samsung lote CTA: aislado, sin afectar otros negocios */
html{scroll-padding-top:108px}#repuestos-filtrados,[id]{scroll-margin-top:108px}
.b85-header-actions{gap:8px}.b85-header-actions .btn{padding:10px 12px;border-radius:12px;font-size:.91rem;white-space:nowrap}
.b85-header-call{background:#0866e8;color:#fff}.b85-header-call:hover{background:#075ac9;color:#fff}.b85-header-wa{background:#0aa84f;color:#fff}
.b85-hero-cta .btn{gap:8px}.b85-compat{background:#0aa84f!important;color:#fff!important}.b85-compat:hover{background:#078c40!important}
.b85-seo-intro{line-height:1.62;color:#335675;margin:15px 0 0;max-width:680px}
.b85-float-quote{position:fixed;right:max(18px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom));z-index:75;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:13px 17px;border-radius:999px;background:#e4a11b;color:#172a46;text-decoration:none;font-weight:850;box-shadow:0 7px 23px #1b395b48;border:2px solid #fff;line-height:1.15;white-space:nowrap}.b85-float-quote:hover{background:#f0b52d;color:#172a46}.b85-float-quote:focus-visible{outline:3px solid #153b72;outline-offset:3px}
@media(max-width:700px){.b85-header-actions .btn{padding:9px 9px;font-size:12px;gap:4px}.b85-header-actions svg{width:15px;height:15px}.b85-hero-cta{display:grid;grid-template-columns:1fr 1fr;gap:8px}.b85-hero-cta .btn{padding:11px 7px;font-size:12px;line-height:1.22;text-align:center;min-width:0}.b85-hero-cta svg{flex:0 0 auto;width:16px}.b85-float-quote{right:12px;bottom:max(16px,env(safe-area-inset-bottom));font-size:13px;padding:11px 13px}.b85-seo-intro{font-size:.96rem}}
@media(max-width:365px){.b85-header-actions .btn{font-size:11px;padding:8px 6px}.b85-header-actions{gap:5px}.b85-hero-cta .btn{font-size:11px}}

/* B8.4 Lote 2.1: botones compactos en dos columnas e iconos reales en móvil */
@media(max-width:720px){
.b85-header-actions{display:flex!important;align-items:center;gap:6px;flex:0 0 auto}
.b85-header-actions .btn{width:42px!important;height:42px!important;min-width:42px!important;padding:0!important;border-radius:12px;display:inline-flex!important;align-items:center;justify-content:center;gap:0;font-size:0!important}
.b85-header-actions .btn span{display:none!important}
.b85-header-actions .btn svg{display:block!important;width:21px!important;height:21px!important;color:#fff}
.b85-header-actions .btn-whatsapp::before{content:none!important;display:none!important}
.b85-hero-cta{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
.b85-hero-cta .btn{width:100%!important;max-width:100%!important;min-width:0!important;min-height:54px;box-sizing:border-box;display:flex!important;align-items:center;justify-content:center;gap:5px!important;padding:9px 6px!important;font-size:clamp(10px,2.85vw,13px)!important;line-height:1.15!important;white-space:normal!important;text-wrap:balance}
.b85-hero-cta .btn svg{width:16px!important;height:16px!important;flex-shrink:0}
}
@media(max-width:380px){.b85-hero-cta .btn{font-size:10px!important;gap:4px!important;padding-inline:4px!important}.b85-hero-cta .btn svg{width:14px!important;height:14px!important}}

/* Lote 5: el atributo hidden debe prevalecer sobre el display:inline-flex global de .btn */
.b84-scoped-finder [data-b84="more"][hidden]{display:none!important}

/* L16 cinco equipos en una única fila de escritorio */
@media(min-width:1100px){.b84-equipment-grid.b84-five-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.b84-five-grid .b84-equipment-card{min-width:0}}
@media(min-width:641px) and (max-width:1099px){.b84-equipment-grid.b84-five-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.b84-equipment-grid.b84-five-grid{grid-template-columns:1fr}}

/* Lote 18: contacto cercano al buscador y hallazgos en movil */
.b84-help{padding:18px 20px;margin-top:18px;background:#eff7ff;border:1px solid #c8deee;border-radius:20px;scroll-margin-top:120px}
.b84-help h3{margin:0 0 10px;color:#0a2a55}.b84-help p{margin:0 0 12px;line-height:1.55}
.b84-help.b84-no-results{background:#fff6de;border-color:#f0ca78}
.b84-results{scroll-margin-top:120px}.b84-brand-links{display:flex;gap:14px;flex-wrap:wrap;margin:20px 0}.b84-brand-links a{border:1px solid #cee0f5;border-radius:14px;padding:12px 16px;background:#f3f8ff;font-weight:700}.b84-brand-note{background:#eff7ff;padding:14px;border-radius:12px}

/* B8.4 LOTE 20 — cierre UI hogar: reglas globales solo móvil.
   No modifica backend, filtros ni datos. PC conserva columnas existentes. */
@media (max-width:640px) {
  /* Home: marcas en tres columnas, como el bloque industrial */
  .dr-brand-home .dr-brand-tiles {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;}
  .dr-brand-home .dr-brand-tile {min-width:0!important;min-height:112px!important;gap:8px!important;padding:10px 4px!important;border-radius:13px!important;}
  .dr-brand-home .dr-brand-wordmark {display:flex;justify-content:center;align-items:center;width:100%;min-width:0;min-height:44px!important;font-size:13px!important;}
  .dr-brand-home .dr-brand-wordmark img {display:block;width:auto!important;max-width:94%!important;height:40px!important;max-height:40px!important;object-fit:contain!important;}
  .dr-brand-home .dr-brand-label {font-size:10.5px!important;line-height:1.25!important;overflow-wrap:anywhere!important;padding-inline:2px;}
  .dr-brand-home .dr-brand-label span {white-space:nowrap;}
  /* Todas las landings por marca: dos equipos por fila */
  .b84-equipment-section .b84-equipment-grid,
  .b84-equipment-section .b84-equipment-grid.b84-five-grid,
  .b84-equipment-section .b84-equipment-grid.b84-four-grid {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}
  .b84-equipment-section .b84-equipment-card {min-width:0!important;display:flex;flex-direction:column;padding:10px!important;}
  .b84-equipment-section .b84-equipment-card img {width:100%!important;max-width:100%!important;height:110px!important;object-fit:contain!important;}
  .b84-equipment-section .b84-equipment-card strong {font-size:14px!important;line-height:1.25!important;overflow-wrap:anywhere;}
  .b84-equipment-section .b84-equipment-card span {font-size:12px!important;}
  /* Cantidad impar (5): 2+2+1 central, sin tarjeta colgando a la izquierda. */
  .b84-equipment-section .b84-equipment-grid.b84-five-grid > .b84-equipment-card:last-child {grid-column:1 / -1!important;width:calc(50% - 6px)!important;justify-self:center!important;}
}
@media (max-width:370px) {
  .dr-brand-home .dr-brand-tiles{gap:6px!important;}
  .dr-brand-home .dr-brand-label{font-size:9.5px!important;}
  .b84-equipment-section .b84-equipment-grid{gap:8px!important;}
}

/* B8.4 LOTE 21 — cabecera azul universal del buscador especializado.
   Solo estilo visual: mantiene filtros, datos y funciones originales. */
.b84-scoped-finder .b84-panel-head{
  background:#0759cc;
  color:#fff;
  border-radius:17px;
  padding:22px 24px;
  margin-bottom:20px;
  box-shadow:0 7px 18px rgba(7,89,204,.16);
}
.b84-scoped-finder .b84-panel-head .eyebrow{
  background:rgba(255,255,255,.17)!important;
  border:1px solid rgba(255,255,255,.28)!important;
  color:#fff!important;
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:7px 12px;
  letter-spacing:.05em;
}
.b84-scoped-finder .b84-panel-head h2{
  color:#fff!important;
  line-height:1.19;
  margin:13px 0 10px;
}
.b84-scoped-finder .b84-panel-head p{
  color:#fff!important;
  opacity:.96;
  margin:0;
  line-height:1.55;
}
@media(max-width:640px){
  .b84-scoped-finder .b84-panel-head{padding:18px 17px;border-radius:15px;margin-bottom:19px;}
  .b84-scoped-finder .b84-panel-head h2{font-size:clamp(1.35rem,5.4vw,1.75rem);}
  .b84-scoped-finder .b84-panel-head .eyebrow{font-size:.65rem;max-width:100%;}
}

/* B8.4 LOTE 23 — botones principales del buscador especializado en azul.
   Aplica al bloque de acciones bajo filtros: "Ver todos..." y "Limpiar búsqueda". */
.b84-scoped-finder .b84-actions .btn.btn-outline{
  background:linear-gradient(135deg,#0c74ff,#0757d4)!important;
  color:#fff!important;
  border:1px solid #0757d4!important;
  box-shadow:0 8px 22px rgba(0,95,230,.18);
}
.b84-scoped-finder .b84-actions .btn.btn-outline:hover,
.b84-scoped-finder .b84-actions .btn.btn-outline:focus-visible{
  background:linear-gradient(135deg,#0b6bf0,#064fba)!important;
  color:#fff!important;
  border-color:#064fba!important;
  transform:translateY(-1px);
}

/* B8.4 LOTE 24 - fichas ampliadas de repuestos y acciones duales */
.b84-product{cursor:pointer;transition:box-shadow .15s ease,border-color .15s ease}
.b84-product:hover,.b84-product:focus-visible{border-color:#0c65e8;box-shadow:0 5px 20px rgba(8,73,154,.12)}
.b84-product-actions{display:flex;flex-wrap:wrap;gap:7px;align-items:center}
.b84-product-actions .btn{font-size:.78rem;padding:9px 10px;white-space:normal;text-align:center}
.b84-product-actions .btn-whatsapp,.b84-detail-actions .btn-whatsapp{background:#05a94e;color:#fff;border-color:#05a94e}
.b84-detail-open{overflow:hidden}
.b84-detail-overlay{position:fixed;z-index:999999;inset:0;background:rgba(18,35,59,.76);display:flex;align-items:center;justify-content:center;padding:16px}
.b84-detail-dialog{position:relative;background:white;border-radius:22px;max-width:710px;width:100%;max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;box-shadow:0 18px 70px rgba(0,0,0,.25);outline:none;color:#0c294e}
.b84-detail-close{position:sticky;top:12px;float:right;margin:12px 12px -60px 0;z-index:3;border:1px solid #dce5f2;border-radius:50%;background:white;color:#16345d;width:46px;height:46px;font-size:30px;cursor:pointer;box-shadow:0 3px 14px #0002}
.b84-detail-photo{width:100%;border:0;background:#f8fbff;position:relative;display:flex;align-items:center;justify-content:center;height:280px;padding:16px;cursor:zoom-in;clear:both}
.b84-detail-photo img{height:100%;width:100%;object-fit:contain}
.b84-detail-photo span{position:absolute;bottom:12px;right:12px;color:white;background:#095bd1;border-radius:30px;font-weight:700;padding:10px 15px;font-size:.9rem}
.b84-detail-photo.b84-photo-zoom{height:420px;cursor:zoom-out}
.b84-detail-body{padding:26px}
.b84-detail-kicker{display:flex;flex-wrap:wrap;align-items:center;gap:12px;font-size:.85rem;letter-spacing:.09em;color:#2460ab;font-weight:800}
.b84-detail-kicker strong{background:#0861df;color:white;border-radius:10px;padding:10px 12px;font-size:1rem;letter-spacing:0}
.b84-detail-body h2{font-size:clamp(1.45rem,3vw,2rem);margin:15px 0;color:#0b2b58}
.b84-detail-description{line-height:1.65;color:#4a6079;font-size:1rem}
.b84-detail-body dl{margin:20px 0}
.b84-detail-body dl>div{display:grid;grid-template-columns:38% 1fr;gap:10px;border-bottom:1px solid #e2e8f0;padding:13px 0}
.b84-detail-body dt{color:#6b7b90}.b84-detail-body dd{margin:0;font-weight:750;overflow-wrap:anywhere}
.b84-detail-alert{background:#edf7f2;color:#236351;border-radius:14px;padding:15px;line-height:1.55}
.b84-detail-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:22px}
.b84-detail-actions .btn{text-align:center;display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px;white-space:normal}
@media(max-width:640px){.b84-detail-overlay{padding:10px}.b84-detail-dialog{max-height:calc(100dvh - 20px);border-radius:20px}.b84-detail-photo{height:230px}.b84-detail-photo.b84-photo-zoom{height:335px}.b84-detail-body{padding:20px}.b84-product-actions .btn{font-size:.73rem}.b84-detail-actions .btn{font-size:.86rem}}

/* B8.4 Lote 25K5: aviso visible para imágenes referenciales, en tarjetas y ficha ampliada */
.b84-photo-origin { display:block; color:#805309; font-size:11px; font-weight:700; margin-top:5px; }
.b84-detail-photo-origin {display:block; text-align:center; font-size:12px; color:#805309; font-weight:700; margin:0 10px 8px;}
