:root{
  --bg:#f6f8fb;
  --card:#ffffff;
  --card-soft:#fbfcff;
  --text:#111827;
  --muted:#6b7280;
  --line:#e5e7eb;
  --line-soft:#eef2f7;
  --primary:#2563eb;
  --primary-dark:#1d4ed8;
  --success:#16a34a;
  --danger:#dc2626;
  --shadow-sm:0 4px 12px rgba(15,23,42,.06);
  --shadow-md:0 10px 24px rgba(15,23,42,.10);
  --radius:16px;
}

*{
  box-sizing:border-box;
}

[hidden]{
  display:none !important;
}

html,
body{
  margin:0;
  padding:0;
}

body{
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Apple SD Gothic Neo,Noto Sans KR,sans-serif;
  background:var(--bg);
  color:var(--text);
}

button,
input,
select,
textarea{
  font:inherit;
}

.wrap{
  width:min(1280px, calc(100% - 24px));
  margin:0 auto;
  padding:26px 0 60px;
}

.page-head{
  text-align:center;
  padding:10px 0 18px;
}

.page-head h1{
  margin:0;
  font-size:28px;
  font-weight:900;
}

.page-head .sub{
  margin:8px 0 0;
  color:var(--muted);
  font-size:14px;
}

/* 검색 */
.search-box{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:14px;
  padding:14px;
  box-shadow:var(--shadow-sm);
}

.search-box .grid{
  display:grid;
  grid-template-columns:180px 180px minmax(220px, 1fr) 180px auto;
  gap:12px 12px;
  align-items:end;
}

.field span{
  display:block;
  font-size:13px;
  color:#374151;
  font-weight:800;
  margin:0 0 8px;
}

.field input,
.field select{
  width: 100%;
  height:40px;
  border:1px solid var(--line);
  border-radius:10px;
  padding:0 12px;
  outline:none;
  background:#fff;
}

.field input:focus,
.field select:focus{
  border-color:rgba(37,99,235,.45);
  box-shadow:0 0 0 3px rgba(37,99,235,.12);
}

.field.price .price-row{
  display:flex;
  gap:8px;
  align-items:center;
}

.field.price .tilde{
  color:var(--muted);
}

.field.actions{
  display:flex;
  gap:10px;
  justify-content:flex-end;
  align-items:center;
}

/* 공통 */
.section{
  margin-top:18px;
}

.section-head{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:12px;
  padding:0 2px 10px;
}

.section-head h2{
  margin:0;
  font-size:18px;
  font-weight:900;
}

.muted{
  margin:0;
  color:var(--muted);
  font-size:12px;
}

.btn{
  height:40px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--text);
  cursor:pointer;
  font-weight:800;
  transition:all .15s ease;
}

.btn:hover{
  border-color:#cfd8e3;
  box-shadow:0 4px 10px rgba(15,23,42,.06);
}

.btn.primary{
  background:var(--primary);
  border-color:var(--primary);
  color:#fff;
}

.btn.primary:hover{
  background:var(--primary-dark);
  border-color:var(--primary-dark);
}

.btn.sm{
  height:34px;
  padding:0 12px;
  font-size:12px;
}

/* 이벤트 */
.event-strip{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
}

.event-card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:14px;
  padding:14px;
  display:flex;
  flex-direction:column;
  gap:8px;
  box-shadow:var(--shadow-sm);
}

.event-badge{
  display:inline-flex;
  width:max-content;
  font-size:11px;
  padding:4px 8px;
  border-radius:999px;
  background:rgba(37,99,235,.10);
  color:var(--primary);
  font-weight:900;
}

.event-title{
  font-weight:900;
}

.event-meta{
  color:var(--muted);
  font-size:12px;
}

/* 병원 섹션 PC 1/3 : 2/3 */
.hospital-section-layout{
  display:grid;
  grid-template-columns:minmax(420px, 42%) minmax(0, 58%);
  gap:20px;
  align-items:start;
}

.hospital-list-column,
.hospital-stage-column{
  min-width:0;
}

.hospital-stage-column{
  position:sticky;
  top:20px;
  align-self:start;
}

#desktopProductStage{
  width:100%;
}

.desktop-stage{
  width:100%;
  min-height:520px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:0 6px 16px rgba(15,23,42,.05);
  overflow:hidden;
}



.desktop-stage--detail{
  padding:18px;
  background:#fbfcff;
}


.desktop-stage--ad{
  display:flex;
  padding:0;
  background:transparent;
}

.desktop-stage-ad{
  width:100%;
  height:100%;
  min-height:520px;
  overflow:hidden;
  border:0;
  border-radius:0;
  background:transparent;
  padding:0;
}

.desktop-stage-ad img,
.desktop-stage-ad-image{
  width:100%;
  height:100%;
  display:block;
  object-fit:contain;
  background:#fff;
}


/* 병원 리스트 */
.hospital-list{
  width:100%;
  display:flex;
  flex-direction:column;
  gap:14px;
}

