/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jun 08 2026 | 05:42:49 */
/* ============================
   aesthetic.css
   심미치료 전체 스타일
   접두사: aest- / lami- / ba-
   의존: common-style.css / common-components.css
         implant.css (treatment-*) / general.css (device-*)
============================ */


/* ======================================================
   B&A 카드 공통
   ====================================================== */
.ba-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    border: 1px solid var(--gray-color03);
}

/* 이미지 컨테이너 — 높이 가변 (실제 이미지 높이에 맞춤) */
.ba-card__images { position: relative; }

/* Before: 기준 레이어 (높이 결정) */
.ba-card__before {
    position: relative;
    display: block;
    margin: 0;
    line-height: 0;
}

.ba-card__before img {
    display: block;
    width: 100%;
    height: auto;
}

/* placeholder: 이미지 없을 때 4:3 비율 유지 */
.ba-card__before > .img-ph {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
}

/* After: before 위에 절대 배치 */
.ba-card__after {
    position: absolute;
    inset: 0;
    margin: 0;
    clip-path: circle(0% at 50% 50%);
    transition: clip-path 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 클릭 후 After 표시 */
.ba-card.is-after .ba-card__after {
    clip-path: circle(150% at 50% 50%);
}

.ba-card__after img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

.ba-card__after > .img-ph {
    position: absolute; inset: 0;
    background: #80CBC4;
}

/* Before placeholder */
.ba-card__before > .img-ph { background: #A1887F; }

/* Before / After 캡션 */
.ba-card__caption {
    position: absolute;
    bottom: var(--one-gap-r);
    left: var(--one-gap-r);
    z-index: 2;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.48);
    color: #fff;
    font-size: var(--one-caption);
    font-weight: 700;
    letter-spacing: 0.05em;
    backdrop-filter: blur(4px);
    line-height: 1.4;
}

/* 케이스·태그 메타 */
.ba-card__meta {
    position: absolute;
    top: var(--one-gap-r);
    left: var(--one-gap-r);
    z-index: 3;
    display: flex;
    gap: var(--one-gap-sm);
}

.ba-card__case {
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.45);
    color: rgba(255,255,255,0.9);
    font-size: var(--one-caption);
    font-weight: 700;
    backdrop-filter: blur(4px);
}

.ba-card__tag {
    padding: 3px 10px;
    border-radius: 20px;
    background: var(--main-color);
    color: #fff;
    font-size: var(--one-caption);
    font-weight: 600;
}


/* ======================================================
   B&A Swiper 외부 컨트롤
   ====================================================== */
.aest-ba-wrap { position: relative; }

/* 외부 컨트롤 행: 버튼 + 페이징 */
.aest-ba-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--one-gap-lg);
    margin: var(--one-gap-xl) auto 0;
    width: 80%;
}
/* 원형 네비 버튼 */
.aest-ba-prev,
.aest-ba-next {
    flex-shrink: 0;
    width: 48px; height: 48px;
    border-radius: 50%;
    border: 1px solid var(--gray-color03);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--one-txt-color);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.aest-ba-prev:hover,
.aest-ba-next:hover {
    background: var(--main-color);
    border-color: var(--main-color);
    color: #fff;
}

.aest-ba-prev.swiper-button-disabled,
.aest-ba-next.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

/* 페이지네이션 — Swiper 기본 dot 스타일 재정의 */
.aest-ba-pager {
	width: auto !important;
    display: flex;
    align-items: center;
    gap: 6px;
}

.aest-ba-pager .swiper-pagination-bullet {
    width: 8px; height: 8px;
    background: var(--gray-color03);
    border-radius: 50%;
    opacity: 1;
    transition: background 0.2s ease, width 0.2s ease;
    cursor: pointer;
}

.aest-ba-pager .swiper-pagination-bullet-active {
    background: var(--main-color);
    width: 24px;
    border-radius: 4px;
}


/* ======================================================
   B&A 커스텀 커서 (PC 전용)
   ====================================================== */
