/* Gold Exchange Content Styles for AI Theme */
/* Based on docs/example/styles.css */

/* 기본 폰트 설정 */
body {
    font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 히어로 배너 섹션 */
.hero-banner {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

/* Picture 태그 스타일 */
.slide-picture-desktop,
.slide-picture-mobile {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* PC Picture 표시/숨김 제어 */
.slide-picture-desktop {
    display: block;
}

.slide-picture-mobile {
    display: none;
}

/* 모바일에서 Picture 표시/숨김 제어 */
@media (max-width: 768px) {
    .slide-picture-desktop {
        display: none;
    }

    .slide-picture-mobile {
        display: block;
    }
}

/* Picture 태그 미지원 브라우저 대응 (IE) */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .slide-image {
        width: 100%;
        height: auto;
        min-height: 100%;
    }
}

/* object-fit 미지원 브라우저 대응 */
@supports not (object-fit: cover) {
    .slide-image {
        width: 100%;
        height: auto;
        min-height: 100%;
    }
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide:not(:first-child) {
    background: linear-gradient(135deg, #f5f2e8 0%, #ede5d3 50%, #e8dcc6 100%);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
}

.hero-text {
    max-width: 600px;
    padding: 0 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 28px;
    font-weight: 500;
    color: #5a5a5a;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.hero-tagline {
    font-size: 24px;
    font-weight: 400;
    color: #6a6a6a;
    font-style: italic;
    margin-bottom: 15px;
    font-family: 'Times New Roman', serif;
}

.hero-description {
    font-size: 16px;
    color: #7a7a7a;
}

/* 슬라이드 링크 스타일 */
.slide-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/* 동적 콘텐츠 스타일 */
.hero-content-text {
    color: inherit;
}

.hero-content-text h2 {
    font-size: 28px;
    font-weight: 500;
    color: #5a5a5a;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.hero-content-text h3 {
    font-size: 24px;
    font-weight: 400;
    color: #6a6a6a;
    font-style: italic;
    margin-bottom: 15px;
    font-family: 'Times New Roman', serif;
}

.hero-content-text p {
    font-size: 16px;
    color: #7a7a7a;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* 슬라이드 인디케이터 버튼들 */
.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-indicator-btn {
    padding: 8px 16px;
    background: #ffffff;
    color: #522F14;
    border: 1px solid #ffffff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(82, 47, 20, 0.2);
    white-space: nowrap;
}

.hero-indicator-btn.active {
    background: #522F14;
    color: #ffffff;
    border: 1px solid #522F14;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(82, 47, 20, 0.4);
}

.hero-indicator-btn:hover {
    background: #522F14;
    color: #ffffff;
    border: 1px solid #522F14;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(82, 47, 20, 0.3);
}

/* 시세 정보 섹션 */
.price-section {
    padding: 0px 20px 10px;
    margin-top: -10px;
    width: 100%;
}

.price-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* 좌측 금 시세 박스 - 우측 테이블 위에 겹침 */
.price-info-box {
    width: 300px;
    height: 250px;
    background-image: url('../img/2-section-back.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.price-info-content {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    color: white;
    z-index: 2;
}

.price-main-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
    opacity: 0.9;
}

.price-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.price-date {
    font-size: 12px;
    font-weight: 600;
    opacity: 0.8;
}

/* 우측 시세 Grid */
.price-grid-container {
    background: rgba(236, 216, 172, 0.2);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-left: 150px;
    padding-left: 180px;
    padding-top: 40px;
    padding-right: 40px;
    min-height: 320px;
    white-space: nowrap;
}
/* 통합 Grid - 모바일 기본, 데스크톱에서 변환 */
.price-grid {
    display: grid;
    grid-template-columns: 0.6fr 1fr 1fr;
    border-radius: 8px;
    overflow: hidden;
}
/* Grid 헤더 스타일 (모바일 기본) */
.grid-header {
    padding: 15px 10px;
    text-align: center;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #522F14;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 금속 정보 스타일 (모바일 기본) */
.metal-info {
    padding: 15px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* 가격 셀 스타일 (모바일 기본) */
.price-cell {
    padding: 15px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: none;
}

.metal-name {
    font-size: 12px;
    font-weight: 600;
    color: #8C7E73;
    margin-bottom: 2px;
}

.metal-type {
    font-size: 12px;
    color: #AA9587;
    font-weight: 400;
    white-space: nowrap;
}

.price-table td {
    padding: 20px 15px;
    text-align: center;
    border: none;
}

.row-label {
    font-weight: 600;
    color: #8E8E8D;
    font-size: 15px;
    border: none;
}

/* 내가 살때 행 위에만 라인 */
.buy-row .row-label,
.buy-row td {
    border-bottom: 1px solid #333;
}

.price-cell {
    position: relative;
}

.price-value {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.price-change {
    font-size: 11px; /* 현재 상태 유지 */
    font-weight: 500;
}

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

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

/* 시세 조회 섹션 */
.market-inquiry-section {
    position: relative;
    overflow: hidden;
}

.market-inquiry-header {
    background-image: url('../img/3st-section-back.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 50px 0;
    text-align: center;
    position: relative;
}

.market-inquiry-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.market-inquiry-content {
    padding: 40px 30px;
    position: relative;
    z-index: 2;
}

.market-inquiry-title {
    font-size: 24px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.market-inquiry-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    line-height: 1.8;
}

.charts-container {
    width: 100%;
    margin: 0 auto;
    padding: 0px 20px;
}

.charts-section {
    width: 100%;
}

.metal-tabs {
    display: flex;
    justify-content: flex-end;
    gap: 5px;
    margin-bottom: 30px;
}

.metal-tab {
    padding: 8px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 60px;
}

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

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

.metal-tab:hover:not(.active) {
    background: #f5f5f5;
}

.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;
}

.chart-container {
    position: relative;
    height: 350px;
    width: 100%;
}

/* ===== 차트 컨트롤 섹션 ===== */
.chart-controls {
    margin-top: 20px;
    padding: 0 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 140, 66, 0.1);
    padding-bottom: 20px;
}

.zoom-reset-btn {
    background: #522F14;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(255, 140, 66, 0.3);
}



.zoom-reset-btn .material-icons {
    font-size: 18px;
}

.zoom-help {
    margin-top: 10px;
    font-size: 12px;
    color: #999;
    font-style: italic;
}

/* 모바일 차트 최적화 */
@media (max-width: 768px) {
    .chart-controls {
        padding: 15px 10px;
        margin-top: 15px;
    }

    .zoom-reset-btn {
        padding: 12px 24px;
        font-size: 15px;
        border-radius: 30px;
    }

    .zoom-reset-btn .material-icons {
        font-size: 20px;
    }

    .zoom-help {
        font-size: 11px;
        margin-top: 8px;
    }

    /* 모바일용 줌 도움말 변경 */
    .zoom-help::after {
        content: " (터치로 핀치 줌 가능)";
        font-weight: 600;
        color: #FF8C42;
    }

    .chart-container {
        height: 300px;
    }
}

.chart-info {
    text-align: center;
    padding: 30px;
    color: #666;
}

.last-update {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.disclaimer {
    font-size: 12px;
    line-height: 1.5;
}

/* Signature Line 섹션 */
.signature-section {
    background: white;
    overflow: hidden;
}

.signature-hero {
    display: flex;
    height: 406px;
    position: relative;
}

.signature-image-area {
    background-image: url('../img/signature_title_back.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    flex: 1;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
}

.signature-text-area {
    background: white;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    text-align: right;
    width: 30%;
    position: relative;
    z-index: 2;
}

.signature-title {
    font-size: 24px;
    font-weight: 300;
    color: #333;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.signature-description {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.signature-gallery {
    width: 100%;
}

.gallery-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item {
    width: 100%;
    aspect-ratio: 1;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* 갤러리 아이템은 position: relative 필요 */
.gallery-item {
    position: relative;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* 특별한 그리드 레이아웃 - 1,2,4,5는 일반 셀, 3번은 2행 */
.gallery-item:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.gallery-item:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.gallery-item:nth-child(3) {
    grid-column: 3;
    grid-row: 1 / 3;
    height: 100%;
    /* aspect-ratio: 1/2; */
}

.gallery-item:nth-child(4) {
    grid-column: 1;
    grid-row: 2;
}

.gallery-item:nth-child(5) {
    grid-column: 2;
    grid-row: 2;
}

/* What We Trade In 섹션 */
.trade-section {
    background: #f8f9fa;
    width: 100%;
}

.trade-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 20px;
}

.trade-header {
    text-align: left;
    margin-bottom: 60px;
}

.trade-title {
    font-size: 24px;
    font-weight: 300;
    color: #333;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.trade-subtitle {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
}

.trade-image {
    width: 100%;
    height: 450px;
    background-image: url('../img/trade-img.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    margin-bottom: 50px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.trade-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 100%;
    margin: 0 auto;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.category-button {
    background: #522F14;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 120px;
    justify-content: center;
}

.category-items {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* 절차안내 섹션 */
.consultation-section {
    background: #f8f9fa;
    width: 100%;
}

.consultation-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 80px 40px;
}

.consultation-title {
    font-size: 48px;
    font-weight: 700;
    color: #522F14;
    margin-bottom: 20px;
}

.consultation-description {
    font-size: 16px;
    color: #522F14;
    line-height: 1.6;
    margin-bottom: 40px;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: 100%;
    margin: 0 auto 50px;
}

.service-card {
    background: white;
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card.brown {
    background: #8B6F56;
    color: white;
}

.service-card.brown .service-title {
    color: white;
}

.service-card.brown .service-description {
    color: rgba(255, 255, 255, 0.9);
}

.service-icon {
    font-size: 48px !important;
    color: #ccc;
    margin-bottom: 30px;
}

.service-card.brown .service-icon {
    color: white;
}

.service-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.service-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.consultation-footer {
    text-align: center;
}

.consultation-info {
    font-size: 14px;
    color: #522F14;
    margin-bottom: 20px;
}

.consultation-btn {
    background: white;
    border: 2px solid #8B6F56;
    color: #8B6F56;
    padding: 12px 40px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.consultation-btn:hover {
    background: #8B6F56;
    color: white;
}

/* a 태그로 된 consultation-btn의 기본 스타일 통일 */
a.consultation-btn {
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

/* 반응형 스타일 */
/* 768px ~ 1100px: 시세 섹션 타이틀 영역 크기 조정 */
@media screen and (min-width: 768px) and (max-width: 1100px) {
    .price-info-box {
        width: calc(300px - (1100px - 100vw) * 0.3);
        height: calc(250px - (1100px - 100vw) * 0.25);
    }

    .price-grid-container {
        margin-left: calc(150px - (1100px - 100vw) * 0.2);
        padding-left: calc(180px - (1100px - 100vw) * 0.25);
        padding-right: calc(40px - (1100px - 100vw) * 0.06);
    }
}

/* 1100px 이상: 시세 섹션 원래 크기 유지 */
@media screen and (min-width: 1100px) {
    .price-grid-container {
        margin-left: 150px;
        padding-left: 180px;
        padding-right: 40px;
    }

    .price-info-box {
        width: 300px;
        height: 250px;
    }
}


/* 데스크톱에서 6열 레이아웃으로 변환 */
@media screen and (min-width: 768px) {
    .price-grid {
        grid-template-columns: 120px repeat(5, 1fr);
        gap: 0;
        border-radius: 0;
    }

    /* 헤더 재배치 */
    .grid-header.category {
        display: none; /* 시세항목 헤더 숨김 */
    }

    .grid-header.buy-header {
        grid-column: 1;
        grid-row: 2;
        border-bottom: 1px solid #333;
    }

    .grid-header.sell-header {
        grid-column: 1;
        grid-row: 3;
        border-bottom: 0;
    }

    /* 금속 정보를 첫 번째 행으로 */
    .metal-info[data-metal="gold24k"] { grid-column: 2; grid-row: 1; }
    .metal-info[data-metal="gold18k"] { grid-column: 3; grid-row: 1; }
    .metal-info[data-metal="gold14k"] { grid-column: 4; grid-row: 1; }
    .metal-info[data-metal="platinum"] { grid-column: 5; grid-row: 1; }
    .metal-info[data-metal="silver"] { grid-column: 6; grid-row: 1; }

    /* 살때 가격을 두 번째 행으로 */
    .price-cell.buy[data-metal="gold24k"] { grid-column: 2; grid-row: 2; }
    .price-cell.buy[data-metal="gold18k"] { grid-column: 3; grid-row: 2; }
    .price-cell.buy[data-metal="gold14k"] { grid-column: 4; grid-row: 2; }
    .price-cell.buy[data-metal="platinum"] { grid-column: 5; grid-row: 2; }
    .price-cell.buy[data-metal="silver"] { grid-column: 6; grid-row: 2; }

    /* 팔때 가격을 세 번째 행으로 */
    .price-cell.sell[data-metal="gold24k"] { grid-column: 2; grid-row: 3; }
    .price-cell.sell[data-metal="gold18k"] { grid-column: 3; grid-row: 3; }
    .price-cell.sell[data-metal="gold14k"] { grid-column: 4; grid-row: 3; }
    .price-cell.sell[data-metal="platinum"] { grid-column: 5; grid-row: 3; }
    .price-cell.sell[data-metal="silver"] { grid-column: 6; grid-row: 3; }

    /* 데스크톱에서 헤더를 행 라벨처럼 스타일링 */
    .grid-header.buy-header,
    .grid-header.sell-header {
        padding: 20px 15px;
        text-align: center;
        font-weight: 600;
        color: #8E8E8D;
        font-size: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* 데스크톱에서 금속 정보를 헤더처럼 스타일링 */
    .metal-info {
        text-align: center;
        padding: 12px 15px;
    }

    /* 데스크톱에서 텍스트 크기 조정 */
    .metal-type {
        font-size: 13px;
        color: #AA9587;
    }

    .price-change {
        font-size: 14px;
    }

    /* 데스크톱에서 가격 셀 스타일 */
    .price-cell {
        padding: 20px 15px;
    }

    /* 데스크톱에서 "내가 살때" 행에 보더 */
    .grid-header.buy-header {
        border-bottom: 1px solid #333;
    }

    .price-cell.buy {
        border-bottom: 1px solid #333;
    }

    /* 통합된 768px 이상 스타일들 */
    .grid-header {
        font-size: 16px;
    }
    .price-grid .metal-name {
        font-size: 18px;
    }
    .metal-type {
        font-size: 14px;
    }
    .price-value {
        font-size: 18px;
    }
    .market-inquiry-header {
        padding: 60px 0;
    }
    .market-inquiry-title {
        font-size: 48px;
    }
    .market-inquiry-subtitle {
        font-size: 16px;
    }
    /* 통합된 컨테이너 패딩 */
    .charts-container,
    .gallery-container,
    .trade-container {
        padding: 40px 25px;
    }

    .signature-text-area {
        padding: 45px 35px;
    }

    /* 통합된 타이틀 스타일 */
    .signature-title,
    .trade-title {
        font-size: 48px;
    }

    .signature-title {
        color: #333;
    }

    .signature-description,
    .consultation-description,
    .trade-subtitle {
        font-size: 16px;
    }

    .signature-description {
        color: #666;
    }
}
@media screen and (max-width: 768px) {
    /* 히어로 배너 모바일 */
    .hero-banner {
        height: 500px;
    }

    .hero-title {
        font-size: 32px;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .hero-tagline {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .hero-description {
        font-size: 14px;
        margin-bottom: 25px;
    }

    /* 히어로 인디케이터 모바일 버전 - 텍스트 없는 원형 버튼 */
    .hero-banner .hero-indicators {
        gap: 12px;
    }

    .hero-banner .hero-indicators .hero-indicator-btn {
        width: 12px;
        height: 12px;
        padding: 0;
        border-radius: 50%;
        font-size: 0;
        background: rgba(255, 255, 255, 0.5);
        border: 2px solid rgba(255, 255, 255, 0.8);
        transition: all 0.3s ease;
        min-width: 12px;
        white-space: nowrap;
        overflow: hidden;
        text-indent: -9999px;
    }

    .hero-banner .hero-indicators .hero-indicator-btn.active {
        background: #522F14;
        border: 2px solid #522F14;
        transform: scale(1.2);
    }

    .hero-banner .hero-indicators .hero-indicator-btn:hover {
        background: #522F14;
        border: 2px solid #522F14;
        transform: scale(1.1);
    }

    /* 시세 섹션 모바일 */
    .price-section {
        padding: 40px 20px;
        position: relative;
    }

    /* 모바일에서 타이틀 박스가 테이블 상단에 반 걸쳐지도록 */
    .price-container {
        position: relative;
    }

    .price-info-box {
        position: absolute;
        width: calc(100% - 40px);
        height: 120px;
        left: 20px;
        top: -60px;
        z-index: 10;
        transform: none;
        margin-bottom: 0;
    }

    .price-grid-container {
        margin-top: 75px;
        padding-top: 75px;
        margin-left: 0;
        padding-left: 20px;
        padding-right: 20px;
        position: relative;
        z-index: 1;
        overflow: visible;
        background: rgba(236, 216, 172, 0.2);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 15px 15px;
    }

    /* 모바일에서는 기본 스타일 그대로 사용 */

    .price-title {
        font-size: 20px;
    }

    .price-main-title {
        font-size: 14px;
    }

    .price-date {
        font-size: 10px;
    }

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

    .row-label {
        font-size: 12px;
    }


    .charts-section {
        padding: 10px 20px;
    }

    .charts-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .metal-tabs {
        position: static;
        justify-content: center;
        margin-bottom: 20px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .metal-tab {
        padding: 10px 20px;
        font-size: 14px;
    }

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

    .period-tab {
        padding: 6px 12px;
        font-size: 12px;
    }

    .signature-hero {
        position: relative;
        height: 240px;
    }

    .signature-image-area {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        clip-path: none;
        padding: 0;
    }

    .signature-text-area {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 30px 20px;
        z-index: 2;
    }

    .signature-title {
        font-size: 32px;
        color: #fff;
        margin-bottom: 15px;
    }

    .signature-description {
        color: rgba(255, 255, 255, 0.9);
        line-height: 1.5;
        font-size: 14px;
    }

    .market-inquiry-title {
        font-size: 32px;
    }

    .market-inquiry-subtitle {
        font-size: 14px;
    }

    .signature-gallery {
        padding: 0px 20px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .gallery-item {
        aspect-ratio: 1;
    }

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5) {
        grid-column: auto;
        grid-row: auto;
    }

    .gallery-item:nth-child(3) {
        grid-row: 2;
        grid-column: 1 / -1;
        order: 5;
    }

    .trade-section {
        padding: 20px 0;
    }

    .trade-title {
        font-size: 32px;
        margin-bottom: 10px;
    }

    .trade-subtitle {
        font-size: 14px;
        margin-bottom: 0px;
    }

    .trade-image {
        height: 250px;
        margin-bottom: 40px;
    }

    .trade-categories {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .category-button {
        font-size: 12px;
    }

    .category-items {
        font-size: 12px;
    }

    .consultation-section {
        padding: 60px 20px;
    }

    .consultation-title {
        font-size: 32px;
    }

    .service-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .service-card {
        padding: 30px 20px;
        height: 250px;
    }
    .trade-header{
        margin-bottom: 30px;
    }
    .consultation-description {
        margin-bottom: 30px;
    }

    /* service-cards 반응형 텍스트 크기 - 태블릿 */
    .service-title {
        font-size: 20px;
    }

    .service-description {
        font-size: 12px;
    }
}

@media screen and (max-width: 500px) {
    .price-section {
        padding-left: 10px;
        padding-right: 10px;
    }
    .price-grid-container{
        padding-left: 10px;
        padding-right: 10px;
    }
    .chart-header{
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .metal-tabs{
        margin-bottom: 40px;
    }
    /* 통합된 컨테이너 패딩 */
    .charts-container,
    .consultation-container,
    .gallery-container {
        padding: 20px 0;
    }
    .trade-container{
        padding: 20px;
    }
    .consultation-title {
        font-size: 24px;
    }

    /* service-cards 반응형 텍스트 크기 - 500px 이하 */
    .service-title {
        font-size: 16px;
    }

    .service-description {
        font-size: 12px;
    }
}

@media screen and (max-width: 480px) {
    .service-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .service-card{
        height: 200px;
    }
    /* 히어로 인디케이터 초소형 화면 */
    .hero-banner .hero-indicators .hero-indicator-btn {
        width: 10px;
        height: 10px;
        min-width: 10px;
    }
}

@media screen and (max-width: 300px) {
    /* 시세표 텍스트 크기 축소 */
    .grid-header {
        font-size: 10px;
    }

    .metal-name {
        font-size: 10px;
    }

    .metal-type {
        font-size: 10px;
    }

    .price-value {
        font-size: 12px;
    }
}

/* 태블릿 크기에서는 텍스트를 줄임 */
@media screen and (max-width: 1024px) and (min-width: 768px) {
    .hero-indicator-btn {
        padding: 6px 12px;
        font-size: 11px;
    }
}


/* 480px 이상 */
@media screen and (min-width: 480px) {
    /* 통합된 컨테이너 패딩 */
    .charts-container,
    .trade-container,
    .consultation-container,
    .gallery-container {
        padding: 20px 25px;
    }
}

/* 1024px 이상: 데스크톱 스타일 */
@media screen and (min-width: 1024px) {
    .market-inquiry-header {
        padding: 70px 0;
    }

    /* 통합된 타이틀 스타일 */
    .market-inquiry-title,
    .trade-title {
        font-size: 48px;
    }

    .market-inquiry-subtitle,
    .trade-subtitle {
        font-size: 16px;
    }

    /* 통합된 컨테이너 패딩 */
    .charts-container,
    .trade-container,
    .consultation-container,
    .gallery-container {
        padding: 50px 30px;
    }

    .last-update {
        font-size: 15px;
    }
    .disclaimer {
        font-size: 13px;
    }
    .signature-text-area {
        padding: 50px 40px;
    }
}

/* 1200px 이상: 대형 데스크톱 */
@media screen and (min-width: 1200px) {
    .market-inquiry-header {
        padding: 80px 0;
    }

    /* 통합된 타이틀 스타일 (이미 48px) */
    .market-inquiry-title,
    .trade-title {
        font-size: 48px;
    }

    /* 통합된 컨테이너 패딩 */
    .charts-container,
    .trade-container,
    .consultation-container,
    .gallery-container {
        padding: 60px 40px;
    }

    .last-update {
        font-size: 16px;
    }
    .disclaimer {
        font-size: 14px;
    }
    .signature-text-area {
        padding: 60px 50px;
    }
}