.product-interest-hp{
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.product-interest-host{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 950;
}

.product-interest-host[hidden]{
  display: none !important;
}

.product-interest-sheet{
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: min(356px, calc(100vw - 28px));
  max-height: min(68vh, 480px);
  overflow: auto;
  padding: 16px 16px 14px;
  border-radius: 18px;
  border: 1px solid rgba(30,64,175,0.16);
  background:
    radial-gradient(110% 110% at 100% 0%, rgba(37,99,235,0.10), transparent 52%),
    linear-gradient(180deg, rgba(255,255,255,0.985), rgba(248,250,252,0.98));
  box-shadow: 0 18px 38px rgba(15,23,42,0.16);
  backdrop-filter: blur(10px) saturate(135%);
  color: var(--text);
  pointer-events: auto;
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition: opacity .22s ease, transform .22s ease;
}

.product-interest-host.is-open .product-interest-sheet{
  opacity: 1;
  transform: translateY(0) scale(1);
}

.product-interest-host.is-cookie-blocked .product-interest-sheet{
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  pointer-events: none;
}

.product-interest-kicker{
  margin: 0 0 4px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.product-interest-step h2{
  margin: 0;
  padding-right: 28px;
  color: var(--text);
  font-size: clamp(1.08rem, 0.98rem + 0.42vw, 1.34rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
}

.product-interest-description{
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.42;
  font-size: 0.93rem;
}

.product-interest-choice-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.product-interest-choice{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(255,255,255,0.90);
  color: var(--text);
  font: inherit;
  font-size: 0.93rem;
  font-weight: 750;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .10s ease;
}

.product-interest-choice:hover,
.product-interest-choice:focus-visible{
  border-color: rgba(30,64,175,0.45);
  background: rgba(239,246,255,0.96);
  box-shadow: 0 0 0 2px rgba(37,99,235,0.10);
  outline: none;
}

.product-interest-choice:active{
  transform: translateY(1px);
}

.product-interest-choice.is-selected{
  border-color: rgba(30,64,175,0.55);
  background: rgba(37,99,235,0.10);
  color: var(--brand);
}

.product-interest-footnote,
.product-interest-privacy{
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.42;
  font-size: 0.84rem;
}

.product-interest-email-form{
  margin-top: 12px;
}

.product-interest-field{
  display: grid;
  gap: 6px;
  color: var(--text);
  font-weight: 700;
  font-size: 0.92rem;
}

.product-interest-field input{
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,0.12);
  background: #fff;
  color: var(--text);
  font: inherit;
}

.product-interest-field textarea{
  width: 100%;
  min-height: 82px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,0.12);
  background: #fff;
  color: var(--text);
  font: inherit;
  line-height: 1.4;
  resize: vertical;
}

.product-interest-field input:focus-visible,
.product-interest-field textarea:focus-visible{
  outline: none;
  border-color: rgba(30,64,175,0.45);
  box-shadow: 0 0 0 2px rgba(37,99,235,0.10);
}

.product-interest-other-panel{
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(15,23,42,0.08);
}

.product-interest-other-actions{
  display: flex;
  justify-content: flex-start;
  margin-top: 10px;
}

.product-interest-other-actions .btn{
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 11px;
  font-size: 0.88rem;
}

.product-interest-inline-hint{
  margin: 7px 0 0;
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--muted);
}

.product-interest-inline-hint[data-type="error"]{
  color: #b91c1c;
}

.product-interest-actions{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 12px;
}

.product-interest-actions .btn{
  min-width: 0;
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 11px;
  font-size: 0.9rem;
}

.product-interest-actions .btn:disabled,
.product-interest-other-actions .btn:disabled{
  opacity: 0.58;
  cursor: not-allowed;
  box-shadow: none;
}

.product-interest-close{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,0.08);
  background: rgba(255,255,255,0.92);
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.product-interest-close:hover,
.product-interest-close:focus-visible{
  border-color: rgba(30,64,175,0.32);
  background: rgba(239,246,255,0.96);
  color: var(--brand);
  outline: none;
}

.product-interest-message{
  margin: 10px 0 0;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.4;
}

.product-interest-message[data-type="success"]{
  color: var(--success);
}

.product-interest-message[data-type="error"]{
  color: #b91c1c;
}

[data-theme="dark"] .product-interest-sheet{
  border-color: rgba(96,165,250,0.18);
  background:
    radial-gradient(110% 110% at 100% 0%, rgba(59,130,246,0.18), transparent 50%),
    linear-gradient(180deg, rgba(15,23,42,0.98), rgba(15,23,42,0.96));
  color: rgba(255,255,255,0.92);
}

[data-theme="dark"] .product-interest-step h2,
[data-theme="dark"] .product-interest-field{
  color: rgba(255,255,255,0.94);
}

[data-theme="dark"] .product-interest-description,
[data-theme="dark"] .product-interest-footnote,
[data-theme="dark"] .product-interest-privacy,
[data-theme="dark"] .product-interest-close{
  color: rgba(255,255,255,0.72);
}

[data-theme="dark"] .product-interest-choice{
  border-color: rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.92);
}

[data-theme="dark"] .product-interest-choice:hover,
[data-theme="dark"] .product-interest-choice:focus-visible{
  border-color: rgba(96,165,250,0.4);
  background: rgba(59,130,246,0.16);
  box-shadow: 0 0 0 2px rgba(59,130,246,0.16);
}

[data-theme="dark"] .product-interest-choice.is-selected{
  border-color: rgba(96,165,250,0.52);
  background: rgba(59,130,246,0.22);
  color: #dbeafe;
}

[data-theme="dark"] .product-interest-field input,
[data-theme="dark"] .product-interest-field textarea{
  border-color: rgba(255,255,255,0.14);
  background: rgba(15,23,42,0.78);
  color: rgba(255,255,255,0.92);
}

[data-theme="dark"] .product-interest-other-panel{
  border-top-color: rgba(255,255,255,0.10);
}

[data-theme="dark"] .product-interest-inline-hint{
  color: rgba(255,255,255,0.64);
}

[data-theme="dark"] .product-interest-inline-hint[data-type="error"]{
  color: #fca5a5;
}

[data-theme="dark"] .product-interest-close{
  border-color: rgba(255,255,255,0.10);
  background: rgba(15,23,42,0.82);
}

[data-theme="dark"] .product-interest-close:hover,
[data-theme="dark"] .product-interest-close:focus-visible{
  border-color: rgba(96,165,250,0.36);
  background: rgba(37,99,235,0.20);
  color: #dbeafe;
}

@media (max-width: 640px){
  .product-interest-sheet{
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-height: min(58vh, 420px);
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
    border-radius: 18px 18px 0 0;
    border-right: none;
    border-bottom: none;
    border-left: none;
    border-top: 2px solid rgba(37,99,235,0.22);
    box-shadow: 0 -16px 36px rgba(15,23,42,0.16);
  }

  .product-interest-sheet::before{
    content: "";
    display: block;
    width: 34px;
    height: 4px;
    margin: 0 auto 10px;
    border-radius: 999px;
    background: rgba(148,163,184,0.52);
  }

  .product-interest-choice-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-interest-choice{
    min-height: 48px;
    padding: 9px 10px;
    font-size: 0.9rem;
  }

  .product-interest-actions{
    grid-template-columns: minmax(0, 1fr) minmax(92px, auto);
  }

  .product-interest-actions .btn,
  .product-interest-other-actions .btn{
    width: 100%;
  }
}

@media (max-width: 380px){
  .product-interest-choice-grid{
    grid-template-columns: 1fr;
  }

  .product-interest-actions{
    grid-template-columns: 1fr;
  }
}