.ba-cursor {
    position: fixed;
    top: 0; left: 0;                    /* 기준점 고정 */
    width: 120px; height: 120px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.8);
    background: rgba(0, 60, 114, 0.82);
    transform: translate(-60px, -60px); /* 초기: 화면 밖 */
    pointer-events: none;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;      /* opacity만 CSS 전환 */
    overflow: hidden;
    will-change: transform;             /* GPU 컴포지터 레이어 사전 확보 */
}

.ba-cursor.is-visible { opacity: 1; }

/* 커서 내 after 이미지 */
.ba-cursor-img {
    position: absolute; inset: 0;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.ba-cursor-img.has-img { opacity: 0.72; }

/* CLICK 텍스트 */
.ba-cursor-label {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

/* 커서 원 활성 시: 기본 커서 포인터는 그대로 유지 */
.sec-aest-ba.is-cursor-active { /* cursor 별도 지정 없음 */ }


/* ======================================================
   B&A 하단 안내
   ====================================================== */
.ba-notice {
	width: 80%;
    list-style: none;
    padding: 0; 
	margin: var(--one-gap-xl) auto 0;
    display: flex; flex-direction: column; gap: 4px;
}

.ba-notice li {
    font-size: 12px;
    color: var(--gray-color02);
    padding-left: 1.2em;
    position: relative;
    line-height: var(--one-lh-lg);
}

.ba-notice li::before { content: '※'; position: absolute; left: 0; }


/* ======================================================
   소재 비교 — device-* 재사용 (general.css 의존)
   overflow-x: hidden → anim-scroll-right 대응
   ====================================================== */
.sec-aest-material { overflow-x: hidden; }


/* ======================================================
   라미네이트 소개 — treatment-intro-wrap 공통 재사용
   (별도 CSS 불필요)
   ====================================================== */
.sec-lami-intro .btn-primary {
    color: var(--white-color);
    margin-top: var(--one-gap-xl);
}
/* ======================================================
   라미네이트 대상 — treatment-target-wrap 공통 재사용
   (별도 CSS 불필요)
   ====================================================== */


/* ======================================================
   반응형 — 태블릿 (max-width: 1024px)
   ====================================================== */
@media all and (max-width: 1024px) {
    /* 없음 — 공통 클래스(treatment-*)가 처리 */
}


/* ======================================================
   반응형 — 모바일 (max-width: 639px)
   ====================================================== */
@media all and (max-width: 639px) {
    .aest-ba-prev,
    .aest-ba-next { width: 40px; height: 40px; }
}


/* ======================================================
   치아미백 — 종류 비교 (device-* 재사용)
   overflow-x: hidden → anim-scroll-right 대응
   ====================================================== */
.sec-whit-compare { overflow-x: hidden; }

/* 기존 whit-compare-* 카드 스타일 (더 이상 미사용) */


/* ======================================================
   치아미백 — 주의사항 (whit-caution)
   ====================================================== */
.whit-caution-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--one-gap-xl);
    margin-top: var(--one-space-s);
}

.whit-caution-col {
    background: #f9f9f9;
    border-radius: 20px;
    padding: var(--one-space-s);
}

.whit-caution-head { margin-bottom: var(--one-gap-xl); }

.whit-caution-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--one-gap-sm);
    font-size: var(--one-p-tit);
    font-weight: 700;
}

.whit-caution-badge--before { color: #E65100; }
.whit-caution-badge--after  { color: var(--main-color); }

.whit-caution-list {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--one-gap-lg);
}

.whit-caution-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--one-gap-r);
    font-size: var(--one-body);
    color: var(--one-txt-color);
    line-height: var(--one-lh-lg);
}

.whit-caution-list li::before {
    content: '✓';
    flex-shrink: 0;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--main-color);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.whit-caution-col:first-child .whit-caution-list li::before {
    background: #E65100;
}


/* ======================================================
   치아미백 반응형
   ====================================================== */
@media all and (max-width: 1024px) {
    .whit-caution-wrap { grid-template-columns: 1fr; }
}

@media all and (max-width: 639px) {
    .whit-caution-col { padding: var(--one-gap-lg); }
}