/* Botaniche Balena Pink — effetto approvato "Profondità morbida".
   JavaScript costruisce un oggetto multistrato che segue delicatamente il
   puntatore, senza compiere giri su sé stesso. Il soggetto resta intero,
   senza riquadro, ritaglio o angoli arrotondati. */
html body.wp-child-theme-balena-pink-child:not(#wpadminbar) main .bp-editorial[data-page="botaniche"] {
  overflow-x:clip!important;
}
html body.wp-child-theme-balena-pink-child:not(#wpadminbar) main .bp-editorial[data-page="botaniche"] .source-content figure.wp-block-image.is-resized.bp-botanical-interactive {
  --bp-botanical-tilt-x:0deg;
  --bp-botanical-tilt-y:0deg;
  --bp-botanical-roll:0deg;
  --bp-botanical-shift-x:0px;
  --bp-botanical-shift-y:0px;
  --bp-botanical-lift:0px;
  --bp-botanical-depth:34px;
  --bp-botanical-scale:1;
  --bp-botanical-light-x:50%;
  --bp-botanical-light-y:42%;
  position:relative!important;
  isolation:isolate;
  display:grid!important;
  place-items:center;
  width:min(100%,500px)!important;
  min-height:clamp(360px,35vw,500px)!important;
  margin-inline:auto!important;
  padding:clamp(6px,1vw,12px)!important;
  overflow:visible!important;
  border:0!important;
  outline:0;
  background:transparent!important;
  box-shadow:none!important;
  cursor:pointer;
  perspective:1150px;
  transform-style:preserve-3d;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}

/* Light aura and contact shadow are not frames: they move independently from
   the object and reinforce the distance from the page. */
html body.wp-child-theme-balena-pink-child:not(#wpadminbar) main .bp-editorial[data-page="botaniche"] .source-content figure.wp-block-image.is-resized.bp-botanical-interactive::before {
  content:""!important;
  position:absolute!important;
  z-index:0;
  inset:7% 5%!important;
  width:auto!important;
  height:auto!important;
  border:0!important;
  border-radius:50%!important;
  background:radial-gradient(circle at var(--bp-botanical-light-x) var(--bp-botanical-light-y),rgba(255,250,245,.24) 0,rgba(201,173,118,.13) 19%,rgba(229,57,134,.08) 39%,transparent 69%)!important;
  filter:blur(20px);
  opacity:.78;
  transform:translateZ(-90px) scale(.9);
  transition:opacity .28s ease,transform .28s ease;
  pointer-events:none;
}
html body.wp-child-theme-balena-pink-child:not(#wpadminbar) main .bp-editorial[data-page="botaniche"] .source-content figure.wp-block-image.is-resized.bp-botanical-interactive::after {
  content:"";
  position:absolute;
  z-index:0;
  left:17%;
  right:17%;
  bottom:4%;
  height:14%;
  border-radius:50%;
  background:radial-gradient(ellipse,rgba(3,6,20,.78) 0,rgba(3,6,20,.42) 40%,transparent 74%);
  filter:blur(13px);
  opacity:.76;
  transform:rotateX(72deg) translateZ(-90px) scale(.82);
  transform-origin:center;
  transition:opacity .28s ease,transform .28s ease;
  pointer-events:none;
}

/* JavaScript-created 3D object. Every image occupies the same grid cell; the
   Z offsets create a visible side wall when it turns. */
html body.wp-child-theme-balena-pink-child:not(#wpadminbar) main .bp-editorial[data-page="botaniche"] .bp-botanical-object {
  position:relative;
  z-index:2;
  display:grid!important;
  place-items:center;
  width:min(100%,470px)!important;
  max-width:100%!important;
  margin:auto!important;
  transform:translate3d(var(--bp-botanical-shift-x),calc(var(--bp-botanical-shift-y) + var(--bp-botanical-lift)),var(--bp-botanical-depth))
    rotateX(var(--bp-botanical-tilt-x))
    rotateY(var(--bp-botanical-tilt-y))
    rotateZ(var(--bp-botanical-roll))
    scale(var(--bp-botanical-scale))!important;
  transform-origin:center center;
  transform-style:preserve-3d;
  will-change:transform;
  transition:transform .42s cubic-bezier(.2,.75,.25,1)!important;
}
html body.wp-child-theme-balena-pink-child:not(#wpadminbar) main .bp-editorial[data-page="botaniche"] .bp-botanical-object > img {
  grid-area:1/1;
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-width:100%!important;
  max-height:470px!important;
  aspect-ratio:auto!important;
  margin:auto!important;
  object-fit:contain!important;
  object-position:center!important;
  border:0!important;
  border-radius:0!important;
  clip-path:none!important;
  -webkit-mask-image:none!important;
  mask-image:none!important;
  pointer-events:none!important;
  user-select:none!important;
  transform-origin:center center;
  transform-style:preserve-3d;
}

