/* Adapted from the supplied Fortune spin slider stylesheet.
   Keeps its container/rotation/active-panel structure; scoped to this hero.
   WordPress-only imagery, global resets and unrelated login styles are omitted. */
body.fortune-premio-context .ffp-site .page {
  max-width: none;
  width: 100%;
}

body.fortune-premio-context .ffp-site .slider-spin-wrapper {
  /*
   * Scale with the viewport only until the original 1360px design canvas is
   * reached. Beyond that point the carousel stays inside the centred content
   * container instead of spreading when the browser is zoomed out.
   */
  --u: min(calc(100vw / 850), 1.6px);
  position: relative;
  overflow: hidden;
}

body.fortune-premio-context .ffp-site .slider-spin-container {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  width: 100%;
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
}

body.fortune-premio-context .ffp-site .slider-spin-container:empty {
  display: none;
}

body.fortune-premio-context .ffp-site .slider-spin-container .left-wrapper {
  flex: 0 0 46.47%;
  width: 46.47%;
  margin: 0;
  padding: calc(87 * var(--u)) calc(8 * var(--u)) calc(25 * var(--u)) calc(53 * var(--u));
  z-index: 2;
}

body.fortune-premio-context .ffp-site .slider-spin-container .left-wrapper.ornament::before {
  left: calc(24 * var(--u));
}

body.fortune-premio-context .ffp-site .slider-spin-container .left-wrapper.ornament::after {
  left: calc(18 * var(--u));
}

body.fortune-premio-context .ffp-site .slider-spin-container .right-wrapper {
  position: relative;
  flex: 0 0 53.53%;
  width: 53.53%;
  inset: auto;
  pointer-events: auto;
  min-height: calc(497 * var(--u));
}

body.fortune-premio-context .ffp-site .circle--slider .services {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: calc(497 * var(--u));
  isolation: isolate;
  touch-action: pan-y;
}

body.fortune-premio-context .ffp-site .circle--slider .hero-oval {
  left: calc(-105 * var(--u));
  z-index: 0;
  overflow: hidden;
  isolation: isolate;
}

body.fortune-premio-context .ffp-site .circle--slider .rotate--circle {
  position: absolute;
  /* Coordinates are local to the clipped oval, not the full hero. */
  top: calc(450 * var(--u));
  left: calc(200 * var(--u));
  width: calc(240 * var(--u));
  aspect-ratio: 1;
}

body.fortune-premio-context .ffp-site .circle--rotate {
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 50%;
  list-style: none;
  transform: rotate(0deg);
  transition: transform 400ms ease;
}

body.fortune-premio-context .ffp-site .circle--rotate::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px dashed var(--ffp-accent, #ab9160);
  border-radius: 50%;
  /*
   * Do not hard-cut the guide ring. The ring lives inside .hero-oval, whose
   * overflow clipping naturally hides the portion that falls outside the
   * dark oval. This produces one continuous visible arc on both sides.
   */
  clip-path: none;
  pointer-events: none;
}

body.fortune-premio-context .ffp-site .circle--rotate>.block {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transform: rotate(var(--item-angle));
  transition: transform 400ms ease;
  pointer-events: none;
}

body.fortune-premio-context .ffp-site .circle--rotate .icon {
  position: absolute;
  top: 0;
  left: 50%;
  width: calc(44 * var(--u));
  height: calc(62 * var(--u));
  min-width: 44px;
  min-height: 44px;
  padding: calc(3 * var(--u));
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  transform: translate(-50%, -50%);
  transition:
    opacity 250ms,
    background-color 200ms;
}

body.fortune-premio-context .ffp-site .circle--rotate .icon img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  margin: auto;
}

body.fortune-premio-context .ffp-site .circle--rotate .block.active .icon {
  opacity: 0;
  pointer-events: none;
}

