﻿/* G&C Autoparts ? redesign pruebas (inspirado LowMafia / Tokyo / BioCar)
   Carga DESPU?S de site.css. Conserva variables de tema admin. */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --void: #070708;
  --panel: #111114;
  --fog: #f4f4f5;
  --muted: rgba(244, 244, 245, 0.62);
  --cyan: #d4002a;
  --magenta: #ff2d55;
  --orange: #ff6a00;
  --line: rgba(255, 255, 255, 0.12);
  --glow-cyan: none;
  --glow-magenta: none;
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --surface: #f3f4f6;
  --ink: #111114;
  --ink-muted: rgba(17, 17, 20, 0.62);
  --card: #ffffff;
  --nav-h: 4.5rem;
  --max: 1180px;
  --radius: 0;
  /* Botones: no dependen del --cyan del tema (puede ser cian claro ilegible) */
  --shop-btn: #111114;
  --shop-btn-hover: #d4002a;
  --shop-btn-text: #ffffff;
}

/* ?? Nav ?? */
.site-nav {
  background: rgba(7, 7, 8, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.nav-brand-gc { color: #fff; text-shadow: none; }
.nav-brand-rest { color: var(--cyan); text-shadow: none; }

.nav-links a,
.nav-text-btn,
.nav-account-link {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-text-btn:hover { color: var(--cyan); }

.nav-cart-btn {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: #fff;
  width: 2.6rem;
  height: 2.6rem;
}

.nav-cart-count {
  background: var(--cyan);
  color: #fff;
  border: 0;
}

/* ?? Buttons ?? */
.btn {
  border-radius: 0;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
  padding: 0.9rem 1.35rem;
}

.btn-cyan {
  background: var(--shop-btn) !important;
  color: var(--shop-btn-text) !important;
  border-color: var(--shop-btn) !important;
  box-shadow: none;
}

.btn-cyan:hover {
  background: var(--shop-btn-hover) !important;
  border-color: var(--shop-btn-hover) !important;
  color: #fff !important;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  background: transparent;
}

.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.shop-surface .btn-ghost {
  border-color: rgba(17, 17, 20, 0.25);
  color: var(--ink);
}

.shop-surface .btn-cyan,
.page-store .btn-cyan {
  background: #111114 !important;
  color: #fff !important;
  border-color: #111114 !important;
}

.shop-surface .btn-cyan:hover,
.page-store .btn-cyan:hover {
  background: #d4002a !important;
  border-color: #d4002a !important;
  color: #fff !important;
}

/* Barra ?Mostrando?? centrada y legible */
.store-filter-status {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.75rem;
  max-width: var(--max);
  margin: 0 auto 1.35rem !important;
  padding: 1rem 1.15rem !important;
  border: 1px solid rgba(17, 17, 20, 0.1) !important;
  background: #fff !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
}

.store-filter-status-text {
  flex: 0 1 auto !important;
  width: 100%;
  text-align: center !important;
  color: #111114 !important;
  font-size: 0.95rem !important;
  font-weight: 600;
}

.store-filter-clear {
  flex: 0 0 auto !important;
  border: 1px solid #111114 !important;
  background: #111114 !important;
  color: #fff !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.72rem !important;
  padding: 0.7rem 1.15rem !important;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.store-filter-clear:hover {
  background: #d4002a !important;
  border-color: #d4002a !important;
  color: #fff !important;
  transform: translateY(-1px);
}

/* ?? Hero full-bleed ?? */
.hero {
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 0;
  position: relative;
  overflow: hidden;
  background: transparent;
}

/* Sin fondo de URL / no transl?cido: respaldo oscuro */
.hero:not(.hero-translucent) {
  background: #050506;
}

/* Pantalla completa (desktop + m?vil) */
.hero.hero-viewport,
#builder-page .hero.hero-viewport,
.hero.hero-translucent.hero-viewport,
#builder-page [data-section="hero"].hero-viewport,
#builder-page .gc-block-hero.hero-viewport {
  min-height: 100svh !important;
  min-height: 100dvh !important;
  height: 100svh !important;
  height: 100dvh !important;
  max-height: none !important;
  box-sizing: border-box;
}

/* Hero transl?cido: se ve el fondo del tema (#gc-page-bg / URL admin) */
.hero.hero-translucent,
#builder-page .hero.hero-translucent {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none;
}

.hero.hero-translucent::before,
#builder-page .hero.hero-translucent::before {
  display: none !important;
  content: none !important;
}

.hero.hero-translucent .hero-media {
  display: none !important;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.4) 48%, rgba(0, 0, 0, 0.22) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.55) 100%),
    radial-gradient(ellipse 70% 60% at 70% 40%, rgba(212, 0, 42, 0.18), transparent 55%),
    #0b0b0d;
  background-size: cover;
  background-position: center;
}

.hero-media.has-photo {
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.38) 45%, rgba(0, 0, 0, 0.2) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.55) 100%),
    var(--hero-photo);
  background-size: cover;
  background-position: center;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: calc(var(--nav-h) + 1.5rem) 0 2.5rem;
  text-align: left;
  display: grid;
  gap: 0.85rem;
  justify-items: start;
  align-content: center;
}

.hero.hero-align-left .hero-inner,
#builder-page .hero .hero-inner {
  justify-items: start;
  text-align: left;
}

#builder-page .hero:not(.hero-align-left) .hero-inner {
  justify-items: center;
  text-align: center;
  place-items: center;
}

.hero-logo {
  width: min(120px, 28vw);
  height: auto;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.2rem, 10vw, 6.5rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
}

