:root {
  --scs-orange-100: #f8ccb9;
  --scs-orange-500: #e75a1d;
  --scs-dark-blue-100: #bebec2;
  --scs-dark-blue-500: #2e2e3a;
  --scs-light-blue-050: #dee2e6;
  --scs-light-blue-100: #c8d9e4;
  --scs-light-blue-400: #709EB9;
  --scs-light-blue-500: #4c86a8;
  --scs-cool-grey-100: #f4f6f7;
  --scs-cool-grey-300: #EDF3F6;
  --scs-cool-grey-500: #dae3e5;
  --scs-warm-white-100: #fffaf7;
  --scs-warm-white-500: #feefe5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.balanced-text {
  text-wrap: balance;
}

.scs-modal .modal-backdrop {
  z-index: 999998 !important;
}
.scs-modal .modal {
  z-index: 999999 !important;
} */

input[type="range"]::-webkit-slider-thumb {
  background: var(--scs-dark-blue-500) !important
}

input[type="range"]::-moz-range-thumb {
  background: var(--scs-dark-blue-500) !important
}

input[type="range"]::-ms-thumb {
  background: var(--scs-dark-blue-500) !important
}

.custom-input-container {
  padding: 0.5rem;
  border: 1px solid var(--scs-cool-grey-500);
  border-radius: 4px;
  box-shadow: 0 .125rem .25rem rgba(0, 0, 0, 0.075);
}

.custom-label {
  font-size: 0.75rem;
}

.custom-input {
  font-size: 1rem;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background-color: transparent;
}

.custom-input:focus,
.custom-input:hover,
.custom-input:active {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.left-size {
  box-sizing:border-box;
  border: 1px solid #D5D5D5; 
  border-radius: 4px;
}

/* ========== Markdown Typography Overrides ========== */

.md-override h1,
.md-override h2,
.md-override h3,
.md-override h4 {
  margin-bottom: 2rem;
}

.md-override h1 {
  font-family: "Cormorant", serif;
  font-size: 3.5rem;
  line-height: 3.5rem;
  font-weight: 600;
}

.md-override h2 {
  font-family: "Cormorant", serif;
  font-size: 2.75rem;
  line-height: 2.75rem;
  font-weight: 600;
}

.md-override h3 {
  font-family: "Manrope", sans-serif;
  font-size: 2.5rem;
  line-height: 2.5rem;
  font-weight: 300;
}

.md-override h4 {
  font-family: "Cormorant", serif;
  font-size: 2rem;
  line-height: 2rem;
  font-weight: 600;
}

.md-override strong {
  font-weight: 700;
}

.spacer-full {
  padding: 2rem 0;
}

.spacer-half {
  padding: 1.0rem 0;
}

/* SM screens and up */
@media (min-width: 576px) {
  .spacer-full {
    padding: 3rem 0;
  }
  .spacer-half {
    padding: 1.5rem 0;
  }
}

/* MD screens and up */
@media (min-width: 768px) {
  .spacer-full {
    padding: 4rem 0;
  }
  .spacer-half {
    padding: 2rem 0;
  }
}

/* LG screens and up */
@media (min-width: 992px) {
  .spacer-full {
    padding: 5rem 0;
  }
  .spacer-half {
    padding: 2.5rem 0;
  }
}

/* XL screens and up */
@media (min-width: 1200px) {
  .spacer-full {
    padding: 7rem 0;
  }
  .spacer-half {
    padding: 3.5rem 0;
  }
}

.navbar {
  z-index: 1050 !important;
  backdrop-filter: blur(10px) !important;
  background-color: rgba(255, 255, 255, 0.7) !important;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25) !important;
}

.navbar img {
  height: 54px !important;
  width: auto m !important;
  background-position: cover;
  background-repeat: no-repeat;
}

