/* =========================================================
   G2J Investors -- Design Tokens + Components
   Generated from Lovable design system, integrated into
   g2j-vacacional WordPress plugin.
   ========================================================= */

:root {
  /* Color */
  --g2j-bg:            #FAF7F2;
  --g2j-surface:       #F5F0E8;
  --g2j-surface-2:     #E8DDD0;
  --g2j-ink:           #1A1A18;
  --g2j-ink-soft:      #4A4A45;
  --g2j-ink-mute:      #8A857C;
  --g2j-gold:          #B5956A;
  --g2j-gold-deep:     #8E724C;
  --g2j-line:          rgba(26,26,24,.10);
  --g2j-line-strong:   rgba(26,26,24,.18);
  --g2j-overlay:       linear-gradient(180deg, rgba(26,26,24,0) 20%, rgba(26,26,24,.88) 100%);

  /* Aliases for older plugin code */
  --g2j-beige:         #E8DDD0;
  --g2j-beige-dark:    #C9B99E;
  --g2j-beige-light:   #F5F0E8;
  --g2j-cream:         #FAF7F2;
  --g2j-dark:          #1A1A18;
  --g2j-mid:           #4A4A45;
  --g2j-accent:        #B5956A;
  --g2j-accent-dark:   #8E724C;

  /* Type */
  --g2j-serif: Georgia, "Times New Roman", Times, serif;
  --g2j-sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --g2j-font-body:  var(--g2j-sans);
  --g2j-font-serif: var(--g2j-serif);

  --g2j-fs-eyebrow: 11px;
  --g2j-fs-meta:    13px;
  --g2j-fs-body:    15px;
  --g2j-fs-lead:    18px;
  --g2j-fs-h3:      clamp(20px, 1.6vw, 26px);
  --g2j-fs-h2:      clamp(28px, 3vw, 44px);
  --g2j-fs-h1:      clamp(40px, 6vw, 84px);

  --g2j-track-eyebrow: .22em;
  --g2j-track-display: -.01em;

  /* Space */
  --g2j-space-1: 8px;
  --g2j-space-2: 16px;
  --g2j-space-3: 24px;
  --g2j-space-4: 40px;
  --g2j-space-5: 64px;
  --g2j-space-6: 96px;

  --g2j-radius-sm: 2px;
  --g2j-radius:    4px;
  --g2j-radius-lg: 8px;

  --g2j-shadow-soft: 0 1px 2px rgba(26,26,24,.04), 0 12px 32px -16px rgba(26,26,24,.18);
  --g2j-shadow-lift: 0 2px 6px rgba(26,26,24,.06), 0 24px 48px -20px rgba(26,26,24,.28);
  --g2j-shadow-sm:   0 1px 4px rgba(26,26,24,.06);
  --g2j-shadow:      0 4px 20px rgba(26,26,24,.08);
  --g2j-shadow-lg:   0 12px 48px rgba(26,26,24,.12);

  --g2j-ease: cubic-bezier(.22,.61,.36,1);
  --g2j-dur:  600ms;
  --g2j-trans:      0.25s ease;
  --g2j-trans-slow: 0.4s ease;

  --g2j-container: 1280px;
  --g2j-gutter: clamp(20px, 4vw, 56px);
}

/* =========================================================
   Base resets (scoped to plugin output)
   ========================================================= */
.g2j-wrap *, .g2j-hero *, .g2j-card, .g2j-dest, .g2j-booking,
.g2j-prop-layout, .g2j-gallery, .g2j-grid, .g2j-dest-grid,
.g2j-side-list, .g2j-side-card, .g2j-filterbar {
  box-sizing: border-box;
}

/* =========================================================
   Layout wrapper
   ========================================================= */
.g2j-wrap {
  max-width: var(--g2j-container);
  margin: 0 auto;
  padding-left: var(--g2j-gutter);
  padding-right: var(--g2j-gutter);
}

/* =========================================================
   Typography helpers
   ========================================================= */
