/* 
| ============================================
| HOME
| ============================================
*/

/* HEADER */

@media (max-width: 1024px) {
    #bn-home::before {
        background: none;
    }
    #bn-home {
        background-image: url('https://casamarquin.andersonwebdesigner.com.br/wp-content/uploads/2026/06/bn-home-mob.webp') !important;
        background-position: right -45px !important;
        background-repeat: no-repeat;
        background-size: 90% auto !important;
    }
}


/* FORM DE DISPONIBILIDADE */

.form-disponibilidade-home {
    display: none !important;
}
.elementor-element.elementor-element-e7cc53d.elementor-widget.elementor-widget-shortcode {
    width: 100%;
}

/* Container em linha */
.mphb_sc_search-form {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-end !important;
    gap: 12px !important;
}

.mphb_sc_search-form .mphb-required-fields-tip {
    display: none !important;
}

.mphb_sc_search-form input, .mphb_sc_search-form select {
    margin-top: -17px;
}

/* Remove largura total dos parágrafos */
.mphb_sc_search-form p {
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    min-width: 140px !important;
}

/* Campos de texto ocupam mais espaço */
.mphb_sc_search-form .mphb_sc_search-check-in-date,
.mphb_sc_search-form .mphb_sc_search-check-out-date {
    flex: 2 !important;
    min-width: 160px !important;
}

/* Adultos e Crianças menores */
.mphb_sc_search-form .mphb_sc_search-adults,
.mphb_sc_search-form .mphb_sc_search-children {
    flex: 1 !important;
    min-width: 100px !important;
}

/* Oculta o texto de campos obrigatórios */
.mphb_sc_search-form .mphb-required-fields-tip {
    flex: 0 0 100% !important;
    font-size: 0.8rem !important;
}

/* Labels */
.mphb_sc_search-form label {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    margin-bottom: 4px !important;
    color: #FFF !important;
    white-space: nowrap !important;
}

/* Inputs de texto */
.mphb_sc_search-form input[type="text"] {
    width: 100% !important;
    padding: 10px 12px !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    font-size: 0.9rem !important;
    background: #fafafa !important;
    transition: border-color 0.3s ease !important;
}

.mphb_sc_search-form input[type="text"]:focus {
    border-color: #1a73e8 !important;
    outline: none !important;
    background: #fff !important;
}

/* Selects */
.mphb_sc_search-form select {
    width: 100% !important;
    padding: 10px 12px !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    font-size: 0.9rem !important;
    background: #fafafa !important;
    cursor: pointer !important;
}

/* Botão — alinha na base com os campos */
.mphb_sc_search-form .mphb_sc_search-submit-button-wrapper {
    flex: 0 0 auto !important;
    min-width: unset !important;
}

.mphb_sc_search-form .mphb_sc_search-submit-button-wrapper input[type="submit"] {
    padding: 10px 24px !important;
    background-color: #1a73e8 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    transition: background-color 0.3s ease !important;
}

.mphb_sc_search-form .mphb_sc_search-submit-button-wrapper input[type="submit"]:hover {
    background-color: #1557b0 !important;
}

/* Responsivo */
@media (max-width: 768px) {
    .mphb_sc_search-form {
        flex-direction: column !important;
    }

    .mphb_sc_search-form p,
    .mphb_sc_search-form .mphb_sc_search-check-in-date,
    .mphb_sc_search-form .mphb_sc_search-check-out-date {
        flex: 1 0 100% !important;
    }
}

/*  GALERIA DE DESTAQUE */

.slider-manual {
    position: relative;
    z-index: 0;
    width: 100%;
}

/* Wrapper principal — imagem + miniaturas lado a lado */
.slider-body {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: stretch;
}

/* Área da imagem principal */
.slider-track {
    position: relative;
    flex: 1 1 auto;
    height: 576px;
    overflow: hidden;
    border-radius: 20px;
}

/* Slides empilhados */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 0;
    transition: opacity 0.8s ease;
}

