/* ═══════════════════════════════════════════════════════════
   ISP AUTOPARTES — STYLE SHEET
   Sistema Corporativo | Public Sans
   ═══════════════════════════════════════════════════════════ */

/* ═══════════ TYPOGRAPHY SYSTEM ═══════════
   Base:    Public Sans             — institucional, sobria, confiable
   Compare: IBM Plex / Poppins+Inter por parámetro de URL
   ═══════════════════════════════════════════════════════════ */

:root {
  /* ═══ Color System ═══ */
  --bg:             #ffffff;
  --bg-alt:         #f7f8fa;
  --bg-card:        #ffffff;
  --bg-card-hover:  #f7f8fa;
  --text:           #1a1a1a;
  --text-dim:       #6b7280;
  --text-light:     #9ca3af;
  --accent:         #0d2f6f;
  --accent-light:   #1a4a9e;
  --accent-subtle:  rgba(13,47,111,0.06);
  --accent-border:  rgba(13,47,111,0.12);
  --border:         #e5e7eb;
  --border-light:   #f0f1f3;
  --red:            #dc2626;
  --silver:         #9ca3af;
  --silver-dim:     #6b7280;
  --white:          #ffffff;

  /* ═══ Typography — Families ═══ */
  --font-display:   'Public Sans', system-ui, sans-serif;
  --font-body:      'Public Sans', system-ui, sans-serif;

  /* ═══ Typography — Scale Responsiva (clamp) ═══
     Modular scale 1.200 (Major Third) + hero custom */
  --text-xs:    clamp(0.69rem, 0.67rem + 0.08vw, 0.75rem);
  --text-sm:    clamp(0.80rem, 0.77rem + 0.12vw, 0.88rem);
  --text-base:  clamp(0.94rem, 0.90rem + 0.16vw, 1.00rem);
  --text-md:    clamp(1.13rem, 1.07rem + 0.24vw, 1.25rem);
  --text-lg:    clamp(1.35rem, 1.26rem + 0.38vw, 1.56rem);
  --text-xl:    clamp(1.62rem, 1.49rem + 0.56vw, 1.95rem);
  --text-2xl:   clamp(1.94rem, 1.76rem + 0.80vw, 2.44rem);
  --text-3xl:   clamp(2.33rem, 2.07rem + 1.12vw, 3.05rem);

  /* ═══ Typography — Letter Spacing ═══ */
  --tracking-tighter:  -0.04em;
  --tracking-tight:    -0.02em;
  --tracking-normal:    0em;
  --tracking-wide:      0.03em;
  --tracking-wider:     0.05em;
  --tracking-widest:    0.10em;

  /* ═══ Typography — Line Height ═══ */
  --leading-none:      1;
  --leading-tight:     1.05;
  --leading-display:   1.10;
  --leading-snug:      1.35;
  --leading-body:      1.65;
  --leading-relaxed:   1.75;

  /* ═══ Typography — Weights ═══ */
  --weight-light:    300;
  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;
  --weight-extrabold:800;

  /* ═══ Vertical Rhythm / Spacing System ═══ */
  --space-xs:   8px;
  --space-sm:   16px;
  --space-md:   24px;
  --space-lg:   40px;
  --space-xl:   64px;
  --space-2xl:  96px;

  /* ═══ UI Tokens ═══ */
  --radius:       12px;
  --radius-sm:    8px;
  --radius-pill:  100px;
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.04);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg:    0 8px 30px rgba(0,0,0,0.08);

  /* ═══ Z-Index Scale ═══ */
  --z-base:       10;
  --z-dropdown:   20;
  --z-sticky:     30;
  --z-overlay:    40;
  --z-modal:      50;

  /* ═══ Navbar ═══ */
  --nav-bg:       rgba(255,255,255,0.95);
  --nav-bg-solid: #ffffff;
  --nav-text:     #1a1a1a;
  --nav-text-dim: #6b7280;
  --nav-border:   rgba(13,47,111,0.08);
  --nav-shadow:   0 1px 3px rgba(0,0,0,0.05), 0 1px 0 var(--border-light);
  --nav-height:   152px;
  --viewport-height: 100svh;
}

/* ═══════════════════════════════════════════════════════════════
   TIENDA ISP — ECOM VAULT
   ═══════════════════════════════════════════════════════════════ */

.ecom-vault {
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: auto;
  padding: clamp(34px, 3.5vw, 48px) 0 clamp(30px, 3vw, 42px);
  position: relative;
  z-index: 10;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 0%, rgba(13,47,111,0.28), transparent 48%),
    linear-gradient(180deg, #02050b 0%, #07111d 42%, #02050b 100%);
}

.ecom-vault::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(143,185,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143,185,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.35;
}

.ecom-vault__shell {
  position: relative;
  z-index: 1;
  width: min(100%, 1480px);
  min-height: 0;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 58px);
  display: grid;
  grid-template-rows: auto auto auto auto;
  gap: clamp(10px, 1.2vw, 16px);
  align-content: start;
}

.ecom-vault__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
  align-items: end;
  gap: clamp(14px, 3vw, 32px);
}

.ecom-vault__header {
  min-width: 0;
}

.ecom-vault__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
  font-family: 'IBM Plex Sans', var(--font-display, 'Inter', sans-serif);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #0d2f6f;
}

.ecom-vault__eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, rgba(143,185,255,0.95), rgba(77,141,255,0.4));
}

.ecom-vault__title {
  width: min(100%, 850px);
  margin: 0;
  font-family: 'IBM Plex Sans Condensed', var(--font-display, 'Inter', sans-serif);
  font-size: clamp(1.34rem, 2.35vw, 1.96rem);
  font-weight: 900;
  line-height: 1.02;
  color: #0d2f6f;
  text-shadow: none;
  text-wrap: balance;
}

.ecom-vault__sub {
  margin: 5px 0 0;
  max-width: 760px;
  font-family: 'IBM Plex Sans', var(--font-body, 'Inter', sans-serif);
  font-size: clamp(0.76rem, 0.72rem + 0.14vw, 0.88rem);
  line-height: 1.58;
  color: #4a6285;
  text-wrap: pretty;
}

.ecom-vault__metric {
  position: relative;
  justify-self: end;
  min-width: 170px;
  overflow: hidden;
  padding: 18px 20px;
  border: 1px solid rgba(143,185,255,0.22);
  border-radius: 8px;
  background: rgba(3,10,21,0.9);
  box-shadow:
    0 24px 60px rgba(0,0,0,0.28),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.ecom-vault__metric::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.16) 44%, transparent 58%);
  opacity: 0.42;
  transform: translateX(-42%);
}

.ecom-vault__metric-value {
  display: block;
  position: relative;
  font-family: var(--font-display, 'Inter', sans-serif);
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  font-weight: 900;
  line-height: 0.92;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.ecom-vault__metric-label {
  display: block;
  position: relative;
  margin-top: 7px;
  font-family: var(--font-display, 'Inter', sans-serif);
  font-size: 0.6rem;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
  color: rgba(214,229,255,0.78);
}

.ecom-vault__tabs {
  width: auto;
  justify-self: start;
  display: grid;
  grid-template-columns: auto auto;
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(143,185,255,0.22);
  border-radius: 8px;
  background: rgba(2,8,18,0.88);
  box-shadow: 0 22px 60px rgba(0,0,0,0.34);
}

.ecom-vault__tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(226,239,255,0.78);
  cursor: pointer;
  font-family: var(--font-display, 'Inter', sans-serif);
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.ecom-vault__tab::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.12) 44%, transparent 62%),
    linear-gradient(180deg, rgba(143,185,255,0.18), rgba(13,47,111,0.32));
  transform: translateX(-120%);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.22,1,0.36,1), opacity 0.25s ease;
}

.ecom-vault__tab span,
.ecom-vault__tab small {
  position: relative;
  z-index: 1;
}

.ecom-vault__tab span {
  font-size: 0.62rem;
}

.ecom-vault__tab small {
  display: block;
  max-width: 100%;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.54rem;
  font-weight: 600;
  text-transform: none;
  color: rgba(226,239,255,0.68);
  white-space: nowrap;
}

.ecom-vault__tab:is(:hover, :focus-visible) {
  color: #fff;
}

.ecom-vault__tab:focus-visible,
.epc__btn:focus-visible,
.ecom-showroom__nav-btn:focus-visible,
.ecom-showroom__dot:focus-visible,
.ecom-lightbox__actions a:focus-visible,
.ecom-lightbox__actions button:focus-visible,
.ecom-lightbox__close:focus-visible,
.epc:focus-visible {
  outline: 2px solid rgba(143,185,255,0.92);
  outline-offset: 3px;
}

.ecom-vault__tab.is-active {
  color: #fff;
  background:
    radial-gradient(circle at 50% 0%, rgba(143,185,255,0.22), transparent 52%),
    linear-gradient(180deg, rgba(13,47,111,0.82), rgba(5,21,48,0.92));
  border: 1px solid rgba(143,185,255,0.32);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 12px 38px rgba(13,47,111,0.42),
    0 0 26px rgba(77,141,255,0.12);
}

.ecom-vault__tab.is-active::before {
  transform: translateX(0);
  opacity: 1;
}

.ecom-vault__tab.is-active small {
  color: rgba(194,218,255,0.76);
}

.ecom-showroom {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto;
  min-height: 0;
  border: 1px solid rgba(143,185,255,0.22);
  border-radius: 8px;
  background: rgba(2,8,18,0.94);
  box-shadow:
    0 34px 110px rgba(0,0,0,0.36),
    inset 0 1px 0 rgba(255,255,255,0.055);
  overflow: hidden;
}

.ecom-showroom::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(143,185,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143,185,255,0.02) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0.4;
}

.ecom-showroom::after {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  top: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(143,185,255,0.72), transparent);
  pointer-events: none;
}

.ecom-showroom__bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(10px, 1.4vw, 18px) clamp(14px, 2vw, 24px);
  border-bottom: 1px solid rgba(143,185,255,0.12);
}

.ecom-showroom__bar strong {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display, 'Inter', sans-serif);
  font-size: clamp(1.04rem, 0.94rem + 0.46vw, 1.3rem);
  line-height: 1.14;
  color: #fff;
}

.ecom-showroom__kicker,
.ecom-showroom__status {
  font-family: var(--font-display, 'Inter', sans-serif);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(201,222,255,0.82);
}

.ecom-showroom__status {
  flex-shrink: 0;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(143,185,255,0.24);
  background: rgba(3,12,28,0.9);
}

.ecom-showroom__actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-width: 0;
}

.ecom-vault__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, auto));
  gap: 20px 18px;
  padding: 12px;
  min-height: 0;
  overflow: visible;
  transition: opacity 0.26s ease, filter 0.26s ease, transform 0.26s ease;
  align-items: stretch;
}

.ecom-vault.is-switching .ecom-vault__grid {
  pointer-events: none;
}

/* ─── Skeleton loading ─── */
.ecom-vault__skeleton {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 18px;
  padding: 12px;
}

.ecom-skeleton-card {
  aspect-ratio: 4/3;
  border-radius: 12px;
  background: rgba(143,185,255,0.06);
  animation: ecomSkeletonPulse 1.8s ease-in-out infinite;
}

.ecom-skeleton-card:nth-child(2) { animation-delay: 0.15s; }
.ecom-skeleton-card:nth-child(3) { animation-delay: 0.3s; }
.ecom-skeleton-card:nth-child(4) { animation-delay: 0.1s; }
.ecom-skeleton-card:nth-child(5) { animation-delay: 0.25s; }
.ecom-skeleton-card:nth-child(6) { animation-delay: 0.05s; }

@keyframes ecomSkeletonPulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.65; }
}

@media (prefers-reduced-motion: reduce) {
  .ecom-skeleton-card { animation: none; opacity: 0.5; }
}

/* ─── Empty state ─── */
.ecom-vault__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 48px 24px;
  text-align: center;
  grid-column: 1 / -1;
}

.ecom-vault__empty-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(143,185,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(143,185,255,0.5);
}

.ecom-vault__empty-text {
  max-width: 360px;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(226,239,255,0.62);
}

.ecom-vault__empty-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 20px;
  border: 1px solid rgba(143,185,255,0.35);
  border-radius: 999px;
  background: rgba(13,47,111,0.25);
  color: #cfe0ff;
  font-family: var(--font-display, 'Inter', sans-serif);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ecom-vault__empty-action:hover {
  background: rgba(13,47,111,0.4);
  border-color: rgba(143,185,255,0.55);
}

.epc {
  height: auto;
  min-height: 0;
  border: 1px solid rgba(143,185,255,0.16);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(8,20,39,0.98), rgba(3,8,18,1));
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.epc:hover {
  z-index: 30;
  transform: translateY(-4px);
  border-color: rgba(13,47,111,0.4);
  box-shadow:
    0 24px 56px rgba(0,0,0,0.34),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

.epc__media {
  width: 100%;
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  background: rgba(2,8,18,0.94);
}

.epc__img {
  width: 100%;
  height: 100%;
  padding: 10px;
  object-fit: contain;
  transform: scale(1);
  filter: saturate(0.98) brightness(0.94) contrast(1.04);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), filter 0.35s ease;
}

.epc:hover .epc__img {
  transform: scale(1.07);
  filter: saturate(1.1) brightness(1.04) contrast(1.06);
}

.epc__zoom {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(2,8,18,0.78);
  border: 1px solid rgba(143,185,255,0.3);
  color: rgba(226,239,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: none;
}

.epc:hover .epc__zoom {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.05);
}

.epc__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  max-width: calc(100% - 20px);
  padding: 5px 8px;
  border: 1px solid rgba(13,47,111,0.22);
  border-radius: 999px;
  background: rgba(2,8,18,0.68);
  color: rgba(245,249,255,0.96);
  box-shadow: 0 10px 24px rgba(0,0,0,0.22);
  font-family: var(--font-display, 'Inter', sans-serif);
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.epc__info {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.epc__name {
  min-height: 0;
  margin: 0;
  font-family: var(--font-display, 'Inter', sans-serif);
  font-size: clamp(0.96rem, 0.9rem + 0.14vw, 1.06rem);
  font-weight: 700;
  line-height: 1.24;
  color: rgba(250,252,255,0.98);
}

.epc__desc {
  min-height: 0;
  margin: 0;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: clamp(0.74rem, 0.7rem + 0.08vw, 0.8rem);
  line-height: 1.48;
  color: rgba(226,239,255,0.76);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.epc__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: 6px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 999px;
  background: #fff;
  color: #031028;
  box-shadow: 0 8px 20px rgba(0,0,0,0.14);
  font-family: var(--font-display, 'Inter', sans-serif);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
  transition: transform 0.2s ease, background 0.25s ease;
}

.epc__btn:hover {
  transform: translateY(-2px);
  background: #eaf2ff;
}

.epc.is-new {
  animation: ecomCardIn 0.48s cubic-bezier(0.22,1,0.36,1) both;
}

@keyframes ecomCardIn {
  from { opacity: 0; transform: translateY(18px) scale(0.985); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

.ecom-showroom__footer {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  padding: clamp(12px, 1.45vw, 18px) clamp(18px, 2.4vw, 32px);
  border-top: 1px solid rgba(143,185,255,0.12);
  background: rgba(5,14,28,0.94);
}

.ecom-showroom__footer p {
  margin: 0;
  max-width: 540px;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.84rem;
  line-height: 1.52;
  color: rgba(226,239,255,0.76);
}

.ecom-showroom__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
}

.ecom-showroom__nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  width: 40px;
  border: 1px solid rgba(143,185,255,0.22);
  border-radius: 50%;
  background: rgba(255,255,255,0.045);
  color: rgba(226,239,255,0.84);
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.ecom-showroom__nav-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  background: rgba(143,185,255,0.14);
  border-color: rgba(143,185,255,0.42);
  color: #fff;
}

.ecom-showroom__nav-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.ecom-showroom__pager {
  min-width: 136px;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 0 4px;
}

.ecom-showroom__pager span {
  font-family: var(--font-display, 'Inter', sans-serif);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(226,239,255,0.72);
}

.ecom-showroom__dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.ecom-showroom__dot {
  width: 24px;
  height: 7px;
  border: 0;
  border-radius: 999px;
  background: rgba(143,185,255,0.28);
  cursor: pointer;
  transform: scaleX(0.29);
  transform-origin: left center;
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.ecom-showroom__dot.is-active {
  transform: scaleX(1);
  background: #8fb9ff;
  box-shadow: 0 0 20px rgba(77,141,255,0.34);
}

.ecom-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 54px);
  background:
    radial-gradient(circle at 50% 22%, rgba(77,141,255,0.24), transparent 38%),
    rgba(1,5,12,0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.ecom-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.ecom-lightbox__dialog {
  width: min(100%, 1120px);
  max-height: min(720px, 86svh);
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(280px, 0.58fr);
  border: 1px solid rgba(143,185,255,0.28);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(10,24,46,0.98), rgba(2,8,18,1));
  box-shadow: 0 34px 120px rgba(0,0,0,0.58), 0 0 0 1px rgba(77,141,255,0.08);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.28s cubic-bezier(0.22,1,0.36,1);
}

.ecom-lightbox.is-open .ecom-lightbox__dialog {
  transform: translateY(0) scale(1);
}

.ecom-lightbox__media {
  min-height: 380px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(143,185,255,0.2), transparent 36%),
    linear-gradient(135deg, rgba(13,47,111,0.34), rgba(2,8,18,0.96));
}

.ecom-lightbox__media img {
  width: min(80%, 620px);
  max-height: 60svh;
  object-fit: contain;
  filter: drop-shadow(0 34px 70px rgba(0,0,0,0.42));
}

.ecom-lightbox__copy {
  padding: clamp(18px, 2.2vw, 28px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  border-left: 1px solid rgba(143,185,255,0.12);
}

.ecom-lightbox__copy > span {
  align-self: flex-start;
  padding: 6px 10px;
  border: 1px solid rgba(143,185,255,0.22);
  border-radius: 999px;
  color: rgba(219,231,255,0.92);
  font-size: 0.54rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.ecom-lightbox__copy h3 {
  margin: 0;
  font-family: var(--font-display, 'Inter', sans-serif);
  font-size: clamp(1.34rem, 2.2vw, 2.28rem);
  line-height: 1.02;
  color: #fff;
}

.ecom-lightbox__copy p {
  margin: 0;
  color: rgba(236,243,255,0.82);
  font-size: 0.84rem;
  line-height: 1.5;
}

.ecom-lightbox__specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.ecom-lightbox__spec {
  display: grid;
  gap: 3px;
  padding: 8px 10px;
  border: 1px solid rgba(143,185,255,0.16);
  border-radius: 8px;
  background: rgba(255,255,255,0.035);
}

.ecom-lightbox__spec-label {
  color: rgba(201,222,255,0.82);
  font-family: var(--font-display, 'Inter', sans-serif);
  font-size: 0.5rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.ecom-lightbox__spec-value {
  color: rgba(248,251,255,0.98);
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.24;
  overflow-wrap: anywhere;
}

.ecom-lightbox__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.ecom-lightbox__actions a,
.ecom-lightbox__actions button,
.ecom-lightbox__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-display, 'Inter', sans-serif);
  font-weight: 900;
  text-decoration: none;
}

.ecom-lightbox__actions a {
  min-height: 38px;
  padding: 0 16px;
  background: #fff;
  color: #031028;
}

.ecom-lightbox__actions button {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(143,185,255,0.2);
  background: rgba(255,255,255,0.04);
  color: rgba(236,243,255,0.9);
}

.ecom-lightbox__close {
  position: absolute;
  top: clamp(18px, 3vw, 34px);
  right: clamp(18px, 3vw, 34px);
  width: 46px;
  height: 46px;
  border: 1px solid rgba(143,185,255,0.24);
  background: rgba(3,12,28,0.82);
  color: #fff;
  z-index: 2;
}

body.ecom-lightbox-open {
  overflow: hidden;
}

body.ecom-lightbox-open .float-wa {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.92);
}

@media (max-width: 1180px) {
  .ecom-vault__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, auto));
  }
  .ecom-vault__skeleton {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  #stock-comercial-autopartes.ecom-vault {
    padding: 68px 0 70px;
  }

  .ecom-vault__top {
    grid-template-columns: 1fr;
  }

  .ecom-vault__metric {
    justify-self: stretch;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .ecom-vault__tabs {
    width: 100%;
  }

  .ecom-vault__tab {
    min-height: 58px;
  }

  .ecom-vault__tab small {
    display: none;
  }

  .ecom-showroom__bar,
  .ecom-showroom__actions,
  .ecom-showroom__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .ecom-showroom__actions,
  .ecom-showroom__nav {
    width: 100%;
  }

  .ecom-showroom__nav {
    justify-content: space-between;
  }

  .ecom-showroom__pager {
    min-width: 0;
    flex: 1 1 auto;
  }

  .ecom-lightbox__dialog {
    grid-template-columns: 1fr;
    max-height: 86svh;
    overflow-y: auto;
  }

  .ecom-lightbox__media {
    min-height: 240px;
  }

  .ecom-lightbox__copy {
    padding: 18px 18px 20px;
    gap: 10px;
    border-left: 0;
    border-top: 1px solid rgba(143,185,255,0.12);
  }

  .ecom-lightbox__media img {
    width: min(74%, 420px);
    max-height: 40svh;
  }

  .ecom-lightbox__copy h3 {
    font-size: clamp(1.2rem, 7.3vw, 2rem);
    line-height: 0.98;
  }

  .ecom-lightbox__copy p {
    font-size: 0.8rem;
    line-height: 1.42;
  }

  .ecom-lightbox__spec {
    padding: 8px 9px;
  }

  .ecom-lightbox__spec-value {
    font-size: 0.72rem;
  }
}

@media (max-width: 640px) {
  .ecom-vault__grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, minmax(0, auto));
  }
  .ecom-vault__skeleton {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .ecom-vault__shell {
    padding-inline: 16px;
  }

  .ecom-showroom > *,
  .ecom-showroom__bar,
  .ecom-showroom__actions,
  .ecom-showroom__nav,
  .ecom-vault__grid,
  .ecom-showroom__footer,
  .epc,
  .epc__media,
  .epc__info {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .ecom-showroom__nav {
    gap: 8px;
  }

  .ecom-showroom__dots {
    display: none;
  }

  .ecom-vault__title {
    font-size: clamp(2.45rem, 14vw, 4.1rem);
  }

  .epc__info {
    padding: 12px 14px;
  }

  .epc__name {
    font-size: 0.92rem;
  }

  .epc__desc {
    font-size: 0.74rem;
  }

  .ecom-lightbox {
    padding: 14px;
  }

  .ecom-lightbox__close {
    top: 16px;
    right: 16px;
  }
}

@media (max-width: 380px) {
  .ecom-lightbox__specs {
    grid-template-columns: 1fr;
  }
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: auto; }
body {
  font-family: var(--font-body);
  font-weight: var(--weight-regular);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Enlaces siempre accionables al pasar el cursor */
a[href] {
  cursor: pointer;
}

/* Modo comparativo: conservar tipografía anterior con ?font=legacy */
body.font-legacy {
  --font-display: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

body.font-plex {
  --font-display: 'IBM Plex Sans Condensed', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
}

/* ═══════════ NAVBAR — INDUSTRIAL PREMIUM ═══════════ */
#navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 0 2rem;
  font-family: var(--font-body);
  font-weight: var(--weight-medium);
  background: #ffffff;
  --nav-line-scale: 1;
  --nav-line-opacity: 1;
}

#navbar.is-scrolled {
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.06);
}
/* Línea milimétrica azul gradient inferior */
#navbar::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 8%,
    rgba(13,47,111,0.04) 15%,
    rgba(13,47,111,0.25) 30%,
    #0d2f6f 50%,
    rgba(13,47,111,0.25) 70%,
    rgba(13,47,111,0.04) 85%,
    transparent 92%);
  box-shadow: 0 0 2px rgba(13,47,111,0.08), 0 0 6px rgba(13,47,111,0.04);
  opacity: var(--nav-line-opacity);
  transform: scaleX(var(--nav-line-scale));
  transform-origin: center;
}

.nav-container {
  max-width: 900px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 32px;
  height: 152px;
}

/* Logo */
.nav-logo {
  display: flex; align-items: center;
  text-decoration: none; flex-shrink: 0;
  line-height: 0;
  position: relative;
}
/* Soft radial glow detrás del logo */
.nav-logo::before {
  content: '';
  position: absolute; top: 50%; left: 50%;
  width: 200px; height: 200px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.06) 40%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.nav-logo.loaded::before {
  opacity: 1;
}
.nav-logo-img {
  width: 136px; height: 136px;
  object-fit: contain;
}

