/* ══════════════════════════════════════════════════════
   IA GROUP — repuestos.css v1.0
   Tienda de repuestos mineros. Se carga DESPUÉS de index.css
   y solo añade lo propio de esta tienda.
══════════════════════════════════════════════════════ */

.page-mine {
  /* El ámbar (--gold) pasa a ser el color de la tienda minera;
     el cian sigue en enlaces y foco, para que se note que es la misma web. */
  --mine:        var(--gold);
  --mine-hover:  var(--gold-hover);
  --on-mine:     var(--on-gold);
  --mine-soft:   rgba(255,201,77,0.12);
  --mine-line:   rgba(255,201,77,0.55);
  --draw:        #8fb3d9;
  --draw-dim:    rgba(143,179,217,0.35);
  --ok:          var(--success);
  --wait:        var(--gold);
  --late:        var(--text-3);
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --photo-bg:    #ffffff;
}
.page-mine ::selection { background: var(--mine); color: var(--on-mine); }
.page-mine { scrollbar-color: var(--surface-2) var(--bg); }

/* ── Selector de tienda ── */
.store-switch { background: var(--surface); border-bottom: 1px solid var(--border); font-size: var(--fs-sm); }
.store-switch-inner { display: flex; gap: 4px; }
.store-switch a {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 14px; color: var(--text-3);
  border-bottom: 2px solid transparent;
}
.store-switch a:hover { color: var(--text); }
.store-switch a[aria-current="page"] { color: var(--text); border-bottom-color: var(--mine); }
.store-switch i { font-size: 17px; }

/* ── Cabecera ── */
.mine-logo { gap: 14px; }
.mine-wordmark {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 15px; line-height: 1.1;
  color: var(--mine); padding-left: 14px; border-left: 1px solid var(--border-strong);
}
.rq-toggle { position: relative; }

/* ── Hero ── */
.mine-hero { padding: 56px 0 64px; border-bottom: 1px solid var(--border); }
.mine-hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.mine-hero h1 { font-size: clamp(34px, 4.2vw, 54px); font-weight: 700; text-wrap: balance; }
.mine-hero h1 span { color: var(--mine); }
.mine-lede { margin-top: 18px; color: var(--text-2); font-size: var(--fs-lg); max-width: 52ch; }

.part-search { display: flex; gap: 8px; margin-top: 28px; max-width: 520px; }
.part-search-field {
  flex: 1; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-sm);
}
.part-search-field:focus-within { border-color: var(--mine); }
.part-search-field i { color: var(--text-3); font-size: 20px; }
.part-search-field input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: var(--fs-md); caret-color: var(--mine); }
.part-search-field input::placeholder { color: var(--text-3); }
.part-search .btn { min-height: 52px; }

.mine-quick { margin-top: 14px; font-size: var(--fs-sm); color: var(--text-3); }
.mine-quick button {
  background: none; border: 0; padding: 4px 2px; min-height: 32px; cursor: pointer;
  color: var(--text-2); font-weight: 600; text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 4px;
}
.mine-quick button:hover { color: var(--mine); text-decoration-color: var(--mine); }
#brandGrid .brand-card { width: 100%; text-align: left; cursor: pointer; font: inherit; color: var(--text); }
.eq-models { font-size: var(--fs-sm); color: var(--text-2); }
.eq-models b { color: var(--text); font-weight: 600; }
.part-brand { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mine); }
.part-brand[data-none] { color: var(--text-3); }
.mine-facts { display: flex; gap: 32px; margin-top: 32px; }
.mine-facts dt { font-family: 'Space Grotesk', sans-serif; font-size: var(--fs-xl); font-weight: 700; font-variant-numeric: tabular-nums; }
.mine-facts dd { color: var(--text-3); font-size: var(--fs-sm); }

/* ── Plano del equipo ── */
.rig { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px 16px 20px; }
.rig-tabs { display: flex; gap: 4px; padding: 4px; background: var(--bg); border-radius: var(--r-sm); width: fit-content; max-width: 100%; overflow-x: auto; }
.rig-tabs button {
  min-height: 40px; padding: 0 14px; border: 0; border-radius: 6px; background: none;
  color: var(--text-2); font-size: var(--fs-sm); font-weight: 600; cursor: pointer; white-space: nowrap;
}
.rig-tabs button:hover { color: var(--text); }
.rig-tabs button[aria-selected="true"] { background: var(--surface-2); color: var(--mine); }

