*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:"Google Sans","Product Sans",Inter,Roboto,Arial,sans-serif;background:#f7f8fb;color:#111827}.topbar{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 5vw;background:rgba(255,255,255,.92);backdrop-filter:blur(14px);border-bottom:1px solid #eef0f4}.brand{display:flex;align-items:center;gap:10px;color:#111;text-decoration:none;min-width:0}.brand strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.brand img{width:42px;height:42px;object-fit:contain}.brand-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:16px;background:var(--soft);flex:0 0 auto}nav{display:flex;gap:18px}nav a{color:#4b5563;text-decoration:none;font-weight:500}.wa-header,.btn-primary,.btn-whatsapp,.cta a{border:0;border-radius:999px;padding:12px 18px;font-weight:700;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.wa-header,.btn-whatsapp,.cta a{background:#25D366;color:white}.btn-primary{background:var(--primary);color:#fff;box-shadow:0 12px 30px color-mix(in srgb,var(--primary) 35%,transparent)}.hero{padding:24px 5vw 10px}.slider{position:relative;overflow:hidden;border-radius:30px;background:var(--gradient);box-shadow:0 24px 70px rgba(15,23,42,.16)}.slide{display:none;min-height:520px;grid-template-columns:1fr 1fr;align-items:center;padding:46px;gap:30px}.slide.active{display:grid}.slide h1{font-size:clamp(36px,7vw,72px);line-height:.95;color:#fff;margin:0 0 18px;font-weight:800}.slide p{font-size:20px;color:rgba(255,255,255,.9);max-width:560px}.slide-img img,.placeholder-big{width:100%;height:380px;border-radius:26px;object-fit:cover;background:rgba(255,255,255,.25);display:grid;place-items:center;color:#fff;font-size:32px;font-weight:700}.arrow{position:absolute;top:50%;transform:translateY(-50%);border:0;width:42px;height:42px;border-radius:999px;background:white;color:var(--primary);font-size:34px}.arrow.left{left:14px}.arrow.right{right:14px}.dots{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);display:flex;gap:8px}.dots button{width:10px;height:10px;border-radius:99px;border:0;background:rgba(255,255,255,.55)}.dots button.active{width:28px;background:white}.benefits{padding:26px 5vw;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.benefit-card{background:white;border-radius:24px;padding:24px;box-shadow:0 18px 40px rgba(15,23,42,.07)}.benefit-icon{width:56px;height:56px;border-radius:20px;display:grid;place-items:center;background:var(--soft);font-size:26px}.benefit-card h3{margin:16px 0 8px;font-weight:800}.benefit-card p{margin:0;color:#64748b;line-height:1.5}.catalog{padding:35px 5vw}.section-head{text-align:center;margin:0 auto 22px;max-width:680px}.section-head span{color:var(--primary);font-weight:700}.section-head h2{font-size:clamp(30px,5vw,48px);margin:8px 0;font-weight:800}.section-head p{color:#64748b}.chips{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-bottom:28px}.chip{padding:10px 16px;border-radius:99px;border:1px solid #e5e7eb;background:white;font-weight:600}.chip.active{background:var(--primary);color:#fff}.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.product-card{background:#fff;border-radius:26px;overflow:hidden;box-shadow:0 18px 40px rgba(15,23,42,.08);display:flex;flex-direction:column;min-width:0}.product-image{position:relative;height:240px;background:var(--soft);overflow:hidden;cursor:zoom-in}.product-image img{width:100%;height:100%;object-fit:cover;display:block}.placeholder-product{height:100%;display:grid;place-items:center;font-size:22px;font-weight:700;color:var(--primary)}.sale-badge{position:absolute;top:14px;left:14px;z-index:2;background:#ef4444;color:#fff;padding:7px 10px;border-radius:999px;font-size:12px;font-weight:800}.product-info{padding:18px;display:flex;flex-direction:column;flex:1;min-width:0}.product-info h3{font-size:20px;margin:0 0 8px;color:#0f172a;line-height:1.18;word-break:break-word;font-weight:800}.product-info .description{color:#475569;line-height:1.45;margin:0 0 8px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;cursor:pointer;min-height:61px}.read-more{align-self:flex-start;background:transparent;border:0;color:var(--primary);font-weight:700;padding:0;margin:0 0 10px;cursor:pointer}.thumbs{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 12px}.thumbs button{border:2px solid #e5e7eb;background:#fff;border-radius:12px;padding:2px;width:48px;height:48px;overflow:hidden;cursor:pointer}.thumbs img{width:100%;height:100%;object-fit:cover;border-radius:9px}.price{display:flex;gap:10px;align-items:center;margin:12px 0;font-size:20px;margin-top:auto}.price del{color:#94a3b8}.price strong{color:var(--primary);font-size:24px;font-weight:800}.btn-whatsapp{width:100%}.cta{margin:25px 5vw;padding:30px;border-radius:28px;background:var(--gradient);color:white;display:flex;align-items:center;justify-content:space-between;gap:20px}.cta h2{margin:0;font-size:32px;font-weight:800}.cta p{margin:8px 0 0;color:rgba(255,255,255,.85)}.cta a{background:white;color:#111827}.chatbot{padding:35px 5vw}.chatbot iframe{width:100%;height:760px;border:1px solid #e5e7eb;border-radius:24px;background:white;box-shadow:0 18px 40px rgba(15,23,42,.08)}footer{padding:28px;text-align:center;background:#0f172a;color:white}.lightbox{position:fixed;inset:0;background:rgba(2,6,23,.82);backdrop-filter:blur(10px);display:none;align-items:center;justify-content:center;z-index:1000;padding:24px}.lightbox.open{display:flex}.lightbox img{max-width:min(1100px,92vw);max-height:86vh;object-fit:contain;border-radius:18px;box-shadow:0 30px 80px rgba(0,0,0,.35)}.modal-close,.desc-close{position:absolute;top:18px;right:18px;border:0;background:white;color:#111827;width:38px;height:38px;border-radius:999px;font-size:26px;font-weight:800;cursor:pointer;display:grid;place-items:center}.modal-arrow{position:absolute;top:50%;transform:translateY(-50%);border:0;background:white;color:#111827;width:44px;height:44px;border-radius:999px;font-size:36px;cursor:pointer;display:grid;place-items:center}.modal-left{left:18px}.modal-right{right:18px}.modal-count{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);background:rgba(255,255,255,.92);padding:8px 14px;border-radius:999px;font-weight:700}.desc-modal{position:fixed;inset:0;background:rgba(2,6,23,.62);backdrop-filter:blur(8px);display:none;align-items:center;justify-content:center;z-index:1001;padding:18px}.desc-modal.open{display:flex}.desc-card{position:relative;background:white;border-radius:24px;width:min(640px,96vw);max-height:85vh;overflow:auto;padding:28px;box-shadow:0 30px 80px rgba(0,0,0,.28)}.desc-card h2{margin:0 48px 12px 0;font-size:28px;font-weight:800}.desc-card p{font-size:18px;line-height:1.65;color:#334155;white-space:pre-wrap}.desc-close{top:14px;right:14px;background:#f1f5f9}@media(max-width:860px){.topbar nav{display:none}.wa-header{padding:10px 12px;font-size:13px}.slide{grid-template-columns:1fr;padding:28px;min-height:auto}.slide-img img,.placeholder-big{height:260px}.benefits{grid-template-columns:1fr}.product-grid{grid-template-columns:1fr}.product-image{height:265px}.cta{flex-direction:column;align-items:flex-start}.cta a{width:100%}.chatbot{padding:28px 14px}.chatbot iframe{height:920px;border-radius:18px}.modal-arrow{width:38px;height:38px;font-size:30px}.modal-left{left:8px}.modal-right{right:8px}.lightbox{padding:8px}.lightbox img{max-width:96vw;max-height:78vh}.desc-modal{align-items:flex-end;padding:0}.desc-card{width:100%;max-height:82vh;border-radius:26px 26px 0 0;padding:24px 20px}.desc-card h2{font-size:24px}.desc-card p{font-size:17px}}@media(min-width:861px) and (max-width:1100px){.product-grid{grid-template-columns:repeat(2,1fr)}}
/* v12 nuevas secciones públicas */
.store-info-section,.reviews-section{padding:35px 5vw}.store-info-grid,.reviews-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.info-box,.review-card{background:#fff;border-radius:26px;padding:24px;box-shadow:0 18px 40px rgba(15,23,42,.08);border:1px solid #eef2f7}.info-icon{width:56px;height:56px;border-radius:18px;display:grid;place-items:center;background:var(--soft);font-size:26px;margin-bottom:14px}.info-box h3,.review-card h3{margin:0 0 10px;font-weight:800;color:#0f172a}.info-box p,.review-card p{color:#475569;line-height:1.6;margin:0}.review-head{display:flex;align-items:center;gap:14px;margin-bottom:14px}.review-head img,.review-avatar{width:58px;height:58px;border-radius:999px;object-fit:cover;background:var(--soft);display:grid;place-items:center;font-weight:800;color:var(--primary);font-size:22px;flex:0 0 auto}.stars{color:#FACC15;letter-spacing:1px;font-size:18px;line-height:1}.footer-socials{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-bottom:14px}.footer-socials a{color:white;text-decoration:none;border:1px solid rgba(255,255,255,.2);border-radius:999px;padding:8px 12px;background:rgba(255,255,255,.08)}@media(max-width:860px){.store-info-grid,.reviews-grid{grid-template-columns:1fr}.store-info-section,.reviews-section{padding:28px 14px}}


/* v15 compartir tienda y footer link */
.share-store-button{
  border:1px solid #e5e7eb;
  background:#fff;
  color:#0f172a;
  border-radius:999px;
  padding:11px 15px;
  font-weight:700;
  font-family:inherit;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  cursor:pointer;
  box-shadow:0 8px 22px rgba(15,23,42,.06);
  white-space:nowrap;
}
.share-store-button:hover{background:var(--soft);color:var(--primary)}
.share-icon{line-height:1}
footer a{color:white;text-decoration:none}
footer a:hover{text-decoration:underline}
.share-toast{
  position:fixed;
  left:50%;
  bottom:24px;
  transform:translateX(-50%);
  background:#0f172a;
  color:white;
  padding:11px 16px;
  border-radius:999px;
  font-weight:700;
  z-index:9999;
  box-shadow:0 16px 34px rgba(15,23,42,.25);
}
@media(max-width:860px){
  .share-store-button{
    width:42px;
    height:42px;
    padding:0;
    border-radius:999px;
    flex:0 0 auto;
    font-size:18px;
  }
  .share-store-button .share-text{display:none}
  .share-store-button .share-icon{display:inline}
}



/* v16 ajuste botón compartir alineado a la derecha */
.header-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  margin-left:auto;
  flex:0 0 auto;
}
.topbar{
  grid-template-columns:auto 1fr auto;
}
@media(max-width:860px){
  .topbar{
    justify-content:flex-start;
    gap:10px;
  }
  .brand{
    flex:1 1 auto;
    min-width:0;
  }
  .header-actions{
    margin-left:auto;
    gap:8px;
  }
  .share-store-button{
    order:1;
  }
  .wa-header{
    order:2;
    padding:10px 13px;
  }
}


