/* =========================================================
   THE LOCAL ESTATE — FICHA DE PROPIEDAD
   v0.6.1
   Ajustes pedidos por cliente:
   - Header estilo home
   - Logo mini a la izquierda
   - Sociales + menú negro
   - Quitar amarillo
   - CTA principal negro con texto blanco
========================================================= */

:root {
  --tle-green: #718e72;
  --tle-green-dark: #496560;
  --tle-black: #101010;
  --tle-text: #202020;
  --tle-white: #ffffff;
  --tle-soft: #efeeeb;
  --tle-line: #ddd8d2;
  --tle-muted: #70756f;
  --tle-shadow: 0 20px 42px rgba(0,0,0,.08);
  --tle-radius-xl: 34px;
  --tle-radius-lg: 28px;
  --tle-radius-md: 20px;
}

html,
body.single-tle-property {
  margin: 0;
  padding: 0;
  background: var(--tle-soft);
  color: var(--tle-text);
  font-family: Arial, Helvetica, sans-serif;
}

body.single-tle-property .site,
body.single-tle-property .site-content,
body.single-tle-property .content-area,
body.single-tle-property .site-main {
  margin: 0;
  padding: 0;
}

.tle-property-page,
.tle-property-page * {
  box-sizing: border-box;
}

.tle-property-shell {
  width: 100%;
  max-width: 1980px;
  margin: 0 auto;
  padding-left: clamp(18px, 2vw, 52px);
  padding-right: clamp(18px, 2vw, 52px);
}

/* HEADER */
.tle-property-header {
  position: relative;
  top: auto;
  z-index: 10;
  background: transparent;
  backdrop-filter: none;
}

.tle-property-header__inner {
  min-height: 10px;
  display: block;
}

.tle-property-header__brand {
  display: none !important;
}

.tle-property-header__logo-image {
  display: none !important;
}

.tle-property-header__actions {
  display: none !important;
}

.tle-property-header__social {
  display: none !important;
}

.tle-property-header__social svg {
  display: none !important;
}










/* SHOWCASE */
.tle-property-showcase {
  padding: 8px 0 28px;
}

.tle-property-showcase__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(360px, 480px);
  gap: 28px;
  align-items: start;
}

.tle-property-media__featured,
.tle-property-media__thumb {
  margin: 0;
  overflow: hidden;
  border-radius: var(--tle-radius-xl);
  background: #e6e3df;
}

.tle-property-media__featured {
  height: clamp(500px, 58vw, 920px);
}

.tle-property-media__featured img,
.tle-property-media__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tle-property-media__thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.tle-property-media__thumb {
  height: 180px;
}

/* SUMMARY */
.tle-property-summary {
  position: sticky;
  top: 112px;
  padding: 40px;
  border-radius: 32px;
  background: rgba(255,255,255,.88);
  box-shadow: var(--tle-shadow);
}

.tle-property-summary__top {
  position: relative;
  display: block;
  padding-right: 110px;
}

.tle-property-summary__eyebrow {
  margin: 0 0 10px;
  color: var(--tle-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
}

.tle-property-summary h1 {
  margin: 0;
  color: #203330;
  font-size: clamp(34px, 3.9vw, 76px);
  line-height: .94;
  font-weight: 500;
}

.tle-property-summary__badge {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(113,142,114,.16);
  color: var(--tle-green-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
}

.tle-property-summary__price {
  margin-top: 18px;
  color: #203330;
  font-size: clamp(28px, 2.6vw, 52px);
  line-height: 1;
  font-weight: 600;
}

.tle-property-summary__description {
  margin-top: 20px;
  color: #5f645f;
  font-size: clamp(16px, 1.14vw, 18px);
  line-height: 1.65;
}

.tle-property-summary__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
  border: 1px solid var(--tle-line);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(247,246,243,.92);
}

.tle-property-summary__fact {
  padding: 18px 18px 16px;
  min-height: 92px;
  border-right: 1px solid var(--tle-line);
  border-bottom: 1px solid var(--tle-line);
}

.tle-property-summary__fact:nth-child(2n) {
  border-right: 0;
}

.tle-property-summary__fact span {
  display: block;
  margin-bottom: 8px;
  color: #a0a39c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.tle-property-summary__fact strong {
  display: block;
  color: #1e2e2b;
  font-size: clamp(18px, 1.5vw, 28px);
  line-height: 1.1;
}

.tle-property-summary__location {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--tle-line);
}