.rig-stage { position: relative; margin-top: 8px; }
.rig-svg { width: 100%; height: auto; overflow: visible; }
.rig-line { fill: none; stroke: var(--draw); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.rig-line .rig-thick { stroke-width: 4; }
.rig-ground { stroke: var(--draw-dim); stroke-width: 1; stroke-dasharray: 2 6; }
.rig-dim line { stroke: var(--draw-dim); stroke-width: 1; }
.rig-dim text { fill: var(--text-3); font: 500 11px var(--mono); letter-spacing: .08em; }

/* Trazo inicial: el plano "se dibuja" una vez al cambiar de equipo */
.rig-line path, .rig-line rect, .rig-line circle { stroke-dasharray: 1; stroke-dashoffset: 0; }
.rig-svg.is-drawing .rig-line path,
.rig-svg.is-drawing .rig-line rect,
.rig-svg.is-drawing .rig-line circle { animation: rigDraw .9s var(--ease-out) both; }
@keyframes rigDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

.rig-hotspots { position: absolute; inset: 0; }
.hotspot {
  position: absolute; transform: translate(-50%, -50%);
  width: var(--tap); height: var(--tap); padding: 0; border: 0; background: none; cursor: pointer;
  display: grid; place-items: center;
}
.hotspot::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--mine);
  box-shadow: 0 0 0 0 var(--mine-line);
  transition: transform .2s var(--ease-out), background .2s;
}
.hotspot::after {
  content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%;
  border: 1px solid var(--mine-line); animation: hotPing 2.4s var(--ease-out) infinite;
}
.hotspot:nth-child(2)::after { animation-delay: .4s; }
.hotspot:nth-child(3)::after { animation-delay: .8s; }
.hotspot:nth-child(4)::after { animation-delay: 1.2s; }
.hotspot:nth-child(5)::after { animation-delay: 1.6s; }
@keyframes hotPing { 0% { transform: scale(1); opacity: 1; } 70%, 100% { transform: scale(2.6); opacity: 0; } }
.hotspot:hover::before, .hotspot[aria-pressed="true"]::before { transform: scale(1.25); background: var(--mine); }
.hotspot-label {
  position: absolute; left: 50%; bottom: calc(100% - 6px); transform: translateX(-50%);
  padding: 3px 8px; border-radius: 4px; background: var(--bg); border: 1px solid var(--border-strong);
  font-size: var(--fs-xs); font-weight: 600; color: var(--text); white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .15s;
}
.hotspot:hover .hotspot-label, .hotspot:focus-visible .hotspot-label, .hotspot[aria-pressed="true"] .hotspot-label { opacity: 1; }
.rig-paused .hotspot::after { animation: none; opacity: 0; }

.rig-readout {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: end;
  margin-top: 12px; padding: 14px 16px; background: var(--bg); border-radius: var(--r-md);
  border: 1px solid var(--border);
}
.rig-readout-meta { grid-column: 1 / -1; display: flex; gap: 12px; font: 500 12px var(--mono); color: var(--text-3); letter-spacing: .04em; }
.rig-readout-meta span:first-child { color: var(--mine); }
.rig-readout-title { font-family: 'Space Grotesk', sans-serif; font-size: var(--fs-lg); font-weight: 600; }
.rig-readout-parts { grid-column: 1; color: var(--text-2); font-size: var(--fs-sm); }
.rig-readout .link-arrow { grid-column: 2; grid-row: 2 / 4; align-self: center; color: var(--mine); }

/* ── Secciones ── */
.mine-section { padding: 72px 0; }
.mine-section + .mine-section { border-top: 1px solid var(--border); }
.mine-head { max-width: 720px; margin-bottom: 32px; }
.mine-head h2 { font-size: clamp(26px, 3vw, var(--fs-2xl)); font-weight: 700; text-wrap: balance; }
.mine-head p { margin-top: 10px; color: var(--text-2); }
.mine-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.mine-head-row h2:focus { outline: none; }

