/* ===============================
   MODAL & GLOBAL
================================ */
.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)){
    max-width:100% !important
}

.wp-block-post-title{
 text-align:center !important;
}

.mobile-menu{
    display:none;
}

/* PRICE DISPLAY FIX */
.price-block {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.stay-details {
    font-size: 12px;
    color: #555;
    margin-bottom: 2px;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 1px;
    justify-content: flex-end;
}

.old-price {
    font-size: 11px;
    color: #d4111e;
    text-decoration: line-through;
}

.current-price {
    font-size: 22px; /* Made larger to match mockup */
    font-weight: 700;
    color: #000;
}

.current-price-wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
}

.tax-note {
    font-size: 12px;
    color: #555;
    margin-top: 2px;
    margin-bottom: 12px; /* Space before button */
}

.see-availability-btn {
  background: #006ce4;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
  height: 37px;
  width: 165px;
}

#mib-filter-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

#mib-filter-modal .mib-modal-content {
    position: relative;
    background: #06112A;
    padding: 10px;
    max-width: 600px;
    width: 95%;
    border-radius: 8px;
}

#mib-filter-modal .mib-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
    color: #fff;
}

.mini-city {
    font-size: 0.55rem;
    font-weight: 700;
}

/* ===============================
   LAYOUT
================================ */
#business-widget-container {
    display: flex;
    flex-direction: column; /* Stack map on top of the main row */
    gap: 15px;
}

#business-main-row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* Filters */
#business-filter,
#mobile-business-filter {
    flex: 0 0 190px;
    background: #06112A;
    color: #FFF;
    padding: 15px;
    max-height: 830px;
    overflow-y: auto;
}

.filter-group {
    margin-bottom: 12px;
}

.filter-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 4px;
    font-size: 13px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.15s ease;
}

.filter-group label:hover {
    background: rgba(255, 255, 255, 0.08);
}

.filter-group input[type="checkbox"] {
    margin: 0;
    accent-color: #FFDC00;
}

.show-more-btn {
    display: inline-block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: bold;
    color: #FFDC00;
    cursor: pointer;
    text-decoration: none;
}

.show-more-btn:hover {
    text-decoration: underline;
}

#business-filter h4,
#mobile-business-filter h4 {
    margin-top: 18px;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
}

#business-data-column {
    flex: 1;
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-main{

	width:400px;

}

#business-filters {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 14px;
    background: #06112A;
    color: #fff;
    flex-wrap: wrap;
}

#view-switch,
#sort-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

#view-switch strong,
#sort-switch strong {
    font-size: 12px;
    opacity: 0.8;
    margin-right: 4px;
}

.button-radio {
    position: relative;
}

.button-radio input {
    display: none;
}

.button-radio span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 6px;
    background: rgba(255,255,255,0.1);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.button-radio input:checked + span {
    background: #FFDC00;
    color: #06112A;
    font-weight: 600;
}

.button-radio span:hover {
    background: rgba(255,255,255,0.2);
}

#map-switch {
    display: flex;
    align-items: center;
}

#toggle-map-btn {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;
    background: #FFDC00;
    color: #06112A;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

#toggle-map-btn:hover {
    opacity: 0.9;
}

/* ===============================
   RESULTS CONTAINER & OVERALL
================================ */
#business-results {
    background-color: white;
    padding: 10px;
    box-sizing: border-box;
    width: 100%;
    max-width: 900px;
}

#business-results .biz-card {
    display: flex;
    background: #ffffff;
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    margin-bottom: 12px;
    padding: 0;
    overflow: hidden;
    height: 235px;
    transition: box-shadow 0.2s ease;
}

#business-results .biz-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ===============================
   COLUMN 1: IMAGE
================================ */
#business-results .image-wrapper {
    width: 225px;
    height: 225px;
    flex-shrink: 0;
    padding: 5px;
    position: relative;
}

#business-results .image-wrapper .image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius:10px;
}

