/**
 * Tienda pública — diseño VX 2.1 (iOS 2027 / Vision Glass)
 * Spring physics · Dynamic blur · Layered shadows · Dark mode
 */

/* =====================================================================
   TOKENS — Design System iOS 2027
   ===================================================================== */
:root {
  /* Espaciado y layout */
  --vx-ribbon-h: 0px;
  --vx-ribbon-offset: 54px;
  --vx-ribbon-offset-sm: 52px;
  --vx-nav-height: 70px;
  --vx-tabbar-h: 64px;

  /* Paleta clara */
  --vx-bg: #f2f2f7;
  --vx-bg-2: #e5e5ea;
  --vx-surface: rgba(255, 255, 255, 0.72);
  --vx-surface-solid: #ffffff;
  --vx-surface-raised: rgba(255, 255, 255, 0.9);
  --vx-surface-overlay: rgba(255, 255, 255, 0.55);
  --vx-text-primary: #1d1d1f;
  --vx-text-secondary: #6e6e73;
  --vx-text-tertiary: #aeaeb2;
  --vx-accent: #000000;
  --vx-accent-fg: #ffffff;
  --vx-accent-soft: rgba(0, 0, 0, 0.06);
  --vx-green: #34c759;
  --vx-orange: #ff9500;
  --vx-red: #ff3b30;
  --vx-blue: #007aff;
  --vx-purple: #af52de;
  --vx-border: rgba(0, 0, 0, 0.07);
  --vx-border-strong: rgba(0, 0, 0, 0.14);
  --vx-divider: rgba(0, 0, 0, 0.05);

  /* Sombras multicapa (ambiente + directa + especular) */
  --vx-shadow-xs: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
  --vx-shadow-sm: 0 2px 8px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.04);
  --vx-shadow-md: 0 4px 16px rgba(0,0,0,0.06), 0 8px 32px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  --vx-shadow-lg: 0 8px 24px rgba(0,0,0,0.06), 0 20px 48px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --vx-shadow-xl: 0 16px 40px rgba(0,0,0,0.08), 0 40px 80px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.05);
  --vx-shadow-float: 0 24px 60px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.08);

  /* Radios */
  --vx-radius-xs: 8px;
  --vx-radius-sm: 12px;
  --vx-radius-md: 18px;
  --vx-radius-lg: 28px;
  --vx-radius-xl: 40px;
  --vx-radius-pill: 999px;

  /* Blur / Glass */
  --vx-blur-sm: blur(12px) saturate(160%);
  --vx-blur: blur(32px) saturate(180%);
  --vx-blur-heavy: blur(60px) saturate(200%);

  /* Tipografía */
  --vx-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --vx-font-mono: "SF Mono", ui-monospace, "Cascadia Code", monospace;

  /* Spring transitions */
  --vx-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --vx-spring-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --vx-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --vx-ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
  --vx-dur-fast: 180ms;
  --vx-dur-base: 280ms;
  --vx-dur-slow: 420ms;
  --vx-dur-page: 360ms;
}

[data-theme="dark"] {
  --vx-bg: #000000;
  --vx-bg-2: #0a0a0a;
  --vx-surface: rgba(28, 28, 30, 0.72);
  --vx-surface-solid: #1c1c1e;
  --vx-surface-raised: rgba(44, 44, 46, 0.9);
  --vx-surface-overlay: rgba(28, 28, 30, 0.6);
  --vx-text-primary: #f5f5f7;
  --vx-text-secondary: #98989d;
  --vx-text-tertiary: #636366;
  --vx-accent: #ffffff;
  --vx-accent-fg: #000000;
  --vx-accent-soft: rgba(255, 255, 255, 0.08);
  --vx-green: #30d158;
  --vx-orange: #ff9f0a;
  --vx-red: #ff453a;
  --vx-blue: #0a84ff;
  --vx-purple: #bf5af2;
  --vx-border: rgba(255, 255, 255, 0.08);
  --vx-border-strong: rgba(255, 255, 255, 0.16);
  --vx-divider: rgba(255, 255, 255, 0.04);
  --vx-shadow-xs: 0 1px 3px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.25);
  --vx-shadow-sm: 0 2px 8px rgba(0,0,0,0.35), 0 4px 16px rgba(0,0,0,0.3);
  --vx-shadow-md: 0 4px 16px rgba(0,0,0,0.4), 0 8px 32px rgba(0,0,0,0.35);
  --vx-shadow-lg: 0 8px 24px rgba(0,0,0,0.45), 0 20px 48px rgba(0,0,0,0.5);
  --vx-shadow-xl: 0 16px 40px rgba(0,0,0,0.55), 0 40px 80px rgba(0,0,0,0.6);
  --vx-shadow-float: 0 24px 60px rgba(0,0,0,0.6), 0 8px 24px rgba(0,0,0,0.5);
}

/* =====================================================================
   RESET + BASE
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--vx-font);
  background-color: var(--vx-bg);
  color: var(--vx-text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: calc(var(--vx-nav-height) + 40px);
  transition: background-color 0.45s var(--vx-ease-out), color 0.45s var(--vx-ease-out);
  line-height: 1.5;
  overflow-x: hidden;
}

body.vx-body-booking {
  background-color: var(--vx-bg) !important;
  color: var(--vx-text-primary);
}
html:has(body.vx-body-booking) { background-color: var(--vx-bg); }

body.vx-has-ribbon {
  --vx-ribbon-h: 48px;
  padding-top: calc(var(--vx-nav-height) + var(--vx-ribbon-h) + 40px);
}
/* Tienda pública: cabecera en .vx-store-head-fixed + hueco .vx-store-head-sizer (anula padding-top con cinta) */
body.vx-tienda-store-root {
  padding-top: 0;
}
body.vx-page-home,
body.vx-page-home.vx-has-ribbon {
  padding-top: 0;
}
/* Aire bajo cabecera fija: catálogo, cuenta, carrito, búsqueda, citas, etc. (inicio y Nosotros sin esta clase) */
body.vx-store-main-breathe #tienda-main {
  padding-top: clamp(28px, 5.5vw, 64px);
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; height: auto; display: block; }

/* =====================================================================
   KEYFRAMES
   ===================================================================== */
@keyframes vxFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes vxSlideUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes vxFadeScale {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes vxSpringIn {
  0%   { opacity: 0; transform: scale(0.88) translateY(20px); }
  60%  { opacity: 1; transform: scale(1.03) translateY(-4px); }
  100% { transform: scale(1) translateY(0); }
}
@keyframes vxSlideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes vxSlideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes vxShimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
@keyframes vxPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}
@keyframes vxBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
@keyframes vxSpin {
  to { transform: rotate(360deg); }
}
@keyframes vxGradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes vxRibbonSlide {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
@keyframes vxHeroReveal {
  from { opacity: 0; transform: translateY(40px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes vxNavFloat {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes vxCartBadgePop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.4); }
  70%  { transform: scale(0.9); }
  100% { transform: scale(1); }
}
@keyframes vxDrawerIn {
  from { transform: translateX(100%); opacity: 0.6; }
  to   { transform: translateX(0); opacity: 1; }
}
@keyframes vxDrawerOut {
  from { transform: translateX(0); opacity: 1; }
  to   { transform: translateX(100%); opacity: 0.6; }
}
@keyframes vxModalIn {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes vxOverlayIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes vxProgressBar {
  from { width: 0%; }
  to   { width: var(--progress, 100%); }
}
@keyframes vxStepComplete {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* =====================================================================
   UTILIDADES
   ===================================================================== */
.vx-visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.vx-skip {
  position: absolute; left: -9999px; z-index: 10000;
}
.vx-skip:focus {
  left: 16px; top: 16px; padding: 10px 20px;
  background: var(--vx-surface-solid); border-radius: var(--vx-radius-sm);
  outline: 2px solid var(--vx-accent); box-shadow: var(--vx-shadow-lg);
}
.vx-container {
  max-width: min(1280px, calc(100% - 48px));
  margin-left: auto; margin-right: auto;
}
.vx-sec-inner {
  max-width: min(1280px, calc(100% - 48px));
  margin-left: auto; margin-right: auto;
}
.vx-text-center { text-align: center; }
.vx-lead {
  font-size: 1.05rem; color: var(--vx-text-secondary); line-height: 1.6;
}

/* =====================================================================
   TIPOGRAFÍA
   ===================================================================== */
.vx-h1 {
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  font-weight: 700; letter-spacing: -0.045em; line-height: 1.08;
  margin-bottom: 16px; text-wrap: balance;
}
.vx-h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600; letter-spacing: -0.035em; margin-bottom: 14px;
}
.vx-h3 {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 600; letter-spacing: -0.025em; margin-bottom: 10px;
}
.vx-eyebrow {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--vx-text-secondary);
  margin-bottom: 8px;
}

/* =====================================================================
   RIBBON / CINTA PROMO
   ===================================================================== */
/* Cabecera tienda: columna fija (cinta → tpl6 topbar opc. → menú) */
.vx-store-head-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  pointer-events: none;
}
.vx-store-head-fixed > * {
  pointer-events: auto;
}
/* Hueco en flujo para que el main no quede bajo la cabecera fija */
.vx-store-head-sizer {
  width: 100%;
  flex-shrink: 0;
  pointer-events: none;
  height: calc(var(--vx-nav-height) + 40px);
}
body.vx-has-ribbon .vx-store-head-sizer {
  height: calc(var(--vx-nav-height) + var(--vx-ribbon-h) + 32px);
}

/* Cinta dentro de .vx-store-head-fixed (sin position fixed propia) */
.vx-ribbon-host {
  position: relative;
  flex-shrink: 0;
  z-index: 2;
}
.ts-ribbon {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  min-height: 44px;
  padding: 10px 48px 10px 16px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.01em;
  text-align: center; line-height: 1.4;
  animation: vxFadeIn 0.4s ease;
}
.ts-ribbon__inner { display: flex; align-items: center; justify-content: center; gap: 10px; }
.ts-ribbon__main { display: flex; align-items: center; gap: 8px; flex: 1; justify-content: center; }
.ts-ribbon__hot {
  background: rgba(255,255,255,0.25); border-radius: var(--vx-radius-pill);
  padding: 2px 8px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; flex-shrink: 0;
}
.ts-ribbon__rotator { overflow: hidden; max-width: 600px; }
.ts-ribbon__slide { display: none; }
.ts-ribbon__slide.is-active { display: block; animation: vxRibbonSlide 0.4s var(--vx-spring-soft); }
.ts-ribbon__close {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.2); border: none; border-radius: 50%;
  width: 26px; height: 26px; cursor: pointer; color: inherit;
  font-size: 1rem; display: flex; align-items: center; justify-content: center;
  transition: background var(--vx-dur-fast) ease;
}
.ts-ribbon__close:hover { background: rgba(255,255,255,0.35); }

/* =====================================================================
   NAV — Glass pill flotante iOS 2027
   ===================================================================== */
.vx-nav-dock {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  animation: vxNavFloat 0.5s var(--vx-spring-soft) both;
}
/* Dentro del bloque cabecera tienda, la nav deja de ser fixed (flujo en columna) */
.vx-store-head-fixed .vx-nav-dock {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  z-index: 1;
  flex-shrink: 0;
  animation: none;
}
.vx-nav-dock--store { padding: 10px 16px 0; }
.vx-has-ribbon .vx-nav-dock--store { padding-top: 0; }

.vx-nav-shell {
  border-radius: var(--vx-radius-xl);
  background: var(--vx-surface);
  backdrop-filter: var(--vx-blur);
  -webkit-backdrop-filter: var(--vx-blur);
  border: 1px solid var(--vx-border);
  box-shadow: var(--vx-shadow-lg);
  transition:
    background var(--vx-dur-base) ease,
    box-shadow var(--vx-dur-base) ease,
    border-color var(--vx-dur-base) ease;
  overflow: hidden;
}
.vx-nav-shell--store {
  display: flex; flex-direction: column;
}
.vx-nav-shell.is-scrolled {
  background: var(--vx-surface-raised);
  box-shadow: var(--vx-shadow-xl);
}

.vx-nav-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px 12px;
  align-items: center;
  padding: 10px 16px;
}
.vx-nav-head--no-search { grid-template-columns: auto auto; }

.vx-brand {
  font-weight: 800; font-size: 1.15rem; letter-spacing: -0.03em;
  display: flex; align-items: center; gap: 8px;
  color: var(--vx-text-primary);
  transition: opacity var(--vx-dur-fast) ease;
}
.vx-brand:hover { opacity: 0.75; }
.vx-brand img { height: 30px; width: auto; }

/* Barra de búsqueda */
.vx-search-shell { position: relative; flex: 1; min-width: 0; }
.vx-search-bar {
  display: flex; align-items: center;
  background: var(--vx-accent-soft);
  border-radius: var(--vx-radius-pill);
  border: 1px solid var(--vx-border);
  transition: all var(--vx-dur-base) var(--vx-spring-soft);
  overflow: hidden;
}
.vx-search-bar:focus-within {
  background: var(--vx-surface-solid);
  border-color: var(--vx-accent);
  box-shadow: 0 0 0 3px var(--vx-accent-soft);
}
.vx-search-bar__input {
  flex: 1; border: none; background: transparent; outline: none;
  padding: 9px 16px; font-size: 0.9rem; font-family: var(--vx-font);
  color: var(--vx-text-primary); min-width: 0;
}
.vx-search-bar__input::placeholder { color: var(--vx-text-secondary); }

/* Dropdown sugerencias */
.vx-search-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 200;
  background: var(--vx-surface-raised);
  backdrop-filter: var(--vx-blur);
  -webkit-backdrop-filter: var(--vx-blur);
  border: 1px solid var(--vx-border);
  border-radius: var(--vx-radius-md);
  box-shadow: var(--vx-shadow-xl);
  overflow: hidden;
  animation: vxFadeScale 0.2s var(--vx-spring-soft);
}
.vx-search-dropdown__inner { max-height: 320px; overflow-y: auto; }
.vx-search-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px; cursor: pointer;
  transition: background var(--vx-dur-fast) ease;
  border-bottom: 1px solid var(--vx-divider);
}
.vx-search-item:last-child { border-bottom: none; }
.vx-search-item:hover, .vx-search-item[aria-selected="true"] {
  background: var(--vx-accent-soft);
}
.vx-search-item__thumb {
  width: 40px; height: 40px; border-radius: var(--vx-radius-xs);
  object-fit: cover; background: var(--vx-bg-2); flex-shrink: 0;
}
.vx-search-item__name { font-size: 0.88rem; font-weight: 500; }
.vx-search-item__code { font-size: 0.78rem; color: var(--vx-text-secondary); }
.vx-search-view-all {
  display: block; padding: 12px 16px; text-align: center;
  font-size: 0.85rem; font-weight: 600; color: var(--vx-blue);
  border-top: 1px solid var(--vx-border);
  transition: background var(--vx-dur-fast) ease;
}
.vx-search-view-all:hover { background: var(--vx-accent-soft); }

/* Botón hamburguesa */
.vx-nav-toggle {
  display: none; width: 40px; height: 40px;
  border: none; background: var(--vx-accent-soft);
  border-radius: var(--vx-radius-sm); cursor: pointer;
  color: var(--vx-text-primary); align-items: center; justify-content: center;
  transition: background var(--vx-dur-fast) ease, transform var(--vx-dur-fast) var(--vx-spring);
}
.vx-nav-toggle:hover { background: var(--vx-border-strong); transform: scale(1.05); }
.vx-nav-toggle:active { transform: scale(0.95); }

/* Links de navegación */
.vx-nav-links {
  display: flex; align-items: center; gap: 4px;
  padding: 6px 12px 8px;
  border-top: 1px solid var(--vx-divider);
  overflow-x: auto; scrollbar-width: none;
}
.vx-nav-links::-webkit-scrollbar { display: none; }
.vx-nav-links a {
  padding: 7px 14px; border-radius: var(--vx-radius-pill);
  font-size: 0.875rem; font-weight: 500; white-space: nowrap;
  transition: background var(--vx-dur-fast) ease, color var(--vx-dur-fast) ease;
  color: var(--vx-text-secondary);
}
.vx-nav-links a:hover { background: var(--vx-accent-soft); color: var(--vx-text-primary); }
.vx-nav-links a[aria-current="page"] {
  background: var(--vx-accent); color: var(--vx-accent-fg);
  font-weight: 600;
}
.vx-nav-mobile-extra { display: none; }

/* Tools / toolbar */
.vx-nav-tools {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 12px 8px;
  border-top: 1px solid var(--vx-divider);
  flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
  justify-content: flex-end;
}
.vx-nav-tools::-webkit-scrollbar { display: none; }

