/*
Theme Name: Albatros child
Description: Child Theme Albatros
Author: tendersrl
Author URI: http://www.tendersrl.it
Template: albatross
Version: 0.1
*/


/**********MODIFICHE i23*************/
.front-page-header .front-page-slider-slide .title {
    color: var(--e-global-color-accent);
}

/*
.front-page-header:after {
 
    background-color:var(--e-global-color-primary);
  
}*/

body,
button,
.edit-link .post-edit-link,
input,
select,
optgroup,
textarea {
    line-height: 1.6 !important;
}

.front-page-header {
    min-height: unset !important;
    height: 65vh !important;
}

.front-page-header .front-page-slider-slide .slide-image>* {
    height: 90%;
    width: 90%;
    object-fit: cover;
}

.front-page-header .fp-header-animation-wrapper {
    margin-top: 0;
}

.front-page-header .front-page-slider {
    min-height: unset !important;
}

.front-page-header .front-page-slider-slide .slide-image {
    max-width: 80% !important;
    max-height: 90% !important;
    width: 80% !important;
    height: 90% !important;
}

.front-page-header .front-page-slider-slide {
    padding: 0px 50px 50px;
}

.front-page-header .fp-header-animation-wrapper {
    top: -40px !important;
    max-width: 600px !important;
    max-height: 600px !important;
}

@media (min-width: 2000px) {
    .front-page-header .fp-header-animation-wrapper {
        max-width: 800px !important;
        max-height: 800px !important;
        left: 150px !important;
    }
}

@media (min-width: 2500px) {
    .front-page-header .fp-header-animation-wrapper {
        left: 350px !important;
    }
}

/* Media query verticale + portrait (max-height: 600px) */
@media (max-height: 750px) {
    .front-page-header .fp-header-animation-wrapper {
        top: -40px !important;
        max-width: 450px !important;
        max-height: 450px !important;
    }
}

@media (max-height: 550px) {
    .front-page-header .fp-header-animation-wrapper {
        top: -70px !important;
        max-width: 250px !important;
        max-height: 250px !important;
    }
}

.elementor-nav-menu a {
    justify-content: end;
}

.scroll-top {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 10px 12px;
    border-radius: 6px;
    background-color: rgba(0, 0, 0, 0.3);
    transition: background 0.3s, opacity 0.3s;
    z-index: 1000;
}

button.scroll-top:focus {
    background: none !important;
}

.scroll-top:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.wpcf7 form>* {
    margin: 0 !important;
    line-height: 1 !important;
}

.mphb-attribute-value a {
    pointer-events: none;
    cursor: default;
    color: inherit;
    text-decoration: none;
}

button.button.mphb-button.mphb-confirm-reservation {
    visibility: hidden !important;
}

a.button.mphb-view-details-button {
    visibility: hidden !important;
}

button.cmplz-btn {
    text-transform: none;
}

input.wpcf7-form-control.wpcf7-submit {
    margin-bottom: 20px;
}

a:visited {
    color: #4f5a38;
}

.stratum-testimonial-carousel__container {
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0) !important;
}

.site-main a {
    color: #c99c4a !important;
}

a.elementor-button-link {
    color: #fff !important;
}

span.mphp-accepted-upload-types {
    display: none !important;
}

span.mphb-max-upload-file,
span.mphb-control-description {
    font-size: 15px;
    font-style: italic;
    margin-top: 0;
}

label[for="mphb_room_details-0-service-1213-id"] em {
    display: none;
}

.mphb-room-type-gallery-wrapper {
    margin-bottom: 24px;
}

.mphb-slider .mphb-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.mphb-slider-nav {
    margin-top: 8px;
}

.mphb-slider-nav .mphb-slide-thumb {
    padding: 4px;
}

.mphb-slider-nav .mphb-slide-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.slick-prev:before,
.slick-next:before {
    color: #000 !important;
    font-size: 32px;
    opacity: 1;
}

span.edit-link {
    display: none;
}

.prenota-btn {
    display: inline-block;
    background: #4f5a38;
    color: #fff;
    padding: 12px 20px;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-size: 16px;
    line-height: 1.4;
    transition: background 0.3s ease;
}

.prenota-btn:hover,
.prenota-btn:focus {
    background: #3c452c;
}




/* --- Frecce Slick: sempre visibili e ben posizionate --- */
.single-mphb_room_type .slick-slider {
    position: relative;
}

