/* ============================================================
   VILLA EDITORIAL — mobile-first listing for Budget / Entry Luxury / Luxury
   Ported from the Al Maaden Villa prototype's responsive.css
   Scoped to body.villa-editorial so it cannot leak into Ultra pages
   ============================================================ */

body.villa-editorial {
  /* Editorial design tokens (do NOT overwrite the site's --bg etc.) */
  --ed-bg: #F3EDE3;
  --ed-bg-deep: #ECE3D6;
  --ed-surface: #FBF8F2;
  --ed-white: #FFFFFF;
  --ed-ink: #1C1A16;
  --ed-ink-soft: #564F45;
  --ed-ink-faint: #8B8275;
  --ed-line: rgba(28,26,22,.11);
  --ed-line-soft: rgba(28,26,22,.07);
  --ed-accent: #A07D46;
  --ed-accent-deep: #856539;
  --ed-accent-tint: rgba(160,125,70,.12);
  --ed-positive: #3E7A4F;
  --ed-rad-lg: 20px;
  --ed-rad-md: 14px;
  --ed-rad-sm: 10px;
  --ed-gutter: 20px;
  --ed-maxw: 1280px;
  --ed-serif: "Cormorant Garamond", Georgia, serif;
  --ed-sans: "Hanken Grotesk", system-ui, -apple-system, sans-serif;

  background: radial-gradient(150% 50% at 50% 0,#F0EADF 0,#ECE4D6 55%,#E6DCCC 100%) fixed;
  color: var(--ed-ink);
  font-family: var(--ed-sans);
  padding-bottom: 92px;
}

@media (min-width: 1000px) {
  body.villa-editorial { padding-bottom: 0; --ed-gutter: 40px; }
}

/* Hide the OLD villa structures when the editorial body class is on so an
   accidental class collision can't double-render */
body.villa-editorial .lc-hero-grid,
body.villa-editorial .lc-identity,
body.villa-editorial .lc-layout > .lc-main > .lc-features,
body.villa-editorial .mobile-cta {
  display: none !important;
}

/* Floating WhatsApp FAB is redundant on villa pages — the mobile sticky bar
   has its own WhatsApp icon, and the desktop booking aside has the
   "Message us on WhatsApp" button. Two floating green circles overlapping
   looks broken. */
body.villa-editorial .wa-fab { display: none !important; }

/* ───────────────────── shell ───────────────────── */
body.villa-editorial .ed-page { max-width: var(--ed-maxw); margin: 0 auto; padding: 0 var(--ed-gutter); }
body.villa-editorial img { display: block; max-width: 100%; }

/* ───────────────────── head ───────────────────── */
body.villa-editorial .ed-head { padding: 24px 0 18px; }
body.villa-editorial .ed-head-row1 { display: none; align-items: center; justify-content: space-between; margin-bottom: 28px; }
body.villa-editorial .ed-crumbs { font-size: 13px; color: var(--ed-ink-faint); display: flex; gap: 8px; flex-wrap: wrap; }
body.villa-editorial .ed-crumbs a { color: var(--ed-ink-faint); text-decoration: none; }
body.villa-editorial .ed-crumbs a:hover { color: var(--ed-ink); }
body.villa-editorial .ed-crumbs .here { color: var(--ed-ink-soft); }
body.villa-editorial .ed-head-actions { display: flex; gap: 12px; }
body.villa-editorial .ed-badge {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ed-accent-deep); border: 1px solid var(--ed-accent);
  padding: 6px 11px; border-radius: 100px; background: var(--ed-accent-tint);
}
body.villa-editorial .ed-head h1 {
  margin: 14px 0 0; font-family: var(--ed-serif); font-style: italic; font-weight: 600;
  font-size: clamp(36px, 9.5vw, 50px); line-height: .98; letter-spacing: .005em; color: var(--ed-ink);
}
body.villa-editorial .ed-head-row3 { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
body.villa-editorial .ed-geo { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--ed-ink-soft); }
body.villa-editorial .ed-geo svg { color: var(--ed-accent); flex: 0 0 auto; }
body.villa-editorial .ed-geo .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ed-ink-faint); flex: 0 0 auto; }
body.villa-editorial .ed-rating { display: flex; align-items: center; gap: 9px; background: var(--ed-surface); color: var(--ed-ink); border: 1px solid var(--ed-line); border-radius: 100px; padding: 9px 15px; }
body.villa-editorial .ed-rating .sc { font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 5px; }
body.villa-editorial .ed-rating .sc svg { color: var(--ed-accent); }
body.villa-editorial .ed-rating .mt { font-size: 11px; color: var(--ed-ink-faint); border-left: 1px solid var(--ed-line); padding-left: 9px; }
body.villa-editorial .ed-icon-btn {
  display: flex; align-items: center; gap: 8px; cursor: pointer; white-space: nowrap;
  background: var(--ed-surface); border: 1px solid var(--ed-line); border-radius: 100px;
  padding: 10px 16px; font-family: var(--ed-sans); font-size: 13.5px; font-weight: 600; color: var(--ed-ink);
  transition: .2s; text-decoration: none;
}
body.villa-editorial .ed-icon-btn:hover { border-color: var(--ed-accent); }
body.villa-editorial .ed-icon-btn svg { color: var(--ed-accent-deep); }

