body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;

}
.roteiro-dia-header {
    font-weight: bold;
}
/* Estilos dos Accordions Verdes */
.page-main {
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 1200px;

}

.accordion-verde {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 15px;
    width: 100%;
}

.accordion-item-verde {
        background: #4e6550;
        color: #fff;
        border-radius: 20px;
        margin-top: -30px;
}

.accordion-header-verde {
        background: linear-gradient(135deg, #2d4a30 0%, #3d5a40 100%);
        border: none;
        border-radius: 15px;
        width: 100%;
        text-align: left;
        padding: 20px 25px;
        font-size: 16px;
        font-weight: 600;
        color: white;
        cursor: pointer;
        outline: none;
        transition: all 0.3s ease;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: start;
}

.accordion-header-verde:hover {
    background: #e2e2e2;
    border: 1px solid #cdcdcd;
    color: #555555;
}

.accordion-header-verde:active {
    background: #e2e2e2;
    border: 1px solid #cdcdcd;
    color: #555555;
}

.accordion-arrow {
    font-size: 28px;
    color: #FF8C00;
    margin-right: 15px;
    font-weight: bold;
    flex-shrink: 0;
}

.accordion-item-verde.active .accordion-arrow::before {
    content: '-';
}

.accordion-arrow::before {
    content: '+';
}

.accordion-content-verde {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    background-color: #4e6550;
    color: #fff;
    font-size: 1.6rem;
    line-height: 1.6;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-family: 'Inter',
    'Helvetica Neue',
    Helvetica,
    Arial,
    sans-serif;
}

.accordion-item-verde.active .accordion-content-verde {
    max-height: 500px;
    padding: 20px;
    border-radius: 8px;
}

/* Estilos do Card de Roteiro */
.roteiro-card {
    background-color: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .15);
    border: 1px solid #e0e0e0;
    width: 100%;
}

.additional-section-title {
    background: #ff8c00 !important;
    border-radius: 16px 16px 0 0 !important;
    margin: -20px -20px 20px !important;
    padding: 15px !important;
    color: #fff !important;
    text-align: left !important;
}
.roteiro-dia-block {
    border-bottom: 1px solid #999;
    margin: 10px 0;
    padding: 10px 0;
}

/* Remove linhas/bordas extras do roteiro */
.roteiro-content {
    border: none;
}

/* Estilo do título "Roteiro" que vem dentro do conteúdo do Page Builder */
.roteiro-content h3,
.roteiro-content .additional-section-title {
    background: #ff8c00 !important;
    border-radius: 16px 16px 0 0 !important;
    margin: -20px -20px 20px !important;
    padding: 15px !important;
    color: #fff !important;
    text-align: left !important;
    display: block !important;
    Font-size: 24px !important;
    font-weight: bold !important;
}

.roteiro-content .roteiro-dia {
    margin: 0 !important;
    padding: 0 !important;
}

.roteiro-content hr,
.roteiro-content .roteiro-dia hr {
    display: none !important;
}

.roteiro-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

.roteiro-table thead {
    background-color: #ff8c00;
    color: #fff;
}

.roteiro-table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
}

.roteiro-table td {
    padding: 12px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 0.9rem;
    color: #353535;
}

.roteiro-table tbody tr:last-child td {
    border-bottom: none;
}

.btn-roteiro {
    width: 100%;
    padding: 12px;
    background-color: #ff8c00;
    border: none;
    border-radius: 99px;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-roteiro:hover {
    background-color: #dc6117;
}

/* Estilos para Ver Mais Roteiro */
.roteiro-hidden {
    display: none !important;
}

.roteiro-dia-hidden {
    display: none !important;
}

.btn-ver-mais-roteiro {
    padding: 8px 19px;
    background-color: #ff8c00;
    border: 2px solid #ffffff;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    border-radius: 99px;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s;
    white-space: nowrap;
    text-align: center;
    display: block;
    margin: 0 auto;
}

.btn-ver-mais-roteiro:hover {
    background-color: #dc6117;
      color: #FFFFFF;
}

.seta-roteiro {
    display: none;
}

#maincontent {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: #eaeaea;
    margin: 0;
    padding: 0;
}