body.fortune-premio-context .ffp-site .circle--rotate .icon:hover {
  background: color-mix(in srgb, var(--ffp-contrast-text, #f2e2c4) 15%, transparent);
}

body.fortune-premio-context .ffp-site .circle--rotate .icon:focus-visible,
body.fortune-premio-context .ffp-site .slider-controls button:focus-visible {
  outline: 3px solid var(--ffp-accent, #dfb96c);
  outline-offset: 3px;
}

body.fortune-premio-context .ffp-site .circle--slider .hero-bowl {
  left: calc(195 * var(--u));
  pointer-events: none;
  z-index: 1;
}

body.fortune-premio-context .ffp-site .circle--slider .animate-wrapper {
  position: absolute;
  top: calc(127 * var(--u));
  left: calc(168 * var(--u));
  width: calc(96 * var(--u));
  height: calc(296.3 * var(--u));
  z-index: 2;
  pointer-events: none;
}

body.fortune-premio-context .ffp-site .circle--slider .animate {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.85);
  transition:
    opacity 350ms ease,
    transform 550ms ease,
    visibility 550ms;
}

body.fortune-premio-context .ffp-site .circle--slider .animate.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

body.fortune-premio-context .ffp-site .circle--slider .animate-img {
  width: 100%;
  height: 100%;
}

body.fortune-premio-context .ffp-site .circle--slider .animate-img__in {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  max-width: none;
}

body.fortune-premio-context .ffp-site .slider-controls {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

body.fortune-premio-context .ffp-site .slider-controls>.prev,
body.fortune-premio-context .ffp-site .slider-controls>.next {
  position: absolute;
  top: calc(222 * var(--u));
  display: grid;
  place-items: center;
  width: clamp(40px, calc(46 * var(--u)), 52px);
  height: clamp(40px, calc(46 * var(--u)), 52px);
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--ffp-contrast-text, #f1e3d0) 70%, transparent);
  border-radius: 50%;
  color: var(--ffp-contrast-text, #f1e3d0);
  background: var(--ffp-primary, #13331f);
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.13);
  font: 30px/1 Georgia, serif;
  cursor: pointer;
  pointer-events: auto;
  transform: translateY(-50%);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

body.fortune-premio-context .ffp-site .slider-controls>.prev {
  left: calc(18 * var(--u));
}

body.fortune-premio-context .ffp-site .slider-controls>.next {
  right: calc(18 * var(--u));
}

body.fortune-premio-context .ffp-site .slider-controls>.prev:hover,
body.fortune-premio-context .ffp-site .slider-controls>.next:hover {
  background: var(--ffp-secondary, #222120);
  color: var(--ffp-contrast-text, #f1e3d0);
  transform: translateY(-50%) scale(1.05);
}

/* Keep the spoken product name for accessibility without placing navigation below the bottle. */
body.fortune-premio-context .ffp-site .slider-caption {
  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.fortune-premio-context .ffp-site .slider-dots {
  position: absolute;
  left: 50%;
  top: calc(454 * var(--u));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(8 * var(--u));
  transform: translateX(-50%);
  pointer-events: auto;
}

body.fortune-premio-context .ffp-site .slider-controls .slider-dot {
  width: clamp(8px, calc(8 * var(--u)), 11px);
  height: clamp(8px, calc(8 * var(--u)), 11px);
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: color-mix(in srgb, var(--ffp-primary, #13331f) 22%, var(--ffp-page-bg, #f1e3d0));
  box-shadow: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

body.fortune-premio-context .ffp-site .slider-controls .slider-dot.active {
  background: var(--ffp-primary, #13331f);
  transform: scale(1.12);
}

body.fortune-premio-context .ffp-site .slider-controls .slider-dot:hover {
  background: var(--ffp-primary, #13331f);
}

body.fortune-premio-context .ffp-site .slider-controls .slider-dot:focus-visible {
  outline: 2px solid var(--ffp-accent, #dfb96c);
  outline-offset: 3px;
}

@media (min-width: 1600px) {
  body.fortune-premio-context .ffp-site .slider-spin-container .left-wrapper h1 {
    font-size: clamp(38px, 1.88vw, 72px);
  }
}

/*
 * The hero content is container-bound, but the dark oval is visual background
 * artwork. On very wide/zoomed-out viewports extend only that background to
 * the right edge while the product/controls remain on the 1360px canvas.
 */
@media (min-width: 1929px) {
  body.fortune-premio-context .ffp-site .circle--slider .hero-oval {
    width: calc((738 * var(--u)) + ((100vw - 1928px) / 2));
  }
}

@media (max-width: 699px) {
  body.fortune-premio-context .ffp-site .slider-spin-wrapper {
    --u: 1px;
    padding: 34px 0 0;
  }

  body.fortune-premio-context .ffp-site .slider-spin-container {
    display: flex;
    flex-direction: column;
  }

  body.fortune-premio-context .ffp-site .slider-spin-container .left-wrapper {
    flex: auto;
    width: 100%;
    padding: 0 24px 0 34px;
    order: 1;
  }

  body.fortune-premio-context .ffp-site .slider-spin-container .left-wrapper.ornament::before {
    left: 18px;
    top: 4px;
  }

  body.fortune-premio-context .ffp-site .slider-spin-container .left-wrapper.ornament::after {
    left: 12px;
    top: -30px;
  }

  body.fortune-premio-context .ffp-site .slider-spin-container .right-wrapper {
    flex: auto;
    width: 100%;
    min-height: 430px;
    height: 430px;
    margin: 20px 0 0;
    overflow: hidden;
    order: 0;
  }

  body.fortune-premio-context .ffp-site .circle--slider .services {
    height: 430px;
    min-height: 430px;
  }

  body.fortune-premio-context .ffp-site .circle--slider .hero-oval {
    left: 7%;
    top: -161px;
    width: 115%;
    height: 370px;
  }

  body.fortune-premio-context .ffp-site .circle--slider .rotate--circle {
    top: 181px;
    left: calc(43vw - 120px);
    width: 240px;
  }

  body.fortune-premio-context .ffp-site .circle--rotate .icon {
    width: 44px;
    height: 54px;
    padding: 4px;
  }

  body.fortune-premio-context .ffp-site .circle--slider .animate-wrapper {
    top: 83px;
    left: calc(50% - 43.5px);
    width: 87px;
    height: 268.5px;
  }

  body.fortune-premio-context .ffp-site .circle--slider .hero-bowl {
    left: calc(50% - 13px);
    top: 180px;
    width: 205px;
  }

  body.fortune-premio-context .ffp-site .slider-controls {
    inset: 0;
  }

  body.fortune-premio-context .ffp-site .slider-controls>.prev,
  body.fortune-premio-context .ffp-site .slider-controls>.next {
    top: 205px;
    width: 40px;
    height: 40px;
    font-size: 26px;
  }

  body.fortune-premio-context .ffp-site .slider-controls>.prev {
    left: 14px;
  }

  body.fortune-premio-context .ffp-site .slider-controls>.next {
    right: 14px;
  }

  body.fortune-premio-context .ffp-site .slider-dots {
    top: 398px;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {

  body.fortune-premio-context .ffp-site .circle--rotate,
  body.fortune-premio-context .ffp-site .circle--slider .animate,
  body.fortune-premio-context .ffp-site .circle--rotate .icon {
    transition: none;
  }
}

/* Decorative art must never intercept the adjacent carousel controls. */
body.fortune-premio-context .ffp-site .slider-spin-wrapper {
  z-index: 1;
}

body.fortune-premio-context .ffp-site .purity-branch {
  pointer-events: none;
}