/*
Theme Name: LA BRIGA
Author: Apriti Sesamo Studio
Author URI: https://apritisesamo.studio/
Description: Custom Theme For LA BRIGA
Version: 0.1
*/

html {
    scroll-behavior: smooth;
}

/* Body Background Textures */
body {
    background-color: #fffbeb; /* amber-50 */
    background-image: url('images/bg3.png');
    background-repeat: repeat;
}

html.dark body {
    background-color: #1c1917; /* stone-900 */
    background-image: url('images/bg5.png');
    background-repeat: repeat;
}

/* Starry night header background for dark mode */
#headerNav {
    background-color: rgba(254, 252, 232, 0.9); /* amber-50/90 */
    background-image: none;
}

html.dark #headerNav {
    background-color: rgba(28, 25, 23, 0.85); /* stone-900/85 */
    background-image: url('images/stars3.gif');
    background-repeat: repeat;
    background-size: 50%;
    background-blend-mode: color-dodge; /* Black becomes transparent, white/colors show */
}



.swiper-button-next,
.swiper-button-prev {
    background-image: none !important;
    width: 120px !important;
    height: 62px !important;

}

.swiper-button-next::after,
.swiper-button-prev::after {
    content: '' !important;
    display: none !important;
}

.swiper-button-next {
    background-image: url('images/arrow_right.png') !important;
    background-size: 50% !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.swiper-button-prev {
    background-image: url('images/arrow_left.png') !important;
    background-size: 50% !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

/* Zoom animation for Swiper slides */
.swiper-slide-active img {
    animation: zoomIn 10s ease-out forwards;
}

@keyframes zoomIn {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.03);
    }
}

/* Reset animation when slide changes */
.swiper-slide-active img{
    animation: zoomIn 10s ease-out forwards;
}

/* Nascondi le frecce su mobile */
@media (max-width: 768px) {
    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
}

/* Style specific menu item by ID */
#menu-item-248 a {
    font-family: "tt-commons-pro", sans-serif;
    font-weight: 600;
    font-style: normal;
}



.mphb-login-form-wrap   {
    margin-bottom: 2rem !important;
    font-family: monospace !important;
    color: rgba(0, 255, 0, 1) !important;
    opacity: 0.5 !important;
}



.mphb-room-type-title {
    font-family: "p22-numismatic", sans-serif  !important;  
    font-weight: 400 !important;
    font-style: normal !important;
    font-size: 1.5rem !important;
    line-height: 1.25 !important;
    text-transform: uppercase !important;
    margin: 0 !important;
}

.mphb-room-types p {
    line-height: 1.25rem !important;
    width: 75% !important;
}





.post-thumbnail {
    margin-bottom: 1rem !important;
    border-radius: 0.5rem !important;
  
}

#mphb-flexslider-gallery-2{ 
  display: none !important;
}

.mphb_sc_rooms-wrapper {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem !important;
    align-items: stretch !important;


    font-family: "tt-commons-pro-thin", sans-serif;
    line-height: 1.5rem  !important;
    font-weight: 100;
    font-style: normal;
 }


 .mphb-room-type{
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 100% !important;
}


/* Remove MotoPress default margin that breaks grid */
.mphb_sc_rooms-wrapper .mphb-room-type:not(:first-of-type) {
    margin-top: 0 !important;
}

/* Force all direct children to not grow except actions */
.mphb-room-type > * {
    flex: 0 0 auto !important;
}

/* Make actions stick to bottom */
.mphb-room-type .mphb-loop-room-actions,
.mphb-room-actions {
    display: flex !important;
    gap: 0.5rem !important;
    margin-top: auto !important;
    flex-wrap: wrap !important;
    flex: 0 0 auto !important;
}

.mphb-regular-price{
    font-family: "tt-commons-pro", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 1rem !important;
    margin-bottom: 1rem !important;
}