.hospital-card{
  width:100%;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 6px 16px rgba(15,23,42,.05);
  transition:border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.hospital-top{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:16px 18px;
}

.hospital-top .info{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  width:100%;
  min-width:0;
  text-align:center;
}

.hospital-top .name{
  display:block;
  width:100%;
  margin:0;
  font-size: 24px;
  font-weight:900;
  line-height:1.3;
  text-align:center;
  white-space:normal;
  word-break:keep-all;
}

.hospital-top .addr{
  display:block;
  width:100%;
  margin-top:2px;
  font-size:13px;
  color:var(--muted);
  line-height:1.5;
  text-align:center;
  white-space:normal;
  overflow:visible;
  text-overflow:unset;
  word-break:keep-all;
}

.hospital-top .right{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
  flex:0 0 auto;
}

.hospital-top .right .btn{
  height:38px;
  padding:0 14px;
  font-size:14px;
}

/* 열린 병원만 강조 */
.hospital-card[data-open="1"]{
  border-color:#60a5fa;
  box-shadow:
    0 0 0 2px rgba(37,99,235,.12),
    0 6px 16px rgba(15,23,42,.05);
}

.hospital-card[data-open="1"] .hospital-top{
  background:#f8fbff;
}

.hospital-card[data-open="1"] .hospital-top .name{
  color:#2563eb;
}

.hospital-card[data-open="1"] [data-action="toggle"]{
  background:#174f86;
  border-color:#174f86;
  color:#fff;
  box-shadow:0 8px 18px rgba(34,111,191,.24);
}

.hospital-card[data-open="1"] [data-action="toggle"]:hover{
  background:#123f6b;
  border-color:#123f6b;
  box-shadow:0 10px 22px rgba(34,111,191,.30);
}

/* 병원 펼침 */
.hospital-products{
  margin-top:0;
  padding:0;
  border-top:0;
  background:var(--card-soft);
}

.hospital-products-inner{
  display:flex;
  flex-direction:column;
  gap:14px;
  padding:14px 18px 18px;
  background:var(--card-soft);
  box-shadow:inset 0 1px 0 var(--line-soft);
}

.ui-slide{
  overflow:hidden !important;
  height:0;
  opacity:1 !important;
  transform:none !important;
  will-change:height;
  transition:height 480ms cubic-bezier(.22, 1, .36, 1) !important;
}

.ui-slide.is-open{
  opacity:1 !important;
  transform:none !important;
}

.ui-slide.is-opened{
  overflow:visible !important;
}

.ui-slide-inner{
  opacity:0 !important;
  transform:translateY(-4px) translateZ(0) !important;
  will-change:opacity, transform;
  transition:
    opacity 140ms ease 170ms,
    transform 160ms ease 170ms !important;
}

.ui-slide.is-open .ui-slide-inner{
  opacity:1 !important;
  transform:translateY(0) translateZ(0) !important;
}

.ui-slide.is-opened .ui-slide-inner{
  will-change:auto;
}

.hospital-products.ui-slide{
  contain:layout paint;
  transform:translateZ(0);
}

.stage-reveal{
  animation:none !important;
}

/* 상품 탭 */
.hospital-product-tabs,
.product-type-selection{
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:2px;
}

.product-type-btn{
  min-width:108px;
  padding:10px 18px;
  border:none;
  border-radius:999px;
  background:#eef4fb;
  color:#36536b;
  font-size:14px;
  font-weight:900;
  cursor:pointer;
  transition:background-color .15s ease, color .15s ease, box-shadow .15s ease, transform .08s ease;
}

.product-type-btn.active{
  background:#226fbf;
  color:#fff;
}

.product-type-btn:hover:not(.active){
  background:#dceaf8;
  color:#226fbf;
}

.product-type-btn:active{
  transform:translateY(1px);
}

/* 상품 요약 리스트 */
.product-summary-wrap,
.product-summary-list{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.product-summary-row{
  position:relative;
  display:flex;
  flex-direction:column;
  background:linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border:1px solid #d9e4f4;
  border-radius:20px;
  padding:16px 14px 14px;
  box-shadow:0 8px 18px rgba(15,23,42,.055);
  overflow:hidden;
  transition:border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.product-summary-row:hover{
  border-color:#bfdbfe;
  background:#f8fbff;
}

.product-summary-row.is-active{
  border-color:#2563eb;
  background:linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
  box-shadow:
    0 0 0 2px rgba(37,99,235,.12),
    0 12px 24px rgba(37,99,235,.08);
}

.product-summary-row.is-active .summary-name{
  color:#081a3a;
}

.product-summary-row.is-active .summary-price{
  color:#2563eb;
}

.summary-main{
  order:1;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:5px;
  /* margin-bottom:13px; */
  text-align:center;
}

.summary-name{
  width:100%;
  max-width:100%;
  color:#081a3a;
  font-size:20px;
  font-weight:950;
  line-height:1.28;
  letter-spacing:-0.035em;
  text-align:center;
  white-space:normal;
  word-break:keep-all;
  overflow-wrap:anywhere;
}

.summary-price{
  width:100%;
  color:#2563eb;
  font-size:17px;
  font-weight:950;
  line-height:1.2;
  text-align:center;
  white-space:nowrap;
}

.summary-inline-detail{
  order:2;
  /* margin-top:12px; */
}

.summary-actions{
  order:3;
  width:100%;
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);
  gap:8px;
  margin-top:13px;
}

.summary-actions .btn{
  width:100%;
  min-width:0;
  height:46px;
  min-height:46px;
  padding:0 10px;
  border-radius:999px;
  font-size:13.5px;
  font-weight:950;
  line-height:1;
}

.summary-actions .btn:not(.primary){
  background:#ffffff;
  border:1px solid #d5deec;
  color:#0f172a;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
}

.summary-actions .btn.primary,
.product-summary-row [data-action="reserve"]{
  background:#16a34a;
  border-color:#16a34a;
  color:#fff;
  box-shadow:0 8px 18px rgba(22,163,74,.18);
}

.product-summary-row [data-action="reserve"]:hover{
  background:#15803d;
  border-color:#15803d;
}

/* 우측 상세 카드 */
#desktopDetailStage .checkup-card{
  margin:0 !important;
  width:100%;
  max-width:none;
  min-height:auto;
  border:1px solid #dbe3ee;
  box-shadow:none;
}
/* 상세 카드 */
.checkup-card{
  box-sizing:border-box;
  width:100%;
  max-width:none;
  margin:0 !important;
  padding:20px 18px 16px;
  background:linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border:1px solid #d7e3f4;
  border-radius:20px;
  box-shadow:0 10px 24px rgba(15,23,42,.06);
  color:#333;
  font-size:14px;
}

.productId{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  margin:0 0 14px;
  text-align:center;
  line-height:1.2;
}

.productName{
  display:block;
  width:100%;
  font-family:
    "Inter","Noto Sans","Noto Sans KR","Apple SD Gothic Neo",
    "Malgun Gothic","Segoe UI",Roboto,Arial,sans-serif !important;
  font-size:26px;
  font-weight:950;
  line-height:1.24;
  letter-spacing:-0.035em;
  color:#081a3a;
  margin:0;
  text-align:center;
  text-shadow:none;
  white-space:normal;
  word-break:keep-all;
  overflow-wrap:anywhere;
}

.productPrice{
  display:block;
  width:100%;
  font-size:20px;
  font-weight:950;
  line-height:1.2;
  color:#2563eb;
  text-align:center;
  text-shadow:none;
  white-space:nowrap;
}
.additional-info{
  width:min(100%, 560px);
  margin:8px auto 14px !important;
  text-align:center;
  color:#334155;
  font-size:13.5px;
  font-weight:600;
  line-height:1.48 !important;
  letter-spacing:-0.02em;
  white-space:normal !important;
  word-break:keep-all;
  overflow-wrap:anywhere;
}

.additional-info:empty{
  display:none !important;
}

.additional-info p,
.additional-info div{
  margin:0 0 4px !important;
  padding:0 !important;
  line-height:1.48 !important;
}

.additional-info p:last-child,
.additional-info div:last-child{
  margin-bottom:0 !important;
}

.additional-info ul,
.additional-info ol{
  width:fit-content;
  max-width:100%;
  margin:6px auto 0 !important;
  padding-left:20px !important;
  text-align:left;
  line-height:1.55 !important;
}

.additional-info li{
  margin:3px 0 !important;
  padding:0 !important;
  line-height:1.55 !important;
  text-align:left;
}

.additional-info span{
  line-height:inherit;
}

.additional-info strong,
.additional-info b{
  display:inline-flex;
  align-items:center;
  min-height:22px;
  padding:0 7px;
  border-radius:7px;
  background:#eef4ff;
  color:#0b3f8a;
  font-size:.95em;
  font-weight:950;
}

.additional-info em,
.additional-info i{
  font-style:italic;
}

.additional-info u{
  text-underline-offset:2px;
}

/* 선택검사 전체 */
.tests-container,
.gl-tests-container{
  margin:14px 0 14px !important;
  padding:0 !important;
  border:1px solid #d8e4f5;
  border-radius:18px;
  background:linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow:0 10px 22px rgba(15,23,42,.055);
  overflow:hidden;
}

/* 구버전 row 구조 */
.row.tests{
  margin:0 !important;
  padding:13px 14px 12px !important;
}

.row.tests + .row.tests{
  margin-top:0 !important;
  padding-top:13px !important;
  border-top:1px dashed #dbe4f0;
}

/* 신버전 gl 구조 */
.gl-test-group{
  padding:13px 14px 12px;
}

.gl-test-group + .gl-test-group{
  border-top:1px dashed #dbe4f0;
}

.test-title,
.gl-test-group-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin:0 0 9px;
  line-height:1.25;
}

.test-title .title-text,
.gl-test-title{
  min-width:0;
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#1d4ed8 !important;
  font-size:14px;
  font-weight:950;
  line-height:1.2;
  letter-spacing:-0.02em;
  margin:0;
}

.gl-test-title-dot{
  width:7px;
  height:7px;
  border-radius:999px;
  background:#2563eb;
  box-shadow:0 0 0 4px rgba(37,99,235,.10);
}

.test-title .max-count,
.gl-test-count{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:0 9px;
  border-radius:999px;
  background:#eff6ff;
  border:1px solid #bfdbfe;
  color:#1d4ed8 !important;
  font-size:11.5px;
  font-weight:950;
  white-space:nowrap;
}

.test-items{
  margin:0;
  color:#1f2937;
  font-size:13.5px;
  line-height:1.65;
  text-align:left;
  word-break:keep-all;
  overflow-wrap:anywhere;
}

.gl-test-items{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  align-items:flex-start;
}

.gl-exam-item{
  display:inline-flex;
  align-items:center;
  max-width:100%;
  min-height:28px;
  padding:4px 8px;
  border-radius:999px;
  background:#ffffff;
  border:1px solid #e2e8f0;
  color:#1f2937;
  font-size:13px;
  font-weight:750;
  line-height:1.25;
  box-shadow:0 3px 8px rgba(15,23,42,.035);
}

.opt-no,
.gl-exam-no{
  flex:0 0 auto;
  margin-right:4px;
  color:#2563eb;
  font-weight:950;
}

.gl-exam-name{
  min-width:0;
  word-break:keep-all;
  overflow-wrap:anywhere;
}

.select-addon-badge,
.gl-exam-item .select-addon-badge{
  display:inline-flex;
  align-items:center;
  margin-left:5px;
  padding:2px 6px;
  border-radius:999px;
  border:1px solid #fecdd3;
  background:#fff1f2;
  color:#e11d48;
  font-size:10.5px;
  font-weight:950;
  line-height:1.1;
  white-space:nowrap;
}

/* 검색 하이라이트 */
.exam-alias-hit,
.gl-exam-name .exam-alias-hit,
.gl-basic-names .exam-alias-hit{
  display:inline;
  padding:0;
  border-radius:0;
  background:transparent;
  color:#c2410c;
  font-weight:950;
}

