/* Library tokens mapped to Webflow Variables, with fallbacks */
:host,
:host {
  --hu-color-foreground: var(--huniverse--foreground, #140240);
  --hu-color-primary: var(--huniverse--primary-base, #642ece);
  --hu-color-white: var(--huniverse--white, #ffffff);
  --hu-color-secondary: var(--huniverse--secondary, #f3f5fb);
  --hu-color-accent-soft: var(--_design-tokens---colors--accent--soft, #e8deff);
  --hu-color-accent-faint: var(--_design-tokens---colors--accent--faint, #fdf1ff);
  --hu-color-text-muted: var(--_design-tokens---colors--text--muted, #7b7a8e);
  --hu-color-border-default: var(--_design-tokens---colors--border--default, #d9d9d9);
  --hu-color-border-input: var(--_design-tokens---colors--border--input, #e4e6f0);

  --hu-font-body: var(--_design-tokens---typography--body, "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif);

  --hu-nav-height: var(--_design-tokens---size--80, 80px);

  --hu-radius-6: var(--_design-tokens---radius--6, 6px);
  --hu-radius-16: var(--_design-tokens---radius--16, 16px);
  --hu-radius-20: var(--_design-tokens---radius--20, 20px);
  --hu-duration-fast: 160ms;
  --hu-duration-state: 320ms;
  --hu-duration-slow: 420ms;
  --hu-ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);

  --hu-shadow-panel:
    0 60px 120px -70px color-mix(in srgb, var(--hu-color-foreground) 50%, transparent),
    0 24px 48px -36px color-mix(in srgb, var(--hu-color-foreground) 20%, transparent);
  --hu-shadow-panel-hero:
    0 80px 160px -80px color-mix(in srgb, var(--hu-color-foreground) 50%, transparent),
    0 30px 60px -40px color-mix(in srgb, var(--hu-color-foreground) 24%, transparent),
    0 0 0 1px color-mix(in srgb, var(--hu-color-foreground) 3%, transparent);

  /* Product-only colors */
  --hu-product-fit-mid: var(--hv-success, #1d7a55);
  --hu-product-fit-mid-fg: var(--hv-success, #176b4a);
  --hu-product-area-adattamento: #c4761a;
}

.nY7zX6iQzhl3cFY9byAV {
  box-sizing: border-box;
  position: relative;
  width: clamp(260px, 26vw, 348px);
  aspect-ratio: 400 / 490;
  font-family: var(--hu-font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  --shadow: 0 40px 70px -40px rgba(20, 2, 64, 0.5), 0 12px 28px -18px rgba(20, 2, 64, 0.3);
  animation: Lu9URE96BBAnvIUyiKpQ 0.8s cubic-bezier(0.2, 0.9, 0.3, 1) 0.18s both;
}
.nY7zX6iQzhl3cFY9byAV[data-tema="scuro"] { --shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.85), 0 12px 28px -18px rgba(0, 0, 0, 0.6); }
.nY7zX6iQzhl3cFY9byAV *,
.nY7zX6iQzhl3cFY9byAV *::before,
.nY7zX6iQzhl3cFY9byAV *::after { box-sizing: border-box; }
.nY7zX6iQzhl3cFY9byAV p { margin: 0; padding: 0; }

.jQeoxOFuJo2vUI2m2eVw { position: absolute; inset: 0; transform-origin: 50% 100%; }
.j97X0mALPsjEuq9gMTMO { transform: translateY(28px) scale(0.9) rotate(-5deg); }
.LvSyjwBlWnZajMKghx1g { transform: translateY(14px) scale(0.95) rotate(4deg); }
.cd_wY7yePwmDc6ufJ1UB { animation: g_n_99HOI6nHVL19olW6 5.5s ease-in-out infinite; }

.momXOe2gglz5UgzBhhCA {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  background: var(--bg);
  color: var(--fg);
  overflow: hidden;
  container-type: size;
  box-shadow: var(--shadow), inset 0 0 0 1px var(--edge), inset 0 1px #fff6;
  user-select: none;
}
.ZftZRONxQCzkybJzRmeT { --bg: #642ece; --fg: #ffffff; --muted: #d8cbf3; --edge: rgba(255, 255, 255, 0.22); }
.bRKlFE4Xs1Z0TJP8Glcn { --bg: #b794f4; --fg: #140240; --muted: #3d276d; --edge: transparent; }
.GAWwOuy7wnxFif_iIRcO { --bg: #f1ecff; --fg: #140240; --muted: #4b3d70; --edge: transparent; }

.LKRNCJhyuABeqzpWbsaZ { height: 100%; padding: 32px 28px 24px; display: flex; flex-direction: column; }
/* Font size scales with card width */
.Fg99mQO6oYVwgYUsjQ7L { flex: 0 0 auto; font-size: calc(9.29cqw - 1.82px); font-weight: 500; line-height: 1.16; letter-spacing: -0.03em; text-wrap: pretty; }
.FR3zRxobMfqbLlHMWsrg { position: relative; flex: 1 1 0%; min-height: 56px; }
.z6zADjpcJJVNDXYCntkJ {
  position: absolute;
  top: 50%;
  left: -4px;
  padding: 4px 18px 6px;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  white-space: nowrap;
  transform: translateY(-50%) rotate(-9deg);
}
.M6DviClZbUjUXAVTDwz0 { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.ogZ4Zkv9F7orDG1ugvi3 { font-size: 14px; line-height: 1.3; color: var(--muted); }
.GemwYQwhYDNKTs98gWlX { display: flex; flex-direction: column; align-items: flex-end; font-size: 64px; font-weight: 500; line-height: 0.8; letter-spacing: -0.05em; font-variant-numeric: lining-nums tabular-nums; }
.GemwYQwhYDNKTs98gWlX small { margin-bottom: 8px; font-size: 12.5px; font-weight: 500; line-height: 1.2; letter-spacing: 0; color: var(--muted); }

/* Tighter layout on shorter cards */
@container (max-height: 460px) {
  .LKRNCJhyuABeqzpWbsaZ { padding: 26px 24px 20px; }
  .FR3zRxobMfqbLlHMWsrg { min-height: 44px; }
  .z6zADjpcJJVNDXYCntkJ { font-size: 26px; }
  .GemwYQwhYDNKTs98gWlX { font-size: 52px; }
}
@container (max-height: 360px) {
  .LKRNCJhyuABeqzpWbsaZ { padding: 22px 22px 18px; }
  .FR3zRxobMfqbLlHMWsrg { min-height: 28px; }
  .GemwYQwhYDNKTs98gWlX { font-size: 42px; }
  .GemwYQwhYDNKTs98gWlX small { margin-bottom: 5px; }
}

@keyframes g_n_99HOI6nHVL19olW6 { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2.5deg) translateY(-6px); } }
@keyframes Lu9URE96BBAnvIUyiKpQ { 0% { opacity: 0; transform: translateY(18px); } }

@media (max-width: 991px) { .nY7zX6iQzhl3cFY9byAV { width: min(74vw, 320px); } }
@media (prefers-reduced-motion: reduce) { .nY7zX6iQzhl3cFY9byAV, .cd_wY7yePwmDc6ufJ1UB { animation: none; } }

