/* Hero action: responsive to the selected cup's accent, in both storefront themes. */
#heroMainCta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  gap: 14px;
  min-height: 54px;
  border-width: 1px;
  box-shadow: 0 0 0 3px rgba(var(--hero-accent-rgb), .12),
    0 0 26px rgba(var(--hero-accent-rgb), .30),
    0 10px 24px rgba(7, 17, 29, .18), inset 0 1px 0 #ffffff80 !important;
  transition: transform .22s ease, box-shadow .22s ease, background .3s ease;
  -webkit-tap-highlight-color: transparent;
}
#heroMainCta::before {
  content: '';
  position: absolute;
  inset: -80% auto -80% -50%;
  width: 35%;
  background: linear-gradient(90deg, transparent, #ffffff70, transparent);
  transform: skewX(-22deg);
  pointer-events: none;
}
#heroMainCta .hero-cta-label, #heroMainCta .hero-cta-arrows { position: relative; z-index: 1; }
#heroMainCta .hero-cta-arrows { flex: none; width: 43px; height: 24px; overflow: visible; }
#heroMainCta .hero-cta-arrows path:nth-child(1) { opacity: .30; }
#heroMainCta .hero-cta-arrows path:nth-child(2) { opacity: .60; }
#heroMainCta .hero-cta-arrows path:nth-child(3) { opacity: 1; }
#heroMainCta:is(:hover, :focus-visible) {
  transform: translateY(-3px);
  box-shadow: 0 0 0 5px rgba(var(--hero-accent-rgb), .18),
    0 0 40px rgba(var(--hero-accent-rgb), .52),
    0 16px 30px rgba(7, 17, 29, .22), inset 0 1px 0 #ffffffa0 !important;
}
#heroMainCta:is(:hover, :focus-visible)::before { animation: hero-cta-shine .7s ease-out both; }
#heroMainCta:is(:hover, :focus-visible) .hero-cta-arrows path { animation: hero-cta-arrow .85s ease-in-out infinite; }
#heroMainCta:is(:hover, :focus-visible) .hero-cta-arrows path:nth-child(2) { animation-delay: .12s; }
#heroMainCta:is(:hover, :focus-visible) .hero-cta-arrows path:nth-child(3) { animation-delay: .24s; }
#heroMainCta:focus-visible { outline: 3px solid #087b60; outline-offset: 7px; }
#heroMainCta:active { transform: translateY(0) scale(.98); }
@keyframes hero-cta-shine { to { left: 130%; } }
@keyframes hero-cta-arrow { 50% { transform: translateX(-3px); opacity: 1; } }
@media(max-width:480px) { #heroMainCta { gap: 9px; } #heroMainCta .hero-cta-arrows { width: 33px; height: 20px; } }
@media(prefers-reduced-motion:reduce) {
  #heroMainCta, #heroMainCta::before, #heroMainCta .hero-cta-arrows path { animation: none !important; transition: none !important; }
  #heroMainCta:is(:hover,:focus-visible,:active) { transform: none; }
}
