/* ==========================================================================
   Villa Detail Page — 5 Star Villa Holidays
   Standalone stylesheet for property detail view
   ========================================================================== */


/* ==========================================================================
   1. HERO — Desktop/tablet: full-width cover (original). Mobile: see max-width 767px.
   ========================================================================== */

.vd-hero {
  position: relative;
  width: 100vw;
  height: 500px;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  border-radius: 0 0 16px 16px;
}
.detail-del-price {
    padding-right: 10px;
}
.vd-hero__scroll {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.vd-hero__media {
  height: 100%;
  width: 100%;
}

.vd-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Wishlist + share (legacy .div-wishlist) + “View all photos” — top-right cluster */
.vd-hero__top-bar {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 4;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}

.vd-hero__top-bar > * {
  pointer-events: auto;
}

.page-villa-detail .vd-hero .div-wishlist {
  float: none;
  position: static;
  right: auto;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
}

.page-villa-detail .vd-hero .div-wishlist .shareit,
.page-villa-detail .vd-hero .div-wishlist .wish {
  float: none;
}

.page-villa-detail .vd-hero .div-wishlist i {
  font-size: 1.35rem;
  color: var(--color-text-heading);
  padding: 8px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 8px;
  margin: 0;
  box-sizing: border-box;
}

.vd-hero__photos-link {
  position: absolute;
  top: 24px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: none;
  border-radius: 8px;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-heading);
  cursor: pointer;
  transition: background var(--transition);
  text-decoration: none;
  z-index: 2;
}

.vd-hero__top-bar .vd-hero__photos-link {
  position: static;
  top: auto;
  right: auto;
  z-index: auto;
}

.vd-hero__photos-link:hover {
  background: rgba(255, 255, 255, 1);
  color: var(--color-text-heading);
}

.vd-cancellation__content .a-full-cancellation {
    float: right;
    font-size: 16px;
    text-decoration: underline;
}


/* ==========================================================================
   2. TWO-COLUMN LAYOUT — Left content (65%) + Right sticky panel (35%)
   ========================================================================== */

.vd-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-2xl) var(--gutter-wide);
  align-items: start;
}

.vd-main {
  min-width: 0;
}


/* ==========================================================================
   3. TITLE BLOCK — Left column header area
   ========================================================================== */

.vd-title {
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-2xl);
}

.vd-title__location {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
}

.vd-title__heading {
  font-size: 36px;
  line-height: 1.15;
  font-weight: 400;
  color: var(--color-text-heading);
  margin-bottom: 12px;
}

.vd-title__emotion {
  font-size: var(--font-size-body);
  line-height: var(--font-lh-body);
  color: var(--color-text-body);
  margin-bottom: var(--space-sm);
}

.vd-title__facts {
  font-size: 15px;
  color: var(--color-text-body);
  margin-bottom: 12px;
}

.vd-title__facts-sep {
  margin: 0 6px;
  color: var(--color-text-muted);
}

.vd-title__reviews-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-heading);
  text-decoration: none;
  transition: color var(--transition);
}

.vd-title__reviews-link:hover {
  color: var(--color-gold);
}

.vd-title__star {
  color: var(--color-gold);
}


/* ==========================================================================
   4. RESERVE PANEL — Right column sticky sidebar
   ========================================================================== */

.vd-sidebar {
  position: sticky;
  top: 100px;
}

.vd-reserve {
  position: sticky;
  top: 120px;
  background: var(--color-bg-page);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: var(--space-lg);
  transition: box-shadow var(--transition-slow);
}

.vd-reserve:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.vd-reserve__title {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text-heading);
  margin-bottom: 4px;
}

.vd-reserve__price {
  font-size: 26px;
  font-weight: 400;
  color: var(--color-text-heading);
  margin-bottom: 4px;
}

.vd-reserve__price-unit {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text-muted);
}

.vd-reserve__micro {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: var(--space-md);
}

/* Reserve form inputs */
.vd-reserve__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--color-border);
  border-radius: var(--btn-radius);
 
  margin-bottom: var(--space-sm);
}

.vd-reserve__field {
  padding: 12px 14px;
  border: none;
  background: transparent;
}