body {
  color: var(--scs-dark-blue-500) !important;
  font-family: "Manrope", Arial, sans-serif !important;
  font-weight: 300 !important;
  line-height: 1.6;
  padding-top: 80px !important;
  margin-bottom: 0 !important;
}

.header {
  background-color: #4CAF50;
  color: var(--scs-warm-white-100);
  text-align: center;
  padding: 1rem;
}

.cormorant {
  font-family: "Cormorant", serif;
  font-optical-sizing: auto;
}

.manrope {
  font-family: "Manrope", sans-serif;
  font-optical-sizing: auto;
}

.light {
  color: var(--scs-warm-white-100);
}

.text-shadow {
  text-shadow: 0px 4px 4px rgba(0,0,0,0.42);
}

.scs-feature-card-price {
  font-family: "Manrope", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 2.0rem;
}

.scs-fs-1 {
  font-family: "cormorant", serif;
  font-size: clamp(1.75rem, 5vw + 1rem, 3.5rem);
  font-weight: 600;
  line-height: clamp(1.75rem, 5vw + 1rem, 3.5rem);
}

.scs-fs-2 {
  font-family: "cormorant", serif;
  font-size: clamp(0.75rem, 3vw + 1rem, 2.0rem);
  font-weight: 600;
  line-height: clamp(0.75rem, 3vw + 1rem, 2.0rem);
}

.section-spacing {
  padding-bottom: 0.5rem;
}

.card {
  margin-top: 1rem;
}

.manrope-white-shadow {
  font-family: "Manrope", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: white;
  text-shadow: 0px 4px 4px rgba(0,0,0,0.42);
}

.manrope-footer {
  font-family: "Manrope", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: white;
  text-align: right;
}

.manrope-light {
  font-family: "Manrope", sans-serif !important;
  font-optical-sizing: auto !important;
  font-weight: 300 !important;
  font-style: normal !important;
}

.manrope-regular {
  font-family: "Manrope", sans-serif !important;
  font-optical-sizing: auto !important;
  font-weight: 400 !important;
  font-style: normal !important;
}

.manrope-semibold {
  font-family: "Manrope", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: bold;
}

.cormorant-semibold {
  font-family: "Cormorant", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

.cormorant-regular {
  font-family: "Cormorant", serif !important;
  font-optical-sizing: auto !important;
  font-weight: 300 !important;
  font-style: normal !important;
}

.cormorant-light {
  font-family: "Cormorant", serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

.tagline {
  position: relative;
  font-family: "Cormorant", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: bold;
  margin-top: clamp(4rem, 10vw, 16rem);
  font-size: clamp(2.25rem, 5vw + 1rem, 4.5rem);
  line-height: clamp(2.5rem, 5vw + 1.25rem, 4.75rem);
  color: white;
  text-shadow: 0px 4px 4px rgba(0,0,0,0.42);
}

.section-text {
  position: relative;
  /* font-size: 3.5rem; */
  font-size: clamp(1.75rem, 5vw + 1rem, 3.5rem);
  color: var(--scs-dark-blue-500);
}

.subtext {
  position: relative;
  margin-top: 2rem;
  font-size: 1.2rem;
}

.searchhint {
  position: relative;
  margin-top: 2rem;
  font-size: 2rem;
}

.hero-background {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-image: url();
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  z-index: -2;
}

.scs-rect {
  text-align: start;
  min-height: 54px;
  background: #FFFFFF;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15);
  border-radius: 15px !important;
  font-size: 1.1rem;
  line-height: 1.1rem;
}

.scs-btn-filter {
  /* padding: 0 1rem; */
  height: 54px;
  width: 54px;
  background: var(--scs-orange-500);
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25) !important;
  border-radius: 15px;
  border-color: var(--scs-orange-500);
  line-height: 44px;
  text-align: center;
  font-size: 1.5rem;
  border-width: 0;
  background-image: url(/images/search_white.svg);
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: center;
}

.control {
  margin-right: 2rem;
}

@media (min-width: 992px) { /* lg: 4 per row */
  .control:nth-child(4n) {
    margin-right: 0;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) { /* md: 2 per row */
  .control:nth-child(2n) {
    margin-right: 0;
  }
}

@media (max-width: 767.98px) { /* sm: 1 per row */
  .control {
    margin-right: 0;
  }
}

.scs-cool-grey-300 {
  background: var(--scs-cool-grey-300);
}

.scs-footer-email {
  height: 54px;
}

.scs-btn-footer {
  width: 10rem;
  height: 54px;
  background: #E75A1D;
  border-radius: 15px;
  line-height: 54px;
  text-align: center;
  font-size: 1.5rem;
  color: #EAEAEB;
  border-width: 0px;
  margin: 0px;
}

.search-fuzzy {
  width: 34rem;
}

#fts-button {
  cursor: pointer;
  background-color: #fff;
  border-color: #fff;
}

.search-footer {
  width: 400px;
  height: 54px;
  margin-left: 10px;
  background-color: #D9D9D9;
  line-height: 54px;
}

.search-place {
  width: auto !important;
  display: inline-block !important;
  height: 3.375rem !important;
  border-radius: 15px !important;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.15) !important;
}

