:root {
  --tht-button-blue: #265E9A;
  --tht-button-blue-hover: #214f82;
  --tht-button-text: #ffffff;
  --tht-button-radius: 15px;
  --tht-font-family: "Josefin Sans", sans-serif;
}

.tht-assessment-popup-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 56px;
  padding: 16px 28px;
  border: 0;
  border-radius: var(--tht-button-radius);
  background: var(--tht-button-blue);
  color: var(--tht-button-text);
  font-family: var(--tht-font-family);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.1;
  box-shadow: none;
  cursor: pointer;
  transition: background-color .18s ease, transform .15s ease, box-shadow .18s ease;
  text-decoration: none;
}
.tht-assessment-popup-button:hover,
.tht-assessment-popup-button:focus-visible {
  background: var(--tht-button-blue-hover);
  color: var(--tht-button-text);
  transform: translateY(-1px);
  box-shadow: 0 15px 25px -7px rgba(38, 94, 154, .28);
}
.tht-assessment-popup-button:focus-visible {
  outline: 2px solid rgba(38, 94, 154, .25);
  outline-offset: 2px;
}
.tht-assessment-modal[hidden] { display: none !important; }
.tht-assessment-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.tht-assessment-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .65);
}
.tht-assessment-modal__dialog {
  position: relative;
  width: min(920px, 100%);
  max-height: min(92vh, 1000px);
  overflow: auto;
  z-index: 2;
  border-radius: 20px;
}
.tht-hearing-price-modal__dialog {
  background: #fff;
  box-shadow: 0 24px 80px rgba(15, 23, 42, .24);
}
.tht-assessment-modal__close {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, .12);
  background: #fff;
  color: #0f172a;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .12);
}
body.tht-assessment-modal-open { overflow: hidden; }

.tht-hearing-price-widget,
.tht-hearing-price-widget * { box-sizing: border-box; }

.tht-hearing-price-widget {
  --tht-blue-base:#005c90;
  --tht-blue-dark:#004570;
  --tht-blue-light:#0088cc;
  --tht-blue-sky:#33a7dd;
  --tht-gray-bg:#f2f7fb;
  --tht-gray-border:#c8dff0;
  --tht-white:#ffffff;
  --tht-text-dark:#0d2233;
  --tht-text-mid:#2c5070;
  --tht-text-light:#5b7e9a;
  --tht-success:#1a8f62;
  --tht-warning:#d97000;
  --tht-fail:#c03030;
  width:100%;
  max-width:700px;
  margin:0 auto;
  background:var(--tht-white);
  border-radius:16px;
  box-shadow:0 8px 40px rgba(0,92,144,.14);
  overflow:hidden;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--tht-text-dark);
}