/* Menu */
.nav-links { display: flex; list-style: none; gap: 0.15rem; }
.nav-link {
  text-decoration: none;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.04em;
  padding: 6px 14px;
  color: #6b7280;
  transition: color 0.25s;
  position: relative; white-space: nowrap;
  text-transform: uppercase;
}
.nav-link:hover { color: #1a1a1a; }
.nav-link::after {
  content: '';
  position: absolute; bottom: 0; left: 14px; right: 14px;
  height: 1px;
  background: #0d2f6f;
  transform: scaleX(0);
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.nav-link:hover::after { transform: scaleX(0.5); }
.nav-link.active {
  color: #0d2f6f;
  font-weight: 600;
}
.nav-link.active::after { transform: scaleX(1); }
.nav-link.active:hover::after { transform: scaleX(1); }

/* ═══════════ DROPDOWN COMPONENTES ═══════════ */
.nav-item.dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% - 6px);
  left: 50%;
  transform: translateX(-50%) translateY(0);
  background: #ffffff;
  min-width: 220px;
  padding: 6px 0;
  border-radius: 10px;
  box-shadow: 0 14px 44px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.04);
  border: 1px solid rgba(13,47,111,0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  z-index: 1002;
}

/* ── Puente invisible: cubre el gap entre link y menu ── */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(6px);
}

.dropdown-link {
  display: block;
  padding: 8px 22px;
  font-size: 0.71rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: #6b7280;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
  font-family: var(--font-body);
  line-height: 1.6;
}

.dropdown-link:hover {
  color: #0d2f6f;
  background: rgba(13,47,111,0.06);
}

.dropdown-link:active {
  background: rgba(13,47,111,0.12);
}

/* ── Primer y ultimo item ── */
.dropdown-link:first-child {
  border-radius: 10px 10px 0 0;
}
.dropdown-link:last-child {
  border-radius: 0 0 10px 10px;
}


/* ═══════════ DROPDOWN MOBILE (≤900px) ═══════════ */
@media (max-width: 900px) {
  .nav-item.dropdown {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  .nav-item.dropdown > .nav-link {
    width: 100%;
    padding-right: 30px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  /* Flecha indicadora a la derecha */
  .nav-item.dropdown > .nav-link::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid #6b7280;
    border-bottom: 1.5px solid #6b7280;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    position: absolute;
    right: 10px;
    top: 50%;
    margin-top: -4px;
  }
  .nav-item.dropdown.open > .nav-link::after {
    transform: rotate(-135deg);
  }

  .dropdown-menu {
    position: static;
    transform: none !important;
    box-shadow: none;
    border: none;
    border-left: 2px solid rgba(13,47,111,0.12);
    margin: 0 0 0 12px;
    padding: 0;
    min-width: unset;
    width: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    border-radius: 0;
    background: transparent;
  }
  .dropdown-menu::before {
    display: none;
  }

  .nav-item.dropdown.open .dropdown-menu {
    display: block;
  }

  .dropdown-link {
    font-size: 0.78rem;
    padding: 7px 0 7px 16px;
    text-transform: none;
    color: #6b7280;
    background: transparent;
    letter-spacing: 0.02em;
  }
  .dropdown-link:hover {
    color: #0d2f6f;
    background: transparent;
  }
}

/* CTA */
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: #0d2f6f;
  color: #fff; text-decoration: none;
  padding: 8px 22px;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.5s ease;
  flex-shrink: 0;
  position: relative;
}
.nav-cta:hover { background: #1a4a9e; }
.nav-cta:active { background: #0a2558; }
/* Línea neon milimétrica inferior */
.nav-cta::after {
  content: '';
  position: absolute; bottom: -1px; left: 50%;
  width: 0;
  height: 1px;
  background: #4d7dff;
  box-shadow: 0 0 4px rgba(77,125,255,0.5), 0 0 12px rgba(77,125,255,0.2);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);
  pointer-events: none;
}
.nav-cta:hover::after {
  transform: translateX(-50%) scaleX(1);
}
.nav-cta svg {
  width: 15px; height: 15px; fill: none; stroke: currentColor;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.5s ease;
  flex-shrink: 0;
}
.nav-cta:hover svg { transform: scale(1.05); }

@media (min-width: 1025px) {
  #navbar,
  #navbar::after,
  .nav-container,
  .nav-logo-img,
  .nav-links,
  .nav-link,
  .nav-cta,
  .nav-cta svg {
    transition:
      padding 0.78s cubic-bezier(0.22, 1, 0.36, 1),
      height 0.78s cubic-bezier(0.22, 1, 0.36, 1),
      width 0.78s cubic-bezier(0.22, 1, 0.36, 1),
      gap 0.78s cubic-bezier(0.22, 1, 0.36, 1),
      font-size 0.62s ease,
      letter-spacing 0.62s ease,
      box-shadow 0.64s ease,
      background-color 0.64s ease,
      transform 0.64s ease;
  }

  #navbar.is-scrolled {
    padding: 0 1.4rem;
    background: rgba(255, 255, 255, 0.96);
    --nav-line-scale: 0.94;
    box-shadow:
      0 16px 34px rgba(15, 23, 42, 0.08),
      0 2px 10px rgba(13, 47, 111, 0.06);
    backdrop-filter: saturate(135%) blur(10px);
  }

  #navbar.is-scrolled .nav-container {
    height: 111px;
    gap: 23px;
  }

  #navbar.is-scrolled .nav-logo-img {
    width: 99px;
    height: 99px;
  }

  #navbar.is-scrolled .nav-links {
    gap: 0.05rem;
  }

  #navbar.is-scrolled .nav-link {
    padding: 4px 11px;
    font-size: 0.595rem;
    letter-spacing: 0.05em;
  }

  #navbar.is-scrolled .nav-cta {
    padding: 6px 16px;
    font-size: 0.563rem;
    letter-spacing: 0.05em;
  }

  #navbar.is-scrolled .nav-cta svg {
    transform: scale(0.96);
  }
}

/* Hamburger */
.nav-toggle {
  display: none; flex-direction: column; gap: 4px;
  background: none; border: none; cursor: pointer;
  padding: 6px; z-index: 1001;
}
.nav-toggle span {
  display: block; width: 18px; height: 1.5px;
  background: #1a1a1a;
  transition: transform 0.35s, opacity 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4px,4px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4px,-4px); }

/* Mobile */
@media (max-width: 900px) {
  #navbar { padding: 0 1.2rem; }
  .nav-container { gap: 0; justify-content: space-between; }
  .nav-links {
    position: fixed; top: 0; right: -105%; width: 280px; height: 100vh;
    flex-direction: column; justify-content: center; align-items: flex-start;
    background: #fff;
    transition: right 0.4s cubic-bezier(0.22,1,0.36,1);
    gap: 0.3rem; padding: 5rem 2.2rem;
    box-shadow: -2px 0 30px rgba(0,0,0,0.06);
    z-index: 1000;
  }
  .nav-links.open { right: 0; }
  .nav-link {
    font-size: 0.85rem; padding: 9px 0; color: #6b7280;
    width: 100%; text-transform: none;
  }
  .nav-link::after { left: 0; right: 0; }
  .nav-link.active { color: #0d2f6f; font-weight: 600; }
  .nav-cta { padding: 8px 16px; font-size: 0.65rem; }
  .nav-cta span { display: none; }
  .nav-toggle { display: flex; }
}


/* ═══════════ SECTIONS ═══════════ */
section { position:relative; z-index:1; padding:6rem 2rem; max-width:1200px; margin:0 auto; background:var(--bg); scroll-margin-top: 80px; }
section:nth-child(even) { background: var(--bg-alt); }
.section-title { text-align:center; margin-bottom:3.5rem; }
.section-title h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: var(--weight-bold);
  color:var(--text);
  letter-spacing: var(--tracking-tight);
}
.section-title h2 span { color:var(--accent); }
.section-title .line {
  width:48px; height:3px; background:var(--accent);
  margin:1rem auto 0; border-radius:2px;
}
.section-title p { color:var(--text-dim); margin-top:0.8rem; max-width:500px; margin-left:auto; margin-right:auto; font-size:0.95rem; }

/* ═══════════ PRODUCTS SHOWROOM — BLUEPRINT ═══════════ */
#componentes-motor-importados {
  --products-viewport: var(--viewport-height, 100svh);
  --products-nav-offset: var(--nav-height, 152px);
  --products-frame-height: calc(var(--products-viewport) - var(--products-nav-offset));
  width: 100%;
  max-width: none;
  margin: 0;
  position: relative;
  overflow: hidden;
  min-height: var(--products-frame-height);
  height: var(--products-frame-height);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-content: stretch;
  gap: clamp(0.5rem, 1.2vh, 0.9rem);
  padding-inline: clamp(1.2rem, 3vw, 2.4rem);
  padding-top: clamp(0.6rem, 1.5vh, 1.2rem);
  padding-bottom: clamp(0.6rem, 1.5vh, 1.2rem);
  scroll-margin-top: var(--products-nav-offset);
  background: #ffffff;
}

#componentes-motor-importados::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    repeating-linear-gradient(90deg,
      rgba(13, 47, 111, 0.03) 0 1px,
      transparent 1px 72px),
    repeating-linear-gradient(0deg,
      rgba(13, 47, 111, 0.02) 0 1px,
      transparent 1px 56px);
  pointer-events: none;
  opacity: 1;
}

#componentes-motor-importados::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  z-index: 0;
  background: linear-gradient(90deg,
    transparent 5%,
    rgba(13, 47, 111, 0.06) 20%,
    rgba(13, 47, 111, 0.15) 50%,
    rgba(13, 47, 111, 0.06) 80%,
    transparent 95%);
  pointer-events: none;
}

#componentes-motor-importados .section-title {
  position: relative;
  z-index: 1;
  width: min(1400px, 96vw);
  margin: 0 auto;
  align-self: start;
  text-align: left;
  padding-left: clamp(0.5rem, 1vw, 1.5rem);
}

#componentes-motor-importados .section-title h2 {
  font-family: var(--font-display);
  color: #111827;
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  font-weight: 700;
}

#componentes-motor-importados .section-title h2 span {
  color: #0d2f6f;
}

#componentes-motor-importados .section-title .line {
  width: 52px;
  height: 2px;
  background: #0d2f6f;
  margin: 0.7rem 0 0 0;
  border-radius: 1px;
}

#componentes-motor-importados .section-title p {
  font-family: var(--font-body);
  color: #6b7280;
  max-width: 620px;
  font-size: clamp(0.78rem, 1vw, 0.92rem);
  margin: 0.6rem 0 0 0;
  line-height: 1.55;
}

.products-showroom-grid {
  position: relative;
  z-index: 1;
  width: min(1400px, 96vw);
  margin: 0 auto;
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(0.65rem, 1.2vw, 0.95rem);
}

.product-panel {
  --mx: 0px;
  --my: 0px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(13, 47, 111, 0.10);
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  isolation: isolate;
  cursor: pointer;
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}
.product-panel:hover {
  box-shadow: 0 4px 20px rgba(13, 47, 111, 0.06);
  border-color: rgba(13, 47, 111, 0.18);
}

.product-panel--culatas {
  grid-column: 1 / span 7;
  grid-row: 1 / span 2;
}
.product-panel--motor {
  grid-column: 8 / span 5;
  grid-row: 1;
}
.product-panel--bloques {
  grid-column: 8 / span 5;
  grid-row: 2;
}

.product-panel__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.product-panel__media img,
.product-panel__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01) translate3d(var(--mx), var(--my), 0);
  filter: saturate(0.92) brightness(0.65);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.product-panel:hover .product-panel__media img,
.product-panel:hover .product-panel__media video {
  transform: scale(1.06) translate3d(calc(var(--mx) * 1.3), calc(var(--my) * 1.3), 0);
  filter: saturate(1.02) brightness(0.72);
}

/* Ajuste de encuadre interno: subir contenido en paneles derechos */
.product-panel--motor .product-panel__media video,
.product-panel--bloques .product-panel__media video {
  object-position: center 65%;
}

/* ── Video épico (panel 7/8 motor) ───────────────────────────── */
.product-panel__media video.product-panel__video--epic {
  transform: scale(1.12) translate3d(var(--mx), var(--my), 0);
  filter: saturate(1.24) contrast(1.24) brightness(0.64);
}

.product-panel:hover .product-panel__media video.product-panel__video--epic {
  transform: scale(1.2) translate3d(calc(var(--mx) * 1.45), calc(var(--my) * 1.45), 0);
  filter: saturate(1.32) contrast(1.3) brightness(0.74);
}

.product-panel__media video.product-panel__video--showroom-left {
  transform: scale(1.08) translate3d(var(--mx), var(--my), 0);
  filter: saturate(1.18) contrast(1.16) brightness(0.68);
}

.product-panel:hover .product-panel__media video.product-panel__video--showroom-left {
  transform: scale(1.16) translate3d(calc(var(--mx) * 1.35), calc(var(--my) * 1.35), 0);
  filter: saturate(1.26) contrast(1.24) brightness(0.76);
}

.product-panel--culatas .product-panel__media::before {
  content: '';
  position: absolute;
  inset: -8%;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at center,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.78) 18%,
      rgba(255, 255, 255, 0.22) 44%,
      transparent 72%);
  mix-blend-mode: screen;
  filter: blur(7px);
  transform: scale(0.96);
}

.product-panel--bloques .product-panel__media::before {
  content: '';
  position: absolute;
  inset: -12%;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 58%,
      rgba(255, 252, 224, 1) 0%,
      rgba(255, 244, 186, 0.82) 20%,
      rgba(255, 226, 145, 0.34) 46%,
      transparent 72%);
  mix-blend-mode: screen;
  filter: blur(10px);
  transform: scale(0.94);
}

.product-panel--culatas.is-loop-flash-out .product-panel__media::before {
  animation: ispLoopFlashOut 0.34s ease-out both;
}

.product-panel--bloques.is-loop-flash-out .product-panel__media::before {
  animation: ispLoopFlashOut 0.34s ease-out both;
}

.product-panel--culatas.is-loop-flash-in .product-panel__media::before {
  animation: ispLoopFlashIn 0.38s ease-out both;
}

.product-panel--bloques.is-loop-flash-in .product-panel__media::before {
  animation: ispLoopFlashIn 0.38s ease-out both;
}

.product-panel--culatas .product-panel__media::after {
  content: '';
  position: absolute;
  inset: -10%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.22;
  background:
    linear-gradient(120deg,
      transparent 28%,
      rgba(255, 255, 255, 0.14) 42%,
      transparent 56%),
    radial-gradient(60% 50% at 80% 15%, rgba(116, 164, 255, 0.16), transparent 72%);
  mix-blend-mode: screen;
  transform: translateX(-8%);
  animation: ispLeftShowroomSweep 6.5s ease-in-out infinite;
  animation-play-state: paused;
}

.product-panel--culatas:hover .product-panel__media::after {
  animation-play-state: running;
}

@keyframes ispLeftShowroomSweep {
  0% { opacity: 0.14; transform: translateX(-8%) scale(1); }
  50% { opacity: 0.3; transform: translateX(2%) scale(1.02); }
  100% { opacity: 0.14; transform: translateX(8%) scale(1); }
}

@keyframes ispLoopFlashOut {
  0% { opacity: 0; transform: scale(0.96); }
  40% { opacity: 1; transform: scale(1.03); }
  100% { opacity: 0; transform: scale(1.08); }
}

@keyframes ispLoopFlashIn {
  0% { opacity: 1; transform: scale(1.08); }
  55% { opacity: 0.95; transform: scale(1.03); }
  100% { opacity: 0; transform: scale(0.98); }
}

.product-panel--motor .product-panel__media::after {
  content: '';
  position: absolute;
  inset: -12%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.46;
  background:
    conic-gradient(from 0deg,
      transparent 0deg,
      rgba(102, 170, 255, 0.26) 48deg,
      transparent 92deg,
      transparent 168deg,
      rgba(132, 198, 255, 0.20) 214deg,
      transparent 252deg,
      transparent 360deg);
  mix-blend-mode: screen;
  animation: ispVideoSweep 5.4s linear infinite;
  animation-play-state: paused;
}

.product-panel--motor:hover .product-panel__media::after {
  animation-play-state: running;
}

.product-panel--motor .product-panel__shade {
  background: linear-gradient(135deg,
    rgba(3, 6, 10, 0.64) 0%,
    rgba(3, 6, 10, 0.18) 46%,
    rgba(3, 6, 10, 0.56) 100%);
}

.product-panel--motor .product-panel__glow {
  opacity: 0.68;
  animation: ispVideoGlowPulse 3.1s ease-in-out infinite;
  animation-play-state: paused;
}

.product-panel--motor:hover .product-panel__glow {
  animation-play-state: running;
}

@keyframes ispVideoSweep {
  0% { transform: rotate(0deg) scale(1); opacity: 0.3; }
  50% { transform: rotate(180deg) scale(1.06); opacity: 0.56; }
  100% { transform: rotate(360deg) scale(1); opacity: 0.3; }
}

@keyframes ispVideoGlowPulse {
  0% { opacity: 0.52; }
  50% { opacity: 0.96; }
  100% { opacity: 0.56; }
}

/* Optimización para scroll en laptop/tablet/móvil */
@media (max-width: 1200px) {
  .product-panel--motor .product-panel__media::after {
    mix-blend-mode: normal;
    opacity: 0.24;
    animation: none;
  }
  .product-panel--motor .product-panel__glow {
    animation: none;
    opacity: 0.5;
  }
  .product-panel__video--epic {
    filter: saturate(1.12) contrast(1.12) brightness(0.68);
  }
}

.product-panel__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(6, 10, 16, 0.54) 0%,
    rgba(6, 10, 16, 0.12) 50%,
    rgba(6, 10, 16, 0.42) 100%);
  z-index: 1;
}

.product-panel__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 80% 10%, rgba(255,255,255,0.12), transparent 72%),
    radial-gradient(40% 35% at 10% 85%, rgba(13,47,111,0.08), transparent 80%);
  opacity: 0.4;
  z-index: 2;
  transition: opacity 0.6s ease;
}
.product-panel:hover .product-panel__glow {
  opacity: 0.7;
}

.product-panel__content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: clamp(0.4rem, 0.9vh, 0.65rem);
  padding: clamp(1.2rem, 2vw, 2rem);
  color: #ffffff;
}

.product-panel__body {
  display: flex;
  flex-direction: column;
  gap: clamp(0.2rem, 0.5vh, 0.4rem);
  max-width: min(44ch, 100%);
}

.product-panel__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 2px 8px;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  margin-bottom: clamp(0.1rem, 0.3vh, 0.25rem);
}

.product-panel h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: uppercase;
  color: #ffffff;
}

.product-panel--motor h3,
.product-panel--bloques h3 {
  font-size: clamp(1.3rem, 2.2vw, 2.1rem);
}

.product-panel p {
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 0.95vw, 0.88rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 36ch;
  line-height: 1.45;
  font-weight: 400;
}

.product-panel__indicator {
  font-family: var(--font-body);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  padding-top: 0.35rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
}
.product-panel__indicator::before {
  content: '';
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.product-panel:hover .product-panel__indicator::before {
  width: 48px;
}

.product-panel__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: auto;
  gap: 6px;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: clamp(0.6rem, 0.75vw, 0.7rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}
.product-panel__cta:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}
.product-panel__cta:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 2px;
}

.product-panel::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

@media (max-width:1024px) {
  .products-showroom-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: clamp(0.5rem, 1vw, 0.75rem);
  }
  .product-panel--culatas {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .product-panel--motor,
  .product-panel--bloques {
    grid-column: auto;
    grid-row: 2;
  }
  .product-panel h3 {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
  }
  .product-panel p {
    font-size: clamp(0.7rem, 1.2vw, 0.82rem);
  }
  .product-panel__indicator {
    font-size: clamp(0.58rem, 0.9vw, 0.65rem);
  }
  .product-panel__cta {
    padding: 0.42rem 0.78rem;
    font-size: clamp(0.55rem, 0.75vw, 0.64rem);
  }
  .product-panel__content {
    padding: clamp(0.9rem, 1.8vw, 1.4rem);
  }
  #componentes-motor-importados .section-title {
    text-align: left;
    padding-left: 0.2rem;
  }
  #componentes-motor-importados .section-title h2 {
    font-size: clamp(1.3rem, 3.2vw, 1.8rem);
  }
  #componentes-motor-importados .section-title p {
    font-size: clamp(0.7rem, 1.3vw, 0.82rem);
    max-width: 480px;
  }
}

@media (max-width:768px) {
  .products-showroom-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 1fr);
    gap: clamp(0.4rem, 0.9vw, 0.6rem);
  }
  .product-panel--culatas,
  .product-panel--motor,
  .product-panel--bloques {
    grid-column: 1;
    grid-row: auto;
  }
  .product-panel__content {
    padding: clamp(0.8rem, 2vw, 1.1rem);
    gap: 0.3rem;
  }
  .product-panel__body {
    gap: 0.15rem;
  }
  .product-panel h3 {
    font-size: clamp(1.1rem, 5vw, 1.5rem);
  }
  .product-panel p {
    font-size: clamp(0.66rem, 2vw, 0.78rem);
    max-width: 32ch;
  }
  .product-panel__indicator {
    font-size: 0.55rem;
    padding-top: 0.2rem;
  }
  .product-panel__cta {
    padding: 0.38rem 0.68rem;
    font-size: 0.55rem;
  }
  #componentes-motor-importados {
    padding-inline: clamp(0.8rem, 2vw, 1.2rem);
    gap: clamp(0.35rem, 0.8vh, 0.5rem);
  }
  #componentes-motor-importados .section-title h2 {
    font-size: clamp(1.1rem, 5.5vw, 1.4rem);
  }
  #componentes-motor-importados .section-title p {
    font-size: clamp(0.63rem, 2.2vw, 0.74rem);
    max-width: 100%;
  }
  #componentes-motor-importados .section-title .line {
    width: 40px;
    margin-top: 0.5rem;
  }
}

@media (max-width:480px) {
  .product-panel__content {
    padding: 0.65rem;
  }
  .product-panel h3 {
    font-size: clamp(0.95rem, 6vw, 1.2rem);
  }
  .product-panel__index {
    font-size: 0.5rem;
    padding: 1px 6px;
  }
  .product-panel__indicator {
    font-size: 0.5rem;
  }
  .product-panel__indicator::before {
    width: 20px;
  }
  .product-panel__cta {
    padding: 0.32rem 0.55rem;
    font-size: 0.5rem;
  }
}

/* ═══════════ CATÁLOGO COMERCIAL ═══════════ */
#stock-comercial-autopartes.catalogo-comercial {
  width: 100%;
  max-width: none;
  margin: 0;
  height: calc(var(--viewport-height) - var(--nav-height));
  min-height: calc(var(--viewport-height) - var(--nav-height));
  padding: clamp(0.5rem, 1vw, 0.95rem);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(900px 360px at 18% 12%, rgba(13, 47, 111, 0.14), transparent 58%),
    radial-gradient(720px 300px at 90% 14%, rgba(17, 71, 159, 0.1), transparent 60%),
    linear-gradient(180deg, #f7faff 0%, #eef4ff 46%, #e8f0ff 100%);
}

.catalogo-comercial__shell {
  position: relative;
  width: min(1380px, 96vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(230px, 0.74fr) minmax(0, 1.26fr);
  grid-template-rows: minmax(0, 1fr) minmax(0, auto);
  grid-template-areas:
    "intro display"
    "categories categories";
  gap: clamp(0.051rem, 0.1275vw, 0.085rem);
  align-items: center;
  min-height: 0;
  height: 100%;
  max-height: calc(var(--viewport-height) - var(--nav-height) - clamp(1rem, 1.9vw, 1.5rem));
}

.catalogo-comercial__intro,
.catalogo-comercial__display {
  position: relative;
  min-width: 0;
  min-height: 0;
  border: 1px solid rgba(13, 47, 111, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 36px rgba(13, 47, 111, 0.12);
  overflow: hidden;
}

.catalogo-comercial__intro {
  grid-area: intro;
  padding: clamp(0.58rem, 1.02vw, 0.8rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(0.22rem, 0.58vw, 0.42rem);
}

.catalogo-comercial__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  padding: 0.24rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(13, 47, 111, 0.22);
  background: rgba(13, 47, 111, 0.08);
  color: #0d2f6f;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalogo-comercial__intro h2 {
  margin: 0;
  color: #0b1b39;
  font-size: clamp(1.1rem, 1.82vw, 1.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
  max-width: 10.8ch;
}

.catalogo-comercial__intro h2 span {
  color: #11479f;
}

.catalogo-comercial__intro p {
  margin: 0;
  max-width: 33ch;
  color: rgba(11, 27, 57, 0.78);
  font-size: clamp(0.58rem, 0.66vw, 0.68rem);
  line-height: 1.28;
}

.catalogo-comercial__specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.32rem;
}

.catalogo-comercial__spec {
  padding: 0.42rem 0.52rem;
  border-radius: 10px;
  border: 1px solid rgba(13, 47, 111, 0.16);
  background: linear-gradient(180deg, rgba(13, 47, 111, 0.06), rgba(255, 255, 255, 0.86));
}

.catalogo-comercial__spec span {
  display: block;
  color: rgba(11, 27, 57, 0.6);
  font-size: 0.54rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.catalogo-comercial__spec strong {
  display: block;
  margin-top: 0.22rem;
  color: #0d2f6f;
  font-size: clamp(0.67rem, 0.82vw, 0.82rem);
}

.catalogo-comercial__note {
  color: rgba(17, 71, 159, 0.9);
  font-size: 0.62rem;
  font-weight: 600;
}

.catalogo-comercial__display {
  grid-area: display;
  padding: clamp(0.44rem, 0.95vw, 0.7rem);
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  min-height: 0;
  height: 100%;
}

.catalogo-comercial__hero-placeholder,
.catalogo-comercial__placeholder {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.2rem;
  padding: 0.55rem;
  border: 1px solid rgba(13, 47, 111, 0.12);
  background: #ffffff;
  color: #fff;
  min-height: 0;
}

.catalogo-comercial__hero-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: var(--catalogo-hero-fit, contain);
  object-position: var(--catalogo-hero-position, center);
  opacity: 0;
  transform: scale(var(--catalogo-hero-scale-idle, 0.96));
  transition: opacity 0.36s ease, transform 0.8s ease;
  z-index: 0;
  pointer-events: none;
}

.catalogo-comercial__hero-placeholder::before,
.catalogo-comercial__placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  opacity: 0;
  pointer-events: none;
}

.catalogo-comercial__hero-placeholder::after,
.catalogo-comercial__placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  transform: translateX(-14%);
  animation: none;
  pointer-events: none;
  opacity: 0;
}

