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

/* ========== ohSnap toast notifications ========== */
#ohsnap {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100000;
  width: auto;
  max-width: calc(100% - 32px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  pointer-events: none;
}
#ohsnap .alert {
  pointer-events: auto;
  min-width: 240px;
  max-width: 420px;
  padding: 12px 20px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
  color: #fff;
  background: #2c2c2c;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  text-align: center;
  cursor: pointer;
}
#ohsnap .alert-green { background: #1f9d55; }
#ohsnap .alert-red   { background: #c0392b; }
#ohsnap .alert-blue  { background: #2f80ed; }
#ohsnap .alert-yellow { background: #d6a419; color: #1b1b1b; }
@media (max-width: 600px) {
  #ohsnap { bottom: 12px; right: 12px; left: 12px; align-items: stretch; }
  #ohsnap .alert { font-size: 13px; padding: 10px 16px; min-width: 0; max-width: none; }
}

.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

#highlightsGrid .highlight-panel {
  background: #000;
}

/* ========== HIGHLIGHTS ACCORDION ========== */
@media (min-width: 1025px) {
    #highlightsGrid {
        display: flex;
        gap: 6px;
        height: 360px;
        border-radius: 12px;
        overflow: hidden;
    }
    .highlight-panel {
        flex: 1;
        min-width: 60px;
        transition: flex 0.7s cubic-bezier(0.4, 0, 0.2, 1);
        cursor: pointer;
    }

    /* Title: vertical on collapsed panels */
    .highlight-panel h3 {
        transition: opacity 0.3s ease 0s;
    }
    #highlightsGrid:hover .highlight-panel:not(:hover) h3 {
        writing-mode: vertical-rl;
        text-orientation: mixed;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
        transform: rotate(180deg);
        max-height: 300px;
        opacity: 0.8;
    }
    #highlightsGrid .highlight-panel:hover h3 {
        white-space: normal;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        opacity: 0;
        animation: fadeInTitle 0.5s ease 0.35s forwards;
    }

    /* Description: hidden by default, fade in with delay on hover */
    .highlight-panel p.text-white\/80 {
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transition: opacity 0.3s ease, max-height 0.3s ease;
    }
    .highlight-panel:hover p.text-white\/80 {
        opacity: 0;
        max-height: 60px;
        animation: fadeInDesc 0.5s ease 0.5s forwards;
    }

    /* Flex sizing */
    #highlightsGrid .highlight-panel {
        flex: 1;
    }
    #highlightsGrid:hover .highlight-panel {
        flex: 0.6;
    }
    #highlightsGrid .highlight-panel:hover {
        flex: 2.5;
    }

    /* Image zoom */
    .highlight-panel__img {
        transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .highlight-panel:hover .highlight-panel__img {
        transform: scale(1.08);
    }

    /* Fade-in animations */
    @keyframes fadeInTitle {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    @keyframes fadeInDesc {
        from { opacity: 0; transform: translateY(8px); }
        to { opacity: 1; transform: translateY(0); }
    }
}

@media (max-width: 1024px) {
    #highlightsGrid {
        display: block;
    }
    .highlight-panel {
        min-height: 350px;
    }
}

html {
  scroll-behavior: unset;
}

