/* 
   TEMA COLORI HOTEL AMBRA
   Blu Cielo: #87CEEB (Sky Blue)
   Blu Notte: #001f3f (Night Blue)
*/


/* Con boxsizing: border-box, il browser considera width e height inclusivi di margin e padding */
/* Vantaggi: nello stile ragioniamo con dimensioni che effettivamente vogliamo */

*,
*::before,
*::after {
    box-sizing: border-box;
}



:root {
    --blu-cielo: #87CEEB;
    --blu-notte: #001f3f;
    --bianco: #ffffff;
    --nero: #000000;
    --oro: #ffcc00;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f0f8ff; /* AliceBlue per richiamare il cielo */
    padding-bottom: 80px; /* Spazio per la barra fissa in basso */
}

.container {
    width: 90%;
    margin: 0 auto;
    overflow: hidden;
}



#cookie-extended-content {
    overflow-y:auto;
    max-height: 60vh;
}


/* INIZIO HEADER*/

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--blu-notte);
    color: var(--bianco);
    padding: 8px 0;
    border-bottom: 4px solid var(--blu-cielo);
    position: sticky;
    top: 0;
    text-align: center;
    z-index: 1000;
}

.header-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    width: 95%;
    margin: 0 auto;
    overflow: hidden;
}

.logoimg img {
    float: center;
    width: 400px;
}

.btn-quote {
    width: 160px;
    display:inline-block;
    background: var(--blu-cielo);
    padding: 8px 8px;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    color: var(--nero);
    transition: color 0.3s;
    font-weight: bold;
}

.btn-quote:hover {
    background: var(--blu-cielo);
    color: var(--bianco);
}

.lnk-dovesiamo {
    grid-row: 2;
    grid-column: 2/3;
    justify-self: center;
    align-self: center;
}

.lnk-dovesiamo a {
    text-decoration: none;
    color: var(--bianco);
    font-weight: bold;
    transition: color 0.3s;
}

.lnk-dovesiamo a:hover {
    color: var(--blu-cielo);
}

/* Media query per dispositivi mobili grandi */
@media(max-width: 768px) {
    .header-grid {
        grid-template-columns: 3fr 1fr 1fr 1fr 3fr;
        grid-template-rows: 3fr 36px;
        text-align: center;
        gap: 0px;
    }

    .logoimg {
        grid-row: 1;
        grid-column: 1 / 6;
    }

        .btn-quote {
        width: 160px;
        padding: 6px 10px;
    }

    .btn-preventivo, .btn-informazioni {
        grid-row: 2;
        display: flex;
        align-self: center;
        flex-direction: row;
        align-items: center;
    }

    .btn-preventivo {
        grid-column: 1 / 2;
    }
    .btn-informazioni {
        grid-column: 5 / 6;
    }

    .btn-preventivo a, .btn-informazioni a {
        font-size: smaller;
    }

    .lnk-dovesiamo {
        grid-column: 2/5;
        justify-self: center;
        align-self: center;
    }

    .lnk-dovesiamo a {
        font-size: smaller;
    }
}

/* Media query per dispositivi mobili piccoli */
@media(max-width: 420px) {
    .logoimg img{
        width: 320px
    }

    .btn-quote {
        width: 140px;
        padding: 6px 4px;
    }
}

/* Nelle stampe nascondiamo intestazione e pie' di pagina pagina  */
@media print {
    header {
        display: none;
    }

    footer {
        display: none;
    }
}

/* FINE HEADER */



/* INIZIO SLIDESHOW */
.slideshow-container {
    max-width: 100%;
    position: relative;
    margin: auto;
    height: 500px;
    overflow: hidden;
    background: #000;
}

/* Logo HA Centrale */
.hero-overlay-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    font-family: 'Brush Script MT', 'Lucida Handwriting', cursive;
    font-size: 180px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    user-select: none;
}

.mySlides {
    display: none;
    height: 100%;
}

.img-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.mySlides img {
    object-fit: cover;
    height: 100%;
    display: block;
}

/* Animazioni Slideshow */
.anim-zoom-in img {
    animation: zoomIn 6.5s linear infinite;
}
@keyframes zoomIn {
    from { transform: scale(1); }
    to { transform: scale(1.2); }
}

