/* Programa Semilac Pro — todo va dentro de .bys-pp para no tocar nada del tema.
   Tamaños en em (no rem): la web tiene html a 10 px (62,5 % de Bricks).
   El rosa sale del color global de Bricks (si cambia allí, cambia aquí). La letra normal es la de la web. */

.bys-pp {
  --bpp-pink: var(--bricks-color-xvezbz, #e31971);
  --bpp-ink: #1d1a1c;
  --bpp-soft: #6f666b;
  --bpp-line: #ece6e8;
  --bpp-band: #faf6f4;
  --bpp-card: #ffffff;
  --bpp-r: 14px;
  --bpp-display: inherit;
  container: bpp / inline-size;
  color: var(--bpp-ink);
  font-family: "Poppins", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15.5px;
  line-height: 1.65;
}
.bys-pp--serif { --bpp-display: "DM Serif Display", Georgia, serif; }
.bys-pp *, .bys-pp *::before, .bys-pp *::after { box-sizing: border-box; }
.bys-pp img { max-width: 100%; height: auto; display: block; }
.bys-pp p { margin: 0; }
.bys-pp a { color: inherit; }
.bys-pp h1, .bys-pp h2, .bys-pp h3 {
  margin: 0; font-family: var(--bpp-display); font-weight: 400; line-height: 1.08;
  letter-spacing: -.01em; text-wrap: balance; color: var(--bpp-ink);
}
.bys-pp:not(.bys-pp--serif) h1, .bys-pp:not(.bys-pp--serif) h2, .bys-pp:not(.bys-pp--serif) h3 { font-weight: 600; }
.bys-pp h1 { font-size: clamp(2.3em, 5.4cqi, 4.2em); }
.bys-pp h2 { font-size: clamp(1.8em, 4cqi, 2.8em); }
.bys-pp h3 { font-size: 1.3em; line-height: 1.2; }
.bys-pp h1 em { font-style: italic; color: var(--bpp-pink); }

/* Bandas de fondo a todo el ancho sin provocar scroll lateral */
.bys-pp .bpp-band, .bys-pp .bpp-final, .bys-pp .bpp-hola {
  background: var(--bpp-band);
  box-shadow: 0 0 0 100vmax var(--bpp-band);
  clip-path: inset(0 -100vmax);
}

.bys-pp .bpp-sec { padding-block: 76px; }
.bys-pp .bpp-sec--corta { padding-block: 52px; }
.bys-pp .bpp-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 38px; max-width: 760px; }
.bys-pp .bpp-stack { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.bys-pp .bpp-eyebrow { font-size: .74em; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--bpp-pink); }
.bys-pp .bpp-lead { color: var(--bpp-soft); font-size: 1.05em; max-width: 56ch; }
.bys-pp .bpp-fine { font-size: .8em; color: var(--bpp-soft); }
.bys-pp .bpp-trust { font-size: .85em; color: var(--bpp-soft); }
.bys-pp .bpp-trust b { color: var(--bpp-ink); font-weight: 600; }

