:root {
    --bg-color: #050505;
    --surface-color: rgba(15, 15, 15, 0.7);
    --surface-solid: #111111;
    --text-primary: #ffffff;
    --text-secondary: #999999;
    --accent-color: #ffffff;
    --whatsapp-color: #25D366;
    --font-main: "Outfit", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: radial-gradient(circle at top right, #1a1a1a 0%, #050505 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Layout */
.app-container {
    display: flex;
    min-height: 100vh;
}

/* Glassmorphism Sidebar */
.sidebar {
    width: 320px;
    background-color: var(--surface-color);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 10;
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.sidebar::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.brand {
    margin-bottom: 12px;
    flex-shrink: 0;
}

.brand-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 180, 255, 0.65));
    border-radius: 8px;
    flex-shrink: 0;
}

.brand h1 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    background: linear-gradient(to right, #fff, #999);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

.brand p {
    color: var(--text-secondary);
    font-size: 0.78rem;
    margin-top: 4px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 300;
}

.brand-location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 0.74rem;
    color: #00b4ff;
    background: rgba(0, 180, 255, 0.08);
    border: 1px solid rgba(0, 180, 255, 0.22);
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.brand-location svg {
    flex-shrink: 0;
}

.interactive-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-main);
    font-size: 0.95rem;
    text-align: left;
    padding: 6px 0;
    cursor: pointer;
    transition: all 0.4s ease;
    font-weight: 400;
    position: relative;
    letter-spacing: 1px;
}

.tab-btn:hover {
    color: var(--text-primary);
    transform: translateX(4px);
}

.tab-btn.active {
    color: var(--text-primary);
    padding-left: 18px;
    font-weight: 600;
}

.tab-btn.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 2px;
    background-color: var(--accent-color);
}

.contact-area {
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin-top: auto;
    flex-shrink: 0;
    padding-top: 8px;
}

/* Botones Compactos */
.btn-whatsapp {
    background-color: var(--whatsapp-color);
    color: #fff;
    padding: 10px 10px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.15);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-whatsapp::after {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.5s ease;
}

.btn-whatsapp:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}
.btn-whatsapp:hover::after {
    left: 100%;
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
    padding: 10px 10px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(220, 39, 67, 0.15);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-instagram::after {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.5s ease;
}

.btn-instagram:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(220, 39, 67, 0.4);
}
.btn-instagram:hover::after {
    left: 100%;
}

/* Main Content */
.main-content {
    margin-left: 320px;
    width: calc(100% - 320px);
    padding: 60px;
}

.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
    animation: fadeInTab 0.6s ease;
}

@keyframes fadeInTab {
    from { opacity: 0; }
    to { opacity: 1; }
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 2px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
    text-transform: uppercase;
}

/* Catalog Grid Premium */
.products-grid {
    display: grid;
    /* User wanted "mas chico" -> minmax(220px) is good for smaller cards */
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--surface-solid);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    /* IntersectionObserver initial state */
    opacity: 0;
    transform: translateY(40px);
}

.product-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

.product-img {
    width: 100%;
    background-color: #0a0a0a;
}

.product-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

/* Overlay dark gradient for text legibility */
.product-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: all 0.4s ease;
}