.anim-pan-right img {
    animation: panRight 6.5s linear infinite;
}
@keyframes panRight {
    from { transform: translateX(-5%); }
    to { transform: translateX(0); }
}

.anim-zoom-out img {
    animation: zoomOut 6.5s linear infinite;
}
@keyframes zoomOut {
    from { transform: scale(1.2); }
    to { transform: scale(1); }
}

.anim-pan-left img {
    animation: panLeft 6.5s linear infinite;
}
@keyframes panLeft {
    from { transform: translateX(0); }
    to { transform: translateX(-5%); }
}

.anim-pan-down img {
    animation: panDown 6.5s linear infinite;
}
@keyframes panDown {
    from { transform: translateY(-5%); }
    to { transform: translateY(0); }
}

.anim-rotate-zoom img {
    animation: rotateZoom 6.5s linear infinite;
}
@keyframes rotateZoom {
    from { transform: scale(1) rotate(0deg); }
    to { transform: scale(1.1) rotate(2deg); }
}

.text {
    color: #fff;
    font-size: 28px;
    padding: 15px 20px;
    position: absolute;
    bottom: 80px;
    width: 100%;
    text-align: center;
    background: rgba(0, 31, 63, 0.6); /* Sfondo blu notte semitrasparente */
    font-weight: bold;
    z-index: 10;
}

@media(max-width: 768px) {
    .text {
        font-size: 20px;
        padding: 10px 15px;
        bottom: 20px;
    }
}

.fade {
    animation-name: fade;
    animation-duration: 1s;
}

@keyframes fade {
    from {opacity: 0} 
    to {opacity: 1}
}

/* FINE SLIDESHOW */

/* Bottom Bar */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: rgba(0, 31, 63, 0.8); /* Blu notte */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--blu-cielo);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media print {
    .bottom-bar {
        display: none;
    }
}

.bottom-bar-content {
    display: flex;
    width: 100%;
    max-width: 600px;
    justify-content: space-around;
    padding: 0 10px;
}

.bar-btn {
    text-decoration: none;
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    transition: transform 0.3s, opacity 0.3s;
    position: relative;
    background: var(--blu-cielo);
}

.bar-btn svg {
    width: 22px;
    height: 22px;
    stroke: var(--blu-notte);
}

.bar-btn:hover {
    transform: translateY(-3px);
    opacity: 1;
    background: var(--bianco);
}

/* Tooltip */
.bar-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blu-notte);
    color: var(--bianco);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, bottom 0.3s;
    pointer-events: none;
    border: 1px solid var(--blu-cielo);
}

.bar-btn:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: 55px;
}

.mail-btn { background: var(--blu-cielo); }
.tel-btn { background: var(--blu-cielo); }
.wa-btn { background: #25d366; } /* WhatsApp mantiene il suo verde iconico */

/* Padding per il footer per non coprire il contenuto - Gestito nella sezione Footer */

/* Sezione 5 Ragioni */
#reasons {
    padding: 60px;
    padding-bottom: 20px;
    text-align: left;
}

.reasons-content {
    background: var(--bianco);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 31, 63, 0.05);
    border-left: 8px solid var(--blu-cielo);
}

@media(max-width: 768px) {
    #reasons {
        padding: 32px;
    }
    .reasons-content {
        padding: 24px;
    }
}

@media(max-width: 420px) {
    #reasons {
        padding: 2px;
        margin-top: 16px;
    }
    .reasons-content {
        padding: 12px;
    }
}

.reasons-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.reasons-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    font-size: 18px;
}

.reasons-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--blu-cielo);
    font-weight: bold;
    font-size: 20px;
}



/* BANNER - INIZIO */

#rooms-banner, #restaurant-banner, #recreation-banner, #apartments-banner, #location-banner, #walks-banner, #visit-banner, #parks-banner, #events-banner {
    width: 100%;
    aspect-ratio: 3 / 1;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
    margin: 20px 0;
}

.banner-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 31, 63, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.banner-overlay:hover {
    background: rgba(0, 31, 63, 0.6);
}

.banner-overlay h2 {
    color: var(--bianco);
    font-size: 60px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 5px;
}

