
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600&display=swap');
/* ================================================================
   Villa Amendoeiras Escape — Page Style
   Design system: marcellus font · #b38f00 gold · warm cream palette
   ================================================================ */

/* ── Base ─────────────────────────────────────────────────────── */
/* Override global style.css body{background:#000} to prevent dark flash on reload */
body { background: #fff; }
/* Disable scroll anchoring to prevent spurious secondary scroll after menu navigation */
html { overflow-anchor: none; }

.full {
  font-family: marcellus, sans-serif;
  color: #555;
  background: #fff;
  line-height: 1.75;
  overflow-x: clip; /* clip instead of hidden — doesn't force overflow-y:auto */
  position: relative;
}

/* ── Villa title ──────────────────────────────────────────────── */
.titulovilla {
  display: block; /* override global h1{display:inline} reset */
  font-family: 'cormorant garamond', serif;
  font-size: 2.4rem;
  font-weight: 400;
  letter-spacing: .06em;
  color: #2c2c2c;
  padding: 36px 32px 10px;
  margin-top: 0;
  background: #fff;
  box-sizing: border-box;
  text-align: center;
}

.titulovilla_sub {
  padding: 0 32px 22px;
  border-bottom: 1px solid #f0ebe0;
  background: #fff;
  box-sizing: border-box;
  text-align: center;
}

.titulovilla_desc {
  display: block;
  font-family: 'inter', sans-serif;
  font-size: .85rem;
  letter-spacing: .03em;
  color: #666;
  font-weight: 300;
  margin-top: 8px;
}
.titulovilla_stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.villa_stat {
  display: flex;
  align-items: center;
  gap: 6px;
}
.villa_stat img {
  display: block;
  width: 30px;
  height: 30px;
}
.villa_stat_sep {
  color: #ccc;
  font-weight: 300;
}

/* ── Villa nav menu ───────────────────────────────────────────── */
#menu_villas {
  border-top: none;
  border-bottom: 1px solid #f0ebe0;
  background: #faf8f3;
  margin-top: 25px;
  padding: 0 8px;
  font-size: .88rem;
  box-sizing: border-box;
}

#menu_villas.fixed {
  background: rgba(26,24,21,.97);
  border-bottom: 2px solid #b38f00;
  font-size: .88rem;
  z-index: 9001;
}
#menu_villas.fixed .menu_villas_botao a {
  color: #fff;
}

/* No underline on villa submenu links (any screen) */
.menu_villas_botao a {
  text-decoration: none !important;
}

/* ── Desktop: full-width spread + full-height highlight ──────── */
@media only screen and (min-width: 1151px) {
  #menu_villas,
  #menu_villas.fixed,
  #menu_villas.fixedtop {
    display: flex !important;
    align-items: stretch !important;
    justify-content: space-evenly !important;
    padding: 0 !important;
    width: 100% !important;
  }
  .menu_villas_botao {
    display: flex !important;
    flex: 0 0 auto !important;
    align-items: stretch !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center;
  }
  .menu_villas_botao a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px clamp(5px, 1.4vw, 20px) !important;
    box-sizing: border-box;
    white-space: nowrap !important;
    font-size: clamp(0.78rem, 0.99vw, 1rem) !important;
    letter-spacing: clamp(0em, 0.5vw - 0.3rem, .02em) !important;
    text-transform: uppercase;
  }
}

/* ── Scrollspy active item ────────────────────────────────────── */
#menu_villas.fixed .menu_villas_botao.mv-active a {
  background: #fff;
  color: #2c2c2c;
}
/* Mobile: gold text instead of white background */
@media only screen and (max-width: 1150px) {
  #menu_villas .menu_villas_botao.mv-active a {
    color: #b38f00;
    background: transparent;
  }
}

/* ── Booking sidebar ──────────────────────────────────────────── */
#bookthisvilla {
  font-family: marcellus, sans-serif;
  font-size: .97rem;
  font-weight: 400;
  background: #faf8f3;
  border: 1px solid #ede8d8;
  border-top: 3px solid #b38f00;
  border-radius: 0 0 3px 3px;
  padding: 0;
  margin-top: 24px;
  box-shadow: 0 2px 14px rgba(0,0,0,.07);
  box-sizing: border-box;
}

.bookthisvilla_fixed {
  position: fixed;
  top: 70px;
  right: 0;
  z-index: 9999;
  box-shadow: -3px 0 20px rgba(0,0,0,.14), 0 4px 16px rgba(0,0,0,.1);
  border-radius: 0;
}

/* ── Content sections ─────────────────────────────────────────── */
.temavilla {
  padding: 40px 32px;
  border-bottom: 1px solid #f0ebe0;
  color: #555;
  font-size: 16px;
  line-height: 1.85;
}
.temavilla.tv-justify {
  text-align: justify;
}

/* ── Villa Highlights showcase ────────────────────────────────── */
.hl-showcase-wrap {
  margin: 36px 0 0;
  background: #faf8f3;
  border: 1px solid #ede8d8;
  border-radius: 3px;
  padding: 28px 28px 24px;
}
.hl-showcase-title {
  font-family: marcellus, sans-serif;
  font-size: 1.08rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #b38f00;
  text-align: center;
  margin-bottom: 16px;
}
.hl-showcase-divider {
  width: min(300px, 100%);
  height: 1px;
  background: #ccc;
  margin: 0 auto 24px;
}
.hl-showcase {
  display: flex;
  align-items: flex-start;
}
.hl-sc-item {
  flex: 1;
  padding: 0 20px;
  border-left: 1px solid #ede8d8;
  text-align: center;
}
.hl-sc-item:first-child { border-left: none; padding-left: 0; }
.hl-sc-item:last-child { padding-right: 0; }
.hl-sc-num {
  font-family: marcellus, sans-serif;
  font-size: 2.8rem;
  color: #e8dfc8;
  line-height: 1;
  margin-bottom: 10px;
}
.hl-sc-rule {
  width: 22px;
  height: 2px;
  background: #b38f00;
  margin: 0 auto 12px;
}
.hl-sc-text {
  font-family: marcellus, sans-serif;
  font-size: .78rem;
  letter-spacing: .04em;
  color: #555;
  line-height: 1.65;
}
@media (max-width: 760px) {
  .hl-showcase {
    flex-direction: column;
    gap: 0;
  }
  .hl-sc-item {
    border-left: none;
    border-top: 1px solid #ede8d8;
    padding: 18px 0 0;
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
  }
  .hl-sc-item:first-child { border-top: none; margin-top: 0; padding-top: 0; }
  .hl-sc-num { font-size: 2rem; margin-bottom: 0; min-width: 44px; flex-shrink: 0; }
  .hl-sc-rule { display: none; }
}

/* ── About the villa — read more ──────────────────────────────── */
#atv-wrap { position: relative; }
#atv-fade { display: none; }
.atv-sh { display: block; color: #b38f00; font-size: 1.1rem; /* font-weight: 600; */ font-style: italic; margin: 1.2em 0 0.3em; letter-spacing: .02em; }
#atv-text p { margin: 0; }
#atv-text p + p { margin-top: 1em; }
#atv-wrap.atv-collapsed #atv-text {
  max-height: 350px;
  overflow: hidden;
}
#atv-wrap.atv-collapsed #atv-fade {
  display: block;
  position: absolute;
  bottom: 40px;
  left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, #fff);
  pointer-events: none;
}
#atv-btn {
  display: block;
  margin: 10px auto 0;
  background: transparent;
  border: 1px solid #d4b96a;
  color: #b38f00;
  font-family: marcellus, sans-serif;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 8px 22px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
#atv-btn:hover { background: #b38f00; color: #fff; }

/* ── Section headings ─────────────────────────────────────────── */
.titulotema {
  font-family: marcellus, sans-serif;
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: .08em;
  color: #2c2c2c;
  border-top: none;
  border-bottom: 2px solid #b38f00;
  padding: 0 0 10px 0;
  margin-top: 0;
  margin-bottom: 20px;
  display: block;
  width: fit-content;
}

/* ── Full Details / Distances buttons ─────────────────────────── */
.botao_full_details {
  display: block;
  width: fit-content;
  margin: 22px auto 0;
  padding: 10px 28px;
  font-family: marcellus, sans-serif;
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #b38f00;
  text-decoration: none;
  border: 1px solid #d4b96a;
  border-radius: 3px;
  cursor: pointer;
  background: transparent;
  transition: background .2s, color .2s, border-color .2s;
}

.botao_full_details:hover {
  background: #b38f00;
  color: #fff;
  border-color: #b38f00;
  text-decoration: none;
}
.botao_full_details a {
  color: inherit;
  text-decoration: none;
}

/* ── Gallery ──────────────────────────────────────────────────── */
.pre_container_gallery {
  margin-left: 32px;
  background: transparent;
  border-radius: 3px;
  overflow: hidden;
}

.gallery_container,
.wrapper_gallery {
  background: #fff;
}

#gallery_counter {
  background: rgba(0,0,0,.62);
  color: #d9c87e;
  font-family: marcellus, sans-serif;
  font-size: .78rem;
  letter-spacing: .1em;
  border-radius: 3px;
  padding: 7px 14px;
  border: 1px solid rgba(212,185,106,.25);
}

.setas_gallery {
  border-color: rgba(255,255,255,.65);
  opacity: .85;
  transition: border-color .2s, opacity .2s;
}

.setas_gallery:hover {
  border-color: #d4b96a;
  opacity: 1;
}

#gallery_expand_btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(0,0,0,.52);
  border: 1px solid rgba(212,185,106,.35);
  border-radius: 3px;
  color: #d9c87e;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background .2s, border-color .2s;
  line-height: 1;
}
#gallery_expand_btn:hover {
  background: rgba(179,143,0,.75);
  border-color: #d4b96a;
}

#gallery_lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  align-items: center;
  justify-content: center;
}
#gallery_lightbox.open { display: flex; }

#gallery_lightbox_overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.88);
  cursor: zoom-out;
}

#gallery_lightbox_inner {
  position: relative;
  z-index: 1;
  max-width: 1500px;
  width: 95vw;
  display: flex;
  align-items: center;
  justify-content: center;
}

#gallery_lightbox_img {
  max-width: 100%;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 3px;
  box-shadow: 0 8px 40px rgba(0,0,0,.6);
  display: block;
}

#gallery_lightbox_close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 36px;
  height: 36px;
  background: #3a3835;
  border: 1px solid #d4b96a;
  border-radius: 50%;
  color: #d9c87e;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s;
  z-index: 3;
}
#gallery_lightbox_close:hover { background: #b38f00; }

#gallery_lightbox_prev,
#gallery_lightbox_next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.88);
  color: #b38f00;
  font-size: 2.2rem;
  width: 48px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, color .2s;
  z-index: 2;
  user-select: none;
}
#gallery_lightbox_prev { left: 0; border-radius: 3px 0 0 3px; }
#gallery_lightbox_next { right: 0; border-radius: 0 3px 3px 0; }
#gallery_lightbox_prev:hover,
#gallery_lightbox_next:hover { background: #fff; color: #9a7a00; }

#gallery_lightbox_counter {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,.62);
  color: #d9c87e;
  font-family: marcellus, sans-serif;
  font-size: .78rem;
  letter-spacing: .1em;
  padding: 6px 14px;
  border-radius: 3px;
  border: 1px solid rgba(212,185,106,.25);
  white-space: nowrap;
  z-index: 2;
}

/* ── Facilities ───────────────────────────────────────────────── */
.general_facilities {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.esquerda_facilities_villas {
  float: none;
  flex: 1;
  width: auto;
  margin-bottom: 0;
}

.direita_facilities_villas {
  float: none;
  flex: 1;
  width: auto;
  background: transparent;
  border: none;
  border-radius: 3px;
  padding: 18px;
  text-align: center;
  margin-top: 0;
}

.generaldesc_facilities {
  font-size: .93rem;
  color: #555;
  line-height: 1.8;
}

.ul_facilities {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  margin: 0 0 7px 0;
  padding: 10px 16px;
  font-family: marcellus, sans-serif;
  font-size: .88rem;
  color: #444;
  background: #faf8f3;
  border: 1px solid #ede8d8;
  border-radius: 3px;
  position: static;
  transition: background .2s, border-color .2s, transform .2s;
}

.ul_facilities::before {
  content: "";
  min-width: 7px;
  width: 7px;
  height: 7px;
  background: #b38f00;
  border-radius: 50%;
  opacity: .8;
  flex-shrink: 0;
}

.ul_facilities:hover {
  background: #fff;
  border-color: #d4b96a;
  transform: translateX(5px);
}

.icones_facilities {
  display: inline-block;
  width: 50px;
  height: 50px;
  margin: 5px;
  padding: 8px;
  background: #fff;
  border: 1px solid #ede8d8;
  border-radius: 3px;
  cursor: pointer;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  vertical-align: middle;
  overflow: visible;
}

.icones_facilities:hover {
  border-color: #b38f00;
  transform: scale(1.14);
  box-shadow: 0 2px 10px rgba(179,143,0,.18);
}

.icones_facilities > img {
  max-width: 100%;
  display: block;
}

.showtext_facilities {
  background: #1a1816;
  color: #d4b96a;
  border: 1px solid rgba(212,185,106,.28);
  border-radius: 3px;
  padding: 6px 13px;
  font-size: .82rem;
  font-family: marcellus, sans-serif;
  letter-spacing: .04em;
  box-shadow: 0 3px 10px rgba(0,0,0,.28);
  z-index: 5;
}

/* ── Full Details / Distances modals ──────────────────────────── */
#full_details,
#full_details_location {
  background: rgba(0,0,0,.52);
}

