/* Castle Crown — Property (hb_room) single page */

:root {
  --tcc-navy: #002147;
  --tcc-navy-2: #001a33;
  --tcc-gold: #b08d57;
  --tcc-cream: #f7f3ec;
  --tcc-cream-2: #faf7f2;
  --tcc-text: #3d4654;
  --tcc-muted: #6b7280;
  --tcc-line: #e6e0d6;
  --tcc-wa: #25d366;
}

body.single-hb_room .breadcrumb_area,
body.single-hb_room .room_details_area,
body.single-hb_room .related-rooms,
body.single-hb_room .hb_related_rooms,
body.single-hb_room .share_hotel,
body.single-hb_room .book_box,
body.single-hb_room .hotel-booking-search,
body.single-hb_room #hotel-booking-search-form,
body.single-hb_room .hb-search-form,
body.single-hb_room .wphb-check-single-room,
body.single-hb_room [class*="check-single-room"],
body.single-hb_room .thim-hotel-booking,
body.single-hb_room #hotel_booking_datepicker_check,
body.single-hb_room .ui-datepicker,
body.single-hb_room .hb_addition_information_title {
  display: none !important;
}

/* Hide legacy WPHB single-room booking modal leftovers */
body.single-hb_room .hotel-booking-room-form,
body.single-hb_room #hotel-booking-cart,
body.single-hb_room .hb_single_room > .hb_room_type,
body.single-hb_room form.hotel-booking-search,
body.single-hb_room form.hotel-booking-single-room-action,
body.single-hb_room .hb-search-room-results,
body.single-hb_room .hb_addition_packages,
body.single-hb_room .hb_addition_package_extra,
body.single-hb_room .hb-search-results-form-container,
body.single-hb_room #hotel_booking_room_hidden,
body.single-hb_room .wpdb-room-tmpl-add-to-cart {
  display: none !important;
}

body.single-hb_room .header_area .main_menu {
  background: #ffffff !important;
  border-bottom: 1px solid rgba(0, 33, 71, 0.08) !important;
  box-shadow: none !important;
}

body.single-hb_room .header_area .main_menu .navbar.navbar-expand-lg .navbar-nav > li > a {
  color: var(--tcc-navy) !important;
}

body.single-hb_room .header_area .main_menu .navbar.navbar-expand-lg .navbar-nav > li:hover > a,
body.single-hb_room .header_area .main_menu .navbar.navbar-expand-lg .navbar-nav > li.active > a {
  color: var(--tcc-gold) !important;
}

body.single-hb_room .elementor,
body.single-hb_room {
  background: var(--tcc-cream-2);
}

/* Keep site header above property content (theme header is position:absolute) */
body.single-hb_room .header_area {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 999 !important;
  margin-top: 0 !important;
}

body.logged-in.single-hb_room .header_area {
  margin-top: 32px !important; /* clear WP admin bar */
  top: 0 !important;
}

body.single-hb_room .header_area .main_menu,
body.single-hb_room .header_area .top_menu {
  position: relative;
  z-index: 2;
}

/* Push content below header: top_menu 50 + taller white main_menu */
body.single-hb_room .tcc-property {
  margin-top: 158px !important;
  position: relative;
  z-index: 1;
}

body.logged-in.single-hb_room .tcc-property {
  margin-top: 190px !important; /* +32 admin bar offset used by absolute header */
}

body.single-hb_room .header_area .navbar-brand img {
  height: 110px !important;
  max-height: 110px !important;
  max-width: 320px !important;
}

@media (max-width: 991px) {
  body.single-hb_room .header_area .navbar-brand img {
    height: 58px !important;
    max-height: 58px !important;
    max-width: 160px !important;
  }

  body.single-hb_room .tcc-property {
    margin-top: 140px !important;
  }

  body.logged-in.single-hb_room .tcc-property {
    margin-top: 172px !important;
  }
}