.g2j-eyebrow {
  font-family: var(--g2j-sans);
  font-size: var(--g2j-fs-eyebrow);
  letter-spacing: var(--g2j-track-eyebrow);
  text-transform: uppercase;
  color: var(--g2j-ink-mute);
  font-weight: 500;
}
.g2j-h1, .g2j-h2, .g2j-h3 {
  font-family: var(--g2j-serif);
  font-weight: 400;
  letter-spacing: var(--g2j-track-display);
  color: var(--g2j-ink);
  margin: 0;
}
.g2j-h1 { font-size: var(--g2j-fs-h1); line-height: 1.02; }
.g2j-h2 { font-size: var(--g2j-fs-h2); line-height: 1.1; }
.g2j-h3 { font-size: var(--g2j-fs-h3); line-height: 1.25; }

.g2j-lead { font-size: var(--g2j-fs-lead); color: var(--g2j-ink-soft); line-height: 1.5; margin: 0; }
.g2j-meta { font-size: var(--g2j-fs-meta); color: var(--g2j-ink-mute); }

.g2j-rule {
  display: inline-block;
  width: 32px; height: 1px;
  background: var(--g2j-gold);
  vertical-align: middle;
  margin-right: 12px;
}

/* =========================================================
   Buttons
   ========================================================= */
.g2j-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--g2j-sans);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid var(--g2j-ink);
  background: var(--g2j-ink);
  color: var(--g2j-bg);
  border-radius: var(--g2j-radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--g2j-dur) var(--g2j-ease),
              color var(--g2j-dur) var(--g2j-ease),
              border-color var(--g2j-dur) var(--g2j-ease);
}
.g2j-btn:hover { background: var(--g2j-gold-deep); border-color: var(--g2j-gold-deep); color: #fff; }
.g2j-btn--ghost { background: transparent; color: var(--g2j-ink); }
.g2j-btn--ghost:hover { background: var(--g2j-ink); color: var(--g2j-bg); }
.g2j-btn--gold { background: var(--g2j-gold); border-color: var(--g2j-gold); color: #fff; }
.g2j-btn--gold:hover { background: var(--g2j-gold-deep); border-color: var(--g2j-gold-deep); }
.g2j-btn--block { width: 100%; }
/* legacy alias */
.g2j-btn--outline { background: transparent; color: var(--g2j-ink); border-color: var(--g2j-ink); }
.g2j-btn--outline:hover { background: var(--g2j-ink); color: var(--g2j-bg); }

/* =========================================================
   Hero (single property / destination)
   ========================================================= */
.g2j-hero {
  position: relative;
  min-height: 92vh;
  color: var(--g2j-bg);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--g2j-gutter) clamp(40px, 8vh, 80px);
  overflow: hidden;
  isolation: isolate;
}
.g2j-hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  transform: scale(1.04);
  animation: g2jKenBurns 18s var(--g2j-ease) forwards;
}
@keyframes g2jKenBurns { to { transform: scale(1); } }
.g2j-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(26,26,24,.45) 0%, rgba(26,26,24,0) 35%, rgba(26,26,24,.65) 100%);
}
.g2j-hero__eyebrow { color: rgba(250,247,242,.85); margin-bottom: 18px; }
.g2j-hero__title {
  font-family: var(--g2j-serif);
  font-size: var(--g2j-fs-h1);
  line-height: .98;
  font-weight: 400;
  max-width: 16ch;
  margin: 0 0 24px;
}
.g2j-hero__title em { font-style: italic; color: #E8DDD0; }
.g2j-hero__sub { max-width: 48ch; opacity: .9; font-size: var(--g2j-fs-lead); margin: 0 0 40px; }
/* shortcode hero compat */
.g2j-hero__overlay { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(26,26,24,.15) 0%, rgba(26,26,24,.60) 100%); }
.g2j-hero__content { position: relative; z-index: 2; padding: 40px var(--g2j-gutter); }
.g2j-hero__label { display: inline-block; font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: rgba(250,247,242,.85); margin-bottom: 16px; }

/* Search bar */
.g2j-search {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr auto;
  gap: 1px;
  background: var(--g2j-line-strong);
  border: 1px solid rgba(250,247,242,.4);
  border-radius: var(--g2j-radius);
  overflow: hidden;
  backdrop-filter: blur(14px);
  max-width: 980px;
}
.g2j-search__field {
  background: rgba(250,247,242,.92);
  color: var(--g2j-ink);
  padding: 18px 22px;
  display: flex; flex-direction: column; gap: 4px;
  text-align: left; border: 0; font-family: var(--g2j-sans);
}
.g2j-search__field label {
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--g2j-ink-mute);
}
.g2j-search__field input,
.g2j-search__field select {
  border: 0; background: transparent; outline: none;
  font-family: var(--g2j-serif); font-size: 16px; color: var(--g2j-ink); padding: 0;
}
.g2j-search__submit {
  background: var(--g2j-ink); color: var(--g2j-bg);
  border: 0; padding: 0 36px;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  cursor: pointer;
  transition: background var(--g2j-dur) var(--g2j-ease);
}
.g2j-search__submit:hover { background: var(--g2j-gold-deep); }

