/* THERATEX purchase/recommendation chooser. Namespaced; original testimonials CSS unchanged. */
.tpa-choice-modal[hidden]{display:none!important}
.tpa-choice-modal,.tpa-choice-modal *{box-sizing:border-box}
.tpa-choice-modal{--tpa-choice-blue:#0a4e98;--tpa-choice-dark:#073b75;--tpa-choice-gold:#f2bd38;position:fixed!important;inset:0!important;z-index:1000001!important;display:flex;justify-content:center;align-items:center;overflow-y:auto;padding:18px;background:rgba(4,23,52,.7);-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);color:#153456;font-family:Arial,Helvetica,sans-serif}
.tpa-choice-frame{position:relative;width:min(1020px,100%);max-height:calc(100dvh - 36px);overflow-y:auto;padding:clamp(19px,3vw,35px);border-radius:26px;background:linear-gradient(155deg,#fff 12%,#f5faff 100%);box-shadow:0 27px 80px rgba(0,20,47,.38)}
.tpa-choice-close{position:absolute;right:14px;top:12px;display:grid;place-items:center;width:43px;height:43px;padding:0;border:1px solid #deebf6;border-radius:50%;background:white;color:#123b6d;font-size:29px;line-height:1;cursor:pointer;z-index:2}
.tpa-choice-close:hover{background:#edf7ff}
.tpa-choice-head{text-align:center;padding:0 36px 18px}
.tpa-choice-eyebrow{color:#0a67b6;font-size:12px;letter-spacing:2.5px;font-weight:800}
.tpa-choice-head h2{color:#093d7b!important;font-size:clamp(23px,3vw,32px)!important;font-weight:800!important;line-height:1.18!important;margin:8px 0 7px!important}
.tpa-choice-subtitle{min-height:19px;margin:0!important;color:#53708b!important;font-size:14px!important;line-height:1.45!important}
.tpa-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:22px}
.tpa-choice-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #d6e6f5;border-radius:21px;background:#fff;box-shadow:0 10px 28px rgba(12,58,100,.11);transition:transform .2s ease,box-shadow .2s ease}
.tpa-choice-card:hover{transform:translateY(-3px);box-shadow:0 15px 34px rgba(8,51,91,.17)}
.tpa-choice-image-wrap{height:clamp(170px,20vw,220px);min-height:160px;overflow:hidden;background:linear-gradient(125deg,#dff1ff,#eef8ff)}
.tpa-choice-image-wrap img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.tpa-choice-card-body{flex:1;display:flex;flex-direction:column;align-items:stretch;padding:22px 23px 23px}
.tpa-choice-tag{display:block;color:#2a78b5;font-size:11px;font-weight:800;letter-spacing:1.7px;margin-bottom:9px}
.tpa-choice-card h3{font-size:clamp(19px,2.2vw,23px)!important;color:#083c75!important;line-height:1.2!important;font-weight:800!important;margin:0 0 8px!important}
.tpa-choice-card-body > p{color:#496583!important;font-size:15px!important;line-height:1.52!important;margin:0 0 15px!important}
.tpa-choice-button{appearance:none;display:flex;align-items:center;justify-content:center;gap:13px;width:100%;min-height:48px;padding:11px 15px;border:2px solid #0d5cae;border-radius:13px;font-family:Arial,Helvetica,sans-serif;font-size:15px;font-weight:800;line-height:1.24;cursor:pointer;transition:background .2s,transform .2s,box-shadow .2s;white-space:normal;text-align:center}
.tpa-choice-button span{font-size:20px;line-height:1}
.tpa-choice-button-primary{background:#0756a3;color:#fff!important;border-color:#0756a3;box-shadow:0 5px 14px rgba(5,79,157,.15)}
.tpa-choice-button-outline{background:#fff;color:#0756a3!important;border-color:#0a63b7}
.tpa-choice-button:hover:not(:disabled){transform:translateY(-2px);background:#053d7b;color:#fff!important;box-shadow:0 6px 16px rgba(5,79,157,.26)}
.tpa-choice-button:disabled{cursor:not-allowed;opacity:.57;box-shadow:none}
.tpa-choice-feedback{min-height:40px;margin-top:auto;padding:10px 0;color:#52728f;font-size:13px;line-height:1.35}
.tpa-choice-feedback.is-notice{color:#9a5008}
.tpa-choice-feedback.is-success{color:#21724c}
.tpa-choice-spacer{flex:1;min-height:40px}
.tpa-choice-legacy{display:block;text-align:center;margin-top:10px;color:#135994!important;font-size:13px;text-decoration:underline!important}
.tpa-choice-legacy[hidden]{display:none!important}
.tpa-choice-back{appearance:none;display:block;margin:16px auto 0;border:0;background:none;color:#215681;font-weight:700;font-size:14px;cursor:pointer;padding:7px 14px}
.tpa-choice-back:hover{color:#063b75;text-decoration:underline}
.tpa-choice-variation{display:grid;gap:9px;max-width:100%;margin:0 0 4px}
.tpa-choice-variation[hidden]{display:none!important}
.tpa-choice-variation-intro{font-size:13px!important;color:#285c8c!important;line-height:1.4!important;font-weight:700!important;margin:0 0 2px!important}
.tpa-choice-field{display:grid;gap:5px}
.tpa-choice-field label{color:#1d4c7b!important;font-size:12px!important;font-weight:800!important;margin:0!important}
.tpa-choice-field select{display:block;width:100%;max-width:100%;min-height:40px;padding:8px 12px;border:1px solid #bed5e9;border-radius:8px;background:#fff;color:#0b345c;font:inherit;font-size:14px}
.tpa-choice-modal :is(button,select,a):focus-visible{outline:3px solid #e7af25;outline-offset:3px}
@media(max-width:700px){.tpa-choice-modal{align-items:flex-start;padding:9px 7px}.tpa-choice-frame{max-height:calc(100dvh - 18px);padding:19px 14px;border-radius:19px}.tpa-choice-head{padding:1px 28px 17px}.tpa-choice-head h2{font-size:24px!important}.tpa-choice-grid{grid-template-columns:1fr;gap:14px}.tpa-choice-image-wrap{height:172px}.tpa-choice-card-body{padding:16px 18px 18px}.tpa-choice-spacer{min-height:0}.tpa-choice-feedback{min-height:24px}.tpa-choice-close{width:36px;height:36px;right:7px;top:6px;font-size:25px}}
@media(max-width:390px){.tpa-choice-modal{padding:4px}.tpa-choice-head{padding-inline:18px}.tpa-choice-image-wrap{height:145px}.tpa-choice-card-body{padding:14px}.tpa-choice-frame{max-height:calc(100dvh - 8px)}}
@media(prefers-reduced-motion:reduce){.tpa-choice-card,.tpa-choice-button{transition:none!important}}
/* Compact, readable dual-choice view on phones; forms can still scroll if needed. */
@media(max-width:700px){
  .tpa-choice-head{padding-bottom:10px}
  .tpa-choice-head h2{font-size:21px!important;margin-top:6px!important}
  .tpa-choice-subtitle{font-size:12px!important}
  .tpa-choice-grid{gap:10px}
  .tpa-choice-image-wrap{height:122px;min-height:122px}
  .tpa-choice-card-body{padding:12px 15px 14px}
  .tpa-choice-tag{font-size:10px;margin-bottom:5px}
  .tpa-choice-card h3{font-size:18px!important;margin-bottom:5px!important}
  .tpa-choice-card-body>p{font-size:13px!important;line-height:1.38!important;margin-bottom:7px!important}
  .tpa-choice-feedback{min-height:22px;padding:5px 0;font-size:12px}
  .tpa-choice-spacer{min-height:3px}
  .tpa-choice-button{min-height:43px;padding:8px 10px;font-size:14px}
  .tpa-choice-back{margin-top:8px}
}