.hero-title-main { color: #fff; }
.hero-title-sub {
  display: block;
  color: var(--cyan);
  font-size: 0.72em;
}

.hero-lead {
  margin: 0;
  max-width: 34rem;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.hero-kicker {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}

/* ?? Light shop surfaces ?? */
.shop-surface {
  background: var(--surface) !important;
  color: var(--ink);
}

.shop-surface .section-head .eyebrow,
.shop-surface .eyebrow {
  color: var(--cyan);
}

.shop-surface .section-head h2,
.shop-surface h2,
.shop-surface h3 {
  color: var(--ink);
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 400;
}

.shop-surface .section-head p,
.shop-surface p {
  color: var(--ink-muted);
}

.section {
  /* site.css limita a --max; aqu? las franjas van de borde a borde */
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 4.5rem 1.25rem;
  box-sizing: border-box;
}

.section-head {
  max-width: 40rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0.25rem 0;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

/* ?? Category strip ?? */
.shop-cats {
  padding-top: 3rem;
  padding-bottom: 1rem;
}

.shop-cats-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.shop-cat-chip {
  display: grid;
  place-items: center;
  min-height: 5.5rem;
  padding: 1rem 0.75rem;
  background: var(--card);
  border: 1px solid rgba(17, 17, 20, 0.08);
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.shop-cat-chip:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
  color: var(--cyan);
}

.shop-cat-chip span {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  text-transform: none;
}

/* ?? Trust band ?? */
.shop-trust {
  width: 100%;
  background: var(--void);
  color: #fff;
  padding: 2rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.shop-trust-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  text-align: center;
}

.shop-trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

.shop-trust-item span {
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 720px) {
  .shop-trust-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ?? Products / carousel ?? */
.stock-badge.is-out { color: #b00020; }
.stock-badge.is-low { color: var(--orange); }

.carousel-viewport {
  max-width: var(--max);
  margin: 0 auto;
}

.carousel-controls {
  max-width: var(--max);
  margin: 1rem auto 0;
}

.shop-surface .carousel-controls .btn.btn-ghost,
[data-gc-featured] .carousel-controls .btn.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0;
  border: 1px solid rgba(17, 17, 20, 0.35) !important;
  color: #111114 !important;
  background: #fff !important;
  box-shadow: 0 2px 8px rgba(17, 17, 20, 0.08);
}

.shop-surface .carousel-controls .btn.btn-ghost:hover,
[data-gc-featured] .carousel-controls .btn.btn-ghost:hover {
  border-color: #d4002a !important;
  color: #d4002a !important;
  background: #fff !important;
  box-shadow: 0 2px 10px rgba(212, 0, 42, 0.15);
}

.shop-surface .carousel-dots button,
[data-gc-featured] .carousel-dots button {
  background: rgba(17, 17, 20, 0.22);
}

.carousel-controls[hidden] {
  display: none !important;
}

.carousel-dots button[aria-selected='true'],
.carousel-dots .is-active,
.carousel-dots button[aria-current='true'] {
  background: #d4002a;
}

/* ?? About (banda oscura cinematic) ?? */
.shop-about,
#nosotros.shop-about {
  position: relative;
  background:
    linear-gradient(120deg, rgba(5, 5, 8, 0.94) 0%, rgba(5, 5, 8, 0.78) 48%, rgba(5, 5, 8, 0.88) 100%),
    radial-gradient(ellipse 50% 60% at 85% 20%, rgba(212, 0, 42, 0.18), transparent 55%),
    #08080a !important;
  color: #fff;
  overflow: hidden;
}

.shop-about::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 11px,
      rgba(255, 255, 255, 0.015) 11px,
      rgba(255, 255, 255, 0.015) 12px
    );
  pointer-events: none;
}

.about-grid {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.about-head {
  margin-bottom: 1rem !important;
  text-align: left !important;
  max-width: none;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.shop-about .about-copy p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  max-width: 34rem;
}

.shop-about .section-head h2,
.shop-about h2 {
  color: #fff !important;
}

.shop-about .eyebrow {
  color: var(--cyan) !important;
}

.pillars {
  display: grid;
  gap: 0.75rem;
}

.pillar {
  position: relative;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.15rem 1.25rem 1.15rem 1.35rem;
  border-radius: 0;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pillar::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--cyan);
  transform: scaleY(0.35);
  transform-origin: top;
  transition: transform 0.35s ease;
}

.pillar:hover {
  transform: translateX(4px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

.pillar:hover::before {
  transform: scaleY(1);
}

.pillar-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 0.2rem;
}

.pillar strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.pillar span:not(.pillar-num) {
  color: var(--ink-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

/* ?? Contact + footer: una sola franja negra full-bleed ?? */
.shop-connect,
#contacto,
#contacto.section,
#contacto.shop-connect,
[data-section='contact'].section,
#builder-page [data-section='contact'] {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 4.75rem 1.25rem 3.25rem !important;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(212, 0, 42, 0.14), transparent 55%),
    #050506 !important;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.shop-connect-inner,
#contacto > .section-head,
#contacto > .social-row,
#builder-page [data-section='contact'] > .section-head,
#builder-page [data-section='contact'] > .social-row {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

#contacto .section-head,
#builder-page [data-section='contact'] .section-head {
  text-align: center;
}

#contacto .section-head h2,
.shop-connect .section-head h2,
[data-section='contact'] .section-head h2 {
  color: #fff !important;
}

#contacto .section-head p,
.shop-connect .section-head p,
[data-section='contact'] .section-head p {
  color: rgba(255, 255, 255, 0.62) !important;
}

.shop-connect .eyebrow,
#contacto .eyebrow,
[data-section='contact'] .eyebrow {
  color: var(--cyan) !important;
}

.shop-connect-grid,
#contacto .social-row,
[data-section='contact'] .social-row {
  max-width: var(--max);
  margin: 0 auto;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  justify-content: stretch;
  flex-wrap: nowrap;
}

.shop-connect-card,
.social-link.shop-connect-card,
#contacto .social-link,
[data-section='contact'] .social-link {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.35rem;
  text-align: left;
  padding: 1.2rem 1.25rem;
  min-height: 5.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  color: #fff !important;
  text-decoration: none;
  border-radius: 0 !important;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition:
    transform 0.3s cubic-bezier(.2,.8,.2,1),
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

#contacto .social-link > i,
[data-section='contact'] .social-link > i {
  font-size: 1.35rem;
  color: var(--cyan);
  margin-bottom: 0.15rem;
}

.shop-connect-card > i {
  font-size: 1.45rem;
  color: var(--cyan);
}

.shop-connect-card strong,
#contacto .social-link,
[data-section='contact'] .social-link {
  font-family: var(--font-body);
  text-transform: none;
}

.shop-connect-card strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.shop-connect-card span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

#contacto .social-link span[data-email-label],
[data-section='contact'] .social-link span[data-email-label] {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  font-weight: 500;
  word-break: break-all;
}

.shop-connect-card:hover,
.social-link.shop-connect-card:hover,
#contacto .social-link:hover,
[data-section='contact'] .social-link:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 0, 42, 0.55) !important;
  background: rgba(212, 0, 42, 0.12) !important;
  color: #fff !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

@media (max-width: 900px) {
  .shop-connect-grid,
  #contacto .social-row,
  [data-section='contact'] .social-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .shop-connect-grid,
  #contacto .social-row,
  [data-section='contact'] .social-row {
    grid-template-columns: 1fr;
  }
}

/* About tambi?n en builder */
#builder-page [data-section='about'],
.shop-about,
#nosotros.shop-about {
  position: relative;
  background:
    linear-gradient(120deg, rgba(5, 5, 8, 0.94) 0%, rgba(5, 5, 8, 0.78) 48%, rgba(5, 5, 8, 0.88) 100%),
    radial-gradient(ellipse 50% 60% at 85% 20%, rgba(212, 0, 42, 0.18), transparent 55%),
    #08080a !important;
  color: #fff;
  overflow: hidden;
}

#builder-page [data-section='about'] .section-head h2,
#builder-page [data-section='about'] h2 {
  color: #fff !important;
}

#builder-page [data-section='about'] .section-head p,
#builder-page [data-section='about'] p {
  color: rgba(255, 255, 255, 0.72) !important;
}

#builder-page [data-section='about'] .eyebrow {
  color: var(--cyan) !important;
}

#builder-page [data-section='featured'] {
  background: var(--surface) !important;
  color: var(--ink);
}

#builder-page [data-section='featured'] .eyebrow,
#builder-page [data-section='featured'] .section-head .eyebrow,
.shop-surface .eyebrow {
  color: #c40028 !important;
}

#builder-page [data-section='featured'] .section-head h2::after {
  background: #c40028;
}

#builder-page [data-section='featured'] .section-head p {
  color: rgba(11, 11, 13, 0.72) !important;
}