.search-dates {
  width: 10.5rem !important;
  display: inline-block !important;
  font-size: 1rem;
}

.search-dates::placeholder {
  opacity: 1.0 !important;
}

.search-guests {
  width: auto !important;
  display: inline-block !important;
}

.row.search-row-tight {
  --bs-gutter-x: 1rem !important;
}

@media (min-width: 992px) {
  .row.search-row-tight {
    --bs-gutter-x: 0.5rem !important;
    flex-wrap: nowrap;
  }

  .search-row-tight .search-field-col {
    flex: 0 0 auto;
    width: auto;
  }
}

.search-siam-cs {
  border:0;
  font-family: "Manrope", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 1.0rem;
  color: #2E2E3A;
  padding: 0 !important;
}

.search-siam-cs::placeholder {
  color: var(--scs-dark-blue-500) !important;
  opacity: 0.4 !important;
  font-size: smaller !important;
  }

.scs-text-light {
  color: var(--scs-warm-white-100) !important;
}

.scs-text-dark {
  color: var(--scs-dark-blue-500) !important;
}

input:focus {
  outline: none;
  border: none;
}

.row-email {
  margin-top: 2rem !important;
}

.label-email {
  font-size: 2rem; 
  line-height: 2rem;
  margin-bottom: 3rem;
}

footer input {
  background-color: #D9D9D9;
  border: none;
}

.scs-footer-cs {
  background-color: var(--scs-dark-blue-500) !important;
}

.footer-links li {
  list-style-type: none;
}
.footer-links a {
  text-decoration: none;
  color: #EDF3F6;
}
.footer-links a:hover {
  color: white;
}

.two-column-left {
  margin: 1rem 0 1rem 0;
}

.two-column-right {
  margin: 1rem 0 1rem 0;
}

.video-background {
  position: relative;
  width: 100%;
  height: 65vh;
  min-height: 50vh;
  overflow: hidden;
  background-image: url('/images/pages/index/hero_home.webp');
  background-size: cover;
  background-position: center;
}

.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.video-background .content {
  position: relative;
  z-index: 11;
  color: white;
  margin-top: 10% !important;
}

#page-index {
  position: relative;
  z-index: 2;
}

.booking-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px;
  max-width: 100%;
}

.transparent-navbar {
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 10;
}

.video-hero-section {
  position: relative;
  width: 100%;
  height: 65vh;
  overflow: hidden;
}

.video-background {
  width: 100%;
  height: 100%;
  object-fit: cover;
  top:-1rem;
}

input::placeholder {
  color: var(--scs-dark-blue-500) !important;
  opacity: 0.4 !important;
}

.title {
  font-size: 3.5rem !important;
  line-height: 3.5rem !important;
}