/* Ensure full details panels sit above the fixed menu bar (z-index 9500)
   and the gallery expand button (z-index 10) */
#full_details,
#full_details_2,
#full_details_location,
#full_details_alternativas {
  z-index: 9600 !important;
}
/* btf panels: same full-screen overlay behaviour as #full_details,
   plus z-index above menu (9500) and mobile booking overlay (9998) */
#htb_panel,
#bc_panel {
  display: none;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 47px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 10000 !important;
  animation-name: entradafulldetails;
  animation-iteration-count: 1;
  animation-timing-function: ease-out;
  animation-duration: 0.6s;
  overflow-y: auto;
}

.full_close {
  background: #fff;
  border-top: 3px solid #b38f00;
  border-radius: 3px 3px 0 0;
  box-shadow: 0 -4px 30px rgba(0,0,0,.22), 0 0 0 1px rgba(0,0,0,.08);
  margin-top: 50px !important;
}
.full_details_close_btn {
  position: absolute;
  top: -48px;
  right: 0;
  width: 36px;
  height: 36px;
  background: #3a3835;
  border: 1px solid #d4b96a;
  border-radius: 50%;
  color: #d9c87e;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s;
}
.full_details_close_btn:hover { background: #b38f00; }

.full_details_content {
  background: #fff;
  box-shadow: none;
  padding: 36px 40px 44px;
  border-radius: 0;
  border: none;
}

.full_details_content_titulo {
  font-family: marcellus, sans-serif;
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: .06em;
  color: #2c2c2c;
  text-align: left;
  border-bottom: 2px solid #b38f00;
  padding-bottom: 14px;
  margin-bottom: 28px;
}

.full_details_specs_titulo {
  font-family: marcellus, sans-serif;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #b38f00;
  border-top: 1px solid #f0ebe0;
  border-bottom: none;
  padding: 20px 0 6px;
  margin-top: 0;
  margin-bottom: 10px;
  text-align: left;
}

.full_details_specs_subtitle {
  font-family: marcellus, sans-serif;
  font-size: .8rem;
  font-weight: bold;
  color: #2c2c2c;
  letter-spacing: .04em;
  margin: 14px 0 6px;
}

.full_details_specs {
  color: #555;
  font-size: .92rem;
  line-height: 1.8;
  margin-bottom: 4px;
}

.ul_facilities_specs {
  display: block;
  list-style-type: none;
  margin-left: 0;
  margin-bottom: 6px;
  padding-left: 20px;
  position: relative;
}

.ul_facilities_specs::before {
  content: "";
  width: 7px;
  height: 7px;
  background: #b38f00;
  border-radius: 50%;
  opacity: .8;
  position: absolute;
  left: 0;
  top: .45em;
}

/* ── Panel links (How to Book / Booking Conditions) ─────────── */
#htb_panel .ul_panel_list a,
#htb_panel .ol_panel_list a,
#bc_panel .ul_panel_list a,
#bc_panel .ol_panel_list a {
  color: #b38f00;
  text-decoration: none;
}
#htb_panel .ul_panel_list a:hover,
#htb_panel .ol_panel_list a:hover,
#bc_panel .ul_panel_list a:hover,
#bc_panel .ol_panel_list a:hover {
  text-decoration: underline;
}

/* ── Panel list (How to Book / Booking Conditions) ───────────── */
.ul_panel_list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 16px;
}
.ul_panel_list li {
  position: relative;
  padding-left: 20px;
  font-size: .92rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 6px;
}
.ul_panel_list li::before {
  content: "";
  width: 7px;
  height: 7px;
  background: #b38f00;
  border-radius: 50%;
  opacity: .8;
  position: absolute;
  left: 0;
  top: .45em;
}

.ol_panel_list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 16px;
  counter-reset: panel-counter;
}
.ol_panel_list li {
  position: relative;
  padding-left: 24px;
  font-size: .92rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 6px;
  counter-increment: panel-counter;
}
.ol_panel_list li::before {
  content: counter(panel-counter) ".";
  position: absolute;
  left: 0;
  top: 0;
  color: #b38f00;
  font-family: marcellus, sans-serif;
  font-size: .82rem;
}

/* ── Location ─────────────────────────────────────────────────── */
.temavilla iframe {
  border-radius: 3px;
  box-shadow: 0 2px 14px rgba(0,0,0,.1);
  display: block;
}

.moradaegps {
  display: flex;
  gap: 0;
  margin-top: 28px;
  background: transparent;
  border: none;
}

.villa_address,
.gpscoordinates {
  float: none;
  flex: 1;
  width: auto;
  background: #fdfcf8;
  border: 1px solid #ede8d8;
  border-top: 3px solid #b38f00;
  border-radius: 0;
  padding: 0 24px 22px;
  text-align: left;
  font-size: .93rem;
  line-height: 1.85;
  color: #555;
  box-sizing: border-box;
  overflow: hidden;
}
.villa_address {
  border-radius: 3px 0 0 3px;
  border-right: none;
}
.gpscoordinates {
  border-radius: 0 3px 3px 0;
  border-left: none;
}

/* Dark header band — bleeds to card edges, icon left of label */
.villa_address b:first-of-type,
.gpscoordinates b:first-of-type {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #f5f2ea;
  color: #2c2c2c;
  font-family: marcellus, sans-serif;
  font-size: .82rem;
  font-weight: bold;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 0 -24px 22px;
  padding: 13px 24px;
}

/* Icons */
.villa_address b:first-of-type::before,
.gpscoordinates b:first-of-type::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.villa_address b:first-of-type::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c2c2c' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7z'/%3E%3Ccircle cx='12' cy='9' r='2.5'/%3E%3C/svg%3E");
}
.gpscoordinates b:first-of-type::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c2c2c' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cline x1='12' y1='2' x2='12' y2='7'/%3E%3Cline x1='12' y1='17' x2='12' y2='22'/%3E%3Cline x1='2' y1='12' x2='7' y2='12'/%3E%3Cline x1='17' y1='12' x2='22' y2='12'/%3E%3C/svg%3E");
}


/* ── Prices ───────────────────────────────────────────────────── */
.rates {
  font-family: marcellus, sans-serif;
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: .05em;
  color: #2c2c2c;
  text-align: left;
  margin-bottom: 20px;
  width: 100%;
}

#tabelas_precos {
  display: block;
}

/* Year selector tabs */
#precos_year_selector {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  justify-content: center;
}
.precos_year_btn {
  font-family: cinzel, serif;
  font-size: .88rem;
  font-weight: bold;
  letter-spacing: .08em;
  padding: 8px 28px;
  border: 1px solid #d4b96a;
  border-radius: 3px;
  background: #faf8f3;
  color: #b38f00;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.precos_year_btn.active,
.precos_year_btn:hover {
  background: #3a3835;
  color: #d9c87e;
}

.tabela_precos_single {
  width: 100%;
  background: #fff;
  border: 1px solid #ede8d8;
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.linha_precos {
  display: flex;
  border-bottom: 1px solid #f0ebe0;
}

.linha_precos:last-child {
  border-bottom: none;
}

.celula_precos_header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  padding: 11px 16px;
  background: #3a3835;
  color: #d9c87e;
  font-family: marcellus, sans-serif;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  border-bottom: none;
}

.celula_precos_header:first-child {
  flex: 4;
  justify-content: flex-start;
}

.celula_precos_header:last-child {
  flex: 2;
}

.ano_tabela_precos {
  text-align: center;
  font-family: cinzel, serif;
  font-size: 1.1rem;
  font-weight: bold;
  color: #b38f00;
  padding: 0 0 10px 0;
  letter-spacing: .08em;
}

.celula_precos_ano {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  padding: 8px 16px;
  background: #faf8f3;
  color: #b38f00;
  font-family: cinzel, serif;
  font-size: .85rem;
  font-weight: 600;
  border-bottom: none;
}

.celula_precos_ano:first-child {
  flex: 2;
  justify-content: flex-start;
}

.celula_precos {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  padding: 9px 16px;
  font-family: cinzel, serif;
  font-size: .9rem;
  color: #555;
  border-bottom: none;
  min-width: 0;
  background: #fff;
  text-align: right;
  white-space: nowrap;
}

.celula_precos:first-child {
  flex: 4;
  justify-content: flex-start;
  color: #2c2c2c;
  text-align: left;
  white-space: normal;
}

/* ── Prices pagination nav ─────────────────────────────────────── */
.precos_nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 0 6px;
  margin-top: auto;
}
.precos_nav_indicator {
  font-family: marcellus, sans-serif;
  font-size: .82rem;
  color: #666;
  min-width: 40px;
  text-align: center;
  letter-spacing: .05em;
}
.precos_nav_btn {
  width: 34px;
  height: 34px;
  padding: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.precos_nav_btn:disabled {
  opacity: .35;
  cursor: default !important;
  pointer-events: none;
}

.celula_precos_notes,
.celula_precos_header_notes {
  flex: 0 0 90px !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 4px;
}
.celula_precos_header_notes {
  color: #fff;
}

.celula_precos:last-child {
  flex: 2;
}

.linha_precos:nth-child(even) .celula_precos {
  background: #fdfcf8;
}

/* ── Prices footnotes ─────────────────────────────────────────── */
#prices_footnotes {
  margin-top: 20px;
  font-size: .9rem;
}
.pn-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  /* border: 1px solid #ede8d8; */
  border-bottom: 1px solid #ede8d8;
  border-radius: 3px;
  padding: 10px 16px;
  margin-bottom: 8px;
}
.pn-letter {
  min-width: 24px;
  height: 24px;
  background: #b38f00;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  flex-shrink: 0;
}
/* Clickable letters inside the prices table */
.celula_precos_notes .pn-letter {
  cursor: pointer;
  transition: background .2s, transform .2s;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}
.celula_precos_notes .pn-letter:hover { background: #9e8e52; transform: scale(1.15); }

/* Footnote popup tooltip */
#pn-tooltip {
  display: none;
  position: fixed;
  max-width: 280px;
  background: #3a3835;
  color: #f0ebe0;
  font-size: .8rem;
  line-height: 1.6;
  padding: 10px 14px;
  border-radius: 3px;
  border: 1px solid #d4b96a;
  pointer-events: none;
  z-index: 999999;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
}
#pn-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #3a3835;
}
/* Mobile: fixed bottom bar (avoids viewport positioning issues) */
@media (max-width: 960px) {
  #pn-tooltip {
    left: 12px !important;
    right: 12px !important;
    bottom: 62px !important;
    top: auto !important;
    max-width: calc(100% - 24px) !important;
    border-radius: 6px !important;
    text-align: left !important;
  }
  #pn-tooltip::after { display: none; }
}
.pn-para-grid {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0 20px;
  margin-top: 14px;
  margin-bottom: 14px;
  align-items: baseline;
  border-bottom: 1px solid #ede8d8;
  padding-bottom: 4px;
}
.pn-para-row {
  display: contents;
}
.pn-para-label {
  padding: 10px 0;
  color: #2c2c2c;
  font-weight: bold;
  white-space: nowrap;
}
.pn-para-desc {
  padding: 10px 0;
  color: #555;
}
.pn-para-divider {
  grid-column: 1 / -1;
  border-bottom: 1px solid #f0ebe0;
}
/* Card variant — same look as .detalhes_precos */
.pn-para-grid.pn-para-card {
  background: #faf8f3;
  border-left: 3px solid #b38f00;
  border-radius: 0 3px 3px 0;
  padding: 14px 18px;
}

/* Wrapper for "Additional information" block in About the Villa */
.ai-wrapper {
  background: #faf8f3;
  border-radius: 0 3px 3px 0;
  padding: 14px 18px;
  margin-top: 24px;
  margin-bottom: 7px;
}
.ai-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
  margin-top: 0;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  font-size: 0.94rem;
}
.ai-badge {
  min-width: 24px;
  width: 24px;
  height: 24px;
  background: #b38f00;
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: bold;
  flex-shrink: 0;
}
/* Grid inside ai-wrapper: border aligns with badge centre, labels get breathing room */
.ai-wrapper .pn-para-grid {
  border-left: 3px solid #b38f00;
  margin-top: 14px;
  margin-bottom: 0;
  margin-left: 12px;
  padding-left: 10px;
}

