.product-item-main-container .product-item-info {
    background-color: #fff;
}

.product-item-main-container h1 {
    color: var(--bellota-color-primary);
    margin: 0;
    font-size: 2.6rem;
    font-weight: 700;
}

.product-item-main-container p {
    color: #000;
    font-size: var(--bellota-font-size);
}

.product-text-family p {
    font-weight: 700;
}

.secondary-image-link-zoom:hover {
    cursor: zoom-in;
}

#container-product-item-image-main {
    position: relative;
    display: inline-block;
    aspect-ratio: 1;
    width: 100%;
    height: auto;
    justify-items: center;
    align-content: center;
}

.product-item-image-main {
    cursor: crosshair;
}

/* Lupa */
.lens {
    position: absolute;
    border: 2px solid #333;
    border-radius: 50%;
    width: 220px;
    height: 220px;
    background-repeat: no-repeat;
    pointer-events: none; /* que no bloquee el ratón */
    display: none; /* oculta por defecto */
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    overflow: hidden;
}

/* Cruz en el centro de la lupa */
.lens::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    transform: translate(-50%, -50%);
    border-left: 1px solid rgba(255,255,255,0.9);
    border-top: 1px solid rgba(255,255,255,0.9);
    border-right: 1px solid rgba(0,0,0,0.7);
    border-bottom: 1px solid rgba(0,0,0,0.7);
    border-radius: 50%;
    box-sizing: border-box;
}

.product-image-main-carrousel-item img.product-image {
    width: auto;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    border: 2px solid transparent;
    cursor: pointer;
}

.product-image-main-carrousel-item img.product-image:hover,
.product-image-main-carrousel-item img.product-image.active {
    border: 2px solid var(--bellota-color-primary);
}

.product-item-main-container .product-item-table {
    background-color: #fff;
}

span.ico-leyend {
    color: var(--bellota-color-primary);
}

a.link-ext-leyend {
    color: var(--bellota-color-primary);
    text-decoration: none;
}

a.link-ext-leyend:hover {
    color: #000;
}

span.ico-leyend.bellota-iconografic {
    font-family: 'bellota-iconos' !important;
    font-size: 30px;
    font-weight: normal;
}

.product-item-table h3 {
    font-size: 1.8rem;
    color: var(--bellota-color-primary);
}

.product-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
    justify-content: space-evenly;
}

#accordionSectionExtraInfoProduct .accordion-item {
    background-color: transparent !important;
    border: none;
}

#accordionSectionExtraInfoProduct .accordion-button {
    background-color: transparent;
    color: var(--bellota-color-primary);
    font-size: var(--bellota-font-size);
    font-weight: 700;
    padding-left: 0;
}

#accordionSectionExtraInfoProduct .accordion-button:not(.collapsed) {
    color: var(--bellota-color-primary);
    background-color: transparent;
    box-shadow: none;
}

#accordionSectionExtraInfoProduct .accordion-body {
    background-color: #fff;
    padding: 20px;
    font-size: var(--bellota-font-size);
}

/* del importador */

.ficha-producto-tabla-wrapper {
    overflow: auto; 
    width: 100%;
    max-height: 80vh; 
    border-bottom: 5px solid var(--bellota-color-primary);
    background-color: #fff;
}

.ficha-producto-tabla {
    width: 100%;
    border-collapse: collapse;
    color: var(--text-color-light);
    contain: layout paint;
    transform: translateZ(0);
}

.ficha-producto-tabla th, 
.ficha-producto-tabla td {
    padding: 12px 15px;
    text-align: center;
    white-space: nowrap;
}

.ficha-producto-tabla th {
    font-weight: normal;
    position: sticky; 
    top: 0;
    z-index: 1;
    background-color: var(--bellota-color-primary);
    color: #fff;
    font-weight: bold;
    padding-top: 20px;
    padding-bottom: 20px;
}

.ficha-producto-tabla td {
    color: #000;
}

.ficha-producto-tabla tbody tr:nth-child(even) td {
    background-color: #f2f2f2;
}

.ficha-producto-tabla tbody tr:hover td {
    background-color: var(--bellota-color-primary-hover);
    transition: background-color 0.2s ease-in-out;
}

.tabla-icono-celda {
    font-family: 'bellota-iconos';
    text-align: center;
    font-size: 2.2em;
    color: #e0e0e0;
    line-height: 1;
}

.tabla-icono-celda.bellota-iconos {
    font-weight: normal; 
}

/* del importador */

@media (min-width: 992px) {
    .carousel-slide {
        min-width: 33% !important;
    }
}

@media (min-width: 1400px) {
    .carousel-slide {
        min-width: 25% !important;
    }
}