/* =========================================================
   Section helpers
   ========================================================= */
.g2j-section { padding: clamp(64px, 10vw, 128px) 0; }
.g2j-section--alt { background: var(--g2j-surface); }
.g2j-section--ink { background: var(--g2j-ink); color: var(--g2j-bg); }
.g2j-section--ink .g2j-h2 { color: var(--g2j-bg); }
.g2j-section--ink .g2j-eyebrow { color: rgba(250,247,242,.6); }

.g2j-secthead {
  display: flex; align-items: end; justify-content: space-between;
  gap: 32px; margin-bottom: var(--g2j-space-5);
}
.g2j-secthead p { max-width: 42ch; color: var(--g2j-ink-soft); margin: 12px 0 0; }

/* =========================================================
   Property card -- editorial 4:5
   ========================================================= */
.g2j-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 32px;
}
@media (max-width: 960px) { .g2j-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; } }
@media (max-width: 600px) { .g2j-grid { grid-template-columns: 1fr; gap: 48px; } }

.g2j-card {
  display: block; color: inherit; background: transparent; text-decoration: none;
}
.g2j-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--g2j-surface-2);
  border-radius: var(--g2j-radius);
}
.g2j-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1200ms var(--g2j-ease);
}
.g2j-card:hover .g2j-card__media img { transform: scale(1.05); }

.g2j-card__zone {
  position: absolute; top: 16px; left: 16px;
  background: rgba(250,247,242,.92);
  color: var(--g2j-ink);
  padding: 6px 12px;
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  border-radius: var(--g2j-radius-sm);
}
.g2j-card__body { padding: 20px 4px 0; }
.g2j-card__title {
  font-family: var(--g2j-serif);
  font-size: 22px; line-height: 1.2;
  margin: 0 0 6px;
  letter-spacing: -.005em;
}
.g2j-card__meta {
  font-size: 13px; color: var(--g2j-ink-mute);
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 14px;
}
.g2j-card__meta span { display: inline-flex; align-items: center; gap: 6px; }

.g2j-card__foot {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--g2j-line);
}
.g2j-card__price {
  font-family: var(--g2j-serif);
  font-size: 20px;
}
.g2j-card__price small {
  font-family: var(--g2j-sans);
  font-size: 12px; color: var(--g2j-ink-mute); margin-left: 4px;
}
.g2j-card__cta {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--g2j-ink);
  display: inline-flex; align-items: center; gap: 8px;
}
.g2j-card__cta::after {
  content: "\2192";
  transition: transform var(--g2j-dur) var(--g2j-ease);
}
.g2j-card:hover .g2j-card__cta::after { transform: translateX(6px); color: var(--g2j-gold-deep); }

/* =========================================================
   Destination card -- full-bleed 3:4
   ========================================================= */
.g2j-dest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 0;
}
@media (max-width: 1200px) { .g2j-dest-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .g2j-dest-grid { grid-template-columns: 1fr; } }

