/* ===== RMG Landing — mega-menu, hero, catboxes, drill-down, search, cards ===== */

/* ── Mega-menu nav ───────────────────────────────────────────── */
.nav-dropdown { position: relative; }
.nav-family-btn {
  background: none; border: none;
  color: rgba(255,255,255,0.55);
  font: 600 12.5px/1 'Inter', sans-serif;
  text-transform: uppercase; letter-spacing: 0.04em;
  padding: 6px 11px; border-radius: 6px;
  cursor: pointer; display: flex; align-items: center; gap: 5px;
  transition: all .15s; white-space: nowrap;
}
.nav-family-btn:hover,
.nav-dropdown:hover .nav-family-btn { color: #fff; background: rgba(255,255,255,0.08); }
.nav-family-btn svg { transition: transform .2s; }
.nav-dropdown:hover .nav-family-btn svg { transform: rotate(180deg); }

.nav-mega-menu {
  display: none; position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 200px; background: #fff; border: 1px solid #e0e7f0;
  border-radius: 10px; box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  padding: 8px 0; z-index: 200;
}
.nav-dropdown:hover .nav-mega-menu { display: block; }
.mega-link {
  display: block; padding: 9px 18px; font-size: 13px; font-weight: 500;
  cursor: pointer; transition: background .12s, color .12s; white-space: nowrap;
}
/* especificidad (0,2,0) > nav.main-nav a (0,1,1) — evita texto blanco sobre fondo blanco */
.nav-mega-menu .mega-link { color: #3d5068; }
.nav-mega-menu .mega-link:hover { background: #f0f8ff; color: #0071BD; }
.mega-empty { display: block; padding: 9px 18px; font-size: 12px; color: #aaa; }

/* ── Hero carrusel horizontal ────────────────────────────────── */
#landing-hero { position: relative; width: 100%; height: 500px; overflow: hidden; background: #0c1523; }
.lh-track { display: flex; height: 100%; transition: transform 0.45s ease; will-change: transform; }
.lh-slide { min-width: 100%; flex-shrink: 0; height: 100%; }
.lh-slide img { width: 100%; height: 100%; object-fit: contain; background: #0a1628; display: block; }
.lh-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.45); color: #fff; border: none;
  width: 44px; height: 44px; border-radius: 50%; font-size: 28px; line-height: 1;
  cursor: pointer; z-index: 10; transition: background .15s;
  display: flex; align-items: center; justify-content: center;
}
.lh-arrow:hover { background: rgba(0,113,189,0.8); }
.lh-prev { left: 16px; }
.lh-next { right: 16px; }
.lh-dots {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}
.lh-dot {
  width: 8px; height: 8px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.45); cursor: pointer; transition: all .2s; padding: 0;
}
.lh-dot.active { background: #fff; width: 24px; border-radius: 100px; }

/* ── Búsqueda estática ───────────────────────────────────────── */
.search-static-section {
  background: #f4f7fb;
  border-bottom: 1.5px solid #dde4ef;
  padding: 20px 0;
}
.search-bar-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.search-label { font-size: 13px; font-weight: 600; color: #435664; white-space: nowrap; }
.search-controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; flex: 1; position: relative; }
.sch-input {
  flex: 1; min-width: 180px; height: 38px; border: 1.5px solid #c8d4e0; border-radius: 8px;
  padding: 0 12px; font-size: 13px; color: #0c1523; background: #fff;
  outline: none; transition: border-color .15s;
}
.sch-input:focus { border-color: #0071BD; }
.sch-select {
  height: 38px; border: 1.5px solid #c8d4e0; border-radius: 8px;
  padding: 0 10px; font-size: 12px; color: #3d5068; background: #fff;
  outline: none; cursor: pointer; transition: border-color .15s;
}
.sch-select:focus { border-color: #0071BD; }
.sch-clear {
  width: 32px; height: 32px; border: none; background: none;
  color: #7b8fa6; font-size: 14px; cursor: pointer; border-radius: 6px;
  transition: background .12s;
}
.sch-clear:hover { background: #e0e7f0; }
.sch-results {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: #fff; border: 1.5px solid #c8d4e0; border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.13); z-index: 300;
  max-height: 340px; overflow-y: auto;
}
.sch-item { padding: 10px 14px; border-bottom: 1px solid #f0f4f8; transition: background .1s; }
.sch-item:last-child { border-bottom: none; }
.sch-item:hover { background: #f4f9ff; }
.sch-item-name { font-size: 13px; font-weight: 600; color: #0c1523; }
.sch-item-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.sch-tag {
  font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 4px;
  background: #e8f4fd; color: #0071BD;
}
.sch-tag--sub { background: #f0f8f0; color: #2a7a3b; }
.sch-empty { padding: 14px; text-align: center; font-size: 13px; color: #7b8fa6; }
@media (max-width: 680px) {
  .search-bar-inner { flex-direction: column; align-items: stretch; }
  .search-label { display: none; }
}

/* ── 3 cajas de categoría ────────────────────────────────────── */
.catboxes-section { background: #fff; padding: 48px 0; border-bottom: 1.5px solid #dde4ef; }
.cat-boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; width: 100%; }
@media (max-width: 768px) { .cat-boxes { grid-template-columns: 1fr; gap: 14px; } }
.catbox {
  width: 100%; border-radius: 14px; overflow: hidden; cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07); transition: transform .18s, box-shadow .18s;
  background: #fff; border: 1px solid #e0e7f0;
}
.catbox:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,113,189,0.18); }
.catbox-img-wrap {
  position: relative; width: 100%; overflow: hidden; aspect-ratio: 4 / 3; background: #0a1628; border-radius: 12px 12px 0 0;
}
.catbox-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center center; display: block; transition: transform 0.3s ease; }
.catbox-img-wrap img:hover { transform: scale(1.03); }
.catbox-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.35) 100%);
}
.catbox-icon-big { position: absolute; font-size: 48px; opacity: 0.35; }
.catbox-info { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: #fff; }
.catbox-label { font-weight: 700; font-size: 15px; color: #0c1523; font-family: 'Space Grotesk', sans-serif; }
.catbox-count { font-size: 11px; color: #7b8fa6; margin-top: 2px; }
.catbox-desc { font-size: 0.85rem; color: #666; margin-top: 4px; }
.catbox-arrow { margin-left: auto; width: 18px; height: 18px; color: #0071BD; flex-shrink: 0; }

/* ── Drill-down (nivel 2 y 3) ────────────────────────────────── */
.drilldown-section {
  padding: 0; background: #f8fafc;
  border-top: 2px solid #0071BD;
  min-height: 0; transition: min-height .2s;
}
.drilldown-section:empty { border-top: none; }
.drilldown-header {
  display: flex; align-items: center; gap: 16px;
  padding: 28px 0 20px;
}
.drill-back {
  background: none; border: 1.5px solid #c8d4e0; color: #0071BD;
  font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 8px;
  cursor: pointer; transition: all .15s; white-space: nowrap;
}
.drill-back:hover { background: #e8f4fd; border-color: #0071BD; }
.drill-title { font-size: 22px; font-weight: 700; color: #0c1523; font-family: 'Space Grotesk', sans-serif; }
.drill-empty { padding: 40px; text-align: center; color: #7b8fa6; font-size: 14px; }

/* ── Grid de subfamilias ─────────────────────────────────────── */
.subfam-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  padding-bottom: 40px;
}
.subfam-card {
  width: 100%; border-radius: 12px; overflow: hidden; cursor: pointer;
  border: 1.5px solid #dde4ef; background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform .15s, box-shadow .15s, border-color .15s;
  display: flex; flex-direction: column; height: 100%;
}
.subfam-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,113,189,0.15); border-color: #29AAE1; }
.subfam-card-img {
  position: relative; width: 100%; overflow: hidden; aspect-ratio: 4 / 3; background: #0a1628; border-radius: 12px 12px 0 0;
}
.subfam-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center center; display: block; transition: transform 0.3s ease; }
.subfam-card-img img:hover { transform: scale(1.03); }

.subfam-icon { font-size: 36px; opacity: 0.5; }
.subfam-card-body { padding: 12px 14px; flex: 1; display: flex; flex-direction: column; }
.subfam-card-name { font-size: 13px; font-weight: 700; color: #0c1523; }
.subfam-card-desc { font-size: 11px; color: #7b8fa6; margin-top: 4px; line-height: 1.4; }

/* ── Grid de productos ───────────────────────────────────────── */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  padding: 0 24px 40px;
  box-sizing: border-box;
}
.pcard {
  width: 100%; border-radius: 12px; border: 1.5px solid #dde4ef; background: #fff;
  overflow: hidden; transition: border-color .15s, box-shadow .15s;
  display: flex; flex-direction: column;
}
.pcard:hover { border-color: #29AAE1; box-shadow: 0 4px 20px rgba(41,170,225,0.18); }
.pcard-img {
  width: 100%; overflow: hidden; background: #0a1628; aspect-ratio: 4 / 3; border-radius: 12px 12px 0 0;
}
.pcard-img img { width: 100%; height: 100%; object-fit: cover; object-position: center center; display: block; transition: transform 0.3s ease; }
.pcard-img img:hover { transform: scale(1.03); }
.pcard-icon { font-size: 40px; opacity: 0.6; }
.pcard-body { padding: 14px; display: flex; flex-direction: column; flex: 1; gap: 6px; }
.pcard-badge {
  font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 600;
  color: #0071BD; background: #e8f4fd; border-radius: 4px;
  padding: 2px 7px; display: inline-block;
}
.pcard-name { font-size: 13px; font-weight: 600; color: #0c1523; line-height: 1.35; flex: 1; }
.pcard-pres { font-size: 11px; color: #7b8fa6; }
.pcard-price { font-size: 16px; font-weight: 800; color: #0071BD; font-family: 'Space Grotesk', sans-serif; }
.pcard-wa {
  display: flex; align-items: center; gap: 6px;
  background: #25D366; color: #fff; text-decoration: none;
  border-radius: 8px; padding: 9px 12px; font-size: 12px; font-weight: 700;
  margin-top: 4px; transition: background .15s; justify-content: center;
  font-family: 'Inter', sans-serif;
}
.pcard-wa:hover { background: #1DA851; }

/* ── Segmentos con íconos SVG ────────────────────────────────── */
.seg-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
}
.seg-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 20px 16px; background: #f8fafc; border-radius: 12px;
  text-align: center; font-size: 0.9rem; font-weight: 500; color: #435664;
}
@media (max-width: 640px) {
  .seg-cards { grid-template-columns: repeat(2, 1fr); }
}

/* ── Bloque de contenido descriptivo (nivel subfamilia) ─────── */
.prod-content { max-width: 800px; margin: 0 auto; padding: 0 0 40px; }
.prod-content-block {
  background: #f8fafc; border-radius: 12px; padding: 28px 32px; margin-bottom: 20px;
}
.prod-content-title {
  font-size: 18px; font-weight: 700; color: #0c1523; margin: 0 0 14px;
  font-family: 'Space Grotesk', sans-serif;
}
.prod-content-body { font-size: 16px; color: #435664; line-height: 1.75; }
.prod-content-body p { margin: 0 0 12px; }
.prod-content-body p:last-child { margin-bottom: 0; }
.prod-content-body ul, .prod-content-body ol { padding-left: 20px; margin: 0 0 12px; }
.prod-content-body li { margin-bottom: 6px; }

/* ── Marca strip ─────────────────────────────────────────────── */
.brands-section { background: #fff; padding: 40px 0; border-top: 1.5px solid #e0e7f0; }
.brands-label { text-align: center; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #7b8fa6; margin-bottom: 24px; }
.brands-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; }
.brand-logo {
  padding: 10px 22px; border-radius: 8px; border: 1.5px solid #dde4ef;
  background: #f9fafc; font-size: 13px; font-weight: 700; color: #435664;
  letter-spacing: 0.02em; white-space: nowrap; transition: border-color .15s, color .15s;
}
.brand-logo:hover { border-color: #29AAE1; color: #0071BD; }

/* ── Footer ──────────────────────────────────────────────────── */
.footer-social { display: flex; gap: 14px; margin-top: 12px; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.65);
  transition: background .15s, color .15s;
}
.footer-social a:hover { background: rgba(41,170,225,0.25); color: #29AAE1; }

/* ── Tarjetas horizontales de producto (bloques) ─────────────── */
.bloques-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
  padding: 16px 0;
  align-items: start;
}
.bcard {
  display: flex;
  flex-direction: row;
  background: #ffffff;
  border: 1px solid #e2e6ec;
  border-radius: 12px;
  overflow: hidden;
  min-height: 180px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: all 0.2s ease;
}
.bcard:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.08); transform: translateY(-2px); border-color: #c8d0da; }
.bcard--premium { border-left: 3px solid #27A8E0; }

/* zona contenido (izquierda) */
.bcard-body {
  flex: 1;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.bcard-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.bcard-brand {
  display: inline-block;
  background: #016EB9;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
}
.bcard-linea { font-size: 12px; color: #27A8E0; font-weight: 500; margin-bottom: 12px; }
.bcard-linea--premium { color: #0e7490; }
.bcard-title { font-size: 16px; font-weight: 700; color: #0f1d2e; line-height: 1.3; margin-bottom: 2px; }
.bcard-spec-text { font-size: 12px; color: #4a5568; line-height: 1.85; }
.bcard-spec-text span { display: block; }
.bcard-spec-text .aplicaciones { color: #6b7a8d; font-style: italic; margin-top: 4px; }
.bcard-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #e8ecf0;
}
.bcard-pill { font-size: 10px; color: #2d7a3a; background: #eef7ed; padding: 4px 10px; border-radius: 14px; font-weight: 500; }

/* zona imagen (derecha) */
.bcard-img {
  width: 160px;
  flex-shrink: 0;
  align-self: stretch;
  background: linear-gradient(135deg, #f8fafb 0%, #eef2f6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid #eef1f5;
  padding: 16px;
  box-sizing: border-box;
}
.bcard-img img {
  max-width: 120px;
  max-height: 120px;
  object-fit: contain;
  object-position: center center;
  display: block;
}
.bcard-img-placeholder { display: flex; align-items: center; justify-content: center; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .subfam-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid   { grid-template-columns: 1fr; }
}
@media (max-width: 660px) {
  .bloques-grid { grid-template-columns: 1fr; }
  .bcard { flex-direction: column-reverse; }
  .bcard-img {
    width: 100%;
    height: 140px;
    border-left: none;
    border-bottom: 1px solid #eef1f5;
    align-self: auto;
  }
  .bcard-img img { max-width: 100px; max-height: 100px; }
}

/* ── Responsive nav ──────────────────────────────────────────── */
@media (max-width: 900px) {
  nav.main-nav { gap: 1px; }
  .nav-family-btn { font-size: 11px; padding: 5px 8px; }
}
@media (max-width: 680px) { .nav-catalog-link { display: none; } }

/* ── Imágenes uniformes 4:3 ──────────────────────────────────── */
.catbox-img-wrap img, .subfam-card-img img, .pcard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* ── bcard clickeable ────────────────────────────────────────── */
.bcard { cursor: pointer; }

/* ── Ficha individual de producto ────────────────────────────── */
.ficha-prod-wrap {
  display: flex;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin: 0 0 0;
  min-height: 400px;
}
.ficha-prod-img {
  width: 50%;
  background: #f5f7fa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  box-sizing: border-box;
  min-height: 400px;
}
.ficha-prod-img img {
  max-width: 85%;
  max-height: 380px;
  object-fit: contain;
  display: block;
}
.ficha-prod-data {
  width: 50%;
  background: #016EB9;
  padding: 40px;
  box-sizing: border-box;
  color: #ffffff;
  display: flex;
  flex-direction: column;
}
.ficha-prod-breadcrumb {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
  line-height: 1.5;
}
.ficha-prod-breadcrumb a {
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  text-decoration: none;
  transition: color .15s;
}
.ficha-prod-breadcrumb a:hover { color: rgba(255,255,255,0.9); text-decoration: underline; }
.ficha-prod-breadcrumb span { color: rgba(255,255,255,0.9); }
.ficha-prod-nombre {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px;
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.2;
}
.ficha-prod-sae {
  font-size: 18px;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  margin-bottom: 16px;
}
.ficha-prod-tipo-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: #ffffff;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.ficha-prod-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 24px;
  margin-top: 8px;
}
.ficha-prod-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.ficha-prod-pres-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.ficha-prod-pres-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #ffffff;
}
.ficha-prod-doc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #ffffff;
  text-decoration: underline;
  transition: color .15s;
}
.ficha-prod-doc-link:hover { color: rgba(255,255,255,0.8); }
.ficha-prod-ctas {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.ficha-prod-cta-wa {
  background: #ffffff;
  color: #016EB9;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .15s;
  font-family: 'Inter', sans-serif;
}
.ficha-prod-cta-wa:hover { background: #f0f0f0; }

/* ── Sección características ─────────────────────────────────── */
.ficha-caract-section {
  background: #ffffff;
  padding: 0;
  border-top: 1px solid #e0e7f0;
}
.ficha-caract { padding: 40px 0; }
.ficha-caract-title {
  font-size: 20px;
  font-weight: 600;
  color: #1a2332;
  margin: 0 0 20px;
  font-family: 'Space Grotesk', sans-serif;
}
.ficha-caract-list { list-style: none; padding: 0; margin: 0; }
.ficha-caract-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #4a5568;
  line-height: 2;
}

/* ── Sección productos relacionados ──────────────────────────── */
.ficha-rel-section {
  background: #f8fafc;
  padding: 0;
  border-top: 1px solid #e0e7f0;
}
.ficha-relacionados { padding: 40px 0 60px; }
.ficha-relacionados-title {
  font-size: 18px;
  font-weight: 600;
  color: #0c1523;
  margin: 0 0 20px;
  font-family: 'Space Grotesk', sans-serif;
}

/* ── Responsive ficha ────────────────────────────────────────── */
@media (max-width: 768px) {
  .ficha-prod-wrap { flex-direction: column; min-height: unset; }
  .ficha-prod-img  { width: 100%; height: 250px; min-height: unset; padding: 24px; }
  .ficha-prod-data { width: 100%; padding: 24px; }
  .ficha-prod-nombre { font-size: 22px; }
  .ficha-prod-sae    { font-size: 15px; }
}

/* ── Layout Lubricantes: sidebar + grilla ────────────────────── */
.lub-layout {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding-bottom: 40px;
}

/* Sidebar */
.lub-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid #e0e7f0;
  border-radius: 12px;
  overflow: hidden;
}
.lub-sidebar-title {
  padding: 13px 18px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7b8fa6;
  border-bottom: 1px solid #f0f4f8;
  background: #f8fafc;
}
.lub-sidebar-list {
  list-style: none;
  padding: 6px 0;
  margin: 0;
}
.lub-sidebar-item {
  padding: 11px 18px;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: background .12s, border-color .12s;
}
.lub-sidebar-item:hover {
  background: #f0f8ff;
  border-left-color: #29AAE1;
}
.lub-sidebar-item.active {
  background: #e8f6fc;
  border-left-color: #016EB9;
}
.lub-sidebar-item-name {
  font-size: 13px;
  font-weight: 600;
  color: #3d5068;
  line-height: 1.3;
}
.lub-sidebar-item.active .lub-sidebar-item-name { color: #016EB9; }
.lub-sidebar-item-count {
  font-size: 11px;
  color: #7b8fa6;
  margin-top: 3px;
}

/* Área grilla */
.lub-grid-area { flex: 1; min-width: 0; }
.lub-grid-header { margin-bottom: 18px; }
.lub-breadcrumb {
  font-size: 12px;
  color: #7b8fa6;
  margin-bottom: 6px;
}
.lub-grid-title {
  font-size: 20px;
  font-weight: 700;
  color: #0c1523;
  margin: 0 0 4px;
  font-family: 'Space Grotesk', sans-serif;
}
.lub-grid-count { font-size: 12px; color: #7b8fa6; }

/* Tarjetas de producto en grilla */
.lub-prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.lub-prod-card {
  background: #ffffff;
  border: 1px solid #e0e7f0;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.lub-prod-card:hover {
  border-color: #29AAE1;
  box-shadow: 0 4px 16px rgba(41,170,225,0.15);
  transform: translateY(-2px);
}
.lub-prod-card-img {
  height: 120px;
  background: #f5f7fa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-sizing: border-box;
}
.lub-prod-card-img img {
  max-width: 100%;
  max-height: 96px;
  object-fit: contain;
  display: block;
}
.lub-prod-no-img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.lub-prod-card-body { padding: 12px 14px; }
.lub-prod-card-name {
  font-size: 13px;
  font-weight: 700;
  color: #0c1523;
  line-height: 1.3;
  margin-bottom: 4px;
}
.lub-prod-card-desc {
  font-size: 11px;
  color: #7b8fa6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Responsive Lubricantes */
@media (max-width: 768px) {
  .lub-layout { flex-direction: column; gap: 16px; }
  .lub-sidebar { width: 100%; }
  .lub-sidebar-list {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 0;
    padding: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .lub-sidebar-list::-webkit-scrollbar { display: none; }
  .lub-sidebar-item {
    flex-shrink: 0;
    border-left: none;
    border-bottom: 3px solid transparent;
    border-radius: 8px;
    padding: 8px 14px;
    white-space: nowrap;
  }
  .lub-sidebar-item:hover  { border-left: none; border-bottom-color: #29AAE1; }
  .lub-sidebar-item.active { border-left: none; border-bottom-color: #016EB9; }
  .lub-sidebar-item-count  { display: none; }
  .lub-prod-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .lub-prod-grid { grid-template-columns: 1fr; }
}