/* Thin scrollbar for amenity descriptions */
.amenity-slide div[class*="overflow-y-auto"]::-webkit-scrollbar {
  width: 4px;
}
.amenity-slide div[class*="overflow-y-auto"]::-webkit-scrollbar-track {
  background: transparent;
}
.amenity-slide div[class*="overflow-y-auto"]::-webkit-scrollbar-thumb {
  background: #c8c8c8;
  border-radius: 4px;
}
.amenity-slide div[class*="overflow-y-auto"] {
  scrollbar-width: thin;
  scrollbar-color: #c8c8c8 transparent;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #faf7f0;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("../assets/images/bg-texture.jpg");
  background-size: 100% auto;
  background-position: center top;
  background-repeat: repeat;
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

.font-blacker {
  font-family: "Newsreader", serif;
}

.font-blacker-normal {
  font-family: "Newsreader", serif;
}

/* Picture frame effect */
.picture-frame {
  position: relative;
  padding: 18px;
  background: linear-gradient(
    145deg,
    #8b6344 0%,
    #6b4226 25%,
    #5a3520 50%,
    #7b5b3a 75%,
    #6b4226 100%
  );
  box-shadow:
    inset 2px 2px 8px rgba(0, 0, 0, 0.4),
    inset -2px -2px 8px rgba(139, 99, 68, 0.3),
    6px 6px 20px rgba(0, 0, 0, 0.25);
}

.picture-frame::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.picture-frame::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.picture-frame-inner {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.iti {
  width: 100% !important;
}

/* Amenities slider — mobile: stack slides in a grid cell so the container
   auto-sizes to the tallest slide instead of a fixed pixel height. */
@media (max-width: 767px) {
  .amenity-stage .amenity-slides {
    display: grid;
    height: auto !important;
  }
  .amenity-stage .amenity-slide {
    position: relative !important;
    inset: auto !important;
    grid-area: 1 / 1 / 2 / 2;
  }
}

.mfp-title {
  font-size: 10px !important;
  text-align: left !important;
  padding-right: 0 !important;
  padding-left: 6px !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8), 0 0 6px rgba(0, 0, 0, 0.6) !important;
}

.mfp-img,
img.mfp-img {
  background: transparent !important;
  padding: 10px !important;
  border-radius: 8px !important;
  max-width: 100% !important;
  max-height: 83vh !important;
  width: auto !important;
  height: auto !important;
  margin: auto !important;
  padding-left: 0px !important;
  padding-right: 0px !important;
}

/* Clubhouse carousel */
.clubhouse-slider {
  transition: transform 0.5s ease;
}

/* Gallery layout */
.gallery-track {
  display: flex;
  align-items: center;
  transition: transform 0.5s ease;
}

/* Custom scrollbar hide */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Smooth transitions */
.fade-transition {
  transition: opacity 0.6s ease;
}

/* Number gradient text */
.number-gradient {
  background: linear-gradient(180deg, #d4956b 0%, #c4785a 50%, #b86040 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.6;
}

/* Section bg texture */
.bg-texture {
  background-color: #faf7f0;
  background-image: url("../assets/images/bg-texture-old.jpg");
  background-size: cover;
  background-position: center;
}

/* Nav link hover */
.nav-link {
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #b1381f;
}

/* Info card glass */
.glass-card {
  background: rgb(0 0 0 / 19%);
  border: 0.56px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(2.7px);
  justify-content: flex-start !important;
  padding: 10px;
}

/* Tab underline */
.tab-active {
  color: #b1381f;
  position: relative;
}

.tab-active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #b1381f;
  border-radius: 3px;
}

.tab-item {
  cursor: pointer;
  transition: color 0.3s ease;
}

.tab-item:hover {
  color: #b1381f;
}

/* ===== MOBILE MENU ===== */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: #faf7f0;
  z-index: 70;
  transition: right 0.3s ease;
  padding: 80px 24px 24px;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-size: 18px;
  color: #2c2b2b;
  border-bottom: 1px solid #e5e5e5;
  text-decoration: none;
  font-family: "Inter", sans-serif;
}

.mobile-menu a:hover {
  color: #b1381f;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ------------------------------------------------------------------------------------------------------------ */

/* header,
#hero,
#about,
#highlights,
#amenities,
#clubhouse,
#masterplan,
#gallery,
#location,
#contact {
  background-image: url(../assets/images/bg-texture.jpg);
  background-size: contain;
  background-repeat: repeat;
  background-position: top center;
} */

#banner_form {
  background-image: url(../assets/images/bg-texture.jpg);
  background-size: contain;
  background-repeat: repeat;
  background-position: top center;
}

.tab-active {
  color: #e35336 !important;
}

/* ===============================
   GALLERY - FINAL OPTIMIZED CSS
================================ */

/* spacing between items */
#gallery .item {
  padding: 0 10px;
}

/* smooth motion */
#gallery .owl-stage {
  display: flex;
  align-items: flex-end;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* prevent clipping when scaling */
#gallery .owl-item {
  padding: 15px 0;
}

/* base card */
#gallery .gallery-carousel .item {
  border-radius: 12px;
  overflow: hidden;
  transform: scale(0.85);
  opacity: 0.9;
  transition:
    transform 0.5s ease,
    opacity 0.5s ease;
  will-change: transform;
}