/* ───────────────────── gallery ───────────────────── */
body.villa-editorial .ed-gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: 86%; grid-template-rows: 1fr;
  gap: 8px; height: 54vw; max-height: 340px; overflow-x: auto; scroll-snap-type: x mandatory;
  border-radius: var(--ed-rad-lg); position: relative;
  margin: 0 calc(-1 * var(--ed-gutter)); padding: 0 var(--ed-gutter);
}
body.villa-editorial .ed-gallery::-webkit-scrollbar { display: none; }
body.villa-editorial .ed-gallery .ed-photo {
  width: 100%; height: 100%; scroll-snap-align: start; border-radius: var(--ed-rad-md);
  overflow: hidden; background: var(--ed-bg-deep); cursor: pointer;
}
body.villa-editorial .ed-gallery .ed-photo img { width: 100%; height: 100%; object-fit: cover; }
body.villa-editorial .ed-view-all {
  position: absolute; right: calc(var(--ed-gutter) + 8px); bottom: 14px; z-index: 5;
  background: rgba(251,248,242,.95); backdrop-filter: blur(6px);
  border: 1px solid var(--ed-line); cursor: pointer; border-radius: 100px;
  padding: 10px 16px; font-family: var(--ed-sans); font-size: 13px; font-weight: 600;
  color: var(--ed-ink); display: flex; align-items: center; gap: 8px;
}

/* ───────────────────── stat ribbon ───────────────────── */
body.villa-editorial .ed-ribbon {
  display: flex; gap: 0; margin: 22px 0 0;
  border-top: 1px solid var(--ed-line); border-bottom: 1px solid var(--ed-line);
  overflow-x: auto;
}
body.villa-editorial .ed-ribbon::-webkit-scrollbar { display: none; }
body.villa-editorial .ed-ribbon .it {
  flex: 0 0 auto; padding: 16px 26px 16px 0; margin-right: 26px;
  border-right: 1px solid var(--ed-line);
}
body.villa-editorial .ed-ribbon .it:last-child { border-right: none; margin-right: 0; }
body.villa-editorial .ed-ribbon .it .n { font-family: var(--ed-serif); font-size: 27px; font-weight: 600; line-height: 1; white-space: nowrap; }
body.villa-editorial .ed-ribbon .it .l { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ed-ink-faint); margin-top: 6px; }

/* Rating chip lives inside the ribbon now, floated right. On mobile the
   ribbon is overflow-x: auto so it sits at the end of the scroll; on
   desktop margin-left: auto pushes it to the right edge of the row. */
body.villa-editorial .ed-ribbon__rating {
  margin-left: auto;
  align-self: center;
  flex: 0 0 auto;
  padding: 0;
}

/* ───────────────────── body layout ───────────────────── */
body.villa-editorial .ed-body { display: grid; grid-template-columns: 1fr; gap: 0; padding: 0 0 10px; }
body.villa-editorial .ed-content { min-width: 0; }
body.villa-editorial .ed-sec { padding: 32px 0; border-top: 1px solid var(--ed-line); }
body.villa-editorial .ed-sec:first-child { border-top: none; }
body.villa-editorial .ed-sec-head { display: flex; align-items: baseline; gap: 13px; margin-bottom: 20px; }
body.villa-editorial .ed-sec-num { font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--ed-accent); padding-top: 6px; }
body.villa-editorial .ed-sec-title { margin: 0; font-family: var(--ed-sans); font-weight: 600; font-size: 24px; line-height: 1.12; letter-spacing: -.02em; }