/* 기본 정밀검사 */
.section-text-bottom{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  margin:14px 0 0;
  padding:12px 14px 10px;
  border:1px solid #d5eadf;
  border-bottom:0;
  border-radius:18px 18px 0 0;
  background:linear-gradient(180deg, #f0fdf4 0%, #ecfdf3 100%);
  color:#047857;
  font-size:15px;
  font-weight:950;
  line-height:1.2;
  letter-spacing:-0.02em;
  text-align:center;
}

.green-check{
  width:20px;
  height:20px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin:0;
  border-radius:7px;
  background:#22c55e;
  color:#fff;
  font-size:14px;
  font-weight:950;
  line-height:1;
}

.basic-exam-items{
  margin:0 0 14px;
  padding:12px 14px;
  border:1px solid #d5eadf;
  border-radius:0 0 18px 18px;
  background:linear-gradient(180deg, #ffffff 0%, #f7fcf8 100%);
  box-shadow:0 10px 22px rgba(22,163,74,.055);
}

.basic-group{
  display:grid;
  grid-template-columns:72px minmax(0, 1fr);
  gap:8px;
  align-items:start;
  margin:0 0 8px;
  padding:0 0 8px;
  border-bottom:1px dashed #e2e8f0;
  background:transparent;
}

.basic-group:last-child{
  margin-bottom:0;
  padding-bottom:0;
  border-bottom:0;
}

.group-label{
  color:#047857;
  font-size:13.5px;
  font-weight:950;
  line-height:1.45;
  word-break:keep-all;
}

.exam-names{
  color:#334155;
  font-size:13.5px;
  font-weight:650;
  line-height:1.45;
  word-break:keep-all;
  overflow-wrap:anywhere;
}

/* 신버전 기본 정밀검사 */
.gl-basic-wrap{
  margin:14px 0 14px;
  padding:0;
  border:1px solid #d5eadf;
  border-radius:18px;
  background:linear-gradient(180deg, #ffffff 0%, #f7fcf8 100%);
  box-shadow:0 10px 22px rgba(22,163,74,.055);
  overflow:hidden;
}

.gl-basic-head{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:12px 14px 10px;
  color:#047857;
  font-size:15px;
  font-weight:950;
  line-height:1.2;
  letter-spacing:-0.02em;
  background:linear-gradient(180deg, #f0fdf4 0%, #ecfdf3 100%);
  border-bottom:1px solid #d5eadf;
}

.gl-basic-icon{
  width:20px;
  height:20px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:7px;
  background:#22c55e;
  color:#fff;
  font-size:14px;
  font-weight:950;
  line-height:1;
}

.gl-basic-list{
  padding:12px 14px;
}

.gl-basic-row{
  display:grid;
  grid-template-columns:72px minmax(0, 1fr);
  gap:8px;
  align-items:start;
  margin:0 0 8px;
  padding:0 0 8px;
  border-bottom:1px dashed #e2e8f0;
}

.gl-basic-row:last-child{
  margin-bottom:0;
  padding-bottom:0;
  border-bottom:0;
}

.gl-basic-label{
  color:#047857;
  font-size:13.5px;
  font-weight:950;
  line-height:1.45;
  word-break:keep-all;
}

.gl-basic-names{
  color:#334155;
  font-size:13.5px;
  font-weight:650;
  line-height:1.45;
  word-break:keep-all;
  overflow-wrap:anywhere;
}

/* 예약 가능기간: 박스 제거 */
.reserve-period,
.checkup-card .reserve-period,
.inline-detail-box .reserve-period{
  width:100%;
  max-width:100%;
  margin:14px auto 0 !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  color:#dc2626 !important;
  font-size:14px;
  font-weight:950;
  line-height:1.35;
  text-align:center;
}

.btn-group{
  display:flex;
  gap:12px;
  margin-top:16px;
}

.btn-detail,
.btn-reserve{
  flex:1;
  padding:12px 0;
  border:none;
  border-radius:12px;
  cursor:pointer;
  font-size:15px;
  font-weight:900;
  box-shadow:0 8px 18px rgba(15,23,42,.10);
  transition:background-color .15s ease, transform .05s ease, box-shadow .15s ease;
}

.btn-detail{
  background:var(--primary);
  color:#fff;
}

.btn-detail:hover{
  background:var(--primary-dark);
}

.btn-reserve{
  background:var(--success);
  color:#fff;
}

.btn-reserve:hover{
  filter:brightness(.96);
}

.btn-detail:active,
.btn-reserve:active{
  transform:translateY(1px);
}

.btn-detail.is-disabled,
.btn-detail:disabled{
  background:#e5e7eb !important;
  color:#9ca3af !important;
  cursor:not-allowed !important;
  box-shadow:none !important;
}

/* 상태 */
.state{
  background:#fff;
  border:1px dashed #cbd5e1;
  border-radius:14px;
  padding:16px;
  color:#64748b;
  text-align:center;
  box-shadow:0 2px 8px rgba(15,23,42,.04);
}

.state b{
  color:#111827;
}

.state .mini{
  margin-top:6px;
  font-size:12px;
}

.product-placeholder{
  padding:10px 12px;
  border-radius:10px;
  background:#f8fafc;
  color:#64748b;
  font-size:14px;
}

/* 태블릿 이하 */
@media (max-width: 1024px){
  .search-box .grid{
    grid-template-columns:1fr 1fr;
  }

  .field.actions{
    justify-content:stretch;
  }

  .field.actions .btn{
    flex:1;
  }

  .event-strip{
    grid-template-columns:1fr;
  }

  .productName{
    font-size:22px;
  }

  .productPrice{
    font-size:20px;
  }

  .btn-group{
    gap:10px;
  }
}

/* 모바일 */
@media (max-width: 899px){
  .wrap{
    width:min(100%, calc(100% - 12px));
    padding:18px 0 44px;
  }

  .page-head{
    padding:4px 0 14px;
  }

  .page-head h1{
    font-size:24px;
  }

  .page-head .sub{
    font-size:13px;
    line-height:1.5;
  }

  .hospital-section-layout{
    display:block;
  }

  .hospital-stage-column{
    display:none !important;
  }

  .hospital-list-column{
    width:100%;
  }

  .hospital-card{
    border-radius:16px;
  }

  .hospital-top{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:8px;
    min-height:auto;
    padding:16px 10px 14px;
  }

  .hospital-top .info{
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    width:100%;
  }

  .hospital-top .name{
    font-size: 25px;
    font-weight:900;
    text-align:center;
    white-space:normal;
  }

  .hospital-top .addr{
    font-size:14px;
    line-height:1.45;
    text-align:center;
    white-space:normal;
    overflow:visible;
    text-overflow:unset;
    word-break:keep-all;
  }

  .hospital-top .right{
    width:100%;
    justify-content:center;
  }

  .hospital-top .right .btn{
    min-width:110px;
    height:40px;
  }

  .hospital-products{
    padding:0;
    background:#fbfcff;
  }

  .hospital-products-inner{
    padding:12px 8px 14px;
    background:#fbfcff;
  }

  .hospital-product-tabs,
  .product-type-selection{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    position:static;
    top:auto;
    z-index:auto;
  }

  .product-type-btn{
    min-width:auto;
    padding:9px 14px;
    font-size:14px;
  }



  .checkup-card{
    padding:18px 14px 14px;
    border-radius:18px;
    border:1px solid #d7e3f4;
  }

  .productName{
    font-size:24px;
    line-height:1.26;
    text-align:center;
    word-break:keep-all;
    overflow-wrap:anywhere;
  }

  .productPrice{
    font-size:18px;
    text-align:center;
  }

.additional-info{
  font-size: 14px;
  line-height:1.42 !important;
}

.additional-info p,
.additional-info div,
.additional-info li{
  margin-bottom:5px !important;
  line-height:1.42 !important;
}
  .section-text-bottom{
    font-size:16px;
  }

  .reserve-period{
    padding:0 !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    font-size:14px;
  }

  .product-summary-row{
    padding:18px 14px 14px;
    border-radius:20px;
  }

  .summary-main{
    order:1;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:5px;
    /* margin-bottom:14px; */
    text-align:center;
  }

  .summary-name{
    width:100%;
    font-size: 23px;
    font-weight:950;
    line-height:1.28;
    letter-spacing:-0.035em;
    text-align:center;
    white-space:normal;
    word-break:keep-all;
    overflow-wrap:anywhere;
  }

  .summary-price{
    width:100%;
    font-size: 21px;
    font-weight:950;
    line-height:1.2;
    text-align:center;
  }

  .summary-inline-detail{
    order:2;
    /* margin-top:12px; */
  }

  .summary-actions{
    order:3;
    width:100%;
    display:grid;
    grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);
    gap:8px;
    margin-top:13px;
  }

  .summary-actions .btn{
    width:100%;
    min-width:0;
    height:46px;
    min-height:46px;
    padding:0 10px;
    border-radius:999px;
    font-size:13.5px;
    font-weight:950;
    line-height:1;
  }

  .summary-actions .btn:not(.primary){
    background:#ffffff;
    border:1px solid #d5deec;
    color:#0f172a;
  }

  .summary-actions .btn.primary{
    background:#16a34a;
    border-color:#16a34a;
    color:#ffffff;
  }
  
}

/* PC에서는 카드 아래 상세 숨김, 우측만 사용 */
@media (min-width: 899px){
  .mobile-product-detail{
    display:none !important;
  }

  #desktopAdStage[hidden],
  #desktopDetailStage[hidden]{
    display:none !important;
  }

  #desktopAdStage:not([hidden]),
  #desktopDetailStage:not([hidden]){
    display:block !important;
  }
}

/* 우측 상세카드 등장 효과 */
#desktopDetailStage{
  position:relative;
}

#desktopDetailStage.detail-pop{
  animation:none !important;
}
@keyframes detailPopFlash{
  0%{
    transform:scale(.985);
    box-shadow:0 0 0 0 rgba(37,99,235,0);
  }
  35%{
    transform:scale(1.01);
    box-shadow:0 0 0 10px rgba(37,99,235,.10);
  }
  100%{
    transform:scale(1);
    box-shadow:0 0 0 0 rgba(37,99,235,0);
  }
}
/* =========================
   검사항목 멀티선택 UI (추가분만)
   ========================= */

.exam-field{
  position:relative;
}

.exam-search-ui{
  position:relative;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.exam-badge-wrap{
  display:flex;
  flex-wrap:wrap;
  margin-top: 10px;
  gap:8px;
  min-height:8px;
}

.exam-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  max-width:100%;
  padding:8px 12px;
  border-radius:999px;
  background:#eaf3ff;
  border:1px solid #bcd6ff;
  color:#0b4ea2;
  font-size:13px;
  font-weight:800;
  line-height:1;
}

