*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY */

body{
    background: #dcdcdc;
    font-family: Arial, Helvetica, sans-serif;
}

/* CONTENEDOR */

#contenedor{
    width: 80%;
    min-height: 100vh;
    margin: 2% auto;
}

/* HEADER */

#header{
    width: 100%;
    height: 130px;

    background: #9e9e9e;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 2em;
    color: white;
}

/* NAVBAR */

#navbar{
    position: absolute;
    top: 10px;
    right: 20px;

    display: flex;
    align-items: center;
    gap: 20px;
}

#navbar ul{
    display: flex;
    list-style: none;
    gap: 20px;
}

#navbar a{
    color: white;
    text-decoration: none;
    font-size: 20px;
}

#navbar a:hover{
    color: black;
}

/* SEARCH */

#search{
    padding: 5px 8px;
    border-radius: 5px;
    border: none;
    color: black;
}

/* LOGO */

#logo{
    position: absolute;
    top: 5px;
    left: 15px;
    width: 80px;
}

/* OCULTAR LADOS */

#menu,
#extra{
    display: none;
}

/* CONTENIDO */

#contenido{
    width: 70%;

    min-height: 600px;

    background: #757575;

    margin: 30px auto;

    padding: 25px;

    border-radius: 20px;

    float: none;
}

/* TITULO */

.titulo{
    text-align: center;
    color: white;
    font-size: 38px;
    margin-bottom: 25px;
}

/* GRID */

.grid-productos{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

/* PRODUCTOS */

.producto{
    background: #9e9e9e;

    height: 120px;

    display: flex;
    justify-content: center;
    align-items: center;

    color: white;

    border-radius: 10px;

    transition: 0.3s;

    cursor: pointer;
}

.producto:hover{
    background: #616161;
    transform: scale(1.05);
}

/* LINKS */

.producto a{
    color: white;
    text-decoration: none;
    font-size: 20px;
}

/* ARTICULOS */

.articulo{
    width: 100%;
    height: 200px;

    background: #9e9e9e;

    margin-top: 20px;
    margin-bottom: 20px;

    display: flex;
    justify-content: center;
    align-items: center;

    color: white;

    border-radius: 10px;
}

/* FOOTER */

#footer{
    width: 100%;

    background: #424242;

    clear: both;

    text-align: center;

    color: white;

    padding: 15px;

    margin-top: 30px;
}

#footer ul{
    list-style: none;
}

#footer li{
    margin: 3px 0;
}
/* =====================================
   DISEÑO GENERAL PAGINAS COMPONENTES
===================================== */

.pagina-cpu,
.pagina-placa,
.pagina-ram,
.pagina-gpu,
.pagina-ssd,
.pagina-fuente,
.pagina-gabinete,
.pagina-refrigeracion{
    background: #081225;
}

.pagina-cpu #contenedor,
.pagina-placa #contenedor,
.pagina-ram #contenedor,
.pagina-gpu #contenedor,
.pagina-ssd #contenedor,
.pagina-fuente #contenedor,
.pagina-gabinete #contenedor,
.pagina-refrigeracion #contenedor{
    width: 80%;
    margin: 2% auto;
    background: #081225;
    min-height: 100vh;
}

/* HEADER IGUAL AL DE RAM */

.pagina-cpu #header,
.pagina-placa #header,
.pagina-ram #header,
.pagina-gpu #header,
.pagina-ssd #header,
.pagina-fuente #header,
.pagina-gabinete #header,
.pagina-refrigeracion #header{
    width: 100%;
    height: 130px;
    background: #1e3a8a;

    display: flex;
    justify-content: center;
    align-items: center;

    position: relative;

    color: white;
    font-size: 2em;
}

/* NAVBAR */

#navbar{
    position: absolute;
    top: 10px;
    right: 20px;

    display: flex;
    align-items: center;
    gap: 15px;
}

#navbar ul{
    display: flex;
    gap: 20px;
    list-style: none;
}

#navbar a{
    color: white;
    text-decoration: none;
    font-size: 20px;
}

#navbar a:hover{
    color: black;
}

#search{
    padding: 5px 8px;
    border-radius: 5px;
    border: none;
    width: 120px;
}

#logo{
    position: absolute;
    top: 5px;
    left: 15px;
    width: 80px;
}

/* CONTENIDO */