.g2j-dest {
  position: relative; display: block;
  aspect-ratio: 3 / 4; min-height: 360px; overflow: hidden;
  color: var(--g2j-bg); border-radius: var(--g2j-radius);
  isolation: isolate; text-decoration: none;
}
.g2j-dest__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1400ms var(--g2j-ease);
}
.g2j-dest::after {
  content: ""; position: absolute; inset: 0;
  background: var(--g2j-overlay); z-index: 1;
  transition: opacity var(--g2j-dur) var(--g2j-ease);
}
.g2j-dest:hover .g2j-dest__img { transform: scale(1.06); }
.g2j-dest__body {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: 36px;
}
.g2j-dest__eyebrow { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; opacity: .85; margin-bottom: 10px; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.g2j-dest__title {
  font-family: var(--g2j-serif);
  font-size: clamp(28px, 3vw, 40px); line-height: 1; margin: 0; letter-spacing: -.01em;
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
.g2j-dest__count {
  margin-top: 14px; font-size: 13px; opacity: .9;
  display: inline-flex; align-items: center; gap: 10px;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
.g2j-dest__count::before {
  content: ""; width: 24px; height: 1px; background: var(--g2j-gold); display: inline-block;
}

/* =========================================================
   Filter bar
   ========================================================= */
.g2j-filterbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  padding: 20px 0;
  border-top: 1px solid var(--g2j-line);
  border-bottom: 1px solid var(--g2j-line);
  margin-bottom: var(--g2j-space-5);
}
.g2j-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.g2j-chip {
  padding: 10px 18px;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--g2j-line-strong);
  border-radius: 999px;
  color: var(--g2j-ink-soft);
  cursor: pointer;
  transition: all var(--g2j-dur) var(--g2j-ease);
}
.g2j-chip:hover { border-color: var(--g2j-ink); color: var(--g2j-ink); }
.g2j-chip[aria-pressed="true"],
.g2j-chip.active { background: var(--g2j-ink); color: var(--g2j-bg); border-color: var(--g2j-ink); }
.g2j-sort { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--g2j-ink-mute); }
.g2j-sort select { border: 0; background: transparent; font-family: var(--g2j-sans); font-size: 13px; color: var(--g2j-ink); padding: 4px 6px; cursor: pointer; }

/* =========================================================
   Single property -- gallery + layout
   ========================================================= */
.g2j-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  height: clamp(420px, 64vh, 680px);
}
.g2j-gallery > a { position: relative; overflow: hidden; border-radius: var(--g2j-radius); display: block; }
.g2j-gallery > a:first-child { grid-row: span 2; }
.g2j-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--g2j-ease); }
.g2j-gallery > a:hover img { transform: scale(1.04); }
@media (max-width: 800px) {
  .g2j-gallery { grid-template-columns: 1fr; grid-template-rows: 64vh; }
  .g2j-gallery > a:not(:first-child) { display: none; }
}

/* Escenario + carrusel de miniaturas (imagen principal, galería, vídeo) */
.g2j-media { display: flex; flex-direction: column; gap: 10px; }
.g2j-media-stage { position: relative; height: clamp(360px, 62vh, 640px); border-radius: var(--g2j-radius); overflow: hidden; background: #E8DDD0; }
.g2j-media-stage--empty { height: clamp(240px, 40vh, 420px); }
.g2j-media-stage__item { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .35s var(--g2j-ease); }
.g2j-media-stage__item.is-active { opacity: 1; visibility: visible; }
.g2j-media-stage__item img,
.g2j-media-stage__item video { width: 100%; height: 100%; object-fit: cover; display: block; }
.g2j-media-embed__play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #1A1A18; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.g2j-media-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1.5px solid #DDD8D2; box-shadow: 0 2px 14px rgba(26,26,24,.14); display: flex; align-items: center; justify-content: center; cursor: pointer; color: #1A1A18; z-index: 2; }
.g2j-media-nav--prev { left: 18px; }
.g2j-media-nav--next { right: 18px; }
.g2j-media-nav:hover { background: #1A1A18; color: #FAF7F2; }
.g2j-media-thumbs { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 2px; }
.g2j-media-thumb { flex: 0 0 84px; height: 64px; border-radius: 6px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: #E8DDD0; scroll-snap-align: start; position: relative; }
.g2j-media-thumb.is-active { border-color: #1A1A18; }
.g2j-media-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g2j-media-thumb__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; background: #1A1A18; font-size: 18px; }
@media (max-width: 800px) {
  .g2j-media-stage { height: 58vh; }
  .g2j-media-nav { width: 38px; height: 38px; }
}

.g2j-prop-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  margin-top: var(--g2j-space-5);
}
@media (max-width: 900px) { .g2j-prop-layout { grid-template-columns: 1fr; gap: 32px; } }

.g2j-prop-meta {
  display: flex; gap: 28px; flex-wrap: wrap;
  margin: 16px 0 32px;
  padding: 20px 0;
  border-top: 1px solid var(--g2j-line);
  border-bottom: 1px solid var(--g2j-line);
}
.g2j-prop-meta div { display: flex; flex-direction: column; }
.g2j-prop-meta .num { font-family: var(--g2j-serif); font-size: 22px; }
.g2j-prop-meta .lbl { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--g2j-ink-mute); margin-top: 2px; }

/* Booking sidebar */
.g2j-booking {
  position: sticky; top: 24px;
  background: var(--g2j-surface);
  border: 1px solid var(--g2j-line);
  border-radius: var(--g2j-radius);
  padding: 32px;
}
.g2j-booking__price { font-family: var(--g2j-serif); font-size: 32px; margin: 0 0 4px; }
.g2j-booking__price small { font-family: var(--g2j-sans); font-size: 13px; color: var(--g2j-ink-mute); margin-left: 4px; }
.g2j-booking__rule { height: 1px; background: var(--g2j-line); margin: 24px 0; }
.g2j-booking .g2j-search { grid-template-columns: 1fr 1fr; max-width: none; backdrop-filter: none; border-color: var(--g2j-line); margin-bottom: 16px; }
.g2j-booking .g2j-search__field { background: var(--g2j-bg); padding: 14px 16px; }
.g2j-booking__guests {
  width: 100%; display: flex; flex-direction: column; gap: 4px;
  background: var(--g2j-bg); border: 1px solid var(--g2j-line);
  padding: 14px 16px; border-radius: var(--g2j-radius); margin-bottom: 16px;
}
.g2j-booking__guests label { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--g2j-ink-mute); }
.g2j-booking__guests select { border: 0; background: transparent; font-family: var(--g2j-serif); font-size: 16px; outline: none; padding: 0; }
.g2j-booking__note { font-size: 12px; color: var(--g2j-ink-mute); text-align: center; margin: 14px 0 0; }

/* =========================================================
   Single destination -- hero + sidebar layout
   ========================================================= */
.g2j-dest-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  margin-top: var(--g2j-space-5);
}
@media (max-width: 900px) { .g2j-dest-layout { grid-template-columns: 1fr; } }

