/* ==========================================================================
   PIONEER RESKIN v4 — Morelia, sitewide.
   Colors and fonts now come from the admin (Diseño > Personalizar):
   font Inter, dark header/footer, red ad bar and accent. This file only
   covers details the settings can't reach.
   ========================================================================== */

/* ---------- nav: uppercase category menu, as in the mockup ---------- */
.nav-desktop-list a{
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:600;
  font-size:.86rem;
}
/* Hover/active underline. v3: was a 2px border-bottom, which made every
   link 2px taller on hover; inside the categories dropdown that pushed the
   items below down, the cursor landed on the next item and the menu
   flickered. text-decoration draws the line without changing any size. */
.nav-desktop-list a:hover,
.nav-desktop-list a.active{
  text-decoration:underline;
  text-decoration-color:var(--accent-color);
  text-decoration-thickness:2px;
  text-underline-offset:6px;
}

/* Menu item pointing to the vehicle finder (link: /#buscador) in red */
.nav-desktop-list a[href*="#buscador"],
.nav-list a[href*="#buscador"]{
  color:var(--accent-color) !important;
}

/* ---------- footer: red hairline on top, quieter links ---------- */
footer{
  border-top:1px solid var(--accent-color);
}
.footer-menu-item{
  font-size:.9rem;
  opacity:.8;
}
.footer-menu-item:hover{ opacity:1; }

/* ---------- v4: "Iniciar compra" (cart page + cart side panel) ----------
   Morelia renders it as a generic .btn-primary, which took the admin's
   gray button color. Same red as "Agregar al carrito" on the product page,
   since it's the last click before payment. The cart panel opens on every
   page, so this lives in the sitewide file. */
#go-to-checkout,
.js-ajax-cart-submit .btn-primary,
input[name="go_to_checkout"]{
  min-height:56px;border:0;border-radius:6px;
  background:#C80F2E !important;color:#fff !important;
  font-size:.95rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;
  box-shadow:0 10px 30px -12px rgba(200,15,46,.8);
  transition:filter .15s ease;cursor:pointer;
}
#go-to-checkout:hover,
.js-ajax-cart-submit .btn-primary:hover,
input[name="go_to_checkout"]:hover{filter:brightness(1.12);}
#go-to-checkout:focus-visible,
input[name="go_to_checkout"]:focus-visible{outline:2px solid #fff;outline-offset:3px;}
