/* ============================================
   럭셔리샵 (Luxury Shop) - 프리미엄 스타일 v2
   한국 명품 쇼핑몰 고급 UI/UX - 모바일 최적화
   ============================================ */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard-dynamic-subset.css');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
    --gold: #b8956a;
    --gold-dark: #96734e;
    --gold-light: #e2cdb5;
    --gold-bg: #faf6f1;
    --dark: #0a0a0a;
    --dark-light: #1a1a1a;
    --dark-mid: #2a2a2a;
    --text: #111111;
    --text-light: #444;
    --text-muted: #888;
    --bg: #ffffff;
    --bg-light: #fafaf8;
    --bg-gray: #f5f4f2;
    --border: #e0ddd8;
    --border-light: #eeece8;
    --danger: #c0392b;
    --success: #2e8b57;
    --radius: 2px;
    --radius-lg: 4px;
    --shadow: 0 1px 4px rgba(0,0,0,0.04);
    --shadow-md: 0 2px 16px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.08);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.10);
    --transition: all 0.25s ease;
    --transition-slow: all 0.4s ease;
    --font-display: 'Playfair Display', 'Noto Sans KR', serif;
    --font-body: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    --letter-kr: -0.02em;
    --letter-display: 0.08em;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: var(--font-body);
    color: var(--text); background: var(--bg); line-height: 1.6;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
    letter-spacing: var(--letter-kr);
    font-size: 15px;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { font-family: var(--font-body); }
input, select, textarea { font-family: var(--font-body); }

/* Container */
.container { max-width: 1320px; margin: 0 auto; padding: 0 32px; }

/* ============ TOP BAR ============ */
.top-bar {
    background: var(--dark); color: rgba(255,255,255,0.5); font-size: 12px; padding: 10px 0;
    letter-spacing: 0.03em; font-weight: 400;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: rgba(255,255,255,0.45); font-size: 12px; display: flex; align-items: center; gap: 6px; }
.top-bar a:hover { color: var(--gold-light); }
.top-bar a svg { opacity: 0.5; }
.top-bar a:hover svg { opacity: 1; }
.top-bar-links { display: flex; gap: 16px; align-items: center; }

/* ============ HEADER ============ */
.site-header {
    background: #fff; border-bottom: 1px solid var(--border-light);
    position: sticky; top: 0; z-index: 1000;
}
.header-main {
    padding: 18px 0; display: flex; justify-content: space-between; align-items: center;
    gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo h1 { 
    font-size: 28px; font-weight: 700; color: var(--dark); 
    letter-spacing: var(--letter-display); font-family: var(--font-display); 
}
.logo h1 span { color: var(--gold); font-weight: 700; }
.logo-sub { 
    font-size: 9px; color: var(--text-muted); letter-spacing: 0.25em; 
    text-transform: uppercase; font-weight: 400;
}

.header-search {
    flex: 1; max-width: 440px; margin: 0 24px;
}
.header-search form { 
    display: flex; border: 1px solid var(--border); border-radius: 0; 
    overflow: hidden; transition: var(--transition);
}
.header-search form:focus-within { border-color: var(--gold); }
.header-search input {
    flex: 1; padding: 13px 18px; border: none; font-size: 14px; outline: none;
    font-family: inherit; letter-spacing: var(--letter-kr);
    color: var(--text);
}
.header-search input::placeholder { color: var(--text-muted); font-weight: 300; }
.header-search button {
    background: var(--dark); color: #fff; border: none; padding: 13px 22px;
    cursor: pointer; font-size: 13px; font-weight: 500; letter-spacing: 0.08em;
    transition: var(--transition); display: flex; align-items: center; justify-content: center;
}
.header-search button:hover { background: var(--gold-dark); }
.header-search button svg { display: block; }

.header-actions { display: flex; gap: 20px; align-items: center; }
.header-action {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    font-size: 11px; color: var(--text-muted); cursor: pointer; transition: var(--transition);
    position: relative; letter-spacing: 0.03em; font-weight: 400;
}
.header-action:hover { color: var(--gold); }
.header-action .icon-svg {
    width: 40px; height: 40px; border-radius: 50%; background: var(--bg-gray);
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition); border: 1px solid var(--border-light);
}
.header-action:hover .icon-svg {
    background: var(--gold-bg); border-color: var(--gold-light);
}
.header-action .icon-svg svg { color: var(--text-muted); transition: var(--transition); }
.header-action:hover .icon-svg svg { color: var(--gold); }
.cart-count {
    position: absolute; top: -4px; right: -8px; background: var(--danger);
    color: #fff; font-size: 10px; min-width: 18px; height: 18px;
    border-radius: 9px; display: flex; align-items: center; justify-content: center;
    font-weight: 700; letter-spacing: 0;
}

/* ============ NAVIGATION ============ */
.nav-bar { 
    background: var(--dark); 
    border-bottom: 2px solid var(--gold);
}
.nav-bar .container { 
    display: flex; 
    align-items: stretch; 
    flex-wrap: nowrap;
    overflow: visible;
}
.nav-list { 
    display: flex; 
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch; 
    gap: 0;
}
.nav-list li { 
    position: relative; 
    display: inline-block;
}
.nav-list a {
    display: inline-flex;
    flex-direction: row;
    align-items: center; 
    justify-content: center;
    white-space: nowrap;
    padding: 0 22px; 
    color: rgba(255,255,255,0.75);
    font-size: 14px; font-weight: 400; transition: var(--transition);
    letter-spacing: 0.03em; height: 50px;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}
.nav-list a::after { display: none; }
.nav-list a:hover, .nav-list a.active { 
    color: #fff; 
    border-bottom-color: var(--gold);
    background: rgba(255,255,255,0.03);
}
.nav-all {
    background: var(--gold); color: #fff; padding: 0 22px;
    font-weight: 500; cursor: pointer; display: flex; align-items: center; gap: 8px;
    margin-right: 0; font-size: 14px; letter-spacing: 0.03em;
    height: 50px; flex-shrink: 0;
    white-space: nowrap;
}
.nav-all:hover { background: var(--gold-dark); }
.nav-all svg { opacity: 0.9; }