.exam-badge-text{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.exam-badge-remove{
  border:none;
  background:transparent;
  color:#0b4ea2;
  font-size:15px;
  font-weight:900;
  line-height:1;
  cursor:pointer;
  padding:0;
  margin:0;
}

.exam-badge-remove:hover{
  opacity:.72;
}

.exam-dropdown{
  position:absolute;
  top:calc(100% + 6px);
  left:0;
  right:0;
  z-index:30;
  max-height:260px;
  overflow-y:auto;
  background:#fff;
  border:1px solid #d8dee8;
  border-radius:14px;
  box-shadow:0 14px 28px rgba(15,23,42,.12);
  padding:8px;
}

.exam-dropdown-item{
  width:100%;
  display:block;
  text-align:left;
  border:none;
  background:transparent;
  border-radius:10px;
  padding:11px 12px;
  cursor:pointer;
  font-size:14px;
  color:#1f2937;
  transition:background .15s ease, color .15s ease;
}

.exam-dropdown-item:hover,
.exam-dropdown-item.is-active{
  background:#eef5ff;
  color:#0b4ea2;
}

.exam-dropdown-empty{
  padding:12px;
  font-size:13px;
  color:#8b95a1;
}
.price-help {
  margin-top: 6px;
  font-size: 12px;
  color: #666;
  line-height: 1.4;
}
.field.price{
  position:relative;
}

.field.price .price-help{
  position:absolute;
  left:0;
  top:100%;
  margin-top:6px;
  font-size:12px;
  color:#666;
  line-height:1.4;
  white-space:nowrap;
}



.wish-date-row{
  display:flex;
  gap:8px;
}

.wish-date-input{
  width:100%;
  height:40px;
  border:1px solid var(--line);
  border-radius:10px;
  padding:0 12px;
  background:#fff;
  color:var(--text);
}

.wish-date-help{
  display:block;
  margin-top:6px;
  min-height:17px;
  font-size:12px;
  color:var(--muted);
  line-height:1.4;
}

@media (max-width: 899px){
.search-box .grid{
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:10px 10px;
}

  .search-box .grid > *{
    min-width:0;
  }

  .field{
    min-width:0;
  }

  .wish-date-row,
  .field.price .price-row,
  .field.actions{
    width:100%;
  }

  .wish-date-row{
    flex-direction:column;
  }

  .field.price .price-row input{
    min-width:0;
  }

  .field.actions{
    flex-direction:row;
  }

  .field.actions .btn{
    flex:1 1 0;
    min-width:0;
  }
}
.wish-date-field{
  position:relative;
}

.wish-date-help{
  position:absolute;
  top:100%;
  left:0;
  margin-top:6px;
  font-size:12px;
  color:var(--muted);
  line-height:1.4;
  white-space:nowrap;
}

.exam-search-section{
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid var(--line-soft);
}

.exam-group-filter-wrap{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, max-content));
  gap:14px 20px;
  align-items:start;
  justify-content:start;
  /* margin-top:10px; */
  padding:14px 16px;
  /* background:#fbfcff; */
  /* border:1px solid #e5ebf3; */
  /* border-radius:12px; */
}

.exam-group-block{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:8px;
  margin:0;
  min-width:140px;
  width:fit-content;
  max-width:100%;
}

.exam-group-name{
  margin:0;
  font-size:15px;
  font-weight:800;
  color:#111827;
  line-height:1.4;
  white-space:nowrap;
}

.exam-group-items{
  display:flex;
  flex-wrap:wrap;
  gap:6px 12px;
  min-width:0;
  width:100%;
}

.exam-check-item{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin:0;
  font-size:14px;
  color:#374151;
  line-height:1.5;
  white-space:nowrap;
}
/* 검색 오버레이 */
.search-overlay[hidden] {
  display: none !important;
}

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: overlayFadeIn 0.18s ease;
}

.search-overlay__box {
  min-width: 180px;
  padding: 18px 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  text-align: center;
}

.search-overlay__text {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #1f2937;
}

.search-spinner {
  width: 34px;
  height: 34px;
  margin: 0 auto;
  border-radius: 50%;
  border: 3px solid rgba(11, 78, 162, 0.18);
  border-top-color: #0b4ea2;
  animation: spin 0.8s linear infinite;
}

/* 결과 영역 살짝 흐리게 */
.hospital-list.is-searching {
  pointer-events: none;
  filter: blur(2px);
  opacity: 0.7;
  transition: filter 0.18s ease, opacity 0.18s ease;
}

/* 병원 카드 등장 애니메이션 */
.hospital-card {
  animation: cardPopIn 0.28s ease both;
}

.hospital-card:nth-child(1) { animation-delay: 0.02s; }
.hospital-card:nth-child(2) { animation-delay: 0.05s; }
.hospital-card:nth-child(3) { animation-delay: 0.08s; }
.hospital-card:nth-child(4) { animation-delay: 0.11s; }
.hospital-card:nth-child(5) { animation-delay: 0.14s; }
.hospital-card:nth-child(6) { animation-delay: 0.17s; }
.hospital-card:nth-child(7) { animation-delay: 0.20s; }
.hospital-card:nth-child(8) { animation-delay: 0.23s; }

@keyframes overlayFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes cardPopIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.exam-filter-box {
  margin-top: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.search-pane--exam {
  display: flex;
  flex-direction: column;
}

/* 기본: 접힌 상태 기준 */
.exam-filter-box.is-collapsed {
  display: inline-block;
  width: fit-content;
  align-self: flex-start;
}

.exam-filter-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 17px 10px;
  border: 0;
  background: #f8fafc;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
}

.exam-filter-toggle:hover {
  background: #f1f5f9;
}

.exam-filter-toggle__icon {
  transition: transform 0.2s ease;
}

.exam-filter-box.is-open {
  display: block;
  width: 100%;
}

.exam-filter-box.is-open .exam-filter-toggle {
  display: flex;
  width: 100%;
}

.exam-filter-box.is-open .exam-filter-toggle__icon {
  transform: rotate(180deg);
}

.exam-group-filter-wrap {
  padding: 14px 16px;
  border-top: 1px solid #e5e7eb;
}

.exam-filter-box.is-collapsed .exam-group-filter-wrap[hidden] {
  display: none;
}
/* 검색 적용 상태 표시 */
.search-box.search-box--split.is-filter-active{
  border-color:#2563eb;
  box-shadow:
    0 0 0 3px rgba(37,99,235,.10),
    var(--shadow-sm);
}

.field input.is-applied,
.field select.is-applied{
  border-color:#2563eb !important;
  background:#f8fbff;
  box-shadow:0 0 0 3px rgba(37,99,235,.10);
}

.exam-filter-box.is-applied{
  border-color:#2563eb;
  box-shadow:0 0 0 3px rgba(37,99,235,.08);
}

.exam-filter-box.is-applied .exam-filter-toggle{
  background:#eff6ff;
  color:#1d4ed8;
}
@media (min-width: 899px) {
  .desktop-stage--detail {
    position: relative;
    padding: 18px;
    background: #fbfcff;
    overflow: hidden;
    min-height: 520px;
    height: min(78vh, 920px);
  }

  .desktop-detail-shell {
    position: relative;
    height: 100%;
    min-height: 0;
  }

  .desktop-detail-scroll {
    height: 100%;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .desktop-detail-scroll .checkup-card {
    margin: 0 !important;
    width: 100%;
    max-width: none;
    min-height: auto;
    border: 1px solid #dbe3ee;
    box-shadow: none;
  }

  .desktop-scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%) translateY(8px);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 0;
    border-radius: 999px;
    background: rgba(11, 78, 162, 0.92);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 5;
  }

  .desktop-scroll-hint.is-show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
  }

  .desktop-scroll-hint__arrow {
    font-size: 16px;
    line-height: 1;
    animation: desktopScrollArrowBounce 1s ease-in-out infinite;
  }
}
@keyframes desktopScrollArrowBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}
#scrollTopBtn {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 10002;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 14px;
  border: none;
  border-radius: 999px;
  background: #0071ff;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-10px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    background-color 0.15s ease,
    box-shadow 0.15s ease;
}

#scrollTopBtn:hover {
  background: #0071ff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

#scrollTopBtn.is-show {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 899px) {
  #scrollTopBtn {
    top: 12px;
    height: 40px;
    padding: 0 12px;
    font-size: 12px;
  }
}
.hospital-keyword-wrap {
  position: relative;
}

.hospital-keyword-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 50;
  background: #fff;
  border: 1px solid #dcdcdc;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
  overflow: hidden;
  max-height: 280px;
  overflow-y: auto;
}

.hospital-keyword-item {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid #eee;
  background: #fff;
  text-align: left;
  font-size: 15px;
  color: #222;
}

.hospital-keyword-item:last-child {
  border-bottom: 0;
}

.hospital-keyword-item:active {
  background: #f5f7fb;
}
.desktop-stage--map,
.desktop-stage--detail,
.desktop-stage--ad {
  min-height: 520px;
}

.desktop-map-shell {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.desktop-map-head {
  padding: 4px 4px 0;
}

.desktop-map-title {
  font-size: 18px;
  font-weight: 800;
  color: #123f6b;
}

.desktop-map-address {
  margin-top: 6px;
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

.desktop-kakao-map {
  width: 100%;
  height: 460px;
  border-radius: 16px;
  overflow: hidden;
  background: #f5f7fa;
}

.hospital-map-panel {
  margin-top: 12px;
}

.inline-map-box {
  border: 1px solid #e6ebf1;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.inline-map-canvas {
  width: 100%;
  height: 280px;
  background: #f5f7fa;
}

@media (min-width: 900px) {
  .hospital-map-panel {
    display: none !important;
  }
}
.exam-alias-hit{
  display:inline-block;
  padding:2px 7px;
  border-radius:8px;
  background:#fef3c7;
  color:#92400e;
  font-weight:700;
}
.glcorp-choice-btn {
  cursor: pointer;
}

.glcorp-choice-btn.is-disabled {
  cursor: not-allowed;
}

.glcorp-choice-row-actions {
  cursor: pointer;
}

.glcorp-card-mini-btn {
  cursor: pointer;
}
.glcorp-card-mini-btn.is-busy,
.glcorp-floating-add-btn.is-busy,
#dependentEntrySaveBtn.is-busy {
  opacity: 0.72;
  cursor: wait;
  pointer-events: none;
}

.glcorp-card-mini-btn:disabled,
.glcorp-floating-add-btn:disabled,
#dependentEntrySaveBtn:disabled {
  opacity: 0.72;
  cursor: wait;
}