.container-pacote {
    display: flex;
    flex-direction: column;
    width: 80%;
    margin: 0 auto;
    align-self: center;
}

.imagem-pacote-topo {
    display: flex;
    position: relative;
    left: 0;
    width: 100vw;
    height: 500px;
    justify-self: start;
    align-items: center;
    min-height: 500px;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.imagem-pacote-topo img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.wrap-header-pacote {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 80%;
    border-bottom: 2px solid #fff;
    height: 120px;

}

.header-pacote {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: auto;
    background-color: #d8d8d8;
    margin: 0;
}

.wrap-titulo-pacote {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 70%;
}

.data-pacote {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-left: 20px;
    width: 30%;

}

.icone-pacote {
    display: flex;
    justify-content: center;
    align-items: center;


}

.icone-pacote svg {
    display: flex;
    width: 80px;
    height: 80px;
}

.titulo-pacote {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: baseline;
    width: 100%;
    column-gap: 10px;

}

.titulo-pacote .regiao-pacote {
    font-size: 1.2rem;
    font-weight: 600;
    color: #666;
}

.operacao-pacote {
    margin-top: 5px;
    margin-bottom: 10px;
}

.operacao-pacote p {
    font-size: 1rem;
    font-weight: 600;
    color: #353535;
    margin: 0;
}

.titulo-pacote h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #353535;
    margin: 0;
}

.subtitulo-pacote p {
    font-size: 1rem;
    font-weight: 800;
    color: #353535;
    margin: 0;
}

.subtitulo-pacote bold {
    font-weight: 700;
    color: #ff8c00;
}

.header-preco {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 120px;
}

.wrap-preco-pacote {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    width: 80%;
}

.valor-pacote {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    width: 70%;
}

.valor-pacote span {
    font-size: 2.5rem;
    font-weight: 700;
    color: #353535;
}

.datas-disponiveis-pacote {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30%;
}

.datas-disponiveis-pacote span {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 8px;
    color: #353535;

}

a.btn2 {
    padding: 8px 20px;
    background-color: #3d573f;
    ;
    border: 2px solid #ffffff;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    border-radius: 99px;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s;
    white-space: nowrap;
    /* Evita que o texto do botão quebre */
}

a:hover.btn2 {
    background-color: #264129;
}

.descricao-pacote {
    margin-top: 40px;
}

.descricao-pacote h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #353535;
    margin-bottom: 15px;
}

.descricao-pacote p {
    font-size: 2.1rem;
    line-height: 1.8;
    color: #555;
}

.descricao-pacote ul,
.descricao-pacote ol {
    margin: 15px 0;
    padding-left: 40px;
    font-size: 2.1rem;
    line-height: 1.8;
    color: #555;
}

.descricao-pacote ul li {
    list-style-type: disc;
    margin-bottom: 8px;
}

.descricao-pacote ol li {
    list-style-type: decimal;
    margin-bottom: 8px;
}

.detalhes-pacote {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
    width: 100%;
    margin-top: 20px;
    gap: 50px;
}

.operacao-detalhes {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    width: 60%;
    margin-top: 37px;
}

.operacao-detalhes h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #353535;
    margin-bottom: 48px;
}

.operacao-roteiro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    width: 40%;
    margin-top: 97px;
}

.operacao-roteiro > h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #353535;
    margin-bottom: 10px;
    display: none;
}

.galeria-pacote {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    width: 100%;
    margin-top: 30px;
    gap: 20px;

}

.galeria-pacote h2 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 3.5rem;
    color: #353535;
    margin: 0;
}

.galeria-pacote h2 span {
    color: #353535;
    font-size: 12rem;
}

.imagem-topo-galeria {
    display: flex;
    width: 100vw;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 80px;
}

.cta-reserve-agora {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100px;
    background-color: #353535;
    margin-top: 80px;
    position: fixed;
    bottom: 0;
    left: 0;
}


