/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Template: Avada
Version: 1.0.0
Text Domain: Avada
*/

/* ============================================================
   0. 전역 레이아웃 안정화 (Avada 구조 보호)
   ============================================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body,
#wrapper,
#main,
.page,
.page-content {
    box-sizing: border-box;
}

/* ============================================================
   1. 전역 상단 여백 정리 (헤더 유지)
   ============================================================ */

#main {
    padding-top: 0 !important;
}

.fusion-header-wrapper + #main {
    margin-top: 0 !important;
}

/* Avada 페이지 타이틀 바 – 숨기지 않고 여백만 제거 */
.fusion-page-title-bar {
    margin: 0 !important;
    padding: 0 !important;
    border: none;
}

/* ============================================================
   2. 전역 기본 타이포
   ============================================================ */

body {
    font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont,
                 "Segoe UI", Roboto, "Apple SD Gothic Neo",
                 "Malgun Gothic", Arial, sans-serif;
    color: #222;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    text-decoration: none;
}

/* ============================================================
   3. 공통 버튼
   ============================================================ */

button,
input[type="submit"],
.button {
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

/* ============================================================
   4. LifeCoach 공통 페이지 타이틀 (HTML 구조 기준)
   ============================================================ */

.lifecoach-page-title {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #eee;
}

.lifecoach-page-title-inner {
    max-width: 1500px;
    margin: 0 auto;
    padding: 56px 24px 44px;
}

.lifecoach-page-title h1 {
    font-size: 34px;
    font-weight: 800;
    color: #111;
    margin: 0;
}

/* 모바일 */
@media (max-width: 768px) {
    .lifecoach-page-title-inner {
        padding: 36px 16px 28px;
    }

    .lifecoach-page-title h1 {
        font-size: 26px;
    }
}

/* ============================================================
   5. LifeCoach 콘텐츠 영역 (1500px)
   ============================================================ */

.lifecoach-page-content {
    max-width: 1500px;
    margin: 0 auto;
    padding: 60px 24px;
}

/* 모바일 */
@media (max-width: 768px) {
    .lifecoach-page-content {
        padding: 40px 16px;
    }
}

/* ============================================================
   6. Checkout 코치 요약 박스
   ============================================================ */

.lifecoach-summary-wrapper {
    max-width: 1500px;
    margin: 0 auto 40px;
    padding: 0 24px;
}

.lifecoach-summary-heading {
    font-size: 20px;
    font-weight: 700;
    color: #A61C2A;
    margin-bottom: 16px;
}

.lifecoach-summary-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

.lifecoach-summary-inner {
    display: flex;
    gap: 24px;
    align-items: center;
}

.lifecoach-summary-photo img {
    width: 160px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #ddd;
}

.lifecoach-summary-name {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 6px;
}

.lifecoach-summary-grade {
    font-size: 16px;
    font-weight: 700;
    color: #b21c1c;
    margin-bottom: 10px;
}

.lifecoach-summary-fee {
    font-size: 17px;
    font-weight: 700;
}

/* 모바일 */
@media (max-width: 768px) {
    .lifecoach-summary-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================================
   7. Checkout 타이틀 & 메모 간격
   ============================================================ */

.woocommerce-checkout .woocommerce-billing-fields > h3,
.woocommerce-checkout .lifecoach-summary-heading {
    font-size: 20px;
    font-weight: 700;
    color: #A61C2A;
    margin: 0 0 16px 0;
}

.woocommerce-checkout .memo-help {
    font-size: 13px;
    color: #777;
    margin: 2px 0 6px 0;
    line-height: 1.3;
}