/* css/tienda.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Space Grotesk', 'Poppins', sans-serif;
    background: #000000;
    color: #ffffff;
    line-height: 1.5;
    letter-spacing: 0.5px;
    display: flex;
    flex-direction: column;
}

/* Header (sin cambios respecto a tu diseño original) */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 48px;
    background: #000000;
    border-bottom: 1px solid #1a1a1a;
}

.menu-left {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background: transparent;
    color: #ffffff;
    padding: 10px 0;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.3s;
}

.dropbtn:hover {
    opacity: 0.6;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #0a0a0a;
    min-width: 160px;
    border: 1px solid #1a1a1a;
    z-index: 1;
}

.dropdown-content a {
    color: #ffffff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.dropdown-content a:hover {
    background-color: #1a1a1a;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.logo {
    flex: 1;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: #ffffff;
}

.nav-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.nav-right a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 1px;
    transition: opacity 0.3s;
}

.nav-right a:hover {
    opacity: 0.6;
}

/* ========== SECCIÓN PRINCIPAL: DOS MITADES ========== */
.split-layout {
    display: flex;
    flex: 1;
    min-height: 85vh;          /* Ajusta la altura a tu gusto (85% de la ventana) */
}

.split-left, .split-right {
    flex: 1;
    background-size: auto 100% !important;   /* Imagen completa en alto, recorta laterales */
    background-position: center !important;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Overlay oscuro (sí, lo mantienes) */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.split-left:hover .overlay,
.split-right:hover .overlay {
    background-color: rgba(0, 0, 0, 0.2);
}

/* Botones */
.split-btn {
    display: inline-block;
    padding: 18px 48px;
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 4px;
    transition: all 0.3s;
    cursor: pointer;
    z-index: 2;
    text-align: center;
}

.split-btn:hover {
    background: #ffffff;
    color: #000000;
}

/* Footer */
footer {
    padding: 48px;
    text-align: center;
    background: #000000;
    border-top: 1px solid #1a1a1a;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.7rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

footer p {
    color: #333;
    font-size: 0.7rem;
    letter-spacing: 1px;
}

/* Responsive: en móviles, las dos columnas se apilan */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .menu-left, .logo, .nav-right {
        flex: none;
        width: 100%;
        text-align: center;
    }

    .menu-left {
        justify-content: center;
    }

    .nav-right {
        justify-content: center;
    }

    .split-layout {
    display: flex;
    flex: 1;
    min-height: 85vh;
    margin-top: 40px !important;
    margin-bottom: 40px !important;
}
    .split-left, .split-right {
        min-height: 50vh;
    }

    .split-btn {
        padding: 14px 32px;
        font-size: 1rem;
        letter-spacing: 3px;
    }

    footer {
        padding: 30px 20px;
    }

    .footer-links {
        gap: 20px;
    }
    /* Al final del archivo tienda.css añade: */
    .split-left, .split-right {
        position: relative;
        z-index: 1;
    }
}