/* =========================================================
   YAKSPORT · Maquetador por bloques (páginas y home)
   Reutiliza las variables y componentes de yak.css (.yak-hero, .yak-btn, .yak-features).
   ========================================================= */
.yakpb-page {
  --yakpb-text: var(--yak-text);
  --yakpb-text-2: var(--yak-text-2);
  --yakpb-muted: var(--yak-muted);
  --yakpb-surface: var(--yak-surface);
  --yakpb-surface-2: var(--yak-surface-2);
  --yakpb-line: var(--yak-line);
  --yakpb-page-bg: var(--yak-bg);
}
.yakpb-page.yakpb-theme-light {
  --yakpb-text: #14141a;
  --yakpb-text-2: #3b3b46;
  --yakpb-muted: #6b6b78;
  --yakpb-surface: #ffffff;
  --yakpb-surface-2: #f4f3f8;
  --yakpb-line: rgba(20, 20, 30, .12);
  --yakpb-page-bg: #ffffff;
}
.yakpb-page.yakpb-theme-dark { background: var(--yak-bg) !important; }
.yakpb-root { position: relative; color: var(--yakpb-text); }

/* Tipografía de marca en los bloques propios (las secciones de la tienda conservan la suya) */
.yakpb-b:not(.yakpb-b--section),
.yakpb-b:not(.yakpb-b--section) :not(i):not([class*="dwg-"]):not([class*="fa-"]):not(.fa):not(code):not(pre) {
  font-family: var(--yak-font) !important;
}

/* ---------- Contenedor, espaciado, fondos, visibilidad ---------- */
.yakpb-b { position: relative; }
.yakpb-inner { width: 100%; margin: 0 auto; padding: 0 24px; }
.yakpb-w-narrow { max-width: 860px; }
.yakpb-w-container { max-width: 1320px; }
.yakpb-w-wide { max-width: 1600px; }
.yakpb-w-full { max-width: none; }

.yakpb-pt-0 { padding-top: 0; }        .yakpb-pb-0 { padding-bottom: 0; }
.yakpb-pt-sm { padding-top: 24px; }    .yakpb-pb-sm { padding-bottom: 24px; }
.yakpb-pt-md { padding-top: 48px; }    .yakpb-pb-md { padding-bottom: 48px; }
.yakpb-pt-lg { padding-top: 80px; }    .yakpb-pb-lg { padding-bottom: 80px; }
.yakpb-pt-xl { padding-top: 120px; }   .yakpb-pb-xl { padding-bottom: 120px; }