.product-info h3 {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.product-info .price {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--accent-color);
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

/* Phantom Button "Ver Detalles" */
.product-card::after {
    content: "Ver Detalles";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background-color: rgba(255,255,255,0.95);
    color: #000;
    padding: 12px 26px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.product-card:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Lookbook Grid Premium */
.lookbook-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.lookbook-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    /* IntersectionObserver initial state */
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.lookbook-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.lookbook-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s ease, filter 0.5s ease;
    filter: brightness(0.9) contrast(1.1) grayscale(15%);
}

.lookbook-item:hover img {
    transform: scale(1.04);
    filter: brightness(1.1) contrast(1) grayscale(0%);
}

/* News Grid & Cards Premium */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: var(--surface-color);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(40px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.news-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Video Reel Loop Cards */
.video-card {
    background-color: var(--surface-color);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    position: relative;
}

.video-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
}

.video-card video {
    filter: brightness(0.95) contrast(1.05);
    transition: filter 0.4s ease;
}

.video-card:hover video {
    filter: brightness(1.1) contrast(1);
}

/* Sidebar Video Reel */
.sidebar-video-reel {
    margin: 15px 0 20px 0;
    position: relative;
    width: 100%;
    height: 320px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
    flex-shrink: 0;
}

/* Responsive */
/* Responsive (Tablets & Desktops pequeños) */
@media (max-width: 1024px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        padding: 24px 20px;
        flex-direction: column;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        background-color: rgba(15, 15, 15, 0.85);
    }
    .brand { margin-bottom: 20px; text-align: center; }
    
    .interactive-menu {
        flex-direction: row;
        justify-content: center;
        margin-bottom: 20px;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .tab-btn.active {
        padding-left: 0;
    }
    .tab-btn.active::before {
        display: none;
    }
    .tab-btn.active {
        border-bottom: 2px solid var(--accent-color);
        padding-bottom: 5px;
    }

    .main-content {
        margin-left: 0;
        width: 100%;
        padding: 30px 20px;
    }
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
    .product-info {
        padding: 20px 14px 14px;
    }
    .product-info h3 { font-size: 0.95rem; }
    .product-info .price { font-size: 1.05rem; }
    
    .product-card::after {
        padding: 8px 16px;
        font-size: 0.7rem;
    }
    
    .lookbook-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
}

/* Responsive Mobile-First Optimizado (Celulares & Tablets pequeñas <= 768px) */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    /* Rediseño automático móvil: contenedor en columna 100% fluido */
    .app-container {
        flex-direction: column;
        width: 100%;
        min-height: 100vh;
    }

    /* Cabecera superior fija: ZONDA y logo arriba de todo, menús justo abajo */
    .sidebar {
        width: 100% !important;
        height: auto !important;
        position: sticky;
        top: 0;
        z-index: 1000;
        padding: 10px 14px 6px;
        background: rgba(8, 8, 12, 0.96);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        margin: 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    }

    /* ZONDA y su logotipo oficial arriba de todo */
    .brand {
        margin: 0 0 4px 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .brand-header {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    .brand-logo {
        width: 36px;
        height: 36px;
        filter: drop-shadow(0 0 12px rgba(0, 180, 255, 0.8));
    }
    .brand h1 {
        font-size: 1.6rem;
        font-weight: 800;
        letter-spacing: 3.5px;
        line-height: 1;
        margin: 0;
    }
    .brand p {
        font-size: 0.65rem;
        letter-spacing: 1.5px;
        margin-top: 3px;
        color: var(--text-secondary);
        opacity: 0.85;
    }

    /* Menús de cada pestaña: Segmented Bar ajustada al 100% del ancho sin espacios vacíos */
    .interactive-menu {
        width: 100%;
        max-width: 100%;
        position: static;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 24px;
        padding: 3px;
        gap: 3px;
        margin: 4px 0 2px 0;
        overflow: hidden;
    }
    .interactive-menu::-webkit-scrollbar {
        display: none;
    }
    .tab-btn {
        flex: 1;
        min-width: 0;
        min-height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 6px 2px;
        border-radius: 20px;
        background: transparent;
        border: none;
        font-size: 0.76rem;
        font-weight: 500;
        letter-spacing: 0.2px;
        color: rgba(255, 255, 255, 0.7);
        white-space: nowrap;
        text-align: center;
        transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
        cursor: pointer;
    }
    .tab-btn:hover {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.08);
        transform: none;
    }
    .tab-btn.active {
        background: #ffffff;
        color: #050505;
        border: none;
        font-weight: 700;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
        transform: none;
    }

    /* Botones de Acceso Directo a WhatsApp e Instagram Visibles en Móviles */
    .contact-area {
        display: flex !important;
        flex-direction: row;
        width: 100%;
        gap: 8px;
        margin: 4px 0 2px 0;
        padding-top: 2px;
    }

    .btn-whatsapp, .btn-instagram {
        flex: 1;
        min-height: 40px;
        font-size: 0.8rem;
        font-weight: 700;
        padding: 8px 12px;
        border-radius: 20px;
        gap: 6px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    }

    .btn-whatsapp svg, .btn-instagram svg {
        width: 18px;
        height: 18px;
    }

    /* Ocultar elementos secundarios pesados del sidebar en móvil */
    .sidebar-video-reel {
        display: none !important;
    }

    /* Abajo el catálogo con las fotos o según la pestaña seleccionada */
    .main-content {
        margin-left: 0 !important;
        width: 100% !important;
        padding: 14px 10px 100px 10px !important;
        min-height: calc(100vh - 120px);
    }
    .section-title {
        font-size: 1.25rem;
        letter-spacing: 1px;
        margin-bottom: 14px;
        padding-bottom: 8px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* Grilla de productos en 2 columnas perfectas para móviles */
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .product-info {
        padding: 12px 10px !important;
    }
    .product-info h3 {
        font-size: 0.82rem !important;
    }
    .product-info .price {
        font-size: 0.92rem !important;
    }
    .product-card::after {
        display: none;
    }

    /* Lookbook en 2 columnas */
    .lookbook-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    /* Noticias */
    .news-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    .news-media img {
        height: 220px !important;
    }

    /* FAQ y Reseñas */
    .faq-container {
        gap: 12px !important;
    }
    .faq-card {
        padding: 16px 14px !important;
    }
    .reviews-summary-card {
        padding: 20px 14px !important;
    }
    .add-review-card {
        padding: 20px 14px !important;
    }
    .reviews-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    /* Botones táctiles grandes */
    .btn-lo-quiero, .btn-submit-review {
        min-height: 48px;
    }
}

/* ==========================================================================
   MODAL DE SOLICITUD DE COMPRA ("LO QUIERO..!!")
   ========================================================================== */
.product-card, .lookbook-item {
    cursor: pointer;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: rgba(18, 18, 22, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    width: 100%;
    max-width: 520px;
    padding: 24px 16px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 255, 255, 0.05);
    transform: scale(0.92) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 92vh;
    overflow-y: auto;
}

.modal-card.modal-card-expanded {
    max-width: 960px;
}

@media (min-width: 768px) {
    .modal-card.modal-card-expanded {
        padding: 32px 28px;
        border-radius: 26px;
    }
}

.modal-overlay.active .modal-card {
    transform: scale(1) translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

/* Layout Dividido: Foto Grande al Lado de Reserva */
.modal-split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .modal-split-layout {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        align-items: start;
    }
}

/* Columna de Imagen Grande con Zoom */
.modal-image-col {
    display: flex;
    flex-direction: column;
}

.modal-img-container {
    position: relative;
    width: 100%;
    height: 280px;
    border-radius: 18px;
    overflow: hidden;
    background: #08080a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: zoom-in;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .modal-img-container {
        height: 100%;
        min-height: 440px;
        max-height: 540px;
    }
}

.modal-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.22s ease;
}