.banner-overlay p {
    color: var(--blu-cielo);
    font-size: 20px;
    margin-top: 10px;
    font-weight: bold;
}

 @media(max-width: 768px) {
    .banner-overlay h2 {
        font-size: 40px;
    }
    .banner-overlay p {
        font-size: 16px;
    }
}

@media(max-width: 600px) {
    .banner-overlay h2 {
        font-size: 28px;
    }
    .banner-overlay p {
        font-size: 14px;
    }
}

@media(max-width: 420px) {
    #rooms-banner, #restaurant-banner, #recreation-banner, #apartments-banner, #location-banner, #walks-banner, #visit-banner, #parks-banner, #events-banner {
        aspect-ratio: 2 / 1;
        margin: 8px 0;
    }
    .banner-overlay h2{
        font-size: 26px;
    }
    .banner-overlay p {
        font-size: 16px;
    }
}
        

#rooms-banner {
    background-image: url('images/cameracomodino.jpg');
}

#restaurant-banner {
    background-image: url('images/ristorante.jpg');
}

#recreation-banner {
    background-image: url('images/salaricreativa.jpg');
}

#apartments-banner {
    background-image: url('images/appartamenti.jpg');
}

#location-banner {
    background-image: url('images/gabiccemare3.jpg');
}

#walks-banner {
    background-image: url('images/parcosanbartolosentiero.jpg');
}

#visit-banner {
    background-image: url('images/gradara.jpg');
}

#parks-banner {
    background-image: url('images/aquafan2.jpg');
}

#events-banner {
    background-image: url('images/fuochi.jpg');
}

/* BANNER - FINE*/




.link-external {
    display: inline-block;
    margin-top: 15px;
    color: var(--blu-notte);
    font-weight: bold;
    text-decoration: none;
    border-bottom: 2px solid var(--blu-cielo);
    transition: color 0.3s;
}

/* Lingue */
.lang-switcher {
    display: flex;
    gap: 10px;
    margin-left: 20px;
}

.lang-btn {
    text-decoration: none;
    color: var(--blu-notte);
    font-size: 12px;
    font-weight: bold;
    padding: 2px 5px;
    border: 1px solid var(--blu-notte);
    border-radius: 3px;
    transition: all 0.3s;
}

.lang-btn:hover, .lang-btn.active {
    background-color: var(--blu-notte);
    color: white;
}

/* PAGINA LISTINO INIZIO */

#prices-head th.period {
    /* width: 200px; */
    font-size: 18px;
    margin: 2px;
}

#prices-head th.price {
    /* width: 180px; */
    font-size: 16px;
    margin: 2px;
}

#prices-body td.period {
    /* width: 200px; */
    font-size: 18px;
    margin: 2px;
}

#prices-body td.price {
    /* width: 180px; */
    font-size: 18px;
    margin: 2px;
}








.price-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #d1e3f0;
}

.price-table tr {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;

}

.price-table th, .price-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    border-right: 1px solid rgba(0,0,0,0.03);
}

.price {
    display:flex;
    align-items: center;
    color: var(--blu-notte);
    font-weight: bold;
    margin: 10px 0;
}   

.period {
    display:flex;
    align-items: center;
    margin: 10px 0;
    vertical-align: middle;
}

@media(max-width: 768px) {
    #prices-head th.period {
        /* width:  140px; */
        padding: 4px;
        font-size: 10px;
    }

    #prices-head th.price {
        /* width:  160px; */
        padding: 4px;
        font-size: 10px;
    }

    #prices-body td.period {
        /* width:  140px; */
        padding: 4px;
        font-size: 10px;
    }

    #prices-body td.price {
        /* width:  160px; */
        padding: 4px;
        font-size: 10px;
    }
}

@media(max-width: 480px) {
    #prices-head th.period {
        padding: 4px;
        font-size: 10px;
    }

    #prices-head th.price {
        padding: 4px;
        font-size: 10px;
    }

    #prices-body td.period {
        padding: 4px;
        font-size: 10px;
    }

    #prices-body td.price {
        padding: 4px;
        font-size: 10px;
    }
}

.price-table th:last-child, .price-table td:last-child {
    border-right: none;
}

/* Intestazione Colonne con tonalità pastello più cariche */
.price-table th:nth-child(odd) {
    background-color: #bbdefb; /* Blu pastello più scuro */
    color: var(--blu-notte);
}