.slide img {
    border: 0;
    border-radius: 15px !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Setas */
.slide-prev,
.slide-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    padding: 12px 16px;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    transition: background 0.3s ease;
}

.slide-prev { left: 16px; }
.slide-next { right: 16px; }

.slide-prev:hover,
.slide-next:hover {
    background: rgba(0,0,0,0.8);
}

/* Miniaturas — coluna vertical à direita */
.slide-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 0 0 auto;
    height: 576px;
}

.slide-thumbnails::-webkit-scrollbar {
    display: none;
}

/* Cada miniatura */
.slide-thumb {
    cursor: pointer;
    overflow: hidden;
    border-radius: 6px;
    border: 2px solid transparent;
    transition: border-color 0.3s ease, opacity 0.3s ease;
    opacity: 0.6;
    flex-shrink: 0;
}

.slide-thumb.active {
    border-color: #1a73e8;
    opacity: 1;
}

.slide-thumb:hover {
    opacity: 1;
}

.slide-thumb img {
    width: 120px !important;
    height: 85px !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.3s ease !important;
}

.slide-thumb:hover img {
    transform: scale(1.05);
}

/* Responsivo — miniaturas voltam para baixo no mobile */

@media (max-width: 1024px) {

    .slider-body {
        flex-direction: column;
        padding: 0 1.25rem;
    }

    .slider-track {
        height: 300px;
        border-radius: 12px;
    }

    .slider-track .slide img {
        height: 100%;
    }

    .slide-thumbnails {
        flex-direction: row;
        height: auto;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 4px;
    }

    .slide-thumb {
        flex: 0 0 calc(33.333% - 6px);
    }

    .slide-thumb img {
        width: 100% !important;
        height: 75px !important;
    }
}

/*
 HOME > BENEFÍCIOS
*/

div[data-id="ba4afd8"] { /* Ar-condicionado  */
    display: none;
}

/*
| ========================================================================================
| PÁG: ALOJAMENTO
| ========================================================================================
*/

.single-mphb_room_type .type-mphb_room_type {
    margin: 0 auto;
    max-width: 1140px;
}

.mphb-details-title, .mphb-reservation-form-title,
.mphb-calendar-title,
.mphb-calendar-title {
    display: none;
}
.mphb_room_type.type-mphb_room_type {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-areas:
        "titulo     titulo"
        "imagem     preco"
        "imagem     formulario"
        "galeria    formulario"
        "detalhes   formulario";
    gap: 32px;
    max-width: 1140px;
    margin: 40px auto;
    padding: 0 24px;
}
.mphb-room-type-title {
    grid-area: titulo;
    font-size: 2.1rem;
    margin-bottom: 0;
}

/* Imagem principal */
.mphb-single-room-type-post-thumbnail {
    grid-area: imagem;
}

.mphb-single-room-type-post-thumbnail img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

/* Galeria */
.mphb-single-room-type-gallery-wrapper {
    grid-area: galeria;
}

/* 
Galeria de Miniaturas — MotoPress
*/

/* Container da galeria */
.mphb-single-room-type-gallery-wrapper .gallery {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Cada item */
.mphb-single-room-type-gallery-wrapper .gallery .gallery-item {
    flex: 0 0 calc(20% - 7px) !important;
    margin: 0 !important;
    width: auto !important;
}

/* Container da imagem com overflow para o hover */
.mphb-single-room-type-gallery-wrapper .gallery .gallery-icon {
    overflow: hidden !important;
    border-radius: 8px !important;
    display: block !important;
    width: 100% !important;
    height: 100px !important;
}

/* Link */
.mphb-single-room-type-gallery-wrapper .gallery .gallery-icon a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

/* Imagem — sobrescreve o width/height inline do WordPress */
.mphb-single-room-type-gallery-wrapper .gallery .gallery-icon img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.4s ease !important;
}

/* Hover contido dentro do border-radius */
.mphb-single-room-type-gallery-wrapper .gallery .gallery-icon:hover img {
    transform: scale(1.1) !important;
}

