/* ========================================
   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;
    --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;
}
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);
}

/* 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) !important;
    font-weight: 600 !important;
}
body.theme-voyage .section-title {
    font-size: 2.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;
}

/* ========== 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: 2x2 grid (no fila de 4), más impacto visual */
body.theme-voyage .features-section .features-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.75rem !important;
}
body.theme-voyage .feature-card {
    text-align: left !important;
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    gap: 1.25rem 1.5rem !important;
    align-items: start !important;
}
body.theme-voyage .feature-card .icon-box {
    grid-row: 1 / -1 !important;
    width: 56px !important;
    height: 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;
}
body.theme-voyage .feature-card h4 {
    margin: 0 !important;
    font-size: 1.2rem !important;
}
body.theme-voyage .feature-card p {
    margin: 0.25rem 0 0 !important;
    grid-column: 2 !important;
}
@media (max-width: 600px) {
    body.theme-voyage .features-section .features-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }
}

/* ========== GRID EXPERIENCIAS: tarjetas muy grandes, 2 cols → 1 móvil ========== */
body.theme-voyage .products-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2.5rem 2rem !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
@media (max-width: 900px) {
    body.theme-voyage .products-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}
@media (max-width: 600px) {
    body.theme-voyage .products-grid {
        gap: 1.5rem !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: 2rem 1.75rem !important;
    overflow: visible !important;
    padding: 0 0 1.5rem !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.75rem !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: una tarjeta por fila, ancho completo, imagen grande */
@media (max-width: 768px) {
    body.theme-voyage .product-card {
        min-height: auto !important;
    }
    body.theme-voyage .product-info {
        padding: 1.5rem 1.25rem !important;
    }
    body.theme-voyage .product-title {
        font-size: 1.35rem !important;
    }
    body.theme-voyage .product-image {
        aspect-ratio: 4 / 3 !important;
    }
}

/* Imagen tipo experiencia: ratio 3/2, overlay sutil en hover */
body.theme-voyage .product-image {
    aspect-ratio: 3 / 2 !important;
    background: var(--voyage-card-light) !important;
    position: relative !important;
    overflow: hidden !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.4) 0%, transparent 50%) !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 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;
}

/* Info: texto claro sobre fondo oscuro */
body.theme-voyage .product-info {
    padding: 1.75rem 1.5rem !important;
    text-align: left !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    background: var(--voyage-card) !important;
}
body.theme-voyage .product-category {
    font-size: 0.7rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    color: var(--secondary) !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
}
body.theme-voyage .product-title {
    font-family: var(--voyage-font-display) !important;
    font-size: 1.6rem !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    color: var(--voyage-text) !important;
    margin-bottom: 0.75rem !important;
}
body.theme-voyage .product-price {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    color: var(--primary) !important;
    margin-top: auto !important;
    margin-bottom: 1rem !important;
}

/* Secciones */
body.theme-voyage .section {
    padding: 4.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;
}

/* Categorías */
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) !important;
    letter-spacing: 0.02em !important;
}
body.theme-voyage .hero-subtitle {
    font-size: 1.25rem !important;
    color: var(--voyage-muted) !important;
}
/* 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: inmersiva, imagen más grande */
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: 2.25rem !important;
}
body.theme-voyage .product-detail-price {
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    color: var(--primary) !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 y textos globales en voyage */
body.theme-voyage .footer,
body.theme-voyage [class*="footer"] {
    background: var(--voyage-card) !important;
    border-top: 1px solid var(--voyage-border) !important;
    color: var(--voyage-muted) !important;
}
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;
}

/* ========== Footer detalle ========== */
body.theme-voyage .footer-col h4 {
    color: var(--voyage-text) !important;
    font-family: var(--voyage-font-display) !important;
}
body.theme-voyage .footer-col a {
    color: var(--voyage-muted) !important;
}
body.theme-voyage .footer-col a:hover,
body.theme-voyage .footer-col a:focus-visible {
    color: var(--voyage-text) !important;
}
body.theme-voyage .footer-col a:focus-visible {
    outline: 2px solid var(--primary) !important;
    outline-offset: 2px !important;
}
body.theme-voyage .footer-bottom {
    border-top: 1px solid var(--voyage-border) !important;
    color: var(--voyage-muted) !important;
}
body.theme-voyage .footer-col h4::after {
    background: var(--secondary) !important;
}
body.theme-voyage .footer-desc {
    color: var(--voyage-muted) !important;
}
body.theme-voyage .social-links a {
    background: var(--voyage-card-light) !important;
    border-color: var(--voyage-border) !important;
    color: var(--voyage-text) !important;
}
body.theme-voyage .social-links a:hover {
    background: var(--primary) !important;
    color: #fff !important;
    border-color: var(--primary) !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-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;
}