.glcorp-loading-overlay[hidden] {
  display: none !important;
}
/* =========================================================
   GL 개인검진 상품 카드 배경톤 테스트
   - 줄/간격/보더 변경 없음
   - background만 변경
========================================================= */

/* GL 개인검진 카드 전체: 아주 약한 고급 블루톤 */
.checkup-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.085) 0, transparent 210px),
    radial-gradient(circle at 0% 100%, rgba(14, 165, 233, 0.055) 0, transparent 220px),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
}

/* GL 개인검진 선택검사 박스: 블루 + 살짝 보라 섞은 톤 */
.tests-container,
.gl-tests-container {
  background:
    radial-gradient(circle at 100% 0%, rgba(59, 130, 246, 0.13) 0, transparent 190px),
    linear-gradient(135deg, #f1f7ff 0%, #ffffff 52%, #f7f5ff 100%) !important;
}

/* GL 개인검진 선택검사 항목 칩 */
.gl-exam-item {
  background:
    linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%) !important;
}

/* GL 개인검진 선택검사 항목 hover */
.gl-exam-item:hover {
  background:
    linear-gradient(180deg, #eef6ff 0%, #ffffff 100%) !important;
}

/* GL 개인검진 기본검사 박스 */
.gl-basic-wrap,
.basic-exam-items {
  background:
    radial-gradient(circle at 0% 0%, rgba(22, 163, 74, 0.10) 0, transparent 180px),
    linear-gradient(135deg, #f0fdf4 0%, #ffffff 54%, #f7fff9 100%) !important;
}

/* =========================================================
   GL 개인예약 보강 CSS
   - 모바일 검색 접힘
   - 상세파일/예약 버튼
   - 예약 진입 로딩
   - 이미지/PDF 뷰어
   - 상품 카드 타이포 보강
========================================================= */

/* =========================================================
   PC 상세 스테이지: 기업쪽과 동일하게 내부 스크롤 제거
========================================================= */

@media (min-width: 900px) {
  #desktopAdStage:not([hidden]) {
    display: flex !important;
  }

  #desktopMapStage:not([hidden]),
  #desktopDetailStage:not([hidden]) {
    display: block !important;
  }

  #desktopAdStage[hidden],
  #desktopMapStage[hidden],
  #desktopDetailStage[hidden] {
    display: none !important;
  }

  .desktop-stage--detail {
    position: relative !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    min-height: 0 !important;
    height: auto !important;
  }

  .desktop-detail-shell {
    position: relative !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .desktop-detail-scroll {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    padding-right: 0 !important;
  }

  .desktop-detail-scroll .checkup-card {
    margin: 0 !important;
    width: 100% !important;
    max-width: none !important;
    min-height: auto !important;
  }
}

/* =========================================================
   모바일 검색 ON/OFF
========================================================= */

/* PC 기본 */
.smart-search-head,
.smart-search-close-btn {
  display: none !important;
}

.smart-search-body {
  display: grid;
  gap: 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

@media (min-width: 900px) {
  .search-box.search-box--split .smart-search-body[hidden] {
    display: grid !important;
  }

  .search-box.search-box--split {
    position: static;
    top: auto;
    z-index: auto;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--card);
    box-shadow: var(--shadow-sm);
  }
}

/* 모바일 */
@media (max-width: 899px) {
  .search-box.search-box--split {
    position: sticky;
    top: 8px;
    z-index: 300;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .search-box.search-box--split.is-filter-active {
    border-color: transparent !important;
    box-shadow: none !important;
  }

  .smart-search-head {
    display: flex !important;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    min-width: 0;
    margin: 0 0 8px;
  }

  .search-box.search-box--split.is-smart-open .smart-search-head {
    display: none !important;
    margin: 0;
  }

  .smart-search-toggle {
    height: 42px;
    min-width: 112px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 11px 0 13px;
    border: 1px solid rgba(148, 163, 184, .34);
    border-radius: 999px;
    background: rgba(255, 255, 255, .96);
    color: #0f172a;
    cursor: pointer;
    box-shadow:
      0 10px 24px rgba(15, 23, 42, .10),
      inset 0 1px 0 rgba(255, 255, 255, .9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition:
      transform .12s ease,
      border-color .16s ease,
      box-shadow .16s ease,
      background-color .16s ease;
  }

  .smart-search-toggle:hover {
    transform: translateY(-1px);
    box-shadow:
      0 13px 28px rgba(15, 23, 42, .14),
      inset 0 1px 0 rgba(255, 255, 255, .9);
  }

  .smart-search-toggle__text {
    color: #0f172a;
    font-size: 13.5px;
    font-weight: 950;
    line-height: 1;
    letter-spacing: -0.03em;
  }

  .smart-search-toggle__status {
    min-width: 36px;
    height: 23px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 950;
    line-height: 1;
    letter-spacing: -0.02em;
  }

  .smart-search-toggle__status.is-on {
    background: #22c55e;
    color: #ffffff;
    box-shadow: 0 5px 12px rgba(34, 197, 94, .28);
  }

  .smart-search-toggle__status.is-off {
    background: #e5e7eb;
    color: #64748b;
  }

  .search-box.search-box--split.is-search-on .smart-search-toggle {
    border-color: rgba(34, 197, 94, .52);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(240, 253, 244, .96) 100%);
    box-shadow:
      0 10px 26px rgba(34, 197, 94, .16),
      0 0 0 3px rgba(34, 197, 94, .10);
  }

  .search-box.search-box--split.is-search-off .smart-search-toggle {
    border-color: rgba(148, 163, 184, .36);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(248, 250, 252, .94) 100%);
  }

  .smart-search-body {
    display: grid;
    gap: 12px;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid rgba(191, 219, 254, .85);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(248, 251, 255, .96) 100%);
    box-shadow:
      0 16px 38px rgba(15, 23, 42, .10),
      inset 0 1px 0 rgba(255, 255, 255, .9);
  }

  .smart-search-body[hidden] {
    display: none !important;
  }

  .smart-search-close-btn {
    justify-self: end;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-width: 86px;
    height: 32px;
    margin: 0 0 2px auto;
    padding: 0 11px;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    background: #ffffff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 950;
    cursor: pointer;
    box-shadow:
      0 6px 14px rgba(37, 99, 235, .08),
      inset 0 1px 0 rgba(255, 255, 255, .9);
  }

  .smart-search-close-btn:hover {
    border-color: #93c5fd;
    background: #eff6ff;
  }

  .smart-search-close-btn[hidden] {
    display: none !important;
  }
}

/* =========================================================
   상품 상세 하단 버튼
========================================================= */

.gl-detail-action-row {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 9px;
  margin-top: 14px;
}

.gl-detail-action-row.is-single {
  grid-template-columns: minmax(0, 1fr);
}

.gl-detail-action-row .btn {
  width: 100%;
  min-width: 0;
  height: 46px;
  min-height: 46px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 950;
  line-height: 1;
}

.gl-product-file-btn {
  background: #2563eb !important;
  border: 1px solid #2563eb !important;
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(37, 99, 235, .18) !important;
}

.gl-product-file-btn:hover:not(:disabled) {
  background: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
}

.gl-product-file-btn.is-disabled,
.gl-product-file-btn:disabled {
  cursor: not-allowed !important;
  background: #e5e7eb !important;
  border-color: #e5e7eb !important;
  color: #9ca3af !important;
  box-shadow: none !important;
}

.gl-detail-reserve-btn {
  background: #16a34a !important;
  border-color: #16a34a !important;
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(22, 163, 74, .18) !important;
}

.gl-detail-reserve-btn:hover:not(:disabled) {
  background: #15803d !important;
  border-color: #15803d !important;
}

/* =========================================================
   예약 진입 로딩
========================================================= */

.reservation-entry-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(248, 250, 252, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.reservation-entry-loading-overlay.is-active {
  display: flex;
}

.reservation-entry-loading-card {
  width: min(420px, 100%);
  padding: 28px 24px 24px;
  border-radius: 24px;
  border: 1px solid #bfdbfe;
  background:
    radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.14), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
  box-shadow: 0 24px 70px rgba(30, 64, 175, 0.18);
  text-align: center;
}

.reservation-entry-loading-spinner {
  width: 46px;
  height: 46px;
  margin: 0 auto 16px;
  border-radius: 999px;
  border: 4px solid #bfdbfe;
  border-top-color: #2563eb;
  animation: reservationEntrySpin 0.85s linear infinite;
}

.reservation-entry-loading-title {
  color: #0f172a;
  font-size: 20px;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.reservation-entry-loading-desc {
  margin-top: 9px;
  color: #64748b;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.55;
  word-break: keep-all;
}

[data-action="reserve"].is-loading,
[data-action="reserve"].is-loading:hover,
[data-action="reserve-from-detail"].is-loading,
[data-action="reserve-from-detail"].is-loading:hover {
  cursor: wait !important;
  opacity: 0.88;
  filter: none !important;
  pointer-events: none;
}

[data-action="reserve"].is-loading::before,
[data-action="reserve-from-detail"].is-loading::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #ffffff;
  vertical-align: -2px;
  animation: reservationEntrySpin 0.75s linear infinite;
}

@keyframes reservationEntrySpin {
  to {
    transform: rotate(360deg);
  }
}