.vd-reserve__field--checkin {
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.vd-reserve__field--checkout {
  border-bottom: 1px solid var(--color-border);
}

.vd-reserve__field--guests {
  grid-column: 1 / -1;
}

.vd-reserve__field-label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-heading);
  margin-bottom: 2px;
}

.vd-reserve__field-input {
  display: block;
  width: 100%;
  border: none;
  background: transparent;
  font-family: var(--font-family);
  font-size: 14px;
  color: var(--color-text-body);
  outline: none;
  padding: 0;
  cursor: pointer;
}

.vd-reserve__field-input::placeholder {
  color: var(--color-text-muted);
}

/* Nights summary line */
.vd-reserve__nights {
  font-size: 13px;
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: var(--space-sm);
  min-height: 20px;
}

/* Primary CTA */
.vd-reserve__cta {
  display: flex;
  align-items: center;
  justify-content: center;
 
  height: var(--btn-height);
  background: var(--color-gold);
  color: var(--color-gold-text);
  font-family: var(--font-family);
  
  font-weight: 500;
  border: none;
  border-radius: var(--btn-radius);
  cursor: pointer;
  transition: background-color var(--transition-slow);
  text-decoration: none;
  opacity: 0.9;
  width:100%;
}

.vd-reserve__cta:hover {
  opacity: 1;
  
  color: var(--color-gold-text);
}

.vd-reserve__cta:active {
  transform: scale(0.98);
}

/* Secondary link */
.vd-reserve__specialist-link {
  display: block;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-heading);
  text-decoration: none;
  padding: 8px 0;
  transition: color var(--transition);
}

.vd-reserve__specialist-link:hover {
  color: var(--color-gold);
}

.vd-reserve__reassurance {
  font-size: 12px;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: var(--space-xs);
  line-height: 1.5;
}


/* ==========================================================================
   5. CONTENT SECTIONS — Shared spacing
   ========================================================================== */

.vd-section {
  margin-bottom: 50px;
}

.vd-section__heading {
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-text-heading);
  margin-bottom: var(--space-md);
}

.vd-section__subheading {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}


/* ==========================================================================
   6. THE VILLA — Editorial two-column
   ========================================================================== */

.vd-editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: stretch;
}

.vd-editorial__copy p {
  font-size: var(--font-size-body);
  line-height: var(--font-lh-body);
  color: var(--color-text-body);
}

.vd-editorial__image {
  border-radius: var(--card-radius);
  overflow: hidden;
}

.vd-editorial__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ==========================================================================
   7. WHY IT WORKS — Bullet list
   ========================================================================== */

.vd-why__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vd-why__item {
  position: relative;
  padding: var(--space-sm) 0;
  padding-left: 24px;
  font-size: var(--font-size-body);
  line-height: var(--font-lh-body);
  color: var(--color-text-body);
  border-bottom: 1px solid var(--color-border);
}

.vd-why__item:first-child {
  padding-top: 0;
}

.vd-why__item:last-child {
  border-bottom: none;
}

.vd-why__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 22px;
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 50%;
}

.vd-why__item:first-child::before {
  top: 6px;
}


/* ==========================================================================
   8. VILLA SPECIALIST CARD
   ========================================================================== */

.vd-specialist {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-lg);
  background: var(--color-surface);
  border-radius: var(--card-radius);
}

.vd-specialist__photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.vd-specialist__info {
  flex: 1;
}

.vd-specialist__name {
  font-size: 20px;
  font-weight: 500;
  color: var(--color-text-heading);
  margin-bottom: 2px;
}

.vd-specialist__role {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.vd-specialist__bio {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-body);
  margin-bottom: 12px;
}

.vd-specialist__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-heading);
  text-decoration: none;
  transition: color var(--transition), gap var(--transition);
}

.vd-specialist__link:hover {
  color: var(--color-gold);
  gap: 10px;
}

.vd-specialist__link::after {
  content: '\2192';
  font-size: 17px;
}


/* ==========================================================================
   9. AMENITIES — Grouped two-column
   ========================================================================== */

.vd-amenities__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg) var(--space-xl);
}

