:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --premium-dark: #1a1a1a;
    --premium-glass: rgba(255, 255, 255, 0.1);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Outfit', sans-serif;
    margin: 0;
    padding: 0;
    transition: var(--transition-smooth);
}

/* Toastify en vitrina: anclar al body y centrar (refuerzo si la lib ignora position:center o estilos inline). */
body.vf-storefront .toastify {
    left: 50% !important;
    right: auto !important;
    max-width: min(420px, 92vw);
    text-align: center;
    box-sizing: border-box;
}
body.vf-storefront .toastify.on {
    transform: translateX(-50%) !important;
}

/* Storefront Defaults */
.store-logo {
    max-height: 80px;
    object-fit: contain;
}

.store-banner {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 0 0 40px 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Carrusel jQuery Banner Rotator (sustituye {{banner}} en modo rotator) */
.vf-banner-rotator-host {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 0 0 40px 40px;
}
.vf-banner-rotator-host .vf-banner-rotator-inner.banner-rotator {
    margin-left: auto;
    margin-right: auto;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.product-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.product-image {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    color: var(--premium-dark);
}

.price {
    font-weight: 700;
    font-size: 1.4rem;
    color: #2ecc71;
    margin: 0;
}

.badge-booking {
    background: #e67e22;
    color: #fff;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 20px;
    margin-top: 10px;
    display: inline-block;
}

/* Error View */
.error-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* —— Ficha de producto: temas (Dashboard → Configuración → Diseño de tienda) —— */
.product-detail-view {
    --vf-pd-accent: var(--primary-color, #0d6efd);
    --vf-pd-surface: #fff;
    --vf-pd-muted: #6c757d;
    --vf-pd-radius-img: 1rem;
    --vf-pd-radius-panel: 1rem;
}

.product-detail-view.vf-pd-theme-default .product-main-img {
    border-radius: var(--vf-pd-radius-img);
}

/* Primavera: formal, pasteles, tipografía clara */
.product-detail-view.vf-pd-theme-primavera {
    --vf-pd-accent: #2d6a4f;
    --vf-pd-accent-2: #e8b4bc;
    --vf-pd-surface: #f8faf7;
    --vf-pd-muted: #4a5759;
    --vf-pd-radius-img: 0.35rem;
    --vf-pd-radius-panel: 0.25rem;
    padding: 1.5rem;
    background: linear-gradient(180deg, #f4f9f4 0%, #fff 48%);
    border: 1px solid rgba(45, 106, 79, 0.15);
    border-radius: 0.5rem;
}

.product-detail-view.vf-pd-theme-primavera .product-main-img {
    border-radius: var(--vf-pd-radius-img);
    border: 3px double rgba(45, 106, 79, 0.35);
    box-shadow: 0 4px 24px rgba(45, 106, 79, 0.08);
}

.product-detail-view.vf-pd-theme-primavera h1.display-5 {
    font-family: Georgia, 'Times New Roman', serif;
    color: #1b4332;
    letter-spacing: -0.02em;
}

.product-detail-view.vf-pd-theme-primavera .text-primary,
.product-detail-view.vf-pd-theme-primavera #product-detail-price {
    color: var(--vf-pd-accent) !important;
}

.product-detail-view.vf-pd-theme-primavera .btn-primary {
    background: var(--vf-pd-accent) !important;
    border-color: var(--vf-pd-accent) !important;
    border-radius: 0.3rem !important;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.02em;
}

/* Verano: dinámico, colores vivos */
.product-detail-view.vf-pd-theme-verano {
    --vf-pd-accent: #ff6b6b;
    --vf-pd-accent-2: #4ecdc4;
    padding: 0.5rem 0 1.5rem;
    background: linear-gradient(135deg, #fff5f5 0%, #e8fffe 50%, #fff 100%);
    border-radius: 1.75rem;
}

.product-detail-view.vf-pd-theme-verano .product-main-img {
    border-radius: 1.75rem;
    box-shadow: 0 12px 40px rgba(255, 107, 107, 0.25), 0 4px 0 var(--vf-pd-accent-2);
    transform: rotate(-0.5deg);
}

.product-detail-view.vf-pd-theme-verano h1.display-5 {
    color: #1a535c;
    font-weight: 800;
}

.product-detail-view.vf-pd-theme-verano .btn-primary {
    background: linear-gradient(90deg, #ff6b6b, #ee5a5a) !important;
    border: none !important;
    border-radius: 2rem !important;
    box-shadow: 0 8px 24px rgba(255, 107, 107, 0.35);
    font-weight: 700;
}

.product-detail-view.vf-pd-theme-verano .btn-warning {
    border-radius: 2rem !important;
    font-weight: 700;
}

.product-detail-view.vf-pd-theme-verano #product-detail-price {
    color: #ff6b6b !important;
}

/* Otoño: deportivo, tierra y energía */
.product-detail-view.vf-pd-theme-otono {
    --vf-pd-accent: #bc6c25;
    --vf-pd-accent-2: #283618;
    padding-top: 1.25rem;
    border-top: 6px solid var(--vf-pd-accent);
    background: linear-gradient(180deg, #fefae0 0%, #faedcd 100%);
}

.product-detail-view.vf-pd-theme-otono .product-main-img {
    border-radius: 0.75rem;
    clip-path: polygon(0 0, 100% 0, 100% 92%, 92% 100%, 0 100%);
    box-shadow: 8px 8px 0 var(--vf-pd-accent-2);
}

.product-detail-view.vf-pd-theme-otono h1.display-5 {
    color: var(--vf-pd-accent-2);
    font-weight: 900;
    text-transform: uppercase;
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    letter-spacing: 0.04em;
}

.product-detail-view.vf-pd-theme-otono .badge {
    border-radius: 0.25rem !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.7rem;
}

.product-detail-view.vf-pd-theme-otono .btn-primary {
    background: var(--vf-pd-accent) !important;
    border-color: var(--vf-pd-accent-2) !important;
    border-width: 2px;
    border-radius: 0.4rem !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.product-detail-view.vf-pd-theme-otono #product-detail-price {
    color: var(--vf-pd-accent) !important;
}

/* Invierno: familiar, acogedor, frío + calidez */
.product-detail-view.vf-pd-theme-invierno {
    --vf-pd-accent: #457b9d;
    --vf-pd-warm: #f1faee;
    padding: 1.75rem;
    background: linear-gradient(160deg, #e8f4f8 0%, var(--vf-pd-warm) 55%, #fff 100%);
    border-radius: 1.25rem;
    box-shadow: inset 0 0 0 1px rgba(69, 123, 157, 0.2), 0 16px 48px rgba(29, 53, 87, 0.12);
}

.product-detail-view.vf-pd-theme-invierno .row.g-5 {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 2px 16px rgba(29, 53, 87, 0.06);
}

.product-detail-view.vf-pd-theme-invierno .product-main-img {
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(29, 53, 87, 0.15);
    border: 4px solid #fff;
}

.product-detail-view.vf-pd-theme-invierno h1.display-5 {
    color: #1d3557;
    font-weight: 700;
}

.product-detail-view.vf-pd-theme-invierno .btn-primary {
    background: var(--vf-pd-accent) !important;
    border-color: #1d3557 !important;
    border-radius: 0.75rem !important;
    font-weight: 600;
}

.product-detail-view.vf-pd-theme-invierno #product-detail-price {
    color: var(--vf-pd-accent) !important;
}

/* Galería PhotoSwipe + multimedia en ficha */
.vf-product-gallery .vf-pswp-item {
    cursor: zoom-in;
}
.vf-product-gallery .vf-pswp-item:focus {
    outline: 2px solid rgba(13, 110, 253, 0.5);
    outline-offset: 2px;
}
/* Lightbox: imagen lo más grande posible sin recortar (conserva relación de aspecto) */
.pswp .pswp__img {
    object-fit: contain;
    object-position: center;
}
.pswp .pswp__zoom-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}
.vf-product-extra-media .btn {
    font-size: 0.875rem;
}
#vf-media-modal-body video,
#vf-media-modal-body audio {
    display: block;
    margin: 0 auto;
}
.survey-star {
    cursor: pointer;
}

/* Barra de estado del sitio de venta: fija arriba (notificaciones / contexto). Personalizable vía --vf-nav-* o NavBarThemeJson en el panel. */
#vf-store-user-nav {
    --vf-nav-bg: #212529;
    --vf-nav-fg: #ffffff;
    --vf-nav-link: rgba(255, 255, 255, 0.88);
    --vf-nav-btn-border: rgba(255, 255, 255, 0.55);
    --vf-nav-btn-fg: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1040;
}
#vf-store-user-nav .vf-store-user-nav-inner {
    min-height: 58px;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    background-color: var(--vf-nav-bg) !important;
    color: var(--vf-nav-fg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
#vf-store-user-nav .navbar-brand,
#vf-store-user-nav .vf-store-nav-title {
    color: var(--vf-nav-fg) !important;
}
/* Mismo criterio que los botones outline de la barra: borde y color desde NavBarThemeJson (--vf-nav-btn-*). */
#vf-store-user-nav .navbar-toggler {
    color: var(--vf-nav-btn-fg) !important;
    border-color: var(--vf-nav-btn-border) !important;
    background-color: transparent;
}
#vf-store-user-nav .navbar-toggler:focus {
    box-shadow: none;
}
#vf-store-user-nav .navbar-toggler:focus-visible {
    outline: 2px solid var(--vf-nav-btn-border);
    outline-offset: 2px;
}
/* Icono hamburguesa: color = --vf-nav-btn-fg (sin invert fijo, que rompía temas claros). */
#vf-store-user-nav .navbar-toggler-icon {
    filter: none !important;
    background-color: var(--vf-nav-btn-fg);
    background-image: none !important;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath fill='black' d='M4 7h22v2.5H4zm0 6.75h22v2.5H4zm0 6.75h22v2.5H4z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath fill='black' d='M4 7h22v2.5H4zm0 6.75h22v2.5H4zm0 6.75h22v2.5H4z'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: 1.25em 1.25em;
    mask-size: 1.25em 1.25em;
}
#vf-store-user-nav #vf-nav-notif-btn.btn-outline-light {
    color: var(--vf-nav-btn-fg) !important;
    border-color: var(--vf-nav-btn-border) !important;
    background: transparent;
}
#vf-store-user-nav #vf-nav-cart-btn.btn-outline-light {
    color: var(--vf-nav-btn-fg) !important;
    border-color: var(--vf-nav-btn-border) !important;
    background: transparent;
}
#vf-store-user-nav #nav-login-btn.btn-outline-light {
    color: var(--vf-nav-btn-fg) !important;
    border-color: var(--vf-nav-btn-border) !important;
    background: transparent;
}
#vf-store-user-nav .btn-outline-light:hover,
#vf-store-user-nav .btn-outline-light:focus-visible {
    color: var(--vf-nav-btn-fg) !important;
    background: color-mix(in srgb, var(--vf-nav-btn-fg) 12%, transparent) !important;
    border-color: var(--vf-nav-btn-border) !important;
}
#vf-store-user-nav .nav-link.dropdown-toggle {
    color: var(--vf-nav-fg) !important;
    padding: 0.25rem 0.5rem;
    min-width: 2.25rem;
    min-height: 2.25rem;
    justify-content: center;
}
#vf-store-user-nav .vf-store-nav-logo {
    height: 50px;
    width: auto;
    max-width: min(55vw, 280px);
    object-fit: contain;
    display: block;
}
#vf-store-user-nav .vf-store-nav-title {
    line-height: 1.2;
    font-size: clamp(1.05rem, 2.5vw, 1.35rem);
}
#vf-store-user-nav .truncate-text {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Mismo corte que navbar-expand-lg: con menú hamburguesa solo logo + toggler (nombre oculto para no saturar). */
@media (max-width: 991.98px) {
    #vf-store-user-nav .vf-store-nav-title {
        display: none !important;
    }
}

