.page-golosinas {
  --paper: #fff8e8;
  --violet: #88409b;
  --coral: #ee7182;
}

.page-golosinas .hero::before {
  inset: 64px -8vw auto !important;
  height: min(32vh, 290px) !important;
  background-size: 108% 100% !important;
  background-position: center top !important;
  opacity: .76 !important;
  filter: drop-shadow(0 18px 24px rgba(36, 22, 45, .11)) saturate(1.1);
  transform-origin: top center;
  animation: upper-showpiece 7.8s ease-in-out infinite !important;
}

.page-golosinas .hero::before {
  inset: 82px 0 auto !important;
  height: min(28vh, 250px) !important;
  background: url("../images/decor/golosinas-top.svg") top center / 100% 100% no-repeat !important;
  opacity: .68 !important;
  animation: theme-top-float 5.8s ease-in-out infinite !important;
}

.page-golosinas .hero {
  min-height: 96vh;
  background:
    radial-gradient(circle at 12% 18%, rgba(246, 200, 95, .38) 0 120px, transparent 122px),
    radial-gradient(circle at 86% 26%, rgba(238, 113, 130, .24) 0 130px, transparent 132px),
    radial-gradient(circle at 72% 86%, rgba(114, 209, 208, .18) 0 130px, transparent 132px),
    linear-gradient(180deg, #fff8e8, #f7eff8 58%, #f3fbff);
}

.page-golosinas .hero::before {
  inset: 0 0 auto;
  height: min(31vh, 270px);
  background:
    linear-gradient(180deg, rgba(136, 64, 155, .32), rgba(136, 64, 155, .12)) 14% 68% / 8px 70px no-repeat,
    radial-gradient(circle at 50% 50%, rgba(238, 113, 130, .62) 0 30px, transparent 31px) 10% 42% / 92px 92px no-repeat,
    conic-gradient(from 45deg, rgba(255, 255, 255, .8) 0 25%, transparent 0 50%, rgba(255, 255, 255, .8) 0 75%, transparent 0) 10% 42% / 92px 92px no-repeat,
    linear-gradient(180deg, rgba(168, 204, 69, .34), rgba(168, 204, 69, .12)) 48% 68% / 8px 70px no-repeat,
    radial-gradient(circle at 50% 50%, rgba(246, 200, 95, .68) 0 30px, transparent 31px) 44% 44% / 92px 92px no-repeat,
    conic-gradient(from 45deg, rgba(255, 255, 255, .82) 0 25%, transparent 0 50%, rgba(255, 255, 255, .82) 0 75%, transparent 0) 44% 44% / 92px 92px no-repeat,
    linear-gradient(180deg, rgba(114, 209, 208, .34), rgba(114, 209, 208, .12)) 82% 68% / 8px 70px no-repeat,
    radial-gradient(circle at 50% 50%, rgba(114, 209, 208, .56) 0 30px, transparent 31px) 78% 42% / 92px 92px no-repeat,
    conic-gradient(from 45deg, rgba(255, 255, 255, .8) 0 25%, transparent 0 50%, rgba(255, 255, 255, .8) 0 75%, transparent 0) 78% 42% / 92px 92px no-repeat,
    linear-gradient(90deg, transparent 0 14%, rgba(136, 64, 155, .22) 14% 86%, transparent 86%) 0 44% / 100% 4px no-repeat,
    conic-gradient(from 45deg, transparent 0 25%, rgba(238, 113, 130, .46) 0 50%, transparent 0) 28% 52% / 50px 50px no-repeat,
    linear-gradient(90deg, rgba(246, 200, 95, .5), rgba(246, 200, 95, .28)) 31% 59% / 72px 28px no-repeat,
    conic-gradient(from -135deg, transparent 0 25%, rgba(238, 113, 130, .46) 0 50%, transparent 0) 36% 52% / 50px 50px no-repeat,
    linear-gradient(180deg, rgba(255, 248, 232, .72), transparent 72%);
  opacity: .9;
  animation: candy-string-dance 5s ease-in-out infinite;
}

.page-golosinas .hero::after {
  content: "";
  position: absolute;
  right: 5%;
  bottom: 8%;
  z-index: -1;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, rgba(246, 200, 95, .66) 0 58px, transparent 60px),
    conic-gradient(from 25deg, rgba(238, 113, 130, .42), rgba(255, 255, 255, .88), rgba(114, 209, 208, .38), rgba(255, 255, 255, .88), rgba(168, 204, 69, .38), rgba(238, 113, 130, .42));
  opacity: .62;
  animation: candy-spin 12s linear infinite, soft-pop 3.3s ease-in-out infinite;
}

