/* cpupagebuilder — estilos de las páginas por bloques (front). Prefijo .cpb- en todo para no chocar con el tema. */

.cpb-page {
  --cpb-navy: #051a59;
  --cpb-blue: #1553d6;
  --cpb-yellow: #f9bc31;
  --cpb-orange: #ef8a15;
  --cpb-green: #0a8a4a;
  --cpb-muted: #5b6474;
  --cpb-line: #dfe5ee;
  --cpb-soft: #f3f5f9;
  --cpb-max: 1240px;
  --cpb-gap: 16px;
  --cpb-accent: var(--cpb-blue);
  --cpb-radius: 12px;
  position: relative;
  line-height: 1.55;
}
.cpb-page *, .cpb-page *::before, .cpb-page *::after { box-sizing: border-box; }
.cpb-page img { max-width: 100%; height: auto; display: block; }
.cpb-page p { margin: 0 0 .75em; }
.cpb-page p:last-child { margin-bottom: 0; }
.cpb-main { padding: 0; }

/* Contenido a todo el ancho aunque el tema lo meta en un .container */
body.cpb-has-full, body:has(.cpb-sec--full), body:has(.cpb-sec--edge) { overflow-x: clip; }

/* ── Secciones ── */
.cpb-sec { position: relative; margin-left: auto; margin-right: auto; }
.cpb-sec--boxed { max-width: var(--cpb-max); }
.cpb-sec--full, .cpb-sec--edge { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: none; }
.cpb-sec__in { display: grid; width: 100%; margin: 0 auto; max-width: var(--cpb-max); padding-left: 15px; padding-right: 15px; }
.cpb-sec--edge > .cpb-sec__in { max-width: none; padding-left: 0; padding-right: 0; }
.cpb-sec--boxed > .cpb-sec__in { padding-left: 0; padding-right: 0; }
.cpb-sec--boxed[style], .cpb-sec--boxed.cpb-sec--ov { overflow: hidden; }
.cpb-sec--ov::before { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; }
.cpb-sec--ov > .cpb-sec__in { position: relative; z-index: 1; }
@media (max-width: 1279px) {
  .cpb-sec--boxed > .cpb-sec__in { padding-left: 15px; padding-right: 15px; }
}

/* ── Columnas ── */
.cpb-col { display: flex; flex-direction: column; gap: var(--cpb-gap); min-width: 0; }
.cpb-w { min-width: 0; position: relative; }

/* ── Visibilidad por dispositivo ── */
@media (min-width: 1024px) { .cpb-hide-d { display: none !important; } }
@media (min-width: 768px) and (max-width: 1023px) { .cpb-hide-t { display: none !important; } }
@media (max-width: 767px) { .cpb-hide-m { display: none !important; } }

/* ── Títulos ── */
.cpb-h { margin: 0; line-height: 1.15; font-weight: 800; color: inherit; letter-spacing: -0.01em; text-wrap: balance; }
.cpb-h a { color: inherit; text-decoration: none; }
.cpb-h--s { font-size: 1.15em; }
.cpb-h--m { font-size: 1.5em; }
.cpb-h--l { font-size: 2em; }
.cpb-h--xl { font-size: 2.7em; }
.cpb-h--xxl { font-size: 3.5em; letter-spacing: -0.02em; }
.cpb-h__sub { margin: .5em 0 0; color: var(--cpb-muted); font-size: 1.1em; }
.cpb-page [style*="color"] .cpb-h__sub, .cpb-sec[class] .cpb-h__sub { color: inherit; opacity: .8; }
@media (max-width: 767px) {
  .cpb-h--l { font-size: 1.6em; }
  .cpb-h--xl { font-size: 2em; }
  .cpb-h--xxl { font-size: 2.4em; }
}

