@charset "UTF-8";


/* General Reset & Base Styles */
body {
    font-family: 'Open Sans', Arial, sans-serif;    
    padding: 0;
	
	<?php
	if ($source !== 'checkout') {
	?>
	
    background-color: #f8f8f8;
	
	<?php
	}
		?>
}

body, .hotel-box, .hotel-info, .hotel-name, .hotel-address, .hotel-distance, .booking-link {
    font-family: 'Open Sans', Arial, sans-serif !important;
}

.rooms-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 10px;
}
	
/* Booking Link */
.booking-link {
    font-size: 20px;
    color: #2c3e50;
    margin-top: 5px;
	margin-bottom: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
    text-align: center;
}

.booking-link a {
    color: darkgreen;
    text-decoration: none;
    font-weight: bold;
}

.booking-link a:hover {
    text-decoration: underline;
}

/* Hotel Box Layout */
.hotel-box {
    width: 96%;
    margin: 0 auto 20px auto;
    border-radius: 10px;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: stretch;
}

.hotel-image {
    width: 200px;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.hotel-info {
    flex-grow: 1;
    text-align: left;
	overflow: visible;
}

.hotel-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.hotel-stars {
    color: gold;
	margin-left: 5px;
    font-size: 14px;
}

.hotel-address {
    font-style: italic;
    color: #555;
    font-size: 13px;
    margin: 6px 0;
}

.hotel-distance {
    font-size: 14px;
    color: #333;
}

/* PRICE BLOCK */
.hotel-price {
  min-width: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
}

.rate-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 4px;
}

.rates-from {
  color: #2c3e50;
  font-size: 18px;
  font-weight: bold;
  margin: 0;
  padding: 0;
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.room-original-price {
  font-size: 16px;
  color: darkred;
  font-style: italic;
  display: inline-block;
  text-decoration: line-through;
  white-space: nowrap; /* prevent currency + price from splitting */
}

.room-price {
  font-size: 24px;
  font-weight: bold;
  color: green;
  padding: 0;
  margin: 0;
}

.rooms-nights {
  font-size: 14px;
  color: #555;
  margin: 0;
  padding: 0;
}

/* Button aligned to bottom */
.check-button {
    background: #8bc53f;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    font-family: Arial, sans-serif !important;
    align-self: flex-end;
    margin-top: 20px;
}

/* Message banner */
.hotel-message-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 10px 0;
}

.hotel-message-banner {
    background-color: #EEF9F5;
    border: 1px solid #96D6BB;
    padding: 15px 25px;
    border-radius: 8px;
    color: #737373;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    max-width: 90%;
    width: 100%;
	margin-bottom: 5px;
}

.discount-badge {
    display: inline-flex;
    align-items: center;
    background-color: #FDB813;
    color: white;
    padding: 4px 8px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 13px;
	white-space: nowrap;
	margin-right: 5px;
}
		
	
.discount-badge .tag-icon {
    width: 12px;
    height: 12px;
    margin-right: 5px;
    fill: white;
}

	
.room-name {
    margin: 5px 0;
}	
	
.bold-dark-grey {
    font-weight: bold;
    color: #333333; /* or another shade of dark grey like #444, #2c2c2c, etc. */
}
	
	
.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background: #eef7ec;
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid #c6dfc1;
    margin-bottom: 20px;
    gap: 10px;
}

.filter-content {
    flex: 1;
    text-align: center;
}	
	
.filter-label {
    font-weight: bold;
    font-size: 13px;
    margin-right: 12px;
    display: flex;
    align-items: center;   
    line-height: 1.4;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 20px;
    margin-top: 10px;
}

.filter-options label {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
	font-size: 14px;
    font-weight: normal;
    line-height: 1.4;
}
	
.filter-options input[type="checkbox"],
.filter-options input[type="radio"] {
    width: 16px;
    height: 16px;
}


.break-line {
    flex-basis: 100%;
    height: 0;
    margin: 0;
    padding: 0;
}