.site-footer,
#builder-page .site-footer,
#builder-page footer[data-section='footer'] {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  background: #050506 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  padding: 2.25rem 1.25rem 2.5rem;
  display: block;
}

/* Contin?a la misma franja que contacto (sin ?doble negro?) */
.site-footer--home {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  margin-top: 0;
}

.site-footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 0.85rem;
  justify-items: center;
}

.site-footer img,
.site-footer [data-logo],
.footer-logo {
  width: var(--size-logo-footer, 64px) !important;
  height: var(--size-logo-footer, 64px) !important;
  margin: 0 auto 0.35rem !important;
  border-radius: 50% !important;
  display: block;
  object-fit: cover;
  background: transparent !important;
  box-shadow:
    0 0 0 2px rgba(212, 0, 42, 0.35),
    0 10px 28px rgba(0, 0, 0, 0.45);
  mix-blend-mode: normal;
}

.site-footer p {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  justify-content: center;
  margin-top: 0.25rem;
}

.site-footer nav a,
.site-footer .footer-copy-mail {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 0.25s ease;
}

.site-footer nav a:hover,
.site-footer .footer-copy-mail:hover {
  color: var(--cyan);
}

.footer-legal {
  justify-content: center !important;
  width: 100%;
}

.footer-legal-meta {
  text-align: center !important;
  width: 100%;
}

.footer-legal a { color: rgba(255, 255, 255, 0.55); }
.footer-legal a:hover { color: var(--cyan); }

/* ?? Product tiles: tama?o compacto (como antes en desktop) ?? */
.product-tile,
.shop-surface .product-tile,
.page-store .product-tile,
.carousel .product-tile {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  background: var(--card);
  border: 1px solid rgba(17, 17, 20, 0.08);
  border-image: none;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.product-tile::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-tile:hover,
.product-tile.is-clickable:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  border-color: rgba(212, 0, 42, 0.28);
}

.product-tile:hover::after {
  opacity: 1;
}

.product-tile img,
.shop-surface .product-tile img,
.page-store .product-tile img,
.carousel .product-tile img {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #0a0a0f !important;
  flex: 0 0 auto !important;
  filter: none;
  transition: transform 0.45s cubic-bezier(.2,.8,.2,1);
}

.product-tile:hover img {
  transform: scale(1.03);
}

.product-tile .meta {
  padding: 0.5rem 0.65rem 0.7rem !important;
  background: #fff;
  flex: 1 1 auto;
  min-width: 0;
}

.product-tile .cat {
  color: var(--cyan) !important;
  font-family: var(--font-body) !important;
  font-size: 0.62rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

.product-tile h3 {
  color: #111114 !important;
  font-family: var(--font-body) !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  line-height: 1.25 !important;
  margin: 0.25rem 0 0.3rem !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-tile .price {
  color: #111114 !important;
  font-weight: 800 !important;
  font-size: 0.95rem !important;
}

/* Escritorio: foto peque?a a la izquierda + datos a la derecha (tama?o anterior) */
@media (min-width: 761px) {
  .product-tile,
  .shop-surface .product-tile,
  .page-store .product-tile,
  .carousel .product-tile {
    flex-direction: row !important;
    align-items: stretch !important;
  }

  .product-tile img,
  .shop-surface .product-tile img,
  .page-store .product-tile img,
  .carousel .product-tile img {
    width: clamp(108px, 10.5vw, 148px) !important;
    height: clamp(108px, 10.5vw, 148px) !important;
    max-width: 38% !important;
    aspect-ratio: 1 / 1 !important;
  }

  .product-tile .meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.55rem 0.75rem !important;
  }
}

/* Contraste fuerte en superficies claras */
.shop-surface,
.page-store .store-main {
  color: #111114;
}

.shop-surface .section-head h2,
.shop-surface h2,
.shop-surface h3,
.page-store .store-main .section-head h2,
.page-store .store-main h2 {
  color: #0b0b0d !important;
  text-shadow: none;
}

.shop-surface .section-head p,
.shop-surface p,
.page-store .store-main .section-head p,
.page-store .store-search-bar .eyebrow {
  color: rgba(11, 11, 13, 0.72) !important;
}

.shop-surface .eyebrow,
.page-store .store-main .eyebrow {
  color: var(--cyan) !important;
}

.shop-surface .btn-ghost {
  border-color: rgba(17, 17, 20, 0.28);
  color: #111114;
}

.shop-surface .btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(212, 0, 42, 0.06);
}

/* ?? Efectos modernos (sin exceso) ?? */
body.shop-v2::before {
  content: '';
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 400;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.hero-media {
  transform: scale(1.04);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}

.hero-inner {
  position: relative;
}

.hero-inner::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 3.5rem;
  height: 3px;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(212, 0, 42, 0.55);
}

.shop-cat-chip {
  position: relative;
  overflow: hidden;
}

.shop-cat-chip::before {
  content: '';
  position: absolute;
  inset: auto -40% -40% auto;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(212, 0, 42, 0.12), transparent 70%);
  transition: transform 0.4s ease;
}

.shop-cat-chip:hover::before {
  transform: translate(-12%, -12%) scale(1.2);
}

.shop-trust-item strong {
  position: relative;
}

.btn-cyan {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(212, 0, 42, 0.35);
}

.section-head h2 {
  position: relative;
}

.shop-surface .section-head h2::after {
  content: '';
  display: block;
  width: 3rem;
  height: 3px;
  margin: 0.65rem auto 0;
  background: var(--cyan);
}

.about-copy .section-head {
  text-align: left !important;
}

.about-copy .section-head h2::after,
.shop-about .about-head h2::after {
  margin-left: 0;
  margin-right: auto;
  content: '';
  display: block;
  width: 3rem;
  height: 3px;
  margin-top: 0.65rem;
  background: var(--cyan);
}

.store-tax-nav {
  backdrop-filter: blur(10px);
  background: rgba(5, 5, 6, 0.92);
}

.nav-cart-btn {
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.nav-cart-btn:hover {
  border-color: var(--cyan);
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .hero-media,
  .product-tile,
  .product-tile img,
  .btn-cyan {
    animation: none !important;
    transition: none !important;
  }
}

/* ?? Store page ?? */
.page-store .store-main,
#store-flow.store-main,
.page-store #store-flow {
  background: #f3f4f6 !important;
  background-image: none !important;
  color: #111114 !important;
  min-height: 60vh;
  position: relative;
  z-index: 1;
  /* Debe quedar BAJO nav fijo + barra de categor?as (antes el !important lo tapaba) */
  padding-top: calc(var(--nav-h) + var(--tax-nav-h, 2.85rem) + 1.15rem) !important;
  padding-bottom: 2.5rem !important;
}

