/* ========================================
   TEMA VOYAGE - Experiencias premium / aventura
   Tarjetas tipo "viaje": muy grandes, imagen protagonista 3/2, overlay sutil, tipografía dramática.
======================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Cormorant+Garamond:wght@500;600;700&display=swap');

:root {
    --voyage-bg: #0f1419;
    --voyage-card: #1a222d;
    --voyage-card-light: #232d3a;
    --voyage-text: #f0f2f5;
    --voyage-muted: #8b98a8;
    --voyage-border: #2d3a48;
    --voyage-font: 'Outfit', -apple-system, sans-serif;
    --voyage-font-display: 'Cormorant Garamond', serif;
    --font-display: 'Cormorant Garamond', serif;
    --voyage-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Identidad: experiencias premium, oscuro, inmersivo */
body.theme-voyage {
    background: var(--voyage-bg) !important;
    color: var(--voyage-text) !important;
    font-family: var(--voyage-font) !important;
}
body.theme-voyage .site-header.store-header {
    background: rgba(15, 20, 25, 0.95) !important;
    border-bottom: 1px solid var(--voyage-border) !important;
    padding: 1.25rem 0 !important;
    -webkit-backdrop-filter: blur(12px) !important;
    backdrop-filter: blur(12px) !important;
}
body.theme-voyage .site-header.store-header .logo a,
body.theme-voyage .site-header.store-header .desktop-nav a,
body.theme-voyage .site-header.store-header .icon-link {
    color: var(--voyage-text) !important;
}
body.theme-voyage .site-header.store-header .desktop-nav a:hover,
body.theme-voyage .site-header.store-header .logo a:hover {
    color: var(--secondary) !important;
}

/* Desplegables del header: fondo claro + texto oscuro (el nav principal sigue claro sobre oscuro) */
body.theme-voyage .site-header.store-header .desktop-nav .dropdown {
    background: #ffffff !important;
    border: 1px solid var(--voyage-border) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35) !important;
}
body.theme-voyage .site-header.store-header .desktop-nav .dropdown a {
    color: #1a222d !important;
    font-weight: 500 !important;
}
body.theme-voyage .site-header.store-header .desktop-nav .dropdown a:hover,
body.theme-voyage .site-header.store-header .desktop-nav .dropdown a:focus-visible {
    color: var(--primary) !important;
    background: #eef2f6 !important;
}
body.theme-voyage .site-header.store-header .desktop-nav .dropdown .has-dropdown { position: relative; }
body.theme-voyage .site-header.store-header .desktop-nav .dropdown .has-dropdown .dropdown {
    left: 100%;
    top: 0;
    margin-top: 0;
    margin-left: -4px;
    min-width: 180px;
    z-index: 1101;
}
body.theme-voyage .site-header.store-header .desktop-nav .dropdown .has-dropdown:hover > .dropdown {
    opacity: 1;
    visibility: visible;
}