.vx-tool-btn {
  position: relative; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3px;
  min-width: 52px; height: 52px; padding: 6px 10px;
  border: 1px solid var(--vx-border); border-radius: var(--vx-radius-md);
  background: var(--vx-accent-soft); color: var(--vx-text-primary);
  cursor: pointer; font-family: var(--vx-font);
  transition:
    background var(--vx-dur-fast) ease,
    transform var(--vx-dur-fast) var(--vx-spring),
    box-shadow var(--vx-dur-fast) ease;
  text-decoration: none;
}
.vx-tool-btn:hover {
  background: var(--vx-surface-solid);
  box-shadow: var(--vx-shadow-sm);
  transform: translateY(-1px) scale(1.03);
}
.vx-tool-btn:active { transform: scale(0.95); }
.vx-tool-btn[aria-current="page"] {
  background: var(--vx-accent); color: var(--vx-accent-fg);
  border-color: transparent;
}
.vx-tool-caption {
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.01em;
  white-space: nowrap; line-height: 1;
}
.vx-tool-btn--home { display: none; }
.vx-tool-desktop-only { display: none; }

/* Icon row (badges anclados al icono, no a toda la celda) */
.vx-tool-btn__gfx {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
}
.vx-tool-btn__gfx .vx-badge {
  top: -6px;
  right: -8px;
}
.vx-tabbar-label {
  display: none;
  max-width: 76px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--vx-text-secondary);
  line-height: 1.15;
  text-align: center;
}
.vx-tool-btn[aria-current="page"] .vx-tabbar-label {
  color: inherit;
}

/* Tema dentro del panel «Más» (solo móvil / tablet) */
.vx-nav-mobile-theme {
  width: 100%;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 8px;
  padding: 12px 14px;
  border: none;
  border-radius: var(--vx-radius-md);
  background: var(--vx-accent-soft);
  color: var(--vx-text-primary);
  font-size: 0.92rem;
  font-weight: 600;
  font-family: var(--vx-font);
  cursor: pointer;
  text-align: left;
}
.vx-nav-mobile-theme__text {
  flex: 1;
}

/* Badge */
.vx-badge {
  position: absolute; top: 4px; right: 4px;
  min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--vx-red); color: #fff;
  border-radius: var(--vx-radius-pill);
  font-size: 0.65rem; font-weight: 700; line-height: 18px;
  text-align: center; pointer-events: none;
  border: 2px solid var(--vx-surface-solid);
}
.vx-badge--pop { animation: vxCartBadgePop 0.4s var(--vx-spring); }

/* =====================================================================
   PÁGINA HOME — variantes de nav
   ===================================================================== */
body.vx-page-home .vx-nav-dock--store { padding-top: 10px; }
body.vx-page-home.vx-has-ribbon .vx-nav-dock--store { padding-top: 0; }

body.vx-page-home .vx-nav-shell {
  background: color-mix(in srgb, #ffffff 68%, transparent);
  backdrop-filter: var(--vx-blur-heavy);
  -webkit-backdrop-filter: var(--vx-blur-heavy);
  border-color: rgba(255,255,255,0.6);
  box-shadow: var(--vx-shadow-xl);
}
[data-theme="dark"] body.vx-page-home .vx-nav-shell {
  background: rgba(12,12,18,0.52);
  border-color: rgba(255,255,255,0.1);
}
body.vx-page-home .vx-nav-links {
  background: rgba(0,0,0,0.04);
  border-radius: 0 0 var(--vx-radius-md) var(--vx-radius-md);
}
[data-theme="dark"] body.vx-page-home .vx-nav-links { background: rgba(0,0,0,0.3); }
body.vx-page-home .vx-nav-links a[aria-current="page"],
body.vx-page-home .vx-nav-links a:hover {
  background: rgba(255,255,255,0.9);
  color: #1d1d1f;
  box-shadow: var(--vx-shadow-xs);
}
[data-theme="dark"] body.vx-page-home .vx-nav-links a[aria-current="page"],
[data-theme="dark"] body.vx-page-home .vx-nav-links a:hover {
  background: rgba(255,255,255,0.12);
  color: #f5f5f7;
}
body.vx-page-home .vx-tool-btn {
  background: color-mix(in srgb, #ffffff 65%, transparent);
  border-color: rgba(255,255,255,0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
[data-theme="dark"] body.vx-page-home .vx-tool-btn {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
  color: #f5f5f7;
}
body.vx-page-home .vx-badge { border-color: transparent; }
body.vx-page-home .vx-search-bar {
  background: color-mix(in srgb, #ffffff 55%, transparent);
}
[data-theme="dark"] body.vx-page-home .vx-search-bar {
  background: rgba(0,0,0,0.3);
  border-color: rgba(255,255,255,0.1);
}
body.vx-page-home .vx-brand img {
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

/* =====================================================================
   HERO — Portada
   ===================================================================== */
.vx-store-main-home { padding-top: 0; }
.vx-store-main-home > .vx-alert {
  max-width: min(1280px, calc(100% - 48px));
  margin: 0 auto 16px;
}
body.vx-page-home .vx-store-home > section.vx-store-hero-bleed:first-child,
body.vx-page-home .vx-store-home > section.vx-store-hero-fallback:first-child {
  margin-top: 0;
}

.vx-store-hero-bleed { position: relative; overflow: hidden; }
.ts-hero {
  position: relative; overflow: hidden;
  border-radius: 0 0 var(--vx-radius-xl) var(--vx-radius-xl);
}
.ts-hero__viewport {
  overflow: hidden;
  border-radius: 0 0 var(--vx-radius-xl) var(--vx-radius-xl);
  background: var(--vx-bg-2);
}
.ts-hero__track {
  display: flex; transition: transform 0.6s var(--vx-spring-soft);
  will-change: transform;
}
.ts-hero__slide {
  flex: 0 0 100%; min-width: 100%;
  aspect-ratio: 16/7;
  overflow: hidden;
}
.ts-hero__slide img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1); transition: transform 8s ease;
}
.ts-hero__slide.is-active img { transform: scale(1.04); }
.ts-hero__slide a { display: block; height: 100%; }

.ts-hero__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--vx-surface);
  backdrop-filter: var(--vx-blur-sm);
  -webkit-backdrop-filter: var(--vx-blur-sm);
  border: 1px solid var(--vx-border);
  box-shadow: var(--vx-shadow-md);
  color: var(--vx-text-primary); font-size: 1.4rem; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all var(--vx-dur-fast) var(--vx-spring);
  z-index: 10;
}
.ts-hero__nav:hover { transform: translateY(-50%) scale(1.1); box-shadow: var(--vx-shadow-lg); }
.ts-hero__nav:active { transform: translateY(-50%) scale(0.95); }
.ts-hero__nav--prev { left: 16px; }
.ts-hero__nav--next { right: 16px; }

.ts-hero__dots {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 10;
}
.ts-hero__dot {
  width: 7px; height: 7px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.5); cursor: pointer;
  transition: all var(--vx-dur-base) var(--vx-spring);
}
.ts-hero__dot.is-active {
  background: #fff; width: 22px; border-radius: var(--vx-radius-pill);
}

/* Hero fallback */
.vx-store-hero-fallback {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--vx-bg) 0%, var(--vx-bg-2) 100%);
  text-align: center;
  animation: vxHeroReveal 0.8s var(--vx-spring-soft) both;
}
.vx-store-hero-fallback__inner { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.vx-store-hero-fallback__title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  background: linear-gradient(135deg, var(--vx-text-primary) 0%, var(--vx-text-secondary) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 20px;
}
.vx-store-hero-fallback__lead { font-size: 1.15rem; margin-bottom: 36px; }
.vx-store-hero-fallback__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* =====================================================================
   TRUST STRIP
   ===================================================================== */
.vx-trust-strip {
  padding: 28px 0;
  background: var(--vx-surface-solid);
  border-bottom: 1px solid var(--vx-border);
}
.vx-trust-list {
  display: flex; gap: 0; list-style: none;
  justify-content: center; flex-wrap: wrap;
}
.vx-trust-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 28px;
  border-right: 1px solid var(--vx-border);
  animation: vxSlideUp 0.5s var(--vx-spring-soft) both;
}
.vx-trust-item:last-child { border-right: none; }
.vx-trust-item__icon {
  color: var(--vx-accent); opacity: 0.8; flex-shrink: 0;
  transition: transform var(--vx-dur-base) var(--vx-spring);
}
.vx-trust-item:hover .vx-trust-item__icon { transform: scale(1.15) rotate(-5deg); }
.vx-trust-item__text { font-size: 0.88rem; font-weight: 500; color: var(--vx-text-secondary); }

/* =====================================================================
   SHOWCASE — Carrusel Destacados
   ===================================================================== */
.vx-showcase {
  padding: 56px 0 0;
  overflow: hidden;
}
.vx-showcase__head { padding-bottom: 24px; }
.vx-showcase__head-row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
}
.vx-showcase__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700; letter-spacing: -0.04em; margin: 0 0 6px;
}
.vx-showcase__lead { font-size: 0.95rem; color: var(--vx-text-secondary); margin: 0; }
.vx-showcase__arrows { display: flex; gap: 8px; flex-shrink: 0; }
.vx-showcase__arrow {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--vx-surface-solid); border: 1px solid var(--vx-border);
  box-shadow: var(--vx-shadow-sm); color: var(--vx-text-primary);
  font-size: 1.3rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all var(--vx-dur-fast) var(--vx-spring);
}
.vx-showcase__arrow:hover { transform: scale(1.1); box-shadow: var(--vx-shadow-md); }
.vx-showcase__arrow:active { transform: scale(0.92); }
.vx-showcase__arrow:disabled { opacity: 0.35; cursor: default; transform: none; }

.vx-showcase__bleed { position: relative; }
.vx-showcase__fade {
  position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.vx-showcase__fade--left {
  left: 0;
  background: linear-gradient(to right, var(--vx-bg), transparent);
}
.vx-showcase__fade--right {
  right: 0;
  background: linear-gradient(to left, var(--vx-bg), transparent);
}

.vx-showcase__viewport {
  overflow: hidden; outline: none;
  padding: 8px 0 24px;
}
.vx-showcase__track {
  display: flex; gap: 20px;
  padding: 0 max(24px, calc((100vw - 1280px) / 2));
  transition: transform 0.5s var(--vx-spring-soft);
  will-change: transform;
}

.vx-showcase-card {
  flex: 0 0 min(280px, 72vw);
  animation: vxFadeScale 0.5s var(--vx-spring-soft) both;
}
.vx-showcase-card__frame {
  position: relative; border-radius: var(--vx-radius-lg);
  overflow: hidden; background: var(--vx-surface-solid);
  box-shadow: var(--vx-shadow-md);
  transition: transform var(--vx-dur-base) var(--vx-spring), box-shadow var(--vx-dur-base) ease;
}
.vx-showcase-card__frame:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--vx-shadow-xl);
}
.vx-showcase-card__media {
  display: block; aspect-ratio: 1; overflow: hidden;
}
.vx-showcase-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--vx-ease-out);
}
.vx-showcase-card__frame:hover .vx-showcase-card__media img { transform: scale(1.06); }
.vx-showcase-card__placeholder {
  aspect-ratio: 1; background: var(--vx-bg-2);
}
.vx-showcase-card__shine {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  border-radius: inherit;
}
.vx-showcase-card__fav {
  position: absolute; top: 12px; right: 12px; z-index: 5;
}
.vx-showcase-card__overlay {
  padding: 16px;
  background: var(--vx-surface-solid);
}
.vx-showcase-card__title {
  font-size: 0.95rem; font-weight: 600; margin-bottom: 10px; line-height: 1.3;
}
.vx-showcase-card__title a { color: var(--vx-text-primary); }
.vx-showcase-card__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.vx-showcase-card__price { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.02em; }
.vx-showcase-card__cta-row { display: flex; align-items: center; gap: 8px; }
.vx-showcase-card__cart {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--vx-accent); color: var(--vx-accent-fg);
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  transition: transform var(--vx-dur-fast) var(--vx-spring), box-shadow var(--vx-dur-fast) ease;
}
.vx-showcase-card__cart:hover { transform: scale(1.12); box-shadow: var(--vx-shadow-md); }
.vx-showcase-card__cart:active { transform: scale(0.9); }

/* =====================================================================
   CATÁLOGO — Grid de productos
   ===================================================================== */
.vx-catalog-block { padding: 56px 0; }
.vx-catalog-head { margin-bottom: 36px; }
.vx-catalog-head--pro { display: block; }
.vx-catalog-head__row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.vx-catalog-eyebrow {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--vx-text-secondary); margin-bottom: 6px;
}
.vx-catalog-head__title { margin-bottom: 8px; }
.vx-catalog-head__intro { font-size: 1rem; color: var(--vx-text-secondary); margin: 0; }
.vx-catalog-head__hint { font-size: 0.88rem; margin-top: 8px; }
.vx-catalog-stat {
  font-size: 0.8rem; font-weight: 600; color: var(--vx-text-secondary);
  background: var(--vx-accent-soft); padding: 6px 14px;
  border-radius: var(--vx-radius-pill); white-space: nowrap; flex-shrink: 0;
}

/* Grid de tarjetas */
.vx-pro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 24px 20px;
}

/* Tarjeta de producto */
.vx-card--pro {
  background: var(--vx-surface-solid);
  border-radius: var(--vx-radius-lg);
  border: 1px solid var(--vx-border);
  box-shadow: var(--vx-shadow-sm);
  overflow: hidden;
  transition:
    transform var(--vx-dur-base) var(--vx-spring),
    box-shadow var(--vx-dur-base) ease;
  will-change: transform;
  position: relative;
}
.vx-card--pro:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--vx-shadow-xl);
}
.vx-card--pro[data-vx-reveal] {
  opacity: 0; transform: translateY(24px);
  transition:
    opacity 0.5s var(--vx-spring-soft),
    transform 0.5s var(--vx-spring-soft),
    box-shadow var(--vx-dur-base) ease;
}
.vx-card--pro[data-vx-reveal].is-visible {
  opacity: 1; transform: translateY(0);
}
.vx-card--pro[data-vx-reveal].is-visible:hover {
  transform: translateY(-6px) scale(1.01);
}

.vx-card__toolbar {
  position: absolute; top: 10px; right: 10px; z-index: 5;
  display: flex; gap: 6px;
}
.vx-card__media--pro {
  display: block; aspect-ratio: 1; overflow: hidden;
  background: var(--vx-bg-2);
}
.vx-card__media--pro img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.55s var(--vx-ease-out);
}
.vx-card--pro:hover .vx-card__media--pro img { transform: scale(1.07); }
.vx-media-placeholder {
  width: 100%; aspect-ratio: 1;
  background: linear-gradient(135deg, var(--vx-bg-2) 0%, var(--vx-bg) 100%);
}

.vx-card__info--pro { padding: 14px 16px 16px; }
.vx-card__sku {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--vx-text-tertiary); margin-bottom: 6px;
}
.vx-card__meta-top { margin-bottom: 12px; }
.vx-card__title {
  font-size: 0.95rem; font-weight: 600; line-height: 1.3; margin-bottom: 4px;
}
.vx-card__title a { color: var(--vx-text-primary); }
.vx-card__title a:hover { color: var(--vx-accent); }

.vx-card__action-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.vx-card__price {
  font-size: 1.1rem; font-weight: 700; letter-spacing: -0.025em;
}
.vx-card__cta-row { display: flex; align-items: center; gap: 8px; }

/* Botón icono (añadir al carrito en card) */
.vx-btn-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--vx-accent); color: var(--vx-accent-fg);
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  transition: transform var(--vx-dur-fast) var(--vx-spring), box-shadow var(--vx-dur-fast) ease;
  flex-shrink: 0;
}
.vx-btn-icon:hover { transform: scale(1.12); box-shadow: var(--vx-shadow-md); }
.vx-btn-icon:active { transform: scale(0.9); }

/* Botón favorito */
.vx-fav-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--vx-surface); backdrop-filter: var(--vx-blur-sm);
  -webkit-backdrop-filter: var(--vx-blur-sm);
  border: 1px solid var(--vx-border); color: var(--vx-text-secondary);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all var(--vx-dur-fast) var(--vx-spring);
}
.vx-fav-btn:hover { transform: scale(1.12); color: var(--vx-red); border-color: var(--vx-red); }
.vx-fav-btn.is-favorited { color: var(--vx-red); border-color: var(--vx-red); background: rgba(255,59,48,0.1); }
.vx-fav-btn--pro { width: 34px; height: 34px; }

/* Compartir */
.vx-share-cluster { display: flex; align-items: center; }
.vx-share-ic {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--vx-accent-soft); border: 1px solid var(--vx-border);
  color: var(--vx-text-secondary); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--vx-dur-fast) var(--vx-spring);
}
.vx-share-ic:hover { transform: scale(1.1); color: var(--vx-blue); border-color: var(--vx-blue); }