.tle-property-summary__location span {
  display: block;
  margin-bottom: 10px;
  color: #9fa39c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.tle-property-summary__location p {
  margin: 0;
  color: #555b55;
  font-size: 16px;
  line-height: 1.6;
}

.tle-property-summary__cta {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  min-height: 66px;
  margin-top: 28px;
  padding: 16px 24px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  transition: transform .25s ease, opacity .25s ease;
}

.tle-property-summary__cta:hover {
  transform: translateY(-2px);
  opacity: .95;
}

/* CONTENT */
.tle-property-content {
  padding: 0 0 34px;
}

.tle-property-content__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, .95fr);
  gap: 28px;
}

.tle-property-section-block,
.tle-property-section-list {
  padding: 36px;
  border-radius: 30px;
  background: rgba(255,255,255,.86);
  box-shadow: var(--tle-shadow);
}

.tle-property-section-block__eyebrow {
  margin: 0 0 10px;
  color: var(--tle-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
}

.tle-property-section-block h2 {
  margin: 0 0 16px;
  color: var(--tle-green);
  font-size: clamp(32px, 2.8vw, 54px);
  line-height: .98;
  font-weight: 600;
}

.tle-property-section-block__copy {
  color: #4f544f;
  font-size: 17px;
  line-height: 1.75;
}

.tle-property-section-block__copy p {
  margin: 0 0 16px;
}

.tle-property-content__side {
  display: grid;
  gap: 24px;
}

.tle-property-section-list h3 {
  margin: 0 0 16px;
  color: #1f2f2c;
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.05;
}

.tle-property-section-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tle-property-section-list li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 18px;
  color: #555b55;
  font-size: 16px;
  line-height: 1.55;
}

.tle-property-section-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tle-green);
}

/* CONTACT */
.tle-property-contact {
  padding: 0 0 52px;
}

.tle-property-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.tle-property-contact__info-card {
  padding: 42px;
  border-radius: 30px;
  background: var(--tle-green-dark);
  color: #ffffff;
  box-shadow: var(--tle-shadow);
}

.tle-property-contact__eyebrow {
  margin: 0 0 16px;
  color: rgba(255,255,255,.88);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
}

.tle-property-contact__info-card h2 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(40px, 4.2vw, 72px);
  line-height: .95;
  font-weight: 500;
  text-transform: uppercase;
}

.tle-property-contact__lead {
  margin: 0;
  color: rgba(255,255,255,.92);
  font-size: 17px;
  line-height: 1.7;
}

.tle-property-contact__meta {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.22);
}

.tle-property-contact__meta span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255,255,255,.8);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tle-property-contact__meta p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}

.tle-property-contact__meta a {
  color: #ffffff;
  text-decoration: none;
}

.tle-property-contact__whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  margin-top: 32px;
  padding: 14px 30px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 999px;
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}

.tle-property-contact__form-card {
  padding: 42px;
  border-radius: 30px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--tle-shadow);
}

.tle-property-contact__form-card h2 {
  margin: 0 0 24px;
  color: var(--tle-green-dark);
  font-size: clamp(40px, 4vw, 64px);
  line-height: .98;
  font-weight: 500;
}

.tle-property-contact__form {
  display: grid;
  gap: 18px;
}

.tle-property-contact__form label {
  display: grid;
  gap: 10px;
}