/* ── Lista de equipos ── */
.eq-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.eq-item { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.eq-item button {
  width: 100%; height: 100%; display: grid; grid-template-rows: auto auto auto auto 1fr auto; gap: 6px; align-content: start;
  padding: 20px 22px 22px; background: none; border: 0; text-align: left; cursor: pointer;
  transition: background .2s;
}
.eq-item button:hover { background: var(--surface); }
.eq-item svg { width: 100%; max-width: 220px; height: 84px; margin-bottom: 10px; }
.eq-item svg * { fill: none; stroke: var(--draw); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; transition: stroke .2s; }
.eq-item button:hover svg * { stroke: var(--mine); }
.eq-code { font: 500 12px var(--mono); color: var(--mine); letter-spacing: .06em; }
.eq-name { font-family: 'Space Grotesk', sans-serif; font-size: var(--fs-lg); font-weight: 600; color: var(--text); }
.eq-desc { color: var(--text-3); font-size: var(--fs-sm); }
.eq-count { margin-top: 8px; color: var(--text-2); font-size: var(--fs-sm); display: inline-flex; align-items: center; gap: 6px; }
.eq-count i { color: var(--mine); }

/* ── Catálogo ── */
.mine-shop-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.mine-filters { position: sticky; top: calc(var(--nav-h) + 16px); display: grid; gap: 20px; }
.mine-filters fieldset { border: 0; display: grid; gap: 2px; }
.mine-filters legend { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 6px; }
.f-opt { display: flex; align-items: center; gap: 10px; min-height: 36px; font-size: var(--fs-sm); color: var(--text-2); cursor: pointer; }
.f-opt:hover { color: var(--text); }
.f-opt input { width: 18px; height: 18px; accent-color: var(--mine); }
.f-opt small { margin-left: auto; color: var(--text-3); font-variant-numeric: tabular-nums; }
.mine-toggle { display: flex; align-items: center; gap: 10px; font-size: var(--fs-sm); color: var(--text-2); cursor: pointer; min-height: var(--tap); }
.mine-toggle input { width: 18px; height: 18px; accent-color: var(--mine); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mchip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 6px 0 12px;
  background: var(--mine-soft); color: var(--mine); border-radius: 999px; font-size: var(--fs-sm); font-weight: 600;
  border: 0; cursor: pointer;
}
.mchip i { font-size: 15px; }

.part-list { display: grid; border-top: 1px solid var(--border); }
.part {
  display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 4px 16px; align-items: center;
  padding: 16px 4px; border-bottom: 1px solid var(--border);
}
.part-ico {
  grid-row: 1 / 5; width: 72px; height: 72px; border-radius: var(--r-md); overflow: hidden;
  background: var(--surface-2); display: grid; place-items: center; color: var(--draw); font-size: 26px;
}
.part-ico.has-photo { background: var(--photo-bg); padding: 6px; }
.part-ico img { width: 100%; height: 100%; object-fit: contain; }
.part-name { font-weight: 600; color: var(--text); line-height: 1.35; }
.part-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: var(--fs-xs); color: var(--text-3); }
.part-meta code { font: 500 12px var(--mono); color: var(--text-2); }
.part-fit { display: flex; flex-wrap: wrap; gap: 4px; }
.fit-tag { font: 500 11px var(--mono); padding: 2px 7px; border-radius: 4px; border: 1px solid var(--border-strong); color: var(--text-2); letter-spacing: .03em; }
.part-side { grid-column: 3; grid-row: 1 / 5; display: grid; justify-items: end; gap: 8px; }
.avail { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); color: var(--text-2); white-space: nowrap; }
.avail::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--late); }
.avail[data-s="stock"]::before { background: var(--ok); }
.avail[data-s="48h"]::before { background: var(--wait); }
.cond { font-size: var(--fs-xs); font-weight: 600; color: var(--text-3); }
.cond[data-c="oem"] { color: var(--primary-hover); }
.part-add { min-height: 40px; padding: 0 14px; font-size: var(--fs-sm); }
.part-add[aria-pressed="true"] { background: var(--mine-soft); color: var(--mine); border-color: transparent; }