/* Carrito: miniatura 4:3, 79px de alto (~105px de ancho) — store-core showCart */
.vf-cart-line-img {
    width: calc(79px * 4 / 3);
    height: 79px;
    flex-shrink: 0;
    margin: 0 auto;
}
.vf-cart-line-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Scroll al abrir agenda CS: título visible bajo la barra sticky (#vf-store-user-nav ~58px + margen) */
#vf-agenda-schedule-title {
    scroll-margin-top: 5.25rem;
}

/* Layout tienda: contenido flexible + pie */
body.store-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
#store-root {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Vista carrito: hijo de #store-root antes de #vf-store-footer (no debajo del pie). */
#cart-view-container {
    width: 100%;
    flex: 1 0 auto;
    box-sizing: border-box;
}

/* Catálogo: margen lateral si #vf-portfolio-root no tiene clase Bootstrap .container / .container-fluid */
#store-root #vf-portfolio-root:not([class*="container"]) {
    box-sizing: border-box;
    width: 100%;
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: max(0.75rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.75rem, env(safe-area-inset-right, 0px));
}

/* FAB carrito (host en body; estilos base — posición crítica también en JS con !important) */
#vf-floating-cart-host.vf-floating-cart-host {
    position: fixed !important;
    left: 1rem;
    right: auto !important;
    bottom: 1rem;
    top: auto !important;
    z-index: 2147483646;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: auto;
    width: max-content;
    max-width: calc(100vw - 2rem);
    box-sizing: border-box;
}
#vf-floating-cart-host .vf-floating-cart-btn {
    box-sizing: border-box;
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 50%;
    background: #0d6efd;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
    cursor: pointer;
    padding: 0;
    position: relative;
    overflow: visible;
}
#vf-floating-cart-host .vf-floating-cart-btn:hover {
    filter: brightness(1.05);
}
#vf-floating-cart-host .vf-floating-cart-badge {
    display: none;
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #dc3545;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    align-items: center;
    justify-content: center;
}