.catalogo-comercial__hero-placeholder.is-active .catalogo-comercial__hero-preview {
  opacity: 1;
  transform: scale(var(--catalogo-hero-scale-active, 0.94));
}

.catalogo-comercial__hero-placeholder.is-active::before {
  opacity: 0.46;
}

.catalogo-comercial__hero-placeholder.is-active::after {
  opacity: 0.12;
}

.catalogo-comercial__hero-placeholder span,
.catalogo-comercial__placeholder span {
  position: relative;
  z-index: 1;
  color: rgba(11, 27, 57, 0.92);
  font-size: 0.54rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.catalogo-comercial__hero-kicker,
.catalogo-comercial__hero-category {
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.catalogo-comercial__hero-actions {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  z-index: 2;
  display: inline-flex;
  gap: 0.28rem;
}

.catalogo-comercial__hero-action {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0d2f6f;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.26);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.catalogo-comercial__hero-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.32);
}

.catalogo-comercial__hero-action--wa {
  color: #fff;
  background: #25d366;
  border-color: rgba(37, 211, 102, 0.84);
}

.catalogo-comercial__hero-placeholder strong,
.catalogo-comercial__placeholder strong {
  position: relative;
  z-index: 1;
  font-size: clamp(0.66rem, 0.86vw, 0.84rem);
  line-height: 1.1;
  color: #0b1b39;
}

.catalogo-comercial__hero-placeholder {
  height: 100%;
  min-height: clamp(176px, 31vh, 310px);
}

.catalogo-comercial__categories {
  grid-area: categories;
  border: 1px solid rgba(13, 47, 111, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(13, 47, 111, 0.1);
  padding: clamp(0.42rem, 0.86vw, 0.62rem);
  display: grid;
  gap: 0.4rem;
  min-height: 0;
}

.catalogo-comercial__categories-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.catalogo-comercial__categories-head strong {
  color: #0d2f6f;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.catalogo-comercial__categories-head span {
  color: rgba(13, 47, 111, 0.82);
  font-size: 0.62rem;
  font-weight: 600;
}

.catalogo-comercial__categories-grid {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 0.26rem;
  min-height: 0;
  height: 100%;
  align-content: stretch;
  grid-auto-rows: minmax(0, 1fr);
}

.catalogo-comercial__category-card {
  min-width: 0;
  height: 100%;
  border-radius: 9px;
  border: 1px solid rgba(13, 47, 111, 0.18);
  background: linear-gradient(180deg, rgba(17, 71, 159, 0.08), rgba(255, 255, 255, 0.98));
  padding: 0.18rem 0.24rem;
  display: grid;
  gap: 0;
  align-content: center;
  transform: translateY(0);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.catalogo-comercial__category-card:hover {
  transform: translateY(-2px);
  border-color: rgba(17, 71, 159, 0.46);
  box-shadow: 0 7px 16px rgba(17, 71, 159, 0.18);
}

.catalogo-comercial__category-card.is-active {
  border-color: rgba(17, 71, 159, 0.72);
  box-shadow: 0 9px 18px rgba(17, 71, 159, 0.2);
  background: linear-gradient(180deg, rgba(17, 71, 159, 0.16), rgba(255, 255, 255, 0.98));
}

.catalogo-comercial__category-name {
  color: #0b1b39;
  font-size: calc(0.5rem * 0.94);
  line-height: 1.06;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes catalogoPlaceholderSweep {
  0% { transform: translateX(-24%); opacity: 0.22; }
  50% { transform: translateX(8%); opacity: 0.5; }
  100% { transform: translateX(24%); opacity: 0.22; }
}

@media (prefers-reduced-motion: reduce) {
  .catalogo-comercial__category-card,
  .catalogo-comercial__hero-placeholder::after,
  .catalogo-comercial__placeholder::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (min-width: 1201px) {
  #stock-comercial-autopartes.catalogo-comercial {
    padding: 1rem 1.6rem;
    --catalogo-copy-size: clamp(0.78rem, 0.78vw, 0.9rem);
    background:
      radial-gradient(760px 380px at 16% 16%, rgba(13, 47, 111, 0.22), transparent 64%),
      radial-gradient(620px 340px at 84% 28%, rgba(78, 128, 224, 0.2), transparent 62%),
      radial-gradient(680px 280px at 50% 100%, rgba(107, 147, 220, 0.12), transparent 66%),
      linear-gradient(180deg, #f8fbff 0%, #edf3ff 48%, #dfe9fb 100%);
  }

  .catalogo-comercial__shell {
    width: min(1140px, 80vw);
    grid-template-columns: minmax(360px, 390px) minmax(0, 1fr);
    grid-template-rows: 248px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 12px;
    align-items: stretch;
    justify-items: stretch;
    grid-template-areas:
      "intro display"
      "categories display";
    height: min(660px, calc(var(--viewport-height) - var(--nav-height) - 2.4rem));
    max-height: min(660px, calc(var(--viewport-height) - var(--nav-height) - 2.4rem));
  }

  .catalogo-comercial__intro {
    grid-area: intro;
    padding: 1.12rem 1.12rem 1.58rem;
    display: grid;
    grid-template-rows: auto auto auto auto 1fr;
    gap: 0.72rem;
    align-content: stretch;
  }

  .catalogo-comercial__intro,
  .catalogo-comercial__categories {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(126, 165, 239, 0.24);
    border-radius: 22px;
    background:
      radial-gradient(140% 90% at 100% 0%, rgba(91, 137, 228, 0.28), transparent 48%),
      radial-gradient(120% 120% at 0% 100%, rgba(13, 47, 111, 0.24), transparent 56%),
      linear-gradient(160deg, rgba(8, 14, 29, 0.98) 0%, rgba(12, 24, 49, 0.96) 56%, rgba(17, 35, 70, 0.94) 100%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 20px 38px rgba(3, 10, 24, 0.34);
  }

  .catalogo-comercial__intro::before,
  .catalogo-comercial__categories::before {
    content: '';
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    top: 0.9rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(150, 188, 255, 0.62), transparent);
    opacity: 0.82;
    pointer-events: none;
  }

  .catalogo-comercial__intro::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 15px,
      rgba(167, 196, 255, 0.032) 15px,
      rgba(167, 196, 255, 0.032) 16px
    );
    pointer-events: none;
  }

  .catalogo-comercial__categories::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
      repeating-linear-gradient(0deg, transparent 0, transparent 15px, rgba(141, 181, 251, 0.028) 15px, rgba(141, 181, 251, 0.028) 16px),
      repeating-linear-gradient(90deg, transparent 0, transparent 18px, rgba(141, 181, 251, 0.022) 18px, rgba(141, 181, 251, 0.022) 19px);
    opacity: 0.54;
    pointer-events: none;
  }

  .catalogo-comercial__intro > *,
  .catalogo-comercial__categories > * {
    position: relative;
    z-index: 1;
  }

  .catalogo-comercial__intro > * {
    transform: none;
  }

  .catalogo-comercial__eyebrow {
    gap: 0.38rem;
    padding: 0.28rem 0.68rem;
    border-radius: 999px;
    border: 1px solid rgba(139, 176, 245, 0.34);
    background: linear-gradient(180deg, rgba(113, 156, 243, 0.22), rgba(56, 91, 163, 0.12));
    color: #dce9ff;
    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  }

  .catalogo-comercial__intro h2 {
    color: #f7faff;
    font-size: clamp(1.72rem, 1.92vw, 2.16rem);
    line-height: 0.92;
    letter-spacing: -0.045em;
    max-width: 10ch;
  }

  .catalogo-comercial__intro h2 span {
    color: #9cc4ff;
    text-shadow: 0 0 18px rgba(114, 168, 255, 0.34);
  }

  .catalogo-comercial__intro p {
    color: rgba(212, 225, 250, 0.84);
    font-size: var(--catalogo-copy-size);
    line-height: 1.28;
    max-width: 30ch;
    display: block;
    padding-bottom: clamp(0.92rem, 1.35vh, 1.25rem);
  }

  .catalogo-comercial__specs {
    grid-template-columns: 1fr;
    gap: 0.46rem;
    max-width: 230px;
  }

  .catalogo-comercial__spec {
    padding: 0.62rem 0.72rem;
    border-radius: 14px;
    border: 1px solid rgba(131, 168, 239, 0.24);
    background: linear-gradient(180deg, rgba(15, 31, 60, 0.82), rgba(10, 20, 40, 0.94));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 8px 16px rgba(3, 10, 24, 0.22);
  }

  .catalogo-comercial__spec span {
    color: rgba(177, 202, 243, 0.72);
    font-size: 0.5rem;
    letter-spacing: 0.12em;
  }

  .catalogo-comercial__spec strong {
    margin-top: 0.2rem;
    color: #f5f9ff;
    font-size: clamp(0.76rem, 0.86vw, 0.94rem);
  }

  .catalogo-comercial__note {
    align-self: start;
    padding-top: 0.66rem;
    border-top: 1px solid rgba(133, 170, 241, 0.2);
    color: rgba(171, 198, 243, 0.78);
    font-size: 0.68rem;
    line-height: 1.35;
    letter-spacing: 0.01em;
    max-width: 30ch;
  }

  .catalogo-comercial__display {
    grid-area: display;
    padding: 0.88rem;
    width: 100%;
    height: 100%;
    justify-self: stretch;
    align-self: stretch;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: #ffffff;
    box-shadow: 0 22px 42px rgba(13, 47, 111, 0.14);
  }

  .catalogo-comercial__hero-placeholder {
    height: 100%;
    min-height: 0;
    padding: 1.08rem;
    gap: 0.18rem;
    border-radius: 22px;
    border: 1px solid rgba(101, 136, 199, 0.16);
    background: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
  }

  .catalogo-comercial__hero-actions {
    right: 0.82rem;
    bottom: 0.82rem;
    gap: 0.38rem;
  }

  .catalogo-comercial__hero-action {
    width: 28px;
    height: 28px;
  }

  .catalogo-comercial__categories {
    grid-area: categories;
    padding: 0.78rem 0.82rem 0.84rem;
    gap: 0.46rem;
    grid-template-columns: 1fr;
    grid-template-areas: none;
    align-items: stretch;
    margin-top: 0;
    background:
      radial-gradient(120% 90% at 100% -5%, rgba(99, 147, 240, 0.22), transparent 50%),
      linear-gradient(165deg, rgba(8, 18, 38, 0.98) 0%, rgba(12, 27, 54, 0.96) 55%, rgba(16, 35, 69, 0.94) 100%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 18px 34px rgba(3, 10, 24, 0.34);
  }

  .catalogo-comercial__categories-head strong {
    color: #f2f7ff;
    font-size: 0.76rem;
    letter-spacing: 0.1em;
  }

  .catalogo-comercial__categories-head span {
    color: rgba(204, 223, 251, 0.88);
    font-size: 0.52rem;
    line-height: 1.04;
    max-width: none;
  }

  .catalogo-comercial__categories-head {
    grid-area: auto;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.42rem;
    padding-right: 0;
    border-right: 0;
    padding-bottom: 0.34rem;
    border-bottom: 1px solid rgba(128, 167, 237, 0.28);
  }

  .catalogo-comercial__categories-head span {
    padding: 0.28rem 0.42rem;
    border-radius: 999px;
    border: 1px solid rgba(138, 176, 247, 0.32);
    background: rgba(77, 121, 208, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }

  .catalogo-comercial__categories-grid {
    grid-area: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: minmax(31px, 1fr);
    gap: 0.28rem;
    align-content: stretch;
    height: 100%;
    min-height: 0;
  }

  .catalogo-comercial__category-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    min-width: 0;
    height: 100%;
    border-radius: 10px;
    padding: 0.34rem 0.34rem 0.34rem 0.82rem;
    border: 1px solid rgba(136, 174, 245, 0.24);
    background: linear-gradient(180deg, rgba(28, 50, 90, 0.92), rgba(10, 22, 44, 0.98));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.1),
      0 4px 10px rgba(4, 10, 24, 0.22);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .catalogo-comercial__category-card::before {
    content: '';
    position: absolute;
    left: 0.34rem;
    top: 50%;
    width: 2px;
    height: 58%;
    border-radius: 999px;
    transform: translateY(-50%);
    background: linear-gradient(180deg, #d7ecff 0%, #7cb3ff 48%, rgba(76, 116, 183, 0.56) 100%);
    box-shadow: 0 0 8px rgba(122, 176, 255, 0.32);
  }

  .catalogo-comercial__category-card::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(145, 182, 248, 0.26), rgba(255, 255, 255, 0), rgba(145, 182, 248, 0.26));
    opacity: 0.66;
  }

  .catalogo-comercial__category-name {
    color: #eaf3ff;
    font-size: clamp(calc(0.66rem * 0.94), calc(0.7vw * 0.94), calc(0.74rem * 0.94));
    line-height: 1.04;
    letter-spacing: 0.015em;
    font-weight: 600;
    text-align: left;
    text-transform: none;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }

  .catalogo-comercial__display {
    border-radius: 28px;
    box-shadow: 0 22px 42px rgba(13, 47, 111, 0.14);
  }

  .catalogo-comercial__category-card:hover {
    transform: translateY(-2px);
    border-color: rgba(173, 206, 255, 0.52);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.14),
      0 8px 14px rgba(13, 33, 70, 0.28);
  }

  .catalogo-comercial__category-card.is-active {
    border-color: rgba(184, 214, 255, 0.7);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.18),
      0 10px 16px rgba(44, 92, 170, 0.28);
    background: linear-gradient(180deg, rgba(44, 80, 136, 0.94), rgba(16, 34, 67, 0.98));
  }

  .catalogo-comercial__hero-placeholder span {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }

  .catalogo-comercial__hero-placeholder strong {
    font-size: clamp(1rem, 1.08vw, 1.18rem);
    line-height: 1.05;
  }

  .catalogo-comercial__note {
    font-size: 0.68rem;
  }
}

@media (max-width: 1200px) {
  .catalogo-comercial__categories-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  #stock-comercial-autopartes.catalogo-comercial {
    padding: 0.46rem;
  }
  .catalogo-comercial__shell {
    grid-template-columns: minmax(250px, 0.9fr) minmax(0, 1.1fr);
    gap: 0.068rem;
  }
  .catalogo-comercial__categories-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
  .catalogo-comercial__category-card {
    padding: 0.24rem 0.28rem;
  }
  .catalogo-comercial__category-name {
    font-size: calc(0.53rem * 0.94);
  }
}

@media (max-width: 860px) {
  .catalogo-comercial__shell {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    grid-template-rows: auto minmax(0, 1fr);
    grid-template-areas:
      "intro intro"
      "display categories";
    gap: 0.16rem;
  }
  .catalogo-comercial__intro {
    padding: 0.58rem;
    gap: 0.34rem;
  }
  .catalogo-comercial__intro h2 {
    max-width: 15ch;
    font-size: clamp(1.02rem, 3vw, 1.28rem);
  }
  .catalogo-comercial__intro p {
    font-size: 0.58rem;
    line-height: 1.22;
  }
  .catalogo-comercial__hero-placeholder {
    min-height: 0;
  }
  .catalogo-comercial__categories-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.24rem;
  }
  .catalogo-comercial__category-card {
    padding: 0.24rem 0.24rem;
  }
  .catalogo-comercial__category-name {
    font-size: calc(0.49rem * 0.94);
  }
}

@media (max-width: 768px) {
  .catalogo-comercial__shell {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    grid-template-rows: auto minmax(0, 1fr);
    grid-template-areas:
      "intro intro"
      "display categories";
  }
  .catalogo-comercial__intro {
    padding: 0.5rem;
    gap: 0.28rem;
  }
  .catalogo-comercial__intro h2 {
    font-size: clamp(0.94rem, 5.2vw, 1.14rem);
  }
  .catalogo-comercial__intro p {
    display: none;
  }
  .catalogo-comercial__specs {
    display: none;
  }
  .catalogo-comercial__note {
    display: none;
  }
  .catalogo-comercial__hero-placeholder {
    min-height: 0;
  }
  .catalogo-comercial__hero-actions {
    right: 0.42rem;
    bottom: 0.42rem;
    gap: 0.28rem;
  }
  .catalogo-comercial__hero-action {
    width: 27px;
    height: 27px;
  }
  .catalogo-comercial__categories-head strong {
    font-size: 0.58rem;
    letter-spacing: 0.07em;
  }
  .catalogo-comercial__categories-head span {
    font-size: 0.5rem;
  }
  .catalogo-comercial__categories-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.26rem;
  }
  .catalogo-comercial__category-card {
    padding: 0.22rem 0.18rem;
    border-radius: 10px;
    gap: 0;
  }
  .catalogo-comercial__category-name {
    font-size: calc(0.48rem * 0.94);
    line-height: 1.08;
    letter-spacing: 0.02em;
    text-align: center;
  }
  .catalogo-comercial__category-card.is-active .catalogo-comercial__category-name {
    color: #08337c;
  }
}

@media (max-width: 560px) {
  #stock-comercial-autopartes.catalogo-comercial {
    height: 100dvh;
    max-height: 100dvh;
    min-height: 0;
    padding: 0;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    align-items: stretch;
    justify-content: center;
  }
  .catalogo-comercial__shell {
    width: 100%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    padding: 0.3rem;
    gap: 0.25rem;
    min-height: 0;
  }
  .catalogo-comercial__intro {
    padding: 0.8rem 1rem;
    gap: 0.15rem;
    text-align: center;
    flex-shrink: 0;
  }
  .catalogo-comercial__eyebrow {
    font-size: 0.5rem;
    padding: 0.12rem 0.4rem;
    letter-spacing: 0.08em;
    margin-bottom: 0.15rem;
  }
  .catalogo-comercial__intro p,
  .catalogo-comercial__specs,
  .catalogo-comercial__note {
    display: none;
  }
  .catalogo-comercial__intro h2 {
    font-size: clamp(0.72rem, 3.4vw, 0.86rem);
    max-width: none;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: #1e293b;
    font-weight: 600;
  }
  .catalogo-comercial__display {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
    max-height: 30vh;
    overflow: hidden;
    border-radius: 10px;
    background: #ffffff;
    position: relative;
    flex-shrink: 0;
  }
  .catalogo-comercial__hero-preview {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 1;
    z-index: 1;
  }
  .catalogo-comercial__hero-placeholder::before,
  .catalogo-comercial__hero-placeholder::after {
    opacity: 0;
    display: none;
  }
  .catalogo-comercial__hero-placeholder {
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
  }
  .catalogo-comercial__hero-kicker,
  .catalogo-comercial__hero-category,
  .catalogo-comercial__hero-actions {
    display: none;
  }
  .catalogo-comercial__categories {
    padding: 0;
    gap: 0;
    margin-top: 1.5rem;
    background: transparent;
    border: 0;
    box-shadow: none;
    flex-shrink: 0;
  }
  .catalogo-comercial__categories-head {
    display: none;
  }
  .catalogo-comercial__categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.18rem;
  }
  .catalogo-comercial__category-card {
    padding: 0.2rem 0.14rem;
    min-height: 28px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .catalogo-comercial__category-card::before,
  .catalogo-comercial__category-card::after {
    display: none;
  }
  .catalogo-comercial__category-card.is-active {
    background: #1e293b;
    border-color: #1e293b;
  }
  .catalogo-comercial__category-card.is-active .catalogo-comercial__category-name {
    color: #ffffff;
    font-weight: 600;
  }
  .catalogo-comercial__category-name {
    font-size: clamp(calc(0.6rem * 0.94), calc(0.68vw * 0.94), calc(0.74rem * 0.94));
    letter-spacing: 0.01em;
    color: #334155;
    text-align: center;
    font-weight: 500;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    line-height: 1.2;
  }
}

@media (max-width: 420px) {
  .catalogo-comercial__shell {
    padding: 0.25rem;
    gap: 0.2rem;
  }
  .catalogo-comercial__eyebrow {
    font-size: 0.46rem;
    padding: 0.08rem 0.3rem;
  }
  .catalogo-comercial__intro h2 {
    font-size: clamp(0.68rem, 3.2vw, 0.8rem);
  }
  .catalogo-comercial__display {
    border-radius: 8px;
  }
  .catalogo-comercial__categories-grid {
    gap: 0.16rem;
  }
  .catalogo-comercial__category-card {
    min-height: 28px;
    padding: 0.2rem 0.12rem;
    border-radius: 6px;
  }
  .catalogo-comercial__category-name {
    font-size: clamp(calc(0.6rem * 0.94), calc(0.68vw * 0.94), calc(0.74rem * 0.94));
  }
}

