/* ===== FONTS (local TTFs) ===== */
  @font-face{font-family:"Euclid Circular A";src:url("../font/EuclidCircularA-Medium.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap;}
  @font-face{font-family:"Euclid Circular A";src:url("../font/EuclidCircularA-SemiBold.ttf") format("truetype");font-weight:600;font-style:normal;font-display:swap;}
  @font-face{font-family:"Baskerville Custom";src:url("../font/baskervi.ttf") format("truetype");font-weight:400;font-style:italic;font-display:swap;}
  @font-face{font-family:"Baskerville Custom";src:url("../font/BaskervilleBoldItalicBT.ttf") format("truetype");font-weight:700;font-style:italic;font-display:swap;}

  /* ===== THEME ===== */
  :root{
    --page-bg:#fffbf5;
    --brand:#c79a5a;
    --theme:#a95917;
    --text:#1d1d1f;
    --muted:#6a6a6a;
    --side-gap:5rem;
    --nav-h:88px;
    --thumb-h:92px;
    --cta-h:52px;
    --content-xpad:clamp(18px,4vw,40px);

    /* Animation timing (slow & classy) */
    --ease: cubic-bezier(.22,1,.36,1);
    --dur-in: .9s;
    --dur-img: 1.15s;
    --stagger: 60ms;
    --lift: 16px;
    --fade: 0;
    --scale-start: .985;

    /* NEW: vertical rhythm */
    --v-gap-sm: clamp(8px, 1vw, 12px);
    --v-gap-md: clamp(14px, 1.6vw, 22px);
    --v-gap-lg: clamp(18px, 2.2vw, 28px);
  }

  /* ===== GLOBAL ===== */
  *{box-sizing:border-box;}
  html,body{height:100%;overflow-x:hidden;}
  body{margin:0;background:var(--page-bg);color:var(--text);font-family:"Euclid Circular A",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;}
  img{max-width:100%;height:auto;display:block;}

  /* ===== DETAIL LAYOUT ===== */
  .detail-section{
    height: auto;
    width:100%;min-height:80vh; /* full-viewport so both columns line up */
    display:grid;grid-template-columns:40% 60%;gap:0;
    max-width: 1440px; overflow:hidden;
    margin: 0 auto;
  }

  /* LEFT: gallery */
  .detail-gallery{padding:14px 0;display:flex;flex-direction:column;gap:10px;min-width:0;height:90%;overflow:hidden;}
  .gallery-main{position:relative;flex:1 1 auto;overflow:hidden;background:#e9e9e9;}
  .gallery-main img{
    width:100%;height:100%;object-fit:cover;
    opacity:1;transform:scale(1) translateZ(0);
    transition:none;will-change:opacity, transform;
  }
  .gallery-main img.img-in{animation: imgCross var(--dur-img) var(--ease) both;}
  @keyframes imgCross{
    from{ opacity:0; transform:scale(1.03); }
    60%{ opacity:1; }
    to{ opacity:1; transform:scale(1); }
  }
  .gallery-nav{position:absolute;inset:0;display:flex;align-items:center;justify-content:space-between;pointer-events:none;}
  .gallery-nav button{pointer-events:auto;width:46px;height:46px;border-radius:50%;border:none;cursor:pointer;display:grid;place-items:center;background:rgba(0,0,0,.45);color:#fff;font-size:26px;line-height:1;margin:0 10px;transition:transform .25s var(--ease),background .25s var(--ease);}
  .gallery-nav button:hover{transform:scale(1.06);background:rgba(0,0,0,.6);}
  .gallery-thumbs{flex:0 0 var(--thumb-h);display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-ms-overflow-style:none;padding-bottom:2px;}
  .gallery-thumbs::-webkit-scrollbar{display:none;}
  .gallery-thumbs img{flex:0 0 96px;height:var(--thumb-h);object-fit:cover;cursor:pointer;border:2px solid transparent;transition:filter .25s var(--ease), transform .25s var(--ease), border-color .2s;}
  .gallery-thumbs img:hover{filter:brightness(1.03); transform:translateY(-2px);}
  .gallery-thumbs img.active{border-color:var(--brand);}

  .detail-content {
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 90%;
}

.detail-scroll {
  flex: 1 1 auto;
  overflow-y: visible;
  padding: 14px var(--content-xpad);
}

.detail-cta {
  position: sticky;     /* Keeps button visible at bottom */
  bottom: 0;
  padding: 1.5rem var(--content-xpad) 2rem; /* add more bottom gap */
  background: var(--page-bg); /* match your page background */
  z-index: 2;
  margin-top: 1rem;
}

.detail-book-cta {
  display: block;
  width: 100%;
  height: var(--cta-h);
  line-height: var(--cta-h);
  text-align: center;
  font-weight: 600;
  border-radius: 999px;
  background: var(--theme);
  color: #fff;
  transition: background 0.3s ease;
}

.detail-book-cta:hover {
  background: #8a4212;
}


/* When the grid stacks on mobile, just span full width */
@media (max-width:980px){
  .detail-cta{
    margin-left: var(--side-gap);
    margin-right: var(--side-gap);
    width: auto;                    /* use available width */
    max-width: none;
  }

  .detail-section{
    height: 100vh;
    padding-left: var(--side-gap);
    padding-right: var(--side-gap);
  }

  .detail-scroll{
    overflow-y: hidden;
  }
  .detail-gallery{
    height: 65vh;
  }
}

  .detail-book-cta,
  .detail-book-cta:visited{
    display:block;width:100%;height:var(--cta-h);line-height:var(--cta-h);
    text-align:center;border-radius:999px;background:var(--theme);color:#fff;
    font-weight:700;letter-spacing:.07em;text-transform:uppercase;font-size:13px;
    text-decoration:none!important;transition:transform .28s var(--ease),background .28s var(--ease), box-shadow .28s var(--ease);
    box-shadow:0 8px 22px rgba(169,89,23,.18);
  }
  .detail-book-cta:hover{transform:translateY(-2px);background:#8e4711;box-shadow:0 12px 30px rgba(169,89,23,.26);}

  /* Typography */
  .detail-title{
    color:var(--theme);font-family:"Baskerville Custom","Times New Roman",serif;
    font-style:italic;font-weight:700;font-size:clamp(1.9rem,3.2vw,2.6rem);margin:0 0 6px 0;
  }
  .subhead{font-weight:700;font-size:24px;margin:var(--v-gap-md) 0 8px;color:var(--theme); font-family: "Baskerville Custom"; margin-bottom: 2rem;}
  .detail-sub{font-style:italic;opacity:.9;margin:0 0 10px;font-size:14px;color:var(--muted);}
  .detail-scroll p{font-size:14px;margin:0 0 10px;}
  .compact{margin:0 0 12px 1.1rem;padding:0;color:var(--muted);font-size:14px;}
  .compact li{margin:4px 0;} /* loosened */

  /* Add generous top margins when a new block starts after text/list or amenities */
  .compact + .subhead,
  .detail-sub + .subhead,
  .amenities + .subhead{
    margin-top: var(--v-gap-lg);
  }

  .amenities{
    display:grid;
    gap:20px 24px; /* slightly larger gaps */
    grid-template-columns:repeat(3,minmax(140px,1fr));
    margin-bottom: var(--v-gap-md); /* breathing room before next heading */
  }
  @media (min-width:1100px){.amenities{grid-template-columns:repeat(4,minmax(140px,1fr));}}
  .amenity{display:flex;align-items:center;gap:10px;}
  .amenity .circle{width:44px;height:44px;border-radius:50%;background:var(--brand);display:grid;place-items:center;flex:0 0 44px;}
  .amenity .label{font-size:14px;color:#474747;}

  /* Amenity popover */
.amenity.has-info { position: relative; }
.amenity .label { display: inline-flex; align-items: center; gap: 6px; }
.amenity .chev{
  border: none; background: transparent; padding: 0; margin: 0;
  font-size: 14px; line-height: 1; cursor: pointer; color: var(--theme);
  transform: translateY(1px); transition: transform .2s var(--ease), color .2s var(--ease);
}
.amenity .chev:focus-visible{ outline: 2px solid color-mix(in oklab, var(--theme) 50%, white); border-radius: 4px; }

.amenity .info-pop{
  position: absolute; left: 50%; top: calc(100% + 10px); transform: translate(-50%, 4px);
  max-width: 200px;
  background: var(--page-bg); color: var(--text);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 10px 28px rgba(0,0,0,.12);
  border-radius: 10px; padding: 14px 16px; z-index: 5;
  opacity: 0; pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  z-index: 1;
}
.amenity .info-pop::before{
  content: ""; position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
  border: 8px solid transparent; border-bottom-color: rgba(0,0,0,.08);
}
.amenity .info-pop::after{
  content: ""; position: absolute; top: -7px; left: 50%; transform: translateX(-50%);
  border: 7px solid transparent; border-bottom-color: var(--page-bg);
}

.popup-list{ margin: 8px 0 0 1rem; padding: 0; font-size: 13px; color: var(--muted); }
.popup-list li{ margin: 4px 0; }

/* ===== Amenity Popover (fixed layering + arrow pointing down) ===== */
.amenity.has-info {
  position: relative;
  z-index: 5; /* ensure it's above Notes */
}

.amenity .label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 6;
  font-size: 16px;
}

.amenity .chev {
  border: none;
  background: transparent;
  padding: 0;
  font-size: 14px;
  cursor: pointer;
  color: var(--theme);
  line-height: 1;
  transition: transform 0.25s var(--ease), color 0.25s var(--ease);
}

/* Arrow down by default, rotates up when open */
.amenity.has-info.open .chev {
  transform: rotate(180deg);
}

/* Popover styling */
.amenity .info-pop {
  position: absolute;
  left: 50%;
  top: calc(100% + 12px);
  transform: translateX(-50%);
  width: min(320px, 80vw);
  background: var(--page-bg);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  padding: 16px;
  color: var(--text);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  z-index: 999; /* ensure it's above all sections */
}

/* Small arrow tip under the card */
.amenity .info-pop::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-bottom-color: rgba(0, 0, 0, 0.1);
}
.amenity .info-pop::after {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-bottom-color: var(--page-bg);
}

/* Show when open */
.amenity.has-info.open .info-pop {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Notes card fix */
.notes-card {
  position: relative;
  z-index: 1; /* ensure it stays below popover */
  overflow: visible; /* allow floating elements above */
}


/* Mobile: keep popover within screen */
@media (max-width: 520px){
  .amenity .info-pop{ left: 0; transform: translate(0, 4px); right: 0; margin-inline: 0; max-width: 170px;}
  .amenity.has-info:hover .info-pop,
  .amenity.has-info:focus-within .info-pop{ transform: translate(0, 0); }
}


  /* ====== REVEAL ANIMATIONS ====== */
  .reveal{opacity:var(--fade);transform:translateY(var(--lift)) scale(var(--scale-start));will-change:transform,opacity;}
  .reveal.is-visible{opacity:1;transform:translateY(0) scale(1);transition: opacity var(--dur-in) var(--ease), transform var(--dur-in) var(--ease);}

  .detail-scroll ul.compact.reveal[style*="--i:21"],
  .detail-scroll ul.compact.reveal[style*="--i:20"],
  .detail-scroll ul.compact.reveal[style*="--i:22"] {
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }

  /* ===== RESPONSIVE ===== */
  @media (max-width:1200px){:root{--side-gap:3rem;--nav-h:80px;}}
  @media (max-width:980px){
    :root{--side-gap:2rem;}
    .detail-section{
      height:auto;
      min-height:calc(100vh - var(--nav-h));
      grid-template-columns:1fr;
      gap:10px;
    }
    .gallery-main{aspect-ratio:4/3;min-height:52svh;}
  }
  @media (max-width:768px){
    :root{--side-gap:1.25rem;--nav-h:72px;--thumb-h:84px;}
    .amenities{grid-template-columns:repeat(2,minmax(140px,1fr));}
  }
  @media (max-width:430px){
    :root{--side-gap:1rem;--nav-h:64px;--thumb-h:76px;}
    .detail-title{font-size:clamp(1.6rem,7vw,2rem);margin-bottom:8px;}
    .gallery-thumbs img{flex-basis:72px;height:calc(var(--thumb-h) - 18px);}
  }

  /* Motion prefs */
  @media (hover:none){.gallery-nav button:hover{transform:none;}}
  @media (prefers-reduced-motion:reduce){
    .detail-book-cta,.gallery-nav button{transition:none!important;}
    .reveal{opacity:1; transform:none;}
    .gallery-main img{animation:none!important;}
  }

  /* ====== FLOATING ACTION BUTTONS ====== */
  .fab-wrap{
    position:fixed;right:clamp(30px, 2vw, 20px);bottom:clamp(14px, 2vw, 20px);
    z-index:9999;display:flex;flex-direction:column;gap:14px;pointer-events:none;
  }
  .fab-btn{
    width:70px;height:70px;border-radius:50%;background:#3d2a1a;
    display:flex;align-items:center;justify-content:center;box-shadow:0 10px 26px rgba(0,0,0,.25);
    transition:transform .25s var(--ease), box-shadow .25s var(--ease);
    cursor:pointer;pointer-events:auto;border:none;outline:none;text-decoration:none !important;
    opacity:0;transform:translateY(16px) scale(.98);animation: fabIn 1s var(--ease) .3s forwards;
  }
  .fab-btn:hover{ transform:translateY(-2px); box-shadow:0 14px 34px rgba(0,0,0,.33); }
  .fab-btn, .fab-btn:hover, .fab-btn:focus, .fab-btn:active, .fab-btn:visited, .fab-btn *{ text-decoration:none !important; }
  .fab-btn.whatsapp{ background:#25D366; }
  .fab-btn.whatsapp i{ font-size:30px; color:#fff; line-height:1; display:block; }
  @media (max-width:600px){ .fab-btn{ width:50px; height:50px; } .fab-btn.whatsapp i{ font-size:22px; } }
  @keyframes fabIn{ to{ opacity:1; transform:translateY(0) scale(1); } }

  /* ===== NOTES CARD STYLE ===== */
.notes-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background: var(--page-bg);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-radius: 10px;
  padding: 1.8rem 2rem;
  margin-bottom: var(--v-gap-lg);
  font-size: 14px;
}

.note-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 6px;
  padding-bottom: 1rem;
}

.note-row span:first-child {
  color: var(--muted);
}

.note-row span:last-child {
  color: var(--text);
  font-weight: 600;
}

.notes-footnote {
  font-size: 13px;
  color: var(--muted);
  margin-top: 1rem;
  line-height: 1.6;
}

.notes-footnote a {
  color: var(--theme);
  font-weight: 600;
  text-decoration: underline;
}

@media (max-width:768px) {
  .notes-card {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    padding: 1.2rem 1.4rem;
  }
}

/* ===== Toggle Section (Optional Extras & Notes) ===== */
.toggle-block {
  border-bottom: 1px solid rgba(0,0,0,0.08);
  margin-top: 1rem;
  padding-top: 0.5rem;
}

.toggle-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  color: var(--theme);
  font-size: 20px;
  transition: color 0.3s var(--ease);
  font-family: "Baskerville Custom";
}

.toggle-header i {
  font-size: 14px;
  transition: transform 0.3s var(--ease);
  color: var(--theme);
}

.toggle-content {
  display: block;
  margin-top: 0.8rem;
  animation: fadeSlideIn 0.4s var(--ease) both;
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Looking for More (slider) ===== */
.more-stays{padding: clamp(36px,6vw,64px) 0;}
.more-head{display:flex;align-items:center;gap:16px;justify-content:center;margin-bottom:24px;padding:0 clamp(16px,5vw,40px);}
.more-head hr{flex:1;border:0;border-top:1px solid #d8c9b5; max-width: 1440px; margin-left: 10rem; margin-right: 10rem;}
.more-head h2{margin:0;font-weight:600;letter-spacing:.12em;color:#8c837a;font-size:clamp(16px,2vw,22px);}

@media(max-width:900px){
  .more-head hr{
    margin: 0;
  }

  .more-head{
    margin: 0;
    padding-bottom: 1rem;
  }
}

.more-viewport{position:relative;max-width:min(1260px,100%);margin:0 auto;padding:0 clamp(16px,5vw,40px);}
.more-track{
  display:flex;
  gap:clamp(18px,2.6vw,28px);
  overflow-x:auto;                  /* scroll container */
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling: touch;
}
.more-track::-webkit-scrollbar { display: none; }
.more-track { scrollbar-width: none; } /* for Firefox */

.more-card{
  flex:0 0 calc((100% - 2 * clamp(18px,2.6vw,28px)) / 3); /* 3 visible */
  scroll-snap-align:center;
  display:block; background:var(--page-bg); overflow:hidden;
  transition:transform .35s var(--ease), box-shadow .35s var(--ease);
}
.more-card:hover{transform:translateY(-3px);}

/* arrows stay; just ensure they’re above */
.more-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:5;}

/* responsive: 2 per view on tablet, 1 on mobile */
@media (max-width:1024px){
  .more-card{flex:0 0 calc((100% - clamp(18px,2.6vw,28px)) / 2);}
}

.more-media{position:relative;margin:0}
.more-media::before{content:"";display:block;aspect-ratio:4/3}
.more-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}

.more-info{padding:14px 16px 16px;position:relative;display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px}
.more-title{grid-column:1/-1;font-family:"Baskerville Custom",serif;font-style:italic;color:var(--theme);font-weight:700;font-size:20px}
.more-sub{margin:0;color:#6b6b6b;font-size:13px}
.more-arrow{justify-self:end;font-size:20px;color:var(--brand);transition:transform .3s var(--ease)}
.more-card:hover .more-arrow{transform:translateX(4px)}

.more-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 5;
}

.more-nav img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.more-nav:hover img {
  transform: scale(1.05);
}

.more-nav.prev { left: -30px; }   /* adjust horizontal offset */
.more-nav.next { right: -30px; }  /* adjust as needed */

.more-card,
.more-card:visited {
  color: inherit;
  text-decoration: none;
}

.more-card .more-title {
  text-decoration: none;
  color: var(--theme);
}

.more-card .more-sub{
  color: var(--muted);
}

.more-card:hover .more-title {
  color: var(--brand);
}

/* ——— Mobile arrows ON ——— */
@media (max-width: 768px){
  .more-viewport{ overflow: visible; }               /* so arrows aren't clipped */
  .more-nav{ display: block; }                       /* override the display:none */
  .more-nav img{ width: 44px; height: 44px; }        /* readable tap target */
  .more-nav.prev{ left: 8px; }                       /* inside the card */
  .more-nav.next{ right: 8px; }
}

/* If you keep the 640px media query, make sure it doesn't hide them */
@media (max-width: 640px){
  .more-card{ flex: 0 0 100%; }                      /* 1 card per view */
  .more-nav{ display: block; }                       /* override old rule */
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.86);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 26px;
  font-size: 38px;
  color: #fff;
  cursor: pointer;
}

.lb-prev,
.lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  transition: 0.25s ease;
}

.lb-prev:hover,
.lb-next:hover {
  background: rgba(255,255,255,0.25);
}

.lb-prev { left: 30px; }
.lb-next { right: 30px; }

@media (max-width: 600px) {
  .lb-prev, .lb-next { width: 44px; height: 44px; font-size: 28px; }
  .lightbox .close { font-size: 30px; }
}

/* ===== FULL-WIDTH INFO SECTION ===== */
/* Center the whole section */
.villa-info-section {
  background: var(--page-bg);
}

@media(max-width:900px){
  .villa-info-section{
    padding-left: var(--side-gap);
    padding-right: var(--side-gap);
  }
}

/* Proper centered wrapper */
.info-wrapper {
  max-width: 1200px; 
  margin: 0 auto;
}

@media(max-width:900px){
  .info-wrapper{
    padding-left: var(--side-gap);
    padding-right: var(--side-gap);
  }
}

/* Center the Section Titles */
.info-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--theme);
  font-family: "Baskerville Custom", serif;
  font-style: italic;
  margin-bottom: 1.4rem;
  text-align: left;      /* You can change to center if you prefer */
}

/* Amenities grid stays clean */
.villa-info-section .amenities {
  max-width: 100%;
  margin: 0 auto;

}

/* Optional extras text alignment */
.extras-list {
  font-size: 16px;
  color: var(--muted);
  margin-left: 1.2rem;
  line-height: 1.6;
  max-width: 900px;      /* Keep extras nicely centered */
  text-align: justify;
}

.room-details-list {
  line-height: 1.5;
}


.room-details-list li {
  font-size: 16px;
  font-family: 'Euclid Circular A';
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 6px 0;
}

.room-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: inline-flex;            /* center via flex */
  align-items: center;
  justify-content: center;
  background: var(--page-bg);
  border-radius: 4px;
  overflow: hidden;                /* hide any overflow */
}