.tht-hearing-price-widget .tht-hdr {
  background:linear-gradient(135deg,var(--tht-blue-dark) 0%,var(--tht-blue-base) 55%,var(--tht-blue-sky) 100%);
  padding:22px 24px 18px;
  text-align:center;
  position:relative;
  overflow:hidden;
}
.tht-hearing-price-widget .tht-hdr:before,
.tht-hearing-price-widget .tht-hdr:after {
  content:"";
  position:absolute;
  border-radius:50%;
  background:rgba(255,255,255,.06);
}
.tht-hearing-price-widget .tht-hdr:before { top:-40px; right:-40px; width:180px; height:180px; }
.tht-hearing-price-widget .tht-hdr:after { bottom:-30px; left:-30px; width:120px; height:120px; background:rgba(255,255,255,.05); }
.tht-hearing-price-widget .tht-logo-wrap { margin-bottom:10px; position:relative; z-index:1; }
.tht-hearing-price-widget .tht-logo-wrap img { height:64px; max-width:100%; object-fit:contain; }
.tht-hearing-price-widget .tht-fallback-logo {
  display:inline-flex; align-items:center; justify-content:center;
  width:64px; height:64px; border-radius:50%;
  background:rgba(255,255,255,.14); color:#fff; font-size:28px; font-weight:700;
}
.tht-hearing-price-widget .tht-hdr h2 { margin:0; font-size:1.2rem; line-height:1.25; font-weight:700; color:#fff; position:relative; z-index:1; }
.tht-hearing-price-widget .tht-hdr p { margin:10px auto 0; max-width:560px; font-size:.94rem; line-height:1.55; color:rgba(255,255,255,.92); position:relative; z-index:1; }

.tht-hearing-price-widget .tht-notice {
  display:flex; gap:10px; align-items:flex-start;
  background:#eef7fd; border-bottom:1px solid var(--tht-gray-border);
  padding:14px 18px; font-size:.92rem; line-height:1.5; color:var(--tht-text-mid);
}

.tht-hearing-price-widget .tht-steps {
  display:flex; align-items:center; justify-content:center;
  gap:10px; padding:18px 18px 10px; background:var(--tht-white);
}
.tht-hearing-price-widget .tht-dot {
  width:34px; height:34px; border-radius:999px;
  display:flex; align-items:center; justify-content:center;
  border:2px solid var(--tht-gray-border); color:var(--tht-text-light);
  font-weight:700; background:#fff; transition:all .25s ease;
}
.tht-hearing-price-widget .tht-dot.active {
  background:var(--tht-blue-base); border-color:var(--tht-blue-base); color:#fff;
  box-shadow:0 6px 18px rgba(0,92,144,.25);
}
.tht-hearing-price-widget .tht-dot.done {
  background:#e7f7ef; border-color:#8ed5b4; color:var(--tht-success);
}
.tht-hearing-price-widget .tht-sline {
  height:2px; width:68px; background:var(--tht-gray-border); transition:background .25s ease;
}
.tht-hearing-price-widget .tht-sline.done { background:var(--tht-success); }
.tht-hearing-price-widget .tht-slabels {
  display:grid; grid-template-columns:repeat(5,1fr); gap:8px;
  padding:0 22px 18px; text-align:center;
}
.tht-hearing-price-widget .tht-slabel { font-size:.78rem; color:var(--tht-text-light); font-weight:600; }
.tht-hearing-price-widget .tht-slabel.active { color:var(--tht-blue-base); }

.tht-hearing-price-widget .tht-content { padding:0 18px 22px; background:var(--tht-white); }
.tht-hearing-price-widget .tht-screen { display:none; }
.tht-hearing-price-widget .tht-screen.active { display:block; }
.tht-hearing-price-widget .tht-card {
  background:var(--tht-white);
  border:1px solid #e5eef6;
  border-radius:18px;
  padding:22px;
  box-shadow:0 8px 28px rgba(13,34,51,.06);
}
.tht-hearing-price-widget .tht-intro-copy { margin:0 0 18px; font-size:1rem; line-height:1.7; color:var(--tht-text-mid); }
.tht-hearing-price-widget .tht-mini-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin:0 0 18px; }
.tht-hearing-price-widget .tht-mini-stat { background:var(--tht-gray-bg); border:1px solid var(--tht-gray-border); border-radius:14px; padding:14px; }
.tht-hearing-price-widget .tht-mini-stat strong { display:block; margin-bottom:4px; color:var(--tht-blue-dark); font-size:.98rem; }
.tht-hearing-price-widget .tht-mini-stat span { display:block; color:var(--tht-text-light); font-size:.86rem; line-height:1.45; }