.vd-amenities__grid--twocol {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.vd-amenities__col {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.vd-amenities__col .vd-amenities__group {
  margin-bottom: var(--space-md);
}

.vd-amenities__col .vd-amenities__group:last-child {
  margin-bottom: 0;
}

.vd-amenities__group-title {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.vd-amenities__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-md) 0;
}

.vd-amenities__item {
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-text-body);
  padding: 6px 0;
  border-bottom: 1px solid var(--color-border);
}

.vd-amenities__item:last-child {
  border-bottom: none;
}

.vd-amenities__expand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-heading);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-family);
  transition: color var(--transition);
}

.vd-amenities__expand:hover {
  color: var(--color-gold);
}

.vd-amenities__expand::after {
  content: '\2192';
  font-size: 17px;
}

.vd-amenities__hidden {
  display: none;
}

.vd-amenities__hidden.is-visible {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg) var(--space-xl);
  margin-top: var(--space-lg);
}


/* ==========================================================================
   10. SLEEPING ARRANGEMENTS — Table/grid
   ========================================================================== */

.vd-sleeping__table {
  width: 100%;
  border-collapse: collapse;
}

.vd-sleeping__table th {
  text-align: left;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  padding: 12px 16px;
  border-bottom: 2px solid var(--color-border);
}

.vd-sleeping__table td {
  font-size: 15px;
  color: var(--color-text-body);
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
}

.vd-sleeping__table tr:last-child td {
  border-bottom: none;
}

.vd-sleeping__table tbody tr:hover {
  background: var(--color-surface);
}


/* ==========================================================================
   11. AVAILABILITY CALENDAR
   ========================================================================== */

.vd-calendar__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.vd-calendar__month {
  user-select: none;
}

.vd-calendar__month-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
}

.vd-calendar__month-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-heading);
}

.vd-calendar__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  color: var(--color-text-body);
  transition: border-color var(--transition);
}

.vd-calendar__nav:hover {
  border-color: var(--color-text-muted);
}

.vd-calendar__nav--hidden {
  visibility: hidden;
}

.vd-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
}

.vd-calendar__day-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  padding: 8px 0;
}

.vd-calendar__day {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  font-size: 14px;
  color: var(--color-text-body);
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  border: none;
  background: none;
  font-family: var(--font-family);
}

.vd-calendar__day:hover {
  background: var(--color-surface);
}

.vd-calendar__day--empty {
  cursor: default;
}

.vd-calendar__day--empty:hover {
  background: none;
}

.vd-calendar__day--past {
  color: var(--color-text-muted);
  opacity: 0.4;
  cursor: default;
}

.vd-calendar__day--past:hover {
  background: none;
}

.vd-calendar__day--selected {
  background: var(--color-text-heading);
  color: var(--color-white);
  font-weight: 500;
}

.vd-calendar__day--selected:hover {
  background: var(--color-text-heading);
}

.vd-calendar__day--in-range {
  background: rgba(26, 26, 26, 0.06);
  border-radius: 0;
}

.vd-calendar__day--range-start {
  border-radius: 8px 0 0 8px;
}

.vd-calendar__day--range-end {
  border-radius: 0 8px 8px 0;
}

.vd-calendar__day--today {
  font-weight: 500;
  border: 1px solid var(--color-border);
}


/* ==========================================================================
   12. CANCELLATION & PEACE OF MIND
   ========================================================================== */

.vd-cancellation__content p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-body);
}

.vd-cancellation__highlights {
  list-style: none;
  padding: 0;
  margin: var(--space-sm) 0 var(--space-md);
}

.vd-cancellation__highlights li {
  position: relative;
  padding: 6px 0 6px 20px;
  font-size: 15px;
  color: var(--color-text-body);
}

.vd-cancellation__highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  background: var(--color-gold);
  border-radius: 50%;
}

.vd-cancellation__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-heading);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-family);
  transition: color var(--transition);
}

.vd-cancellation__link:hover {
  color: var(--color-gold);
}

.vd-cancellation__link::after {
  content: '\2192';
  font-size: 17px;
}


/* ==========================================================================
   13. CANCELLATION MODAL
   ========================================================================== */

.vd-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
}

.vd-modal-overlay.is-open {
  display: flex;
}

.vd-modal {
  position: relative;
  width: 90%;
  max-width: 640px;
  max-height: 80vh;
  background: var(--color-bg-page);
  border-radius: var(--card-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.vd-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}

.vd-modal__title {
  font-size: 20px;
  font-weight: 500;
  color: var(--color-text-heading);
  margin: 0;
}

.vd-modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  color: var(--color-text-body);
  transition: border-color var(--transition);
}