@media (max-width: 575px) {
  body.single-hb_room .header_area .navbar-brand img {
    height: 52px !important;
    max-height: 52px !important;
    max-width: 148px !important;
  }

  body.single-hb_room .tcc-property {
    margin-top: 128px !important;
  }

  body.logged-in.single-hb_room .tcc-property {
    margin-top: 160px !important;
  }
}

body.single-hb_room .ekit-template-content-footer,
body.single-hb_room .footer_area {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 2;
  clear: both;
  width: 100% !important;
}

.tcc-property {
  background: var(--tcc-cream-2);
  color: var(--tcc-navy);
}

.tcc-prop-container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.tcc-prop-hero {
  padding: 36px 0 20px;
  background: #fff;
}

.tcc-prop-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--tcc-muted);
  margin-bottom: 18px;
}

.tcc-prop-crumbs a {
  color: var(--tcc-muted);
  text-decoration: none;
}

.tcc-prop-crumbs a:hover {
  color: var(--tcc-gold);
}

.tcc-prop-title {
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: clamp(28px, 4vw, 42px) !important;
  line-height: 1.2 !important;
  color: var(--tcc-navy) !important;
  font-weight: 700 !important;
  margin: 0 0 10px !important;
}

.tcc-prop-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 28px;
  color: var(--tcc-muted);
  font-size: 15px;
}

.tcc-prop-location svg {
  color: var(--tcc-gold);
  flex-shrink: 0;
}

.tcc-prop-top {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.78fr);
  gap: 28px;
  align-items: stretch;
}

.tcc-prop-gallery,
.tcc-prop-enquire {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  min-height: 0;
  height: auto;
}

.tcc-prop-gallery__main {
  position: relative;
  background: #ece7df;
  overflow: hidden;
  flex: 1 1 auto;
  min-height: 0;
  aspect-ratio: auto;
  max-height: none;
  height: auto;
}

.tcc-prop-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
}

.tcc-prop-gallery__main--empty {
  display: grid;
  place-items: center;
  min-height: 320px;
  color: var(--tcc-muted);
}

.tcc-prop-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 33, 71, 0.72);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.tcc-prop-gallery__nav--prev { left: 14px; }
.tcc-prop-gallery__nav--next { right: 14px; }

.tcc-prop-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
  flex: 0 0 auto;
}