body.villa-editorial .ed-lede { font-size: 16px; line-height: 1.65; color: var(--ed-ink-soft); margin: 0; max-width: 62ch; }
body.villa-editorial .ed-lede + .ed-lede { margin-top: 14px; }
body.villa-editorial .ed-lede.clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
body.villa-editorial .ed-readmore {
  margin-top: 14px; background: none; border: none; cursor: pointer; padding: 0;
  font-family: var(--ed-sans); font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ed-ink); display: inline-flex; align-items: center; gap: 8px;
}
body.villa-editorial .ed-readmore .ic { color: var(--ed-accent); transition: transform .3s; }
body.villa-editorial .ed-readmore.open .ic { transform: rotate(45deg); }

/* ───────────────────── rooms ───────────────────── */
body.villa-editorial .ed-rooms {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 calc(-1 * var(--ed-gutter)); padding: 0 var(--ed-gutter) 4px;
  touch-action: pan-x;
}
body.villa-editorial .ed-rooms::-webkit-scrollbar { display: none; }
body.villa-editorial .ed-room {
  flex: 0 0 auto; width: 262px; scroll-snap-align: start;
  background: var(--ed-surface); border: 1px solid var(--ed-line-soft);
  border-radius: var(--ed-rad-lg); overflow: hidden;
}
body.villa-editorial .ed-room__img { width: 100%; height: 180px; overflow: hidden; }
body.villa-editorial .ed-room__img img { width: 100%; height: 100%; object-fit: cover; }
body.villa-editorial .ed-room__body { padding: 15px 16px 16px; }
body.villa-editorial .ed-room__name { font-family: var(--ed-serif); font-size: 23px; font-weight: 600; line-height: 1; }
body.villa-editorial .ed-room__sub { font-size: 13px; color: var(--ed-ink-faint); margin-top: 5px; }
body.villa-editorial .ed-room__feats { display: flex; gap: 14px; margin-top: 13px; color: var(--ed-ink-soft); }
body.villa-editorial .ed-room__feats svg { display: block; }

/* ───────────────────── amenities ───────────────────── */
body.villa-editorial .ed-amen-group + .ed-amen-group { margin-top: 22px; }
body.villa-editorial .ed-amen-label { display: flex; align-items: center; gap: 8px; margin-bottom: 13px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ed-ink-faint); }
body.villa-editorial .ed-amen-label::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ed-accent); }
body.villa-editorial .ed-amen-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--ed-line-soft); border: 1px solid var(--ed-line-soft);
  border-radius: var(--ed-rad-md); overflow: hidden;
}
body.villa-editorial .ed-amen-item {
  background: var(--ed-surface); display: flex; align-items: center; gap: 11px;
  padding: 13px 14px; font-size: 14px; color: var(--ed-ink);
}
body.villa-editorial .ed-amen-item svg { color: var(--ed-accent-deep); flex: 0 0 auto; }
body.villa-editorial .ed-amen-item.is-hidden { display: none; }
body.villa-editorial [data-amen-open="true"] .ed-amen-item.is-hidden { display: flex; }
body.villa-editorial .ed-amen-more {
  margin-top: 15px; width: 100%; background: var(--ed-surface); border: 1px solid var(--ed-line);
  cursor: pointer; border-radius: var(--ed-rad-md); padding: 13px;
  font-family: var(--ed-sans); font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ed-ink);
  display: flex; align-items: center; justify-content: center; gap: 9px;
}
body.villa-editorial .ed-amen-more .ic { color: var(--ed-accent); transition: transform .3s; }
body.villa-editorial [data-amen-open="true"] .ed-amen-more .ic { transform: rotate(180deg); }

/* ───────────────────── services ───────────────────── */
body.villa-editorial .ed-svc { display: grid; grid-template-columns: 1fr; gap: 14px; }
body.villa-editorial .ed-svc-card {
  background: var(--ed-surface); border: 1px solid var(--ed-line-soft);
  border-radius: var(--ed-rad-lg); padding: 20px;
}
body.villa-editorial .ed-svc-card.alt { background: var(--ed-bg-deep); }
body.villa-editorial .ed-svc-head {
  display: flex; align-items: center; gap: 9px; margin-bottom: 14px;
  font-family: var(--ed-serif); font-style: italic; font-size: 21px; font-weight: 600;
}
body.villa-editorial .ed-svc-head::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ed-accent); }
body.villa-editorial .ed-svc-list { list-style: none; margin: 0; padding: 0; }
body.villa-editorial .ed-svc-list li {
  padding: 11px 0; font-size: 14.5px; color: var(--ed-ink-soft);
  border-top: 1px solid var(--ed-line-soft); display: flex; gap: 11px; align-items: flex-start;
}
body.villa-editorial .ed-svc-list li:first-child { border-top: none; }
body.villa-editorial .ed-svc-list li svg { color: var(--ed-accent-deep); flex: 0 0 auto; margin-top: 3px; }
body.villa-editorial .ed-svc-list.lux li strong { color: var(--ed-ink); font-weight: 600; }
body.villa-editorial .ed-svc-list.lux li .sub { color: var(--ed-ink-faint); font-size: 13px; }
body.villa-editorial .ed-svc-list.lux li .price { color: var(--ed-accent-deep); font-size: 13px; font-weight: 600; margin-left: auto; }

