/**
 * gojipsa.css — 고집사 공개 UI (바비톡 스타일 레퍼런스 기반)
 * 색상·간격·카드·탭·하단 GNB 패턴 위주
 *
 * 타이포: Pretendard Variable
 * (@font-face: font-weight 45 920, font-display: swap, format('woff2-variations'))
 * → Pretendard 공식 배포 CSS와 동일 스펙.
 */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css");
@import url("/css/inputs-no-shadow.css");

html {
    font-size: 15px;
}

body {
    font-size: 15px;
}

/* 스크롤은 그대로, 스크롤바만 숨김 (공개 레이아웃) */
html:has(body.bt-layout) {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE·구 Edge */
}
html:has(body.bt-layout)::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
    width: 0;
    height: 0;
}

:root {
    /* 바비톡 계열 메인 핑크 */
    --bt-pink: #ff3478;
    --bt-pink-hover: #e62e6a;
    --bt-pink-dark: #d9265c;
    --bt-pink-soft: #fff5f8;
    --bt-pink-line: #ffd6e5;
    --bt-text: #111111;
    --bt-text2: #333333;
    --bt-muted: #888888;
    --bt-muted2: #aaaaaa;
    --bt-line: #e8e8e8;
    --bt-line2: #f0f0f0;
    --bt-bg: #f7f7f7;
    --bt-white: #ffffff;
    /* 바비톡형 배너: 카드 모서리·할인% 강조색 */
    --bt-card-radius: 12px;
    --bt-babi-discount: #5b4dff;
    --bt-babi-discount-dark: #4a3de0;
    --bt-babi-kakao: #fee500;
    --bt-header-h: 85px;
    --bt-tabbar-h: 56px;
    /** 시트 안 하단 CTA 바(병원·카톡·상담) 대략 높이 — fixed 시 스크롤 여백용 */
    --bt-in-sheet-cta-h: 4.875rem;
    --bt-font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    /* 공개 사이트 콘텐츠·헤더 최대 폭 */
    --bt-layout-max: 1024px;
    --bt-layout-gutter: 16px;
    /* 이벤트 상세 하단 고정 CTA (바비톡형) */
    --bt-cta-purple: #6b66ff;
    --bt-cta-grey: #f2f2f2;
    /* 홈 진료 칩: 앱형 파란 박스 (레퍼런스 배지 톤) */
    --bt-home-cat-chip-blue: #00a8e8;
    --bt-home-cat-chip-blue-dark: #0090c9;
    --bt-home-cat-chip-inactive-bg: #e6f6fd;
    --bt-home-cat-chip-inactive-border: #b8e6fb;
}

/* ---------- 공통 ---------- */
body.bt-layout {
    font-family: var(--bt-font);
    color: var(--bt-text);
    background: var(--bt-bg);
    letter-spacing: -0.02em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* 가변 폰트 굵기 해석 (바비톡·Pretendard Variable 권장) */
    font-optical-sizing: auto;
    /* 스크롤바 숨김 (스크롤은 유지) */
    scrollbar-width: none;
    -ms-overflow-style: none;
}
body.bt-layout::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

@media (max-width: 767.98px) {
    body.bt-layout.bt-has-tabbar {
        padding-bottom: calc(var(--bt-tabbar-h) + env(safe-area-inset-bottom));
    }

    /*
     * 푸터를 .bt-main-sheet 안으로 옮긴 페이지(bt-footer-in-sheet):
     * 본문·푸터가 함께 스크롤되므로 body 하단 패딩은 제거하고,
     * 시트 하단 패딩만으로 fixed 탭바에 가리지 않게 함.
     */
    body.bt-layout.bt-has-tabbar.bt-footer-in-sheet {
        padding-bottom: 0;
    }

    body.bt-layout.bt-has-tabbar.bt-footer-in-sheet .bt-main-sheet {
        padding-bottom: calc(var(--bt-tabbar-h) + env(safe-area-inset-bottom, 0px));
    }

    /*
     * 이벤트·병원 상세: 하단 CTA 를 모바일에서 fixed(탭바 직상단).
     * sticky 는 iOS·일부 안드로이드 WebView 에서 시트 내부 overflow 스크롤과 어긋남.
     */
    body.bt-layout.bt-has-tabbar.bt-footer-in-sheet .bt-main-sheet:has(> .bt-cta-bar-wrap--in-sheet) {
        padding-bottom: calc(
            var(--bt-tabbar-h) + env(safe-area-inset-bottom, 0px) + var(--bt-in-sheet-cta-h)
        );
    }
}

/* 탭바 없는 서브페이지: 푸터를 .bt-main-sheet 안에 둘 때 시트 하단 여백 */
body.bt-layout.bt-app-shell.bt-footer-in-sheet:not(.bt-has-tabbar) .bt-main-sheet {
    padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
}

.bt-layout main {
    flex: 1;
    width: 100%;
    max-width: var(--bt-layout-max);
    margin-left: auto;
    margin-right: auto;
    background: var(--bt-white);
}

/* ---------- 공개 앱 셸: 바비톡형 — 둥근 메인 시트 안에서만 세로 스크롤 ---------- */
html:has(body.bt-app-shell) {
    height: 100%;
}

body.bt-layout.bt-app-shell {
    min-height: 100vh;
    min-height: 100dvh;
    height: 100%;
    overflow: hidden;
}

body.bt-layout.bt-app-shell > .bt-topbar,
body.bt-layout.bt-app-shell > .bt-mainnav,
body.bt-layout.bt-app-shell > .bt-cta-bar-wrap,
body.bt-layout.bt-app-shell > footer,
body.bt-layout.bt-app-shell > .bt-tabbar {
    flex-shrink: 0;
}

/* 이벤트 상세: CTA가 main 안 .bt-main-sheet 로 들어간 경우(직접 자식 아님) */
.bt-main-sheet > .bt-cta-bar-wrap--in-sheet {
    flex-shrink: 0;
}

body.bt-layout.bt-app-shell main.bt-app-main {
    flex: 1 1 0;
    min-height: 0;
    max-width: var(--bt-layout-max);
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background: transparent;
}

/* 둥근 모서리는 바깥(overflow:hidden), 스크롤은 안쪽
 * 같은 요소에 border-radius + overflow-y:auto 만 두면 크롬 등에서 모서리가 사각으로 보이는 경우가 많음
 * (스크롤 컨테이너 레이어가 라운드 마스크와 어긋남 → 흰 배경 자식이 직사각형으로 모서리를 덮어 보임) */
.bt-main-sheet-outer {
    flex: 1 1 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    background: var(--bt-white);
    isolation: isolate;
}

.bt-main-sheet {
    flex: 1 1 0;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* 시트의 ‘둥근 테두리’는 .bt-main-sheet-outer 전용 — 여기에 radius/bg 주면 위 이슈 재발 */
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.bt-main-sheet::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

/* ---------- 상단 로고 바 ---------- */
.bt-topbar {
    height: var(--bt-header-h);
    background: var(--bt-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 1040;
}

.bt-topbar__inner {
    width: 100%;
    max-width: var(--bt-layout-max);
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.bt-topbar__brand {
    display: flex;
    align-items: center;
    min-width: 0;
}

.bt-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--bt-text) !important;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.04em;
}

.bt-logo__img {
    display: block;
    height: 45px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 575.98px) {
    .bt-logo__img {
        height: 30px;
    }
}

/* 상단 우측: 지역 버튼 ↔ 회원 메뉴 간격 */
.bt-topbar__right {
    gap: 12px;
    row-gap: 8px;
    max-width: 100%;
}

@media (min-width: 576px) {
    .bt-topbar__right {
        gap: 16px;
    }
}

.bt-topbar__region {
    margin-right: 0;
}

.bt-topbar__nearby-label {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 8px;
    border-radius: 999px;
    background: #f5f7ff;
    border: 1px solid #d9e2ff;
    color: #41548f;
    font-size: 0.74rem;
    font-weight: 600;
    white-space: nowrap;
}

.bt-topbar__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
    row-gap: 4px;
    flex-shrink: 0;
    min-width: 0;
}

.bt-topbar__actions .nav-link {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--bt-muted) !important;
    padding: 0.35rem 0.55rem !important;
    white-space: nowrap;
}

.bt-topbar__actions #navLogin {
    gap: 2px 8px;
}

.bt-topbar__actions .bt-auth-cta {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff !important;
    background-color: #5f63ff;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0.8rem 1.25rem !important;
    text-decoration: none !important;
    letter-spacing: -0.02em;
    box-shadow: 0 3px 12px rgba(95, 99, 255, 0.25);
    /* filter 는 합성 레이어·서브픽셀에서 미세 흔들림을 유발할 수 있어 배경색만 변경 */
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.bt-topbar__actions .bt-auth-cta:hover {
    background-color: #5054e8;
    box-shadow: 0 3px 14px rgba(95, 99, 255, 0.32);
}

.bt-topbar__actions .bt-auth-cta:focus-visible {
    outline: 2px solid rgba(95, 99, 255, 0.45);
    outline-offset: 2px;
}

.bt-topbar__actions .bt-auth-cta.bt-auth-cta--active {
    color: #fff !important;
}

/* 로그인 메인: md 이상에서 상단 여백 (login.jsp .pt-md-5) */
@media (min-width: 768px) {
    .pt-md-5 {
        padding-top: 10rem !important;
    }
}

/* 로그인·회원가입: 소셜/이메일 시작·주요 제출 버튼 높이 통일 (부트스트랩 원본 수정 대신) */
.bt-auth-btn-52 {
    width: 100%;
    min-height: 52px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    font-size: 17px;
    font-weight: 600;
}

.bt-auth-methods {
    gap: 0.75rem !important;
}

.bt-auth-btn-kakao {
    --tw-bg-opacity: 1;
    background-color: rgb(254 229 0 / var(--tw-bg-opacity, 1)) !important;
    border-color: rgb(254 229 0 / var(--tw-bg-opacity, 1)) !important;
    color: #191600 !important;
}

.bt-auth-btn-naver {
    background-color: #03a94d !important;
    border-color: #03a94d !important;
    color: #fff !important;
}

.bt-topbar__actions .nav-link.text-bt-pink {
    color: var(--bt-pink) !important;
    font-weight: 700;
}

.bt-topbar__actions .dropdown-item.text-bt-pink {
    color: var(--bt-pink) !important;
}

.bt-topbar__hamburger {
    border: 0 !important;
    box-shadow: none !important;
    line-height: 1;
    color: var(--bt-muted) !important;
    text-decoration: none !important;
}

.bt-topbar__hamburger:hover,
.bt-topbar__hamburger:focus {
    color: var(--bt-text2) !important;
}

.bt-topbar__hamburger:focus-visible {
    outline: 2px solid rgba(95, 99, 255, 0.45);
    outline-offset: 2px;
}

/* 메인 히어로 검색바가 스크롤로 가려졌을 때만 상단 우측에 노출 */
.bt-topbar-search-reveal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: #f2f2f2;
    border: 1px solid var(--bt-line);
    color: var(--bt-text2) !important;
    text-decoration: none !important;
    flex-shrink: 0;
    margin-left: 6px;
    transition: background 0.15s ease, opacity 0.2s ease, transform 0.2s ease;
}

