/* -------------------------------------------------------------
   LOU LOU - BOTELLAS (ESTILOS PREMIUM ACTUALIZADOS)
   ------------------------------------------------------------- */

/* Variables de Diseño */
:root {
    --gold-dark: #AE8625;
    --gold-mid: #D2AC47;
    --gold-light: #F7EF8A;
    --text-light: #CFCBBF;
    --bg-dark: #050505;
    --info-blue: #0b1c33;
    --font-primary: 'Quirel', 'Cinzel', Georgia, serif;
    --font-secondary: 'Montserrat', sans-serif;
    --gold-gradient: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-light) 50%, var(--gold-mid) 100%);
}

/* Reset de Estilos Básicos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-secondary);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* -------------------------------------------------------------
   FONDO DIVIDIDO EN DOS MITADES VERTICALES CON OVERLAYS
   ------------------------------------------------------------- */
.split-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.bg-half {
    width: 100%;
    height: 50vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.top-half {
    background-image: url('https://cdn.gamma.app/egjpqwwxfvherxn/b66dff67078f4d66a15ee034b39f2fe1/original/JDM07961_half_quality-1.jpg');
}

.bottom-half {
    background-image: url('https://cdn.gamma.app/egjpqwwxfvherxn/f4f8618b718947fbb7f4d52d78915638/original/ajustada_JDM2309.jpg');
}

/* Overlay oscuro al 76% (rango solicitado 70% a 80%) */
.bg-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.76);
}

/* -------------------------------------------------------------
   HEADER SUPERIOR CON SELECTOR DE IDIOMA Y BOTÓN REGRESAR
   ------------------------------------------------------------- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(174, 134, 37, 0.08);
}

.header-container {
    display: flex;
    justify-content: space-between; /* Botón atrás izquierda, selector derecha */
    align-items: center;
    padding: 16px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Botón Regresar */
.back-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid rgba(174, 134, 37, 0.35);
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--gold-light);
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.2s ease;
}

.back-btn:hover {
    border-color: var(--gold-light);
}

.back-btn:active {
    transform: scale(0.92);
}

/* Selector de Idioma Custom Premium */
.lang-selector {
    display: flex;
    background: rgba(10, 10, 10, 0.85);
    border: 1.5px solid rgba(174, 134, 37, 0.35);
    border-radius: 15px;
    padding: 2px;
    gap: 1px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.lang-option {
    background: none;
    border: none;
    color: var(--text-light);
    font-family: var(--font-secondary);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 3px 8px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    align-items: center;
    gap: 3px;
    outline: none;
}

.lang-option.active {
    background: var(--gold-gradient);
    color: #000000;
    box-shadow: 0 2px 6px rgba(174, 134, 37, 0.3);
}

/* -------------------------------------------------------------
   CONTENEDOR DE MENÚ & TÍTULO
   ------------------------------------------------------------- */
.menu-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 100px 24px 50px 24px; /* Aumentado para dar espacio a la cabecera */
    min-height: 100vh;
}

.menu-title {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.15em;
    margin-bottom: 25px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

/* -------------------------------------------------------------
   DISEÑO DE LOS ACORDEONES
   ------------------------------------------------------------- */
.accordion-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.accordion-item {
    width: 100%;
    margin-bottom: 5px;
}

.accordion-header {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    padding: 20px 8px;
    cursor: pointer;
    border-bottom: 1px solid rgba(174, 134, 37, 0.15);
    transition: border-bottom-color 0.3s ease;
}

.accordion-header:hover {
    border-bottom-color: rgba(247, 239, 138, 0.45);
}

.accordion-icon {
    font-size: 0.85rem;
    color: var(--gold-light);
    margin-right: 15px;
    display: flex;
    align-items: center;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.accordion-header.active .accordion-icon {
    transform: rotate(90deg);
}

.accordion-title {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--gold-light);
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

/* Contenido del Acordeón */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    background: transparent;
}

/* Contenedor de Tabla - Efecto Glassmorphism Oscuro */
.table-container {
    background: rgba(6, 6, 6, 0.85); /* Opacidad al 85% para excelente legibilidad */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(174, 134, 37, 0.22); /* Borde sutil dorado */
    border-radius: 14px;
    padding: 10px 14px;
    margin: 15px 0 20px 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
}

/* -------------------------------------------------------------
   TABLAS DE PRODUCTOS
   ------------------------------------------------------------- */
.product-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-secondary);
    font-size: 0.78rem;
    color: var(--text-light);
}

.product-table th, 
.product-table td {
    padding: 10px 8px;
    text-align: left;
}

.product-table th {
    font-family: var(--font-primary);
    color: #ffffff; /* Texto de cabecera blanco para destacar */
    border-bottom: 1.5px solid rgba(174, 134, 37, 0.35);
    font-size: 0.85rem;
    font-weight: 700; /* Destaca del resto */
    letter-spacing: 0.08em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.product-table td {
    border-bottom: 1px solid rgba(174, 134, 37, 0.08);
}

.product-table tr:last-child td {
    border-bottom: none;
}

/* Columna de Precios */
.product-table td.price {
    text-align: right;
    font-weight: 600;
    color: var(--gold-light); /* Precio en dorado suave para resaltar */
}

.product-table th:not(:first-child) {
    text-align: right;
}

/* Ajuste específico para tablas de una sola columna de precio */
.product-table.single-price th:nth-child(2),
.product-table.single-price td.price {
    width: 110px;
}

/* -------------------------------------------------------------
   SEPARADOR ELEGANTE
   ------------------------------------------------------------- */
.elegant-separator {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(174, 134, 37, 0.35) 50%, transparent 100%);
    margin: 30px 0;
}

/* -------------------------------------------------------------
   AVISO INFERIOR INFORMATIVO (AZUL OSCURO PREMIUM)
   ------------------------------------------------------------- */
.info-block {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: rgba(11, 28, 51, 0.82);
    border: 1px solid rgba(247, 239, 138, 0.12);
    border-radius: 12px;
    padding: 18px;
    margin-top: 45px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.info-icon {
    font-size: 1.3rem;
    color: var(--gold-light);
    margin-top: 2px;
    display: flex;
    align-items: center;
}

.info-text {
    font-size: 0.72rem;
    line-height: 1.6;
    color: #ffffff;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* -------------------------------------------------------------
   AJUSTES RESPONSIVE
   ------------------------------------------------------------- */
@media (max-width: 390px) {
    .menu-container {
        padding-left: 18px;
        padding-right: 18px;
        padding-top: 90px;
    }
    
    .menu-title {
        font-size: 1.9rem;
    }
    
    .accordion-title {
        font-size: 1.15rem;
    }
    
    .product-table {
        font-size: 0.74rem;
    }
    
    .product-table th {
        font-size: 0.78rem;
    }
}