/* v20 catálogo inmobiliario */
.operation-pill{align-self:flex-start;background:var(--soft);color:var(--primary);font-weight:800;border-radius:999px;padding:6px 11px;font-size:12px;margin-bottom:10px;text-transform:uppercase;letter-spacing:.02em}.location-line{margin:0 0 8px;color:#334155;font-weight:650;line-height:1.35}.property-specs{display:flex;flex-wrap:wrap;gap:7px;margin:6px 0 10px}.property-specs span{border:1px solid #e5e7eb;background:#fff;border-radius:999px;padding:6px 9px;font-size:13px;font-weight:650;color:#334155}.maintenance-line,.amenities-line{margin:4px 0 8px;color:#475569;line-height:1.45;font-size:14px}.amenities-line strong{color:#0f172a}.product-info .price{margin-top:6px}.product-info .btn-whatsapp{margin-top:auto}.product-info .description{min-height:auto;margin-top:8px}@media(max-width:860px){.property-specs span{font-size:12px}.operation-pill{font-size:11px}}

/* Ficha completa de propiedad */
.desc-card #descText{font-size:16px;line-height:1.5;color:#334155}.property-detail-card{display:flex;flex-direction:column;gap:18px}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}.detail-row{display:flex;gap:10px;align-items:flex-start;background:#f8fafc;border:1px solid #e5e7eb;border-radius:16px;padding:12px;min-width:0;align-self:start}.detail-row>div{min-width:0}.detail-row-wide{grid-column:1/-1}.detail-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:12px;background:var(--soft);flex:0 0 auto}.detail-row strong,.detail-description strong{display:block;color:#0f172a;margin-bottom:4px;font-size:13px}.detail-row p,.detail-description p{margin:0!important;font-size:15px!important;line-height:1.45!important;color:#334155!important;white-space:pre-wrap}.detail-old-price{color:#94a3b8;text-decoration:line-through;font-weight:600;margin-left:6px}.detail-description{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:16px}.detail-description p{margin-top:8px!important}@media(max-width:860px){.desc-modal{align-items:center!important;padding:14px!important}.desc-card{width:min(94vw,520px)!important;max-height:88vh!important;border-radius:24px!important;padding:22px 18px!important;margin:0 auto!important}.detail-grid{grid-template-columns:1fr!important;gap:10px}.detail-row,.detail-row-wide{grid-column:1/-1!important;width:100%;padding:11px}.detail-row p,.detail-description p{font-size:14px!important;overflow-wrap:anywhere}.desc-card h2{font-size:22px!important;margin-right:42px!important}}

/* v40 portada inmobiliaria: reemplaza banners y bullets */
.cover-hero{
  padding:24px 5vw 34px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:22px;
  background:linear-gradient(180deg,#ffffff 0%,#f7f8fb 100%);
}
.cover-shell{
  width:min(1200px,100%);
  background:#fff;
  border:1px solid #eef2f7;
  border-radius:30px;
  overflow:hidden;
  box-shadow:0 22px 60px rgba(15,23,42,.12);
}
.cover-image{
  width:100%;
  height:auto;
  display:block;
}
.cover-placeholder{
  min-height:360px;
  aspect-ratio:16/8.5;
  display:grid;
  place-items:center;
  text-align:center;
  padding:30px;
  color:#0f172a;
  background:radial-gradient(circle at top right,color-mix(in srgb,var(--primary) 20%,transparent),transparent 34%),linear-gradient(135deg,#ffffff,var(--soft));
}
.cover-placeholder span{display:block;color:var(--primary);font-weight:800;margin-bottom:10px;text-transform:uppercase;letter-spacing:.08em;font-size:13px}.cover-placeholder strong{display:block;font-size:clamp(28px,5vw,54px);line-height:1.04;max-width:720px}.cover-whatsapp{
  min-width:min(720px,92vw);
  max-width:92vw;
  min-height:74px;
  border-radius:999px;
  padding:14px 32px;
  background:linear-gradient(135deg,var(--primary-dark),var(--primary));
  color:#fff;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  box-shadow:0 18px 42px color-mix(in srgb,var(--primary) 32%,transparent);
  transition:transform .18s ease, box-shadow .18s ease;
}
.cover-whatsapp:hover{transform:translateY(-2px);box-shadow:0 22px 48px color-mix(in srgb,var(--primary) 42%,transparent)}.cover-wa-icon{width:48px;height:48px;border-radius:999px;display:grid;place-items:center;background:rgba(255,255,255,.18);font-size:25px;flex:0 0 auto}.cover-whatsapp strong{display:block;font-size:clamp(18px,3vw,25px);line-height:1;font-weight:900;letter-spacing:.08em}.cover-whatsapp small{display:block;margin-top:5px;font-size:14px;font-weight:600;opacity:.9;letter-spacing:.01em}.catalog{padding-top:30px}@media(max-width:860px){.cover-hero{padding:14px 10px 26px;gap:16px}.cover-shell{border-radius:18px;box-shadow:0 16px 42px rgba(15,23,42,.10)}.cover-placeholder{min-height:250px;aspect-ratio:1.05/1}.cover-whatsapp{min-width:0;width:min(420px,92vw);min-height:64px;padding:12px 18px;gap:12px}.cover-wa-icon{width:42px;height:42px;font-size:22px}.cover-whatsapp strong{font-size:17px;letter-spacing:.05em}.cover-whatsapp small{font-size:13px}.catalog{padding-top:24px}}

/* v41 ajustes solicitados */
body{
  background:#f5f7fb;
}
.cover-hero{
  padding:8px 5vw 28px;
}
.cover-shell{
  position:relative;
  width:min(1180px,100%);
  border-radius:0;
  overflow:visible;
  background:transparent;
  border:0;
  box-shadow:none;
}
.cover-image{
  border-radius:0;
}
.cover-share-button{
  position:absolute;
  top:16px;
  right:16px;
  width:46px;
  height:46px;
  border:0;
  border-radius:16px;
  background:rgba(255,255,255,.94);
  color:#0f172a;
  display:grid;
  place-items:center;
  font-size:22px;
  font-weight:800;
  cursor:pointer;
  z-index:2;
  box-shadow:0 10px 24px rgba(15,23,42,.14);
  backdrop-filter:blur(10px);
}
.cover-share-button:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 28px rgba(15,23,42,.18);
}
.cover-whatsapp{
  position:relative;
  overflow:hidden;
}
.cover-whatsapp::after{
  content:"";
  position:absolute;
  top:-20%;
  left:-32%;
  width:28%;
  height:140%;
  background:linear-gradient(115deg,transparent 0%,rgba(255,255,255,0) 35%,rgba(255,255,255,.34) 50%,rgba(255,255,255,0) 65%,transparent 100%);
  transform:skewX(-24deg);
  animation:coverShine 8s infinite;
  pointer-events:none;
}
@keyframes coverShine{
  0%,72%{left:-38%;opacity:0}
  75%{opacity:.2}
  82%{left:112%;opacity:.55}
  100%{left:112%;opacity:0}
}
.product-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(340px,540px));
  justify-content:center;
  gap:22px;
}
.product-card{
  width:100%;
}
@media (min-width:1101px){
  .product-grid{
    grid-template-columns:repeat(auto-fit,minmax(360px,540px));
  }
}
@media(max-width:860px){
  .cover-hero{
    padding:10px 0 24px;
  }
  .cover-shell{
    width:100%;
  }
  .cover-share-button{
    top:10px;
    right:10px;
    width:44px;
    height:44px;
    border-radius:15px;
    font-size:20px;
  }
  .product-grid{
    grid-template-columns:minmax(0,1fr);
  }
}


