*{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 de productos */
.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 producto */
.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}.detail-row{display:flex;gap:10px;align-items:flex-start;background:#f8fafc;border:1px solid #e5e7eb;border-radius:16px;padding:12px}.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}.detail-row{padding:11px}.detail-row p,.detail-description p{font-size:14px!important}.desc-card h2{font-size:22px!important;margin-right:42px!important}}

/* v40 portada de productos: 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 productos 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 último producto centrado */
.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 producto 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;
  }
}

/* v60 ajustes responsivos de tarjeta, precio y colores de etiqueta */
.product-image{
  height:200px!important;
  aspect-ratio:auto!important;
  background:#fff!important;
  padding:10px;
}
.product-image img{
  object-fit:contain!important;
  background:#fff!important;
}
.sale-badge{
  background:#565959!important;
  color:#fff!important;
  max-width:calc(100% - 28px);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.sale-badge-gris{background:#565959!important;color:#fff!important}
.sale-badge-rojo{background:#ef4444!important;color:#fff!important}
.sale-badge-amarillo{background:#FFD814!important;color:#111827!important;border:1px solid #FCD200}
.price strong{letter-spacing:-.02em}
@media(max-width:860px){
  .product-card{border-radius:22px!important}
  .product-image{height:188px!important;padding:8px!important}
  .product-info{padding:16px!important}
  .product-info h3{font-size:19px!important;line-height:1.22!important}
  .price strong{font-size:23px!important}
}
@media(max-width:380px){
  .product-image{height:170px!important}
  .product-info{padding:14px!important}
  .price strong{font-size:22px!important}
}

/* v71 tarjetas tipo marketplace 400px, toast temporal y gama tipo Amazon */
.share-toast{
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  transform:translate(-50%, 12px)!important;
  transition:opacity .22s ease, transform .22s ease, visibility .22s ease!important;
}
.share-toast.show{
  opacity:1!important;
  visibility:visible!important;
  transform:translate(-50%, 0)!important;
}
.product-grid{
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:center!important;
  align-items:stretch!important;
  gap:18px!important;
}
.product-grid .product-card,
.product-grid .product-card.center-last-card{
  width:400px!important;
  max-width:100%!important;
  flex:0 1 400px!important;
}
.product-image{
  width:100%!important;
  height:auto!important;
  aspect-ratio:1/1!important;
  padding:0!important;
  background:#fff!important;
}
.product-image img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  background:#fff!important;
}
.placeholder-product{
  width:100%!important;
  height:100%!important;
  aspect-ratio:1/1!important;
}
.product-info .description{
  display:-webkit-box!important;
  -webkit-line-clamp:3!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  max-height:calc(1.45em * 3)!important;
  min-height:0!important;
}
@media(max-width:360px){
  .catalog{padding-left:12px!important;padding-right:12px!important}
  .product-grid .product-card,
  .product-grid .product-card.center-last-card{
    width:100%!important;
    max-width:100%!important;
    flex:0 1 100%!important;
  }
}
body.theme-amazon{
  font-family:Arial, Helvetica, sans-serif;
  background:#eaeded;
  color:#0f1111;
}
.theme-amazon .section-head span,
.theme-amazon .read-more{
  color:#007185!important;
}
.theme-amazon .section-head h2,
.theme-amazon .product-info h3{
  color:#0f1111!important;
}
.theme-amazon .chip{
  border-color:#d5d9d9!important;
  color:#0f1111!important;
  background:#fff!important;
  box-shadow:0 2px 5px rgba(15,17,17,.08);
}
.theme-amazon .chip.active{
  background:#232f3e!important;
  color:#fff!important;
  border-color:#232f3e!important;
}
.theme-amazon .product-card{
  border:1px solid #ddd!important;
  border-radius:4px!important;
  box-shadow:none!important;
}
.theme-amazon .product-info h3{
  font-size:16px!important;
  font-weight:500!important;
  line-height:1.35!important;
}
.theme-amazon .price strong{
  color:#b12704!important;
  font-weight:400!important;
}
.theme-amazon .btn-whatsapp,
.theme-amazon .cover-whatsapp,
.theme-amazon .cta a{
  background:#ffd814!important;
  color:#0f1111!important;
  border:1px solid #fcd200!important;
  box-shadow:none!important;
}
.theme-amazon .btn-whatsapp:hover,
.theme-amazon .cover-whatsapp:hover,
.theme-amazon .cta a:hover{
  background:#f7ca00!important;
}
.theme-amazon .cta{
  background:linear-gradient(135deg,#131921,#232f3e)!important;
}
.theme-amazon .operation-pill{
  background:#f0f2f2!important;
  color:#007185!important;
}
.theme-amazon .sale-badge-gris{
  background:#565959!important;
  color:#fff!important;
}

/* v9 footer social icons */
.footer-socials{align-items:center}
.footer-social-link{width:42px;height:42px;padding:0!important;display:inline-flex;align-items:center;justify-content:center;background:rgba(255,255,255,.96)!important;border-color:rgba(255,255,255,.22)!important;box-shadow:0 8px 18px rgba(0,0,0,.14);transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
.footer-social-link:hover{transform:translateY(-2px);box-shadow:0 12px 24px rgba(0,0,0,.2);text-decoration:none;background:#fff!important}
.footer-social-link img{width:24px;height:24px;display:block;object-fit:contain}
.footer-social-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:560px){.footer-social-link{width:40px;height:40px}.footer-social-link img{width:23px;height:23px}}


/* v10 corrección tamaño iconos footer */
footer .footer-socials{align-items:center}
footer .footer-socials .footer-social-link{
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  max-width:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  padding:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
}
footer .footer-socials .footer-social-link img{
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  max-width:24px!important;
  min-height:24px!important;
  max-height:24px!important;
  object-fit:contain!important;
  display:block!important;
}
@media(max-width:560px){
  footer .footer-socials .footer-social-link{width:40px!important;height:40px!important;min-width:40px!important;max-width:40px!important;min-height:40px!important;max-height:40px!important}
  footer .footer-socials .footer-social-link img{width:23px!important;height:23px!important;min-width:23px!important;max-width:23px!important;min-height:23px!important;max-height:23px!important}
}

/* v11 footer WhatsApp centrado y sin fondo blanco */
footer .footer-socials-wa-centered{
  width:100%;
  display:grid!important;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  justify-items:center;
  gap:10px;
  margin:0 auto 14px;
}
footer .footer-social-side{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
footer .footer-social-side-left{justify-content:flex-end;justify-self:stretch}
footer .footer-social-side-right{justify-content:flex-start;justify-self:stretch}
footer .footer-social-center{display:flex;align-items:center;justify-content:center}
footer .footer-social-link.footer-social-whatsapp{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  overflow:visible!important;
  width:54px!important;
  height:54px!important;
  min-width:54px!important;
  max-width:54px!important;
  min-height:54px!important;
  max-height:54px!important;
}
footer .footer-social-link.footer-social-whatsapp:hover{
  background:transparent!important;
  box-shadow:none!important;
  transform:translateY(-2px);
}
footer .footer-social-link.footer-social-whatsapp img{
  width:50px!important;
  height:50px!important;
  min-width:50px!important;
  max-width:50px!important;
  min-height:50px!important;
  max-height:50px!important;
  object-fit:contain!important;
}
@media(max-width:560px){
  footer .footer-socials-wa-centered{gap:8px}
  footer .footer-social-side{gap:8px}
  footer .footer-social-link.footer-social-whatsapp{width:50px!important;height:50px!important;min-width:50px!important;max-width:50px!important;min-height:50px!important;max-height:50px!important}
  footer .footer-social-link.footer-social-whatsapp img{width:46px!important;height:46px!important;min-width:46px!important;max-width:46px!important;min-height:46px!important;max-height:46px!important}
}

/* v12 ajuste: WhatsApp footer un poco más grande, centrado y sin fondo blanco */


/* v13 preguntas frecuentes fuera del iframe del chat */
.chat-faq-panel{
  max-width:960px;
  margin:0 auto 22px;
  background:#fff;
  border-radius:28px;
  padding:30px 38px;
  box-shadow:0 16px 42px rgba(15,23,42,.08);
  border:1px solid rgba(15,23,42,.05);
  text-align:center;
}
.chat-faq-panel h2{
  margin:0 0 20px;
  color:#0b4a7a;
  font-size:clamp(30px,5vw,46px);
  line-height:1;
  font-weight:900;
  letter-spacing:.02em;
  text-transform:uppercase;
}
.chat-faq-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.chat-faq-chip{
  min-height:58px;
  border:1px solid #d6e7f6;
  background:linear-gradient(135deg,#eef8ff,#fff);
  color:#06233d;
  border-radius:17px;
  padding:12px 16px;
  font-size:17px;
  font-weight:900;
  font-family:inherit;
  cursor:pointer;
  box-shadow:0 8px 20px rgba(15,23,42,.05);
}
.chat-faq-chip:hover{background:#f1f9ff;transform:translateY(-1px)}
.chatbot iframe#chatbotFrame{
  display:block;
  width:100%;
}
@media(max-width:860px){
  .chat-faq-panel{padding:24px 18px;margin-bottom:16px;border-radius:22px}
  .chat-faq-grid{grid-template-columns:1fr}
  .chat-faq-chip{font-size:16px;min-height:54px}
}

/* v15 portada 4:3 horizontal */
.cover-shell{
  aspect-ratio:4 / 3;
  overflow:hidden;
}
.cover-image{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}
.cover-placeholder{
  width:100%;
  height:100%;
  min-height:0;
  aspect-ratio:auto;
}
@media(max-width:860px){
  .cover-shell{
    aspect-ratio:4 / 3;
    overflow:hidden;
  }
  .cover-placeholder{
    min-height:0;
    aspect-ratio:auto;
  }
}

/* v16 portada en escritorio más compacta, conserva 4:3 */
@media (min-width:861px){
  .cover-shell{
    width:min(900px,92vw);
    max-width:900px;
    margin-left:auto;
    margin-right:auto;
    aspect-ratio:4 / 3;
  }
  .cover-hero{
    padding-top:18px;
    padding-bottom:28px;
  }
}
@media (max-width:860px){
  .cover-shell{
    width:100%;
    max-width:none;
  }
}

/* v17 gama Morado Naranja */
body.theme-morado_naranja{
  font-family:"Montserrat","Nunito Sans","Google Sans","Product Sans",Inter,Roboto,Arial,sans-serif;
  background:#fff;
  color:#3f3a44;
}
.theme-morado_naranja .topbar{
  background:#fff;
  border-bottom:1px solid rgba(107,46,138,.16);
}
.theme-morado_naranja .brand strong,
.theme-morado_naranja .section-head h2,
.theme-morado_naranja .cta h2{
  color:#4b1f69!important;
  letter-spacing:-.02em;
}
.theme-morado_naranja .section-head span,
.theme-morado_naranja .read-more,
.theme-morado_naranja nav a:hover{
  color:#6b2e8a!important;
}
.theme-morado_naranja .cover-whatsapp,
.theme-morado_naranja .cta{
  background:linear-gradient(135deg,#6b2e8a,#7f39a8)!important;
  color:#fff!important;
}
.theme-morado_naranja .cover-wa-icon{
  background:rgba(255,142,29,.18);
}
.theme-morado_naranja .cover-whatsapp::after{
  background:linear-gradient(115deg,transparent 0%,rgba(255,255,255,0) 35%,rgba(255,255,255,.32) 50%,rgba(255,255,255,0) 65%,transparent 100%);
}
.theme-morado_naranja .chip{
  background:#fff!important;
  border:1px solid #d8cbe3!important;
  color:#4b1f69!important;
  box-shadow:0 8px 20px rgba(107,46,138,.07);
}
.theme-morado_naranja .chip.active,
.theme-morado_naranja .btn-primary{
  background:#6b2e8a!important;
  border-color:#6b2e8a!important;
  color:#fff!important;
  box-shadow:0 12px 28px rgba(107,46,138,.22)!important;
}
.theme-morado_naranja .product-card{
  border:1px solid #d9d0df!important;
  border-radius:8px!important;
  box-shadow:0 10px 24px rgba(75,31,105,.08)!important;
  background:#fff!important;
  overflow:hidden!important;
}
.theme-morado_naranja .product-image{
  background:#fafafa!important;
  border-bottom:1px solid #f0edf3!important;
  padding:10px!important;
}
.theme-morado_naranja .product-image img{
  background:#fafafa!important;
}
.theme-morado_naranja .sale-badge{
  top:0!important;
  left:0!important;
  border-radius:0 0 0 0!important;
  background:#8e44c7!important;
  color:#fff!important;
  padding:12px 14px!important;
  font-size:14px!important;
  font-weight:800!important;
  max-width:70%!important;
  text-transform:none!important;
  box-shadow:none!important;
}
.theme-morado_naranja .sale-badge-rojo{background:#e85d75!important;color:#fff!important}
.theme-morado_naranja .sale-badge-gris{background:#6d6875!important;color:#fff!important}
.theme-morado_naranja .sale-badge-amarillo{background:#ff8e1d!important;color:#fff!important;border:0!important}
.theme-morado_naranja .operation-pill{
  background:transparent!important;
  color:#6d6875!important;
  border-radius:0!important;
  padding:0!important;
  margin-bottom:8px!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  font-size:15px!important;
  font-weight:600!important;
  text-transform:none!important;
  letter-spacing:0!important;
}
.theme-morado_naranja .operation-pill::before{
  content:"";
  width:10px;
  height:10px;
  border-radius:999px;
  background:#ff8e1d;
  flex:0 0 auto;
}
.theme-morado_naranja .product-info h3{
  color:#6b2e8a!important;
  font-size:18px!important;
  font-weight:800!important;
  line-height:1.2!important;
  text-decoration:underline;
  text-underline-offset:2px;
  text-decoration-thickness:1px;
  margin-bottom:8px!important;
}
.theme-morado_naranja .product-info .description{
  color:#5f5a66!important;
  font-size:15px!important;
  line-height:1.35!important;
}
.theme-morado_naranja .price strong{
  color:#7b2fad!important;
  font-size:24px!important;
  font-weight:900!important;
}
.theme-morado_naranja .price del{
  color:#8b8391!important;
}
.theme-morado_naranja .btn-whatsapp,
.theme-morado_naranja .cta a{
  background:#fff!important;
  color:#6b2e8a!important;
  border:1.5px solid #6b2e8a!important;
  box-shadow:none!important;
  font-weight:700!important;
}
.theme-morado_naranja .btn-whatsapp:hover,
.theme-morado_naranja .cta a:hover{
  background:#f5ecff!important;
  color:#4b1f69!important;
}
.theme-morado_naranja .thumbs button{
  border-color:#d8cbe3!important;
}
.theme-morado_naranja .chat-faq-panel,
.theme-morado_naranja .info-box,
.theme-morado_naranja .review-card{
  border-color:#eadff2!important;
  box-shadow:0 12px 28px rgba(75,31,105,.08)!important;
}
.theme-morado_naranja .chat-faq-panel h2{
  color:#4b1f69!important;
}
.theme-morado_naranja .chat-faq-chip{
  border-color:#d8cbe3!important;
  color:#4b1f69!important;
  background:#fff!important;
}
.theme-morado_naranja .chat-faq-chip:hover{
  border-color:#ff8e1d!important;
  color:#6b2e8a!important;
}
.theme-morado_naranja footer{
  background:#4b1f69!important;
}
.theme-morado_naranja footer a{
  color:#fff;
}
@media(max-width:860px){
  .theme-morado_naranja .sale-badge{font-size:13px!important;padding:10px 12px!important}
  .theme-morado_naranja .operation-pill{font-size:14px!important}
  .theme-morado_naranja .product-info h3{font-size:17px!important}
}



/* v18 ajustes Morado Naranja: contraste CTA e ícono real de WhatsApp */
.theme-morado_naranja .cta h2{
  color:#ff8e1d!important;
  text-shadow:none!important;
}
.theme-morado_naranja .cta p{
  color:rgba(255,255,255,.94)!important;
}
.cover-wa-icon img{
  width:46px;
  height:46px;
  object-fit:cover;
  border-radius:14px;
  display:block;
}
.theme-morado_naranja .cover-wa-icon{
  width:54px!important;
  height:54px!important;
  background:transparent!important;
  border-radius:16px!important;
  overflow:hidden!important;
  box-shadow:none!important;
}
.theme-morado_naranja .cover-wa-icon img{
  width:54px!important;
  height:54px!important;
  border-radius:16px!important;
}
@media(max-width:860px){
  .theme-morado_naranja .cover-wa-icon{
    width:44px!important;
    height:44px!important;
    border-radius:13px!important;
  }
  .theme-morado_naranja .cover-wa-icon img{
    width:44px!important;
    height:44px!important;
    border-radius:13px!important;
  }
}

/* v20 botones personalizados debajo de categorías */
.catalog-custom-links{
  width:100%;
  max-width:1200px;
  margin:-12px auto 30px;
  display:flex;
  flex-wrap:wrap;
  align-items:stretch;
  justify-content:center;
  gap:12px;
}
.catalog-custom-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 1 auto;
  width:auto;
  max-width:min(100%,520px);
  min-height:46px;
  padding:11px 22px;
  border:1px solid color-mix(in srgb,var(--primary) 82%,#000 8%);
  border-radius:999px;
  background:var(--primary);
  color:#fff;
  box-shadow:0 10px 24px color-mix(in srgb,var(--primary) 22%,transparent);
  font:inherit;
  font-weight:800;
  line-height:1.25;
  text-align:center;
  text-decoration:none;
  white-space:normal;
  overflow-wrap:anywhere;
  word-break:normal;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease;
}
.catalog-custom-link:hover{
  transform:translateY(-2px);
  background:var(--primary-dark);
  box-shadow:0 14px 30px color-mix(in srgb,var(--primary) 30%,transparent);
}
.catalog-custom-link:focus-visible{
  outline:3px solid color-mix(in srgb,var(--primary) 45%,white);
  outline-offset:3px;
}
.theme-amazon .catalog-custom-link{
  background:#ffd814!important;
  color:#0f1111!important;
  border-color:#fcd200!important;
  box-shadow:0 2px 5px rgba(15,17,17,.15)!important;
}
.theme-amazon .catalog-custom-link:hover{
  background:#f7ca00!important;
}
.theme-morado_naranja .catalog-custom-link{
  background:#6b2e8a!important;
  color:#fff!important;
  border-color:#6b2e8a!important;
  box-shadow:0 10px 24px rgba(107,46,138,.20)!important;
}
.theme-morado_naranja .catalog-custom-link:hover{
  background:#4b1f69!important;
}
@media(max-width:600px){
  .catalog-custom-links{
    margin:-10px auto 24px;
    gap:10px;
  }
  .catalog-custom-link{
    flex:1 1 100%;
    width:100%;
    max-width:100%;
    min-height:44px;
    padding:11px 16px;
    border-radius:18px;
  }
}


/* ===== Pedidos / solicitudes de cotización · Fase 1 ===== */
.btn-add-order{width:100%;border:1px solid color-mix(in srgb,var(--primary) 32%,#d8e1ef);background:#fff;color:var(--primary-dark);border-radius:13px;padding:12px 14px;font-weight:850;font-size:15px;cursor:pointer;transition:.18s ease;margin-top:8px}.btn-add-order:hover{transform:translateY(-1px);border-color:var(--primary)}.btn-add-order.selected{background:var(--soft);border-color:var(--primary);color:var(--primary-dark)}
.order-action-wrap{margin:14px 0 4px}.order-send-main{width:100%;border:0;border-radius:17px;background:var(--gradient);color:#fff;box-shadow:0 10px 24px color-mix(in srgb,var(--primary) 25%,transparent);display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:15px 18px;cursor:pointer;text-align:left}.order-send-main>span{font-size:23px}.order-send-main strong{font-size:18px}.order-send-main small{font-size:13px;color:#fff;background:#ffffff24;border:1px solid #ffffff33;border-radius:999px;padding:5px 9px;white-space:nowrap}
.order-modal{position:fixed;inset:0;z-index:10020;background:#0b162b99;backdrop-filter:blur(5px);display:none;align-items:center;justify-content:center;padding:18px}.order-modal.open{display:flex}.order-card{position:relative;background:#fff;width:min(680px,100%);max-height:min(88vh,820px);overflow:auto;border-radius:22px;padding:24px;box-shadow:0 28px 80px #0013294d}.order-close{position:absolute;right:14px;top:12px;width:38px;height:38px;border:0;border-radius:999px;background:#eef2f7;color:#21314a;font-size:26px;cursor:pointer}.order-modal-head{padding-right:42px}.order-modal-head>span{font-size:13px;font-weight:850;color:var(--primary);text-transform:uppercase;letter-spacing:.04em}.order-modal-head h2{font-size:28px;margin:5px 0 6px}.order-modal-head p{margin:0 0 18px;color:#66748a;line-height:1.45}.order-summary-items{display:grid;gap:9px}.order-summary-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;border:1px solid #e2e8f2;background:#fbfcfe;padding:12px;border-radius:15px}.order-summary-row strong{display:block;overflow-wrap:anywhere}.order-summary-row small{display:block;color:#68778d;margin-top:3px}.order-qty{display:flex;align-items:center;border:1px solid #d8e0eb;border-radius:12px;overflow:hidden;background:#fff}.order-qty button{border:0;background:#f3f6fa;width:34px;height:34px;font-size:21px;cursor:pointer}.order-qty span{min-width:36px;text-align:center;font-weight:850}.order-remove{width:34px;height:34px;border:0;border-radius:10px;background:#feecec;color:#b42318;font-size:22px;cursor:pointer}.order-empty{padding:30px;text-align:center;color:#68778d;border:1px dashed #ccd6e4;border-radius:15px}.order-summary-total{margin-top:15px;border-radius:16px;background:var(--soft);padding:15px;display:grid;grid-template-columns:1fr auto;gap:4px 12px;align-items:center}.order-summary-total span{font-weight:750}.order-summary-total strong{font-size:22px;color:var(--primary-dark)}.order-summary-total small{grid-column:1/-1;color:#66748a}.order-prepared-notice{margin-top:12px;padding:11px 13px;background:#ecfdf3;border:1px solid #abefc6;color:#067647;border-radius:13px;line-height:1.4}.order-modal-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:16px}.order-modal-actions button{border:0;border-radius:13px;padding:13px 16px;font-weight:850;cursor:pointer}.order-clear{background:#eef2f7;color:#334155}.order-whatsapp{background:#16a34a;color:#fff;flex:1;max-width:360px}.order-whatsapp:disabled{opacity:.6;cursor:wait}.order-manual-quote{background:#0B5CFF;color:#fff;flex:1;max-width:360px}.order-manual-quote:disabled{opacity:.6;cursor:wait}.order-local-note{font-size:12px;color:#77859a;text-align:center;margin:13px 0 0}
.pwa-install-button{position:fixed;right:16px;bottom:16px;z-index:12000;border:0;border-radius:999px;background:#101828;color:#fff;padding:11px 16px;font:800 14px/1 system-ui,-apple-system,Segoe UI,sans-serif;box-shadow:0 10px 30px #0003;cursor:pointer}
@media(max-width:640px){.order-send-main{grid-template-columns:auto 1fr;padding:13px 14px}.order-send-main small{grid-column:2;justify-self:start;margin-top:-4px}.order-card{padding:20px 14px 16px;border-radius:20px;max-height:92vh}.order-modal{padding:9px}.order-summary-row{grid-template-columns:minmax(0,1fr) auto}.order-remove{grid-column:2;justify-self:end}.order-modal-actions{flex-direction:column-reverse}.order-modal-actions button,.order-whatsapp,.order-manual-quote{width:100%;max-width:none}.pwa-install-button{left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));width:calc(100% - 24px)}}

/* ===== PWA móvil + actualización controlada · Pedidos Fase 1.1 ===== */
.pwa-install-button{position:fixed;right:14px;bottom:max(14px,env(safe-area-inset-bottom));z-index:12000;border:0;border-radius:999px;background:#101828;color:#fff;padding:12px 17px;font:800 14px/1 system-ui,-apple-system,Segoe UI,sans-serif;box-shadow:0 12px 30px #0003;cursor:pointer;max-width:calc(100vw - 28px)}
.pwa-modal[hidden],.pwa-update-banner[hidden]{display:none!important}.pwa-modal{position:fixed;inset:0;z-index:15000}.pwa-modal-backdrop{position:absolute;inset:0;background:#0f172aa8;backdrop-filter:blur(5px)}.pwa-modal-card{position:relative;width:min(430px,calc(100vw - 28px));max-height:calc(100vh - 34px);overflow:auto;margin:8vh auto 0;background:#fff;border-radius:22px;padding:24px;box-shadow:0 30px 90px #0005;color:#172033}.pwa-modal-card h2{margin:4px 42px 12px 0;font-size:24px}.pwa-modal-card p,.pwa-modal-card li{line-height:1.5}.pwa-modal-card ol{padding-left:22px}.pwa-modal-icon{font-size:32px}.pwa-modal-close{position:absolute;right:12px;top:10px;width:38px;height:38px;border:0;border-radius:999px;background:#eef2f7;font-size:25px;cursor:pointer}.pwa-modal-ok{width:100%;border:0;border-radius:13px;background:var(--primary,#0B5CFF);color:#fff;padding:12px 15px;font-weight:850;cursor:pointer}.pwa-help{color:#667085;font-size:14px}.pwa-modal-open{overflow:hidden}
.pwa-update-banner{position:fixed;left:50%;bottom:max(14px,env(safe-area-inset-bottom));transform:translateX(-50%);z-index:14000;width:min(760px,calc(100vw - 24px));background:#101828;color:#fff;border:1px solid #344054;border-radius:18px;padding:13px 14px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center;box-shadow:0 18px 50px #0005}.pwa-update-banner div{min-width:0}.pwa-update-banner strong{display:block;font-size:15px}.pwa-update-banner span{display:block;color:#d0d5dd;font-size:12px;margin-top:2px;line-height:1.35}.pwa-update-banner button{border:0;border-radius:11px;padding:10px 12px;font-weight:850;cursor:pointer;background:#fff;color:#101828;white-space:nowrap}.pwa-update-banner button.secondary{background:#344054;color:#fff}.pwa-update-banner button:disabled{opacity:.65}
@media(min-width:901px){.pwa-install-button{display:none!important}}
@media(max-width:640px){.pwa-install-button{left:12px;right:12px;width:calc(100% - 24px)}.pwa-update-banner{grid-template-columns:1fr 1fr}.pwa-update-banner div{grid-column:1/-1}.pwa-update-banner button{width:100%}.pwa-modal-card{margin:5vh auto 0;padding:21px 18px}}

/* ===== Pedidos Fase 2A · ajustes visuales responsive ===== */
.btn-add-order{
  width:100%;
  border:0;
  border-radius:999px;
  padding:12px 18px;
  margin-top:8px;
  background:#3CBBF5;
  color:#fff;
  font-weight:800;
  font-size:15px;
  min-height:44px;
  box-shadow:0 8px 18px rgba(60,187,245,.18);
}
.btn-add-order:hover{transform:translateY(-1px);background:#27afea;border-color:transparent}
.btn-add-order.selected{background:#e8f8ff;color:#0877a8;border:1px solid #3CBBF5;box-shadow:none}
.order-action-wrap{display:flex;justify-content:center;margin:14px 0 14px;padding:0 8px}
.order-action-wrap[hidden]{display:none!important}
.order-send-main{
  width:min(460px,100%);
  min-height:54px;
  border-radius:16px;
  padding:12px 16px;
  grid-template-columns:auto 1fr auto;
  box-shadow:0 10px 22px color-mix(in srgb,var(--primary) 20%,transparent);
}
.order-send-main>span{font-size:20px}.order-send-main strong{font-size:17px}.order-send-main small{font-size:12px}
@media(max-width:640px){
  .order-action-wrap{padding:0;margin:12px 0 14px}
  .order-send-main{width:100%;min-height:52px;border-radius:15px;padding:12px 14px}
  .btn-add-order{min-height:46px;font-size:15px}
}
.pwa-open-chrome{width:100%;border:0;border-radius:13px;background:#2563eb;color:#fff;padding:12px 15px;font-weight:850;cursor:pointer;margin:6px 0 2px}

/* Beta 4.3 · fabricante y variantes */
.product-manufacturer{margin:7px 0 2px;color:#64748b;font-size:13px;font-weight:750}.product-variant-field{display:grid;gap:6px;margin:5px 0 10px;color:#475569;font-size:13px;font-weight:750}.product-variant-select{width:100%;border:1px solid #dbe4ef;border-radius:13px;background:#fff;padding:11px 12px;font:inherit;color:#172033;min-height:44px}.product-variant-select:focus{outline:2px solid color-mix(in srgb,var(--primary) 25%,transparent);border-color:var(--primary)}.detail-variants{grid-column:1/-1}
/* Beta 4.5 · Selector de producto con muchas variantes */
.mass-quote-button{background:#3CBBF5!important;color:#fff!important;border-color:#3CBBF5!important}.mass-variant-modal{position:fixed;inset:0;background:#0f172aa8;z-index:1200;display:none;padding:18px;overflow:auto}.mass-variant-modal.open{display:grid;place-items:center}.mass-variant-dialog{width:min(1050px,100%);max-height:min(92vh,900px);overflow:hidden;background:#fff;border-radius:22px;box-shadow:0 30px 80px #02061755;position:relative;display:grid;grid-template-rows:auto auto minmax(180px,1fr) auto auto}.mass-variant-head{padding:22px 22px 10px}.mass-variant-head>span{color:var(--primary);font-weight:900;font-size:12px;text-transform:uppercase;letter-spacing:.08em}.mass-variant-head h2{margin:5px 0}.mass-variant-head p{margin:0;color:#64748b}.mass-variant-controls{padding:10px 22px 14px;border-bottom:1px solid #e5e7eb;display:grid;gap:10px}.mass-variant-controls input,.mass-variant-controls select{width:100%;border:1px solid #cbd5e1;border-radius:12px;padding:11px 12px;font:inherit;background:#fff}.mass-variant-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px}.mass-variant-filter label{display:grid;gap:4px;font-size:12px;font-weight:800;color:#475569}.mass-variant-results{padding:14px 22px;overflow:auto;display:grid;gap:10px;align-content:start}.mass-variant-item{border:1px solid #dfe7f0;border-radius:15px;padding:13px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:11px;align-items:center}.mass-variant-item.selected{border-color:#3CBBF5;background:#f0faff}.mass-variant-check{width:22px;height:22px}.mass-variant-item h3{margin:0 0 4px;font-size:16px}.mass-variant-sku{font-size:12px;color:#64748b}.mass-variant-attrs{display:flex;gap:6px;flex-wrap:wrap;margin-top:7px}.mass-variant-attrs span{font-size:12px;background:#f1f5f9;border-radius:999px;padding:4px 7px;color:#334155}.mass-variant-price{text-align:right;font-weight:900;color:#0f172a;white-space:nowrap}.mass-variant-price.pending{color:#b45309}.mass-variant-qty{display:flex;gap:5px;align-items:center;justify-content:flex-end;margin-top:7px}.mass-variant-qty button{width:30px;height:30px;border:1px solid #cbd5e1;background:#fff;border-radius:9px;font-weight:900}.mass-variant-qty span{min-width:24px;text-align:center;font-weight:800}.mass-variant-pager{padding:0 22px 12px;display:flex;gap:6px;justify-content:center;flex-wrap:wrap}.mass-variant-pager button{border:1px solid #cbd5e1;background:#fff;border-radius:9px;padding:7px 10px}.mass-variant-pager button.active{background:var(--primary);color:#fff;border-color:var(--primary)}.mass-variant-footer{border-top:1px solid #e5e7eb;padding:13px 22px;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff}.mass-variant-footer button{border:0;border-radius:12px;background:#3CBBF5;color:#fff;padding:11px 16px;font-weight:900}.mass-variant-footer button:disabled{opacity:.5}.mass-variant-empty{padding:30px;text-align:center;color:#64748b}.order-summary-row .order-item-meta{display:block;color:#64748b;font-size:12px;margin-top:3px;overflow-wrap:anywhere}@media(max-width:680px){.mass-variant-modal{padding:0}.mass-variant-dialog{width:100%;height:100%;max-height:none;border-radius:0;grid-template-rows:auto auto minmax(0,1fr) auto auto}.mass-variant-head{padding:18px 15px 8px}.mass-variant-controls{padding:9px 15px 12px}.mass-variant-results{padding:10px 12px}.mass-variant-item{grid-template-columns:auto minmax(0,1fr);align-items:start}.mass-variant-price{grid-column:2;text-align:left}.mass-variant-qty{justify-content:flex-start}.mass-variant-footer{padding:11px 12px;position:sticky;bottom:0}.mass-variant-footer button{flex:1}.mass-variant-footer span{font-size:12px}.mass-variant-filters{grid-template-columns:1fr 1fr}}@media(max-width:420px){.mass-variant-filters{grid-template-columns:1fr}.mass-variant-item{padding:11px}.mass-variant-footer{flex-direction:column;align-items:stretch}.mass-variant-footer span{text-align:center}}
/* Beta 4.7 · precios múltiples en variantes masivas */
.mv-price-regular{display:block;color:#94a3b8;text-decoration:line-through;font-weight:700;font-size:12px}
.mass-variant-price strong{display:block;color:#0f172a;font-size:16px}
.mv-cash-price{display:block;color:#047857;font-size:12px;font-weight:800;margin-top:2px}

/* ===== Beta 4.8 · PWA móvil sin tapar acciones ===== */
.pwa-install-button{z-index:850!important;right:12px!important;left:auto!important;bottom:max(10px,env(safe-area-inset-bottom))!important;width:auto!important;max-width:min(220px,calc(100vw - 24px))!important;padding:10px 14px!important;font-size:13px!important}
html:has(.mass-variant-modal.open) .pwa-install-button,html:has(.order-modal.open) .pwa-install-button,html:has(.desc-modal.open) .pwa-install-button,html:has(.lightbox.open) .pwa-install-button{display:none!important}
@media(max-width:420px){.pwa-install-button{max-width:190px!important;font-size:12px!important;padding:9px 12px!important}}

/* ===== Beta 4.9 · Instalación PWA móvil segura ===== */
.pwa-install-button{z-index:820!important;right:12px!important;left:auto!important;bottom:max(8px,env(safe-area-inset-bottom))!important;width:auto!important;max-width:min(210px,calc(100vw - 24px))!important;padding:9px 13px!important;font-size:12px!important}
html:has(.mass-variant-modal.open) .pwa-install-button,html:has(.order-modal.open) .pwa-install-button,html:has(.desc-modal.open) .pwa-install-button,html:has(.lightbox.open) .pwa-install-button,html:has(.video-modal.open) .pwa-install-button{display:none!important}
@media(max-width:420px){.pwa-install-button{max-width:178px!important;padding:8px 11px!important;font-size:11px!important}}

/* ===== Beta 4.9.2 · CTA de variantes centrado en móvil ===== */
@media(max-width:680px){
  .mass-variant-footer{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    justify-items:center;
    align-items:center;
    gap:7px;
    padding:9px 16px calc(10px + env(safe-area-inset-bottom));
  }
  .mass-variant-footer span{
    width:100%;
    text-align:center;
  }
  .mass-variant-footer button{
    flex:none;
    width:min(100%,420px);
    max-width:420px;
    margin-inline:auto;
    justify-self:center;
  }
}
@media(max-width:420px){
  .mass-variant-footer{padding-inline:12px}
  .mass-variant-footer button{width:100%;max-width:none}
}
/* v4.10.9.65 · navegación sutil de imágenes en tarjeta pública */
.product-media-arrow{position:absolute;top:50%;z-index:4;transform:translateY(-50%);width:34px;height:34px;border:1px solid rgba(148,163,184,.35);border-radius:999px;background:rgba(255,255,255,.86);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);box-shadow:0 5px 16px rgba(15,23,42,.12);color:#475569;display:grid;place-items:center;padding:0;font-size:27px;font-weight:500;line-height:1;cursor:pointer;opacity:.72;transition:opacity .18s ease,transform .18s ease,background .18s ease,box-shadow .18s ease}
.product-media-arrow[hidden]{display:none!important}.product-media-prev{left:10px}.product-media-next{right:10px}.product-media-arrow:hover,.product-media-arrow:focus-visible{opacity:1;background:rgba(255,255,255,.96);box-shadow:0 7px 20px rgba(15,23,42,.18);outline:none}.product-media-arrow:active{transform:translateY(-50%) scale(.95)}
@media(hover:hover){.product-card:not(:hover) .product-media-arrow{opacity:.48}}
@media(max-width:860px){.product-media-arrow{width:32px;height:32px;font-size:25px;opacity:.82}.product-media-prev{left:8px}.product-media-next{right:8px}}

/* v4.10.9.66 · corrección runtime: una flecha por lado + cache fresco */
.product-image .product-media-arrow{position:absolute!important;top:50%!important;bottom:auto!important;z-index:5!important;transform:translateY(-50%)!important;width:34px;height:34px;border:1px solid rgba(148,163,184,.32)!important;border-radius:999px!important;background:rgba(255,255,255,.9)!important;color:#475569!important;box-shadow:0 5px 16px rgba(15,23,42,.12)!important;display:grid;place-items:center;padding:0!important;line-height:1!important;cursor:pointer;opacity:.76}
.product-image .product-media-prev{left:10px!important;right:auto!important}
.product-image .product-media-next{right:10px!important;left:auto!important}
.product-image .product-media-arrow[hidden]{display:none!important}
.product-image .product-media-arrow:hover,.product-image .product-media-arrow:focus-visible{opacity:1;background:#fff!important;outline:none}
.product-image .product-media-arrow:active{transform:translateY(-50%) scale(.95)!important}
@media(max-width:860px){.product-image .product-media-arrow{width:34px;height:34px;opacity:.88}.product-image .product-media-prev{left:8px!important}.product-image .product-media-next{right:8px!important}}

/* ===== v4.10.9.115 · búsqueda pública de productos ===== */
.catalog-product-search{width:min(760px,100%);margin:-2px auto 16px;display:grid;gap:8px}
.catalog-search-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.catalog-search-box{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:stretch;min-height:52px;border:2px solid #1f2937;border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 8px 24px rgba(15,23,42,.08);transition:border-color .16s ease,box-shadow .16s ease}
.catalog-search-box:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 15%,transparent),0 9px 26px rgba(15,23,42,.1)}
.catalog-search-box input{min-width:0;width:100%;border:0;outline:0;background:#fff;color:#111827;padding:0 14px;font:inherit;font-size:16px;line-height:1.2}
.catalog-search-box input::placeholder{color:#7c8798;opacity:1}
.catalog-search-box input::-webkit-search-cancel-button{display:none}
.catalog-search-clear{width:42px;border:0;background:#fff;color:#64748b;font-size:25px;line-height:1;cursor:pointer;padding:0;display:grid;place-items:center}
.catalog-search-clear[hidden]{display:none!important}
.catalog-search-clear:hover,.catalog-search-clear:focus-visible{color:#111827;background:#f8fafc;outline:none}
.catalog-search-submit{width:58px;border:0;background:var(--primary);color:#fff;cursor:pointer;display:grid;place-items:center;padding:0;transition:filter .16s ease,transform .08s ease}
.catalog-search-submit:hover,.catalog-search-submit:focus-visible{filter:brightness(.94);outline:none}
.catalog-search-submit:active{transform:scale(.97)}
.catalog-search-submit svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.catalog-search-status{min-height:20px;text-align:center;color:#526074;font-size:14px;line-height:1.4}
.catalog-search-status strong{color:#172033}
.catalog-search-status button{border:0;background:transparent;color:var(--primary);font:inherit;font-weight:800;text-decoration:underline;text-underline-offset:2px;cursor:pointer;padding:0 3px}
@media(max-width:640px){
  .catalog-product-search{width:100%;margin:0 auto 14px}
  .catalog-search-box{min-height:50px;border-radius:11px}
  .catalog-search-box input{padding-left:12px;font-size:16px}
  .catalog-search-clear{width:38px}
  .catalog-search-submit{width:52px}
  .catalog-search-submit svg{width:23px;height:23px}
  .catalog-search-status{font-size:13px;padding-inline:4px}
}