/* Badges */
.vx-badge-stock {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: var(--vx-radius-pill);
  font-size: 0.75rem; font-weight: 600;
  background: rgba(52,199,89,0.12); color: var(--vx-green);
  border: 1px solid rgba(52,199,89,0.2);
}
.vx-badge-stock--ok {
  background: rgba(52,199,89,0.12); color: var(--vx-green); border: 1px solid rgba(52,199,89,0.2);
}
.vx-badge-stock--low { background: rgba(255,149,0,0.12); color: var(--vx-orange); border-color: rgba(255,149,0,0.2); }
.vx-badge-stock--out { background: rgba(255,59,48,0.1); color: var(--vx-red); border-color: rgba(255,59,48,0.15); }

/* Precio blur */
.vx-price-blur {
  filter: blur(5px); user-select: none; pointer-events: none;
  transition: filter 0.3s ease;
}
.vx-price-hidden { color: var(--vx-text-tertiary); font-style: italic; font-size: 0.9rem; }

/* Estado vacío */
.vx-empty-state {
  text-align: center; padding: 80px 24px;
  background: var(--vx-surface-solid); border-radius: var(--vx-radius-xl);
  border: 1px solid var(--vx-border); box-shadow: var(--vx-shadow-sm);
  max-width: 560px; margin: 0 auto;
  animation: vxFadeScale 0.4s var(--vx-spring-soft);
}
.vx-empty-state__icon {
  font-size: 3rem; margin-bottom: 20px; opacity: 0.4;
  animation: vxBounce 2s ease-in-out infinite;
}
.vx-empty-state__title {
  font-size: 1.2rem; font-weight: 600; margin-bottom: 16px; color: var(--vx-text-secondary);
}

/* =====================================================================
   CTA BAND
   ===================================================================== */
.vx-home-cta-band {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--vx-surface-solid) 0%, var(--vx-bg-2) 100%);
  border-top: 1px solid var(--vx-border);
  position: relative; overflow: hidden;
}
.vx-home-cta-band::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, var(--vx-accent-soft), transparent);
}
.vx-home-cta-band__inner { position: relative; z-index: 1; text-align: center; }
.vx-home-cta-band__lead { max-width: 540px; margin: 0 auto 36px; }
.vx-home-cta-band__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* =====================================================================
   BOTONES
   ===================================================================== */
.vx-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 14px 28px;
  background: var(--vx-accent); color: var(--vx-accent-fg);
  border: none; border-radius: var(--vx-radius-pill);
  font-family: var(--vx-font); font-size: 0.95rem; font-weight: 600;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition:
    transform var(--vx-dur-fast) var(--vx-spring),
    box-shadow var(--vx-dur-fast) ease,
    opacity var(--vx-dur-fast) ease;
  box-shadow: var(--vx-shadow-sm);
}
.vx-btn:hover { transform: translateY(-2px) scale(1.02); box-shadow: var(--vx-shadow-lg); }
.vx-btn:active { transform: scale(0.97); box-shadow: var(--vx-shadow-xs); }
.vx-btn--outline {
  background: transparent; color: var(--vx-text-primary);
  border: 1.5px solid var(--vx-border-strong);
  box-shadow: none;
}
.vx-btn--outline:hover { background: var(--vx-accent-soft); box-shadow: var(--vx-shadow-sm); }
.vx-btn--accent-line { border-color: var(--vx-accent); color: var(--vx-accent); }
.vx-btn--sm { padding: 9px 18px; font-size: 0.85rem; }
.vx-btn--ghost { background: var(--vx-accent-soft); color: var(--vx-text-primary); box-shadow: none; }
.vx-btn--ghost:hover { background: var(--vx-border-strong); }
.vx-btn--danger { background: var(--vx-red); color: #fff; }
.vx-btn--success { background: var(--vx-green); color: #fff; }

/* =====================================================================
   FORMULARIOS
   ===================================================================== */
.vx-form-group { margin-bottom: 20px; }
.vx-label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--vx-text-secondary); margin-bottom: 7px; letter-spacing: 0.01em;
}
.vx-input, .vx-select, .vx-textarea {
  width: 100%; padding: 12px 16px;
  background: var(--vx-surface-solid); color: var(--vx-text-primary);
  border: 1.5px solid var(--vx-border-strong); border-radius: var(--vx-radius-md);
  font-family: var(--vx-font); font-size: 0.95rem; outline: none;
  transition: border-color var(--vx-dur-fast) ease, box-shadow var(--vx-dur-fast) ease;
  -webkit-appearance: none;
  appearance: none;
}
.vx-input:focus, .vx-select:focus, .vx-textarea:focus {
  border-color: var(--vx-accent);
  box-shadow: 0 0 0 3px var(--vx-accent-soft);
}
.vx-input.is-error, .vx-select.is-error { border-color: var(--vx-red); }
.vx-input.is-error:focus { box-shadow: 0 0 0 3px rgba(255,59,48,0.12); }
.vx-textarea { resize: vertical; min-height: 100px; }
.vx-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2386868b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.vx-field-error { font-size: 0.8rem; color: var(--vx-red); margin-top: 5px; display: none; }
.vx-field-error.is-visible { display: block; animation: vxSlideUp 0.2s ease; }

/* =====================================================================
   ALERTAS
   ===================================================================== */
.vx-alert {
  padding: 14px 18px; border-radius: var(--vx-radius-md);
  font-size: 0.9rem; font-weight: 500; margin-bottom: 16px;
  border: 1px solid transparent;
  animation: vxSlideUp 0.3s var(--vx-spring-soft);
}
.vx-alert-danger { background: rgba(255,59,48,0.1); color: var(--vx-red); border-color: rgba(255,59,48,0.2); }
.vx-alert-warning { background: rgba(255,149,0,0.1); color: var(--vx-orange); border-color: rgba(255,149,0,0.2); }
.vx-alert-success { background: rgba(52,199,89,0.1); color: var(--vx-green); border-color: rgba(52,199,89,0.2); }
.vx-alert-info { background: rgba(0,122,255,0.1); color: var(--vx-blue); border-color: rgba(0,122,255,0.2); }

/* =====================================================================
   MINI-CART DRAWER
   ===================================================================== */
.vx-drawer-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: vxOverlayIn 0.25s ease;
}
.vx-drawer-overlay.is-closing { animation: vxOverlayIn 0.2s ease reverse; }

.vx-mini-cart {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 1001;
  width: min(420px, 100vw);
  background: var(--vx-surface-raised);
  backdrop-filter: var(--vx-blur);
  -webkit-backdrop-filter: var(--vx-blur);
  border-left: 1px solid var(--vx-border);
  box-shadow: var(--vx-shadow-float);
  display: flex; flex-direction: column;
  animation: vxDrawerIn 0.35s var(--vx-spring-soft) both;
  border-radius: var(--vx-radius-xl) 0 0 var(--vx-radius-xl);
}
.vx-mini-cart.is-closing { animation: vxDrawerOut 0.25s var(--vx-ease-in-out) both; }

.vx-mini-cart__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px 16px; border-bottom: 1px solid var(--vx-border);
  flex-shrink: 0;
}
.vx-mini-cart__title { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; }
.vx-mini-cart__close {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--vx-accent-soft); border: none; cursor: pointer;
  color: var(--vx-text-primary); font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--vx-dur-fast) var(--vx-spring);
}
.vx-mini-cart__close:hover { background: var(--vx-border-strong); transform: scale(1.1); }

.vx-mini-cart__body { flex: 1; overflow-y: auto; padding: 16px 24px; }
.vx-mini-cart__empty {
  text-align: center; padding: 60px 20px;
  color: var(--vx-text-secondary); font-size: 0.95rem;
}
.vx-mini-cart__empty-icon { font-size: 2.5rem; margin-bottom: 12px; opacity: 0.4; }

.vx-mini-cart-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 0; border-bottom: 1px solid var(--vx-divider);
  animation: vxSlideInRight 0.3s var(--vx-spring-soft);
}
.vx-mini-cart-item:last-child { border-bottom: none; }
.vx-mini-cart-item__img {
  width: 64px; height: 64px; border-radius: var(--vx-radius-sm);
  object-fit: cover; background: var(--vx-bg-2); flex-shrink: 0;
}
.vx-mini-cart-item__info { flex: 1; min-width: 0; }
.vx-mini-cart-item__name { font-size: 0.88rem; font-weight: 600; margin-bottom: 4px; line-height: 1.3; }
.vx-mini-cart-item__meta { font-size: 0.8rem; color: var(--vx-text-secondary); }
.vx-mini-cart-item__price { font-size: 0.95rem; font-weight: 700; margin-top: 6px; }
.vx-mini-cart-item__remove {
  width: 28px; height: 28px; border-radius: 50%;
  background: transparent; border: none; cursor: pointer;
  color: var(--vx-text-tertiary); font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--vx-dur-fast) ease; flex-shrink: 0;
}
.vx-mini-cart-item__remove:hover { color: var(--vx-red); background: rgba(255,59,48,0.1); }

.vx-mini-cart__footer {
  padding: 16px 24px 28px; border-top: 1px solid var(--vx-border);
  flex-shrink: 0;
}
.vx-mini-cart__subtotal {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px; font-size: 1rem;
}
.vx-mini-cart__subtotal-label { color: var(--vx-text-secondary); font-weight: 500; }
.vx-mini-cart__subtotal-amount { font-weight: 700; font-size: 1.1rem; }
.vx-mini-cart__actions { display: flex; flex-direction: column; gap: 10px; }

/* =====================================================================
   CARRITO COMPLETO
   ===================================================================== */
.vx-cart-layout {
  display: grid; grid-template-columns: 1fr min(360px, 35%);
  gap: 32px; align-items: start;
}
.vx-cart-lines { display: flex; flex-direction: column; gap: 0; }
.vx-cart-line {
  display: grid; grid-template-columns: 80px 1fr auto auto;
  gap: 16px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--vx-divider);
  animation: vxSlideInLeft 0.3s var(--vx-spring-soft);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.vx-cart-line.is-removing { opacity: 0; transform: translateX(-20px); }
.vx-cart-line__img {
  width: 80px; height: 80px; border-radius: var(--vx-radius-sm);
  object-fit: cover; background: var(--vx-bg-2);
}
.vx-cart-line__name { font-weight: 600; font-size: 0.95rem; margin-bottom: 4px; }
.vx-cart-line__sku { font-size: 0.78rem; color: var(--vx-text-secondary); }
.vx-cart-line__qty {
  width: 80px; text-align: center; font-weight: 600;
  padding: 8px 12px;
}
.vx-cart-line__total { font-weight: 700; font-size: 1rem; white-space: nowrap; }
.vx-cart-line__remove {
  width: 32px; height: 32px; border-radius: 50%;
  background: transparent; border: none; cursor: pointer;
  color: var(--vx-text-tertiary);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--vx-dur-fast) ease;
}
.vx-cart-line__remove:hover { color: var(--vx-red); background: rgba(255,59,48,0.1); }

.vx-cart-summary {
  background: var(--vx-surface-solid); border-radius: var(--vx-radius-xl);
  border: 1px solid var(--vx-border); box-shadow: var(--vx-shadow-md);
  padding: 28px; position: sticky; top: calc(var(--vx-nav-height) + 80px);
}
.vx-cart-summary__title { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; }
.vx-cart-summary__row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--vx-divider);
  font-size: 0.9rem;
}
.vx-cart-summary__row:last-of-type { border-bottom: none; }
.vx-cart-summary__row--total {
  font-size: 1.1rem; font-weight: 700; padding-top: 16px;
  border-top: 2px solid var(--vx-border-strong); border-bottom: none;
}
.vx-cart-summary__actions { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.vx-cart-summary__hint { font-size: 0.8rem; color: var(--vx-text-tertiary); text-align: center; margin-top: 12px; }

/* =====================================================================
   CHECKOUT — Stepper
   ===================================================================== */
.vx-checkout-stepper {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin-bottom: 40px;
}
.vx-checkout-step {
  display: flex; align-items: center; gap: 10px;
}
.vx-checkout-step__num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--vx-accent-soft); color: var(--vx-text-secondary);
  border: 2px solid var(--vx-border-strong);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700;
  transition: all var(--vx-dur-base) var(--vx-spring);
}
.vx-checkout-step.is-active .vx-checkout-step__num {
  background: var(--vx-accent); color: var(--vx-accent-fg);
  border-color: var(--vx-accent);
  box-shadow: 0 0 0 4px var(--vx-accent-soft);
  animation: vxStepComplete 0.4s var(--vx-spring);
}
.vx-checkout-step.is-done .vx-checkout-step__num {
  background: var(--vx-green); color: #fff; border-color: var(--vx-green);
}
.vx-checkout-step__label {
  font-size: 0.82rem; font-weight: 600; color: var(--vx-text-secondary);
  white-space: nowrap;
}
.vx-checkout-step.is-active .vx-checkout-step__label { color: var(--vx-text-primary); }
.vx-checkout-connector {
  flex: 1; max-width: 60px; height: 2px;
  background: var(--vx-border-strong); margin: 0 8px;
  border-radius: 2px; overflow: hidden;
}
.vx-checkout-connector.is-done { background: var(--vx-green); }

.vx-checkout-layout {
  display: grid; grid-template-columns: 1fr min(380px, 38%);
  gap: 32px; align-items: start;
}
.vx-checkout-form-card {
  background: var(--vx-surface-solid); border-radius: var(--vx-radius-xl);
  border: 1px solid var(--vx-border); box-shadow: var(--vx-shadow-md);
  padding: 32px;
}
.vx-checkout-form-title {
  font-size: 1.1rem; font-weight: 700; margin-bottom: 24px;
  padding-bottom: 16px; border-bottom: 1px solid var(--vx-border);
}
.vx-checkout-order-summary {
  background: var(--vx-surface-solid); border-radius: var(--vx-radius-xl);
  border: 1px solid var(--vx-border); box-shadow: var(--vx-shadow-md);
  padding: 28px; position: sticky; top: calc(var(--vx-nav-height) + 80px);
}
.vx-checkout-order-item {
  display: flex; gap: 12px; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--vx-divider);
}
.vx-checkout-order-item:last-child { border-bottom: none; }
.vx-checkout-order-item__name { flex: 1; font-size: 0.88rem; font-weight: 500; }
.vx-checkout-order-item__qty { font-size: 0.8rem; color: var(--vx-text-secondary); margin-left: 4px; }
.vx-checkout-order-item__price { font-size: 0.9rem; font-weight: 600; white-space: nowrap; }

/* Checkout: instrucciones del modo de pago (descripción CRM) */
.vx-pm-details-wrap { margin-top: 4px; }
.vx-pm-details.vx-prose {
  padding: 14px 16px; border-radius: var(--vx-radius-md);
  background: var(--vx-bg-2); border: 1px solid var(--vx-border);
  font-size: 0.9rem; line-height: 1.55; color: var(--vx-text);
}
.vx-pm-details.vx-prose :first-child { margin-top: 0; }
.vx-pm-details.vx-prose :last-child { margin-bottom: 0; }