/* center item (main focus) */
#gallery .gallery-carousel .owl-item.center .item {
  transform: scale(1.05);
  /* premium highlight */
  opacity: 1;
  z-index: 2;
}

/* optional depth effect */
#gallery .gallery-carousel .owl-item:not(.center) .item {
  filter: brightness(0.9);
}

/* VIDEO gallery — mirror image gallery's center-focused look */
#gallery .video-gallery-carousel .owl-item .item {
  transform: scale(0.85);
  transform-origin: bottom center;
  opacity: 0.9;
  transition: transform 0.5s ease, opacity 0.5s ease;
  will-change: transform;
}
#gallery .video-gallery-carousel .owl-item.center .item {
  transform: scale(1.05);
  opacity: 1;
  z-index: 2;
}
#gallery .video-gallery-carousel .owl-item:not(.center) .item {
  filter: brightness(0.9);
}
#gallery .video-gallery-carousel .owl-item:not(.center) .item iframe {
  pointer-events: none;
}

@media (max-width: 767px) {
  #gallery .video-gallery-carousel .owl-item .item {
    transform: none;
    transform-origin: unset;
  }
}

/* media */
#gallery .gallery-carousel img,
#gallery .gallery-carousel video {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

/* hover effect */
#gallery .gallery-carousel .item:hover img,
#gallery .gallery-carousel .item:hover video {
  transform: scale(1.05);
}

/* arrows */
#gallery .nav-btn {
  width: 20px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

#gallery .nav-btn:hover {
  transform: scale(1.1);
  opacity: 0.7;
}

#gallery .nav-btn:active {
  transform: scale(0.95);
}

/* remove dots */
#gallery .owl-dots {
  display: none;
}

/* base (side items) */
#gallery .gallery-carousel .owl-item .item {
  transform: scale(0.85);
  transform-origin: bottom center;
  /* 🔥 key line */
  opacity: 0.9;
  transition:
    transform 0.5s ease,
    opacity 0.5s ease;
}

@media (max-width: 767px) {
  #gallery .gallery-carousel .owl-item .item {
    transform: none;
    transform-origin: unset;
  }
}

/* center item */
#gallery .gallery-carousel .owl-item.center .item {
  transform: scale(1.05);
  transform-origin: bottom center;
  /* 🔥 keep same */
  opacity: 1;
  z-index: 2;
}

/* intl-tel-input custom css */
.iti input {
  width: 100%;
  background: white;
  color: black;
  /* border: none !important; */
  outline: none;
  box-shadow: none;
  margin: 5px 5px !important;
}

/* Country code dropdown matches form background */
.iti__selected-flag {
  background: transparent !important;
}

.iti__country-list {
  background: #fff;
  z-index: 999999;
}

.iti--container {
  z-index: 999999 !important;
}

/* Clean input */
.iti input {
  /* border: none !important; */
  background: white;
  color: black;
  width: 100%;
  outline: none;
  padding-left: 5rem !important;
}

/* Prevent flex breaking */
form input,
form .iti {
  min-width: 0;
}

.mfp-close {
  cursor: pointer !important;
  width: 40px !important;
  height: 40px !important;
  background: #E35336 !important;
  color: #fff !important;
  font-size: 22px !important;
  font-weight: bold !important;
  border-radius: 50% !important;
  top: 5px !important;
  right: 5px !important;
  opacity: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  padding: 0 !important;
}

.mfp-inline-holder .mfp-close {
  background: transparent !important;
  color: #2c2c2c !important;
}

.mfp-image-holder .mfp-close {
  right: 5px !important;
  top: -40px !important;
  position: absolute !important;
}

.mfp-img {
  background: transparent !important;
  padding: 10px !important;
  border-radius: 8px !important;
  max-width: 92% !important;
  max-height: 92vh !important;
  width: auto !important;
  height: auto !important;
  margin: auto !important;
}