.pagina-cpu #contenido,
.pagina-placa #contenido,
.pagina-ram #contenido,
.pagina-gpu #contenido,
.pagina-ssd #contenido,
.pagina-fuente #contenido,
.pagina-gabinete #contenido,
.pagina-refrigeracion #contenido{
    width: 85%;
    margin: 30px auto;
    padding: 30px;
    background: #17233a;
    border-radius: 20px;
    float: none;
    height: auto;
}

.titulo{
    text-align: center;
    color: white;
    font-size: 38px;
    margin-bottom: 25px;
}

/* GRID */

.productos-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

/* TARJETAS */

.producto-cpu,
.producto-placa,
.producto-ram,
.producto-gpu,
.producto-ssd,
.producto-fuente,
.producto-gabinete,
.producto-refrigeracion{
    background: #334155;
    border-radius: 18px;
    padding: 25px;
    text-align: center;
    transition: 0.3s;
}

.producto-cpu:hover,
.producto-placa:hover,
.producto-ram:hover,
.producto-gpu:hover,
.producto-ssd:hover,
.producto-fuente:hover,
.producto-gabinete:hover,
.producto-refrigeracion:hover{
    background: #475569;
    transform: scale(1.03);
}

.producto-cpu img,
.producto-placa img,
.producto-ram img,
.producto-gpu img,
.producto-ssd img,
.producto-fuente img,
.producto-gabinete img,
.producto-refrigeracion img{
    width: 200px;
    height: 150px;
    object-fit: contain;
}

.producto-cpu p,
.producto-placa p,
.producto-ram p,
.producto-gpu p,
.producto-ssd p,
.producto-fuente p,
.producto-gabinete p,
.producto-refrigeracion p{
    color: white;
    font-size: 24px;
    margin-top: 15px;
}
.pagina-cpu #footer,
.pagina-placa #footer,
.pagina-ram #footer,
.pagina-gpu #footer,
.pagina-ssd #footer,
.pagina-fuente #footer,
.pagina-gabinete #footer,
.pagina-refrigeracion #footer{
    width: 100%;
    background: #17233a;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 35px;
    clear: both;
}

/* FOOTER */

#footer{
    width: 100%;
    background: #757575;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 35px;
    clear: both;
}

#footer ul{
    list-style: none;
}


/* ZONA INICIO */

.zona-inicio{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 50px auto;
}

/* VIDEOS LATERALES */

.video-lado{
    width: 280px;
    height: 650px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.video-lado video{
    width: 100%;
    height: 100%;
    object-fit: cover;

    border-radius: 20px;

    box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

/* CONTENIDO CENTRAL */

.pagina-inicio #contenido{
    width: 600px;
    min-height: 420px;

    background: #5f5f5f;

    border-radius: 25px;

    padding: 35px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;

    margin: 0;

    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

/* BOTONES */

.articulo{
    width: 100%;
    height: 140px;

    background: #9e9e9e;

    border-radius: 18px;

    display: flex;
    justify-content: center;
    align-items: center;

    text-decoration: none;

    color: white;
    font-size: 32px;
    font-weight: bold;

    transition: 0.3s;
}

.articulo:hover{
    background: ##8d8d8d;
    transform: scale(1.03);
}

/* CONTACTOS */
.pagina-contactos #contenido{
    width: 85%;
    min-height: 600px;
    background: #757575;
    margin: 30px auto;
    padding: 25px;
    border-radius: 20px;
    float: none;
}

.pagina-contactos .jefes{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.pagina-contactos .persona{
    background: #9e9e9e;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    border-radius: 10px;
}

.info-contacto{
    color: white;
    text-align: center;
    padding: 30px;
    font-size: 20px;
}

.info-contacto h2{
    font-size: 38px;
    margin-bottom: 25px;
}

.info-contacto h3{
    margin-top: 25px;
    margin-bottom: 10px;
    color: white;
}

.info-contacto p{
    margin-bottom: 10px;
}

/* TERMINOS */
.pagina-terminos #contenido{
    width: 70%;
    min-height: 900px;
    background: #757575;
    margin: 30px auto;
    padding: 25px;
    border-radius: 20px;
}

.pagina-terminos .info-contacto{
    color: white;
    font-size: 20px;
    line-height: 1.8;
}

/* PRODUCTOS DESTACADOS */
.producto-info{
    background: #9e9e9e;
    min-height: 150px;
    border-radius: 15px;
    padding: 20px;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: 0.3s;
}

.producto-info:hover{
    background: #616161;
    transform: scale(1.03);
}

.producto-info h3{
    font-size: 24px;
    margin-bottom: 15px;
}

.producto-info p{
    font-size: 16px;
    line-height: 1.5;
}  
.pagina-destacados #contenedor{
    width: 80%;
    margin: 2% auto;
}