/* Zona drag-and-drop comprobantes */
.vx-proof-dropzone {
  position: relative; border: 2px dashed var(--vx-border);
  border-radius: var(--vx-radius-md); padding: 22px 16px;
  text-align: center; background: var(--vx-bg-2);
  transition: border-color var(--vx-dur-fast) ease, background var(--vx-dur-fast) ease;
  outline: none;
}
.vx-proof-dropzone.is-dragover {
  border-color: var(--vx-accent, #2563eb);
  background: var(--vx-accent-soft, rgba(37, 99, 235, 0.08));
}
.vx-proof-dropzone__input {
  position: absolute; width: 0.1px; height: 0.1px; opacity: 0; overflow: hidden; z-index: -1;
}
.vx-proof-dropzone__ui {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  pointer-events: none;
}
.vx-proof-dropzone__ui .vx-btn { pointer-events: auto; }
.vx-proof-dropzone__text { font-size: 0.88rem; color: var(--vx-text-secondary); max-width: 280px; }

.vx-proof-previews {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px; margin-top: 14px;
}
.vx-proof-card {
  border: 1px solid var(--vx-border); border-radius: var(--vx-radius-md);
  overflow: hidden; background: var(--vx-surface-solid);
  box-shadow: var(--vx-shadow-sm);
}
.vx-proof-card__preview {
  height: 100px; background: var(--vx-bg-2);
  display: flex; align-items: center; justify-content: center;
}
.vx-proof-card__preview img {
  width: 100%; height: 100%; object-fit: cover;
}
.vx-proof-card__pdf {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 0.75rem; color: var(--vx-text-secondary);
  padding: 8px;
}
.vx-proof-card__pdf .fa-file-pdf { font-size: 2rem; color: #b91c1c; }
.vx-proof-card__meta {
  padding: 8px; display: flex; flex-direction: column; gap: 6px;
}
.vx-proof-card__name {
  font-size: 0.72rem; color: var(--vx-text-secondary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vx-proof-card__remove {
  font-size: 0.72rem; padding: 4px 8px; border-radius: var(--vx-radius-sm);
  border: 1px solid #dc2626; background: transparent;
  color: #dc2626; cursor: pointer; font-weight: 600;
}
.vx-proof-card__remove:hover {
  background: rgba(220, 38, 38, 0.12);
  border-color: #b91c1c;
  color: #b91c1c;
}
.vx-proof-card__remove:focus-visible {
  outline: 2px solid #dc2626;
  outline-offset: 2px;
}

/* =====================================================================
   FAVORITOS
   ===================================================================== */
.vx-page-favorites { display: block; }
.vx-favorites-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px; flex-wrap: wrap; gap: 16px;
}
.vx-favorites-count {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--vx-accent-soft); padding: 6px 14px;
  border-radius: var(--vx-radius-pill); font-size: 0.85rem; font-weight: 600;
  transition: all var(--vx-dur-base) var(--vx-spring);
}

/* =====================================================================
   BÚSQUEDA
   ===================================================================== */
.vx-store-search__back { margin: -8px 0 20px; }
.vx-store-search__back a {
  color: var(--vx-blue); text-decoration: none; font-size: 0.9rem; font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
  transition: opacity var(--vx-dur-fast) ease;
}
.vx-store-search__back a:hover { opacity: 0.7; }

/* =====================================================================
   FICHA DE PRODUCTO
   ===================================================================== */
.vx-product-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: start;
  max-width: 1100px; margin: 0 auto;
}
.vx-product-gallery {
  position: sticky; top: calc(var(--vx-nav-height) + 80px);
}
.vx-product-gallery__main {
  border-radius: var(--vx-radius-xl); overflow: hidden;
  background: var(--vx-surface-solid); border: 1px solid var(--vx-border);
  box-shadow: var(--vx-shadow-md); position: relative;
  aspect-ratio: 1;
}
.vx-product-gallery__main img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--vx-ease-out);
  cursor: zoom-in;
}
.vx-product-gallery__main img.is-zoomed { transform: scale(1.6); cursor: zoom-out; }
.vx-product-gallery__placeholder {
  aspect-ratio: 1; background: linear-gradient(135deg, var(--vx-bg-2) 0%, var(--vx-bg) 100%);
  border-radius: var(--vx-radius-xl);
}

/* Barra de progreso de scroll */
.vx-scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 2000;
  background: transparent;
}
.vx-scroll-progress__bar {
  height: 100%; background: var(--vx-accent);
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

.vx-product-main { padding-top: 8px; }
.vx-product-main .vx-h1 { margin-bottom: 12px; }
.vx-product-price {
  font-size: 2.5rem; font-weight: 700; letter-spacing: -0.04em;
  margin-bottom: 24px; line-height: 1;
}
.vx-product-price__currency { font-size: 1.4rem; vertical-align: top; margin-top: 6px; display: inline-block; }

/* Stepper de cantidad */
.vx-qty-stepper {
  display: flex; align-items: center; gap: 0;
  background: var(--vx-accent-soft); border-radius: var(--vx-radius-pill);
  border: 1.5px solid var(--vx-border-strong);
  overflow: hidden; width: fit-content;
}
.vx-qty-stepper__btn {
  width: 44px; height: 44px; border: none; background: transparent;
  color: var(--vx-text-primary); font-size: 1.2rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--vx-dur-fast) ease, transform var(--vx-dur-fast) var(--vx-spring);
}
.vx-qty-stepper__btn:hover { background: var(--vx-border-strong); }
.vx-qty-stepper__btn:active { transform: scale(0.85); }
.vx-qty-stepper__input {
  width: 60px; text-align: center; border: none; background: transparent;
  font-family: var(--vx-font); font-size: 1rem; font-weight: 700;
  color: var(--vx-text-primary); outline: none; padding: 0;
}

.vx-product-cart-card {
  background: var(--vx-surface-solid); border-radius: var(--vx-radius-xl);
  border: 1px solid var(--vx-border); box-shadow: var(--vx-shadow-md);
  padding: 24px; margin-top: 24px;
}
.vx-product-cart-row {
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
}
.vx-product-cart-actions {
  display: flex; align-items: center; gap: 12px; flex: 1;
}
.vx-product-cart-submit { flex: 1; }

/* Productos relacionados */
.vx-related-products { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--vx-border); }
.vx-related-products__title {
  font-size: 1.5rem; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 28px;
}

/* =====================================================================
   CUENTA — Dashboard (nuevo layout)
   ===================================================================== */
.vx-page-account main.vx-container {
  padding-bottom: clamp(32px, 6vw, 64px);
}

/* Dos columnas: menú principal + panel gráfico (desktop) */
.vx-account-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 28px);
  max-width: 1180px;
  margin: 0 auto;
  align-items: start;
}
@media (min-width: 1024px) {
  .vx-account-layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: clamp(24px, 3.5vw, 40px);
  }
  .vx-account-layout__aside {
    position: sticky;
    top: calc(var(--vx-header-h, 72px) + 16px);
  }
}
.vx-account-layout__main {
  min-width: 0;
}

.vx-account-dash {
  max-width: none;
  margin: 0;
}

.vx-account-layout__aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.vx-account-widget {
  padding: clamp(18px, 2.5vw, 22px);
  border-radius: var(--vx-radius-xl);
  background: var(--vx-surface-solid);
  border: 1px solid var(--vx-border);
  box-shadow: var(--vx-shadow-sm);
  animation: vxSlideUp 0.5s var(--vx-spring-soft) both;
}
.vx-account-widget:nth-child(2) { animation-delay: 0.05s; }
.vx-account-widget:nth-child(3) { animation-delay: 0.1s; }

.vx-account-widget__h {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--vx-text-primary);
}
.vx-account-widget__sub {
  margin: 0 0 16px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--vx-text-secondary);
}

.vx-account-bars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.vx-account-bars__row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 4px 10px;
  align-items: center;
}
.vx-account-bars__lbl {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--vx-text-secondary);
}
.vx-account-bars__num {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--vx-text-primary);
  grid-column: 2;
  grid-row: 1;
}
.vx-account-bars__track {
  grid-column: 1 / -1;
  height: 8px;
  border-radius: var(--vx-radius-pill);
  background: var(--vx-bg-2);
  overflow: hidden;
}
.vx-account-bars__fill {
  display: block;
  height: 100%;
  min-width: 0;
  border-radius: var(--vx-radius-pill);
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.vx-account-bars__fill--orders { background: linear-gradient(90deg, #6366f1, #8b5cf6); }
.vx-account-bars__fill--ots { background: linear-gradient(90deg, #0d9488, #14b8a6); }
.vx-account-bars__fill--inv { background: linear-gradient(90deg, #ea580c, #f97316); }
.vx-account-bars__fill--est { background: linear-gradient(90deg, #2563eb, #3b82f6); }
.vx-account-bars__fill--fav { background: linear-gradient(90deg, #db2777, #ec4899); }
.vx-account-bars__fill--veh { background: linear-gradient(90deg, #0f766e, #0d9488); }
.vx-account-kpi--veh .vx-account-kpi__icon { color: #0d9488; }
.vx-garage-page { max-width: 900px; margin: 0 auto; }
.vx-garage-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px;
}
.vx-garage-card {
  display: flex; align-items: stretch; gap: 14px; padding: 14px 16px; border-radius: var(--vx-radius-lg);
  border: 1px solid var(--vx-border); background: var(--vx-surface-solid); text-decoration: none; color: inherit;
  transition: border-color var(--vx-dur-fast) ease, box-shadow var(--vx-dur-fast) ease, transform var(--vx-dur-fast) var(--vx-spring);
}
.vx-garage-card:hover { border-color: color-mix(in srgb, var(--vx-blue) 35%, var(--vx-border)); box-shadow: var(--vx-shadow-sm); transform: translateY(-1px); }
.vx-garage-card__media { width: 72px; height: 72px; border-radius: var(--vx-radius-md); overflow: hidden; flex-shrink: 0; background: var(--vx-accent-soft); }
.vx-garage-card__media img { width: 100%; height: 100%; object-fit: cover; }
.vx-garage-card__placeholder { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--vx-text-secondary); }
.vx-garage-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.vx-garage-card__title { font-weight: 800; font-size: 1rem; letter-spacing: -0.02em; }
.vx-garage-card__sub { font-size: 0.85rem; color: var(--vx-text-secondary); }
.vx-garage-card__chev { align-self: center; font-size: 1.25rem; color: var(--vx-text-secondary); }
.vx-garage-detail-head { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; margin-top: 8px; }
.vx-garage-detail-head__media { width: 120px; height: 120px; border-radius: var(--vx-radius-lg); overflow: hidden; background: var(--vx-accent-soft); flex-shrink: 0; }
.vx-garage-detail-head__media img { width: 100%; height: 100%; object-fit: cover; }
.vx-garage-detail-head__ph { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; font-size: 2.5rem; color: var(--vx-text-secondary); }
.vx-garage-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin: 0; }
@media (max-width: 560px) { .vx-garage-dl { grid-template-columns: 1fr; } }
.vx-garage-dl dt { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--vx-text-secondary); margin: 0; }
.vx-garage-dl dd { margin: 2px 0 0; font-size: 0.92rem; font-weight: 600; color: var(--vx-text-primary); }
.vx-garage-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-top: 8px; }
.vx-garage-form-grid--full { grid-column: 1 / -1; }
@media (max-width: 600px) { .vx-garage-form-grid { grid-template-columns: 1fr; } }
.vx-garage-form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.vx-garage-hint { margin: 4px 0 0; font-size: 0.85rem; color: var(--vx-text-secondary); line-height: 1.45; }

.vx-account-ring-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  justify-content: center;
}
.vx-account-ring {
  --vx-ring-pct: 0;
  flex-shrink: 0;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: conic-gradient(
    from -90deg,
    #f97316 0 calc(var(--vx-ring-pct) * 3.6deg),
    var(--vx-accent-soft) calc(var(--vx-ring-pct) * 3.6deg) 360deg
  );
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--vx-border) 80%, transparent);
}
.vx-account-ring__hole {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: var(--vx-surface-solid);
  border: 1px solid var(--vx-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
  box-shadow: var(--vx-shadow-xs);
}
.vx-account-ring__pct {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--vx-text-primary);
  line-height: 1.1;
}
.vx-account-ring__hint {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--vx-text-tertiary);
  margin-top: 2px;
  max-width: 72px;
  line-height: 1.2;
}
.vx-account-ring-legend {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.82rem;
}
.vx-account-ring-legend > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 12px;
  border-radius: var(--vx-radius-md);
  background: var(--vx-bg-2);
}
.vx-account-ring-legend dt {
  margin: 0;
  font-weight: 600;
  color: var(--vx-text-secondary);
}
.vx-account-ring-legend dd {
  margin: 0;
  font-weight: 800;
  color: var(--vx-text-primary);
}

.vx-account-tip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vx-account-tip-list a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--vx-radius-md);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--vx-blue);
  text-decoration: none;
  background: var(--vx-accent-soft);
  transition: background var(--vx-dur-fast) ease;
}
.vx-account-tip-list a:hover {
  background: color-mix(in srgb, var(--vx-blue) 14%, var(--vx-accent-soft));
}

.vx-account-dash__hero {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 24px);
  margin-bottom: clamp(28px, 4vw, 40px);
  padding: clamp(18px, 3vw, 26px);
  border-radius: var(--vx-radius-xl);
  background: var(--vx-surface-solid);
  border: 1px solid var(--vx-border);
  box-shadow: var(--vx-shadow-sm);
  animation: vxSlideUp 0.45s var(--vx-spring-soft) both;
}

.vx-account-dash__avatar {
  flex-shrink: 0;
  width: clamp(64px, 14vw, 88px);
  height: clamp(64px, 14vw, 88px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--vx-shadow-md);
  overflow: hidden;
}

.vx-account-dash__avatar--fallback {
  background: linear-gradient(145deg, var(--vx-accent) 0%, color-mix(in srgb, var(--vx-accent) 72%, #000) 100%);
  color: var(--vx-accent-fg);
}

.vx-account-dash__avatar--photo {
  background: var(--vx-bg-2);
  border: 1px solid var(--vx-border);
}

.vx-account-dash__avatar--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vx-account-dash__avatar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.vx-account-dash__avatar-icon svg {
  width: 54%;
  height: 54%;
  flex-shrink: 0;
  opacity: 0.95;
}

.vx-account-dash__intro { min-width: 0; text-align: left; }

.vx-account-dash__eyebrow {
  margin: 0 0 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vx-text-secondary);
}

.vx-account-dash__name {
  margin: 0 0 6px;
  font-family: var(--vx-font-display, "Syne", system-ui, sans-serif);
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--vx-text-primary);
}

.vx-account-dash__company {
  margin: 0;
  font-size: 0.9rem;
  color: var(--vx-text-secondary);
  line-height: 1.45;
}

/* KPIs — tarjetas clicables */
.vx-account-dash__kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.vx-account-kpi {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto auto;
  column-gap: 14px;
  row-gap: 2px;
  align-items: center;
  padding: 18px 18px 16px;
  border-radius: var(--vx-radius-lg);
  background: var(--vx-surface-solid);
  border: 1px solid var(--vx-border);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--vx-shadow-xs);
  transition:
    border-color var(--vx-dur-fast) ease,
    box-shadow var(--vx-dur-fast) ease,
    transform var(--vx-dur-fast) var(--vx-spring);
  animation: vxFadeScale 0.4s var(--vx-spring-soft) both;
}

.vx-account-kpi:hover {
  border-color: var(--vx-accent);
  box-shadow: var(--vx-shadow-lg);
  transform: translateY(-2px);
}

.vx-account-kpi__icon {
  grid-row: 1 / span 3;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--vx-accent-soft);
  color: var(--vx-accent);
  font-size: 1.15rem;
}

.vx-account-kpi--ot .vx-account-kpi__icon {
  color: #0d9488;
}

.vx-account-kpi__num {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--vx-text-primary);
}

.vx-account-kpi__lbl {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--vx-text-secondary);
}

.vx-account-kpi__hint {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--vx-blue);
}

/* Panel lista */
.vx-account-dash__panel {
  margin-bottom: 28px;
}

.vx-account-dash__h2 {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--vx-text-secondary);
}

.vx-account-dash__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vx-account-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--vx-radius-lg);
  background: var(--vx-surface-solid);
  border: 1px solid var(--vx-border);
  text-decoration: none;
  color: var(--vx-text-primary);
  transition:
    border-color var(--vx-dur-fast) ease,
    background var(--vx-dur-fast) ease,
    transform var(--vx-dur-fast) var(--vx-spring);
  box-shadow: var(--vx-shadow-xs);
}

.vx-account-row:hover {
  border-color: var(--vx-accent);
  transform: translateX(4px);
  box-shadow: var(--vx-shadow-md);
}

.vx-account-row__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--vx-bg-2);
  color: var(--vx-text-secondary);
  font-size: 1.1rem;
}

.vx-account-row--accent .vx-account-row__icon {
  background: var(--vx-accent-soft);
  color: var(--vx-accent);
}

.vx-account-row__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vx-account-row__title {
  font-size: 0.98rem;
  font-weight: 700;
}

.vx-account-row__desc {
  font-size: 0.82rem;
  color: var(--vx-text-secondary);
  line-height: 1.35;
}

.vx-account-row__chev {
  flex-shrink: 0;
  color: var(--vx-text-secondary);
  font-size: 0.85rem;
  opacity: 0.65;
}

.vx-account-dash__logout {
  padding-top: 8px;
  border-top: 1px solid var(--vx-border);
  margin-top: 8px;
}

.vx-account-logout {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--vx-radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--vx-red);
  text-decoration: none;
  transition: background var(--vx-dur-fast) ease;
}

.vx-account-logout:hover {
  background: color-mix(in srgb, var(--vx-red) 12%, transparent);
}

/* Legacy (otras vistas si aún usan clases antiguas) */
.vx-account-page { max-width: 900px; margin: 0 auto; }
.vx-account-hero {
  text-align: center; margin-bottom: 48px;
  animation: vxSlideUp 0.5s var(--vx-spring-soft);
}
.vx-account-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--vx-accent); color: var(--vx-accent-fg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; font-weight: 700; letter-spacing: -0.02em;
  margin: 0 auto 16px;
  box-shadow: var(--vx-shadow-lg);
  animation: vxSpringIn 0.6s var(--vx-spring-soft);
}
.vx-account-name {
  font-size: 1.5rem; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 4px;
}
.vx-account-company { font-size: 0.95rem; color: var(--vx-text-secondary); }