.detalhes_precos {
  display: block;
  margin-top: 20px;
  padding: 14px 18px;
  background: #faf8f3;
  border-left: 3px solid #b38f00;
  border-radius: 0 3px 3px 0;
  font-size: .87rem;
  color: #666;
  line-height: 1.8;
}

.detalhes_precos_item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 4px;
}
.detalhes_precos_item::before {
  content: "";
  min-width: 7px;
  width: 7px;
  height: 7px;
  background: #b38f00;
  border-radius: 50%;
  opacity: .8;
  flex-shrink: 0;
  margin-top: .45em;
}

/* ── Availability legend ──────────────────────────────────────── */
.available,
.notavailable {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  float: none;
  padding: 6px 18px 6px 0;
  margin-bottom: 4px;
  margin-right: 8px;
}

.available_cor {
  display: block;
  width: 20px;
  height: 20px;
  background: #a5d6a7;
  border-radius: 2px;
  border: 1px solid #81c784;
}

.notavailable_cor {
  display: block;
  width: 20px;
  height: 20px;
  background: #ef9a9a;
  border-radius: 2px;
  border: 1px solid #e57373;
}

.available_text,
.notavailable_text {
  display: block;
  font-size: .87rem;
  color: #555;
  padding: 0;
  vertical-align: middle;
}

/* ── Calendar ─────────────────────────────────────────────────── */
.w3-content {
  margin-top: 24px;
}

.mySlides_calendar {
  flex-wrap: wrap;
  align-items: flex-start;
}

.todos {
  width: 33.33%;
  padding: 10px;
  box-sizing: border-box;
}

.month {
  background: #3a3835;
  color: #fff;
  padding: 14px 10px;
  border-radius: 3px 3px 0 0;
  box-shadow: none;
}

.month ul li {
  color: #fff;
  font-family: marcellus, sans-serif;
  font-size: 1rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ano_calendar {
  font-size: .86rem;
  color: #d4b96a;
  letter-spacing: .08em;
}

.weekdays {
  background: #faf8f3;
  padding: 6px 2%;
  box-shadow: none;
  border-bottom: 1px solid #f0ebe0;
}

.weekdays li {
  color: #666;
  font-size: .72rem;
  letter-spacing: .02em;
  font-family: marcellus, sans-serif;
}

.days {
  background: #fff;
  padding: 4px 2%;
  box-shadow: none;
  border: 1px solid #f0ebe0;
  border-top: none;
  border-radius: 0 0 3px 3px;
}

.days li {
  color: #2c2c2c;
  font-size: .78rem;
  border-right: 1px solid #f0ebe0;
  font-family: marcellus, sans-serif;
}

.days li .left  { padding: 4px 0; }
.days li .right { padding: 4px 0; }

.days li .active    { background: #ef9a9a; color: #7f0000; }
.days li .nonactive { background: #a5d6a7; color: #1b5e20; }

/* Check-in day (left=green, right=red): oblique diagonal split */
.days li:has(.left.nonactive + .right.active) {
  background: linear-gradient(135deg, #a5d6a7 50%, #ef9a9a 50%);
}
.days li:has(.left.nonactive + .right.active) .left,
.days li:has(.left.nonactive + .right.active) .right {
  background: transparent !important;
}

/* Check-out day (left=red, right=green): oblique diagonal split */
.days li:has(.left.active + .right.nonactive) {
  background: linear-gradient(135deg, #ef9a9a 50%, #a5d6a7 50%);
}
.days li:has(.left.active + .right.nonactive) .left,
.days li:has(.left.active + .right.nonactive) .right {
  background: transparent !important;
}

.w3-center {
  margin: 14px 0 20px;
  text-align: center;
}

.w3-section { margin-bottom: 6px; }

.w3-button {
  padding: 9px 15px;
  border: 1px solid #555;
  cursor: pointer;
  font-family: marcellus, sans-serif;
  font-size: .82rem;
  background: #5a5a5a;
  color: #d9c87e;
  box-shadow: none;
  border-radius: 3px;
  transition: background .2s, color .2s, border-color .2s;
  margin: 2px;
}

.w3-red,
.w3-button:hover {
  color: #fff !important;
  background-color: #b38f00 !important;
  border-color: #b38f00 !important;
}

/* ── Booking form (desktop + mobile) ─────────────────────────── */
#bookthisvilla {
  padding: 0 18px;
  font-size: .88rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
  overflow-wrap: break-word;
  word-break: break-word;
}
.btv-header-bar {
  background: #3a3835;
  color: #d9c87e;
  padding: 10px 18px 8px;
  margin: 0 -18px;
  font-size: .88rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
}

.formbookthisvilla {
  background: #fff;
  color: #2c2c2c;
  font-family: marcellus, sans-serif;
  padding: 9px 20px 20px;
  box-shadow: none;
  margin: 0 -18px 0;
  width: auto;
  box-sizing: border-box;
  border-top: none;
  border-radius: 0 0 3px 3px;
}

.fromXprice {
  float: none;
  display: block;
  width: auto;
  background: transparent;
  color: #888;
  font-family: marcellus, sans-serif;
  font-size: .82rem;
  letter-spacing: .04em;
  text-align: left;
  padding: 0 0 14px 0;
  margin-bottom: 14px;
  box-sizing: border-box;
  border-radius: 0;
  border-bottom: 1px solid #f0ebe0;
}

.formbookthisvilla_checkin,
.formbookthisvilla_checkout {
  font-family: marcellus, sans-serif;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 0;
}

.formbookthisvilla_checkinout_input {
  width: 95%;
  height: 36px;
  border: 1px solid #ede8d8;
  border-radius: 3px;
  background: #fff;
  font-family: marcellus, sans-serif;
  font-size: .88rem;
  color: #2c2c2c;
  padding: 0 10px;
  margin-top: 6px;
  box-sizing: border-box;
  transition: border-color .2s;
}

.formbookthisvilla_checkinout_input:focus {
  outline: none;
  border-color: #b38f00;
  box-shadow: 0 0 0 2px rgba(179,143,0,.12);
}

.formbookthisvilla_continuebutton {
  background: #b38f00;
  color: #fff;
  font-family: marcellus, sans-serif;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: none;
  height: 44px;
  width: 100%;
  margin-top: 16px;
  cursor: pointer;
  border-radius: 3px;
  transition: background .2s;
}

.formbookthisvilla_continuebutton:hover {
  background: #9a7a00;
}

.bycontinuing {
  font-family: marcellus, sans-serif;
  font-size: .78rem;
  color: #888;
  line-height: 1.65;
  display: block;
  margin-top: 12px;
}

.bycontinuing a,
.go_prices {
  color: #b38f00;
  text-decoration: none;
}

.bycontinuing a:hover,
.go_prices:hover {
  text-decoration: underline;
}

/* ── Prices section CTA ─────────────────────────────────────────── */
.prices-cta {
  margin-top: 20px;
  padding-top: 24px;
  border-top: 1px solid #f0ebe0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.prices-cta-text {
  color: #666;
  font-size: .95rem;
  font-style: italic;
}
.prices-cta-btn {
  background: transparent;
  border: 1px solid #d4b96a;
  color: #b38f00;
  padding: 10px 28px;
  font-family: marcellus, sans-serif;
  font-size: .95rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 3px;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.prices-cta-btn:hover {
  background: #b38f00;
  color: #fff;
}

/* ── Sidebar backdrop + centred state ───────────────────────────── */
#btvw-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.32);
  z-index: 8999;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
  cursor: pointer;
}
#btvw-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}
#btvw.btvw-centered {
  z-index: 9000 !important;
  box-shadow: 0 12px 48px rgba(0,0,0,0.22) !important;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}

/* ── Sidebar zoom + glow when CTA clicked ───────────────────────── */
@keyframes btvw-zoom {
  0%   { transform: scale(1); }
  50%  { transform: scale(0.75); }
  100% { transform: scale(1); }
}
#btvw.btvw-shake {
  animation: btvw-zoom 0.8s ease-in-out;
  transform-origin: center;
}
#bookthisvilla.btvw-glow {
  outline: 2px solid #b38f00;
  outline-offset: 3px;
  box-shadow: 0 0 18px rgba(179,143,0,.35);
  transition: outline .3s, box-shadow .3s;
}
#bookthisvilla.btvw-glow-off {
  outline: 2px solid transparent;
  outline-offset: 3px;
  box-shadow: none;
  transition: outline .6s, box-shadow .6s;
}

#mostrar_disponibilidade,
#mostrar_disponibilidade_mobile {
  border-radius: 3px;
  font-size: .85rem;
  margin-top: 12px;
}

/* ── Quote calculator ─────────────────────────────────────────── */
.bfv_getquote_link {
  color: #b38f00;
  font-size: .72rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid #d4b96a;
  padding: 3px 8px;
  border-radius: 2px;
  white-space: nowrap;
  font-family: marcellus, sans-serif;
  transition: background .2s, color .2s;
}
.bfv_getquote_link::after {
  content: " →";
  letter-spacing: 0;
}
.bfv_getquote_link:hover {
  background: #b38f00;
  border-color: #b38f00;
  color: #fff;
}

#bfv_quote_section,
#bfvm_quote_section { margin-top: 0; }

#bfv_tooltip,
#bfvm_tooltip {
  background: #2c2c2c;
  color: #d9c87e;
  font-size: .74rem;
  padding: 9px 13px;
  border-radius: 3px;
  margin-top: 5px;
  margin-bottom: 5px;
  line-height: 1.5;
  letter-spacing: .02em;
}

.bfv_person_row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
  font-size: .8rem;
  color: #555;
  font-family: marcellus, sans-serif;
  letter-spacing: .03em;
}
.bfv_person_row small { color: #999; font-size: .7rem; }
.bfv_person_row select {
  border: 1px solid #ede8d8;
  padding: 4px 6px;
  font-family: marcellus, sans-serif;
  font-size: .8rem;
  color: #2c2c2c;
  background: #faf8f3;
  width: 64px;
}

#bfv_occ_warning,
#bfvm_occ_warning {
  background: #fff8e1;
  border-left: 3px solid #b38f00;
  padding: 8px 11px;
  font-size: .74rem;
  color: #7a5c00;
  margin: 8px 0;
  border-radius: 2px;
  line-height: 1.5;
  transition: opacity .5s;
}

#bfv_calc_btn,
#bfvm_calc_btn {
  width: 100%;
  background: #b38f00;
  color: #fff;
  border: none;
  padding: 11px;
  font-family: marcellus, sans-serif;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: .38;
  pointer-events: none;
}
#bfv_calc_btn  { margin-top: 5px; }
#bfvm_calc_btn { margin-top: 8px; }
#bfv_calc_btn.bfv_ready,
#bfvm_calc_btn.bfv_ready { opacity: 1; pointer-events: auto; }

#bfv_quote_result {
  margin-top: 8px;
  background: #faf8f3;
  border: 1px solid #ede8d8;
  border-top: 3px solid #b38f00;
  padding: 10px;
  border-radius: 3px;
}
#bfvm_quote_result {
  margin-top: 12px;
  background: #faf8f3;
  border: 1px solid #ede8d8;
  border-top: 3px solid #b38f00;
  padding: 14px;
  border-radius: 3px;
}

.bfv_result_row {
  display: flex;
  justify-content: space-between;
  font-size: .78rem;
  color: #555;
  padding: 1px 0;
  border-bottom: 1px solid #f0ebe0;
  font-family: marcellus, sans-serif;
}
.bfv_result_row:last-of-type { border-bottom: none; }

.bfv_num {
  font-size: .84rem;
  font-family: cinzel, serif;
  letter-spacing: .03em;
}
.bfv_lbl { font-size: .88em; }

.bfv_result_total {
  display: flex;
  justify-content: space-between;
  font-size: .95rem;
  color: #b38f00;
  font-family: marcellus, sans-serif;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 2px solid #b38f00;
}

.bfv_result_info {
  font-size: .72rem;
  color: #888;
  margin-top: 5px;
  font-style: italic;
  line-height: 1.5;
  font-family: marcellus, sans-serif;
}
.bfv_result_info.bfv_warn { color: #b85c00; }

#bfv_enquiry_btn,
#bfvm_enquiry_btn {
  width: 100%;
  background: #b38f00;
  color: #fff;
  border: none;
  padding: 11px;
  font-family: marcellus, sans-serif;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 5px;
  transition: background .2s;
}
#bfv_enquiry_btn:hover,
#bfvm_enquiry_btn:hover { background: #9a7a00; }