.g2j-side-list { display: flex; flex-direction: column; gap: 16px; }
.g2j-side-card {
  display: grid; grid-template-columns: 120px 1fr; gap: 16px;
  padding: 12px; border: 1px solid var(--g2j-line); border-radius: var(--g2j-radius);
  background: var(--g2j-bg); text-decoration: none; color: inherit;
  transition: border-color var(--g2j-dur) var(--g2j-ease), transform var(--g2j-dur) var(--g2j-ease);
}
.g2j-side-card:hover { border-color: var(--g2j-ink); transform: translateY(-2px); }
.g2j-side-card img { width: 120px; height: 120px; object-fit: cover; border-radius: var(--g2j-radius-sm); }
.g2j-side-card h4 { font-family: var(--g2j-serif); font-size: 17px; margin: 4px 0; }
.g2j-side-card .price { margin-top: auto; font-family: var(--g2j-serif); font-size: 16px; }

/* =========================================================
   Single destination -- zone grid (Sanders Stay style)
   ========================================================= */
.g2j-zone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) { .g2j-zone-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (max-width: 600px) { .g2j-zone-grid { grid-template-columns: 1fr; } }

.g2j-zone-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--g2j-bg);
  border: 1px solid var(--g2j-line);
  border-radius: var(--g2j-radius);
  overflow: hidden;
  transition: border-color var(--g2j-dur) var(--g2j-ease), box-shadow var(--g2j-dur) var(--g2j-ease), transform var(--g2j-dur) var(--g2j-ease);
}
.g2j-zone-card:hover {
  border-color: var(--g2j-gold);
  box-shadow: 0 12px 32px rgba(26,24,20,.12);
  transform: translateY(-3px);
}
.g2j-zone-card__media {
  aspect-ratio: 4 / 3;
  background: var(--g2j-surface);
  overflow: hidden;
}
.g2j-zone-card__media img { width: 100%; height: 100%; object-fit: cover; }
.g2j-zone-card__body { padding: 18px 20px 22px; }
.g2j-zone-card__title { font-family: var(--g2j-serif); font-size: 19px; font-weight: 400; margin: 0 0 8px; color: var(--g2j-ink); }
.g2j-zone-card__desc { font-size: 13.5px; line-height: 1.55; color: var(--g2j-ink-soft); margin: 0 0 12px; }
.g2j-zone-card__count { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--g2j-ink-mute); }