.bt-topbar-search-reveal:hover {
    background: #e8e8e8;
    color: var(--bt-text) !important;
}

.bt-topbar-search-reveal.d-none {
    display: none !important;
}

/* 표시될 때는 원형 버튼 레이아웃 유지 */
.bt-topbar-search-reveal:not(.d-none) {
    display: inline-flex !important;
}

/* ---------- 메인 GNB (홈 / 이벤트 / 검색 / 커뮤니티 스타일) ---------- */
.bt-mainnav {
    display: none !important;
    background: var(--bt-white);
    border-bottom: 1px solid var(--bt-line2);
}

.bt-mainnav__inner {
    display: flex;
    justify-content: center;
    align-items: stretch;
    max-width: var(--bt-layout-max);
    margin: 0 auto;
    padding: 0 var(--bt-layout-gutter);
}

.bt-mainnav a {
    flex: 1;
    max-width: 120px;
    text-align: center;
    padding: 12px 8px 10px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--bt-muted);
    text-decoration: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    transition: color 0.15s, border-color 0.15s;
}

.bt-mainnav a:hover {
    color: var(--bt-text2);
}

.bt-mainnav a.active {
    color: var(--bt-pink);
    border-bottom-color: var(--bt-pink);
}

/* ---------- 성형 / 쁘띠 — 2분할 대카테고리 ---------- */
.bt-split-cat {
    display: flex;
    background: var(--bt-white);
    border-bottom: 1px solid var(--bt-line);
}

.bt-split-cat a {
    flex: 1;
    text-align: center;
    padding: 16px 12px 14px;
    font-size: 1rem;
    font-weight: 800;
    color: var(--bt-muted);
    text-decoration: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    letter-spacing: -0.03em;
}

.bt-split-cat a:hover {
    color: var(--bt-text2);
}

.bt-split-cat a.active {
    color: var(--bt-pink);
    border-bottom-color: var(--bt-pink);
}

/* ---------- 서브 필터 (인기순·키워드) ---------- */
.bt-filter-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bt-white);
    border-bottom: 1px solid var(--bt-line2);
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.bt-filter-row::-webkit-scrollbar {
    display: none;
}

.bt-filter-chip {
    flex-shrink: 0;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--bt-text2);
    background: var(--bt-bg);
    border: 1px solid var(--bt-line);
    text-decoration: none;
    cursor: pointer;
}

.bt-filter-chip:hover {
    border-color: var(--bt-pink-line);
    color: var(--bt-pink);
}

.bt-filter-chip--on {
    background: var(--bt-pink-soft);
    border-color: var(--bt-pink-line);
    color: var(--bt-pink);
}

/* ---------- 히어로 + 검색 ---------- */
.bt-hero {
    background: var(--bt-white);
    padding: 20px 16px 18px;
}

.bt-hero-title {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.4;
    margin: 0 0 6px;
    color: var(--bt-text);
}

.bt-hero-sub {
    font-size: 0.82rem;
    color: var(--bt-muted);
    margin: 0 0 16px;
    font-weight: 500;
}

/* 히어로 카피 없이 검색만 (바비톡 메인 검색 영역과 동일한 밀도) */
.bt-hero--search-only {
    padding: 30px 10px;
}

/* 바비톡형: 검색창 바로 아래 인기 검색어 */
.bt-hero-popular {
    max-width: 80%;
    margin: 14px auto 0;
    padding: 0 2px;
}

/* 라벨 옆으로 검색어 칩 가로 나열 (줄 바꿈 시 다음 줄에 칩만 이어짐) */
.bt-popular-inline {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px 10px;
}

.bt-popular-inline__label {
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--bt-muted);
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.bt-popular-inline .bt-kw-track {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px 8px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.bt-popular-inline .bt-kw-track::-webkit-scrollbar {
    display: none;
}

.bt-popular-inline .bt-kw-track .bt-kw-chip {
    flex: 0 0 auto;
}

/* 히어로 하단 칩: 조금 더 컴팩트 */
.bt-hero-popular.bt-popular-inline .bt-kw-chip {
    padding: 6px 12px;
    font-size: 0.78rem;
    font-weight: 600;
}

/* 보라 그라데이션 테두리 (내부는 흰 필드) */
.bt-search-wrap {
    display: flex;
    align-items: stretch;
    border-radius: 999px;
    border: 2px solid transparent;
    background:
        linear-gradient(var(--bt-white), var(--bt-white)) padding-box,
        linear-gradient(125deg, #6366f1 0%, #7c3aed 38%, #9333ea 72%, #8b5cf6 100%) border-box;
    overflow: hidden;
    max-width: 70%;
    margin: 0 auto;
}

/* 클릭/포커스 시 바깥 핑크 링·이중 테두리 없음 (Bootstrap form-control 기본 focus-ring 제거) */
.bt-search-wrap:focus-within {
    box-shadow: none;
}

.bt-search-wrap input {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 14px 16px;
    font-size: 0.95rem;
    font-weight: 500;
}

.bt-search-wrap input:focus,
.bt-search-wrap input:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
}

.bt-search-wrap input::placeholder {
    color: var(--bt-muted2);
}

/* 메인 히어로 검색: 클릭 시 검색 페이지로만 이동(readonly) — 커서·배경은 일반 입력과 동일하게 */
.bt-hero--search-only .bt-search-wrap input[readonly] {
    cursor: pointer;
    background: transparent !important;
}

/* ---------- 메인: 검색 아래 슬라이드 배너 ---------- */
/* 가로 여백: 바로 아래 .bt-panel(이벤트 등)과 동일 — 전폭으로 붙지 않게 */
.bt-home-banner-wrap {
    background: var(--bt-white);
    padding: 4px 30px 16px;
    max-width: 100%;
    box-sizing: border-box;
}

.bt-home-banner {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.bt-home-banner .carousel-inner {
    border-radius: var(--bt-card-radius);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.bt-home-banner__slide {
    position: relative;
    min-height: 118px;
    padding: 20px 52px 18px 20px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

@media (min-width: 768px) {
    .bt-home-banner__slide {
        min-height: 132px;
        padding: 22px 56px 20px 24px;
    }
}

.bt-home-banner__slide--a {
    background: linear-gradient(125deg, #ff3478 0%, #e11d48 42%, #be185d 100%);
}

.bt-home-banner__slide--b {
    background: linear-gradient(125deg, #5b4dff 0%, #6d28d9 45%, #7c3aed 100%);
}

.bt-home-banner__slide--c {
    background: linear-gradient(125deg, #0d9488 0%, #0891b2 48%, #2563eb 100%);
}

/* API 연동 배너(배경 이미지 URL) */
.bt-home-banner__slide--dynamic {
    min-height: 118px;
    padding: 20px 52px 18px 20px;
    display: flex;
    align-items: center;
    background-color: #1f2937;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

@media (min-width: 768px) {
    .bt-home-banner__slide--dynamic {
        min-height: 250px;
        padding: 22px 56px 20px 24px;
    }
}

.bt-home-banner__slide--dynamic.bt-home-banner--text::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.22) 55%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.bt-home-banner__slide--dynamic.bt-home-banner--text .bt-home-banner__inner {
    position: relative;
    z-index: 1;
}

.bt-home-banner__slide:hover {
    color: #fff !important;
    filter: brightness(1.03);
}

.bt-home-banner__inner {
    position: relative;
    z-index: 1;
    max-width: 92%;
}

.bt-home-banner__badge {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.35);
    margin-bottom: 8px;
}

.bt-home-banner__title {
    font-size: 1.12rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 6px;
    letter-spacing: -0.04em;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.18);
}

@media (min-width: 768px) {
    .bt-home-banner__title {
        font-size: 1.22rem;
    }
}

.bt-home-banner__sub {
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0;
    opacity: 0.95;
    line-height: 1.4;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.15);
}

.bt-home-banner .carousel-indicators {
    margin-bottom: 8px;
    gap: 6px;
}

.bt-home-banner .carousel-indicators [data-bs-target] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: none;
    margin: 0;
    background-color: rgba(255, 255, 255, 0.45);
    opacity: 1;
}

.bt-home-banner .carousel-indicators .active {
    background-color: #fff;
    transform: scale(1.15);
}

.bt-home-banner .carousel-control-prev,
.bt-home-banner .carousel-control-next {
    width: 10%;
    min-width: 36px;
    opacity: 0.85;
}

.bt-home-banner .carousel-control-prev-icon,
.bt-home-banner .carousel-control-next-icon {
    width: 1.75rem;
    height: 1.75rem;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
}

/* 바비톡형: 보라 그라데이션 버튼 + SVG 돋보기 */
.bt-search-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 52px;
    min-width: 52px;
    min-height: 48px;
    padding: 0 !important;
    background: linear-gradient(135deg, #5b4dff 0%, #6d28d9 45%, #7c3aed 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.bt-search-btn:focus,
.bt-search-btn:active {
    box-shadow: none !important;
    outline: none !important;
}

.bt-search-btn .bt-search-icon {
    display: block;
    width: 21px;
    height: 21px;
    flex-shrink: 0;
    opacity: 0.98;
}

.bt-search-btn:hover {
    background: linear-gradient(135deg, #6b5aff 0%, #7c3aed 50%, #9333ea 100%) !important;
    color: #fff !important;
    filter: brightness(1.03);
}

.bt-search-btn:active {
    background: linear-gradient(135deg, #4f46e5 0%, #5b21b6 50%, #6d28d9 100%) !important;
    color: #fff !important;
    filter: brightness(0.96);
}

.bt-search-btn:focus-visible {
    outline: 2px solid #7c3aed;
    outline-offset: 2px;
    z-index: 1;
}

@media (min-width: 768px) {
    .bt-search-btn {
        width: 56px;
        min-width: 56px;
        min-height: 52px;
    }

    .bt-search-btn .bt-search-icon {
        width: 23px;
        height: 23px;
    }
}

/* ---------- 콘텐츠 패널 ---------- */
.bt-panel {
    background: var(--bt-white);
    margin-top: 8px;
    padding: 18px 30px 22px;
}

/* 홈 메인: 히어로·배너·패널 사이 간격(가독성) — events-popular 등 다른 #bt-events 페이지는 비적용 */
.bt-home-sheet > .bt-home-banner-wrap {
    padding-bottom: 20px;
}

@media (min-width: 768px) {
    .bt-home-sheet > .bt-home-banner-wrap {
        padding-bottom: 24px;
    }
}

.bt-home-sheet > #bt-events {
    margin-top: 20px;
}

@media (min-width: 768px) {
    .bt-home-sheet > #bt-events {
        margin-top: 28px;
    }
}

.bt-home-sheet > #bt-curation {
    margin-top: 32px;
}

@media (min-width: 768px) {
    .bt-home-sheet > #bt-curation {
        margin-top: 100px;
    }
}

.bt-home-sheet > #bt-pub-hospitals {
    margin-top: 44px;
}

@media (min-width: 768px) {
    .bt-home-sheet > #bt-pub-hospitals {
        margin-top: 100px;
    }
}