.page-store .store-main .section-head,
.page-store #store-flow .section-head,
#store-flow .section-head,
.page-store .shop-surface > .section-head {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 1.15rem !important;
  /* Caja compacta centrada (no franja full-width que se lee como “pegada a la izquierda”) */
  width: fit-content !important;
  max-width: min(100% - 1.5rem, 28rem) !important;
  min-width: min(100% - 1.5rem, 18rem);
  text-align: center !important;
  padding: 1.15rem 2.25rem 1.25rem;
  background: #fff;
  border: 1px solid rgba(17, 17, 20, 0.08);
  border-top: 3px solid #c40028;
  border-left: 1px solid rgba(17, 17, 20, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

.page-store .store-main .section-head .eyebrow,
.page-store #store-flow .section-head .eyebrow,
#store-flow .section-head .eyebrow {
  text-align: center !important;
  width: 100%;
}

.page-store .store-main .section-head h2,
.page-store .store-main h2,
.page-store #store-flow .section-head h2,
#store-flow .section-head h2 {
  color: #0b0b0d !important;
  -webkit-text-fill-color: #0b0b0d;
  font-size: clamp(1.85rem, 4vw, 2.55rem) !important;
  margin: 0.1rem auto !important;
  letter-spacing: 0.04em;
  text-align: center !important;
  width: auto !important;
  display: block !important;
}

.page-store .store-main .section-head h2::after,
.page-store #store-flow .section-head h2::after,
#store-flow .section-head h2::after {
  display: block !important;
  margin: 0.45rem auto 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 2.5rem;
  height: 2px;
}

.page-store .store-main .section-head p,
.page-store #store-flow .section-head p,
#store-flow .section-head p {
  color: rgba(11, 11, 13, 0.72) !important;
  margin: 0.35rem auto 0 !important;
  font-size: 0.92rem;
  max-width: 22rem;
  text-align: center !important;
  width: 100%;
}

@media (min-width: 761px) {
  .page-store .store-main .section-head,
  .page-store #store-flow .section-head,
  #store-flow .section-head {
    text-align: center !important;
    align-items: center !important;
  }

  .page-store .store-main .section-head h2,
  #store-flow .section-head h2 {
    text-align: center !important;
  }
}

.shop-surface .eyebrow,
.page-store .store-main .eyebrow,
#store-flow .eyebrow,
.product-tile .cat,
.shop-surface .product-tile .cat,
.page-store .product-tile .cat {
  /* Si el tema admin pone un cian muy claro, el texto se pierde en blanco */
  color: #c40028 !important;
}

.shop-surface .section-head h2::after,
.page-store .store-main .section-head h2::after,
#store-flow .section-head h2::after {
  background: #c40028;
}

.page-store .store-search-bar,
#store-flow .store-search-bar {
  max-width: var(--max);
  margin: 0 auto 1.25rem;
  padding: 0;
  display: flex !important;
  flex-direction: column;
  align-items: center !important;
  text-align: center !important;
  gap: 0.35rem;
}

.page-store .store-search-bar .eyebrow,
.page-store .store-search-bar label,
#store-flow .store-search-bar .eyebrow,
#store-flow .store-search-bar label {
  text-align: center !important;
  width: 100%;
  margin-bottom: 0.15rem;
}

.page-store .store-search-bar input[type='search'],
#store-flow .store-search-bar input[type='search'] {
  width: min(100%, 28rem);
  margin: 0 auto;
}

.page-store .catalog-grid,
#store-flow .catalog-grid {
  max-width: var(--max);
  margin: 0 auto;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
  gap: 0.85rem !important;
}

.store-search-bar input[type='search'] {
  width: 100%;
  background: #fff;
  border: 1px solid rgba(17, 17, 20, 0.15);
  color: var(--ink);
  border-radius: 0;
  padding: 0.85rem 1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.store-search-bar input[type='search']:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(212, 0, 42, 0.12);
}

.store-tax-nav {
  background: #050506;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.store-tax-arrow {
  background: #050506;
  color: #fff;
}

.store-tax-top > .store-tax-link,
.store-tax-top > .store-tax-row > .store-tax-link {
  color: #fff;
}

/* —— Checkout / cuenta / legales: texto legible —— */
.page-checkout,
.page-legal,
body:has(.checkout-main),
body:has(.legal-page),
body:has(#wp-detail) {
  background: #f3f4f6 !important;
  background-image: none !important;
}

.page-checkout #gc-page-bg,
.page-legal #gc-page-bg {
  display: none !important;
}

/* Cuenta: conserva imagen de fondo del tema */
.page-account {
  background: transparent !important;
}

.page-account #gc-page-bg {
  display: block !important;
}

.checkout-main,
.page-checkout .section,
.legal-page,
#account-gate,
#account-orders,
body:has(#wp-detail) > .section {
  color: #111114 !important;
}

.checkout-main .section-head,
body:has(#account-gate) .section-head,
body:has(#wp-detail) .section-head {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.checkout-main .section-head .eyebrow,
body:has(#account-gate) .section-head .eyebrow,
body:has(#wp-detail) .section-head .eyebrow {
  color: #c40028 !important;
}

.checkout-main .section-head h1,
.checkout-main .section-head h2,
body:has(#account-gate) .section-head h1,
body:has(#wp-detail) .section-head h1,
#wp-title {
  color: #0b0b0d !important;
  -webkit-text-fill-color: #0b0b0d;
}

.checkout-main .section-head p,
body:has(#account-gate) .section-head p,
body:has(#wp-detail) .section-head p,
#wp-lead {
  color: rgba(17, 17, 20, 0.72) !important;
}

.checkout-form,
.checkout-summary,
.account-order,
#wp-detail.checkout-form,
#account-gate.checkout-form {
  background: #fff !important;
  border: 1px solid rgba(17, 17, 20, 0.16) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  border-radius: 0;
  color: #111114 !important;
  padding: 1.15rem 1.25rem;
}

.checkout-form h2,
.checkout-summary h2,
#account-gate h2,
.account-order h3 {
  color: #0b0b0d !important;
  -webkit-text-fill-color: #0b0b0d;
}

.checkout-form label,
.gyc-auth-form label,
#account-gate label {
  color: #111114 !important;
  font-weight: 600;
  font-size: 0.84rem;
}

.checkout-form input,
.checkout-form textarea,
.gyc-auth-form input,
#account-gate input {
  border-radius: 0;
  border: 1px solid rgba(17, 17, 20, 0.22) !important;
  background: #fff !important;
  color: #111114 !important;
}

.checkout-form input::placeholder,
.checkout-form textarea::placeholder {
  color: rgba(17, 17, 20, 0.45) !important;
}

.checkout-main .hint-inline,
.checkout-form .hint-inline,
.page-checkout .hint-inline,
#account-gate .hint-inline,
.status-msg {
  color: rgba(17, 17, 20, 0.72) !important;
}

.checkout-main .hint-inline a,
.checkout-form .hint-inline a,
.checkout-summary a,
.legal-page a,
#account-gate a,
.page-checkout a:not(.btn):not(.nav-brand) {
  color: #c40028 !important;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.checkout-line {
  color: #111114 !important;
  border-bottom-color: rgba(17, 17, 20, 0.1) !important;
}

.checkout-total {
  color: #c40028 !important;
}

/* Botón secundario visible en fondos claros (checkout / webpay return) */
.btn-outline-dark,
.page-checkout .btn-ghost,
.page-wp-return .btn-ghost,
body:has(#wp-detail) .btn-ghost {
  border: 1px solid #111114 !important;
  background: #fff !important;
  color: #111114 !important;
  box-shadow: none !important;
}

.btn-outline-dark:hover,
.page-checkout .btn-ghost:hover,
.page-wp-return .btn-ghost:hover,
body:has(#wp-detail) .btn-ghost:hover {
  background: #111114 !important;
  color: #fff !important;
  border-color: #111114 !important;
}

.wp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 1.25rem auto 0;
  max-width: 44rem;
}

.wp-order-card {
  max-width: 44rem;
  margin: 0 auto;
}

.wp-order-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
  margin-bottom: 1.15rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(17, 17, 20, 0.1);
}

