/* ========================================
   골드스톤 금거래소 - 메인 스타일시트
   Gold & Silver Premium Design
   ======================================== */

/* ===== CSS VARIABLES ===== */
:root {
    --gold-primary: #C8A44D;
    --gold-dark: #9A7A2E;
    --gold-light: #E6D3A3;
    --gold-shine: #F5E6B3;
    --gold-gradient: linear-gradient(135deg, #C8A44D 0%, #E6D3A3 50%, #C8A44D 100%);
    --gold-gradient-dark: linear-gradient(135deg, #6B5420 0%, #C8A44D 50%, #9A7A2E 100%);
    
    --silver-primary: #B8C0CC;
    --silver-dark: #8A909A;
    --silver-light: #E8EBF0;
    --silver-gradient: linear-gradient(135deg, #9BA3AF 0%, #D4D8DF 50%, #9BA3AF 100%);
    
    --charcoal: #2C2C2E;
    --charcoal-light: #3A3D42;
    --dark-bg: #1A1A1C;
    --ivory: #F8F7F3;
    --white: #FFFFFF;
    
    --text-primary: #1F1F1F;
    --text-secondary: #5A5A5A;
    --text-light: #8A8A8A;
    
    --price-up: #C62828;
    --price-down: #1565C0;
    --price-same: #5A5A5A;
    
    --border-gold: rgba(200, 164, 77, 0.3);
    --border-silver: rgba(184, 192, 204, 0.3);
    --shadow-gold: 0 4px 20px rgba(200, 164, 77, 0.2);
    --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.15);
    
    --font-serif: 'Pretendard', 'Apple SD Gothic Neo', sans-serif;
    --font-sans: 'Pretendard', 'Apple SD Gothic Neo', sans-serif;
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    --transition: all 0.3s ease;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background-color: var(--ivory);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--charcoal);
    padding: 8px 0;
    font-size: 13px;
    color: var(--silver-light);
    border-bottom: 1px solid rgba(200, 164, 77, 0.3);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 20px;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-left i {
    color: var(--gold-primary);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-bar-right a {
    color: var(--silver-light);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 2px 10px;
    border-radius: 4px;
    border: 1px solid rgba(200, 164, 77, 0.3);
    transition: var(--transition);
}

.top-bar-right a:hover {
    background: rgba(200, 164, 77, 0.15);
    border-color: var(--gold-primary);
    color: var(--gold-light);
}

/* ===== HEADER ===== */
.main-header {
    background: var(--white);
    border-bottom: 2px solid var(--gold-primary);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(200, 164, 77, 0.15);
}

.main-header .container {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 14px 24px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--charcoal);
    box-shadow: 0 2px 10px rgba(200, 164, 77, 0.4);
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--charcoal);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.logo-sub {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: var(--gold-primary);
    font-weight: 500;
}

.main-nav {
    display: flex;
    gap: 4px;
    margin-left: auto;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-item i {
    font-size: 14px;
}

.nav-item:hover,
.nav-item.active {
    color: var(--gold-dark);
    background: rgba(200, 164, 77, 0.1);
}

.nav-item.active {
    font-weight: 700;
    border-bottom: 2px solid var(--gold-primary);
    border-radius: 0;
}

/* ===== GNB 드롭다운 (상품 메뉴) ===== */
.nav-dropdown {
    position: relative;
    cursor: pointer;
    user-select: none;
}

/* 화살표 아이콘 */
.gnb-arrow {
    font-size: 10px !important;
    margin-left: 2px;
    transition: transform 0.25s ease;
}
.nav-dropdown:hover .gnb-arrow,
.nav-dropdown.open .gnb-arrow {
    transform: rotate(180deg);
}

/* 드롭다운 패널 */
.gnb-dropdown-panel {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    background: #fff;
    border: 1px solid var(--border-gold);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15), 0 0 0 1px rgba(200,164,77,0.1);
    z-index: 500;
    overflow: hidden;
    animation: dropIn 0.2s cubic-bezier(.22,1,.36,1);
}

@keyframes dropIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-8px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* 패널 상단 장식선 */
.gnb-dropdown-panel::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-light), var(--gold-primary));
}

/* 화살표 말풍선 꼭지 */
.gnb-dropdown-panel::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    border: 7px solid transparent;
    border-bottom-color: var(--gold-primary);
}

.nav-dropdown:hover .gnb-dropdown-panel,
.nav-dropdown.open .gnb-dropdown-panel {
    display: block;
}

.gnb-dropdown-inner {
    padding: 8px;
}

.gnb-dropdown-item {
    display: flex !important;
    align-items: center;
    gap: 14px;
    padding: 14px 16px !important;
    border-radius: 10px !important;
    color: var(--charcoal) !important;
    font-weight: 500 !important;
    transition: all 0.2s !important;
    text-decoration: none;
    margin-bottom: 2px;
}

.gnb-dropdown-item:last-child { margin-bottom: 0; }