.bt-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 14px;
}

/* 패널 메인 타이틀: 이벤트·기획전 등 동일 스케일 */
.bt-section-head h2,
.bt-curation-strip__title {
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: -0.1rem;
    margin: 0;
    color: var(--bt-text);
    line-height: 1.3;
}

.bt-section-head h2 {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bt-link-more {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--bt-muted);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.bt-link-more:hover {
    color: var(--bt-pink);
}

/* ---------- 홈·인기 이벤트: 진료 카테고리 칩 (앱형 파란 박스) ---------- */
.bt-home-cat-chips {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
}

.bt-home-cat-chips::-webkit-scrollbar {
    display: none;
}

.bt-home-cat-chip {
    flex-shrink: 0;
    margin: 0;
    padding: 8px 14px;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    font-family: inherit;
    color: #000;
    background:#fff;
    /*background: var(--bt-home-cat-chip-inactive-bg);*/
    border: 1px solid #ddd;
    cursor: pointer;
    transition:
        background 0.15s ease,
        color 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.bt-home-cat-chip:hover {
    background: #ff;
    border-color: #000;
    color: #000;
}

.bt-home-cat-chip.active {
    color: #fff;
    background: var(--bt-home-cat-chip-blue);
    border-color: var(--bt-home-cat-chip-blue-dark);
}

.bt-home-cat-chip.active:hover {
    color: #000;
    background: #fff;
    border-color: #ddd;
}

.bt-home-cat-chip:focus-visible {
    outline: 2px solid var(--bt-home-cat-chip-blue);
    outline-offset: 2px;
}

/* ---------- 이벤트 카드 ---------- */
.bt-event-track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    margin: 0 -16px;
    padding: 4px 16px 8px;
    -webkit-overflow-scrolling: touch;
}

@media (min-width: 768px) {
    .bt-event-track {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        overflow: visible;
        margin: 0;
        padding: 0;
        gap: 14px;
    }
}

@media (min-width: 1024px) {
    .bt-event-track {
        grid-template-columns: repeat(4, 1fr);
    }
}

.bt-event-card {
    flex: 0 0 68%;
    max-width: 240px;
    background: var(--bt-white);
    border-radius: var(--bt-card-radius);
    overflow: hidden;
    border: 1px solid var(--bt-line2);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    color: inherit;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
}

/* 카드 본문(이미지~별점) — 상세로 이동 */
.bt-event-card__main {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    color: inherit;
    text-decoration: none !important;
}

.bt-event-card__main:hover {
    color: inherit;
}

@media (min-width: 768px) {
    .bt-event-card {
        flex: none;
        max-width: none;
    }
}

.bt-event-card:hover {
    /*box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);*/
    color: inherit;
}

.bt-event-card__img {
    position: relative;
    height: 170px;
    background: #eaeaea;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    flex-shrink: 0;
}

.bt-event-card__img > img,
.bt-event-card__img-ph {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bt-event-card__img-ph {
    background: linear-gradient(145deg, #e8e8e8 0%, #f5f5f5 100%);
}

/* 바비톡: 썸네일 하단 그라데이션 + 이미지 위 카피 */
.bt-event-card__img-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.78) 0%,
        rgba(0, 0, 0, 0.4) 35%,
        rgba(0, 0, 0, 0.12) 58%,
        transparent 78%
    );
}

.bt-event-card__overlay {
    position: absolute;
    left: 10px;
    right: 52px;
    bottom: 10px;
    z-index: 2;
    pointer-events: none;
}

.bt-event-card__overlay-main {
    margin: 0 0 4px;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.28;
    color: #fff;
    letter-spacing: -0.03em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85), 0 0 12px rgba(0, 0, 0, 0.35);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
}

.bt-event-card__overlay-sub {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
}

.bt-event-card__overlay-sub + .bt-event-card__overlay-sub {
    margin-top: 3px;
}

/* 바비톡: 우상단 할인율 원형 뱃지 (보라 톤) */
.bt-event-card__pct-circle {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 4;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--bt-babi-discount) 0%, var(--bt-babi-discount-dark) 100%);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 900;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
    box-shadow: 0 2px 10px rgba(91, 75, 255, 0.35);
}

.bt-event-card__pct-circle span {
    font-size: 0.55rem;
    font-weight: 700;
    opacity: 0.95;
}

/* 좌상단 상태 */
.bt-event-card__flag {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 4;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
}

.bt-event-card__flag--soon {
    background: #ffb300;
    color: #222;
}

.bt-event-card__body {
    padding: 12px 12px 10px;
    text-align: left;
    flex-shrink: 0;
}

/* 썸네일 오버레이에 제목·혜택 노출 시 본문 중복(제목·미리보기) 숨김 */
.bt-event-card--strip-body-head .bt-event-card__body > .bt-event-card__title,
.bt-event-card--strip-body-head .bt-event-card__body > .bt-event-card__desc {
    display: none !important;
}

/* 바비톡 순서: 1) 이벤트명 → 2) 설명 → 3) 업체 (각 1줄 말줄임) */
.bt-event-card__title {
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
    color: var(--bt-text);
    letter-spacing: -0.02em;
}

.bt-event-card__desc {
    font-size: 0.76rem;
    font-weight: 500;
    line-height: 1;
    color: #666666;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
}

.bt-event-card__biz {
    font-size: 0.68rem;
    font-weight: 500;
    color: #999999;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
}

/* 바비톡형: 정가 한 줄 → 할인가·%·VAT 한 줄 */
.bt-event-card__price-block {
}

.bt-event-card__price-strike-row {
}

.bt-event-card__price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 8px;
}

.bt-event-card__price-old {
    font-size: 0.72rem;
    color: #bbbbbb;
    text-decoration: line-through;
    font-weight: 500;
}

.bt-event-card__price-main {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 6px;
    row-gap: 2px;
}

/* 바비톡: 할인가 검정 굵게 */
.bt-event-card__price-sale {
    font-size: 1.2rem;
    font-weight: 600;
    color: #111111;
    letter-spacing: -0.04em;
}

/* 본문 옆 할인율 % (보라) */
.bt-event-card__price-pct {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--bt-babi-discount);
    letter-spacing: -0.03em;
}

/* 같은 줄 VAT (아주 작은 회색) */
.bt-event-card__price-vat-inline {
    font-size: 0.62rem;
    font-weight: 500;
    color: #aaaaaa;
    margin-left: 2px;
}

/* 가격 블록 아래 VAT 포함 (한 줄, 눈에 잘 띄게) */
.bt-event-card__price-vat-row {
    font-size: 0.78rem;
    font-weight: 600;
    color: #6c757d;
    margin-top: 4px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

/* 가격(n원 ~ VAT 포함) 플렉스 줄 — 잘리지 않게, 대비 강화 */
.bt-event-card__vat-on-price {
    font-size: 0.72rem;
    font-weight: 500;
    color: #374151;
    margin-left: 6px;
    letter-spacing: -0.02em;
    white-space: nowrap;
    flex-shrink: 0;
    align-self: center;
    line-height: 1.2;
}

.bt-event-card__price-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--bt-muted);
}

.bt-event-card__price-prefix {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--bt-muted);
    margin-right: 2px;
}

.bt-event-card__price-suffix {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--bt-muted2);
    margin-left: 1px;
}

