/* ===============================================================
   고운빛의원 메인 시술안내 v1.5
   - 기존 메인·서브 전역 스타일은 수정하지 않음
   - 시술 안내 영역에만 적용되는 선택자를 사용하여 충돌을 방지
   - PC 3열 / 태블릿 2열 / 모바일 1열
   =============================================================== */
.goun-treatment-section {
    box-sizing: border-box;
    padding: 92px 20px 100px;
    background: #fbf8f9;
}
.goun-treatment-section *,
.goun-treatment-section *::before,
.goun-treatment-section *::after { box-sizing: border-box; }
.goun-treatment-section .goun-section-title {
    padding-bottom: 42px;
}
.goun-treatment-section .goun-treatment-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
}
.goun-treatment-section .con ul.goun-treatment-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.goun-treatment-section .goun-treatment-card {
    position: relative;
    width: 100%;
    min-width: 0;
    height: auto;
    aspect-ratio: auto;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #ede5e7;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 7px 25px rgba(73, 45, 55, .055);
    opacity: 1;
    animation: none;
    transition: transform .3s ease, box-shadow .3s ease;
}
.goun-treatment-section .goun-treatment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 35px rgba(73, 45, 55, .11);
}
.goun-treatment-section .con li.goun-treatment-card a.goun-treatment-card__link {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 0;
    color: inherit;
    text-align: left;
    text-decoration: none;
}
/* 기존 4개 배너의 녹색/분홍색 오버레이가 남지 않도록 무효화 */
.goun-treatment-section .con li.goun-treatment-card a.goun-treatment-card__link::before,
.goun-treatment-section .con li.goun-treatment-card a.goun-treatment-card__link::after {
    content: none;
    display: none;
}
.goun-treatment-section .goun-treatment-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 238px;
    padding: 0;
    overflow: hidden;
    background: #f5f1f2;
}
.goun-treatment-section .goun-treatment-card--product .goun-treatment-card__media {
    padding: 15px;
    background: #ffffff;
}
.goun-treatment-section .goun-treatment-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
    transition: transform .45s ease;
}
.goun-treatment-section .goun-treatment-card--product img {
    object-fit: contain;
}
.goun-treatment-section .goun-treatment-card--photo:nth-child(1) img {
    object-position: center 45%;
}
.goun-treatment-section .goun-treatment-card--photo:nth-child(5) img {
    object-position: center 30%;
}
.goun-treatment-section .goun-treatment-card:hover img {
    transform: scale(1.025);
}
.goun-treatment-section .goun-treatment-card__body {
    position: relative;
    min-height: 172px;
    padding: 21px 23px 22px;
    background: #ffffff;
}
.goun-treatment-section .goun-treatment-card__number {
    display: block;
    margin-bottom: 8px;
    color: #b48c98;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .09em;
}
.goun-treatment-section .goun-treatment-card__body h3 {
    margin: 0 0 8px;
    padding: 0;
    color: #342c30;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.035em;
}
.goun-treatment-section .goun-treatment-card__body p {
    margin: 0 0 18px;
    color: #756d70;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.65;
    overflow-wrap: break-word;
    word-break: keep-all;
}
.goun-treatment-section .goun-treatment-card__more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #a36c80;
    font-size: 13px;
    font-weight: 700;
}
.goun-treatment-section .goun-treatment-card__more span {
    font-size: 17px;
    line-height: 1;
}
.goun-treatment-section .goun-treatment-card__link:focus-visible {
    outline: 3px solid #b87e93;
    outline-offset: -4px;
}
@media (max-width: 1023px) {
    .goun-treatment-section { padding: 72px 20px 78px; }
    .goun-treatment-section .con ul.goun-treatment-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
    .goun-treatment-section .goun-treatment-card__media { height: 225px; }
}
@media (max-width: 767px) {
    .goun-treatment-section { padding: 58px 16px 66px; }
    .goun-treatment-section .goun-section-title { padding-bottom: 26px; }
    .goun-treatment-section .con ul.goun-treatment-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        max-width: 520px;
        margin: 0 auto;
    }
    .goun-treatment-section .goun-treatment-card__media { height: 220px; }
    .goun-treatment-section .goun-treatment-card__body {
        min-height: 0;
        padding: 18px 20px 20px;
    }
    .goun-treatment-section .goun-treatment-card__body h3 { font-size: 23px; }
    .goun-treatment-section .goun-treatment-card__body p { margin-bottom: 12px; }
}
@media (max-width: 420px) {
    .goun-treatment-section { padding-right: 12px; padding-left: 12px; }
    .goun-treatment-section .goun-treatment-card__media { height: 194px; }
    .goun-treatment-section .goun-treatment-card__body { padding: 16px 18px 18px; }
    .goun-treatment-section .goun-treatment-card__body h3 { font-size: 22px; }
    .goun-treatment-section .goun-treatment-card__body p { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    .goun-treatment-section .goun-treatment-card,
    .goun-treatment-section .goun-treatment-card__media img { transition: none; }
}

/* ===============================================================
   v2.6.9: 메인 TREATMENT 리프팅 카드의 세르프 장비 전용 보정
   - 세로형 장비의 전체 외형을 보존하며 카드 공간을 최대한 사용
   - 나머지 다섯 카드의 이미지 및 호버 효과는 변경하지 않음
   - PC, 태블릿, 모바일에서 동일한 표시 원칙 적용
   =============================================================== */
.goun-treatment-section .goun-treatment-card--xerf .goun-treatment-card__media {
    padding: 0;
    background-color: #ffffff;
}
.goun-treatment-section .goun-treatment-card--xerf .goun-treatment-card__media img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: center center;
}