/* Preço */
.mphb-regular-price {
    grid-area: preco;
    font-size: 1.5rem;
    font-weight: bold;
    margin-block-end: 0;
    padding-bottom: 0;
}
.mphb-regular-price strong {
    display: none;
}
.mphb-regular-price .mphb-price {
    font-size: 2.2rem;
}

/* Detalhes */
.mphb-single-room-type-attributes {
    grid-area: detalhes;
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f9f9f9;
    border-radius: 12px;
    padding: 20px;
}

/* Remove link das comodidades */
.mphb-single-room-type-attributes .mphb-attribute-value a {
    color: inherit !important;
    text-decoration: none !important;
    pointer-events: none !important;
    cursor: default !important;
}

/* Parágrafos soltos da descrição — filhos diretos do grid */
.mphb_room_type.type-mphb_room_type > p:not(.mphb-regular-price) {
    grid-column: 1 / 2;
    margin: 0;
}

/* Agrupa todos na mesma área visual */
.mphb_room_type.type-mphb_room_type > p:first-of-type {
    margin-top: 0;
}

/* Calendário */
.mphb-calendar {
    display: none !important;
    grid-area: calendario;
}

/* Formulário */
.mphb-booking-form {
    grid-area: formulario;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    /*position: sticky;*/
    top: 15px;
    align-self: start;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

form.mphb-booking-form,
form#booking-form-92 {
    display: none !important;
}

.mphb-booking-form br {
    display: none;
}
.mphb-booking-form label {
    padding-bottom: 3px;
}

/* 
Formulário de Reserva — MotoPress
= */

/* Container do formulário */
.mphb-booking-form {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px 24px !important;
    align-items: end !important;
}

/* Campos que ocupam largura total */
.mphb-booking-form .mphb-required-fields-tip,
.mphb-booking-form input[type="hidden"],
.mphb-booking-form .mphb-errors-wrapper,
.mphb-booking-form .mphb-reserve-btn-wrapper {
    grid-column: 1 / -1 !important;
}