.vd-modal__close:hover {
  border-color: var(--color-text-muted);
}

.vd-modal__body {
  padding: var(--space-lg);
  overflow-y: auto;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-body);
}

.vd-modal__body h3 {
  font-size: 17px;
  font-weight: 500;
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
}

.vd-modal__body h3:first-child {
  margin-top: 0;
}

.vd-modal__body ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: var(--space-sm);
}

.vd-modal__body ul li {
  margin-bottom: 6px;
}


/* ==========================================================================
   14. LOCATION & NEARBY — Two-column
   ========================================================================== */

.vd-location__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.vd-location__intro {
  font-size: var(--font-size-body);
  line-height: var(--font-lh-body);
  color: var(--color-text-body);
  margin-bottom: var(--space-md);
}

.vd-location__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-md);
}

.vd-location__item {
  padding: 8px 0;
  font-size: 15px;
  color: var(--color-text-body);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
}

.vd-location__item:last-child {
  border-bottom: none;
}

.vd-location__item-distance {
  color: var(--color-text-muted);
  font-size: 14px;
  flex-shrink: 0;
  margin-left: var(--space-sm);
}

.vd-location__practical {
  font-size: 14px;
  color: var(--color-text-muted);
  font-style: italic;
}

.vd-location__map {
  border-radius: var(--card-radius);
  overflow: hidden;
  background: var(--color-surface);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid var(--color-border);
}

/* ========== Leaflet Map Overrides ========== */
#villaDetailMap {
  width: 100%;
  height: 100%;
  border-radius: var(--card-radius);
}

#villaDetailMap .leaflet-container {
  background: #f5f3ef;
  font-family: var(--font-family);
}

/* Leaflet Control Customization */
#villaDetailMap .leaflet-control-zoom {
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  margin-right: 12px;
  margin-top: 12px;
}

#villaDetailMap .leaflet-control-zoom a {
  border: none;
  background: var(--color-bg-page);
  color: var(--color-text-heading);
  font-weight: 600;
  width: 36px;
  height: 36px;
  line-height: 36px;
  transition: all var(--transition);
}

#villaDetailMap .leaflet-control-zoom a:hover {
  background: var(--color-surface);
  color: var(--color-text-heading);
}

/* Custom Popup Styles */
#villaDetailMap .leaflet-popup-content-wrapper {
  background: var(--color-bg-page);
  border-radius: 8px;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

#villaDetailMap .leaflet-popup-content {
  margin: 12px;
  font-family: var(--font-family);
  font-size: 13px;
  color: var(--color-text-body);
  line-height: 1.5;
}

#villaDetailMap .leaflet-popup-tip {
  background: var(--color-bg-page);
  border: 1px solid var(--color-border);
}

/* ========== Custom Marker Styles ========== */
.villa-detail-marker {
  display: flex;
  align-items: center;
  justify-content: center;
}

.villa-detail-marker__inner {
  width: 44px;
  height: 44px;
  background: var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  animation: markerPulse 2s infinite;
}

.villa-detail-marker__inner svg {
  width: 28px;
  height: 28px;
  color: var(--color-white);
}
.viewshow_btn {
    padding: 5px 10px;
    background-color: #d7c19f;
    margin-top: 10px;
    position: relative;
    display: inline-block;
    color: #fff;
    opacity: 0.8;
    transition: opacity var(--transition-slow);
    font-size:17px;
}