/* Mobile Menu Toggle */
.mobile-menu-btn {
    display: none; background: none; border: none; cursor: pointer;
    width: 40px; height: 40px; align-items: center; justify-content: center;
    color: var(--dark); padding: 0;
}

/* ============ HERO BANNER ============ */
.hero {
    background: linear-gradient(160deg, var(--dark) 0%, #111122 40%, #1a1a30 100%);
    padding: 100px 0; position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: -40%; right: -15%;
    width: 700px; height: 700px; border-radius: 50%;
    background: radial-gradient(circle, rgba(184,149,106,0.10) 0%, transparent 70%);
}
.hero::after {
    content: ''; position: absolute; bottom: -20%; left: -5%;
    width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(184,149,106,0.05) 0%, transparent 70%);
}
.hero-content { position: relative; z-index: 1; text-align: center; color: #fff; }
.hero-badge {
    display: inline-block; padding: 10px 32px; border: 1px solid rgba(184,149,106,0.4);
    color: var(--gold-light); font-size: 11px; letter-spacing: 0.35em; margin-bottom: 28px;
    text-transform: uppercase; background: rgba(184,149,106,0.04); font-weight: 400;
}
.hero h2 { 
    font-size: 44px; font-weight: 300; margin-bottom: 16px; 
    letter-spacing: 0.03em; font-family: var(--font-display); 
    line-height: 1.25;
}
.hero h2 strong { font-weight: 700; color: var(--gold-light); }
.hero p { 
    font-size: 15px; color: rgba(255,255,255,0.45); margin-bottom: 36px; 
    letter-spacing: 0.03em; font-weight: 300;
}
.hero-btn {
    display: inline-block; padding: 16px 52px; background: var(--gold);
    color: #fff; font-size: 13px; font-weight: 500; border-radius: 0;
    transition: var(--transition); letter-spacing: 0.12em;
    box-shadow: 0 4px 24px rgba(184,149,106,0.25);
    text-transform: uppercase;
}
.hero-btn:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(184,149,106,0.35); }

/* ============ SECTION ============ */
.section { padding: 64px 0; }
.section-header { text-align: center; margin-bottom: 44px; }
.section-header h3 { 
    font-size: 28px; font-weight: 500; color: var(--dark); margin-bottom: 8px;
    font-family: var(--font-display); letter-spacing: var(--letter-display);
}
.section-header h3 span { color: var(--gold); }
.section-header p { color: var(--text-muted); font-size: 14px; letter-spacing: 0.03em; font-weight: 300; }
.section-more { text-align: center; margin-top: 32px; }
.section-more a {
    display: inline-block; padding: 12px 36px; border: 1px solid var(--gold);
    color: var(--gold); border-radius: 0; font-size: 13px; font-weight: 500;
    letter-spacing: 0.08em;
}
.section-more a:hover { background: var(--gold); color: #fff; }

/* ============ STATS ============ */
.stats-bar {
    background: var(--dark); padding: 28px 0;
    border-top: 1px solid rgba(184,149,106,0.12);
    border-bottom: 1px solid rgba(184,149,106,0.12);
}
.stats-bar .container { 
    display: flex; justify-content: center; gap: 72px; text-align: center;
}
.stat-item {}
.stat-number { 
    font-size: 30px; font-weight: 300; color: var(--gold-light);
    font-family: var(--font-display); letter-spacing: 0.02em;
}
.stat-label { 
    font-size: 12px; color: rgba(255,255,255,0.4); 
    letter-spacing: 0.08em; margin-top: 4px;
}

/* ============ BRAND GROUPS ============ */
.brand-group {
    margin-bottom: 28px;
    border: 1px solid var(--border-light);
    background: #fff;
    overflow: hidden;
}
.brand-group-header {
    background: var(--dark);
    padding: 16px 24px;
    border-bottom: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand-group-title {
    display: flex;
    align-items: baseline;
    gap: 12px;
}
.brand-group-name {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.05em;
    font-family: var(--font-display);
}
.brand-group-en {
    font-size: 11px;
    color: var(--gold-light);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 400;
}
.brand-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 20px 24px;
}
.brand-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid var(--border-light);
    background: #fff;
    transition: var(--transition);
    cursor: pointer;
    font-size: 14px;
    color: var(--text);
    letter-spacing: 0.03em;
    min-width: 0;
}
.brand-tag:hover {
    border-color: var(--gold);
    color: var(--gold-dark);
    background: var(--gold-bg);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}
.brand-tag-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid var(--border-light);
    font-size: 11px;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--gold);
    flex-shrink: 0;
    letter-spacing: 0;
}
.brand-tag:hover .brand-tag-icon {
    border-color: var(--gold);
    background: var(--gold-bg);
    color: var(--gold-dark);
}
.brand-tag-name {
    font-weight: 500;
    white-space: nowrap;
}
.brand-tag-count {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 400;
    white-space: nowrap;
}
.brand-tag:hover .brand-tag-count {
    color: var(--gold-dark);
}
.brand-tag-hidden {
    display: none;
}
.brand-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 12px;
    border: none;
    border-top: 1px solid var(--border-light);
    background: var(--bg-gray);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    letter-spacing: 0.05em;
}
.brand-toggle:hover {
    background: var(--gold-bg);
    color: var(--gold-dark);
}
.brand-toggle .toggle-arrow {
    transition: transform 0.3s ease;
}