.single-mphb_room_type .slick-prev,
.single-mphb_room_type .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 9999px;
    background: #f0eee7;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
    transition: background .2s ease, transform .15s ease, opacity .2s ease;
    display: block;
    /* annulla eventuali display:none del tema */
}

.single-mphb_room_type .slick-prev {
    left: 12px;
}

.single-mphb_room_type .slick-next {
    right: 12px;
}

.single-mphb_room_type .slick-prev:hover,
.single-mphb_room_type .slick-next:hover {
    background: #e6e3da;
    transform: translateY(calc(-50% - 1px));
}

/* rimuove le frecce default di slick */
.single-mphb_room_type .slick-prev:before,
.single-mphb_room_type .slick-next:before {
    content: none !important;
}

/* icone SVG */
.single-mphb_room_type .slick-prev::after,
.single-mphb_room_type .slick-next::after {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    margin: 0 auto;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px;
}

.single-mphb_room_type .slick-prev::after {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='%234f5a38' viewBox='0 0 24 24'><path d='M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z'/></svg>");
}

.single-mphb_room_type .slick-next::after {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='%234f5a38' viewBox='0 0 24 24'><path d='M8.59 16.59 10 18l6-6-6-6-1.41 1.41L13.17 12z'/></svg>");
}

.single-mphb_room_type .slick-prev.slick-disabled,
.single-mphb_room_type .slick-next.slick-disabled {
    opacity: .35;
    pointer-events: none;
    display: block !important;
    visibility: visible !important;
}

/* Stato normale delle frecce (anche focus/active) */
.single-mphb_room_type .slick-prev,
.single-mphb_room_type .slick-next,
.single-mphb_room_type .slick-prev:focus,
.single-mphb_room_type .slick-next:focus,
.single-mphb_room_type .slick-prev:active,
.single-mphb_room_type .slick-next:active {
    background: #f0eee7;
    outline: none;
}

.single-mphb_room_type .slick-prev:hover,
.single-mphb_room_type .slick-next:hover {
    background: #e6e3da;
}



/* Container flex a 2 colonne */
.mphb_sc_search_results-wrapper {
    display: flex !important;
    flex-wrap: wrap;
    gap: 32px;
}

/* Card: 2 colonne responsive */
.mphb_sc_search_results-wrapper .type-mphb_room_type,
.mphb_sc_search_results-wrapper .mphb-room-type {
    box-sizing: border-box;
    flex: 0 1 calc(50% - 32px);
    /* 2 per riga meno gap */
    margin: 0;
    float: none !important;
    min-width: 0;
}

/* Full width per carrello/raccomandazioni/form */
.mphb_sc_search_results-wrapper .mphb-reservation-cart,
.mphb_sc_search_results-wrapper .mphb-recommendation,
.mphb_sc_search_results-wrapper .mphb-search-form {
    flex: 0 0 100%;
}

/* Media: 1 colonna */
@media (max-width: 991px) {

    .mphb_sc_search_results-wrapper .type-mphb_room_type,
    .mphb_sc_search_results-wrapper .mphb-room-type {
        flex: 0 1 100%;
    }
}

/* Media contenuti dentro la card */
.mphb_sc_search_results-wrapper .mphb-room-type-images,
.mphb_sc_search_results-wrapper .mphb-room-type-images img,
.mphb_sc_search_results-wrapper .slick-slider {
    max-width: 100%;
    width: 100%;
    height: auto;
}

/* elimina margini verticali legacy */
.mphb_sc_search_results-wrapper .mphb-room-type:not(:first-of-type) {
    margin-top: 0 !important;
}


/* Pagina ricerca prenotazioni */
.elementor-widget-mphbe-search-results .mphb-room-type-title {
    font-size: 34px;
    line-height: 40px;
}

.elementor-widget-mphbe-search-results .mphb-regular-price .mphb-price {
    font-size: 30px;
    line-height: 46px;
    color: #c99c4a;
}

.elementor-widget-mphbe-search-results span.mphb-price-period {
    color: #c99c4a !important;
}

.elementor-widget-mphbe-search-results .mphb-room-type-buttons {
    padding: 25px 60px 0 60px;
    border-radius: 3px;
}

.elementor-widget-mphbe-search-results .mphb_sc_search_results-wrapper .mphb-reserve-room-section {
    margin-bottom: 0;
}

.elementor-widget-mphbe-search-results .mphb-room-type-excerpt {
    display: none;
}

.elementor-widget-mphbe-search-results .mphb-view-details-button-wrapper {
    height: 25px;
}