.tle-property-contact__form label span {
  color: #7d827c;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tle-property-contact__form input,
.tle-property-contact__form textarea {
  width: 100%;
  padding: 17px 22px;
  border: 1px solid #dad6cf;
  border-radius: 999px;
  background: #f2f0eb;
  color: #343834;
  font: inherit;
}

.tle-property-contact__form textarea {
  min-height: 180px;
  border-radius: 28px;
  resize: vertical;
}

.tle-property-contact__form button {
  min-height: 64px;
  padding: 16px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--tle-green-dark);
  color: #ffffff;
  font: inherit;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
}

.tle-property-contact__notice {
  margin-bottom: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
}

.tle-property-contact__notice--success {
  background: rgba(113,142,114,.14);
  color: #284131;
  border: 1px solid rgba(113,142,114,.28);
}

.tle-property-contact__notice--error {
  background: rgba(207,80,80,.08);
  color: #863232;
  border: 1px solid rgba(207,80,80,.2);
}

.tle-property-contact__honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* RESPONSIVE */
@media (max-width: 1160px) {
  .tle-property-showcase__grid,
  .tle-property-content__grid,
  .tle-property-contact__grid {
    grid-template-columns: 1fr;
  }

  .tle-property-summary {
    position: static;
    top: auto;
  }
}

@media (max-width: 760px) {
  .tle-property-header__inner {
    min-height: 8px;
  }

  .tle-property-showcase__grid {
    gap: 18px;
  }

  .tle-property-media__featured {
    min-height: 320px;
  }

  .tle-property-media__thumbs {
    grid-template-columns: 1fr;
  }

  .tle-property-summary,
  .tle-property-section-block,
  .tle-property-section-list,
  .tle-property-contact__info-card,
  .tle-property-contact__form-card {
    padding: 24px;
    border-radius: 22px;
  }

  .tle-property-contact__form-card h2,
  .tle-property-contact__info-card h2 {
    font-size: 38px;
  }
}

@media (max-width: 520px) {
  .tle-property-summary__facts {
    grid-template-columns: 1fr;
  }

  .tle-property-summary__fact {
    border-right: 0 !important;
  }

  .tle-property-header__actions {
    gap: 10px;
  }
}



/* =========================================================
   PROPERTY GALLERY — CARRUSEL + LIGHTBOX
   v1.0.6
========================================================= */

body.single-tle-property.tle-property-lightbox-open {
  overflow: hidden;
}

.tle-property-carousel {
  position: relative;
  width: 100%;
}

.tle-property-carousel__viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--tle-radius-xl);
  background: #e6e3df;
}

.tle-property-carousel__track {
  display: flex;
  width: 100%;
  transition: transform .44s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}

.tle-property-carousel__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: clamp(500px, 58vw, 920px);
  margin: 0;
  padding: 0;
  border: 0;
  appearance: none;
  background: #e6e3df;
  overflow: hidden;
  cursor: zoom-in;
}

.tle-property-carousel__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform .55s ease,
    filter .55s ease;
}

.tle-property-carousel__slide:hover img {
  transform: scale(1.025);
  filter: contrast(1.04) saturate(1.02);
}

.tle-property-carousel__counter {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(16,16,16,.64);
  color: #ffffff;
  backdrop-filter: blur(10px);
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .08em;
}

.tle-property-carousel__nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 999px;
  background: rgba(16,16,16,.54);
  color: #ffffff;
  backdrop-filter: blur(10px);
  font-size: 40px;
  line-height: 46px;
  font-weight: 300;
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    background-color .24s ease,
    border-color .24s ease,
    color .24s ease,
    transform .24s ease;
}

.tle-property-carousel__nav:hover,
.tle-property-carousel__nav:focus-visible {
  background: var(--tle-green);
  border-color: var(--tle-green);
  color: #ffffff;
  transform: translateY(-50%) scale(1.04);
}

.tle-property-carousel__nav--prev {
  left: 18px;
}

.tle-property-carousel__nav--next {
  right: 18px;
}

.tle-property-carousel__thumbs {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  padding: 2px 2px 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}