.vf-store-footer {
    flex-shrink: 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #eef1f4 100%);
    color: #212529;
}
.vf-store-footer-link {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}
.vf-store-footer-link:hover {
    text-decoration: underline;
}
.vf-store-footer-copy {
    font-size: 0.72rem;
    color: #6c757d;
    letter-spacing: 0.02em;
}
.vf-store-about .vf-about-map {
    min-height: 280px;
    height: 280px;
    background: #e9ecef;
}

/* Ficha de producto: cintillo «misma clasificación» — carril horizontal con desplazamiento manual */
#store-root #product-detail-container .vf-pd-related-strip {
    width: 100%;
    max-width: 100%;
    clear: both;
}

#store-root #product-detail-container .vf-pd-related-viewport,
#store-root #product-detail-container .vf-pd-related-carousel {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    scrollbar-width: thin;
    padding-bottom: 6px;
    margin-left: -4px;
    margin-right: -4px;
    padding-left: 4px;
    padding-right: 4px;
}

#store-root #product-detail-container .vf-pd-related-track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.75rem;
    width: max-content;
    max-width: none;
    padding: 4px 0;
}

#store-root #product-detail-container .vf-pd-related-card {
    flex: 0 0 120px;
    width: 120px;
    max-width: 120px;
    min-width: 120px;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

