.aqua-bg {
    background: var(--color-aquamarine, aquamarine) !important;
    color: #fff;
}

.white-bg {
    background: #fff !important;
    color: var(--color-text);
}

.white-bg h1 {
    color: var(--color-link);
}

.white-bg .tour-price {
    color: var(--color-orange);
}

.tours {
    margin: 15px 20px 0;
    background-color: var(--color-aquamarine);
    color: #fff;
}

.tour-container {
    background-color: var(--color-aquamarine);
    display: flex;
    gap: 10px;
    border-bottom: 1px solid #ccc;
    padding: 50px;
}

.tour-title {
    font-size: 40px;
    font-weight: normal;
}

.tour-container img {
    object-fit: cover;
    object-position: center;
    flex-shrink: 0;
    aspect-ratio: 16 / 9;
    width: 400px;
    height: auto;
}

.tour-content {
    display: flex;
    flex-direction: column;
    margin-left: 20px;
}

.tour-text {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}

.tour-text h1 {
    margin: 0;
}

.tour-text p {
    margin: 0;
}

.tour-price {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    margin-top: 5px;
    font-size: 32px;
}

.price-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: large;
    font-weight: bold;
    margin-right: 30px;
    min-width: 200px;
}

.USD {
    font-size: medium;
}

.book-now {
    background-color: var(--color-orange);
    color: #fff;
    font-size: medium;
    border-radius: 15px;
    border: none;
    padding: 10px 40px;
    cursor: pointer;
}

.line {
    padding: 5px;
}

.contact-cards {
    background-color: var(--color-aquamarine);
}

.contact-card {
    color: #fff;
}

.contact-card a {
    color: #fff;
}

.ribbon {
    background-color: #fff;
    margin-bottom: 0;
}

#language-selector {
    background-color: var(--color-aquamarine);
    color: #fff;
    border: 0;
    border-top: 1px solid var(--color-gray);
    border-radius: 0;
}

.adult {
    text-decoration: underline;
}

@media (min-width: 1200px) {
    .adult {
        text-align: center;
    }

    .tour-content {
        margin-top: 20px;
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
    }

    .tour-price {
        margin-top: 0;
        flex-direction: column;
        justify-content: center;
        gap: 20px;
    }
}

@media (max-width: 970px) {
    .tour-container {
        flex-direction: column;
        padding: 30px;
    }

    .tour-container img {
        width: 100%;
        margin-bottom: 15px;
    }

    .tour-content {
        margin-left: 0;
        width: 100%;
    }

    .tour-title {
        font-size: 28px;
        line-height: 1.2;
    }

    .tour-description {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .tour-price {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .price-container {
        margin-right: 0;
    }

    .price {
        font-size: 24px;
    }

    .book-now {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        font-size: 16px;
    }

    .tour-price {
        flex-direction: column;
        align-items: stretch; /* Cambiado de flex-start a stretch */
        gap: 15px;
        width: 100%; /* Asegura que ocupe todo el ancho */
    }

    .price-container {
        margin-right: 0;
        width: 100%; /* Asegura que ocupe todo el ancho */
        text-align: left; /* Alinea el texto a la izquierda */
    }

    .book-now {
        width: 100%;
        max-width: 100%; /* Asegura que no exceda el ancho */
        box-sizing: border-box; /* Incluye padding en el ancho total */
        text-align: center;
        padding: 12px 10px;
        font-size: 16px;
        margin: 0; /* Elimina cualquier margen que pueda causar desbordamiento */
        white-space: normal; /* Permite que el texto se divida en varias líneas si es necesario */
    }
}

@media (max-width: 480px) {
    .tour-title {
        font-size: 24px;
    }

    .price {
        font-size: 22px;
    }
}

@media (max-width: 400px) {
    .book-now {
        font-size: 14px;
        padding: 10px 5px;
    }
}