/* ============ BRAND GRID (fallback) ============ */
.brand-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px;
}
.category-item {
    text-align: center; padding: 24px 10px 20px; background: #fff; border-radius: 0;
    border: 1px solid var(--border-light); transition: var(--transition); cursor: pointer;
    position: relative; overflow: hidden;
}
.category-item::after {
    content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px;
    background: var(--gold); transition: var(--transition); transform: translateX(-50%);
}
.category-item:hover { 
    border-color: var(--gold-light); 
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.category-item:hover::after { width: 36px; }
.category-icon {
    width: 48px; height: 48px; margin: 0 auto 10px; background: transparent;
    border-radius: 0; display: flex; align-items: center; justify-content: center;
    font-size: 16px; font-family: var(--font-display); font-weight: 600;
    color: var(--gold); letter-spacing: 0; transition: var(--transition);
    border: 1px solid var(--border-light);
}
.category-item:hover .category-icon { 
    border-color: var(--gold); color: var(--gold-dark); background: var(--gold-bg);
}
.category-name { font-size: 13px; font-weight: 500; color: var(--text); letter-spacing: 0.03em; }
.category-count { font-size: 11px; color: var(--text-muted); margin-top: 3px; letter-spacing: 0.03em; }

/* ============ PRODUCT GRID ============ */
.product-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.product-card {
    background: #fff; border-radius: 0; overflow: hidden;
    border: 1px solid var(--border-light); transition: var(--transition); cursor: pointer;
    position: relative;
}
.product-card:hover { 
    border-color: var(--gold-light);
    box-shadow: var(--shadow-lg); 
}
.product-image {
    position: relative; padding-top: 125%; background: var(--bg-gray); overflow: hidden;
}
.product-image img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover .product-image img { transform: scale(1.03); }
.product-badges {
    position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px;
}
.product-badge {
    padding: 3px 10px; font-size: 10px; font-weight: 600; color: #fff;
    letter-spacing: 0.08em; text-transform: uppercase;
}
.product-badge.new { background: var(--gold); }
.product-badge.hot { background: var(--danger); }
.product-badge.sale { background: var(--success); }

.product-info { padding: 16px 16px 20px; }
.product-category {
    font-size: 11px; color: var(--gold); text-transform: uppercase; 
    letter-spacing: 0.12em; margin-bottom: 6px; font-weight: 500;
}
.product-name {
    font-size: 14px; font-weight: 400; color: var(--text); margin-bottom: 10px;
    line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden; min-height: 42px;
    letter-spacing: var(--letter-kr);
}
.product-price { display: flex; align-items: baseline; gap: 8px; }
.product-price .price {
    font-size: 18px; font-weight: 600; color: var(--dark);
    font-family: var(--font-display); letter-spacing: 0.02em;
}
.product-price .original-price {
    font-size: 12px; color: var(--text-muted); text-decoration: line-through;
}
.product-price .discount {
    font-size: 11px; color: var(--danger); font-weight: 600;
}

/* ============ BANNERS ============ */
.banner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.banner-item {
    position: relative; overflow: hidden;
    height: 220px; background: linear-gradient(135deg, #1e1e2e, #0c0c14);
    padding: 36px; display: flex; flex-direction: column; justify-content: center;
    color: #fff; transition: var(--transition); border: 1px solid rgba(184,149,106,0.08);
}
.banner-item::before {
    content: ''; position: absolute; top: 0; right: 0; width: 40%; height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(184,149,106,0.05) 100%);
}
.banner-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-xl); }
.banner-item h4 { 
    font-size: 22px; margin-bottom: 8px; font-family: var(--font-display);
    font-weight: 400; letter-spacing: 0.03em;
}
.banner-item h4 span { color: var(--gold-light); font-weight: 600; }
.banner-item p { font-size: 13px; color: rgba(255,255,255,0.45); margin-bottom: 16px; line-height: 1.7; letter-spacing: 0.02em; }
.banner-link { color: var(--gold-light); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }

/* ============ FOOTER ============ */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.50); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 48px; }
.footer-brand h3 { 
    color: var(--gold-light); font-size: 22px; letter-spacing: var(--letter-display); 
    margin-bottom: 16px; font-family: var(--font-display); font-weight: 600;
}
.footer-brand p { font-size: 13px; line-height: 1.9; letter-spacing: 0.02em; }
.footer-section h4 { 
    color: rgba(255,255,255,0.80); font-size: 14px; margin-bottom: 18px; 
    font-weight: 500; letter-spacing: 0.08em;
}
.footer-section ul li { margin-bottom: 10px; }
.footer-section ul a { font-size: 13px; color: rgba(255,255,255,0.35); transition: var(--transition); letter-spacing: 0.02em; }
.footer-section ul a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-bottom {
    margin-top: 48px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center; font-size: 12px; color: rgba(255,255,255,0.20);
    letter-spacing: 0.03em;
}