.wp-order-meta p {
  margin: 0;
  display: grid;
  gap: 0.25rem;
}

.wp-order-meta span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(17, 17, 20, 0.55) !important;
  font-weight: 700;
}

.wp-order-meta strong,
.wp-status {
  color: #0b0b0d !important;
  font-size: 0.95rem;
}

.wp-order-items h2,
.wp-ship h2 {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c40028 !important;
}

.wp-items-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.wp-items-table th {
  text-align: left;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(17, 17, 20, 0.55);
  padding: 0 0.35rem 0.55rem;
  border-bottom: 2px solid #111114;
}

.wp-items-table td {
  padding: 0.7rem 0.35rem;
  border-bottom: 1px solid rgba(17, 17, 20, 0.1);
  color: #111114 !important;
  vertical-align: top;
}

.wp-item-qty,
.wp-item-price,
.wp-item-sub {
  white-space: nowrap;
}

.wp-item-qty { text-align: center; }
.wp-item-price,
.wp-item-sub { text-align: right; font-weight: 600; }

.wp-order-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(17, 17, 20, 0.12);
  font-size: 1rem;
}

.wp-order-total span {
  color: rgba(17, 17, 20, 0.62) !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
}

.wp-order-total strong {
  color: #c40028 !important;
  font-size: 1.35rem;
}

.wp-ship {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(17, 17, 20, 0.1);
}

.wp-ship p {
  margin: 0;
  color: rgba(17, 17, 20, 0.82) !important;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .wp-order-meta { grid-template-columns: 1fr; }
  .wp-items-table th:nth-child(3),
  .wp-items-table td.wp-item-price { display: none; }
  .wp-actions { justify-content: stretch; }
  .wp-actions .btn { flex: 1 1 auto; text-align: center; }
}

/* —— Página Cuenta (card sobre fondo con imagen) —— */
.page-account .account-main {
  padding-top: calc(var(--nav-h) + 3rem) !important;
  padding-bottom: 3.5rem !important;
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  position: relative;
  z-index: 1;
}

.page-account .account-panel {
  width: min(100% - 1.75rem, 26rem);
  margin: 0 auto;
  padding: 1.5rem 1.4rem 1.55rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(17, 17, 20, 0.12);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
  text-align: center;
}

.page-account .account-panel.has-orders {
  width: min(100% - 1.25rem, 42rem);
  text-align: left;
}

.page-account .account-main:has(.account-panel.has-orders) {
  justify-content: flex-start;
  padding-top: calc(var(--nav-h) + 2rem) !important;
}

.page-account .account-panel.has-orders .account-head {
  text-align: center !important;
}

.page-account .account-head {
  text-align: center !important;
  margin: 0 auto 1.15rem !important;
  max-width: none;
  width: 100%;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.page-account .account-head .eyebrow {
  color: #c40028 !important;
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.18em !important;
  margin-bottom: 0.55rem !important;
}

.page-account .account-head h1 {
  color: #0b0b0d !important;
  -webkit-text-fill-color: #0b0b0d;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 2.75rem) !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 !important;
  line-height: 1.05;
}

.page-account .account-head h1::after {
  content: '';
  display: block;
  width: 2.75rem;
  height: 3px;
  margin: 0.65rem auto 0;
  background: #c40028;
}

.page-account #account-gate.account-gate-card {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-align: center;
}

.page-account #account-gate p {
  color: rgba(17, 17, 20, 0.78) !important;
  margin: 0 0 1rem !important;
  font-size: 0.95rem;
  line-height: 1.45;
}

.page-account #account-gate .btn {
  width: 100%;
}

.page-account #account-orders.account-orders-wrap,
.page-account .account-orders-list {
  width: 100%;
  margin: 0.85rem 0 0;
  display: grid;
  gap: 0.75rem;
  text-align: left;
}

.page-account #account-orders.account-orders-wrap[hidden] {
  display: none !important;
}

.page-account #account-orders > p {
  width: 100%;
  margin: 0.85rem 0 0;
  text-align: center;
  color: rgba(17, 17, 20, 0.78) !important;
  background: #f3f4f6;
  border: 1px solid rgba(17, 17, 20, 0.1);
  padding: 0.95rem;
}

.page-account .account-order {
  color: #111114 !important;
  background: #f8f8f9;
  border: 1px solid rgba(17, 17, 20, 0.1);
  padding: 0 !important;
  overflow: hidden;
}

.page-account .order-status-track {
  list-style: none;
  margin: 0;
  padding: 0.9rem 0.45rem 0.7rem;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.4rem 0.12rem;
  background: transparent;
  border-bottom: 1px solid rgba(17, 17, 20, 0.08);
}

.page-account .order-status-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.38rem;
  padding: 0;
  text-align: center;
  color: rgba(17, 17, 20, 0.42);
  min-width: 0;
  background: transparent !important;
}

.page-account .order-status-icon {
  width: 2.15rem;
  height: 2.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.84rem;
  border-radius: 50%;
  border: 2px solid rgba(17, 17, 20, 0.14);
  background: #fff;
  color: rgba(17, 17, 20, 0.38);
  box-shadow: 0 2px 8px rgba(17, 17, 20, 0.06);
  flex-shrink: 0;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.page-account .order-status-label {
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  max-width: 100%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.page-account .order-status-step.is-done {
  color: rgba(17, 17, 20, 0.62);
}

.page-account .order-status-step.is-done .order-status-icon {
  border-color: #22c55e;
  background: #ecfdf3;
  color: #16a34a;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.14);
}

.page-account .order-status-step.is-current {
  color: #111114;
}

.page-account .order-status-step.is-current .order-status-icon {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2), 0 4px 12px rgba(37, 99, 235, 0.22);
  transform: scale(1.06);
}

.page-account .order-status-step.is-current[data-status='cancelled'] .order-status-icon {
  border-color: #dc2626;
  background: #dc2626;
  color: #fff;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.18), 0 4px 12px rgba(220, 38, 38, 0.2);
}

.page-account .order-status-step.is-todo,
.page-account .order-status-step.is-muted {
  color: rgba(17, 17, 20, 0.34);
}

.page-account .order-status-step.is-muted .order-status-icon {
  opacity: 0.65;
}

.page-account .account-order-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.75rem 0.95rem 0.35rem;
  font-size: 0.82rem;
}

.page-account .account-order-head strong {
  font-size: 0.88rem;
  word-break: break-all;
}

.page-account .account-order-head span {
  color: rgba(17, 17, 20, 0.55);
  white-space: nowrap;
}

.page-account .order-items {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0.25rem 0.75rem 0.55rem;
  border: 1px solid rgba(17, 17, 20, 0.1);
  background: #fff;
  overflow: hidden;
}