.tht-hearing-price-widget .tht-progress-wrap { padding:14px 2px 14px; }
.tht-hearing-price-widget .tht-progress-meta {
  display:flex; justify-content:space-between; gap:12px; align-items:center;
  font-size:.86rem; color:var(--tht-text-light); margin-bottom:8px;
}
.tht-hearing-price-widget .tht-progress-bar { height:10px; background:#eaf3fa; border-radius:999px; overflow:hidden; }
.tht-hearing-price-widget .tht-progress-fill { height:100%; width:20%; background:linear-gradient(90deg,var(--tht-blue-base),var(--tht-blue-sky)); border-radius:999px; }

.tht-hearing-price-widget .tht-question-title { margin:0 0 8px; font-size:1.15rem; line-height:1.4; color:var(--tht-text-dark); }
.tht-hearing-price-widget .tht-question-note { margin:0 0 16px; color:var(--tht-text-light); line-height:1.6; font-size:.92rem; }
.tht-hearing-price-widget .tht-option-list { display:grid; gap:12px; }
.tht-hearing-price-widget .tht-option {
  display:flex; gap:12px; align-items:flex-start; cursor:pointer;
  border:1.5px solid #d9e6f2; border-radius:14px; padding:14px 16px;
  transition:all .2s ease; background:#fff;
}
.tht-hearing-price-widget .tht-option:hover { border-color:#9dc8e4; background:#f8fcff; }
.tht-hearing-price-widget .tht-option.selected { border-color:var(--tht-blue-base); background:#f1f8fe; box-shadow:0 10px 22px rgba(0,92,144,.08); }
.tht-hearing-price-widget .tht-option input { margin-top:3px; }
.tht-hearing-price-widget .tht-option strong { display:block; font-size:.98rem; color:var(--tht-text-dark); margin-bottom:4px; }
.tht-hearing-price-widget .tht-option small { display:block; font-size:.85rem; color:var(--tht-text-light); line-height:1.45; }

.tht-hearing-price-widget .tht-alert { display:none; margin-top:14px; padding:12px 14px; border-radius:12px; background:#fff7e9; border:1px solid #ffd48b; color:#8a5200; font-size:.88rem; font-weight:600; }
.tht-hearing-price-widget .tht-alert.active { display:block; }

.tht-hearing-price-widget .tht-nav { display:flex; justify-content:space-between; gap:12px; margin-top:16px; }
.tht-hearing-price-widget .tht-btn {
  appearance:none; border:none; border-radius:999px; padding:13px 18px; font-size:.95rem; font-weight:800;
  cursor:pointer; transition:all .22s ease; line-height:1.2; text-decoration:none;
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
}
.tht-hearing-price-widget .tht-btn-primary { background:var(--tht-blue-base); color:#fff; box-shadow:0 8px 18px rgba(0,92,144,.18); }
.tht-hearing-price-widget .tht-btn-primary:hover { background:var(--tht-blue-dark); transform:translateY(-1px); }
.tht-hearing-price-widget .tht-btn-secondary { background:#edf4f9; color:var(--tht-text-dark); border:1px solid var(--tht-gray-border); }
.tht-hearing-price-widget .tht-btn-secondary:hover { background:#e3edf5; }

.tht-hearing-price-widget .tht-recommendation { padding-top:6px; }
.tht-hearing-price-widget .tht-result-copy,
.tht-hearing-price-widget .tht-result-note { color:#4a5568; line-height:1.65; margin:0 0 18px; }
.tht-hearing-price-widget .tht-price-box {
  background:#fff; padding:25px; border-radius:16px; margin:20px 0;
  border-left:4px solid var(--tht-success); box-shadow:0 2px 12px rgba(0,0,0,0.05);
}
.tht-hearing-price-widget .tht-plan-name { font-size:20px; font-weight:700; color:var(--tht-success); margin-bottom:8px; }
.tht-hearing-price-widget .tht-price-range { font-size:24px; font-weight:800; color:#2d3748; margin-bottom:16px; line-height:1.3; }
.tht-hearing-price-widget .tht-plan-description { color:#4a5568; line-height:1.6; margin-bottom:20px; }
.tht-hearing-price-widget .tht-insurance-note { background:#e8f5e8; border:1px solid var(--tht-success); border-radius:8px; padding:15px; margin-top:15px; color:#2e7d32; font-weight:500; }
.tht-hearing-price-widget .tht-cta-section { background:#2c3e50; color:white; padding:25px; border-radius:16px; margin-top:20px; text-align:center; }
.tht-hearing-price-widget .tht-cta-copy { font-size:1.15rem; font-weight:600; margin-bottom:15px; line-height:1.5; }
.tht-hearing-price-widget .tht-retake-wrap { text-align:center; margin-top:24px; padding-top:18px; border-top:1px solid #dde5eb; }
.tht-hearing-price-widget .tht-form-shell { margin-top:20px; }
.tht-hearing-price-widget .tht-ghl-embed { width:100%; min-height:700px; border:0; border-radius:12px; box-shadow:0 4px 20px rgba(0,0,0,0.1); background:#fff; }

@media (max-width: 768px) {
  .tht-hearing-price-widget .tht-content { padding:0 14px 18px; }
  .tht-hearing-price-widget .tht-card { padding:18px; }
  .tht-hearing-price-widget .tht-mini-grid { grid-template-columns:1fr; }
  .tht-hearing-price-widget .tht-slabels { grid-template-columns:repeat(5, minmax(0, 1fr)); gap:4px; padding:0 8px 16px; }
  .tht-hearing-price-widget .tht-slabel { font-size:.68rem; }
  .tht-hearing-price-widget .tht-steps { gap:6px; padding:14px 8px 10px; }
  .tht-hearing-price-widget .tht-sline { width:100%; }
  .tht-hearing-price-widget .tht-nav { flex-direction:column; }
  .tht-hearing-price-widget .tht-nav .tht-btn { width:100%; }
}