body.theme-voyage .site-header.store-header .mobile-menu-toggle {
    color: #fff !important;
}
body.theme-voyage .btn,
body.theme-voyage .product-card .btn,
body.theme-voyage button[type="submit"] {
    background: var(--primary) !important;
    color: #fff !important;
    border: none !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    padding: 14px 28px !important;
    font-family: var(--voyage-font) !important;
    transition: var(--voyage-transition) !important;
    letter-spacing: 0.02em !important;
}
body.theme-voyage .btn:hover,
body.theme-voyage button[type="submit"]:hover {
    background: var(--secondary) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

/* Página Tienda: solo título, sin espacio hasta filtros */
body.theme-voyage .categories-header {
    background-color: #0f1419 !important;
    background-image: none !important;
    color: #ffffff !important;
    padding: 4px 0 2px !important;
    margin-bottom: 0 !important;
    text-align: center !important;
}
body.theme-voyage .categories-header h1 {
    color: #ffffff !important;
    font-size: 1.1rem !important;
    margin: 0 !important;
}
body.theme-voyage .categories-header p {
    display: none !important;
}

/* Títulos: dramáticos, serif */
body.theme-voyage .section-title,
body.theme-voyage .hero-title,
body.theme-voyage .categories-header h1 {
    font-family: var(--voyage-font-display) !important;
    color: var(--voyage-text);
    font-weight: 600 !important;
}
body.theme-voyage .section-title {
    font-size: clamp(2rem, 5.5vw, 3.5rem) !important;
    letter-spacing: 0.02em !important;
}
body.theme-voyage .section-subtitle {
    color: var(--voyage-muted) !important;
    font-weight: 300 !important;
    font-size: 1.05rem !important;
    margin-bottom: 0 !important;
}
/* Sección productos: texto y subtítulo pegados, poco espacio */
body.theme-voyage .section .section-header-wrap {
    margin-bottom: 0.5rem !important;
}
body.theme-voyage .section .section-tag {
    margin-bottom: 0.1rem !important;
}
body.theme-voyage .section .section-title {
    margin-top: 0 !important;
    margin-bottom: 0.08rem !important;
}
body.theme-voyage .section .section-subtitle {
    margin-top: 0.08rem !important;
    margin-bottom: 0 !important;
    color: var(--voyage-muted) !important;
    opacity: 1 !important;
}

body.theme-voyage .section .section-heading-inline {
    row-gap: 0.05rem !important;
    column-gap: 0.4rem !important;
}
body.theme-voyage .section .section-heading-inline-sub {
    font-size: clamp(0.52rem, 1.1vw, 0.66rem) !important;
    line-height: 1.12 !important;
}
body.theme-voyage .section .section-header-wrap--compact {
    margin-bottom: 0.35rem !important;
}

/* ========== SECCIONES: flujo en una columna, full-bleed oscuro ========== */
body.theme-voyage .section,
body.theme-voyage .features-section,
body.theme-voyage .categories-section,
body.theme-voyage .about-section {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}
body.theme-voyage .section .container,
body.theme-voyage .section .container-wide,
body.theme-voyage .features-section .container {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}

/* Features Voyage: 1 fila de 4 en desktop, 1 col en móvil; centrado y ordenado */
body.theme-voyage .features-section {
    padding: 4rem 0 !important;
    text-align: center !important;
}
body.theme-voyage .features-section .section-title,
body.theme-voyage .features-section .section-subtitle {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
body.theme-voyage .features-section .features-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.75rem !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    justify-items: stretch !important;
}
body.theme-voyage .feature-card {
    text-align: left !important;
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    gap: 1rem 1.25rem !important;
    align-items: center !important;
    justify-items: start !important;
}
body.theme-voyage .feature-card .icon-box {
    grid-row: 1 / -1 !important;
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    background: rgba(255,255,255,0.06) !important;
    font-size: 1.5rem !important;
    margin: 0 !important;
}
body.theme-voyage .feature-card h4 {
    margin: 0 !important;
    font-size: 1.2rem !important;
    grid-column: 2 !important;
    line-height: 1.3 !important;
}
body.theme-voyage .feature-card p {
    margin: 0.35rem 0 0 !important;
    grid-column: 2 !important;
    line-height: 1.5 !important;
    min-width: 0 !important;
}
@media (max-width: 768px) {
    body.theme-voyage .features-section .features-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
        padding: 0 0.5rem !important;
    }
    body.theme-voyage .feature-card {
        text-align: center !important;
        grid-template-columns: 1fr !important;
        justify-items: center !important;
        padding: 1.25rem 1rem !important;
    }
    body.theme-voyage .feature-card .icon-box {
        grid-row: auto !important;
        margin: 0 auto 0.75rem !important;
    }
    body.theme-voyage .feature-card h4 {
        grid-column: 1 !important;
        text-align: center !important;
    }
    body.theme-voyage .feature-card p {
        grid-column: 1 !important;
        text-align: center !important;
    }
}