.vx-account-stats {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 40px;
}
.vx-account-stat {
  background: var(--vx-surface-solid); border: 1px solid var(--vx-border);
  border-radius: var(--vx-radius-lg); padding: 16px 24px; text-align: center;
  box-shadow: var(--vx-shadow-xs);
  animation: vxFadeScale 0.4s var(--vx-spring-soft) both;
}
.vx-account-stat__num {
  font-size: 1.8rem; font-weight: 700; letter-spacing: -0.04em; margin-bottom: 4px;
}
.vx-account-stat__label { font-size: 0.78rem; color: var(--vx-text-secondary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }

/* Bento grid */
.vx-bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
  gap: 16px;
}
.vx-bento-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; padding: 32px 20px;
  background: var(--vx-surface-solid); border-radius: var(--vx-radius-xl);
  border: 1px solid var(--vx-border); box-shadow: var(--vx-shadow-sm);
  text-decoration: none; color: var(--vx-text-primary);
  transition: all var(--vx-dur-base) var(--vx-spring);
  text-align: center;
  animation: vxFadeScale 0.4s var(--vx-spring-soft) both;
}
.vx-bento-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--vx-shadow-xl);
  border-color: var(--vx-accent);
}
.vx-bento-card:active { transform: scale(0.97); }
.vx-bento-card svg { opacity: 0.7; transition: opacity var(--vx-dur-fast) ease, transform var(--vx-dur-base) var(--vx-spring); }
.vx-bento-card:hover svg { opacity: 1; transform: scale(1.1); }
.vx-bento-card span { font-size: 0.95rem; font-weight: 600; }
.vx-bento-card__desc { font-size: 0.8rem; color: var(--vx-text-secondary); margin-top: -8px; }
.vx-bento-card--accent {
  background: var(--vx-accent); color: var(--vx-accent-fg);
  border-color: transparent;
}
.vx-bento-card--accent svg { opacity: 0.9; }
.vx-bento-card--accent .vx-bento-card__desc { color: rgba(255,255,255,0.7); }
[data-theme="dark"] .vx-bento-card--accent { color: var(--vx-accent-fg); }

/* =====================================================================
   PEDIDOS — Lista
   ===================================================================== */
.vx-orders-header { margin-bottom: 32px; }
.vx-orders-tabs {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px;
}
.vx-orders-tab {
  padding: 8px 18px; border-radius: var(--vx-radius-pill);
  background: var(--vx-accent-soft); border: 1px solid var(--vx-border);
  font-size: 0.85rem; font-weight: 600; cursor: pointer; color: var(--vx-text-secondary);
  transition: all var(--vx-dur-fast) ease;
}
.vx-orders-tab.is-active {
  background: var(--vx-accent); color: var(--vx-accent-fg); border-color: transparent;
}
.vx-orders-tab:hover:not(.is-active) { background: var(--vx-border-strong); color: var(--vx-text-primary); }

.vx-order-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.vx-order-list-card {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; background: var(--vx-surface-solid);
  border-radius: var(--vx-radius-lg); border: 1px solid var(--vx-border);
  box-shadow: var(--vx-shadow-xs); text-decoration: none; color: var(--vx-text-primary);
  transition: all var(--vx-dur-base) var(--vx-spring);
  animation: vxSlideUp 0.4s var(--vx-spring-soft) both;
}
.vx-order-list-card:hover {
  transform: translateY(-3px); box-shadow: var(--vx-shadow-lg);
  border-color: var(--vx-accent);
}
.vx-order-list-card__top {
  display: flex; align-items: center; gap: 12px; flex: 1; flex-wrap: wrap;
}
.vx-order-list-card__number { font-weight: 700; font-size: 0.95rem; font-family: var(--vx-font-mono); }
.vx-order-list-card__meta {
  display: flex; gap: 16px; align-items: center; flex-shrink: 0;
}
.vx-order-list-card__date { font-size: 0.82rem; color: var(--vx-text-secondary); }
.vx-order-list-card__total { font-weight: 700; font-size: 0.95rem; }
.vx-order-list-card__chev { color: var(--vx-text-tertiary); font-size: 1.2rem; flex-shrink: 0; }

/* Pills de estado */
.vx-order-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px; border-radius: var(--vx-radius-pill);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.02em;
  background: var(--vx-accent-soft); color: var(--vx-text-secondary);
  white-space: nowrap;
}
.vx-order-pill--pending { background: rgba(255,149,0,0.12); color: var(--vx-orange); }
.vx-order-pill--imported { background: rgba(0,122,255,0.12); color: var(--vx-blue); }
.vx-order-pill--completed { background: rgba(52,199,89,0.12); color: var(--vx-green); }
.vx-order-pill--cancelled { background: rgba(255,59,48,0.1); color: var(--vx-red); }

/* Timeline de estado */
.vx-status-timeline {
  display: flex; align-items: center; gap: 0;
  margin: 24px 0; overflow-x: auto; scrollbar-width: none;
}
.vx-status-timeline::-webkit-scrollbar { display: none; }
.vx-status-step {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  min-width: 80px; position: relative; flex: 1;
}
.vx-status-step::after {
  content: ''; position: absolute; top: 16px; left: 50%; right: -50%;
  height: 2px; background: var(--vx-border-strong); z-index: 0;
}
.vx-status-step:last-child::after { display: none; }
.vx-status-step__dot {
  width: 32px; height: 32px; border-radius: 50%; z-index: 1;
  background: var(--vx-bg-2); border: 2px solid var(--vx-border-strong);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700;
  transition: all var(--vx-dur-base) var(--vx-spring);
}
.vx-status-step.is-done .vx-status-step__dot {
  background: var(--vx-green); border-color: var(--vx-green); color: #fff;
}
.vx-status-step.is-done::after { background: var(--vx-green); }
.vx-status-step.is-active .vx-status-step__dot {
  background: var(--vx-accent); border-color: var(--vx-accent); color: var(--vx-accent-fg);
  box-shadow: 0 0 0 4px var(--vx-accent-soft);
  animation: vxStepComplete 0.5s var(--vx-spring);
}
.vx-status-step__label { font-size: 0.7rem; font-weight: 600; color: var(--vx-text-secondary); text-align: center; }
.vx-status-step.is-active .vx-status-step__label { color: var(--vx-text-primary); }

/* Detalle de pedido */
.vx-order-detail-hero {
  background: var(--vx-surface-solid); border-radius: var(--vx-radius-xl);
  border: 1px solid var(--vx-border); box-shadow: var(--vx-shadow-md);
  padding: 28px; margin-bottom: 24px;
  animation: vxSlideUp 0.4s var(--vx-spring-soft);
}
.vx-order-detail-hero__row {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 8px;
}
.vx-order-detail-section {
  background: var(--vx-surface-solid); border-radius: var(--vx-radius-xl);
  border: 1px solid var(--vx-border); box-shadow: var(--vx-shadow-xs);
  padding: 24px; margin-bottom: 16px;
  animation: vxFadeScale 0.4s var(--vx-spring-soft) both;
}
.vx-order-detail-section__title {
  font-size: 1rem; font-weight: 700; margin-bottom: 16px;
  padding-bottom: 12px; border-bottom: 1px solid var(--vx-border);
}
.vx-order-line-list { list-style: none; display: flex; flex-direction: column; gap: 0; }
.vx-order-line-tile {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--vx-divider);
}
.vx-order-line-tile:last-child { border-bottom: none; }
.vx-order-line-tile__main { flex: 1; }
.vx-order-line-tile__name { font-weight: 600; font-size: 0.9rem; display: block; margin-bottom: 3px; }
.vx-order-line-tile__sub { font-size: 0.8rem; color: var(--vx-text-secondary); display: block; margin-bottom: 3px; }
.vx-order-line-tile__qty { font-size: 0.8rem; color: var(--vx-text-tertiary); display: block; }
.vx-order-line-tile__amt { font-weight: 700; font-size: 0.95rem; white-space: nowrap; flex-shrink: 0; }
.vx-order-detail-totals__row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--vx-divider); font-size: 0.9rem;
}
.vx-order-detail-totals__row:last-child { border-bottom: none; }
.vx-order-detail-totals__row--grand { font-size: 1.1rem; font-weight: 700; }
.vx-order-detail-readonly { font-size: 0.9rem; line-height: 1.8; }
.vx-order-detail-readonly p { margin-bottom: 6px; }

/* =====================================================================
   OTs — Cards y detalle
   ===================================================================== */
.vx-ots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 16px;
}
.vx-ot-card {
  background: var(--vx-surface-solid); border-radius: var(--vx-radius-xl);
  border: 1px solid var(--vx-border); box-shadow: var(--vx-shadow-xs);
  padding: 20px; text-decoration: none; color: var(--vx-text-primary);
  transition: all var(--vx-dur-base) var(--vx-spring);
  display: flex; flex-direction: column; gap: 12px;
  animation: vxFadeScale 0.4s var(--vx-spring-soft) both;
}
.vx-ot-card:hover {
  transform: translateY(-4px); box-shadow: var(--vx-shadow-lg);
  border-color: var(--vx-accent);
}
.vx-ot-card__header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.vx-ot-card__code { font-weight: 700; font-size: 0.95rem; font-family: var(--vx-font-mono); }
.vx-ot-card__vehicle {
  display: flex; align-items: center; gap: 8px;
  background: var(--vx-accent-soft); border-radius: var(--vx-radius-md);
  padding: 10px 14px;
}
.vx-ot-card__vehicle-icon { color: var(--vx-text-secondary); flex-shrink: 0; }
.vx-ot-card__plate {
  font-weight: 700; font-size: 1rem; letter-spacing: 0.06em;
  font-family: var(--vx-font-mono);
}
.vx-ot-card__vehicle-info { font-size: 0.8rem; color: var(--vx-text-secondary); }
.vx-ot-card__footer {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: var(--vx-text-secondary);
}
.vx-ot-card__date { display: flex; align-items: center; gap: 5px; }
.vx-ot-card__arrow { color: var(--vx-text-tertiary); font-size: 1.1rem; }

/* Pill de estado OT */
.vx-ot-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px; border-radius: var(--vx-radius-pill);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em;
  white-space: nowrap;
}
.vx-ot-pill--pending    { background: rgba(255,149,0,0.12); color: var(--vx-orange); }
.vx-ot-pill--progress   { background: rgba(0,122,255,0.12); color: var(--vx-blue); }
.vx-ot-pill--done       { background: rgba(52,199,89,0.12); color: var(--vx-green); }
.vx-ot-pill--cancelled  { background: rgba(255,59,48,0.1); color: var(--vx-red); }
.vx-ot-pill--default    { background: var(--vx-accent-soft); color: var(--vx-text-secondary); }

/* Detalle OT */
.vx-ot-detail-hero {
  background: var(--vx-surface-solid); border-radius: var(--vx-radius-xl);
  border: 1px solid var(--vx-border); box-shadow: var(--vx-shadow-md);
  padding: 28px; margin-bottom: 24px;
  animation: vxSlideUp 0.4s var(--vx-spring-soft);
}
.vx-ot-detail-hero__row {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 12px;
}
.vx-ot-detail-hero__code {
  font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; letter-spacing: -0.03em;
  font-family: var(--vx-font-mono);
}
.vx-ot-vehicle-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--vx-accent-soft); border-radius: var(--vx-radius-lg);
  padding: 16px 20px; margin-top: 16px;
}
.vx-ot-vehicle-card__icon { color: var(--vx-text-secondary); flex-shrink: 0; }
.vx-ot-vehicle-card__plate {
  font-size: 1.4rem; font-weight: 800; letter-spacing: 0.08em;
  font-family: var(--vx-font-mono); margin-bottom: 2px;
}
.vx-ot-vehicle-card__info { font-size: 0.9rem; color: var(--vx-text-secondary); }

/* Detalle OT — vista cliente (alineado con app móvil) */
.vx-ot-client-detail { max-width: 720px; margin: 0 auto 32px; }
.vx-ot-client-detail__back { margin: 0 0 16px; }

/* Detalle OT: más ancho útil y menos bandas vacías (≈ mitad del margen lateral del contenedor) */
main.vx-container.vx-page-ot-detail {
  max-width: min(1200px, calc(100% - 24px));
}
.vx-page-ot-detail .vx-ot-client-detail {
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}
.vx-ot-client-card {
  background: var(--vx-surface-solid); border-radius: var(--vx-radius-xl);
  border: 1px solid var(--vx-border); box-shadow: var(--vx-shadow-xs);
  padding: 22px 24px; margin-bottom: 16px;
}
.vx-ot-client-card--hero {
  box-shadow: var(--vx-shadow-md);
  padding: 24px 26px;
}
.vx-ot-client-card__h {
  margin: 0 0 14px; font-size: 1rem; font-weight: 700;
  letter-spacing: -0.02em; color: var(--vx-text-primary);
}
.vx-ot-client-card__p { margin: 0 0 10px; font-size: 0.92rem; line-height: 1.55; color: var(--vx-text-secondary); }
.vx-ot-client-card__subh {
  margin: 16px 0 10px; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--vx-text-tertiary);
}
.vx-ot-client-card__foot {
  margin: 14px 0 0; font-size: 0.82rem; color: var(--vx-text-tertiary); line-height: 1.45;
}
.vx-ot-client-hero__top {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-bottom: 14px;
}
.vx-ot-client-hero__code {
  margin: 0; font-size: clamp(1.35rem, 4vw, 1.85rem); font-weight: 800;
  letter-spacing: -0.03em; font-family: var(--vx-font-mono); line-height: 1.15;
}
.vx-ot-pill--dynamic { background: var(--vx-accent-soft); color: var(--vx-text-secondary); }
.vx-ot-pill--dynamic.vx-ot-pill--pending   { background: rgba(255,149,0,0.12); color: var(--vx-orange); }
.vx-ot-pill--dynamic.vx-ot-pill--progress  { background: rgba(0,122,255,0.12); color: var(--vx-blue); }
.vx-ot-pill--dynamic.vx-ot-pill--done      { background: rgba(52,199,89,0.12); color: var(--vx-green); }
.vx-ot-pill--dynamic.vx-ot-pill--cancelled { background: rgba(255,59,48,0.1); color: var(--vx-red); }
.vx-ot-pill--dynamic.vx-ot-pill--default   { background: var(--vx-accent-soft); color: var(--vx-text-secondary); }
.vx-ot-client-progress { margin: 4px 0 18px; }
.vx-ot-client-progress__head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.82rem; color: var(--vx-text-secondary); margin-bottom: 8px;
}
.vx-ot-client-progress__head strong { color: var(--vx-text-primary); font-weight: 700; }
.vx-ot-client-progress__bar {
  height: 8px; border-radius: var(--vx-radius-pill);
  background: var(--vx-accent-soft); overflow: hidden;
}
.vx-ot-client-progress__bar > span {
  display: block; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, var(--vx-blue), color-mix(in srgb, var(--vx-blue) 70%, var(--vx-green)));
  transition: width 0.45s var(--vx-spring-soft);
}
.vx-ot-client-hero__meta {
  display: flex; flex-direction: column; gap: 8px;
  font-size: 0.85rem; color: var(--vx-text-secondary);
}
.vx-ot-client-hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.vx-ot-client-hero__meta svg { flex-shrink: 0; opacity: 0.75; }

.vx-ot-stages { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.vx-ot-stages__item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 0; border-bottom: 1px solid var(--vx-divider);
}
.vx-ot-stages__item:last-child { border-bottom: 0; }
.vx-ot-stages__item:not(.is-enabled) { opacity: 0.55; }
.vx-ot-stages__ic {
  width: 24px; height: 24px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; border-radius: 50%; background: var(--vx-accent-soft); color: var(--vx-text-tertiary);
}
.vx-ot-stages__item.is-enabled .vx-ot-stages__ic {
  background: rgba(52,199,89,0.15); color: var(--vx-green);
}
.vx-ot-stages__body { min-width: 0; flex: 1; }
.vx-ot-stages__title { display: block; font-size: 0.92rem; font-weight: 600; color: var(--vx-text-primary); }
.vx-ot-stages__hint { display: block; margin-top: 4px; font-size: 0.78rem; color: var(--vx-text-tertiary); }

.vx-ot-dl { margin: 0; display: flex; flex-direction: column; gap: 0; }
.vx-ot-dl__row {
  display: grid; grid-template-columns: minmax(100px, 38%) 1fr; gap: 10px 16px;
  padding: 10px 0; border-bottom: 1px solid var(--vx-divider); align-items: start;
}
.vx-ot-dl__row:last-child { border-bottom: 0; }
.vx-ot-dl__row dt {
  margin: 0; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--vx-text-tertiary);
}
.vx-ot-dl__row dd { margin: 0; font-size: 0.9rem; color: var(--vx-text-primary); line-height: 1.45; word-break: break-word; }
.vx-ot-dl__row--block { grid-template-columns: 1fr; }
.vx-ot-dl__notes { margin-top: 6px !important; white-space: pre-wrap; }

