/* Phase 17C premium treatment listing and detail */
html.treatment-page-root,
html.treatment-page-root body,
body.page-treatments {
  inline-size: 100%;
  max-inline-size: 100%;
  margin: 0;
  overflow-x: clip;
}

body.page-treatments,
body.page-treatments main,
body.page-treatments .txc,
.treatment-listing-shell,
.treatment-detail-shell {
  inline-size: 100%;
  max-inline-size: 100%;
  min-inline-size: 0;
  box-sizing: border-box;
}

body.page-treatments *,
body.page-treatments *::before,
body.page-treatments *::after { box-sizing: border-box; }

body.page-treatments .hp-header,
body.page-treatments .mobile-action-bar,
body.page-treatments .hp-mab {
  inset-inline: 0;
  inline-size: 100%;
  max-inline-size: 100%;
}

body.page-treatments .hp-header__inner {
  gap: 6px;
  padding-inline: 12px;
  inline-size: 100%;
  min-inline-size: 0;
  max-inline-size: 100%;
  overflow: hidden;
}

@media (min-width: 768px) {
  body.page-treatments .hp-header__inner {
    inline-size: min(100% - 40px, 1240px);
    max-inline-size: 1240px;
    margin-inline: auto;
    padding-inline: 0;
  }
}

@media (min-width: 1200px) {
  body.page-treatments .hp-header__inner {
    inline-size: min(100% - 64px, 1240px);
  }
}