/* ========== GRID EXPERIENCIAS: flex centrado, 2 cols → 1 móvil (no aplica a relacionados) ========== */
body.theme-voyage .products-grid:not(.related-products-grid):not(.home-products-grid) {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 2.5rem 2rem !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
body.theme-voyage .products-grid:not(.related-products-grid):not(.home-products-grid) > .product-card {
    flex: 0 1 calc(50% - 1rem) !important;
    max-width: calc(50% - 1rem) !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}
@media (max-width: 900px) {
    body.theme-voyage .products-grid:not(.related-products-grid):not(.home-products-grid) {
        gap: 2rem !important;
    }
    body.theme-voyage .products-grid:not(.related-products-grid):not(.home-products-grid) > .product-card {
        flex: 0 1 100% !important;
        max-width: 100% !important;
    }
}
@media (max-width: 600px) {
    body.theme-voyage .products-grid:not(.related-products-grid):not(.home-products-grid) {
        gap: 1.5rem !important;
    }
}

/* Ficha producto — relacionados: 4 en fila */
body.theme-voyage .related-products-section .products-grid,
body.theme-voyage .products-grid.related-products-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 1.5rem !important;
    max-width: 100% !important;
    width: 100% !important;
}
body.theme-voyage .related-products-section .products-grid > .product-card,
body.theme-voyage .products-grid.related-products-grid > .product-card {
    flex: none !important;
    max-width: none !important;
    width: auto !important;
    min-width: 0 !important;
}
@media (max-width: 768px) {
    body.theme-voyage .related-products-section .products-grid,
    body.theme-voyage .products-grid.related-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
}
@media (max-width: 520px) {
    body.theme-voyage .related-products-section .products-grid,
    body.theme-voyage .products-grid.related-products-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Carousel home: en Voyage es grid 2 cols, cards más altas; móvil 1 col ancho completo */
body.theme-voyage .products-carousel-wrapper {
    padding: 0 !important;
}
body.theme-voyage .products-carousel-track {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem 1.25rem !important;
    overflow: visible !important;
    padding: 0 0 0.75rem !important;
}
body.theme-voyage .products-carousel-track .product-card {
    flex: none !important;
    min-width: 0 !important;
    max-width: none !important;
}
@media (max-width: 768px) {
    body.theme-voyage .products-carousel-track {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }
    body.theme-voyage .products-carousel-track .product-card {
        width: 100% !important;
    }
}
@media (max-width: 480px) {
    body.theme-voyage .products-carousel-track {
        gap: 1.5rem !important;
    }
}
body.theme-voyage .pcarousel-btn {
    display: none !important;
}

/* Tarjeta = experiencia premium: fondo oscuro, imagen 3/2, protagonista */
body.theme-voyage .product-card {
    background: var(--voyage-card) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 1px solid var(--voyage-border) !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25) !important;
    transition: var(--voyage-transition) !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}
body.theme-voyage .product-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 24px 48px rgba(0,0,0,0.35) !important;
    border-color: var(--primary) !important;
}

/* Móvil: imagen muy protagonista, info mínima */
@media (max-width: 768px) {
    body.theme-voyage .product-card {
        min-height: auto !important;
    }
    body.theme-voyage .product-image {
        aspect-ratio: var(--product-image-aspect, 1 / 1) !important;
        min-height: 0 !important;
    }
    body.theme-voyage .product-info {
        padding: 0.65rem 0.85rem !important;
    }
    body.theme-voyage .product-title {
        font-size: 1.1rem !important;
        line-height: 1.3 !important;
    }
    body.theme-voyage .product-price {
        font-size: 1rem !important;
    }
}

/* Imagen protagonista: marco cuadrado */
body.theme-voyage .product-image {
    aspect-ratio: var(--product-image-aspect, 1 / 1) !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    background: var(--voyage-card-light) !important;
    position: relative !important;
    overflow: hidden !important;
    flex: 0 0 auto !important;
}
body.theme-voyage .product-image::after {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(to top, rgba(0,0,0,0.25) 0%, transparent 55%) !important;
    opacity: 0 !important;
    transition: opacity 0.4s ease !important;
    pointer-events: none !important;
}
body.theme-voyage .product-card:hover .product-image::after {
    opacity: 1 !important;
}
body.theme-voyage .product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform 0.7s ease !important;
}
body.theme-voyage .product-card:hover .product-image.no-hover img {
    transform: scale(1.06) !important;
}
body.theme-voyage .product-card:hover .product-image.has-hover .hover-img {
    transform: scale(1.06) !important;
}

/* Badge experiencia */
body.theme-voyage .product-badge {
    top: 1rem !important;
    left: 1rem !important;
    padding: 8px 14px !important;
    border-radius: 6px !important;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    background: var(--primary) !important;
    color: #fff !important;
}

body.theme-voyage .cl-card-badge.badge-sale {
    background: var(--primary-color, var(--primary)) !important;
    color: #fff !important;
}

body.theme-voyage .badge-promo {
    background: #059669 !important;
    color: #fff !important;
}

