/**
 * Publication Detail Base V1 · v275
 * Fichas públicas proporcionadas, imágenes completas y header contextual.
 */
.jc-pd275-active .jc-pd275-header{width:min(calc(100% - 28px),1180px);margin:10px auto 12px;background:#fff;border:1px solid #dce5ef;border-radius:14px;box-shadow:0 5px 18px rgba(21,43,72,.055);overflow:hidden}
.jc-pd275-active .jc-pd275-header__row{min-height:78px;display:grid;grid-template-columns:52px minmax(180px,280px) minmax(220px,1fr) 126px;align-items:center;gap:10px;padding:6px 12px}
.jc-pd275-active .jc-pd275-header__row.is-dual{grid-template-columns:52px minmax(170px,250px) minmax(170px,250px) 126px;justify-content:center}
.jc-pd275-active .jc-pd275-header__back{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;color:#17324d;background:#f5f8fb;border:1px solid #d9e3ee}
.jc-pd275-active .jc-pd275-header__back svg{width:21px;height:21px}
.jc-pd275-active .jc-pd275-header__brand{height:64px;display:flex;align-items:center;justify-content:center;min-width:0;text-decoration:none}
.jc-pd275-active .jc-pd275-header__brand img{display:block;max-width:100%;width:auto;height:58px;object-fit:contain;object-position:center}
.jc-pd275-active .jc-pd275-header__brand strong{font-size:20px;color:#0d4f91}
.jc-pd275-active .jc-pd275-header__description{margin:0;max-width:460px;color:#53657a;font-size:13px;line-height:1.35}
.jc-pd275-active .jc-pd275-header__publish{justify-self:end;display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 14px;border-radius:999px;background:#f58220;color:#fff!important;font-size:12px;font-weight:850;text-decoration:none;white-space:nowrap;box-shadow:0 5px 14px rgba(245,130,32,.22)}
.jc-pd275-active .jc-pd275-header.is-dark{background:linear-gradient(100deg,#0b355f 0%,#0a294a 35%,#071c31 62%,#030a11 82%,#000 100%);border-color:rgba(255,255,255,.14)}
.jc-pd275-active .jc-pd275-header.is-dark .jc-pd275-header__back{color:#fff;background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.2)}
.jc-pd275-active .jc-pd275-header.is-dark .jc-pd275-header__description{color:#e4edf8}

/* Ficha genérica */
.jc-pd275-active .jc-listing-page{padding-top:4px!important;background:#f6f8fb}
.jc-pd275-active .jc-listing-page>.jc-container{width:min(calc(100% - 28px),1180px)!important;max-width:1180px!important}
.jc-pd275-active .jc-breadcrumb{margin:0 0 8px;font-size:10.5px}
.jc-pd275-active .jc-listing-layout{grid-template-columns:minmax(0,1fr) 286px!important;gap:16px!important}
.jc-pd275-active .jc-listing-main{display:grid!important;gap:13px!important}
.jc-pd275-active .jc-pd275-hero{display:grid;grid-template-columns:minmax(280px,.95fr) minmax(300px,1.05fr);gap:14px;align-items:stretch;min-width:0}
.jc-pd275-active .jc-pd275-hero>.jc-listing-gallery-card,.jc-pd275-active .jc-pd275-hero>.jc-listing-header{margin:0;min-width:0;height:100%}
.jc-pd275-active .jc-listing-header{padding:18px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:12px!important}
.jc-pd275-active .jc-listing-header h1{font-size:clamp(21px,2.15vw,26px)!important;line-height:1.18!important;letter-spacing:-.35px!important;margin:0!important}
.jc-pd275-active .jc-listing-meta{font-size:10.5px!important;gap:6px 12px!important;margin-top:8px!important}
.jc-pd275-active .jc-listing-type{font-size:9.5px!important;margin-bottom:7px!important}
.jc-pd275-active .jc-listing-price-wrap,.jc-pd275-active .jc-listing-price{width:auto!important;max-width:100%!important;text-align:left!important;white-space:normal!important}
.jc-pd275-active .jc-listing-price--amount{font-size:25px!important}
.jc-pd275-active .jc-listing-gallery-card{padding:10px!important;display:flex;flex-direction:column;justify-content:flex-start}
.jc-pd275-active .jc-gallery-main-wrap{width:100%!important;height:clamp(270px,31vw,410px)!important;min-height:0!important;aspect-ratio:auto!important;background:#f0f3f7!important;border-radius:10px!important;cursor:zoom-in;overflow:hidden!important}
.jc-pd275-active .jc-gallery-main-wrap>img,.jc-pd275-active .jc-gallery-main-wrap .jc-publication-image,.jc-pd275-active .jc-listing-generic-image{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;background:#f0f3f7!important}
.jc-pd275-active .jc-gallery-main-wrap .jc-publication-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center}
.jc-pd275-active .jc-gallery-thumbs{display:flex!important;gap:7px!important;overflow-x:auto;padding-bottom:2px;margin-top:8px!important;scrollbar-width:none}
.jc-pd275-active .jc-gallery-thumbs::-webkit-scrollbar{display:none}
.jc-pd275-active .jc-gallery-thumbs button{flex:0 0 74px;width:74px;height:54px!important;background:#f1f4f8!important}
.jc-pd275-active .jc-gallery-thumbs img{object-fit:contain!important;background:#f1f4f8!important}
.jc-pd275-active .jc-listing-section{padding:18px!important}
.jc-pd275-active .jc-listing-section h2,.jc-pd275-active .jc-listing-related h2{font-size:18px!important;margin-bottom:11px!important}
.jc-pd275-active .jc-listing-description{font-size:13.5px!important;line-height:1.62!important}
.jc-pd275-active .jc-related-image img{object-fit:contain!important;background:#f1f4f8!important}
.jc-pd275-active .jc-contact-card{top:108px!important;padding:17px!important}
.jc-pd275-active .jc-contact-card h2{font-size:19px!important}

/* Comercio: misma regla global de imagen/título sin destruir su funcionalidad propia. */
.jc-pd275-active .jc-commerce-single-v2{padding-top:8px!important}
.jc-pd275-active .jc-commerce-shell{max-width:1180px!important}
.jc-pd275-active .jc-commerce-heading h1{font-size:clamp(21px,2.15vw,26px)!important;line-height:1.18!important}
.jc-pd275-active .jc-commerce-v2-grid{grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr)!important;gap:18px!important}
.jc-pd275-active .jc-commerce-main-photo{height:clamp(290px,35vw,420px)!important;aspect-ratio:auto!important;background:#f0f3f7!important}
.jc-pd275-active .jc-commerce-main-photo>img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;background:#f0f3f7!important}
.jc-pd275-active .jc-commerce-thumb img{object-fit:contain!important;background:#f3f5f8!important}

@media(max-width:950px){
  .jc-pd275-active .jc-pd275-header{width:min(calc(100% - 20px),860px)}
  .jc-pd275-active .jc-pd275-header__row,.jc-pd275-active .jc-pd275-header__row.is-dual{grid-template-columns:46px minmax(130px,1fr) minmax(130px,1fr) 106px;min-height:70px;padding:5px 9px;gap:6px}
  .jc-pd275-active .jc-pd275-header__brand{height:58px}.jc-pd275-active .jc-pd275-header__brand img{height:52px}
  .jc-pd275-active .jc-pd275-header__description{font-size:11px;line-height:1.25}
  .jc-pd275-active .jc-pd275-header__publish{min-height:35px;padding:7px 10px;font-size:11px}
  .jc-pd275-active .jc-listing-layout{grid-template-columns:1fr!important}
  .jc-pd275-active .jc-contact-card{position:static!important}
  .jc-pd275-active .jc-commerce-v2-grid{grid-template-columns:1fr!important}
}

@media(max-width:620px){
  .jc-pd275-active .jc-pd275-header{width:calc(100% - 12px);margin:6px auto 8px;border-radius:11px}
  .jc-pd275-active .jc-pd275-header__row,.jc-pd275-active .jc-pd275-header__row.is-dual{grid-template-columns:38px minmax(0,1fr) minmax(0,1fr) 84px;min-height:60px;padding:3px 6px;gap:4px}
  .jc-pd275-active .jc-pd275-header__row:not(.is-dual){grid-template-columns:38px minmax(0,1fr) minmax(72px,.9fr) 84px}
  .jc-pd275-active .jc-pd275-header__back{width:34px;height:34px}.jc-pd275-active .jc-pd275-header__back svg{width:18px;height:18px}
  .jc-pd275-active .jc-pd275-header__brand{height:52px}.jc-pd275-active .jc-pd275-header__brand img{height:46px;max-width:100%}
  .jc-pd275-active .jc-pd275-header__description{font-size:9.5px;line-height:1.18;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .jc-pd275-active .jc-pd275-header__publish{min-height:32px;padding:6px 8px;font-size:9.5px}
  .jc-pd275-active .jc-listing-page>.jc-container{width:calc(100% - 12px)!important;max-width:calc(100% - 12px)!important}
  .jc-pd275-active .jc-breadcrumb{font-size:9px!important;margin-bottom:6px!important}
  .jc-pd275-active .jc-pd275-hero{grid-template-columns:1fr;gap:8px}
  .jc-pd275-active .jc-pd275-hero>.jc-listing-gallery-card{grid-row:1}.jc-pd275-active .jc-pd275-hero>.jc-listing-header{grid-row:2}
  .jc-pd275-active .jc-listing-header{padding:13px!important;gap:8px!important}
  .jc-pd275-active .jc-listing-header h1{font-size:20px!important;line-height:1.2!important}
  .jc-pd275-active .jc-listing-meta{font-size:9.5px!important;margin-top:6px!important}
  .jc-pd275-active .jc-listing-price--amount{font-size:23px!important}
  .jc-pd275-active .jc-listing-gallery-card{padding:6px!important}
  .jc-pd275-active .jc-gallery-main-wrap{height:min(54vh,390px)!important;min-height:235px!important}
  .jc-pd275-active .jc-listing-section{padding:14px!important}.jc-pd275-active .jc-listing-section h2{font-size:17px!important}
  .jc-pd275-active .jc-listing-description{font-size:13px!important;line-height:1.58!important}
  .jc-pd275-active .jc-contact-card{position:static!important;padding:12px!important;margin-bottom:6px}
  .jc-pd275-active .jc-commerce-single-v2{padding-top:4px!important}
  .jc-pd275-active .jc-commerce-shell{width:calc(100% - 12px)!important}
  .jc-pd275-active .jc-commerce-heading h1{font-size:20px!important}
  .jc-pd275-active .jc-commerce-main-photo{height:min(54vh,390px)!important;min-height:235px!important}
  .jc-pd275-active .jc-commerce-information{padding:14px!important}
}