/* ============ PRODUCT LIST PAGE ============ */
.page-banner {
    background: linear-gradient(135deg, var(--dark), #111122);
    padding: 48px 0; color: #fff; text-align: center;
    position: relative; overflow: hidden;
    border-bottom: 2px solid var(--gold);
}
.page-banner::before {
    content: ''; position: absolute; top: -50%; right: -10%;
    width: 300px; height: 300px; border-radius: 50%;
    background: radial-gradient(circle, rgba(184,149,106,0.08) 0%, transparent 70%);
}
.page-banner h2 { font-size: 30px; font-weight: 300; margin-bottom: 6px; font-family: var(--font-display); letter-spacing: 0.03em; }
.page-banner h2 strong { font-weight: 700; color: var(--gold-light); }
.page-banner p { font-size: 14px; color: rgba(255,255,255,0.45); position: relative; letter-spacing: 0.03em; }

.shop-layout { display: flex; gap: 32px; padding: 40px 0; }
.shop-sidebar { width: 240px; flex-shrink: 0; }
.shop-main { flex: 1; }

/* Sidebar Current Category */
.sidebar-current {
    background: var(--dark); padding: 22px; margin-bottom: 10px;
    border-bottom: 2px solid var(--gold);
}
.sidebar-current-label {
    font-size: 10px; color: rgba(255,255,255,0.35); letter-spacing: 0.18em;
    text-transform: uppercase; margin-bottom: 6px;
}
.sidebar-current-name {
    font-size: 18px; color: var(--gold-light); font-family: var(--font-display);
    font-weight: 600; letter-spacing: 0.03em; margin-bottom: 6px;
}
.sidebar-reset {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px; color: rgba(255,255,255,0.45); letter-spacing: 0.03em;
    transition: var(--transition);
}
.sidebar-reset:hover { color: var(--gold-light); }
.sidebar-reset svg { opacity: 0.5; }

/* Sidebar Sections */
.sidebar-section { 
    background: #fff; padding: 18px; margin-bottom: 10px; 
    border: 1px solid var(--border-light); 
}
.sidebar-section h4 { 
    font-size: 12px; font-weight: 600; margin-bottom: 12px; 
    color: var(--text-muted); letter-spacing: 0.15em; text-transform: uppercase;
    display: flex; align-items: center; justify-content: space-between;
    padding-bottom: 10px; border-bottom: 1px solid var(--border-light);
}
.sidebar-section h4 svg { opacity: 0.4; }

/* Brand Grid - Compact tag style */
.sidebar-brand-grid {
    display: flex; flex-wrap: wrap; gap: 5px;
}
.sidebar-brand-grid a {
    display: inline-block; padding: 5px 10px; font-size: 12px;
    color: var(--text-light); background: var(--bg-gray);
    border: 1px solid var(--border-light); letter-spacing: 0.03em;
    transition: var(--transition);
}
.sidebar-brand-grid a:hover {
    border-color: var(--gold); color: var(--gold);
    background: var(--gold-bg);
}
.sidebar-brand-grid a.active {
    background: var(--dark); color: #fff; border-color: var(--dark);
}

/* Sub Categories */
.sidebar-sub {
    margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border-light);
    display: flex; flex-wrap: wrap; gap: 5px;
}
.sidebar-sub a {
    display: inline-block; padding: 4px 9px; font-size: 11px;
    color: var(--text-muted); border: 1px solid var(--border-light);
    letter-spacing: 0.02em; transition: var(--transition);
}
.sidebar-sub a:hover {
    color: var(--gold); border-color: var(--gold-light);
}

/* Price Grid */
.sidebar-price-grid {
    display: flex; flex-wrap: wrap; gap: 5px;
}
.sidebar-price-grid a {
    display: inline-block; padding: 4px 9px; font-size: 11px;
    color: var(--text-light); border: 1px solid var(--border-light);
    letter-spacing: 0.03em; transition: var(--transition);
}
.sidebar-price-grid a:hover {
    border-color: var(--gold); color: var(--gold); background: var(--gold-bg);
}
.sidebar-price-grid a.active {
    background: var(--gold); color: #fff; border-color: var(--gold);
}

/* Sidebar Bank Info - Compact */
.sidebar-bank {
    background: var(--gold-bg); padding: 16px 18px;
    border: 1px solid rgba(184,149,106,0.15);
    border-left: 3px solid var(--gold);
}
.sidebar-bank-title {
    font-size: 10px; font-weight: 600; color: var(--gold-dark);
    letter-spacing: 0.12em; margin-bottom: 8px; text-transform: uppercase;
}
.sidebar-bank-info {
    display: flex; flex-direction: column; gap: 2px;
}
.sidebar-bank-name { font-size: 12px; color: var(--text); font-weight: 500; }
.sidebar-bank-account { 
    font-size: 14px; color: var(--gold-dark); font-weight: 600; 
    letter-spacing: 0.06em; font-family: var(--font-display);
}
.sidebar-bank-holder { font-size: 11px; color: var(--text-muted); letter-spacing: 0.02em; }

.shop-toolbar {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 20px; padding: 12px 16px; background: #fff; 
    border: 1px solid var(--border-light);
}
.shop-toolbar .result-count { font-size: 14px; color: var(--text-muted); letter-spacing: 0.02em; }
.shop-toolbar select {
    padding: 8px 14px; border: 1px solid var(--border); font-size: 13px;
    letter-spacing: 0.02em; font-family: inherit;
}