.page-account .order-item-row {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 0.45rem 0.55rem;
  width: 100%;
  margin: 0;
  padding: 0.6rem 0.7rem;
  border: 0;
  border-bottom: 1px solid rgba(17, 17, 20, 0.08);
  border-radius: 0;
  background: #fff;
  color: #111114;
  font: inherit;
  text-align: left;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.page-account .order-item-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
  pointer-events: none;
}

.page-account .order-item-row:last-child {
  border-bottom: 0;
}

.page-account .order-item-row:hover,
.page-account .order-item-row:focus-visible {
  background: #f3f6fc;
  outline: none;
}

.page-account .order-item-row:hover::before,
.page-account .order-item-row:focus-visible::before {
  background: #2563eb;
}

.page-account .order-item-row:active {
  background: #e8effd;
}

.page-account .order-item-qty {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(17, 17, 20, 0.55);
}

.page-account .order-item-name {
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.25;
  min-width: 0;
}

.page-account .order-item-sub {
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.page-account .order-item-hint {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2563eb;
}

.page-account .account-order-total,
.page-account .account-order-track {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.35rem 0.95rem;
  font-size: 0.88rem;
}

.page-account .account-order-total {
  padding-bottom: 0.85rem;
  font-weight: 600;
}

.page-account .account-order-track {
  padding-top: 0;
  padding-bottom: 0.85rem;
  color: rgba(17, 17, 20, 0.7);
  font-size: 0.8rem;
}

.page-account .account-order-head-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.page-account .account-order-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(37, 99, 235, 0.1);
  color: #1d4ed8;
}

.page-account .account-order-date {
  font-size: 0.78rem;
  color: rgba(17, 17, 20, 0.55);
}

.page-account .order-items-title {
  margin: 0 0 0.35rem;
  padding: 0 0.95rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(17, 17, 20, 0.45);
}

.page-account .order-item-thumb {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: cover;
  border-radius: 0.45rem;
  flex-shrink: 0;
  background: #f3f4f6;
}

.page-account .order-item-main {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
  flex: 1;
}

.page-account .order-item-sku {
  font-size: 0.68rem;
  color: rgba(17, 17, 20, 0.45);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.page-account .order-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  padding: 0.65rem 0.95rem 0.25rem;
  border-top: 1px solid rgba(17, 17, 20, 0.06);
}

.page-account .order-detail-block {
  padding: 0.55rem 0.65rem;
  border-radius: 0.65rem;
  background: rgba(17, 17, 20, 0.025);
}

.page-account .order-detail-title {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(17, 17, 20, 0.5);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.page-account .order-detail-row {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
}

.page-account .order-detail-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(17, 17, 20, 0.42);
}

.page-account .order-detail-value {
  color: rgba(17, 17, 20, 0.88);
  word-break: break-word;
}

.page-account .order-detail-notes .order-detail-value {
  font-style: italic;
}

.product-modal.is-readonly .product-modal-actions,
.product-modal-actions[hidden] {
  display: none !important;
}

@media (max-width: 640px) {
  .page-account .order-status-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem 0.2rem;
    padding: 0.75rem 0.35rem 0.6rem;
  }

  .page-account .order-status-icon {
    width: 1.95rem;
    height: 1.95rem;
    font-size: 0.78rem;
  }

  .page-account .order-status-label {
    font-size: 0.55rem;
  }

  .page-account .order-item-row {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
  }

  .page-account .order-item-hint {
    display: none;
  }

  .page-account .order-detail-grid {
    grid-template-columns: 1fr;
  }
}

.page-account .site-footer {
  position: relative;
  z-index: 1;
}

/* Páginas legales (TyC, privacidad, cookies, envíos, devoluciones) */
.legal-page {
  max-width: 44rem;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 2.25rem) 1.25rem 3rem !important;
  background: #fff !important;
  border: 1px solid rgba(17, 17, 20, 0.08);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
  color: #111114 !important;
}

.legal-page h1 {
  color: #0b0b0d !important;
  -webkit-text-fill-color: #0b0b0d;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.4rem);
}

.legal-page h2 {
  color: #0b0b0d !important;
  -webkit-text-fill-color: #0b0b0d;
  margin-top: 1.5rem;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.legal-page p,
.legal-page li {
  color: rgba(17, 17, 20, 0.82) !important;
  line-height: 1.65;
}

.legal-page ul {
  padding-left: 1.2rem;
}

.gyc-auth-panel {
  background: #fff !important;
  color: #111114 !important;
  border-radius: 0;
  border: 1px solid rgba(17, 17, 20, 0.14) !important;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
  padding: 1.35rem 1.35rem 1.2rem !important;
  width: min(22.5rem, 100%) !important;
}

.gyc-auth-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c40028 !important;
}

.gyc-auth-panel h2 {
  margin: 0 0 1rem !important;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 1.55rem !important;
  color: #0b0b0d !important;
}

.gyc-auth-close {
  color: rgba(17, 17, 20, 0.45) !important;
  line-height: 1;
}

.gyc-auth-close:hover {
  color: #111114 !important;
}

.gyc-auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1.1rem;
  border: 1px solid rgba(17, 17, 20, 0.18) !important;
}

.gyc-auth-tab {
  flex: 1;
  appearance: none;
  border: 0;
  background: #fff;
  color: rgba(17, 17, 20, 0.55) !important;
  padding: 0.65rem 0.5rem;
  cursor: pointer;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.gyc-auth-tab.is-active {
  background: #111114 !important;
  color: #fff !important;
}

.gyc-auth-form {
  display: none !important;
  gap: 0.85rem;
}

.gyc-auth-form.is-visible,
.gyc-auth-form:not([hidden]) {
  display: grid !important;
}

.gyc-auth-form[hidden] {
  display: none !important;
}

.gyc-auth-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #111114 !important;
  text-align: left;
}

.gyc-auth-form input {
  width: 100%;
  border: 1px solid rgba(17, 17, 20, 0.22) !important;
  background: #fff !important;
  color: #111114 !important;
  padding: 0.75rem 0.85rem;
  font: inherit;
  border-radius: 0;
  box-sizing: border-box;
}

.gyc-auth-form input::placeholder {
  color: rgba(17, 17, 20, 0.38);
}

.gyc-auth-form .btn {
  width: 100%;
  margin-top: 0.15rem;
}

.gyc-auth-status {
  min-height: 1.25rem;
  margin: 0.75rem 0 0;
  font-size: 0.84rem;
  color: rgba(17, 17, 20, 0.7) !important;
  text-align: left;
}

.gyc-auth-status.is-ok {
  color: #0a7a3e !important;
  font-weight: 600;
}

.gyc-auth-tab.is-active {
  background: #111114 !important;
  color: #fff !important;
}

