/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* General */
body {
    background-color: #FBF4EB !important; 
}
/* Header */
.header-menu a.hfe-menu-item{
	border-radius: 20px;
	border:1px solid #000000; 
}
.header-menu .current-menu-item a.hfe-menu-item{
	border:1px solid #775913; 
}
.header-menu a.hfe-menu-item:hover{
	border:1px solid #775913; 
}
.header-menu a.hfe-menu-item:focus{
	border:1px solid #775913 !important; 
}
.ue-nav-menu-mobile-icon-open {
    background: #F1E8D9;
    border-radius: 100px;
    padding: 5px;
    border: 1px solid black;
}
/* Form */
.wpforms-field-medium {
	border-radius: 0px !important;
	border-top: none !important;
    border-left: none !important;
    border-right: none !important;
	border-bottom:1px solid #3E3022!important;
}
div.wpforms-container-full input {
	padding: 0px !important;
}
div.wpforms-container-full textarea {
	padding: 0px !important;
}
input.wpforms-field-medium::placeholder,
textarea.wpforms-field-medium::placeholder {
    color: #3E3022 !important;
	font-family: "Almarai" !important;
	font-size: 17px !important;
    opacity: 1 !important;
}
div.wpforms-container-full:not(:empty) {
	margin: 0px !important;
}
#wpforms-183-field_1-container {
	padding-top: 0px !important;
}
button#wpforms-submit-183 {
	font-size: 14px !important;
	font-family: "Albert Sans" !important;
	font-weight: 400px !important;
}
.wpforms-container input.wpforms-field-medium{
	max-width: 100% !important;
}
input:focus, textarea:focus {
    outline: none !important;
    outline-width: 0 !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important; 
    -moz-box-shadow: none !important;    
}
.sub-menu .hfe-sub-menu-item:first-of-type,
.sub-menu li:first-child > .hfe-sub-menu-item {
    border-top-left-radius: 20px !important;
    border-top-right-radius: 20px !important;
    border-bottom-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
    overflow: hidden !important;
}
.sub-menu .hfe-sub-menu-item:last-of-type,
.sub-menu li:last-child > .hfe-sub-menu-item {
    border-bottom-left-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
    border-top-left-radius: 0px !important;
    border-top-right-radius: 0px !important;
    overflow: hidden !important;
}
.sub-menu li:not(:first-child):not(:last-child) .hfe-sub-menu-item {
    border-radius: 0px !important;
}
/* Booking */
.mphb_sc_search-adults select{
	font-family: "Almarai", Sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--e-global-color-d7fda15);
    background-color: #C0C2B400;
    border-style: solid;
    border-width: 0px 0px 1px 0px;
    border-color: var(--e-global-color-d7fda15);
    border-radius: 0px 0px 0px 0px;
}
.mphb_sc_search-adults:focus, .mphb_sc_search-adults select:focus {
    outline: none !important;
}
.mphb_sc_search-children select{
	    font-family: "Almarai", Sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--e-global-color-d7fda15);
    background-color: #C0C2B400;
    border-style: solid;
    border-width: 0px 0px 1px 0px;
    border-color: var(--e-global-color-d7fda15);
    border-radius: 0px 0px 0px 0px;
}
.mphb_sc_search-children:focus, .mphb_sc_search-children select:focus {
    outline: none !important;
}
/* ===== ONLY affects sections with .all-rooms ===== */
.all-rooms {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
    gap: 30px;
    align-items: stretch;
}
/* First card */
.all-rooms .mphb-room-type:nth-child(1) {
    background-color: var(--e-global-color-930c7be);
}
/* Third card */
.all-rooms .mphb-room-type:nth-child(3) {
    background-color: var(--e-global-color-15c588f);
}
/* Room cards */
/* ===============================
   GRID FIXED VERSION
================================ */
.filtered-rooms .mphb-room-type {
    display: grid;
    grid-template-columns: 40% 60%;
    column-gap: 40px;
    align-items: end; 
	border: 1px solid rgba(62, 48, 34, 1);
        border-radius: 20px;
        background-color: rgba(251, 244, 235, 1);
        padding: 12px;
}
/* Make image span entire height */
.filtered-rooms .mphb-loop-room-thumbnail {
    grid-column: 1;
    grid-row: 1 / -5; 
    margin: 0;
}
.filtered-rooms .mphb-loop-room-thumbnail img {
    width: 100%;
    min-height: 250px;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

/* Push ALL other elements to column 2 */
.filtered-rooms .mphb-room-type > *:not(.mphb-loop-room-thumbnail) {
    grid-column: 2;
}

/* Fix title spacing */
.filtered-rooms h2.mphb-room-type-title {
    margin: 0 0 12px 0;
    line-height: 1.1;
}
.filtered-rooms .mphb-room-type-title {
    font-size: 28px;
    color: rgba(62, 48, 34, 1);
    line-height: 0.9;
    font-family: 'Amiri', serif;
    font-weight: 400;
}

/* Disable title link */
.filtered-rooms .mphb-room-type-title a {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    color: inherit;
}

/* Remove Dettagli */
.filtered-rooms .mphb-room-type-details-title {
    display: none;
}

/* Remove bullets */
.filtered-rooms .mphb-loop-room-type-attributes {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
}
.filtered-rooms .mphb-loop-room-type-attributes {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    color: rgba(62, 48, 34, 1);
    line-height: 1.3;
    font-size: 16px;
    letter-spacing: -0.04em;
    font-family: 'Amiri', serif;
    font-weight: 400;
}
.filtered-rooms .mphb-room-type-facilities a {
    pointer-events: none;
    text-decoration: underline;
    color: inherit;
}
.filtered-rooms li.mphb-room-type-facilities {
    margin-right: 40px;
}

/* Clean spacing */
.filtered-rooms .mphb-regular-price,
.filtered-rooms .mphb-reserve-room-section {
    margin-bottom: 18px;
}

/* Disable links */
.filtered-rooms .mphb-room-type-title a,
.filtered-rooms .mphb-loop-room-thumbnail a {
    pointer-events: none;
    text-decoration: none;
    color: inherit;
}

/* ===============================
   MOBILE & TABLET ONLY
================================ */
@media (max-width: 768px) {
    .filtered-rooms .mphb-room-type {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 12px;
        border: 1px solid rgba(62, 48, 34, 1);
        border-radius: 20px;
        background-color: rgba(251, 244, 235, 1);
        padding: 12px;
    }

    /* Image spans full width on top */
    .filtered-rooms .mphb-loop-room-thumbnail {
        grid-column: 1;
        grid-row: auto;
    }

    .filtered-rooms .mphb-loop-room-thumbnail img {
        width: 100%;
        height: auto;
        max-height: 280px;
        object-fit: cover;
        border-radius: 20px;
    }

    /* Stack all other elements vertically */
    .filtered-rooms .mphb-room-type > *:not(.mphb-loop-room-thumbnail) {
        grid-column: 1;
        grid-row: auto;
    }

    /* Font and spacing adjustments for mobile card */
    .filtered-rooms h2.mphb-room-type-title {
        font-size: 28px;
        line-height: 1.1;
        font-family: 'Amiri', serif;
        font-weight: 400;
        color: rgba(62, 48, 34, 1);
        text-align: left;
        margin-bottom: 8px;
    }

    .filtered-rooms .mphb-loop-room-type-attributes,
    .filtered-rooms .mphb-regular-price {
        color: rgba(62, 48, 34, 1);
        line-height: 1.3;
        letter-spacing: -0.04em;
        font-size: 16px;
        font-family: 'Amiri', serif;
        font-weight: 400;
        margin-bottom: 12px;
    }

    .filtered-rooms .mphb-reserve-room-section .button {
        display: block;
        width: 100%;
        font-family: 'Amiri', serif;
        font-weight: 400;
        margin-top: 8px;
    }
}

.mphb-recommendation-details-list li{
	list-style: none;
}

/* Price */
.filtered-rooms .mphb-regular-price {
    margin-bottom: 20px;
    width: 100%;
    text-align: left;
}

/* Buttons */
.filtered-rooms .mphb-reserve-room-section {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    width: 100%;
}
/* Disable link functionality */
.all-rooms .mphb-room-type-title a {
    pointer-events: none;  
    cursor: default;       
    text-decoration: none;  
    color: inherit;         
	font-size: 26px;
    text-align: left;
	letter-spacing: -0.04em;
	font-family: 'Amiri';
    font-weight: 400;
    font-style: normal;
}

/* Remove hover effects */
/* Disable thumbnail link */
.all-rooms .post-thumbnail a,
.all-rooms .mphb-loop-room-thumbnail a {
    pointer-events: none;   /* disable click */
    cursor: default;        /* normal cursor */
    text-decoration: none;
}

/* Remove hover effects */
.all-rooms .post-thumbnail a img{
	border-radius: 20px;
}
.all-rooms .post-thumbnail a:hover,
.all-rooms .mphb-loop-room-thumbnail a:hover {
    text-decoration: none;
}
.all-rooms .mphb-regular-price {
	line-height: 1;
    letter-spacing: -0.03em;
    font-size: 12px;
    text-align: left;
}
.all-rooms .mphb-room-type-title a:hover {
    text-decoration: none;
    color: inherit;
}
.all-rooms .mphb-loop-room-type-attributes {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}
.all-rooms .mphb-room-type {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border: 1px solid #eee;
    background: #fff;
    height: 100%;
	margin-top: 0px!important;
	border-color: rgba(62, 48, 34, 1);
    border-width: 1px;
    background-color: rgba(0, 0, 0, 0);
    border-style: solid;
	border-radius:20px;
}

/* Make images equal height */
.all-rooms .mphb-room-type-images img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Push button to bottom */
.all-rooms .mphb-to-book-btn-wrapper {
    margin-top: auto;
}

/* Checkout Page */
.checkout-page-class .mphb-room-type-title a{
	pointer-events: none;   /* disable click */
    cursor: default;        /* normal cursor */
    text-decoration: none;
}
.checkout-page-class .mphb-price-breakdown-booking a{
	pointer-events: none;   
    cursor: default;        
    text-decoration: none;
}
.mphb-booking-details-section a{
	pointer-events: none;   
    cursor: default;       
    text-decoration: none;
}
.mphb-recommendation-item a{
	pointer-events: none;   
    cursor: default;       
    text-decoration: none;
}


/* -------- Tablet -------- */
@media (max-width: 1024px) {
    .all-rooms {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* -------- Mobile -------- */
@media (max-width: 767px) {
    .all-rooms {
        grid-template-columns: 1fr; /* stacked */
    }
}