.filter-button {
    flex-shrink: 0;
    align-self: flex-start;
}

.filter-button button {
    background-color: #5ca773;
    color: #fff;
    padding: 8px 20px;
    font-size: 15px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
}

.sort-row {
    text-align: center;
    font-size: 15px;
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;   
    gap: 12px;
}

.sort-title {
    font-weight: bold;
    margin-bottom: 0;
    display: flex;
    align-items: center;   
}

.sort-row label {
    margin: 0 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
	

.remarks {
    display: inline-flex;               
    flex-wrap: wrap;
    gap: 4px 12px;
    padding: 8px 12px;
    margin-top: 10px;
    line-height: 1.2;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #fff;
    max-width: 100%;                   
}
	
.remarks span {
    display: flex;
    align-items: center;
    font-size: 14px;
    line-height: 1.2;
}
	
.remarks i {
    padding-right: 5px;     
    vertical-align: middle; 
}	
	

.dotted-under-grey {
    border-bottom: 1px dotted #ccc;  
    display: inline-block;         
    padding-bottom: 2px;            
}

/* Responsive Styles for Mobile */
@media screen and (max-width: 768px) {
  .hotel-box {
    flex-direction: column;
    text-align: left;
    padding: 15px;
  }

  .hotel-image {
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 15px;
  }

  .hotel-price {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
  }

  .rate-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .rates-from {
    font-weight: bold;
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 4px;
  }

  .price-line {
    display: flex;
    gap: 5px;
    align-items: baseline;
  }

  .room-original-price {
    font-size: 14px;
    font-style: italic;
    color: darkred;
    position: relative;
    margin: 0;
    white-space: nowrap;           
    display: inline-block;
    line-height: 1;               
    vertical-align: middle;       
}

.room-original-price::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: darkred;
    transform: translateY(-50%);
    pointer-events: none;
}
	
  .room-price {
    font-size: 20px;
    font-weight: bold;
    color: green;
  }

  .rooms-nights {
    font-size: 13px;
    color: #555;
    margin-top: 5px;
  }

  .rate-button {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
  }

  .check-button {
    font-size: 15px;
    padding: 10px 16px;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
  }
	
  .sort-options {
    display: flex;
    flex-wrap: wrap; /* allows wrapping */
    gap: 10px;
  }

  .sort-options label {
    width: 100%; /* each label takes full width */
    margin: 0;
  }

  .sort-options input[type="radio"] {
    margin-right: 6px;
  }
	
.booking-link {
    font-size: 14px;
    color: #2c3e50;
    margin-top: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80px;
    text-align: center;
}
	

 .filter-section .mobile-full {
        flex-basis: 100%;
        display: block;
        margin-bottom: 5px;
    }
	
 .filter-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-label {
        margin-bottom: 8px;
        font-size: 14px;       
    }

    .filter-options {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 15px;
    }

    .filter-button {
        align-self: stretch;
        margin: 0;
    }

    .filter-button button {
        width: 100%;           
        text-align: center;
    }
	
	.filter-options input[type="checkbox"],
    .filter-options input[type="radio"] {
        width: 22px;
        height: 22px;
    }

.remarks span {
    display: flex;
    align-items: center;
    font-size: 12px;
    line-height: 1;         
}	
	
	
}
	
	
/* Modal Overlay */
.map-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
    padding: 0;
}

/* Modal Content */
.map-modal-content {
    background-color: #f5f5dc; /* Beige background */
    margin: auto;
    padding: 15px;
    border-radius: 10px;
    width: 96vw; /* 96% of the viewport width */
    max-width: 800px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
    top: 50%;
    transform: translateY(-50%);
}

/* Close Button */
.close {
    color: #d35400; /* Dark Orange */
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 10px;
    z-index: 9999;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: #e67e22; /* Lighter Orange on Hover */
    text-decoration: none;
    cursor: pointer;
}