.mfp-arrow-left {
  left: 8% !important;
}
.mfp-arrow-right {
  right: 8% !important;
}
@media (max-width: 768px) {
  .mfp-img {
    max-width: 95% !important;
    padding: 40px 0 0px !important;
  }
  .mfp-mobile-arrows {
    display: flex !important;
    justify-content: center !important;
    gap: 30px !important;
    position: absolute !important;
    bottom: 145px !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 10001 !important;
  }
  .mfp-mobile-arrows button {
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    border: none !important;
    background: rgba(0, 0, 0, 0.7) !important;
    color: #fff !important;
    font-size: 11px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .mfp-arrow {
    display: none !important;
  }
  .mfp-zoom-controls {
    bottom: 85px !important;
  }
  .mfp-zoom-controls button {
    width: 30px !important;
    height: 30px !important;
    font-size: 14px !important;
  }
  .mfp-zoom-controls .mfp-zoom-reset {
    font-size: 11px !important;
  }

  .mfp-masterplan .mfp-figure {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .mfp-masterplan .mfp-figure .mfp-zoom-controls {
    /* position: static !important; */
    /* transform: none !important; */
    bottom: -55% !important;
    margin-top: 20px;
    /* display: flex; */
    /* gap: 12px; */
    /* justify-content: center; */
    /* align-items: center; */
    z-index: 10;
}

  .mfp-masterplan .mfp-figure .mfp-zoom-controls button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #E35336;
    color: #fff;
    border: none;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  }

  .mfp-masterplan .mfp-figure .mfp-zoom-controls button:hover {
    background: #c9432a;
  }

  /* Make sure the image itself doesn't overflow when scaled */
  .mfp-masterplan .mfp-img {
    max-height: 60vh;
  }
}

.mfp-figure:after {
  display: none !important;
}

body.mfp-zoom-out-cur #scroll-down-btn,
.mfp-wrap ~ #scroll-down-btn,
body:has(.mfp-wrap) #scroll-down-btn {
  display: none !important;
}

.mfp-zoom-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: flex;
  gap: 8px;
}

.mfp-zoom-controls button {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  border: none !important;
  background: rgba(0, 0, 0, 0.7) !important;
  color: #fff !important;
  font-size: 22px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.mfp-zoom-controls .mfp-zoom-reset {
  font-size: 14px !important;
}

/* Map Tiles - slight saturation reduction for elegance */
.leaflet-tile-pane {
  filter: saturate(85%) contrast(105%);
}

.leaflet-container {
  background: transparent !important;
}

/*  */
/* Scroll button "up-arrow" mode (at footer) */
#scroll-down-btn.scroll-up-mode {
  background: #b1381f !important;
  border-radius: 50% !important;
  width: 48px !important;
  height: 48px !important;
  padding: 8px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

#scroll-down-btn.scroll-up-mode svg path {
  stroke: #ffffff !important;
}

/* Keep chevron bounce disabled while in up-mode for stability */
#scroll-down-btn.scroll-up-mode .scroll-chevron-1,
#scroll-down-btn.scroll-up-mode .scroll-chevron-2 {
  animation: none !important;
}
/*  */

/* Custom tooltip style for main marker */
.leaflet-tooltip {
  background: #E35336;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.3px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}
.leaflet-tooltip-top::before {
  border-top-color: #E35336;
}

/* Custom Marker Pins */
.custom-map-marker {
  position: relative;
  width: 32px !important;
  height: 42px !important;
}
.custom-map-marker .marker-pin {
  width: 32px;
  height: 32px;
  border-radius: 50% 50% 50% 0;
  background: #fff;
  position: absolute;
  transform: rotate(-45deg);
  left: 0;
  top: 0;
  border: 2.5px solid #282828;
  box-shadow: -2px 3px 5px rgba(0, 0, 0, 0.15);
}
.custom-map-marker .marker-icon {
  position: absolute;
  width: 18px;
  height: 18px;
  top: 7px;
  left: 7px;
  z-index: 100;
}
.custom-map-marker .marker-icon svg {
  width: 100%;
  height: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
}
.error {
  /* if using Contact Form 7 */
  font-size: 12px;
  color: red;
  margin-top: 4px;
  display: block;
}

.iti__selected-flag {
  height: 35px !important;
}

#location-map .leaflet-control-attribution {
  display: none;
}

div#kenytChatBubble {
  bottom: 80px !important;
}

/* #location-map .leaflet-tile-pane {
  filter: contrast(1.3) brightness(0.85);
} */

/* ===== RESPONSIVE OVERRIDES ===== */