.mphb-room-type-details-title  {
    font-family: "tt-commons-pro-thin", sans-serif;
    font-weight: 100;
    font-style: normal;
    font-size: 0.75rem !important;
    margin-top: 1rem !important;
    margin-bottom: 1px !important;
    text-transform: uppercase !important;
    border-bottom: 1px dotted #b0b1b364 !important;
}
/* Make all room thumbnails equal size */
.mphb-room-type .mphb-loop-room-thumbnail,
.mphb-room-type .mphb-loop-room-thumbnail img {
    width: 100% !important;
    height: 400px !important;
    object-fit: cover !important;
    border-radius: 0.5rem !important;
}

/* Responsive - 1 column on mobile */
@media (max-width: 768px) {
    .mphb_sc_rooms-wrapper {
        grid-template-columns: 1fr !important;
    }
    
    /* Smaller height on mobile */
    .mphb-room-type .mphb-loop-room-thumbnail,
    .mphb-room-type .mphb-loop-room-thumbnail img {
        height: 300px !important;
    }
}

.mphb-reserve-room-section {
    
}
/* Style View Details and Book buttons - FORCE UNIFORM SIZE */

.mphb-view-details-button-wrapper,
.mphb-book-button-wrapper,
.mphb-to-book-btn-wrapper {
    width: 100% !important;
    display: inline-block !important;
}

.mphb-view-details-button,
.mphb-book-button,
.mphb-reserve-btn,
.mphb-button,
button.mphb-book-button,
a.button.mphb-view-details-button {
    display: inline-block !important;
    padding: 0.75rem 1.25rem !important;
    margin: 0.5rem 0.5rem 0.5rem 0 !important;
    background: transparent !important;
    border: 2px solid #fbbf24 !important;
    color: #fbbf24 !important;
    font-family: "tt-commons-pro", sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    letter-spacing: 0.05em !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    height: 42px !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    width: auto !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}

.mphb-view-details-button:hover,
.mphb-book-button:hover,
.mphb-reserve-btn:hover,
.mphb-button:hover {
    background: #fbbf24 !important;
    color: #000 !important;
    border-color: #fbbf24 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3) !important;
}

/* Mobile button adjustments */
@media (max-width: 768px) {
    .mphb-view-details-button,
    .mphb-book-button,
    .mphb-reserve-btn,
    .mphb-button {
        padding: 0.75rem 1rem !important;
        font-size: 0.7rem !important;
        width: 100% !important;
        text-align: center !important;
        margin: 0.5rem 0 !important;
        display: block !important;
        height: 42px !important;
    }
    
    .mphb-room-type .mphb-loop-room-actions {
        flex-direction: column !important;
        gap: 0 !important;
    }
    
    .mphb-view-details-button-wrapper,
    .mphb-book-button-wrapper,
    .mphb-to-book-btn-wrapper {
        width: 100% !important;
        margin: 0 !important;
    }
}


/* MotoPress Search Form Styling */
.mphb_sc_search_results-wrapper,
.mphb-search-form {
    margin-bottom: 3rem !important;
}

/* Search form container */
.mphb-search-form {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(245, 158, 11, 0.2) !important;
    border-radius: 0.75rem !important;
    padding: 2rem !important;
}

/* Search form inputs */
.mphb-search-form input[type="text"],
.mphb-search-form select,
.mphb-datepick {
    background: rgba(0, 0, 0, 0.5) !important;
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
    border-radius: 0.375rem !important;
    color: #fef3c7 !important;
    padding: 0.75rem !important;
    font-family: "tt-commons-pro-thin", sans-serif !important;
}

.mphb-search-form input[type="text"]:focus,
.mphb-search-form select:focus {
    border-color: #fbbf24 !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2) !important;
}

/* Search button - match room buttons */
.mphb-search-form .mphb-button,
.mphb-search-form button[type="submit"],
.mphb-search-form input[type="submit"] {
    display: inline-block !important;
    padding: 0.75rem 2rem !important;
    margin-top: 1rem !important;
    background: transparent !important;
    border: 2px solid #fbbf24 !important;
    color: #fbbf24 !important;
    font-family: "tt-commons-pro", sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    border-radius: 0 !important;
}

.mphb-search-form .mphb-button:hover,
.mphb-search-form button[type="submit"]:hover,
.mphb-search-form input[type="submit"]:hover {
    background: #fbbf24!important;
    color: #000 !important;
    border-color: #fbbf24 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3) !important;
}

