.ocultar {
    display: none !important;
}

.product-card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    background-color: #000;
    cursor: pointer;
    position: relative;
}

.product-image {
    width: 100%;
    height: 22rem;
    object-fit: cover;
    /* transition: opacity 0.3s; */
}

.product-card:hover .product-image {
    opacity: 0.8;
}

.etiqueta-producto {
    text-align: center;
    position: relative;
    bottom: 0;
    background-color: #fff;
    font-family: 'UniversLTUltraCondensed', sans-serif;
    box-sizing: border-box;
}

.etiqueta-producto h3 {
    margin: 0;
    font-size: 2rem;
}

/* Contenedor principal de la galería y el carrusel */
.gallery-main-container {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

/* Estilos para el contenedor de miniaturas verticales */
.vertical-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100px;
    flex-shrink: 0;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 5px;
}

.vertical-thumbnail-img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s ease-in-out, transform 0.2s ease-in-out;
    border-radius: 0.3rem;
}

.vertical-thumbnail-img.active,
.vertical-thumbnail-img:hover {
    border-color: var(--rojo);
    /* transform: scale(1.05); */
}

.product-gallery-carousel {
    flex-grow: 1;
    border-radius: 0.5rem;
    overflow: hidden;
}

.product-gallery-item {
    max-height: 500px;
    width: 100%;
    object-fit: contain;
    background-color: #f8f9fa;
    border-radius: 0.5rem;
}

/* FILTROS */
.category-scroller {
    scroll-behavior: smooth;
}

.category-item a {
    display: inline-block;
    padding: 8px;
    border-radius: 0.375rem;
    text-align: center;
}

.category-item a:hover {
    box-shadow: 0 0 0 3px var(--rojo);
}

.category-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid #eee;
    transition: opacity 0.2s ease-in-out;
}

.category-item a.active-filter-btn {
    box-shadow: 0 0 0 3px var(--rojo);
}

.category-item a.active-filter-btn img {
    opacity: 0.8;
}


.scroll-arrow {
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-arrow:hover {
    background-color: rgba(248, 249, 250, 1);
}

.scroll-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.product-card {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    background-color: #f8f9fa;
}

@media (max-width: 991.98px) {

    .gallery-main-container {
        flex-direction: column;
    }

    .vertical-thumbnails {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
    }

    .vertical-thumbnail-img {
        flex-shrink: 0;
        width: 80px;
    }

    .product-gallery-carousel {
        margin-bottom: 1.5rem;
    }
}

.list-group-item strong {
    color: #343a40;
}

.list-group-item i.fas {
    color: #28a745;
}