/* ═══════════ CATÁLOGO COMERCIAL — TABLET GLAM ═══════════ */
@media (min-width: 561px) and (max-width: 1024px) {
  #stock-comercial-autopartes.catalogo-comercial {
    padding: 0.85rem;
    background:
      radial-gradient(760px 360px at 16% 16%, rgba(13, 47, 111, 0.12), transparent 60%),
      radial-gradient(640px 280px at 84% 14%, rgba(88, 140, 235, 0.08), transparent 62%),
      linear-gradient(180deg, #f8fbff 0%, #eef4ff 48%, #e4ecfa 100%);
  }

  .catalogo-comercial__shell {
    width: min(780px, 72vw);
    max-height: min(620px, calc(var(--viewport-height) - var(--nav-height) - 1rem));
    grid-template-columns: minmax(230px, 0.92fr) minmax(0, 1.08fr);
    grid-template-rows: minmax(220px, auto) minmax(0, auto);
    grid-template-areas:
      "intro display"
      "categories categories";
    column-gap: 12px;
    row-gap: 12px;
    align-items: stretch;
    justify-items: stretch;
  }

  .catalogo-comercial__intro,
  .catalogo-comercial__categories {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(13, 47, 111, 0.12);
    border-radius: 20px;
    background:
      radial-gradient(140% 90% at 100% 0%, rgba(91, 137, 228, 0.12), transparent 48%),
      radial-gradient(120% 120% at 0% 100%, rgba(13, 47, 111, 0.08), transparent 56%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 250, 255, 0.98) 100%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.9),
      0 18px 34px rgba(13, 47, 111, 0.08);
  }

  .catalogo-comercial__intro {
    grid-area: intro;
    padding: 1rem 1rem 1.15rem;
    display: grid;
    grid-template-rows: auto auto auto auto 1fr;
    gap: 0.54rem;
    align-content: stretch;
  }

  .catalogo-comercial__intro::before,
  .catalogo-comercial__categories::before {
    content: '';
    position: absolute;
    left: 0.88rem;
    right: 0.88rem;
    top: 0.88rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(77, 121, 208, 0.46), transparent);
    opacity: 0.92;
    pointer-events: none;
  }

  .catalogo-comercial__intro::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 15px,
      rgba(167, 196, 255, 0.02) 15px,
      rgba(167, 196, 255, 0.02) 16px
    );
    pointer-events: none;
  }

  .catalogo-comercial__eyebrow {
    gap: 0.38rem;
    padding: 0.28rem 0.68rem;
    border-radius: 999px;
    border: 1px solid rgba(139, 176, 245, 0.34);
    background: linear-gradient(180deg, rgba(113, 156, 243, 0.12), rgba(56, 91, 163, 0.06));
    color: #0d2f6f;
    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  }

  .catalogo-comercial__intro h2 {
    color: #0b1b39;
    font-size: clamp(1.25rem, 2vw, 1.78rem);
    line-height: 0.96;
    letter-spacing: -0.045em;
    max-width: 11ch;
  }

  .catalogo-comercial__intro h2 span {
    color: #11479f;
    text-shadow: none;
  }

  .catalogo-comercial__intro p {
    color: rgba(11, 27, 57, 0.74);
    font-size: 0.72rem;
    line-height: 1.28;
    max-width: 29ch;
    display: block;
  }

  .catalogo-comercial__specs,
  .catalogo-comercial__note {
    display: none;
  }

  .catalogo-comercial__specs {
    grid-template-columns: 1fr;
    gap: 0.44rem;
    max-width: 240px;
  }

  .catalogo-comercial__spec {
    padding: 0.62rem 0.72rem;
    border-radius: 14px;
    border: 1px solid rgba(131, 168, 239, 0.24);
    background: linear-gradient(180deg, rgba(13, 47, 111, 0.05), rgba(255, 255, 255, 0.96));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.92),
      0 8px 16px rgba(13, 47, 111, 0.08);
  }

  .catalogo-comercial__spec span {
    color: rgba(13, 47, 111, 0.56);
    font-size: 0.5rem;
    letter-spacing: 0.12em;
  }

  .catalogo-comercial__spec strong {
    margin-top: 0.2rem;
    color: #0d2f6f;
    font-size: 0.86rem;
  }

  .catalogo-comercial__note {
    align-self: start;
    padding-top: 0.66rem;
    border-top: 1px solid rgba(133, 170, 241, 0.18);
    color: rgba(13, 47, 111, 0.72);
    font-size: 0.66rem;
    line-height: 1.35;
    letter-spacing: 0.01em;
    max-width: 31ch;
  }

  .catalogo-comercial__display {
    grid-area: display;
    padding: 0.86rem;
    justify-self: stretch;
    align-self: stretch;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: #ffffff;
    box-shadow: 0 18px 32px rgba(13, 47, 111, 0.08);
  }

  .catalogo-comercial__hero-placeholder {
    height: 100%;
    min-height: 0;
    padding: 0.98rem;
    gap: 0.18rem;
    border-radius: 18px;
    border: 1px solid rgba(101, 136, 199, 0.12);
    background: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
  }

  .catalogo-comercial__hero-preview {
    transform: scale(var(--catalogo-hero-scale-idle, 0.96));
  }

  .catalogo-comercial__hero-placeholder.is-active .catalogo-comercial__hero-preview {
    transform: scale(var(--catalogo-hero-scale-active, 0.94));
  }

  .catalogo-comercial__hero-actions {
    right: 0.78rem;
    bottom: 0.78rem;
    gap: 0.34rem;
  }

  .catalogo-comercial__hero-action {
    width: 28px;
    height: 28px;
  }

  .catalogo-comercial__hero-placeholder span {
    font-size: 0.66rem;
    letter-spacing: 0.1em;
  }

  .catalogo-comercial__hero-placeholder strong {
    font-size: clamp(0.9rem, 1.05vw, 1.06rem);
    line-height: 1.05;
  }

  .catalogo-comercial__categories {
    grid-area: categories;
    padding: 0.78rem 0.82rem 0.84rem;
    gap: 0.44rem;
    margin-top: 0;
    background:
      radial-gradient(120% 90% at 100% -5%, rgba(99, 147, 240, 0.08), transparent 50%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 255, 0.98) 55%, rgba(240, 245, 252, 0.98) 100%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.9),
      0 14px 28px rgba(13, 47, 111, 0.08);
  }

  .catalogo-comercial__categories-head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.42rem;
    padding-bottom: 0.34rem;
    border-bottom: 1px solid rgba(128, 167, 237, 0.18);
  }

  .catalogo-comercial__categories-head strong {
    color: #0d2f6f;
    font-size: 0.76rem;
    letter-spacing: 0.1em;
  }

  .catalogo-comercial__categories-head span {
    padding: 0.28rem 0.42rem;
    border-radius: 999px;
    border: 1px solid rgba(138, 176, 247, 0.32);
    background: rgba(77, 121, 208, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    color: rgba(13, 47, 111, 0.72);
    font-size: 0.52rem;
    line-height: 1.04;
  }

  .catalogo-comercial__categories-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(34px, 1fr);
    gap: 0.28rem;
    align-content: stretch;
    height: 100%;
    min-height: 0;
  }

  .catalogo-comercial__category-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    min-width: 0;
    height: 100%;
    border-radius: 10px;
    padding: 0.34rem 0.34rem 0.34rem 0.82rem;
    border: 1px solid rgba(136, 174, 245, 0.24);
    background: linear-gradient(180deg, rgba(13, 47, 111, 0.05), rgba(255, 255, 255, 0.98));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.94),
      0 4px 10px rgba(13, 47, 111, 0.08);
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease;
  }

  .catalogo-comercial__category-card::before {
    content: '';
    position: absolute;
    left: 0.34rem;
    top: 50%;
    width: 2px;
    height: 58%;
    border-radius: 999px;
    transform: translateY(-50%);
    background: linear-gradient(180deg, #d7ecff 0%, #7cb3ff 48%, rgba(76, 116, 183, 0.56) 100%);
    box-shadow: 0 0 8px rgba(122, 176, 255, 0.18);
  }

  .catalogo-comercial__category-card::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(145, 182, 248, 0.26), rgba(255, 255, 255, 0), rgba(145, 182, 248, 0.26));
    opacity: 0.66;
  }

  .catalogo-comercial__category-name {
    color: #0b1b39;
    font-size: clamp(calc(0.6rem * 0.94), calc(0.68vw * 0.94), calc(0.74rem * 0.94));
    line-height: 1.04;
    letter-spacing: 0.015em;
    font-weight: 600;
    text-align: left;
    text-transform: none;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }

  .catalogo-comercial__category-card:hover {
    transform: translateY(-2px) scale(1.01);
    border-color: rgba(77, 121, 208, 0.28);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.96),
      0 10px 18px rgba(13, 47, 111, 0.12);
  }

  .catalogo-comercial__category-card.is-active {
    border-color: rgba(77, 121, 208, 0.42);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.96),
      0 12px 20px rgba(13, 47, 111, 0.12);
    background: linear-gradient(180deg, rgba(77, 121, 208, 0.08), rgba(255, 255, 255, 0.98));
  }

  .catalogo-comercial__hero-placeholder.is-active::before {
    opacity: 0.22;
  }
}

@media (min-width: 1025px) and (max-width: 1199px) {
  #stock-comercial-autopartes.catalogo-comercial {
    padding: 0.72rem;
    background:
      radial-gradient(700px 320px at 16% 14%, rgba(13, 47, 111, 0.1), transparent 60%),
      radial-gradient(560px 240px at 84% 14%, rgba(88, 140, 235, 0.06), transparent 62%),
      linear-gradient(180deg, #f8fbff 0%, #eef4ff 48%, #e4ecfa 100%);
  }

  .catalogo-comercial__shell {
    width: min(680px, 58vw);
    max-height: min(580px, calc(var(--viewport-height) - var(--nav-height) - 1rem));
    grid-template-columns: minmax(190px, 0.86fr) minmax(0, 1.14fr);
    grid-template-rows: minmax(200px, auto) minmax(0, auto);
    grid-template-areas:
      "intro display"
      "categories categories";
    column-gap: 10px;
    row-gap: 10px;
    align-items: stretch;
    justify-items: stretch;
  }

  .catalogo-comercial__intro,
  .catalogo-comercial__categories {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(13, 47, 111, 0.11);
    border-radius: 18px;
    background:
      radial-gradient(140% 90% at 100% 0%, rgba(91, 137, 228, 0.1), transparent 48%),
      radial-gradient(120% 120% at 0% 100%, rgba(13, 47, 111, 0.06), transparent 56%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 250, 255, 0.98) 100%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.92),
      0 16px 28px rgba(13, 47, 111, 0.08);
  }

  .catalogo-comercial__intro {
    grid-area: intro;
    padding: 0.88rem 0.9rem 1rem;
    display: grid;
    grid-template-rows: auto auto auto auto 1fr;
    gap: 0.42rem;
    align-content: stretch;
  }

  .catalogo-comercial__intro::before,
  .catalogo-comercial__categories::before {
    content: '';
    position: absolute;
    left: 0.82rem;
    right: 0.82rem;
    top: 0.82rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(77, 121, 208, 0.42), transparent);
    opacity: 0.88;
    pointer-events: none;
  }

  .catalogo-comercial__intro::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 15px,
      rgba(167, 196, 255, 0.018) 15px,
      rgba(167, 196, 255, 0.018) 16px
    );
    pointer-events: none;
  }

  .catalogo-comercial__eyebrow {
    gap: 0.34rem;
    padding: 0.24rem 0.62rem;
    border-radius: 999px;
    border: 1px solid rgba(139, 176, 245, 0.3);
    background: linear-gradient(180deg, rgba(113, 156, 243, 0.1), rgba(56, 91, 163, 0.05));
    color: #0d2f6f;
    font-size: 0.49rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  }

  .catalogo-comercial__intro h2 {
    color: #0b1b39;
    font-size: clamp(1.08rem, 1.55vw, 1.48rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
    max-width: 11ch;
  }

  .catalogo-comercial__intro h2 span {
    color: #11479f;
    text-shadow: none;
  }

  .catalogo-comercial__intro p {
    color: rgba(11, 27, 57, 0.72);
    font-size: 0.66rem;
    line-height: 1.26;
    max-width: 28ch;
    display: block;
  }

  .catalogo-comercial__specs,
  .catalogo-comercial__note {
    display: none;
  }

  .catalogo-comercial__specs {
    grid-template-columns: 1fr;
    gap: 0.36rem;
    max-width: 220px;
  }

  .catalogo-comercial__spec {
    padding: 0.52rem 0.64rem;
    border-radius: 12px;
    border: 1px solid rgba(131, 168, 239, 0.22);
    background: linear-gradient(180deg, rgba(13, 47, 111, 0.05), rgba(255, 255, 255, 0.96));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.94),
      0 8px 14px rgba(13, 47, 111, 0.08);
  }

  .catalogo-comercial__spec span {
    color: rgba(13, 47, 111, 0.54);
    font-size: 0.48rem;
    letter-spacing: 0.11em;
  }

  .catalogo-comercial__spec strong {
    margin-top: 0.18rem;
    color: #0d2f6f;
    font-size: 0.8rem;
  }

  .catalogo-comercial__note {
    align-self: start;
    padding-top: 0.58rem;
    border-top: 1px solid rgba(133, 170, 241, 0.16);
    color: rgba(13, 47, 111, 0.7);
    font-size: 0.61rem;
    line-height: 1.32;
    letter-spacing: 0.01em;
    max-width: 29ch;
  }

  .catalogo-comercial__display {
    grid-area: display;
    padding: 0.72rem;
    justify-self: stretch;
    align-self: stretch;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: #ffffff;
    box-shadow: 0 16px 28px rgba(13, 47, 111, 0.08);
  }

  .catalogo-comercial__hero-placeholder {
    height: 100%;
    min-height: 0;
    padding: 0.82rem;
    gap: 0.14rem;
    border-radius: 16px;
    border: 1px solid rgba(101, 136, 199, 0.1);
    background: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
  }

  .catalogo-comercial__hero-preview {
    transform: scale(var(--catalogo-hero-scale-idle, 0.95));
  }

  .catalogo-comercial__hero-placeholder.is-active .catalogo-comercial__hero-preview {
    transform: scale(var(--catalogo-hero-scale-active, 0.92));
  }

  .catalogo-comercial__hero-actions {
    right: 0.7rem;
    bottom: 0.7rem;
    gap: 0.3rem;
  }

  .catalogo-comercial__hero-action {
    width: 26px;
    height: 26px;
  }

  .catalogo-comercial__hero-placeholder span {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }

  .catalogo-comercial__hero-placeholder strong {
    font-size: clamp(0.84rem, 0.98vw, 0.98rem);
    line-height: 1.04;
  }

  .catalogo-comercial__categories {
    grid-area: categories;
    padding: 0.68rem 0.72rem 0.74rem;
    gap: 0.36rem;
    margin-top: 0;
    background:
      radial-gradient(120% 90% at 100% -5%, rgba(99, 147, 240, 0.06), transparent 50%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 255, 0.98) 55%, rgba(240, 245, 252, 0.98) 100%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.92),
      0 14px 24px rgba(13, 47, 111, 0.08);
  }

  .catalogo-comercial__categories-head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.38rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid rgba(128, 167, 237, 0.16);
  }

  .catalogo-comercial__categories-head strong {
    color: #0d2f6f;
    font-size: 0.7rem;
    letter-spacing: 0.095em;
  }

  .catalogo-comercial__categories-head span {
    padding: 0.24rem 0.38rem;
    border-radius: 999px;
    border: 1px solid rgba(138, 176, 247, 0.28);
    background: rgba(77, 121, 208, 0.07);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
    color: rgba(13, 47, 111, 0.7);
    font-size: 0.48rem;
    line-height: 1.04;
  }

  .catalogo-comercial__categories-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(30px, 1fr);
    gap: 0.22rem;
    align-content: stretch;
    height: 100%;
    min-height: 0;
  }

  .catalogo-comercial__category-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    min-width: 0;
    height: 100%;
    border-radius: 9px;
    padding: 0.28rem 0.28rem 0.28rem 0.74rem;
    border: 1px solid rgba(136, 174, 245, 0.22);
    background: linear-gradient(180deg, rgba(13, 47, 111, 0.05), rgba(255, 255, 255, 0.98));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.94),
      0 3px 8px rgba(13, 47, 111, 0.08);
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease;
  }

  .catalogo-comercial__category-card::before {
    content: '';
    position: absolute;
    left: 0.3rem;
    top: 50%;
    width: 2px;
    height: 58%;
    border-radius: 999px;
    transform: translateY(-50%);
    background: linear-gradient(180deg, #d7ecff 0%, #7cb3ff 48%, rgba(76, 116, 183, 0.56) 100%);
    box-shadow: 0 0 8px rgba(122, 176, 255, 0.16);
  }

  .catalogo-comercial__category-card::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(145, 182, 248, 0.24), rgba(255, 255, 255, 0), rgba(145, 182, 248, 0.24));
    opacity: 0.64;
  }

  .catalogo-comercial__category-name {
    color: #0b1b39;
    font-size: clamp(calc(0.6rem * 0.94), calc(0.68vw * 0.94), calc(0.74rem * 0.94));
    line-height: 1.04;
    letter-spacing: 0.012em;
    font-weight: 600;
    text-align: left;
    text-transform: none;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }

  .catalogo-comercial__category-card:hover {
    transform: translateY(-2px) scale(1.01);
    border-color: rgba(77, 121, 208, 0.24);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.96),
      0 8px 14px rgba(13, 47, 111, 0.1);
  }

  .catalogo-comercial__category-card.is-active {
    border-color: rgba(77, 121, 208, 0.36);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.96),
      0 10px 16px rgba(13, 47, 111, 0.12);
    background: linear-gradient(180deg, rgba(77, 121, 208, 0.08), rgba(255, 255, 255, 0.98));
  }

  .catalogo-comercial__hero-placeholder.is-active::before {
    opacity: 0.18;
  }
}

#stock-comercial-autopartes.catalogo-comercial .catalogo-comercial__category-card {
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-left: 0.34rem;
  padding-right: 0.34rem;
}

#stock-comercial-autopartes.catalogo-comercial .catalogo-comercial__category-name {
  width: 100%;
  max-width: 100%;
  text-align: center;
}

.hero-btn,
.mayor-module__cta,
.mayor-module__download-btn {
  justify-content: center;
  text-align: center;
}

/* ═══════════ SHOWROOM DE MARCAS ═══════════ */
#marcas-importadas-autopartes.brands-showroom {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(1.2rem, 2.6vw, 2rem) clamp(0.9rem, 2.4vw, 1.8rem);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(920px 240px at 14% 20%, rgba(26, 32, 44, 0.05), transparent 56%),
    radial-gradient(760px 220px at 84% 24%, rgba(180, 138, 96, 0.08), transparent 54%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfa 54%, #f5f5f3 100%);
}

#marcas-importadas-autopartes.brands-showroom::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(21, 27, 38, 0.028) 1px, transparent 1px),
    linear-gradient(180deg, rgba(21, 27, 38, 0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.34;
  pointer-events: none;
}

.brands-showroom__shell {
  width: min(1360px, 96vw);
  margin: 0 auto;
  display: grid;
  gap: clamp(0.7rem, 1.4vw, 1rem);
}

.brands-showroom__header {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 0.38rem;
  text-align: center;
}

.brands-showroom__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(62, 72, 87, 0.14);
  background: linear-gradient(180deg, rgba(188, 146, 100, 0.1), rgba(255, 255, 255, 0.92));
  color: #5d4833;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.brands-showroom__title {
  margin: 0;
  color: #161c27;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.72rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.brands-showroom__subtitle {
  margin: 0;
  max-width: 58ch;
  color: rgba(62, 72, 87, 0.8);
  font-size: clamp(0.78rem, 0.9vw, 0.92rem);
  line-height: 1.35;
}

.brands-showroom__viewport {
  position: relative;
  min-height: clamp(190px, 32vh, 290px);
  padding: clamp(1rem, 2.2vw, 1.6rem) 0;
  border-radius: 30px;
  border: 1px solid rgba(56, 64, 76, 0.1);
  background:
    radial-gradient(circle at 50% 28%, rgba(186, 150, 112, 0.08), transparent 28%),
    radial-gradient(120% 160% at 50% 100%, rgba(31, 41, 55, 0.06), transparent 56%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 248, 246, 0.97) 52%, rgba(244, 242, 239, 0.96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 18px 36px rgba(17, 24, 39, 0.08);
  overflow-x: auto;
  overflow-y: hidden;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
  cursor: grab;
}

.brands-showroom__viewport::-webkit-scrollbar {
  display: none;
}

.brands-showroom__viewport.is-dragging {
  cursor: grabbing;
}

.brands-showroom__viewport::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 16%;
  width: min(520px, 56vw);
  height: 68%;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1px solid rgba(82, 91, 104, 0.08);
  box-shadow:
    0 0 0 34px rgba(90, 101, 118, 0.03),
    0 0 80px rgba(176, 137, 92, 0.08);
  pointer-events: none;
}

.brands-showroom__viewport::after {
  content: '';
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 14%;
  height: 26px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(123, 99, 73, 0.14), rgba(123, 99, 73, 0));
  filter: blur(10px);
  pointer-events: none;
}

.brands-showroom__beam {
  position: absolute;
  top: -18%;
  width: 24%;
  height: 140%;
  background: linear-gradient(180deg, rgba(210, 196, 178, 0.24), rgba(255, 255, 255, 0));
  filter: blur(18px);
  opacity: 0.36;
  pointer-events: none;
}

.brands-showroom__beam--left {
  left: 12%;
  transform: rotate(8deg);
}

.brands-showroom__beam--right {
  right: 12%;
  transform: rotate(-8deg);
}

.brands-showroom__track {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: clamp(0.72rem, 1.15vw, 0.95rem);
  padding-inline: clamp(0.9rem, 1.8vw, 1.4rem);
  width: max-content;
  min-width: max-content;
  user-select: none;
}

.brands-showroom__item {
  flex: 0 0 auto;
  width: clamp(196px, 15vw, 248px);
  min-height: clamp(118px, 11.2vw, 144px);
  padding: clamp(0.72rem, 1.05vw, 0.95rem);
  border-radius: 22px;
  border: 1px solid rgba(68, 77, 91, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 244, 241, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 14px 24px rgba(17, 24, 39, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.brands-showroom__item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 22%, rgba(255, 255, 255, 0.48) 48%, transparent 70%);
  transform: translateX(-58%);
  animation: brandsRibbonSweep 6.4s ease-in-out infinite;
  pointer-events: none;
}

.brands-showroom__item:hover {
  transform: translateY(-3px);
  border-color: rgba(92, 79, 64, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 18px 32px rgba(46, 38, 28, 0.12);
}

.brands-showroom__item img {
  display: block;
  width: auto;
  height: clamp(70px, 6.2vw, 92px);
  max-width: calc(100% - 0.2rem);
  object-fit: contain;
  object-position: center;
  filter: saturate(1.02) contrast(1.02);
}

.brands-showroom__item[data-brand="ark"] img,
.brands-showroom__item[data-brand="shin-han"] img {
  transform: scale(1.41);
  transform-origin: center;
}

@keyframes brandsRibbonSweep {
  0% { transform: translateX(-58%); opacity: 0.16; }
  50% { transform: translateX(12%); opacity: 0.42; }
  100% { transform: translateX(58%); opacity: 0.14; }
}

@media (max-width: 860px) {
  #marcas-importadas-autopartes.brands-showroom {
    padding: 1rem 0.72rem 1.2rem;
  }

  .brands-showroom__title {
    font-size: clamp(1rem, 4.2vw, 1.3rem);
  }

  .brands-showroom__subtitle {
    max-width: 46ch;
    font-size: 0.78rem;
  }

  .brands-showroom__viewport {
    min-height: clamp(170px, 26vh, 240px);
    border-radius: 24px;
  }

  .brands-showroom__item {
    width: clamp(168px, 37vw, 206px);
    min-height: clamp(102px, 21vw, 124px);
    border-radius: 18px;
  }

  .brands-showroom__item img {
    width: auto;
    height: clamp(56px, 10.4vw, 72px);
    max-width: calc(100% - 0.16rem);
  }
}

@media (max-width: 560px) {
  #marcas-importadas-autopartes.brands-showroom {
    padding: 0.88rem 0.42rem 1rem;
  }

  .brands-showroom__shell {
    gap: 0.56rem;
  }

  .brands-showroom__eyebrow {
    font-size: 0.54rem;
    padding: 0.28rem 0.58rem;
  }

  .brands-showroom__title {
    font-size: 0.96rem;
  }

  .brands-showroom__subtitle {
    max-width: 34ch;
    font-size: 0.7rem;
    line-height: 1.3;
  }

  .brands-showroom__viewport {
    min-height: 154px;
    padding: 0.86rem 0;
    border-radius: 20px;
  }

  .brands-showroom__viewport::before {
    width: 84%;
    height: 58%;
    top: 20%;
  }

  .brands-showroom__track {
    gap: 0.56rem;
  }

  .brands-showroom__item {
    width: 152px;
    min-height: 96px;
    padding: 0.58rem;
    border-radius: 16px;
  }

  .brands-showroom__item img {
    width: auto;
    height: 54px;
    max-width: calc(100% - 0.1rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brands-showroom__item::before {
    animation: none !important;
  }

  .brands-showroom__item {
    transition: none !important;
  }
}

/* ═══════════ DESPACHOS NACIONALES ═══════════ */
#despachos-nacionales-colombia.dispatch-colombia {
  --dispatch-ink: #111827;
  --dispatch-soft-ink: rgba(17, 24, 39, 0.72);
  --dispatch-muted: rgba(55, 65, 81, 0.64);
  --dispatch-line: rgba(17, 24, 39, 0.1);
  --dispatch-panel: rgba(255, 255, 255, 0.88);
  --dispatch-silver: #eef2f7;
  --dispatch-green: #0d2f6f;
  --dispatch-amber: #1e40af;
  --dispatch-nav-offset: 152px;
  --dispatch-pad: clamp(0.48rem, 1.1vw, 0.9rem);
  width: 100%;
  max-width: none;
  height: calc(100svh - var(--dispatch-nav-offset));
  max-height: calc(100svh - var(--dispatch-nav-offset));
  min-height: 0;
  margin: 0;
  padding: var(--dispatch-pad);
  border-block: 1px solid rgba(13, 47, 111, 0.32);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  place-items: center;
  scroll-margin-top: var(--dispatch-nav-offset);
  box-shadow:
    inset 0 1px 0 rgba(59, 130, 246, 0.18),
    inset 0 -1px 0 rgba(59, 130, 246, 0.18),
    0 -1px 12px rgba(13, 47, 111, 0.08),
    0 1px 12px rgba(13, 47, 111, 0.08);
  background:
    radial-gradient(720px 260px at 18% 16%, rgba(148, 163, 184, 0.16), transparent 64%),
    radial-gradient(620px 240px at 84% 18%, rgba(13, 47, 111, 0.1), transparent 62%),
    linear-gradient(135deg, #ffffff 0%, #f7f9fc 46%, #eef3f8 100%);
}

#despachos-nacionales-colombia.dispatch-colombia::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 24, 39, 0.028) 1px, transparent 1px),
    linear-gradient(135deg, transparent 0 45%, rgba(255, 255, 255, 0.62) 45% 55%, transparent 55% 100%);
  background-size: 56px 56px, 56px 56px, 100% 100%;
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  pointer-events: none;
  z-index: 0;
}

#despachos-nacionales-colombia.dispatch-colombia::after {
  content: '';
  position: absolute;
  inset: auto 10% 4% 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(17, 24, 39, 0.18), transparent);
  pointer-events: none;
  z-index: 0;
}

.dispatch-colombia__shell {
  width: min(1120px, 100%);
  height: 100%;
  min-height: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(0.48rem, 0.9vw, 0.78rem);
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.dispatch-colombia__copy,
.dispatch-colombia__stage,
.dispatch-colombia__map-panel {
  min-width: 0;
  min-height: 0;
  box-sizing: border-box;
}

.dispatch-colombia__copy {
  position: relative;
  overflow: hidden;
  padding: clamp(0.82rem, 1.45vw, 1.22rem);
  border-radius: clamp(18px, 2vw, 26px);
  border: 1px solid rgba(17, 24, 39, 0.09);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.9)),
    radial-gradient(circle at 12% 10%, rgba(13, 47, 111, 0.08), transparent 36%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 24px 55px rgba(15, 23, 42, 0.09);
  display: grid;
  align-content: center;
  grid-auto-rows: min-content;
  gap: clamp(0.55rem, 1vh, 0.86rem);
}