/* Form labels - more specific selectors */
.mphb_sc_search-wrapper label,
.mphb-search-form label,
.mphb_sc_search-check-in-date label,
.mphb_sc_search-check-out-date label {
    font-family: "tt-commons-pro", sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    text-transform: uppercase !important;
}

/* Calendar/datepicker styling */
.ui-datepicker {
    background: rgba(0, 0, 0, 0.95) !important;
    border: 2px solid #f59e0b !important;
    border-radius: 0.5rem !important;
    padding: 1rem !important;
}

.ui-datepicker-header {
    background: transparent !important;
    border: none !important;
    color: #fbbf24 !important;
}

.ui-datepicker td a {
    color: #fef3c7 !important;
    text-align: center !important;
}

.ui-datepicker td a:hover,
.ui-datepicker td .ui-state-active {
    background: #f59e0b !important;
    color: #000 !important;
    border-radius: 0.25rem !important;
}

/* Responsive */
@media (max-width: 768px) {
    .mphb-search-form {
        padding: 1.5rem !important;
    }
    
    .mphb-search-form .mphb-button,
    .mphb-search-form button[type="submit"] {
        width: 100% !important;
        padding: 0.75rem 1rem !important;
    }
}

.mphb_sc_search-check-in-date{
    margin-top: 1rem !important;
}

.mphb_sc_search-check-out-date{
    margin-top: 1rem !important;
    margin-bottom : 1rem !important;
}