.vx-ot-photo-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 4px;
}
.vx-ot-photo-grid__cell {
  position: relative; aspect-ratio: 1; border-radius: var(--vx-radius-md);
  overflow: hidden; border: 1px solid var(--vx-border); background: var(--vx-accent-soft);
  display: block; transition: transform var(--vx-dur-fast) var(--vx-spring), box-shadow var(--vx-dur-fast) ease;
}
.vx-ot-photo-grid__cell:hover { transform: scale(1.02); box-shadow: var(--vx-shadow-md); }
.vx-ot-photo-grid__cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vx-ot-photo-grid__vid {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,0.55); pointer-events: none;
}
.vx-ot-photo-grid--sm {
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 6px;
}

/* Diagn\u00f3stico: tarjetas de sistemas */
.vx-ot-diag-sistema {
  margin-bottom: 16px;
}
.vx-ot-diag-sistema__header {
  padding: 14px 18px; background: var(--vx-accent-soft); border-radius: var(--vx-radius-lg) var(--vx-radius-lg) 0 0;
  border-bottom: 1px solid var(--vx-border);
}
.vx-ot-diag-sistema__h {
  margin: 0; font-size: 1rem; font-weight: 700; color: var(--vx-text-primary);
}
.vx-ot-diag-sistema__body {
  padding: 0;
}
.vx-ot-diag-comp {
  padding: 14px 18px; border-bottom: 1px solid var(--vx-divider);
}
.vx-ot-diag-comp:last-child {
  border-bottom: 0;
}
.vx-ot-diag-comp__head {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 6px;
}
.vx-ot-diag-comp__icon {
  flex-shrink: 0; width: 10px; height: 10px; border-radius: 50%;
}
.vx-ot-diag-comp__icon--urgent { background: #ff6961; }
.vx-ot-diag-comp__icon--warn { background: #ffb340; }
.vx-ot-diag-comp__icon--ok { background: #5dd879; }
.vx-ot-diag-comp__icon--none, .vx-ot-diag-comp__icon--default { background: var(--vx-text-tertiary); }
.vx-ot-diag-comp__label {
  flex: 1; min-width: 0; font-size: 0.95rem; font-weight: 600; color: var(--vx-text-primary);
}
.vx-ot-semaforo {
  flex-shrink: 0; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em;
  padding: 5px 10px; border-radius: var(--vx-radius-pill); border: 1px solid transparent; white-space: nowrap;
}
.vx-ot-semaforo--urgent { background: rgba(255, 69, 58, 0.18); color: #ff6961; border-color: rgba(255, 69, 58, 0.35); }
.vx-ot-semaforo--warn { background: rgba(255, 159, 10, 0.18); color: #ffb340; border-color: rgba(255, 159, 10, 0.35); }
.vx-ot-semaforo--ok { background: rgba(52, 199, 89, 0.16); color: #5dd879; border-color: rgba(52, 199, 89, 0.3); }
.vx-ot-semaforo--none { background: var(--vx-surface-solid); color: var(--vx-text-tertiary); border-color: var(--vx-border); }
.vx-ot-semaforo--default { background: var(--vx-accent-soft); color: var(--vx-text-secondary); border-color: var(--vx-border); }
.vx-ot-diag-comp__obs {
  margin: 6px 0 0; font-size: 0.88rem; color: var(--vx-text-secondary); line-height: 1.5;
}
.vx-ot-diag-ev-h {
  margin: 10px 0 6px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--vx-text-tertiary);
}

/* Pestañas detalle OT (tienda) */
.vx-ot-tabs { margin-top: 4px; }
.vx-ot-tablist {
  display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch;
  padding: 4px 2px 14px; margin-bottom: 6px; border-bottom: 1px solid var(--vx-border);
  scrollbar-width: thin;
}
@media (min-width: 480px) {
  .vx-ot-tablist {
    flex-wrap: wrap;
    overflow-x: visible;
    row-gap: 10px;
    padding-bottom: 10px;
  }
}
.vx-ot-tab {
  flex: 0 0 auto; margin: 0; padding: 10px 16px; border-radius: var(--vx-radius-pill);
  border: 1px solid var(--vx-border); background: var(--vx-surface-solid); color: var(--vx-text-secondary);
  font-size: 0.8rem; font-weight: 600; font-family: inherit; cursor: pointer; white-space: nowrap;
  transition: background var(--vx-dur-fast) ease, color var(--vx-dur-fast) ease, border-color var(--vx-dur-fast) ease, box-shadow var(--vx-dur-fast) ease;
}
.vx-ot-tab:hover { border-color: var(--vx-accent); color: var(--vx-text-primary); }
.vx-ot-tab:focus-visible { outline: 2px solid var(--vx-blue); outline-offset: 2px; }
.vx-ot-tab.is-active {
  background: color-mix(in srgb, var(--vx-blue) 14%, var(--vx-surface-solid));
  border-color: color-mix(in srgb, var(--vx-blue) 40%, var(--vx-border));
  color: var(--vx-blue);
  box-shadow: var(--vx-shadow-xs);
}
.vx-ot-tabpanels { min-height: 80px; }
.vx-ot-tabpanel[hidden] { display: none !important; }

/* Encuesta embebida (detalle OT cuenta cliente) */
.vx-ot-survey-embed { margin-top: 8px; }
.vx-ot-survey-embed__state[hidden] { display: none !important; }
.vx-ot-survey-embed__loading {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 36px 16px; color: var(--vx-text-secondary); font-size: 0.92rem;
}
.vx-ot-survey-embed__spinner {
  width: 36px; height: 36px; border-radius: 50%;
  border: 3px solid var(--vx-border); border-top-color: var(--vx-blue);
  animation: vx-ot-survey-spin 0.75s linear infinite;
}
@keyframes vx-ot-survey-spin { to { transform: rotate(360deg); } }
.vx-ot-survey-embed__none-text { margin: 0; color: var(--vx-text-secondary); font-size: 0.95rem; line-height: 1.5; }
.vx-ot-survey-embed__done { text-align: center; padding: 28px 16px; }
.vx-ot-survey-embed__done-icon {
  width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%;
  background: color-mix(in srgb, var(--vx-success, #22c55e) 18%, var(--vx-surface-solid));
  color: var(--vx-success, #16a34a); font-size: 1.5rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.vx-ot-survey-embed__done-title { margin: 0 0 8px; font-size: 1.15rem; font-weight: 800; color: var(--vx-text-primary); }
.vx-ot-survey-embed__done-body { margin: 0; color: var(--vx-text-secondary); font-size: 0.95rem; line-height: 1.55; }
.vx-ot-survey-embed__title { margin: 0 0 10px; font-size: 1.1rem; font-weight: 800; color: var(--vx-text-primary); }
.vx-ot-survey-embed__description {
  margin: 0 0 20px; font-size: 0.92rem; color: var(--vx-text-secondary); line-height: 1.55;
}
.vx-ot-survey-embed__q { margin-bottom: 22px; }
.vx-ot-survey-embed__qlabel {
  display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 10px; color: var(--vx-text-primary);
}
.vx-ot-survey-embed__input {
  width: 100%; box-sizing: border-box; padding: 12px 14px; border-radius: var(--vx-radius-md, 10px);
  border: 1px solid var(--vx-border); background: var(--vx-surface-solid); color: var(--vx-text-primary);
  font-size: 0.95rem; font-family: inherit;
}
.vx-ot-survey-embed__input:focus {
  outline: none; border-color: color-mix(in srgb, var(--vx-blue) 55%, var(--vx-border));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--vx-blue) 22%, transparent);
}
.vx-ot-survey-embed__opt {
  display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; margin-bottom: 10px;
  border-radius: var(--vx-radius-md, 12px); border: 1px solid var(--vx-border);
  background: var(--vx-surface-solid); cursor: pointer; font-size: 0.92rem; line-height: 1.45;
}
.vx-ot-survey-embed__opt input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--vx-blue); flex-shrink: 0; }
.vx-ot-survey-embed__opt span { flex: 1; color: var(--vx-text-primary); }
.vx-ot-survey-embed__actions { margin-top: 20px; }
.vx-ot-survey-embed__empty { margin: 0; color: var(--vx-text-secondary); font-size: 0.92rem; }

.vx-ot-client-detail__actions {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; padding-top: 8px;
}

/* =====================================================================
   TABLA GENÉRICA
   ===================================================================== */
.vx-table-wrap { overflow-x: auto; border-radius: var(--vx-radius-lg); border: 1px solid var(--vx-border); }
.vx-table {
  width: 100%; border-collapse: collapse; font-size: 0.9rem;
}
.vx-table thead { background: var(--vx-accent-soft); }
.vx-table th {
  padding: 12px 16px; text-align: left; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--vx-text-secondary);
  white-space: nowrap;
}
.vx-table td { padding: 14px 16px; border-top: 1px solid var(--vx-divider); }
.vx-table tbody tr { transition: background var(--vx-dur-fast) ease; }
.vx-table tbody tr:hover { background: var(--vx-accent-soft); }

/* =====================================================================
   WHATSAPP FLOTANTE
   ===================================================================== */
.vx-wa-float {
  position: fixed; bottom: calc(var(--vx-tabbar-h) + 16px); right: 20px; z-index: 800;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4), var(--vx-shadow-lg);
  text-decoration: none; font-size: 1.4rem;
  transition: transform var(--vx-dur-fast) var(--vx-spring), box-shadow var(--vx-dur-fast) ease;
  animation: vxSpringIn 0.6s var(--vx-spring-soft) 1s both;
}
.vx-wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,211,102,0.5), var(--vx-shadow-xl); }
.vx-wa-float:active { transform: scale(0.93); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.vx-footer--mega {
  margin-top: 64px; border-top: 1px solid var(--vx-border);
  background: color-mix(in srgb, var(--vx-bg) 96%, var(--vx-text-secondary) 4%);
}
.vx-footer__top { padding: 56px 0 40px; }
.vx-footer__grid {
  display: grid;
  grid-template-columns: minmax(200px, 1.25fr) minmax(130px, 1fr) minmax(130px, 1fr) minmax(130px, 1fr);
  gap: 36px 24px; align-items: start;
}
.vx-footer__logo {
  font-size: 1.35rem; font-weight: 800; letter-spacing: -0.03em;
  margin: 0 0 10px; color: var(--vx-text-primary);
}
.vx-footer__tagline {
  margin: 0; font-size: 0.92rem; color: var(--vx-text-secondary);
  line-height: 1.6; max-width: 28em;
}
.vx-footer__heading {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--vx-text-secondary); margin: 0 0 14px;
}
.vx-footer__list { list-style: none; }
.vx-footer__list li { margin-bottom: 10px; }
.vx-footer__list a {
  color: var(--vx-text-primary); font-weight: 500; font-size: 0.9rem;
  transition: color var(--vx-dur-fast) ease;
}
.vx-footer__list a:hover { color: var(--vx-accent); }
.vx-footer__link--libro {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
}
.vx-footer__link--libro i {
  font-size: 0.92em;
  opacity: 0.88;
  color: color-mix(in srgb, var(--vx-accent, #60a5fa) 75%, #fff);
}
.vx-footer__bottom { border-top: 1px solid var(--vx-border); padding: 20px 0 32px; }
.vx-footer__bottom-inner { display: flex; justify-content: center; text-align: center; }
.vx-footer__copy { margin: 0; font-size: 0.82rem; color: var(--vx-text-secondary); }

/* =====================================================================
   NOSOTROS / ABOUT (página pública tienda)
   ===================================================================== */
.vx-page-about main.vx-container {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 28px);
  padding-right: clamp(16px, 4vw, 28px);
  padding-bottom: clamp(24px, 4vw, 48px);
}

.vx-about-page {
  padding-bottom: clamp(48px, 8vw, 96px);
}

.vx-about-page__masthead {
  text-align: center;
  padding: clamp(28px, 5vw, 56px) 0 clamp(20px, 3vw, 40px);
  max-width: 820px;
  margin: 0 auto;
}

.vx-about-page__kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vx-text-secondary);
  margin: 0 0 12px;
}

.vx-about-page__title {
  font-family: var(--vx-font-display, "Syne", system-ui, sans-serif);
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--vx-text-primary);
}

.vx-about-page__intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 40px);
  margin-bottom: clamp(40px, 6vw, 72px);
  align-items: center;
}

@media (min-width: 900px) {
  .vx-about-page__intro {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
  .vx-about-page__intro--media-first .vx-about-page__intro-figure { order: -1; }
}

.vx-about-page__intro-figure {
  margin: 0;
  border-radius: var(--vx-radius-xl, 20px);
  overflow: hidden;
  box-shadow: var(--vx-shadow-lg, 0 20px 50px rgba(0, 0, 0, 0.12));
  border: 1px solid var(--vx-border);
}

.vx-about-page__intro-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.vx-about-page__intro-copy {
  padding: clamp(8px, 2vw, 16px) 0;
}

.vx-about-page__subtitle {
  font-family: var(--vx-font-display, "Syne", system-ui, sans-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--vx-text-primary);
  line-height: 1.25;
}

.vx-about-page__lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--vx-text-secondary);
}

/* Bloque contacto + mapa */
.vx-about-contact {
  margin-bottom: clamp(48px, 7vw, 88px);
  padding: clamp(28px, 4vw, 40px);
  border-radius: var(--vx-radius-xl, 20px);
  background: linear-gradient(145deg, var(--vx-surface-solid) 0%, var(--vx-bg-2) 100%);
  border: 1px solid var(--vx-border);
  box-shadow: var(--vx-shadow-md, 0 8px 30px rgba(0, 0, 0, 0.06));
}

.vx-about-contact__head {
  max-width: 640px;
  margin-bottom: clamp(24px, 4vw, 36px);
}

.vx-about-contact__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vx-accent);
  margin: 0 0 8px;
}

.vx-about-contact__title {
  font-family: var(--vx-font-display, "Syne", system-ui, sans-serif);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--vx-text-primary);
}

.vx-about-contact__lead {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--vx-text-secondary);
}

.vx-about-contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 36px);
  align-items: stretch;
}

@media (min-width: 880px) {
  .vx-about-contact__grid {
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  }
}

.vx-about-contact__aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.vx-about-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 4px;
  padding: 16px 18px;
  border-radius: var(--vx-radius-lg, 14px);
  background: var(--vx-bg);
  border: 1px solid var(--vx-border);
  align-items: start;
}

.vx-about-card--link {
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.vx-about-card--link:hover {
  border-color: var(--vx-accent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.vx-about-card--wa .vx-about-card__icon {
  color: #25d366;
}

.vx-about-card__icon {
  grid-row: 1 / span 2;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--vx-bg-2);
  color: var(--vx-accent);
  font-size: 1.1rem;
}

.vx-about-card__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vx-text-secondary);
}

.vx-about-card__value {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--vx-text-primary);
  line-height: 1.45;
}

.vx-about-coords {
  margin: 4px 0 0;
  padding: 12px 16px;
  border-radius: var(--vx-radius-md, 10px);
  background: var(--vx-bg-2);
  font-size: 0.85rem;
}

.vx-about-coords__lbl {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vx-text-secondary);
  margin-bottom: 4px;
}

.vx-about-coords__val {
  font-variant-numeric: tabular-nums;
  color: var(--vx-text-primary);
}

.vx-about-maps-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--vx-bg);
  background: var(--vx-text-primary);
  border: 1px solid var(--vx-text-primary);
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.vx-about-maps-cta:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.vx-about-maps-cta--inline {
  margin-top: 12px;
}

.vx-about-contact__map {
  min-height: 280px;
  border-radius: var(--vx-radius-xl, 20px);
  overflow: hidden;
  border: 1px solid var(--vx-border);
  background: var(--vx-bg-2);
}

.vx-about-map-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

.vx-about-map-frame--js {
  min-height: 320px;
}

.vx-about-map-fallback {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  text-align: center;
  color: var(--vx-text-secondary);
  font-size: 0.95rem;
}

/* Secciones de contenido */
.vx-about-page__sections {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 5vw, 48px);
}

.vx-about-block {
  position: relative;
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--vx-radius-lg, 16px);
  background: var(--vx-surface-solid);
  border: 1px solid var(--vx-border);
}

.vx-about-block--text {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.vx-about-block--split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 32px);
  align-items: center;
}

@media (min-width: 901px) {
  .vx-about-block--split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  }
  .vx-about-block--rev .vx-about-block__media {
    order: -1;
  }
}

.vx-about-block__title {
  font-family: var(--vx-font-display, "Syne", system-ui, sans-serif);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--vx-text-primary);
  line-height: 1.25;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--vx-accent);
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
}

.vx-about-block__body {
  font-size: 1rem;
  line-height: 1.78;
  color: var(--vx-text-secondary);
}

.vx-about-block__body p {
  margin: 0 0 1em;
}

.vx-about-block__body p:last-child {
  margin-bottom: 0;
}

.vx-about-block__body strong {
  color: var(--vx-text-primary);
}

.vx-about-block__media {
  margin: 0;
  border-radius: var(--vx-radius-lg, 14px);
  overflow: hidden;
  box-shadow: var(--vx-shadow-md, 0 12px 36px rgba(0, 0, 0, 0.1));
}

