.product {
    position: relative;
    z-index: 1;
}

.description .product-value {
    text-align: left;
    font-size: 20px;
    font-weight: bold;
}

.products-groups {
    border-radius: 0px 25px 25px 0px;
    padding: 0px;
    box-shadow: 4px 4px 10px -8px var(--primary-text-color-inverse);
    position: relative;
    z-index: 1;
}

.products-groups:before {
    position: absolute;
    top: 0;
    opacity: .5;
    left: 0;
    width: 100%;
    background: var(--primary-text-color);
    height: 100%;
    z-index: -1;
    content: " ";
    border-radius: 0px 25px 25px 0px;
    padding: 0px;
}

#product-group-title a {
    text-align: center;
    padding-top: 1px;
    font-size: 25px;
    font-weight: bold;
    display: block;
    color: var(--primary-color);
    font-family: var(--primary-font-family);
}

.products-groups ul {
    padding-left: 25px;
}

.products-groups ul li {
    list-style: none;
}

.products-groups ul li a {
    color: var(--primary-text-color-inverse) !important;
    font-family: var(--primary-font-family);
    display: block;
    padding-top: 5px;
}

.products-groups ul li a:hover {
    text-decoration: none;
    color: var(--primary-color) !important;
}

.product-img {
    text-align: center;
    display: block;
    position: relative;
}

.product-img img {
    object-fit: cover;
    height: 250px;
}

.product:hover .hover {
    display: flex;
}

.product-img .hover {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    display: none;
    align-items: center;
    justify-content: flex-end;
}

.product-img .hover .right {
    float: right;
    width: 80%;
}

.product-img .hover a {
    height: 40px;
    width: 40px;
    padding: 10px 20px;
    font-size: 25px;
    margin: 5px 0px;
    margin-left: auto;
    border-radius: 20px 0px 0px 20px;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0px 0px 8px #000;
    display: flex;
    color: var(--primary-text-color) !important;
    align-items: center;
    background: var(--primary-color) !important;
}

.product-img .hover a:hover {
    width: auto;
}

.product-img .hover a span {
    display: none;
    font-size: 16px;
    margin-left: 10px;
}

.product-img .hover a:hover span {
    display: block;
    -webkit-transition: all 0.8s ease;
    -moz-transition: all 0.8s ease;
    transition: all 0.8s ease;

}

.product-img .hover::before {
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    opacity: .2;
    content: "";
    justify-content: center;
    background: #000;
}

.product-title {
    color: var(--primary-text-color-inverse);
    text-shadow: 1px 1px var(--primary-text-color);
    margin: 20px 10px;
    font-family: var(--primary-font-family);
    line-height: 35px;
    text-align: center;
}

.product-category {
    color: var(--primary-text-color-inverse);
    opacity: .6;
    text-align: center;
}

.product-value {
    color: var(--primary-color);
    font-size: 25px;
    text-align: center;
    font-family: var(--primary-font-family);
}

.product-value s {
    font-size: 14px;
    opacity: .6;
}

.owl-carousel-products-sync1 .owl-item img {
    object-fit: cover;
    object-position: top;
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    max-height: 450px;
    margin: auto;
}

.owl-carousel-products-sync1 .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.owl-carousel-products-sync1 .owl-dot {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 80px;
    min-width: 80px;
    width: 20%;
    margin: 5px;
}

.owl-carousel-products-sync1 .owl-dot span {
    display: none !important;
}

.owl-carousel-products-sync1 .owl-item {
    max-height: 500px;

}

/* Show Products*/
.owl-item {
    padding: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.item {
    height: 100%;
}

.owl-carousel-products .owl-item img {
    object-fit: contain;
    object-position: top;
    width: 100% !important;
    height: 250px !important;
    max-width: 100%;
    margin: auto;
}

.owl-carousel-products .owl-dots .owl-dot.active span,
.owl-carousel-products .owl-dots .owl-dot:hover span {
    background: var(--primary-color);
}

.owl-carousel-products h3 {
    text-align: center;
    font-size: 25px;
    margin-top: 10px;
}

.owl-carousel-products .product-value,
.owl-carousel-products .product-value span {
    font-size: 22px;
}

.owl-stage {
    display: flex;
    align-items: stretch;
}

.product-item .card-body {
    padding: 1rem;
}

.product-item .description {
    font-size: 1rem;
    margin-bottom: 1.5em;
}

a.btn.btn-primary,
a.btn.direct-buy-button-cart {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

a.btn.btn-secondary,
a.btn.add-to-cart {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: var(--primary-text-color);
}

a.btn.btn-tertiary,
a.btn.quote-button {
    background-color: var(--tertiary-color) !important;
    border-color: var(--tertiary-color) !important;
    color: var(--primary-text-color-inverse) !important;
}

a.btn.btn-tertiary i:hover,
a.btn.btn-tertiary i:focus {
    opacity: 1;
}

.product-item .product-img img.card-img-top {
    object-fit: contain;
}

.products-carousel .owl-carousel-products {
    display: block;
}

.gallery-big-image .owl-item .item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-big-image .owl-item .item img {
    max-height: 500px;
}

.gallery-thums-image {
    margin-top: 2rem;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.gallery-thums-image .owl-stage {
    justify-content: center;
}

.gallery-thums-image .owl-item {
    width: 80px !important;
    /* Ajusta al tamaño de la imagen */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    /* Opcional: elimina espacios */
    margin: 0;/
}

.gallery-thums-image .owl-item .item {
    height: 80px;
    width: 80px;
}

.gallery-thums-image .owl-item .item img {
    width: 80px;
    height: 80px;
    padding: 5px;
    border: 1px solid rgba(0, 0, 0, 0.25);
    border-radius: 10px;
}

.products-carousel .owl-carousel-products .product-item .product-img img.card-img-top {
    height: 150px !important;
}

@media screen and (max-width: 992px) {
    .img-zoom-lens {
        display: none !important;
    }
}

@media screen and (max-width: 769px) {
    .product-img .hover {
        display: flex;
    }
}

@media screen and (max-width: 431px) {
    .gallery-big-image {
        margin-bottom: 2rem;
    }

    .gallery-thums-image {
        display: none !important;
    }
}