.gyc-cart-panel {
  background: #111;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

/* ?? Motion ?? */
@keyframes shop-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

html.gc-theme-ready .hero-inner {
  animation: shop-rise 0.9s 0.1s cubic-bezier(.2,.8,.2,1) both;
}

html.gc-theme-ready .shop-cats-grid {
  animation: shop-rise 0.8s 0.25s cubic-bezier(.2,.8,.2,1) both;
}

html.gc-theme-ready .carousel {
  animation: shop-rise 0.85s 0.2s cubic-bezier(.2,.8,.2,1) both;
}

@media (max-width: 768px) {
  .hero.hero-viewport,
  #builder-page .hero.hero-viewport {
    min-height: 100svh !important;
    min-height: 100dvh !important;
    height: 100svh !important;
    height: 100dvh !important;
  }

  .hero-inner {
    padding: calc(var(--nav-h) + 1.25rem) 0 2rem !important;
    gap: 0.7rem;
    text-align: left;
    justify-items: start;
  }

  #builder-page .hero:not(.hero-align-left) .hero-inner {
    justify-items: start;
    text-align: left;
  }

  .hero h1 { font-size: clamp(2.6rem, 13vw, 3.6rem); }
  .hero-logo { width: min(96px, 26vw); }
  .hero-lead { font-size: 0.95rem; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; text-align: center; }

  .shop-cats-grid { grid-template-columns: repeat(2, 1fr); gap: 0.55rem; }
  .shop-cat-chip { min-height: 4.5rem; font-size: 1.1rem; padding: 0.75rem 0.5rem; }

  .shop-trust { padding: 1.35rem 1rem; }
  .shop-trust-item strong { font-size: 1.15rem; }

  .section { padding: 2.75rem 1rem !important; }

  .shop-connect,
  #contacto,
  [data-section='contact'].section {
    padding: 2.75rem 1rem 2rem !important;
  }

  .shop-connect-grid,
  #contacto .social-row,
  [data-section='contact'] .social-row {
    grid-template-columns: 1fr !important;
    gap: 0.65rem;
  }

  .shop-connect-card,
  #contacto .social-link,
  [data-section='contact'] .social-link {
    min-height: 4.5rem;
    padding: 1rem 1.05rem;
  }

  .page-store .store-main,
  #store-flow.store-main {
    padding-top: calc(var(--nav-h) + var(--tax-nav-h, 2.85rem) + 0.85rem) !important;
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
    padding-bottom: 2rem !important;
  }

  .page-store .store-main .section-head,
  #store-flow .section-head {
    padding: 0.75rem 0.85rem;
    margin-bottom: 0.85rem !important;
  }

  .page-store .store-main .section-head h2,
  #store-flow .section-head h2 {
    font-size: clamp(1.7rem, 9vw, 2.2rem) !important;
  }

  .page-store .catalog-grid,
  #store-flow .catalog-grid {
    grid-template-columns: 1fr !important;
    gap: 0.7rem !important;
  }

  .product-tile,
  .shop-surface .product-tile,
  .page-store .product-tile {
    flex-direction: row !important;
  }

  .product-tile img,
  .page-store .product-tile img {
    width: 108px !important;
    height: 108px !important;
    max-width: 38% !important;
  }

  .site-footer {
    padding: 1.75rem 1rem 2rem;
  }

  .site-footer nav {
    gap: 0.55rem 0.85rem;
  }

  .site-footer nav a,
  .site-footer .footer-copy-mail {
    font-size: 0.72rem;
  }

  .carousel .product-tile {
    flex-direction: row !important;
  }
}

@media (min-width: 481px) and (max-width: 760px) {
  .page-store .catalog-grid,
  #store-flow .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 480px) {
  .nav-brand-text { font-size: 0.82rem; }
  .shop-cats-grid { grid-template-columns: 1fr 1fr; }
  .pillar { padding: 0.95rem 1rem; }
}

/* ?? Efectos visuales adicionales (elegantes) ?? */
@keyframes shop-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shop-line-sweep {
  0% { transform: scaleX(0); transform-origin: left; }
  55% { transform: scaleX(1); transform-origin: left; }
  56% { transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}

.hero.hero-translucent::after {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 0, 42, 0.7), transparent);
  opacity: 0.85;
  pointer-events: none;
  animation: shop-line-sweep 5.5s ease-in-out infinite;
}

.page-store .store-main .section-head {
  animation: shop-fade-up 0.55s cubic-bezier(.2,.8,.2,1) both;
}

.page-store .catalog-grid .product-tile {
  animation: shop-fade-up 0.5s cubic-bezier(.2,.8,.2,1) both;
}

.page-store .catalog-grid .product-tile:nth-child(1) { animation-delay: 0.02s; }
.page-store .catalog-grid .product-tile:nth-child(2) { animation-delay: 0.05s; }
.page-store .catalog-grid .product-tile:nth-child(3) { animation-delay: 0.08s; }
.page-store .catalog-grid .product-tile:nth-child(4) { animation-delay: 0.11s; }
.page-store .catalog-grid .product-tile:nth-child(5) { animation-delay: 0.14s; }
.page-store .catalog-grid .product-tile:nth-child(6) { animation-delay: 0.17s; }

.shop-connect-card,
#contacto .social-link {
  position: relative;
  overflow: hidden;
}

.shop-connect-card::after,
#contacto .social-link::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: var(--cyan);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s ease;
}

.shop-connect-card:hover::after,
#contacto .social-link:hover::after {
  transform: scaleY(1);
}

.store-tax-top > .store-tax-link,
.store-tax-top > .store-tax-row > .store-tax-link {
  transition: color 0.2s ease, background 0.2s ease;
}

.store-tax-top > .store-tax-link:hover,
.store-tax-top > .store-tax-row > .store-tax-link:hover {
  color: var(--cyan);
}

.btn-cyan::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.22) 48%, transparent 62%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
  pointer-events: none;
}

.btn-cyan:hover::after {
  transform: translateX(120%);
}

@media (prefers-reduced-motion: reduce) {
  .hero.hero-translucent::after,
  .page-store .store-main .section-head,
  .page-store .catalog-grid .product-tile,
  .btn-cyan::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Admin orders detail cards */
.admin-order-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 12, 18, 0.85);
  margin-bottom: 0.85rem;
  overflow: hidden;
}

.admin-order-card-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  align-items: start;
  cursor: pointer;
}

.admin-order-card-head:hover { background: rgba(255, 255, 255, 0.03); }

.admin-order-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.admin-order-body {
  display: none;
  padding: 0 1rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-order-card.is-open .admin-order-body { display: grid; gap: 1rem; }

.admin-order-cols {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
  padding-top: 0.85rem;
}

@media (max-width: 820px) {
  .admin-order-cols { grid-template-columns: 1fr; }
}

.admin-order-cols h4 {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
}

.admin-order-items {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.admin-order-items th,
.admin-order-items td {
  text-align: left;
  padding: 0.4rem 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: top;
}

.admin-order-items img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  background: #222;
}

.admin-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: end;
  padding-top: 0.35rem;
}

.admin-order-actions label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.admin-order-actions select,
.admin-order-actions input {
  min-width: 10rem;
  padding: 0.45rem 0.55rem;
  background: #0a0a10;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--fog);
}