.dispatch-colombia__copy::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #111827, rgba(13, 47, 111, 0.84), rgba(148, 163, 184, 0.72));
  opacity: 0.92;
}

.dispatch-colombia__copy::after {
  content: '';
  position: absolute;
  right: clamp(0.55rem, 1vw, 0.9rem);
  top: clamp(0.55rem, 1vw, 0.9rem);
  width: min(42%, 180px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(148, 163, 184, 0.16), transparent 68%);
  pointer-events: none;
}

.dispatch-colombia__eyebrow {
  width: fit-content;
  padding: 0.36rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: linear-gradient(180deg, #ffffff, #eef3f8);
  color: rgba(17, 24, 39, 0.78);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  font-size: clamp(0.68rem, 0.78vw, 0.74rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dispatch-colombia__copy h2 {
  margin: 0;
  max-width: 14ch;
  color: var(--dispatch-ink);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.dispatch-colombia__copy p {
  margin: 0;
  max-width: 36ch;
  color: var(--dispatch-soft-ink);
  font-size: clamp(0.82rem, 0.9vw, 0.92rem);
  line-height: 1.4;
}

.dispatch-colombia__metrics {
  align-self: start;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.42rem, 0.8vh, 0.58rem);
  margin-top: 0.1rem;
}

.dispatch-colombia__metrics article {
  min-width: 0;
  min-height: clamp(42px, 7vh, 56px);
  padding: clamp(0.46rem, 0.86vw, 0.64rem);
  border-radius: 14px;
  border: 1px solid rgba(17, 24, 39, 0.075);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(241, 245, 249, 0.8));
  display: grid;
  grid-template-columns: clamp(58px, 6vw, 78px) 1fr;
  align-items: center;
  gap: clamp(0.72rem, 1.1vw, 0.96rem);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.dispatch-colombia__metrics strong {
  color: var(--dispatch-ink);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.dispatch-colombia__metrics span {
  min-width: 0;
  color: var(--dispatch-muted);
  font-size: clamp(0.74rem, 0.84vw, 0.82rem);
  line-height: 1.25;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.dispatch-colombia__stage {
  position: relative;
  overflow: hidden;
  padding: clamp(0.54rem, 1vw, 0.84rem);
  border-radius: clamp(20px, 2.3vw, 30px);
  border: 1px solid rgba(17, 24, 39, 0.1);
  background:
    radial-gradient(circle at 38% 38%, rgba(13, 47, 111, 0.08), transparent 34%),
    radial-gradient(circle at 72% 20%, rgba(148, 163, 184, 0.16), transparent 36%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.96), rgba(242, 246, 250, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 28px 62px rgba(15, 23, 42, 0.12);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.dispatch-colombia__stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 24, 39, 0.028) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.62;
  pointer-events: none;
}

.dispatch-colombia__map-panel {
  position: relative;
  z-index: 1;
  border-radius: clamp(16px, 1.8vw, 24px);
  border: 1px solid rgba(17, 24, 39, 0.08);
  background:
    radial-gradient(circle at 50% 52%, rgba(13, 47, 111, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(248, 250, 252, 0.72));
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 0 0 1px rgba(255, 255, 255, 0.52);
}

.dispatch-colombia__map-panel::before {
  content: '';
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: 8%;
  height: clamp(22px, 5vh, 42px);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.12), transparent 70%);
  filter: blur(14px);
  pointer-events: none;
}

.dispatch-colombia__map-panel::after {
  content: 'COBERTURA NACIONAL';
  position: absolute;
  left: clamp(0.7rem, 1.5vw, 1rem);
  top: clamp(0.7rem, 1.5vw, 1rem);
  padding: 0.34rem 0.56rem;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.78);
  color: rgba(17, 24, 39, 0.56);
  font-size: clamp(0.54rem, 0.66vw, 0.64rem);
  font-weight: 850;
  letter-spacing: 0.13em;
  line-height: 1;
  backdrop-filter: blur(10px);
}

.dispatch-colombia__geo {
  position: absolute;
  left: 50%;
  top: 52%;
  height: min(84%, 430px);
  aspect-ratio: 4 / 5;
  transform: translate(-50%, -50%);
}

.dispatch-colombia__map-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.88;
  filter:
    drop-shadow(0 20px 28px rgba(15, 23, 42, 0.13))
    drop-shadow(0 0 18px rgba(13, 47, 111, 0.09));
  pointer-events: none;
  user-select: none;
}

.dispatch-colombia__map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.dispatch-colombia__map-line {
  fill: none;
  stroke: rgba(15, 23, 42, 0.16);
  stroke-width: 0.2;
  stroke-dasharray: 0.8 1.45;
  vector-effect: non-scaling-stroke;
}

.dispatch-colombia__route {
  fill: none;
  stroke: rgba(13, 47, 111, 0.42);
  stroke-width: 0.42;
  stroke-linecap: round;
  stroke-dasharray: 1.25 1.65;
  opacity: 0.32;
  vector-effect: non-scaling-stroke;
}

.dispatch-colombia__route.is-active {
  stroke: var(--dispatch-amber);
  stroke-width: 0.64;
  opacity: 1;
  filter: drop-shadow(0 0 7px rgba(30, 64, 175, 0.26));
}

.dispatch-colombia__hub-core {
  fill: var(--dispatch-green);
  stroke: #ffffff;
  stroke-width: 0.36;
  vector-effect: non-scaling-stroke;
}

.dispatch-colombia__hub-pulse {
  fill: none;
  stroke: rgba(13, 47, 111, 0.48);
  stroke-width: 0.34;
  animation: dispatchHubPulse 2.8s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
  vector-effect: non-scaling-stroke;
}

.dispatch-colombia__node {
  appearance: none;
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: clamp(11px, 1.15vw, 14px);
  height: clamp(11px, 1.15vw, 14px);
  padding: 0;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.96);
  background: #111827;
  box-shadow:
    0 0 0 5px rgba(17, 24, 39, 0.08),
    0 9px 18px rgba(15, 23, 42, 0.16);
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 3;
  transition: transform 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
}

.dispatch-colombia__node span {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.42rem);
  transform: translateX(-50%) translateY(5px);
  padding: 0.32rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.94);
  color: var(--dispatch-ink);
  font-size: clamp(0.56rem, 0.68vw, 0.68rem);
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.13);
  backdrop-filter: blur(10px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.dispatch-colombia__node:hover,
.dispatch-colombia__node:focus-visible,
.dispatch-colombia__node.is-active {
  background: var(--dispatch-amber);
  transform: translate(-50%, -50%) scale(1.2);
  box-shadow:
    0 0 0 7px rgba(30, 64, 175, 0.14),
    0 0 22px rgba(30, 64, 175, 0.34);
}

.dispatch-colombia__node:hover span,
.dispatch-colombia__node:focus-visible span,
.dispatch-colombia__node.is-active span {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@keyframes dispatchHubPulse {
  0% { opacity: 0.62; transform: scale(0.82); }
  60% { opacity: 0; transform: scale(1.55); }
  100% { opacity: 0; transform: scale(1.55); }
}

@media (max-width: 1080px) {
  #despachos-nacionales-colombia.dispatch-colombia {
    --dispatch-nav-offset: 88px;
    --dispatch-pad: clamp(0.46rem, 1.2vw, 0.74rem);
    height: calc(100svh - var(--dispatch-nav-offset));
    max-height: calc(100svh - var(--dispatch-nav-offset));
  }

  .dispatch-colombia__shell {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(92px, auto) minmax(0, 1fr);
  }

  .dispatch-colombia__copy {
    grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
    grid-template-rows: auto;
    align-items: end;
    padding: 0.8rem;
  }

  .dispatch-colombia__eyebrow,
  .dispatch-colombia__copy h2,
  .dispatch-colombia__copy p {
    grid-column: 1;
  }

  .dispatch-colombia__copy h2 {
    max-width: 18ch;
    font-size: clamp(1.28rem, 2.55vw, 1.72rem);
  }

  .dispatch-colombia__metrics {
    grid-column: 2;
    grid-row: 1 / span 3;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-self: stretch;
    margin-top: 0;
  }

  .dispatch-colombia__metrics article {
    min-height: 46px;
    padding: 0.48rem;
    grid-template-columns: 1fr;
    align-content: center;
  }

  .dispatch-colombia__stage {
    grid-template-columns: minmax(0, 1fr);
  }

  .dispatch-colombia__geo {
    height: min(86%, 380px);
  }
}

@media (max-width: 720px) {
  #despachos-nacionales-colombia.dispatch-colombia {
    --dispatch-nav-offset: 82px;
    --dispatch-pad: 0.46rem;
    height: calc(100svh - var(--dispatch-nav-offset));
    max-height: calc(100svh - var(--dispatch-nav-offset));
  }

  .dispatch-colombia__shell {
    width: 100%;
    gap: 0.42rem;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .dispatch-colombia__copy {
    padding: 0.58rem 0.64rem 0.64rem;
    grid-template-columns: 1fr;
    gap: 0.38rem;
    border-radius: 15px;
  }

  .dispatch-colombia__copy::after {
    display: none;
  }

  .dispatch-colombia__eyebrow {
    padding: 0.22rem 0.4rem;
    grid-column: auto;
    font-size: 0.58rem;
    letter-spacing: 0.07em;
  }

  .dispatch-colombia__copy h2 {
    grid-column: auto;
    max-width: 22ch;
    font-size: clamp(0.92rem, 4vw, 1.05rem);
    line-height: 1.15;
    letter-spacing: -0.015em;
  }

  .dispatch-colombia__copy p {
    grid-column: auto;
    display: none;
  }

  .dispatch-colombia__metrics {
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.2rem;
  }

  .dispatch-colombia__metrics article {
    min-height: 0;
    padding: 0.35rem;
    border-radius: 8px;
    grid-template-columns: 1fr;
    gap: 0.12rem;
  }

  .dispatch-colombia__metrics strong {
    font-size: 0.65rem;
    line-height: 1.1;
  }
  .dispatch-colombia__metrics span {
    font-size: 0.55rem;
    line-height: 1.2;
  }

  .dispatch-colombia__stage {
    padding: 0.42rem;
    border-radius: 15px;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr);
    gap: 0;
  }

  .dispatch-colombia__map-panel {
    border-radius: 15px;
  }

  .dispatch-colombia__map-panel::after {
    display: none;
  }

  .dispatch-colombia__geo {
    top: 51%;
    height: min(91%, 300px);
  }

  .dispatch-colombia__node {
    width: 10px;
    height: 10px;
    border-width: 1.5px;
  }

  .dispatch-colombia__node span {
    font-size: 0.54rem;
    padding: 0.26rem 0.36rem;
  }

}

@media (max-width: 520px) {
  .dispatch-colombia__copy {
    padding: 0.72rem;
  }

  .dispatch-colombia__metrics article {
    min-height: 42px;
  }

  .dispatch-colombia__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dispatch-colombia__metrics article:nth-child(3) {
    grid-column: 1 / -1;
    grid-template-columns: 52px 1fr;
    align-items: center;
  }

  .dispatch-colombia__metrics strong {
    font-size: 0.7rem;
  }

  .dispatch-colombia__metrics span {
    font-size: 0.56rem;
  }

}

@media (max-width: 480px) {
  #despachos-nacionales-colombia.dispatch-colombia {
    --dispatch-nav-offset: 76px;
    --dispatch-pad: 0.42rem;
  }
}

@media (max-height: 720px) and (min-width: 721px) {
  #despachos-nacionales-colombia.dispatch-colombia {
    padding: 0.58rem;
  }

  .dispatch-colombia__copy {
    padding: 0.9rem;
  }

  .dispatch-colombia__copy h2 {
    font-size: clamp(1.42rem, 2.4vw, 2.05rem);
  }

  .dispatch-colombia__copy p {
    font-size: 0.76rem;
    line-height: 1.32;
  }

  .dispatch-colombia__metrics article {
    min-height: 44px;
    padding: 0.46rem 0.56rem;
  }

  .dispatch-colombia__stage {
    padding: 0.58rem;
  }

  .dispatch-colombia__geo {
    height: min(84%, 430px);
  }

}

@media (prefers-reduced-motion: reduce) {
  .dispatch-colombia__hub-pulse {
    animation: none !important;
  }

  .dispatch-colombia__route,
  .dispatch-colombia__node,
  .dispatch-colombia__node span {
    transition: none !important;
  }
}

/* ═══════════ MÓDULO MAYORISTAS ═══════════ */
#portal-mayoristas-autopartes.mayor-module {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(3rem, 8vw, 6rem) clamp(1.1rem, 3vw, 2.4rem);
  background:
    radial-gradient(1200px 400px at 10% -10%, rgba(13, 47, 111, 0.16), transparent 65%),
    radial-gradient(900px 320px at 100% 110%, rgba(245, 158, 11, 0.12), transparent 62%),
    linear-gradient(180deg, #f9fbff 0%, #f4f7fc 100%);
  overflow: hidden;
}

.mayor-module__shell {
  width: min(1400px, 96vw);
  margin: 0 auto;
  padding: clamp(1.2rem, 2.7vw, 2.2rem);
  border-radius: 20px;
  border: 1px solid rgba(13, 47, 111, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(246, 250, 255, 0.9)),
    repeating-linear-gradient(90deg, rgba(13, 47, 111, 0.04) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(0deg, rgba(13, 47, 111, 0.03) 0 1px, transparent 1px 48px);
  box-shadow:
    0 24px 60px rgba(7, 26, 60, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  position: relative;
  isolation: isolate;
}

.mayor-module__shell::before {
  content: '';
  position: absolute;
  top: -35%;
  left: -18%;
  width: 52%;
  height: 180%;
  background: linear-gradient(120deg, transparent 32%, rgba(255, 255, 255, 0.34) 50%, transparent 68%);
  transform: rotate(6deg);
  animation: mayorSweep 8s linear infinite;
  pointer-events: none;
  z-index: 0;
}

.mayor-module__badge,
.mayor-module__title,
.mayor-module__subtitle,
.mayor-module__status,
.mayor-module__grid {
  position: relative;
  z-index: 1;
}

.mayor-module__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.8rem;
  border-radius: 100px;
  border: 1px solid rgba(13, 47, 111, 0.2);
  background: rgba(13, 47, 111, 0.07);
  font-family: var(--font-body);
  font-size: clamp(0.62rem, 0.76vw, 0.72rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0d2f6f;
}

.mayor-module__title {
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.65rem, 3.2vw, 3rem);
  letter-spacing: -0.025em;
  color: #0f172a;
  text-transform: uppercase;
  line-height: 1.05;
}

.mayor-module__title span {
  color: #0d2f6f;
}

.mayor-module__subtitle {
  margin-top: 0.7rem;
  max-width: 76ch;
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.06vw, 1.02rem);
  line-height: 1.6;
  color: #48556a;
}

.mayor-module__status {
  margin-top: 0.9rem;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.44rem 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(22, 163, 74, 0.34);
  background:
    linear-gradient(150deg, rgba(34, 197, 94, 0.16), rgba(16, 185, 129, 0.08)),
    rgba(248, 255, 251, 0.92);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.78),
    0 10px 24px rgba(21, 128, 61, 0.14);
}

.mayor-module__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
  flex: 0 0 auto;
}

.mayor-module__status-label {
  font-family: var(--font-body);
  font-size: clamp(0.7rem, 0.82vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #166534;
}

.mayor-module__status-date {
  font-family: var(--font-display);
  font-size: clamp(0.76rem, 0.9vw, 0.84rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #14532d;
}

.mayor-module__grid {
  margin-top: clamp(1rem, 2.2vw, 1.6rem);
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(0.8rem, 1.6vw, 1.1rem);
}

.mayor-module__panel {
  border-radius: 16px;
  border: 1px solid rgba(13, 47, 111, 0.16);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.94), rgba(244, 248, 255, 0.92));
  padding: clamp(1rem, 2vw, 1.35rem);
  box-shadow: 0 14px 36px rgba(9, 32, 71, 0.09);
}

.mayor-module__kicker {
  font-family: var(--font-body);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 700;
  color: #0d2f6f;
  margin-bottom: 0.4rem;
}

.mayor-module__panel h3 {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #111827;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.mayor-module__panel p {
  font-family: var(--font-body);
  font-size: clamp(0.84rem, 0.95vw, 0.94rem);
  line-height: 1.55;
  color: #4b5563;
}

.mayor-module__highlights {
  margin-top: 0.85rem;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.mayor-module__highlights li {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: #0f2b57;
  font-weight: 600;
  background: rgba(13, 47, 111, 0.07);
  border: 1px solid rgba(13, 47, 111, 0.12);
  border-radius: 10px;
  padding: 0.45rem 0.65rem;
}

.mayor-module__panel--access {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.72rem;
  background:
    linear-gradient(162deg, rgba(9, 37, 88, 0.98), rgba(16, 62, 142, 0.95)),
    radial-gradient(circle at 78% 16%, rgba(255, 255, 255, 0.22), transparent 54%);
  border-color: rgba(169, 205, 255, 0.42);
  box-shadow: inset 0 1px 0 rgba(230, 242, 255, 0.12);
}

.mayor-module__vault {
  border: 1px solid rgba(189, 219, 255, 0.58);
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(6, 23, 54, 0.74), rgba(8, 31, 70, 0.62));
  padding: 0.82rem 0.86rem;
  display: grid;
  gap: 0.3rem;
}

.mayor-module__vault-label {
  font-family: var(--font-body);
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: rgba(217, 234, 255, 0.98);
}

.mayor-module__vault strong {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: #ffffff;
}

.mayor-module__vault-footnote {
  font-family: var(--font-body);
  font-size: 0.72rem;
  line-height: 1.35;
  color: rgba(218, 234, 255, 0.9);
}

.mayor-module__credentials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.28rem;
}

.mayor-module__credential {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(192, 219, 255, 0.5);
  border-radius: 999px;
  background: rgba(236, 246, 255, 0.12);
  padding: 0.24rem 0.52rem;
  font-family: var(--font-body);
  font-size: 0.66rem;
  color: #f6fbff;
}

.mayor-module__credential b {
  color: #dbeafe;
  font-weight: 800;
}

.mayor-module__login {
  display: grid;
  gap: 0.55rem;
}

.mayor-module__field {
  display: grid;
  gap: 0.24rem;
}

.mayor-module__field > span {
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(229, 239, 255, 0.95);
}

.mayor-module__field input {
  width: 100%;
  border: 1px solid rgba(180, 208, 248, 0.8);
  background: rgba(247, 251, 255, 0.98);
  color: #0b2b63;
  border-radius: 10px;
  padding: 0.66rem 0.7rem;
  font-family: var(--font-body);
  font-size: 0.84rem;
  letter-spacing: 0.01em;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.mayor-module__field input::placeholder {
  color: rgba(96, 124, 170, 0.78);
}

.mayor-module__field input:focus {
  border-color: rgba(103, 151, 230, 0.95);
  box-shadow: 0 0 0 3px rgba(112, 160, 236, 0.24);
  background: #ffffff;
}

.mayor-module__auth-msg {
  min-height: 1rem;
  margin: 0.08rem 0 0;
  font-family: var(--font-body);
  font-size: 0.73rem;
  line-height: 1.35;
  color: rgba(220, 234, 255, 0.9);
}

.mayor-module__auth-msg.is-error {
  color: #fee2e2;
}

.mayor-module__auth-msg.is-success {
  color: #dcfce7;
}

.mayor-module__download-card {
  border: 1px solid rgba(177, 216, 255, 0.55);
  border-radius: 12px;
  background:
    linear-gradient(155deg, rgba(8, 41, 99, 0.96), rgba(14, 61, 137, 0.93)),
    radial-gradient(circle at 85% 0%, rgba(219, 234, 254, 0.22), transparent 52%);
  box-shadow: 0 12px 30px rgba(5, 30, 74, 0.34);
  padding: 0.78rem 0.82rem 0.86rem;
  display: grid;
  gap: 0.38rem;
}

.mayor-module__download-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #f8fbff;
}

.mayor-module__download-copy {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: rgba(220, 236, 255, 0.92);
}

.mayor-module__download-btn {
  margin-top: 0.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-decoration: none;
  border: 1px solid rgba(197, 221, 255, 0.92);
  border-radius: 10px;
  padding: 0.64rem 0.78rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0d2f6f;
  background: linear-gradient(130deg, #f8fbff, #dbeafe);
  box-shadow: 0 8px 22px rgba(8, 38, 90, 0.28);
  transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease;
}

.mayor-module__download-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
  box-shadow: 0 10px 25px rgba(8, 38, 90, 0.34);
}

.mayor-module__download-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.92);
  outline-offset: 2px;
}

.mayor-module__download-btn[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.55;
}

.is-mayor-portal-open {
  overflow: hidden;
}

.mayor-portal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  align-items: start;
  justify-items: center;
  padding: clamp(0.8rem, 2vw, 1.4rem);
  padding-top: clamp(1rem, 4vh, 2.3rem);
}

.mayor-portal[hidden] {
  display: none;
}

.mayor-portal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 18% 10%, rgba(59, 130, 246, 0.28), transparent 62%),
    rgba(3, 13, 32, 0.78);
  backdrop-filter: blur(12px);
}

.mayor-portal__dialog {
  position: relative;
  width: min(1280px, 97vw);
  max-height: min(92vh, 900px);
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto auto auto minmax(280px, 1fr) auto;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(191, 219, 254, 0.32);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(248, 251, 255, 0.98), rgba(231, 240, 255, 0.96)),
    radial-gradient(840px 320px at 95% 0%, rgba(13, 47, 111, 0.12), transparent 58%);
  box-shadow: 0 28px 80px rgba(3, 13, 32, 0.42);
  color: #0f172a;
}

.mayor-portal__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.68rem clamp(1rem, 2.2vw, 1.55rem) 0.56rem;
  border-bottom: 1px solid rgba(13, 47, 111, 0.1);
}

.mayor-portal__eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.22rem;
  padding: 0.2rem 0.52rem;
  border: 1px solid rgba(13, 47, 111, 0.16);
  border-radius: 999px;
  color: #0d2f6f;
  background: rgba(219, 234, 254, 0.72);
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mayor-portal__header h3 {
  margin: 0;
  color: #0b1f49;
  font-family: var(--font-display);
  font-size: clamp(1.04rem, 1.65vw, 1.34rem);
  line-height: 1;
  letter-spacing: 0;
}

.mayor-portal__header p {
  max-width: 62ch;
  margin: 0.24rem 0 0;
  color: rgba(15, 23, 42, 0.68);
  font-family: var(--font-body);
  font-size: 0.72rem;
  line-height: 1.32;
}

.mayor-portal__close {
  align-self: start;
  border: 1px solid rgba(13, 47, 111, 0.16);
  border-radius: 10px;
  padding: 0.48rem 0.7rem;
  background: #ffffff;
  color: #0d2f6f;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.mayor-portal__tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.3fr);
  gap: 0.8rem;
  padding: 0.52rem clamp(1rem, 2.2vw, 1.55rem);
  border-bottom: 1px solid rgba(13, 47, 111, 0.08);
  background: rgba(248, 251, 255, 0.84);
}