.gnb-dropdown-item:hover {
    background: linear-gradient(135deg, rgba(200,164,77,0.08), rgba(200,164,77,0.04)) !important;
    color: var(--gold-dark) !important;
    transform: translateX(4px);
}

.gnb-dropdown-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-shine));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--gold-dark);
    flex-shrink: 0;
    transition: all 0.2s;
}

.gnb-dropdown-item:hover .gnb-dropdown-icon {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: #fff;
}

.gnb-dropdown-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 2px;
}

.gnb-dropdown-item:hover .gnb-dropdown-label {
    color: var(--gold-dark);
}

.gnb-dropdown-desc {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 400;
}

/* 모바일 - 상품 소제목 */
.mobile-menu-sub-title {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--gold-primary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-top: 1px solid rgba(200,164,77,0.15);
    margin-top: 4px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}


.header-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}

.header-icon i {
    font-size: 20px;
}

.header-icon:hover {
    color: var(--gold-dark);
    background: rgba(200, 164, 77, 0.1);
}

.cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--price-up);
    color: white;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border-gold);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 18px;
    color: var(--gold-dark);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: var(--charcoal);
    z-index: 200;
    padding: 60px 0 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    color: var(--silver-light);
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

.mobile-menu a:hover {
    background: rgba(200, 164, 77, 0.15);
    color: var(--gold-light);
}

.mobile-menu a i {
    color: var(--gold-primary);
    width: 20px;
}

.mobile-menu-divider {
    height: 1px;
    background: rgba(200, 164, 77, 0.3);
    margin: 8px 0;
}

/* ===== HERO BANNER ===== */
.hero-banner {
    position: relative;
    height: 650px;
    overflow: hidden;
    background: #0d0d0f;
}

.hero-slider {
    position: relative;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease;
    overflow: hidden;
}

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

.hero-slide-inner {
    max-width: 1280px;
    width: 100%;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    gap: 40px;
}