.wrap-cta-reserve {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    width: 80vw;
}

.texto-cta-reserve,
.preco-cta-reserve,
.botao-cta-reserve {
    width: 33.33%;
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
    color: #fff;
}

.botao-cta-reserve {
    align-items: end;
    position: relative;
}

.preco-cta-reserve {
    align-items: center;
}

.texto-cta-reserve h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}

.texto-cta-reserve p {
    font-size: 1.4rem;
    font-weight: 400;
    margin: 0;
}

.preco-cta-reserve p {
    font-size: 0.8rem;
    font-weight: 300;
    margin: 0;
}

.preco-cta-reserve span {
    font-size: 2.4rem;
    font-weight: 700;
    margin: 0;
}

.galeria-imagens {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
    width: 100%;
    margin: 30px 0 150px;
}

a.btn1,
button.btn1 {
    padding: 10px 20px;
    background-color: #ff8c00;
    border: 2px solid #ffffff;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    border-radius: 99px;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s;
    white-space: nowrap;
    margin-right: 10px;
    /* Evita que o texto do botão quebre */
}

a:hover.btn1,
button:hover.btn1 {
    background-color: #dc6117;
}

.error-reserva-msg {
    background: #f8d7da;
    color: #721c24;
    padding: 8px 12px;
    margin-bottom: 8px;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    font-size: 12px;
    text-align: center;
    position: absolute;
    top: -40px;
    right: 0;
    white-space: nowrap;
    z-index: 10000;
}

/* Esconde apenas o conteúdo visual do container de pagamento */
.payment-container {
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

.payment-container>.payment-info,
.payment-container>.calendar-button {
    display: none !important;
}

/* Garante que o modal e overlay sejam visíveis quando ativados */
#calendarOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999;
}

#customDatepickerModal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    z-index: 100000;
}

.datepicker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.close-datepicker {
    cursor: pointer;
    font-size: 28px;
    color: #666;
    line-height: 1;
}

.close-datepicker:hover {
    color: #333;
}

#confirmDateModal {
    margin-top: 20px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

#confirmDateModal h3 {
    margin-top: 0;
    color: #353535;
}

#confirmDateBtn {
    width: 100%;
    padding: 12px;
    background-color: #ff8c00;
    border: none;
    border-radius: 99px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 15px;
}

#confirmDateBtn:hover {
    background-color: #dc6117;
}

/* Estilos do calendário jQuery UI */
.ui-datepicker {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    width: 100%;
}

.ui-datepicker-header {
    background: #3d573f;
    color: #fff;
    padding: 10px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.ui-datepicker-title {
    font-weight: 600;
    font-size: 14px;
}

.ui-datepicker-prev,
.ui-datepicker-next {
    cursor: pointer;
    padding: 5px;
}

.ui-datepicker-calendar {
    width: 100%;
}

.ui-datepicker-calendar th {
    padding: 8px;
    text-align: center;
    font-weight: 600;
    color: #666;
}

.ui-datepicker-calendar td {
    padding: 4px;
    text-align: center;
}

.ui-datepicker-calendar td a {
    display: block;
    padding: 8px;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
}

.ui-datepicker-calendar td a:hover {
    background: #f0f0f0;
}

.ui-datepicker-range-available a {
    background: #fd7e14 !important;
    color: #fff !important;
    border-radius: 10% !important;
    font-weight: 600;
}

.ui-datepicker-unselectable .ui-state-disabled {
    opacity: 0.3;
}

/* Reset completo para remover estilos do Magento */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    overflow-x: hidden !important;
}

.page-wrapper,
.page-main,
.columns {
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
    width: 100% !important;
}

/* Esconde elementos indesejados do Magento */
.additional-attributes-wrapper,
.table-wrapper,
.product-attribute-specs-table,
.product.info.detailed,
.product.data.items,
.data.item,
#product-attribute-specs-table,
.product-info-main .product.attibutes,
.additional-attributes,
.media-gallery-image-column,
img[data-role="thumbnail"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Centraliza o conteúdo mas permite página full-width */
#maincontent {
    width: 100% !important;
    margin: 0 auto !important;
}