html body.wp-child-theme-balena-pink-child:not(#wpadminbar) main .bp-editorial[data-page="botaniche"] .bp-botanical-front {
  position:relative;
  z-index:14;
  transform:translateZ(30px)!important;
  backface-visibility:hidden;
  filter:brightness(1.09) contrast(1.07) saturate(1.09)
    drop-shadow(0 27px 19px rgba(3,6,20,.60))
    drop-shadow(0 5px 5px rgba(201,173,118,.22))!important;
  transition:filter .24s ease!important;
}
html body.wp-child-theme-balena-pink-child:not(#wpadminbar) main .bp-editorial[data-page="botaniche"] .bp-botanical-depth-layer {
  z-index:calc(2 + var(--bp-layer-index));
  transform:translateZ(var(--bp-layer-depth))!important;
  backface-visibility:visible;
  opacity:.92;
  filter:brightness(var(--bp-layer-brightness)) contrast(1.12) saturate(.82)
    sepia(.10) drop-shadow(0 2px 2px rgba(3,6,20,.42))!important;
}
html body.wp-child-theme-balena-pink-child:not(#wpadminbar) main .bp-editorial[data-page="botaniche"] .bp-botanical-back {
  z-index:1;
  transform:translateZ(-30px) rotateY(180deg)!important;
  backface-visibility:hidden;
  opacity:.96;
  filter:brightness(.62) contrast(1.13) saturate(.78)
    sepia(.12) drop-shadow(0 24px 18px rgba(3,6,20,.62))!important;
}

/* A moving specular layer makes the volume react to the pointer rather than
   behaving like a static stack of copies. */
html body.wp-child-theme-balena-pink-child:not(#wpadminbar) main .bp-editorial[data-page="botaniche"] .bp-botanical-specular {
  grid-area:1/1;
  z-index:16;
  align-self:stretch;
  justify-self:stretch;
  transform:translateZ(33px)!important;
  background:radial-gradient(circle at var(--bp-botanical-light-x) var(--bp-botanical-light-y),rgba(255,250,245,.23),rgba(201,173,118,.07) 20%,transparent 48%);
  -webkit-mask:var(--bp-botanical-image) center/contain no-repeat;
  mask:var(--bp-botanical-image) center/contain no-repeat;
  mix-blend-mode:screen;
  opacity:.64;
  pointer-events:none;
}

html body.wp-child-theme-balena-pink-child:not(#wpadminbar) main .bp-editorial[data-page="botaniche"] .source-content figure.wp-block-image.is-resized.bp-botanical-interactive:is(:hover,:focus-visible,.is-botanical-active) {
  --bp-botanical-lift:-10px;
  --bp-botanical-depth:76px;
  --bp-botanical-scale:1.045;
}
html body.wp-child-theme-balena-pink-child:not(#wpadminbar) main .bp-editorial[data-page="botaniche"] .source-content figure.wp-block-image.is-resized.bp-botanical-interactive:is(:hover,:focus-visible,.is-botanical-active)::before {
  opacity:1;
  transform:translate3d(calc(var(--bp-botanical-shift-x) * -.35),calc(var(--bp-botanical-shift-y) * -.35),-65px) scale(1.06);
}
html body.wp-child-theme-balena-pink-child:not(#wpadminbar) main .bp-editorial[data-page="botaniche"] .source-content figure.wp-block-image.is-resized.bp-botanical-interactive:is(:hover,:focus-visible,.is-botanical-active)::after {
  opacity:.94;
  transform:translateX(calc(var(--bp-botanical-shift-x) * -.55)) rotateX(72deg) translateZ(-105px) scale(1.06);
}
html body.wp-child-theme-balena-pink-child:not(#wpadminbar) main .bp-editorial[data-page="botaniche"] .source-content figure.wp-block-image.is-resized.bp-botanical-interactive:is(:hover,:focus-visible,.is-botanical-active) .bp-botanical-front {
  filter:brightness(1.13) contrast(1.08) saturate(1.10)
    drop-shadow(calc(var(--bp-botanical-shift-x) * -.55) 33px 24px rgba(3,6,20,.68))
    drop-shadow(0 0 17px rgba(201,173,118,.29))
    drop-shadow(0 0 9px rgba(229,57,134,.14))!important;
}
html body.wp-child-theme-balena-pink-child:not(#wpadminbar) main .bp-editorial[data-page="botaniche"] .source-content figure.wp-block-image.is-resized.bp-botanical-interactive:focus-visible {
  outline:2px solid rgba(201,173,118,.92)!important;
  outline-offset:6px!important;
}
@media(max-width:782px) {
  html body.wp-child-theme-balena-pink-child:not(#wpadminbar) main .bp-editorial[data-page="botaniche"] .source-content figure.wp-block-image.is-resized.bp-botanical-interactive {
    width:min(100%,390px)!important;
    min-height:330px!important;
    padding:4px!important;
    perspective:980px;
  }
  html body.wp-child-theme-balena-pink-child:not(#wpadminbar) main .bp-editorial[data-page="botaniche"] .bp-botanical-object {
    width:min(100%,350px)!important;
  }
  html body.wp-child-theme-balena-pink-child:not(#wpadminbar) main .bp-editorial[data-page="botaniche"] .bp-botanical-object > img {
    max-height:350px!important;
  }
}

@media(prefers-reduced-motion:reduce) {
  html body.wp-child-theme-balena-pink-child:not(#wpadminbar) main .bp-editorial[data-page="botaniche"] .bp-botanical-object {
    transform:translate3d(0,0,34px)!important;
    transition:none!important;
  }
  html body.wp-child-theme-balena-pink-child:not(#wpadminbar) main .bp-editorial[data-page="botaniche"] .source-content figure.wp-block-image.is-resized.bp-botanical-interactive::before,
  html body.wp-child-theme-balena-pink-child:not(#wpadminbar) main .bp-editorial[data-page="botaniche"] .source-content figure.wp-block-image.is-resized.bp-botanical-interactive::after {
    transition:none!important;
  }
}
