* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}



body {
    background-image: url('../../medios/fondozx.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    color: white;
}


/* --- HEADER --- */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    flex-wrap: wrap;
    /* Permite que bajen los elementos en pantallas pequeñas */
}

.header .logo {
    width: 250px;
    height: auto;
}

.btn-producto {
    background: #00ff00;
    padding: 10px 20px;
    color: black;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
}


/* --- CONTENEDOR PRINCIPAL --- */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pg_of {
    background-color: #ffffff;
    border-radius: 50px;
    padding: 10px 40px;
    margin: 20px 0;
    width: fit-content;
}

.pg_of p {
    color: #ff1499;
    font-size: clamp(18px, 4vw, 35px);
    /* Tamaño fluido */
    font-weight: 700;
}

h1 {
    font-size: clamp(20px, 5vw, 30px);
    margin-bottom: 10px;
}




/* --- PASOS (GRID/FLEX) --- */
.steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    margin-top: 40px;
    width: 100%;
}

.step1 {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 600px;
    position: relative;
}

.pas_one {
    position: absolute;
    top: 15%;
    left: 8%;
    text-align: center;
    max-width: 250px;
}


.img_mod img {
    width: 100%;
    /* max-width: 400px; */
    height: 80%;
}

.step {
    max-width: 350px;
    width: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    /* Mejora legibilidad sobre fondo */
    border-radius: 15px;
}

input,
button {
    width: 100%;
    padding: 15px;
    margin-top: 15px;
    border-radius: 5px;
    border: none;
}

button {
    background: #00ff00;
    font-weight: bold;
    cursor: pointer;
}


/* POPUP */
.popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.popup-content {
    background: white;
    color: black;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    position: relative;
    text-align: center;
}

.close {
    position: absolute;
    right: 15px;
    top: 10px;
    cursor: pointer;
    font-size: 20px;
}

.hidden {
    display: none;
}

/* MOBILE */
@media (max-width: 768px) {
    body {
        /* Cambio opcional a fondo de móvil si existe */
        background-image: url('../../medios/fondozx.jpg');
        overflow-y: auto;
        /* Permitir scroll */
    }

    .header {
        flex-direction: column;
        gap: 15px;
        margin-top: 10px;
    }

    .header>a {
        display: none;
    }

    .steps {
        margin-top: -30px;
        flex-direction: column;
        align-items: center;
    }

    .step1,
    .step {
        width: 100%;
    }

    .step1 {
        display: flex;
        justify-content: center;
    }

    .img_mod img {
        max-width: 350px;
        /* Evita que la modelo tape todo */
    }

    .pg_of {
        padding: 8px 25px;
    }

    .pg_of>P {
        font-size: 17PX;
    }

    .container {
        margin-top: -40px;
    }

    .pas_one {
        left: 15%;
    }


    .img_mod img {
        margin-top: 50%;
        width: 700px;
        /* max-width: 400px; */
        height: 320px;
    }

}









/* Ajuste del contenedor del Popup para que sea oscuro */
.popup-content {
    background-color: #2c2e35;
    /* Fondo gris oscuro/negro */
    color: white;
    padding: 40px;
    border-radius: 15px;
    /* Bordes redondeados */
    border: 2px solid #007bff;
    /* Línea del borde (ajústala al azul de tu imagen) */
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
}

/* Título "LO SENTIMOS" */
.error-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: white;
}

/* Subtítulo "Este producto no es ORIGINAL" */
.error-subtitle {
    font-size: 1.5rem;
    color: #44ff44;
    /* Verde brillante */
    margin-bottom: 30px;
}

.highlight {
    font-weight: bold;
}

/* Botón "COMPRA UNO ORIGINAL" */
.btn-error {
    display: inline-block;
    background-color: #00ff00;
    /* Verde neón */
    color: black;
    text-decoration: none;
    font-weight: bold;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1rem;
    transition: transform 0.2s;
}

.btn-error:hover {
    transform: scale(1.05);
    background-color: #00cc00;
}

/* La X de cerrar debe ser blanca para que se vea */
.close {
    color: white;
    font-size: 30px;
    opacity: 0.8;
}