/* Botones */
.bys-pp .bpp-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.bys-pp .bpp-btn {
  display: inline-flex; align-items: center; justify-content: center; padding: 14px 26px;
  font-weight: 600; font-size: .92em; line-height: 1.2; text-decoration: none; border-radius: 999px;
  border: 1.5px solid var(--bpp-pink); transition: background .15s, color .15s, border-color .15s;
}
.bys-pp .bpp-btn--main { background: var(--bpp-pink); color: #fff; }
.bys-pp .bpp-btn--main:hover { filter: brightness(.92); }
.bys-pp .bpp-btn--line { background: transparent; color: var(--bpp-ink); border-color: var(--bpp-line); }
.bys-pp .bpp-btn--line:hover { border-color: var(--bpp-pink); }
.bys-pp a:focus-visible, .bys-pp summary:focus-visible, .bys-pp input:focus-visible { outline: 3px solid var(--bpp-pink); outline-offset: 3px; }

/* Arriba */
.bys-pp .bpp-hero { padding-block: 48px 8px; }
.bys-pp .bpp-hero + .bpp-sec { padding-top: 48px; }
.bys-pp .bpp-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.bys-pp .bpp-hero__foto { margin: 0; border-radius: var(--bpp-r); overflow: hidden; aspect-ratio: 522 / 418; background: #e9e7e8; }
.bys-pp .bpp-hero__foto img { width: 100%; height: 100%; object-fit: cover; }
.bys-pp .bpp-ejemplo { font-size: .95em; border-left: 3px solid var(--bpp-pink); padding-left: 12px; }
.bys-pp .bpp-ejemplo s { color: var(--bpp-soft); }
.bys-pp .bpp-ejemplo b { color: var(--bpp-pink); font-size: 1.1em; }

/* Ventajas */
.bys-pp .bpp-perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.bys-pp .bpp-perk { position: relative; display: flex; flex-direction: column; gap: 12px; background: var(--bpp-band); border-radius: var(--bpp-r); padding: 46px 30px 30px; }
.bys-pp .bpp-perk::before { content: ""; position: absolute; left: 30px; top: 0; width: 34px; height: 22px; border-radius: 0 0 999px 999px; background: var(--sw); }
.bys-pp .bpp-big { font-family: var(--bpp-display); font-size: 3.6em; line-height: 1; }
.bys-pp .bpp-perk p { color: var(--bpp-soft); font-size: .95em; }
.bys-pp .bpp-perk .bpp-now { color: var(--bpp-ink); font-weight: 600; }
.bys-pp .bpp-ladder { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-weight: 600; font-size: .9em; }
.bys-pp .bpp-ladder span { border: 1px solid var(--bpp-line); background: #fff; padding: 3px 10px; border-radius: 999px; }
.bys-pp .bpp-ladder .bpp-ladder__pro { background: var(--bpp-pink); border-color: var(--bpp-pink); color: #fff; }

/* Calculadora */
.bys-pp .bpp-calc { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.bys-pp .bpp-panel { background: var(--bpp-card); border: 1px solid var(--bpp-line); border-radius: var(--bpp-r); padding: 30px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.bys-pp .bpp-panel label { font-weight: 600; color: var(--bpp-ink); font-size: 1em; }
.bys-pp input[type=range] { width: 100%; accent-color: var(--bpp-pink); }
.bys-pp .bpp-bignum { font-family: var(--bpp-display); font-size: clamp(3em, 8cqi, 4.6em); line-height: 1; color: var(--bpp-pink); font-variant-numeric: tabular-nums; }
.bys-pp .bpp-row { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.bys-pp .bpp-basket { width: 100%; border-collapse: collapse; font-size: .93em; font-variant-numeric: tabular-nums; margin: 0; }
.bys-pp .bpp-basket td { padding: 9px 0; border: 0; border-bottom: 1px solid var(--bpp-line); background: none; }
.bys-pp .bpp-basket td:last-child { text-align: right; white-space: nowrap; }
.bys-pp .bpp-basket__tot td { border-bottom: 0; font-weight: 600; padding-top: 12px; }
.bys-pp .bpp-basket__pro td { border-bottom: 0; color: var(--bpp-pink); font-weight: 700; font-size: 1.08em; }

/* Productos */
.bys-pp .bpp-prods { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.bys-pp .bpp-prod { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.bys-pp .bpp-prod__img img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: var(--bpp-r); background: #fff; }
.bys-pp .bpp-prod__n { font-size: .83em; line-height: 1.35; font-weight: 500; text-decoration: none; }
/* Igual que el botón «Exclusivo profesionales» de la tienda (boton-1 de Bricks): negro, 10 px de esquina */
.bys-pp .bpp-prod__x { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; text-align: center; background: #000; color: #fff; font-size: 14px; font-weight: 400; letter-spacing: .5px; line-height: 1.3; padding: 5px 16px 4px; border-radius: 10px; text-decoration: none; max-width: 150px; }
.bys-pp .bpp-prod__x:hover { background: #222; color: #fff; }
.bys-pp .bpp-prod__pr { margin-top: auto; font-weight: 600; color: var(--bpp-pink); }
/* Igual que «Añadir al carrito» de la tienda: rosa, 10 px de esquina */
.bys-pp .bpp-prod__add { background: var(--bpp-pink); color: #fff; font-size: 14px; font-weight: 500; text-align: center; padding: 8px 14px; border-radius: 10px; text-decoration: none; }
.bys-pp .bpp-prod__add.added { opacity: .75; }
.bys-pp .bpp-prod .added_to_cart { font-size: .75em; text-align: center; }
.bys-pp .bpp-more { margin-top: 32px; text-align: center; }

/* Pasos */
.bys-pp .bpp-steps { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: bpp-paso; }
.bys-pp .bpp-steps li { counter-increment: bpp-paso; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--bpp-line); padding-top: 22px; margin: 0; }
.bys-pp .bpp-steps li::before { content: "0" counter(bpp-paso); font-family: var(--bpp-display); font-size: 3em; line-height: 1; color: var(--bpp-pink); }
.bys-pp .bpp-steps p { color: var(--bpp-soft); }

/* Cifra y para quién */
.bys-pp .bpp-statrow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.bys-pp .bpp-stat { font-family: var(--bpp-display); font-size: clamp(3.4em, 10cqi, 6em); line-height: 1; color: var(--bpp-pink); }
.bys-pp .bpp-statrow p { font-size: 1.05em; color: var(--bpp-soft); max-width: 44ch; }
.bys-pp .bpp-statrow strong { color: var(--bpp-ink); font-size: 1.2em; }
.bys-pp .bpp-wholine { display: flex; flex-direction: column; gap: 10px; max-width: 760px; border-left: 3px solid var(--bpp-pink); padding-left: 22px; }
.bys-pp .bpp-wholine p { font-size: 1.1em; }

/* Preguntas */
.bys-pp .bpp-faq { display: flex; flex-direction: column; max-width: 860px; border-top: 1px solid var(--bpp-line); }
.bys-pp .bpp-faq details { border-bottom: 1px solid var(--bpp-line); }
.bys-pp .bpp-faq summary { cursor: pointer; font-weight: 500; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.bys-pp .bpp-faq summary::-webkit-details-marker { display: none; }
.bys-pp .bpp-faq summary::after { content: "+"; color: var(--bpp-pink); font-size: 1.4em; line-height: 1; }
.bys-pp .bpp-faq details[open] summary::after { content: "–"; }
.bys-pp .bpp-faq details p { padding-bottom: 18px; color: var(--bpp-soft); max-width: 65ch; }

/* Cierre */
.bys-pp .bpp-final { --bpp-band: var(--bpp-pink); padding-block: 76px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; color: #fff; }
.bys-pp .bpp-final h2 { color: #fff; font-size: clamp(2em, 5cqi, 3.6em); }
.bys-pp .bpp-final .bpp-btn--main { background: #fff; color: var(--bpp-pink); border-color: #fff; }
.bys-pp .bpp-final .bpp-btn--line { color: #fff; border-color: rgba(255, 255, 255, .7); }

/* Vista profesional */
.bys-pp .bpp-hola { padding-block: 56px; display: flex; flex-direction: column; gap: 14px; }
.bys-pp .bpp-badge { align-self: flex-start; background: var(--bpp-pink); color: #fff; font-size: .72em; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; }
.bys-pp .bpp-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.bys-pp .bpp-tile { background: var(--bpp-card); border: 1px solid var(--bpp-line); border-radius: var(--bpp-r); padding: 22px; text-decoration: none; display: flex; flex-direction: column; gap: 4px; }
.bys-pp .bpp-tile:hover { border-color: var(--bpp-pink); }
.bys-pp .bpp-tile small { color: var(--bpp-soft); font-size: .88em; }
.bys-pp .bpp-tile--hot { background: var(--bpp-pink); border-color: var(--bpp-pink); color: #fff; }
.bys-pp .bpp-tile--hot small { color: #fff; opacity: .9; }

/* Barra fija del móvil */
.bys-pp .bpp-sticky { display: none; }

@container bpp (max-width: 900px) {
  .bys-pp .bpp-prods { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bys-pp .bpp-tiles { grid-template-columns: 1fr 1fr; }
}
@container bpp (max-width: 820px) {
  .bys-pp .bpp-hero__grid, .bys-pp .bpp-calc { grid-template-columns: 1fr; }
  .bys-pp .bpp-hero__grid { gap: 28px; }
  .bys-pp .bpp-hero__foto { order: -1; }
  .bys-pp .bpp-perks, .bys-pp .bpp-steps { grid-template-columns: 1fr; }
}
@container bpp (max-width: 560px) {
  .bys-pp .bpp-sec { padding-block: 56px; }
  .bys-pp .bpp-prods { grid-template-columns: 1fr 1fr; }
  .bys-pp .bpp-tiles { grid-template-columns: 1fr; }
  .bys-pp .bpp-hero { padding-top: 20px; }
}
@media (max-width: 600px) {
  .bys-pp { padding-inline: 16px; }
  .bys-pp:not(.bys-pp--pro) { padding-bottom: 72px; }
  .bys-pp .bpp-sticky {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: flex; flex-direction: row-reverse; align-items: center; justify-content: flex-end; gap: 14px;
    background: #fff; border-top: 1px solid var(--bpp-line); box-shadow: 0 -8px 20px -10px rgba(0, 0, 0, .18);
    /* botón a la izquierda y hueco a la derecha: ahí va el botón flotante de WhatsApp de la web */
    padding: 10px 84px calc(10px + env(safe-area-inset-bottom, 0px)) 16px;
    font-size: 14px;
  }
  .bys-pp .bpp-sticky .bpp-btn { padding: 11px 22px; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .bys-pp .bpp-btn { transition: none; }
}