/* Info discreta: la foto manda, texto y precio secundarios */
body.theme-voyage .product-info {
    padding: 0.75rem 1rem !important;
    text-align: center !important;
    flex: 0 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    background: var(--voyage-card) !important;
}
body.theme-voyage .product-category {
    font-size: 0.6rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    color: var(--voyage-muted) !important;
    font-weight: 500 !important;
    margin-bottom: 0.25rem !important;
}
body.theme-voyage .product-title {
    font-family: var(--voyage-font) !important;
    font-size: 1.15rem !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    color: var(--voyage-text) !important;
    margin-bottom: 0.35rem !important;
    text-align: center !important;
}
body.theme-voyage .product-title a {
    text-align: center !important;
    display: block !important;
}
body.theme-voyage .product-price-dual-card,
body.theme-voyage .product-price-dual {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

body.theme-voyage .product-price {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: var(--primary-color, var(--primary)) !important;
    margin-top: auto !important;
    margin-bottom: 0.5rem !important;
    text-align: center !important;
}

/* Secciones: menos espacio vacío, más contenido visible (web y móvil) */
body.theme-voyage .section {
    padding: 1.25rem 0 !important;
}
body.theme-voyage .product-detail-wrapper.section,
body.theme-voyage .product-detail-wrapper { padding-top: 0 !important; margin-top: 0 !important; }
body.theme-voyage .category-page-content.section,
body.theme-voyage .category-page-content { padding-top: 0 !important; margin-top: 0 !important; }
@media (min-width: 769px) {
    body.theme-voyage .section {
        padding: 1.5rem 0 !important;
    }
}
body.theme-voyage .feature-card {
    background: var(--voyage-card) !important;
    border: 1px solid var(--voyage-border) !important;
    border-radius: 12px !important;
    padding: 2rem !important;
    color: var(--voyage-text) !important;
}
body.theme-voyage .feature-card h4 {
    font-family: var(--voyage-font-display) !important;
    color: var(--voyage-text) !important;
}
body.theme-voyage .feature-card p,
body.theme-voyage .review-card p {
    color: var(--voyage-muted) !important;
}

/* Ficha producto: colores voyage; layout unificado en header.php */
body.theme-voyage .features-section.product-page-extra-section {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: var(--voyage-bg) !important;
}

/* ========== CATÁLOGO / CATEGORÍAS (categories_listing + filtros) ========== */
/* Márgenes: mismo criterio global (1620px, padding 0 en desktop) — no usar .section .container acá */
body.theme-voyage .page-content .cl-wrap > .container,
body.theme-voyage .cl-wrap > .container {
    max-width: min(1620px, 100%) !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
@media (max-width: 768px) {
    body.theme-voyage .page-content .cl-wrap > .container,
    body.theme-voyage .cl-wrap > .container {
        padding-left: 8px !important;
        padding-right: 8px !important;
        max-width: 100% !important;
    }
}
body.theme-voyage .cl-wrap .section-header-wrap,
body.theme-voyage .cl-wrap .section-header-wrap .section-title {
    color: var(--voyage-text) !important;
}
body.theme-voyage .cl-wrap .section-subtitle,
body.theme-voyage .cl-wrap .section-heading-inline-sub {
    color: var(--voyage-muted) !important;
    opacity: 1 !important;
}
body.theme-voyage .cl-wrap .cl-inner--no-sidebar > div,
body.theme-voyage .cl-wrap .cl-inner > div:has(.cl-grid) {
    width: 100% !important;
    max-width: 100% !important;
}
body.theme-voyage .cl-wrap .cl-grid.cl-grid--grid {
    width: 100% !important;
    max-width: 100% !important;
}

/* Panel filtros: fondo oscuro coherente con el tema (evita texto claro sobre panel blanco) */
body.theme-voyage .cl-filters,
body.theme-voyage .store-filters {
    --sf-bg: var(--voyage-card);
    --sf-border: var(--voyage-border);
    --sf-text: var(--voyage-text);
    --sf-muted: var(--voyage-muted);
    --sf-accent: var(--primary);
    background: var(--voyage-card) !important;
    border: 1px solid var(--voyage-border) !important;
    color: var(--voyage-text) !important;
}
body.theme-voyage .cl-filters-title,
body.theme-voyage .store-filters__title {
    color: var(--voyage-muted) !important;
    opacity: 1 !important;
    letter-spacing: 0.08em !important;
}
body.theme-voyage .cl-filter-group {
    border-bottom-color: var(--voyage-border) !important;
}
body.theme-voyage .cl-filter-group h4,
body.theme-voyage .store-filters__summary,
body.theme-voyage .store-filters__group-label {
    color: var(--voyage-text) !important;
    background: transparent !important;
}
body.theme-voyage .cl-cat-btn,
body.theme-voyage .store-filters__pill {
    color: var(--voyage-text) !important;
    background: transparent !important;
    border-color: transparent !important;
}
body.theme-voyage .cl-cat-btn:hover,
body.theme-voyage .store-filters__pill:hover {
    background: var(--voyage-card-light) !important;
    color: var(--voyage-text) !important;
}
body.theme-voyage .cl-cat-btn.active,
body.theme-voyage .store-filters__pill--active {
    background: var(--primary) !important;
    color: #fff !important;
    border-color: var(--primary) !important;
}
body.theme-voyage .cl-cat-count,
body.theme-voyage .cl-price-labels,
body.theme-voyage .cl-count-label {
    color: var(--voyage-muted) !important;
    opacity: 1 !important;
}
body.theme-voyage .cl-cat-btn.active .cl-cat-count {
    color: rgba(255, 255, 255, 0.92) !important;
}
body.theme-voyage .cl-filters label,
body.theme-voyage .store-filters label {
    color: var(--voyage-text) !important;
    background: transparent !important;
}
body.theme-voyage .cl-price-range {
    accent-color: var(--primary) !important;
}
body.theme-voyage select.cl-sort-wrap,
body.theme-voyage .store-filters__select {
    background-color: var(--voyage-card-light) !important;
    border: 1px solid var(--voyage-border) !important;
    color: var(--voyage-text) !important;
    box-shadow: none !important;
}
body.theme-voyage select.cl-sort-wrap option,
body.theme-voyage .store-filters__select option {
    background: var(--voyage-card);
    color: var(--voyage-text);
}
body.theme-voyage .cl-search-wrap input,
body.theme-voyage .store-filters__input {
    background: var(--voyage-card-light) !important;
    border-color: var(--voyage-border) !important;
    color: var(--voyage-text) !important;
}
body.theme-voyage .cl-search-wrap input::placeholder,
body.theme-voyage .store-filters__input::placeholder {
    color: var(--voyage-muted) !important;
}
body.theme-voyage .cl-topfilter-cat {
    background: var(--voyage-card) !important;
    border-color: var(--voyage-border) !important;
    color: var(--voyage-text) !important;
}
body.theme-voyage .cl-topfilter-cat.active {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}
body.theme-voyage .cl-card {
    background: var(--voyage-card) !important;
    border-color: var(--voyage-border) !important;
}
body.theme-voyage .cl-card-name {
    color: var(--voyage-text) !important;
}
body.theme-voyage .product-rating {
    color: var(--voyage-muted) !important;
}
body.theme-voyage .product-rating-value {
    color: var(--voyage-text) !important;
}

/* Categorías (home / carrusel) */
body.theme-voyage .cat-card-item {
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 1px solid var(--voyage-border) !important;
    box-shadow: 0 8px 28px rgba(0,0,0,0.2) !important;
}
body.theme-voyage .cat-card-item:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 44px rgba(0,0,0,0.3) !important;
    border-color: var(--primary) !important;
}

/* Hero: inmersivo, más alto, tipografía dramática */
/* La config del cliente (colores barra) sobrescribe: sin !important en background/color */
body.theme-voyage .announcement-bar {
    background: var(--primary);
    color: #fff;
    font-weight: 500 !important;
}
body.theme-voyage .hero,
body.theme-voyage .hero.has-image {
    min-height: 70vh !important;
}
body.theme-voyage .hero-title {
    font-size: 3rem !important;
    line-height: 1.15 !important;
    color: var(--voyage-text);
    letter-spacing: 0.02em !important;
}
body.theme-voyage .hero-subtitle {
    font-size: 1.25rem !important;
    color: var(--voyage-muted);
}
/* Categorías: grid, sin scroll horizontal */
body.theme-voyage .categories-section .cat-carousel-wrap {
    overflow: visible !important;
}
body.theme-voyage .categories-section .cat-carousel-track {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important;
    gap: 1.5rem !important;
    overflow: visible !important;
    flex-wrap: unset !important;
    justify-content: unset !important;
}
body.theme-voyage .cat-card-item {
    min-width: 0 !important;
    width: auto !important;
    color: var(--voyage-text) !important;
}
body.theme-voyage .cat-card-name {
    color: var(--voyage-muted) !important;
}
body.theme-voyage .cat-card-item:hover .cat-card-name {
    color: var(--voyage-text) !important;
}
body.theme-voyage .categories-section .pcarousel-btn {
    display: none !important;
}

/* Página producto: imagen muy protagonista, título y precio discretos */
@media (min-width: 992px) {
    body.theme-voyage .product-detail-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) !important;
        align-items: start !important;
    }
}
@media (max-width: 768px) {
    body.theme-voyage .product-detail-grid {
        align-items: stretch !important;
    }
}
body.theme-voyage .product-detail-image-col .main-image-frame {
    aspect-ratio: var(--pd-gallery-aspect, 1 / 1) !important;
    min-height: 420px !important;
    max-height: min(85vh, 720px) !important;
    background: var(--voyage-bg) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}