.vx-about-block__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Compat: clases antiguas si quedan en caché */
.vx-about-hero {
  padding: 80px 0 60px; text-align: center;
  background: linear-gradient(180deg, var(--vx-bg-2) 0%, var(--vx-bg) 100%);
}
.vx-about-hero__img {
  width: 100%; max-height: 480px; object-fit: cover;
  border-radius: var(--vx-radius-xl); margin-top: 40px;
  box-shadow: var(--vx-shadow-xl);
}
.vx-about-sections { padding: 48px 0; display: flex; flex-direction: column; gap: 64px; }
.vx-about-section {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.vx-about-section:nth-child(even) .vx-about-section__img { order: -1; }
.vx-about-section__img {
  border-radius: var(--vx-radius-xl); overflow: hidden;
  box-shadow: var(--vx-shadow-lg); aspect-ratio: 4/3;
}
.vx-about-section__img img { width: 100%; height: 100%; object-fit: cover; }
.vx-about-section__body { font-size: 1rem; color: var(--vx-text-secondary); line-height: 1.75; }

/* =====================================================================
   SHIMMER SKELETON
   ===================================================================== */
.vx-shimmer {
  background: linear-gradient(90deg, var(--vx-bg-2) 25%, var(--vx-bg) 50%, var(--vx-bg-2) 75%);
  background-size: 800px 100%;
  animation: vxShimmer 1.4s infinite linear;
  border-radius: var(--vx-radius-sm);
}
.vx-skeleton-card {
  background: var(--vx-surface-solid); border-radius: var(--vx-radius-lg);
  border: 1px solid var(--vx-border); overflow: hidden;
}
.vx-skeleton-card__img { aspect-ratio: 1; }
.vx-skeleton-card__body { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.vx-skeleton-card__line { height: 14px; border-radius: 7px; }
.vx-skeleton-card__line--short { width: 60%; }
.vx-skeleton-card__line--price { width: 40%; height: 18px; }

/* =====================================================================
   TABBAR INFERIOR (móvil)
   Los tools se muestran siempre en desktop; en móvil se convierten en tabbar fijo.
   ===================================================================== */

/* =====================================================================
   RESPONSIVE — Tablet
   ===================================================================== */
@media (max-width: 1024px) {
  .vx-cart-layout { grid-template-columns: 1fr; }
  .vx-cart-summary { position: static; }
  .vx-checkout-layout { grid-template-columns: 1fr; }
  .vx-checkout-order-summary { position: static; }
  .vx-product-layout { grid-template-columns: 1fr; gap: 32px; }
  .vx-product-gallery { position: static; }
  .vx-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .vx-footer__brand { grid-column: 1 / -1; }
  .vx-footer__col--contact { grid-column: 1 / -1; }
  .vx-about-section { grid-template-columns: 1fr; }
  .vx-about-section:nth-child(even) .vx-about-section__img { order: 0; }
}

/* =====================================================================
   RESPONSIVE — Móvil
   ===================================================================== */
@media (max-width: 900px) {
  :root {
    --vx-nav-height: 60px;
    --vx-tabbar-h: 82px;
  }

  body { padding-top: calc(var(--vx-nav-height) + 32px); }
  body.vx-has-ribbon { padding-top: calc(var(--vx-nav-height) + var(--vx-ribbon-h) + 32px); }
  body.vx-page-home,
  body.vx-page-home.vx-has-ribbon { padding-top: 0; }
  body.vx-tienda-store-root { padding-top: 0; }

  /* Nav mobile: el buscador tenía flex:1 y en columna absorbía todo el alto → logo pegado arriba */
  .vx-nav-shell--store > .vx-search-shell {
    flex: 0 1 auto !important;
    min-height: 0;
    width: 100%;
    padding: 0 12px 10px;
    box-sizing: border-box;
  }
  .vx-nav-shell--store > .vx-brand-row {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 12px 6px;
  }
  .vx-nav-shell--store > .vx-brand-row > .vx-brand {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
    align-items: center;
    width: auto;
    box-sizing: border-box;
    padding: 4px 0;
    margin: 0;
    min-height: 44px;
  }
  .vx-nav-shell--store > .vx-brand {
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding: 4px 0;
    margin: 0;
    min-height: 44px;
  }
  .vx-nav-shell--store > .vx-brand-row > .vx-brand img,
  .vx-nav-shell--store > .vx-brand img {
    margin: 0 auto;
  }

  /* Fondo al abrir «Más» (no cubre la tabbar inferior) */
  .vx-nav-dock--store > .vx-nav-sheet-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: calc(var(--vx-tabbar-h) + env(safe-area-inset-bottom, 0px));
    z-index: 960;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.45);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    appearance: none;
  }
  .vx-nav-dock--store > .vx-nav-sheet-backdrop:not([hidden]) {
    display: block;
    animation: vxFadeIn 0.22s ease both;
  }

  /* Panel «Más»: hoja desde encima de la tabbar hacia arriba */
  /* Menú «Más»: el nav vuelve dentro del shell en desktop; en móvil sin backdrop-filter en shell (Mitaller) para que fixed sea al viewport */
  .vx-nav-shell--store .vx-nav-links.is-open {
    position: fixed !important;
    left: 12px;
    right: 12px;
    bottom: calc(var(--vx-tabbar-h) + env(safe-area-inset-bottom, 0px) + 8px);
    top: auto;
    max-height: min(72vh, 520px);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 970;
    flex-direction: column !important;
    align-items: stretch !important;
    align-self: stretch;
    gap: 6px !important;
    padding: 16px 14px 20px !important;
    margin: 0 !important;
    border-radius: var(--vx-radius-xl);
    background: var(--vx-surface-solid);
    box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.22);
    border: 1px solid var(--vx-border);
    animation: vxNavSheetUp 0.34s cubic-bezier(0.22, 1, 0.36, 1) both !important;
  }
  [data-theme="dark"] .vx-nav-shell--store .vx-nav-links.is-open {
    box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.55);
  }

  body.vx-nav-sheet-open .vx-nav-shell--store {
    overflow: visible;
  }

  /* Home: quitar blur del shell en móvil para que el panel «Más» (fixed) no quede anclado al header */
  body.vx-page-home .vx-nav-dock--store .vx-nav-shell {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  @keyframes vxNavSheetUp {
    from {
      transform: translateY(22px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  /* Nav mobile */
  .vx-nav-dock--store { padding: 8px 12px 0; }
  .vx-nav-shell { border-radius: var(--vx-radius-lg); }
  .vx-nav-head { grid-template-columns: auto 1fr auto; padding: 8px 12px; }
  .vx-nav-toggle {
    width: auto;
    min-width: 44px;
    min-height: 48px;
    height: auto;
    border: none;
    background: transparent;
  }
  .vx-nav-toggle:hover {
    background: var(--vx-accent-soft);
    transform: none;
  }
  .vx-nav-tools .vx-nav-toggle {
    display: flex !important;
  }

  .vx-nav-links {
    display: none; flex-direction: column; gap: 4px;
    padding: 8px 12px 12px;
  }
  .vx-nav-links.is-open {
    display: flex;
    animation: vxSlideUp 0.3s var(--vx-spring-soft);
  }
  .vx-nav-links a { padding: 10px 14px; border-radius: var(--vx-radius-md); }
  .vx-nav-links.is-open .vx-nav-mobile-theme {
    display: flex !important;
  }
  .vx-nav-mobile-extra { display: block; }

  /* Tabbar inferior: anclada al viewport (el blur del header creaba bloque de contención si tools iban dentro) */
  .vx-nav-dock--store > .vx-nav-tools {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    z-index: 950;
    gap: 2px;
    background: var(--vx-surface-solid);
    backdrop-filter: var(--vx-blur);
    -webkit-backdrop-filter: var(--vx-blur);
    border-top: 1px solid var(--vx-border);
    border-radius: var(--vx-radius-xl) var(--vx-radius-xl) 0 0;
    padding: 10px 6px calc(env(safe-area-inset-bottom, 0px) + 10px);
    justify-content: space-between;
    align-items: stretch;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.1);
  }
  [data-theme="dark"] .vx-nav-dock--store > .vx-nav-tools {
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.45);
  }
  body.vx-page-home .vx-nav-dock--store > .vx-nav-tools {
    background: var(--vx-surface-solid);
    backdrop-filter: var(--vx-blur);
    -webkit-backdrop-filter: var(--vx-blur);
  }
  /* En inicio, no aplicar el “vidrio” por botón del bloque global .vx-page-home .vx-tool-btn */
  body.vx-page-home .vx-nav-dock--store > .vx-nav-tools .vx-tool-btn:not([aria-current="page"]),
  body.vx-page-home .vx-nav-dock--store > .vx-nav-tools .vx-tool-btn[aria-current="page"] {
    background: transparent !important;
    border-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .vx-nav-dock--store > .vx-nav-tools .vx-tool-btn,
  .vx-nav-dock--store > .vx-nav-tools .vx-tool-btn.vx-nav-toggle {
    border: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    border-radius: var(--vx-radius-md);
    transition: background var(--vx-dur-fast) ease, color var(--vx-dur-fast) ease, transform 0.12s ease;
  }
  .vx-nav-dock--store > .vx-nav-tools .vx-tool-btn:active {
    transform: scale(0.96);
  }
  /* Activo: sin caja de color; texto + icono relleno en acento */
  .vx-nav-dock--store > .vx-nav-tools .vx-tool-btn[aria-current="page"] {
    background: transparent !important;
    color: var(--vx-blue) !important;
    box-shadow: none !important;
  }
  .vx-nav-dock--store > .vx-nav-tools .vx-tool-btn[aria-current="page"] .vx-tabbar-label {
    color: var(--vx-blue) !important;
    font-weight: 800;
  }
  [data-theme="dark"] .vx-nav-dock--store > .vx-nav-tools .vx-tool-btn[aria-current="page"] {
    background: transparent !important;
    color: #93c5fd !important;
  }
  [data-theme="dark"] .vx-nav-dock--store > .vx-nav-tools .vx-tool-btn[aria-current="page"] .vx-tabbar-label {
    color: #93c5fd !important;
  }
  /* Icono línea vs relleno (misma caja) */
  .vx-nav-dock--store > .vx-nav-tools .vx-tool-btn__gfx--tab {
    position: relative;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }
  .vx-nav-dock--store > .vx-nav-tools .vx-tool-btn__gfx--tab .vx-tab-ic {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
  }
  .vx-nav-dock--store > .vx-nav-tools .vx-tab-ic--fill {
    display: none;
  }
  .vx-nav-dock--store > .vx-nav-tools .vx-tool-btn[aria-current="page"] .vx-tab-ic--line,
  .vx-nav-dock--store > .vx-nav-tools .vx-nav-toggle[aria-expanded="true"] .vx-tab-ic--line {
    display: none;
  }
  .vx-nav-dock--store > .vx-nav-tools .vx-tool-btn[aria-current="page"] .vx-tab-ic--fill,
  .vx-nav-dock--store > .vx-nav-tools .vx-nav-toggle[aria-expanded="true"] .vx-tab-ic--fill {
    display: block;
  }
  .vx-nav-dock--store > .vx-nav-tools .vx-tool-btn__gfx {
    min-height: 19px;
  }
  .vx-nav-dock--store > .vx-nav-tools .vx-tool-btn__gfx:not(.vx-tool-btn__gfx--tab) svg {
    width: 14px;
    height: 14px;
  }
  .vx-nav-dock--store > .vx-nav-tools .vx-tabbar-label {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    max-width: 100%;
    margin-top: 2px;
  }
  .vx-tool-btn {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    min-height: 56px;
    height: auto;
    padding: 8px 4px 6px;
    border: none;
    background: transparent;
    box-shadow: none;
    border-radius: var(--vx-radius-md);
    gap: 3px;
  }
  .vx-tool-btn:hover { background: var(--vx-accent-soft); transform: none; box-shadow: none; }
  .vx-tool-btn--home { display: flex; }
  .vx-tool-desktop-only { display: none !important; }

  .vx-tabbar-label {
    display: block;
  }

  body.vx-tienda-store-root { padding-bottom: calc(var(--vx-tabbar-h) + env(safe-area-inset-bottom, 0px)); }

  /* Nav dock en home */
  body.vx-page-home .vx-nav-dock--store { padding-top: 8px; }
  body.vx-page-home.vx-has-ribbon .vx-nav-dock--store { padding-top: 0; }

  /* Hero */
  .ts-hero__slide { aspect-ratio: 4/3; }
  .ts-hero__nav { width: 40px; height: 40px; font-size: 1.2rem; }
  .ts-hero__nav--prev { left: 10px; }
  .ts-hero__nav--next { right: 10px; }

  /* Trust strip */
  .vx-trust-list { flex-direction: column; align-items: stretch; }
  .vx-trust-item { border-right: none; border-bottom: 1px solid var(--vx-border); padding: 14px 20px; }
  .vx-trust-item:last-child { border-bottom: none; }

  /* Grid */
  .vx-pro-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .vx-sec-inner { max-width: calc(100% - 32px); }
  .vx-container { max-width: calc(100% - 32px); }

  /* Carrito */
  .vx-cart-line { grid-template-columns: 64px 1fr auto; gap: 10px; }
  .vx-cart-line__img { width: 64px; height: 64px; }
  .vx-cart-line__total { display: none; }

  /* Checkout stepper */
  .vx-checkout-step__label { display: none; }
  .vx-checkout-connector { max-width: 32px; }

  /* Cuenta */
  .vx-bento-grid { grid-template-columns: repeat(2, 1fr); }
  .vx-account-stats { gap: 10px; }
  .vx-account-stat { padding: 12px 16px; }

  /* OTs */
  .vx-ots-grid { grid-template-columns: 1fr; }

  /* Footer */
  .vx-footer__grid { grid-template-columns: 1fr; gap: 28px; }

  /* Mini-cart */
  .vx-mini-cart { border-radius: var(--vx-radius-xl) var(--vx-radius-xl) 0 0; top: auto; height: 85vh; }
  .vx-mini-cart { animation: vxSlideUp 0.35s var(--vx-spring-soft) both; }

  /* WA float */
  .vx-wa-float { bottom: calc(var(--vx-tabbar-h) + env(safe-area-inset-bottom, 0px) + 16px); }

  /* Showcase */
  .vx-showcase__fade { width: 40px; }

  /* Product */
  .vx-product-price { font-size: 2rem; }

  /* Search back */
  .vx-store-search__back { margin-bottom: 16px; }

  /* Pedidos */
  .vx-order-list-card { flex-wrap: wrap; }
  .vx-order-list-card__meta { flex-direction: column; gap: 4px; align-items: flex-end; }
}

@media (max-width: 480px) {
  .vx-pro-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .vx-h1 { font-size: clamp(1.6rem, 6vw, 2.5rem); }
  .vx-checkout-stepper { gap: 4px; }
  .vx-bento-grid { grid-template-columns: 1fr 1fr; }
  .vx-account-stats { flex-direction: row; }
}

/* =====================================================================
   DESKTOP WIDE
   ===================================================================== */
@media (min-width: 901px) {
  .vx-nav-dock--store > .vx-nav-sheet-backdrop {
    display: none !important;
  }
  /* Shell + tools en fila (tools ya no van dentro del header con blur) */
  .vx-nav-dock--store {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: clamp(8px, 1.8vw, 14px);
    padding: 12px 20px 0;
  }
  .vx-nav-dock--store > .vx-nav-shell--store {
    flex: 1 1 auto;
    min-width: 0;
  }
  .vx-nav-dock--store > .vx-nav-tools {
    flex-shrink: 0;
    align-self: stretch;
    display: flex;
    align-items: center;
  }
  .vx-nav-shell--store > .vx-search-shell {
    flex: 1 1 auto !important;
    min-width: 0;
    width: auto;
    padding: 0;
  }
  .vx-nav-shell--store > .vx-brand-row {
    width: auto;
    padding: 0;
    align-self: center;
  }
  .vx-nav-shell--store > .vx-brand-row > .vx-brand,
  .vx-nav-shell--store > .vx-brand {
    width: auto;
    min-height: 0;
    padding: 0;
    margin: 0;
    justify-content: flex-start;
  }
  .vx-nav-shell--store > .vx-brand-row > .vx-brand img,
  .vx-nav-shell--store > .vx-brand img {
    margin: 0;
  }
  .vx-nav-shell--store {
    flex-direction: row; align-items: center; gap: 0;
    min-height: var(--vx-nav-height);
  }
  .vx-nav-head {
    border-bottom: none; padding: 0 20px;
    flex: 1 1 0; min-width: 0;
    grid-template-columns: auto minmax(160px, 280px) auto;
    align-items: center;
  }
  .vx-nav-links {
    flex: 1; border-top: none;
    border-left: 1px solid var(--vx-divider);
    border-right: 1px solid var(--vx-divider);
    padding: 0 16px; height: 100%;
    align-items: center;
  }
  .vx-nav-tools {
    position: static;
    border-top: none; padding: 8px 12px;
    justify-content: flex-end;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    border-radius: 0;
    height: 100%;
    align-items: center;
    flex-shrink: 0;
    flex-wrap: nowrap;
  }
  .vx-tool-tab {
    display: none !important;
  }
  .vx-nav-tools .vx-nav-toggle {
    display: none !important;
  }
  .vx-nav-tools .vx-tab-ic--fill {
    display: none !important;
  }
  .vx-nav-tools .vx-tab-ic--line {
    display: block !important;
    position: static !important;
    transform: none !important;
  }
  .vx-nav-mobile-theme {
    display: none !important;
  }
  .vx-nav-tools .vx-tabbar-label {
    display: none !important;
  }
  .vx-nav-tools .lx-nav-cta {
    flex-direction: row;
    gap: 8px;
    min-width: auto;
    max-width: none;
    flex: 0 0 auto;
    height: 48px;
    padding: 0 14px;
  }
  .vx-nav-tools .lx-nav-cta .vx-tabbar-label {
    display: inline !important;
    font-size: 0.82rem;
    font-weight: 600;
    max-width: none;
    white-space: nowrap;
    color: inherit;
  }
  /* Restaurar estilos de tool-btn en desktop */
  .vx-tool-btn {
    flex: 0 0 auto;
    min-width: 48px;
    max-width: none;
    height: 48px;
    border: 1px solid var(--vx-border);
    background: var(--vx-accent-soft);
    border-radius: var(--vx-radius-md);
    flex-direction: column;
    gap: 2px;
    padding: 5px 8px;
  }
  .vx-tool-btn:hover {
    background: var(--vx-surface-solid);
    box-shadow: var(--vx-shadow-sm);
    transform: translateY(-1px) scale(1.03);
  }
  .vx-tool-btn--home { display: flex; }
  .vx-tool-desktop-only { display: flex; }
  .vx-nav-links { display: flex !important; }
  .vx-nav-mobile-extra { display: none; }
  body { padding-bottom: 0; }
  body.vx-tienda-store-root { padding-top: 0; padding-bottom: 0; }

  body.vx-page-home .vx-nav-dock--store { padding-top: 12px; }
  body.vx-page-home.vx-has-ribbon .vx-nav-dock--store { padding-top: 0; }
  body.vx-page-home,
  body.vx-page-home.vx-has-ribbon { padding-top: 0; }
  body.vx-has-ribbon { padding-top: calc(var(--vx-nav-height) + var(--vx-ribbon-h) + 40px); }
}

@media (min-width: 1200px) {
  .vx-pro-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
}

/* =====================================================================
   PÁGINA HOME — padding body
   ===================================================================== */
body.vx-page-home .vx-store-main-home { padding-top: 0; }

/* =====================================================================
   MINI-CART OVERLAY — Backdrop + Drawer
   ===================================================================== */
.vx-mini-cart-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.vx-mini-cart-overlay.is-open {
  display: flex;
  justify-content: flex-end;
  animation: vxOverlayIn 0.25s ease;
}
.vx-mini-cart-overlay .vx-mini-cart {
  animation: vxDrawerIn 0.35s var(--vx-spring-soft) both;
}

/* =====================================================================
   TOAST — Barra de "producto añadido"
   ===================================================================== */
.vx-mini-cart-bar {
  position: fixed;
  bottom: calc(var(--vx-tabbar-h) + 16px);
  left: 50%; transform: translateX(-50%) translateY(20px);
  z-index: 1100;
  display: flex; align-items: center; gap: 12px;
  background: var(--vx-surface-raised);
  backdrop-filter: var(--vx-blur);
  -webkit-backdrop-filter: var(--vx-blur);
  border: 1px solid var(--vx-border);
  border-radius: var(--vx-radius-xl);
  box-shadow: var(--vx-shadow-xl);
  padding: 12px 16px;
  min-width: min(380px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  opacity: 0; pointer-events: none;
  transition:
    opacity 0.3s var(--vx-spring-soft),
    transform 0.3s var(--vx-spring-soft);
}
.vx-mini-cart-bar.is-visible {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.vx-mini-cart-bar__icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--vx-green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.vx-mini-cart-bar__text {
  flex: 1; font-size: 0.88rem; font-weight: 600;
  color: var(--vx-text-primary); min-width: 0;
}
.vx-mini-cart-bar__actions {
  display: flex; gap: 8px; flex-shrink: 0;
}

/* =====================================================================
   WHATSAPP FAB
   ===================================================================== */
.vx-fab-wa {
  position: fixed;
  bottom: calc(var(--vx-tabbar-h) + env(safe-area-inset-bottom, 0px) + 16px);
  right: 20px; z-index: 800;
  display: flex; align-items: center; gap: 8px;
  background: #25d366; color: #fff;
  border-radius: var(--vx-radius-pill);
  padding: 12px 18px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4), var(--vx-shadow-lg);
  text-decoration: none; font-size: 0.9rem; font-weight: 600;
  transition: transform var(--vx-dur-fast) var(--vx-spring), box-shadow var(--vx-dur-fast) ease;
  animation: vxSpringIn 0.6s var(--vx-spring-soft) 1s both;
}
.vx-fab-wa:hover { transform: scale(1.06); box-shadow: 0 8px 28px rgba(37,211,102,0.5), var(--vx-shadow-xl); }
.vx-fab-wa:active { transform: scale(0.95); }

/* =====================================================================
   ÁREA CLIENTES - Diseño VX Mitaller
   ===================================================================== */
.vx-clients-area-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) clamp(16px, 3vw, 24px);
}

.vx-clients-h1 {
  font-family: var(--vx-font-display, "Syne", system-ui, sans-serif);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 clamp(24px, 4vw, 32px);
  color: var(--vx-text-primary);
}

/* Tabla de clientes */
.vx-table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 24px;
}