/* ───────────────────── good to know ───────────────────── */
body.villa-editorial .ed-gtk { display: grid; grid-template-columns: 1fr; gap: 0; }
body.villa-editorial .ed-gtk-row { padding: 18px 0; border-top: 1px solid var(--ed-line); }
body.villa-editorial .ed-gtk-row:first-child { border-top: none; padding-top: 0; }
body.villa-editorial .ed-gtk-h { font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--ed-accent-deep); margin-bottom: 12px; }
body.villa-editorial .ed-ci-co { display: flex; gap: 12px; }
body.villa-editorial .ed-ci-co > div { flex: 1; background: var(--ed-surface); border: 1px solid var(--ed-line-soft); border-radius: var(--ed-rad-md); padding: 14px; }
body.villa-editorial .ed-ci-co .k { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ed-ink-faint); }
body.villa-editorial .ed-ci-co .v { font-family: var(--ed-serif); font-size: 21px; font-weight: 600; margin-top: 3px; }
body.villa-editorial .ed-gtk p { margin: 0; font-size: 14.5px; color: var(--ed-ink-soft); line-height: 1.55; }
body.villa-editorial .ed-gtk strong { color: var(--ed-ink); font-weight: 600; }
body.villa-editorial .ed-rules { list-style: none; margin: 8px 0 0; padding: 0; }
body.villa-editorial .ed-rules li { position: relative; padding: 7px 0 7px 20px; font-size: 14.5px; color: var(--ed-ink-soft); line-height: 1.4; }
body.villa-editorial .ed-rules li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 5px; height: 5px; border-radius: 50%; background: var(--ed-accent); }

/* ───────────────────── surroundings / map ───────────────────── */
body.villa-editorial .ed-map-card { position: relative; height: 240px; border-radius: var(--ed-rad-lg); overflow: hidden; border: 1px solid var(--ed-line); background: #E9E3D6; }
body.villa-editorial .ed-map-card iframe,
body.villa-editorial .ed-map-card img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
body.villa-editorial .ed-nbhd-lead { margin: 18px 0 14px; font-family: var(--ed-serif); font-style: italic; font-size: 19px; color: var(--ed-ink); }
body.villa-editorial .ed-chips { display: flex; flex-wrap: wrap; gap: 8px; }
body.villa-editorial .ed-chip { border: 1px solid var(--ed-line); background: var(--ed-surface); border-radius: 100px; padding: 8px 14px; font-size: 13px; color: var(--ed-ink-soft); display: flex; align-items: center; gap: 7px; }
body.villa-editorial .ed-chip svg { color: var(--ed-accent); }
body.villa-editorial .ed-chip .dist { color: var(--ed-ink-faint); font-size: 12px; }

/* ───────────────────── booking ───────────────────── */
body.villa-editorial .ed-book-wrap { padding: 28px 0 0; }
body.villa-editorial .ed-book {
  background: var(--ed-white); border: 1px solid var(--ed-line);
  border-radius: var(--ed-rad-lg); padding: 22px;
  box-shadow: 0 18px 40px -28px rgba(40,32,18,.5);
}
body.villa-editorial .ed-book-price { display: flex; align-items: baseline; gap: 8px; }
body.villa-editorial .ed-book-price .from { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ed-ink-faint); }
body.villa-editorial .ed-book-amt { font-family: var(--ed-serif); font-size: 42px; font-weight: 600; line-height: 1; }
body.villa-editorial .ed-book-per { font-size: 13px; color: var(--ed-ink-faint); margin-top: 6px; }
body.villa-editorial .ed-urgency {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  background: rgba(62,122,79,.1); color: #2f6340; border-radius: 100px;
  padding: 7px 13px; font-size: 12.5px;
}
body.villa-editorial .ed-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ed-positive); position: relative; }
body.villa-editorial .ed-pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--ed-positive); animation: ed-pulse 2s infinite; }
@keyframes ed-pulse { 0% { transform: scale(.6); opacity: .9 } 100% { transform: scale(1.8); opacity: 0 } }