@media (min-width: 768px) and (max-width: 1024px) {
  .picture-frame {
    width: 260px !important;
    height: 320px !important;
  }
}
@media (max-width: 996px) {
  .iti {
    background: #fff;
    border-radius: 7px;
  }
  .iti input {
    background: #fff !important;
  }
}
@media (max-width: 767px) {
  .picture-frame {
    padding: 16px;
    width: 300px !important;
    height: 280px !important;
  }

  .number-gradient {
    font-size: 80px !important;
  }
  .iti:has(.phone-input-mobile) {
    width: 100%;
    background: white;
    border-radius: 8px;
    border: 1px solid #c8c8c8;
    overflow: hidden;
  }
  .iti:has(.phone-input-mobile) .iti__flag-container {
    background: white;
    border-radius: 8px 0 0 8px;
  }
  .iti:has(.phone-input-mobile) input {
    background: white !important;
    border: none !important;
    border-radius: 0 8px 8px 0;
  }

  /* Desktop: behave like other inputs */
  .iti {
    flex: 1;
    width: auto;
    display: flex;
    align-items: center;
    /* border-bottom: 1px solid #a0a0a0; */
  }

  div#kenytChatBubble {
    bottom: 70px !important;
  }
}

/* ==========================================================
   Masterplan section: owl-carousel nav arrows
   Matches the previous custom fp-prev / fp-next look.
   ========================================================== */
#masterplan-content .owl-carousel {
  position: relative;
}

#masterplan-content .owl-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 10px 0 0 !important;
}

#masterplan-content .owl-nav button.owl-prev,
#masterplan-content .owl-nav button.owl-next {
  width: 42px;
  height: 42px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: #ffffff !important;
  border: 1px solid #E35336 !important;
  border-radius: 9999px !important;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 300ms ease;
  margin: 0 !important;
  padding: 0 !important;
  color: transparent;
}

#masterplan-content .owl-nav button.owl-prev:hover,
#masterplan-content .owl-nav button.owl-next:hover {
  background: #E35336 !important;
  border-color: transparent !important;
}

#masterplan-content .owl-nav button svg {
  width: 12px;
  height: 20px;
  display: block;
}

#masterplan-content .owl-nav button svg path {
  stroke: #E35336;
  transition: stroke 300ms ease;
}

#masterplan-content .owl-nav button:hover svg path {
  stroke: #ffffff;
}

#masterplan-content .owl-nav button.owl-prev.disabled,
#masterplan-content .owl-nav button.owl-next.disabled {
  display: none !important;
}

/* Disable the Owl autoHeight transition for the floor plan + unit plan
   carousels so the container doesn't visibly "slide down" as images finish
   loading or as users switch between sub-tabs. */
#floor-plan-carousel-view .owl-height,
#floor-plan-carousel-view .owl-carousel .owl-stage-outer,
#unitplan-container-view .owl-height,
#unitplan-container-view .owl-carousel .owl-stage-outer {
  transition: none !important;
}
span.floor-plan-text {
    padding: 10px;
    width: 100%;
    display: block;
    line-height: 1;
    text-align: center;
}

#masterplan-content .owl-nav.disabled {
  display: none !important;
}

/* Mobile: keep disabled arrows visible (dimmed) instead of hiding them */
@media (max-width: 767px) {
  #masterplan-content .owl-nav button.owl-prev.disabled,
  #masterplan-content .owl-nav button.owl-next.disabled {
    display: flex !important;
    opacity: 0.5;
  }
}

/* Tablet and up: reserve space on the right so the sticky
   "Book a Site Visit" tab doesn't overlap the Location Map info box. */
@media (min-width: 768px) {
  #location > div {
    padding-right: 60px;
  }
}

/* Desktop: absolute-positioned arrows on the sides of the carousel */
@media (min-width: 768px) {
  #masterplan-content .owl-nav {
    display: block;
    margin: 0 !important;
  }
  #masterplan-content .owl-nav button.owl-prev,
  #masterplan-content .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.8) !important;
  }
  #masterplan-content .owl-nav button.owl-prev {
    left: 20px;
  }
  #masterplan-content .owl-nav button.owl-next {
    right: 20px;
  }
}

@media (min-width: 1024px) {
  #masterplan-content .owl-nav button.owl-prev {
    left: -60px;
  }
  #masterplan-content .owl-nav button.owl-next {
    right: -60px;
  }
}