/* =========================================================
   상품 상세 이미지/PDF 뷰어
========================================================= */

.imgviewer-modal {
  position: fixed;
  inset: 0;
  z-index: 1000001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(15, 23, 42, .72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.imgviewer-content {
  position: relative;
  width: min(1040px, 96vw);
  height: min(820px, 92vh);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 52px 18px 18px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow:
    0 28px 90px rgba(0, 0, 0, .34),
    inset 0 1px 0 rgba(255, 255, 255, .9);
  overflow: hidden;
}

.imgviewer-image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 14px;
  background: #f8fafc;
}

.imgviewer-pdf-viewer {
  width: 100%;
  height: 100%;
  display: none;
  border-radius: 14px;
  overflow: hidden;
  background: #f8fafc;
}

.imgviewer-pdf-frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #ffffff;
}

.imgviewer-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #ef4444;
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(239, 68, 68, .25);
}

.imgviewer-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 42px;
  height: 54px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, .72);
  color: #ffffff;
  font-size: 36px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .20);
}

.imgviewer-arrow-left {
  left: 14px;
}

.imgviewer-arrow-right {
  right: 14px;
}

.imgviewer-file-actions {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
}

.imgviewer-file-btn {
  height: 34px;
  padding: 0 13px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(37, 99, 235, .10);
}

.imgviewer-file-btn:hover {
  border-color: #60a5fa;
  background: #dbeafe;
}

.imgviewer-modal.is-pdf-mode .imgviewer-content {
  padding-top: 54px;
}

@media (max-width: 899px) {
  .imgviewer-modal {
    padding: 10px;
  }

  .imgviewer-content {
    width: 100%;
    height: 92vh;
    padding: 50px 10px 12px;
    border-radius: 18px;
  }

  .imgviewer-close {
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    font-size: 22px;
  }

  .imgviewer-file-actions {
    top: 10px;
    left: 10px;
  }

  .imgviewer-file-btn {
    height: 33px;
    padding: 0 11px;
    font-size: 11.5px;
  }

  .imgviewer-arrow {
    width: 36px;
    height: 48px;
    font-size: 30px;
  }

  .imgviewer-arrow-left {
    left: 8px;
  }

  .imgviewer-arrow-right {
    right: 8px;
  }
}

/* =========================================================
   GL 개인 상품 영역 타이포/밀도 보강
========================================================= */

.checkup-card,
.product-summary-row,
.inline-detail-box {
  margin-top: 12px;
  font-family:
    "Inter", "Noto Sans", "Noto Sans KR", "Apple SD Gothic Neo",
    "Malgun Gothic", "Segoe UI", Roboto, Arial, sans-serif !important;
  color: #061733;
  text-rendering: geometricPrecision;
}

/* 상품 요약명 */
.summary-name {
  color: #061733 !important;
  font-family:
    "Inter", "Noto Sans", "Noto Sans KR", "Apple SD Gothic Neo",
    "Malgun Gothic", "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: 22px !important;
  font-weight: 950 !important;
  line-height: 1.22 !important;
  letter-spacing: -0.055em !important;
  text-shadow: 0 0.3px 0 rgba(2, 6, 23, 0.18);
}

/* 상세 상품명 */
.productName,
.checkup-card .productName {
  color: #061733 !important;
  font-family:
    "Inter", "Noto Sans", "Noto Sans KR", "Apple SD Gothic Neo",
    "Malgun Gothic", "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: 28px !important;
  font-weight: 950 !important;
  line-height: 1.18 !important;
  letter-spacing: -0.06em !important;
  text-shadow: 0 0.35px 0 rgba(2, 6, 23, 0.20);
}

/* 가격 */
.summary-price,
.productPrice,
.checkup-card .productPrice {
  color: #2458ff !important;
  font-weight: 950 !important;
  letter-spacing: -0.045em !important;
  text-shadow: 0 0.25px 0 rgba(37, 99, 235, 0.18);
}

/* 추가 설명 */
.additional-info,
.checkup-card .additional-info,
.inline-detail-box .additional-info {
  width: min(100%, 560px);
  margin: 6px auto 12px !important;

  text-align: center !important;
  color: #0f172a !important;

  font-size: 14px !important;
  font-weight: 850 !important;
  line-height: 1.38 !important;
  letter-spacing: -0.028em !important;

  white-space: normal !important;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.additional-info p,
.additional-info div {
  margin: 0 0 3px !important;
  padding: 0 !important;
  line-height: 1.38 !important;
  font-weight: 850 !important;
}

.additional-info p:last-child,
.additional-info div:last-child {
  margin-bottom: 0 !important;
}

.additional-info p:empty,
.additional-info div:empty {
  display: none !important;
  margin: 0 !important;
}

.additional-info p:has(> br:only-child),
.additional-info div:has(> br:only-child) {
  display: none !important;
  margin: 0 !important;
}

/* 병원명/주소는 약간만 */
.hospital-top .name {
  color: #0f172a !important;
  font-weight: 900 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.26 !important;
  text-shadow: none !important;
}

.hospital-top .addr {
  color: #475569 !important;
  font-weight: 650 !important;
  letter-spacing: -0.015em !important;
  line-height: 1.45 !important;
  text-shadow: none !important;
}

.hospital-card[data-open="1"] .hospital-top .name {
  color: #2563eb !important;
  font-weight: 920 !important;
}

.hospital-card[data-open="1"] .hospital-top .addr {
  color: #64748b !important;
  font-weight: 700 !important;
}

/* 상품 탭 */
.product-type-btn {
  color: #24435f !important;
  font-weight: 950 !important;
  letter-spacing: -0.035em !important;
}

.product-type-btn.active {
  background: #174f86 !important;
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(23, 79, 134, 0.24) !important;
}

/* 선택검사 제목은 너무 두껍지 않게 */
.gl-test-title,
.test-title .title-text {
  color: #1d4ed8 !important;
  font-weight: 900 !important;
  letter-spacing: -0.035em !important;
  text-shadow: none !important;
}

.gl-test-count,
.test-title .max-count {
  position: relative !important;
  flex: 0 0 auto !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  min-height: 25px !important;
  padding: 0 10px 0 20px !important;
  border-radius: 999px !important;

  background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%) !important;
  border: 1px solid #93c5fd !important;
  color: #1d4ed8 !important;

  font-size: 11.5px !important;
  font-weight: 900 !important;
  letter-spacing: -0.03em !important;
  white-space: nowrap !important;

  box-shadow:
    0 4px 10px rgba(37, 99, 235, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

.gl-test-count::before,
.test-title .max-count::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 50%;

  width: 6px;
  height: 6px;
  border-radius: 999px;

  background: #ef4444;
  transform: translateY(-50%);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

/* 선택검사 칩 */
.gl-exam-item {
  color: #1f2937 !important;
  font-weight: 760 !important;
  letter-spacing: -0.02em !important;
  border-color: #d7e3f4 !important;
}

.gl-exam-no {
  color: #2458ff !important;
  font-weight: 900 !important;
}

.gl-exam-name {
  color: #1f2937 !important;
  font-weight: 760 !important;
}

/* 추가비용 뱃지 */
.select-addon-badge,
.gl-exam-item .select-addon-badge {
  font-weight: 950 !important;
}

/* 기본 정밀검사 */
.gl-basic-head {
  color: #047857 !important;
  font-weight: 950 !important;
  letter-spacing: -0.04em !important;
}

.gl-basic-label {
  color: #047857 !important;
  font-weight: 950 !important;
}

.gl-basic-names {
  color: #1f2937 !important;
  font-weight: 760 !important;
}

/* 예약 가능기간 */
.reserve-period,
.checkup-card .reserve-period,
.inline-detail-box .reserve-period {
  color: #dc2626 !important;
  font-weight: 950 !important;
  letter-spacing: -0.035em !important;
}

/* 버튼 */
.summary-actions .btn,
.gl-detail-action-row .btn,
.hospital-top .right .btn {
  font-weight: 950 !important;
  letter-spacing: -0.035em !important;
}

/* 모바일 타이포 */
@media (max-width: 899px) {
  .summary-name {
    font-size: 24px !important;
    line-height: 1.2 !important;
    letter-spacing: -0.06em !important;
  }

  .productName,
  .checkup-card .productName {
    font-size: 27px !important;
    line-height: 1.17 !important;
    letter-spacing: -0.065em !important;
  }

  .summary-price,
  .productPrice,
  .checkup-card .productPrice {
    font-size: 22px !important;
    font-weight: 950 !important;
  }

  .additional-info,
  .checkup-card .additional-info,
  .inline-detail-box .additional-info {
    font-size: 14px !important;
    font-weight: 850 !important;
    line-height: 1.34 !important;
    margin: 5px auto 10px !important;
  }

  .additional-info p,
  .additional-info div,
  .additional-info li {
    margin-bottom: 2px !important;
    line-height: 1.34 !important;
  }

  .gl-test-title {
    font-size: 14.5px !important;
    font-weight: 900 !important;
  }

  .gl-exam-item {
    font-size: 13.2px !important;
    font-weight: 760 !important;
  }

  .hospital-top .name {
    font-size: 25px !important;
    font-weight: 900 !important;
    line-height: 1.23 !important;
    letter-spacing: -0.04em !important;
  }

  .hospital-top .addr {
    font-size: 14px !important;
    font-weight: 650 !important;
    line-height: 1.43 !important;
    letter-spacing: -0.015em !important;
  }
}
/* =========================================================
   GL 개인 건강검진 FINAL UI
   - 기업쪽 최종 톤과 맞춤
   - 모바일 검색 ON/OFF
   - 검색박스
   - 병원명/상품명 타이포
   - 상품보기/상품접기/상세보기/예약하기
========================================================= */

/* =========================================================
   1) 상단 히어로: 검진라인 개인 건강검진
========================================================= */

.gl-personal-hero {
  position: relative;
  margin: 0 0 16px;
  padding: 0;
  border-radius: 26px;
  overflow: hidden;
  color: #ffffff;

  background:
    radial-gradient(circle at 8% -12%, rgba(147, 197, 253, 0.48), transparent 34%),
    radial-gradient(circle at 96% 18%, rgba(14, 165, 233, 0.30), transparent 36%),
    linear-gradient(135deg, #0d3b6f 0%, #155ca7 44%, #2563eb 100%);

  box-shadow:
    0 18px 38px rgba(15, 63, 117, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.gl-personal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.11), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.10), transparent 48%);
}

.gl-personal-hero::after {
  content: "";
  position: absolute;
  right: -74px;
  bottom: -96px;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.gl-personal-hero__inner {
  position: relative;
  z-index: 1;
  padding: 26px 24px 23px;
  text-align: center;
}

.gl-personal-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 28px;
  padding: 0 12px;
  margin: 0 auto 11px;

  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.30);
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.86);

  font-size: 11.5px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.02em;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 6px 16px rgba(15, 23, 42, 0.08);
}