body.theme-voyage .product-detail-image-col .main-image-frame img {
    object-fit: contain !important;
}
@media (max-width: 991px) {
    body.theme-voyage .product-detail-image-col .main-image-frame {
        min-height: 380px !important;
    }
}
@media (max-width: 768px) {
    body.theme-voyage .product-detail-image-col .main-image-frame {
        min-height: 280px !important;
        aspect-ratio: var(--pd-gallery-aspect, 1 / 1) !important;
        max-height: min(72svh, 640px) !important;
    }
}
body.theme-voyage .product-detail-title,
body.theme-voyage .page-title {
    font-family: var(--voyage-font-display) !important;
    font-weight: 600 !important;
    color: var(--voyage-text) !important;
    font-size: 1.65rem !important;
}
body.theme-voyage .product-detail-price {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: var(--voyage-muted) !important;
}
body.theme-voyage .about-section {
    background: var(--voyage-card) !important;
    border-top: 1px solid var(--voyage-border) !important;
}
body.theme-voyage .about-section .section-title {
    color: var(--voyage-text) !important;
    font-size: 2.25rem !important;
}

/* Footer: el tema no aplica estilos al footer; usa solo el CSS de footer.php */
body.theme-voyage .product-card.out-of-stock {
    opacity: 0.75 !important;
}
body.theme-voyage .product-card.out-of-stock .product-image {
    filter: grayscale(0.9) !important;
}