/* moreAmenitiesModal — match original detail.cshtml (grid, category headings, list style, close) */
#moreAmenitiesModal .modal-dialog {
  max-width: 800px;
}
#moreAmenitiesModal .modal-body {
  max-height: 85vh;
  overflow: auto;
  padding: 25px;
}
#moreAmenitiesModal .modal-body .modal-head {
  background: linear-gradient(135deg, #ececec 0%, #d2d2d2 100%);
  padding: 12px 15px;
  margin: 0 0 4px 0;
  font-size: 20px;
  font-weight: 600;
}
#moreAmenitiesModal .modal-body .list-bordered {
  list-style: none;
  padding-left: 0;
  margin: 0 0 1em 0;
}
#moreAmenitiesModal .modal-body .list-bordered li {
  list-style-position: inside;
  padding: 12px 0;
  border-bottom: 1px solid #ccc;
}
#moreAmenitiesModal .modal-body .list-bordered li:last-child {
  margin-bottom: 30px;
}
#moreAmenitiesModal .list-bordered li::before {
  content: "\F473";
  font-family: "bootstrap-icons";
  font-size: 24px;
  position: relative;
  left: 0;
  top: 6px;
  line-height: 15px;
  color: #000;
  margin-right: 5px;
}
#moreAmenitiesModal .modal-header {
  border-bottom: 1px solid var(--color-border, #dee2e6);
  padding: 1rem;
}
#moreAmenitiesModal .modal-header .btn-close {
  padding: 0.5rem;
  margin: -0.5rem -0.5rem -0.5rem auto;
}

@keyframes markerPulse {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    transform: scale(1.05);
  }
}

/* Popup content */
.villa-detail-marker-popup {
  text-align: center;
}

.villa-detail-marker-popup strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-heading);
  margin-bottom: 4px;
}

.villa-detail-marker-popup p {
  font-size: 12px;
  color: var(--color-text-body);
  margin: 4px 0;
}

.villa-detail-marker-popup__coords {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: 6px;
  font-weight: 500;
}

/* Attraction markers */
.attraction-marker {
  display: flex;
  align-items: center;
  justify-content: center;
}

.attraction-marker__dot {
  width: 12px;
  height: 12px;
  background: rgba(185, 155, 116, 0.6);
  border-radius: 50%;
  border: 2px solid var(--color-white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* Attraction popup */
#villaDetailMap .attraction-popup .leaflet-popup-content-wrapper {
  background: var(--color-surface);
  border-radius: 6px;
}

#villaDetailMap .attraction-popup .leaflet-popup-content {
  margin: 8px;
  font-size: 12px;
}


/* ==========================================================================
   15. GOOD TO KNOW — Single column
   ========================================================================== */

.vd-good-to-know__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vd-good-to-know__item {
  padding: 12px 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-body);
  border-bottom: 1px solid var(--color-border);
}

.vd-good-to-know__item:last-child {
  border-bottom: none;
}


/* ==========================================================================
   16. GUEST EXPERIENCES (REVIEWS) — Curated
   ========================================================================== */

.vd-reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.vd-review-card {
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  transition: box-shadow var(--transition-slow);
}

.vd-review-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.vd-review-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
}

.vd-review-card__stars svg {
  width: 16px;
  height: 16px;
  fill: var(--color-gold);
}

.vd-review-card__quote {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-body);
  margin: 0 0 12px;
  font-style: normal;
}

.vd-review-card__author {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-heading);
  display: block;
  font-style: normal;
}

.vd-review-card__date {
  font-size: 13px;
  color: var(--color-text-muted);
}

.vd-reviews__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-heading);
  text-decoration: none;
  transition: color var(--transition), gap var(--transition);
}

.vd-reviews__more:hover {
  color: var(--color-gold);
  gap: 10px;
}

.vd-reviews__more::after {
  content: '\2192';
  font-size: 17px;
}


/* ==========================================================================
   17. FINAL RESERVE CLOSE — Centered CTA
   ========================================================================== */

.vd-final-close {
  text-align: center;
  padding: var(--space-4xl) 0;
  max-width: var(--container-max);
  margin: 0 auto;
  border-top: 1px solid var(--color-border);
}

.vd-final-close__heading {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-text-heading);
  margin-bottom: 12px;
}

.vd-final-close__reassurance {
  font-size: var(--font-size-body);
  color: var(--color-text-body);
  margin-bottom: var(--space-lg);
}

.vd-final-close__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.vd-final-close__specialist {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-heading);
  text-decoration: none;
  transition: color var(--transition), gap var(--transition);
}

.vd-final-close__specialist:hover {
  color: var(--color-gold);
  gap: 10px;
}

.vd-final-close__specialist::after {
  content: '\2192';
  font-size: 17px;
}


/* ==========================================================================
   18. SIMILAR VILLAS — 3-card grid
   ========================================================================== */