/* Map Styles */
#hotel-map {
    width: 100%;
    height: 65vh; /* Flexible height */
    border-radius: 8px;
}

/* Popup Styles */
.leaflet-popup-content-wrapper {
    background-color: #f5f5dc !important; /* Beige background */
    border-radius: 8px !important;
    padding: 10px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.leaflet-popup-content {
    text-align: center !important;
    font-weight: bold !important;
    color: #333 !important;
    font-size: 16px !important;
    margin: 0 !important;
}
	
.leaflet-bottom.leaflet-right {
    bottom: 20px !important;
    right: 20px !important;
}
	
	
.voucher-banner {
            background-color: #fff7e6;
            color: #555;
            padding: 15px 20px;
            border-radius: 8px;
            margin: 15px auto;
            text-align: center;
            display: block;
            border: 1px solid #ccc;
            max-width: 600px;	
	}
	
	.voucher-banner strong {
	font-size: 18px;
      
        font-weight: bold;
        letter-spacing: 1px;
       
	}
	
	.review-container {
	  display: flex;
	  align-items: flex-start;
	  gap: 6px;
	  margin-top: 6px;
	}

	.review-icon {
	  font-size: 14px;
	  color: #888;
	  flex-shrink: 0;
	  margin-top: 3px;
	}

	.review-text-xs {
	  font-size: 13px;
	  color: #444;
	  font-style: italic;
	  line-height: 1.4;
	  text-align: left;
	}

	
	
/* Promo code styles*/	
	
.promo-badge {
 position: absolute;
  top: 0;
  right: -10px;
  width: 100px;
  background: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 13px;
  color: #004080;
  line-height: 1.4;
  box-sizing: border-box;
  z-index: 10;
  cursor: pointer;
}

.promo-icon {
  position: absolute;
  top: 2px;
  right: 4px;
  margin-left: 3px;
  font-size: 22px;
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
	line-height: 1;
  display: inline-block;
  white-space: nowrap;
}

.promo-text {
  padding-right: 20px;
}

.promo-badge a {
  color: #004080;
  text-decoration: underline;
  font-weight: 500;
}

.promo-popup {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}

.promo-popup-content {
  background: #fff;
  max-width: 400px;
  margin: 10% auto;
  padding: 25px 20px;
  border-radius: 10px;
  text-align: center;
  position: relative;
}

.promo-code {
  font-size: 24px;
  font-weight: bold;
  margin: 15px 0;
  color: #008000;
}

.close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
}
	
@media screen and (max-width: 600px) {
  .promo-badge {
    right: -2px !important;        /* push badge farther right */
    transform: translateY(-8px);
  }
	
.promo-discount-tag
	{
	width: 50px;	
	height: 45px;
	}
}	
	
/* Responsive Font Size and Layout */
@media (max-width: 768px) {
    
    .map-modal-content {
        width: 88vw; 
        padding: 10px;
        max-width: 88vw; 
        border-radius: 10px;
    }
    
    #hotel-map {
        height: 50vh;
    }
  
    .leaflet-popup-content {
        font-size: 14px !important;
    }
	
	 .map-link {
        margin-top: 15px !important;
    }
}
	
	.review-text-xs {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5; 
    overflow: hidden;
  }
	
	