.modal-img-container:hover img {
    transform: scale(1.05);
}

/* Flechas de navegación en el Modal (Touch Friendly >= 44x44px) */
.modal-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(12, 12, 16, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}

.modal-nav-prev {
    left: 10px;
}

.modal-nav-next {
    right: 10px;
}

.modal-nav-arrow:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-50%) scale(1.1);
}

.modal-nav-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

/* Indicador de contador superior en imagen */
.modal-img-top-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 14px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 9;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.modal-img-zoom-hint {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    gap: 6px;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    z-index: 9;
}

/* Columna de Información y Formulario */
.modal-info-col {
    display: flex;
    flex-direction: column;
}

.modal-header-info {
    margin-bottom: 15px;
}

.modal-badge-title {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--whatsapp-color);
    margin-bottom: 4px;
}

.modal-product-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 4px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-product-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.modal-subtitle {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 15px;
}

/* Visor Lightbox Pantalla Completa */
.lightbox-zoom-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox-zoom-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.lightbox-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.lightbox-img-wrapper {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 10px;
    position: relative;
}

.lightbox-img-wrapper img {
    max-width: 95vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Flechas Flotantes en Lightbox (Touch friendly >= 48x48px) */
.lightbox-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(20, 20, 25, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
}

.lightbox-nav-prev {
    left: 20px;
}

.lightbox-nav-next {
    right: 20px;
}

.lightbox-nav-arrow:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.12);
}