.tcc-prop-gallery__thumb {
  border: 2px solid transparent;
  padding: 0;
  background: #ece7df;
  cursor: pointer;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.tcc-prop-gallery__thumb.is-active {
  border-color: var(--tcc-navy);
}

.tcc-prop-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tcc-prop-enquire__card {
  background: #fff;
  border: 1px solid var(--tcc-line);
  padding: 18px 18px 16px;
  box-shadow: 0 10px 30px rgba(0, 33, 71, 0.06);
  box-sizing: border-box;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.tcc-prop-enquire__card > h2 {
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 22px !important;
  color: var(--tcc-navy) !important;
  margin: 0 0 12px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

.tcc-prop-enquire__form {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.tcc-prop-enquire__form .wpcf7,
.tcc-prop-enquire__form .wpcf7-form {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%;
  margin: 0;
  gap: 8px;
}

.tcc-prop-enquire__form .tcc-prop-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex: 1 1 auto;
  align-content: start;
}

.tcc-prop-enquire__form .tcc-prop-form__grid > .wpcf7-form-control-wrap[data-name="your-name"],
.tcc-prop-enquire__form .tcc-prop-form__grid > .wpcf7-form-control-wrap[data-name="guests"],
.tcc-prop-enquire__form .tcc-prop-form__grid > .wpcf7-form-control-wrap[data-name="requirements"] {
  grid-column: 1 / -1;
}

.tcc-prop-enquire__form input[type="text"],
.tcc-prop-enquire__form input[type="email"],
.tcc-prop-enquire__form input[type="tel"],
.tcc-prop-enquire__form input[type="date"],
.tcc-prop-enquire__form input[type="number"],
.tcc-prop-enquire__form .wpcf7-form-control:not(.wpcf7-submit):not(textarea) {
  width: 100% !important;
  border: 1px solid #d9d3c8 !important;
  background: #fff !important;
  padding: 9px 12px !important;
  font-size: 13px !important;
  color: var(--tcc-navy) !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  line-height: 1.3 !important;
  box-sizing: border-box !important;
}

.tcc-prop-enquire__form textarea,
.tcc-prop-enquire__form textarea.wpcf7-form-control,
.tcc-prop-enquire__form textarea.wpcf7-textarea,
.tcc-prop-enquire__form .wpcf7-form-control-wrap[data-name="requirements"] textarea {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  border: 1px solid #d9d3c8 !important;
  background: #fff !important;
  color: var(--tcc-navy) !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  font-size: 13px !important;
  height: 56px !important;
  min-height: 56px !important;
  max-height: 72px !important;
  resize: vertical;
  padding: 8px 12px !important;
  line-height: 1.35 !important;
  box-sizing: border-box !important;
}

.tcc-prop-enquire__form .wpcf7-form-control-wrap,
.tcc-prop-enquire__form .tcc-prop-form__grid,
.tcc-prop-enquire__card {
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: hidden;
}

.tcc-prop-enquire__form .wpcf7-submit,
.tcc-prop-form__submit,
.tcc-prop-enquire__form input[type="submit"] {
  width: 100% !important;
  background: linear-gradient(180deg, #c4a06a 0%, #b08d57 100%) !important;
  color: #fff !important;
  border: 0 !important;
  padding: 11px 16px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px;
  cursor: pointer;
  border-radius: 2px !important;
  margin-top: 4px !important;
  height: auto !important;
  min-height: 42px !important;
  max-height: none !important;
}

.tcc-prop-enquire__form .wpcf7-response-output {
  margin: 8px 0 0 !important;
  padding: 6px 8px !important;
  font-size: 12px;
}

.tcc-prop-wa {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  width: 100%;
  background: var(--tcc-wa) !important;
  color: #fff !important;
  text-decoration: none !important;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 2px;
  box-sizing: border-box;
}

.tcc-prop-wa:hover {
  filter: brightness(0.96);
  color: #fff !important;
}

/* Explicit: no call button under WhatsApp */
.tcc-prop-enquire .tcc-prop-call,
.tcc-prop-enquire a[href^="tel:"] {
  display: none !important;
}

.tcc-prop-section {
  padding: 56px 0;
}

.tcc-prop-section--cream {
  background: var(--tcc-cream-2);
}

.tcc-prop-section__title {
  font-family: "Playfair Display", Georgia, serif !important;
  text-align: center;
  font-size: 34px !important;
  color: var(--tcc-navy) !important;
  margin: 0 0 36px !important;
  font-weight: 700 !important;
}

.tcc-prop-desc h2 {
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 32px !important;
  color: var(--tcc-navy) !important;
  margin: 0 0 18px !important;
}

.tcc-prop-desc__body {
  max-width: 820px;
}

.tcc-prop-desc__body p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--tcc-text);
  margin: 0 0 14px;
}

.tcc-prop-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.tcc-prop-highlight {
  background: #fff;
  border: 1px solid var(--tcc-line);
  padding: 28px 22px 24px;
  text-align: left;
}

.tcc-prop-highlight__icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  color: var(--tcc-gold);
  margin-bottom: 16px;
}

.tcc-prop-highlight__icon svg {
  width: 42px;
  height: 42px;
}

.tcc-prop-highlight h3 {
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 18px !important;
  color: var(--tcc-navy) !important;
  margin: 0 0 10px !important;
  font-weight: 700 !important;
}

.tcc-prop-highlight p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--tcc-text);
}

.tcc-prop-why {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
}