.admin-order-badge {
  display: inline-block;
  padding: 0.2rem 0.45rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.admin-order-badge.is-paid { border-color: #2ecc71; color: #2ecc71; }
.admin-order-badge.is-pending { border-color: var(--orange); color: var(--orange); }
.admin-order-badge.is-cancelled { border-color: #ff6b8a; color: #ff6b8a; }
.admin-order-badge.is-shipped { border-color: var(--cyan); color: var(--cyan); }

/* Nav: carrito fuera del menu + drawer movil izquierda */
.nav-end {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex: 0 0 auto;
  margin-left: 0.65rem;
  z-index: 6;
}

.nav-end .nav-cart-btn {
  position: relative;
}

/* Tienda / cuenta / checkout escritorio: logo G&C al centro del header */
@media (min-width: 761px) {
  .page-store .site-nav,
  .page-account .site-nav,
  .page-checkout .site-nav {
    justify-content: flex-end;
    position: fixed;
  }

  .page-store .site-nav .nav-start,
  .page-account .site-nav .nav-start,
  .page-checkout .site-nav .nav-start {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    flex: 0 0 auto;
    width: auto;
    z-index: 7;
    pointer-events: none;
  }

  .page-store .site-nav .nav-brand,
  .page-account .site-nav .nav-brand,
  .page-checkout .site-nav .nav-brand {
    position: static;
    transform: none;
    max-width: none;
    pointer-events: auto;
  }

  .page-store .site-nav .nav-links,
  .page-account .site-nav .nav-links,
  .page-checkout .site-nav .nav-links {
    flex: 0 0 auto;
    justify-content: flex-end;
    margin-left: 0;
  }

  .page-store .site-nav .nav-end,
  .page-account .site-nav .nav-end,
  .page-checkout .site-nav .nav-end {
    margin-left: 0.65rem;
  }

  .site-nav .nav-start {
    flex: 0 1 auto;
    width: auto;
  }

  .site-nav .nav-links {
    flex: 1 1 auto;
    justify-content: flex-end;
  }
}

@media (max-width: 760px) {
  .site-nav {
    justify-content: flex-start;
  }

  /* Sin position:relative: el brand se ancla al header completo (no al toggle) */
  .nav-start {
    position: static !important;
    flex: 0 0 auto !important;
    width: auto !important;
  }

  .nav-brand {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 7;
    max-width: min(62vw, calc(100% - 8rem)) !important;
    width: max-content !important;
    min-width: 0;
    justify-content: center;
    pointer-events: auto;
  }

  .nav-brand-text {
    overflow: visible !important;
    text-overflow: clip !important;
    max-width: none !important;
    white-space: nowrap;
  }

  .nav-end {
    margin-left: auto;
    position: relative;
    z-index: 8;
  }

  .nav-links {
    position: fixed !important;
    top: var(--nav-h) !important;
    left: 0 !important;
    right: auto !important;
    z-index: 121 !important;
    width: min(18.5rem, 86vw) !important;
    height: calc(100dvh - var(--nav-h)) !important;
    max-height: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    text-align: left !important;
    padding: 0.65rem 0 1.25rem !important;
    background: rgba(5, 5, 8, 0.98) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 0 !important;
    box-shadow: 18px 0 40px rgba(0, 0, 0, 0.45);
    transform: translateX(-105%) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: none !important;
    transition: transform 0.28s cubic-bezier(.2,.8,.2,1) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav.is-open .nav-links {
    transform: translateX(0) !important;
    pointer-events: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .nav-links a,
  .nav-links .nav-text-btn,
  .nav-links .nav-account-link,
  .nav-links .nav-auth-slot {
    display: block !important;
    width: 100%;
    text-align: left !important;
    padding: 0.95rem 1.25rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links a:first-child {
    border-top: 0 !important;
  }

  .nav-links .nav-cart-btn {
    display: none !important;
  }

  .store-tax-nav {
    touch-action: pan-x;
  }

  .store-tax-arrow {
    display: none !important;
  }

  .store-tax-viewport {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x !important;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }

  .store-tax-viewport::-webkit-scrollbar {
    display: none;
    height: 0;
  }

  .store-tax-root {
    transform: none !important;
    width: max-content !important;
    min-width: 100%;
    padding: 0 0.65rem;
    gap: 0.15rem;
  }

  .store-filter-status {
    margin-left: 0.85rem !important;
    margin-right: 0.85rem !important;
  }
}

/* —— Cuenta: tabs, filtros, deseos —— */
.page-account .account-tabs {
  display: flex;
  gap: 0.5rem;
  margin: 0 0 1rem;
  flex-wrap: wrap;
}

.page-account .account-tab {
  border: 1px solid rgba(17, 17, 20, 0.12);
  background: #fff;
  color: #111114;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.page-account .account-tab.is-active {
  background: #111114;
  color: #fff;
  border-color: #111114;
}

.page-account .account-orders-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: flex-end;
  margin-bottom: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(17, 17, 20, 0.08);
  border-radius: 0.65rem;
  background: rgba(17, 17, 20, 0.02);
  color: #111114;
}

.page-account .account-orders-toolbar .btn-ghost {
  border-color: rgba(17, 17, 20, 0.22) !important;
  color: #111114 !important;
  background: #fff !important;
}

.page-account .account-orders-toolbar .btn-ghost:hover {
  border-color: #111114 !important;
  color: #111114 !important;
  background: rgba(17, 17, 20, 0.05) !important;
  box-shadow: none;
}

.page-account .account-filter {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(17, 17, 20, 0.5);
}

.page-account .account-filter select,
.page-account .account-filter input {
  font: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  padding: 0.35rem 0.5rem;
  border-radius: 0.4rem;
  border: 1px solid rgba(17, 17, 20, 0.15);
}

.page-account .account-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem 0.65rem;
}

.page-account .order-track-link {
  color: #2563eb;
  font-weight: 700;
  text-decoration: none;
}

.page-account .account-wishlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
}

.page-account .account-wishlist-wrap,
.page-account .account-wishlist-grid {
  color: #111114;
}

.page-account .wishlist-card {
  border: 1px solid rgba(17, 17, 20, 0.1);
  border-radius: 0.75rem;
  overflow: hidden;
  background: #fff;
  color: #111114;
}

.page-account .wishlist-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #f3f4f6;
}

.page-account .wishlist-card-body {
  padding: 0.65rem 0.75rem 0.8rem;
}

.page-account .wishlist-sku {
  font-size: 0.68rem;
  font-family: ui-monospace, monospace;
  color: rgba(17, 17, 20, 0.45);
}

.page-account .wishlist-card h3 {
  margin: 0.2rem 0;
  font-size: 0.92rem;
  color: #111114 !important;
  -webkit-text-fill-color: #111114;
}

.page-account .wishlist-price {
  margin: 0 0 0.55rem;
  font-weight: 700;
  color: #111114 !important;
}

.page-account .wishlist-card-actions .btn-ghost {
  border-color: rgba(17, 17, 20, 0.22) !important;
  color: #111114 !important;
  background: #fff !important;
}

.page-account .wishlist-card-actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.nav-wishlist-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.nav-wishlist-count {
  position: absolute;
  top: 0.1rem;
  right: 0.05rem;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.2rem;
  border-radius: 999px;
  background: #d4002a;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1rem;
  text-align: center;
}

.product-tile {
  position: relative;
}

.product-wishlist-btn {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  z-index: 2;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #111114;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.product-wishlist-btn.is-active,
.product-wishlist-btn:hover {
  color: #d4002a;
}

.admin-stock-alert {
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(212, 0, 42, 0.25);
  background: rgba(212, 0, 42, 0.06);
  font-size: 0.85rem;
}

.admin-stock-alert ul {
  margin: 0.45rem 0 0;
  padding-left: 1.1rem;
}

.admin-stock-alert li {
  margin: 0.2rem 0;
}