.vd-similar {
  padding: var(--space-5xl) 0 var(--space-3xl);
  max-width: var(--container-max);
  margin: 0 auto;
}

.vd-similar__heading {
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-text-heading);
  margin-bottom: var(--space-lg);
}

.vd-similar__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

/* Similar villas: reuse search cards-grid with exactly 3 columns per row */
.vd-similar .cards-grid--3-col {
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.vd-similar-card {
  display: block;
  text-decoration: none;
  border-radius: var(--card-radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition-slow), transform var(--transition-slow);
}

.vd-similar-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  color: var(--color-text-heading);
}

.vd-similar-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.vd-similar-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.vd-similar-card:hover .vd-similar-card__image img {
  transform: scale(1.03);
}

.vd-similar-card__body {
  padding: var(--space-sm) var(--space-md);
}

.vd-similar-card__name {
  font-size: 17px;
  font-weight: 500;
  color: var(--color-text-heading);
  margin-bottom: 4px;
}

.vd-similar-card__location {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.vd-similar-card__price {
  font-size: 15px;
  color: var(--color-text-heading);
  font-weight: 500;
}

.vd-similar-card__price span {
  font-weight: 400;
  color: var(--color-text-muted);
}


/* ==========================================================================
   19. PAGE-LEVEL HEADER OVERRIDE — Non-hero context
   ========================================================================== */

.page-villa-detail .site-header {
  position: relative;
  background: var(--color-bg-page);
  border-bottom: 1px solid var(--color-border);
}

.page-villa-detail .site-header.header--sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}


/* ==========================================================================
   20. BODY LOCK (for modal)
   ========================================================================== */

body.modal-open {
  overflow: hidden;
}


/* ==========================================================================
   Review Popup section
   ========================================================================== */
/* Review Popup */
.star-fill-star {
    width: 30%;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
}

#myReviewModal .modal-header {
    padding-left: 25px;
    padding-right: 25px;
}

/* Review modal: no modal-body scroll; left & right columns each have their own scroll */
#myReviewModal.modal_rating_review .modal-body {
    max-height: none;
    overflow: visible;
}

.modal_rating_review .modal-body .full-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.modal_rating_review .left_popup_rating {
    flex: 0 0 35%;
    max-width: 35%;
    min-height: 0;
    float: none;
    max-height: min(700px, 65vh);
    overflow-x: hidden;
    overflow-y: auto;
}

.modal_rating_review .right_popup_rating {
    flex: 1 1 65%;
    min-width: 0;
    float: none;
    max-height: min(700px, 65vh);
    overflow-x: hidden;
    overflow-y: auto;
}

.rgt-clntt-dtl p {
    width: 100%;
    float: left;
}

.reviews_cont_box .lft-clntt-img {
    width: 100%;
    float: left;
}

.lft-clntt-img h5 {
    width: calc(100% - 70px);
    padding-left: 10px;
    float: left;
    font-size: 16px;
}

.reviews_cont_box h5 span {
    font-weight: normal !important;
    display: block;
    color: #333;
    font-size: 14px !important;
}

.star-rating-div .rting-qnty {
    font-size: 16px;
    padding-left: 4px;
}

.rgt-clntt-dtl strong span {
    color: #aaa;
    font-weight: 400;
    font-size: 13px;
}

.star-rating-div .star-icon-reviews {
    float: left;
    margin-right: 2px;
}

.star-icon-reviews {
    position: relative;
    width: 90px;
    display: inline-block;
    clear: both;
    top: 0;
    height: 20px;
    margin: 0;
}

.star-outline-star {
    width: 100%;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 0;
}

.rgt-clntt-dtl .star-rating-div {
    float: left;
}

.star-rating-div {
    width: auto;
    float: right;
}

.box_rtang .bar-5 {
    background: #333;
    width: 100%;
    height: 5px;
}

.bar-container {
    background: #ccc;
    height: 5px;
    border-radius: 10px;
    width: calc(100% - 20px);
    float: left;
    margin: 4px 0 0 10px;
}

.boxx_line_ratiing span {
    float: left;
    width: auto;
    color: #333;
    font-size: 14px;
    line-height: 14px;
}

.boxx_line_ratiing {
    width: 100%;
    float: left;
    margin-bottom: 4px;
}

