﻿.tour-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    padding: 4rem 0;
}

.tour-info .tour-description {
    font-size: 1.8rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.booking-box {
    background-color: #fdf2e9;
    padding: 3.2rem;
    border-radius: 1.2rem;
    box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.05);
}

.calendar-box {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.calendar-header {
    font-size: 2rem;
    font-weight: 600;
    color: #118899;
    margin-bottom: 1rem;
}

.calendar {
    display: grid;
    gap: 0.8rem;
}

.calendar-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.4rem;
}

.calendar-weekdays span {
    font-weight: 500;
    font-size: 1.4rem;
    color: #555;
}

.day, .empty {
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 0.6rem;
}

    .day:hover {
        background-color: #b9e6ec;
        cursor: pointer;
    }

    .day.active {
        background-color: #15aabf;
        color: #fff;
        font-weight: bold;
    }

      .plan-slider {
            margin-bottom: 2rem;

        }

        .plan-slider img.slide {
            display: none;
            width: 100%;
            height: auto;
            opacity: 0;
            transition: opacity 1s ease-in-out;
            border-radius: 9px 9px 9px 9px;
        }

        .plan-slider img.slide.active {
            display: block;
            opacity: 1;
        }


.plan-price {
    font-size:6.2rem; /* large font for the price number */
    font-weight: 600;
    color: #333;
    margin-bottom: 1.6rem;
}

    .plan-price .prefix,
    .plan-price .suffix {
        font-size: 3rem;
        font-weight: 500;
        margin-right: 0.8rem;
    }
.booking-box p {
    font-size: 1.6rem;
    font-weight: 500;
    color: #444;
    margin-bottom: 1.6rem;
   
  
}

.orari-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    padding: 0;
    list-style: none;
    margin-top: 1rem;
}

    .orari-list li {
        background-color: #e6f7ff;
        border: 1px solid #0099cc;
        border-radius: 2rem;
        padding: 0.5rem 1.2rem;
        cursor: pointer;
        transition: all 0.2s ease-in-out;
        font-size: 1.4rem;
        font-weight: 500;
    }

        .orari-list li:hover {
            background-color: #cceeff;
        }

        .orari-list li.selected {
            background-color: #0099cc;
            color: white;
            border-color: #0077aa;
        }
.booking-error {
    font-size: 0.9rem;
}

#bookingOptions table {
    width: 100%;
    margin-top: 1rem;
    border-collapse: collapse;
}

#bookingOptions td {
    padding: 0.6rem 0.4rem;
    vertical-align: middle;
    font-size: 1.4rem;
}

.qty-input {
    width: 4.5rem;
    text-align: center;
    padding: 0.2rem;
    font-size: 1.4rem;
}
.price-minimo {
    font-size: 1.4rem;
    margin-top: 1rem;
    font-weight: 500;
    color: #333;
}

.euro {
    font-weight: 600;
    color: #222;
}

.iva-text {
    font-size: 1.2rem;
    color: #666;
    margin-left: 0.3rem;
}

#bookingTotal {
    margin-top: 1.4rem;
    font-size: 1.6rem;
    font-weight: 500;
}

.booking-error {
    font-size: 1.4rem;
    color: #c0392b;
    font-weight: 600;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #333;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    font-size: 1.6rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 9999;
}

    .toast.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .toast.success {
        background-color: #2ecc71;
    }

    .toast.error {
        background-color: #e74c3c;
    }

    .toast.hidden {
        display: none;
    }
.hidden {
    display: none;
}
.tour-price {
    text-align: center;
    margin-bottom: 1rem;
}

.price-final {
    font-weight: bold;
    font-size: 4.8rem;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.5rem;
    color: #222; /* default nero/grigio scuro */
}

    .price-final.red {
        color: red;
    }

.label-now {
    font-weight: 600;
    font-size: 2.0rem;
    margin-right:0.6rem;
}

.price-original {
    color: #999;
    font-size: 2rem;
    text-decoration: line-through;
    margin-top: 0.3rem;
}

.label-from {
    margin-right: 0.6rem;
    font-size: 1.4rem;
}

.currency {
    margin-left: 0.2rem;
}

.prezzo-note {
    font-size: 0.95rem;
    color: #666;
    margin-top: 0.5rem;
}
.promo-label {
    display: inline-block;
    background-color: #ffe564;
    color: #000;
    font-weight: bold;
    font-size: 1.3rem;
    margin-top: 0.5rem;
    padding: 0.2rem 0.5rem;
    border-radius: 0.4rem;
}

.acapo {
    display: block;
    margin-top: 0.5rem;
    font-size: 1.2rem;
    color: #555;
}

.centered-text {
    text-align: center;
}
/* Input field for codice sconto */
.input-sconto {
    width: 100%;
    max-width: 300px;
    padding: 0.8rem 1rem;
    font-size: 1.6rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-top: 0.5rem;
    margin-bottom: 0.8rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

    .input-sconto:focus {
        border-color: #ff8000;
        box-shadow: 0 0 5px rgba(255, 128, 0, 0.4);
        outline: none;
    }

/* Optional spacing between input and button */
#btnApplicaCodice {
    display: inline-block;
    margin-top: 0.4rem;
    margin-left: 0.5rem;
    font-size: 1.4rem;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    border: 1px solid #ff8000;
    background-color: transparent;
    color: #ff8000;
    cursor: pointer;
    transition: all 0.2s;
}

    #btnApplicaCodice:hover {
        background-color: #ff8000;
        color: #fff;
    }
.quandoVale {
    display: inline-block;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color:brown;
}

@media (max-width: 48em) {
    .tour-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
    }

    .booking-box {
        padding: 2rem 1.5rem;
    }

    .price-final {
        font-size: 3.2rem;
    }

    .plan-price {
        font-size: 4rem;
    }

        .plan-price .prefix,
        .plan-price .suffix {
            font-size: 2rem;
        }
}