/* 카드: 별점·후기 (바비톡: 노란 별 + 진한 숫자 + 연한 괄호, 링크 아님) */
.bt-event-card__rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 3px 5px;
    text-decoration: none;
}

.bt-event-card__rating-star {
    color: #facc15;
    font-size: 0.78rem;
    line-height: 1;
    filter: drop-shadow(0 0 0.5px rgba(0, 0, 0, 0.15));
}

.bt-event-card__rating-score {
    font-size: 0.78rem;
    font-weight: 800;
    color: #333333;
    letter-spacing: -0.02em;
}

.bt-event-card__rating-cnt {
    font-size: 0.68rem;
    font-weight: 500;
    color: #999999;
}

/* 카드: 고집사 별점 / 구글 별점 두 줄 */
.bt-event-card__ratings {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.bt-event-card__rating-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 3px 5px;
}

.bt-event-card__rating-label {
    flex: 0 0 auto;
    min-width: 4.25rem;
    font-size: 0.62rem;
    font-weight: 800;
    color: #888888;
    letter-spacing: -0.02em;
}

/* 카드 하단: 카톡 필 버튼 (바비톡: 좌측 정렬·노란 알약) */
.bt-event-card__kakao-foot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    align-self: flex-start;
    margin: 0px 12px 12px;
    padding: 4px 9px;
    font-size: 0.7rem;
    font-weight: 800;
    color: #191600 !important;
    text-decoration: none !important;
    background: var(--bt-babi-kakao);
    border-radius: 999px;
    line-height: 1.2;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    border: none;
	border-radius: 2px;
}

.bt-event-card__kakao-foot:hover {
    background: #f5dc00 !important;
    color: #191600 !important;
}

.bt-event-card__kakao-foot i {
    font-size: 0.75rem;
    opacity: 0.9;
}

/* 트랙 카드: 가로 그리드에선 할인 % 숨김 — 모바일 리스트형에서만 노출 */
.bt-event-track .bt-event-card__price-pct,
#nearbyEventTrack .bt-event-card__price-pct {
    display: none;
}

/* 모바일: 홈·인기 트랙 세로 리스트 + 바비톡형 가로 카드(썸네일 좌·본문 우) */
@media (max-width: 767.98px) {
    .bt-event-track,
    #nearbyEventTrack {
        display: flex;
        flex-direction: column;
        gap: 12px;
        overflow-x: visible;
        overflow-y: visible;
        margin: 0;
        padding: 0 0 8px;
        -webkit-overflow-scrolling: auto;
    }

    .bt-event-track .bt-event-card,
    #nearbyEventTrack .bt-event-card {
        flex: none;
        width: 100%;
        max-width: none;
    }

    .bt-event-track .bt-event-card__main,
    #nearbyEventTrack .bt-event-card__main {
        flex-direction: row;
        align-items: stretch;
    }

    .bt-event-track .bt-event-card__img,
    #nearbyEventTrack .bt-event-card__img {
        width: 108px;
        min-width: 108px;
        max-width: 108px;
        height: 108px;
        border-radius: var(--bt-card-radius) 0 0 var(--bt-card-radius);
    }

    .bt-event-track .bt-event-card__img-shade,
    .bt-event-track .bt-event-card__overlay,
    #nearbyEventTrack .bt-event-card__img-shade,
    #nearbyEventTrack .bt-event-card__overlay {
        display: none !important;
    }

    .bt-event-track .bt-event-card__body,
    #nearbyEventTrack .bt-event-card__body {
        flex: 1 1 auto;
        min-width: 0;
        padding: 10px 10px 8px 12px;
        display: flex;
        flex-direction: column;
    }

    .bt-event-track .bt-event-card__body > .bt-event-card__title,
    #nearbyEventTrack .bt-event-card__body > .bt-event-card__title {
        order: 1;
    }

    .bt-event-track .bt-event-card__body > .bt-event-card__desc,
    #nearbyEventTrack .bt-event-card__body > .bt-event-card__desc {
        order: 2;
    }

    .bt-event-track .bt-event-card__body > .bt-event-card__biz,
    #nearbyEventTrack .bt-event-card__body > .bt-event-card__biz {
        order: 3;
        margin-bottom: 2px;
    }

    .bt-event-track .bt-event-card__body > .bt-event-card__ratings,
    .bt-event-track .bt-event-card__body > .bt-event-card__rating,
    #nearbyEventTrack .bt-event-card__body > .bt-event-card__ratings,
    #nearbyEventTrack .bt-event-card__body > .bt-event-card__rating {
        order: 4;
        margin-top: 0;
    }

    .bt-event-track .bt-event-card__body > .bt-event-card__price-block,
    #nearbyEventTrack .bt-event-card__body > .bt-event-card__price-block {
        order: 5;
        margin-top: auto;
        padding-top: 6px;
    }

    .bt-event-track .bt-event-card--strip-body-head .bt-event-card__body > .bt-event-card__title,
    #nearbyEventTrack .bt-event-card--strip-body-head .bt-event-card__body > .bt-event-card__title {
        display: -webkit-box !important;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        margin: 0 0 4px;
        font-size: 0.9rem;
        font-weight: 700;
        line-height: 1.32;
    }

    .bt-event-track .bt-event-card__price-strike-row,
    #nearbyEventTrack .bt-event-card__price-strike-row {
        margin-bottom: 2px;
    }

    .bt-event-track .bt-event-card__price-main,
    #nearbyEventTrack .bt-event-card__price-main {
        flex-wrap: wrap;
        align-items: baseline;
        gap: 4px 8px;
    }

    .bt-event-track .bt-event-card__price-sale,
    #nearbyEventTrack .bt-event-card__price-sale {
        font-size: 1.05rem;
    }

    .bt-event-track .bt-event-card__price-pct,
    #nearbyEventTrack .bt-event-card__price-pct {
        display: inline;
        color: #ea580c;
        font-size: 0.88rem;
        font-weight: 800;
        letter-spacing: -0.03em;
    }

    .bt-event-track .bt-event-card__vat-on-price,
    #nearbyEventTrack .bt-event-card__vat-on-price {
        font-size: 0.6rem;
        margin-left: 2px;
    }

    .bt-event-track .bt-event-card__kakao-foot,
    #nearbyEventTrack .bt-event-card__kakao-foot {
        align-self: stretch;
        width: auto;
        margin: 0 12px 10px;
        border-radius: 6px;
        justify-content: center;
    }
}

/* ---------- 이벤트 카드 — 히어로(배경 이미지 + 하단 흰 시트) 검색 결과용 ---------- */
.bt-search-events-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .bt-search-events-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .bt-search-events-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .bt-search-events-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.bt-event-card--hero {
    flex: none;
    max-width: none;
    width: 100%;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
    display: flex;
    flex-direction: column;
    padding-bottom: 10px;
}

.bt-event-card--hero .bt-event-card__hero-top {
    position: relative;
    border-radius: var(--bt-card-radius) var(--bt-card-radius) 0 0;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.bt-event-card--hero .bt-event-card__hero-img-link {
    color: inherit;
    display: block;
}

.bt-event-card--hero .bt-event-card__hero-img-link:hover {
    color: inherit;
}

/* 풀블리드 배경 이미지 영역 */
.bt-event-card--hero .bt-event-card__img {
    aspect-ratio: 16 / 11;
    min-height: 200px;
    border-radius: var(--bt-card-radius) var(--bt-card-radius) 0 0;
}

/* 흰 시트와 겹치지 않게 오버레이 카피 위치 */
.bt-event-card--hero .bt-event-card__overlay {
    bottom: auto;
    top: 46%;
    left: 12px;
    right: 56px;
    transform: translateY(-10%);
}

@media (max-width: 400px) {
    .bt-event-card--hero .bt-event-card__overlay {
        top: 40%;
    }
}

.bt-event-card--hero .bt-event-card__img-shade {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.35) 38%,
        rgba(0, 0, 0, 0.08) 62%,
        transparent 82%
    );
}

/* 하단 흰 박스: 이미지 위로 살짝 겹침 */
.bt-event-card__sheet {
    margin: -40px 10px 0;
    padding: 12px 12px 10px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 3;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.bt-event-card__sheet-main {
    display: block;
    color: inherit;
}

.bt-event-card__sheet-main:hover {
    color: inherit;
}

.bt-event-card--hero .bt-event-card__sheet .bt-event-card__title {
    margin-top: 0;
}

.bt-event-card--hero .bt-event-card__sheet .bt-event-card__kakao-foot {
    margin: 10px 0 0;
    width: 100%;
    justify-content: center;
    align-self: stretch;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 0.78rem;
}

/* ---------- 인기 검색어 ---------- */
.bt-kw-track {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bt-kw-chip {
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--bt-bg);
    border: 1px solid var(--bt-line);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--bt-text2);
    text-decoration: none;
}

.bt-kw-chip:hover {
    border-color: var(--bt-pink);
    color: var(--bt-pink);
}

/* ---------- 앱 유도 배너 ---------- */
.bt-app-banner {
    background: linear-gradient(180deg, #fafafa 0%, #f0f0f0 100%);
    border-top: 1px solid var(--bt-line);
    padding: 24px 16px;
    text-align: center;
    margin-top: 8px;
}

.bt-app-banner__title {
    font-size: 0.95rem;
    font-weight: 800;
    margin: 0 0 6px;
    color: var(--bt-text);
}

.bt-app-banner__sub {
    font-size: 0.78rem;
    color: var(--bt-muted);
    margin: 0 0 16px;
}

.bt-app-banner__qr {
    width: 88px;
    height: 88px;
    margin: 0 auto 12px;
    background: var(--bt-white);
    border: 1px dashed var(--bt-line);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--bt-muted2);
    line-height: 1.3;
}