/* ── Texto ── */
.cpb-text { color: inherit; }
.cpb-text a { color: var(--cpb-accent); text-decoration: underline; text-underline-offset: 2px; }
.cpb-text h2, .cpb-text h3, .cpb-text h4 { color: inherit; font-weight: 700; margin: 1em 0 .4em; line-height: 1.25; }
.cpb-text ul, .cpb-text ol { padding-left: 1.3em; margin: 0 0 .75em; }
.cpb-text li { margin-bottom: .25em; }
.cpb-text blockquote { border-left: 3px solid var(--cpb-accent); margin: 1em 0; padding: .2em 0 .2em 1em; color: var(--cpb-muted); }
.cpb-text table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.cpb-text th, .cpb-text td { border: 1px solid var(--cpb-line); padding: 8px 10px; text-align: left; }
.cpb-text--c2 { columns: 2; column-gap: 32px; }
.cpb-text--c3 { columns: 3; column-gap: 28px; }
@media (max-width: 767px) { .cpb-text--c2, .cpb-text--c3 { columns: 1; } }

.cpb-more { position: relative; }
.cpb-more .cpb-text { max-height: var(--more); overflow: hidden; position: relative; }
.cpb-more .cpb-text::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64px; background: linear-gradient(rgba(255,255,255,0), #fff); pointer-events: none; }
.cpb-more.is-open .cpb-text { max-height: none; }
.cpb-more.is-open .cpb-text::after { display: none; }
.cpb-more__btn { margin-top: 8px; background: none; border: 0; padding: 4px 0; color: var(--cpb-accent); font-weight: 700; cursor: pointer; font: inherit; font-weight: 700; }
.cpb-more__btn span + span, .cpb-more.is-open .cpb-more__btn span:first-child { display: none; }
.cpb-more.is-open .cpb-more__btn span + span { display: inline; }
.cpb-more:not(.is-long) .cpb-more__btn { display: none; }
.cpb-more:not(.is-long) .cpb-text::after { display: none; }

/* ── Botones ── */
.cpb-btns { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cpb-w[style*="text-align:center"] .cpb-btns, .cpb-col[style*="center"] .cpb-btns { justify-content: center; }
.cpb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; font-weight: 700; text-decoration: none !important; line-height: 1.1; border: 2px solid transparent; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; cursor: pointer; text-align: center; }
.cpb-btn:hover { transform: translateY(-1px); }
.cpb-btn:focus-visible { outline: 3px solid var(--cpb-blue); outline-offset: 2px; }
.cpb-btn--s { padding: 8px 14px; font-size: .9em; }
.cpb-btn--m { padding: 12px 22px; font-size: 1em; }
.cpb-btn--l { padding: 16px 30px; font-size: 1.1em; }
.cpb-btn--full { display: flex; width: 100%; }
.cpb-btn--primary { background: var(--cpb-yellow); color: var(--cpb-navy) !important; box-shadow: 0 4px 14px rgba(249,188,49,.35); }
.cpb-btn--primary:hover { background: #ffc94d; }
.cpb-btn--navy { background: var(--cpb-navy); color: #fff !important; }
.cpb-btn--navy:hover { background: #0b2a82; }
.cpb-btn--blue { background: var(--cpb-accent); color: #fff !important; }
.cpb-btn--outline { background: transparent; color: inherit !important; border-color: currentColor; }
.cpb-btn--white { background: #fff; color: var(--cpb-navy) !important; }
.cpb-btn--link { background: none; color: var(--cpb-accent) !important; padding-left: 0; padding-right: 0; text-decoration: underline !important; }
.cpb-btn__i { font-size: 1.1em; line-height: 1; }

/* ── Imagen ── */
.cpb-img { margin: 0; display: inline-block; width: 100%; vertical-align: top; }
.cpb-w[style*="text-align:center"] .cpb-img { margin-left: auto; margin-right: auto; }
.cpb-img picture, .cpb-img a { display: block; overflow: hidden; border-radius: inherit; }
.cpb-w .cpb-img img { border-radius: inherit; }
.cpb-img figcaption { font-size: .85em; color: var(--cpb-muted); margin-top: 6px; }
.cpb-img--zoom img { transition: transform .4s ease; }
.cpb-img--zoom:hover img { transform: scale(1.05); }
.cpb-img--lift picture { transition: transform .2s ease, box-shadow .2s ease; }
.cpb-img--lift:hover picture { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(5,26,89,.18); }

/* ── Banner / hero ── */
.cpb-banner { position: relative; display: flex; overflow: hidden; border-radius: inherit; background: linear-gradient(120deg, var(--cpb-navy), var(--cpb-blue)); isolation: isolate; }
.cpb-banner__bg, .cpb-banner__bg img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; z-index: -2; }
.cpb-banner__ov { position: absolute; inset: 0; z-index: -1; }
.cpb-banner--noimg .cpb-banner__ov { opacity: 0 !important; }
.cpb-banner__in { width: 100%; max-width: var(--cpb-max); margin: 0 auto; padding: 40px 32px; display: flex; }
.cpb-banner--left .cpb-banner__in { justify-content: flex-start; text-align: left; }
.cpb-banner--center .cpb-banner__in { justify-content: center; text-align: center; }
.cpb-banner--right .cpb-banner__in { justify-content: flex-end; text-align: right; }
.cpb-banner--vstart .cpb-banner__in { align-items: flex-start; }
.cpb-banner--vcenter .cpb-banner__in { align-items: center; }
.cpb-banner--vend .cpb-banner__in { align-items: flex-end; }
.cpb-banner__box { max-width: 620px; }
.cpb-banner--box .cpb-banner__box { background: rgba(5,26,89,.78); padding: 28px; border-radius: 14px; backdrop-filter: blur(4px); }
.cpb-banner__eyebrow { font-weight: 700; font-size: .95em; opacity: .9; margin-bottom: .4em; }
.cpb-banner__title { font-size: 2.6em; line-height: 1.08; font-weight: 800; margin: 0 0 .3em; color: inherit; letter-spacing: -0.015em; text-wrap: balance; }
.cpb-banner__text { font-size: 1.15em; opacity: .95; margin-bottom: 1.1em; max-width: 52ch; }
.cpb-banner--center .cpb-banner__text { margin-left: auto; margin-right: auto; }
.cpb-banner--center .cpb-btns { justify-content: center; }
.cpb-banner--right .cpb-btns { justify-content: flex-end; }
.cpb-banner__link { position: absolute; inset: 0; z-index: 1; }
.cpb-banner .cpb-btns { position: relative; z-index: 2; }
@media (max-width: 767px) {
  .cpb-banner__in { padding: 28px 18px; }
  .cpb-banner__title { font-size: 1.8em; }
  .cpb-banner__text { font-size: 1em; }
}

/* ── Carrusel genérico ── */
.cpb-car { position: relative; --per: 4; --per-t: 3; --per-m: 2; --g: 16px; }
.cpb-car__track { display: flex; gap: var(--g); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 4px 2px 8px; margin: -4px -2px -8px; }
.cpb-car__track::-webkit-scrollbar { display: none; }
.cpb-car__item { flex: 0 0 calc((100% - (var(--per) - 1) * var(--g)) / var(--per)); scroll-snap-align: start; min-width: 0; }
@media (min-width: 768px) and (max-width: 1023px) { .cpb-car__item { flex-basis: calc((100% - (var(--per-t) - 1) * var(--g)) / var(--per-t)); } }
@media (max-width: 767px) { .cpb-car { --g: 12px; } .cpb-car__item { flex-basis: calc((100% - (var(--per-m) - 1) * var(--g)) / var(--per-m)); } }
.cpb-car__btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--cpb-line); background: #fff; color: var(--cpb-navy); font-size: 26px; line-height: 1; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 14px rgba(5,26,89,.15); transition: opacity .2s; padding: 0 0 3px; }
.cpb-car__btn:hover { background: var(--cpb-navy); color: #fff; }
.cpb-car__btn:focus-visible { outline: 3px solid var(--cpb-blue); outline-offset: 2px; }
.cpb-car__prev { left: -14px; }
.cpb-car__next { right: -14px; }
.cpb-car__btn[disabled] { opacity: 0; pointer-events: none; }
.cpb-car.is-static .cpb-car__btn { display: none; }
@media (max-width: 767px) { .cpb-car__btn { display: none; } }
.cpb-car__dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.cpb-car__dots button { width: 8px; height: 8px; border-radius: 99px; border: 0; background: #c6cede; padding: 0; cursor: pointer; transition: width .2s, background .2s; }
.cpb-car__dots button.is-on { width: 22px; background: var(--cpb-navy); }

.cpb-car--slider { --g: 0px; }
.cpb-car--slider .cpb-car__prev { left: 12px; }
.cpb-car--slider .cpb-car__next { right: 12px; }
.cpb-car--slider .cpb-car__dots { position: absolute; left: 0; right: 0; bottom: 12px; margin: 0; }
.cpb-car--slider .cpb-car__dots button { background: rgba(255,255,255,.6); }
.cpb-car--slider .cpb-car__dots button.is-on { background: #fff; }
.cpb-slide { display: block; position: relative; color: inherit; text-decoration: none; border-radius: inherit; overflow: hidden; }
.cpb-slide img { width: 100%; object-fit: cover; }
.cpb-slide__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 32px 40px; background: linear-gradient(transparent, rgba(5,26,89,.75)); }
.cpb-slide__t { font-size: 1.8em; font-weight: 800; line-height: 1.1; margin: 0 0 .2em; }
.cpb-slide__x { font-size: 1.05em; margin: 0 0 .7em; }
@media (max-width: 767px) { .cpb-slide__cap { padding: 32px 16px 34px; } .cpb-slide__t { font-size: 1.3em; } }

/* ── Cuadrícula genérica ── */
.cpb-grid { display: grid; grid-template-columns: repeat(var(--per), minmax(0, 1fr)); gap: var(--cpb-gap); }
@media (min-width: 768px) and (max-width: 1023px) { .cpb-grid { grid-template-columns: repeat(var(--per-t), minmax(0, 1fr)); } }
@media (max-width: 767px) { .cpb-grid { grid-template-columns: repeat(var(--per-m), minmax(0, 1fr)); gap: 12px; } }

/* ── Cabecera de bloque (título + ver todo) ── */
.cpb-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.cpb-head__t { margin: 0; font-size: 1.6em; font-weight: 800; line-height: 1.2; color: inherit; }
.cpb-head__all { font-weight: 700; color: var(--cpb-accent); white-space: nowrap; text-decoration: none; }
.cpb-head__all:hover { text-decoration: underline; }
@media (max-width: 767px) { .cpb-head__t { font-size: 1.3em; } }

/* ── Productos: neutralizar el ancho en columnas de la tarjeta del tema ── */
.cpb-prods .cpb-car__item > *, .cpb-prods .cpb-grid__item > * { width: 100% !important; max-width: 100% !important; flex: 0 0 auto !important; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; float: none !important; }
.cpb-prods .product-miniature { height: 100%; }
.cpb-mini { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 10px; border: 1px solid var(--cpb-line); border-radius: 10px; color: inherit; text-decoration: none; text-align: center; background: #fff; }
.cpb-mini img { aspect-ratio: 1; object-fit: contain; width: 100%; }
.cpb-mini__n { font-size: 13px; font-weight: 600; line-height: 1.3; }
.cpb-mini__p { margin-top: auto; font-weight: 800; color: var(--cpb-navy); font-size: 18px; }
.cpb-mini__p s { font-weight: 400; color: #999; font-size: 12px; }

/* ── Logos ── */
.cpb-logos__t { text-align: center; font-weight: 700; color: var(--cpb-muted); margin-bottom: 14px; }
.cpb-logo { display: flex; align-items: center; justify-content: center; padding: 4px 8px; }
.cpb-logo img { width: auto; max-width: 100%; object-fit: contain; transition: filter .2s, opacity .2s; }
.cpb-logos--gray .cpb-logo img { filter: grayscale(1); opacity: .7; }
.cpb-logos--gray .cpb-logo:hover img, .cpb-logos--gray .cpb-logo:focus-visible img { filter: none; opacity: 1; }
.cpb-logos--boxed .cpb-logo { background: #fff; border: 1px solid var(--cpb-line); border-radius: 10px; padding: 14px; }
.cpb-marq { overflow: hidden; display: flex; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.cpb-marq__track { display: flex; flex-shrink: 0; animation: cpb-marq var(--dur, 30s) linear infinite; }
.cpb-marq:hover .cpb-marq__track { animation-play-state: paused; }
.cpb-marq__item { flex: 0 0 auto; width: calc(100vw / var(--per) * .82); max-width: 220px; padding: 0 12px; }
@media (max-width: 767px) { .cpb-marq__item { width: calc(100vw / var(--per-m)); } }
@keyframes cpb-marq { to { transform: translateX(-100%); } }

/* ── Tarjetas ── */
.cpb-card { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none !important; border-radius: var(--cpb-radius); overflow: hidden; position: relative; }
.cpb-card__img { position: relative; overflow: hidden; }
.cpb-card__img img { width: 100%; transition: transform .35s ease; }
a.cpb-card:hover .cpb-card__img img { transform: scale(1.04); }
.cpb-card__badge { position: absolute; top: 10px; left: 10px; background: var(--cpb-orange); color: #fff; font-weight: 800; font-size: .85em; padding: 4px 10px; border-radius: 99px; }
.cpb-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.cpb-card__t { font-weight: 800; font-size: 1.15em; margin: 0; line-height: 1.25; }
.cpb-card__x { color: var(--cpb-muted); margin: 0; font-size: .95em; }
.cpb-card__btn { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--cpb-accent); }
.cpb-card--boxed { background: #fff; border: 1px solid var(--cpb-line); }
a.cpb-card--boxed:hover { border-color: var(--cpb-accent); box-shadow: 0 10px 26px rgba(5,26,89,.10); }
.cpb-card--overlay .cpb-card__body { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(5,26,89,.85)); color: #fff; padding-top: 40px; }
.cpb-card--overlay .cpb-card__x, .cpb-card--overlay .cpb-card__btn { color: rgba(255,255,255,.9); }
.cpb-card--plain .cpb-card__body { padding-left: 0; padding-right: 0; }

/* ── Imagen + texto ── */
.cpb-it { display: grid; gap: 40px; align-items: center; }
.cpb-it--right .cpb-it__img { order: 2; }
.cpb-it__img img, .cpb-it__img .cpb-ph { width: 100%; border-radius: var(--cpb-radius); }
.cpb-it__txt { display: flex; flex-direction: column; gap: 12px; }
.cpb-it__eyebrow { color: var(--cpb-accent); font-weight: 700; margin: 0; }
@media (max-width: 767px) { .cpb-it { grid-template-columns: 1fr !important; gap: 18px; } .cpb-it--right .cpb-it__img { order: 0; } }

/* ── Ventajas ── */
.cpb-feat { display: flex; flex-direction: column; gap: 10px; color: inherit; text-decoration: none !important; height: 100%; }
.cpb-feats--left .cpb-feat { flex-direction: row; align-items: flex-start; gap: 14px; }
.cpb-feat__i { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; line-height: 1; color: var(--cpb-accent); }
.cpb-feat__i img { width: 100%; height: 100%; object-fit: contain; }
.cpb-feat__t { font-weight: 800; margin: 0 0 2px; line-height: 1.25; }
.cpb-feat__x { margin: 0; color: var(--cpb-muted); font-size: .95em; }
.cpb-feats--boxed .cpb-feat { background: #fff; border: 1px solid var(--cpb-line); border-radius: var(--cpb-radius); padding: 18px; }
.cpb-sec[class*="cpb-e-"] .cpb-feat__x { color: inherit; opacity: .78; }

/* ── Opiniones ── */
.cpb-quote { margin: 0; height: 100%; background: #fff; border: 1px solid var(--cpb-line); border-radius: var(--cpb-radius); padding: 20px; display: flex; flex-direction: column; gap: 12px; color: #1d2433; }
.cpb-quote__stars { color: var(--cpb-yellow); letter-spacing: 2px; font-size: 1.1em; }
.cpb-quote__stars span { color: #d6dbe5; }
.cpb-quote blockquote { margin: 0; font-size: 1.02em; flex: 1; border: 0; padding: 0; }
.cpb-quote figcaption { display: flex; align-items: center; gap: 10px; }
.cpb-quote figcaption img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.cpb-quote figcaption span { display: flex; flex-direction: column; line-height: 1.25; }
.cpb-quote small { color: var(--cpb-muted); }

/* ── Vídeo ── */
.cpb-video { position: relative; width: 100%; overflow: hidden; border-radius: inherit; background: #000; }
.cpb-video iframe, .cpb-video video, .cpb-video__poster { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cpb-video video { object-fit: cover; }
.cpb-video__poster { padding: 0; cursor: pointer; background: #000; }
.cpb-video__poster img { width: 100%; height: 100% !important; object-fit: cover; opacity: .9; }
.cpb-video__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%; background: rgba(5,26,89,.85); color: #fff; font-size: 26px; display: flex; align-items: center; justify-content: center; padding-left: 5px; transition: transform .2s, background .2s; }
.cpb-video__poster:hover .cpb-video__play { transform: translate(-50%, -50%) scale(1.08); background: var(--cpb-blue); }

/* ── FAQ ── */
.cpb-w--faq .cpb-h { margin-bottom: 16px; }
.cpb-faq { display: flex; flex-direction: column; gap: 10px; }
.cpb-faq__item { border: 1px solid var(--cpb-line); border-radius: 10px; background: #fff; color: #1d2433; }
.cpb-faq__item summary { list-style: none; cursor: pointer; padding: 15px 48px 15px 18px; font-weight: 700; position: relative; }
.cpb-faq__item summary::-webkit-details-marker { display: none; }
.cpb-faq__item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4em; font-weight: 400; color: var(--cpb-accent); transition: transform .2s; }
.cpb-faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.cpb-faq__item summary:focus-visible { outline: 3px solid var(--cpb-blue); outline-offset: -3px; border-radius: 10px; }
.cpb-faq__a { padding: 0 18px 16px; color: #3a4354; }

/* ── Cuenta atrás ── */
.cpb-cd__t { font-weight: 700; margin-bottom: 8px; }
.cpb-cd__units { display: flex; gap: 8px; flex-wrap: wrap; }
.cpb-w[style*="text-align:center"] .cpb-cd__units { justify-content: center; }
.cpb-cd--boxes .cpb-cd__u { min-width: 64px; background: rgba(255,255,255,.12); border: 1px solid rgba(127,140,170,.35); border-radius: 10px; padding: 8px 6px; text-align: center; display: flex; flex-direction: column; }
.cpb-cd--boxes .cpb-cd__u b { font-size: 1.8em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cpb-cd--boxes .cpb-cd__u small { font-size: .75em; opacity: .8; }
.cpb-cd--inline .cpb-cd__units { gap: 4px; font-weight: 800; font-variant-numeric: tabular-nums; }
.cpb-cd--inline .cpb-cd__u small { font-weight: 400; margin: 0 6px 0 2px; opacity: .8; }
.cpb-cd.is-over .cpb-cd__units { display: none; }

/* ── Separador y espacio ── */
.cpb-div { display: flex; align-items: center; gap: 14px; margin: 0 auto; color: var(--cpb-muted); }
.cpb-div::before, .cpb-div::after { content: ""; flex: 1; border-top: 1px solid var(--cpb-line); border-color: currentColor; opacity: .35; }
.cpb-div:not(.cpb-div--text)::after { display: none; }
.cpb-div span { font-weight: 700; font-size: .9em; }

/* ── Animaciones al aparecer (solo si hay JS y el usuario no pide menos movimiento) ── */
html.cpb-js [data-cpb-anim] { opacity: 0; transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
html.cpb-js [data-cpb-anim="up"] { transform: translateY(24px); }
html.cpb-js [data-cpb-anim="zoom"] { transform: scale(.96); }
html.cpb-js [data-cpb-anim].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.cpb-js [data-cpb-anim] { opacity: 1 !important; transform: none !important; transition: none; }
  .cpb-marq__track { animation: none; }
  .cpb-car__track { scroll-behavior: auto; }
}

/* ── Marcadores de la vista previa (solo editor) ── */
.cpb-ph { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 64px; padding: 16px; border: 2px dashed #b9c4d6; border-radius: 10px; color: #5b6474; background: repeating-linear-gradient(45deg, #f6f8fb, #f6f8fb 10px, #eef2f7 10px, #eef2f7 20px); font-size: 14px; font-weight: 600; }
.cpb-ph--img { min-height: 180px; aspect-ratio: 16 / 9; }
.cpb-empty { margin: 40px auto; max-width: 560px; text-align: center; padding: 48px 24px; border: 2px dashed #b9c4d6; border-radius: 16px; color: #44506a; }

/* Banner con la altura de su imagen (imagen entera, sin recortar; el texto va encima) */
.cpb-banner--natural { display: block; min-height: 0; background: none; }
.cpb-banner--natural .cpb-banner__bg { position: relative; display: block; inset: auto; height: auto; z-index: 0; }
.cpb-banner--natural .cpb-banner__bg img { position: static; height: auto !important; width: 100%; object-fit: initial; }
.cpb-banner--natural .cpb-banner__ov { z-index: 1; }
.cpb-banner--natural .cpb-banner__in { position: absolute; inset: 0; z-index: 2; }
.cpb-banner--natural .cpb-banner__in:not(:has(.cpb-banner__box > *)) { pointer-events: none; }

/* Tarjeta de producto del constructor */
.cpb-card-p { display: flex; flex-direction: column; gap: 8px; height: 100%; background: #fff; border: 1px solid var(--cpb-line); border-radius: 12px; padding: 12px; text-align: center; color: #1d2433; transition: box-shadow .2s ease, transform .2s ease; }
.cpb-card-p:hover { box-shadow: 0 10px 26px rgba(5,26,89,.12); transform: translateY(-2px); }
.cpb-card-p__img { position: relative; display: block; border-radius: 8px; overflow: hidden; background: #fff; }
.cpb-card-p__img img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; margin: 0 auto; }
.cpb-card-p__noimg { display: block; aspect-ratio: 1 / 1; background: var(--cpb-soft); }
.cpb-card-p__off { position: absolute; top: 8px; left: 8px; background: var(--cpb-orange); color: #fff; font-weight: 800; font-size: 12px; padding: 3px 8px; border-radius: 99px; }
.cpb-card-p__n { color: #1d2433 !important; text-decoration: none !important; font-size: 14px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(1.35em * 3); }
.cpb-card-p__n:hover { color: var(--cpb-blue) !important; }
.cpb-card-p__pr { margin-top: auto; display: flex; flex-direction: column; align-items: center; line-height: 1.15; }
.cpb-card-p__p { font-size: 22px; font-weight: 800; color: var(--cpb-navy); }
.cpb-card-p__pr s { font-size: 13px; color: #9aa1ad; }
.cpb-card-p__st { font-size: 11px; font-weight: 700; color: #a0281d; background: #fdeceb; border-radius: 4px; padding: 3px 6px; align-self: center; }
.cpb-card-p__btn { display: block; background: #0e2a5c; color: #fff !important; text-decoration: none !important; font-weight: 700; font-size: 13.5px; padding: 10px; border-radius: 8px; transition: background-color .15s ease; }
.cpb-card-p__btn:hover { background: #1a3f7a; }
@media (max-width: 767px) { .cpb-card-p { padding: 8px; } .cpb-card-p__p { font-size: 18px; } .cpb-card-p__n { font-size: 12.5px; } .cpb-card-p__btn { font-size: 12.5px; padding: 8px; } }