.mayor-portal__search,
.mayor-portal__filter {
  display: grid;
  gap: 0.22rem;
  font-family: var(--font-body);
  color: rgba(15, 23, 42, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
}

.mayor-portal__search label {
  font: inherit;
}

.mayor-portal__searchbox {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
}

.mayor-portal__search input,
.mayor-portal__filter select {
  min-height: 38px;
  border: 1px solid rgba(13, 47, 111, 0.2);
  border-radius: 10px;
  padding: 0.52rem 0.72rem;
  background: #ffffff;
  color: #0f172a;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  outline: none;
}

.mayor-portal__searchbox button {
  min-height: 38px;
  border: 1px solid rgba(13, 47, 111, 0.18);
  border-radius: 10px;
  padding: 0 0.9rem;
  background: #0d2f6f;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.mayor-portal__search input:focus,
.mayor-portal__filter select:focus {
  border-color: rgba(13, 47, 111, 0.46);
  box-shadow: 0 0 0 3px rgba(13, 47, 111, 0.1);
}

.mayor-portal__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.58rem;
  padding: 0.42rem clamp(1rem, 2.2vw, 1.55rem) 0.28rem;
}

.mayor-portal__stats article {
  min-height: 44px;
  display: grid;
  align-content: center;
  gap: 0.12rem;
  border: 1px solid rgba(13, 47, 111, 0.1);
  border-radius: 10px;
  padding: 0.42rem 0.72rem;
  background: linear-gradient(155deg, #ffffff, rgba(235, 243, 255, 0.82));
}

.mayor-portal__stats strong {
  color: #0d2f6f;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.65vw, 1.32rem);
  line-height: 1;
}

.mayor-portal__stats span,
.mayor-portal__status,
.mayor-portal__footer {
  color: rgba(15, 23, 42, 0.62);
  font-family: var(--font-body);
  font-size: 0.74rem;
}

.mayor-portal__status {
  padding: 0 clamp(1rem, 2.2vw, 1.55rem) 0.34rem;
  font-weight: 700;
}

.mayor-portal__table-wrap {
  position: relative;
  overflow: auto;
  overflow-x: auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
  margin: 0 clamp(1rem, 2.2vw, 1.55rem);
  border: 1px solid rgba(13, 47, 111, 0.14);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(13, 47, 111, 0.08);
}

.mayor-portal__table {
  width: max-content;
  min-width: 100%;
  table-layout: auto;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 0.76rem;
}

.mayor-portal__table th:nth-child(1),
.mayor-portal__table td:nth-child(1) {
  width: 15%;
}

.mayor-portal__table th:nth-child(2),
.mayor-portal__table td:nth-child(2) {
  width: 34%;
}

.mayor-portal__table th:nth-child(3),
.mayor-portal__table td:nth-child(3) {
  width: 27%;
}

.mayor-portal__table th:nth-child(4),
.mayor-portal__table td:nth-child(4) {
  width: 13%;
}

.mayor-portal__table th:nth-child(5),
.mayor-portal__table td:nth-child(5) {
  width: 11%;
}

.mayor-portal__table th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 0.72rem 0.78rem;
  background: linear-gradient(135deg, #0d2f6f, #1e4fa4);
  color: #ffffff;
  text-align: left;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.mayor-portal__table td {
  padding: 0.64rem 0.78rem;
  border-bottom: 1px solid rgba(13, 47, 111, 0.08);
  color: rgba(15, 23, 42, 0.82);
  vertical-align: middle;
  line-height: 1.35;
  white-space: nowrap;
}

.mayor-portal__cell--ref,
.mayor-portal__cell--price {
  color: #0d2f6f;
  font-weight: 800;
}

.mayor-portal__cell--ref span,
.mayor-portal__cell--brand span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 0.18rem 0.48rem;
  background: rgba(219, 234, 254, 0.66);
  color: #0d2f6f;
  font-weight: 800;
  white-space: nowrap;
}

.mayor-portal__cell--brand span {
  background: rgba(13, 47, 111, 0.08);
}

.mayor-portal__table tr:hover td {
  background: rgba(219, 234, 254, 0.34);
}

.mayor-portal__empty {
  padding: 1.2rem;
  color: rgba(15, 23, 42, 0.66);
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
}

.mayor-portal__footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.68rem clamp(1rem, 2.2vw, 1.55rem) 0.82rem;
  font-weight: 700;
}

@media (max-width: 720px) {
  .mayor-portal {
    padding: 0.44rem;
  }

  .mayor-portal__dialog {
    max-height: 96vh;
    border-radius: 14px;
    grid-template-rows: auto auto auto auto minmax(240px, 1fr) auto;
  }

  .mayor-portal__header {
    align-items: flex-start;
    padding: 0.82rem;
  }

  .mayor-portal__header p {
    font-size: 0.76rem;
  }

  .mayor-portal__close {
    padding: 0.5rem 0.62rem;
    font-size: 0.64rem;
  }

  .mayor-portal__tools,
  .mayor-portal__stats {
    grid-template-columns: 1fr;
    padding-inline: 0.9rem;
  }

  .mayor-portal__searchbox {
    grid-template-columns: 1fr;
  }

  .mayor-portal__stats article {
    min-height: 48px;
  }

  .mayor-portal__status {
    padding-inline: 0.9rem;
  }

  .mayor-portal__table-wrap {
    margin-inline: 0.9rem;
  }

  .mayor-portal__table {
    min-width: 760px;
    font-size: 0.72rem;
  }

  .mayor-portal__footer {
    flex-direction: column;
    padding-inline: 0.9rem;
  }
}

.mayor-module__cta {
  appearance: none;
  border: 1px solid rgba(172, 207, 255, 0.72);
  background: linear-gradient(140deg, #0c2f70, #1a4a9e 68%, #0f3d86);
  color: #ffffff;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-family: var(--font-display);
  font-size: clamp(0.86rem, 1.1vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(4, 21, 52, 0.42);
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
}

.mayor-module__cta:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 16px 34px rgba(4, 21, 52, 0.54);
  filter: brightness(1.08);
}

.mayor-module__cta:focus-visible {
  outline: 2px solid rgba(248, 250, 252, 0.95);
  outline-offset: 2px;
}

.mayor-module__note {
  margin: 0;
  font-size: 0.76rem;
  color: rgba(218, 233, 255, 0.94);
}

@keyframes mayorSweep {
  0% { transform: translateX(-36%) rotate(6deg); opacity: 0.46; }
  100% { transform: translateX(96%) rotate(6deg); opacity: 0.12; }
}

@media (max-width: 900px) {
  .mayor-module__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  #portal-mayoristas-autopartes.mayor-module {
    padding: 2.2rem 0.9rem;
  }
  .mayor-module__shell {
    width: 98vw;
    border-radius: 14px;
    padding: 0.9rem;
  }
  .mayor-module__title {
    font-size: clamp(1.3rem, 8vw, 1.82rem);
  }
  .mayor-module__subtitle {
    font-size: 0.82rem;
  }
  .mayor-module__status {
    width: 100%;
    border-radius: 14px;
    justify-content: flex-start;
    gap: 0.38rem;
    padding: 0.52rem 0.62rem;
  }
  .mayor-module__status-label,
  .mayor-module__status-date {
    line-height: 1.25;
  }
  .mayor-module__field input {
    padding: 0.62rem 0.64rem;
    font-size: 0.8rem;
  }
  .mayor-module__download-btn {
    font-size: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mayor-module__shell::before {
    animation: none !important;
  }
}

/* ═══════════ MÓDULO MAYOR — COMPACT VIEWPORT EDITION ═══════════ */
#portal-mayoristas-autopartes.mayor-module {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.9rem, 2.1vh, 1.6rem) clamp(0.9rem, 2.2vw, 1.8rem);
  background: linear-gradient(180deg, #f7faff 0%, #eef3fb 100%);
}

.mayor-module__shell {
  width: min(1240px, 96vw);
  max-height: calc(100svh - clamp(1.8rem, 4.2vh, 3.2rem));
  padding: clamp(0.8rem, 1.5vw, 1.1rem);
  border-radius: 14px;
  box-shadow:
    0 16px 34px rgba(7, 26, 60, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  display: grid;
  grid-template-rows: auto auto auto auto minmax(0, 1fr);
  gap: clamp(0.34rem, 0.8vh, 0.58rem);
  overflow: hidden;
}

.mayor-module__shell::before {
  display: none;
}

.mayor-module__badge {
  padding: 0.32rem 0.62rem;
  font-size: clamp(0.56rem, 0.66vw, 0.66rem);
  letter-spacing: 0.07em;
}

.mayor-module__title {
  margin-top: 0.24rem;
  font-size: clamp(1.34rem, 2.4vw, 2.22rem);
  line-height: 1;
}

.mayor-module__subtitle {
  margin-top: 0.22rem;
  max-width: 70ch;
  font-size: clamp(0.78rem, 0.86vw, 0.9rem);
  line-height: 1.35;
}

.mayor-module__status {
  margin-top: 0.26rem;
  padding: 0.32rem 0.6rem;
  gap: 0.35rem;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.74),
    0 8px 16px rgba(21, 128, 61, 0.12);
}

.mayor-module__status-label {
  font-size: clamp(0.64rem, 0.74vw, 0.72rem);
}

.mayor-module__status-date {
  font-size: clamp(0.7rem, 0.8vw, 0.78rem);
}

.mayor-module__grid {
  margin-top: 0.4rem;
  min-height: 0;
  grid-template-columns: 1.04fr 1fr;
  gap: 0.62rem;
}

.mayor-module__panel {
  border-radius: 12px;
  padding: 0.76rem 0.8rem;
  box-shadow: 0 10px 24px rgba(9, 32, 71, 0.08);
}

.mayor-module__kicker {
  margin-bottom: 0.24rem;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
}

.mayor-module__panel h3 {
  margin-bottom: 0.3rem;
  font-size: clamp(0.92rem, 1.2vw, 1.16rem);
}

.mayor-module__panel p {
  font-size: clamp(0.74rem, 0.82vw, 0.84rem);
  line-height: 1.32;
}

.mayor-module__highlights {
  margin-top: 0.44rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.36rem;
}

.mayor-module__highlights li {
  font-size: 0.68rem;
  line-height: 1.2;
  text-align: center;
  padding: 0.34rem 0.44rem;
}

.mayor-module__panel--access {
  gap: 0.5rem;
  align-self: stretch;
  position: relative;
}

.mayor-module__vault {
  border-radius: 10px;
  padding: 0.58rem 0.64rem;
}

.mayor-module__vault-label {
  font-size: 0.58rem;
}

.mayor-module__vault strong {
  font-size: clamp(0.88rem, 1vw, 1rem);
}

.mayor-module__vault-footnote {
  font-size: 0.62rem;
  line-height: 1.24;
}

.mayor-module__credentials {
  gap: 0.24rem;
}

.mayor-module__credential {
  padding: 0.2rem 0.48rem;
  font-size: 0.6rem;
}

.mayor-module__login {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.44rem 0.48rem;
}

.mayor-module__login .mayor-module__cta,
.mayor-module__login .mayor-module__auth-msg {
  grid-column: 1 / -1;
}

.mayor-module__field > span {
  font-size: 0.56rem;
}

.mayor-module__field input {
  border-radius: 8px;
  padding: 0.5rem 0.54rem;
  font-size: 0.76rem;
}

.mayor-module__cta {
  border-radius: 10px;
  padding: 0.58rem 0.72rem;
  font-size: 0.72rem;
}

.mayor-module__auth-msg {
  min-height: 0.86rem;
  margin: 0;
  font-size: 0.64rem;
  line-height: 1.2;
}

.mayor-module__download-card {
  border-radius: 10px;
  padding: 0.58rem 0.62rem 0.64rem;
  gap: 0.24rem;
}

.mayor-module__download-title {
  font-size: 0.72rem;
}

.mayor-module__download-copy {
  font-size: 0.68rem;
}

.mayor-module__download-btn {
  border-radius: 8px;
  padding: 0.52rem 0.62rem;
  font-size: 0.66rem;
}

.mayor-module__note {
  font-size: 0.63rem;
  line-height: 1.24;
}

@media (max-width: 1024px) {
  #portal-mayoristas-autopartes.mayor-module {
    min-height: 100svh;
  }

  .mayor-module__shell {
    max-height: none;
    overflow-y: visible;
  }

  .mayor-module__grid {
    grid-template-columns: 1fr;
  }

  .mayor-module__highlights {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mayor-module__credentials {
    grid-template-columns: 1fr 1fr;
    gap: 0.32rem;
  }
}

@media (max-width: 560px) {
  #portal-mayoristas-autopartes.mayor-module {
    padding: 0.7rem 0.56rem;
  }

  .mayor-module__shell {
    width: 100%;
    border-radius: 12px;
    max-height: none;
    padding: 0.72rem 0.68rem;
    gap: 0.4rem;
  }

  .mayor-module__title {
    font-size: clamp(1.06rem, 6.5vw, 1.4rem);
  }

  .mayor-module__subtitle {
    font-size: 0.74rem;
  }

  .mayor-module__status {
    width: 100%;
    border-radius: 10px;
    gap: 0.3rem;
    padding: 0.42rem 0.5rem;
  }

  .mayor-module__status-label,
  .mayor-module__status-date {
    line-height: 1.2;
  }

  .mayor-module__login {
    grid-template-columns: 1fr;
  }

  .mayor-module__highlights {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .mayor-module__credentials {
    grid-template-columns: 1fr;
    gap: 0.22rem;
  }

  .mayor-module__credential {
    width: 100%;
    justify-content: space-between;
    font-size: 0.62rem;
  }

  .mayor-module__field input {
    padding: 0.5rem 0.52rem;
    font-size: 0.76rem;
  }

  .mayor-module__download-btn {
    font-size: 0.68rem;
  }
}

/* ═══════════ MÓDULO MAYOR — WHITE TYPE HIERARCHY ═══════════ */
#portal-mayoristas-autopartes.mayor-module .mayor-module__title,
#portal-mayoristas-autopartes.mayor-module .mayor-module__title span,
#portal-mayoristas-autopartes.mayor-module .mayor-module__subtitle,
#portal-mayoristas-autopartes.mayor-module .mayor-module__kicker,
#portal-mayoristas-autopartes.mayor-module .mayor-module__panel h3,
#portal-mayoristas-autopartes.mayor-module .mayor-module__panel p,
#portal-mayoristas-autopartes.mayor-module .mayor-module__status-label,
#portal-mayoristas-autopartes.mayor-module .mayor-module__status-date,
#portal-mayoristas-autopartes.mayor-module .mayor-module__note,
#portal-mayoristas-autopartes.mayor-module .mayor-module__vault-label,
#portal-mayoristas-autopartes.mayor-module .mayor-module__vault strong,
#portal-mayoristas-autopartes.mayor-module .mayor-module__vault-footnote,
#portal-mayoristas-autopartes.mayor-module .mayor-module__field > span,
#portal-mayoristas-autopartes.mayor-module .mayor-module__auth-msg,
#portal-mayoristas-autopartes.mayor-module .mayor-module__download-title,
#portal-mayoristas-autopartes.mayor-module .mayor-module__download-copy,
#portal-mayoristas-autopartes.mayor-module .mayor-module__credential {
  color: #f8fbff;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__badge {
  color: #eaf3ff;
  border-color: rgba(188, 216, 255, 0.48);
  background: rgba(12, 49, 116, 0.42);
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__status {
  border-color: rgba(101, 215, 153, 0.54);
  background:
    linear-gradient(150deg, rgba(23, 153, 93, 0.3), rgba(15, 97, 64, 0.2)),
    rgba(5, 34, 80, 0.54);
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__status-dot {
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.28);
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__panel {
  background: linear-gradient(160deg, rgba(8, 36, 90, 0.9), rgba(12, 53, 123, 0.86));
  border-color: rgba(174, 205, 255, 0.34);
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__highlights li {
  color: #f4f8ff;
  background: rgba(231, 242, 255, 0.12);
  border-color: rgba(191, 217, 255, 0.34);
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__vault {
  background: linear-gradient(160deg, rgba(5, 25, 62, 0.82), rgba(7, 35, 82, 0.72));
  border-color: rgba(189, 219, 255, 0.62);
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__credential {
  border-color: rgba(190, 218, 255, 0.48);
  background: rgba(232, 244, 255, 0.14);
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__credential b {
  color: #cfe4ff;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__field input {
  border-color: rgba(171, 206, 255, 0.62);
  background: rgba(5, 24, 56, 0.82);
  color: #f8fbff;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__field input::placeholder {
  color: rgba(200, 220, 248, 0.7);
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__field input:focus {
  border-color: rgba(209, 231, 255, 0.95);
  box-shadow: 0 0 0 3px rgba(167, 205, 255, 0.22);
  background: rgba(8, 32, 70, 0.88);
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__auth-msg.is-error {
  color: #fee2e2;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__auth-msg.is-success {
  color: #dcfce7;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__download-card {
  border-color: rgba(177, 216, 255, 0.58);
  background:
    linear-gradient(155deg, rgba(7, 34, 84, 0.96), rgba(14, 62, 141, 0.94)),
    radial-gradient(circle at 85% 0%, rgba(219, 234, 254, 0.24), transparent 52%);
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__download-actions {
  display: grid;
  gap: 10px;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__download-btn {
  border-color: rgba(198, 223, 255, 0.86);
  color: #f8fbff;
  background: linear-gradient(130deg, #1a4a9e, #0f3d86);
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__download-btn--secondary {
  border-color: rgba(191, 219, 254, 0.4);
  color: #dbeafe;
  background: linear-gradient(130deg, rgba(9, 26, 58, 0.95), rgba(17, 46, 97, 0.95));
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__download-btn[aria-disabled="true"] {
  opacity: 0.58;
}

/* Header del modulo con alto contraste sobre fondo claro */
#portal-mayoristas-autopartes.mayor-module .mayor-module__title {
  color: #0b0f19;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__title span {
  color: #0d2f6f;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__subtitle {
  color: #1f2937;
}

/* ═══════════ FOOTER — CORPORATE VAULT ═══════════ */
.footer-vault {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  scroll-margin-top: var(--nav-height);
  background:
    radial-gradient(1200px 500px at 20% -10%, rgba(13,47,111,0.25), transparent 60%),
    radial-gradient(900px 400px at 90% 120%, rgba(30,64,175,0.12), transparent 55%),
    linear-gradient(180deg, #0a0f1e 0%, #0d1730 30%, #0b1a3d 60%, #0a1228 100%);
  isolation: isolate;
  overflow: hidden;
}

.footer-vault::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(100,149,237,0.035) 0 1px, transparent 1px 68px),
    repeating-linear-gradient(0deg, rgba(100,149,237,0.025) 0 1px, transparent 1px 52px);
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
}

.footer-vault__beam {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 5%,
    rgba(100,149,237,0.15) 15%,
    rgba(65,105,225,0.4) 30%,
    #4d7dff 50%,
    rgba(65,105,225,0.4) 70%,
    rgba(100,149,237,0.15) 85%,
    transparent 95%);
  box-shadow: 0 0 12px rgba(77,125,255,0.3), 0 0 40px rgba(77,125,255,0.08);
  z-index: 1;
  animation: footerBeamPulse 4.2s ease-in-out infinite alternate;
}

@keyframes footerBeamPulse {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.7; }
}

.footer-vault__shell {
  position: relative;
  z-index: 1;
  width: min(1200px, 94vw);
  margin: 0 auto;
  padding: clamp(2.4rem, 4vw, 3.6rem) 0 clamp(1.8rem, 3vw, 2.6rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 2.4vw, 2rem);
}

.footer-vault__column {
  display: grid;
  align-content: start;
  justify-items: start;
  text-align: left;
  gap: clamp(0.6rem, 1.2vw, 0.85rem);
}

.footer-vault__brand {
  display: grid;
  justify-items: start;
  gap: 0.3rem;
}

.footer-vault__logo {
  width: 82px;
  height: 82px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 18px rgba(100,149,237,0.2));
}

.footer-vault__tagline {
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(180,210,255,0.85);
  line-height: 1.1;
}

.footer-vault__desc {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1vw, 1rem);
  line-height: 1.38;
  color: rgba(180,200,235,0.72);
  margin: 0;
}

.footer-vault__heading {
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(220,235,255,0.95);
  margin: 0 0 0.15rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(100,149,237,0.15);
  position: relative;
}

.footer-vault__heading::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  transform: none;
  width: 28px;
  height: 1px;
  background: rgba(77,125,255,0.6);
  box-shadow: 0 0 6px rgba(77,125,255,0.3);
}

.footer-vault__list {
  list-style: none;
  display: grid;
  justify-items: start;
  gap: 0.22rem;
  margin: 0;
  padding: 0;
}

.footer-vault__list li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.45rem;
  min-height: 0;
  color: rgba(180,200,235,0.72);
  font-family: var(--font-body);
  font-size: clamp(0.88rem, 0.95vw, 0.96rem);
  line-height: 1.2;
}

.footer-vault__list li svg {
  flex-shrink: 0;
  color: rgba(120,170,255,0.6);
}

.footer-vault__link {
  font-family: var(--font-body);
  font-size: clamp(0.88rem, 0.95vw, 0.96rem);
  color: rgba(180,200,235,0.72);
  text-decoration: none;
  line-height: 1.2;
  transition: color 0.25s ease, padding-left 0.3s ease;
  position: relative;
}

.footer-vault__link:hover {
  color: rgba(220,240,255,1);
  padding-left: 2px;
}

.footer-vault__link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0.5px;
  background: rgba(130,175,255,0.3);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}

.footer-vault__link:hover::before {
  transform: scaleX(1);
}

.footer-vault__list--contact {
  gap: 0.32rem;
}

.footer-vault__social {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.3rem;
}

.footer-vault__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(100,149,237,0.2);
  background: rgba(65,105,225,0.08);
  color: rgba(200,220,255,0.8);
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-vault__social-link:hover {
  background: rgba(65,105,225,0.2);
  border-color: rgba(100,149,237,0.5);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(65,105,225,0.25);
}

.footer-vault__bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(100,149,237,0.08);
  background: rgba(0,0,0,0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.footer-vault__bottom-inner {
  width: min(1200px, 94vw);
  margin: 0 auto;
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-vault__copyright {
  font-family: var(--font-body);
  font-size: clamp(0.84rem, 0.9vw, 0.92rem);
  color: rgba(180,200,235,0.55);
  line-height: 1.2;
  margin: 0;
}

.footer-vault__copyright strong {
  color: rgba(200,220,255,0.75);
  font-weight: 700;
}

.footer-vault__legal {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-vault__legal-link {
  font-family: var(--font-body);
  font-size: clamp(0.82rem, 0.86vw, 0.88rem);
  color: rgba(180,200,235,0.5);
  text-decoration: none;
  transition: color 0.25s ease;
  white-space: nowrap;
}

.footer-vault__legal-link:hover {
  color: rgba(200,220,255,0.85);
}

.footer-vault__legal-sep {
  color: rgba(100,149,237,0.25);
  font-size: 0.5rem;
  user-select: none;
}

@media (max-width: 1024px) {
  .footer-vault__shell {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem 2rem;
  }

  .footer-vault__column--brand {
    grid-column: 1 / -1;
  }

  .footer-vault__desc {
    max-width: 48ch;
  }

  .footer-vault__logo {
    width: 68px;
    height: 68px;
  }

  .footer-vault__bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.6rem;
  }

  .footer-vault__legal {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .footer-vault__shell {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    padding: 1.8rem 0 1.4rem;
  }

  .footer-vault__logo {
    width: 58px;
    height: 58px;
  }

  .footer-vault__social {
    gap: 0.4rem;
  }

  .footer-vault__social-link {
    width: 28px;
    height: 28px;
  }

  .footer-vault__social-link svg {
    width: 14px;
    height: 14px;
  }

  .footer-vault__bottom-inner {
    padding: 0.8rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-vault__beam {
    animation: none !important;
  }

  .footer-vault__link::before,
  .footer-vault__social-link {
    transition: none !important;
  }
}
/* ═══════════ FLOATING WHATSAPP ═══════════ */
/* ═══════════ FLOATING WHATSAPP ═══════════ */
.float-wa {
  position:fixed; bottom:24px; right:24px; z-index:999;
  width:60px; height:60px; background:#25D366; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 4px 24px rgba(37,211,102,0.45);
  transition:transform 0.3s;
}
.float-wa:hover { transform:scale(1.1); }
.float-wa svg { width:30px; height:30px; fill:#fff; }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width:768px) {
  #componentes-motor-importados {
    padding-top: clamp(0.48rem, 1.1vh, 0.76rem);
    padding-bottom: clamp(0.48rem, 1.1vh, 0.76rem);
    gap: clamp(0.38rem, 0.88vh, 0.6rem);
  }
  #componentes-motor-importados .section-title {
    width: min(1400px, 97vw);
    margin-bottom: 0;
  }
  #componentes-motor-importados .section-title h2 {
    font-size: clamp(1.34rem, 5vw, 1.9rem);
  }
  #componentes-motor-importados .section-title .line {
    width: 62px;
    margin-top: 0.62rem;
  }
  #componentes-motor-importados .section-title p {
    max-width: 58ch;
    font-size: clamp(0.7rem, 2.2vw, 0.84rem);
    margin-top: 0.52rem;
  }
  .products-showroom-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    grid-auto-rows: minmax(0, 1fr);
    gap: clamp(0.55rem, 1.2vw, 0.72rem);
  }
  .product-panel--culatas,
  .product-panel--motor,
  .product-panel--bloques {
    grid-column: 1;
    grid-row: auto;
    min-height: 0;
  }
  .product-panel__content {
    padding: clamp(0.74rem, 2.2vw, 0.96rem);
  }
  .product-panel h3 {
    font-size: clamp(1.3rem, 5.8vw, 1.72rem);
  }
  .product-panel p {
    max-width: 36ch;
    font-size: clamp(0.7rem, 2.15vw, 0.82rem);
  }
  .product-panel__indicator {
    font-size: clamp(0.56rem, 1.8vw, 0.64rem);
    padding-top: 0.32rem;
    gap: 0.45rem;
  }
  .product-panel__indicator::before {
    width: 26px;
  }
  .product-panel__cta {
    padding: 0.43rem 0.68rem;
    font-size: clamp(0.54rem, 1.75vw, 0.61rem);
  }
  section:not(#componentes-motor-importados) { padding:4rem 1.2rem; }
}

@media (max-width:480px) {
  #componentes-motor-importados {
    padding-top: 0.4rem;
    padding-bottom: 0.5rem;
    gap: 0.34rem;
  }
  #componentes-motor-importados .section-title h2 {
    font-size: clamp(1.08rem, 6.8vw, 1.34rem);
  }
  #componentes-motor-importados .section-title p {
    margin-top: 0.42rem;
    max-width: 34ch;
    font-size: 0.66rem;
  }
  .product-panel--culatas,
  .product-panel--motor,
  .product-panel--bloques {
    min-height: 0;
  }
  .products-showroom-grid {
    gap: 0.48rem;
  }
  .product-panel__content {
    padding: 0.64rem 0.68rem 0.7rem;
  }
  .product-panel__body {
    gap: 0.2rem;
  }
  .product-panel__index {
    font-size: 0.58rem;
    padding: 3px 8px;
  }
  .product-panel h3 {
    font-size: clamp(1.08rem, 6.7vw, 1.42rem);
  }
  .product-panel p {
    font-size: 0.66rem;
    line-height: 1.32;
  }
  .product-panel__indicator {
    font-size: 0.52rem;
    padding-top: 0.26rem;
    gap: 0.34rem;
    letter-spacing: 0.06em;
  }
  .product-panel__indicator::before {
    width: 20px;
  }
  .product-panel__cta {
    padding: 0.36rem 0.58rem;
    font-size: 0.5rem;
    letter-spacing: 0.07em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-panel__video--epic,
  .product-panel--motor .product-panel__glow,
  .product-panel--motor .product-panel__media::after {
    animation: none !important;
  }
}


/* ═══════════ HERO — CINEMATIC BANNER ═══════════ */
.hero {
  position: relative;
  max-width: none;
  height: 100vh;
  min-height: 720px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #0a0e16;
  scroll-margin-top: 0;
  display: flex;
  align-items: center;
}

/* ── Background image wrapper ── */
.hero-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform, opacity;
}

/* Gradient overlay oscuro cinematic (más denso a izquierda) */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.40) 35%,
    rgba(0, 0, 0, 0.15) 100%
  );
  z-index: 1;
  pointer-events: none;
  will-change: opacity;
}

