.main-category > li.categoria-oculta {
    display: none;
}

.main-category > li.categoria-ver-mas {
    border-top: 1px solid #eeeeee;
}

.main-category > li.categoria-ver-mas button {
    display: flex;
    width: 100%;
    padding: 12px 18px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #00b96b;
    background: #ffffff;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.main-category > li.categoria-ver-mas button:hover {
    background: #f5f8fa;
    color: #009f5c;
}

.main-category > li.categoria-ver-mas button i {
    transition: transform 0.25s ease;
}

.main-category > li.categoria-ver-mas button.abierto i {
    transform: rotate(180deg);
}




.product-grid-completa {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
    width: 100%;
}

.product-grid-completa .product-item {
    width: 100%;
    margin: 0;
}

/* Tablet */
@media (max-width: 991px) {
    .product-grid-completa {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Celular */
@media (max-width: 575px) {
    .product-grid-completa {
        grid-template-columns: 1fr;
    }
}




.productos-destacados {
    background: #ffffff;
}

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

.producto-card {
    display: flex;
    overflow: hidden;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e9edf1;
    border-radius: 16px;
    box-shadow: 0 6px 22px rgba(21, 34, 50, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.producto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(21, 34, 50, 0.13);
}

/* IMAGEN */

.producto-imagen {
    position: relative;
    display: flex;
    overflow: hidden;
    height: 290px;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #f7f9fb;
}

.producto-imagen > a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.producto-imagen img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.producto-card:hover .producto-imagen img {
    transform: scale(1.04);
}

/* ETIQUETAS */

.producto-descuento,
.producto-etiqueta {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 6px 11px;
    color: #ffffff;
    background: #f04444;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.producto-etiqueta {
    background: #00b968;
}

/* FAVORITOS */

.producto-favorito {
    position: absolute;
    top: 13px;
    right: 13px;
    z-index: 2;
    display: flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    color: #64748b;
    background: #ffffff;
    border: 1px solid #e5e9ee;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.2s ease;
}

.producto-favorito:hover {
    color: #ffffff;
    background: #00b968;
    border-color: #00b968;
}

/* INFORMACIÓN */

.producto-informacion {
    display: flex;
    flex: 1;
    padding: 18px;
    flex-direction: column;
}

.producto-categoria {
    margin-bottom: 1px;
    color: #9099a5;
    font-size: 12px;
    font-weight: 500;
    line-height: 14px;
    text-transform: uppercase;
}

.producto-marca {
    margin-top: 0;
    margin-bottom: 7px;
    color: #27313d;
    font-size: 12px;
    font-weight: 800;
    line-height: 14px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.producto-titulo {
    min-height: 50px;
    margin: 0 0 14px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.45;
}

.producto-titulo a {
    color: #101828;
    text-decoration: none;
}

.producto-titulo a:hover {
    color: #00a95f;
}

/* PRECIOS */

.producto-precios {
    display: flex;
    min-height: 32px;
    margin-top: auto;
    margin-bottom: 15px;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.producto-precio-actual {
    color: #008f51;
    font-size: 20px;
    font-weight: 800;
}

.producto-precio-anterior {
    color: #98a2b3;
    font-size: 14px;
    font-weight: 400;
}

/* BOTÓN */

.producto-boton {
    gap: 8px;
    display: flex;
    width: 100%;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: #00b968;
    border: 2px solid #00b968;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.producto-boton:hover {
    color: #ffffff;
    background: #009f5a;
    border-color: #009f5a;
}

/* RESPONSIVE */

@media (max-width: 1199px) {
    .productos-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

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

@media (max-width: 575px) {
    .productos-grid {
        grid-template-columns: 1fr;
    }

    .producto-imagen {
        height: 270px;
    }
}

/* Solo para los enlaces que NO pertenecen a redes sociales */
li:not(.social) > a {
    display: flex;
    align-items: center;
    gap: 12px;
}

li:not(.social) > a > i {
    width: 24px;
    min-width: 24px;
    font-size: 18px;
    text-align: center;
    color: #198754;
}

/* Redes sociales alineadas horizontalmente */
.header-top-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-top-social > span {
    margin-right: 5px;
}

.header-top-social > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header-top-social > a > i {
    width: auto;
    min-width: auto;
    font-size: 16px;
}

/* El header siempre debe estar por encima de los productos */
.header {
    position: relative;
    z-index: 9999;
}

.main-navigation {
    position: relative;
    z-index: 9999;
}

/* Cuando el menú queda fijo al hacer scroll */
.main-navigation.fixed-top,
.main-navigation.fixed-top .navbar {
    z-index: 9999 !important;
}

/* Los productos quedan debajo del header */
.productos-destacados {
    position: relative;
    z-index: 1;
}

.producto-card {
    position: relative;
    z-index: 1;
}

.producto-imagen {
    position: relative;
    z-index: 1;
}

.producto-descuento,
.producto-etiqueta {
    z-index: 2;
}