.filters-toggle { display: none; }
.mine-empty { display: grid; justify-items: start; gap: 12px; padding: 32px 0; color: var(--text-2); max-width: 520px; }
.mine-empty i { font-size: 32px; color: var(--mine); }

/* ── Solicitud ── */
.rq {
  position: sticky; top: calc(var(--nav-h) + 16px); display: grid; gap: 12px;
  padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
}
.rq h3 { font-size: var(--fs-lg); }
.rq-hint { color: var(--text-3); font-size: var(--fs-sm); }
.rq-items { display: grid; gap: 2px; max-height: 260px; overflow-y: auto; }
.rq-items li { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--border); font-size: var(--fs-sm); }
.rq-items code { display: block; font: 500 11px var(--mono); color: var(--text-3); }
.rq-qty { width: 52px; min-height: 36px; padding: 0 6px; background: var(--bg); border: 1px solid var(--border-strong); border-radius: 6px; text-align: center; font-variant-numeric: tabular-nums; }
.rq-del { width: 36px; height: 36px; display: grid; place-items: center; background: none; border: 0; color: var(--text-3); cursor: pointer; border-radius: 6px; }
.rq-del:hover { color: var(--danger); }
.rq-field { display: grid; gap: 6px; font-size: var(--fs-sm); color: var(--text-2); }
.part-form label { min-width: 0; }
.part-form input, .part-form select { width: 100%; min-width: 0; }
.rq-field input, .part-form input, .part-form select {
  min-height: var(--tap); padding: 0 12px; background: var(--bg); border: 1px solid var(--border-strong);
  border-radius: var(--r-sm); font-size: var(--fs-md); caret-color: var(--mine);
}
.rq-field input:focus, .part-form input:focus, .part-form select:focus { border-color: var(--mine); outline: none; }
.rq-field input::placeholder, .part-form input::placeholder { color: var(--text-3); }
.rq .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

/* ── N.º de parte ── */
.part-cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.part-cta h2 { font-size: clamp(26px, 3vw, var(--fs-2xl)); text-wrap: balance; }
.part-cta > div p { margin-top: 12px; color: var(--text-2); max-width: 52ch; }
.part-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 120px; gap: 14px; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.part-form label { display: grid; gap: 6px; font-size: var(--fs-sm); color: var(--text-2); }
.part-form label:first-child { grid-column: 1 / -1; }
.part-form .btn, .part-form-note { grid-column: 1 / -1; }
.part-form-note { display: flex; gap: 8px; align-items: center; font-size: var(--fs-sm); color: var(--text-3); }

/* ── Proceso ── */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: flow; }
.flow li { position: relative; padding: 28px 24px 0 0; border-top: 2px solid var(--border-strong); display: grid; gap: 6px; }
.flow li::before {
  content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--mine);
}
.flow strong { font-family: 'Space Grotesk', sans-serif; font-size: var(--fs-lg); }
.flow span { color: var(--text-2); font-size: var(--fs-sm); }

.mine-legal { margin-top: 32px; color: var(--text-3); font-size: var(--fs-xs); max-width: 80ch; }

.demo-badge {
  position: fixed; left: 12px; bottom: 12px; z-index: 900; padding: 6px 10px; border-radius: 6px;
  background: var(--mine); color: var(--on-mine); font: 600 11px var(--mono); letter-spacing: .06em;
}