.pagina-destacados .zona-inicio{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin: 30px auto;
}

.pagina-destacados .imagen-lado{
    width: 220px;
    height: 470px;
}

.pagina-destacados .imagen-lado video{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.pagina-destacados #contenido{
    width: 65%;
    min-height: 520px;
    background: #757575;
    padding: 25px;
    border-radius: 20px;
    margin: 0;
}

.pagina-destacados .grid-productos{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.pagina-destacados .producto-info{
    background: #9e9e9e;
    min-height: 150px;
    border-radius: 15px;
    padding: 20px;
    color: white;
    text-align: center;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pagina-destacados .producto-info h3{
    font-size: 24px;
    margin-bottom: 10px;
}

.pagina-destacados .producto-info p{
    font-size: 16px;
    line-height: 1.4;
}

.pagina-destacados #footer{
    background: #757575;
}
.pagina-destacados .contenedor-destacados{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin: 30px auto;
}

.pagina-destacados .video-destacado{
    width: 220px;
    height: 470px;
}

.pagina-destacados .video-destacado video{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.pagina-destacados .contenido-destacados{
    width: 65%;
    min-height: 520px;
    background: #757575;
    padding: 25px;
    border-radius: 20px;
}

.pagina-destacados .grid-destacados{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.pagina-destacados .tarjeta-destacada{
    background: #9e9e9e;
    min-height: 150px;
    border-radius: 15px;
    padding: 20px;
    color: white;
    text-align: center;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pagina-destacados .tarjeta-destacada h3{
    font-size: 24px;
    margin-bottom: 10px;
}

.pagina-destacados .tarjeta-destacada p{
    font-size: 16px;
}

.pagina-destacados #footer{
    background: #757575;
}
.promo{
    height: 230px;
    padding: 20px;
    flex-direction: column;
    gap: 10px;
}

.promo img{
    width: 120px;
    height: 90px;
    object-fit: contain;
    background: white;
    border-radius: 8px;
    padding: 5px;
}

.promo h3{
    color: white;
    font-size: 22px;
}

.promo p{
    color: white;
    font-size: 16px;
    text-align: center;
    line-height: 1.4;
}
.zona-promos{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

/* BANNERS */

.banner-lateral{
    width: 280px;
    height: 520px;

    object-fit: cover;

    border-radius: 25px;

    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

/* CONTENIDO */

#contenido{
    width: 900px;
}
/* CONTENEDOR GENERAL */
.pagina-productos #contenedor{
    position: relative;
}


/* SOLO PAGINA PRODUCTOS */


.pagina-productos .lado{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 340px;
    transition: 0.3s;
}

.pagina-productos .lado img{
    width: 100%;
    border-radius: 15px;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.25);
}


.pagina-productos .izquierda{
    left: 30px;
}


.pagina-productos .derecha{
    right: 30px;
}

/
.pagina-productos #contenido{
    width: 45%;
    margin: 30px auto;
}

/* HOVER */
.pagina-productos .lado:hover{
    transform: translateY(-50%) scale(1.03);
}
.formulario-contacto{
    width: 420px;
    margin: 30px auto;
    padding: 25px;
    background: #9e9e9e;
    border-radius: 20px;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.formulario-contacto h2{
    text-align: center;
    margin-bottom: 15px;
}

.formulario-contacto input,
.formulario-contacto textarea,
.formulario-contacto select{
    padding: 10px;
    border-radius: 8px;
    border: none;
    outline: none;
}

.formulario-contacto input:focus,
.formulario-contacto textarea:focus,
.formulario-contacto select:focus{
    box-shadow: 0 0 8px rgba(0,0,0,0.4);
}

.opciones{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.opciones label{
    display: flex;
    align-items: center;
    gap: 6px;
}

.formulario-contacto button{
    margin-top: 15px;
    padding: 12px;
    background: #424242;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

.formulario-contacto button:hover{
    background: #616161;
}