.bt-app-banner__stores {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.bt-app-banner__stores .btn {
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 8px;
    padding: 8px 16px;
}

/* ---------- 푸터 (바비톡형: 좌 회사정보 / 우 약관·안내·CTA) ---------- */
.bt-footer {
    width: 100%;
    max-width: var(--bt-layout-max);
    margin-left: auto;
    margin-right: auto;
    background: var(--bt-white);
    padding: 32px var(--bt-layout-gutter) 36px;
    font-size: 0.75rem;
    color: var(--bt-muted);
    line-height: 1.55;
}

.bt-footer__inner {
    width: 100%;
}

.bt-footer__top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.75rem 2.5rem;
}

.bt-footer__left {
    flex: 1 1 16rem;
    max-width: 26rem;
    min-width: min(100%, 16rem);
}

.bt-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    text-decoration: none;
    color: var(--bt-text);
    margin-bottom: 0.85rem;
}

.bt-footer__brand:hover {
    color: var(--bt-pink);
}

.bt-footer__logo {
    display: block;
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 6px;
}

.bt-footer__brand-name {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--bt-pink);
}

.bt-footer__company {
    text-align: left;
}

.bt-footer__company-primary {
    margin: 0 0 0.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--bt-text2);
    line-height: 1.5;
}

.bt-footer__company-primary strong {
    font-weight: 800;
    color: var(--bt-text);
}

.bt-footer__company-meta {
    margin: 0 0 0.28rem;
    font-size: 0.72rem;
    color: var(--bt-muted);
}

.bt-footer__company-meta a {
    color: var(--bt-text2);
    text-decoration: none;
}

.bt-footer__company-meta a:hover {
    color: var(--bt-pink);
    text-decoration: underline;
}

.bt-footer__right {
    flex: 1 1 14rem;
    max-width: 28rem;
    min-width: min(100%, 14rem);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 1rem;
}

.bt-footer__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 0.2rem 0.35rem;
    font-size: 0.72rem;
    font-weight: 600;
}

.bt-footer__nav a {
    color: var(--bt-text2);
    text-decoration: none;
    white-space: nowrap;
}

.bt-footer__nav a:hover {
    color: var(--bt-pink);
}

.bt-footer__nav-em {
    font-weight: 800;
    color: var(--bt-text);
}

.bt-footer__vbar {
    color: var(--bt-line);
    user-select: none;
    font-weight: 400;
    padding: 0 0.05rem;
}

.bt-footer__cert {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    max-width: 22rem;
    text-align: left;
}

.bt-footer__cert-icon {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 8px;
    background: var(--bt-pink-soft, #fff5f8);
    color: var(--bt-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.bt-footer__cert-body {
    flex: 1;
    min-width: 0;
}

.bt-footer__cert-line {
    margin: 0 0 0.2rem;
    font-size: 0.68rem;
    color: var(--bt-muted);
    line-height: 1.45;
}

.bt-footer__cert-line--sub {
    font-size: 0.64rem;
    color: var(--bt-muted2, #aaa);
}

.bt-footer__cta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem 0.6rem;
}

.bt-footer__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.45rem 0.95rem;
    border: 1px solid var(--bt-line, #e5e5e5);
    border-radius: 999px;
    background: var(--bt-white);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--bt-text2);
    text-decoration: none;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.bt-footer__cta:hover {
    border-color: var(--bt-pink-line, #ffd6e5);
    color: var(--bt-pink);
}

.bt-footer__cta-chev {
    font-size: 0.65rem;
    opacity: 0.75;
}

.bt-footer__cta--secondary {
    background: transparent;
    font-weight: 600;
    color: var(--bt-muted);
}

.bt-footer__cta--secondary:hover {
    color: var(--bt-pink);
    border-color: var(--bt-pink-line, #ffd6e5);
}

.bt-footer__disclaimer {
    text-align: left;
    max-width: none;
    margin: 1.35rem 0 0;
    padding-top: 1.1rem;
    border-top: 1px solid var(--bt-line, #eee);
    font-size: 0.68rem;
    color: var(--bt-muted2);
    line-height: 1.5;
}

.bt-footer__health {
    text-align: left;
    font-size: 0.65rem;
    color: var(--bt-muted2);
    margin: 0.5rem 0 0;
}

@media (max-width: 767.98px) {
    .bt-footer {
        padding-top: 26px;
        padding-bottom: 28px;
    }

    .bt-footer__right {
        align-items: flex-start;
        text-align: left;
        max-width: none;
    }

    .bt-footer__nav {
        justify-content: flex-start;
    }

    .bt-footer__cta-row {
        justify-content: flex-start;
    }
}

/* Bootstrap 모달: 하단 탭바(1060)보다 위 + 시트(isolation) 밖에 두지 않으면 backdrop이 main 위를 덮음(home.jsp 주석 참고) */
body.bt-layout .modal-backdrop {
    z-index: 1070;
}
body.bt-layout .modal {
    z-index: 1080;
}

/* ---------- 모바일 하단 탭바 (홈·이벤트·검색·더보기) ---------- */
.bt-tabbar {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1060;
    background: var(--bt-white);
    border-top: 1px solid var(--bt-line);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.06);
}

@media (max-width: 767.98px) {
    .bt-tabbar {
        display: flex;
        justify-content: space-around;
        align-items: stretch;
    }
}

.bt-tabbar a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    text-decoration: none;
    color: var(--bt-muted);
    font-size: 0.62rem;
    font-weight: 700;
    padding: 4px 2px;
    min-width: 0;
}

.bt-tabbar a i {
    font-size: 1.25rem;
}

.bt-tabbar a.active {
    color: var(--bt-pink);
}

/* ========== 이벤트 상세 ========== */
.bt-detail-topbar {
    position: sticky;
    top: 0;
    z-index: 1040;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--bt-line2);
    height: var(--bt-header-h);
    display: flex;
    align-items: center;
}

.bt-detail-topbar .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--bt-layout-max);
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--bt-layout-gutter);
    box-sizing: border-box;
}

.bt-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: var(--bt-text2);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.88rem;
    padding: 6px 8px;
    margin-left: -6px;
}

.bt-back-btn:hover {
    color: var(--bt-pink);
}

/* 이벤트 상세: 바비톡형 상단 좌측 뒤로가기(아이콘만) */
.bt-detail-back-row {
    margin: -6px 0 2px -8px;
}

.bt-detail-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--bt-muted);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.15s ease, background 0.15s ease;
}

.bt-detail-back-btn:hover {
    color: var(--bt-text2);
    background: var(--bt-bg);
}

/*
.bt-detail-back-btn:active {
    color: var(--bt-text);
    background: var(--bt-line2);
}

.bt-detail-back-btn:focus-visible {
    outline: 2px solid var(--bt-pink);
    outline-offset: 2px;
}
*/
.bt-detail-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 100vw;
    background: #e5e5e5;
}

@media (min-width: 768px) {
    .bt-detail-hero {
        aspect-ratio: 16 / 9;
        max-height: 460px;
    }
}

.bt-detail-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bt-detail-pct-float {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bt-pink);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 900;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(255, 52, 120, 0.45);
    z-index: 1;
}

.bt-detail-pct-float small {
    font-size: 0.55rem;
    font-weight: 700;
    opacity: 0.95;
}

/* 이벤트 상세: 히어로·시트 동일 열 (main max 1024px 안) — 좌우 여백은 거터만 */
.bt-detail-page {
    width: 100%;
    background: #fff;
    padding-left: var(--bt-layout-gutter);
    padding-right: var(--bt-layout-gutter);
    box-sizing: border-box;
}

.bt-detail-sheet {
    background: var(--bt-white);
    border-radius: 16px 16px 0 0;
    position: relative;
    z-index: 2;
    padding: 18px 0 1.5rem;
}

@media (min-width: 768px) {
    .bt-detail-sheet {
        margin-top: 0;
        border-radius: 0;
        box-shadow: none;
        padding: 28px 0 40px;
    }
}

.bt-hospital-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 0 14px;
    border-bottom: 1px solid var(--bt-line2);
    margin-bottom: 14px;
}

.bt-hospital-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bt-pink-soft);
    color: var(--bt-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    border: 1px solid var(--bt-pink-line);
}

.bt-hospital-meta {
    flex: 1;
    min-width: 0;
}

.bt-hospital-name {
    font-weight: 800;
    font-size: 0.95rem;
    margin: 0 0 2px;
    color: var(--bt-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bt-hospital-sub {
    font-size: 0.75rem;
    color: var(--bt-muted);
    margin: 0;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bt-detail-title {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.4;
    margin: 0 0 12px;
    color: var(--bt-text);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    word-break: break-all;
}

.bt-price-panel {
    border: 2px solid var(--bt-pink);
    border-radius: 12px;
    background: var(--bt-pink-soft);
    padding: 14px 16px;
    margin-bottom: 14px;
}

.bt-price-panel__label {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--bt-pink);
    letter-spacing: 0.06em;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bt-price-panel__row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 10px;
}

.bt-price-panel__old {
    font-size: 0.88rem;
    color: var(--bt-muted);
    text-decoration: line-through;
}

.bt-price-panel__sale {
    font-size: 1.55rem;
    font-weight: 900;
    color: var(--bt-pink);
    letter-spacing: -0.03em;
}

.bt-price-panel__vat {
    font-size: 0.68rem;
    color: var(--bt-muted);
    margin-top: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bt-price-panel__pct {
    font-size: 0.72rem;
    font-weight: 900;
    background: var(--bt-pink);
    color: #fff;
    padding: 4px 8px;
    border-radius: 6px;
}

/* 상세: 가격 아래 별점·카톡 (세로 스택) */
.bt-detail-trust-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    margin-top: 12px;
    margin-bottom: 4px;
}

.bt-price-panel + .bt-detail-trust-actions {
    margin-top: 8px;
}

/* 상세: 가격 패널 아래 별점·후기 (레퍼런스 배너 톤) */
.bt-detail-ratings {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0 0 8px;
}

.bt-detail-rating-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 6px;
    margin: 0;
}

.bt-detail-rating-row__label {
    flex: 0 0 auto;
    min-width: 4.5rem;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--bt-muted);
}