/* ── Responsive ── */
@media (max-width: 1180px) {
  .mine-shop-grid { grid-template-columns: 200px minmax(0, 1fr); }
  .rq { grid-column: 1 / -1; position: static; }
}
@media (max-width: 960px) {
  .mine-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .eq-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .part-cta { grid-template-columns: 1fr; gap: 24px; }
  .flow { grid-template-columns: 1fr 1fr; row-gap: 28px; }
}
@media (max-width: 720px) {
  .mine-hero { padding: 32px 0 40px; }
  .mine-section { padding: 52px 0; }
  .mine-wordmark { font-size: 13px; padding-left: 10px; }
  .mine-shop-grid { grid-template-columns: 1fr; }
  .mine-filters { position: static; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
  .mine-filters fieldset:first-child { grid-column: 1 / -1; }
  .mine-filters .btn, .mine-toggle { grid-column: 1 / -1; }
  .eq-list { grid-template-columns: 1fr; }
  .eq-item button { grid-template-columns: 104px minmax(0, 1fr); grid-template-rows: auto; column-gap: 14px; row-gap: 2px; padding: 16px; }
  .eq-desc { display: none; }
  .eq-count { margin-top: 2px; }
  .filters-toggle { display: inline-flex; }
  .mine-filters { display: none; }
  .mine-filters.open { display: grid; }
  .part { grid-template-columns: 64px minmax(0, 1fr); }
  .part-ico { width: 64px; height: 64px; grid-row: 1 / 4; font-size: 22px; align-self: start; }
  .part-brand, .part-name, .part-meta, .part-fit { grid-column: 2; }
  .part-ico { grid-row: 1 / 5; }
  .part-side { grid-column: 1 / -1; grid-row: auto; display: flex; justify-content: flex-end; align-items: center; justify-items: initial; margin-top: 6px; }
  .part-form { grid-template-columns: minmax(0, 1fr) 96px; padding: 18px; }
  .flow { grid-template-columns: 1fr; }
  .mine-facts { gap: 20px; }
  .part-search .btn span { display: none; }
  .hotspot-label { display: none; }
  .rig-readout { grid-template-columns: 1fr; }
  .rig-readout .link-arrow { grid-column: 1; grid-row: auto; }
  .nav-cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hotspot::after { animation: none; opacity: 0; }
  .rig-svg.is-drawing .rig-line * { animation: none; }
}

/* ══ Ficha de repuesto (landing por producto) ══ */
.mine-brand { color: var(--mine); }
.mine-brand[data-none] { color: var(--text-3); }
.page-mine .product-specs .ref { font-family: var(--mono); color: var(--mine); }
.price-quote { font-size: var(--fs-xl) !important; }
.ficha-body { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 48px; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--border); }
.ficha-body h2, .ficha-rel h2, .ficha-cta h2 { font-size: var(--fs-xl); margin-bottom: 12px; }
.ficha-body p { color: var(--text-2); max-width: 68ch; line-height: 1.75; }
.code-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.code-list code { display: inline-block; padding: 6px 10px; border: 1px solid var(--border-strong); border-radius: 6px; font: 500 14px var(--mono); color: var(--text); background: var(--surface); }
.ficha-rel { margin-top: 56px; }
.rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rel-card { display: flex; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); transition: border-color .15s; height: 100%; }
.rel-card:hover { border-color: var(--mine); }
.rel-media { flex: 0 0 64px; height: 64px; border-radius: var(--r-sm); background: var(--surface-2); display: grid; place-items: center; color: var(--draw); font-size: 24px; overflow: hidden; }
.rel-media.has-photo { background: var(--photo-bg); padding: 5px; }
.rel-media img { width: 100%; height: 100%; object-fit: contain; }
.rel-txt { display: grid; gap: 2px; min-width: 0; }
.rel-brand { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.rel-name { font-weight: 600; color: var(--text); line-height: 1.3; }
.rel-txt code { font: 500 12px var(--mono); color: var(--text-2); }
.ficha-cta { margin-top: 56px; padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; }
.ficha-cta p { color: var(--text-2); }
.part-name a { color: inherit; }
.part-name a:hover { color: var(--mine); text-decoration: underline; text-underline-offset: 3px; }
.part-name a::after { content: ""; position: absolute; inset: 0; }
.part { position: relative; }
.part-add { position: relative; z-index: 1; }
@media (max-width: 960px) {
  .ficha-body { grid-template-columns: 1fr; gap: 32px; }
  .rel-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .rel-grid { grid-template-columns: 1fr; }
  .ficha-body, .ficha-rel, .ficha-cta { margin-top: 40px; }
}

/* ══ v2.0 (2026-10-19): landing con la estructura del inicio + tienda aparte ══ */
.page-mine .rep-link, .page-mine .link-arrow.rep-link { color: var(--mine); }
.page-mine .rep-brand { color: var(--mine); }
.page-mine .cat-card i { color: var(--mine); }
.page-mine .cat-card:hover { border-color: var(--mine); }
.page-mine .brand-count { font-size: 13px; color: var(--text-3); }
.page-mine .px-search-gold:focus-within { border-color: var(--mine); box-shadow: 0 0 0 3px rgba(255,201,77,.28), 0 16px 48px rgba(0,0,0,.45); }
.page-mine .stat-item i { color: var(--mine); }
.page-mine .px-eyebrow { color: var(--mine); }
.rep-cats { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.rep-head { background: radial-gradient(80% 140% at 85% 0%, #2a2208 0%, #0c1428 55%, var(--bg) 100%); }
.rep-head .page-header-row { align-items: center; }
.rep-head .part-search { margin-top: 0; flex: 1 1 380px; max-width: 520px; }
.rep-cta { background: radial-gradient(70% 120% at 50% 0%, rgba(255,201,77,.14), transparent 70%), var(--surface); }
.rep-head + .mine-shop { padding-top: 36px; }
.store-switch a { white-space: nowrap; }
@media (max-width: 420px) { .store-switch a { padding: 0 10px; font-size: 13px; } }

/* Aviso legal de cada ficha (2026-10-19) */
.ficha-legal { margin-top: 40px; padding: 16px 18px; border: 1px solid var(--border); border-left: 3px solid var(--mine, var(--gold)); border-radius: var(--r-md); background: var(--surface); }
.ficha-legal p { font-size: var(--fs-xs); line-height: 1.6; color: var(--text-3); max-width: 110ch; }
.ficha-legal strong { color: var(--text-2); }

/* Catálogo de repuestos (2026-10-19) */
.page-mine .rep-strip { margin-top: 40px; }
.page-mine .rep-download { display: flex; margin-top: 14px; color: var(--mine); }
.page-mine .rep-download[hidden], .page-mine [data-catalogo][hidden] { display: none; }

/* Fotos reales de equipos (2026-10-19) */
.eq-media { position: relative; display: block; width: 100%; aspect-ratio: 12 / 5; margin-bottom: 14px; border-radius: 10px; overflow: hidden; background: #0b1426; }
.eq-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.eq-item button:hover .eq-media img { transform: scale(1.04); }
.eq-media.is-plano { display: grid; place-items: center; background: radial-gradient(120% 120% at 50% 0%, #11223f, #08101f); border: 1px solid var(--draw-dim); }
.eq-media.is-plano svg { width: 72%; max-width: none; height: auto; margin: 0; }
.eq-media-note { position: absolute; right: 8px; bottom: 6px; font: 500 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.eq-credits { margin-top: 14px; font-size: 11.5px; color: var(--text-3); line-height: 1.6; }
.eq-credits a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 560px) {
  .eq-item button { grid-template-columns: minmax(0, 1fr); }
  .eq-media { grid-row: auto; margin: 0 0 8px; aspect-ratio: 12 / 5; }
}

/* Sección no publicada: aviso «Muy pronto» (2026-10-19) */
.mina-cerrada > :not(.proximo) { display: none !important; }
.proximo { min-height: 100svh; display: grid; place-items: center; padding: 32px 16px;
  background: radial-gradient(70% 60% at 70% 20%, #2a2208, transparent 70%), radial-gradient(80% 70% at 20% 90%, #0d2347, transparent 70%), var(--bg); }
.proximo-box { max-width: 560px; text-align: center; display: grid; gap: 16px; justify-items: center; }
.proximo-box img { width: 120px; height: auto; }
.proximo-box .px-eyebrow { justify-content: center; color: var(--mine); }
.proximo-box h1 { font-size: clamp(36px, 6vw, 56px); }
.proximo-box h1 span { color: var(--mine); }
.proximo-box p { color: var(--text-2); font-size: var(--fs-lg); line-height: 1.6; }
.proximo-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.vista-previa { position: sticky; top: 0; z-index: 300; padding: 8px 16px; text-align: center; font-size: 13px; font-weight: 600;
  background: repeating-linear-gradient(135deg, #ffc94d 0 14px, #f2b705 14px 28px); color: #1a1203; }

/* Equipos sin foto: ícono en lugar de la foto */
.eq-media.is-plano .eq-media-ico { font-size: 56px; color: var(--draw); }