.bfv_recalc {
  display: block;
  text-align: center;
  font-size: .72rem;
  color: #999;
  cursor: pointer;
  margin-top: 7px;
  text-decoration: underline;
  font-family: marcellus, sans-serif;
}
.bfv_recalc:hover { color: #555; }

.bfv_result_sub {
  font-size: .78em;
  color: #8a6d00;
  font-weight: normal;
  font-family: marcellus, sans-serif;
  letter-spacing: normal;
}

#bfv_total_val {
  font-family: cinzel, serif;
  letter-spacing: .03em;
}

.bfv_optional_row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1px 0;
  border-bottom: 1px solid #f0ebe0;
  font-size: .78rem;
  color: #555;
  font-family: marcellus, sans-serif;
}

.bfv_opt_right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bfv_opt_check {
  cursor: pointer;
  accent-color: #b38f00;
  -webkit-appearance: checkbox;
  -moz-appearance: checkbox;
  appearance: checkbox;
  width: 15px;
  height: 15px;
  min-width: 15px;
  min-height: 15px;
  flex-shrink: 0;
  display: inline-block;
  opacity: 1 !important;
  visibility: visible !important;
}
.bfv_opt_price {
  color: #b38f00;
  min-width: 58px;
  text-align: right;
  white-space: nowrap;
}
.bfv_opt_price.bfv_opt_strike {
  color: #bbb;
  text-decoration: line-through;
}
.bfv_opt_label small {
  color: #999;
  font-size: .78em;
}

#bfv_summary_line,
#bfvm_summary_line {
  font-size: .78rem;
  color: #555;
  font-family: marcellus, sans-serif;
  padding: 0 0 10px;
  border-bottom: 1px solid #f0ebe0;
  margin-bottom: 10px;
  letter-spacing: .02em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#bfv_summary_line .bfv_sl_info,
#bfvm_summary_line .bfv_sl_info { flex: 1; }
#bfv_summary_line .bfv_sl_info span,
#bfvm_summary_line .bfv_sl_info span { color: #b38f00; }
#bfv_summary_line .bfv_sl_cancel,
#bfvm_summary_line .bfv_sl_cancel {
  color: #b38f00;
  font-size: .72rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  cursor: pointer;
  border-bottom: 1px solid #d4b96a;
  padding-bottom: 1px;
  white-space: nowrap;
  margin-left: 12px;
}
#bfv_summary_line .bfv_sl_cancel:hover,
#bfvm_summary_line .bfv_sl_cancel:hover { color: #8a6d00; }

/* ── Mobile booking button ────────────────────────────────────── */
#bookthisvilla_mobile_botao {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: transparent;
  align-items: stretch;
  text-decoration: none;
  box-shadow: 0 -2px 12px rgba(0,0,0,.18);
  z-index: 20;
}
@media only screen and (max-width: 1150px) {
  #bookthisvilla_mobile_botao { display: flex; padding: 0; }

  #menu_villas {
    background: #fff;
    border-bottom: none !important;
    padding: 0;
  }

  .menu_villas_botao {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #f0ebe0;
    box-sizing: border-box;
  }

  .menu_villas_botao:last-child {
    border-bottom: none;
  }

  .menu_villas_botao::before {
    content: '‹';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #b38f00;
    font-size: 1.5rem;
    line-height: 1;
  }

  .menu_villas_botao::after {
    content: '›';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #b38f00;
    font-size: 1.5rem;
    line-height: 1;
  }

  .menu_villas_botao a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    width: 100%;
    padding: 15px 40px 15px calc(50% - 85px);
    color: #2c2c2c;
    font-family: marcellus, sans-serif;
    font-size: .92rem;
    letter-spacing: .05em;
    text-decoration: none;
    text-transform: uppercase;
    box-sizing: border-box;
  }

  .menu_villas_botao a::before { content: none; }
  .menu_villas_botao a::after  { content: none; }

  .menu_villas_botao a:hover {
    color: #b38f00;
    background: #faf8f3;
  }

  .menu_villas_botao:hover {
    font-weight: normal;
  }
}
.mbb-enquiry,
.mbb-call {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  gap: 8px;
  flex: 1;
  padding: 17px 12px;
  box-sizing: border-box;
  font-family: marcellus, sans-serif;
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  transition: background .2s;
}

.mbb-enquiry {
  background: #b38f00;
  border-right: 1px solid rgba(255,255,255,.2);
}
.mbb-enquiry:hover { background: #9a7a00; }

.mbb-call {
  background: #2c2c2c;
}
.mbb-call:hover { background: #2c2c2c; color: #b38f00; text-decoration: none; }

.mbb-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: #fff;
}
@media only screen and (max-width: 410px) {
  .mbb-enquiry, .mbb-call { font-size: .72rem; gap: 5px; }
}

#bookthisvilla_full_mobile {
  display: none;
  background: #3a3835;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 47px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9998;
  overflow-y: auto;
  animation-name: entradabookingmobile;
  animation-iteration-count: 1;
  animation-timing-function: ease-out;
  animation-duration: 0.6s;
}
@keyframes entradabookingmobile {
  0%   { background: transparent; }
  100% { background: #3a3835; }
}
#bfm-inner {
  position: relative;
  margin: 0 5%;
  width: 90%;
  top: 44px;
}
#bfm-inner .full_details_close_btn {
  top: -41px;
  right: 0;
  z-index: 10000;
}
#bfm-inner #bookthisvilla_mobile {
  display: block;
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media only screen and (max-width: 960px) {
  .titulovilla { font-size: 2.4rem; padding: 22px 18px 14px; border-bottom: none; }
  .titulovilla_desc { font-size: .87rem; }
  .temavilla { padding: 28px 18px; }
  .titulotema { font-size: 1.15rem; }
  .pre_container_gallery { margin-left: 0; }

  .moradaegps {
    flex-direction: column;
    gap: 14px;
  }

  .villa_address,
  .gpscoordinates {
    width: 100%;
    float: none;
    border-right: none;
  }

  .general_facilities {
    flex-direction: column;
    gap: 20px;
  }

  .esquerda_facilities_villas,
  .direita_facilities_villas {
    flex: none;
    width: 100%;
  }

  #tabelas_precos { flex-direction: column; gap: 16px; }

  /* Stack label above description on mobile instead of side-by-side */
  .pn-para-grid {
    grid-template-columns: 1fr;
  }
  .pn-para-label {
    white-space: normal;
    padding-bottom: 2px;
  }
  .pn-para-desc {
    padding-top: 0;
  }

}

@media only screen and (max-width: 805px) {
  .titulotema { font-size: 1.1rem; }
}

@media only screen and (max-width: 700px) {
  .titulovilla { font-size: 2.0rem; }
}

@media only screen and (max-width: 900px) {
  .todos { width: 50%; }
}

@media only screen and (max-width: 610px) {
  .todos { width: 100%; padding: 6px 2px; }
  .moradaegps { flex-direction: column; }
  .villa_address, .gpscoordinates { width: 100%; }
  .icones_facilities { width: 44px; height: 44px; padding: 6px; }
}

@media only screen and (max-width: 450px) {
  .titulovilla { font-size: 1.7rem; }
  .titulovilla_desc { font-size: .65rem; }
  .celula_precos { font-size: .8rem; }
}

@media only screen and (max-width: 515px) {
  /* Hide DAILY column — 2nd child in every row including header */
  .linha_precos > *:nth-child(2) { display: none !important; }
  /* Tighten NOTES badge column */
  .celula_precos_notes,
  .celula_precos_header_notes { flex: 0 0 52px !important; }
  /* Slightly smaller font for price cells */
  .celula_precos { font-size: .78rem; }
  .celula_precos_header { font-size: .78rem; }
}

/* ── Datepicker availability colours (match villa calendar) ──── */
/* Remove cell borders */
.ui-datepicker table {
  border-collapse: collapse !important;
  border-spacing: 0 !important;
}
.ui-datepicker td,
.ui-datepicker th {
  border: none !important;
  padding: 1px !important;
}
.ui-datepicker td a,
.ui-datepicker td span {
  border: none !important;
}