.bt-detail-rating-row__star {
    color: #facc15;
    font-size: 1rem;
    line-height: 1;
}

.bt-detail-rating-row__score {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--bt-text);
    letter-spacing: -0.02em;
}

.bt-detail-rating-row__cnt {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--bt-muted);
}

/* 카카오톡 상담 (브랜드 옐로) */
.bt-btn-kakao {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 280px;
    padding: 12px 20px;
    margin-bottom: 10px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 800;
    color: #191600 !important;
    text-decoration: none !important;
    background: #fee500;
    border: none;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    transition: background 0.15s, transform 0.12s;
}

.bt-btn-kakao:hover {
    background: #f5dc00 !important;
    color: #191600 !important;
    transform: translateY(-1px);
}

.bt-btn-kakao i {
    font-size: 1.1rem;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .bt-btn-kakao {
        width: auto;
    }
}

/* 이벤트 상세 — 구성 옵션 카드 (강남언니형: 번호·타이틀·세부·할인%·정가·할인가) */
.bt-opt-card-list {
    width: 100%;
}

.bt-opt-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px 16px;
    box-sizing: border-box;
}

.bt-opt-card__text {
    min-width: 0;
}

.bt-opt-card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 10px;
    margin-bottom: 0;
}

.bt-opt-card__idx {
    color: #9ca3af;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    flex-shrink: 0;
}

.bt-opt-card__title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.35;
    flex: 1;
    min-width: 0;
    word-break: break-word;
}

.bt-opt-card__desc {
    margin: 6px 0 0;
	padding-left: 15px;
    font-size: 0.8125rem;
    font-weight: 400;
    color: #64748b;
    line-height: 1.5;
    word-break: break-word;
}

.bt-opt-card__price {
    align-self: flex-end;
    text-align: right;
}

.bt-opt-card__price-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: baseline;
    gap: 6px 10px;
    font-size: 0.8125rem;
    color: #9ca3af;
    line-height: 1.35;
}

.bt-opt-card__pct {
    font-weight: 600;
}

.bt-opt-card__orig {
    text-decoration: line-through;
    font-weight: 500;
}

.bt-opt-card__price-sale {
    margin-top: 2px;
}

.bt-opt-card__sale {
    font-size: 1.0625rem;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.02em;
}

.bt-opt-card__sale--muted {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--bt-muted);
}

.bt-period-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--bt-text2);
    background: var(--bt-bg);
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 16px;
    border: 1px solid var(--bt-line2);
}

.bt-tabs.nav-tabs {
    border-bottom: 2px solid var(--bt-line2);
}

.bt-tabs .nav-link {
    border: none !important;
    color: var(--bt-muted) !important;
    font-weight: 800;
    font-size: 0.84rem;
    padding: 12px 14px;
    border-radius: 0 !important;
}

.bt-tabs .nav-link.active {
    color: var(--bt-pink) !important;
    border-bottom: 3px solid var(--bt-pink) !important;
    margin-bottom: -2px;
    background: transparent !important;
}

.bt-tab-pane-body {
    padding: 16px 0;
    font-size: 0.9rem;
    line-height: 1.7;
    white-space: pre-wrap;
    word-break: break-word;
    color: var(--bt-text2);
}

.bt-benefit-box {
    background: var(--bt-pink-soft);
    border-radius: 10px;
    padding: 14px;
    border: 1px solid var(--bt-pink-line);
    font-weight: 500;
    white-space: pre-line;
    word-break: break-word;
}

/* 이벤트 상세 — 카드·히어로·탭/섹션 레이아웃 */
.bt-detail-page--ev-babi {
}

.bt-detail-sheet--ev-babi {
    background: transparent;
    padding-top: 12px;
    padding-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .bt-detail-sheet--ev-babi {
        padding-top: 20px;
    }
}

.bt-ev-babi-card {
    padding: 14px 30px 16px;
    margin-bottom: 12px;
    position: relative;
}

.bt-ev-babi-top {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}

.bt-ev-babi-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--bt-text);
    text-decoration: none;
    flex-shrink: 0;
}

.bt-ev-babi-hospital {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--bt-muted);
    margin: 0 0 6px;
    line-height: 1.35;
}

.bt-ev-babi-hospital a {
    color: inherit;
    text-decoration: none;
}

.bt-ev-babi-hospital a:hover {
    color: var(--bt-pink);
    text-decoration: underline;
}

.bt-ev-babi-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.bt-ev-babi-title {
    font-size: 1.28rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0;
    color: var(--bt-text);
    flex: 1;
    min-width: 0;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bt-ev-babi-trust {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-bottom: 14px;
    font-size: 0.9rem;
}

.bt-ev-babi-trust__star {
    color: #facc15;
    font-size: 1.05rem;
}

.bt-ev-babi-trust__score {
    font-weight: 800;
    color: var(--bt-text);
}

.bt-ev-babi-trust__reviews {
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
    font-size: 0.88rem;
}

.bt-ev-babi-trust__reviews:hover {
    text-decoration: underline;
}

.bt-ev-babi-trust__muted {
    font-size: 0.82rem;
    color: var(--bt-muted);
}

.bt-ev-babi-price {
    border: 1px solid var(--bt-line2);
    border-radius: 12px;
    background: #fafafa;
    padding: 12px 14px;
    margin-bottom: 12px;
}

.bt-ev-babi-price__label {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--bt-muted);
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.bt-ev-babi-price__original {
    font-size: 0.8rem;
    color: var(--bt-muted);
    margin-bottom: 6px;
}

.bt-ev-babi-price__original span {
    text-decoration: line-through;
}

.bt-ev-babi-price__saleline {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 10px;
}

.bt-ev-babi-price__saletag {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--bt-text);
}

.bt-ev-babi-price__pct {
    font-size: 0.85rem;
    font-weight: 900;
    color: #5b21b6;
}

.bt-ev-babi-price__amount {
    font-size: 1.45rem;
    font-weight: 900;
    color: var(--bt-pink);
    letter-spacing: -0.03em;
}

.bt-ev-babi-price__inquiry {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--bt-text);
}

.bt-ev-babi-price__vat {
    font-size: 0.72rem;
    color: var(--bt-muted);
    margin-top: 8px;
}

.bt-ev-babi-promo {
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 12px;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.45;
    color: #ecfdf5;
    background: linear-gradient(120deg, #059669 0%, #10b981 45%, #34d399 100%);
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.25);
    white-space: pre-line;
    word-break: break-word;
}

.bt-ev-babi-meta {
    margin-top: 4px;
}

/* 이벤트 상세 — 강남언니형: 요약 → 스티키 앵커 → 세로 섹션 (상단 히어로 이미지 미사용) */
.bt-detail-page--ev-gh .bt-detail-sheet--ev-babi {
    padding-top: 12px;
}

@media (min-width: 768px) {
    .bt-detail-page--ev-gh .bt-detail-sheet--ev-babi {
        padding-top: 20px;
    }
}

.bt-gh-ev-summary__toolbar {
    margin-bottom: 4px;
}

.bt-detail-page--ev-gh .bt-gh-ev-summary.bt-ev-babi-card {
    padding-left: var(--bt-layout-gutter);
    padding-right: var(--bt-layout-gutter);
    margin-bottom: 0;
    border-radius: 0;
}

.bt-gh-ev-nav {
    position: sticky;
    top: 0;
    z-index: 14;
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--bt-line2);
    padding: 0 var(--bt-layout-gutter);
}

.bt-gh-ev-nav::-webkit-scrollbar {
    display: none;
    height: 0;
}

.bt-gh-ev-nav a {
    flex: 0 0 auto;
    padding: 12px 12px 10px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--bt-muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    white-space: nowrap;
}

.bt-gh-ev-nav a:hover {
    color: var(--bt-text);
}

.bt-gh-ev-nav a:focus-visible {
    outline: 2px solid var(--bt-pink);
    outline-offset: -2px;
}

.bt-gh-ev-sec--pad {
    padding-left: var(--bt-layout-gutter);
    padding-right: var(--bt-layout-gutter);
    padding-top: 12px;
    padding-bottom: 16px;
}

.bt-gh-ev-sec__title {
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 8px;
    padding-bottom: 8px;
    color: var(--bt-text);
}

/*
 * 이벤트 상세: .bt-tab-pane-body 기본 white-space:pre-wrap 이면 DB에 들어간 연속 줄바꿈이
 * 큰 빈 블록처럼 보임 → 본문은 normal 로 통일.
 */
.bt-detail-page--ev-gh .bt-tab-pane-body {
    white-space: normal;
}

/* 본문 블록: 섹션 패딩으로 충분하므로 탭바디 기본 padding(16px 0) 제거 */
.bt-detail-page--ev-gh .bt-tab-pane-body--rich {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
}

.bt-tabs--babi .nav-link.active {
    color: #111827 !important;
    border-bottom-color: #111827 !important;
}

.bt-ev-desc-hero {
    position: relative;
    width: calc(100% + 2 * var(--bt-layout-gutter));
    margin-left: calc(-1 * var(--bt-layout-gutter));
    margin-right: calc(-1 * var(--bt-layout-gutter));
    aspect-ratio: 1 / 1;
    max-height: min(100vw, 520px);
    background: #e5e5e5;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .bt-ev-desc-hero {
        aspect-ratio: 16 / 9;
        border-radius: 0;
        max-height: 420px;
    }
}

.bt-ev-desc-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bt-tab-pane-body--rich {
    padding-top: 18px;
}

.bt-ev-babi-pane-hospital .bt-hospital-row {
    border-bottom: none;
    margin-bottom: 8px;
    padding-bottom: 8px;
}