.mphb_sc_search-submit-button-wrapper button,
.mphb_sc_search-submit-button-wrapper input[type="submit"],
.mphb_sc_search-submit-button-wrapper .mphb-button {
    display: inline-block !important;
    padding: 0.5rem 1.25rem !important;
    margin: 1rem 0.5rem 0.5rem 0 !important;
    background: transparent !important;
    border: 2px solid #fbbf24  !important;
    color: #fbbf24 !important;
    font-family: "tt-commons-pro", sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    letter-spacing: 0.05em !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.mphb_sc_search-submit-button-wrapper button:hover,
.mphb_sc_search-submit-button-wrapper input[type="submit"]:hover,
.mphb_sc_search-submit-button-wrapper .mphb-button:hover {
    background: #fbbf24 !important;
    color: #000 !important;
    border-color: #fbbf24 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3) !important;
}

.mphb-required-fields-tip{
    font-family: "tt-commons-pro-thin", sans-serif;
    font-weight: 100;
    font-style: normal;
    font-size: 0.75rem !important;
    margin-top: 1rem !important;
    margin-bottom: 1px !important;
    text-transform: uppercase !important;
    border-bottom: 1px dotted rgba(12, 10, 9, 0.25) !important;
}

/* Dark mode */
.dark .mphb-required-fields-tip{
    
    border-bottom: 1px dotted rgba(254, 243, 199, 0.25) !important;
}
    


.mphb-required-fields-tip small {
    font-size: 1em !important;
}

.mphb-booking-details-title {
    font-family: "tt-commons-pro-thin", sans-serif;
    font-weight: 100;
    font-style: normal;
    font-size: 0.75rem !important;
    margin-top: 1rem !important;
    text-transform: uppercase !important;
    border-bottom: 1px solid #b0b1b364 !important;
    margin-bottom: 0.25rem !important;
}

.mphb-room-number {
    font-family: "tt-commons-pro-thin", sans-serif !important;
    font-weight: 100 !important;
    font-style: normal;
    margin-top: 1rem !important;
}

.mphb-check-in-date  {
    font-family: "tt-commons-pro-thin", sans-serif !important;
    font-weight: 100 !important;
    font-style: normal;
}

/* Make only the "Check-in:" and "Check-out:" labels bold */
.mphb-check-in-date > span:first-child,
.mphb-check-out-date > span:first-child {
    font-family: "tt-commons-pro", sans-serif !important;
    font-weight: 600 !important;
}

.mphb-check-out-date {
    font-family: "tt-commons-pro-thin", sans-serif !important;
    font-weight: 100 !important;
    font-style: normal;
    margin-bottom: 4rem !important;
}

.mphb-recommendation-reserve-button {
    margin: 0rem 0rem 0rem 0rem !important;
}

.mphb-recommendation-item{
    border-top: 1px dotted rgba(12, 10, 9, 0.25) !important;
    margin-bottom: 1rem !important;
}

/* Dark mode */
.dark .mphb-recommendation-item {
    border-top: 1px dotted rgba(254, 243, 199, 0.25) !important;
}

.mphb_sc_search_results-info {
    font-family: "tt-commons-pro-thin", sans-serif !important;
    text-transform: uppercase !important;
    font-weight: 100 !important;
    font-style: normal;
    margin-bottom: 1rem !important;
    display: none !important;
}

.mphb-empty-cart-message {
    display: none !important;
}

.mphb-recommendation-title{
    font-family: "tt-commons-pro", sans-serif;
    text-transform: uppercase !important;
    font-weight: 600;
    font-style: normal;
    font-size: 1rem !important;
    text-align: center !important;

}

.mphb-recommendation-total{
    border-top: 1px dotted rgba(12, 10, 9, 0.25) !important;
    margin-bottom: 1rem !important;
    width: 100% !important;
    text-align: right !important;
    font-family: "tt-commons-pro", sans-serif !important;
    font-weight: 600 !important;
}

.dark .mphb-recommendation-total{
    border-top: 1px dotted rgba(254, 243, 199, 0.25) !important;
    margin-bottom: 1rem !important;
    width: 100% !important;
    text-align: right !important;
    font-family: "tt-commons-pro", sans-serif !important;
    font-weight: 600 !important;
}

.mphb-recommendation-item-guests{
    font-family: "tt-commons-pro-thin", sans-serif;
    font-weight: 100;
    font-style: normal;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
}

.mphb-recommendation-item-link{
    font-family: "tt-commons-pro", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 1rem !important;
    text-transform: uppercase !important;
}

/* Booking page responsive headings */
.booking-h1 {
    font-size: 2rem !important;
}

.booking-h2 {
    font-size: 1rem !important;
}

@media (min-width: 768px) {
    .booking-h1 {
        font-size: 3rem !important;
    }
    
    .booking-h2 {
        font-size: 1.5rem !important;
    }
}


.mphb-room-number {
    
     font-family: "tt-commons-pro-thin", sans-serif;
    font-weight: 100;
    font-style: normal;
    font-size: 0.75rem !important;
    margin-top: 1rem !important;
    text-transform: uppercase !important;
    border-bottom: 1px solid #b0b1b364 !important;
    margin-bottom: 0rem !important;
}

.mphb-guest-name-wrapper {
    margin-bottom: 2rem !important;
}

.mphb-guest-name-wrapper label {
    margin-bottom: 0.25rem !important;
    display: block !important;
}

/* Text inputs in checkout */

.mphb-guest-name-wrapper input[type="text"],
.mphb-room-details input[type="email"],
.mphb-room-details input[type="tel"] {
    background: rgba(0, 0, 0, 0.5) !important;
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
    border-radius: 0.375rem !important;
    color: #fef3c7 !important;
    padding: 0.75rem !important;
    font-family: "tt-commons-pro-thin", sans-serif !important;
    width: 25% !important;
    transition: all 0.3s ease !important;
}


.mphb-price     {
   font-family: "tt-commons-pro-thin", sans-serif;
   font-weight: 600;
   font-style: normal;
   font-size: 1rem !important;
 }     

.mphb-price-breakdown-rate      {
   display: none;
}     

.mphb-price-breakdown-title {
    display: none !important;
    font-family: "tt-commons-pro-thin", sans-serif;
    font-weight: 100;
    font-style: normal;
    font-size: 0.75rem !important;
    margin-top: 1rem !important;
    text-transform: uppercase !important;
    border-bottom: 1px solid #b0b1b364 !important;
    margin-bottom: 0.25rem !important;
}

.mphb-price-breakdown-subtotal {
   margin-bottom: 2rem !important;
}


.mphb-price-breakdown-subtotal {
    margin-bottom: 2rem !important;
 }

 .mphb-guest-name-wrapper{
    display: none !important;
 }






/* Hide MotoPress ugly table */
.mphb-price-breakdown {
    display: none !important;
}

/* Custom price breakdown styling */
.custom-price-breakdown {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 0.375rem;
    padding: 2rem;
    margin: 2rem 0;
}

.custom-room-item {
    border-bottom: 1px solid rgba(251, 191, 36, 0.2);
    padding: 1.5rem 0;
}

.custom-room-item:last-child {
    border-bottom: none;
}

.custom-room-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-room-header:hover {
    color: #f59e0b;
}

.custom-room-name {
    font-family: "tt-commons-pro", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #fbbf24;
    text-transform: uppercase;
}

.custom-room-price {
    font-family: "tt-commons-pro", sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    color: #fbbf24;
}

.custom-date-row {
    display: flex;
    justify-content: space-between;
    padding: 0rem 0 0rem 0rem;
    font-family: "tt-commons-pro-thin", sans-serif;
    font-size: 0.875rem;
    color: #fef3c7;
}

.custom-date-row .date {
    opacity: 0.9;
}

.custom-date-row .price {
    font-family: "tt-commons-pro", sans-serif;
    font-weight: 600;
}

.custom-grand-total {
    display: flex;
    justify-content: space-between;
    padding: 0.1rem 0 0;
    margin-top: 0rem;
   
    font-family: "tt-commons-pro", sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: #fbbf24;
    text-transform: uppercase;
}

.custom-room-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.custom-room-details.open {
    max-height: 500px;
}

.custom-expand-icon {
    color: #fbbf24;
    transition: transform 0.3s ease;
    font-size: 0.875rem;
}

.custom-expand-icon.open {
    transform: rotate(180deg);
}

.mphb-customer-details-title {
    font-family: "tt-commons-pro", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 1rem !important;
    text-transform: capitalize !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .custom-price-breakdown {
        padding: 1.5rem;
    }
    
    .custom-room-name {
        font-size: 0.875rem;
    }
    
    .custom-room-price {
        font-size: 1rem;
    }
    
    .custom-date-row {
        padding-left: 0rem;
        font-size: 0.8rem;
    }
    
    .custom-grand-total {
        font-size: 1.125rem;
    }

        

}


/* Customer details form styling */
.mphb-customer-details input[type="text"],
.mphb-customer-details input[type="email"],
.mphb-customer-details select,
.mphb-customer-details textarea {
    background: rgba(0, 0, 0, 0.5) !important;
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
    border-radius: 0.375rem !important;
    color: #fef3c7 !important;
    padding: 0.75rem !important;
    font-family: "tt-commons-pro-thin", sans-serif !important;
    width: 100% !important;
    transition: all 0.3s ease !important;
}

/* Focus states */
.mphb-customer-details input[type="text"]:focus,
.mphb-customer-details input[type="email"]:focus,
.mphb-customer-details select:focus,
.mphb-customer-details textarea:focus {
    border-color: #f59e0b !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2) !important;
}

/* Hide the annoying <br> tags between labels and inputs */
.mphb-customer-details label br,
.mphb-customer-details p br {
    display: none !important;
}

/* Labels */
.mphb-customer-details label {
    font-family: "tt-commons-pro", sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    text-transform: uppercase !important;
    color: #fbbf24 !important;
    margin-bottom: 0rem !important;
    margin-top: 2rem !important;
    display: block !important;
}

/* Required asterisk */
.mphb-required-fields-tip abbr {
    color: #f59e0b !important;
    text-decoration: none !important;
}

/* Required asterisk */
.mphb-customer-details abbr {
    color: #f59e0b !important;
    text-decoration: none !important;
}

/* Submit button - Book Now */
.mphb_sc_checkout-submit-wrapper input[type="submit"],
.mphb_sc_checkout-submit-wrapper .button {
    display: inline-block !important;
    padding: 0.75rem 2rem !important;
    margin-top: 1rem !important;
    background: transparent !important;
    border: 2px solid #f59e0b !important;
    color: #fbbf24 !important;
    font-family: "tt-commons-pro", sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    width: fit-content !important;
}

.mphb_sc_checkout-submit-wrapper input[type="submit"]:hover,
.mphb_sc_checkout-submit-wrapper .button:hover {
    background: #f59e0b !important;
    color: #000 !important;
    border-color: #f59e0b !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3) !important;
}

/* Textarea specific */
.mphb-customer-note textarea {
    min-height: 100px !important;
    resize: vertical !important;
}

/* Country select dropdown arrow */
.mphb-customer-country select {
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fbbf24' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.75rem center !important;
    padding-right: 2.5rem !important;
}

/* Add placeholder styling */
.mphb-customer-note textarea::placeholder {
    color: rgba(254, 243, 199, 0.5) !important;
    font-style: italic !important;
}

.mphb-reservation-submitted-title {
    font-family: "tt-commons-pro", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 1rem !important;
    margin-top: 1rem !important;
    text-transform: uppercase !important;
    margin-bottom: 0.25rem !important;
}



/* Payment Gateway Styling */
.mphb-gateway-chooser,
.mphb-billing-details {
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
}

/* Gateway options container */
.mphb-gateway-chooser ul,
.mphb-payment-gateways {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Individual gateway option */
.mphb-gateway-chooser li,
.mphb-payment-gateway {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 2px solid rgba(245, 158, 11, 0.3) !important;
    border-radius: 0.5rem !important;
    padding: 1rem !important;
    margin-bottom: 1rem !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

/* Hover state */
.mphb-gateway-chooser li:hover,
.mphb-payment-gateway:hover {
    border-color: #f59e0b !important;
    background: rgba(245, 158, 11, 0.1) !important;
}

/* Selected/Active gateway */
.mphb-gateway-chooser li.mphb-active,
.mphb-payment-gateway.mphb-active,
.mphb-gateway-chooser input[type="radio"]:checked + label {
    border-color: #f59e0b !important;
    background: rgba(245, 158, 11, 0.2) !important;
}

/* Gateway label/title */
.mphb-gateway-chooser label,
.mphb-payment-gateway label {
    font-family: "tt-commons-pro", sans-serif !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    color: #fbbf24 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
}

/* Radio button styling */
.mphb-gateway-chooser input[type="radio"] {
    appearance: none !important;
    width: 20px !important;
    height: 20px !important;
    border: 2px solid #f59e0b !important;
    border-radius: 50% !important;
    background: rgba(0, 0, 0, 0.5) !important;
    cursor: pointer !important;
    position: relative !important;
}

.mphb-gateway-chooser input[type="radio"]:checked::before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background: #f59e0b !important;
}

/* Gateway description text */
.mphb-gateway-description,
.mphb-payment-gateway p {
    font-family: "tt-commons-pro-thin", sans-serif !important;
    font-size: 0.875rem !important;
    color: #fef3c7 !important;
    opacity: 0.8 !important;
    margin-top: 0rem !important;
    padding-left: 0rem !important;
}

/* Payment section title */
.mphb-billing-details h3,
.mphb-gateway-chooser-title {
    font-family: "tt-commons-pro", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 1rem !important;
    text-transform: capitalize !important;
}

.mphb-total-price {
    font-family: "tt-commons-pro", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 1rem !important;
    margin-top: 2rem !important;
    text-transform: capitalize !important;
}

/* Starry sky background for night mode header */
body.bg-stone-900 #headerNav2 {
    background-image: url('') !important;
    background-size: 100px 100px !important; /* Fixed tile size instead of cover */
    background-position: center !important;
    background-repeat: repeat !important; /* This will tile it */
    position: relative !important;
   
}

/* ===================================
   BLOG MASONRY LAYOUT
   =================================== */

   .masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    grid-auto-flow: dense;
}