@media (max-width: 900px) {
  .room-icon {
    width: 32px;
    height: 32px;
  }
}

/* NEW: normalize all the actual icon images */
.room-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;             /* keep aspect ratio, fit box */
  display: block;
}

/* Special layout for amenities with descriptions */
.special-amenity {
  align-items: flex-start; /* align label top with icon */
}

.label-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.amenity-title {
  font-size: 16px;
  font-weight: 600;
  color: #474747;
  margin-bottom: 4px;
}

.amenity-desc {
  font-size: 12px;
  color: #adadad;
  display: block;
  max-width: 240px;
  text-align: justify;
}

/* Prevent tall amenities from pushing the next row */
.amenities {
  align-items: start;   /* ensures grid items don’t stretch unevenly */
}

/* Force each amenity to take exactly one row consistently */
.amenity {
  display: flex;
  flex-direction: row;
}

/* Make special amenities not break row height */
.special-amenity {
  align-self: start;
}

/* Simplified card caption – title + arrow on same row */
.more-info.simple-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px 16px;
}

.more-info.simple-info .more-title {
  font-family: "Baskerville Custom", serif;
  font-style: italic;
  font-size: 20px;
  color: var(--theme);
  font-weight: 700;
}

.more-info.simple-info .more-arrow {
  font-size: 30px;
  color: var(--brand);
  transition: transform 0.3s var(--ease);
}