.bt-detail-img-stack img {
    width: 100%;
    display: block;
    border-radius: 10px;
    margin-bottom: 8px;
    border: 1px solid var(--bt-line2);
}

/* 이벤트 상세: 상세 정보(이미지 스택) 일부 노출 + 더보기 */
.bt-ev-detail-img-more__viewport {
    position: relative;
    max-height: min(55vh, 360px);
    overflow: hidden;
}

/*
 * 로드·레이아웃 확정 전에는 높이 제한을 쓰지 않음.
 * (미로드 상태에서 max-height+overflow:hidden이 잡히면 ‘상세 정보’ 아래 큰 빈 공간처럼 보일 수 있음)
 */
.bt-ev-detail-img-more.bt-ev-detail-img-more--loading .bt-ev-detail-img-more__viewport {
    max-height: none !important;
    overflow: visible !important;
}

.bt-ev-detail-img-more.bt-ev-detail-img-more--loading .bt-ev-detail-img-more__viewport::after {
    opacity: 0;
    visibility: hidden;
}

.bt-ev-detail-img-more.is-expanded .bt-ev-detail-img-more__viewport,
.bt-ev-detail-img-more--short .bt-ev-detail-img-more__viewport {
    max-height: none;
    overflow: visible;
}

.bt-ev-detail-img-more__viewport::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: min(140px, 38vh);
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.88) 52%,
        #fff 100%
    );
}

.bt-ev-detail-img-more.is-expanded .bt-ev-detail-img-more__viewport::after,
.bt-ev-detail-img-more--short .bt-ev-detail-img-more__viewport::after {
    opacity: 0;
    visibility: hidden;
}

.bt-ev-detail-img-more__btn {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 12px 16px;
    border: 1px solid var(--bt-line2);
    border-radius: 12px;
    background: #f3f4f6;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--bt-text);
    cursor: pointer;
}

.bt-ev-detail-img-more__btn:hover {
    background: #e5e7eb;
}

.bt-ev-detail-img-more__btn:focus-visible {
    outline: 2px solid var(--bt-pink);
    outline-offset: 2px;
}

a.btn-bt-primary,
button.btn-bt-primary {
    background: var(--bt-pink) !important;
    color: #fff !important;
    font-weight: 800;
    border: none !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px !important;
}

a.btn-bt-primary:hover,
button.btn-bt-primary:hover {
    background: var(--bt-pink-hover) !important;
    color: #fff !important;
}

/*
 * 바비톡형 하단 CTA: fixed 아님 — 스크롤 컨테이너(.bt-main-sheet) 안에서 sticky bottom.
 * 스크롤 중에는 시트 뷰포트 하단에 붙고, 맨 아래까지 내리면 문서 흐름 위치로 돌아가 푸터가 아래에 보임.
 */
.bt-cta-bar-wrap {
    position: -webkit-sticky;
    position: sticky;
    bottom: 0;
    left: calc(50% - 512px);
    z-index: 1050;
    width: 100%;
    max-width: 1024px;
    flex-shrink: 0;
    align-self: stretch;
    background: var(--bt-white);
    padding-bottom: env(safe-area-inset-bottom);
    box-sizing: border-box;
}

/* 이벤트 상세: CTA가 시트 내부 스크롤에 붙음 — 좌표·폭 보정 */
.bt-cta-bar-wrap--in-sheet {
    left: auto;
    max-width: none;
    align-self: stretch;
    border-top: 1px solid var(--bt-line2);
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.06);
}

@media (max-width: 767.98px) {
    .bt-main-sheet > .bt-cta-bar-wrap--in-sheet {
        position: fixed;
        left: 0;
        right: 0;
        bottom: calc(var(--bt-tabbar-h) + env(safe-area-inset-bottom, 0px));
        z-index: 1055;
        max-width: none;
        width: 100%;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
}

@media (min-width: 768px) {
    .bt-main-sheet > .bt-cta-bar-wrap--in-sheet {
        position: sticky;
        bottom: 0;
    }
}

/* 스티키 바에 가리지 않도록 본문 하단 여백 (바로 다음 형제가 시트 내 CTA 일 때) */
.bt-main-sheet > .bt-detail-page:has(+ .bt-cta-bar-wrap--in-sheet) {
    padding-bottom: 5.5rem;
}

@media (min-width: 768px) {
    .bt-main-sheet > .bt-detail-page:has(+ .bt-cta-bar-wrap--in-sheet) {
        padding-bottom: 5rem;
    }
}

/* 상세 시트 안 푸터(모바일 면책 등) */
.bt-main-sheet > .bt-footer {
    margin-top: 0.25rem;
}

/* 이벤트 상세: 모바일에서 하단 GNB(홈·이벤트·검색·마이) 숨김 — 시트 내 푸터·CTA는 유지 */
@media (max-width: 767.98px) {
    body.bt-page-event-detail .bt-tabbar {
        display: none !important;
    }

    body.bt-page-event-detail.bt-layout.bt-has-tabbar.bt-footer-in-sheet .bt-main-sheet {
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    body.bt-page-event-detail.bt-layout.bt-has-tabbar.bt-footer-in-sheet
        .bt-main-sheet:has(> .bt-cta-bar-wrap--in-sheet) {
        padding-bottom: calc(env(safe-area-inset-bottom, 0px) + var(--bt-in-sheet-cta-h));
    }

    body.bt-page-event-detail .bt-main-sheet > .bt-cta-bar-wrap--in-sheet {
        bottom: env(safe-area-inset-bottom, 0px);
    }
}

.bt-main-sheet > p.bt-footer__disclaimer {
    margin-bottom: 0;
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
}

.bt-cta-bar {
    max-width: var(--bt-layout-max);
    margin: 0 auto;
    padding: 10px var(--bt-layout-gutter);
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.bt-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.2;
    border-radius: 12px;
    text-decoration: none !important;
    border: none;
    padding: 13px 10px;
    min-height: 48px;
    transition: background 0.15s, opacity 0.15s;
}

button.bt-cta-btn {
    cursor: pointer;
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
}

.bt-cta-btn--biz {
    flex: 0 0 23%;
    max-width: 5.5rem;
    background: var(--bt-cta-grey);
    color: #333333 !important;
}

.bt-cta-btn--biz:hover {
    background: #e8e8e8 !important;
    color: #111 !important;
}

.bt-cta-btn--kakao {
    flex: 1 1 0;
    min-width: 0;
    background: #fee500;
    color: #191600 !important;
    gap: 6px;
}

.bt-cta-btn--kakao:hover {
    background: #f5dc00 !important;
    color: #191600 !important;
}

.bt-cta-btn--kakao i {
    font-size: 1.05rem;
}

.bt-cta-btn--consult {
    flex: 1 1 0;
    min-width: 0;
    background: linear-gradient(135deg, #6b66ff 0%, #534bcc 100%);
    color: #ffffff !important;
}

.bt-cta-btn--consult:hover {
    background: linear-gradient(135deg, #5852e0 0%, #453ca8 100%) !important;
    color: #fff !important;
}

.bt-cta-btn--disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

/* 카톡 없을 때: 업체 + 상담 2분할 */
.bt-cta-bar--two .bt-cta-btn--biz {
    flex: 0 0 30%;
    max-width: none;
}

.bt-cta-bar--two .bt-cta-btn--consult {
    flex: 1 1 auto;
}

@media (min-width: 768px) {
    .bt-cta-btn {
        font-size: 0.92rem;
        padding: 14px 14px;
        border-radius: 12px;
    }
}

/* 레거시 클래스 호환 (기존 JSP 일부) */
.bt-header .navbar-brand {
    color: var(--bt-pink) !important;
}

.bt-hero-kicker {
    display: none;
}

.bt-section {
    padding: 0;
}

.bt-footer-disclaimer {
    font-size: 0.68rem;
    color: var(--bt-muted2);
    line-height: 1.55;
    max-width: 520px;
    margin: 12px auto 0;
}

/* ---------- 지역 변경 모달: 2열 피커 (마크업은 home / events-popular 공통) ---------- */
#modalNearbyRegion .modal-dialog {
    max-width: min(520px, calc(100vw - 1.5rem));
}

#modalNearbyRegion .modal-content {
    border-radius: 14px;
    overflow: hidden;
}

#modalNearbyRegion .modal-body {
    min-height: 0;
}

.bt-region-picker {
    display: flex;
    flex-direction: row;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    height: min(52vh, 420px);
    max-height: min(52vh, 420px);
    border: 1px solid var(--bt-line);
    border-radius: 10px;
    overflow: hidden;
    background: var(--bt-white);
}

.bt-region-picker__col {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
}

.bt-region-picker__col--cities {
    flex: 0 0 40%;
    max-width: 44%;
    border-right: 1px solid var(--bt-line);
    background: var(--bt-line2);
}

.bt-region-picker__col--districts {
    flex: 1 1 auto;
    background: var(--bt-white);
}

.bt-region-picker__scroll {
    flex: 1 1 0;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* 시·도: Bootstrap 파란 active 대신 브랜드 톤 */
#modalNearbyRegion .bt-region-picker__col--cities .list-group-item {
    border: none;
    border-radius: 0 !important;
    border-bottom: 1px solid var(--bt-line);
    background: transparent;
    font-size: 0.9rem;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
}

#modalNearbyRegion .bt-region-picker__col--cities .list-group-item-action:hover,
#modalNearbyRegion .bt-region-picker__col--cities .list-group-item-action:focus {
    background: var(--bt-white);
    color: var(--bt-text);
}

#modalNearbyRegion .bt-region-picker__col--cities .list-group-item.active {
    background: var(--bt-white) !important;
    color: var(--bt-pink) !important;
    font-weight: 700;
    border-left: 3px solid var(--bt-pink);
    padding-left: calc(0.75rem - 3px);
}

