/* ===== Shared "Treatment Options" med-card section for product pages ===== */
/* Themed per page via --tx-accent / --tx-accent-soft / --tx-img-bg on the .tx-meds element */
.tx-meds { padding: 90px 0; }
.tx-meds .tx-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.tx-meds-head { text-align: center; max-width: 660px; margin: 0 auto 50px; }
.tx-meds-head .tx-ey { display: inline-block; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; color: var(--tx-accent, #0a8f75); background: var(--tx-accent-soft, #e6f7f4); padding: 6px 16px; border-radius: 100px; margin-bottom: 16px; }
.tx-meds-head h2 { font-size: clamp(1.5rem, 3.2vw, 2.3rem); font-weight: 900; letter-spacing: -0.03em; color: #12241f; line-height: 1.15; }
.tx-meds-head p { margin-top: 12px; color: #64748b; font-size: 0.96rem; line-height: 1.6; }

.tx-med-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(244px, 1fr)); gap: 22px; }
.tx-med { display: flex; flex-direction: column; background: #fff; border: 1px solid #e8ecf1; border-radius: 20px; overflow: hidden; text-decoration: none; position: relative; transition: transform 0.35s cubic-bezier(.2,.7,.3,1), box-shadow 0.35s, border-color 0.35s; }
.tx-med:hover { transform: translateY(-8px); box-shadow: 0 24px 54px rgba(18,36,31,0.14); border-color: var(--tx-accent, #0a8f75); }
.tx-med-badge { position: absolute; top: 14px; left: 14px; z-index: 2; font-size: 0.62rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 11px; border-radius: 100px; background: var(--tx-accent, #0a8f75); color: #fff; box-shadow: 0 3px 10px rgba(0,0,0,0.14); }
.tx-med-img { height: 176px; display: flex; align-items: center; justify-content: center; background: var(--tx-img-bg, #f4f6f9); }
.tx-med-img img { max-height: 140px; width: auto; filter: drop-shadow(0 10px 18px rgba(0,0,0,0.16)); transition: transform 0.4s cubic-bezier(.2,.7,.3,1); }
.tx-med:hover .tx-med-img img { transform: scale(1.07); }
.tx-med-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.tx-med-price { display: flex; align-items: baseline; gap: 5px; margin-bottom: 7px; }
.tx-med-price .lbl { font-size: 0.72rem; color: #7a8599; font-weight: 600; }
.tx-med-price .amt { font-size: 1.5rem; font-weight: 900; letter-spacing: -0.02em; color: var(--tx-accent, #0a8f75); }
.tx-med-price .per { font-size: 0.72rem; color: #7a8599; }
.tx-med h3 { font-size: 1.06rem; font-weight: 800; color: #12241f; margin-bottom: 8px; letter-spacing: -0.01em; }
.tx-form { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.tx-form span { display: inline-flex; align-items: center; gap: 5px; font-size: 0.72rem; font-weight: 700; color: #4a5568; background: #f4f6f9; border: 1px solid #e8ecf1; padding: 3px 10px; border-radius: 100px; }
.tx-ing { font-size: 0.78rem; color: #7a8599; line-height: 1.55; flex: 1; }
.tx-ing b { color: #4a5568; font-weight: 700; }
.tx-med-btn { margin-top: 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 100px; font-size: 0.86rem; font-weight: 800; background: var(--tx-accent, #0a8f75); color: #fff; transition: filter 0.25s; }
.tx-med:hover .tx-med-btn { filter: brightness(1.09); }
.tx-med-btn svg { width: 15px; height: 15px; }
.tx-meds-note { text-align: center; max-width: 740px; margin: 38px auto 0; font-size: 0.77rem; color: #7a8599; line-height: 1.7; }

@media (max-width: 640px) {
  .tx-meds { padding: 58px 0; }
  .tx-med-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
}
