* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #ffffff;
    color: #111111;
}


/* =========================
   ENCABEZADO
========================= */

.encabezado {
    width: 100%;
    height: 85px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 60px;

    background-color: #ffffff;

    border-bottom: 1px solid #eeeeee;
}


/* LOGO */

.logo {
    font-family: Georgia, serif;

    font-size: 30px;

    font-weight: bold;

    color: #111111;
}


/* MENÚ */

.menu {
    display: flex;

    gap: 35px;
}

.menu a {

    text-decoration: none;

    color: #111111;

    font-size: 14px;

    font-weight: 500;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.menu a:hover {

    color: #d889a3;
}


/* BOTONES */

.acciones {

    display: flex;

    gap: 10px;
}

.acciones button {

    width: 42px;

    height: 42px;

    border-radius: 50%;

    border: none;

    background-color: #f7f2f4;

    font-size: 18px;

    cursor: pointer;
}

.acciones button:hover {

    background-color: #efd9e1;
}
/* =========================
   PORTADA PRINCIPAL
========================= */

.hero {
    min-height: 650px;

    display: grid;
    grid-template-columns: 1fr 1fr;

    align-items: center;

    background-color: #f8eef2;

    padding: 60px;
}


/* TEXTO */

.hero-texto {
    max-width: 550px;
}

.etiqueta {
    font-size: 12px;

    font-weight: bold;

    letter-spacing: 3px;

    color: #c17891;

    margin-bottom: 20px;
}

.hero h1 {
    font-family: Georgia, serif;

    font-size: 70px;

    line-height: 1;

    margin-bottom: 25px;
}

.descripcion {
    font-size: 17px;

    color: #666666;

    line-height: 1.6;

    margin-bottom: 30px;
}


/* BOTÓN */

.boton-principal {
    display: inline-block;

    padding: 16px 28px;

    background-color: #111111;

    color: white;

    text-decoration: none;

    font-size: 13px;

    font-weight: bold;

    letter-spacing: 2px;

    transition: 0.3s;
}

.boton-principal:hover {
    background-color: #d889a3;
}


/* IMAGEN */

.hero-imagen {
    display: flex;

    justify-content: center;

    align-items: center;
}

.imagen-placeholder {

    width: 100%;

    max-width: 520px;

    height: 520px;

    background-color: #e8cbd5;

    display: flex;

    justify-content: center;

    align-items: center;

    font-size: 20px;

    color: #7c5d68;

    letter-spacing: 2px;
}
/* =========================
   CATEGORÍAS
========================= */

.categorias {
    padding: 80px 60px;
    background-color: #ffffff;
}

.titulo-seccion {
    margin-bottom: 35px;
}

.titulo-seccion p {
    font-size: 12px;
    letter-spacing: 3px;
    color: #c17891;
    font-weight: bold;
    margin-bottom: 10px;
}

.titulo-seccion h2 {
    font-family: Georgia, serif;
    font-size: 42px;
}

.grid-categorias {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.categoria {
    text-decoration: none;
    color: #111111;
}

.categoria-imagen {
    height: 280px;
    background-color: #f2dbe3;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #8c6572;
    font-weight: bold;
    letter-spacing: 2px;

    transition: 0.3s;
}

.categoria:hover .categoria-imagen {
    background-color: #e7c3cf;
}

.categoria h3 {
    margin-top: 12px;
    font-size: 18px;
    font-weight: 500;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .encabezado {
        padding: 0 20px;
    }

    .menu {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-imagen {
        margin-top: 35px;
    }

    .categorias {
        padding: 60px 20px;
    }

    .grid-categorias {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {

    .grid-categorias {
        grid-template-columns: 1fr;
    }

    .categoria-imagen {
        height: 220px;
    }
}
/* =========================
   PRODUCTOS
========================= */

.productos {
    padding: 90px 60px;
    background: #fafafa;
}

.grid-productos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.producto {
    background: white;
    display: block;
    overflow: hidden;
}

.producto-imagen {
    position: relative;
    width: 100%;
    height: 420px;
    background: #f2dbe3;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #9b6b7b;
    font-size: 13px;
    letter-spacing: 2px;
}

.favorito {
    position: absolute;
    top: 15px;
    right: 15px;

    width: 40px;
    height: 40px;

    border: none;
    border-radius: 50%;

    background: white;
    font-size: 20px;
    cursor: pointer;
}

.producto-info {
    width: 100%;
    padding: 18px 5px 10px;
    display: block;
}

.producto-info h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 7px;
}

.color {
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
}
.talla {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.precio {
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 15px;
}

.agregar {
    width: 100%;
    padding: 14px;

    border: 1px solid #111;
    background: #111;
    color: white;

    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;

    cursor: pointer;
}

.agregar:hover {
    background: #d889a3;
    border-color: #d889a3;
}

/* PRODUCTOS EN CELULAR */

@media (max-width: 900px) {

    .productos {
        padding: 60px 20px;
    }

    .grid-productos {
        grid-template-columns: repeat(2, 1fr);
    }

    .producto-imagen {
        height: 330px;
    }
}

@media (max-width: 520px) {

    .grid-productos {
        gap: 12px;
    }

    .producto-imagen {
        height: 250px;
    }

    .producto-info h3 {
        font-size: 14px;
    }
}
.foto-producto {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.tallas-producto {
    margin-bottom: 12px;
}

.texto-tallas {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 7px;
}

.opciones-talla {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.boton-talla {
    min-width: 38px;
    height: 32px;

    padding: 0 10px;

    background: #ffffff;
    border: 1px solid #cccccc;

    font-size: 12px;

    cursor: pointer;

    transition: 0.2s;
}

.boton-talla:hover {
    border-color: #111111;
}

.boton-talla.seleccionada {
    background: #111111;
    color: #ffffff;
    border-color: #111111;
}

.sin-talla {
    font-size: 13px;
    color: #999999;
}
.boton-carrito {
    position: relative;
}

#contador-carrito {
    position: absolute;

    top: -5px;
    right: -5px;

    min-width: 18px;
    height: 18px;

    padding: 0 5px;

    border-radius: 20px;

    background: #111;
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 10px;
    font-weight: bold;
}
/* =========================
   CARRITO LATERAL
========================= */

.fondo-carrito {
    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, 0.35);

    opacity: 0;
    visibility: hidden;

    transition: 0.3s;

    z-index: 999;
}

.fondo-carrito.activo {
    opacity: 1;
    visibility: visible;
}


.panel-carrito {
    position: fixed;

    top: 0;
    right: -450px;

    width: 420px;
    max-width: 100%;

    height: 100vh;

    background: #ffffff;

    z-index: 1000;

    display: flex;
    flex-direction: column;

    transition: right 0.35s ease;

    box-shadow:
        -10px 0 30px rgba(0, 0, 0, 0.12);
}

.panel-carrito.activo {
    right: 0;
}


.carrito-header {
    height: 85px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 25px;

    border-bottom: 1px solid #eeeeee;
}

.carrito-header h2 {
    font-family: Georgia, serif;
    font-size: 28px;
}

.cerrar-carrito {
    border: none;
    background: transparent;

    font-size: 32px;

    cursor: pointer;
}


.lista-carrito {
    flex: 1;

    overflow-y: auto;

    padding: 20px;
}


.item-carrito {
    display: grid;
    grid-template-columns: 95px 1fr;

    gap: 15px;

    padding-bottom: 20px;
    margin-bottom: 20px;

    border-bottom: 1px solid #eeeeee;
}


.item-carrito-imagen,
.item-sin-imagen {
    width: 95px;
    height: 120px;

    object-fit: cover;

    background: #f2dbe3;
}

.item-sin-imagen {
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 11px;
    color: #9b6b7b;
}


.item-carrito-info h3 {
    font-size: 15px;
    margin-bottom: 5px;
}

.item-carrito-info p {
    font-size: 13px;
    color: #777777;

    margin-bottom: 5px;
}

.item-precio {
    font-weight: bold;
    color: #111111 !important;
}


.cantidad-carrito {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-top: 12px;
}

.cantidad-carrito button {
    width: 30px;
    height: 30px;

    border: 1px solid #dddddd;

    background: white;

    cursor: pointer;
}


.eliminar-carrito {
    margin-top: 10px;

    border: none;
    background: transparent;

    padding: 0;

    font-size: 12px;

    text-decoration: underline;

    cursor: pointer;
}


.carrito-resumen {
    padding: 20px;

    border-top: 1px solid #eeeeee;

    background: white;
}


.carrito-total {
    display: flex;
    justify-content: space-between;

    font-size: 17px;

    margin-bottom: 18px;
}


.boton-finalizar {
    width: 100%;

    padding: 16px;

    border: none;

    background: #111111;
    color: white;

    font-weight: bold;
    letter-spacing: 1px;

    cursor: pointer;
}

.boton-finalizar:hover {
    background: #d889a3;
}


.carrito-vacio {
    text-align: center;

    padding: 50px 10px;

    color: #777777;
}


@media (max-width: 520px) {

    .panel-carrito {
        width: 100%;
    }

}