/* Estilo dos parágrafos/campos */
.mphb-booking-form p {
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Labels */
.mphb-booking-form label {
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    margin-bottom: 6px !important;
    color: #444 !important;
}

/* Inputs de texto */
.mphb-booking-form input[type="text"] {
    width: 100% !important;
    padding: 10px 14px !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    font-size: 0.9rem !important;
    background: #fafafa !important;
    transition: border-color 0.3s ease !important;
}

.mphb-booking-form input[type="text"]:focus {
    border-color: #1a73e8 !important;
    outline: none !important;
    background: #fff !important;
}

/* Selects */
.mphb-booking-form select {
    width: 100% !important;
    padding: 10px 14px !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    font-size: 0.9rem !important;
    background: #fafafa !important;
    appearance: auto !important;
    cursor: pointer !important;
}

/* Botão */
.mphb-booking-form .mphb-reserve-btn {
    width: 100% !important;
    padding: 14px !important;
    background-color: #1a73e8 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
}

.mphb-booking-form .mphb-reserve-btn:hover {
    background-color: #1557b0 !important;
}

/* Responsivo */
@media (max-width: 768px) {
    .mphb-booking-form {
        grid-template-columns: 1fr !important;
    }
}

/* Títulos internos */
.mphb-details-title,
.mphb-calendar-title,
.mphb-reservation-form-title {
    font-size: 1.2rem;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e0e0e0;
}

/* Responsivo */
@media (max-width: 768px) {
    .mphb_room_type.type-mphb_room_type {
        grid-template-columns: 1fr;
        grid-template-areas:
            "titulo"
            "imagem"
            "galeria"
            "preco"
            "detalhes"
            "calendario"
            "formulario";
    }

    .mphb-booking-form {
        position: static;
    }
}



/* Responsivo */
@media (max-width: 768px) {
    
    .mphb-wpforms-wrapper {
        padding: 20px;
    }
/*
    .mphb-wpforms-wrapper .wpforms-one-half,
    .mphb-wpforms-wrapper .wpforms-one-third {
        width: 100% !important;
        margin-left: 0 !important;
    }*/
}

/*
| ========================================================================================
| PÁG: RESULTADO DA PESQUISA
| ========================================================================================
*/
body.page-id-62 main, body.page-id-642 main {
    padding: 3rem 0;
}
body.page-id-62 .page-header,
body.page-id-62 .mphb_sc_search_results-info,
body.page-id-62 .mphb-recommendation-title,
body.page-id-62 .resultado-pesquisa form.mphb-reservation-cart,
body.page-id-62 .resultado-pesquisa .mphb-room-type {
    display: none;
}

.mphb-recommendation {
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    padding: 0 !important;
    background: #fff !important;
}

/* Lista de itens */
.mphb-recommendation .mphb-recommendation-details-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Cada linha da tabela */
.mphb-recommendation .mphb-recommendation-details-list li {
    border-bottom: 1px solid #ddd !important;
    padding: 12px 16px !important;
    margin: 0 !important;
}

/* Item — layout em linha */
.mphb-recommendation .mphb-recommendation-item {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}

/* Subtotal à direita */
.mphb-recommendation .mphb-recommedation-item-subtotal {
    margin-left: auto !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
}

/* Nome da suíte */
.mphb-recommendation .mphb-recommendation-item-link {
    font-weight: 600 !important;
    color: #1a73e8 !important;
    text-decoration: none !important;
}

.mphb-recommendation .mphb-recommendation-item-link:hover {
    text-decoration: underline !important;
}

/* Hóspedes */
.mphb-recommendation .mphb-recommendation-item-guests {
    flex: 0 0 100% !important;
    font-size: 0.82rem !important;
    color: #888 !important;
    margin-top: 4px !important;
}

/* Linha do total */
.mphb-recommendation .mphb-recommendation-total {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 12px 16px !important;
    margin: 0 !important;
    border-bottom: 1px solid #ddd !important;
    background: #f9f9f9 !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
}

/* Botão Reservar */
.mphb-recommendation .mphb-recommendation-reserve-button {
    display: block !important;
    width: calc(100% - 32px) !important;
    margin: 16px !important;
    padding: 12px !important;
    background-color: #1a73e8 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    text-align: center !important;
    transition: background-color 0.3s ease !important;
}

.mphb-recommendation .mphb-recommendation-reserve-button:hover {
    background-color: #1557b0 !important;
}



/* Formulário WPForms na página da suíte */
.mphb-wpforms-wrapper {
    grid-area: formulario;
    padding: 0 28px 28px 28px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,.08);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}


/* Labels */
.mphb-wpforms-wrapper .wpforms-field-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

#wpforms-898-field_9, #wpforms-898-field_10 {
    display: none;
}

/* Campos */
.mphb-wpforms-wrapper input[type="text"],
.mphb-wpforms-wrapper input[type="email"],
.mphb-wpforms-wrapper input[type="tel"],
.mphb-wpforms-wrapper input[type="number"],
.mphb-wpforms-wrapper select,
.mphb-wpforms-wrapper textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    transition: .3s;
}

#wpforms-898-field_10 {
    margin-bottom: 0;
}

/* Focus */
.mphb-wpforms-wrapper input:focus,
.mphb-wpforms-wrapper select:focus,
.mphb-wpforms-wrapper textarea:focus {
    border-color: #004A2E;
    box-shadow: 0 0 0 3px rgba(0,74,46,.12);
}

/* Descrição dos campos */
.mphb-wpforms-wrapper .wpforms-field-description {
    font-size: 13px;
    color: #666;
}

/* Botão */
.mphb-wpforms-wrapper .wpforms-submit {
    width: 100%;
    background: #004A2E !important;
    border: none !important;
    border-radius: 8px;
    color: #fff !important;
    font-size: 18px;
    font-weight: 600;
    padding: 14px 20px;
    transition: .3s;
}

/* Hover */
.mphb-wpforms-wrapper .wpforms-submit:hover {
    background: #00663f !important;
    transform: translateY(-1px);
}

.wpforms-container .wpforms-one-third.wpforms-first {
    width: calc(100% / 3 - 20px) !important;
}