/* YOKO Kids v3.4.18 — standalone full-canvas mockup hero. */

body.yoko-home-php-page .yoko-mockup-hero {
  --yoko-hero-offset: 0px;
  position: relative;
  width: 100vw;
  height: max(540px, calc(100svh - var(--yoko-hero-offset)));
  min-height: 540px;
  margin-inline: calc(50% - 50vw);
  overflow: hidden;
  isolation: isolate;
  background: #e6d9f8;
}

body.yoko-home-php-page .yoko-mockup-hero__stage,
body.yoko-home-php-page .yoko-mockup-hero__slides,
body.yoko-home-php-page .yoko-mockup-hero__slide,
body.yoko-home-php-page .yoko-mockup-hero__canvas,
body.yoko-home-php-page .yoko-mockup-hero__canvas picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

body.yoko-home-php-page .yoko-mockup-hero__stage {
  outline: 0;
  touch-action: pan-y;
}

body.yoko-home-php-page .yoko-mockup-hero__slide {
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: var(--yoko-hero-bg, #e6d9f8);
  transition: opacity 700ms cubic-bezier(.22, 1, .36, 1), visibility 0s linear 700ms;
}

body.yoko-home-php-page .yoko-mockup-hero__slide.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

body.yoko-home-php-page .yoko-mockup-hero__canvas picture {
  display: block;
}

body.yoko-home-php-page .yoko-mockup-hero__canvas img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: scale(1.012);
  transition: transform 900ms cubic-bezier(.22, 1, .36, 1);
  user-select: none;
  -webkit-user-drag: none;
}

body.yoko-home-php-page .yoko-mockup-hero__slide.is-active .yoko-mockup-hero__canvas img {
  transform: scale(1);
}

body.yoko-home-php-page .yoko-mockup-hero__sr-copy {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.yoko-home-php-page .yoko-mockup-hero__cta {
  position: absolute;
  z-index: 5;
  display: block;
  border-radius: 8px;
  background: transparent;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  cursor: pointer;
}

body.yoko-home-php-page .yoko-mockup-hero__cta span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.yoko-home-php-page .yoko-mockup-hero__cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
  box-shadow: 0 0 0 6px rgba(112, 37, 135, .75);
}

body.yoko-home-php-page .yoko-mockup-hero__pager {
  position: absolute;
  z-index: 6;
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 0;
}

body.yoko-home-php-page .yoko-mockup-hero__pager button {
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font: inherit;
  cursor: pointer;
}

body.yoko-home-php-page .yoko-mockup-hero__pager button:focus-visible {
  outline: 2px solid #702587;
  outline-offset: -2px;
  background: rgba(255, 255, 255, .2);
}

body.yoko-home-php-page .yoko-mockup-hero + .yoko-home-trust {
  margin-top: 0 !important;
}

@media (max-width: 767px) {
  body.yoko-home-php-page .yoko-mockup-hero {
    height: max(520px, calc(100svh - var(--yoko-hero-offset)));
    min-height: 520px;
  }

  body.yoko-home-php-page .yoko-mockup-hero__canvas img {
    object-fit: contain;
    transform: none;
  }

  body.yoko-home-php-page .yoko-mockup-hero__slide.has-mobile-art .yoko-mockup-hero__canvas img {
    object-fit: cover;
  }

  body.yoko-home-php-page .yoko-mockup-hero__cta {
    left: 20px !important;
    right: 20px !important;
    bottom: 74px !important;
    top: auto !important;
    width: auto !important;
    height: 48px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(112, 37, 135, .45);
    border-radius: 10px;
    background: rgba(112, 37, 135, .94);
    color: #fff;
    -webkit-text-fill-color: #fff;
    box-shadow: 0 12px 28px rgba(77, 24, 96, .2);
  }

  body.yoko-home-php-page .yoko-mockup-hero__cta span {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    color: inherit;
    font-size: 14px;
    font-weight: 800;
  }

  body.yoko-home-php-page .yoko-mockup-hero__pager {
    left: 50% !important;
    right: auto !important;
    top: auto !important;
    bottom: 18px !important;
    width: auto !important;
    height: 38px !important;
    transform: translateX(-50%);
    display: flex;
    grid-template-rows: none;
    gap: 8px;
    padding: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 8px 24px rgba(36, 22, 50, .14);
    backdrop-filter: blur(10px);
  }

  body.yoko-home-php-page .yoko-mockup-hero__pager button {
    width: 38px;
    height: 28px;
    border-radius: 999px;
    color: #5b5270;
    -webkit-text-fill-color: #5b5270;
    font-size: 12px;
    font-weight: 800;
  }

  body.yoko-home-php-page .yoko-mockup-hero__pager button.is-active {
    background: #702587;
    color: #fff;
    -webkit-text-fill-color: #fff;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.yoko-home-php-page .yoko-mockup-hero__slide,
  body.yoko-home-php-page .yoko-mockup-hero__canvas img {
    transition: none !important;
  }
}