/* ========== Focus y accesibilidad ========== */
body.theme-voyage .btn:focus-visible,
body.theme-voyage button[type="submit"]:focus-visible {
    outline: 2px solid #fff !important;
    outline-offset: 2px !important;
}
body.theme-voyage .site-header.store-header .desktop-nav a:focus-visible,
body.theme-voyage .site-header.store-header .logo a:focus-visible,
body.theme-voyage .site-header.store-header .icon-link:focus-visible {
    outline: 2px solid var(--primary) !important;
    outline-offset: 4px !important;
}

/* ========== Formularios y checkout (tema oscuro) ========== */
body.theme-voyage input[type="text"],
body.theme-voyage input[type="email"],
body.theme-voyage input[type="tel"],
body.theme-voyage input[type="number"],
body.theme-voyage select,
body.theme-voyage textarea {
    background: var(--voyage-card) !important;
    border: 1px solid var(--voyage-border) !important;
    color: var(--voyage-text) !important;
    border-radius: 8px !important;
}
body.theme-voyage input::placeholder,
body.theme-voyage textarea::placeholder {
    color: var(--voyage-muted) !important;
}
body.theme-voyage label {
    color: var(--voyage-text) !important;
}
body.theme-voyage input:focus,
body.theme-voyage select:focus,
body.theme-voyage textarea:focus {
    outline: none !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.25) !important;
}
body.theme-voyage .shipping-zip-input {
    background: var(--voyage-card) !important;
    border-color: var(--voyage-border) !important;
    color: var(--voyage-text) !important;
}