.g2j-dest-lede { font-family: var(--g2j-serif); font-size: 20px; line-height: 1.4; color: var(--g2j-ink-soft); margin: 0 0 18px; }

.g2j-editorial__kicker { font-family: var(--g2j-serif); font-style: italic; font-size: clamp(17px, 1.6vw, 21px); color: var(--g2j-ink-soft); margin: 0 0 10px; }
.g2j-editorial__title { font-family: var(--g2j-serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 50px); line-height: 1.12; color: var(--g2j-ink); margin: 0 0 24px; max-width: 34ch; }
.g2j-editorial__body { font-size: clamp(16.5px, 1.15vw, 18px); line-height: 1.75; color: var(--g2j-ink-soft); max-width: none; }
.g2j-editorial__body p { margin: 0 0 1.1em; }
.g2j-editorial__body.is-clamped { max-height: 22em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.g2j-editorial__body.is-open { max-height: none; -webkit-mask-image: none; mask-image: none; }
.g2j-editorial__more { margin-top: 18px; background: none; border: 0; padding: 0; font-family: var(--g2j-sans); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--g2j-ink); cursor: pointer; border-bottom: 1px solid var(--g2j-ink); }
.g2j-editorial__more.is-open { display: none; }
@media (min-width: 900px) { .g2j-editorial__title { max-width: none; } }
@media (min-width: 1100px) { .g2j-editorial__body { columns: 2; column-gap: 56px; } }

.g2j-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 24px; padding: 28px 0; border-top: 1px solid var(--g2j-line); border-bottom: 1px solid var(--g2j-line); }
.g2j-facts__item { display: flex; flex-direction: column; gap: 4px; }
.g2j-facts__label { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--g2j-ink-mute); }
.g2j-facts__value { font-family: var(--g2j-serif); font-size: 17px; color: var(--g2j-ink); }

/* =========================================================
   Astra / theme overrides for plugin templates
   ========================================================= */
body.g2j-full-width #primary,
body.g2j-full-width .content-area {
  width: 100% !important; max-width: 100% !important; float: none !important;
}
body.g2j-full-width .ast-container,
body.g2j-full-width #content.ast-container {
  max-width: 100% !important; padding-left: 0 !important; padding-right: 0 !important;
}
body.g2j-full-width #secondary { display: none !important; }

/* =========================================================
   Trust strip
   ========================================================= */
.g2j-trust {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--g2j-line);
  border-top: 1px solid var(--g2j-line);
  border-bottom: 1px solid var(--g2j-line);
}
@media (max-width: 700px) { .g2j-trust { grid-template-columns: repeat(2, 1fr); } }
.g2j-trust__item { background: var(--g2j-bg); padding: 36px 24px; text-align: center; }
.g2j-trust__num { font-family: var(--g2j-serif); font-size: 32px; line-height: 1; }
.g2j-trust__lbl { margin-top: 8px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--g2j-ink-mute); }

/* =========================================================
   Rating stars (prop_rating / prop_reviews_count) — usado por
   las tarjetas de búsqueda/mapa y la ficha de propiedad.
   ========================================================= */
.g2j-rating { display: inline-flex; align-items: center; gap: 4px; font-family: var(--g2j-sans); font-size: 13px; color: var(--g2j-ink); font-weight: 500; }
.g2j-rating svg { color: var(--g2j-gold); flex-shrink: 0; }
.g2j-rating__count { font-family: var(--g2j-sans); font-size: 12px; color: var(--g2j-ink-mute); margin-left: 2px; }
.g2j-dlight__rating-row, .g2j-bm-card__rating-row { margin: 2px 0 8px; }

/* =========================================================
   Price pin overlay (G2JPricePin en frontend.js) — compartido
   por [g2j_buscar_mapa] y el mapa de la ficha de propiedad.
   ========================================================= */