/* Backgrounds */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-1 {
    background:
        radial-gradient(ellipse at 75% 40%, rgba(200,164,77,0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 20% 80%, rgba(200,164,77,0.06) 0%, transparent 50%),
        linear-gradient(160deg, #0d0d0f 0%, #1a1814 35%, #15130f 70%, #0d0d0f 100%);
}

.hero-bg-2 {
    background:
        radial-gradient(ellipse at 70% 50%, rgba(200,164,77,0.15) 0%, transparent 55%),
        radial-gradient(ellipse at 25% 70%, rgba(180,140,60,0.06) 0%, transparent 50%),
        linear-gradient(160deg, #0d0d0f 0%, #1c1812 35%, #13110d 70%, #0d0d0f 100%);
}

.hero-bg-3 {
    background:
        radial-gradient(ellipse at 65% 45%, rgba(184,192,204,0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 30% 75%, rgba(200,164,77,0.06) 0%, transparent 50%),
        linear-gradient(160deg, #0d0d0f 0%, #141618 35%, #0f1012 70%, #0d0d0f 100%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 85%, rgba(200,164,77,0.04) 0%, transparent 35%),
        radial-gradient(circle at 85% 15%, rgba(200,164,77,0.04) 0%, transparent 35%);
}

/* === Text Area (left) === */
.hero-text-area {
    flex: 1;
    max-width: 560px;
    position: relative;
    z-index: 2;
}

.hero-sub-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-primary);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 18px;
    padding: 6px 16px;
    background: rgba(200,164,77,0.1);
    border: 1px solid rgba(200,164,77,0.25);
    border-radius: 4px;
}

.hero-sub-label i {
    font-size: 12px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 18px;
    letter-spacing: -1.5px;
}

.gold-text {
    background: linear-gradient(135deg, #e8c547, #c8a44d, #f0d878, #c8a44d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 17px;
    color: rgba(255,255,255,0.6);
    line-height: 1.75;
    margin-bottom: 28px;
}

/* Hero Price Box */
.hero-price-box {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(200,164,77,0.2);
    border-radius: 12px;
    padding: 18px 28px;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.hero-price-item {
    flex: 1;
    text-align: center;
}

.hero-price-label {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.hero-price-value {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    font-family: var(--font-serif);
    letter-spacing: -0.5px;
}

.hero-price-value.gold {
    color: var(--gold-light);
}

.hero-price-unit {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin-top: 2px;
}

.hero-price-divider {
    width: 1px;
    height: 60px;
    background: rgba(200,164,77,0.25);
    margin: 0 24px;
}

/* Hero Trust Badges */
.hero-trust-badges {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(200,164,77,0.08);
    border: 1px solid rgba(200,164,77,0.18);
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

.hero-trust-item i {
    color: var(--gold-primary);
    font-size: 12px;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #d4a853, #c8a44d, #b8942d);
    color: #1a1a1c;
    padding: 15px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(200,164,77,0.35);
    border: none;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(200,164,77,0.5);
    background: linear-gradient(135deg, #e8c547, #d4a853, #c8a44d);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #fff;
    padding: 15px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    border: 1.5px solid rgba(255,255,255,0.25);
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(200,164,77,0.5);
    transform: translateY(-2px);
}

/* === Image Area (right) === */
.hero-img-area {
    position: relative;
    flex: 0 0 auto;
    width: 400px;
    height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img-glow {
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200,164,77,0.2) 0%, rgba(200,164,77,0.05) 50%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: glowPulse 4s ease-in-out infinite;
    filter: blur(20px);
}

.hero-img-glow.glow-warm {
    background: radial-gradient(circle, rgba(220,180,80,0.22) 0%, rgba(200,164,77,0.06) 50%, transparent 70%);
}

.hero-img-glow.glow-silver {
    background: radial-gradient(circle, rgba(180,190,210,0.18) 0%, rgba(160,170,190,0.05) 50%, transparent 70%);
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

img.hero-product {
    position: relative;
    z-index: 2;
    max-width: 320px;
    max-height: 420px;
    object-fit: contain;
    filter: drop-shadow(0 10px 40px rgba(200,164,77,0.3)) drop-shadow(0 2px 8px rgba(0,0,0,0.4));
    animation: heroFloat 5s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

.hero-img-badge {
    position: absolute;
    bottom: 30px;
    right: 10px;
    z-index: 3;
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(200,164,77,0.3);
    border-radius: 8px;
    padding: 8px 16px;
    text-align: center;
    backdrop-filter: blur(12px);
}

.hero-img-badge span {
    display: block;
    font-size: 10px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hero-img-badge strong {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: var(--gold-light);
    letter-spacing: 1px;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 16px;
}

.slider-btn {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.7);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.slider-btn:hover {
    background: var(--gold-primary);
    color: #1a1a1c;
    border-color: var(--gold-primary);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--gold-primary);
    width: 28px;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(200,164,77,0.4);
}

/* === Price Ticker Bar === */
.hero-ticker {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background: rgba(0,0,0,0.6);
    border-top: 1px solid rgba(200,164,77,0.15);
    backdrop-filter: blur(12px);
    padding: 12px 0;
}

.hero-ticker-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ticker-label {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.ticker-price {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-serif);
}

.ticker-unit {
    font-size: 11px;
    color: rgba(255,255,255,0.35);
}

.ticker-change {
    font-size: 12px;
    font-weight: 600;
}

.ticker-change.up {
    color: #ef4444;
}

.ticker-change.down {
    color: #3b82f6;
}

.ticker-sep {
    color: rgba(255,255,255,0.12);
    font-size: 14px;
}

/* ===== TODAY PRICE SECTION ===== */
.today-price-section {
    padding: 60px 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-gold);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 28px;
}

.section-title-group {}

.section-title {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 700;
    color: var(--charcoal);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.section-title.center {
    justify-content: center;
}

.gold-icon {
    color: var(--gold-primary);
}

.section-subtitle {
    font-size: 14px;
    color: var(--text-light);
}

.section-subtitle.center {
    text-align: center;
    margin-bottom: 40px;
}

.price-refresh {
    display: flex;
    align-items: center;
    gap: 12px;
}

.refresh-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--gold-gradient);
    color: var(--charcoal);
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.refresh-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
}

.refresh-time {
    font-size: 12px;
    color: var(--text-light);
}

/* Price Cards */
.price-cards {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.price-card {
    background: var(--white);
    border: 1.5px solid var(--border-gold);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.price-card:hover {
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

.price-card.gold-card.featured {
    background: linear-gradient(135deg, #FFFDF5 0%, #FFF8E7 100%);
    border-color: var(--gold-primary);
    border-width: 2px;
}

.price-card.silver-card {
    background: linear-gradient(135deg, #F8F9FA 0%, #F0F2F4 100%);
    border-color: var(--border-silver);
}

.price-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.metal-badge {
    font-size: 13px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    background: var(--charcoal);
    color: var(--gold-light);
}

.metal-badge.k18 { background: #8B6914; }
.metal-badge.k14 { background: #A0790C; }
.metal-badge.silver { background: var(--silver-dark); color: var(--white); }
.metal-badge.silver-badge { background: var(--silver-dark); color: var(--white); }

.change-badge {
    font-size: 12px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
}

.change-badge.up {
    background: rgba(198, 40, 40, 0.1);
    color: var(--price-up);
}

.change-badge.down {
    background: rgba(21, 101, 192, 0.1);
    color: var(--price-down);
}

.change-badge.same {
    background: rgba(90, 90, 90, 0.1);
    color: var(--price-same);
}

.price-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
    align-items: center;
}

.price-row.single {
    grid-template-columns: 1fr;
}

.price-divider {
    width: 1px;
    height: 48px;
    background: var(--border-gold);
}

.price-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
}

.price-label {
    font-size: 12px;
    color: var(--text-light);
}

.price-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--charcoal);
    font-family: var(--font-serif);
    letter-spacing: -0.5px;
}

.price-row.single .price-value {
    font-size: 26px;
}

.sell-price { color: var(--price-up); }
.buy-price { color: var(--charcoal); }

.price-unit {
    font-size: 11px;
    color: var(--text-light);
}

.price-notice {
    background: var(--ivory);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-sm);
    padding: 12px 18px;
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.price-notice i {
    color: var(--gold-primary);
    flex-shrink: 0;
}

.more-link {
    margin-left: auto;
    color: var(--gold-dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.more-link:hover {
    color: var(--gold-primary);
}

/* ===== QUICK MENU ===== */
.quick-menu-section {
    padding: 32px 0;
    background: var(--charcoal);
    border-bottom: 2px solid rgba(200, 164, 77, 0.4);
}

.quick-menu-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 18px 12px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(200, 164, 77, 0.2);
    background: rgba(255, 255, 255, 0.03);
    transition: var(--transition);
    cursor: pointer;
}

.quick-item:hover {
    background: rgba(200, 164, 77, 0.15);
    border-color: rgba(200, 164, 77, 0.6);
    transform: translateY(-3px);
}

.quick-icon {
    width: 52px;
    height: 52px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--charcoal);
    box-shadow: 0 2px 8px rgba(200, 164, 77, 0.3);
    transition: var(--transition);
}

.quick-item:hover .quick-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(200, 164, 77, 0.5);
}

.quick-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--silver-light);
    text-align: center;
}

/* ===== CHART SECTION ===== */
.chart-section {
    padding: 56px 0;
    background: var(--ivory);
}

.chart-panel {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    border: 1px solid var(--border-gold);
    overflow: hidden;
}

.chart-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px 16px;
}

.chart-title-area {
    display: flex;
    align-items: center;
    gap: 14px;
}

.chart-panel-title {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--charcoal);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.chart-updated {
    font-size: 12px;
    color: var(--text-light);
}

.view-more-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gold-dark);
    font-size: 13px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 6px;
    border: 1.5px solid var(--gold-primary);
    transition: var(--transition);
}

.view-more-btn:hover {
    background: var(--gold-primary);
    color: var(--charcoal);
}

/* Metal Type Tabs */
.chart-metal-tabs {
    display: flex;
    gap: 0;
    padding: 0 28px;
    border-bottom: 1px solid #eee;
    overflow-x: auto;
}

.chart-metal-tab {
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    background: none;
    border: none;
    border-bottom: 2.5px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.chart-metal-tab:hover {
    color: var(--charcoal);
}

.chart-metal-tab.active {
    color: var(--gold-dark);
    border-bottom-color: var(--gold-primary);
}

/* Current Price Display */
.chart-price-display {
    padding: 20px 28px 8px;
    display: flex;
    align-items: baseline;
    gap: 16px;
    flex-wrap: wrap;
}

.chart-current-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.chart-price-num {
    font-size: 36px;
    font-weight: 800;
    color: var(--charcoal);
    font-family: var(--font-serif);
    letter-spacing: -1px;
}

.chart-price-won {
    font-size: 15px;
    color: var(--text-light);
    font-weight: 500;
}

.chart-price-change {
    display: flex;
    align-items: center;
    gap: 6px;
}

.chart-change-value {
    font-size: 15px;
    font-weight: 700;
}

.chart-change-value.up {
    color: #ef4444;
}

.chart-change-value.down {
    color: #3b82f6;
}

.chart-change-pct {
    font-size: 13px;
    color: var(--text-light);
}

/* Period Selector */
.chart-period-bar {
    display: flex;
    gap: 4px;
    padding: 10px 28px 6px;
}

.chart-period-btn {
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    background: #f5f3ee;
    border: 1px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.chart-period-btn:hover {
    background: #ede8dc;
    color: var(--charcoal);
}

.chart-period-btn.active {
    background: var(--charcoal);
    color: #fff;
    border-color: var(--charcoal);
}

/* Chart Canvas */
.chart-canvas-wrap {
    padding: 12px 20px 8px;
    height: 320px;
    position: relative;
}

.chart-canvas-wrap canvas {
    width: 100% !important;
    height: 100% !important;
}

/* Chart Stats Bar */
.chart-stats-bar {
    display: flex;
    border-top: 1px solid #f0ece3;
    padding: 0;
}

.chart-stat-item {
    flex: 1;
    text-align: center;
    padding: 16px 12px;
    border-right: 1px solid #f0ece3;
}

.chart-stat-item:last-child {
    border-right: none;
}

.chart-stat-label {
    display: block;
    font-size: 11px;
    color: var(--text-light);
    margin-bottom: 4px;
    letter-spacing: 0.3px;
}

.chart-stat-value {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--charcoal);
    font-family: var(--font-serif);
}

.chart-stat-value.high {
    color: #ef4444;
}

.chart-stat-value.low {
    color: #3b82f6;
}

/* ===== PRODUCTS SECTION ===== */
.products-section {
    padding: 60px 0;
    background: var(--white);
}

.products-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 9px 20px;
    border-radius: 50px;
    border: 1.5px solid var(--border-gold);
    background: transparent;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
    color: var(--charcoal);
    font-weight: 700;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-gold);
    transition: var(--transition);
    box-shadow: var(--shadow-card);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--gold-primary);
}

.product-img-wrap {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: var(--ivory);
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.badge-best { background: var(--gold-primary); color: var(--charcoal); }
.badge-new { background: var(--price-up); color: white; }

.product-info {
    padding: 16px;
}

.product-category {
    font-size: 12px;
    color: var(--gold-dark);
    font-weight: 600;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 8px;
    line-height: 1.4;
}

/* 중량·순도 행 */
.product-meta-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}
.product-meta-item {
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 4px;
}
.product-meta-item i { color: var(--gold-primary); font-size: 11px; }
.product-meta-sep { font-size: 11px; color: var(--border-gold); }

/* 카드 설명 미리보기 */
.product-desc-short {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 전화상담 텍스트 (카드) */
.product-consult-txt {
    font-size: 15px;
    font-weight: 700;
    color: var(--charcoal);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--border-gold);
}
.product-consult-txt i {
    color: var(--gold-primary);
    font-size: 13px;
}

.product-weight {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.product-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--charcoal);
    font-family: var(--font-serif);
}

.product-original-price {
    font-size: 13px;
    color: var(--text-light);
    text-decoration: line-through;
}

.product-discount {
    font-size: 12px;
    font-weight: 700;
    color: var(--price-up);
}

.btn-add-cart {
    width: 100%;
    background: var(--gold-gradient);
    color: var(--charcoal);
    border: none;
    padding: 10px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-add-cart:hover {
    box-shadow: var(--shadow-gold);
    transform: translateY(-1px);
}

/* ===== 모달 전화상담 박스 ===== */
.modal-consult-box {
    background: linear-gradient(135deg, rgba(200,164,77,0.08) 0%, rgba(200,164,77,0.03) 100%);
    border: 1.5px solid var(--border-gold);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.modal-consult-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.modal-consult-label i { color: var(--gold-primary); }
.modal-consult-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--charcoal);
    font-family: var(--font-serif);
    line-height: 1;
}
.modal-consult-price span {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
    margin-left: 4px;
}
.btn-modal-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--gold-gradient);
    color: var(--charcoal);
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    margin-top: 4px;
    box-shadow: 0 4px 16px rgba(200,164,77,0.3);
}
.btn-modal-call:hover {
    box-shadow: var(--shadow-gold);
    transform: translateY(-1px);
}