/* ===============================
   WISHLIST / LIKE BUTTON FIX
================================ */
.image-wrapper .wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ffffff !important; /* Ensure white circle background */
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    z-index: 10;
    transition: transform 0.2s ease;
}

.image-wrapper .wishlist-btn:hover {
    transform: scale(1.1);
}

.image-wrapper .wishlist-btn svg {
    width: 20px;
    height: 20px;
    fill: none; /* Empty heart by default */
    stroke: #000000;
    stroke-width: 1.5px;
    display: block;
    transition: fill 0.2s ease, stroke 0.2s ease;
}


/* When the heart is clicked/active */
.image-wrapper .wishlist-btn.active svg {
    fill: #d4111e !important;
    stroke: #d4111e !important;
}

/* ===============================
   COLUMN 2: MAIN INFO
================================ */
#business-results .business-info {
    display: flex;
    flex: 1;
    padding: 10px;
    gap: 10px;
}

.info-left {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.main-title {
    color: #006ce4 !important;
    font-size: 16px !important;
    font-weight: 700;
    margin: 0 0 2px 0; /* tightened gap to description */
    line-height: 1.2;
}

.stars-rating {
    color: #febb02;
    font-size: 10px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.location-link {
  font-size: 11px;
  color: #006ce4;
  margin-bottom: -10px;
  margin-top: -6px;
}
.location-link a { text-decoration: none; }

.product-description {
    font-size: 12px;
    color: #444;
    margin: 2px 0 2px; /* tightened */
    line-height: 1.4;
}

.deals {
    margin: 2px 0 2px; /* tightened */
}

.deal-badge {
    background: #008009;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 2px;
    width: fit-content;
}

.amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 2px 0 2px; /* tightened */
}

.amenity-badge {
    background: #f2f2f2;
    color: #333;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
}

.amenity-badge strong {
    display: block;
    font-weight: 700;
    color: black;
}

.room-specs-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2px 0; /* tightened */
}

.room-specs-list li {
    color: #008009;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ===============================
   AVAILABILITY & MORE DETAILS ROW
================================ */
.availability-row {
    display: flex;
    align-items: center; /* Vertical center */
    flex-wrap: wrap;     /* Allow wrapping on very small screens */
    gap: 8px;            /* Space between note and button */
    margin-top: 4px;
}

.availability-note {
    color: #d4111e;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
}

.more-details-btn {  
	background: none;
  border: none;
  color: #a4a4a4;
  font-size: 14px;
  font-weight: 300;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
}

/* Add the separator bar "|" between the note and the button */
.availability-note + .more-details-btn::before {
    content: "|";
    margin-right: 8px;
    color: #ccc; /* Subtle grey for the bar */
    font-weight: 400;
    cursor: default;
    text-decoration: none !important;
    display: inline-block;
}


.more-details-btn:hover {
    text-decoration: underline;
	border: none !important;
	outline:none !important;
    background:transparent !important;
}
/* ===============================
   COLUMN 3: PRICING
================================ */
.info-pricing {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: right;
    border-left: 1px solid #f2f2f2;
    padding-left: 10px;
    height: 100%;
}

.price-bottom-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.rating-box-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.rating-content {
    display: flex;
    flex-direction: column;
    text-align: right;
    line-height: 1.2;
}

.rating-label {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    text-transform: none !important;
}

.review-count {
    font-size: 12px;
    color: #555;
}

.rating-score-square {
    background: #003580;
    color: #fff;
    padding: 6px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 16px;
    min-width: 32px;
    text-align: center;
}

@media (max-width: 1024px) {
    #business-data-column {
        max-width: 100%;
    }
    #business-results {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    #business-results .biz-card {
        flex-direction: column;
    }
    .image-wrapper {
        width: 100%;
        height: 180px;
    }
    .info-pricing {
        border-left: none;
        border-top: 1px solid #eee;
        padding-left: 0;
        padding-top: 10px;
        text-align: left;
    }
}

#map-container {
    width: 100%;
    height: 200px; /* Or whatever height you want */
    margin-bottom: 15px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

/*#business-map {
    width: 100%;
    height: 100%;
}*/