.clinic-treatment-explorer {
  --explorer-rose: #a52c61;
  --explorer-tint: #fff4f9;
  --explorer-line: #e8dfe5;
  color: var(--ink, #3a1a2e);
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
  max-width: 100%;
  scroll-margin-top: 96px;
}
.clinic-treatment-explorer [hidden] { display: none !important; }
.clinic-treatment-explorer h2,
.clinic-treatment-explorer h3,
.clinic-treatment-explorer p { margin: 0; }
.clinic-treatment-explorer h2 { font-size: clamp(22px, 3vw, 28px); letter-spacing: -.03em; }
.clinic-explorer-note, .clinic-explorer-conditions {
  color: #675b65;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.clinic-explorer-tools { display: grid; gap: 12px; min-width: 0; }
.clinic-explorer-search {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}
.clinic-explorer-search input {
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  padding: 10px 16px 10px 43px;
  border: 1px solid #cdbfca;
  border-radius: 13px;
  background: #fff;
  color: var(--ink, #3a1a2e);
  font: inherit;
  font-size: 16px;
}
.clinic-explorer-search input::placeholder { color: #6b5a66; opacity: 1; }
.clinic-explorer-search-icon {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1.8px solid #6b5a66;
  border-radius: 50%;
  left: 16px;
  top: 15px;
  pointer-events: none;
}
.clinic-explorer-search-icon::after {
  content: '';
  position: absolute;
  width: 7px;
  height: 1.8px;
  background: #6b5a66;
  transform: rotate(45deg);
  left: 9px;
  top: 11px;
}
.clinic-explorer-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.clinic-treatment-explorer button,
.clinic-explorer-links a {
  min-height: 44px;
  font: inherit;
  cursor: pointer;
  color: inherit;
}
.clinic-explorer-chip {
  border: 1px solid var(--explorer-line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px !important;
  line-height: 1.4;
  white-space: nowrap;
}
.clinic-explorer-chip[aria-pressed="true"] {
  color: #fff;
  border-color: var(--ink, #3a1a2e);
  background: var(--ink, #3a1a2e);
}
.clinic-explorer-meta { display: flex; min-height: 22px; align-items: center; justify-content: space-between; gap: 8px; }
.clinic-explorer-count { font-size: 14px; font-weight: 650; }
.clinic-explorer-clear {
  color: var(--explorer-rose) !important;
  border: 0;
  background: transparent;
  padding: 0 4px;
  font-size: 14px !important;
}
.clinic-explorer-list {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}
.clinic-explorer-row {
  border: 1px solid var(--explorer-line);
  border-radius: 16px;
  background: #fff;
  min-width: 0;
  overflow-wrap: anywhere;
}
.clinic-explorer-row[data-open="true"] { border-color: #d48da9; }
.clinic-explorer-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 0;
  background: transparent;
  padding: 14px 18px;
  border-radius: 16px;
  text-align: start;
}
.clinic-explorer-row-copy, .clinic-explorer-option-copy { display: grid; min-width: 0; gap: 3px; }
.clinic-explorer-row-copy strong { font-size: 17px; font-weight: 650; line-height: 1.45; }
.clinic-explorer-category { font-size: 12px; line-height: 1.4; font-weight: 550; color: var(--explorer-rose); }
.clinic-explorer-chevron {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  margin: 0 3px 4px;
  border-bottom: 1.8px solid #756571;
  border-right: 1.8px solid #756571;
  transform: rotate(45deg);
}
[aria-expanded="true"] > .clinic-explorer-chevron { transform: rotate(225deg); margin-bottom: -4px; }
.clinic-explorer-row .clinic-explorer-description {
  font-size: 14px;
  font-weight: 400;
  color: #645b63;
  line-height: 1.6;
  margin-top: 2px;
}
.clinic-explorer-row[data-open="false"] .clinic-explorer-description {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.clinic-explorer-panel {
  display: grid;
  gap: 14px;
  padding: 16px 18px 18px;
  border-top: 1px solid var(--explorer-line);
  min-width: 0;
}
.clinic-explorer-detail-list { display: grid; gap: 4px; margin: 0; }
.clinic-explorer-treatment-image { display: block; max-width: 100%; max-height: 320px; width: auto; height: auto; object-fit: contain; border-radius: 10px; }
.clinic-explorer-detail-list dt { font-size: 14px; font-weight: 650; }
.clinic-explorer-detail-list dd { margin: 0; font-size: 14px; line-height: 1.65; color: #584e56; white-space: pre-line; }
.clinic-explorer-detail-list dd + dt { margin-top: 7px; }
.clinic-explorer-options {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}
.clinic-explorer-options legend { padding: 0 0 8px; font-weight: 650; }
.clinic-explorer-options > .clinic-explorer-conditions { margin-bottom: 6px; }
.clinic-explorer-option {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-height: 44px;
  padding: 10px 11px;
  box-sizing: border-box;
  border: 1px solid var(--explorer-line);
  border-radius: 10px;
  cursor: pointer;
}
.clinic-explorer-option:has(input:checked) { background: var(--explorer-tint); border-color: #bc6d91; }
.clinic-explorer-option input {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin: 3px 0 0;
  accent-color: var(--explorer-rose);
}
.clinic-explorer-option-title,.clinic-explorer-price { font-size: 14px; line-height: 1.55; }
.clinic-explorer-price { color: var(--explorer-rose); font-weight: 650; }
.clinic-explorer-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.clinic-explorer-links a { display: inline-flex; align-items: center; color: var(--explorer-rose); text-decoration: underline; text-underline-offset: 3px; }
.clinic-explorer-more, .clinic-explorer-more-options, .clinic-explorer-inquiry {
  border-radius: 12px;
  border: 1px solid var(--explorer-line);
  background: #fff;
  padding: 9px 14px;
  font-weight: 600 !important;
}
.clinic-explorer-inquiry { color: var(--explorer-rose) !important; background: var(--explorer-tint); border-color: #e7bad0; }
.clinic-explorer-empty { padding: 18px; background: #faf7f9; border-radius: 14px; display: grid; gap: 12px; justify-items: start; }
.clinic-treatment-explorer :is(a,button,input):focus-visible { outline: 2px solid var(--explorer-rose); outline-offset: 2px; }
@media (max-width: 1023px) {
  .clinic-detail-active:has(.clinic-detail-mobile-cta) .clinic-explorer-panel [data-treatment-inquire],
  .clinic-t1-price-list:has(.clinic-basic-mobile-consult) .clinic-explorer-panel [data-treatment-inquire] { display: none; }
  .clinic-explorer-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 4px;
    scrollbar-width: thin;
  }
  .clinic-explorer-chip { flex: none; }
  .clinic-explorer-toggle { padding-inline: 13px; }
  .clinic-explorer-panel { padding-inline: 13px; }
}
@media (hover: hover) {
  .clinic-explorer-toggle:hover,.clinic-explorer-inquiry:hover,.clinic-explorer-more:hover,.clinic-explorer-more-options:hover { background: var(--explorer-tint); }
  .clinic-explorer-chip[aria-pressed="false"]:hover,.clinic-explorer-option:hover { border-color: #c985a4; }
}
@media (prefers-reduced-motion: no-preference) {
  .clinic-treatment-explorer button { transition: background-color 180ms ease-out, transform 160ms ease-out; }
  .clinic-treatment-explorer button:active { transform: scale(.98); }
}