#store-root #product-detail-container .vf-pd-related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

#store-root #product-detail-container .vf-pd-related-card:focus-visible {
    outline: 2px solid var(--primary-color, #0d6efd);
    outline-offset: 2px;
}

#store-root #product-detail-container .vf-pd-related-card-img {
    flex: 0 0 auto;
    height: 90px;
    background: #f1f3f5;
    overflow: hidden;
}

#store-root #product-detail-container .vf-pd-related-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#store-root #product-detail-container .vf-pd-related-card-body {
    padding: 0.5rem 0.6rem 0.65rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1 1 auto;
    min-width: 0;
}

#store-root #product-detail-container .vf-pd-related-card-title {
    font-size: 0.72rem;
    line-height: 1.25;
    font-weight: 600;
    color: var(--premium-dark, #1a1a1a);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 2.4em;
}

#store-root #product-detail-container .vf-pd-related-card-price {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary-color, #0d6efd);
}

/* Compatibilidad: reglas globales anteriores (catálogo sin ficha abierta) */
.vf-pd-related-strip {
    max-width: 100%;
}
.vf-social-embeds .vf-social-embed-item {
    max-width: 100%;
}
.vf-social-embeds .vf-social-embed-frame {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}
.vf-pd-social-strip {
    max-width: 100%;
}
.vf-pd-related-carousel {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 6px;
    margin-left: -4px;
    margin-right: -4px;
    padding-left: 4px;
    padding-right: 4px;
}
.vf-pd-related-track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.75rem;
    width: max-content;
    padding: 4px 0;
}
.vf-pd-related-card {
    flex: 0 0 120px;
    width: 120px;
    max-width: 120px;
    min-width: 120px;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}