/* Available days — green */
.ui-datepicker td a,
.ui-datepicker td span {
  background: #a5d6a7 !important;
  color: #1b5e20 !important;
  border: none !important;
  border-radius: 2px;
  outline: none !important;
}
/* Fully booked — red */
.ui-datepicker td.dp-booked a,
.ui-datepicker td.dp-booked span {
  background: #ef9a9a !important;
  color: #7f0000 !important;
  border-radius: 2px;
  text-decoration: line-through !important;
}
/* Check-in day: left=available (green), right=booked (red) */
.ui-datepicker td.dp-checkin-day a,
.ui-datepicker td.dp-checkin-day span {
  background: linear-gradient(135deg, #a5d6a7 50%, #ef9a9a 50%) !important;
  color: #2c2c2c !important;
  border-radius: 2px;
}
/* Check-out day: left=booked (red), right=available (green) */
.ui-datepicker td.dp-checkout-day a,
.ui-datepicker td.dp-checkout-day span {
  background: linear-gradient(135deg, #ef9a9a 50%, #a5d6a7 50%) !important;
  color: #2c2c2c !important;
  border-radius: 2px;
}

/* ── Selected-day states ──────────────────────────────────────── */
/* Selected as check-in — normal available day: left=green, right=dark gold */
.ui-datepicker td.dp-selected-checkin a,
.ui-datepicker td.dp-selected-checkin span {
  background: linear-gradient(135deg, #a5d6a7 50%, #9e8e52 50%) !important;
  color: #fff !important; font-weight: bold !important;
  border-radius: 2px;
}
/* Selected as check-in on a checkout boundary: left=red, right=dark gold */
.ui-datepicker td.dp-selected-checkin.dp-checkout-day a,
.ui-datepicker td.dp-selected-checkin.dp-checkout-day span {
  background: linear-gradient(135deg, #ef9a9a 50%, #9e8e52 50%) !important;
  color: #fff !important; font-weight: bold !important;
  border-radius: 2px;
}
/* Selected as check-out — normal available day: left=dark gold, right=green */
.ui-datepicker td.dp-selected-checkout a,
.ui-datepicker td.dp-selected-checkout span {
  background: linear-gradient(135deg, #9e8e52 50%, #a5d6a7 50%) !important;
  color: #fff !important; font-weight: bold !important;
  border-radius: 2px;
}
/* Selected as check-out on a checkin boundary: left=dark gold, right=red */
.ui-datepicker td.dp-selected-checkout.dp-checkin-day a,
.ui-datepicker td.dp-selected-checkout.dp-checkin-day span {
  background: linear-gradient(135deg, #9e8e52 50%, #ef9a9a 50%) !important;
  color: #fff !important; font-weight: bold !important;
  border-radius: 2px;
}

/* ── Persistent range (days between check-in and check-out) ──── */
.ui-datepicker td.dp-in-range a,
.ui-datepicker td.dp-in-range span {
  background: #c9b97a !important;
  color: #fff !important; font-weight: bold !important;
  border-radius: 2px;
}

/* ── Range hover (checkout picker: days from check-in to cursor) ── */
.ui-datepicker td.dp-range-hover a,
.ui-datepicker td.dp-range-hover span {
  background: #c9b97a !important;
  color: #fff !important; font-weight: bold !important;
  border-radius: 2px;
}
/* Hovered day (potential check-out): left=gold, right=available green */
.ui-datepicker td.dp-range-end a,
.ui-datepicker td.dp-range-end span {
  background: linear-gradient(135deg, #c9b97a 50%, #a5d6a7 50%) !important;
  color: #fff !important; font-weight: bold !important;
  border-radius: 2px;
}
/* Hovered day is a check-in boundary or fully booked: right=red */
.ui-datepicker td.dp-range-end.dp-checkin-day a,
.ui-datepicker td.dp-range-end.dp-checkin-day span,
.ui-datepicker td.dp-range-end.dp-booked a,
.ui-datepicker td.dp-range-end.dp-booked span {
  background: linear-gradient(135deg, #c9b97a 50%, #ef9a9a 50%) !important;
  color: #fff !important; font-weight: bold !important;
  border-radius: 2px;
}
/* Check-in picker hover: left=green, right=gold */
.ui-datepicker td.dp-hover-checkin a,
.ui-datepicker td.dp-hover-checkin span {
  background: linear-gradient(135deg, #a5d6a7 50%, #c9b97a 50%) !important;
  color: #fff !important; font-weight: bold !important;
  border-radius: 2px;
}
/* Check-in picker hover on a checkout boundary: left=red, right=gold */
.ui-datepicker td.dp-hover-checkin.dp-checkout-day a,
.ui-datepicker td.dp-hover-checkin.dp-checkout-day span {
  background: linear-gradient(135deg, #ef9a9a 50%, #c9b97a 50%) !important;
  color: #fff !important; font-weight: bold !important;
  border-radius: 2px;
}
/* Check-out picker hover: left=gold, right=green */
.ui-datepicker td.dp-hover-checkout a,
.ui-datepicker td.dp-hover-checkout span {
  background: linear-gradient(135deg, #c9b97a 50%, #a5d6a7 50%) !important;
  color: #fff !important; font-weight: bold !important;
  border-radius: 2px;
}
/* Check-out picker hover on a checkin boundary: left=gold, right=red */
.ui-datepicker td.dp-hover-checkout.dp-checkin-day a,
.ui-datepicker td.dp-hover-checkout.dp-checkin-day span {
  background: linear-gradient(135deg, #c9b97a 50%, #ef9a9a 50%) !important;
  color: #fff !important; font-weight: bold !important;
  border-radius: 2px;
}
/* Freed days — days released from old range while hovering a new date */
.ui-datepicker td.dp-freed a,
.ui-datepicker td.dp-freed span {
  background: #a5d6a7 !important;
  color: #1b5e20 !important;
  border-radius: 2px;
}

/* ── Nights tooltip ───────────────────────────────────────────── */
#dp-nights-tip {
  display: none;
  position: fixed;
  background: #3a3835;
  color: #d9c87e;
  font-size: .76rem;
  letter-spacing: .05em;
  padding: 4px 9px;
  border-radius: 3px;
  border: 1px solid #d4b96a;
  pointer-events: none;
  z-index: 999999;
  white-space: nowrap;
}
#dp-nights-tip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #3a3835;
}

/* ── Reviews ──────────────────────────────────────────────────── */
.reviews_wrap {
  margin-top: 4px;
}

.reviews_table {
  background: #faf8f3;
  border: 1px solid #ede8d8;
  border-left: 3px solid #b38f00;
  border-radius: 3px;
  padding: 18px 22px 12px;
  margin-bottom: 8px;
  box-sizing: border-box;
}

.reviews_row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.reviews_cell1_left {
  display: none;
}

.reviews_cell1_right {
  font-family: marcellus, sans-serif;
  font-size: .95rem;
  color: #2c2c2c;
  letter-spacing: .04em;
  flex: 1;
  text-align: left;
}

.reviews_cell2_left {
  font-family: marcellus, sans-serif;
  font-size: 1rem;
  color: #2c2c2c;
  letter-spacing: .02em;
  font-style: italic;
  flex: 1;
}

.reviews_cell2_right {
  color: #b38f00;
  font-size: .95rem;
  letter-spacing: .1em;
  white-space: nowrap;
}

.reviews_comments {
  font-family: marcellus, sans-serif;
  font-size: .9rem;
  color: #555;
  line-height: 1.85;
  margin: 12px 0 10px;
}

.reviews_dates {
  display: flex;
  gap: 28px;
  border-top: 1px solid #f0ebe0;
  padding-top: 10px;
  margin-top: 6px;
  margin-bottom: 20px;
}

.reviews_dates_stay,
.reviews_dates_sent {
  font-family: marcellus, sans-serif;
  font-size: .78rem;
  color: #888;
  letter-spacing: .03em;
}

#show_more_reviews {
  font-family: marcellus, sans-serif;
  font-size: 0; /* collapse [+] text node and <br> */
  color: #b38f00 !important;
  font-weight: normal !important;
}

#show_more_reviews .clear {
  display: none;
}

#show_more_reviews > div:not(.clear) {
  display: inline-block;
  font-size: .85rem;
  letter-spacing: .06em;
  border: 1px solid #d4b96a !important;
  border-radius: 3px !important;
  padding: 8px 20px !important;
  transition: background .2s, color .2s;
}

#show_more_reviews > div:not(.clear):hover {
  background: #b38f00;
  color: #fff;
}

/* ── Reviews form — hidden in place, shown via modal ─────────── */
.reviews_form_wrap { display: none; }

/* ── Review modal & backdrop ──────────────────────────────────── */
#rv-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.38);
  z-index: 8998;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  cursor: pointer;
}
#rv-backdrop.active { opacity: 1; pointer-events: auto; }
#rv-modal {
  position: fixed;
  inset: 0;
  z-index: 8999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
#rv-modal-inner {
  background: #faf8f3;
  border-top: 3px solid #b38f00;
  border-radius: 0 0 3px 3px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.22);
  width: min(520px, calc(100vw - 48px));
  max-height: 80vh;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0;
  box-sizing: border-box;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.96) translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
#rv-modal-inner.active {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}
/* Form sits flush inside modal */
#rv-modal-inner .reviews_form_wrap {
  margin-top: 0;
  border: none;
  border-radius: 0;
  padding: 20px 20px 18px;
  box-sizing: border-box;
  width: 100%;
}
#rv-modal-inner .reviews_form_wrap * { box-sizing: border-box; }
#rv-modal-inner .reviews_form_wrap br { display: none; }
/* Uniform label font-size */
#rv-modal-inner .reviews_form_reviewthisvilla { font-size: .88rem; margin-bottom: 12px; }
#rv-modal-inner .reviews_form_nome_wrap,
#rv-modal-inner .reviews_form_mail_wrap,
#rv-modal-inner .reviews_form_date_wrap,
#rv-modal-inner .reviews_form_rate,
#rv-modal-inner .reviews_form_ratestar,
#rv-modal-inner b { font-size: .8rem; }
/* Tighter gaps */
#rv-modal-inner .reviews_form_title_wrap { margin-bottom: 8px; }
#rv-modal-inner .reviews_form_rate_wrap  { margin-bottom: 8px; }
#rv-modal-inner .reviews_form_writereview_wrap { margin-bottom: 4px; }
#rv-modal-inner .reviews_form_nome_mail_date_wrap { margin-top: 4px; margin-bottom: 12px; gap: 12px; }
#rv-modal-inner .reviews_count_chars_review { margin-bottom: 8px; }
/* Smaller inputs */
#rv-modal-inner .reviews_form_title_input,
#rv-modal-inner .reviews_form_nome,
#rv-modal-inner .reviews_form_mail,
#rv-modal-inner .reviews_form_date,
#rv-modal-inner .reviews_form_writereview { font-size: .8rem; padding: 5px 9px; }
#rv-modal-inner .reviews_form_writereview { min-height: 75px; }
/* Smaller, closer stars */
#rv-modal-inner .reviews_form_star_wrap { gap: 1px; margin-top: 6px; }
#rv-modal-inner .reviews_form_star { font-size: 1.3rem; }
#rv-modal-inner #reviews_submit_button_id { display: block; margin: 0 auto; }

/* ── Prices info tabs ─────────────────────────────────────────── */
.tabs-gtn-wrap {
  text-align: center;
  margin-top: 60px;
  margin-bottom: 24px;
}
.tabs-gtn-title {
  font-family: marcellus, sans-serif;
  font-size: 1.15rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #2c2c2c;
}
.prices-tabs {
  display: flex;
  gap: 0;
  margin-top: 0;
  margin-bottom: 0;
  flex-wrap: wrap;
}
.prices-tab-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.prices-tab-btn {
  position: relative;
  background: transparent;
  border: none;
  border-bottom: 2px solid #d4b96a;
  color: #b38f00;
  font-family: marcellus, sans-serif;
  font-size: .92rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 8px 18px;
  cursor: pointer;
  transition: border-bottom-color .2s, color .2s, background .2s;
  white-space: nowrap;
}
.prices-tab-btn::after {
  content: '▾';
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .75rem;
  color: #d4b96a;
  line-height: 1;
  transition: color .2s;
}
.prices-tab-btn:hover::after,
.prices-tab-btn.active::after { color: #b38f00; }
.prices-tab-btn:hover { border-bottom-color: #b38f00; background: #faf8f3; }
.prices-tab-btn.active { border-bottom: 2px solid #b38f00; color: #b38f00; background: #faf8f3; }
.prices-tab-panel {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  padding: 0 18px;
  background: #faf8f3;
  border: none;
  border-radius: 0 3px 3px 3px;
  font-size: .88rem;
  color: #555;
  line-height: 1.7;
  transition: max-height .35s ease, opacity .3s ease, padding .3s ease, margin-top .3s ease;
}
.prices-tab-panel.active {
  border: 1px solid #ede8d8;
  border-top: none;
}
/* ── Tabs idle icon ───────────────────────────────────────────── */
#tabs-idle-icon {
  text-align: center;
  padding: 40px 0 20px;
  transition: opacity .3s;
}
#tabs-idle-icon svg {
  width: 86px;
  height: 86px;
}
#tabs-idle-icon.hidden { display: none; }

/* ── What's included grid ─────────────────────────────────────── */
.wi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0 36px;
}
.wi-item {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 52px;
  padding: 6px 0;
  border-bottom: 1px solid #f0ebe0;
}
.wi-item:last-child,
.wi-item:nth-last-child(2):nth-child(odd) {
  border-bottom: none;
}
.wi-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: #b38f00;
  margin-top: 1px;
}
.wi-text { display: flex; flex-direction: column; }
.wi-label {
  font-size: .86rem;
  color: #2c2c2c;
  line-height: 1.4;
}
.wi-note {
  font-size: .75rem;
  color: #999;
  font-style: italic;
  margin-top: 2px;
}
#prices-tab-deposit .wi-grid,
#prices-tab-touristfee .wi-grid { grid-template-columns: 1fr; }
@media (max-width: 800px) {
  #prices-tab-included .wi-grid,
  #prices-tab-optional .wi-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 550px) {
  .wi-grid,
  #prices-tab-included .wi-grid,
  #prices-tab-optional .wi-grid { grid-template-columns: 1fr; }
}
.os-general-note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #f0ebe0;
  font-size: .78rem;
  color: #999;
  line-height: 1.7;
  font-style: italic;
}
.os-general-note a {
  color: #b38f00;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prices-tab-panel.active {
  max-height: 1200px;
  opacity: 1;
  padding: 16px 18px;
  margin-top: 30px;
}

/* ── Folder tab effect — desktop only ────────────────────────────── */
@media (min-width: 851px) {
  .prices-tabs {
    align-items: flex-end;
    gap: 2px;
  }
  .prices-tab-col {
    align-items: stretch;
  }
  .prices-tab-btn {
    width: 100%;
    border: 1px solid #ede8d8;
    border-bottom: none;
    border-radius: 3px 3px 0 0;
    background: #fff;
    padding: 10px 18px;
    position: relative;
    bottom: -1px;
    z-index: 1;
    transition: background .2s, color .2s;
  }
  .prices-tab-btn::after {
    display: none;
  }
  .prices-tab-btn:hover {
    background: #faf8f3;
    border-bottom: none;
  }
  .prices-tab-btn.active {
    background: #3a3835;
    border: 1px solid #3a3835;
    border-bottom: 1px solid #faf8f3;
    color: #fff;
    z-index: 2;
  }
  .prices-tab-btn.active::after {
    display: none;
  }
  .prices-tab-panel.active {
    margin-top: 0;
    border-radius: 0 3px 3px 3px;
  }
}