.tle-property-carousel__thumb {
  flex: 0 0 112px;
  width: 112px;
  height: 82px;
  margin: 0;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 18px;
  overflow: hidden;
  background: #e6e3df;
  cursor: pointer;
  opacity: .68;
  transition:
    opacity .24s ease,
    border-color .24s ease,
    transform .24s ease;
}

.tle-property-carousel__thumb:hover,
.tle-property-carousel__thumb:focus-visible,
.tle-property-carousel__thumb.is-active {
  opacity: 1;
  border-color: var(--tle-green);
  transform: translateY(-2px);
}

.tle-property-carousel__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Lightbox */
.tle-property-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  padding: clamp(18px, 3vw, 48px);
  background: rgba(0,0,0,.94);
  backdrop-filter: blur(10px);
}

.tle-property-lightbox[hidden] {
  display: none !important;
}

.tle-property-lightbox__stage {
  width: min(1500px, 100%);
  height: min(82vh, 920px);
  display: grid;
  place-items: center;
}

.tle-property-lightbox__stage img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0,0,0,.42);
}

.tle-property-lightbox__close {
  position: fixed;
  top: clamp(16px, 2.2vw, 30px);
  right: clamp(16px, 2.2vw, 30px);
  z-index: 3;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #ffffff;
  font-size: 34px;
  line-height: 46px;
  cursor: pointer;
  transition:
    background-color .24s ease,
    border-color .24s ease,
    transform .24s ease;
}

.tle-property-lightbox__close:hover,
.tle-property-lightbox__close:focus-visible {
  background: var(--tle-green);
  border-color: var(--tle-green);
  transform: scale(1.04);
}

.tle-property-lightbox__nav {
  position: fixed;
  top: 50%;
  z-index: 3;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #ffffff;
  font-size: 46px;
  line-height: 50px;
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    background-color .24s ease,
    border-color .24s ease,
    transform .24s ease;
}

.tle-property-lightbox__nav:hover,
.tle-property-lightbox__nav:focus-visible {
  background: var(--tle-green);
  border-color: var(--tle-green);
  transform: translateY(-50%) scale(1.04);
}

.tle-property-lightbox__nav--prev {
  left: clamp(16px, 2.2vw, 30px);
}

.tle-property-lightbox__nav--next {
  right: clamp(16px, 2.2vw, 30px);
}

.tle-property-lightbox__meta {
  position: fixed;
  left: 50%;
  bottom: clamp(16px, 2.2vw, 30px);
  z-index: 3;
  transform: translateX(-50%);
}

.tle-property-lightbox__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  color: #ffffff;
  backdrop-filter: blur(10px);
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .08em;
}

@media (max-width: 980px) {
  .tle-property-carousel__slide {
    height: clamp(420px, 70vw, 680px);
  }

  .tle-property-carousel__thumb {
    flex-basis: 94px;
    width: 94px;
    height: 72px;
    border-radius: 15px;
  }
}