.g2j-bm-pricepin { background: #1A1A18; color: #FAF7F2; font-family: var(--g2j-sans); font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 20px; box-shadow: 0 2px 8px rgba(26,24,20,.3); white-space: nowrap; transform: translate(-50%,-100%); cursor: pointer; transition: background .15s, transform .15s; position: absolute; }
.g2j-bm-pricepin:hover, .g2j-bm-pricepin--hi { background: var(--g2j-gold); transform: translate(-50%,-100%) scale(1.08); z-index: 10; }

/* Mapa de la ficha de propiedad */
.g2j-prop-map { width: 100%; border-radius: var(--g2j-radius); overflow: hidden; background: #E8DDD0; }
@media (max-width: 700px) { .g2j-prop-map { height: 280px !important; } }

/* =========================================================
   Legacy shortcode helpers (backwards compat)
   ========================================================= */
.g2j-empty { text-align: center; padding: 64px 24px; color: var(--g2j-ink-mute); }
.g2j-empty h3 { font-family: var(--g2j-serif); font-weight: 400; }
.g2j-section-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.g2j-section-eyebrow { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--g2j-ink-mute); font-weight: 500; margin: 0 0 8px; }
.g2j-section-title { font-family: var(--g2j-serif); font-size: clamp(28px, 3vw, 44px); font-weight: 400; margin: 0; }
.g2j-link-arrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--g2j-ink); display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.g2j-link-arrow:hover { color: var(--g2j-gold-deep); }

/* editorial grid */
.g2j-editorial-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; }
.g2j-editorial-banner { position: relative; display: block; overflow: hidden; border-radius: var(--g2j-radius); color: var(--g2j-bg); text-decoration: none; }
.g2j-editorial-banner--span { aspect-ratio: 1 / 1; }
.g2j-editorial-banner--sm  { aspect-ratio: 4 / 3; }
.g2j-editorial-banner__bg { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--g2j-ease); }
.g2j-editorial-banner:hover .g2j-editorial-banner__bg { transform: scale(1.04); }
.g2j-editorial-banner__overlay { position: absolute; inset: 0; background: var(--g2j-overlay); }
.g2j-editorial-banner__content { position: absolute; inset: auto 0 0; padding: 32px; z-index: 2; }
.g2j-editorial-banner__tag { display: inline-block; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 12px; opacity: .85; }
.g2j-editorial-banner__title { font-family: var(--g2j-serif); font-size: clamp(22px, 2.5vw, 36px); font-weight: 400; margin: 0 0 20px; }

/* prop list card (lista shortcode) */
.g2j-prop-list { display: flex; flex-direction: column; gap: 24px; }
.g2j-prop-list-card { display: grid; grid-template-columns: 320px 1fr; gap: 32px; border: 1px solid var(--g2j-line); border-radius: var(--g2j-radius); overflow: hidden; text-decoration: none; color: inherit; background: var(--g2j-bg); transition: border-color var(--g2j-dur) var(--g2j-ease); }
.g2j-prop-list-card:hover { border-color: var(--g2j-ink); }
.g2j-prop-list-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g2j-prop-list-card__body { padding: 32px 32px 32px 0; display: flex; flex-direction: column; }
.g2j-prop-list-card__title { font-family: var(--g2j-serif); font-size: clamp(20px, 2vw, 28px); font-weight: 400; margin: 0 0 12px; }

/* prop card footer/price legacy */
.g2j-prop-card__footer { display: flex; align-items: baseline; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--g2j-line); margin-top: auto; }
.g2j-prop-card__price { font-family: var(--g2j-serif); font-size: 18px; }
.g2j-prop-card__price span { font-family: var(--g2j-sans); font-size: 12px; color: var(--g2j-ink-mute); margin-left: 4px; }
.g2j-prop-card__location { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--g2j-ink-mute); margin: 0 0 6px; }

/* =========================================================
   Slider sections — premium redesign
   ========================================================= */

/* Section wrapper */
.g2j-slider-section {
  width: 100%;
  overflow: hidden;
}