.container-pacote {
    margin: 0 auto !important;
}

.galeria-imagem-item {
    width: 100%;
    height: 225px;
    object-fit: cover !important;
    display: block !important;
    cursor: pointer !important;
    transition: transform 0.2s ease, opacity 0.2s ease !important;
    border-radius: 8px;
}

.galeria-imagem-item:hover {
    transform: scale(1.05) !important;
    opacity: 0.9 !important;
}
    .cta-reserve-agora {
        height: auto;
        padding: 20px 0;
        width: 100vw;
        left: 0;
        position: fixed;
        z-index: 9999;
    }

@media screen and (max-width: 768px) {
    .wrap-header-pacote {
        width: 90%;
        height: auto;
        flex-direction: column;
        row-gap: 10px;
    }

    .data-pacote {
        width: 100%;
        justify-content: center;
        margin-left: 0;
    }

    .wrap-titulo-pacote {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .titulo-pacote {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .header-preco {
        height: auto;
        padding: 20px 0;
    }

    .wrap-preco-pacote {
        width: 90%;
        flex-direction: column;
        row-gap: 10px;
        align-items: center;
    }

    .valor-pacote,
    .datas-disponiveis-pacote {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .container-pacote {
        width: 90%;
    }

    .detalhes-pacote {
        flex-direction: column;
        width: 100%;
        margin-left: 0;
        gap: 20px;
    }

    .operacao-detalhes,
    .operacao-roteiro {
        width: 100%;
    }

    .galeria-pacote {
        width: 100%;
    }

    .galeria-imagens {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        width: 100%;
    }

    .galeria-pacote h2 {
        font-size: 2.5rem;
        line-height: 2.5rem;
    }

    .imagem-topo-galeria {
        height: 150px;
        width: 100vw;
    }

    .cta-reserve-agora {
        height: auto;
        padding: 20px 0;
        width: 100vw;
        left: 0;
        z-index: 9999;
    }

    .wrap-cta-reserve {
        width: 95%;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        align-items: center;
        justify-content: space-between;
    }

    .texto-cta-reserve {
        width: 100%;
        align-items: flex-start;
        text-align: left;
    }

    .preco-cta-reserve {
        width: 60%;
        align-items: flex-start;
        text-align: left;
    }

    .botao-cta-reserve {
        width: 35%;
        align-items: center;
        justify-content: center;
    }

    .galeria-imagem-item {
        width: 100% !important;
        max-width: 100% !important;
        height: 180px !important;
        min-height: 180px !important;
        object-fit: cover !important;
        border-radius: 8px !important;
    }
}

/* Modal da Galeria */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.gallery-modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 20px;
}

.gallery-modal-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#galleryModalImage {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.gallery-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 100010;
}

.gallery-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.gallery-modal-prev,
.gallery-modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 100010;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.gallery-modal-prev:hover,
.gallery-modal-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.gallery-modal-prev {
    left: 30px;
}

.gallery-modal-next {
    right: 30px;
}

.gallery-modal-thumbnails {
    display: flex;
    gap: 8px;
    margin-top: 20px;
    overflow-x: auto;
    justify-content: center;
    padding: 10px;
    max-width: 90vw;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.gallery-modal-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.gallery-modal-thumbnails::-webkit-scrollbar-track {
    background: transparent;
}

.gallery-modal-thumbnails::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.gallery-modal-thumbnails img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.5;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.gallery-modal-thumbnails img.active {
    opacity: 1;
    border-color: #ff8c00;
    transform: scale(1.1);
}

.gallery-modal-thumbnails img:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

@media screen and (max-width: 768px) {
    .gallery-modal-prev {
        left: 10px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .gallery-modal-next {
        right: 10px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .gallery-lightbox-close {
        width: 45px;
        height: 45px;
        top: 15px;
        right: 15px;
    }

    #galleryModalImage {
        max-width: 95vw;
        max-height: 80vh;
    }
    .bottom-menu-bar {
        display: none;
    }
}