.price-table th:nth-child(even) {
    background-color: #e1bee7; /* Viola pastello più scuro */
    color: var(--blu-notte);
}

/* Righe con tonalità pastello chiare alternate per colonna */
.price-table td:nth-child(odd) {
    background-color: #e3f2fd; /* Blu pastello chiaro */
}

.price-table td:nth-child(even) {
    background-color: #f3e5f5; /* Viola pastello chiaro */
}

.price-table tr:hover td {
    filter: brightness(0.95);
}


@media print {
    .price-table th:nth-child(odd) {
    background-color: #bbdefb; /* Blu pastello più scuro */
    color: var(--blu-notte);
    }
}

/* PAGINA LISTINO FINE */


#xml-loading-status {
    padding: 20px;
    text-align: center;
    font-style: italic;
    color: #666;
}


/* Pagina Camere */
.btn-back {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--blu-notte);
    text-decoration: none;
    font-weight: bold;
}

@media print {
    .btn-back {
        display: none;
    }
}

#card-360 ul li {
    margin-top: 4px;
    margin-bottom: 14px;
}

#card-360 ul li h3 {
    margin-top: 0px;
    margin-bottom: 0px;
}

.room-card {
    display: flex;
    flex-direction: column;
    flex-basis: 31%;
    background: var(--bianco);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.room-card img {
    width: 100%;
    object-fit: cover;
}

#cameraimgbagno {
    display: flex;
    width: 60%;
    justify-self: center;
    align-self: center;
    margin-top: 8px;
}

.room-info {
    padding: 20px;
}

.room-info h3 {
    color: var(--blu-notte);
    margin-top: 0;
}

.da-visitare-card
{
    margin-bottom: 60px;
}






.services-list {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
}

.services-list li {
    flex-basis: 33%;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.services-list li::before {
    content: '•';
    color: var(--blu-cielo);
    position: absolute;
    left: 0;
    font-size: 24px;
    line-height: 1;
}

@media(max-width: 768px) {
    .room-card {
        flex-basis: 100%;
    }
    .services-list li {
        flex-basis: 50%;
    }
}

.cta-box {
    background: var(--blu-notte);
    color: #fff;
    padding: 20px;
    padding-bottom: 24px;
    padding-top: 4px;
    text-align: center;
    border-radius: 10px;
    margin-top: 20px;
    border: 2px solid var(--blu-cielo);
}

.cta-box h2 {
    color: var(--blu-cielo);
    margin-top: 12px;
    margin-bottom: 4px;
}

@media print {
    .cta-box {
        margin-top: 4px;
        padding-top: 4px;
        padding-bottom: 4px;
    }

    .cta-box h3 {
        font-size: 16px;
        line-height: 20px;
    }

    .cta-box p {
        padding-top: 4px;
        padding-bottom: 4px;
    }
}

.btn-large {
    display: inline-block;
    background: var(--blu-cielo);
    color: var(--blu-notte);
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    font-size: 18px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-large:hover {
    transform: scale(1.05);
    background: var(--bianco);
}

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

/* INIZIO FORM RICHIESTA INFO */
.form-groupinvisibile {
    display: none;
}


/* FINE FORM RICHIESTA INFO */

/* Form Preventivo */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--blu-notte);
}

.form-group input, .form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--blu-cielo);
    border-radius: 5px;
    box-sizing: border-box;
}

.result-box {
    margin-top: 30px;
    padding: 20px;
    background: #f0f8ff;
    border-left: 5px solid var(--blu-notte);
    text-align: center;
}



.disclaimer {
    font-size: 12px;
    font-style: italic;
    color: #666;
}

/* Price Details Grid */
.price-details-grid {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.details-column {
    flex: 1;
    min-width: 300px;
}

.detail-section {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 25px;
    border-top: 4px solid var(--blu-cielo);
}

.detail-section h3 {
    color: var(--blu-notte);
    margin-top: 0;
    text-transform: uppercase;
    font-size: 18px;
    border-bottom: 2px solid #f0f8ff;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.detail-section ul {
    list-style: disc;
    padding: 0;
    margin: 0;
}

.detail-section ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f9f9f9;
    font-size: 15px;
}

.detail-section ul li:last-child {
    border-bottom: none;
}