.voucher-popup {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: #ffffff;
        padding: 30px 40px;
        border-radius: 12px;
        box-shadow: 0 15px 30px rgba(0,0,0,0.2);
        z-index: 9999;
        text-align: center;
        min-width: 280px;
        max-width: 90%;
        font-family: Arial, sans-serif;
        animation: popup-enter 0.3s ease-out;
        border: 2px solid #ddd;
    }

    .voucher-code-container {
        padding: 13px 18px;
        border-radius: 8px;
        border: 1px solid #bbb;
        background-color: #DFDFDF;
        display: inline-block;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        margin-bottom: 15px;
        min-width: 240px;
        min-height: 140px;
    }

    .voucher-code {
        font-size: 32px;
        color: darkgreen;
        font-weight: bold;
        letter-spacing: 1px;
        margin-bottom: 10px;
    }

    .copy-link {
        color: #007bff;
        text-decoration: underline;
        font-weight: normal;
        cursor: pointer;
        display: block;
        margin-bottom: 10px;
        transition: color 0.3s;
    }

    .copy-link:hover {
        color: #0056b3;
    }

    .copied-message {
        color: #008000;
        font-size: 12px;
        opacity: 0;
        transition: opacity 0.5s;
        min-height: 15px;
        visibility: hidden;
    }

    .voucher-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.6);
        z-index: 9998;
    }

    .close-popup {
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 18px;
        color: #666;
        cursor: pointer;
        transition: color 0.3s;
    }

    .close-popup:hover {
        color: #b30000;
    }

    @keyframes popup-enter {
        from {
            opacity: 0;
            transform: translate(-50%, -60%);
        }
        to {
            opacity: 1;
            transform: translate(-50%, -50%);
        }
    }
	
body,td,th {
	font-family: "Open Sans", Arial, sans-serif;
}
	
	
.availability-container .vip-rates-message {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1em;
  padding: 1em;
  background-color: #DCEED7;
  font-size: 14px;
  border: solid 0.0714285714em #1a9223;
}
.availability-container .vip-rates-message iconify-icon {
  position: relative;
  top: 6px;
  font-size: 50px;
  color: #8B0000;
}
.availability-container .vip-rates-message .message {
  margin: 0 20px;
  text-align: center;
}
.availability-container .vip-rates-message .free {
  color: darkgreen;
  font-size: 14px;
  font-weight: bold;
}
.availability-container .vip-rates-message .button {
  margin-left: 1em;
  font-size: 16px;
}
@media (max-width: 520px) {
  .availability-container .vip-rates-message {
    flex-direction: column;
	  font-size: 13px;
    
  }
	
.availability-container .vip-rates-message .message {
  margin: 0 5px;
 font-size: 13px;
  text-align: center;
}
	
.availability-container .vip-rates-message .free {
  color: darkgreen;
  font-size: 13px;
  font-weight: bold;
}
	
  .availability-container .vip-rates-message .button {
    margin-top: 5px;
	  font-size: 12px;
  }
}

	
.hotel-image-wrapper {
  position: relative;
  display: inline-block;
}

.hotel-image-wrapper .vip-overlay {
  position: absolute;
  right: 6px;
  bottom: 14px; 
  font-size: 44px;
  color: red;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6); 
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  padding: 6px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .hotel-image-wrapper .vip-overlay {
    font-size: 60px;   
    bottom: 24px;     
    right: 10px;
    padding: 8px;
  }
}


:root {
  --container-max: 1252px;
  --btn-offset: 50px; 
}

#backToHotelList {
  position: fixed;
  bottom: 140px;
  right: calc((100vw - var(--container-max)) / 2 - var(--btn-offset));
  cursor: pointer;
  z-index: 1000;
  display: none;
}

#backToHotelList iconify-icon {
  font-size: 42px;
  color: white;
  background: rgba(180, 180, 180, 0.9);
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  padding: 14px;
  stroke: white;
  stroke-width: 2px;
  transition: transform 0.2s ease, background 0.2s ease;
}

#backToHotelList:hover iconify-icon {
  transform: scale(1.1);
  background: rgba(150, 150, 150, 1);
}

@media (max-width: 1300px) {
  #backToHotelList {
    right: 30px;
  }
}

@media (max-width: 768px) {
  #backToHotelList {
    bottom: 100px;
    right: 25px;
  }
  #backToHotelList iconify-icon {
    font-size: 45px;
    padding: 14px;
  }
}
	
	
	.domain-link { 
            font-weight:bold; 
            font-size:13px; 
            color:#0645AD; 
            text-decoration:none; 
        }
        .domain-link:hover { 
            text-decoration:underline; 
        }	