@CHARSET "ISO-8859-1";

/* Miglioramenti generali */
body {
    font-family: Arial, sans-serif;
    color: #333;
    background-color: #f4f4f4;
}

.product {
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.6);
    border: 6px solid white;
    margin: 40px auto;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    max-width: 1000px;
    position: relative;
    float: none;

}

.product-content{
    display: flex;
}

.product-title{
    text-align: center;
}

.product-title b{
    font-size: 20px;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 12px;
    padding: 10px;
    display: block;
}

.youtube-product-link{
    background-image: url( '../images/youtube.png' );
    display: block;
}

.instagram-product-link{
    background-image: url( '../images/instagram.png' );
    display: block;
}

.product-table{
    width: 100%;
}

.more-info{
    font-size:20px;
}

.product-table > tbody > tr > td {
    width: 50%;
    vertical-align: top;
    text-align: left;
}
.product-table > tbody > tr > td > input{
    margin: 10px 0;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 90%;
}

.product-table > tbody > tr > td > textarea{
    width: 90%;
    height: 70px;
    margin: 10px 0;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.send-request{
    display: none;
    margin-top: 30px;
}

.product-btn{
    text-align: center;
    margin-top: 20px;
}

.product-btn > input,
.toggle-btn {
    background-color: rgba(255, 255, 255, 1);
    color: black;
    border: none;
    padding: 10px;
    cursor: pointer;
    transition: background 0.3s;
    width: 20%;
    min-width: fit-content;
    border-radius: 5px;
}

.toggle-btn{
    margin-top: 20px;
}

.product-footer{
    text-align: center;
}

.product-btn > input:hover ,
.toggle-btn:hover{
    background-color: rgba(255, 255, 255, 0.7);
}



.offerteProduct{
    display: inline-block;
    margin: 40px 0px;
    float: none;
    vertical-align: middle;
}

.offerteProduct > div{
    background-color: rgba(255, 255, 255, 0.8);
    border: 6px solid white;
    border-radius: 12px;
	background-size: 80% 100%;
    border-radius: 12px;
    display: block;
    max-height: 310px;
    height: 310px;
	backdrop-filter: blur(10px);
    width: 80%;
    margin: 10px auto;
    padding: 0px;
    text-align: center;
}

.offerteProduct a{
	display: inline-block;
	width: 100%;
	max-height: 200px;
	height: 200px;
	margin-top: 20px;
}

.offerteProduct img{
	display: block;
	max-width: 100%;
	max-height: inherit;
	margin: auto;
}

/* Galleria Immagini */
.photoGallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.photoGallery a {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.photoGallery a.imgGrande {
    width: 100%;
    height: 400px;
    max-height: 400px;
    background-size: contain !important;
}

/* Scheda tecnica */
.techSheet {
    width: 100%;
    color: black;
    margin-top: 20px;
    border-collapse: collapse;
    table-layout: fixed;
}

.techSheet th, .techSheet td {
    padding: 10px;
    border-bottom: 1px solid black;
}

.techSheet td{
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.techSheet input, .techSheet textarea {
    margin: 10px 0;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
}

.techSheet input[type=button] {
    background-color: rgba(255, 255, 255, 0.8);
    color: black;
    border: none;
    padding: 10px;
    cursor: pointer;
    transition: background 0.3s;
}

.techSheet input[type=button]:hover {
    background-color: rgba(255, 255, 255, 1);
}


@media (max-width: 992px) {

    .product-content{
        flex-direction: column;
    }


}

/* Responsive */
@media (max-width: 768px) {
    .product {
        padding: 15px;
    }
    .photoGallery a {
        width: 80px;
        height: 80px;
    }
    .photoGallery a.imgGrande {
        height: 200px;
    }
}

@media (max-width: 480px) {

    .product-content{
        flex-direction: column;
    }

    .offerteProduct{
        margin: 20px 0px;
    }

    .offerteProduct > div{
        width: 100%;
    }


    .product-table > tbody > tr > td {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .product-table > tbody > tr > td > b{
        text-align: center;
        font-size: 20px;
    }

    .product-table > tbody > tr > td > input{
        width: 100%;
    }

    .product-table > tbody > tr > td > textarea{
        width: 100%;
    }
}