body.page-treatments .hp-brand { min-inline-size: 0; flex: 1 1 auto; }
body.page-treatments .hp-brand__name {
  max-inline-size: 100%;
  overflow: hidden;
  font-size: .95rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.page-treatments .hp-header__actions { flex: 0 0 auto; min-inline-size: 0; gap: 4px; }
body.page-treatments .hp-mab__grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
body.page-treatments .hp-mab__btn { min-inline-size: 0; max-inline-size: 100%; white-space: normal; overflow-wrap: anywhere; }

.txc {
  --txc-blue: #0b5686;
  --txc-blue-deep: #073c62;
  --txc-teal: #138b87;
  --txc-soft: #edf6f8;
  --txc-line: #d8e5eb;
  --txc-ink: #12263a;
  --txc-muted: #5b6d7c;
  --txc-radius: 17px;
  --txc-pad: 12px;
  inline-size: 100%;
  max-inline-size: 100%;
  min-inline-size: 0;
  padding-block-end: calc(78px + env(safe-area-inset-bottom, 0px));
  overflow-x: clip;
  background: #f4f8fa;
  color: var(--txc-ink);
  font-family: "Plus Jakarta Sans", "Noto Sans Arabic", system-ui, sans-serif;
}

.txc *, .txc *::before, .txc *::after { box-sizing: border-box; }
.txc section,
.txc div,
.txc article,
.txc aside,
.txc nav,
.txc form,
.txc .swiper,
.txc .swiper-wrapper {
  min-inline-size: 0;
  max-inline-size: 100%;
}
.txc img,
.txc iframe,
.txc video {
  display: block;
  inline-size: 100%;
  max-inline-size: 100%;
}
.txc h1, .txc h2, .txc h3, .txc p, .txc li,
.txc a, .txc button, .txc span, .txc strong {
  max-inline-size: 100%;
  overflow-wrap: anywhere;
}
.txc h1, .txc h2, .txc h3 {
  font-family: inherit !important;
  font-weight: 800;
}

.txc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 100%;
  min-inline-size: 0;
  max-inline-size: 100%;
  min-block-size: 40px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #fff;
  color: var(--txc-ink);
  font: inherit;
  font-size: 12.5px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  cursor: pointer;
}
.txc-btn--primary { background: var(--txc-blue); color: #fff; }
.txc-btn--ghost { border-color: var(--txc-line); background: #fff; color: var(--txc-ink); }
.txc-btn--sm { min-block-size: 36px; padding: 7px 8px; font-size: 12px; }
.txc-btn--block { inline-size: 100%; }
.txc-btn:focus-visible,
.txc button:focus-visible,
.txc a:focus-visible { outline: 3px solid rgba(19, 139, 135, .35); outline-offset: 2px; }

/* Heroes */
.txc-hero {
  inline-size: 100%;
  max-inline-size: 100%;
  border-block-end: 1px solid var(--txc-line);
  background: #fff;
}
.txc-hero--listing {
  display: flex;
  align-items: center;
  min-block-size: clamp(240px, 72vw, 320px);
  background:
    radial-gradient(circle at 90% 10%, rgba(19, 139, 135, .17), transparent 34%),
    linear-gradient(145deg, #fff, #eef7fa);
}
.txc-hero--listing .txc-hero__body { padding: 18px var(--txc-pad); }
.txc-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-block-end: 8px;
  color: var(--txc-muted);
  font-size: 12px;
}
.txc-breadcrumb a { color: var(--txc-blue); font-weight: 700; text-decoration: none; }
.txc-hero__title {
  margin: 0;
  font-size: clamp(23px, 6.2vw, 31px);
  line-height: 1.15;
  letter-spacing: -.025em;
}
.txc-hero__lead {
  margin: 7px 0 0;
  color: var(--txc-muted);
  font-size: 13px;
  line-height: 1.5;
}
.txc-hero__cta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-block-start: 12px;
}
.txc-hero--detail { position: relative; min-block-size: clamp(260px, 88vw, 340px); overflow: hidden; color: #fff; }
.txc-hero__media { position: absolute; inset: 0; background: var(--txc-blue-deep); }
.txc-hero__media img { block-size: 100%; object-fit: cover; }
.txc-hero__fallback { inline-size: 100%; block-size: 100%; background: linear-gradient(135deg, var(--txc-blue-deep), var(--txc-teal)); }
.txc-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 23, 38, .14), rgba(5, 23, 38, .9)); }
.txc-hero--detail .txc-hero__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-block-size: clamp(260px, 88vw, 340px);
  padding: 56px var(--txc-pad) 14px;
}
.txc-hero--detail .txc-hero__lead { color: rgba(255,255,255,.88); }
.txc-hero__badges, .txc-card__badges { display: flex; flex-wrap: wrap; gap: 5px; margin-block-end: 6px; }
.txc-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
}
.txc-badge.is-verified { border-color: #bce4cc; background: #e9f8ef; color: #176b3e; }
.txc-badge.is-spec { border-color: #c7dcec; background: #eaf3fa; color: var(--txc-blue); }
.txc-hero--detail .txc-badge.is-spec { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.14); color: #fff; }
.txc-hero__points { display: none; margin: 8px 0 0; padding-inline-start: 18px; font-size: 12px; line-height: 1.4; }
.txc-back {
  position: absolute;
  z-index: 12;
  inset-block-start: 8px;
  inset-inline-start: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-block-size: 36px;
  max-inline-size: calc(100% - 20px);
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  background: rgba(8, 35, 56, .72);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(8px);
}
[dir="rtl"] .txc-back span { transform: rotate(180deg); }

/* Listing */
.txc-listing__layout { display: grid; gap: 12px; inline-size: 100%; padding: 12px var(--txc-pad); }
.txc-filters {
  inline-size: 100%;
  padding: 12px;
  border: 1px solid var(--txc-line);
  border-radius: var(--txc-radius);
  background: #fff;
}
.txc-filters__title, .txc-section__title { margin: 0 0 10px; font-size: 16px; line-height: 1.25; }
.txc-filter-form, .txc-form { display: grid; gap: 9px; }
.txc-filter-form label, .txc-form label { display: grid; gap: 4px; font-size: 12px; font-weight: 650; }
.txc-filter-form input,
.txc-filter-form select,
.txc-form input,
.txc-form select,
.txc-form textarea {
  inline-size: 100%;
  min-inline-size: 0;
  max-inline-size: 100%;
  padding: 10px;
  border: 1px solid var(--txc-line);
  border-radius: 11px;
  background: #fff;
  color: var(--txc-ink);
  font: inherit;
}
.txc-check { display: flex !important; align-items: flex-start; gap: 7px; font-weight: 500 !important; }
.txc-check input { flex: 0 0 auto; inline-size: auto; margin-block-start: 2px; }
.txc-filter-actions, .txc-card__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.txc-filter-toggle { display: inline-flex; inline-size: auto; padding-inline: 14px; }
.txc-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-block-end: 10px; }
.txc-toolbar__count { margin: 0; font-size: 13px; font-weight: 800; }
.txc-chips-bar, .txc-chip-links, .txc-concerns { display: flex; flex-wrap: wrap; gap: 6px; margin-block-end: 14px; }
.txc-chip, .txc-chip-links a, .txc-concerns a {
  padding: 6px 10px;
  border: 1px solid var(--txc-line);
  border-radius: 999px;
  background: #fff;
  color: var(--txc-ink);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}
.txc-chip-links a span { color: var(--txc-muted); }
.txc-chip-clear, .txc-section__head > a { align-self: center; color: var(--txc-blue); font-size: 12px; font-weight: 800; text-decoration: none; }
.txc-featured { inline-size: 100%; margin-block-end: 18px; overflow: hidden; }
.txc-featured__swiper { inline-size: 100%; overflow: hidden; padding-block-end: 22px; }
.txc-featured__swiper .swiper-wrapper { align-items: stretch; }
.txc-featured__swiper .swiper-slide { block-size: auto; }
.txc-slider__pagination .swiper-pagination-bullet-active { background: var(--txc-blue); }
.txc-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; inline-size: 100%; }
.txc-card {
  display: grid;
  grid-template-rows: auto 1fr;
  inline-size: 100%;
  min-inline-size: 0;
  overflow: hidden;
  border: 1px solid var(--txc-line);
  border-radius: var(--txc-radius);
  background: #fff;
  box-shadow: 0 6px 20px rgba(13, 49, 72, .05);
}
.txc-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #dce9ee; }
.txc-card__media img { block-size: 100%; object-fit: cover; }
.txc-card__fallback { display: block; inline-size: 100%; block-size: 100%; background: linear-gradient(135deg, var(--txc-blue), var(--txc-teal)); }
.txc-card__body { display: flex; flex-direction: column; gap: 5px; min-inline-size: 0; padding: 11px; }
.txc-card__name { margin: 0; font-size: 15px; line-height: 1.3; }
.txc-card__name a { color: inherit; text-decoration: none; }
.txc-card__summary {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--txc-muted);
  font-size: 12px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.txc-card__stats { display: flex; flex-wrap: wrap; gap: 5px 10px; margin-block: 2px 4px; color: #3c5265; font-size: 11px; font-weight: 650; }
.txc-card__actions { margin-block-start: auto; }
.txc-browse, .txc-all, .txc-strip, .txc-how, .txc-faq { margin-block: 18px; }
.txc-section__head { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.txc-strip__track {
  display: flex;
  gap: 8px;
  inline-size: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}
.txc-strip__track::-webkit-scrollbar,
.txc-facts__track::-webkit-scrollbar,
.txc-tabs__nav::-webkit-scrollbar { display: none; }
.txc-mini-card {
  flex: 0 0 72%;
  max-inline-size: 240px;
  overflow: hidden;
  border: 1px solid var(--txc-line);
  border-radius: 14px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  scroll-snap-align: start;
}
.txc-mini-card img { block-size: 105px; object-fit: cover; }
.txc-mini-card--doctor img { object-position: center top; }
.txc-mini-card > span { display: grid; gap: 2px; padding: 8px; }
.txc-mini-card strong { font-size: 12px; line-height: 1.3; }
.txc-mini-card em { color: var(--txc-muted); font-size: 11px; font-style: normal; }
.txc-how__steps { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: txc-step; }
.txc-how__steps li {
  position: relative;
  display: grid;
  gap: 3px;
  min-inline-size: 0;
  padding: 11px 11px 11px 44px;
  border: 1px solid var(--txc-line);
  border-radius: 14px;
  background: #fff;
  counter-increment: txc-step;
}
[dir="rtl"] .txc-how__steps li { padding: 11px 44px 11px 11px; }
.txc-how__steps li::before {
  content: counter(txc-step);
  position: absolute;
  inset-block-start: 11px;
  inset-inline-start: 11px;
  display: grid;
  place-items: center;
  inline-size: 25px;
  block-size: 25px;
  border-radius: 50%;
  background: var(--txc-soft);
  color: var(--txc-blue);
  font-size: 12px;
  font-weight: 800;
}
.txc-how__steps strong { font-size: 13px; }
.txc-how__steps span { color: var(--txc-muted); font-size: 12px; line-height: 1.4; }
.txc-info-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-block: 16px; }
.txc-info-card {
  min-inline-size: 0;
  padding: 13px;
  border: 1px solid var(--txc-line);
  border-radius: var(--txc-radius);
  background: #fff;
}
.txc-info-card h2, .txc-info-card h3 { margin: 0 0 5px; font-size: 15px; }
.txc-info-card p { margin: 0; color: var(--txc-muted); font-size: 12px; line-height: 1.5; }
.txc-review {
  display: grid;
  gap: 10px;
  margin: 14px var(--txc-pad);
  padding: 15px;
  border-radius: var(--txc-radius);
  background: linear-gradient(135deg, var(--txc-blue-deep), var(--txc-blue));
  color: #fff;
}
.txc-listing__main > .txc-review { margin-inline: 0; }
.txc-review h2 { margin: 0 0 4px; color: #fff; font-size: 17px; }
.txc-review p { margin: 0; color: rgba(255,255,255,.82); font-size: 12px; line-height: 1.45; }
.txc-review .txc-btn--primary { background: #fff; color: var(--txc-blue-deep); }
.txc-faq { padding: 12px; border: 1px solid var(--txc-line); border-radius: var(--txc-radius); background: #fff; }
.txc-empty, .txc-note { margin: 0; color: var(--txc-muted); font-size: 12px; line-height: 1.5; }

/* Detail facts and tabs */
.txc-facts { inline-size: 100%; padding: 10px var(--txc-pad) 5px; }
.txc-facts__track {
  display: flex;
  gap: 8px;
  inline-size: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}
.txc-fact {
  flex: 0 0 42%;
  min-inline-size: 0;
  max-inline-size: 180px;
  padding: 9px;
  border: 1px solid var(--txc-line);
  border-radius: 13px;
  background: #fff;
  scroll-snap-align: start;
}
.txc-fact span { display: block; color: var(--txc-muted); font-size: 9.5px; font-weight: 750; text-transform: uppercase; }
.txc-fact strong { display: block; margin-block-start: 2px; font-size: 12px; line-height: 1.3; }
.txc-tabs { inline-size: 100%; max-inline-size: 100%; padding-block: 4px 8px; overflow: hidden; }
.txc-tabs__nav {
  position: sticky;
  z-index: 40;
  inset-block-start: 56px;
  display: flex;
  gap: 7px;
  inline-size: 100%;
  max-inline-size: 100%;
  padding: 5px var(--txc-pad) 9px;
  overflow-x: auto;
  overflow-y: hidden;
  background: rgba(244,248,250,.96);
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  backdrop-filter: blur(8px);
}
.txc-tabs__btn {
  flex: 0 0 auto;
  max-inline-size: calc(100vw - 38px);
  padding: 7px 12px;
  border: 1px solid var(--txc-line);
  border-radius: 999px;
  background: #fff;
  color: var(--txc-muted);
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
}
.txc-tabs__btn.is-active { border-color: var(--txc-blue); background: var(--txc-blue); color: #fff; }
.txc-tabs__panels { inline-size: 100%; max-inline-size: 100%; min-inline-size: 0; }
.txc-panel {
  inline-size: auto;
  max-inline-size: 100%;
  min-inline-size: 0;
  margin-inline: var(--txc-pad);
  padding: 14px;
  overflow: hidden;
  border: 1px solid var(--txc-line);
  border-radius: var(--txc-radius);
  background: #fff;
}
.txc-panel[hidden] { display: none !important; }
.txc-panel > h2 { margin: 0 0 10px; font-size: 17px; }
.txc-richtext, .txc-summary { margin: 0; color: #385064; font-size: 13px; line-height: 1.62; }
.txc-details { margin-block-start: 12px; padding: 10px; border-radius: 12px; background: var(--txc-soft); }
.txc-details summary, .txc-accordions summary { color: var(--txc-blue-deep); font-size: 13px; font-weight: 800; cursor: pointer; }
.txc-source-list { display: grid; gap: 5px; margin: 8px 0 0; padding-inline-start: 18px; font-size: 12px; }
.txc-source-list a { color: var(--txc-blue); }
.txc-two-col { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.txc-two-col h2 { margin: 0 0 8px; font-size: 15px; }
.txc-list { display: grid; gap: 6px; margin: 0; padding-inline-start: 18px; color: #385064; font-size: 12.5px; line-height: 1.45; }
.txc-disclaimer, .txc-risk {
  margin: 12px 0 0;
  padding: 10px;
  border-inline-start: 3px solid #d49a2a;
  border-radius: 8px;
  background: #fff8e9;
  color: #664d1d;
  font-size: 12px;
  line-height: 1.5;
}
.txc-option-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px; }
.txc-option-grid article { padding: 10px; border-radius: 12px; background: var(--txc-soft); font-size: 12.5px; line-height: 1.4; }
.txc-panel .txc-note { margin-block-start: 10px; }
.txc-timeline { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: txc-timeline; }
.txc-timeline li { position: relative; min-block-size: 44px; padding: 4px 0 13px 38px; counter-increment: txc-timeline; }
[dir="rtl"] .txc-timeline li { padding: 4px 38px 13px 0; }
.txc-timeline li::before {
  content: counter(txc-timeline);
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  display: grid;
  place-items: center;
  inline-size: 27px;
  block-size: 27px;
  border-radius: 50%;
  background: var(--txc-blue);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
.txc-timeline li:not(:last-child)::after { content: ""; position: absolute; inset-block-start: 29px; inset-block-end: 0; inset-inline-start: 13px; inline-size: 1px; background: var(--txc-line); }
.txc-timeline span { font-size: 12.5px; line-height: 1.4; }
.txc-accordions { display: grid; gap: 8px; }
.txc-accordions details { padding: 10px 11px; border: 1px solid var(--txc-line); border-radius: 12px; background: #fff; }
.txc-accordions p { margin: 8px 0 0; color: var(--txc-muted); font-size: 12px; line-height: 1.5; }
.txc-risk h3 { margin: 0 0 4px; font-size: 13px; }
.txc-risk p { margin: 0; }

/* Entity, media and related cards */
.txc-entity-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.txc-entity-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  min-inline-size: 0;
  overflow: hidden;
  border: 1px solid var(--txc-line);
  border-radius: 14px;
  background: #fff;
}
.txc-entity-card > img { block-size: 100%; min-block-size: 130px; object-fit: cover; }
.txc-entity-card--doctor > img { object-position: center top; }
.txc-entity-card > div { display: flex; flex-direction: column; min-inline-size: 0; padding: 9px; }
.txc-entity-card h3 { margin: 0; font-size: 13px; line-height: 1.3; }
.txc-entity-card p { margin: 3px 0 0; color: var(--txc-muted); font-size: 11px; line-height: 1.35; }
.txc-entity-card__actions { display: flex; flex-wrap: wrap; gap: 6px; margin-block-start: auto; padding-block-start: 7px; }
.txc-entity-card__actions a, .txc-entity-card__actions button {
  padding: 6px 8px;
  border: 1px solid var(--txc-line);
  border-radius: 999px;
  background: #fff;
  color: var(--txc-blue);
  font: inherit;
  font-size: 10.5px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}
.txc-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-block-end: 16px; }
.txc-gallery figure { margin: 0; overflow: hidden; border-radius: 12px; background: var(--txc-soft); }
.txc-gallery img { aspect-ratio: 4 / 3; object-fit: cover; }
.txc-gallery figcaption { padding: 6px; color: var(--txc-muted); font-size: 10px; }
.txc-video-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.txc-video { overflow: hidden; border: 1px solid var(--txc-line); border-radius: 14px; background: #fff; }
.txc-video__stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #e1ebef; }
.txc-video__stage > img { block-size: 100%; object-fit: cover; }
.txc-video__stage iframe { inline-size: 100%; block-size: 100%; border: 0; }
.txc-video__fallback { display: grid; place-items: center; inline-size: 100%; block-size: 100%; color: var(--txc-muted); font-size: 12px; }
.txc-video__play {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  place-items: center;
  inline-size: 48px;
  block-size: 48px;
  padding: 0;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.96);
  color: #c62828;
  font-size: 17px;
  cursor: pointer;
}
[dir="rtl"] .txc-video__play { transform: translate(-50%, -50%); }
.txc-video__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 5px 10px; padding: 9px; }
.txc-video__meta strong { font-size: 12px; }
.txc-video__meta a { color: var(--txc-blue); font-size: 11px; font-weight: 750; }
.txc-payment-flow { display: grid; gap: 6px; margin: 0; padding-inline-start: 18px; color: var(--txc-muted); font-size: 12px; line-height: 1.45; }
.txc-related { margin-block-start: 16px; }
.txc-related h3 { margin: 0 0 8px; font-size: 15px; }
.txc-related__track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.txc-related__card { min-inline-size: 0; overflow: hidden; border: 1px solid var(--txc-line); border-radius: 12px; color: inherit; text-decoration: none; }
.txc-related__card img { aspect-ratio: 16 / 10; object-fit: cover; }
.txc-related__card span { display: block; padding: 8px; }
.txc-related__card strong { font-size: 11.5px; line-height: 1.3; }

/* Review sheet */
.txc-sheet[hidden] { display: none !important; }
.txc-sheet { position: fixed; z-index: 1400; inset: 0; inline-size: 100%; max-inline-size: 100%; }
.txc-sheet__backdrop { position: absolute; inset: 0; background: rgba(6, 18, 28, .58); }
.txc-sheet__panel {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  inline-size: 100%;
  max-inline-size: 100%;
  max-block-size: min(90vh, 760px);
  padding: 13px 14px calc(18px + env(safe-area-inset-bottom, 0px));
  overflow: auto;
  border-radius: 20px 20px 0 0;
  background: #fff;
  box-shadow: 0 -12px 40px rgba(0,0,0,.2);
}
.txc-sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-block-end: 10px; }
.txc-sheet__head h2 { margin: 0; font-size: 17px; }
.txc-sheet__close { flex: 0 0 36px; inline-size: 36px; block-size: 36px; padding: 0; border: 0; border-radius: 50%; background: #edf3f6; font-size: 22px; cursor: pointer; }
.txc-honeypot { position: absolute !important; inset-inline-start: -9999px !important; inline-size: 0 !important; block-size: 0 !important; opacity: 0 !important; }
body.txc-sheet-open { overflow: hidden; }

@media (max-width: 899px) {
  .txc-filters:not(.is-open) { display: none; }
  .txc-filters.is-open { display: block; }
}

@media (min-width: 600px) {
  .txc { --txc-pad: 16px; }
  .txc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .txc-info-grid, .txc-two-col, .txc-option-grid, .txc-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .txc-how__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .txc-entity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .txc-review { grid-template-columns: minmax(0, 1fr) minmax(160px, 220px); align-items: center; }
  .txc-fact { flex-basis: 25%; }
  .txc-hero__points { display: block; }
}

@media (min-width: 768px) {
  .treatment-listing-shell,
  .treatment-detail-shell,
  .txc {
    max-inline-size: 1240px;
    width: min(100% - 40px, 1240px);
    min-block-size: 0;
    margin-inline: auto;
    padding-block-end: 32px;
    border-inline: 0;
  }
  .txc-hero--listing { min-block-size: auto; }
  .txc-hero--listing .txc-hero__body { max-inline-size: 760px; padding-block: 30px; }
  .txc-hero--detail, .txc-hero--detail .txc-hero__body { min-block-size: 340px; }
  .txc-hero--detail .txc-hero__body { max-inline-size: 760px; padding-block-end: 24px; }
  .txc-tabs__nav { inset-block-start: 64px; }
  .txc-sheet__panel {
    inset-inline-start: 50%;
    inset-inline-end: auto;
    inset-block-end: 22px;
    inline-size: min(580px, 92vw);
    max-inline-size: min(580px, 92vw);
    transform: translateX(-50%);
    border-radius: 20px;
  }
  [dir="rtl"] .txc-sheet__panel { transform: translateX(50%); }
}

@media (min-width: 900px) {
  .txc-listing__layout { grid-template-columns: minmax(0, 260px) minmax(0, 1fr); align-items: start; }
  .txc-filters { position: sticky; inset-block-start: 74px; display: block !important; }
  .txc-filter-toggle { display: none; }
  .txc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .txc-featured__swiper { padding-inline: 1px; }
  .txc-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1120px) {
  .txc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .treatment-listing-shell,
  .treatment-detail-shell,
  .txc {
    width: min(100% - 64px, 1240px);
    max-inline-size: 1240px;
  }
}

@media (max-width: 380px) {
  body.page-treatment-detail .hp-brand__tag,
  body.page-treatment-detail .hp-lang { display: none !important; }
  .txc-card__actions { grid-template-columns: minmax(0, 1fr); }
  .txc-gallery { grid-template-columns: minmax(0, 1fr); }
  .txc-related__track { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .txc *, .txc *::before, .txc *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ===== Design-reference listing polish ===== */
.txc-hero--listing {
  min-block-size: auto;
  background: #fff;
  border-block-end: 0;
}
.txc-hero--listing .txc-hero__body {
  width: min(760px, 100%);
  margin-inline: auto;
  padding: 22px var(--txc-pad) 8px;
  text-align: center;
}
.txc-hero--listing .txc-breadcrumb { justify-content: center; margin-block-end: 18px; color: #8a9aa6; }
.txc-hero--listing .txc-hero__title {
  font-size: clamp(1.7rem, 5.5vw, 2.45rem);
  color: #15344d;
  letter-spacing: -.03em;
}
.txc-hero--listing .txc-hero__lead {
  max-width: 36rem;
  margin: 12px auto 0;
  font-size: clamp(.92rem, 2.4vw, 1.05rem);
  line-height: 1.65;
  color: #6c8292;
}
.txc-searchbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  gap: 0;
  width: min(560px, 100%);
  margin: 22px auto 0;
  border: 1px solid #d7e5ef;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(24, 70, 102, .08);
  overflow: hidden;
}
.txc-searchbar input {
  min-width: 0;
  height: 48px;
  padding: 0 16px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #15344d;
  font: inherit;
  font-size: .92rem;
}
.txc-searchbar__btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  color: #fff;
  background: #0b74c9;
  cursor: pointer;
}
.txc-searchbar__btn:hover { background: #075b9d; }
.txc-searchbar .txc-icon,
.txc-searchbar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.txc-listing__layout { padding-block-start: 8px; }
.txc-featured .txc-section__head { margin-block-end: 12px; }
.txc-card {
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(24, 70, 102, .08);
}
.txc-card__media { aspect-ratio: 16 / 11; }
.txc-card__body { padding: 16px; gap: 8px; }
.txc-card__name { font-size: 1.05rem; color: #15344d; }
.txc-card__summary { font-size: .88rem; -webkit-line-clamp: 2; }
.txc-card__stats {
  gap: 8px 14px;
  color: #4b6577;
  font-size: .8rem;
  font-weight: 700;
}
.txc-card__actions { grid-template-columns: minmax(0, 1fr); }
.txc-card--featured.txc-card--tone-dark {
  background: linear-gradient(160deg, #0b5f9e, #0a4f85);
  border-color: transparent;
  color: #fff;
}
.txc-card--featured.txc-card--tone-dark .txc-card__name,
.txc-card--featured.txc-card--tone-dark .txc-card__name a,
.txc-card--featured.txc-card--tone-dark .txc-card__summary,
.txc-card--featured.txc-card--tone-dark .txc-card__stats { color: #fff; }
.txc-card--featured.txc-card--tone-dark .txc-card__summary { color: rgba(255,255,255,.82); }
.txc-card--featured.txc-card--tone-dark .txc-badge.is-spec {
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.14);
  color: #fff;
}
.txc-card--featured.txc-card--tone-dark .txc-btn--primary {
  background: #fff;
  color: #0b5f9e;
}
.txc-card--featured.txc-card--tone-dark .txc-btn--primary:hover {
  background: #eaf6ff;
  color: #075b9d;
}

@media (min-width: 768px) {
  .txc-hero--listing .txc-hero__body { padding-block: 34px 12px; text-align: start; }
  .txc-hero--listing .txc-breadcrumb { justify-content: flex-start; }
  .txc-hero--listing .txc-hero__lead { margin-inline: 0; }
  .txc-searchbar { margin-inline: 0; }
}