@keyframes candy-string-dance {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.page-golosinas .hero-grid {
  grid-template-columns: minmax(0, .9fr) minmax(430px, 1.1fr);
}

.page-golosinas .hero-stage {
  min-height: clamp(420px, 53vw, 640px);
}

.page-golosinas .stage-card {
  border-width: 7px;
  border-color: #fff;
  border-radius: 50%;
}

.page-golosinas .stage-card.primary {
  width: 70%;
  height: 70%;
  right: 9%;
  top: 6%;
}

.page-golosinas .stage-card.side {
  width: 38%;
  height: 38%;
  left: 2%;
  bottom: 15%;
}

.page-golosinas .stage-card.mini {
  width: 34%;
  height: 34%;
  right: 2%;
  bottom: 0;
}

.page-golosinas .service-gallery {
  position: relative;
  grid-template-columns: repeat(6, minmax(132px, 1fr));
  gap: clamp(14px, 1.7vw, 24px);
  align-items: center;
  padding: 26px 0 10px;
}

.page-golosinas .service-gallery::before {
  content: "";
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: 6px;
  height: 26px;
  z-index: 0;
  border-radius: 50%;
  background: linear-gradient(90deg, transparent, rgba(136, 64, 155, .12), rgba(238, 113, 130, .1), transparent);
  filter: blur(4px);
}

.page-golosinas .service-gallery .gallery-item {
  z-index: 1;
  border-radius: 50%;
  aspect-ratio: 1;
  transform: translateY(var(--sweet-y, 0)) rotate(var(--sweet-r, 0deg));
  animation: candy-display-bob 5.8s ease-in-out infinite;
  animation-delay: var(--sweet-delay, 0s);
}

.page-golosinas .service-gallery .gallery-item:nth-child(1) {
  --sweet-y: -12px;
  --sweet-r: -2deg;
  --sweet-delay: 0s;
}

.page-golosinas .service-gallery .gallery-item:nth-child(2) {
  --sweet-y: 18px;
  --sweet-r: 1.5deg;
  --sweet-delay: -.9s;
}

.page-golosinas .service-gallery .gallery-item:nth-child(3) {
  --sweet-y: -8px;
  --sweet-r: -1deg;
  --sweet-delay: -1.7s;
}

.page-golosinas .service-gallery .gallery-item:nth-child(4) {
  --sweet-y: 16px;
  --sweet-r: 1deg;
  --sweet-delay: -2.4s;
}

.page-golosinas .service-gallery .gallery-item:nth-child(5) {
  --sweet-y: -10px;
  --sweet-r: 2deg;
  --sweet-delay: -3.1s;
}

.page-golosinas .service-gallery .gallery-item:nth-child(6) {
  --sweet-y: 18px;
  --sweet-r: -1.5deg;
  --sweet-delay: -3.8s;
}

.page-golosinas .service-gallery .gallery-item:first-child {
  grid-row: auto;
}

.page-golosinas .service-gallery .gallery-item:hover {
  transform: translateY(calc(var(--sweet-y, 0) - 10px)) rotate(var(--sweet-r, 0deg)) scale(1.04);
}

@keyframes candy-display-bob {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -8px;
  }
}

@media (max-width: 1080px) {
  .page-golosinas .hero-grid,
  .page-golosinas .service-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-golosinas .service-gallery .gallery-item:first-child {
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .page-golosinas .hero {
    background:
      radial-gradient(circle at 18% 8%, rgba(246, 200, 95, .38) 0 82px, transparent 84px),
      radial-gradient(circle at 86% 30%, rgba(238, 113, 130, .2) 0 116px, transparent 118px),
      linear-gradient(180deg, #fff8e8, #f7eff8 58%, #edfafa);
  }

  .page-golosinas .hero-stage {
    min-height: 255px;
  }

  .page-golosinas .hero::after {
    right: 1%;
    bottom: 33%;
    width: 120px;
    height: 120px;
    opacity: .42;
  }

  .page-golosinas .stage-card.primary {
    width: 66%;
    height: 72%;
    right: 12%;
  }

  .page-golosinas .stage-card.side {
    width: 42%;
    height: 42%;
  }

  .page-golosinas .stage-card.mini {
    width: 36%;
    height: 36%;
  }

  .page-golosinas .service-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding-top: 8px;
  }

  .page-golosinas .service-gallery::before {
    display: none;
  }

  .page-golosinas .service-gallery .gallery-item {
    --sweet-y: 0 !important;
    --sweet-r: 0deg !important;
    border-radius: 22px;
    animation: none;
  }
}

.page-golosinas .hero::before {
  inset: 64px -8vw auto !important;
  height: min(32vh, 290px) !important;
  background-size: 108% 100% !important;
  background-position: center top !important;
  opacity: .76 !important;
  filter: drop-shadow(0 18px 24px rgba(36, 22, 45, .11)) saturate(1.1);
  transform-origin: top center;
  animation: upper-showpiece 7.8s ease-in-out infinite !important;
}