.yakpb-bg-dark { background: var(--yak-bg); --yakpb-text: #fff; --yakpb-text-2: var(--yak-text-2); --yakpb-muted: var(--yak-muted); --yakpb-line: var(--yak-line); color: #fff; }
.yakpb-bg-surface { background: var(--yak-surface); --yakpb-text: #fff; --yakpb-text-2: var(--yak-text-2); --yakpb-muted: var(--yak-muted); --yakpb-line: var(--yak-line); color: #fff; border-top: 1px solid var(--yak-line); border-bottom: 1px solid var(--yak-line); }
.yakpb-bg-accent { background: var(--yak-accent-soft); }
.yakpb-bg-gradient { background: radial-gradient(60% 120% at 85% 40%, rgba(139, 61, 251, .45) 0%, rgba(97, 17, 240, 0) 70%), linear-gradient(120deg, #0c0716 0%, #1a0b38 100%); --yakpb-text: #fff; --yakpb-text-2: #e4dcf7; --yakpb-muted: #b8a8db; color: #fff; }
.yakpb-bg-light { background: #f5f4f9; --yakpb-text: #14141a; --yakpb-text-2: #3b3b46; --yakpb-muted: #6b6b78; --yakpb-line: rgba(20, 20, 30, .12); --yakpb-surface: #fff; --yakpb-surface-2: #fff; color: #14141a; }

@media (max-width: 767.98px) {
  .yakpb-only-desktop { display: none !important; }
  .yakpb-pt-md { padding-top: 32px; }  .yakpb-pb-md { padding-bottom: 32px; }
  .yakpb-pt-lg { padding-top: 56px; }  .yakpb-pb-lg { padding-bottom: 56px; }
  .yakpb-pt-xl { padding-top: 80px; }  .yakpb-pb-xl { padding-bottom: 80px; }
  .yakpb-inner { padding: 0 16px; }
}
@media (min-width: 768px) { .yakpb-only-mobile { display: none !important; } }

.yakpb-align-left { text-align: left; }
.yakpb-align-center { text-align: center; margin-left: auto; margin-right: auto; }
.yakpb-align-right { text-align: right; margin-left: auto; }
.yakpb-justify-left { justify-content: flex-start; }
.yakpb-justify-center { justify-content: center; }
.yakpb-justify-right { justify-content: flex-end; }

/* ---------- Slider / Hero ---------- */
.yakpb-slider { padding-top: 22px; }
.yakpb-slider.has-dots { padding-bottom: 44px; }
.yakpb-slider__track { display: grid; }
.yakpb-slide {
  grid-area: 1 / 1 / 2 / 2;
  position: relative;
  min-width: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, .61, .36, 1), visibility 0s linear .7s;
}
.yakpb-slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition-delay: 0s; }
.yakpb-slider--slide .yakpb-slide { transform: translateX(48px); }
.yakpb-slider--slide[data-dir="prev"] .yakpb-slide { transform: translateX(-48px); }
.yakpb-slider--slide .yakpb-slide.is-active { transform: none; }
.yakpb-slider--slide .yakpb-slide.is-leaving { transform: translateX(-48px); }
.yakpb-slider--slide[data-dir="prev"] .yakpb-slide.is-leaving { transform: translateX(48px); }

.yakpb-slider .yak-hero__grid { min-height: var(--yakpb-min-h, 400px); position: relative; z-index: 1; }
.yakpb-slider .yak-hero__title.is-long { white-space: normal; text-wrap: balance; }
.yakpb-tsize-md .yak-hero__title { font-size: clamp(30px, 3.3vw, 48px); }
.yakpb-tsize-xl .yak-hero__title { font-size: clamp(38px, 5.2vw, 78px); }
.yakpb-slide.is-textonly .yak-hero__grid { grid-template-columns: minmax(0, 1fr); }
.yakpb-slide.is-textonly .yak-hero__copy { max-width: 760px; }
.yakpb-talign-center .yak-hero__copy { margin: 0 auto; text-align: center; }
.yakpb-talign-center .yak-hero__actions { justify-content: center; }

/* Imagen a la izquierda */
.yakpb-slide--split-left .yak-hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
.yakpb-slide--split-left .yak-hero__media { order: -1; margin-right: 0; margin-left: -24px; }
.yakpb-slide--split-left .yak-hero__media img {
  -webkit-mask-image: linear-gradient(270deg, transparent 0%, #000 14%, #000 100%), linear-gradient(180deg, transparent 0%, #000 9%, #000 88%, transparent 100%);
  mask-image: linear-gradient(270deg, transparent 0%, #000 14%, #000 100%), linear-gradient(180deg, transparent 0%, #000 9%, #000 88%, transparent 100%);
}

/* Imagen de fondo */
.yakpb-slide__bg, .yakpb-slide__shade { position: absolute; inset: -22px 0 0; }
.yakpb-slider.has-dots .yakpb-slide__bg, .yakpb-slider.has-dots .yakpb-slide__shade { bottom: -44px; }
.yakpb-slide__bg { background-size: cover; background-position: center; }
.yakpb-slide__shade { background: linear-gradient(90deg, #050506 0%, rgba(5, 5, 6, .55) 100%); }
.yakpb-talign-center .yakpb-slide__shade { background: #050506; }

/* Flechas y puntos */
.yakpb-slider__arrow {
  position: absolute; top: 50%; z-index: 3;
  width: 48px; height: 48px; margin-top: -24px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--yak-line-strong);
  background: rgba(10, 10, 13, .55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #fff; cursor: pointer;
  opacity: .75;
  transition: opacity .2s ease, border-color .2s ease, background-color .2s ease, transform .2s ease;
}
.yakpb-slider__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.yakpb-slider__arrow--prev { left: 16px; }
.yakpb-slider__arrow--next { right: 16px; }
.yakpb-slider:hover .yakpb-slider__arrow { opacity: 1; }
.yakpb-slider__arrow:hover { border-color: var(--yak-accent-2); background: var(--yak-accent-soft); }
.yakpb-slider__arrow:focus-visible, .yakpb-slider__dot:focus-visible { outline: 2px solid var(--yak-accent-2); outline-offset: 3px; opacity: 1; }

.yakpb-slider__dots { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 3; display: flex; justify-content: center; gap: 4px; }
.yakpb-slider__dot { width: 30px; height: 20px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.yakpb-slider__dot span { display: block; width: 100%; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .28); overflow: hidden; position: relative; transition: background-color .2s ease; }
.yakpb-slider__dot:hover span { background: rgba(255, 255, 255, .5); }
.yakpb-slider__dot.is-active span { background: rgba(255, 255, 255, .28); }
.yakpb-slider__dot.is-active span::after { content: ""; position: absolute; inset: 0; background: var(--yak-grad); transform-origin: left; }
.yakpb-slider.is-playing .yakpb-slider__dot.is-active span::after { animation: yakpb-progress var(--yakpb-interval, 6s) linear forwards; }
.yakpb-slider.is-paused .yakpb-slider__dot.is-active span::after { animation-play-state: paused; }
@keyframes yakpb-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 991.98px) {
  .yakpb-slide--split-left .yak-hero__grid { grid-template-columns: 1fr; }
  .yakpb-slide--split-left .yak-hero__media { order: 0; margin-left: 0; }
  .yakpb-slider .yak-hero__grid { min-height: 0; }
  .yakpb-slide--cover .yak-hero__grid, .yakpb-slide--text .yak-hero__grid { min-height: calc(var(--yakpb-min-h, 400px) * .75); }
  .yakpb-slider__arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .yakpb-slide, .yakpb-slider--slide .yakpb-slide { transition: opacity .01s linear, visibility 0s; transform: none !important; }
  .yakpb-slider .yakpb-slider__dot.is-active span::after { animation: none; transform: none; }
}

/* ---------- Iconos con texto ---------- */
.yakpb-features { grid-template-columns: repeat(var(--yakpb-cols, 4), minmax(0, 1fr)); margin-top: 0; }
.yakpb-features.is-plain .yak-feature + .yak-feature { border-left: 0; }
.yakpb-features.is-normalcase .yak-feature { text-transform: none; letter-spacing: 0; }
.yakpb-features .yak-feature img { width: 60px; height: 60px; object-fit: contain; flex: 0 0 auto; }
.yakpb-feature__link { display: flex; align-items: center; gap: 20px; color: inherit !important; text-decoration: none !important; }
.yakpb-feature__link:hover span { color: var(--yak-accent-2); }
.yakpb-theme-light .yakpb-b:not([class*="yakpb-bg-"]) .yak-feature { color: var(--yakpb-text); }
.yakpb-theme-light .yakpb-b:not([class*="yakpb-bg-"]) .yak-feature + .yak-feature { border-color: var(--yakpb-line); }
@media (max-width: 991.98px) {
  .yakpb-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 479.98px) {
  .yakpb-features { grid-template-columns: 1fr; }
  .yakpb-features .yak-feature { justify-content: flex-start; border-left: 0 !important; }
}

/* ---------- Títulos y texto ---------- */
.yakpb-eyebrow {
  margin: 0 0 10px;
  color: var(--yak-accent-2);
  font-size: 14px; font-weight: 600;
  letter-spacing: .17em; text-transform: uppercase;
}
.yakpb-title { margin: 0 0 14px; color: var(--yakpb-text); font-weight: 800; line-height: 1.08; letter-spacing: -.01em; text-wrap: balance; }
.is-sport .yakpb-title, .yakpb-title.is-sport { font-style: italic; text-transform: uppercase; }
.yakpb-hsize-sm { font-size: clamp(20px, 1.8vw, 26px); }
.yakpb-hsize-md { font-size: clamp(26px, 2.7vw, 38px); }
.yakpb-hsize-lg { font-size: clamp(30px, 3.6vw, 52px); }
.yakpb-hsize-xl { font-size: clamp(36px, 5vw, 72px); }
.yakpb-accent {
  background: linear-gradient(90deg, #8b3dfb 0%, #9d55ff 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; padding-right: .08em;
}
.yakpb-sub { margin: 0; color: var(--yakpb-text-2); font-size: clamp(15px, 1.2vw, 18px); line-height: 1.6; }
.yakpb-heading.yakpb-align-center .yakpb-sub { max-width: 720px; margin-left: auto; margin-right: auto; }

.yakpb-prose { color: var(--yakpb-text-2); font-size: 16px; line-height: 1.7; }
.yakpb-prose > :last-child { margin-bottom: 0; }
.yakpb-prose :is(h1, h2, h3, h4, h5, h6) { color: var(--yakpb-text); font-weight: 700; }
.yakpb-prose a { color: var(--yak-accent-2); text-decoration: underline; text-underline-offset: 2px; }
.yakpb-prose img { max-width: 100%; height: auto; border-radius: 12px; }
.yakpb-prose blockquote { border-left: 3px solid var(--yak-accent); padding-left: 16px; color: var(--yakpb-text); }
.yakpb-mw-narrow { max-width: 720px; }
.yakpb-mw-normal { max-width: 960px; }
.yakpb-mw-full { max-width: none; }
.yakpb-text.yakpb-align-left { margin-left: 0; }

/* ---------- Imagen ---------- */
.yakpb-figure { margin: 0; }
.yakpb-figure.yakpb-align-left { margin-right: auto; }
.yakpb-figure img { display: block; width: 100%; height: auto; }
.yakpb-figure.is-rounded img { border-radius: 16px; }
.yakpb-figure figcaption { margin-top: 10px; color: var(--yakpb-muted); font-size: 14px; }

/* ---------- Imagen + texto ---------- */
.yakpb-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 72px); align-items: center; }
.yakpb-valign-start { align-items: start; }
.yakpb-split--img-left .yakpb-split__media { order: -1; }
.yakpb-split--img-right .yakpb-split__media { order: 2; }
.yakpb-split__media img { display: block; width: 100%; height: auto; border-radius: 18px; }
.yakpb-split__body .yakpb-prose { margin-bottom: 26px; }
@media (max-width: 767.98px) {
  .yakpb-split { grid-template-columns: 1fr; }
  .yakpb-split__media { order: -1 !important; }
}

/* ---------- Tarjetas ---------- */
.yakpb-cards { display: grid; grid-template-columns: repeat(var(--yakpb-cols, 3), minmax(0, 1fr)); gap: 24px; }
.yakpb-card {
  display: flex; flex-direction: column;
  background: var(--yakpb-surface);
  border: 1px solid var(--yakpb-line);
  border-radius: 18px; overflow: hidden;
  color: inherit !important; text-decoration: none !important;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
a.yakpb-card:hover { transform: translateY(-3px); border-color: var(--yak-accent); box-shadow: 0 18px 40px -24px rgba(139, 61, 251, .8); }
.yakpb-card__media { position: relative; overflow: hidden; background: var(--yakpb-surface-2); }
.yakpb-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
a.yakpb-card:hover .yakpb-card__media img { transform: scale(1.04); }
.yakpb-ratio-1x1 { aspect-ratio: 1 / 1; }
.yakpb-ratio-4x3 { aspect-ratio: 4 / 3; }
.yakpb-ratio-16x9 { aspect-ratio: 16 / 9; }
.yakpb-ratio-3x4 { aspect-ratio: 3 / 4; }
.yakpb-ratio-9x16 { aspect-ratio: 9 / 16; }
.yakpb-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.yakpb-card__title { margin: 0; color: var(--yakpb-text); font-size: 18px; font-weight: 700; }
.yakpb-card__text { margin: 0; color: var(--yakpb-text-2); font-size: 15px; line-height: 1.55; }
.yakpb-card__link { margin-top: auto; padding-top: 6px; color: var(--yak-accent-2) !important; font-weight: 600; text-decoration: none !important; }
.yakpb-card__link:hover .yak-arrow { transform: translateX(3px); }
@media (max-width: 991.98px) { .yakpb-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .yakpb-cards { grid-template-columns: 1fr; } }

/* ---------- Botones ---------- */
.yakpb-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.yakpb-theme-light .yakpb-b:not(.yakpb-bg-dark):not(.yakpb-bg-surface):not(.yakpb-bg-gradient) .yak-btn--ghost { color: var(--yakpb-text) !important; border-color: rgba(20, 20, 30, .28); }

/* ---------- Banner ---------- */
.yakpb-cta {
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  border-radius: 24px;
  border: 1px solid var(--yak-line);
  background: radial-gradient(60% 120% at 85% 40%, rgba(139, 61, 251, .45) 0%, rgba(97, 17, 240, 0) 70%), linear-gradient(120deg, #0c0716 0%, #1a0b38 100%);
  padding: clamp(32px, 5vw, 64px);
  --yakpb-text: #fff; --yakpb-text-2: #e4dcf7;
}
.yakpb-w-full .yakpb-cta { border-radius: 0; border-left: 0; border-right: 0; }
.yakpb-cta__bg, .yakpb-cta__shade { position: absolute; inset: 0; }
.yakpb-cta__bg { background-size: cover; background-position: center; }
.yakpb-cta__shade { background: #050506; }
.yakpb-cta__body { position: relative; z-index: 1; width: 100%; max-width: 760px; }
.yakpb-cta.yakpb-align-center .yakpb-cta__body { margin: 0 auto; }
.yakpb-cta.yakpb-align-right .yakpb-cta__body { margin-left: auto; }
.yakpb-cta .yakpb-sub { margin-bottom: 26px; }

/* ---------- Vídeo ---------- */
.yakpb-video { position: relative; width: 100%; margin: 0 auto; border-radius: 18px; overflow: hidden; background: #000; }
.yakpb-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yakpb-video.yakpb-ratio-9x16 { max-width: 420px; }

/* ---------- Espacio ---------- */
.yakpb-spacer { position: relative; }
.yakpb-spacer.has-line::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--yakpb-line); }

/* ---------- Vista previa del editor ---------- */
.yakpb-placeholder {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 180px; padding: 20px;
  border: 2px dashed var(--yakpb-line); border-radius: 16px;
  color: var(--yakpb-muted); font-size: 15px; text-align: center;
  aspect-ratio: auto;
}
.yakpb-video .yakpb-placeholder { position: absolute; inset: 0; min-height: 0; }
.yakpb-empty-canvas { padding: 120px 24px; text-align: center; color: var(--yakpb-muted); }
.yakpb-empty-canvas i { font-size: 40px; color: var(--yak-accent); margin-bottom: 14px; }
html[data-yakpb-preview] [data-yakpb-id] { cursor: pointer; }
html[data-yakpb-preview] [data-yakpb-id]::after {
  content: ""; position: absolute; inset: 0; z-index: 20; pointer-events: none;
  outline: 2px solid transparent; outline-offset: -2px; transition: outline-color .15s ease;
}
html[data-yakpb-preview] [data-yakpb-id]:hover::after { outline-color: rgba(160, 101, 255, .55); }
html[data-yakpb-preview] [data-yakpb-id].is-selected::after { outline-color: #a065ff; }
html[data-yakpb-preview] [data-yakpb-id] > .yakpb-tag {
  position: absolute; top: 0; left: 0; z-index: 21;
  padding: 3px 9px; border-radius: 0 0 6px 0;
  background: #8b3dfb; color: #fff; font: 600 11px/1.4 var(--yak-font);
  pointer-events: none; opacity: 0; transition: opacity .15s ease;
}
html[data-yakpb-preview] [data-yakpb-id]:hover > .yakpb-tag,
html[data-yakpb-preview] [data-yakpb-id].is-selected > .yakpb-tag { opacity: 1; }