.section-title-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;   /* centers the whole row */
  align-items: center;        /* vertically align icon + text */
  gap: 18px;                  /* spacing between icon + text */
}

.section-title-wrapper .section-icon {
  width: 140px;   /* adjust size to your liking */
  height: auto;
}

.section-title-wrapper .section-title {
  font-family: "Euclid Circular A", sans-serif;
  font-size: 20px;
  letter-spacing: 0.25em;
  color: #716a65;
  font-weight: 500;
  text-transform: uppercase;
  margin: 0;
}

.section-title-wrapper .section-icon-2 {
  width: 250px;   /* adjust size to your liking */
  height: auto;
}

@media (max-width:900px){
  .section-title-wrapper .section-title{
    font-size: 20px;
  }

  .section-title-wrapper .section-icon {
    width: 80px;   /* adjust size to your liking */
    height: auto;
  }

  .section-title-wrapper .section-icon-2 {
    width: 110px;   /* adjust size to your liking */
    height: auto;
  }
}

@media (max-width:475px){
  .section-title-wrapper .section-title{
    font-size: 13px;
  }

  .section-title-wrapper .section-icon {
    width: 50px;   /* adjust size to your liking */
    height: auto;
  }

    .section-title-wrapper .section-icon-2 {
    width: 100px;   /* adjust size to your liking */
    height: auto;
  }
  
}

@media (max-width: 980px){
  .detail-gallery{
    height: auto;
    overflow: visible;
  }

  .gallery-main{
    aspect-ratio: auto;
    min-height: auto;
    height: auto;
    overflow: visible;
    background: #e9e9e9;
  }

  .gallery-main img{
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
  }

  .gallery-nav{
    z-index: 5;
  }
}