/* ============ PRODUCT DETAIL ============ */
.product-detail { padding: 40px 0; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.product-gallery { position: sticky; top: 100px; }
.product-gallery-main {
    width: 100%; aspect-ratio: 1; background: var(--bg-gray); 
    overflow: hidden; margin-bottom: 10px; border: 1px solid var(--border-light);
}
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.product-gallery-main:hover img { transform: scale(1.03); }

.product-detail-info h1 { font-size: 26px; font-weight: 500; color: var(--dark); margin-bottom: 14px; letter-spacing: var(--letter-kr); line-height: 1.4; }
.product-detail-price {
    display: flex; align-items: baseline; gap: 14px; margin-bottom: 24px;
    padding-bottom: 24px; border-bottom: 1px solid var(--border-light);
}
.product-detail-price .price { font-size: 30px; font-weight: 600; color: var(--gold); font-family: var(--font-display); }
.product-detail-price .original { font-size: 16px; color: var(--text-muted); text-decoration: line-through; }
.product-detail-price .discount { font-size: 14px; color: var(--danger); font-weight: 600; }

.product-meta { margin-bottom: 24px; }
.product-meta-item { display: flex; padding: 11px 0; border-bottom: 1px solid var(--border-light); }
.product-meta-label { width: 110px; color: var(--text-muted); font-size: 14px; flex-shrink: 0; letter-spacing: 0.02em; }
.product-meta-value { font-size: 14px; }

.product-quantity { margin-bottom: 24px; }
.product-quantity label { font-size: 14px; font-weight: 500; margin-bottom: 8px; display: block; letter-spacing: 0.03em; }
.quantity-control { display: flex; align-items: center; border: 1px solid var(--border); overflow: hidden; width: fit-content; }
.quantity-control button {
    width: 42px; height: 42px; border: none; background: var(--bg-gray);
    cursor: pointer; font-size: 18px; transition: var(--transition);
}
.quantity-control button:hover { background: var(--border); }
.quantity-control input {
    width: 60px; height: 42px; text-align: center; border: none;
    border-left: 1px solid var(--border); border-right: 1px solid var(--border);
    font-size: 16px; font-weight: 600; outline: none; font-family: inherit;
}

.product-actions { display: flex; gap: 10px; margin-bottom: 24px; }
.btn-cart, .btn-buy {
    flex: 1; padding: 16px; border: none; 
    font-size: 14px; font-weight: 600; cursor: pointer; transition: var(--transition);
    font-family: inherit; letter-spacing: 0.08em;
}
.btn-cart { background: var(--dark); color: #fff; }
.btn-cart:hover { background: var(--dark-light); }
.btn-buy { background: var(--gold); color: #fff; }
.btn-buy:hover { background: var(--gold-dark); }

.product-bank-info {
    background: var(--bg-gray); padding: 18px; margin-top: 14px;
    border: 1px solid var(--border-light);
}
.product-bank-info h5 { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; letter-spacing: 0.08em; font-weight: 500; }
.product-bank-info p { font-size: 14px; color: var(--dark); font-weight: 500; }

/* ============ CART PAGE ============ */
.cart-page { padding: 40px 0; }
.cart-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--border-light); }
.cart-table th {
    background: var(--dark); color: #fff; padding: 14px 16px; font-size: 13px;
    font-weight: 500; text-align: left; letter-spacing: 0.08em;
}
.cart-table td { padding: 16px; border-bottom: 1px solid var(--border-light); vertical-align: middle; }
.cart-product { display: flex; align-items: center; gap: 14px; }
.cart-product-img {
    width: 80px; height: 80px; object-fit: cover; background: var(--bg-gray);
    border: 1px solid var(--border-light);
}
.cart-product-name { font-size: 14px; font-weight: 500; letter-spacing: var(--letter-kr); }
.cart-summary {
    background: #fff; padding: 28px; margin-top: 20px;
    border: 1px solid var(--border-light); max-width: 400px; margin-left: auto;
}
.cart-summary-item { display: flex; justify-content: space-between; padding: 10px 0; font-size: 14px; }
.cart-summary-total {
    display: flex; justify-content: space-between; padding: 16px 0;
    border-top: 2px solid var(--dark); margin-top: 10px;
    font-size: 20px; font-weight: 600;
}
.cart-summary-total .total-price { color: var(--gold); font-family: var(--font-display); }
.cart-checkout-btn {
    display: block; width: 100%; padding: 16px; background: var(--gold);
    color: #fff; border: none; font-size: 14px;
    font-weight: 600; cursor: pointer; margin-top: 14px; transition: var(--transition);
    font-family: inherit; letter-spacing: 0.12em;
}
.cart-checkout-btn:hover { background: var(--gold-dark); }

/* ============ CHECKOUT ============ */
.checkout-page { padding: 40px 0; }
.checkout-grid { display: grid; grid-template-columns: 1fr 360px; gap: 32px; }
.checkout-form { background: #fff; padding: 32px; border: 1px solid var(--border-light); }
.checkout-section { margin-bottom: 32px; }
.checkout-section h3 { font-size: 18px; font-weight: 500; color: var(--dark); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--gold); letter-spacing: 0.03em; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 5px; color: var(--text); letter-spacing: 0.03em; }
.form-group label .req { color: var(--danger); }
.form-control {
    width: 100%; padding: 12px 14px; border: 1px solid var(--border); 
    font-size: 14px; transition: var(--transition); font-family: inherit;
    background: #fff; letter-spacing: var(--letter-kr);
}
.form-control:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 2px rgba(184,149,106,0.08); }
select.form-control { appearance: auto; }
textarea.form-control { min-height: 80px; resize: vertical; }

.checkout-summary { position: sticky; top: 100px; }
.checkout-summary-card {
    background: #fff; padding: 24px; border: 1px solid var(--border-light);
}
.checkout-summary-card h3 { font-size: 16px; font-weight: 500; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--gold); letter-spacing: 0.03em; }
.order-item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border-light); }
.order-item-img { width: 56px; height: 56px; object-fit: cover; background: var(--bg-gray); }
.order-item-info { flex: 1; }
.order-item-name { font-size: 13px; font-weight: 500; margin-bottom: 3px; }
.order-item-meta { font-size: 11px; color: var(--text-muted); }
.order-item-price { font-size: 14px; font-weight: 600; text-align: right; }

.summary-line { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.summary-total { display: flex; justify-content: space-between; padding: 14px 0; border-top: 2px solid var(--dark); font-size: 18px; font-weight: 600; }
.summary-total .amount { color: var(--gold); }
.btn-order {
    width: 100%; padding: 16px; background: var(--gold); color: #fff; border: none;
    font-size: 14px; font-weight: 600; cursor: pointer;
    transition: var(--transition); font-family: inherit; margin-top: 14px;
    letter-spacing: 0.12em;
}
.btn-order:hover { background: var(--gold-dark); }

/* Bank info highlight */
.bank-info-box {
    background: var(--gold-bg); border: 1px solid var(--gold-light);
    padding: 28px; margin-top: 14px;
    position: relative; overflow: hidden;
}
.bank-info-box::before {
    content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%;
    background: var(--gold);
}
.bank-info-box h5 { color: var(--gold-dark); font-size: 14px; margin-bottom: 12px; letter-spacing: 0.08em; font-weight: 600; }
.bank-info-box p { font-size: 14px; line-height: 2.0; }
.bank-info-box .bank-detail { font-weight: 600; color: var(--dark); }

/* ============ AUTH PAGES ============ */
.auth-page { min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 40px 0; background: var(--bg-gray); }
.auth-box {
    width: 100%; max-width: 440px; background: #fff; 
    padding: 48px; box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--gold);
}
.auth-box h2 { font-size: 26px; font-weight: 600; text-align: center; margin-bottom: 6px; color: var(--dark); font-family: var(--font-display); letter-spacing: var(--letter-display); }
.auth-box .subtitle { text-align: center; color: var(--text-muted); font-size: 14px; margin-bottom: 28px; letter-spacing: 0.02em; }
.auth-box .form-group { margin-bottom: 16px; }
.auth-btn {
    width: 100%; padding: 16px; background: var(--gold); color: #fff; border: none;
    font-size: 14px; font-weight: 600; cursor: pointer;
    transition: var(--transition); font-family: inherit; letter-spacing: 0.12em;
}
.auth-btn:hover { background: var(--gold-dark); }
.auth-footer { text-align: center; margin-top: 24px; font-size: 13px; color: var(--text-muted); }
.auth-footer a { color: var(--gold); font-weight: 500; }