.rating_lines_section {
    width: 100%;
    float: left;
    margin: 30px 0 0;
}

.qunty_rating_prgrs h2 {
    display: inline-block;
    font-size: 70px;
}

.rating_leas-sec {
    width: 100%;
    text-align: center;
    float: left;
}

.star-outline-star img {
    width: 100%;
}

.star-fill-star img {
    width: 90px;
    max-width: unset;
}

.lft-clntt-img img {
    width: 50px;
    float: left;
    height: 50px !important;
    object-fit: cover;
}

.modal_rating_review .modal-dialog {
    max-width: 960px;
    border-radius: 20px !important;
}

.left_popup_rating {
    width: 35%;
    padding: 10px 10px;
    float: left;
    overflow:auto;
}

.right_popup_rating {
    width: 65%;
    float: right;
    padding: 0 20px;
}

.left_popup_rating-inner .box_rtang {
    width: 100%;
    border: 0;
    margin-bottom: 10px;
    border-bottom: 1px solid #ccc;
    padding: 10px 40px;
    position: relative;
    float: left;
}

.left_popup_rating-inner .rating_box_first.box_rtang {
    padding: 10px 0;
}

.left_popup_rating-inner .box_rtang h5 {
    font-size: 14px;
    width: 100%;
    float: left;
    margin: 0 0 5px;
}

.right_popup_rating-inner .reviews_cont_section {
    width: 100%;
    float: left;
    margin: 30px 0 0;
    padding: 0;
    border-top: 0;
}

.left_popup_rating-inner .box_rtang svg {
    float: left;
    width: 22px !important;
    position: absolute;
    left: 0;
    top: 0;
}

.left_popup_rating-inner .rating_qunty {
    position: absolute;
    right: 0;
}

.left_popup_rating-inner .qunty_rating_prgrs img {
    width: 60px;
}

.left_popup_rating-inner .qunty_rating_prgrs h2 {
    font-size: 48px;
}

.left_popup_rating-inner {
    position: static;
}

.guest_favorite-sectionn {
    width: 100%;
    float: left;
    padding: 40px 0;
    margin: 50px 0 0;
    border-top: 1px solid #ccc;
}

.qunty_rating_prgrs {
    width: 100%;
    float: left;
    text-align: center;
}

.guest_favorit {
    width: 100%;
    float: left;
    text-align: center;
}

.modal_rating_review .modal-header {
    border: 0;
    padding: 0;
}

.left_popup_rating-inner .guest_favorit p {
    font-size: 16px;
    line-height: 18px;
}

.right_popup_rating-inner .reviews_cont_box {
    width: 100%;
    float: left;
    margin-right: 0;
    margin-bottom: 20px;
}

.right_popup_rating-inner {
    width: 100%;
    float: left;
    overflow: visible;
}

    .right_popup_rating-inner .review_heading {
        position: sticky;
        top: 0;
        z-index: 9;
        background: #fff;
        width: 100%;
        float: left;
    }

.modal_rating_review .close {
    margin: 0 0 0;
    float: right;
    padding: 10px;
    width: auto;
    text-align: right;
    position: static;
}

.modal_rating_review .modal-header {
    float: right;
    text-align: right;
    width: 100%;
    display: block;
}

.modal_rating_review .modal-content {
    position: relative;
}

.modal_rating_review button.close {
    margin: 0 0 0;
    float: right;
    padding: 10px;
    width: auto;
    text-align: right;
    position: absolute;
    right: 0;
    background: #fff;
    z-index: 9;
}

.rgt-clntt-dtl .moreText {
    display: none;
}

.hostedby-sec .property_name {
    margin: 20px 0;
}

.hostedby-sec .form-group.col-12 {
    width: 100%;
    float: left;
    padding: 0;
}

.hostedby-sec .hostedby-name {
    padding-left: 5px;
}

.hostedby-sec .hostedby-img img {
    object-fit: cover;
}

.hostedby-sec .hostedby-img {
    width: 50px;
    height: 50px;
}

.hostedby-sec .control-label {
    font-size: 24px;
}

.hostedby-sec #messagetohost {
    border-radius: 10px;
    min-height: 100px;
}

.hostedby-sec .col-sm-offset-2.col-12 {
    padding: 0;
}