@media (max-width: 767px) {
  .tle-property-carousel__slide {
    height: clamp(330px, 78vw, 520px);
  }

  .tle-property-carousel__nav {
    width: 44px;
    height: 44px;
    font-size: 34px;
    line-height: 38px;
  }

  .tle-property-carousel__nav--prev {
    left: 12px;
  }

  .tle-property-carousel__nav--next {
    right: 12px;
  }

  .tle-property-carousel__thumb {
    flex-basis: 82px;
    width: 82px;
    height: 62px;
    border-radius: 13px;
  }

  .tle-property-lightbox {
    padding: 14px;
  }

  .tle-property-lightbox__stage {
    height: 78vh;
  }

  .tle-property-lightbox__nav {
    width: 46px;
    height: 46px;
    font-size: 38px;
    line-height: 40px;
  }

  .tle-property-lightbox__close {
    width: 46px;
    height: 46px;
    font-size: 30px;
    line-height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tle-property-carousel__track,
  .tle-property-carousel__slide img,
  .tle-property-carousel__nav,
  .tle-property-carousel__thumb,
  .tle-property-lightbox__close,
  .tle-property-lightbox__nav {
    transition: none !important;
  }
}



/* =========================================================
   PROPERTY SINGLE — POSITION PER PROPERTY
   v1.0.8
========================================================= */

.tle-property-carousel {
  --tle-property-image-position: center center;
}

.tle-property-carousel__slide img,
.tle-property-carousel__thumb img,
.tle-property-media__featured img,
.tle-property-media__thumb img {
  object-position: var(--tle-property-image-position, center center) !important;
  transform-origin: var(--tle-property-image-position, center center) !important;
}



/* =========================================================
   PROPERTY GALLERY — COMPLETE IMAGE + CENTERED CONTROLS
   v1.1.2
   Las fotos se ven completas en carrusel y lightbox.
========================================================= */

/* Carrusel dentro de la ficha: mostrar foto completa */
.tle-property-carousel__slide {
  display: grid !important;
  place-items: center !important;
  background: #050505 !important;
  overflow: hidden !important;
}

.tle-property-carousel__slide img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
  filter: none !important;
}

.tle-property-carousel__slide:hover img {
  transform: none !important;
  filter: none !important;
}

/* Lightbox encima de absolutamente todo, incluso botones flotantes */
.tle-property-lightbox {
  z-index: 2147483000 !important;
  display: grid !important;
  place-items: center !important;
  padding: clamp(14px, 3vw, 42px) !important;
  overflow: hidden !important;
  background: rgba(0,0,0,.96) !important;
}

.tle-property-lightbox[hidden] {
  display: none !important;
}

.tle-property-lightbox__stage {
  width: min(1560px, calc(100vw - clamp(28px, 6vw, 84px))) !important;
  height: min(86vh, 920px) !important;
  max-width: calc(100vw - clamp(28px, 6vw, 84px)) !important;
  max-height: calc(100vh - clamp(72px, 10vw, 128px)) !important;
  display: grid !important;
  place-items: center !important;
  margin: 0 auto !important;
  overflow: hidden !important;
}

.tle-property-lightbox__stage img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
  box-shadow: 0 30px 80px rgba(0,0,0,.42) !important;
}

/* Botón cerrar realmente centrado */
.tle-property-lightbox__close {
  position: fixed !important;
  top: clamp(14px, 2vw, 28px) !important;
  right: clamp(14px, 2vw, 28px) !important;
  z-index: 2147483002 !important;
  width: 54px !important;
  height: 54px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  line-height: 1 !important;
  font-size: 34px !important;
  text-align: center !important;
  transform: none !important;
}

/* Flechas centradas al alto de la pantalla */
.tle-property-lightbox__nav {
  position: fixed !important;
  top: 50% !important;
  z-index: 2147483002 !important;
  width: 58px !important;
  height: 58px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  line-height: 1 !important;
  font-size: 42px !important;
  text-align: center !important;
  transform: translateY(-50%) !important;
}

.tle-property-lightbox__nav--prev {
  left: clamp(14px, 2.6vw, 42px) !important;
}

.tle-property-lightbox__nav--next {
  right: clamp(14px, 2.6vw, 42px) !important;
}

.tle-property-lightbox__meta {
  position: fixed !important;
  left: 50% !important;
  bottom: clamp(14px, 2vw, 28px) !important;
  z-index: 2147483002 !important;
  transform: translateX(-50%) !important;
}

@media (max-width: 767px) {
  .tle-property-carousel__slide {
    height: min(72vh, 620px) !important;
  }

  .tle-property-lightbox {
    padding: 12px !important;
  }

  .tle-property-lightbox__stage {
    width: calc(100vw - 24px) !important;
    height: calc(100vh - 104px) !important;
    max-width: calc(100vw - 24px) !important;
    max-height: calc(100vh - 104px) !important;
  }

  .tle-property-lightbox__close {
    width: 48px !important;
    height: 48px !important;
    font-size: 30px !important;
  }

  .tle-property-lightbox__nav {
    width: 46px !important;
    height: 46px !important;
    font-size: 34px !important;
    background: rgba(16,16,16,.58) !important;
  }

  .tle-property-lightbox__nav--prev {
    left: 10px !important;
  }

  .tle-property-lightbox__nav--next {
    right: 10px !important;
  }
}