.lightbox-nav-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.lightbox-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 650px;
    padding: 12px 22px;
    background: rgba(25, 25, 30, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    margin-top: 10px;
    gap: 15px;
    z-index: 20;
}

.lightbox-info-group {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}

.lightbox-counter {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.lightbox-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lightbox-btn-lo-quiero {
    background: var(--whatsapp-color);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.lightbox-btn-lo-quiero:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
}

@media (max-width: 640px) {
    .lightbox-nav-arrow {
        width: 44px;
        height: 44px;
    }
    .lightbox-nav-prev {
        left: 8px;
    }
    .lightbox-nav-next {
        right: 8px;
    }
    .lightbox-bottom-bar {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 10px;
    }
    .lightbox-info-group {
        justify-content: center;
    }
    .lightbox-title {
        text-align: center;
    }
    .lightbox-btn-lo-quiero {
        justify-content: center;
        min-height: 48px;
    }
}

.purchase-form, .review-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 12px 14px;
    color: #fff;
    font-family: var(--font-main);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s ease;
}

.form-group select option {
    background: #151515;
    color: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--whatsapp-color);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 0 12px rgba(37, 211, 102, 0.2);
}

.btn-lo-quiero {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 16px 24px;
    font-family: var(--font-main);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
}

.btn-lo-quiero:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}

/* ==========================================================================
   PESTAÑA PREGUNTAS FRECUENTES (FAQ)
   ========================================================================== */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 850px;
}

.faq-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 25px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.faq-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.faq-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 12px;
}

.faq-icon {
    font-size: 1.6rem;
}

.faq-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
}

.faq-body p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.faq-body ul {
    margin-left: 20px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.faq-note {
    font-size: 0.88rem !important;
    background: rgba(255, 255, 255, 0.04);
    padding: 10px 14px;
    border-radius: 8px;
    border-left: 3px solid var(--accent-color);
}

.table-responsive-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 15px 0;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.size-table {
    width: 100%;
    min-width: 320px;
    border-collapse: collapse;
    margin: 0;
}

.size-table th, .size-table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
}

.size-table th {
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.04);
}

.size-table td {
    color: var(--text-secondary);
}

/* ==========================================================================
   PESTAÑA RESEÑAS
   ========================================================================== */
.reviews-summary-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.rating-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.score-number {
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.stars-gold {
    color: #FFD700;
    font-size: 1.4rem;
    letter-spacing: 3px;
}

.score-subtitle {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.add-review-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
}

.add-review-header {
    margin-bottom: 20px;
}

.add-review-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
    color: #fff;
}

.review-form-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.rating-picker-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.star-picker {
    display: inline-flex;
    gap: 6px;
    cursor: pointer;
    font-size: 1.6rem;
    user-select: none;
    line-height: 1;
}

.star-picker .star-btn {
    color: #444;
    transition: color 0.15s ease, transform 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}

.star-picker .star-btn.active,
.star-picker .star-btn.hovered {
    color: #FFD700;
    transform: scale(1.15);
}