/* ── Cinematic Block Image — Centered ── */
.hero-block-wrap {
  --hero-copy-max-width: 397px;
  --hero-copy-indent: 26px;
  width: 50%;
  margin-top: 13%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 1.8vw, 1.6rem);
  pointer-events: auto;
  overflow: visible;
  background: transparent;
  isolation: isolate;
}

.hero-block-inner {
  position: relative;
  width: 100%;
  max-width: 760px;
  min-height: clamp(240px, 28vw, 420px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  flex: 0 0 auto;
  background: transparent;
  border: 0;
  box-shadow: none;
}

/* ── Desktop Slides: 3 images in cinematic rotation ── */
.hero-desktop-slides {
  position: relative;
  width: 100%;
  max-width: 620px;
  min-height: clamp(260px, 30vw, 460px);
  margin: 0 auto;
  overflow: visible;
  pointer-events: none;
}

.hero-dslide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.18));
  will-change: transform, opacity;
  backface-visibility: hidden;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.hero-dslide.is-active {
  opacity: 1;
}

.hero-desktop-dots {
  position: relative;
  z-index: 6;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: min(var(--hero-copy-max-width), 100%);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--hero-copy-indent);
  gap: 10px;
  margin-top: -54px;
  margin-bottom: 6%;
  pointer-events: auto;
}

.hero-ddot {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 4px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.35);
  transition: background 0.16s ease, transform 0.16s ease;
  cursor: pointer;
  pointer-events: auto;
}

.hero-ddot::before {
  content: '';
  position: absolute;
  inset: -9px -8px;
}

.hero-ddot.is-active {
  background: #ffffff;
  transform: scaleX(1.25);
}

/* ── Motor hero image: 9% larger ── */
#heroDSlide2 {
  transform: scale(1.09);
  transform-origin: center;
}

/* ── Content panel — Blue Gradient Corporate Panel ── */
.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 3rem clamp(3rem, 5vw, 5rem);
  padding-top: 15%;
  margin-left: auto;
  margin-right: 4rem;
  max-width: 48%;
  color: #ffffff;
}

.hero-mobile-slider {
  display: none;
  width: 100%;
  max-width: 560px;
  align-self: center;
  margin: 0 0 1rem 0;
}

.hero-mobile-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.1);
}

.hero-mobile-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  will-change: transform, opacity;
}

.hero-mobile-slide.is-active {
  opacity: 1;
}

.hero-mobile-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.hero-mobile-dot {
  width: 22px;
  height: 2px;
  background: rgba(255, 255, 255, 0.28);
  transition: background 0.35s ease, transform 0.35s ease;
}

.hero-mobile-dot.is-active {
  background: #ffffff;
  transform: scaleX(1.12);
}

/* ── Badge pill — Azul corporativo con texto blanco ── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 22px;
  margin-bottom: 0.75rem;
  background: #0d2f6f;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

/* ── Title: Poppins Bold — Impactante y corporativo ── */
.hero-title {
  margin: 0 0 1.35rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.62rem, 2.7vw, 2.26rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #ffffff;
  text-wrap: balance;
  text-transform: none;
  text-shadow: 0 2px 12px rgba(0,0,0,0.12);
  max-width: 24ch;
}

.hero-title__break {
  display: none !important;
}

/* ── Left subtitle: technical copy under block image ── */
.hero-subtitle {
  position: relative;
  align-self: center;
  margin: calc(12px - 6vh) auto 0;
  padding: 14px 18px 16px var(--hero-copy-indent);
  font-family: var(--font-body);
  font-size: clamp(0.8175rem, 0.9701vw, 0.9265rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.88);
  max-width: var(--hero-copy-max-width);
  text-align: left;
  text-wrap: balance;
  background: rgba(6, 10, 18, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  --copy-line-scale: 1;
  will-change: transform, opacity, filter, clip-path;
}


.hero-subtitle::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  width: 86%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(77,125,255,0.13), rgba(255,255,255,0.124), rgba(77,125,255,0.13), transparent);
  box-shadow: 0 0 4px rgba(77,125,255,0.044);
  transform: translateX(-50%) scaleX(var(--copy-line-scale));
  transform-origin: center;
}

.hero-subtitle::after {
  content: '';
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 12px;
  width: 1px;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6), 0 0 18px rgba(255, 255, 255, 0.35);
  animation: heroCopyNeonWhite 2.2s ease-in-out infinite alternate;
}

@media (max-width: 1200px), (pointer: coarse) {
  .brands-showroom__item::before,
  .dispatch-colombia__hub-pulse,
  .hero-subtitle::after {
    animation: none !important;
  }

  .brands-showroom__item,
  .dispatch-colombia__map-panel::after,
  .nav-links,
  .nav-toggle {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .dispatch-colombia__map-image,
  .hero-dslide {
    filter: none;
  }
}

@keyframes heroCopyNeonWhite {
  from {
    opacity: 0.45;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.45), 0 0 12px rgba(255, 255, 255, 0.22);
  }
  to {
    opacity: 1;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.75), 0 0 22px rgba(255, 255, 255, 0.42);
  }
}

.hero-copy-reserve {
  width: 100%;
  max-width: 460px;
  min-height: clamp(5.65rem, 6.4vw, 6.9rem);
  margin: 0 0 1.8rem 0;
  flex: 0 0 auto;
  pointer-events: none;
}


.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 1rem;
  transform: translateY(-51%);
  position: relative;
  z-index: 2147483000;
  opacity: 1 !important;
  align-items: stretch;
  will-change: transform, opacity;
}

/* ── Base button ── */
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 28px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
  transition: background 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
  will-change: transform, opacity;
  color: #ffffff;
  width: min(340px, 100%);
  min-width: 240px;
  min-height: 52px;
  line-height: 1.2;
  overflow: hidden;
}

.hero-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ── Button 1: Llamada inmediata ── */
.hero-btn--call {
  background:
    linear-gradient(135deg, rgba(147, 197, 253, 0.72) 0%, rgba(37, 99, 235, 0.82) 58%, rgba(30, 64, 175, 0.78) 100%);
  border: 2px solid rgba(219, 234, 254, 0.78);
  position: relative;
  z-index: 2147483600;
  opacity: 1 !important;
  color: #ffffff !important;
  mix-blend-mode: normal;
  isolation: isolate;
  backdrop-filter: blur(14px) saturate(1.28);
  -webkit-backdrop-filter: blur(14px) saturate(1.28);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.22), 0 0 12px rgba(96, 165, 250, 0.42), 0 10px 24px rgba(30, 64, 175, 0.52), inset 0 1px 0 rgba(255,255,255,0.42), inset 0 -16px 28px rgba(7, 17, 45, 0.18);
  text-shadow: 0 1px 7px rgba(0,0,0,0.50);
  filter: brightness(1.02) saturate(1.16) contrast(1.08);
}

.hero-btn--call:hover {
  background:
    linear-gradient(135deg, rgba(191, 219, 254, 0.84) 0%, rgba(37, 99, 235, 0.88) 52%, rgba(30, 58, 138, 0.86) 100%);
  border-color: rgba(239, 246, 255, 0.92);
  transform: scale(1.03);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.28), 0 0 20px rgba(191, 219, 254, 0.56), 0 12px 34px rgba(30, 64, 175, 0.64), inset 0 1px 0 rgba(255,255,255,0.46);
}

/* ── Button 2: WhatsApp ── */
.hero-btn--wa {
  background:
    linear-gradient(135deg, rgba(110, 231, 183, 0.72) 0%, rgba(22, 163, 74, 0.82) 56%, rgba(22, 101, 52, 0.78) 100%);
  border: 2px solid rgba(209, 250, 229, 0.78);
  position: relative;
  z-index: 2147483600;
  opacity: 1 !important;
  color: #ffffff !important;
  mix-blend-mode: normal;
  isolation: isolate;
  backdrop-filter: blur(14px) saturate(1.28);
  -webkit-backdrop-filter: blur(14px) saturate(1.28);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.20), 0 0 12px rgba(74, 222, 128, 0.42), 0 10px 24px rgba(21, 128, 61, 0.52), inset 0 1px 0 rgba(255,255,255,0.40), inset 0 -16px 28px rgba(4, 34, 18, 0.18);
  text-shadow: 0 1px 7px rgba(0,0,0,0.48);
  filter: brightness(1.02) saturate(1.14) contrast(1.07);
}

.hero-btn--wa:hover {
  background:
    linear-gradient(135deg, rgba(187, 247, 208, 0.84) 0%, rgba(22, 163, 74, 0.88) 52%, rgba(20, 83, 45, 0.86) 100%);
  border-color: rgba(236, 253, 245, 0.92);
  transform: scale(1.03);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.26), 0 0 20px rgba(167, 243, 208, 0.56), 0 12px 32px rgba(20, 83, 45, 0.64), inset 0 1px 0 rgba(255,255,255,0.44);
}

/* ── Responsive 1200px ── */
@media (max-width: 1200px) {
  .hero-block-wrap {
    width: 52%;
    margin-top: 10%;
  }

  .hero-content {
    max-width: 46%;
    margin-right: 2.8rem;
  }
}

/* ── Responsive 1024px ── */
@media (max-width: 1024px) {
  .hero {
    min-height: 100svh;
    align-items: flex-end;
  }

  .hero-bg-overlay {
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 0, 0, 0.42) 50%,
      rgba(0, 0, 0, 0.18) 100%
    );
  }

  .hero-block-wrap {
    display: none;
  }

  .hero-content {
    max-width: min(700px, 92vw);
    margin-left: auto;
    margin-right: auto;
    padding: 6.2rem 1.6rem 2.1rem;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
  }

  /* ── Mobile reorder: text first, then images, then buttons ── */
  .hero-badge {
    order: 1;
  }

  .hero-title {
    order: 2;
  }

  .hero-mobile-slider {
    order: 3;
  }

  .hero-actions {
    order: 4;
  }

  .hero-mobile-slider {
    display: block;
  }

  .hero-title {
    width: 100%;
    max-width: 21ch;
    font-size: clamp(1.55rem, 4.1vw, 2.08rem);
    text-align: center;
    margin: 0 0 1rem 0;
    line-height: 1.1;
    letter-spacing: -0.02em;
  }

  .hero-copy-reserve {
    display: none;
  }

  .hero-actions {
    width: 100%;
    align-items: center;
    margin-top: 0.4rem;
  }

  .hero-btn {
    width: min(420px, 100%);
    min-width: 0;
    justify-content: center;
  }
}

/* ── Responsive 900px ── */
@media (max-width: 900px) {
  .hero-badge {
    font-size: 0.49rem;
    padding: 6px 14px;
  }

  .hero-content {
    max-width: min(620px, 94vw);
    padding: 5.6rem 1.3rem 1.8rem;
  }

  .hero-mobile-slider {
    max-width: 460px;
  }

  .hero-title {
    max-width: 19.5ch;
    font-size: clamp(1.38rem, 4.7vw, 1.82rem);
    line-height: 1.08;
  }

  .hero-btn {
    width: min(360px, 100%);
  }
}

/* ── Responsive 600px (tablet/mobile) ── */
@media (max-width: 600px) {
  .hero {
    min-height: 100svh;
  }

  .hero-bg-overlay {
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.75) 0%,
      rgba(0, 0, 0, 0.35) 50%,
      rgba(0, 0, 0, 0.15) 100%
    );
  }

  .hero-content {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 5rem 1rem 1.3rem;
  }

  .hero-title {
    max-width: 18.5ch;
    font-size: clamp(1.1rem, 6vw, 1.42rem);
    line-height: 1.13;
    margin-bottom: 0.85rem;
  }

  .hero-title__break {
    display: inline !important;
  }

  .hero-badge {
    margin-bottom: 0.52rem;
  }

  .hero-btn {
    width: 100%;
  }
}

/* ═══════════ RESPONSIVE REMASTER (MOBILE / TABLET) ═══════════ */
@media (max-width: 1024px) {
  #navbar {
    padding: 0 0.95rem;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(14px) saturate(135%);
  }

  .nav-container {
    height: 88px;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .nav-logo-img {
    width: 84px;
    height: 84px;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4.5px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 8px;
    border-radius: 14px;
    border: 1px solid rgba(13, 47, 111, 0.14);
    background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
    box-shadow:
      0 10px 24px rgba(15, 23, 42, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.88);
    transition:
      transform 0.28s ease,
      box-shadow 0.28s ease,
      background-color 0.28s ease,
      border-color 0.28s ease;
  }

  .nav-toggle.open {
    background: linear-gradient(180deg, #0d2f6f 0%, #123f8f 100%);
    border-color: rgba(13, 47, 111, 0.42);
    box-shadow: 0 14px 28px rgba(13, 47, 111, 0.2);
  }

  .nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: #111827;
    transition: transform 0.35s, opacity 0.25s, background-color 0.25s ease;
  }

  .nav-toggle.open span {
    background: #ffffff;
  }

  .nav-links {
    position: fixed;
    top: 88px;
    right: -110%;
    width: min(340px, 88vw);
    height: calc(100svh - 88px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0.42rem;
    padding: 1rem 1rem 1.6rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.985) 0%, rgba(244, 247, 251, 0.985) 100%);
    border-left: 1px solid rgba(13, 47, 111, 0.1);
    border-top-left-radius: 24px;
    border-bottom-left-radius: 24px;
    box-shadow:
      -20px 0 46px rgba(15, 23, 42, 0.16),
      -1px 0 0 rgba(13, 47, 111, 0.08);
    backdrop-filter: blur(16px) saturate(130%);
    overflow-y: auto;
    transition: right 0.42s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s ease;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links > li {
    width: 100%;
    margin: 0;
  }

  .nav-links > li:not(:last-child) {
    margin-bottom: 3px;
  }

  .nav-link {
    display: flex;
    align-items: center;
    width: 100%;
    font-size: 0.84rem;
    font-weight: 550;
    letter-spacing: 0.03em;
    padding: 0.96rem 1rem;
    text-transform: none;
    color: #334155;
    border-radius: 16px;
    border: 1px solid rgba(13, 47, 111, 0.06);
    background: rgba(255, 255, 255, 0.72);
    transition:
      box-shadow 0.28s ease,
      background-color 0.28s ease,
      color 0.28s ease,
      border-color 0.28s ease;
  }

  .nav-link:hover {
    color: #0d2f6f;
    background: #ffffff;
    border-color: rgba(13, 47, 111, 0.12);
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.05);
  }

  .nav-link.active {
    color: #0d2f6f;
    font-weight: 600;
    background: linear-gradient(180deg, rgba(13, 47, 111, 0.08) 0%, rgba(13, 47, 111, 0.12) 100%);
    border-color: rgba(13, 47, 111, 0.16);
    box-shadow: 0 7px 16px rgba(13, 47, 111, 0.07);
  }

  .nav-link::after {
    display: none;
  }

  .nav-item.dropdown {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 3px;
  }

  .nav-item.dropdown > .nav-link {
    width: 100%;
    padding-right: 1rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .nav-item.dropdown > .nav-link::after {
    display: none;
  }

  .dropdown-menu {
    position: static;
    transform: none !important;
    box-shadow: none;
    border: none;
    margin: 3px 0 4px 0;
    padding: 0.2rem 0 0.05rem;
    min-width: unset;
    width: 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.94) 0%, rgba(241, 245, 249, 0.98) 100%);
    box-shadow: inset 0 0 0 1px rgba(13, 47, 111, 0.06);
  }

  .dropdown-menu::before {
    display: none;
  }

  .nav-item.dropdown.open .dropdown-menu {
    display: block;
  }

  .dropdown-link {
    display: flex;
    align-items: center;
    font-size: 0.78rem;
    padding: 0.72rem 0.85rem;
    text-transform: none;
    color: #475569;
    letter-spacing: 0.03em;
    border-radius: 13px;
    border: 1px solid transparent;
    background: linear-gradient(180deg, rgba(255,255,255,0.78) 0%, rgba(248,250,252,0.96) 100%);
    margin: 3px 0;
    transition:
      background-color 0.24s ease,
      color 0.24s ease,
      border-color 0.24s ease,
      box-shadow 0.24s ease;
  }

  .dropdown-link:hover {
    color: #0d2f6f;
    background: rgba(13, 47, 111, 0.06);
    border-color: rgba(13, 47, 111, 0.08);
    box-shadow: 0 6px 14px rgba(13, 47, 111, 0.05);
  }

  .hero {
    height: 100svh;
    min-height: 100svh;
    align-items: stretch;
  }

  .hero-bg-overlay {
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.42) 52%,
      rgba(0, 0, 0, 0.18) 100%
    );
  }

  .hero-block-wrap {
    display: flex;
    width: 100%;
    margin-top: 0;
    position: relative;
    z-index: 4;
    gap: 0;
    justify-content: flex-start;
  }

  .hero-block-inner,
  .hero-desktop-dots {
    display: none;
  }

  .hero-desc {
    max-width: min(560px, 100%);
    text-align: center;
    margin: 0.45rem auto 0;
    font-size: clamp(0.72rem, 1.8vw, 0.84rem);
    padding: 10px 16px 12px 20px;
  }

  .hero-content {
    max-width: min(760px, 94vw);
    margin-left: auto;
    margin-right: auto;
    padding: calc(var(--nav-height, 88px) + 0.9rem) 1.25rem 1.8rem;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    gap: 0.45rem;
  }

  .hero-mobile-slider {
    display: block;
    width: 100%;
    max-width: min(560px, 100%);
    margin: 0 auto 0.8rem;
  }

  .hero-mobile-frame {
    background: rgba(0, 0, 0, 0.14);
    border-radius: 14px;
  }

  .hero-mobile-dots {
    margin-top: 0.58rem;
  }

  .hero-mobile-dot {
    width: 26px;
    height: 3px;
  }

  .hero-badge {
    font-size: 0.58rem;
    padding: 7px 16px;
    margin-bottom: 0.35rem;
  }

  .hero-title {
    width: 100%;
    max-width: 30ch;
    margin: 0 0 0.95rem 0;
    font-size: clamp(1.24rem, 3.5vw, 1.78rem);
    line-height: 1.12;
    text-align: center;
    overflow-wrap: normal;
  }

  .hero-copy-reserve {
    display: none;
  }

  .hero-actions {
    width: 100%;
    max-width: 420px;
    align-items: stretch;
    margin-top: 0.15rem;
    transform: none;
  }

  .hero-btn {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    font-size: 0.84rem;
  }

  #componentes-motor-importados {
    height: auto;
    min-height: 0;
    grid-template-rows: none;
    gap: 1rem;
    padding: 2rem clamp(1rem, 2.8vw, 1.4rem) 2.3rem;
  }

  #componentes-motor-importados .section-title {
    width: min(1200px, 100%);
    text-align: center;
    padding-left: 0;
    margin: 0 auto 1.2rem;
  }

  #componentes-motor-importados .section-title .line {
    margin: 0.7rem auto 0;
  }

  #componentes-motor-importados .section-title p {
    margin: 0.62rem auto 0;
    max-width: 60ch;
    font-size: clamp(0.86rem, 1.5vw, 0.98rem);
  }

  .products-showroom-grid {
    width: 100%;
    height: auto;
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto;
    gap: 0.9rem;
  }

  .product-panel--culatas {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .product-panel--motor,
  .product-panel--bloques {
    grid-row: 2;
  }

  .product-panel__content {
    padding: clamp(1rem, 1.9vw, 1.35rem);
    gap: 0.5rem;
  }

  .product-panel h3 {
    font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  }

  .product-panel p {
    font-size: clamp(0.84rem, 1.35vw, 0.95rem);
    line-height: 1.45;
    max-width: 38ch;
  }

  .product-panel__indicator {
    font-size: clamp(0.66rem, 0.95vw, 0.72rem);
  }

  .product-panel__cta {
    padding: 0.55rem 0.9rem;
    font-size: clamp(0.68rem, 0.9vw, 0.74rem);
    letter-spacing: 0.05em;
  }
}

@media (max-width: 768px) {
  .nav-container {
    height: 82px;
  }

  .nav-logo-img {
    width: 78px;
    height: 78px;
  }

  .nav-links {
    top: 82px;
    height: calc(100svh - 82px);
  }

  .hero-content {
    padding: calc(var(--nav-height, 82px) + 0.75rem) 1.05rem 1.35rem;
  }

  .hero-mobile-slider {
    max-width: 440px;
    margin-bottom: 0.65rem;
  }

  .hero-title {
    max-width: 30ch;
    font-size: clamp(1.02rem, 5.1vw, 1.26rem);
    line-height: 1.1;
    margin-bottom: 0.72rem;
  }

  .hero-badge {
    font-size: 0.54rem;
    padding: 6px 13px;
  }

  .hero-btn {
    min-height: 48px;
    font-size: 0.8rem;
  }

  #componentes-motor-importados {
    padding: 1.7rem 0.9rem 2rem;
    gap: 0.85rem;
  }

  .products-showroom-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 0.75rem;
  }

  .product-panel--culatas,
  .product-panel--motor,
  .product-panel--bloques {
    grid-column: 1;
    grid-row: auto;
  }

  .product-panel {
    min-height: 200px;
  }

  .product-panel__content {
    padding: 0.95rem 0.92rem 1rem;
  }

  .product-panel h3 {
    font-size: clamp(1.2rem, 6vw, 1.54rem);
  }

  .product-panel p {
    font-size: clamp(0.8rem, 2.7vw, 0.9rem);
  }

  .product-panel__indicator {
    font-size: clamp(0.62rem, 2.1vw, 0.68rem);
  }

  .product-panel__cta {
    font-size: 0.68rem;
    padding: 0.5rem 0.78rem;
  }

  #componentes-motor-importados .section-title h2 {
    font-size: clamp(1.28rem, 6.2vw, 1.6rem);
  }

  #componentes-motor-importados .section-title p {
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
  }

  section:not(#componentes-motor-importados) {
    padding: 3.3rem 1rem;
  }
}

@media (max-width: 480px) {
  #navbar {
    padding: 0 0.75rem;
  }

  .nav-container {
    height: 76px;
    position: relative;
  }

  .nav-logo-img {
    width: 70px;
    height: 70px;
  }

  .nav-links {
    top: 76px;
    height: calc(100svh - 76px);
    width: min(320px, 90vw);
  }

  .nav-link {
    padding: 0.92rem 0.95rem;
  }

  .dropdown-link {
    padding: 0.68rem 0.78rem;
  }

  #navToggle.nav-toggle {
    display: flex !important;
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%) !important;
    border: 1px solid rgba(13, 47, 111, 0.24) !important;
    border-radius: 13px !important;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12) !important;
    z-index: 1003 !important;
  }

  #navToggle.nav-toggle.open {
    background: linear-gradient(180deg, #0d2f6f 0%, #123f8f 100%) !important;
    border-color: rgba(13, 47, 111, 0.4) !important;
    box-shadow: 0 12px 24px rgba(13, 47, 111, 0.2) !important;
  }

  #navToggle.nav-toggle.open span {
    background: #ffffff !important;
  }

  .nav-toggle span {
    width: 20px;
    height: 2px;
  }

  .hero-content {
    padding: calc(var(--nav-height, 76px) + 0.45rem) 0.9rem 0.75rem;
    gap: 0.32rem;
  }

  .hero-mobile-slider {
    max-width: 252px;
    margin-bottom: 0.36rem;
  }

  .hero-title {
    font-size: clamp(1.02rem, 5.92vw, 1.26rem);
    line-height: 1.12;
    max-width: 100%;
    margin-bottom: 0.5rem;
  }

  .hero-btn {
    min-height: 42px;
    font-size: 0.72rem;
    padding: 10px 12px;
  }