.detail-section p {
    margin: 0;
    font-size: 15px;
    color: #555;
}

@media(max-width: 700px) {
    .price-details-grid {
        flex-direction: column;
        gap: 0;
    }
}

@media print {
    .price-details-grid {
        margin-top: 8px;
    }

    .detail-section {
        padding: 8px;
        margin-bottom: 8px;
    }

    .detail-section h2 {
        font-size: 16px;
        padding-bottom: 2px;
        margin-top: 2px;
        margin-bottom: 4px;
    }

    .detail-section ul li {
        padding: 2px 0;
    }
}

/* Per visualizzazione dinamica campi richiesta preventivo */
 .AreaPreventivoInvisibile {
    display: none;
}

#preventivo-container {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 31, 63, 0.1);
    margin-top: 20px;
    border-top: 5px solid var(--blu-cielo);
}

#preventivo-container input.data, 
#preventivo-container select {
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #d1e3f0;
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
    font-size: 16px;
    background-color: #f9fcff;
}

#preventivo-container p {
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--blu-notte);
}

#sendpreventivo {
    display: inline-block;
    background: var(--blu-notte);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#sendpreventivo:hover {
    background: var(--blu-cielo);
    color: var(--blu-notte);
    transform: translateY(-2px);
}



/* Footer */
footer {
    background: var(--blu-notte);
    color: var(--bianco);
    text-align: center;
    line-height: 0.6;
    margin-top: 4px;
    border-top: 4px solid var(--blu-cielo);
}

#footer2 {
    line-height: 0.4;
    font-size: smaller;
    padding: 0px 0 10px 0; /* Padding inferiore per evitare sovrapposizione con la bottom-bar */
}

/* Stili per display cellulare */
@media(max-width: 768px) {
    header {
        text-align: center;
    }


    .card {
        flex-basis: 100%;
    }
    .slideshow-container {
        height: 250px;
    }
    .mySlides img {
        height: 250px;
    }
    .hero-overlay-logo {
        font-size: 100px;
    }
}

.btn-stampa:hover { 
    background-color: #005fa3; 
}


@media print {
     .actions { display: none; }  
     .btn-stampa { display: none; } 
     body { padding: 0; background: #fff; } 
     .container { box-shadow: none; border: none; width: 100%; max-width: none; } 
}


/* Icone CSS */
.icon-phone::before { content: "📞"; opacity: 0.8; }
.icon-map::before { content: "📍"; opacity: 0.8; }

.contact-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.contact-grid div {
    flex: 1;
}

.contatti-card {
    background: var(--bianco);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 31, 63, 0.05);
    border-left: 8px solid var(--blu-cielo);
    margin: 30px;
}

.map-container {
    height: 500px;
    border: 1px solid var(--border);
    margin-top: 3rem;
    margin-bottom: 30px;
    background: #eee;
    filter: grayscale(0.2) contrast(1.1); /* Tocco fotografico */
}

@media(max-width: 768px) {
    .contact-grid {
        flex-direction: column;
        gap: 2rem;
    }
}

#container-img-map {
    display: flex;
    align-content: center;
    width: 100%;
}

#container-img-map img {
    display: block;
    width: 100%;
    height: auto;
}


/* RISPOSTA PREVENTIVO - INIZIO */

table {
    width: 100%;
    border-collapse: collapse; 
}

tr {
    display: flex;
    background-color: #f9fcff;
}

td {
    padding: 4px; 
    border-bottom: 1px solid #eee;
}

.descr {
    flex:1;
    color: #555; 
    font-size: 20px; 
}

.cost {
    width: 112px;
    text-align: right; 
    padding-right: 12px;
    padding-left: 4px;
    font-weight: bold; 
    color: #001f3f; 
    font-size: 26px; 
}

.euro {
    width: 20px;
    padding-left: 0px;
    padding-right: 0px;
    text-align: right; 
    font-weight: bold; 
    color: #001f3f; 
    font-size: 26px;
}

.total-row {
    flex: 1;
    font-size: 1.3em;
}

.total-row td {
    border-top: 2px solid #87CEEB;
    border-bottom: none;;
}

.highlight { 
    font-weight: bold;
    color: #001f3f; 
}

.italic {
    font-style: italic;
}