.vx-clients-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--vx-surface-solid);
  border-radius: var(--vx-radius-lg);
  overflow: hidden;
  box-shadow: var(--vx-shadow-sm);
  border: 1px solid var(--vx-border);
}

.vx-clients-table thead {
  background: var(--vx-bg-2);
}

.vx-clients-table th {
  padding: 14px 16px;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--vx-text-secondary);
  border-bottom: 1px solid var(--vx-border);
}

.vx-clients-table td {
  padding: 16px;
  border-bottom: 1px solid var(--vx-divider);
  font-size: 0.9rem;
  color: var(--vx-text-primary);
}

.vx-clients-table tbody tr {
  transition: background var(--vx-dur-fast) ease;
}

.vx-clients-table tbody tr:hover {
  background: var(--vx-accent-soft);
}

.vx-clients-table tbody tr:last-child td {
  border-bottom: none;
}

/* Estados factura / cotización (Perfex: span.label.label-* sin CSS de Bootstrap en tienda) */
.vx-clients-table .label.s-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.32rem 0.72rem;
  border-radius: var(--vx-radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
  border: 1px solid transparent;
  white-space: nowrap;
  vertical-align: middle;
}

.vx-clients-table .label.label-success {
  background: rgba(52, 199, 89, 0.16);
  color: #15803d;
  border-color: rgba(52, 199, 89, 0.35);
}

.vx-clients-table .label.label-danger {
  background: rgba(255, 59, 48, 0.14);
  color: #b91c1c;
  border-color: rgba(255, 59, 48, 0.32);
}

.vx-clients-table .label.label-warning {
  background: rgba(255, 149, 0, 0.16);
  color: #b45309;
  border-color: rgba(255, 149, 0, 0.35);
}

.vx-clients-table .label.label-info {
  background: rgba(0, 122, 255, 0.12);
  color: #1d4ed8;
  border-color: rgba(0, 122, 255, 0.3);
}

.vx-clients-table .label.label-default,
.vx-clients-table .label.label-muted {
  background: var(--vx-bg-2);
  color: var(--vx-text-secondary);
  border-color: var(--vx-border-strong);
}

[data-theme="dark"] .vx-clients-table .label.label-success {
  background: rgba(48, 209, 88, 0.2);
  color: #6ee7a8;
  border-color: rgba(48, 209, 88, 0.38);
}

[data-theme="dark"] .vx-clients-table .label.label-danger {
  background: rgba(255, 69, 58, 0.2);
  color: #fca5a5;
  border-color: rgba(255, 69, 58, 0.38);
}

[data-theme="dark"] .vx-clients-table .label.label-warning {
  background: rgba(255, 159, 10, 0.2);
  color: #fcd34d;
  border-color: rgba(255, 159, 10, 0.38);
}

[data-theme="dark"] .vx-clients-table .label.label-info {
  background: rgba(10, 132, 255, 0.2);
  color: #93c5fd;
  border-color: rgba(10, 132, 255, 0.38);
}

[data-theme="dark"] .vx-clients-table .label.label-default,
[data-theme="dark"] .vx-clients-table .label.label-muted {
  background: rgba(255, 255, 255, 0.08);
  color: var(--vx-text-secondary);
  border-color: var(--vx-border-strong);
}

/* Formularios clientes */
.vx-clients-form {
  max-width: 720px;
  background: var(--vx-surface-solid);
  border-radius: var(--vx-radius-xl);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--vx-shadow-md);
  border: 1px solid var(--vx-border);
}

.vx-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.vx-form-group {
  margin-bottom: 20px;
}

.vx-form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--vx-text-primary);
}

.vx-input,
.vx-textarea,
.vx-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--vx-border);
  border-radius: var(--vx-radius-md);
  background: var(--vx-bg);
  color: var(--vx-text-primary);
  font-size: 0.95rem;
  font-family: var(--vx-font);
  transition: border-color var(--vx-dur-fast) ease, box-shadow var(--vx-dur-fast) ease;
}

.vx-input:focus,
.vx-textarea:focus,
.vx-select:focus {
  outline: none;
  border-color: var(--vx-accent);
  box-shadow: 0 0 0 3px var(--vx-accent-soft);
}

.vx-textarea {
  min-height: 120px;
  resize: vertical;
}

.vx-form-hint {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--vx-text-secondary);
  line-height: 1.4;
}

/* Vista de factura/cotización */
.vx-invoice-view iframe,
.vx-estimate-view iframe {
  background: var(--vx-surface-solid);
  box-shadow: var(--vx-shadow-lg);
}

/* Botones del área de clientes */
.vx-btn--sm {
  padding: 6px 14px;
  font-size: 0.82rem;
}

.vx-btn--success {
  background: var(--vx-green);
  color: #fff;
  border-color: transparent;
}

.vx-btn--success:hover {
  background: color-mix(in srgb, var(--vx-green) 85%, #000);
}

/* Perfil cliente (tienda) */
.vx-profile-page__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(20px, 3vw, 28px);
}
.vx-profile-page__h1 {
  margin-bottom: 0 !important;
}
.vx-profile-back {
  margin: 0 0 12px;
}
.vx-profile-layout {
  display: grid;
  gap: clamp(20px, 3vw, 28px);
}
@media (min-width: 900px) {
  .vx-profile-layout {
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    align-items: start;
  }
}
.vx-profile-card {
  background: var(--vx-surface-solid);
  border: 1px solid var(--vx-border);
  border-radius: var(--vx-radius-xl);
  padding: clamp(20px, 3vw, 28px);
  box-shadow: var(--vx-shadow-sm);
}
.vx-profile-card--summary {
  text-align: center;
}
.vx-profile-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 18px;
  color: var(--vx-text-primary);
}
.vx-profile-card__avatar-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.vx-profile-card__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--vx-bg-2);
  border: 3px solid var(--vx-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.vx-profile-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vx-profile-card__avatar-fallback svg {
  width: 52px;
  height: 52px;
  color: var(--vx-text-secondary);
  opacity: 0.85;
}
.vx-profile-card__name {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--vx-text-primary);
  letter-spacing: -0.02em;
}
.vx-profile-card__company {
  margin: 0 0 20px;
  font-size: 0.9rem;
  color: var(--vx-text-secondary);
}
.vx-profile-dl {
  margin: 0;
  text-align: left;
}
.vx-profile-dl__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid var(--vx-divider);
}
.vx-profile-dl__row:last-child {
  border-bottom: none;
}
.vx-profile-dl dt {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--vx-text-secondary);
  margin: 0;
}
.vx-profile-dl dd {
  margin: 0;
  font-size: 0.95rem;
  color: var(--vx-text-primary);
  word-break: break-word;
}
.vx-profile-dl dd a {
  color: var(--vx-accent, #2563eb);
  font-weight: 600;
  text-decoration: none;
}
.vx-profile-dl dd a:hover {
  text-decoration: underline;
}
.vx-profile-edit-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 24px);
}
.vx-profile-photo-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.vx-profile-photo-row__img {
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--vx-border);
}
.vx-profile-photo-row__remove {
  font-size: 0.88rem;
  font-weight: 600;
  color: #dc2626;
  text-decoration: none;
}
.vx-profile-photo-row__remove:hover {
  text-decoration: underline;
}
.vx-profile-email-prefs {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--vx-divider);
}
.vx-profile-email-prefs__title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--vx-text-secondary);
  margin: 0 0 12px;
}
.vx-profile-check-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vx-profile-check-grid .vx-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--vx-text-primary);
  cursor: pointer;
}
.vx-profile-check-grid .vx-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--vx-accent, #2563eb);
}
.vx-profile-form__actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.vx-form-error {
  margin: 6px 0 0;
  font-size: 0.82rem;
  color: #dc2626;
}
.vx-profile-custom-fields .row {
  margin-left: 0;
  margin-right: 0;
}
.vx-profile-custom-fields [class*="col-md"] {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.vx-profile-custom-fields .form-control,
.vx-profile-custom-fields select {
  width: 100%;
  border-radius: var(--vx-radius-md);
  border: 1px solid var(--vx-border);
  background: var(--vx-bg);
  color: var(--vx-text-primary);
  padding: 10px 14px;
}

/* Responsive móvil */
@media (max-width: 900px) {
  .vx-clients-area-page {
    padding: 20px 16px;
  }
  
  .vx-table-responsive {
    border-radius: var(--vx-radius-md);
  }
  
  .vx-clients-table th,
  .vx-clients-table td {
    padding: 12px;
    font-size: 0.85rem;
  }
  
  .vx-clients-table th {
    font-size: 0.75rem;
  }
  
  .vx-clients-form {
    padding: 20px;
  }
  
  .vx-form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .vx-invoice-view iframe,
  .vx-estimate-view iframe {
    min-height: 600px;
  }
}
.vx-fab-wa__ic { flex-shrink: 0; }
.vx-fab-wa__label { white-space: nowrap; }

@media (max-width: 900px) {
  .vx-mini-cart-bar {
    bottom: calc(var(--vx-tabbar-h) + env(safe-area-inset-bottom, 0px) + 12px);
    flex-wrap: wrap;
  }
  .vx-mini-cart-bar__actions { width: 100%; justify-content: flex-end; }
  .vx-fab-wa__label { display: none; }
  .vx-fab-wa { padding: 14px; border-radius: 50%; }
}

@media (min-width: 901px) {
  .vx-mini-cart-bar {
    bottom: 24px;
  }
}

/* =====================================================================
   ENTREGA & QC — tabla checkin + badges
   ===================================================================== */
.vx-ot-checkin-table-wrap { overflow-x: auto; border-radius: var(--vx-radius-md); border: 1px solid var(--vx-border); }
.vx-ot-checkin-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.vx-ot-checkin-table thead { background: var(--vx-accent-soft); }
.vx-ot-checkin-table th { padding: 10px 14px; text-align: left; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--vx-text-secondary); }
.vx-ot-checkin-table td { padding: 10px 14px; border-top: 1px solid var(--vx-border); color: var(--vx-text-primary); vertical-align: middle; }
.vx-ot-checkin-table tbody tr:hover { background: var(--vx-accent-soft); }
.vx-ot-checkin-val { font-weight: 600; }

.vx-ot-delivery-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.vx-ot-delivery-badge { display: inline-flex; align-items: center; font-size: 0.78rem; font-weight: 700; padding: 4px 12px; border-radius: var(--vx-radius-pill); background: var(--vx-surface-solid); border: 1px solid var(--vx-border); color: var(--vx-text-secondary); }
.vx-ot-delivery-badge--ok { background: color-mix(in srgb, var(--vx-green, #22c55e) 14%, transparent); border-color: color-mix(in srgb, var(--vx-green, #22c55e) 40%, var(--vx-border)); color: var(--vx-green, #22c55e); }

.vx-ot-delivery-list { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.vx-ot-delivery-list li { font-size: 0.85rem; padding: 5px 12px; background: var(--vx-accent-soft); border-radius: var(--vx-radius-pill); border: 1px solid var(--vx-border); color: var(--vx-text-secondary); }