.loading-spinner {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: var(--text-light);
    font-size: 16px;
}

.loading-spinner i {
    font-size: 24px;
    margin-right: 8px;
    color: var(--gold-primary);
}

/* ===== BUY GUIDE ===== */
.buy-guide-section {
    padding: 80px 0;
    background: var(--ivory);
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.guide-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 28px 20px;
    text-align: center;
    border: 1px solid var(--border-gold);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.guide-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient);
}

.guide-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}

.guide-num {
    font-size: 42px;
    font-weight: 900;
    font-family: var(--font-serif);
    color: rgba(200, 164, 77, 0.15);
    position: absolute;
    top: 10px;
    right: 14px;
}

.guide-icon {
    width: 60px;
    height: 60px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--charcoal);
    margin: 0 auto 16px;
}

.guide-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 10px;
    font-family: var(--font-serif);
}

.guide-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.buy-items {
    background: var(--charcoal);
    border-radius: var(--radius-md);
    padding: 28px;
    border: 1px solid rgba(200, 164, 77, 0.3);
}

.buy-items-title {
    font-family: var(--font-serif);
    font-size: 18px;
    color: var(--gold-light);
    margin-bottom: 16px;
}

.buy-items-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.buy-item {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(200, 164, 77, 0.15);
    border: 1px solid rgba(200, 164, 77, 0.3);
    color: var(--gold-light);
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 14px;
    transition: var(--transition);
}