.gl-personal-hero__title {
  margin: 0;
  color: #ffffff;

  font-family:
    "Inter", "Noto Sans", "Noto Sans KR", "Apple SD Gothic Neo",
    "Malgun Gothic", "Segoe UI", Roboto, Arial, sans-serif !important;

  font-size: 34px;
  font-weight: 950;
  line-height: 1.12;
  letter-spacing: -0.065em;
  text-align: center;
  word-break: keep-all;

  text-shadow: 0 1px 0 rgba(2, 6, 23, 0.18);
}

.gl-personal-hero__desc {
  width: min(680px, 100%);
  margin: 10px auto 0;

  color: rgba(255, 255, 255, 0.84);
  font-size: 14.5px;
  font-weight: 750;
  line-height: 1.55;
  letter-spacing: -0.03em;
  word-break: keep-all;
}

.gl-personal-hero__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;

  margin-top: 16px;
}

.gl-personal-hero__chips span {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 32px;
  padding: 0 12px;

  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;

  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: -0.025em;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 5px 14px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* 기존 page-head가 남아있을 경우 숨김 방어 */
.gl-personal-hero + .page-head {
  display: none !important;
}

/* =========================================================
   2) 검색박스 디자인
========================================================= */

.search-box.search-box--split {
  border-color: #bfd7ff !important;
  border-radius: 22px !important;
  background: #ffffff !important;
  box-shadow:
    0 10px 26px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.96) !important;
}

.search-box.search-box--split.is-filter-active {
  border-color: #2563eb !important;
  background: #ffffff !important;
  box-shadow:
    0 0 0 3px rgba(37, 99, 235, 0.11),
    0 11px 26px rgba(37, 99, 235, 0.085),
    inset 0 1px 0 rgba(255, 255, 255, 0.96) !important;
}

.search-box.search-box--split::before {
  display: none !important;
  content: none !important;
}

.search-box .field > span,
.search-box label.field > span {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;

  margin-bottom: 8px !important;

  color: #0f172a !important;
  font-size: 13px !important;
  font-weight: 920 !important;
  letter-spacing: -0.03em !important;
}

.search-box .field > span::before,
.search-box label.field > span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10);
}

.search-box .field input,
.search-box .field select,
.search-box .wish-date-input {
  height: 44px !important;
  border-radius: 14px !important;
  border: 1px solid #d3e1f5 !important;

  background: #ffffff !important;
  color: #0f172a !important;

  font-size: 14px !important;
  font-weight: 760 !important;
  letter-spacing: -0.02em !important;

  box-shadow:
    0 3px 9px rgba(15, 23, 42, 0.035),
    inset 0 1px 0 rgba(255, 255, 255, 0.96) !important;
}

.search-box .field input:hover,
.search-box .field select:hover,
.search-box .wish-date-input:hover {
  border-color: #93c5fd !important;
}

.search-box .field input:focus,
.search-box .field select:focus,
.search-box .wish-date-input:focus {
  border-color: #2563eb !important;
  background: #ffffff !important;
  box-shadow:
    0 0 0 4px rgba(37, 99, 235, 0.11),
    0 6px 15px rgba(37, 99, 235, 0.07) !important;
}

.search-box .field input.is-applied,
.search-box .field select.is-applied,
.search-box .wish-date-input.is-applied {
  border-color: #2563eb !important;
  background: #ffffff !important;
  box-shadow:
    0 0 0 3px rgba(37, 99, 235, 0.10),
    0 5px 12px rgba(37, 99, 235, 0.06) !important;
}

.field.price .tilde {
  color: #2563eb !important;
  font-weight: 950 !important;
}

.field.actions .btn {
  height: 44px !important;
  border-radius: 999px !important;
  font-size: 13.5px !important;
  font-weight: 950 !important;
  letter-spacing: -0.035em !important;
}

#searchBtn {
  border-color: #2563eb !important;
  background: #2563eb !important;
  color: #ffffff !important;
  box-shadow:
    0 8px 18px rgba(37, 99, 235, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}

#searchBtn:hover {
  background: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
}

#resetBtn {
  border-color: #cbd5e1 !important;
  background: #ffffff !important;
  color: #334155 !important;
  box-shadow:
    0 5px 12px rgba(15, 23, 42, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.96) !important;
}

#resetBtn:hover {
  border-color: #94a3b8 !important;
  background: #f8fafc !important;
}

/* =========================================================
   3) 모바일 검색조건 ON/OFF
========================================================= */

/* =========================================================
   모바일 검색조건 버튼: 빈 상태는 심플 / 적용 상태는 안정감 있게
========================================================= */