body.villa-editorial .ed-book-fields { margin-top: 18px; border: 1px solid var(--ed-line); border-radius: var(--ed-rad-md); overflow: hidden; }
body.villa-editorial .ed-bf { padding: 13px 15px; border-top: 1px solid var(--ed-line); position: relative; }
body.villa-editorial .ed-bf:first-child { border-top: none; }
body.villa-editorial .ed-bf .k { font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--ed-ink-faint); }
body.villa-editorial .ed-bf input,
body.villa-editorial .ed-bf select,
body.villa-editorial .ed-bf textarea {
  width: 100%; border: none; background: none; outline: none;
  font-family: var(--ed-sans); font-size: 16px; color: var(--ed-ink); margin-top: 5px;
  padding: 0; -webkit-appearance: none; appearance: none;
}
body.villa-editorial .ed-bf textarea { resize: vertical; min-height: 60px; }
body.villa-editorial .ed-bf.cols { display: flex; padding: 0; }
body.villa-editorial .ed-bf.cols > div { flex: 1; padding: 13px 15px; }
body.villa-editorial .ed-bf.cols > div + div { border-left: 1px solid var(--ed-line); }
body.villa-editorial .ed-bf .chev { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: var(--ed-ink-faint); pointer-events: none; }
body.villa-editorial .ed-book-cta {
  margin-top: 14px; width: 100%; border: none; cursor: pointer;
  background: var(--ed-ink); color: #fff; border-radius: 100px; padding: 17px;
  font-family: var(--ed-sans); font-size: 15px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 9px; transition: .2s;
}
body.villa-editorial .ed-book-cta:active { transform: scale(.985); }
body.villa-editorial .ed-book-cta:disabled { opacity: .55; cursor: default; }
body.villa-editorial .ed-book-perks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 9px; }
body.villa-editorial .ed-book-perks li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ed-ink-soft); }
body.villa-editorial .ed-book-perks svg { color: var(--ed-positive); flex: 0 0 auto; }
body.villa-editorial .ed-book-wa {
  margin-top: 14px; width: 100%; cursor: pointer; border: 1px solid var(--ed-line);
  background: var(--ed-surface); border-radius: 100px; padding: 14px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--ed-sans); font-size: 14px; font-weight: 600; color: var(--ed-ink);
  text-decoration: none; transition: .2s;
}
body.villa-editorial .ed-book-wa:hover { border-color: #25a95b; }
body.villa-editorial .ed-book-wa .wa { color: #25a95b; }
body.villa-editorial .ed-book-assist { margin-top: 16px; text-align: center; font-size: 13px; color: var(--ed-ink-faint); }
body.villa-editorial .ed-book-assist a { color: var(--ed-ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--ed-accent); }

/* live summary inside the booking card */
body.villa-editorial .ed-summary { margin-top: 14px; padding: 12px 14px; background: var(--ed-bg-deep); border-radius: var(--ed-rad-md); font-size: 13px; }
body.villa-editorial .ed-summary[data-state="empty"] .ed-summary__row { display: none; }
body.villa-editorial .ed-summary[data-state="ok"] .ed-summary__empty,
body.villa-editorial .ed-summary[data-state="err"] .ed-summary__empty { display: none; }
body.villa-editorial .ed-summary[data-state="err"] .ed-summary__row { display: none; }
body.villa-editorial .ed-summary[data-state="err"] .ed-summary__err { display: block; color: #b3261e; font-weight: 600; }
body.villa-editorial .ed-summary__row { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 0; }
body.villa-editorial .ed-summary__row--total { border-top: 1px solid var(--ed-line); padding-top: 8px; margin-top: 4px; font-weight: 600; color: var(--ed-ink); }
body.villa-editorial .ed-summary__empty { color: var(--ed-ink-faint); text-align: center; padding: 4px 0; }
body.villa-editorial .ed-summary__err { display: none; }

/* recap on step 2 */
body.villa-editorial .ed-recap { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 12px 0; border-bottom: 1px solid var(--ed-line); }
body.villa-editorial .ed-back { background: none; border: none; cursor: pointer; padding: 0; font-family: var(--ed-sans); font-size: 13px; font-weight: 600; color: var(--ed-ink-soft); }
body.villa-editorial .ed-back:hover { color: var(--ed-ink); }
body.villa-editorial .ed-recap-text { flex: 1; font-size: 13px; color: var(--ed-ink-soft); }
body.villa-editorial .ed-bk-err { color: #b3261e; font-size: 13px; margin: 10px 0 0; font-weight: 500; }
body.villa-editorial .ed-bk-ok  { color: var(--ed-positive); font-size: 13.5px; margin: 10px 0 0; font-weight: 600; }

/* ───────────────────── photo band ───────────────────── */
body.villa-editorial .ed-band { padding: 40px 0 8px; }
body.villa-editorial .ed-band-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
body.villa-editorial .ed-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ed-ink-faint); }
body.villa-editorial .ed-band-head h2 { margin: 10px 0 0; font-family: var(--ed-sans); font-weight: 600; font-size: 24px; line-height: 1.12; letter-spacing: -.02em; }
body.villa-editorial .ed-band-head .ed-icon-btn { flex: 0 0 auto; }
body.villa-editorial .ed-photos {
  display: flex; gap: 11px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 calc(-1 * var(--ed-gutter)); padding: 0 var(--ed-gutter) 4px;
  touch-action: pan-x;
}
body.villa-editorial .ed-photos::-webkit-scrollbar { display: none; }
body.villa-editorial .ed-photos .ed-photo {
  flex: 0 0 auto; width: 78%; max-width: 360px; height: 280px; scroll-snap-align: start;
  border-radius: var(--ed-rad-md); overflow: hidden; background: var(--ed-bg-deep);
  cursor: pointer;
}
body.villa-editorial .ed-photos .ed-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ───────────────────── reviews ───────────────────── */
body.villa-editorial .ed-rev-summary { display: flex; gap: 18px; align-items: center; margin-bottom: 22px; }
body.villa-editorial .ed-rev-score { text-align: center; flex: 0 0 auto; }
body.villa-editorial .ed-rev-score .big { font-family: var(--ed-serif); font-size: 50px; font-weight: 600; line-height: .9; }
body.villa-editorial .ed-rev-score .stars { color: var(--ed-accent); margin-top: 4px; display: flex; gap: 2px; justify-content: center; }
body.villa-editorial .ed-rev-score .cnt { font-size: 11px; color: var(--ed-ink-faint); margin-top: 6px; }
body.villa-editorial .ed-rev-bars { flex: 1; }
body.villa-editorial .ed-rev-bar { display: flex; align-items: center; gap: 9px; margin: 5px 0; }
body.villa-editorial .ed-rev-bar .lab { font-size: 11px; color: var(--ed-ink-faint); width: 26px; }
body.villa-editorial .ed-rev-bar .track { flex: 1; height: 5px; background: var(--ed-bg-deep); border-radius: 3px; overflow: hidden; }
body.villa-editorial .ed-rev-bar .fill { height: 100%; background: var(--ed-accent); border-radius: 3px; }
body.villa-editorial .ed-reviews {
  display: flex; gap: 13px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 calc(-1 * var(--ed-gutter)); padding: 2px var(--ed-gutter) 6px;
  touch-action: pan-x;
}
body.villa-editorial .ed-reviews::-webkit-scrollbar { display: none; }
body.villa-editorial .ed-rev-card {
  flex: 0 0 auto; width: 280px; scroll-snap-align: start;
  background: var(--ed-surface); border: 1px solid var(--ed-line-soft);
  border-radius: var(--ed-rad-lg); padding: 18px 19px;
  display: flex; flex-direction: column;
}
body.villa-editorial .ed-rev-quote {
  font-family: var(--ed-serif); font-style: italic; font-size: 17px; line-height: 1.42;
  color: var(--ed-ink); margin: 0 0 20px;
}
body.villa-editorial .ed-rev-quote::before { content: "\201C"; color: var(--ed-accent); }
body.villa-editorial .ed-rev-quote::after  { content: "\201D"; color: var(--ed-accent); }
body.villa-editorial .ed-rev-by { display: flex; align-items: center; gap: 11px; margin-top: auto; }
body.villa-editorial .ed-rev-av {
  width: 38px; height: 38px; border-radius: 50%; flex: 0 0 auto;
  background: var(--ed-accent-tint); color: var(--ed-accent-deep);
  display: grid; place-items: center; font-size: 13px; font-weight: 700; border: 1px solid var(--ed-accent);
}
body.villa-editorial .ed-rev-meta .nm { font-weight: 600; font-size: 14px; }
body.villa-editorial .ed-rev-meta .pl { font-size: 11.5px; color: var(--ed-ink-faint); margin-top: 1px; }

/* ───────────────────── related ───────────────────── */
body.villa-editorial .ed-related { padding: 30px 0 50px; }
body.villa-editorial .ed-rel-grid {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 18px calc(-1 * var(--ed-gutter)) 0; padding: 0 var(--ed-gutter) 8px;
  touch-action: pan-x;
}
body.villa-editorial .ed-rel-grid::-webkit-scrollbar { display: none; }
body.villa-editorial .ed-rel-card { flex: 0 0 auto; width: 240px; scroll-snap-align: start; cursor: pointer; transition: .25s; text-decoration: none; color: inherit; }
body.villa-editorial .ed-rel-card:hover { transform: translateY(-4px); }
body.villa-editorial .ed-rel-card .img { width: 100%; height: 260px; border-radius: var(--ed-rad-md); overflow: hidden; background: var(--ed-bg-deep); }
body.villa-editorial .ed-rel-card .img img { width: 100%; height: 100%; object-fit: cover; }
body.villa-editorial .ed-rel-name { font-family: var(--ed-serif); font-size: 22px; font-weight: 600; margin-top: 12px; }
body.villa-editorial .ed-rel-loc { font-size: 12.5px; color: var(--ed-ink-faint); margin-top: 3px; display: flex; align-items: center; gap: 6px; }
body.villa-editorial .ed-rel-price { font-size: 13px; color: var(--ed-ink-soft); margin-top: 8px; }
body.villa-editorial .ed-rel-price b { font-family: var(--ed-serif); font-size: 17px; color: var(--ed-ink); }

/* ───────────────────── mobile sticky bar ───────────────────── */
body.villa-editorial .ed-sticky {
  position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 55;
  background: rgba(27,25,21,.97); backdrop-filter: blur(12px);
  border-radius: 22px; padding: 12px 12px 14px;
  display: flex; align-items: center; gap: 11px;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.5);
  transform: translateY(160%); opacity: 0;
  transition: transform .42s cubic-bezier(.22,1,.36,1), opacity .3s;
}
body.villa-editorial .ed-sticky.show { transform: translateY(0); opacity: 1; }
body.villa-editorial .ed-sticky .price { flex: 1; min-width: 0; }
body.villa-editorial .ed-sticky .from { font-size: 9.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8d8676; }
body.villa-editorial .ed-sticky .amt { font-family: var(--ed-serif); font-size: 23px; font-weight: 600; color: #fff; line-height: 1; }
body.villa-editorial .ed-sticky .amt small { font-family: var(--ed-sans); font-size: 11px; font-weight: 500; color: #a39c8c; }
body.villa-editorial .ed-sticky .wa {
  width: 46px; height: 46px; border-radius: 50%; flex: 0 0 auto;
  background: #25a95b; color: #fff; display: grid; place-items: center; text-decoration: none;
}
body.villa-editorial .ed-sticky .book-btn {
  flex: 0 0 auto; cursor: pointer; border: none;
  background: #fff; color: #1b1915; border-radius: 100px; padding: 14px 22px;
  font-family: var(--ed-sans); font-weight: 600; font-size: 14px;
  display: flex; align-items: center; gap: 8px;
}

/* ───────────────────── desktop ≥ 1000px ───────────────────── */
@media (min-width: 1000px) {
  body.villa-editorial .ed-head { padding: 34px 0 22px; }
  body.villa-editorial .ed-head-row1 { display: flex; }
  body.villa-editorial .ed-head h1 { font-size: clamp(56px, 6.2vw, 84px); white-space: nowrap; }
  body.villa-editorial .ed-head-row3 { margin-top: 22px; }
  body.villa-editorial .ed-geo { font-size: 16px; }
  body.villa-editorial .ed-rating { padding: 11px 18px; }
  body.villa-editorial .ed-rating .sc { font-size: 16px; }

  /* gallery → 2x2 grid */
  body.villa-editorial .ed-gallery {
    grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr);
    grid-auto-columns: auto; gap: 8px; height: 480px; max-height: none;
    overflow: visible; margin: 0; padding: 0;
  }
  body.villa-editorial .ed-gallery .ed-photo { border-radius: 0; }
  body.villa-editorial .ed-gallery .ed-photo:first-child { grid-column: 1 / 3; grid-row: 1 / 3; }
  body.villa-editorial .ed-gallery .ed-photo:nth-child(n+6) { display: none; }
  body.villa-editorial .ed-view-all { right: 16px; bottom: 16px; }

  body.villa-editorial .ed-ribbon .it { padding: 20px 40px 20px 0; margin-right: 40px; }
  body.villa-editorial .ed-ribbon .it .n { font-size: 30px; }

  /* two-column body */
  body.villa-editorial .ed-body { grid-template-columns: 1fr 384px; gap: 64px; align-items: start; padding: 46px 0 56px; }
  body.villa-editorial .ed-sec { padding: 42px 0; }
  body.villa-editorial .ed-sec-title { font-size: 32px; }
  body.villa-editorial .ed-lede { font-size: 18px; }

  body.villa-editorial .ed-rooms { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; overflow: visible; margin: 0; padding: 0; }
  body.villa-editorial .ed-room { width: auto; }
  body.villa-editorial .ed-room__img { height: 200px; }

  body.villa-editorial .ed-amen-grid { grid-template-columns: repeat(3, 1fr); }
  body.villa-editorial .ed-amen-item.is-hidden { display: flex; }
  body.villa-editorial .ed-amen-more { display: none; }

  body.villa-editorial .ed-svc { grid-template-columns: 1fr 1fr; gap: 18px; }

  body.villa-editorial .ed-gtk { grid-template-columns: 1fr 1fr; gap: 18px 40px; }
  body.villa-editorial .ed-gtk-row { border-top: none; padding: 0; }
  body.villa-editorial .ed-gtk-row.full { grid-column: 1 / -1; }

  body.villa-editorial .ed-map-card { height: 340px; }

  /* booking — sticky aside */
  body.villa-editorial .ed-book-wrap { position: sticky; top: 96px; padding: 6px 0 0; }
  body.villa-editorial .ed-book { padding: 26px; box-shadow: 0 30px 60px -36px rgba(40,32,18,.5); }
  body.villa-editorial .ed-book-amt { font-size: 46px; }
  body.villa-editorial .ed-book-cta { font-size: 16px; }

  /* full-width bands */
  body.villa-editorial .ed-band { padding: 56px 0 8px; }
  body.villa-editorial .ed-band-head h2 { font-size: 32px; }
  body.villa-editorial .ed-photos {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 230px 230px;
    gap: 10px; overflow: visible; margin: 0; padding: 0;
  }
  body.villa-editorial .ed-photos .ed-photo { width: 100%; height: 100%; max-width: none; }
  body.villa-editorial .ed-photos .ed-photo:first-child { grid-row: 1 / 3; }
  body.villa-editorial .ed-photos .ed-photo:nth-child(n+6) { display: none; }

  body.villa-editorial .ed-rev-summary { max-width: 720px; }
  body.villa-editorial .ed-reviews {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
    overflow: visible; margin: 30px 0 0; padding: 0;
  }
  body.villa-editorial .ed-rev-card { width: auto; }
  body.villa-editorial .ed-rev-quote { font-size: 18px; }

  /* "Show more reviews" — on desktop, override the subtle cream pill
     styling so it pops. Centered dark-ink pill with arrow, sits
     comfortably below the 3-up grid and reads as the obvious next step. */
  body.villa-editorial #rvMore {
    display: inline-flex; width: auto; margin: 32px auto 0;
    background: var(--ed-surface); color: var(--ed-ink);
    border: 1px solid var(--ed-line);
    border-radius: 100px; padding: 15px 32px;
    font-size: 14px; letter-spacing: .04em; text-transform: none;
    box-shadow: 0 8px 24px -16px rgba(40,32,18,.35);
    transition: transform .18s, box-shadow .18s, background .18s, border-color .18s;
  }
  body.villa-editorial #rvMore:hover {
    background: #fff;
    border-color: var(--ed-accent);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -14px rgba(40,32,18,.4);
  }
  body.villa-editorial #rvMore span { color: var(--ed-ink-faint); }
  /* Reviews section: switch alignment so the button centers under the grid */
  body.villa-editorial #reviewsSec { display: flex; flex-direction: column; align-items: stretch; }
  body.villa-editorial #reviewsSec > #rvMore { align-self: center; }

  body.villa-editorial .ed-related { padding: 24px 0 70px; }
  body.villa-editorial .ed-rel-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    overflow: visible; margin: 26px 0 0; padding: 0;
  }
  body.villa-editorial .ed-rel-card { width: auto; }
  body.villa-editorial .ed-rel-card .img { height: 300px; }

  body.villa-editorial .ed-sticky { display: none !important; }
}

/* tablet niceties */
@media (min-width: 640px) and (max-width: 999px) {
  body.villa-editorial .ed-photos .ed-photo { width: 46%; }
  body.villa-editorial .ed-gallery { grid-auto-columns: 60%; }
  body.villa-editorial .ed-room { width: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  body.villa-editorial * { animation: none !important; scroll-behavior: auto !important; }
}