/* .elementor-widget-mphbe-search-results .mphb-room-type-title {
    pointer-events: none;
    cursor: default;
} */


.elementor-widget-mphbe-search-results .mphb-room-type-title a::after {
    content: " ↗"; 
    font-size: 0.7em;
    opacity: 0.7;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.elementor-widget-mphbe-search-results .mphb-room-type-title a:hover::after {
    opacity: 1;
    transform: translateX(3px);
}

.elementor-widget-mphbe-search-results .mphb-room-type-title a {
    cursor: pointer;
    transition: color 0.2s ease;
}


.elementor-widget-mphbe-search-results .gallery-item a {
    pointer-events: none;
    cursor: default;
}

span.mphb-price-period {
    cursor: unset;
}

.elementor-widget-mphbe-search-results .mphb-room-type-description {
    height: 480px;
    padding: 15px 30px 20px !important;
}

@media (max-width: 1200px) {
    .elementor-widget-mphbe-search-results .mphb-room-type-description {
        height: 520px;
    }
}

@media (max-width: 992px) {
    .elementor-widget-mphbe-search-results .mphb-room-type-description {
        height: 100%;
    }
}




/* Slick slider home */
.mphb_sc_rooms-wrapper .rooms-wrapper.slick-slider {
    position: relative;
}

.mphb_sc_rooms-wrapper .slick-prev,
.mphb_sc_rooms-wrapper .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 9999px;
    background: rgba(0, 0, 0, .45);
    color: #fff !important;
    font-size: 22px !important;
    line-height: 1 !important;
    opacity: 1 !important;
    z-index: 5;
    pointer-events: auto;
    cursor: pointer;
}

.mphb_sc_rooms-wrapper .slick-prev {
    left: 12px;
}

.mphb_sc_rooms-wrapper .slick-next {
    right: 12px;
}

.mphb_sc_rooms-wrapper .slick-prev.slick-disabled,
.mphb_sc_rooms-wrapper .slick-next.slick-disabled {
    opacity: .3;
}

.mphb_sc_rooms-wrapper .slick-dots {
    bottom: -28px;
}

.mphb_sc_rooms-wrapper .slick-dots li button {
    width: 12px;
    height: 12px;
}

.mphb_sc_rooms-wrapper .slick-prev:before {
    content: '';
    display: none;
}

.mphb_sc_rooms-wrapper .slick-next:before {
    content: '';
    display: none;
}

body.home .slick-track li.mphb-room-type-adults-capacity {
    display: none !important;
}

body.home .slick-track li.mphb-room-type-children-capacity {
    display: none !important;
}

.single-room-type-sidebar .mphb-room-type-gallery-wrapper {
    width: 100%;
    margin: 0 0 24px
}

.single-room-type-sidebar .mphb-room-type-gallery-wrapper img {
    display: block;
    max-width: 100%;
    height: auto
}

@media (min-width: 992px) {
    .single-room-type-wrapper {
        column-gap: 0;
    }

    .single-room-type-wrapper .entry-content {
        max-width: 600px;
        flex: 1 1 auto;
        margin-right: 0
    }

    .single-room-type-wrapper .single-room-type-sidebar {
        max-width: 640px;
        flex: 1 1 auto;
        margin-left: auto
    }

    .single-room-type-wrapper .mphb-single-room-type-gallery-wrapper {
        margin-top: 0
    }
}


.single-room-type-wrapper .single-room-type-sidebar {
    margin-top: 0 !important;
}

@media (min-width: 992px) {
    .single-room-type-wrapper {
        flex-wrap: wrap !important;
    }
}

.single-room-type-wrapper .room-type-sidebar-block {
    margin-top: 50px !important;
    width: 100%;
}

@media (max-width: 769px) {

    .comment-navigation .nav-next,
    .posts-navigation .nav-next,
    .post-navigation .nav-next {
        text-align: start;
    }

    .post-navigation-wrapper.room-types-navigation .nav-links>* {
        border-right: 0;
    }
}


.mphb-single-room-type-attributes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mphb-single-room-type-attributes li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
}

@media (max-width: 992px) {
    .mphb-single-room-type-attributes {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 1350px) {
    .single-room-type-wrapper .single-room-type-sidebar {
        margin-left: 0;
    }

    .single-room-type-wrapper .entry-content {
        max-width: 100%;
    }

    .single-room-type-wrapper .entry-content>* {
        max-width: 100%;
    }
}