.tcc-prop-why__media img {
  width: 100%;
  display: block;
  object-fit: cover;
  min-height: 320px;
}

.tcc-prop-why__copy h2 {
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 30px !important;
  color: var(--tcc-navy) !important;
  margin: 0 0 22px !important;
}

.tcc-prop-why__copy ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.tcc-prop-why__copy li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.5;
  color: var(--tcc-text);
}

.tcc-prop-check {
  color: var(--tcc-gold);
  font-weight: 700;
  flex-shrink: 0;
}

.tcc-prop-facilities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tcc-prop-facility {
  background: #fff;
  border: 1px solid var(--tcc-line);
  padding: 26px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  min-height: 140px;
  justify-content: center;
  font-size: 15px;
  color: var(--tcc-navy);
  font-weight: 500;
}

.tcc-prop-facility__icon {
  color: var(--tcc-gold);
  width: 40px;
  height: 40px;
}

.tcc-prop-facility__icon svg {
  width: 40px;
  height: 40px;
}

.tcc-prop-note {
  text-align: center;
  color: var(--tcc-muted);
  font-size: 13px;
  margin: 22px 0 0;
}

.tcc-prop-look {
  position: relative;
  display: block !important;
  grid-template-columns: none !important;
  overflow: hidden;
  border-radius: 2px;
  background: #ece7df;
  width: 100%;
}

.tcc-prop-look__item {
  margin: 0;
  flex: 0 0 100% !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
}

.tcc-prop-look__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.tcc-prop-look__item figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: var(--tcc-navy);
  font-weight: 500;
}

.tcc-prop-faq {
  max-width: 820px;
}

.tcc-prop-faq .tcc-prop-section__title {
  text-align: left;
}

.tcc-prop-faq__item {
  border-bottom: 1px solid var(--tcc-line);
  padding: 4px 0;
}

.tcc-prop-faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 18px;
  color: var(--tcc-navy);
  font-weight: 600;
}

.tcc-prop-faq__item summary::-webkit-details-marker {
  display: none;
}

.tcc-prop-faq__plus {
  color: var(--tcc-gold);
  font-size: 22px;
  line-height: 1;
  width: 18px;
}

.tcc-prop-faq__a {
  padding: 0 0 16px 32px;
  color: var(--tcc-text);
  font-size: 15px;
  line-height: 1.65;
}

.tcc-prop-cta {
  background: var(--tcc-navy);
  color: #fff;
  padding: 48px 0;
}

.tcc-prop-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.tcc-prop-cta__copy h2 {
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 30px !important;
  color: #fff !important;
  margin: 0 0 8px !important;
}

.tcc-prop-cta__copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.tcc-prop-cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.tcc-prop-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 600;
  border-radius: 2px;
}

.tcc-prop-cta__btn--gold {
  background: linear-gradient(180deg, #c4a06a 0%, #b08d57 100%);
  color: #fff !important;
}

.tcc-prop-cta__btn--wa {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

@media (max-width: 991px) {
  .tcc-prop-top,
  .tcc-prop-why {
    grid-template-columns: 1fr;
  }

  .tcc-prop-gallery,
  .tcc-prop-enquire,
  .tcc-prop-enquire__card {
    height: auto;
  }

  .tcc-prop-gallery__main {
    min-height: 0;
    aspect-ratio: 16 / 11;
  }

  .tcc-prop-gallery__main img {
    position: static;
  }

  .tcc-prop-highlights,
  .tcc-prop-facilities {
    grid-template-columns: 1fr 1fr;
  }

  .tcc-prop-look {
    display: block !important;
    grid-template-columns: none !important;
  }

  .tcc-prop-enquire {
    position: static;
  }
}

@media (max-width: 575px) {
  .tcc-prop-highlights,
  .tcc-prop-facilities,
  .tcc-prop-look,
  .tcc-prop-gallery__thumbs {
    grid-template-columns: 1fr;
  }

  .tcc-prop-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
