/*==================================================
=                  PRODUCT CARD                    =
==================================================*/

#productos-destacados .container {
    max-width: 1200px;
    margin: auto;
}

.producto-card {
    position: relative;
    width: 100%;
    max-width: 280px;
    margin: auto;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.producto-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
}

.producto-card a {
    display: block;
    color: inherit;
    text-decoration: none;
}


/*==================================================
    IMAGEN
==================================================*/

.producto-img {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 280px;
    padding: 20px;
    overflow: hidden;
    background: #F7F4EF;
}

.producto-img img {
    width: auto;
    max-width: 100%;
    height: 240px;
    object-fit: contain;
    display: block;
    transition: transform 0.35s ease;
}

.producto-card:hover .producto-img img {
    transform: scale(1.05);
}


/*==================================================
=                  BADGE                           =
==================================================*/

.producto-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: var(--color-terciario);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .8px;
    text-transform: uppercase;
    padding: 8px 12px;
    border-radius: 50px;
    z-index: 2;
}


/*==================================================
=                 INFORMACIÓN                      =
==================================================*/

.producto-info {
    padding: 22px;
    text-align: center;
}

.producto-categoria {
    display: block;
    color: #9b9b9b;
    font-size: 13px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Corregido: Selector alineado con .producto-nombre del HTML */
.producto-nombre {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-secundario);
    margin: 0 0 8px;
    line-height: 1.3;
}

.producto-precio {
    display: block;
    color: var(--color-terciario);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}


/*==================================================
    TALLAS
==================================================*/

.producto-tallas {
    display: block;
    font-size: 12px;
    color: #8a8a8a;
    letter-spacing: .5px;
    margin-bottom: 12px;
}


/*==================================================
    FOOTER
==================================================*/

.producto-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}


/*==================================================
=                  COLORES                         =
==================================================*/

.producto-colores {
    display: flex;
    align-items: center;
    gap: 8px;
}

.color {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, .12);
}

.color.beige {
    background: #F3E6C8;
}

.color.cafe {
    background: #613536;
}

.color.negro {
    background: #222222;
}


/*==================================================
    CARRITO
==================================================*/

.producto-carrito {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--color-secundario);
    border-radius: 50%;
    color: var(--color-secundario);
    transition: .3s ease;
}

.producto-carrito svg {
    width: 18px;
    height: 18px;
}

.producto-card:hover .producto-carrito {
    background: var(--color-terciario);
    border-color: var(--color-terciario);
    color: #ffffff;
}


/*==================================================
=                  RESPONSIVE                      =
==================================================*/

@media (max-width: 768px) {
    .producto-card {
        max-width: 100%;
    }

    .producto-info {
        padding: 16px;
        text-align: center;
    }

    .producto-nombre {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .producto-precio {
        font-size: 18px;
        margin-bottom: 8px;
    }
}