.masonry-item {
    break-inside: avoid;
}

/* Standardize blog post thumbnail sizes */
.masonry-item img {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* Responsive columns */
@media (min-width: 768px) {
    .masonry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .masonry-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Responsive heights */
@media (min-width: 768px) {
    .masonry-item img {
        height: 280px !important;
    }
}

@media (min-width: 1024px) {
    .masonry-item img {
        height: 300px !important;
    }
}

/* Responsive heights */
@media (min-width: 768px) {
    .masonry-item img {
        height: 280px !important;
    }
}

@media (min-width: 1024px) {
    .masonry-item img {
        height: 300px !important;
    }
}

/* ===================================
   MINIMAL NAVIGATION
   =================================== */

/* Mobile Overlay Menu */

#mobile-overlay {
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    overflow: hidden;
}

#mobile-overlay nav {
  /* Remove these if they exist */
    /* overflow-y: auto; */
    /* max-height: 100vh; */
    /* height: 100%; */
}

#mobile-overlay.opacity-100 {
    visibility: visible !important;
}

/* Menu item animation */
#mobile-overlay nav li {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

#mobile-overlay.opacity-100 nav li {
    opacity: 1;
    transform: translateY(0);
}



/* Navigation link styles */
#nav-menu a {
    position: relative;
    display: inline-block;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