/* Scroll track */
.g2j-sl-track {
  cursor: grab;
}
.g2j-sl-track:active { cursor: grabbing; }
.g2j-sl-track::-webkit-scrollbar { height: 3px; }
.g2j-sl-track::-webkit-scrollbar-track { background: transparent; }
.g2j-sl-track::-webkit-scrollbar-thumb { background: #D9D3CC; border-radius: 2px; }

/* Image zoom container */
.g2j-slz { transform: scale(1); }

/* Destination / Zona cards (image overlay style) */
.g2j-sl-dcard,
.g2j-sl-zcard {
  /* layout via inline styles; transitions via injected <style> */
  isolation: isolate;
}

/* Property cards */
.g2j-sl-pcard {
  isolation: isolate;
}

/* Legacy class aliases — keep for backward compat */
.g2j-scard, .g2j-pscard {
  flex: 0 0 300px;
  scroll-snap-align: start;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

/* =========================================================
   Mobile responsiveness for sliders
   ========================================================= */
@media (max-width: 600px) {
  .g2j-sl-dcard  { flex: 0 0 85vw !important; height: 300px !important; }
  .g2j-sl-zcard  { flex: 0 0 80vw !important; height: 260px !important; }
  .g2j-sl-pcard  { flex: 0 0 85vw !important; }
  .g2j-sl-nbtn   { display: none !important; }
}

/* =========================================================
   Mobile
   ========================================================= */
@media (max-width: 800px) {
  .g2j-search { grid-template-columns: 1fr 1fr; }
  .g2j-search__submit { grid-column: span 2; padding: 18px; }
  .g2j-secthead { flex-direction: column; align-items: flex-start; }
  .g2j-prop-list-card { grid-template-columns: 1fr; }
  .g2j-prop-list-card__body { padding: 24px; }
  .g2j-editorial-grid { grid-template-columns: 1fr; }
  .g2j-booking { position: static; }
}

/* =========================================================
   Cookie banner (plugin de terceros Adapta RGPD) — colores
   corporativos. No se toca el CSS del propio plugin (se
   perdería en cada actualización); en su lugar se sobrescribe
   aquí, con !important porque el orden de carga entre plugins
   no está garantizado.
   ========================================================= */
#cookies-eu-banner {
  background: var(--g2j-bg) !important;
  border-top: 1px solid var(--g2j-line-strong) !important;
  box-shadow: 0 -8px 30px rgba(26,24,20,.10) !important;
  padding: 22px 28px !important;
  font-family: var(--g2j-sans) !important;
}
#cookies-eu-label {
  color: var(--g2j-ink-soft) !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  max-width: 900px;
}
#cookies-eu-label a { color: var(--g2j-gold-deep) !important; text-decoration: underline; }

#cookies-eu-buttons {
  display: flex !important;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px !important;
}
#cookies-eu-buttons form { display: inline-flex !important; align-items: center; margin: 0 !important; }

#cookies-eu-accept, .cookies-eu-accept,
#cookies-eu-reject, .cookies-eu-reject {
  font-family: var(--g2j-sans) !important;
  font-size: 11px !important;
  letter-spacing: .1em !important;
  text-transform: uppercase !important;
  padding: 13px 26px !important;
  border-radius: 30px !important;
  border: 1px solid var(--g2j-ink) !important;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
#cookies-eu-accept, .cookies-eu-accept {
  background: var(--g2j-ink) !important;
  color: var(--g2j-bg) !important;
}
#cookies-eu-accept:hover, #cookies-eu-accept:focus,
.cookies-eu-accept:hover, .cookies-eu-accept:focus {
  background: var(--g2j-gold) !important;
  border-color: var(--g2j-gold) !important;
  color: var(--g2j-ink) !important;
}
#cookies-eu-reject, .cookies-eu-reject {
  background: transparent !important;
  color: var(--g2j-ink) !important;
}
#cookies-eu-reject:hover, #cookies-eu-reject:focus,
.cookies-eu-reject:hover, .cookies-eu-reject:focus {
  background: var(--g2j-surface) !important;
  border-color: var(--g2j-ink) !important;
}

#cookies-eu-settings, .cookies-eu-settings {
  font-family: var(--g2j-sans) !important;
  font-size: 11px !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  color: var(--g2j-ink-mute) !important;
  background: transparent !important;
  border: 0 !important;
  padding: 13px 4px !important;
  text-decoration: underline;
  cursor: pointer;
}
#cookies-eu-settings:hover, #cookies-eu-settings:focus,
.cookies-eu-settings:hover, .cookies-eu-settings:focus {
  color: var(--g2j-ink) !important;
}

@media (max-width: 640px) {
  #cookies-eu-banner { padding: 18px !important; }
  #cookies-eu-buttons { flex-direction: column; align-items: stretch; }
  #cookies-eu-buttons form { display: flex !important; }
  #cookies-eu-accept, #cookies-eu-reject, #cookies-eu-settings { width: 100%; text-align: center; }
}