.hero-actions {
    max-width: 100%;
    gap: 8px;
  }

  .hero-badge {
    font-size: 0.46rem;
    padding: 6px 11px;
    letter-spacing: 0.1em;
  }

  #componentes-motor-importados {
    padding: 1.45rem 0.78rem 1.7rem;
  }

  .product-panel {
    min-height: 182px;
  }

  .product-panel__content {
    padding: 0.86rem 0.82rem 0.92rem;
  }

  .product-panel h3 {
    font-size: clamp(1.05rem, 6.4vw, 1.34rem);
  }

  .product-panel p {
    font-size: 0.76rem;
    line-height: 1.35;
  }

  .product-panel__indicator {
    font-size: 0.58rem;
    letter-spacing: 0.06em;
  }

  .product-panel__cta {
    font-size: 0.64rem;
    padding: 0.44rem 0.68rem;
  }

  #componentes-motor-importados .section-title h2 {
    font-size: clamp(1.12rem, 7vw, 1.34rem);
  }

  #componentes-motor-importados .section-title p {
    font-size: 0.76rem;
    max-width: 34ch;
  }

  .float-wa {
    width: 56px;
    height: 56px;
    right: 14px;
    bottom: 14px;
  }

  .float-wa svg {
    width: 26px;
    height: 26px;
  }
}

/* ═══════════ MÓDULO MAYOR — REDISEÑO CORPORATIVO FINAL ═══════════ */
#portal-mayoristas-autopartes.mayor-module {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vh, 2.2rem) clamp(0.9rem, 2.6vw, 2rem);
  background:
    radial-gradient(900px 460px at 6% 0%, rgba(49, 103, 205, 0.28), transparent 62%),
    radial-gradient(740px 380px at 92% 98%, rgba(16, 185, 129, 0.18), transparent 60%),
    linear-gradient(145deg, #07142f 0%, #0d2f6f 48%, #071327 100%);
  isolation: isolate;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__shell {
  width: min(1240px, 96vw);
  max-height: calc(100svh - clamp(2rem, 6vh, 4rem));
  display: grid;
  grid-template-rows: auto auto auto auto minmax(0, 1fr);
  gap: clamp(0.42rem, 0.95vh, 0.72rem);
  overflow: hidden;
  padding: clamp(0.95rem, 1.6vw, 1.35rem);
  border: 1px solid rgba(196, 219, 255, 0.28);
  border-radius: 18px;
  background:
    linear-gradient(155deg, rgba(248, 251, 255, 0.12), rgba(13, 47, 111, 0.22)),
    rgba(4, 15, 36, 0.82);
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px) saturate(1.12);
  -webkit-backdrop-filter: blur(16px) saturate(1.12);
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__shell::before {
  display: none;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__badge {
  width: fit-content;
  padding: 0.34rem 0.72rem;
  border-color: rgba(191, 219, 254, 0.5);
  background: rgba(219, 234, 254, 0.12);
  color: #eff6ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__title {
  margin-top: 0.16rem;
  color: #ffffff;
  font-size: clamp(1.45rem, 3vw, 2.65rem);
  letter-spacing: 0;
  text-transform: none;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__title span {
  color: #bfe0ff;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__subtitle {
  max-width: 78ch;
  margin-top: 0.12rem;
  color: rgba(232, 242, 255, 0.88);
  font-size: clamp(0.8rem, 0.96vw, 0.94rem);
  line-height: 1.42;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__status {
  width: fit-content;
  margin-top: 0.18rem;
  border-color: rgba(52, 211, 153, 0.52);
  background:
    linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(6, 78, 59, 0.12)),
    rgba(5, 22, 49, 0.56);
  box-shadow: 0 10px 28px rgba(16, 185, 129, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__status-label,
#portal-mayoristas-autopartes.mayor-module .mayor-module__status-date {
  color: #e9fff5;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__grid {
  min-height: 0;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(0.78rem, 1.5vw, 1.05rem);
  margin-top: 0.38rem;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__panel {
  border: 1px solid rgba(184, 212, 255, 0.28);
  border-radius: 16px;
  background:
    radial-gradient(520px 220px at 15% 0%, rgba(130, 183, 255, 0.18), transparent 62%),
    linear-gradient(155deg, rgba(10, 38, 88, 0.92), rgba(5, 22, 51, 0.86));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.13);
  padding: clamp(0.9rem, 1.65vw, 1.22rem);
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__panel--intel {
  display: grid;
  align-content: start;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__kicker {
  color: #9ed0ff;
  font-size: 0.66rem;
  margin-bottom: 0.32rem;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__panel h3 {
  max-width: 18ch;
  color: #ffffff;
  font-size: clamp(1.12rem, 2.1vw, 1.72rem);
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: none;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__panel p {
  max-width: 68ch;
  color: rgba(232, 242, 255, 0.86);
  font-size: clamp(0.76rem, 0.9vw, 0.88rem);
  line-height: 1.45;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__commerce-stats {
  margin-top: clamp(0.68rem, 1.4vh, 0.92rem);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: min(100%, 560px);
  padding: 0.74rem 0.86rem;
  border: 1px solid rgba(191, 219, 254, 0.28);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.13), rgba(13, 47, 111, 0.18));
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__commerce-stats strong {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__commerce-stats span {
  color: rgba(232, 242, 255, 0.82);
  font-family: var(--font-body);
  font-size: clamp(0.72rem, 0.86vw, 0.84rem);
  line-height: 1.3;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__highlights {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.48rem;
  margin-top: 0.76rem;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__highlights li {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 0.46rem 0.5rem;
  border-color: rgba(191, 219, 254, 0.32);
  background: rgba(239, 246, 255, 0.11);
  color: #f8fbff;
  font-size: clamp(0.66rem, 0.8vw, 0.76rem);
  line-height: 1.18;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__panel--access {
  gap: 0.58rem;
  background:
    radial-gradient(420px 180px at 92% 0%, rgba(52, 211, 153, 0.18), transparent 58%),
    linear-gradient(158deg, rgba(5, 27, 64, 0.96), rgba(8, 43, 98, 0.92));
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__vault,
#portal-mayoristas-autopartes.mayor-module .mayor-module__download-card {
  border-color: rgba(191, 219, 254, 0.38);
  background: rgba(2, 14, 34, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__vault-label,
#portal-mayoristas-autopartes.mayor-module .mayor-module__field > span,
#portal-mayoristas-autopartes.mayor-module .mayor-module__download-title {
  color: #bfe0ff;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__vault strong,
#portal-mayoristas-autopartes.mayor-module .mayor-module__download-copy,
#portal-mayoristas-autopartes.mayor-module .mayor-module__note,
#portal-mayoristas-autopartes.mayor-module .mayor-module__credential {
  color: #f8fbff;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__credential {
  border-color: rgba(191, 219, 254, 0.34);
  background: rgba(239, 246, 255, 0.12);
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__credential b {
  color: #cfe4ff;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__field input {
  border-color: rgba(191, 219, 254, 0.38);
  background: rgba(248, 251, 255, 0.96);
  color: #071a3f;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__field input::placeholder {
  color: rgba(67, 91, 130, 0.72);
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__field input:focus {
  border-color: rgba(191, 219, 254, 0.92);
  box-shadow: 0 0 0 3px rgba(191, 219, 254, 0.22);
  background: #ffffff;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__cta,
#portal-mayoristas-autopartes.mayor-module .mayor-module__download-btn {
  border-color: rgba(191, 219, 254, 0.72);
  background: linear-gradient(135deg, #1e63c8, #0d3b86 62%, #092862);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(4, 17, 43, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__download-card {
  background:
    linear-gradient(155deg, rgba(7, 34, 84, 0.9), rgba(10, 66, 135, 0.82)),
    radial-gradient(circle at 86% 0%, rgba(52, 211, 153, 0.2), transparent 55%);
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__download-btn {
  margin-top: 0.2rem;
}

@media (max-width: 1024px) {
  #portal-mayoristas-autopartes.mayor-module .mayor-module__shell {
    max-height: none;
    overflow: visible;
  }

  #portal-mayoristas-autopartes.mayor-module .mayor-module__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  #portal-mayoristas-autopartes.mayor-module {
    padding: 0.78rem 0.56rem;
  }

  #portal-mayoristas-autopartes.mayor-module .mayor-module__shell {
    width: 100%;
    padding: 0.76rem 0.68rem;
    border-radius: 14px;
  }

  #portal-mayoristas-autopartes.mayor-module .mayor-module__status {
    width: 100%;
  }

  #portal-mayoristas-autopartes.mayor-module .mayor-module__commerce-stats {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }

  #portal-mayoristas-autopartes.mayor-module .mayor-module__highlights,
  #portal-mayoristas-autopartes.mayor-module .mayor-module__login,
  #portal-mayoristas-autopartes.mayor-module .mayor-module__credentials {
    grid-template-columns: 1fr;
  }
}

/* ═══════════ HERO MOBILE / TABLET — CONSOLIDATED RESPONSIVE COMPOSITION ═══════════ */
@media (max-width: 1024px) {
  section#inicio-isp-autopartes.hero {
    height: 100svh;
    min-height: 100svh;
    padding: 0;
    align-items: stretch;
    overflow: hidden;
  }

  .hero-bg-overlay {
    background: linear-gradient(
      180deg,
      rgba(5, 9, 17, 0.22) 0%,
      rgba(5, 9, 17, 0.42) 48%,
      rgba(5, 9, 17, 0.76) 100%
    );
  }

  .hero-block-wrap,
  .hero-copy-reserve,
  .hero-desc {
    display: none;
  }

  .hero-content {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-width: none;
    margin: 0;
    padding: calc(var(--nav-height, 88px) + 6px) 14px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #ffffff;
    text-align: center;
  }

  .hero-mobile-slider {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    min-height: 0;
  }

  .hero-mobile-frame {
    width: 100%;
    max-width: 520px;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    overflow: hidden;
    margin: 0 auto;
    background: transparent;
  }

  .hero-mobile-dots {
    min-height: 20px;
    margin-top: 2px;
    display: flex;
    gap: 2px;
    align-items: center;
  }

  .hero-mobile-dot {
    position: relative;
    width: 28px;
    height: 20px;
    padding: 0;
    border: 0;
    background: transparent;
    appearance: none;
    cursor: pointer;
    touch-action: manipulation;
    transform: none;
  }

  .hero-mobile-dot::after {
    content: '';
    position: absolute;
    top: 9px;
    left: 4px;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.34);
    transition: width 0.22s ease, background 0.22s ease;
  }

  .hero-mobile-dot.is-active {
    background: transparent;
    transform: none;
  }

  .hero-mobile-dot.is-active::after {
    width: 22px;
    background: #ffffff;
  }

  .hero-mobile-dot:focus-visible {
    outline: 1px solid rgba(255, 255, 255, 0.9);
    outline-offset: 1px;
  }

  .hero-title {
    width: 100%;
    max-width: 28ch;
    margin: 0 auto;
    color: #ffffff;
    font-size: clamp(0.88rem, 4.2vw, 1.02rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    text-align: center;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
    text-wrap: balance;
  }

  .hero-title__break {
    display: inline !important;
  }

  .hero-actions {
    width: 100%;
    max-width: 420px;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    transform: none;
    opacity: 1;
  }

  .hero-btn {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 8px 10px;
    gap: 7px;
    border-width: 1px;
    border-radius: 7px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    line-height: 1.1;
    white-space: nowrap;
    box-shadow: none;
    filter: none;
    text-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hero-btn svg {
    width: 15px;
    height: 15px;
  }

  .hero-btn--call,
  .hero-btn--call:hover {
    border-color: rgba(219, 234, 254, 0.62);
    background: rgba(13, 47, 111, 0.88);
    box-shadow: none;
    transform: none;
  }

  .hero-btn--wa,
  .hero-btn--wa:hover {
    border-color: rgba(209, 250, 229, 0.58);
    background: rgba(20, 120, 68, 0.88);
    box-shadow: none;
    transform: none;
  }
}

/* Cellphone: editorial alignment, compact actions and image-led composition. */
@media (max-width: 599px) {
  .hero-content {
    padding: calc(var(--nav-height, 76px) + 2px) 14px 6px;
    gap: 4px;
  }

  .hero-mobile-dots {
    justify-content: center;
  }

  .hero-badge {
    font-size: 0.5rem;
    padding: 4px 12px;
    letter-spacing: 0.08em;
    margin-bottom: 0;
  }

  .hero-title {
    max-width: 28ch;
    font-size: clamp(0.82rem, 3.8vw, 0.94rem);
    line-height: 1.06;
    margin-bottom: 0.5rem;
  }

  .hero-actions {
    max-width: 100%;
    gap: 6px;
  }

  .hero-btn {
    min-height: 38px;
    padding: 7px 8px;
    font-size: clamp(0.56rem, 2.65vw, 0.64rem);
  }
}

/* Tablet: wider gallery stage and centered institutional finish. */
@media (min-width: 600px) and (max-width: 1024px) {
  .hero-content {
    padding: calc(var(--nav-height, 82px) + 10px) clamp(28px, 6vw, 64px) 24px;
    gap: 12px;
    text-align: center;
  }

  .hero-mobile-dots {
    justify-content: center;
  }

  .hero-title {
    max-width: 38ch;
    margin-inline: auto;
    font-size: clamp(1.14rem, 2.6vw, 1.42rem);
    line-height: 1.12;
  }

  .hero-actions {
    max-width: 390px;
    margin-inline: auto;
  }

  .hero-btn {
    min-height: 42px;
    font-size: 0.68rem;
  }
}

@media (max-width: 599px) and (max-height: 680px) {
  .hero-content {
    padding-top: calc(var(--nav-height, 76px) + 4px);
    padding-bottom: 8px;
    gap: 5px;
  }

  .hero-mobile-dots {
    min-height: 16px;
  }

  .hero-mobile-dot {
    height: 16px;
  }

  .hero-mobile-dot::after {
    top: 7px;
  }

  .hero-title {
    max-width: 28ch;
    font-size: clamp(0.78rem, 3.6vw, 0.9rem);
    line-height: 1.05;
  }

  .hero-btn {
    min-height: 35px;
    font-size: 0.56rem;
  }
}

/* ═══════════ MÓDULO MAYOR — WHITE COMPACT FINAL ═══════════ */
#portal-mayoristas-autopartes.mayor-module {
  min-height: 100svh;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.56rem, 1.7vh, 1rem) clamp(0.56rem, 1.6vw, 1.2rem);
  background: #ffffff;
  overflow: hidden;
}

#portal-mayoristas-autopartes.mayor-module,
#portal-mayoristas-autopartes.mayor-module * {
  box-sizing: border-box;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__shell {
  width: min(1180px, 96vw);
  max-height: calc(100svh - clamp(1.1rem, 3.4vh, 2rem));
  display: grid;
  grid-template-rows: auto auto auto auto minmax(0, 1fr);
  gap: clamp(0.3rem, 0.78vh, 0.56rem);
  padding: clamp(0.78rem, 1.45vw, 1.08rem);
  overflow: hidden;
  border: 1px solid rgba(13, 47, 111, 0.12);
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(13, 47, 111, 0.055) 0 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(180deg, rgba(13, 47, 111, 0.045) 0 1px, transparent 1px) 0 0 / 44px 44px,
    #ffffff;
  box-shadow: 0 12px 32px rgba(13, 47, 111, 0.08);
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__badge,
#portal-mayoristas-autopartes.mayor-module .mayor-module__title,
#portal-mayoristas-autopartes.mayor-module .mayor-module__subtitle,
#portal-mayoristas-autopartes.mayor-module .mayor-module__status,
#portal-mayoristas-autopartes.mayor-module .mayor-module__grid {
  position: relative;
  z-index: 1;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__badge {
  width: fit-content;
  padding: 0.26rem 0.62rem;
  border: 1px solid rgba(13, 47, 111, 0.16);
  border-radius: 999px;
  background: #ffffff;
  color: #0d2f6f;
  font-size: clamp(0.54rem, 0.68vw, 0.66rem);
  letter-spacing: 0.08em;
  box-shadow: 0 4px 12px rgba(13, 47, 111, 0.05);
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__title {
  margin: 0;
  color: #08152d;
  font-size: clamp(1.42rem, 2.7vw, 2.4rem);
  line-height: 1.02;
  letter-spacing: 0;
  text-transform: none;
  text-shadow: none;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__title span {
  color: #0d2f6f;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__subtitle {
  max-width: 68ch;
  margin: 0;
  color: #334155;
  font-size: clamp(0.82rem, 0.96vw, 0.98rem);
  line-height: 1.42;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__status {
  width: fit-content;
  margin: 0;
  padding: 0.3rem 0.64rem;
  gap: 0.42rem;
  border: 1px solid rgba(13, 47, 111, 0.13);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 6px 14px rgba(13, 47, 111, 0.05);
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__status-dot {
  width: 8px;
  height: 8px;
  background: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.14);
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__status-label,
#portal-mayoristas-autopartes.mayor-module .mayor-module__status-date {
  color: #0f5132;
  font-size: clamp(0.68rem, 0.8vw, 0.8rem);
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__grid {
  min-height: 0;
  margin-top: 0.24rem;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  gap: clamp(0.62rem, 1.15vw, 0.9rem);
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__panel {
  min-height: 0;
  border: 1px solid rgba(13, 47, 111, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 20px rgba(13, 47, 111, 0.055);
  padding: clamp(0.72rem, 1.12vw, 0.98rem);
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__panel--intel {
  display: grid;
  align-content: start;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__panel--access {
  display: flex;
  flex-direction: column;
  gap: 0.52rem;
  background: #ffffff;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__kicker,
#portal-mayoristas-autopartes.mayor-module .mayor-module__vault-label,
#portal-mayoristas-autopartes.mayor-module .mayor-module__field > span,
#portal-mayoristas-autopartes.mayor-module .mayor-module__download-title {
  color: #0d2f6f;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__kicker {
  margin: 0 0 0.22rem;
  font-size: 0.64rem;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__panel h3 {
  max-width: 22ch;
  margin: 0 0 0.28rem;
  color: #08152d;
  font-size: clamp(1.12rem, 1.8vw, 1.52rem);
  line-height: 1.08;
  text-transform: none;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__panel p {
  color: #475569;
  font-size: clamp(0.76rem, 0.92vw, 0.9rem);
  line-height: 1.42;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__commerce-stats {
  margin-top: 0.56rem;
  display: flex;
  align-items: center;
  gap: 0.68rem;
  padding: 0.56rem 0.72rem;
  border: 1px solid rgba(13, 47, 111, 0.12);
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(13, 47, 111, 0.045), rgba(13, 47, 111, 0.015));
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__commerce-stats strong {
  color: #0d2f6f;
  font-size: clamp(1.34rem, 2.5vw, 1.95rem);
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__commerce-stats span {
  color: #475569;
  font-size: clamp(0.68rem, 0.82vw, 0.78rem);
  line-height: 1.28;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__highlights {
  margin-top: 0.56rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.42rem;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__highlights li {
  min-height: 38px;
  padding: 0.36rem 0.46rem;
  border: 1px solid rgba(13, 47, 111, 0.12);
  border-radius: 10px;
  background: #ffffff;
  color: #0d2f6f;
  font-size: clamp(0.62rem, 0.76vw, 0.72rem);
  line-height: 1.18;
  text-align: center;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__vault,
#portal-mayoristas-autopartes.mayor-module .mayor-module__download-card {
  border: 1px solid rgba(13, 47, 111, 0.12);
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(13, 47, 111, 0.035), rgba(255, 255, 255, 0.96));
  box-shadow: none;
  padding: 0.62rem 0.68rem;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__vault strong,
#portal-mayoristas-autopartes.mayor-module .mayor-module__download-copy,
#portal-mayoristas-autopartes.mayor-module .mayor-module__note,
#portal-mayoristas-autopartes.mayor-module .mayor-module__credential {
  color: #334155;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__vault strong {
  color: #08152d;
  font-size: clamp(0.92rem, 1.06vw, 1.04rem);
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__vault-footnote {
  color: #475569;
  font-size: 0.68rem;
  line-height: 1.35;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__credential {
  border-color: rgba(13, 47, 111, 0.12);
  background: #ffffff;
  font-size: 0.64rem;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__credential b {
  color: #0d2f6f;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__login {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem 0.5rem;
  padding: 0.38rem;
  border: 1px solid rgba(13, 47, 111, 0.1);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(13, 47, 111, 0.03), rgba(13, 47, 111, 0.015));
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__login .mayor-module__cta,
#portal-mayoristas-autopartes.mayor-module .mayor-module__login .mayor-module__auth-msg {
  grid-column: 1 / -1;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__field {
  display: grid;
  gap: 0.18rem;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__field > span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__field input {
  min-height: 42px;
  border: 1px solid rgba(13, 47, 111, 0.24);
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  color: #08152d;
  padding: 0.62rem 0.72rem;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow:
    0 8px 18px rgba(13, 47, 111, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__cta,
#portal-mayoristas-autopartes.mayor-module .mayor-module__download-btn {
  border: 1px solid rgba(13, 47, 111, 0.18);
  border-radius: 8px;
  background: #0d2f6f;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(13, 47, 111, 0.14);
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__cta {
  padding: 0.58rem 0.72rem;
  font-size: 0.7rem;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__download-title {
  font-size: 0.74rem;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__download-copy,
#portal-mayoristas-autopartes.mayor-module .mayor-module__note {
  font-size: 0.68rem;
  line-height: 1.32;
}

#portal-mayoristas-autopartes.mayor-module .mayor-module__download-btn {
  padding: 0.54rem 0.62rem;
  font-size: 0.68rem;
}

@media (max-width: 900px) {
  #portal-mayoristas-autopartes.mayor-module {
    height: auto;
    min-height: 100svh;
    overflow: visible;
  }

  #portal-mayoristas-autopartes.mayor-module .mayor-module__shell {
    max-height: none;
    overflow: visible;
  }

  #portal-mayoristas-autopartes.mayor-module .mayor-module__grid {
    grid-template-columns: 1fr;
    gap: 0.38rem;
  }

  #portal-mayoristas-autopartes.mayor-module .mayor-module__commerce-stats {
    display: none;
  }
}

@media (max-width: 620px) {
  #portal-mayoristas-autopartes.mayor-module {
    padding: 0.4rem;
    width: 100%;
    max-width: 100vw;
  }

  #portal-mayoristas-autopartes.mayor-module .mayor-module__shell {
    width: calc(100vw - 1.4rem);
    max-width: calc(100vw - 1.4rem);
    max-height: none;
    padding: 0.66rem;
    gap: 0.28rem;
    margin-inline: auto;
  }

  #portal-mayoristas-autopartes.mayor-module .mayor-module__subtitle {
    display: block;
    font-size: clamp(0.74rem, 3.15vw, 0.82rem);
    line-height: 1.35;
    color: #475569;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  #portal-mayoristas-autopartes.mayor-module .mayor-module__title {
    font-size: clamp(1.16rem, 5.4vw, 1.38rem);
    line-height: 1.05;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  #portal-mayoristas-autopartes.mayor-module .mayor-module__status {
    width: 100%;
    border-radius: 8px;
    padding: 0.22rem 0.36rem;
  }

  #portal-mayoristas-autopartes.mayor-module .mayor-module__status-label,
  #portal-mayoristas-autopartes.mayor-module .mayor-module__status-date {
    font-size: 0.6rem;
  }

  #portal-mayoristas-autopartes.mayor-module .mayor-module__grid,
  #portal-mayoristas-autopartes.mayor-module .mayor-module__panel,
  #portal-mayoristas-autopartes.mayor-module .mayor-module__vault,
  #portal-mayoristas-autopartes.mayor-module .mayor-module__download-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  #portal-mayoristas-autopartes.mayor-module .mayor-module__panel {
    padding: 0.56rem;
  }

  #portal-mayoristas-autopartes.mayor-module .mayor-module__panel h3 {
    max-width: 100%;
    font-size: clamp(0.96rem, 4.8vw, 1.12rem);
    overflow-wrap: anywhere;
  }

  #portal-mayoristas-autopartes.mayor-module .mayor-module__panel p {
    display: -webkit-box;
    font-size: clamp(0.7rem, 3.2vw, 0.8rem);
    line-height: 1.34;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  #portal-mayoristas-autopartes.mayor-module .mayor-module__vault-footnote,
  #portal-mayoristas-autopartes.mayor-module .mayor-module__note {
    display: -webkit-box;
    font-size: 0.64rem;
    line-height: 1.3;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  #portal-mayoristas-autopartes.mayor-module .mayor-module__highlights {
    grid-template-columns: 1fr;
    gap: 0.22rem;
  }

  #portal-mayoristas-autopartes.mayor-module .mayor-module__login,
  #portal-mayoristas-autopartes.mayor-module .mayor-module__credentials {
    grid-template-columns: 1fr;
  }

  #portal-mayoristas-autopartes.mayor-module .mayor-module__cta,
  #portal-mayoristas-autopartes.mayor-module .mayor-module__download-btn {
    width: 100%;
    max-width: 100%;
    font-size: 0.62rem;
    letter-spacing: 0.05em;
    white-space: normal;
    min-width: 0;
  }
}