/* Order summary y pago */
body.theme-voyage .order-summary-card {
    background: var(--voyage-card) !important;
    border: 1px solid var(--voyage-border) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25) !important;
}
body.theme-voyage .summary-title,
body.theme-voyage .summary-item-title,
body.theme-voyage .summary-row.total {
    color: var(--voyage-text) !important;
}
body.theme-voyage .summary-row,
body.theme-voyage .summary-item-meta {
    color: var(--voyage-muted) !important;
}
body.theme-voyage .summary-item-img {
    border-color: var(--voyage-border) !important;
}
body.theme-voyage .payment-card {
    background: var(--voyage-card) !important;
    border: 1px solid var(--voyage-border) !important;
    border-radius: 12px !important;
}
body.theme-voyage .payment-card:hover {
    border-color: var(--primary) !important;
}
body.theme-voyage .payment-card.selected {
    border-color: var(--primary) !important;
    background: rgba(14, 165, 233, 0.12) !important;
    box-shadow: 0 0 0 2px var(--primary) !important;
}
body.theme-voyage .payment-title {
    color: var(--voyage-text) !important;
}
body.theme-voyage .payment-desc {
    color: var(--voyage-muted) !important;
}
body.theme-voyage .back-link {
    color: var(--voyage-muted) !important;
}
body.theme-voyage .back-link:hover {
    color: var(--secondary) !important;
}

/* ========== Review cards ========== */
body.theme-voyage .review-card {
    background: var(--voyage-card) !important;
    border: 1px solid var(--voyage-border) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 28px rgba(0,0,0,0.2) !important;
    padding: 2rem 2.5rem !important;
}
body.theme-voyage .review-card::before {
    color: var(--primary) !important;
    opacity: 0.3 !important;
}
body.theme-voyage .review-author {
    color: var(--primary) !important;
    font-family: var(--voyage-font-display) !important;
}
body.theme-voyage .stars {
    color: var(--secondary) !important;
}

/* ========== Empty state ========== */
body.theme-voyage .empty-state {
    padding: 4rem 1.5rem !important;
}
body.theme-voyage .empty-state-icon {
    background: var(--voyage-card-light) !important;
    color: var(--primary) !important;
    border: 1px solid var(--voyage-border) !important;
}
body.theme-voyage .empty-state h3 {
    color: var(--voyage-text) !important;
    font-family: var(--voyage-font-display) !important;
}
body.theme-voyage .empty-state p {
    color: var(--voyage-muted) !important;
}

/* ========== Carrito modal ========== */
body.theme-voyage .cart-modal {
    background: var(--voyage-card) !important;
    border: 1px solid var(--voyage-border) !important;
    color: var(--voyage-text) !important;
}
body.theme-voyage .cart-modal-header {
    border-bottom-color: var(--voyage-border) !important;
    color: var(--voyage-text) !important;
}
body.theme-voyage .cart-modal-header h3 {
    color: var(--voyage-text) !important;
}
body.theme-voyage .cart-modal-body,
body.theme-voyage .cart-modal-item {
    border-color: var(--voyage-border) !important;
}
body.theme-voyage .cart-modal-item-title {
    color: var(--voyage-text) !important;
}
body.theme-voyage .cart-modal-item-price {
    color: var(--primary) !important;
}
body.theme-voyage .cart-modal-footer {
    border-top-color: var(--voyage-border) !important;
    background: var(--voyage-card-light) !important;
}

/* ========== Detalle producto ========== */
body.theme-voyage .product-detail-card {
    border-bottom-color: var(--voyage-border) !important;
}
body.theme-voyage .product-description-block,
body.theme-voyage .product-description-title,
body.theme-voyage .product-description-content,
body.theme-voyage .product-description,
body.theme-voyage .product-description * {
    color: #fff !important;
}
body.theme-voyage .product-description-title {
    border-bottom-color: var(--voyage-border) !important;
}
body.theme-voyage .product-detail-price-block .product-detail-price,
body.theme-voyage #product-effective-price {
    color: var(--voyage-text) !important;
}
body.theme-voyage .product-installments-box {
    background: var(--voyage-card) !important;
    border-color: var(--voyage-border) !important;
    color: #fff !important;
}
body.theme-voyage .product-installments-box i {
    color: #fff !important;
}
body.theme-voyage .product-shipping-calculator .shipping-title,
body.theme-voyage .product-features-list {
    color: var(--voyage-muted) !important;
}
body.theme-voyage .product-features-list i {
    color: var(--primary) !important;
}

body.theme-voyage .newsletter-section .newsletter-content h2 {
    font-family: var(--font-display, var(--voyage-font-display)) !important;
    font-weight: 600 !important;
}