.info-section-preventivo {
    margin-bottom: 16px;
    line-height: 1.6;
    font-size: 24px 
}

.info-section-preventivo p {
     margin: 10px 0;
}

.disclaimer-msg {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

#disclaimerpreventivo {
    margin-top: 30px;
    font-size: 13px;
    color: #888;
    line-height: 1.4;
}

#disclaimerpreventivo a {
    color: var(--blu-cielo);
    text-decoration: none;
    font-weight: bold;
}

.btn {
    display: inline-block;
    background: #001f3f;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    font-size: 24px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    border: none;
}

.btn:hover {
    background: #87CEEB;
    color: #001f3f;
}

.btn-stampa {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #85c1eb;
    color: black;
    margin-left: 40px;
    padding: 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 24px;
}

.btn-stampa:hover {
    background-color: #005fa3;
}


.titolo-con-pulsante {
    display: flex;
    justify-content: start;
    align-items: center;
    flex-wrap: wrap;
}

@media(max-width: 600px) {
    .titolo-con-pulsante h2 {
        font-size: 20px;
    }
    .btn-stampa {
        margin-left: 20px;
    }
}

.titolo-con-pulsante h1 {
    margin-bottom: 0px;
}

@media(max-width: 420px) {
    .titolo-con-pulsante h2 {
        font-size: 18px;
    }
    .titolo-con-pulsante h1 {
        font-size: 24px;
    }
}



.actions {
    margin-top: 40px;
    text-align: center;
}

.footer-msg {
    margin-top: 8px;
    padding: 12px;
    background: #fff9e6;
    border-radius: 8px;
    border-left: 5px solid #ffcc00;
    font-size: 18px;
    font-style: italic; 
}

.footer-msg ul {
    margin-top: 2px;
    margin-bottom: 2px;
}

.preventivorispostacontainer {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,31,63,0.1);
    border-top: 6px solid #87CEEB; 
}

@media print {
    .actions { display: none; }
    .highlight {font-size: 16px;}
    .btn-stampa { display: none; }
    .preventivorispostacontainer { 
        box-shadow: none; 
        border: none; 
        width: 100%; 
        max-width: none; 
    }
}
    
@media(max-width: 600px) {
    .preventivorispostacontainer { padding: 20px; }
    .info-section-preventivo { font-size: 16px; }
    .highlight { font-size: 16px; }
    .cost { width: 68px; font-size: 16px; padding-right: 0px; }
    .descr { font-size: 16px; }
    .euro { font-size: 16px; }
    .total-row { font-size: 1.6em; }
    .footer-msg { font-size: 14px; }
    .disclaimer-msg { font-size: 12px; }
    .btn { padding: 20px 40px; font-size: 20px; width: 100%; margin-left: 0; }
    .btn-stampa {font-size: 20px;}
}

#erroreprev-container {
    color: red;
    font-size: 28px;
}

/* RISPOSTA PREVENTIVO - FINE */


.icon-print {
    width: 40px;
    height: 40px;
}

@media(max-width: 600px) {
    .icon-print {
        width: 28px;
        height: 28px;
    }

    .btn-stampa {
        padding: 6px;;
    }
}



#prevrispostaexplanation .br {
    display: block;
    margin-bottom: 12px;
}



/* Audio Summer Section */
#audio-summer {
    margin: 20px auto;
    max-width: 800px;
    padding: 0 15px;
}

.audio-box {
    background: var(--bianco);
    border: 2px solid var(--blu-cielo);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 25px;
    box-shadow: 0 10px 25px rgba(0, 31, 63, 0.1);
    transition: transform 0.3s;
}

.audio-box:hover {
    transform: translateY(-5px);
}

.audio-icon {
    color: var(--blu-notte);
    background: var(--blu-cielo);
    padding: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: audio-bounce 2s infinite ease-in-out;
}

.audio-text {
    flex: 1;
}

.audio-text h3 {
    margin: 0 0 5px 0;
    color: var(--blu-notte);
}

.audio-text p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.btn-audio {
    background: var(--blu-notte);
    color: var(--bianco);
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-audio:hover {
    background: var(--blu-cielo);
    color: var(--blu-notte);
}

@keyframes audio-bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

@media(max-width: 600px) {
    .audio-box {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
}