/* CONFIGURACIÓN GENERAL */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #f7f7f7;
    color: #171717;
    line-height: 1.6;
}

a {
    text-decoration: none;
}

/* ENCABEZADO */

.encabezado {
    background: #111111;
    color: white;
    padding: 22px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    color: white;
    font-size: 19px;
    font-weight: bold;
}

.logo span {
    color: #dc2626;
}

nav {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

nav a {
    color: white;
    font-size: 14px;
    transition: 0.3s;
}

nav a:hover {
    color: #dc2626;
}

/* PORTADA */

.portada {
    min-height: 440px;
    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,0.9),
            rgba(0,0,0,0.55)
        ),
        url("../image/mujer/catalogo-01.jpg");

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
    padding: 70px 10%;
    color: white;
}

.portada-contenido {
    max-width: 650px;
}

.etiqueta {
    color: #dc2626;
    font-weight: bold;
    letter-spacing: 3px;
    font-size: 12px;
    margin-bottom: 15px;
}

.portada h1 {
    font-size: clamp(35px, 6vw, 58px);
    line-height: 1.15;
    margin-bottom: 20px;
}

.descripcion {
    color: #dddddd;
    margin-bottom: 30px;
    font-size: 17px;
}

/* BOTONES */

.boton {
    display: inline-block;
    padding: 14px 25px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: bold;
    transition: 0.3s;
    text-align: center;
}

.boton-rojo {
    background: #dc2626;
    color: white;
}

.boton-rojo:hover {
    background: #991b1b;
    transform: translateY(-3px);
}

.boton-negro {
    background: #171717;
    color: white;
}

.boton-negro:hover {
    background: #dc2626;
}

/* CATÁLOGO */

.catalogo {
    padding: 90px 8%;
}

.titulo-seccion {
    text-align: center;
    margin-bottom: 45px;
}

.titulo-seccion h2,
.contacto h2 {
    font-size: 34px;
    margin-bottom: 10px;
}

.titulo-seccion p:not(.etiqueta) {
    color: #666666;
}

.productos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.producto {
    background: white;
    border-radius: 9px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.07);
    transition: 0.3s;
}

.producto:hover {
    transform: translateY(-7px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.13);
}

.producto img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.producto-info {
    padding: 18px;
    text-align: center;
}

.producto-info h3 {
    font-size: 17px;
}

/* UBICACIÓN */

.ubicacion {
    padding: 80px 8%;
    text-align: center;
    background: white;
}

/* CONTACTO */

.contacto {
    padding: 85px 8%;
    text-align: center;
    background: #eeeeee;
}

.contacto p:not(.etiqueta) {
    color: #666666;
    margin: 15px auto 25px;
    max-width: 550px;
}

/* PIE DE PÁGINA */

footer {
    background: #111111;
    color: white;
    padding: 35px 15px;
    text-align: center;
}

footer h3 {
    margin-bottom: 10px;
}

footer p {
    color: #bbbbbb;
    font-size: 13px;
}

.copyright {
    margin-top: 15px;
}

/* DISEÑO PARA CELULARES Y TABLETS */

@media (max-width: 900px) {
    .productos {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .encabezado {
        justify-content: center;
        text-align: center;
    }

    nav {
        justify-content: center;
        gap: 15px;
    }

    .portada {
        min-height: 380px;
        padding: 55px 7%;
    }

    .catalogo {
        padding: 60px 6%;
    }

    .productos {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .producto img {
        height: 135px;
    }

    .producto-info {
        padding: 12px 5px;
    }

    .producto-info h3 {
        font-size: 14px;
    }

    .titulo-seccion h2,
    .contacto h2 {
        font-size: 27px;
    }

    .ubicacion,
    .contacto {
        padding: 60px 7%;
    }
}

/* =====================================
   SECCIÓN DE DETALLES DE PRODUCTOS
===================================== */

.detalle-producto {
    padding: 70px 8%;
    background: #ffffff;
    min-height: 400px;
}

.detalle-producto:not([hidden]) {
    display: block;
}

.detalle-contenido {
    display: grid;
    align-items: center;
    max-width: 720px;
    margin: 40px auto 0;
}

.detalle-informacion h2 {
    font-size: 35px;
    margin-bottom: 20px;
}

.detalle-informacion p {
    color: #666666;
    margin-bottom: 20px;
}

.detalle-informacion h3 {
    margin: 25px 0 12px;
}

.detalle-informacion ul {
    padding-left: 22px;
    color: #555555;
}

.detalle-informacion li {
    margin-bottom: 8px;
}

/* BOTÓN DE REGRESO */

#volver-catalogo {
    border: none;
    cursor: pointer;
    margin-bottom: 10px;
}

/* PRODUCTOS SELECCIONABLES */

.producto-seleccionar {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
    background: transparent;
    font-family: inherit;
    color: inherit;
    cursor: pointer;
    text-align: inherit;
}

.producto-seleccionar span {
    display: inline-block;
    color: #dc2626;
    font-size: 13px;
    font-weight: bold;
    margin-top: 8px;
}

.producto-seleccionar:focus-visible {
    outline: 3px solid #dc2626;
    outline-offset: -3px;
}

/* ADAPTACIÓN PARA CELULARES */

@media (max-width: 700px) {

    .detalle-producto {
        padding: 45px 6%;
    }

    .detalle-contenido {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 25px;
    }

    .detalle-imagen img {
        max-height: 300px;
    }

    .detalle-informacion h2 {
        font-size: 28px;
    }

    #detalle-whatsapp {
        width: 100%;
    }
}

/* GALERÍA DE ARMAZONES */

.categorias-armazones {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.categoria-armazon {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 35px 15px;
    cursor: pointer;
    transition: .3s;
    font-family: Arial, sans-serif;
}

.categoria-armazon:hover {
    border-color: #dc2626;
    transform: translateY(-5px);
}

.categoria-armazon h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.categoria-armazon span {
    color: #dc2626;
    font-weight: bold;
}

.lista-armazones {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.modelo-armazon {
    background: white;
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,.08);
    text-align: center;
}

.modelo-armazon img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 7px;
}

.modelo-armazon h3 {
    margin: 12px 0;
}

@media (max-width: 600px) {
    .categorias-armazones {
        grid-template-columns: 1fr;
    }

    .lista-armazones {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .modelo-armazon img {
        height: 140px;
    }
}
[hidden] {
    display: none !important;
}
