/* "View the menu before you buy" card under the product image. */
.try-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 15rem;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 1.75rem;
  overflow: hidden;
  border: 1px solid rgba(126, 63, 219, 0.3);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 85% 50%, rgba(126, 63, 219, 0.28), transparent 55%),
    radial-gradient(rgba(197, 151, 241, 0.12) 1px, transparent 1px) 0 0 / 22px 22px,
    rgba(255, 255, 255, 0.035);
  color: #fff;
  text-decoration: none;
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.try-cta:hover, .try-cta:focus-visible {
  border-color: rgba(197, 151, 241, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 24px 50px -30px rgba(126, 63, 219, 0.9);
}
.try-cta:focus-visible { outline: 2px solid #c597f1; outline-offset: 3px; }

.try-cta-text { display: grid; gap: 0.45rem; min-width: 0; }
.try-cta-kicker {
  display: inline-flex; align-items: center; gap: 0.4rem; width: max-content;
  color: #c597f1; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.try-cta-kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #c597f1; animation: try-cta-pulse 1.6s infinite; }
.try-cta-title { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.try-cta-desc { color: rgba(255, 255, 255, 0.7); font-size: 0.875rem; line-height: 1.6; }
.try-cta-btn {
  display: inline-flex; align-items: center; gap: 0.5rem; width: max-content; margin-top: 0.5rem;
  padding: 0.65rem 1.1rem; border-radius: 1rem; background: #fff; color: #080812; font-size: 0.875rem; font-weight: 700;
}
.try-cta-btn svg { width: 1rem; height: 1rem; transition: transform 200ms ease; }
.try-cta:hover .try-cta-btn svg { transform: translateX(3px); }

/* Mini menu preview with a pointer flicking a toggle. */
.try-cta-art { display: grid; place-items: center; }
.try-cta-win {
  position: relative; display: grid; gap: 0.5rem; width: 100%; padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 0.9rem; background: #0e0f14;
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.9);
  transform: rotate(-3deg);
  transition: transform 300ms ease;
}
.try-cta:hover .try-cta-win { transform: rotate(0deg) scale(1.03); }
.try-cta-bar { display: flex; gap: 4px; margin-bottom: 0.15rem; }
.try-cta-bar i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.try-cta-row {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.5rem 0.6rem; border-radius: 0.5rem; background: rgba(20, 22, 33, 0.9);
}
.try-cta-row b { width: 55%; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.25); }
.try-cta-row:nth-child(3) b { width: 40%; }
.try-cta-row em { width: 16px; height: 16px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, 0.15); background: #0b0c10; }
.try-cta-row em.is-on { border-color: transparent; background: #8b45f0; }
.try-cta-row:nth-child(3) em { animation: try-cta-toggle 3.2s infinite; }
.try-cta-slider { position: relative; width: 45%; height: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); }
.try-cta-slider s { position: absolute; left: 0; top: 0; bottom: 0; width: 40%; border-radius: inherit; background: #8b45f0; animation: try-cta-slide 3.2s ease-in-out infinite; }
.try-cta-pointer {
  position: absolute; right: 1.1rem; top: 3.4rem; width: 14px; height: 14px;
  background: #fff; clip-path: polygon(0 0, 100% 62%, 52% 62%, 30% 100%);
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.6));
  animation: try-cta-point 3.2s ease-in-out infinite;
}

@keyframes try-cta-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes try-cta-toggle { 0%, 30% { background: #0b0c10; border-color: rgba(255, 255, 255, 0.15); } 36%, 100% { background: #8b45f0; border-color: transparent; } }
@keyframes try-cta-slide { 0%, 45% { width: 40%; } 70%, 85% { width: 85%; } 100% { width: 40%; } }
@keyframes try-cta-point {
  0% { transform: translate(14px, 18px); }
  28% { transform: translate(0, 0); }
  34% { transform: translate(0, 0) scale(0.85); }
  40% { transform: translate(0, 0); }
  60% { transform: translate(-60px, 38px); }
  80% { transform: translate(-28px, 38px); }
  100% { transform: translate(14px, 18px); }
}

@media (max-width: 640px) {
  .try-cta { grid-template-columns: minmax(0, 1fr); padding: 1.25rem; }
  .try-cta-art { display: none; }
  .try-cta-title { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .try-cta-kicker::before, .try-cta-row:nth-child(3) em, .try-cta-slider s, .try-cta-pointer { animation: none; }
}