/* Hover effect - text color only */
#nav-menu a:hover {
    color: #fbbf24 !important; /* amber-400 */
}

/* Simple underline on hover */
#nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #f59e0b;
    opacity: 0.4;
    transition: width 0.3s ease;
}

#nav-menu a:hover::after {
    width: 100%;
}

/* Current page - persistent underline */
#nav-menu .current-menu-item > a,
#nav-menu .current_page_item > a {
    color: #fbbf24 !important; /* amber-400 */
}

#nav-menu .current-menu-item > a::after,
#nav-menu .current_page_item > a::after {
    width: 100%;
    background: #f59e0b;
}

/* Mobile menu adjustments */
@media (max-width: 768px) {
    #nav-menu a:hover::after,
    #nav-menu .current-menu-item > a::after,
    #nav-menu .current_page_item > a::after {
        width: 100%;
    }
}

/* ===================================
   LEAFLET MAP STYLING
   =================================== */

   #map {
    height: 500px !important;
    min-height: 500px !important;
    z-index: 1;
}

.leaflet-control-attribution{
    display: none !important;
}

/* Responsive map height */
@media (max-width: 768px) {
    #map {
        height: 400px !important;
        min-height: 400px !important;
    }
}

/* ===================================
   CUSTOM LINK STYLES
   =================================== */

   .risto-link {
    border: 1px solid #d97706;
    padding: 0.5rem 1rem;
    display: inline-block;
    margin-top: 1.5rem;
    color: #d97706; /* amber-600 */
    transition: color 0.5s ease;
    text-decoration: none;
}

