/* Ajustes de adaptación a distintos tamaños de pantalla (auditoría de pantallas, 23/11/2026). Se carga al final. */

/* 1) Aviso de cookies: entre 641 y 700 px la barra inferior sigue visible y el aviso la tapaba. */
@media (min-width: 641px) and (max-width: 700px) {
  .vf-cookie-banner { bottom: calc(112px + env(safe-area-inset-bottom, 0px)); }
}

/* 2) Objetivos táctiles de al menos 44 px en el carrito y el menú móvil. */
.quantity-control { height: 44px; }
.quantity-control button { width: 44px; height: 42px; font-size: 20px; }
.quantity-control output { min-width: 28px; font-size: 13px; }
.remove-item { min-height: 44px; padding: 10px 8px; font-size: 12px; }

.vf-menu-group > a,
.vf-menu-client-links > a,
.vf-menu-more .vf-menu-group > a,
.vf-menu-secondary > a { min-height: 44px; }
.vf-menu-language .va-language-switch { min-height: 44px; }
.vf-menu-promo a { min-height: 44px; }
@media (max-width: 390px) {
  .vf-menu-group > a,
  .vf-menu-client-links > a { min-height: 44px; }
}

/* 3) Celulares Samsung y otros (320-430 px): enlaces del pie y de la portada con área táctil cómoda. */
@media (max-width: 700px) {
  .public-footer a, .vf-footer-social a, .public-footer-social a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 6px; }
  .vf-link, .vf-home .vf-link { min-height: 44px; display: inline-flex; align-items: center; }
  .vf-slider-dot { min-width: 44px; min-height: 44px; }
}
/* 4) Modo oscuro: las fotos de las tarjetas se muestran en un marco claro redondeado (no pegadas sobre el verde). */
html[data-theme="dark"] body:not(#vf-x) .vf-tile-rent > img {
  background: #f4f8f6 !important;
  border-radius: 16px !important;
  border: 1px solid #2b4a40 !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .35) !important;
  mix-blend-mode: normal !important;
  filter: none !important;
  object-fit: contain !important;
}
/* 5) Burbuja del carrito: fondo propio (antes era transparente con texto blanco y no se veía en modo claro). */
body:not(#vf-x) .public-header .public-nav .public-cart{position:relative}
body:not(#vf-x) .public-header .public-nav .public-cart .public-cart-count{position:absolute;top:-7px;right:-7px;z-index:3;display:inline-grid;place-items:center;min-width:21px;height:21px;padding:0 5px;border-radius:999px;background:#ffc83d !important;color:#2b2000 !important;border:2px solid #fff;font-size:11px;font-weight:800;line-height:1;box-shadow:0 2px 6px rgba(0,0,0,.28)}
html[data-theme="dark"] body:not(#vf-x) .public-header .public-nav .public-cart .public-cart-count{border-color:#0f2a21}

/* Movimiento de los productos de portada: se mantiene aunque Android tenga "quitar animaciones" o ahorro de bateria (prefers-reduced-motion). Decision del dueno. */
@media (prefers-reduced-motion: reduce){
  body:not(#vf-x) .vf-stage .vf-s1{animation:vfFloat 6s ease-in-out infinite !important}
  body:not(#vf-x) .vf-stage .vf-s2{animation:vfFloat 7s ease-in-out -2s infinite !important}
  body:not(#vf-x) .vf-stage .vf-s3{animation:vfFloat 8s ease-in-out -4s infinite !important}
  body:not(#vf-x) .vf-stage .vf-stage-badge{animation:vfFloat 9s ease-in-out -1s infinite !important}
  body:not(#vf-x) .vf-stage .vf-stage-ring{animation:vfSpin 60s linear infinite !important}
}

/* Movil: separar el boton de WhatsApp de la barra inferior y evitar que los textos traducidos de la barra se monten. */
@media (max-width:700px){
  body:not(#vf-x) .vf-whatsapp-float{bottom:calc(114px + env(safe-area-inset-bottom,0px))}
  body:not(#vf-x) .vf-bottom-nav .vf-bottom-item{white-space:normal;text-align:center;overflow:hidden;overflow-wrap:anywhere;line-height:1.1}
  body:not(#vf-x) .vf-bottom-nav .vf-bottom-item *{max-width:100%}
}

/* Portada, comunidad: los dos clubes con foto propia y texto legible debajo. */
body:not(#vf-x) .vf-tile-riders{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;min-height:0;height:auto}
body:not(#vf-x) .vf-tile-riders::before{display:none}
body:not(#vf-x) .vf-tile-riders .vf-club-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;margin-bottom:16px}
body:not(#vf-x) .vf-club-photos figure{margin:0;min-width:0;text-align:center}
body:not(#vf-x) .vf-tile-riders .vf-club-photos img{position:static;inset:auto;display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;opacity:1;border-radius:12px;transform:none}
body:not(#vf-x) .vf-club-photos figcaption{margin-top:6px;font:800 12px/1.25 Inter,Arial,sans-serif;color:#fff}
body:not(#vf-x) .vf-tile-riders .vf-tile-go{white-space:normal}

/* Portada, Auto Rent: varios vehiculos de la flota juntos. */
body:not(#vf-x) .vf-tile-rent{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:0;min-height:0}
body:not(#vf-x) .vf-tile-rent .vf-fleet-grid{order:-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:10px;width:100%;flex:1 0 auto;margin-bottom:18px}
body:not(#vf-x) .vf-fleet-item{display:flex;flex-direction:column;min-width:0;overflow:hidden;border-radius:14px;background:#fff}
body:not(#vf-x) .vf-fleet-item:only-child{grid-column:1/-1}
body:not(#vf-x) .vf-tile-rent .vf-fleet-item img{position:static;display:block;flex:1 1 auto;width:100%;height:auto;min-height:0;aspect-ratio:4/3;margin:0;object-fit:cover;mix-blend-mode:normal;opacity:1;-webkit-mask-image:none;mask-image:none;transform:none}
body:not(#vf-x) .vf-fleet-item small{padding:7px 8px;font:700 12px/1.25 Inter,Arial,sans-serif;text-align:center;color:#123d2f}
body:not(#vf-x) .vf-tile-rent>div{flex:none;max-width:none;padding-bottom:18px}
body:not(#vf-x) .vf-tile-rent .vf-tile-go{align-self:flex-start}
@media (max-width:420px){body:not(#vf-x) .vf-tile-rent .vf-fleet-grid{gap:8px}body:not(#vf-x) .vf-fleet-item small{font-size:11px;padding:6px 4px}}
body:not(#vf-x) .vf-tile-rent>div{align-self:stretch;margin:0;padding-left:0;padding-right:0;text-align:left;width:100%}