/* =========================================================
   PROPERTY GALLERY — ORIGINAL IMAGE MODE
   v1.1.3
   Carrusel y lightbox muestran la foto original completa.
========================================================= */

body.tle-property-lightbox-open {
  overflow: hidden !important;
}

/* Carrusel en ficha: no crop, no zoom, no posición personalizada aquí */
.tle-property-carousel__viewport {
  background: #050505 !important;
}

.tle-property-carousel__slide {
  display: grid !important;
  place-items: center !important;
  background: #050505 !important;
  overflow: hidden !important;
}

.tle-property-carousel__slide img,
.tle-property-carousel__slide img[data-tle-original-image="true"] {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
  filter: none !important;
}

.tle-property-carousel__slide:hover img,
.tle-property-carousel__slide:hover img[data-tle-original-image="true"] {
  transform: none !important;
  filter: none !important;
}

/* Lightbox: usar todo el viewport y contener la imagen completa */
.tle-property-lightbox {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: rgba(0,0,0,.96) !important;
  backdrop-filter: blur(10px) !important;
}

.tle-property-lightbox[hidden] {
  display: none !important;
}

.tle-property-lightbox__stage {
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  display: grid !important;
  place-items: center !important;
  margin: 0 !important;
  padding: clamp(74px, 8vh, 96px) clamp(92px, 8vw, 132px) clamp(56px, 7vh, 82px) !important;
  overflow: visible !important;
}

.tle-property-lightbox__stage img,
.tle-property-lightbox__stage img[data-tle-lightbox-image] {
  display: block !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
  filter: none !important;
  box-shadow: 0 30px 80px rgba(0,0,0,.42) !important;
}

/* Controles centrados y por encima de todo */
.tle-property-lightbox__close {
  position: fixed !important;
  top: clamp(14px, 2vw, 28px) !important;
  right: clamp(14px, 2vw, 28px) !important;
  z-index: 2147483002 !important;
  width: 54px !important;
  height: 54px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  line-height: 1 !important;
  font-size: 34px !important;
  text-align: center !important;
}

.tle-property-lightbox__nav {
  position: fixed !important;
  top: 50% !important;
  z-index: 2147483002 !important;
  width: 58px !important;
  height: 58px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  line-height: 1 !important;
  font-size: 42px !important;
  text-align: center !important;
  transform: translateY(-50%) !important;
}

.tle-property-lightbox__nav--prev {
  left: clamp(14px, 2.6vw, 42px) !important;
}

.tle-property-lightbox__nav--next {
  right: clamp(14px, 2.6vw, 42px) !important;
}

.tle-property-lightbox__meta {
  position: fixed !important;
  left: 50% !important;
  bottom: clamp(14px, 2vw, 28px) !important;
  z-index: 2147483002 !important;
  transform: translateX(-50%) !important;
}

@media (max-width: 767px) {
  .tle-property-carousel__slide {
    height: min(72vh, 620px) !important;
  }

  .tle-property-lightbox__stage {
    padding: 64px 12px 54px !important;
  }

  .tle-property-lightbox__close {
    width: 48px !important;
    height: 48px !important;
    font-size: 30px !important;
  }

  .tle-property-lightbox__nav {
    width: 46px !important;
    height: 46px !important;
    font-size: 34px !important;
    background: rgba(16,16,16,.58) !important;
  }

  .tle-property-lightbox__nav--prev {
    left: 10px !important;
  }

  .tle-property-lightbox__nav--next {
    right: 10px !important;
  }
}