.buy-item i {
    color: var(--gold-primary);
}

.buy-item:hover {
    background: rgba(200, 164, 77, 0.3);
    border-color: var(--gold-primary);
}

/* ===== TRUST SECTION ===== */
.trust-section {
    padding: 60px 0;
    background: var(--white);
    border-top: 2px solid var(--border-gold);
    border-bottom: 2px solid var(--border-gold);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.trust-item {
    text-align: center;
    padding: 20px;
}

.trust-icon {
    font-size: 36px;
    color: var(--gold-primary);
    margin-bottom: 14px;
}

.trust-item h3 {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 10px;
}

.trust-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== BRANCH SECTION ===== */
.branch-section {
    padding: 80px 0;
    background: var(--ivory);
}

.branch-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.branch-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 22px;
    border: 1px solid var(--border-gold);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.branch-card:hover {
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-gold);
}

.branch-card h3 {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-gold);
}

.branch-card h3 i {
    color: var(--gold-primary);
}

.branch-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.branch-card p i {
    color: var(--gold-primary);
    width: 14px;
    flex-shrink: 0;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 80px 0;
    background: var(--charcoal);
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info h2 {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone-big {
    font-size: 48px;
    font-weight: 900;
    font-family: var(--font-serif);
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
    letter-spacing: -1px;
}

.phone-hours {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 24px;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.channel-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: rgba(255,255,255,0.7);
}

.channel-item i {
    color: var(--gold-primary);
    width: 20px;
}

.contact-cta {
    background: rgba(200, 164, 77, 0.08);
    border: 1.5px solid rgba(200, 164, 77, 0.3);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
}

.contact-cta h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 12px;
}

.contact-cta p {
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 28px;
    line-height: 1.6;
}

.btn-gold-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold-gradient);
    color: var(--charcoal);
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 700;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-gold-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-gold-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--gold-light);
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 600;
    border: 1.5px solid rgba(200, 164, 77, 0.5);
    transition: var(--transition);
    margin-top: 12px;
}