@media (max-width: 850px) {
  .prices-tabs { flex-direction: column; align-items: stretch; }
  .prices-tab-col { width: 100%; margin-bottom: 10px; }
  .prices-tab-col:last-child { margin-bottom: 0; }
  .prices-tab-btn { width: 100%; text-align: left; border-bottom: none; font-size: .92rem; }
  .prices-tab-btn.active { background: #3a3835; color: #fff; border-bottom: none; }
  .prices-tab-btn::after { content: '›'; position: static; transform: none; display: inline-block; margin-left: 6px; bottom: auto; left: auto; }
  /* Panel moved inline (inside .prices-tabs) on mobile */
  .prices-tabs .prices-tab-panel { width: 100%; box-sizing: border-box; }
  .prices-tabs .prices-tab-panel.active { margin-top: 0; margin-bottom: 6px; }
  .prices-tabs .tab-panel-top-arrow { width: 100%; margin-top: 0; margin-bottom: 6px; }
}
/* ── Tab panel top arrow ──────────────────────────────────────── */
.tab-panel-top-arrow {
  display: none;
}
@media (max-width: 850px) {
  .tab-panel-top-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 16px;
    cursor: pointer;
    color: #b38f00;
    font-size: 1.4rem;
    line-height: 1;
    border: 1px solid #d4b96a;
    border-radius: 3px;
    padding: 6px 18px;
    background: transparent;
    transition: background .2s, color .2s;
    width: 100%;
    font-family: marcellus, sans-serif;
    letter-spacing: .08em;
    font-size: .82rem;
    text-transform: uppercase;
    gap: 8px;
  }
  .tab-panel-top-arrow:hover { background: #b38f00; color: #fff; }
}
/* ── Tab pagination ───────────────────────────────────────────── */
.wi-pagination {
  display: none;
}
@media (max-width: 550px) {
  .wi-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
  }
  .wi-pag-btn {
    background: transparent;
    border: 1px solid #d4b96a;
    color: #b38f00;
    font-family: marcellus, sans-serif;
    font-size: .82rem;
    letter-spacing: .06em;
    padding: 5px 14px;
    border-radius: 3px;
    cursor: pointer;
    transition: background .2s, color .2s;
  }
  .wi-pag-btn:disabled { opacity: .3; cursor: default; }
  .wi-pag-btn:not(:disabled):hover { background: #b38f00; color: #fff; }
  .wi-pag-info { font-size: .78rem; color: #888; font-family: marcellus, sans-serif; }
}

/* ── Reviews CTA button ───────────────────────────────────────── */
.reviews-cta-btn {
  background: transparent;
  border: 1px solid #d4b96a;
  color: #b38f00;
  font-family: marcellus, sans-serif;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 10px 28px;
  cursor: pointer;
  transition: background .2s, color .2s;
  border-radius: 3px;
}
.reviews-cta-btn:hover { background: #b38f00; color: #fff; }

/* ── Reviews form ─────────────────────────────────────────────── */
.reviews_form_wrap {
  background: #fff;
  border: 1px solid #ede8d8;
  border-top: 3px solid #b38f00;
  border-radius: 3px;
  padding: 28px 24px 24px;
  margin-top: 28px;
}

.reviews_form_reviewthisvilla {
  display: block;
  font-family: marcellus, sans-serif;
  font-size: 1.1rem;
  letter-spacing: .05em;
  color: #b38f00;
  margin-bottom: 20px;
}

/* Title (left) + Rate (right) on the same row */
.reviews_form_title_wrap {
  float: left;
  width: 55%;
  margin-bottom: 18px;
  box-sizing: border-box;
  padding-right: 24px;
}

.reviews_form_rate_wrap {
  float: right;
  width: 45%;
  text-align: right;
  margin-bottom: 18px;
  box-sizing: border-box;
}

/* Clear floats before textarea */
.reviews_form_writereview_wrap {
  clear: both;
  margin-bottom: 6px;
}

.reviews_form_title_input,
.reviews_form_nome,
.reviews_form_mail,
.reviews_form_date,
.reviews_form_writereview {
  width: 100%;
  border: 1px solid #ede8d8;
  border-radius: 3px;
  background: #fff;
  font-family: marcellus, sans-serif;
  font-size: .9rem;
  color: #2c2c2c;
  padding: 8px 12px;
  box-sizing: border-box;
  transition: border-color .2s;
  margin-top: 4px;
}

.reviews_form_title_input:focus,
.reviews_form_nome:focus,
.reviews_form_mail:focus,
.reviews_form_date:focus,
.reviews_form_writereview:focus {
  outline: none;
  border-color: #b38f00;
  box-shadow: 0 0 0 2px rgba(179,143,0,.10);
}

.reviews_form_count_chars {
  font-family: marcellus, sans-serif;
  font-size: .75rem;
  color: #aaa;
  letter-spacing: .03em;
  margin-top: 4px;
}

.reviews_count_chars_review {
  font-family: marcellus, sans-serif;
  font-size: .75rem;
  color: #aaa;
  letter-spacing: .03em;
  text-align: right;
  margin-top: 4px;
  margin-bottom: 16px;
}

.reviews_form_rate {
  display: inline;
  font-family: marcellus, sans-serif;
  font-size: .9rem;
  letter-spacing: .05em;
  color: #2c2c2c;
  font-weight: bold;
}

.reviews_form_ratestar {
  display: inline;
  font-family: marcellus, sans-serif;
  font-size: .9rem;
  color: #b38f00;
  margin-left: 4px;
}

.reviews_form_star_wrap {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  margin-top: 10px;
}

.reviews_form_star {
  font-size: 1.7rem;
  color: #d4b96a;
  cursor: pointer;
  transition: color .2s, transform .15s;
  line-height: 1;
}

.reviews_form_star:hover {
  color: #b38f00;
  transform: scale(1.15);
}

.reviews_form_writereview {
  resize: vertical;
  min-height: 100px;
}

.reviews_form_nome_mail_date_wrap {
  display: flex;
  gap: 20px;
  margin-top: 8px;
  margin-bottom: 20px;
}

.reviews_form_nome_wrap,
.reviews_form_mail_wrap,
.reviews_form_date_wrap {
  flex: 1;
  min-width: 0;
  width: auto;
  display: block;
  font-family: marcellus, sans-serif;
  font-size: .88rem;
  letter-spacing: .04em;
  color: #2c2c2c;
}

.reviews_form_date {
  width: 100%;
  height: auto;
  padding-top: 6px;
  padding-bottom: 6px;
}

.reviews_submit_button {
  background: #b38f00;
  color: #fff;
  font-family: marcellus, sans-serif;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: none;
  padding: 12px 36px;
  border-radius: 3px;
  cursor: pointer;
  transition: background .2s;
  width: auto;
  min-width: 220px;
}

.reviews_submit_button:hover:not([disabled]) {
  background: #9a7a00;
}

.reviews_submit_button[disabled] {
  opacity: .5;
  cursor: not-allowed;
}

#reviews_form_footnotes {
  font-family: marcellus, sans-serif;
  font-size: .75rem;
  color: #aaa;
  margin-top: 14px;
  letter-spacing: .03em;
}

@media only screen and (max-width: 960px) {
  .reviews_table {
    padding: 14px 14px 10px;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
    overflow: hidden;
  }
  .reviews_wrap { width: 100%; max-width: 100%; overflow: hidden; box-sizing: border-box; }
  .reviews_row { flex-wrap: wrap; gap: 6px 10px; }
  .reviews_cell1_right { flex: 1 1 100%; }
  .reviews_cell2_left { flex: 1 1 auto; min-width: 0; }
  .reviews_cell2_right { flex-shrink: 0; }
  .reviews_form_wrap {
    padding: 20px 16px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .reviews_form_title_wrap { float: none; width: 100%; padding-right: 0; }
  .reviews_form_rate_wrap { float: none; width: 100%; text-align: left; }
  .reviews_form_star_wrap { justify-content: flex-start; }
  .reviews_form_nome_mail_date_wrap { flex-direction: column; gap: 12px; }
  .reviews_form_title_input,
  .reviews_form_nome,
  .reviews_form_mail,
  .reviews_form_date,
  .reviews_form_writereview {
    max-width: 100%;
    box-sizing: border-box;
  }
  .reviews_submit_button { width: 100%; min-width: 0; box-sizing: border-box; margin-left: 0; }
}

@media only screen and (max-width: 520px) {
  .reviews_dates { flex-direction: column; gap: 6px; }
  .reviews_dates_sent { text-align: left; }
}

/* ── Datepicker availability balloon ──────────────────────────────── */
#dp-balloon {
  position: fixed;
  z-index: 9999;
  display: none;
  background: #2c2c2c;
  color: #e8e0cc;
  font-family: marcellus, sans-serif;
  font-size: .82rem;
  letter-spacing: .04em;
  line-height: 1.55;
  padding: 11px 15px 12px;
  border-radius: 6px;
  max-width: 190px;
  box-shadow: 0 4px 18px rgba(0,0,0,.28);
  pointer-events: auto;
}
#dp-balloon a {
  display: block;
  margin-top: 6px;
  color: #d9c87e;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
#dp-balloon a:hover { color: #b38f00; }

/* Desktop tail: points RIGHT toward the datepicker */
#dp-balloon::after {
  content: '';
  position: absolute;
  right: -9px;
  top: 50%;
  transform: translateY(-50%);
  border: 9px solid transparent;
  border-right: none;
  border-left-color: #2c2c2c;
}

/* Mobile: white balloon on dark background */
@media only screen and (max-width: 960px) {
  #dp-balloon {
    background: #fff;
    color: #2c2c2c;
    box-shadow: 0 4px 18px rgba(0,0,0,.18);
  }
  #dp-balloon a { color: #b38f00; }
  #dp-balloon::after {
    right: auto;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    border: 9px solid transparent;
    border-top: none;
    border-bottom-color: #fff;
  }
}

/* ── Booking sidebar wrapper (#btvw) ─────────────────────────────
   Inherits float/width that was on #bookthisvilla in style-villas.css.
   Both #bookthisvilla and #btf-desktop live inside so they scroll together.
─────────────────────────────────────────────────────────────────── */
#btvw {
  float: right;
  width: 29%;
  margin-right: 1%;
  margin-top: 24px;        /* moved from #bookthisvilla first rule */
  box-sizing: border-box;
}
/* Neutralise the global float/width/margin on #bookthisvilla inside wrapper
   (style-villas.css and index.php first rule both set these) */
#btvw #bookthisvilla {
  float: none !important;
  width: auto !important;
  margin-right: 0 !important;
  margin-top: 0 !important;   /* wrapper carries the top margin now */
}
/* When fixed, the wrapper must NOT add its own shadow — shadow lives only
   on #bookthisvilla itself so the trust block below stays clean */
#btvw.bookthisvilla_fixed {
  box-shadow: none;
  /* In normal flow, margin-top:24px on #btvw spaces it from the left column.
     When fixed, top:70px already positions it — the margin-top adds on top
     of that (margin edge = 70px, border edge = 94px → ~46px gap). Zero it
     so the border sits exactly at top:70px (≈22px below the 48px menu bar). */
  margin-top: 0;
  /* Must be below menu z-index (9490-9501). Previously #bookthisvilla had
     z-index:0 in style-villas.css (ID selector wins over .bookthisvilla_fixed
     class), so the menu was always on top. #btvw has no conflicting ID rule,
     so we set it explicitly here. */
  z-index: 200;
}
@media only screen and (max-width: 1150px) {
  #btvw { display: none; }
}
/* On short-height screens, hide the trust block while fixed so the form
   box alone fits without cropping. Trust block still visible in normal flow. */
@media (max-height: 550px) {
  #btvw.bookthisvilla_fixed #btf-desktop { display: none; }
}