.footer-logo {
  position: relative;
  height: 3.75rem;
  object-fit: cover;
}

.scs-btn-light {
  background-color: var(--scs-warm-white-100);
  color: var(--scs-dark-blue-500);
}

.scs-btn-small {
  min-width: 12rem !important;
  height: 36px !important;
  font-size: 1.0rem !important;
  line-height: 1.0rem !important;
}

.scs-btn-primary {
  height: 4rem !important;
  background: var(--scs-orange-500) !important;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25) !important;
  line-height: 4rem !important;
  font-size: 1.5rem !important;
}

.scs-btn {
  height: 52px;
  width: auto;
  min-width: 15rem;
  display: inline-block;
  white-space: nowrap;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25) !important;
  border: none;
  border-style: none;
  border-width: 0;
  border-color: transparent;  
  color: var(--scs-warm-white-100);
  background-color: var(--scs-dark-blue-500);
  border-radius: 15px;
  font-family: "Manrope", sans-serif;
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 500;
  font-optical-sizing: auto;
  line-height: 1.25rem;
  text-align: center;
  padding: 0 1.5rem;
}

#privacy-policy {
  h1 {
    padding-top: 5rem !important;
    padding-bottom: 2rem !important;
    text-align: center !important;
  }
  h2, h3 {
    padding-top: 2rem !important;
    padding-bottom: 1rem !important;
  }
  h2 {
    font-size: 1.5rem !important;
  }
  h3 {
    font-size: 1.25rem !important;
  }
}

#terms-and-conditions {
  h1 {
    padding-top: 5rem !important;
    padding-bottom: 2rem !important;
    text-align: center !important;
  }
  h2, h3 {
    padding-top: 2rem !important;
    padding-bottom: 1rem !important;
  }
  h2 {
    font-size: 1.5rem !important;
  }
  h3 {
    font-size: 1.25rem !important;
  }
}
/* ✅ Slide-in Bottom-Center Modal */
.cookie-modal {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 1080;
  max-width: 480px;
  width: calc(100% - 4rem);
  background-color: transparent;
  transition: transform 0.5s ease, opacity 0.5s ease;
  opacity: 0;
  pointer-events: none;
}

.cookie-modal.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.fade-in-left {
  transform: translateX(-100%);
}

.cookie-modal-content {
  background-color: #fff;
  border-radius: 1rem;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.25);
  padding: 1.5rem;
}

.cookie-modal-body {
  font-size: 0.95rem;
}

/* Ensure scrolling is allowed behind modal */
body.modal-open {
  overflow: auto !important;
}

/* keep the banner responsive */
#detail-advert-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* optional: cap it so it doesn’t blow up on huge screens */
@media (min-width: 1200px) {
  #detail-advert-image {
    max-width: 970px;
  }
}

/* Overlay badge on top-right corner */
/* Ensure the positioned ancestor doesn't crop children */
.col-sm-6.position-relative { 
  overflow: visible;
}

/* Badge: scale by parent width, keep full art visible */
.badge-overlay{
  position:absolute;
  bottom:.75rem;
  right:.75rem;

  width:25% !important;
  aspect-ratio:1 / 1;
  height:auto !important;
  display:block;

  object-fit:contain !important;
  object-position:center;

  /* neutralize common global img rules that cause stretching/cropping */
  max-width:none !important;
  max-height:none !important;

  z-index:2;
  pointer-events:none;
}

/* Results card image */
.results-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: .5rem;
  overflow: hidden;
}

/* On ≥576px you can tighten the shape if you like */
@media (min-width: 576px) {
  .results-thumb {
    aspect-ratio: 16 / 10;
    min-height: 240px;
  }
}

/* Badge overlay example (if you’re absolutely positioning it) */
.results-thumb .badge-overlay {
  position: absolute;
  right: .75rem;
  bottom: .75rem;
  width: 15%;
  height: auto;
  max-width: 96px;
}