.btn-gold-secondary:hover {
    background: rgba(200, 164, 77, 0.15);
    border-color: var(--gold-primary);
    transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.main-footer {
    background: var(--dark-bg);
}

.footer-top {
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(200, 164, 77, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-new-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-desc-bold {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
}

.footer-biz-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-biz-info p {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    line-height: 1.7;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 220px;
}

.footer-cs-title {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    letter-spacing: 1px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(200,164,77,0.3);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.logo-icon-sm {
    width: 38px;
    height: 38px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--charcoal);
    flex-shrink: 0;
}

.footer-logo-main {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
}

.footer-logo-sub {
    font-size: 9px;
    letter-spacing: 1px;
    color: var(--gold-primary);
}

.footer-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-sns {
    display: flex;
    gap: 10px;
}

.footer-sns a {
    width: 36px;
    height: 36px;
    background: rgba(200, 164, 77, 0.15);
    border: 1px solid rgba(200, 164, 77, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    font-size: 14px;
    transition: var(--transition);
}

.footer-sns a:hover {
    background: var(--gold-primary);
    color: var(--charcoal);
}

.footer-col h4 {
    font-family: var(--font-serif);
    font-size: 15px;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(200, 164, 77, 0.2);
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--gold-light);
}

.footer-phone {
    font-size: 28px;
    font-weight: 900;
    font-family: var(--font-serif);
    color: var(--gold-light);
    margin-bottom: 6px;
}

.footer-hours {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 16px;
    line-height: 1.6;
}

.footer-bottom {
    padding: 20px 0;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    margin-bottom: 4px;
    line-height: 1.6;
}

.copyright {
    color: rgba(255,255,255,0.4) !important;
    margin-top: 8px !important;
    font-size: 13px !important;
}

/* ===== CART MODAL ===== */
.cart-modal {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    height: 100vh;
    background: var(--white);
    z-index: 300;
    box-shadow: -4px 0 30px rgba(0,0,0,0.15);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-modal.open {
    right: 0;
}

.cart-modal-header {
    padding: 20px 24px;
    border-bottom: 2px solid var(--gold-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--charcoal);
    color: var(--white);
}

.cart-modal-header h3 {
    font-family: var(--font-serif);
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-modal-header h3 i {
    color: var(--gold-primary);
}

.cart-modal-header button {
    background: none;
    border: none;
    color: var(--silver-light);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.cart-modal-header button:hover {
    color: var(--white);
    transform: rotate(90deg);
}

.cart-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.cart-empty i {
    font-size: 48px;
    color: var(--border-gold);
    margin-bottom: 16px;
}

.cart-empty p {
    margin-bottom: 20px;
    font-size: 15px;
}

.cart-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-gold);
}

.cart-item-img {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: var(--ivory);
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 4px;
}

.cart-item-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--gold-dark);
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.qty-btn {
    width: 26px;
    height: 26px;
    background: var(--ivory);
    border: 1px solid var(--border-gold);
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--gold-primary);
    color: var(--charcoal);
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 16px;
    padding: 4px;
    transition: var(--transition);
}

.cart-item-remove:hover {
    color: var(--price-up);
}

.cart-modal-footer {
    padding: 20px;
    border-top: 2px solid var(--border-gold);
    background: var(--ivory);
}

.cart-total {
    font-size: 16px;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 14px;
}

.cart-total strong {
    font-size: 20px;
    color: var(--gold-dark);
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.show {
    opacity: 1;
    visibility: visible;
}

/* ===== COMMON UTILITIES ===== */
.text-gold { color: var(--gold-primary); }
.text-center { text-align: center; }
.mb-4 { margin-bottom: 16px; }
.mt-4 { margin-top: 16px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .price-cards {
        grid-template-columns: 1fr 1fr;
    }
    .price-card.gold-card.featured {
        grid-column: 1 / -1;
    }
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .main-nav {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
    .header-right {
        margin-left: auto;
    }
    .mobile-menu {
        display: block;
    }
    .hero-img-area {
        display: none;
    }
    .hero-slide-inner {
        justify-content: center;
    }
    .hero-text-area {
        max-width: 100%;
        text-align: center;
        width: 100%;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-title {
        font-size: 36px;
    }
    .hero-price-box {
        max-width: 440px;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-trust-badges {
        justify-content: center;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-new-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .guide-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .branch-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-inner {
        grid-template-columns: 1fr;
    }
    .quick-menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar-left {
        display: none;
    }
    .top-bar-right {
        margin-left: auto;
    }
    .chart-section { padding: 32px 0; }
    .chart-canvas-wrap { padding: 10px 10px 6px; height: 240px; }
    .chart-panel-header { padding: 18px 18px 12px; }
    .chart-metal-tabs { padding: 0 18px; }
    .chart-price-display { padding: 14px 18px 6px; }
    .chart-period-bar { padding: 8px 18px 4px; }
    .chart-price-num { font-size: 28px; }
    .chart-stats-bar { flex-wrap: wrap; }
    .chart-stat-item { flex: 1 1 50%; border-bottom: 1px solid #f0ece3; }
    .refresh-btn { font-size: 12px; padding: 6px 10px; }
    .refresh-time { font-size: 11px; }
    .section-subtitle { font-size: 12px; }
    .price-refresh { flex-direction: column; align-items: flex-end; gap: 4px; }
    .hero-banner {
        height: auto;
        min-height: auto;
        overflow: visible;
    }
    .hero-slider {
        height: auto;
        position: relative;
    }
    .hero-slide {
        position: relative;
        inset: auto;
        display: none;
    }
    .hero-slide.active {
        display: flex;
    }
    .hero-title {
        font-size: 26px;
        letter-spacing: -0.5px;
    }
    .hero-desc {
        font-size: 14px;
    }
    .hero-desc br {
        display: none;
    }
    .hero-slide-inner {
        padding: 48px 20px 60px;
        flex-direction: column;
    }
    .hero-price-box {
        flex-direction: row;
        gap: 0;
        padding: 14px 16px;
        border-radius: 10px;
    }
    .hero-price-divider {
        width: 1px;
        height: 44px;
        margin: 0 14px;
    }
    .hero-price-value {
        font-size: 22px;
    }
    .hero-price-label {
        font-size: 11px;
    }
    .hero-ticker {
        position: relative;
        border-top: 1px solid rgba(200,164,77,0.15);
    }
    .hero-ticker-inner {
        padding: 10px 16px;
        gap: 10px;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
    }
    .ticker-item {
        white-space: nowrap;
        flex-shrink: 0;
    }
    .ticker-price {
        font-size: 13px;
    }
    .ticker-label {
        font-size: 11px;
    }
    .slider-controls {
        bottom: auto;
        position: relative;
        margin: -40px auto 0;
        padding-bottom: 12px;
        z-index: 10;
    }
    .price-cards {
        grid-template-columns: 1fr;
    }
    .price-card.gold-card.featured {
        grid-column: auto;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .quick-menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .phone-big {
        font-size: 36px;
    }
    .section-header {
        align-items: center;
    }
    .chart-panel-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .view-more-btn {
        font-size: 12px;
        padding: 6px 10px;
        white-space: nowrap;
    }
    .branch-grid {
        grid-template-columns: 1fr;
    }
    .guide-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* 폰트 & 버튼 전체 축소 */
    .section-title { font-size: 20px; }
    .section-subtitle { font-size: 13px; }
    .btn-hero-primary, .btn-hero-secondary {
        font-size: 14px;
        padding: 12px 20px;
    }
    .btn-gold-primary, .btn-gold-secondary {
        font-size: 13px;
        padding: 10px 18px;
    }
    .logo-main { font-size: 16px; }
    .logo-sub { font-size: 9px; }
    .nav-item { font-size: 13px; }
    .price-card { padding: 16px; }
    .stat-label { font-size: 11px; }
    .branch-card { padding: 20px; }
    .product-card { padding: 12px; }
    .product-name { font-size: 13px; }
    .product-price { font-size: 15px; }
    .product-info { padding: 12px; }
    .product-category { font-size: 11px; }
    .product-meta-item { font-size: 11px; }
}

@media (max-width: 480px) {
    html { font-size: 14px; }

    .hero-banner {
        min-height: auto;
    }
    .hero-slide-inner {
        padding: 36px 16px 50px;
    }
    .hero-title {
        font-size: 22px;
    }
    .hero-desc { font-size: 12px; line-height: 1.6; }
    .hero-sub-label { font-size: 11px; padding: 4px 10px; }
    .slider-btn { width: 26px; height: 26px; font-size: 10px; }
    .hero-buttons {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
        width: 100%;
    }
    .btn-hero-primary, .btn-hero-secondary {
        justify-content: center;
        font-size: 13px;
        padding: 12px 16px;
    }
    .hero-trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }
    .hero-trust-item {
        font-size: 12px;
        padding: 6px 12px;
    }
    .hero-price-box {
        flex-direction: column;
        gap: 0;
        padding: 12px 16px;
    }
    .hero-price-divider {
        width: 80%;
        height: 1px;
        margin: 8px auto;
    }
    .hero-price-value {
        font-size: 24px;
    }
    .hero-ticker-inner {
        gap: 6px;
        padding: 8px 12px;
    }
    .ticker-label { font-size: 10px; }
    .ticker-price { font-size: 12px; }
    .ticker-unit { font-size: 9px; }
    .ticker-sep { display: none; }
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
        font-size: 13px;
        padding: 11px 16px;
    }
    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .product-name { font-size: 12px; }
    .product-price { font-size: 14px; }
    .product-info { padding: 10px; }
    .section-subtitle { font-size: 11px; }
    .refresh-time { font-size: 10px; }
    .product-category { font-size: 10px; }
    .product-badge { font-size: 10px; padding: 3px 8px; }
    .quick-menu-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    .cart-modal {
        width: 100%;
        right: -100%;
    }
}

/* ===== AI CHATBOT WIDGET ===== */
.chatbot-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-primary) 0%, #b8943d 100%);
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(200,164,77,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    transition: transform 0.25s, box-shadow 0.25s;
}
.chatbot-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 32px rgba(200,164,77,0.55);
}
.chatbot-fab .fab-close { display: none; }
.chatbot-fab.open .fab-icon { display: none; }
.chatbot-fab.open .fab-close { display: block; }

.chatbot-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    background: #e05555;
    border-radius: 50%;
    border: 2px solid #fff;
    font-size: 0;
}

.chatbot-window {
    position: fixed;
    bottom: 100px;
    right: 28px;
    z-index: 9001;
    width: 380px;
    max-height: 540px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 48px rgba(0,0,0,0.18);
    border: 1px solid #e8e4da;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
}
.chatbot-window.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.chatbot-header {
    padding: 18px 20px;
    background: linear-gradient(135deg, var(--charcoal) 0%, #2C2507 100%);
    display: flex;
    align-items: center;
    gap: 12px;
}
.chatbot-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    flex-shrink: 0;
}
.chatbot-header-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}
.chatbot-header-info p {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    margin: 2px 0 0;
}
.chatbot-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    margin-top: 2px;
}
.chatbot-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f0ad4e;
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #faf8f4;
    min-height: 280px;
}
.chatbot-msg {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.chatbot-msg-avatar {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
    flex-shrink: 0;
}
.chatbot-bubble {
    max-width: 260px;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--charcoal);
}
.chatbot-bubble.bot {
    background: #fff;
    border: 1px solid #e8e4da;
    border-top-left-radius: 4px;
}
.chatbot-bubble.user {
    background: var(--gold-primary);
    color: #fff;
    border-top-right-radius: 4px;
    margin-left: auto;
}
.chatbot-time {
    font-size: 10px;
    color: #bbb;
    margin-top: 4px;
}

.chatbot-preparing {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    flex: 1;
    background: #faf8f4;
}
.chatbot-preparing-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fdf8ed, #fef3d6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--gold-primary);
    margin-bottom: 16px;
}
.chatbot-preparing h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--charcoal);
    margin: 0 0 8px;
}
.chatbot-preparing p {
    font-size: 13px;
    color: #999;
    line-height: 1.6;
    margin: 0;
}