.guest_favorit br {
    display: none;
}

.review_show_btn::after {
    content: '\2192';
    font-size: 17px;
}
.review_show_btn {
    color:#000;
}
.vd-review-card p {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

#magnify .swiper-button-next, #magnify .swiper-button-prev {
    color: #000;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    font-size: 12px !important;
    width: 40px;
    height: 40px;
}
    #magnify .swiper-button-next::after, #magnify .swiper-button-prev::after {
        font-size: x-large;
    }

/* ==========================================================================
   21. RESPONSIVE — Tablet & Mobile
   ========================================================================== */
@media (max-width: 1024px) {
    .vd-layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
    
    .vd-sidebar {
        order: -1;
        position: initial;
    }

  .vd-reserve {
    position: static;
  }

  .vd-editorial {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .vd-amenities__grid,
  .vd-amenities__grid--twocol {
    grid-template-columns: 1fr;
  }

  .vd-amenities__hidden.is-visible {
    grid-template-columns: 1fr;
  }

  .vd-calendar__wrapper {
    grid-template-columns: 1fr;
  }

  .vd-location__grid {
    grid-template-columns: 1fr;
  }

  .vd-reviews__grid {
    grid-template-columns: 1fr;
  }

  .vd-similar__grid {
    grid-template-columns: 1fr 1fr;
  }

  .vd-similar .cards-grid--3-col {
    grid-template-columns: 1fr 1fr;
  }

  .vd-section {
    margin-bottom: 80px;
  }

  .vd-hero {
    height: 400px;
  }
}

@media (max-width: 767px) {

    .vd-reserve {
        padding: var(--space-xs);
    }

    /* Review modal: one scroll for stacked rating + reviews (no per-column scroll) */
    #myReviewModal.modal_rating_review .modal-body {
        max-height: min(85vh, calc(100dvh - 5rem));
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .modal_rating_review .modal-body .full-row {
        flex-direction: column;
    }

    .modal_rating_review .left_popup_rating {
        flex: none;
        max-width: none;
        width: 100%;
        min-height: 0;
        max-height: none;
        overflow-x: hidden;
        overflow-y: visible;
    }

    .modal_rating_review .right_popup_rating {
        flex: none;
        width: 100%;
        min-width: 0;
        max-height: none;
        overflow-x: hidden;
        overflow-y: visible;
    }

    .left_popup_rating {
        width: 100%;
        padding: 10px 10px;
        float: left;
    }
    .site-footer
    {
        margin-bottom:80px;
    }
    .right_popup_rating {
        width: 100%;
        float: right;
        padding: 0;
    }
    .vd-sidebar {
        position: initial;
    }

  .vd-hero {
    height: 320px;
    border-radius: 0;
  }

  .vd-hero__scroll {
    height: 320px;
    max-height: 320px;
    overflow-x: auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: #0e1114;
  }

  .vd-hero__media {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-width: 100%;
    width: max-content;
    max-width: none;
    box-sizing: border-box;
  }

  .vd-hero__img {
    display: block;
    width: auto;
    height: auto;
    max-width: none;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    flex-shrink: 0;
  }

  .vd-hero__top-bar {
    top: 12px;
    right: 12px;
    gap: 8px;
  }

  .vd-hero__photos-link {
    font-size: 13px;
    padding: 8px 14px;
  }

  .page-villa-detail .vd-hero .div-wishlist i {
    font-size: 1.2rem;
    padding: 7px;
  }

  .vd-layout {
    padding: var(--space-md) var(--gutter-narrow);
  }

  .vd-title__heading {
    font-size: 28px;
  }

  .vd-section__heading {
    font-size: 24px;
  }

  .vd-section {
    margin-bottom: 56px;
  }

  .vd-similar__grid {
    grid-template-columns: 1fr;
  }

  .vd-similar .cards-grid--3-col {
    grid-template-columns: 1fr;
  }

  .vd-similar {
    padding: var(--space-3xl) var(--gutter-narrow) var(--space-xl);
  }

  .vd-final-close {
    padding: var(--space-3xl) var(--gutter-narrow);
  }

  .vd-final-close__heading {
    font-size: 26px;
  }

  .vd-specialist {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .vd-modal {
    width: 95%;
    max-height: 90vh;
  }
}