.review-form-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.btn-submit-review {
    background: #fff;
    color: #000;
    border: none;
    border-radius: 25px;
    padding: 13px 28px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-submit-review:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.btn-submit-review:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.review-status-msg {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 0.9rem;
    animation: fadeInMsg 0.3s ease forwards;
    line-height: 1.4;
}

@keyframes fadeInMsg {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.review-status-msg.success {
    background: rgba(74, 222, 128, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.35);
    color: #4ade80;
}

.review-status-msg.error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #f87171;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 22px;
}

.review-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.review-card:hover {
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
    background: rgba(255, 255, 255, 0.045);
}

.review-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.review-author-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    flex-shrink: 0;
    text-transform: uppercase;
}

.review-author-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.review-author-name {
    font-weight: 600;
    font-size: 0.98rem;
    color: #fff;
    line-height: 1.2;
}

.review-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.25);
    padding: 2px 7px;
    border-radius: 10px;
    width: fit-content;
    margin-top: 2px;
}

.review-date {
    font-size: 0.75rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.review-product-tag {
    font-size: 0.75rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2px 8px;
    border-radius: 6px;
    display: inline-block;
    width: fit-content;
}

.review-comment {
    font-size: 0.93rem;
    color: var(--text-primary);
    line-height: 1.55;
    font-style: italic;
    margin: 0;
}

@keyframes highlightReview {
    0% { border-color: rgba(255, 215, 0, 0.85); box-shadow: 0 0 25px rgba(255, 215, 0, 0.35); }
    70% { border-color: rgba(255, 215, 0, 0.4); box-shadow: 0 0 12px rgba(255, 215, 0, 0.15); }
    100% { border-color: rgba(255, 255, 255, 0.08); box-shadow: none; }
}

.newly-added-review {
    animation: highlightReview 3s ease forwards;
}

/* ==========================================================================
   TOAST DE PROTECCIÓN DE SALIDA EN MÓVILES (BACK BUTTON CONFIRMATION)
   ========================================================================== */
.mobile-exit-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(25px);
    background: rgba(18, 18, 22, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    z-index: 999999;
    opacity: 0;
    pointer-events: none;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.mobile-exit-toast.active {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   BARRA DE NAVEGACIÓN INFERIOR FIJA EN MÓVILES (BOTTOM NAVIGATION BAR)
   ========================================================================== */
.mobile-bottom-nav {
    display: none;
}

.tab-nav-shortcuts {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.btn-tab-shortcut {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--text-primary);
    padding: 10px 18px;
    border-radius: 22px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    transition: all 0.25s ease;
}

.btn-tab-shortcut:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

.tab-nav-footer {
    display: flex;
    justify-content: center;
    margin-top: 35px;
    padding: 20px 0 10px;
}

.btn-tab-shortcut-main {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.btn-tab-shortcut-main:hover {
    background: #ffffff;
    color: #050505;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.25);
}

@media (max-width: 768px) {
    .main-content {
        padding-bottom: 95px !important;
    }

    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 64px;
        background: rgba(12, 12, 16, 0.96);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        z-index: 9999;
        align-items: center;
        justify-content: space-around;
        padding: 0 6px;
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.7);
    }

    .bottom-nav-btn {
        background: transparent;
        border: none;
        color: var(--text-secondary);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        font-size: 0.72rem;
        font-weight: 500;
        cursor: pointer;
        padding: 6px 8px;
        border-radius: 12px;
        transition: all 0.2s ease;
        min-width: 55px;
        min-height: 48px;
        flex: 1;
        max-width: 75px;
    }

    .bottom-nav-btn svg {
        transition: transform 0.2s ease, stroke 0.2s ease;
    }

    .bottom-nav-btn:hover, .bottom-nav-btn.active {
        color: #ffffff;
    }

    .bottom-nav-btn.active svg {
        stroke: var(--whatsapp-color);
        transform: translateY(-2px);
    }

    .bottom-nav-btn.active span {
        color: #ffffff;
        font-weight: 700;
    }

    .mobile-exit-toast {
        bottom: 78px;
    }
}