@media (max-width: 899px) {
  .search-box.search-box--split.is-smart-collapsed {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .search-box.search-box--split.is-smart-collapsed .smart-search-head {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .smart-search-toggle {
    min-width: 124px !important;
    height: 42px !important;
    border: 0 !important;
    background: #ffffff !important;
    color: #1d4ed8 !important;
    box-shadow:
      0 9px 22px rgba(15, 23, 42, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.96) !important;
  }

  .smart-search-toggle__text {
    color: inherit !important;
    font-size: 13.5px !important;
    font-weight: 950 !important;
    letter-spacing: -0.035em !important;
  }

  .smart-search-toggle__status {
    border: 0 !important;
  }

  .search-box.search-box--split.is-smart-collapsed.is-search-off .smart-search-toggle {
    border: 0 !important;
    background: #ffffff !important;
    color: #1d4ed8 !important;
    box-shadow:
      0 9px 22px rgba(15, 23, 42, 0.12),
      0 0 0 3px rgba(37, 99, 235, 0.07),
      inset 0 1px 0 rgba(255, 255, 255, 0.96) !important;
  }

  .search-box.search-box--split.is-smart-collapsed.is-search-off .smart-search-toggle__status {
    display: none !important;
  }

  .search-box.search-box--split.is-smart-collapsed.is-search-on .smart-search-toggle {
    border: 0 !important;
    background:
      linear-gradient(180deg, #16a34a 0%, #15803d 100%) !important;
    color: #ffffff !important;
    box-shadow:
      0 10px 24px rgba(22, 163, 74, 0.24),
      0 0 0 3px rgba(22, 163, 74, 0.12) !important;
  }

  .search-box.search-box--split.is-smart-collapsed.is-search-on .smart-search-toggle__text {
    color: #ffffff !important;
  }

  .search-box.search-box--split.is-smart-collapsed.is-search-on .smart-search-toggle__status.is-on {
    display: inline-flex !important;
    min-width: 30px !important;
    height: 22px !important;
    background: rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
    box-shadow: none !important;
  }

  .smart-search-body {
    border: 0 !important;
    background: #ffffff !important;
    box-shadow:
      0 14px 32px rgba(15, 23, 42, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.96) !important;
  }

  .smart-search-close-btn {
    border: 0 !important;
    background: #f8fafc !important;
    color: #334155 !important;
    box-shadow: none !important;
  }

  .smart-search-close-btn:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
  }
}

/* =========================================================
   4) 병원 카드 / 병원명
========================================================= */

.hospital-card {
  border-color: #d9e4f4 !important;
  background: #ffffff !important;
  box-shadow:
    0 7px 18px rgba(15, 23, 42, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.96) !important;
}

.hospital-card[data-open="1"] {
  background: #ffffff !important;
  border-color: #2563eb !important;
  box-shadow:
    0 0 0 2px rgba(37, 99, 235, 0.15),
    0 10px 22px rgba(37, 99, 235, 0.10),
    0 5px 13px rgba(15, 23, 42, 0.055) !important;
}

.hospital-card[data-open="1"] .hospital-top {
  background: #ffffff !important;
}

.hospital-top .name {
  color: #061733 !important;
  font-family:
    "Inter", "Noto Sans", "Noto Sans KR", "Apple SD Gothic Neo",
    "Malgun Gothic", "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: 25px !important;
  font-weight: 950 !important;
  line-height: 1.18 !important;
  letter-spacing: -0.06em !important;
  text-align: center !important;
  text-shadow: 0 0.35px 0 rgba(2, 6, 23, 0.20) !important;
}

.hospital-card[data-open="1"] .hospital-top .name {
  color: #1d4ed8 !important;
  font-weight: 950 !important;
  text-shadow: 0 0.35px 0 rgba(37, 99, 235, 0.18) !important;
}

.hospital-top .addr {
  color: #475569 !important;
  font-weight: 650 !important;
  letter-spacing: -0.015em !important;
  line-height: 1.45 !important;
  text-shadow: none !important;
}

.hospital-card[data-open="1"] [data-action="toggle"] {
  border: 0 !important;
  background: #174f86 !important;
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(23, 79, 134, 0.18) !important;
}

.hospital-card[data-open="1"] [data-action="toggle"]:hover {
  border: 0 !important;
  background: #123f6b !important;
  color: #ffffff !important;
  box-shadow: 0 10px 22px rgba(23, 79, 134, 0.24) !important;
}

/* =========================================================
   5) 상품 카드 / 상품보기 / 예약하기
========================================================= */

.product-summary-row {
  background: #ffffff !important;
  border-color: #d7e3f4 !important;
  box-shadow:
    0 7px 17px rgba(15, 23, 42, 0.052),
    inset 0 1px 0 rgba(255, 255, 255, 0.96) !important;
}

.product-summary-row:hover {
  background: #ffffff !important;
  border-color: #93c5fd !important;
  box-shadow:
    0 9px 20px rgba(37, 99, 235, 0.075),
    0 4px 11px rgba(15, 23, 42, 0.045) !important;
}

.product-summary-row.is-active {
  background: #ffffff !important;
  border-color: #2563eb !important;
  box-shadow:
    0 0 0 2px rgba(37, 99, 235, 0.15),
    0 10px 22px rgba(37, 99, 235, 0.10),
    0 5px 13px rgba(15, 23, 42, 0.055) !important;
}

.summary-actions [data-action="show-detail"] {
  background: #eff6ff !important;
  border: 1px solid #93c5fd !important;
  color: #1d4ed8 !important;
  box-shadow: none !important;
}

.summary-actions [data-action="show-detail"]:hover {
  background: #dbeafe !important;
  border-color: #60a5fa !important;
  color: #1e40af !important;
}

.product-summary-row.is-active [data-action="show-detail"] {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #475569 !important;
  box-shadow: none !important;
}

.product-summary-row.is-active [data-action="show-detail"]:hover {
  background: #f1f5f9 !important;
  border-color: #94a3b8 !important;
  color: #334155 !important;
}

.summary-actions .btn.primary,
.product-summary-row [data-action="reserve"] {
  background: #16a34a !important;
  border-color: #16a34a !important;
  color: #ffffff !important;
  box-shadow: 0 6px 14px rgba(22, 163, 74, 0.16) !important;
}

.product-summary-row [data-action="reserve"]:hover {
  background: #15803d !important;
  border-color: #15803d !important;
}

/* =========================================================
   6) 상세보기 / 상세 예약 버튼
========================================================= */

.gl-product-file-btn,
.btn-detail {
  background: #2563eb !important;
  border: 1px solid #2563eb !important;
  color: #ffffff !important;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.18) !important;
}

.gl-product-file-btn:hover:not(:disabled),
.btn-detail:hover:not(:disabled) {
  background: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
  color: #ffffff !important;
}

.gl-detail-reserve-btn,
.btn-reserve {
  background: #16a34a !important;
  border-color: #16a34a !important;
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(22, 163, 74, 0.18) !important;
}

.gl-detail-reserve-btn:hover:not(:disabled),
.btn-reserve:hover:not(:disabled) {
  background: #15803d !important;
  border-color: #15803d !important;
  filter: none !important;
}

/* =========================================================
   7) 상품/검사 타이포
========================================================= */

.checkup-card,
.product-summary-row,
.inline-detail-box {
  font-family:
    "Inter", "Noto Sans", "Noto Sans KR", "Apple SD Gothic Neo",
    "Malgun Gothic", "Segoe UI", Roboto, Arial, sans-serif !important;
  color: #061733;
  text-rendering: geometricPrecision;
}

.summary-name {
  color: #061733 !important;
  font-family:
    "Inter", "Noto Sans", "Noto Sans KR", "Apple SD Gothic Neo",
    "Malgun Gothic", "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: 22px !important;
  font-weight: 950 !important;
  line-height: 1.22 !important;
  letter-spacing: -0.055em !important;
  text-shadow: 0 0.3px 0 rgba(2, 6, 23, 0.18);
}

.productName,
.checkup-card .productName {
  color: #061733 !important;
  font-family:
    "Inter", "Noto Sans", "Noto Sans KR", "Apple SD Gothic Neo",
    "Malgun Gothic", "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: 28px !important;
  font-weight: 950 !important;
  line-height: 1.18 !important;
  letter-spacing: -0.06em !important;
  text-shadow: 0 0.35px 0 rgba(2, 6, 23, 0.20);
}

.summary-price,
.productPrice,
.checkup-card .productPrice {
  color: #2458ff !important;
  font-weight: 950 !important;
  letter-spacing: -0.045em !important;
  text-shadow: 0 0.25px 0 rgba(37, 99, 235, 0.18);
}

.gl-test-title,
.test-title .title-text {
  color: #1d4ed8 !important;
  font-weight: 900 !important;
  letter-spacing: -0.035em !important;
  text-shadow: none !important;
}

.gl-test-count,
.test-title .max-count {
  position: relative !important;
  flex: 0 0 auto !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  min-height: 25px !important;
  padding: 0 10px 0 20px !important;
  border-radius: 999px !important;

  background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%) !important;
  border: 1px solid #93c5fd !important;
  color: #1d4ed8 !important;

  font-size: 11.5px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: -0.03em !important;
  white-space: nowrap !important;

  box-shadow:
    0 4px 10px rgba(37, 99, 235, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

.gl-test-count::before,
.test-title .max-count::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 50%;

  width: 6px;
  height: 6px;
  border-radius: 999px;

  background: #ef4444;
  transform: translateY(-50%);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

/* =========================================================
   8) 모바일 최종 보정
========================================================= */

@media (max-width: 899px) {
  .gl-personal-hero {
    margin: 0 0 13px;
    border-radius: 21px;
  }

  .gl-personal-hero__inner {
    padding: 22px 15px 19px;
  }

  .gl-personal-hero__eyebrow {
    height: 26px;
    margin-bottom: 9px;
    font-size: 11px;
  }

  .gl-personal-hero__title {
    font-size: 29px;
    line-height: 1.12;
    letter-spacing: -0.07em;
  }

  .gl-personal-hero__desc {
    margin-top: 9px;
    font-size: 13.5px;
    line-height: 1.5;
  }

  .gl-personal-hero__chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 14px;
  }

  .gl-personal-hero__chips span {
    min-height: 31px;
    padding: 0 8px;
    font-size: 12px;
  }

  .summary-name {
    font-size: 24px !important;
    line-height: 1.2 !important;
    letter-spacing: -0.06em !important;
  }

  .productName,
  .checkup-card .productName {
    font-size: 27px !important;
    line-height: 1.17 !important;
    letter-spacing: -0.065em !important;
  }

  .summary-price,
  .productPrice,
  .checkup-card .productPrice {
    font-size: 22px !important;
    font-weight: 950 !important;
  }

  .hospital-top .name {
    font-size: 27px !important;
    font-weight: 950 !important;
    line-height: 1.16 !important;
    letter-spacing: -0.065em !important;
  }

  .hospital-top .addr {
    font-size: 14px !important;
    font-weight: 650 !important;
    line-height: 1.43 !important;
    letter-spacing: -0.015em !important;
  }

  .gl-test-count,
  .test-title .max-count {
    min-height: 24px !important;
    padding: 0 9px 0 19px !important;
    font-size: 11.5px !important;
    font-weight: 900 !important;
  }
}
/* 모바일 검색창 닫기 X 버튼 */
.smart-search-close-btn {
  justify-self: end;

  width: 38px;
  min-width: 38px;
  height: 38px;
  margin: 0 0 4px auto;
  padding: 0;

  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #ffffff;
  color: #1d4ed8;

  font-size: 26px;
  font-weight: 900;
  line-height: 1;

  cursor: pointer;

  box-shadow:
    0 8px 18px rgba(37, 99, 235, 0.13),
    0 0 0 3px rgba(37, 99, 235, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.smart-search-close-btn:hover {
  border-color: #60a5fa;
  background: #eff6ff;
  color: #1e40af;
}

.smart-search-close-btn span {
  display: block;
  transform: translateY(-1px);
}

.smart-search-close-btn[hidden] {
  display: none !important;
}

@media (max-width: 899px) {
  .smart-search-close-btn {
    position: sticky;
    top: 0;
    z-index: 5;

    width: 42px;
    min-width: 42px;
    height: 42px;
    margin: 0 0 8px auto;

    border-color: #93c5fd;
    background:
      linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
    color: #1d4ed8;

    font-size: 28px;

    box-shadow:
      0 10px 22px rgba(37, 99, 235, 0.16),
      0 0 0 4px rgba(37, 99, 235, 0.075),
      inset 0 1px 0 rgba(255, 255, 255, 0.96);
  }
}
/* 모바일 검색창 열림 상태: 내부 스크롤 고정 */
@media (max-width: 899px) {
  .search-box.search-box--split.is-smart-open {
    max-height: calc(100dvh - 16px);
  }

  .search-box.search-box--split.is-smart-open .smart-search-body {
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .search-box.search-box--split.is-smart-open .smart-search-body[hidden] {
    display: none !important;
  }
}