/* v45 videos de propiedades y ajustes de tarjetas */
.price-video-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:10px 0 8px;
  flex-wrap:wrap;
}
.price-video-row .price{
  margin:0;
}
.video-button{
  border:0;
  border-radius:999px;
  padding:10px 14px;
  background:#FF0000;
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  font-weight:900;
  font-family:inherit;
  box-shadow:0 10px 22px rgba(255,0,0,.24);
  cursor:pointer;
  white-space:nowrap;
}
.video-button span{
  width:22px;
  height:22px;
  border-radius:999px;
  background:rgba(255,255,255,.18);
  display:grid;
  place-items:center;
  font-size:12px;
  line-height:1;
}
.video-button:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 26px rgba(255,0,0,.32);
}
.video-modal{
  position:fixed;
  inset:0;
  background:rgba(2,6,23,.78);
  backdrop-filter:blur(10px);
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
  z-index:1002;
}
.video-modal.open{display:flex}
.video-card{
  position:relative;
  width:min(960px,94vw);
  max-height:92vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
}
.video-close{
  position:absolute;
  top:-16px;
  right:-16px;
  border:0;
  width:42px;
  height:42px;
  border-radius:999px;
  background:#fff;
  color:#111827;
  font-size:27px;
  font-weight:900;
  cursor:pointer;
  z-index:2;
  box-shadow:0 12px 30px rgba(0,0,0,.2);
}
.video-frame{
  width:100%;
  aspect-ratio:16/9;
  background:#0f172a;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 30px 80px rgba(0,0,0,.38);
}
.video-frame.portrait{
  width:min(430px,92vw);
  aspect-ratio:9/16;
}
.video-frame iframe{
  width:100%;
  height:100%;
  border:0;
  display:block;
}
.video-loading{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  color:#fff;
  font-weight:800;
}
.video-frame .tiktok-embed,
.video-frame .instagram-media{
  margin:0 auto!important;
}
.video-frame.portrait{
  overflow:auto;
  background:#fff;
}
.video-fallback{
  width:100%;
  height:100%;
  min-height:280px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:28px;
  text-align:center;
  color:#fff;
  background:linear-gradient(135deg,#0f172a,#1e293b);
}
.video-fallback-icon{
  width:64px;
  height:64px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:#ef4444;
  color:#fff;
  box-shadow:0 14px 30px rgba(239,68,68,.35);
}
.video-fallback strong{font-size:22px}
.video-fallback p{margin:0;max-width:420px;color:#cbd5e1;line-height:1.45}
.video-fallback a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:#fff;
  color:#0f172a;
  text-decoration:none;
  font-weight:900;
  padding:10px 16px;
}
.video-open-link{
  color:#fff;
  text-decoration:none;
  font-weight:700;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.22);
  border-radius:999px;
  padding:9px 14px;
}
.admin-page .product-edit.collapsed > :not(.product-head){
  display:none!important;
}
.admin-page .product-head{
  cursor:pointer;
}
.admin-page .prop-toggle{
  width:38px;
  height:38px;
  border:0;
  border-radius:14px;
  background:var(--admin-soft,#eef6ff);
  color:#0f172a;
  font-size:20px;
  font-weight:900;
  cursor:pointer;
  display:inline-grid;
  place-items:center;
  margin-right:8px;
}
.admin-page .prop-summary-title{
  color:#64748b;
  font-size:14px;
  font-weight:700;
  margin-left:8px;
  flex:1 1 auto;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.admin-page .video-admin-box{
  border:1px solid #e5e7eb;
  background:#fff;
  border-radius:18px;
  padding:16px;
  margin:12px 0;
}
.admin-page .video-admin-box h4{
  margin:0 0 10px;
  font-size:16px;
}
@media(max-width:860px){
  .price-video-row{
    align-items:flex-start;
  }
  .video-button{
    padding:9px 12px;
    font-size:13px;
  }
  .video-modal{
    padding:14px;
  }
  .video-close{
    top:-12px;
    right:-8px;
  }
  .video-frame{
    border-radius:16px;
  }
}


/* v46 ajustes: amenidades compactas y última propiedad centrada */
.product-info .amenities-line{
  display:-webkit-box!important;
  -webkit-line-clamp:4;
  -webkit-box-orient:vertical;
  overflow:hidden;
  line-height:1.45;
  max-height:calc(1.45em * 4);
}
.product-grid .product-card.center-last-card{
  grid-column:1 / -1;
  justify-self:center;
  width:min(540px,100%);
}
@media(max-width:860px){
  .product-grid .product-card.center-last-card{
    grid-column:auto;
    width:100%;
  }
}

/* v47 sección compacta de catálogo extendido */
.extended-catalog-section{
  padding:0 5vw 28px;
  display:flex;
  justify-content:center;
}
.extended-catalog-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:min(420px,100%);
  min-height:52px;
  padding:14px 22px;
  border-radius:999px;
  background:var(--primary);
  color:#fff;
  text-decoration:none;
  font-weight:900;
  letter-spacing:.04em;
  text-align:center;
  box-shadow:0 14px 32px color-mix(in srgb,var(--primary) 28%,transparent);
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.extended-catalog-button:hover{
  transform:translateY(-2px);
  background:var(--primary-dark);
  box-shadow:0 18px 40px color-mix(in srgb,var(--primary) 36%,transparent);
}
.extended-catalog-button span{
  width:24px;
  height:24px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.18);
  font-size:14px;
  line-height:1;
}
@media(max-width:860px){
  .extended-catalog-section{
    padding:0 18px 24px;
  }
  .extended-catalog-button{
    min-height:50px;
    font-size:14px;
  }
}

/* v50 compartir propiedad y enlace directo */
.product-info{position:relative}
.property-share-button{
  position:absolute;
  top:12px;
  right:12px;
  width:34px;
  height:34px;
  border:0;
  border-radius:999px;
  background:#f8fafc;
  color:#0f172a;
  display:grid;
  place-items:center;
  font-size:17px;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 8px 18px rgba(15,23,42,.10);
  z-index:3;
}
.property-share-button:hover{background:var(--primary);color:#fff}
.product-card.property-highlight{
  outline:3px solid color-mix(in srgb,var(--primary) 65%,white);
  box-shadow:0 0 0 8px color-mix(in srgb,var(--primary) 12%,transparent),0 18px 40px rgba(15,23,42,.12);
}
@media(max-width:860px){
  .property-share-button{top:10px;right:10px;width:32px;height:32px;font-size:16px}
}

/* v51 icono compartir tipo nodos */
.share-node-icon{
  width:22px;
  height:22px;
  display:block;
  overflow:visible;
}
.share-node-icon .share-line{
  fill:none;
  stroke:#536879;
  stroke-width:8;
  stroke-linecap:round;
}
.share-node-icon .share-node-ring{
  fill:#536879;
}
.share-node-icon .share-node-core{
  fill:#8fdac9;
}
.cover-share-button,
.property-share-button{
  color:#536879;
}
.cover-share-button:hover .share-node-icon .share-node-ring,
.property-share-button:hover .share-node-icon .share-node-ring{
  fill:#405466;
}
.cover-share-button:hover .share-node-icon .share-line,
.property-share-button:hover .share-node-icon .share-line{
  stroke:#405466;
}
.property-share-button{
  background:#ffffff;
  border:1px solid rgba(83,104,121,.16);
}
.property-share-button:hover{
  background:#ffffff;
  color:#536879;
  transform:translateY(-1px);
}

/* v52 vista previa para compartir y foto principal cuadrada */
.product-image{
  height:auto;
  aspect-ratio:1/1;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f8fafc;
}
.product-image img{
  width:100%;
  height:100%;
  object-fit:contain;
  background:#f8fafc;
}
@media(max-width:860px){
  .product-image{
    height:auto;
    aspect-ratio:1/1;
  }
}

/* v53 compartir Facebook: filas centradas en escritorio */
@media (min-width:861px){
  .product-grid{
    display:flex!important;
    flex-wrap:wrap;
    justify-content:center!important;
    align-items:stretch;
    gap:22px;
  }
  .product-grid .product-card{
    flex:1 1 360px;
    max-width:540px;
  }
  .product-grid .product-card.center-last-card{
    width:auto;
    flex:1 1 360px;
    max-width:540px;
  }
}
@media (max-width:860px){
  .product-grid{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
  }
  .product-grid .product-card{
    max-width:none;
  }
}

/* v1.0.1 buscador local de propiedades */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.catalog-search{width:min(860px,100%);margin:18px auto 12px;display:grid;grid-template-columns:minmax(0,1fr) 58px;border:1px solid color-mix(in srgb,var(--primary) 38%,#d7dee9);border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 12px 28px rgba(15,23,42,.07);transition:border-color .18s ease,box-shadow .18s ease}
.catalog-search:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 16%,transparent),0 14px 30px rgba(15,23,42,.08)}
.catalog-search input{width:100%;min-width:0;border:0;outline:0;background:#fff;color:#0f172a;font:inherit;font-size:16px;padding:15px 17px;-webkit-appearance:none;appearance:none}
.catalog-search input::placeholder{color:#7c8799;opacity:1}
.catalog-search button{border:0;border-left:1px solid color-mix(in srgb,var(--primary) 34%,#d7dee9);background:linear-gradient(135deg,var(--primary),var(--primary-dark));color:#fff;display:grid;place-items:center;cursor:pointer;transition:filter .18s ease,transform .18s ease}
.catalog-search button:hover{filter:brightness(.96)}
.catalog-search button:active{transform:scale(.97)}
.catalog-search button svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.catalog-search-status{width:min(860px,100%);margin:0 auto 10px;text-align:center;color:#64748b;font-size:14px;font-weight:700}
.catalog-search-empty{width:min(860px,100%);margin:0 auto 22px;padding:15px 18px;border:1px solid color-mix(in srgb,var(--primary) 20%,#e5e7eb);border-radius:16px;background:color-mix(in srgb,var(--soft) 62%,#fff);color:#475569;text-align:center;line-height:1.45;font-weight:600}
.catalog-search-empty[hidden],.catalog-search-status[hidden]{display:none!important}
@media(max-width:860px){.catalog-search{width:100%;grid-template-columns:minmax(0,1fr) 54px;margin:14px auto 10px;border-radius:14px}.catalog-search input{font-size:16px;padding:14px 15px}.catalog-search button svg{width:23px;height:23px}.catalog-search-status{font-size:13px;margin-bottom:9px}.catalog-search-empty{margin-bottom:18px;padding:13px 14px;font-size:14px}.chips{margin-top:2px}}

/* v1.0.3 · filtros por zona */
.zone-filter-wrap{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin:-12px auto 24px}.zone-filter-label{font-weight:800;color:#475569}.zone-chips{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.zone-chip{padding:9px 14px;border-radius:999px;border:1px solid #e5e7eb;background:#fff;color:#334155;font-weight:700;cursor:pointer}.zone-chip.active{background:var(--soft);border-color:color-mix(in srgb,var(--primary) 35%,#e5e7eb);color:var(--primary-dark)}.zone-select-label{display:none;font-weight:700;color:#475569}.zone-select-label select{width:100%;border:1px solid #d8dee9;border-radius:14px;background:#fff;padding:12px 38px 12px 13px;font:inherit;color:#0f172a}.chips:has(+ .zone-filter-wrap){margin-bottom:18px}
@media(max-width:860px){.zone-filter-wrap{display:block;margin:-4px 0 20px}.zone-filter-label,.zone-chips{display:none}.zone-select-label{display:block}.zone-select-label select{margin-top:6px}}