/* ============ MY PAGE ============ */
.mypage-layout { display: flex; gap: 32px; padding: 40px 0; }
.mypage-sidebar { width: 240px; }
.mypage-nav { background: #fff; overflow: hidden; border: 1px solid var(--border-light); }
.mypage-nav-header { background: var(--dark); padding: 24px; text-align: center; color: #fff; }
.mypage-nav-header h4 { font-size: 16px; margin-bottom: 3px; letter-spacing: 0.03em; }
.mypage-nav-header p { font-size: 12px; color: rgba(255,255,255,0.35); }
.mypage-nav a {
    display: block; padding: 13px 18px; font-size: 14px; color: var(--text-light);
    border-bottom: 1px solid var(--border-light); transition: var(--transition);
    position: relative; letter-spacing: var(--letter-kr);
}
.mypage-nav a::before {
    content: ''; position: absolute; left: 0; top: 0; width: 3px; height: 100%;
    background: var(--gold); transform: scaleY(0); transition: var(--transition);
}
.mypage-nav a:hover, .mypage-nav a.active { color: var(--gold); background: var(--bg-gray); font-weight: 500; }
.mypage-nav a:hover::before, .mypage-nav a.active::before { transform: scaleY(1); }

.mypage-content { flex: 1; }
.mypage-card { background: #fff; padding: 28px; border: 1px solid var(--border-light); margin-bottom: 14px; }
.mypage-card h3 { font-size: 18px; font-weight: 500; color: var(--dark); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--gold); letter-spacing: 0.03em; }

/* ============ FAQ PAGE ============ */
.faq-page { max-width: 800px; margin: 0 auto; }
.faq-categories {
    display: flex; gap: 6px; margin-bottom: 24px; flex-wrap: wrap;
    justify-content: center;
}
.faq-categories a {
    padding: 8px 20px; border: 1px solid var(--border); 
    font-size: 13px; color: var(--text-light); transition: var(--transition);
    letter-spacing: 0.03em;
}
.faq-categories a:hover, .faq-categories a.active {
    background: var(--gold); color: #fff; border-color: var(--gold);
}
.faq-item { border: 1px solid var(--border-light); margin-bottom: 5px; overflow: hidden; }
.faq-question {
    display: flex; align-items: center; padding: 16px 20px; cursor: pointer;
    background: #fff; transition: var(--transition); gap: 12px;
}
.faq-question:hover { background: var(--bg-gray); }
.faq-question.open { background: var(--bg-gray); }
.faq-num {
    width: 28px; height: 28px; background: var(--gold); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700; flex-shrink: 0;
}
.faq-text { flex: 1; font-size: 15px; font-weight: 400; color: var(--dark); letter-spacing: var(--letter-kr); }
.faq-toggle { font-size: 18px; color: var(--gold); font-weight: 300; flex-shrink: 0; }
.faq-answer { border-top: 1px solid var(--border-light); }
.faq-answer-content { padding: 16px 20px; font-size: 14px; line-height: 1.8; color: var(--text-light); background: var(--bg-gray); letter-spacing: var(--letter-kr); }

/* ============ NOTICE PAGE ============ */
.notice-page { max-width: 800px; margin: 0 auto; }
.notice-item { border: 1px solid var(--border-light); margin-bottom: 5px; overflow: hidden; }
.notice-header {
    display: flex; align-items: center; padding: 16px 20px; cursor: pointer;
    background: #fff; gap: 12px; transition: var(--transition);
}
.notice-header:hover { background: var(--bg-gray); }
.notice-badge {
    padding: 3px 10px; font-size: 10px; font-weight: 600; flex-shrink: 0;
    letter-spacing: 0.03em;
}
.notice-badge.important { background: var(--danger); color: #fff; }
.notice-badge.normal { background: var(--bg-gray); color: var(--text-muted); }
.notice-title { flex: 1; font-size: 14px; font-weight: 400; letter-spacing: var(--letter-kr); }
.notice-date { font-size: 12px; color: var(--text-muted); flex-shrink: 0; }
.notice-body { padding: 16px 20px; font-size: 14px; line-height: 1.8; color: var(--text-light); background: var(--bg-gray); border-top: 1px solid var(--border-light); }

/* ============ INQUIRY PAGE ============ */
.inquiry-page { max-width: 800px; margin: 0 auto; }

/* ============ SMART PAGINATION ============ */
.pagination-smart {
    display: flex; justify-content: center; align-items: center; gap: 3px; margin-top: 32px;
}
.pagination-smart a, .pagination-smart span {
    padding: 8px 14px; border: 1px solid var(--border);
    font-size: 14px; text-decoration: none; color: var(--text-light); transition: var(--transition);
}
.pagination-smart a:hover { border-color: var(--gold); color: var(--gold); }
.pagination-smart .active { background: var(--gold); color: #fff; border-color: var(--gold); }
.pagination-smart .disabled { color: var(--text-muted); cursor: not-allowed; opacity: 0.5; }
.pagination-smart .dots { border: none; padding: 8px 6px; color: var(--text-muted); }

/* ============ ORDER STATUS ============ */
.order-status-flow { display: flex; justify-content: center; margin: 24px 0; }
.order-step {
    display: flex; flex-direction: column; align-items: center; position: relative;
    padding: 0 28px;
}
.order-step::after {
    content: ''; position: absolute; top: 18px; left: calc(50% + 22px);
    width: calc(100% - 44px); height: 1px; background: var(--border);
}
.order-step:last-child::after { display: none; }
.order-step.active::after { background: var(--gold); }
.order-step.completed::after { background: var(--success); }
.step-dot {
    width: 36px; height: 36px; border-radius: 50%; background: var(--bg-gray);
    display: flex; align-items: center; justify-content: center; font-size: 13px;
    font-weight: 700; margin-bottom: 6px; color: var(--text-muted); z-index: 1;
}
.order-step.active .step-dot { background: var(--gold); color: #fff; }
.order-step.completed .step-dot { background: var(--success); color: #fff; }
.step-label { font-size: 12px; color: var(--text-muted); letter-spacing: 0.03em; }
.order-step.active .step-label { color: var(--gold); font-weight: 600; }

/* ============ MOBILE SIDEBAR OVERLAY ============ */
.mobile-sidebar-overlay {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5); z-index: 9998;
}
.mobile-sidebar-overlay.active { display: block; }
.mobile-sidebar-panel {
    position: fixed; top: 0; left: -280px; width: 280px; height: 100%;
    background: #fff; z-index: 9999; overflow-y: auto;
    transition: left 0.3s ease;
    padding: 20px;
}
.mobile-sidebar-panel.active { left: 0; }

/* ============ RESPONSIVE ============ */

/* Global mobile overflow fix */
html, body { overflow-x: hidden; max-width: 100vw; }

@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .checkout-grid { grid-template-columns: 1fr; }
    .product-detail-grid { grid-template-columns: 1fr; gap: 32px; }
    .container { padding: 0 20px; }
    .hero h2 { font-size: 36px; }
}

@media (max-width: 768px) {
    /* ===== CRITICAL: Prevent any horizontal scroll ===== */
    img, video, svg, iframe, table, .product-image, .banner-item, .bank-info-box { max-width: 100%; }
    html, body { overflow-x: hidden; width: 100%; }
    
    /* Container */
    .container { padding: 0 16px; width: 100%; box-sizing: border-box; }
    
    /* Top Bar - compact single line */
    .top-bar { font-size: 11px; padding: 8px 0; display: none; }
    
    /* ===== HEADER - Complete mobile redesign ===== */
    .site-header { position: sticky; top: 0; z-index: 1000; }
    .header-main { 
        flex-wrap: wrap; 
        padding: 10px 0; 
        gap: 8px;
    }
    .mobile-menu-btn { display: flex; order: 1; }
    .logo { order: 2; flex: 1; }
    .logo h1 { font-size: 20px; }
    .logo-sub { display: none; }
    .header-actions { 
        order: 3; gap: 8px; flex-shrink: 0;
    }
    .header-action .icon-svg { width: 34px; height: 34px; }
    .header-action span:not(.icon-svg):not(.cart-count) { display: none; }
    
    /* Search bar - full width on its own row */
    .header-search { 
        order: 4; 
        flex: 1 1 100%; 
        max-width: 100%; 
        margin: 4px 0 0; 
        width: 100%;
    }
    .header-search form { width: 100%; }
    .header-search input { 
        padding: 10px 12px; font-size: 14px; 
        min-width: 0; flex: 1;
    }
    .header-search button { padding: 10px 16px; flex-shrink: 0; }
    
    /* ===== NAVIGATION - Hidden on mobile, use sidebar instead ===== */
    .nav-bar { display: none; }
    
    /* ===== HERO ===== */
    .hero { padding: 48px 0; }
    .hero h2 { font-size: 24px; line-height: 1.3; }
    .hero p { font-size: 13px; margin-bottom: 20px; }
    .hero-btn { padding: 12px 28px; font-size: 12px; }
    .hero-badge { font-size: 9px; padding: 6px 16px; letter-spacing: 0.2em; margin-bottom: 16px; }
    .hero::before, .hero::after { display: none; }
    
    /* Stats */
    .stats-bar .container { 
        gap: 20px; 
        flex-wrap: wrap; 
        justify-content: center; 
    }
    .stat-number { font-size: 20px; }
    .stat-label { font-size: 10px; }
    
    /* Sections */
    .section { padding: 36px 0; }
    .section-header { margin-bottom: 24px; }
    .section-header h3 { font-size: 20px; }
    .section-header p { font-size: 12px; }
    
    /* Brand Groups - mobile friendly */
    .brand-group { margin-bottom: 16px; }
    .brand-group-header { padding: 12px 16px; }
    .brand-group-name { font-size: 15px; }
    .brand-group-en { font-size: 9px; }
    .brand-tags { gap: 6px; padding: 14px 16px; }
    .brand-tag {
        padding: 8px 12px;
        font-size: 13px;
        gap: 6px;
    }
    .brand-tag-icon {
        width: 24px;
        height: 24px;
        font-size: 9px;
    }
    .brand-tag-name { font-size: 13px; }
    .brand-tag-count { font-size: 10px; }
    .brand-toggle { padding: 10px; font-size: 12px; }
    
    /* Product Grid - 2 columns */
    .product-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 10px; 
    }
    .product-image { padding-top: 120%; }
    .product-info { padding: 10px 8px 12px; }
    .product-name { font-size: 12px; min-height: 36px; -webkit-line-clamp: 2; line-height: 1.4; }
    .product-price .price { font-size: 15px; }
    .product-category { font-size: 10px; }
    .product-badge { font-size: 9px; padding: 2px 6px; }
    
    /* Banner - stack */
    .banner-grid { grid-template-columns: 1fr; }
    .banner-item { height: auto; min-height: 140px; padding: 20px; }
    .banner-item h4 { font-size: 18px; }
    .banner-item p { font-size: 12px; margin-bottom: 10px; }
    
    /* ===== SHOP LAYOUT - Stack, sidebar becomes dropdown/filter bar ===== */
    .shop-layout { 
        flex-direction: column; 
        gap: 12px; 
        padding: 16px 0; 
    }
    .shop-sidebar { 
        width: 100%; 
        flex-direction: column;
        gap: 8px;
    }
    .sidebar-current { padding: 14px; margin-bottom: 0; }
    .sidebar-current-name { font-size: 15px; }
    .sidebar-section { margin-bottom: 0; }
    .sidebar-bank { }
    .sidebar-brand-grid { gap: 4px; }
    .sidebar-brand-grid a { padding: 4px 8px; font-size: 11px; }
    .sidebar-price-grid { gap: 4px; }
    .sidebar-price-grid a { padding: 4px 8px; font-size: 11px; }
    .sidebar-sub { gap: 4px; }
    .sidebar-sub a { padding: 3px 7px; font-size: 10px; }
    
    /* Shop toolbar */
    .shop-toolbar { 
        flex-wrap: wrap; gap: 8px; 
        padding: 10px 12px; 
    }
    .shop-toolbar .result-count { font-size: 13px; width: 100%; }
    
    /* Page Banner */
    .page-banner { padding: 28px 0; }
    .page-banner h2 { font-size: 22px; }
    .page-banner p { font-size: 12px; }
    .page-banner::before { display: none; }
    
    /* ===== PRODUCT DETAIL ===== */
    .product-detail { padding: 16px 0; }
    .product-detail-grid { gap: 20px; }
    .product-gallery { position: static; }
    .product-detail-info h1 { font-size: 18px; }
    .product-detail-price .price { font-size: 22px; }
    .product-meta-item { flex-wrap: wrap; }
    .product-meta-label { width: 90px; font-size: 13px; }
    .product-meta-value { font-size: 13px; }
    .product-actions { flex-direction: column; gap: 8px; }
    .btn-cart, .btn-buy { padding: 14px; font-size: 13px; }
    
    /* ===== CART ===== */
    .cart-page { padding: 16px 0; }
    .cart-table { font-size: 12px; display: block; }
    .cart-table thead { display: none; }
    .cart-table tbody { display: block; }
    .cart-table tr { 
        display: block; 
        padding: 12px; 
        border: 1px solid var(--border-light); 
        margin-bottom: 8px; 
        position: relative;
    }
    .cart-table td { 
        display: block; 
        padding: 4px 0; 
        border: none;
        text-align: left;
    }
    .cart-table td::before { 
        content: attr(data-label); 
        font-weight: 600; 
        font-size: 11px; 
        color: var(--text-muted);
        display: block; 
        margin-bottom: 2px; 
    }
    .cart-product { gap: 10px; }
    .cart-product-img { width: 70px; height: 70px; }
    .cart-product-name { font-size: 13px; }
    .cart-summary { max-width: 100%; padding: 20px; }
    .cart-checkout-btn { padding: 14px; }
    
    /* ===== CHECKOUT ===== */
    .checkout-page { padding: 16px 0; }
    .checkout-grid { grid-template-columns: 1fr; gap: 16px; }
    .checkout-form { padding: 16px; }
    .checkout-section h3 { font-size: 16px; }
    .form-row { grid-template-columns: 1fr; gap: 10px; }
    .form-group { margin-bottom: 10px; }
    .form-control { padding: 10px 12px; font-size: 14px; }
    .checkout-summary { position: static; }
    .checkout-summary-card { padding: 16px; }
    .bank-info-box { padding: 16px; }
    
    /* ===== FOOTER ===== */
    .footer-grid { grid-template-columns: 1fr; gap: 20px; }
    .site-footer { padding: 32px 0 0; }
    .footer-brand h3 { font-size: 18px; }
    .footer-brand p { font-size: 12px; }
    
    /* ===== MY PAGE ===== */
    .mypage-layout { flex-direction: column; gap: 12px; }
    .mypage-sidebar { width: 100%; }
    .mypage-nav { 
        display: flex; 
        overflow-x: auto; 
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .mypage-nav::-webkit-scrollbar { display: none; }
    .mypage-nav-header { display: none; }
    .mypage-nav a { 
        white-space: nowrap; 
        border-bottom: none; 
        border-right: 1px solid var(--border-light); 
        padding: 10px 14px; 
        font-size: 13px;
    }
    .mypage-card { padding: 16px; }
    .mypage-card h3 { font-size: 16px; }
    
    /* Auth */
    .auth-box { padding: 28px 20px; }
    .auth-box h2 { font-size: 22px; }
    
    /* FAQ/Notice */
    .faq-question { padding: 12px 14px; }
    .faq-text { font-size: 14px; }
    .notice-header { padding: 12px 14px; }
    
    /* Pagination */
    .pagination-smart a, .pagination-smart span { padding: 6px 10px; font-size: 13px; }
}

@media (max-width: 480px) {
    .container { padding: 0 12px; }
    
    /* Hero */
    .hero { padding: 36px 0; }
    .hero h2 { font-size: 20px; }
    .hero p { font-size: 12px; }
    .hero-btn { padding: 10px 24px; font-size: 11px; }
    
    /* Product Grid */
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .product-image { padding-top: 125%; }
    .product-info { padding: 8px 6px 10px; }
    .product-name { font-size: 11px; min-height: 32px; }
    .product-price .price { font-size: 14px; }
    .product-price .original-price { font-size: 9px; }
    .product-price .discount { font-size: 9px; }
    
    /* Brand Groups - small screen */
    .brand-group { margin-bottom: 12px; }
    .brand-group-header { padding: 10px 12px; }
    .brand-group-name { font-size: 14px; }
    .brand-tags { gap: 5px; padding: 10px 12px; }
    .brand-tag {
        padding: 7px 10px;
        font-size: 12px;
        gap: 5px;
    }
    .brand-tag-icon {
        width: 22px;
        height: 22px;
        font-size: 8px;
    }
    .brand-tag-name { font-size: 12px; }
    .brand-tag-count { font-size: 9px; }
    
    /* Stats */
    .stats-bar .container { gap: 12px; }
    .stat-number { font-size: 16px; }
    .stat-label { font-size: 9px; }
    
    /* Sections */
    .section { padding: 28px 0; }
    .section-header h3 { font-size: 18px; }
    .section-header p { font-size: 11px; }
    .section-more a { padding: 8px 20px; font-size: 11px; }
    
    /* Product Detail */
    .product-detail-info h1 { font-size: 16px; }
    .product-detail-price .price { font-size: 20px; }
    .btn-cart, .btn-buy { padding: 12px; font-size: 12px; }
}