.chatbot-preparing-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding: 8px 16px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #e8e4da;
    font-size: 12px;
    font-weight: 600;
    color: #999;
}
.chatbot-preparing-badge i { color: var(--gold-primary); }

.chatbot-input-area {
    padding: 14px 16px;
    border-top: 1px solid #e8e4da;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
}
.chatbot-input-area input {
    flex: 1;
    border: 1.5px solid #e8e4da;
    border-radius: 12px;
    padding: 11px 14px;
    font-size: 13.5px;
    outline: none;
    font-family: 'Pretendard', sans-serif;
    color: var(--charcoal);
    background: #faf8f4;
    transition: border-color 0.2s;
}
.chatbot-input-area input:focus {
    border-color: var(--gold-primary);
}
.chatbot-input-area input:disabled {
    background: #f0ece3;
    color: #bbb;
    cursor: not-allowed;
}
.chatbot-send-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--gold-primary);
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.chatbot-send-btn:disabled {
    background: #ddd;
    cursor: not-allowed;
}

@media (max-width: 480px) {
    .chatbot-window {
        width: calc(100vw - 24px);
        right: 12px;
        bottom: 90px;
        max-height: 70vh;
        border-radius: 16px;
    }
    .chatbot-fab {
        bottom: 20px;
        right: 16px;
        width: 54px;
        height: 54px;
        font-size: 22px;
    }
}