.vf-pd-related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}
.vf-pd-related-card:focus-visible {
    outline: 2px solid var(--primary-color, #0d6efd);
    outline-offset: 2px;
}
.vf-pd-related-card-img {
    height: 90px;
    background: #f1f3f5;
    overflow: hidden;
}
.vf-pd-related-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.vf-pd-related-card-body {
    padding: 0.5rem 0.6rem 0.65rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.vf-pd-related-card-title {
    font-size: 0.72rem;
    line-height: 1.25;
    font-weight: 600;
    color: var(--premium-dark, #1a1a1a);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 2.4em;
}
.vf-pd-related-card-price {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary-color, #0d6efd);
}

/* Carril de favoritos / destacados ({{featured_products}}) */
.vf-featured-section {
    width: 100%;
}
.vf-featured-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}
.vf-featured-track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 30px;
    padding: 0.25rem 0;
}
/* Misma anchura mínima que .product-grid (minmax(280px, 1fr)) y misma ficha que .product-card */
#store-root .vf-featured-track .vf-featured-card {
    flex: 0 0 280px;
    width: 280px;
    max-width: 280px;
    box-sizing: border-box;
    cursor: pointer;
    text-align: left;
}
#store-root .vf-featured-track .vf-featured-card:not(.product-card) {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}
#store-root .vf-featured-track .vf-featured-card:not(.product-card):hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.vf-featured-img {
    height: 250px;
    background-size: cover;
    background-position: center;
    margin-bottom: 0.35rem;
}
.vf-featured-name {
    font-size: 1.1rem;
    font-weight: 600;
}
.vf-featured-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2ecc71;
    margin: 0;
}

/* Buscador de productos en vitrina (/B/{q}) */
.vf-store-nav-search .form-control {
    min-width: 8rem;
}
.vf-store-search-host {
    flex: 1 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* Búsqueda /B/: contenido antes del pie VF; ocultar pie suelto del CustomHtml y el bloque main duplicado */
#store-root.vf-store-search-active > footer:not(#vf-store-footer) {
    display: none !important;
}
#store-root.vf-store-search-active > main {
    display: none !important;
}
.vf-store-search-results .vf-serp-item,
.vf-store-search-results .vf-search-item {
    background: #fff;
    border-radius: 1rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}
.vf-store-search-results.vf-store-search-custom .vf-search-item,
.vf-store-search-results.vf-store-search-custom article.vf-search-item {
    margin-bottom: 0;
    height: 100%;
    overflow: hidden;
}
.vf-store-search-results.vf-store-search-custom .vf-search-item a,
.vf-store-search-results.vf-store-search-custom article.vf-search-item a {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}
.vf-store-search-results.vf-store-search-custom .vf-search-item img,
.vf-store-search-results.vf-store-search-custom article.vf-search-item img {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}
.vf-store-search-results.vf-layout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 0.75rem;
}
.vf-store-search-results.vf-layout-grid .vf-serp-item,
.vf-store-search-results.vf-layout-grid .vf-search-item {
    margin-bottom: 0;
    height: 100%;
}
.vf-store-search-results.vf-layout-compact .vf-serp-item {
    padding: 0.65rem 0.85rem;
}
.vf-store-search-results.vf-layout-compact .vf-serp-thumb {
    width: 48px;
    height: 48px;
}
.vf-serp-thumb {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 0.5rem;
}
.vf-store-search-advanced-panel {
    max-width: 640px;
}

/* Hotel / Hostal (HH) — selector de rango Litepicker */
.vf-storefront-hh .vf-hh-date-range-wrap {
    position: relative;
}
.vf-storefront-hh .vf-hh-date-range-wrap .input-group .form-control {
    cursor: pointer;
    background-color: #fff;
}
.vf-storefront-hh .vf-hh-date-range-wrap .input-group-text {
    color: var(--bs-primary, #0d6efd);
}
.vf-storefront-hh .litepicker {
    z-index: 1060;
    font-family: inherit;
}
.vf-storefront-hh .litepicker .container__months {
    border-radius: 0.75rem;
    box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.08);
}
.vf-storefront-hh .litepicker .month-item-header {
    font-weight: 600;
}
.vf-storefront-hh .litepicker .day-item.is-start-date,
.vf-storefront-hh .litepicker .day-item.is-end-date {
    background-color: var(--bs-primary, #0d6efd);
    color: #fff;
}
.vf-storefront-hh .litepicker .day-item.is-in-range {
    background-color: rgba(13, 110, 253, 0.12);
}
.vf-storefront-hh #vf-hh-nights-hint:not(:empty) {
    font-weight: 500;
    color: var(--bs-secondary-color, #6c757d);
}
