/* ===== Property Page ===== */

body {
  padding-bottom: 70px;
}

.footer{
  margin-top: 40px;
}

.property-preview-banner {
  background: #fff3cd;
  border: 3px solid red;
  padding: 10px 12px;
  border-radius: 0;
  margin-bottom: 14px;
  position: fixed;
  text-align: center;
  width: 100%;
  z-index: 20;
}

.property-hero {
  background: #fff;
  padding: 3rem 2rem 1rem 2rem;
}

.property-gallery {
  padding: 0 2rem 2rem 2rem !important;
}

.property-content {
  padding: 1rem 2rem 1rem 2rem !important;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.bookingbtn {
  font-family: "Josefin Sans", sans-serif;
  padding: 13px 35px 10.5px 35px;
  background: #0da774;
  color: #fff;
  border: none;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: initial;
  font-size: 12px;
}

.property-hero-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
}

.property-title {
  font-size: 2.6rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

.property-subtitle {
  margin-top: 0.6rem;
  opacity: 0.85;
}

.property-badges {
  margin-top: 1rem;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.badge {
  font-size: 12px !important;
    padding: 8px 12px 5px 12px !important;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 999px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: #000000 !important;
}

.price-box {
  min-width: 260px;
  border: 1px solid rgba(0,0,0,0.12);
  padding: 18px;
  border-radius: 12px;
}

.price {
  font-size: 1.6rem;
  font-weight: 700;
}

.currency { font-weight: 700; }
.per { font-size: 0.95rem; opacity: 0.75; font-weight: 400; }
.small-muted { font-size: 0.9rem; opacity: 0.7; margin: 6px 0 12px; }

.cta-btn,
.gallery-tile,
.gallery-more-button {
  font-family: "Josefin Sans", sans-serif;
}

.cta-btn {
  width: 100%;
  background: #0da774;
  color: #fff;
  border: none;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
}

.section-title-left {
  text-align: left;
}

.property-section-gap {
  margin-top: 28px;
}

/* Gallery */
.gallery-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(12, 1fr);
}

.gallery-grid-enhanced {
  grid-auto-flow: dense;
}

.gallery-tile {
  border: none;
  padding: 0;
  margin: 0;
  background: transparent;
  position: relative;
  cursor: pointer;
  display: block;
}

.gallery-item {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.gallery-tile-1,
.gallery-tile-2 {
  grid-column: span 6;
}

.gallery-tile-1 .gallery-item,
.gallery-tile-2 .gallery-item {
  min-height: 320px;
}

.gallery-tile-3,
.gallery-tile-4,
.gallery-tile-5,
.gallery-tile-6 {
  grid-column: span 3;
}

.gallery-more-overlay {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.18));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gallery-more-count {
  font-size: 34px;
  font-weight: 700;
}

.gallery-more-label {
  margin-top: 6px;
  font-size: 12px;
}

.gallery-actions {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
}

.gallery-more-button {
  border: 1px solid rgba(0,0,0,0.14);
  background: #fff;
  color: #111;
  border-radius: 999px;
  padding: 12px 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  cursor: pointer;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  border: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-arrow.left {
  left: 20px;
}

.lightbox-arrow.right {
  right: 20px;
}

.lightbox-arrow:hover {
  background: rgba(0, 0, 0, 0.6);
}

.property-main h2.section-title,
.property-reviews h2.section-title,
.property-faq-section h2.section-title {
  font-weight: 500 !important;
  font-size: 23px !important;
  margin-bottom: 20px !important;
  letter-spacing: 3px;
}

/* Two column layout */
.property-two-col {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.property-desc {
  max-width: 780px;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.property-main{
      margin-bottom: 1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.feature {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 12px;
  padding: 12px 14px;
  cursor: default;
}

.feature img {
  width: 28px;
  height: 28px;
}

.feature span {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Tooltip */
/*.feature::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  width: max-content;
  max-width: 240px;
  white-space: normal;
  background: #000;
  color: #fff;
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.feature:hover::after {
  opacity: 0.95;
}*/

/* Side details card */
.info-card {
  background: #fff;
  border-radius: 14px;
  padding: 18px;
}

.info-title {
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 700;
}

.info-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.info-label {
  opacity: 0.75;
}

.info-value {
  font-weight: 200;
}

.divider {
  height: 1px;
  background: rgba(0,0,0,0.10);
  margin: 16px 0;
}

.rules {
  list-style: none;
  display: grid;
  gap: 10px;
}

.rules li {
  position: relative;
  padding-left: 18px;
  line-height: 1.6;
}

.rules li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: #0da774;
  font-weight: 700;
}

.property-reviews-section {
  padding-top: 0 !important;
}

.property-review-summary {
  margin-bottom: 18px;
  font-size: 15px;
  opacity: 0.85;
}

.property-review-list {
  display: grid;
  gap: 16px;
}

.property-review-card {
  padding: 20px;
}

.property-review-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.property-review-title {
  font-weight: 700;
}

.property-review-name {
  font-size: 13px;
  opacity: .72;
  margin-top: 4px;
}

.property-review-stars {
  font-size: 14px;
  letter-spacing: 2px;
  color: #f67072;
}

.property-review-content {
  line-height: 1.7;
}

.property-empty-card {
  padding: 20px;
}

.property-faq-list {
  display: grid;
  gap: 14px;
}

.property-faq-item {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  overflow: hidden;
}

.property-faq-question {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  font-weight: 500;
  cursor: pointer;
      color: #000000;
}

.property-faq-question::-webkit-details-marker {
  display: none;
}

.property-faq-toggle {
  width: 12px;
  height: 12px;
  border-right: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.property-faq-item[open] .property-faq-toggle {
  transform: rotate(-135deg);
}

.property-faq-answer {
  padding: 0 20px 20px;
  opacity: 0.8;
  line-height: 1.8;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.lightbox.show {
  display: block;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
}

#lightboxImg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 92vw;
  max-height: 86vh;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 34px;
  line-height: 1;
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.sticky-cta {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: #fff;
  z-index: 999;
  box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.12), 0 -4px 12px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.sticky-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.sticky-title {
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 14px;
}

.sticky-sub {
  font-size: 17px;
}

.sticky-currency {
  margin-right: 2px;
  font-size: 15px;
}

.sticky-cta-right {
  display: flex;
  gap: 10px;
  align-items: center;
}

.cta-outline,
.cta-solid {
  font-family: "Josefin Sans", sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  border-radius: initial;
  font-size: 12px;
  padding: 13px 35px 10.5px 35px;
}

.cta-outline {
  background: #fff;
  border: 1px solid #0da774;
  color: #0da774;
  font-weight: 600;
  letter-spacing: 2px !important;
}

.cta-solid {
  background: #0da774;
  color: #fff;
}

.sticky-cta.hidden {
  transform: translateY(100%);
  opacity: 0;
}

/* ===== Availability Modal ===== */
.availability-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.availability-modal-backdrop.show {
  display: flex;
}

.availability-modal {
  background: #fff;
  width: 100%;
  max-width: 520px;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.availability-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.availability-modal-head h3 {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 16px;
}

.availability-modal-head button {
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
}

.availability-form {
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}

.availability-form label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 6px;
  margin-top: 10px;
}

.availability-form button {
  margin-top: 10px;
}

.availability-form input {
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 10px;
}

.availability-result {
  margin-top: 18px;
  padding: 14px;
  border-radius: 10px;
  display: none;
}

.availability-cta-wrap {
  display: none;
  margin-top: 15px;
}

.avail-act-btn {
  float: right;
  text-decoration: none !important;
  padding: 13px 35px 10px 35px;
  font-weight: 700 !important;
}

.availability-total {
  margin-top: 6px;
  font-weight: 700;
}

.availability-result.success {
  background: rgba(13,167,116,0.10);
  border: 1px solid rgba(13,167,116,0.35);
}

.availability-result.error {
  background: rgba(255,13,18,0.08);
  border: 1px solid rgba(255,13,18,0.35);
}

.flatpickr-day.disabled,
.flatpickr-day.disabled:hover {
  background: rgba(255, 13, 18, 0.15);
  border-color: rgba(255, 13, 18, 0.35);
  color: #b00;
  cursor: not-allowed;
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover,
.flatpickr-day.nextMonthDay.flatpickr-disabled,
.flatpickr-day.nextMonthDay.flatpickr-disabled:hover {
  color: rgb(96 96 96 / 53%) !important;
}

.flatpickr-day.nextMonthDay:not(.flatpickr-disabled) {
  color: initial !important;
}

.guest-counter {
  display: flex;
  align-items: center;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.guest-counter input {
  border: none;
  text-align: center;
  width: 60px;
  font-size: 15px;
  font-weight: 600;
}

.guest-counter input::-webkit-outer-spin-button,
.guest-counter input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.guest-counter input[type=number] {
  -moz-appearance: textfield;
}

.guest-counter input:focus {
  outline: none;
}

.guest-btn {
  background: #f9f9f9;
  border: none;
  width: 40px;
  height: 42px;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.guest-btn:hover {
  background: rgba(246,112,114,0.08);
}

.guest-limit-text {
  font-size: 14px;
  margin-top: 6px;
  opacity: 0.6;
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 920px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-tile-1,
  .gallery-tile-2,
  .gallery-tile-3,
  .gallery-tile-4,
  .gallery-tile-5,
  .gallery-tile-6 {
    grid-column: span 1;
  }

  .gallery-tile-1 .gallery-item,
  .gallery-tile-2 .gallery-item {
    min-height: 240px;
  }

  .gallery-actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .availability-form {
    grid-template-columns: 1fr;
  }

  .sticky-cta-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .sticky-cta-right {
    width: 100%;
  }

  .cta-outline,
  .cta-solid {
    width: 100%;
  }

  .property-hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .property-two-col {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .property-hero,
  .property-gallery,
  .property-content {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .property-review-card-top,
  .property-faq-question,
  .info-row {
    align-items: flex-start;
  }

  .guest-counter input {
    width: 50px;
  }
}
