/* Price Page Styles */
.container{
    padding:0;
    margin: 0 !important;
    word-break: keep-all;
}

p{
    word-break: keep-all;
}

/* Price 페이지 전용 컨테이너 */
.price-container {
    max-width: 1420px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .price-container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .price-container {
        padding: 0 15px;
    }
}

/* 히어로 헤더 섹션 */
.price-hero {
    position: relative;
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.price-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.price-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.price-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
    color: white;
}

.price-hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
    color: #FFC97E;
}

/* 시세 조회 메인 섹션 */
.price-main-section {
    padding: 60px 0;
    background: #fff;
}

/* 시세 종류 탭 */
.price-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
}

.price-tab {
    padding: 12px 30px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 120px;
    background: white;
    color: #333;
}

.price-tab.active {
    background: #522F14;
    color: white;
    border-color: #522F14;
}

.price-tab:hover:not(.active) {
    background: #f8f8f8;
    border-color: #522F14;
}

/* 차트 섹션 */
.charts-section {
    width: 100%;
    margin-bottom: 60px;
}

.charts-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0px 20px;
}

.charts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
    position: relative;
}

.chart-card {
    background: transparent;
    padding: 0;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 20px;
    gap: 10px;
}

.chart-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 0;
}

.chart-period-tabs {
    display: flex;
    gap: 5px;
}

.period-tab {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 40px;
}

.period-tab.active {
    background: #522F14;
    color: white;
}

.period-tab:not(.active) {
    background: #f5f5f5;
    color: #522F14;
    border: 1px solid #e0e0e0;
}

.chart-canvas {
    width: 100%;
    height: 300px;
}

/* 가격 테이블 섹션 */
.buy-price-section,
.sell-price-section {
    margin-bottom: 50px;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 30px;
}

.price-table-container {
    overflow-x: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background: white;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.price-table th {
    background: #f8f9fa;
    padding: 15px;
    text-align: center;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #e9ecef;
    font-size: 14px;
}

/* .price-table th.price-header {
    background: #8B4513;
    color: white;
} */

.price-table th.gold-18k {
    background: #DAA520;
    color: white;
}

.price-table th.gold-14k {
    background: #B8860B;
    color: white;
}


.price-table td {
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
    font-size: 14px;
}

.price-table tr:hover {
    background: #f8f9fa;
}

.price-table-cell {
    font-weight: 600;
    color: #333;
    display: table-cell !important;
}

.change-cell {
    font-weight: 600;
}

.change-cell.up {
    color: #dc3545;
}

.change-cell.down {
    color: #007bff;
}

/* 하단 안내문구 */
.price-disclaimer {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #666;
    font-size: 14px;
    margin-top: 40px;
}

/* 태블릿 반응형 (1024px 이하) */
@media (max-width: 1024px) {
    .price-container {
        padding: 0 30px;
    }

    /* 헤더 섹션 - about.css 참고 */
    .price-hero {
        height: 350px;
    }

    .price-hero-title {
        font-size: 3rem;
        letter-spacing: 1px;
    }

    .price-hero-subtitle {
        font-size: 1.2rem;
    }

    /* 시세 조회 메인 섹션 */
    .price-main-section {
        padding: 50px 0;
    }

    /* 탭 메뉴 */
    .price-tabs {
        gap: 8px;
        margin-bottom: 40px;
    }

    .price-tab {
        padding: 10px 25px;
        font-size: 15px;
        min-width: 110px;
    }

    /* 차트 영역 - gold-exchange-content.css 참고 */
    .charts-grid {
        gap: 40px;
        margin-bottom: 30px;
    }

    .chart-title {
        font-size: 15px;
    }

    .chart-period-tabs {
        gap: 4px;
    }

    .period-tab {
        padding: 5px 10px;
        font-size: 11px;
    }

    /* 가격표 섹션 */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }

    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .price-table th,
    .price-table td {
        padding: 12px 10px;
        font-size: 13px;
    }
}

/* 모바일 반응형 (768px 이하) */
@media (max-width: 768px) {
    .price-container {
        padding: 0 20px;
    }

    /* 헤더 섹션 - about.css 참고 */
    .price-hero {
        height: 300px;
    }

    .price-hero-title {
        font-size: 2.5rem;
        margin-bottom: 15px;
        letter-spacing: 1px;
    }

    .price-hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.5;
    }

    /* 시세 조회 메인 섹션 */
    .price-main-section {
        padding: 40px 0;
    }

    /* 탭 메뉴 */
    .price-tabs {
        gap: 10px;
        margin-bottom: 30px;
    }

    .price-tab {
        width: 200px;
        text-align: center;
        padding: 12px 20px;
        font-size: 14px;
    }

    /* 차트 영역 - gold-exchange-content.css 참고 */
    .charts-container {
        padding: 0 10px;
    }

    .charts-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 25px;
    }

    .chart-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 15px;
    }

    .chart-title {
        font-size: 14px;
        font-weight: 700;
    }

    .chart-period-tabs {
        white-space: nowrap;
        gap: 3px;
    }

    .period-tab {
        padding: 6px 10px;
        font-size: 11px;
        min-width: 35px;
    }

    .chart-canvas {
        height: 280px;
    }

    /* 가격표 섹션 */
    .buy-price-section,
    .sell-price-section {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }

    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .price-table th,
    .price-table td {
        padding: 10px 6px;
        font-size: 12px;
    }

    .price-table th {
        font-size: 13px;
        font-weight: 700;
    }

    /* 안내문구 */
    .price-disclaimer {
        padding: 20px;
        font-size: 13px;
        margin-top: 30px;
    }
}

/* 소형 모바일 반응형 (480px 이하) */
@media (max-width: 480px) {
    .price-container {
        padding: 0 15px;
    }

    /* 헤더 섹션 - about.css 참고 */
    .price-hero {
        height: 250px;
    }

    .price-hero-title {
        font-size: 2rem;
        margin-bottom: 12px;
        letter-spacing: 0.5px;
    }

    .price-hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
    }

    /* 시세 조회 메인 섹션 */
    .price-main-section {
        padding: 30px 0;
    }

    /* 탭 메뉴 */
    .price-tab {
        width: 180px;
        padding: 10px 15px;
        font-size: 13px;
        min-width: auto;
    }

    /* 차트 영역 */
    .charts-container {
        padding: 0 5px;
    }

    .charts-grid {
        gap: 20px;
        margin-bottom: 20px;
    }

    .chart-header {
        gap: 10px;
        margin-bottom: 12px;
    }

    .chart-title {
        font-size: 13px;
    }

    .period-tab {
        padding: 5px 8px;
        font-size: 10px;
        min-width: 30px;
    }

    .chart-canvas {
        height: 220px;
    }

    /* 가격표 섹션 */
    .buy-price-section,
    .sell-price-section {
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 1.3rem;
        margin-bottom: 6px;
        line-height: 1.3;
    }

    .section-subtitle {
        font-size: 0.85rem;
        margin-bottom: 15px;
        line-height: 1.4;
    }

    .price-table-container {
        border-radius: 6px;
    }

    .price-table th,
    .price-table td {
        padding: 8px 4px;
        font-size: 11px;
        line-height: 1.3;
    }

    .price-table th {
        font-size: 11px;
        padding: 10px 4px;
    }

    .price-table-cell {
        font-weight: 600;
        font-size: 11px;
    }

    .change-cell {
        font-size: 10px;
    }

    /* 안내문구 */
    .price-disclaimer {
        padding: 15px;
        font-size: 12px;
        margin-top: 25px;
        border-radius: 6px;
        line-height: 1.4;
    }
}