#modalNearbyRegion .bt-region-picker__col--cities .list-group-item.active:hover,
#modalNearbyRegion .bt-region-picker__col--cities .list-group-item.active:focus {
    background: var(--bt-white) !important;
    color: var(--bt-pink) !important;
}

/* 우측 시·군·구 행 */
#modalNearbyRegion #nearbyDistrictList .list-group-item {
    border-radius: 0 !important;
}

#modalNearbyRegion #nearbyDistrictList .list-group-item.active {
    background: var(--bt-pink-soft) !important;
    color: var(--bt-text) !important;
    border-color: transparent;
}

#modalNearbyRegion #nearbyDistrictList .list-group-item-action:hover:not(.active) {
    background: var(--bt-line2);
}

.bt-region-count {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--bt-muted);
    min-width: 1.5rem;
    text-align: right;
}

.bt-region-count--zero {
    color: var(--bt-muted2);
    font-weight: 500;
}

#modalNearbyRegion .modal-footer .btn-bt-primary.btn-sm {
    padding: 0.4rem 0.9rem;
    border-radius: 10px !important;
    font-size: 0.8125rem;
}

/* 홈: 공공데이터 동물병원 — 격자 카드(레퍼런스형) */
.bt-pub-hospitals {
    padding-top: 0.25rem;
    margin-top: 50px;
}

.bt-pub-hosp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: #e0e0e0;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    border-radius: 0;
}

@media (min-width: 576px) {
    .bt-pub-hosp-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .bt-pub-hosp-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1200px) {
    .bt-pub-hosp-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* 홈 공공데이터 병원: 큰 화면(lg+) 10건, 태블릿·모바일(lg 미만) 8건만 표시 */
.bt-pub-hosp-grid .bt-pub-hosp-card:nth-child(n + 9) {
    display: none;
}

@media (min-width: 992px) {
    .bt-pub-hosp-grid .bt-pub-hosp-card:nth-child(n + 9) {
        display: flex;
    }

    .bt-pub-hosp-grid .bt-pub-hosp-card:nth-child(n + 11) {
        display: none;
    }
}

.bt-pub-hosp-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0.75rem 0.85rem 0.7rem;
    background: var(--bt-white, #fff);
    text-align: left;
}

/* 카드 상단 CI(로고) 영역 */
.bt-pub-hosp-card__ci {
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.bt-pub-hosp-card__logo {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 8px;
    background: linear-gradient(135deg, #ffe8f0 0%, #ffd6e8 100%);
    color: var(--bt-pink, #ff3478);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* 메인 홈 공공 병원 카드: 상단 하트(로고) 영역 비표시 */
#bt-pub-hospitals .bt-pub-hosp-card__ci {
    display: none;
}

.bt-pub-hosp-card__title-row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
    min-width: 0;
    width: 100%;
    margin-bottom: 0.35rem;
}

.bt-pub-hosp-card__name {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--bt-text, #111);
    word-break: keep-all;
}

.bt-pub-hosp-region-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
}

.bt-pub-hosp-card__region {
    margin: 0 0 0.3rem;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--bt-text, #111);
    word-break: keep-all;
}

.bt-pub-hosp-card__google {
    margin: 0 0 0.35rem;
    font-size: 0.78rem;
    line-height: 1.35;
    color: var(--bt-muted, #666);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.bt-pub-hosp-card__google-label {
    font-weight: 600;
    color: var(--bt-muted, #666);
}

.bt-pub-hosp-card__google-score {
    font-weight: 700;
    color: var(--bt-text, #111);
}

.bt-pub-hosp-card__google-count {
    font-weight: 400;
    color: var(--bt-muted, #888);
}

.bt-pub-hosp-card__tel-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    margin-top: 0.35rem;
    padding-top: 0.1rem;
}

.bt-pub-hosp-card__tel-cell {
    min-width: 0;
    flex: 1;
}

.bt-pub-hosp-card__tel {
    margin: 0;
    color: var(--bt-muted, #888);
    font-size: 0.78rem;
    line-height: 1.4;
}

.bt-pub-hosp-card__fav {
    position: static;
    flex-shrink: 0;
    align-self: center;
    border: none;
    background: transparent;
    padding: 0.25rem;
    line-height: 1;
    color: var(--bt-muted, #888);
    cursor: pointer;
    opacity: 0.9;
}

.bt-pub-hosp-card__fav:hover {
    opacity: 1;
    color: var(--bt-pink, #ff3478);
}

.bt-pub-hosp-card__fav--active {
    color: var(--bt-pink, #ff3478);
    opacity: 1;
}

/* 검색 결과 행: 카드 밖이므로 position 초기화 */
li .bt-search-dir-fav {
    position: static;
    margin-top: 0.1rem;
}

.bt-pub-hosp-card__fav .bi {
    font-size: 1.15rem;
}

/* 파트너 신청 폼: 단계별 블록 묶음 */
#partnerApplyForm .partner-apply-section {
    background: #f7f7f7;
    border-radius: 20px;
    padding: 1.25rem 1.5rem;
}

/* 홈: 기획전(테마별 병원) — 이벤트형 가로 카드 */
.bt-curation {
    margin-top: 32px;
    padding-top: 0;
}

.bt-curation-strip {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 0;
}

@media (min-width: 768px) {
    .bt-curation-strip {
        flex-direction: row;
        align-items: stretch;
        gap: 1.1rem;
    }
}

.bt-curation-strip__intro {
    flex: 0 0 auto;
}

@media (min-width: 768px) {
    .bt-curation-strip__intro {
        flex: 0 0 25%;
        max-width: 25%;
        min-width: 0;
        padding-right: 0.25rem;
    }
}

.bt-curation-strip__title {
    margin: 0 0 0.35rem;
    white-space: normal;
    word-break: keep-all;
}

.bt-curation-strip__lede {
    margin: 0 0 0.45rem;
    line-height: 1.45;
}

.bt-curation-strip__desc {
    font-size: 0.875rem;
    color: var(--bt-muted, #666);
    line-height: 1.5;
    margin: 0 0 0.65rem;
}

.bt-curation-strip__scroll {
    flex: 1;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.bt-curation-track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.75rem;
    padding: 0.15rem 0 0.35rem;
    min-height: 100%;
    align-items: stretch;
    width: 100%;
    box-sizing: border-box;
}

.bt-curation-track .bt-curation-card {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
}

.bt-curation-card {
    position: relative;
    flex: 0 0 auto;
    width: min(200px, 72vw);
    min-height: 240px;
    border-radius: 7px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    padding: 2.5rem 0.85rem 1rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}


/* 실사 배경 카드 — 트랙 안에서는 균등 분할(.bt-curation-track .bt-curation-card) */
.bt-curation-card--photo {
    height: 300px;
    max-height: 300px;
    min-height: 0;
    box-sizing: border-box;
    padding: 0 0.75rem 0.95rem;
    background: #1f2937;
}

.bt-curation-track .bt-curation-card--photo {
    width: auto;
    min-width: 0;
}

.bt-curation-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.bt-curation-card__img--placeholder {
    background: linear-gradient(135deg, #4b5563 0%, #1f2937 48%, #4338ca 100%);
}

.bt-curation-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.25) 45%, rgba(0, 0, 0, 0.78) 100%);
}

.bt-curation-card__badge {
    position: absolute;
    top: 0.65rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(34, 139, 84, 0.92);
    color: #fff;
    line-height: 1.2;
    white-space: nowrap;
    z-index: 2;
    max-width: calc(100% - 1rem);
    overflow: hidden;
    text-overflow: ellipsis;
}

.bt-curation-card__badge--hanbang {
    background: rgba(22, 101, 52, 0.92);
}

.bt-curation-card__badge--eye {
    background: rgba(29, 78, 216, 0.92);
}

.bt-curation-card__name {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.35;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
    z-index: 2;
    position: relative;
    padding: 0 0.2rem;
}

.bt-curation-card__cta {
    margin-top: 0.55rem;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    background: rgba(0, 0, 0, 0.25);
    z-index: 2;
    position: relative;
}

/* ---------- 마이페이지 — 프로필 + 메뉴 리스트 ---------- */
.bt-mypage {
    max-width: 560px;
    margin: 0 auto;
}

.bt-mypage-hero {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 1.25rem 0 1.5rem;
    border-bottom: 1px solid var(--bt-line2);
}

.bt-mypage-hero__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #f0f2f8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9aa3b8;
}

.bt-mypage-hero__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bt-mypage-hero__meta {
    flex: 1;
    min-width: 0;
}

.bt-mypage-hero__name {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.bt-mypage-hero__level {
    font-size: 0.8rem;
    color: var(--bt-muted);
    margin-top: 2px;
}

.bt-mypage-hero__logout {
    flex-shrink: 0;
    border: 1px solid var(--bt-line2);
    background: #fff;
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--bt-text);
}

.bt-mypage-hero__logout:hover {
    background: #f8f9fc;
}

.bt-mypage-menu {
    padding: 0.25rem 0 1rem;
}

.bt-mypage-menu__row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem 0;
    border-bottom: 1px solid var(--bt-line2);
    text-decoration: none;
    color: inherit;
}

.bt-mypage-menu__row:hover {
    color: inherit;
    opacity: 0.85;
}

.bt-mypage-menu__row > .bi:first-child {
    font-size: 1.25rem;
    color: var(--bt-text2);
    flex-shrink: 0;
}

.bt-mypage-menu__chev {
    margin-left: auto;
    font-size: 1rem;
    color: #c5cad6;
}

.bt-mypage-menu__row--action .bt-mypage-menu__chev {
    display: none;
}

.bt-mypage-menu__row-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bt-mypage-menu__title {
    font-weight: 600;
    font-size: 0.95rem;
}

.bt-mypage-menu__row--action {
    border-bottom: 1px solid var(--bt-line2);
}

.bt-mypage-menu__row--action .btn {
    flex-shrink: 0;
    font-size: 0.8rem;
    padding: 0.35rem 0.85rem;
}

