.section-product-detail {
    width: 100%;
    max-width: 1400px;
    padding: 80px 10px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    margin: 0 auto;
}

.section-product-detail ul {
    margin: 0;
    padding: 0 25px;
}

.product-detail-image {
    display: none;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.product-detail-image.show-image {
    display: flex;
}

.product-detail-image-container img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-width: 70%;
    max-height: 600px;
}

.product-detail-series-name {
    font-weight: 200;
    font-size: 40px;
    text-transform: uppercase;
}

.product-detail-article-code,
.product-detail-specific-description {
    font-size: 1.3em;
}

.product-detail-title-section {
    text-transform: capitalize;
    padding: 10px 0;
}

.product-detail-generic-info,
.product-detail-finishes-info,
.product-detail-title-section.download,
.product-detail-single-download {
    border-bottom: 1px solid lightgray;
    padding: 10px 0;
}

.product-detail-description {
    padding: 30px 0;
}

.product-detail-description.specific-list-note {
    padding: 0 0 30px 0;
}

.product-detail-finishes-info,
.product-detail-description,
.product-detail-downloads-info,
.product-detail-button {
    font-size: 0.8em;
}

.product-detail-href-download {
    text-decoration: underline;
    color: #949292;;
}

.product-detail-button {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 15px 0;
}

.product-detail-button-label {
    font-weight: 700;
}

.product-detail-button img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.product-detail-single-download:last-child {
    border-bottom: none;
}

.product-detail-finishes-container {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    row-gap: 10px;
}

.product-detail-single-finish {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-detail-single-finish picture {
    width: 30px;
    height: 30px;
}

.product-detail-single-finish img {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 50%;
    padding: 3px;
}

.product-detail-single-finish.active img {
    border: 1px solid #333;
}

.product-detail-single-download {
    display: flex;
    justify-content: space-between;
}

/* Stili per il pulsante fisso */
.fixed-iframe-button {
    position: fixed;
    bottom: 100px;
    background-color: #fff;
    color: #3f4447;
    font-weight: bold;
    text-decoration: underline;
    border: 1px solid lightgray;
    /*border-color: #3f4447;*/
    padding: 10px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s, visibility 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
    right: 10px;
}

.fixed-iframe-button img {
    width: 24px;
    height: 24px;
}

/* Stili per il modale a tutto schermo */
.fullscreen-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    overflow: auto;
}

.fullscreen-modal-content {
    width: 100%;
    height: 100%;
    position: relative;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Stili per l'iframe */
.modal-iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.modal-close-button {
    position: absolute;
    top: 15px;
    right: 30px;
    font-size: 30px;
    font-weight: bold;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10001;
    line-height: 1;
}

/* Media query  */
@media (max-width: 767px) {
    .section-product-detail {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}