/* ============================================================================
   Rematón · AJUSTES DE LA PORTADA Y PRECIOS (25-sep-2026)
   ----------------------------------------------------------------------------
   Hoja propia, cargada DESPUÉS de todas (también de tema-claro.css). No se edita
   el diseño de Valeria. Contraste AA en todo; nada se distingue solo por color.
   1) Centavos chicos en los precios de la web: $390<span class="centavos">.00</span> pesos
   2) Carrusel "★ Destacados de hoy" arriba + botón "Ver más súper ofertas →"
   3) "Marcas que conoces…" más compacta SOLO en celular (≤ 768 px)
   ========================================================================== */
:root {
  --ah-centavos: .6em;          /* ~60 % del tamaño del precio */
  --ah-boton-alto: 56px;        /* botón grande: dedo cómodo (≥ 48 px) */
}

/* ---------------- 1. Centavos: más chicos, arriba, mismo color ---------------- */
.centavos {
  font-size: var(--ah-centavos);
  vertical-align: .62em;        /* alineados arriba, estilo precio de tienda */
  line-height: 0;               /* no empujan el renglón */
  font-weight: inherit;
  color: inherit;
  letter-spacing: 0;
  margin-left: .02em;
}
/* En renglones de texto normal (no precio grande) basta un poco más chico, sin subir tanto */
/* (los precios grandes —tarjetas, carrusel, fichas— se quedan en el 60 %) */
p .centavos, td .centavos, .pista .centavos, small .centavos, .mio-dato .centavos { vertical-align: .38em; font-size: .72em; }

/* ---------------- 2. Destacados arriba + botón ---------------- */
.destacados-arriba { background: #fff; padding: 30px 0 34px; }
.destacados-arriba .carrusel { margin-top: 0; }
.destacados-mas { display: flex; justify-content: center; margin-top: 22px; }
html body .btn.btn-mas-ofertas {
  min-height: var(--ah-boton-alto); min-width: min(100%, 340px); padding: 14px 34px;
  font-size: 18px; font-weight: 900; letter-spacing: .02em; border-radius: 14px;
  box-shadow: 0 10px 24px -10px rgba(190, 21, 40, .55);
  text-decoration: none;
}
html body .btn.btn-mas-ofertas span { transition: transform .2s ease; display: inline-block; }
html body .btn.btn-mas-ofertas:hover span, html body .btn.btn-mas-ofertas:focus-visible span { transform: translateX(4px); }
html body .btn.btn-mas-ofertas:focus-visible { outline: 3px solid #17191d; outline-offset: 3px; }
@media (max-width: 768px) {
  .destacados-arriba { padding: 22px 0 26px; }
  html body .btn.btn-mas-ofertas { width: 100%; font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { html body .btn.btn-mas-ofertas span { transition: none; } }

/* ---------------- 3. Marcas compactas en celular ---------------- */
/* Meta: ~la mitad de alto que antes a 390 px (869 px). Mismo contenido, mismo diseño en compu. */
@media (max-width: 768px) {
  html body .brand-story { padding: 16px 0 16px; }
  html body .brand-story .eyebrow { font-size: 10.5px; margin-bottom: 2px; letter-spacing: .06em; }
  html body .brand-story h2 { font-size: 21px; line-height: 1.1; margin: 2px 0 6px; }
  html body .brand-story p { font-size: 13.5px; line-height: 1.38; }
  html body .brand-story .brand-note { margin-top: 4px; font-size: 12px; line-height: 1.33; color: #4a5a70; }
  html body .brand-stage { margin-top: 10px; border-radius: 14px; box-shadow: 0 8px 22px rgba(20, 50, 85, .13); }
  html body .brand-photo { height: 160px; object-fit: cover; object-position: 41% 45%; }
  /* Logos en rejilla compacta de 7 × 2: todos completos, ninguno cortado a la mitad */
  html body .brand-story .brand-showcase {
    display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px 6px; padding: 9px 10px 10px; justify-items: center; align-items: center;
  }
  html body .brand-story .brand-showcase img, html body .brand-story .brand-showcase img[alt] {
    width: 100%; max-width: 60px; height: 17px; object-fit: contain;
  }
}

/* ---------------- 4. 🏢 "Acceso Empresas" en el menú (26-sep-2026) ---------------- */
/* Enlace DISCRETO junto a "Lo mío": separado por una rayita y un poco más tenue que las 3 formas de
   comprar (pero con contraste AA: #3d4a5c sobre blanco ≈ 9:1). El "aquí estás" sigue siendo la barra
   de redisenio-v2-contraste.css, no el color. */
html body .desktop-nav a.nav-empresas {
  font-weight: 700; color: #3d4a5c; padding-left: clamp(10px, 1.2vw, 18px);
  border-left: 1px solid #c9ced6;
}
html body .desktop-nav a.nav-empresas:hover, html body .desktop-nav a.nav-empresas:focus-visible { color: #b61727; }
/* Tableta horizontal / compu chica: sin la rayita ni el ícono para que todo quepa en un renglón */
@media (max-width: 1100px) {
  html body .desktop-nav a.nav-empresas { border-left: 0; padding-left: 0; }
  html body .desktop-nav a.nav-empresas span { display: none; }
}
html body .mobile-nav a.nav-empresas { font-weight: 700; color: #3d4a5c; }
/* Tableta vertical (781–900 px): con "Acceso Empresas" el menú de escritorio ya no cabe en un renglón y
   empujaba "Registrarme" fuera de la pantalla. Ahí se usa el mismo menú ☰ del celular (mismos enlaces,
   mismo estilo que redisenio-v2.css le da a ≤ 780 px). */
@media (min-width: 781px) and (max-width: 900px) {
  html body .desktop-nav { display: none; }
  html body .menu-toggle { display: block; }
  html body .header-register { margin-left: auto; }
  html body .mobile-nav:not([hidden]) { display: flex; flex-direction: column; gap: 0; padding: 5px 20px 13px; border-top: 1px solid #eee; }
  html body .mobile-nav a { display: block; text-decoration: none; font-size: 15px; font-weight: 800; padding: 11px 5px; border-bottom: 1px solid #f0eeee; color: #242424; }
  html body .mobile-nav a.nav-empresas { font-weight: 700; color: #3d4a5c; }
}