/* ── Below-form trust block (desktop + mobile shared styles) ────── */
.btf-block {
  padding: 12px 20px 12px;
  font-family: marcellus, sans-serif;
  background: #fff;
}
.btf-links-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.btf-link {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 6px;
  background: #3a3835;
  border: 1px solid #d4b96a;
  border-radius: 3px;
  color: #d9c87e;
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, color .2s;
  user-select: none;
}
.btf-link:hover { background: #b38f00; color: #fff; }
.btf-award { text-align: center; margin: 4px 0 0; }
.btf-award img { max-width: 172px; height: auto; display: block; margin: 0 auto; }
.btf-shield {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: .88;
  margin-top: 1px; /* optical vertical alignment with caps text */
}
.btf-slogan {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-align: center;
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 8px;
  /* Gold shimmer sweep */
  background: linear-gradient(
    100deg,
    #b38f00 20%,
    #f0d060 40%,
    #f5e898 50%,
    #f0d060 60%,
    #b38f00 80%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: btf-shimmer 3.5s linear infinite alternate;
}
@keyframes btf-shimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}
.btf-bottom-links {
  display: flex;
  justify-content: center;
  gap: 18px;
}
.btf-bottom-link {
  font-size: .8rem;
  color: #b38f00;
  text-decoration: none;
  letter-spacing: .04em;
}
.btf-bottom-link:hover { text-decoration: none; }

/* ── How to Book / Booking Conditions panels ─────────────────────
   Reuse existing full_details / full_close / full_details_content.
   z-index override placed with the other full_details overrides above. ──── */

/* ── Trust block: mobile overrides (must come after base rules) ── */
@media only screen and (max-width: 1150px) {
  .btf-block { background: #3a3835; }
  .btf-slogan {
    background-image: linear-gradient(
      100deg,
      #b38f00 20%,
      #f0d060 40%,
      #fffbe8 50%,
      #f0d060 60%,
      #b38f00 80%
    );
  }
  .btf-bottom-link { color: #d9c87e; }
  .btf-bottom-link:hover,
  .btf-bottom-link:active { color: #fff; text-decoration: none; }
  .ai-title { font-size: 0.94rem; }
}

/* ── FAQ two-level accordion ──────────────────────────────────── */
.faq-section .topic-list { margin-top: 8px; border-top: 1px solid #f0ebe0; }
.faq-section .topic-item { border-bottom: 1px solid #f0ebe0; }
.faq-section .topic-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; background: transparent; border: none; border-left: 3px solid transparent;
  cursor: pointer; padding: 16px 8px 16px 14px; text-align: left;
  transition: background .2s, border-left-color .2s;
}
.faq-section .topic-btn:hover { background: #fdfcf8; border-left-color: #d4b96a; }
.faq-section .topic-item.open > .topic-btn { background: #faf8f3; border-left-color: #b38f00; }
.faq-section .topic-left { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }
.faq-section .topic-number {
  font-family: marcellus, sans-serif; font-size: .72rem; color: #b38f00;
  letter-spacing: .12em; min-width: 20px;
}
.faq-section .topic-btn > .topic-left > span:last-child {
  font-family: marcellus, sans-serif; font-size: .98rem; color: #2c2c2c;
  letter-spacing: .04em; line-height: 1.4;
}
.faq-section .topic-icon {
  width: 20px; height: 20px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
}
.faq-section .topic-icon svg { width: 20px; height: 20px; stroke: #b38f00; transition: transform .3s ease; }
.faq-section .topic-item.open > .topic-btn .topic-icon svg { transform: rotate(180deg); }
/* Level-1 panel — grid-row trick: symmetric open/close with no fake max-height */
.faq-section .topic-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-section .topic-item.open > .topic-panel { grid-template-rows: 1fr; }
.faq-section .topic-panel-inner { overflow: hidden; }
.faq-section .topic-panel-content { border-left: 2px solid #ede8d8; padding: 0 16px 12px 36px; }
/* Level-2: Q&A */
.faq-section .faq-item { border-bottom: 1px solid #f0ebe0; }
.faq-section .faq-item:last-child { border-bottom: none; }
.faq-section .faq-btn {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; background: #3a3835; border: none; cursor: pointer;
  padding: 11px 14px; text-align: left; transition: background .2s;
}
.faq-section .faq-btn > span:first-child {
  font-family: marcellus, sans-serif; font-size: .88rem; color: #d9c87e;
  line-height: 1.5; flex: 1; transition: color .2s;
}
.faq-section .faq-btn:hover > span:first-child,
.faq-section .faq-item.open > .faq-btn > span:first-child { color: #b38f00; }
.faq-section .faq-btn:hover { background: #4a4744; }
.faq-section .faq-icon {
  width: 15px; height: 15px; flex-shrink: 0; display: flex; align-items: center;
  justify-content: center; margin-top: 2px;
}
.faq-section .faq-icon svg { width: 15px; height: 15px; stroke: #d9c87e; transition: transform .25s ease, stroke .2s; }
.faq-section .faq-item.open > .faq-btn .faq-icon svg { transform: rotate(45deg); stroke: #b38f00; }
/* Level-2 answer panel — same grid-row trick */
.faq-section .faq-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-section .faq-item.open > .faq-panel { grid-template-rows: 1fr; }
.faq-section .faq-panel-inner { overflow: hidden; }
.faq-section .faq-answer { padding: 14px 24px 14px 14px; font-size: .86rem; color: #666; line-height: 1.8; }
/* General FAQ CTA */
.faq-general-cta { text-align: center; margin-top: 36px; }
.faq-general-btn {
  display: inline-block; padding: 10px 28px; border: 1px solid #d4b96a;
  color: #b38f00; font-family: marcellus, sans-serif; font-size: .85rem;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  border-radius: 3px; transition: background .2s, color .2s;
}
.faq-general-btn:hover { background: #b38f00; color: #fff; }
@media (max-width: 960px) {
  .faq-section .topic-panel-content { padding-left: 20px; }
  .faq-section .topic-btn { padding-left: 8px; }
}

/* ── WHY THIS VILLA breaker ── */
.why-villa-breaker {
  background: #2c2c2c;
  padding: 50px 40px;
  border-bottom: none;
}
.why-villa-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.why-villa-heading {
  display: block;
  font-family: marcellus, sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #b38f00;
  text-align: center;
  width: fit-content;
  margin: 0 auto 44px;
  position: relative;
}
.why-villa-heading::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: #b38f00;
  margin: 14px auto 0;
  opacity: .5;
}
/* ── Body: two-column (list left, polaroid right) ── */
.why-villa-body {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 48px;
}
.why-villa-left {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.why-villa-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.why-villa-tagline {
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(179,143,0,.2);
  font-family: marcellus, sans-serif;
  font-size: 14px;
  color: #9a9080;
  line-height: 1.85;
  letter-spacing: .03em;
}
/* ── Ideal For ── */
.why-ideal-section {
  margin-top: 28px;
}
.why-ideal-heading {
  font-family: marcellus, sans-serif;
  font-size: 1.02rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #b38f00;
  text-align: center;
  margin-bottom: 12px;
}
.why-ideal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 15px;
}
.why-ideal-item {
  font-family: marcellus, sans-serif;
  font-size: .75rem;
  letter-spacing: .05em;
  color: #c8bfa8;
  padding: 0 14px;
  white-space: nowrap;
  transition: color .2s;
}
/* .why-ideal-item + .why-ideal-item {
  border-left: 1px solid rgba(179,143,0,.28);
} */
.why-ideal-item:hover {
  color: #e8e2d9;
}
.why-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.why-item-check {
  display: inline-block;
  flex-shrink: 0;
  width: 6px;
  height: 10px;
  border-right: 2px solid #b38f00;
  border-bottom: 2px solid #b38f00;
  transform: rotate(45deg) translateY(-2px);
  margin-right: 5px;
}
.why-card-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-card-icon svg {
  width: 24px;
  height: 24px;
}
.why-item-title {
  font-family: marcellus, sans-serif;
  font-size: .84rem;
  letter-spacing: .05em;
  color: #c8bfa8;
  line-height: 1.4;
  transition: color .2s;
}
.why-item:hover .why-item-title {
  color: #e8e2d9;
}
/* ── Polaroid ── */
.why-polaroid-wrap {
  flex: 0 0 442px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.why-villa-polaroid {
  width: 100%;
  background: #fff;
  padding: 12px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  transform: perspective(900px) rotateY(-6deg) rotateX(2deg);
  box-shadow:
    20px 28px 64px rgba(0,0,0,.65),
    5px 7px 16px rgba(0,0,0,.35),
    0 0 0 1px rgba(255,255,255,.45),
    -5px -5px 20px rgba(255,255,255,.25);
  transition: transform .4s ease, box-shadow .4s ease;
}
.why-villa-polaroid:hover {
  transform: perspective(900px) rotateY(-2deg) rotateX(1deg) translateY(-4px);
  box-shadow:
    24px 36px 80px rgba(0,0,0,.7),
    6px 9px 20px rgba(0,0,0,.35),
    0 0 0 1px rgba(255,255,255,.55),
    -5px -5px 20px rgba(255,255,255,.3);
}
.why-polaroid-img {
  width: 100%;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.why-polaroid-caption {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Dancing Script', cursive;
  font-size: 1.15rem;
  font-weight: 600;
  color: #555;
  letter-spacing: .02em;
  margin: 0;
}
/* ── Polaroid rating ── */
.why-polaroid-rating {
  text-align: center;
  margin-top: 8px;
}
.why-polaroid-stars {
  display: inline-flex;
  gap: 3px;
  margin-bottom: 4px;
}
.why-polaroid-star {
  width: 15px;
  height: 15px;
  display: block;
  flex-shrink: 0;
}
.why-polaroid-star.s-full  { fill: #d4b96a; }
.why-polaroid-star.s-half  { fill: #d4b96a; opacity: .5; }
.why-polaroid-star.s-empty { fill: rgba(212,185,106,.2); }
.why-polaroid-score {
  font-family: marcellus, sans-serif;
  font-size: .78rem;
  color: #888;
  letter-spacing: .06em;
}
/* ── Bottom CTA ── */
.why-villa-cta-wrap {
  text-align: center;
  border-top: 1px solid rgba(179,143,0,.18);
  padding-top: 36px;
}
.why-villa-cta-wrap .prices-cta-btn {
  font-size: .85rem;
  padding: 10px 30px;
  border-color: rgba(212,185,106,.5);
  color: #d4b96a;
  background: transparent;
}
.why-villa-cta-wrap .prices-cta-btn:hover {
  background: #b38f00;
  color: #fff;
  border-color: #b38f00;
}
/* ── Responsive ── */
@media (max-width: 960px) {
  .why-villa-breaker { padding: 36px 20px; }
  .why-villa-body { flex-direction: column; gap: 40px; }
  .why-polaroid-wrap { flex: none; width: 100%; max-width: 400px; margin: 0 auto; }
  .why-villa-polaroid { width: 100%; }
  .why-ideal-item + .why-ideal-item { border-left: none; }
}

/* ── Near To box ────────────────────────────────────────────────── */
.nearto-box {
  background: #fdfcf8;
  border: 1px solid #ede8d8;
  border-top: 3px solid #b38f00;
  border-radius: 3px;
  padding: 0 24px 22px;
  box-sizing: border-box;
  overflow: hidden;
  margin-top: 28px;
}
.nearto-box-title {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #f5f2ea;
  color: #2c2c2c;
  font-family: marcellus, sans-serif;
  font-size: .82rem;
  font-weight: bold;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 0 -24px 22px;
  padding: 13px 24px;
}
.nearto-box-title::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c2c2c' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='3' y1='5' x2='3' y2='19'/%3E%3Cline x1='21' y1='5' x2='21' y2='19'/%3E%3Cline x1='3' y1='12' x2='21' y2='12'/%3E%3Cpolyline points='7,9 3,12 7,15'/%3E%3Cpolyline points='17,9 21,12 17,15'/%3E%3C/svg%3E");
}

/* ── Near To grid ───────────────────────────────────────────────── */
.nearto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 36px;
}
.nearto-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 0;
  border-bottom: 1px solid #f0ebe0;
}
.nearto-item:nth-last-child(-n+3) { border-bottom: none; }
.nearto-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: #b38f00;
}
.nearto-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}
.nearto-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.nearto-label {
  font-family: marcellus, sans-serif;
  font-size: .88rem;
  color: #2c2c2c;
  letter-spacing: .02em;
}
.nearto-dist {
  font-size: .82rem;
  color: #888;
}
@media (max-width: 960px) {
  .nearto-grid { grid-template-columns: repeat(2, 1fr); gap: 0 24px; }
  .nearto-item:nth-last-child(-n+3) { border-bottom: 1px solid #f0ebe0; }
  .nearto-item:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 480px) {
  .nearto-grid { grid-template-columns: 1fr; }
  .nearto-item:nth-last-child(-n+2) { border-bottom: 1px solid #f0ebe0; }
  .nearto-item:last-child { border-bottom: none; }
}

/* ── Location tabs ───────────────────────────────────────────────── */
.loc-tabs-wrap { margin-top: 28px; }
.loc-tab-btn {
  position: relative;
  background: transparent;
  border: none;
  border-bottom: 2px solid #d4b96a;
  color: #b38f00;
  font-family: marcellus, sans-serif;
  font-size: .92rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 8px 48px;
  cursor: pointer;
  transition: border-bottom-color .2s, color .2s, background .2s;
  white-space: nowrap;
}
.loc-tab-btn::after {
  content: '▾';
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .75rem;
  color: #d4b96a;
  line-height: 1;
  transition: color .2s;
}
.loc-tab-btn:hover::after,
.loc-tab-btn.active::after { color: #b38f00; }
/* ── Location — Get Directions link ─────────────────────────────── */
.loc-gmaps-link-wrap {
  text-align: right;
  margin: 8px 0 0;
}
.loc-gmaps-link {
  color: #b38f00;
  font-size: .85rem;
  letter-spacing: .06em;
  text-decoration: none;
}
.loc-gmaps-link:hover {
  text-decoration: underline;
}
/* ─────────────────────────────────────────────────────────────────── */
.loc-tab-btn:hover { border-bottom-color: #b38f00; background: #faf8f3; }
.loc-tab-btn.active { border-bottom: 2px solid #b38f00; color: #b38f00; background: #faf8f3; }
.loc-tab-panel {
  display: none;
}
.loc-tab-panel.active {
  display: block;
  margin-top: 30px;
}
@media (max-width: 850px) {
  .loc-tab-btn { border-bottom: none; text-align: left; }
  .loc-tab-btn.active { background: #3a3835; color: #fff; border-bottom: none; text-align: left; }
  .loc-tab-btn::after { content: '›'; position: static; transform: none; display: inline-block; margin-left: 6px; bottom: auto; left: auto; }
  /* Never stack location tabs — only 2 items, always enough room */
  .loc-tabs-wrap .prices-tabs { flex-direction: row; }
  .loc-tabs-wrap .prices-tab-col { width: auto; margin-bottom: 0; }
  /* Close button top margin — overrides .prices-tabs .tab-panel-top-arrow { margin-top: 0 } */
  .loc-tabs-wrap .tab-panel-top-arrow { margin-top: 30px; margin-bottom: 30px; }
}
/* ── General tab card grid ───────────────────────────────────────── */
.fac-inner {
  background: #fdfcf8;
  border: 1px solid #ede8d8;
  border-top: 3px solid #b38f00;
  border-radius: 3px;
  padding: 22px 24px;
  box-sizing: border-box;
}

.gen-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.gen-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 110px;
  flex-shrink: 0;
  padding: 18px 8px 14px;
  background: #f5f2ea;
  border: 1px solid #e0d9cc;
  border-radius: 12px;
  text-align: center;
  cursor: default;
}
.gen-card svg {
  width: 32px;
  height: 32px;
  color: #b38f00;
  flex-shrink: 0;
}
.gen-card-label {
  font-family: marcellus, sans-serif;
  font-size: .78rem;
  color: #2c2c2c;
  letter-spacing: .02em;
  line-height: 1.35;
}

/* ── Facilities tabs ─────────────────────────────────────────────── */
.fac-tabs {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}
.fac-tab-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.fac-tab-btn {
  position: relative;
  background: transparent;
  border: none;
  border-bottom: 2px solid #d4b96a;
  color: #b38f00;
  font-family: marcellus, sans-serif;
  font-size: .92rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 8px 6px;
  cursor: pointer;
  transition: border-bottom-color .2s, color .2s, background .2s;
  white-space: nowrap;
  width: 100%;
  text-align: center;
}
.fac-tab-btn::after {
  content: '▾';
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .75rem;
  color: #d4b96a;
  line-height: 1;
  transition: color .2s;
}
.fac-tab-btn:hover::after,
.fac-tab-btn.active::after { color: #b38f00; }
.fac-tab-btn:hover { border-bottom-color: #b38f00; background: #faf8f3; }
.fac-tab-btn.active { border-bottom: 2px solid #b38f00; color: #b38f00; background: #faf8f3; }
.fac-tab-panel {
  display: none;
}
.fac-tab-panel.active {
  display: block;
  margin-top: 30px;
}
/* ── Facilities folder tab effect — desktop only ─────────────────── */
@media (min-width: 851px) {
  .fac-tabs { align-items: flex-end; gap: 2px; }
  .fac-tab-col { align-items: stretch; }
  .fac-tab-btn {
    border: 1px solid #ede8d8;
    border-bottom: none;
    border-radius: 3px 3px 0 0;
    background: #fff;
    padding: 10px 8px;
    position: relative;
    bottom: -1px;
    z-index: 1;
    font-size: .78rem;
    transition: background .2s, color .2s;
  }
  .fac-tab-btn::after { display: none; }
  .fac-tab-btn:hover { background: #faf8f3; border-bottom: none; }
  .fac-tab-btn.active {
    background: #3a3835;
    border: 1px solid #3a3835;
    border-bottom: 1px solid #fdfcf8;
    color: #fff;
    z-index: 2;
  }
  .fac-tab-btn.active::after { display: none; }
  .fac-tab-panel.active {
    margin-top: 0;
    padding: 16px 18px;
    background: #faf8f3;
    border: 1px solid #ede8d8;
    border-top: none;
    border-radius: 0 3px 3px 3px;
  }
}
/* ── Facilities tabs — mobile ────────────────────────────────────── */
@media (max-width: 850px) {
  .fac-tabs { flex-direction: column; align-items: stretch; }
  .fac-tab-col { width: 100%; margin-bottom: 10px; }
  .fac-tab-col:last-child { margin-bottom: 0; }
  .fac-tab-btn { width: 100%; text-align: left; border-bottom: none; font-size: .92rem; }
  .fac-tab-btn.active { background: #3a3835; color: #fff; border-bottom: none; }
  .fac-tab-btn::after { content: '›'; position: static; transform: none; display: inline-block; margin-left: 6px; bottom: auto; left: auto; }
  .fac-tabs .fac-tab-panel { width: 100%; box-sizing: border-box; }
  .fac-tabs .fac-tab-panel.active { margin-top: 0; margin-bottom: 6px; }
  .fac-tabs .tab-panel-top-arrow { width: 100%; margin-top: 0; margin-bottom: 6px; }
}

/* ── Bedrooms & Bathrooms tab ────────────────────────────────────── */
.bb-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
/* Left column */
.bb-left {
  flex: 0 0 330px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.bb-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}
.bb-stat {
  flex: 1 1 80px;
  background: #f5f2ea;
  border: 1px solid #e0d9cc;
  border-radius: 10px;
  padding: 14px 10px 10px;
  text-align: center;
}
.bb-stat-num {
  font-family: marcellus, sans-serif;
  font-size: 1.6rem;
  color: #2c2c2c;
  line-height: 1;
  margin-bottom: 5px;
}
.bb-stat-label {
  font-family: marcellus, sans-serif;
  font-size: .72rem;
  color: #888;
  letter-spacing: .03em;
  line-height: 1.3;
}
.bb-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #ede8d8;
  padding-top: 14px;
  text-align: left;
}
.bb-bullets li {
  font-family: marcellus, sans-serif;
  font-size: .84rem;
  color: #555;
  line-height: 1.6;
  padding: 4px 0 4px 16px;
  position: relative;
  text-align: left;
}
.bb-bullets li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: #b38f00;
  font-size: 1.2rem;
  line-height: 1.35;
}
.bb-bullets li span {
  color: #888;
  font-size: .78rem;
  display: block;
}
/* Right column */
.bb-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.bb-floor {
  border: 1px solid #e0d9cc;
  border-radius: 6px;
  overflow: hidden;
}
.bb-floor-header {
  background: #f0ebe0;
  padding: 9px 16px;
  font-family: marcellus, sans-serif;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7a6a40;
}
.bb-room {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 16px;
  border-top: 1px solid #f0ebe0;
  background: #fdfcf8;
  text-align: left;
}
.bb-room:first-of-type { border-top: none; }
.bb-room-icon {
  flex-shrink: 0;
  color: #b38f00;
  opacity: .75;
}
.bb-room-icon svg { width: 30px; height: 30px; display: block; }
.bb-room-info { flex: 1; min-width: 0; }
.bb-room-name {
  font-family: marcellus, sans-serif;
  font-size: .88rem;
  color: #2c2c2c;
}
.bb-room-desc {
  font-family: marcellus, sans-serif;
  font-size: .76rem;
  color: #999;
  margin-top: 2px;
}
.bb-room-qty {
  flex-shrink: 0;
  font-family: marcellus, sans-serif;
  font-size: .8rem;
  color: #b38f00;
  background: #faf5e4;
  border: 1px solid #e0d9cc;
  border-radius: 4px;
  padding: 3px 8px;
  letter-spacing: .03em;
}
@media (max-width: 700px) {
  .bb-layout { flex-direction: column; }
  .bb-left { flex: none; width: 100%; }
  .bb-right { flex: 1 1 auto; width: 100%; max-width: none; }
}

/* ── Folder tab effect — location tabs, desktop only ────────────── */
@media (min-width: 851px) {
  .loc-tabs-wrap .prices-tabs {
    align-items: flex-end;
    gap: 2px;
  }
  .loc-tabs-wrap .prices-tab-col {
    align-items: stretch;
  }
  .loc-tab-btn {
    width: 100%;
    border: 1px solid #ede8d8;
    border-bottom: none;
    border-radius: 3px 3px 0 0;
    background: #fff;
    padding: 10px 18px;
    position: relative;
    bottom: -1px;
    z-index: 1;
    transition: background .2s, color .2s;
  }
  .loc-tab-btn::after { display: none; }
  .loc-tab-btn:hover { background: #faf8f3; border-bottom: none; }
  .loc-tab-btn.active {
    background: #3a3835;
    border: 1px solid #3a3835;
    border-bottom: 1px solid #faf8f3;
    color: #fff;
    z-index: 2;
  }
  .loc-tab-btn.active::after { display: none; }
  .loc-tab-panel.active {
    margin-top: 0;
    padding: 18px;
    background: #faf8f3;
    border: 1px solid #ede8d8;
    border-top: none;
    border-radius: 0 3px 3px 3px;
  }
  /* Remove inner box top-margins since panel padding handles spacing */
  .loc-tab-panel.active .moradaegps,
  .loc-tab-panel.active .nearto-box { margin-top: 0; }
}

/* ── Kitchen & Laundry tab ───────────────────────────────────────── */
.kl-layout { display: flex; gap: 20px; align-items: flex-start; }
.kl-card { border: 1px solid #e0d9cc; border-radius: 8px; overflow: hidden; }
.kl-card-kitchen { flex: 3; }
.kl-card-laundry { flex: 2; }
.kl-card-header { background: #f0ebe0; padding: 12px 18px; display: flex; align-items: center; justify-content: space-between; }
.kl-card-title { font-family: marcellus, sans-serif; font-size: .95rem; color: #2c2c2c; letter-spacing: .04em; }
.kl-card-badge { font-family: marcellus, sans-serif; font-size: .78rem; color: #b38f00; font-style: italic; }
.kl-card-body { padding: 16px; background: #fdfcf8; }
.kl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kl-list { display: flex; flex-direction: column; gap: 8px; }
.kl-pill { position: relative; background: #fff; border: 1px solid #e0d9cc; border-radius: 12px; padding: 8px 16px; font-family: marcellus, sans-serif; font-size: .82rem; color: #555; text-align: center; }
.kl-pill::before { content: ''; position: absolute; left: 14px; top: 50%; width: 5px; height: 9px; border-right: 1.5px solid #b38f00; border-bottom: 1.5px solid #b38f00; transform: translateY(-62%) rotate(45deg); }
.kl-footnote { margin-top: 16px; background: #fdfcf8; border: 1px solid #e0d9cc; border-radius: 6px; padding: 16px 20px; font-family: marcellus, sans-serif; font-size: .82rem; color: #666; line-height: 1.65; font-style: italic; }
@media (max-width: 700px) {
  .kl-layout { flex-direction: column; }
  .kl-card-kitchen, .kl-card-laundry { flex: none; width: 100%; box-sizing: border-box; }
  .kl-grid { grid-template-columns: 1fr; }
}
/* ── Entertainment tab ───────────────────────────────────────────── */
.kl-card-games { flex: 1; }
.kl-card-outdoor { margin-top: 16px; }
.kl-grid-3col { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.kl-pill:has(.kl-pill-title) { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.kl-pill-title { font-size: .83rem; color: #3a3835; }
.kl-pill-sub { font-size: .74rem; color: #999; font-style: italic; }
.ent-bicycles { display: flex; gap: 16px; margin-top: 20px; }
.ent-bicycle-item { flex: 1; background: #fdfcf8; border: 1px solid #e0d9cc; border-radius: 10px; padding: 14px 16px; display: flex; align-items: center; gap: 14px; }
.ent-bicycle-icon { flex-shrink: 0; width: 36px; height: 36px; background: #f0ebe0; border-radius: 8px; }
.ent-bicycle-label { display: flex; flex-direction: column; }
.ent-bicycle-label-title { font-family: marcellus, sans-serif; font-size: .85rem; color: #2c2c2c; }
.ent-bicycle-label-sub { font-family: marcellus, sans-serif; font-size: .76rem; color: #999; margin-top: 2px; }
@media (max-width: 700px) {
  .kl-grid-3col { grid-template-columns: 1fr 1fr; }
  .ent-bicycles { flex-wrap: wrap; }
  .ent-bicycle-item { flex: 1 1 calc(50% - 8px); min-width: 140px; }
}
/* ── Exterior tab ────────────────────────────────────────────────── */
.ext-top-row { display: flex; gap: 20px; align-items: flex-start; }
.ext-pool-card { flex: 2; }
.ext-indoor-pool-card { flex: 2; }
.ext-jac-card { flex: 1; }
.ext-stats-row { display: flex; background: #fdfcf8; border-bottom: 1px solid #e0d9cc; }
.ext-stat { flex: 1; padding: 14px 12px; text-align: center; border-right: 1px solid #e0d9cc; }
.ext-stat:last-child { border-right: none; }
.ext-stat-value { display: block; font-family: marcellus, sans-serif; font-size: 1.1rem; color: #2c2c2c; letter-spacing: .02em; }
.ext-stat-label { display: block; font-family: marcellus, sans-serif; font-size: .72rem; color: #999; margin-top: 3px; }
.ext-item { background: #fff; border: 1px solid #e0d9cc; border-radius: 10px; padding: 9px 14px; font-family: marcellus, sans-serif; font-size: .82rem; color: #555; }
.ext-item-title { display: block; font-size: .83rem; color: #3a3835; }
.ext-item-sub { display: block; font-size: .74rem; color: #999; font-style: italic; margin-top: 2px; }
.ext-gardens-card { margin-top: 16px; }
.ext-item.ext-check { position: relative; padding-left: 32px; text-align: left; }
.ext-item.ext-check::before { content: ''; position: absolute; left: 14px; top: 50%; width: 5px; height: 9px; border-right: 1.5px solid #b38f00; border-bottom: 1.5px solid #b38f00; transform: translateY(-62%) rotate(45deg); }
@media (max-width: 700px) {
  .ext-top-row { flex-direction: column; }
  .ext-pool-card, .ext-indoor-pool-card, .ext-jac-card { flex: none; width: 100%; box-sizing: border-box; }
}