.risto-link:hover {
    color: #0c0a09; /* stone-950 */
    border: 1px solid #0c0a09;
}

/* Dark mode */
.dark .risto-link {
    color: #fbbf24; /* amber-400 */
}

.dark .risto-link:hover {
    color: #fffbeb; /* amber-50 */
}




.risto-link {
    display: inline-block !important;
    padding: 0.5rem 1.25rem !important;
    background: transparent !important;
    border: 2px solid #fbbf24  !important;
    color: #fbbf24 !important;
    font-family: "tt-commons-pro", sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    letter-spacing: 0.05em !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    margin-top: 0.5rem !important;
}

.risto-link:hover {
    background: #fbbf24 !important;
    color: #000 !important;
    border-color: #fbbf24 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3) !important;
}




/* ===================================
   HEADER LOGO SIZE
   =================================== */

   @media (max-width: 767px) {
    #headerNav2 > div:nth-child(2) > div {
        max-width: 280px !important;
    }
}

@media (min-width: 768px) {
    #headerNav2 > div:nth-child(2) > div {
        max-width: 350px !important;
    }
}


/* ===================================
   FOOTER ILLUSTRATION PULSE ANIMATION
   =================================== */

   @keyframes pulse-opacity {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

.footer-illustration-pulse {
    animation: pulse-opacity 4s ease-in-out infinite;
}


  /* First room - no top margin */
  .mphb_sc_search_results-wrapper .mphb-room-typeå {
    margin-top: 0 !important;
}