/* ============================================
   HANGIL SPORTS — Premium Design System v5.0
   ============================================ */

/* --- Design Tokens --- */
:root {
    /* Brand */
    --primary: #0a0a0a;
    --dark: #0a0a0a;
    --white: #ffffff;
    --accent: #E31C25;
    --accent-dark: #c41820;
    --accent-soft: rgba(227, 28, 37, 0.09);

    /* Ink */
    --text: #14161a;
    --text-light: #5c6169;
    --text-muted: #8d939c;

    /* Surfaces */
    --bg: #fafafa;
    --bg-warm: #f6f5f3;
    --bg-sunken: #f0eeeb;
    --card-bg: #ffffff;
    --border: #e6e4e1;
    --border-light: #efedea;
    --hairline: rgba(10, 10, 10, 0.09);
    --hairline-dark: rgba(255, 255, 255, 0.14);

    /* Motion */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-fast: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);

    /* Type */
    --font: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Elevation */
    --shadow-xs: 0 1px 3px rgba(16, 18, 22, 0.04);
    --shadow-sm: 0 4px 14px rgba(16, 18, 22, 0.06);
    --shadow-md: 0 10px 34px rgba(16, 18, 22, 0.09);
    --shadow-lg: 0 24px 68px rgba(16, 18, 22, 0.14);

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-pill: 999px;

    /* Layout */
    --header-height: 76px;
    --container-max: 1320px;
    --section-y: clamp(72px, 9vw, 130px);

    /* Filmic grain, used on dark surfaces */
    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --- Reset --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 16px);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    background-color: var(--white);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 15px;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; font-family: inherit; background: none; color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { text-wrap: balance; }

::selection { background: var(--accent); color: var(--white); }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 2px;
}

/* Skip link — injected on every page */
.skip-link {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translate(-50%, -180%);
    z-index: 4000;
    background: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    transition: transform 0.25s var(--ease-out);
}

.skip-link:focus-visible { transform: translate(-50%, 0); }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* --- Layout --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from { opacity: 0; transform: translate(-50%, -8px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

@keyframes heroKen {
    from { transform: scale(1.06); }
    to { transform: scale(1); }
}

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

@keyframes shimmer {
    from { background-position: -420px 0; }
    to { background-position: 420px 0; }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 1s var(--ease-out) forwards;
}

.fade-delay-1 { animation-delay: 0.12s; }
.fade-delay-2 { animation-delay: 0.24s; }
.fade-delay-3 { animation-delay: 0.36s; }
.fade-delay-4 { animation-delay: 0.48s; }

/* Scroll-triggered reveals */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children inside a revealed block */
.stagger > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.stagger.revealed > * {
    opacity: 1;
    transform: translateY(0);
}

.stagger.revealed > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.revealed > *:nth-child(2) { transition-delay: 0.13s; }
.stagger.revealed > *:nth-child(3) { transition-delay: 0.21s; }
.stagger.revealed > *:nth-child(4) { transition-delay: 0.29s; }
.stagger.revealed > *:nth-child(5) { transition-delay: 0.37s; }
.stagger.revealed > *:nth-child(6) { transition-delay: 0.45s; }
.stagger.revealed > *:nth-child(7) { transition-delay: 0.53s; }
.stagger.revealed > *:nth-child(8) { transition-delay: 0.61s; }
.stagger.revealed > *:nth-child(9) { transition-delay: 0.69s; }

/* ============================================
   HEADER
   ============================================ */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--hairline);
    transition: background 0.4s var(--ease-out), border-color 0.4s var(--ease-out),
                box-shadow 0.4s var(--ease-out), color 0.4s var(--ease-out);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 1px 24px rgba(16, 18, 22, 0.07);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    height: var(--header-height);
    gap: 1rem;
}

/* --- Transparent header over the homepage hero --- */
body.home header:not(.scrolled):not(.is-solid) {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: transparent;
    box-shadow: none;
}

body.home header:not(.scrolled):not(.is-solid) .logo-main,
body.home header:not(.scrolled):not(.is-solid) .nav-links > li > a,
body.home header:not(.scrolled):not(.is-solid) .nav-links > li > .dropbtn,
body.home header:not(.scrolled):not(.is-solid) .icon-btn,
body.home header:not(.scrolled):not(.is-solid) .mobile-menu-btn {
    color: var(--white);
}

body.home header:not(.scrolled):not(.is-solid) .logo-sub {
    color: rgba(255, 255, 255, 0.65);
}

body.home header:not(.scrolled):not(.is-solid) .nav-links > li > a::after,
body.home header:not(.scrolled):not(.is-solid) .nav-links > li > .dropbtn::after {
    background: var(--white);
}

body.home header:not(.scrolled):not(.is-solid) .icon-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    color: var(--white);
}

body.home header:not(.scrolled):not(.is-solid) .nav-studio-link {
    color: rgba(255, 255, 255, 0.72) !important;
}

body.home header:not(.scrolled):not(.is-solid) .nav-studio-link:hover {
    color: var(--white) !important;
}

body.home header:not(.scrolled):not(.is-solid) .header-search-input {
    color: var(--white);
    border-bottom-color: rgba(255, 255, 255, 0.4);
}

body.home header:not(.scrolled):not(.is-solid) .header-search-input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

/* Logo */
.logo {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-shrink: 0;
    transition: opacity 0.2s;
}

.logo:hover { opacity: 0.65; }

.logo-main {
    font-size: 1.32rem;
    font-weight: 900;
    letter-spacing: -0.035em;
    color: var(--primary);
    transition: color 0.4s var(--ease-out);
}

.logo-sub {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: color 0.4s var(--ease-out);
}

/* Navigation */
.nav-wrapper nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    padding-right: 1rem;
    min-width: 0;
}

.nav-links {
    display: flex;
    gap: 0.1rem;
    align-items: center;
    white-space: nowrap;
}

.nav-links > li > a,
.nav-links > li > .dropbtn {
    font-size: 0.855rem;
    font-weight: 600;
    color: var(--text);
    padding: 0.55rem 0.62rem;
    position: relative;
    transition: color 0.22s var(--ease-out);
    display: inline-block;
    letter-spacing: -0.01em;
}

.nav-links > li > a::after,
.nav-links > li > .dropbtn::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.32s var(--ease-out);
}

.nav-links > li:hover > a::after,
.nav-links > li:hover > .dropbtn::after,
.nav-links > li:focus-within > a::after,
.nav-links > li:focus-within > .dropbtn::after {
    width: calc(100% - 1.24rem);
}

.nav-links > li:hover > a,
.nav-links > li:hover > .dropbtn { color: var(--accent); }

/* Studio Link — quietly distinct */
.nav-studio-link {
    color: var(--text-light) !important;
    font-weight: 500 !important;
}

.nav-studio-link:hover { color: var(--text) !important; }

/* Dropdown */
.dropdown { position: relative; }

.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% - 4px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    min-width: 168px;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-sm);
    padding: 6px;
    z-index: 1000;
    animation: slideDown 0.22s var(--ease-out);
    border: 1px solid var(--border-light);
}

.dropdown-content a {
    color: var(--text);
    padding: 9px 16px;
    display: block;
    font-size: 0.845rem;
    font-weight: 500;
    border-radius: 4px;
    transition: var(--transition-fast);
    text-align: center;
}

.dropdown-content a:hover {
    background: var(--bg-warm);
    color: var(--accent);
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content,
.dropdown.is-open .dropdown-content { display: block; }

/* Header Icons */
.header-icons {
    display: flex;
    gap: 4px;
    align-items: center;
    flex-shrink: 0;
}

.icon-btn {
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.icon-btn:hover {
    background: var(--bg-warm);
    color: var(--accent);
}

.cart-badge {
    position: absolute;
    top: 3px;
    right: 3px;
    background: var(--accent);
    color: white;
    font-size: 0.62rem;
    font-weight: 800;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-pill);
    box-shadow: 0 0 0 2px var(--white);
}

body.home header:not(.scrolled):not(.is-solid) .cart-badge {
    box-shadow: none;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    color: var(--text);
    padding: 6px;
    border-radius: 50%;
    transition: var(--transition-fast);
}

/* Mobile drawer backdrop (injected) */
.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.45);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease-out);
    z-index: 998;
}

.nav-backdrop.active { opacity: 1; pointer-events: auto; }

body.nav-open { overflow: hidden; }

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    min-height: 640px;
    height: 100svh;
    max-height: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #07080a;
    isolation: isolate;
}

/* Video / image backdrop */
.hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.52) contrast(1.06) saturate(0.82);
    animation: heroKen 14s var(--ease-soft) forwards;
}

.hero-media.is-poster { z-index: 0; }

/* Video sits above the poster once it can play */
video.hero-media { opacity: 0; transition: opacity 1.2s var(--ease-out); z-index: 1; }
video.hero-media.is-ready { opacity: 1; }

/* Legacy hook — kept so any cached markup still renders a backdrop */
.hero-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        radial-gradient(120% 90% at 50% 45%, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.62) 62%, rgba(0, 0, 0, 0.82) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.12) 32%, rgba(0, 0, 0, 0.2) 62%, rgba(7, 8, 10, 0.92) 100%);
}

.hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--grain);
    opacity: 0.045;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    padding: 0 1.5rem;
    max-width: 940px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.34em;
    color: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 9px 22px 9px 20px;
    border-radius: var(--radius-pill);
    margin-bottom: 2rem;
    text-indent: 0.34em;
}

.hero-badge::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    box-shadow: 0 0 12px 2px rgba(227, 28, 37, 0.85);
}

.hero-title {
    font-size: clamp(2.6rem, 7vw, 5.1rem);
    font-weight: 200;
    line-height: 1.14;
    letter-spacing: -0.045em;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.45);
}

.hero-accent {
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.hero-accent::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.06em;
    height: 0.075em;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    animation: heroUnderline 1.1s var(--ease-out) 0.75s forwards;
}

@keyframes heroUnderline {
    to { transform: scaleX(1); }
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 2.8rem;
    letter-spacing: 0.01em;
}

.hero-actions {
    display: flex;
    gap: 0.85rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary,
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 34px;
    font-size: 0.94rem;
    border-radius: var(--radius-pill);
    transition: var(--transition);
    letter-spacing: -0.01em;
}

.btn-hero-primary {
    background: var(--white);
    color: var(--primary);
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.btn-hero-primary:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(227, 28, 37, 0.4);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.38);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.btn-hero-secondary:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-3px);
}

.btn-arrow {
    display: inline-block;
    transition: transform 0.35s var(--ease-out);
}

.btn-hero-primary:hover .btn-arrow,
.btn-hero-secondary:hover .btn-arrow,
.btn-cta:hover .btn-arrow,
.btn-inquiry:hover .btn-arrow { transform: translateX(4px); }

/* Hero footer strip — trust cues */
/* left/right 0 + center 정렬로 배치한다.
   .fade-in 의 translateY 애니메이션이 transform 을 덮어쓰므로
   translateX(-50%) 방식으로는 가운데 정렬이 깨진다. */
.hero-meta {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 34px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
}

.hero-meta span { display: inline-flex; align-items: center; gap: 0.6rem; }

.hero-meta span::before {
    content: '';
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--accent);
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    right: 42px;
    bottom: 34px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.hero-scroll-indicator span {
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 700;
    writing-mode: vertical-rl;
}

.scroll-line {
    width: 1px;
    height: 46px;
    background: rgba(255, 255, 255, 0.24);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    animation: scrollLine 2.2s var(--ease-soft) infinite;
}

/* ============================================
   BRAND VALUES SECTION
   ============================================ */
.brand-values {
    padding: var(--section-y) 0;
    background: var(--white);
}

.values-intro {
    max-width: 640px;
    margin: 0 auto clamp(3rem, 5vw, 4.5rem);
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--hairline);
}

.value-item {
    text-align: left;
    padding: 2.6rem 2rem 2.2rem;
    border-right: 1px solid var(--hairline);
    position: relative;
    transition: background 0.4s var(--ease-out);
}

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

.value-item::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.5s var(--ease-out);
}

.value-item:hover { background: var(--bg-warm); }
.value-item:hover::before { width: 100%; }

.value-number {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 0.16em;
    margin-bottom: 1.4rem;
    font-variant-numeric: tabular-nums;
}

.value-item h3 {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 0.7rem;
    color: var(--primary);
}

.value-item p {
    font-size: 0.885rem;
    color: var(--text-light);
    line-height: 1.85;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 4vw, 3.6rem);
}

.section-header.is-split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    text-align: left;
}

.section-label {
    display: inline-flex;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--text-muted);
    margin-bottom: 0.9rem;
}

/* 라벨 앞뒤의 장식용 짧은 선은 뜻이 없어 걷어냈다 (2026-09-10) */

.section-title {
    font-size: clamp(1.7rem, 3.1vw, 2.45rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.28;
    color: var(--primary);
}

.section-desc {
    margin-top: 0.9rem;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.85;
}

.section-link {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-light);
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--border);
    transition: var(--transition-fast);
}

.section-link:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
    gap: 12px;
}

/* ============================================
   CATEGORY INDEX (quiet typographic nav band)
   ============================================ */
.category-index {
    padding: 0 0 var(--section-y);
    background: var(--white);
}

.category-index-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--hairline);
    border-left: 1px solid var(--hairline);
}

.category-chip {
    display: flex;
    align-items: baseline;
    gap: 0.85rem;
    padding: 1.35rem 1.6rem;
    border-right: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    position: relative;
    overflow: hidden;
    transition: color 0.3s var(--ease-out);
}

.category-chip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary);
    transform: translateY(101%);
    transition: transform 0.42s var(--ease-out);
    z-index: 0;
}

.category-chip:hover { color: var(--white); }
.category-chip:hover::before { transform: translateY(0); }

.category-chip > * { position: relative; z-index: 1; }

.category-chip .cat-num {
    font-size: 0.66rem;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    font-variant-numeric: tabular-nums;
    transition: color 0.3s var(--ease-out);
}

.category-chip:hover .cat-num { color: var(--accent); }

.category-chip .cat-name {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    flex: 1;
}

.category-chip .cat-go {
    font-size: 0.9rem;
    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.34s var(--ease-out);
    color: var(--accent);
}

.category-chip:hover .cat-go { opacity: 1; transform: translateX(0); }

/* ============================================
   CATEGORY SHOWCASE (Homepage)
   ============================================ */
.category-showcase {
    padding: var(--section-y) 0;
    background: var(--bg-warm);
    position: relative;
}

.product-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

/* Home Column */
.home-column {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.9rem 1.75rem;
    border: 1px solid var(--border-light);
    transition: box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
    display: flex;
    flex-direction: column;
}

.home-column:hover {
    box-shadow: var(--shadow-md);
    border-color: transparent;
    transform: translateY(-4px);
}

.column-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: 0.9rem;
    margin-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
}

.column-header h3 {
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.025em;
}

.column-header .more-link {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 700;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.column-header .more-link:hover { color: var(--accent); gap: 7px; }

.column-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
}

/* Mini Product Item */
.mini-product-item {
    display: flex;
    gap: 0.95rem;
    cursor: pointer;
    align-items: center;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition-fast);
    text-align: left;
    width: 100%;
}

.mini-product-item:last-child { border-bottom: none; }

.mini-product-item:hover .mini-product-name { color: var(--accent); }

.mini-product-thumb {
    width: 68px;
    height: 68px;
    background: var(--bg-sunken);
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.mini-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out);
}

.mini-product-item:hover .mini-product-thumb img { transform: scale(1.09); }

.mini-product-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mini-product-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: var(--primary);
    color: var(--white);
    font-weight: 800;
    font-size: 0.66rem;
    margin-right: 7px;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
    vertical-align: 1px;
}

.mini-product-item:nth-child(1) .mini-product-rank { background: var(--accent); }

.mini-product-name {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.22s var(--ease-out);
    letter-spacing: -0.015em;
}

.mini-product-price {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

/* Loading skeleton */
.mini-skeleton {
    display: flex;
    gap: 0.95rem;
    align-items: center;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border-light);
}

.sk-box, .sk-line {
    background: linear-gradient(90deg, var(--bg-sunken) 25%, #e7e4e0 50%, var(--bg-sunken) 75%);
    background-size: 420px 100%;
    animation: shimmer 1.4s linear infinite;
    border-radius: 6px;
}

.sk-box { width: 68px; height: 68px; flex-shrink: 0; border-radius: 8px; }
.sk-lines { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.sk-line { height: 11px; }
.sk-line.short { width: 45%; }

.column-empty {
    color: var(--text-muted);
    font-size: 0.88rem;
    padding: 1.6rem 0;
    text-align: center;
}

/* Inquiry Column */
.inquiry-column {
    background: var(--primary) !important;
    color: var(--white) !important;
    border-color: transparent !important;
    position: relative;
    overflow: hidden;
}

.inquiry-column::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--grain);
    opacity: 0.05;
    pointer-events: none;
}

.inquiry-column > * { position: relative; z-index: 1; }

.inquiry-column:hover { transform: translateY(-4px); }

.inquiry-column .column-header { border-bottom-color: rgba(255, 255, 255, 0.22); }
.inquiry-column .column-header h3 { color: var(--white); }

.inquiry-box {
    text-align: center;
    padding: 1.9rem 0.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.inquiry-box:last-child { border-bottom: none; }

.inquiry-box h4 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 0.7rem;
    letter-spacing: -0.02em;
}

.inquiry-box p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.58);
    line-height: 1.75;
    margin-bottom: 1.2rem;
}

.inquiry-box .phone-number {
    font-size: 1.42rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.03em;
    margin: 0.4rem 0 0.8rem;
    font-variant-numeric: tabular-nums;
    transition: color 0.25s var(--ease-out);
}

a.phone-number:hover { color: var(--accent); }

.btn-inquiry {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 26px;
    background: var(--white);
    color: var(--primary);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    transition: var(--transition);
}

.btn-inquiry:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(227, 28, 37, 0.35);
}

/* ============================================
   DESIGN STUDIO CTA
   ============================================ */
.cta-banner {
    padding: var(--section-y) 0;
    background: var(--white);
}

.cta-content {
    background: linear-gradient(145deg, #101114 0%, #1d1f24 55%, #17181c 100%);
    border-radius: var(--radius-lg);
    padding: clamp(2.5rem, 4.5vw, 4.25rem);
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    align-items: center;
    gap: clamp(2rem, 4vw, 4rem);
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -12%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(227, 28, 37, 0.2) 0%, transparent 68%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-content::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--grain);
    opacity: 0.05;
    pointer-events: none;
}

.cta-text {
    position: relative;
    z-index: 1;
}

.cta-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.26em;
    color: var(--accent);
    margin-bottom: 1.1rem;
    text-transform: uppercase;
}

.cta-label::before {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--accent);
}

.cta-text h2 {
    font-size: clamp(1.6rem, 2.9vw, 2.35rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: -0.035em;
    line-height: 1.3;
}

.cta-text p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.85;
}

/* Studio steps */
.cta-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.75rem 0 2rem;
}

.cta-step {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 15px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.04);
}

.cta-step b {
    color: var(--accent);
    font-weight: 800;
    font-size: 0.7rem;
    font-variant-numeric: tabular-nums;
}

.cta-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.btn-cta,
.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 15px 32px;
    font-weight: 700;
    font-size: 0.92rem;
    border-radius: var(--radius-pill);
    transition: var(--transition);
    letter-spacing: -0.01em;
}

.btn-cta {
    background: var(--white);
    color: var(--primary);
}

.btn-cta:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(227, 28, 37, 0.38);
}

.btn-cta-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.65);
    transform: translateY(-3px);
}

/* Studio canvas visual — 도복 사진 위에 패치 칩을 올린 "작업 캔버스" */
.cta-visual {
    position: relative;
    z-index: 1;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-md);
    background: #efedea;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

.cta-visual::before {
    content: '';
    position: absolute;
    inset: 14px;
    border: 1px dashed rgba(10, 10, 10, 0.22);
    border-radius: 10px;
    pointer-events: none;
    z-index: 2;
}

.cta-visual-dobok {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-patch {
    position: absolute;
    z-index: 3;
    width: 24%;
    height: auto;
    background: var(--white);
    border-radius: 50%;
    padding: 5px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
    animation: floatChip 5.5s var(--ease-soft) infinite;
}

.cta-patch-1 { top: 11%; left: 8%; animation-delay: 0s; }

.cta-patch-2 {
    bottom: 12%;
    right: 8%;
    width: 30%;
    animation-delay: 1.3s;
    border-radius: 10px;
    padding: 6px 10px;
}

.cta-visual-tag {
    position: absolute;
    z-index: 3;
    top: 26px;
    left: 26px;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--text-light);
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.85);
    padding: 4px 9px;
    border-radius: 4px;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: #111;
    color: #888;
    padding: 60px 0 30px;
    font-size: 0.88rem;
}

.footer-top {
    display: flex;
    gap: 4rem;
    padding-bottom: 40px;
    border-bottom: 1px solid #222;
    margin-bottom: 30px;
}

.footer-brand {
    flex-shrink: 0;
    min-width: 200px;
}

.footer-logo-text {
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--white);
    line-height: 1.2;
    display: block;
    margin-bottom: 12px;
}

.footer-brand-desc {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.7;
}

.footer-links {
    display: flex;
    gap: 4rem;
    flex: 1;
}

.footer-column h4 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 16px;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #777;
    transition: color 0.2s;
    font-size: 0.85rem;
}

.footer-column ul li a:hover {
    color: var(--white);
}

.footer-column ul.split-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem 2rem;
}

.footer-contact {
    flex-shrink: 0;
    text-align: right;
}

.footer-contact h4 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 16px;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
}

.footer-phone {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.footer-contact p {
    font-size: 0.82rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-contact .social-icons {
    justify-content: flex-end;
}

.social-icons {
    display: flex;
    gap: 8px;
}

.social-icon {
    width: 36px;
    height: 36px;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: #888;
    transition: var(--transition-fast);
}

.social-icon:hover {
    background: var(--accent);
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1rem;
}

.company-details p {
    font-size: 0.8rem;
    color: #555;
    margin-bottom: 4px;
}

.copyright {
    font-size: 0.78rem;
    color: #555;
}

.admin-link {
    color: #333 !important;
    font-size: 0.75rem;
    margin-left: 12px;
    transition: color 0.2s;
}

.admin-link:hover {
    color: #888 !important;
}

/* ============================================
   CS CENTER (공지사항, FAQ, 1:1문의, 오시는길)
   ============================================ */
.cs-subnav {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: var(--header-height);
    z-index: 90;
}

.cs-tabs {
    display: flex;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.cs-tab {
    padding: 16px 28px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #888;
    text-decoration: none;
    position: relative;
    white-space: nowrap;
    transition: color 0.2s;
    border-bottom: 2px solid transparent;
}

.cs-tab:hover {
    color: #333;
}

.cs-tab.active {
    color: var(--dark);
    border-bottom-color: var(--dark);
}

.cs-page-header {
    text-align: center;
    padding: 48px 0 36px;
}

.cs-page-header h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.cs-page-header p {
    color: #888;
    font-size: 0.95rem;
}

/* Notice Table */
.cs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.cs-table thead {
    border-top: 2px solid var(--dark);
    border-bottom: 1px solid #ddd;
}

.cs-table thead th {
    padding: 14px 12px;
    font-weight: 700;
    color: #555;
    text-align: center;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.cs-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.15s;
}

.cs-table tbody tr:hover {
    background: #fafafa;
}

.cs-table tbody td {
    padding: 15px 12px;
    text-align: center;
    color: #555;
}

.cs-table tbody td.title-cell {
    text-align: left;
    font-weight: 500;
    color: #333;
}

.cs-table .badge-new {
    display: inline-block;
    background: #e74c3c;
    color: #fff;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    font-weight: 700;
    vertical-align: middle;
}

/* Notice View */
.cs-view {
    max-width: 860px;
    margin: 0 auto;
}

.cs-view-header {
    border-top: 2px solid var(--dark);
    padding: 28px 0;
    border-bottom: 1px solid #eee;
}

.cs-view-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.cs-view-meta {
    display: flex;
    gap: 16px;
    color: #888;
    font-size: 0.85rem;
}

.cs-view-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.cs-view-body {
    padding: 36px 0;
    min-height: 250px;
    line-height: 1.85;
    color: #444;
    font-size: 0.95rem;
    border-bottom: 1px solid #eee;
}

.cs-view-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 32px 0;
}

/* Board Status Badge */
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    background: #f5f5f5;
    color: #999;
}

.status-badge.answered {
    background: #e7f5ff;
    color: #1c7ed6;
}

/* Board Write Form */
.cs-form {
    max-width: 760px;
    margin: 0 auto;
}

.cs-form-group {
    margin-bottom: 20px;
}

.cs-form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.cs-form-group label .required {
    color: #e74c3c;
    margin-left: 2px;
}

.cs-form-group input,
.cs-form-group textarea,
.cs-form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.92rem;
    font-family: inherit;
    transition: border-color 0.2s;
    background: #fff;
}

.cs-form-group input:focus,
.cs-form-group textarea:focus {
    outline: none;
    border-color: var(--dark);
}

.cs-form-group textarea {
    resize: vertical;
    min-height: 200px;
}

.cs-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.cs-form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.cs-form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--dark);
}

.cs-form-check label {
    font-size: 0.88rem;
    font-weight: 500;
    color: #555;
    margin-bottom: 0;
}

.cs-form-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid #eee;
    margin-top: 8px;
}

.cs-file-upload {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    color: #888;
    font-size: 0.88rem;
}

.cs-file-upload:hover {
    border-color: #bbb;
    background: #fafafa;
}

.cs-file-list {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cs-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: #f8f8f8;
    border-radius: 6px;
    font-size: 0.85rem;
}

.cs-file-item button {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    font-size: 1rem;
    padding: 0 4px;
}

/* Board View */
.cs-answer-box {
    margin-top: 24px;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
}

.cs-answer-box .answer-label {
    font-weight: 700;
    color: var(--accent);
    font-size: 0.88rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cs-answer-box .answer-content {
    line-height: 1.7;
    color: #444;
}

/* Password Modal */
.cs-password-wall {
    max-width: 400px;
    margin: 60px auto;
    text-align: center;
}

.cs-password-wall .lock-icon {
    width: 64px;
    height: 64px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.cs-password-wall h2 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.cs-password-wall p {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.cs-password-wall .pw-input-wrap {
    display: flex;
    gap: 8px;
}

.cs-password-wall .pw-input-wrap input {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
}

.cs-password-wall .pw-input-wrap button {
    padding: 12px 24px;
    background: var(--dark);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

/* FAQ Styles */
.cs-faq-list {
    max-width: 860px;
    margin: 0 auto;
}

/* FAQ Category Filter */
.cs-faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.cs-faq-cat-btn {
    padding: 8px 20px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text-light);
    font-size: 0.9rem;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.cs-faq-cat-btn:hover {
    border-color: var(--text);
    color: var(--text);
}

.cs-faq-cat-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    font-weight: 600;
}

.q-category {
    font-size: 0.75rem;
    padding: 2px 8px;
    background: var(--bg);
    color: var(--text-light);
    border-radius: 4px;
    margin-left: auto;
    margin-right: 8px;
    flex-shrink: 0;
}

.cs-faq-item {
    border-bottom: 1px solid #eee;
}

.cs-faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 16px;
    background: none;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: background 0.15s;
    color: #333;
    font-family: inherit;
}

.cs-faq-question:hover {
    background: #fafafa;
}

.cs-faq-question .q-badge {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: var(--dark);
    color: #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 800;
}

.cs-faq-question .q-text {
    flex: 1;
}

.cs-faq-question .q-icon {
    transition: transform 0.3s;
    color: #bbb;
    flex-shrink: 0;
}

.cs-faq-item.active .q-icon {
    transform: rotate(180deg);
}

.cs-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.cs-faq-answer-inner {
    padding: 0 16px 20px 60px;
    line-height: 1.75;
    color: #666;
    font-size: 0.92rem;
}

.cs-faq-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

/* Location */
.cs-map-wrapper {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.cs-map-wrapper iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: 0;
}

.cs-location-info {
    max-width: 700px;
    margin: 0 auto;
    display: grid;
    gap: 0;
}

.cs-loc-row {
    display: grid;
    grid-template-columns: 110px 1fr;
    padding: 18px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
}

.cs-loc-row:last-child {
    border-bottom: none;
}

.cs-loc-label {
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cs-loc-value {
    color: #555;
    line-height: 1.6;
}

/* CS Center Common Buttons */
.cs-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 11px 28px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-family: inherit;
}

.cs-btn-dark {
    background: var(--dark);
    color: #fff;
}

.cs-btn-dark:hover {
    background: #333;
}

.cs-btn-outline {
    background: #fff;
    color: #555;
    border: 1px solid #ddd;
}

.cs-btn-outline:hover {
    border-color: #999;
    color: #333;
}

.cs-btn-danger {
    background: #fff;
    color: #e74c3c;
    border: 1px solid #f5c6cb;
}

.cs-btn-danger:hover {
    background: #fff5f5;
}

/* CS Center Empty State */
.cs-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.cs-empty svg {
    margin-bottom: 16px;
    color: #ddd;
}

/* Pagination */
.cs-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-top: 32px;
    padding: 16px 0;
}

.cs-pagination button {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text);
    font-size: 0.9rem;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.cs-pagination button:hover {
    background: var(--bg);
    border-color: var(--text);
}

.cs-pagination button.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    font-weight: 700;
}

/* ============================================
   SHOP PAGE
   ============================================ */
.shop-layout {
    display: flex;
    gap: 2rem;
    margin-top: calc(var(--header-height) + 20px);
    position: relative;
    padding-bottom: 100px;
}

.shop-sidebar {
    width: 260px;
    flex-shrink: 0;
    height: fit-content;
    position: sticky;
    top: calc(var(--header-height) + 20px);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-xs);
}

.shop-content {
    flex: 1;
    min-height: 600px;
}

/* Filters */
.filter-group {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-title {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary);
    letter-spacing: 0.02em;
}

.filter-search-box {
    position: relative;
}

.filter-search-box input {
    width: 100%;
    padding: 10px 35px 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-family: var(--font);
    transition: var(--transition-fast);
    background: var(--bg);
}

.filter-search-box input:focus {
    border-color: var(--primary);
    outline: none;
    background: var(--white);
}

.filter-search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.filter-list {
    max-height: 300px;
    overflow-y: auto;
}

.filter-list::-webkit-scrollbar { width: 3px; }
.filter-list::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }

.filter-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--text-light);
    transition: color 0.2s;
}

.filter-item:hover { color: var(--text); }

.filter-item input[type='checkbox'] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    accent-color: var(--accent);
    cursor: pointer;
}

.price-range-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.price-input {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    text-align: right;
    font-family: var(--font);
    background: var(--bg);
}

.price-separator { color: var(--text-muted); }

.btn-filter-apply {
    width: 100%;
    background: var(--primary);
    color: var(--white);
    padding: 10px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 8px;
    transition: var(--transition-fast);
}

.btn-filter-apply:hover { background: #333; }

.btn-reset-filter {
    width: 100%;
    background: var(--bg);
    color: var(--text-light);
    padding: 10px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 6px;
    transition: var(--transition-fast);
}

.btn-reset-filter:hover { background: var(--border); }

/* Toolbar */
.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    background: var(--white);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
}

.total-count {
    font-weight: 500;
    color: var(--text-light);
    font-size: 0.88rem;
}

.total-count strong { color: var(--text); font-weight: 700; }

.sort-select {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.85rem;
    cursor: pointer;
    background: var(--white);
}

.sort-select:focus { outline: none; border-color: var(--primary); }

/* ============================================
   PRODUCT GRID & CARDS
   ============================================ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    padding-bottom: 3rem;
}

.product-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--bg);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-card:hover .product-image {
    transform: scale(1.06);
}

.discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: white;
    padding: 4px 10px;
    font-weight: 800;
    font-size: 0.78rem;
    border-radius: 4px;
    z-index: 2;
}

.product-info {
    padding: 1.2rem 1.4rem;
}

.product-brand {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 4px;
    display: block;
}

.product-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

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

.original-price {
    text-decoration: line-through;
    color: #bbb;
    font-size: 0.82rem;
}

.product-price {
    color: var(--text);
    font-weight: 800;
    font-size: 1rem;
}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
.breadcrumbs {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 2rem;
}

.product-detail-container {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.detail-image {
    flex: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.detail-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Image Gallery */
.detail-image-gallery {
    flex: 1;
    min-width: 0;
}

.gallery-main {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
    background: #fafafa;
    aspect-ratio: 1;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: opacity 0.2s;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    font-size: 1.4rem;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 5;
    opacity: 0;
    backdrop-filter: blur(4px);
}

.gallery-main:hover .gallery-nav {
    opacity: 1;
}

.gallery-nav:hover {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }

.gallery-counter {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.55);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    z-index: 5;
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

.gallery-thumbs::-webkit-scrollbar {
    height: 4px;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}

.gallery-thumb {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid var(--border-light);
    cursor: pointer;
    transition: all 0.2s;
    opacity: 0.6;
}

.gallery-thumb:hover {
    opacity: 0.9;
    border-color: #999;
}

.gallery-thumb.active {
    border-color: var(--text);
    opacity: 1;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-info { flex: 1; }

.brand-tag {
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
}

.detail-info h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.detail-price-wrapper {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-light);
}

.detail-original {
    text-decoration: line-through;
    color: #bbb;
    font-size: 1.1rem;
    margin-right: 0.8rem;
}

.detail-price {
    color: var(--text);
    font-size: 1.8rem;
    font-weight: 800;
}

.detail-options { margin-bottom: 2rem; }

.detail-options label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.detail-options select {
    width: 100%;
    padding: 12px 14px;
    font-size: 0.92rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    background: var(--white);
    cursor: pointer;
}

.detail-actions {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.detail-actions button {
    padding: 14px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    font-weight: 700;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(227,28,37,0.2);
}

.btn-secondary {
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 12px 24px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: var(--bg);
    transform: translateY(-2px);
}

.product-desc-box {
    background: var(--bg);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.product-desc-box h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.product-desc-box p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ============================================
   FORMS
   ============================================ */
.form-container {
    max-width: 500px;
    margin: calc(var(--header-height) + 40px) auto 60px;
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.88rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.92rem;
    transition: border-color 0.2s;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

/* ============================================
   ADMIN PAGES
   ============================================ */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
    padding-top: var(--header-height);
}

.admin-sidebar {
    width: 240px;
    background: var(--bg);
    border-right: 1px solid var(--border-light);
    padding: 2rem 0;
    flex-shrink: 0;
    height: calc(100vh - var(--header-height));
    position: sticky;
    top: var(--header-height);
    overflow-y: auto;
}

.admin-sidebar-header {
    padding: 0 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.admin-sidebar-menu { list-style: none; }

.admin-sidebar-menu li { margin-bottom: 2px; }

.admin-sidebar-menu a {
    display: block;
    padding: 10px 1.5rem;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.88rem;
    transition: var(--transition-fast);
    border-left: 3px solid transparent;
}

.admin-sidebar-menu a:hover,
.admin-sidebar-menu a.active {
    background: var(--white);
    color: var(--accent);
    border-left-color: var(--accent);
}

.admin-content {
    flex: 1;
    min-width: 0;
    padding: 2rem;
    background: var(--white);
    overflow-x: auto;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: calc(var(--header-height) + 20px);
    margin-bottom: 2rem;
}

.admin-action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

/* Admin Tables */
.admin-table,
.product-list-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.product-list-table td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-list-table td:last-child {
    white-space: normal;
    overflow: visible;
}

.admin-table th, .admin-table td,
.product-list-table th, .product-list-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.88rem;
}

.admin-table th,
.product-list-table th {
    background: var(--bg);
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-list-table img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--border-light);
}

.btn-danger {
    background: var(--accent);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.btn-danger:hover {
    background: var(--accent-dark);
}

.status-badge {
    background: var(--bg);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
}

.badge-stock {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 600;
}

.badge-stock.in-stock {
    background: #e6fcf5;
    color: #0ca678;
}

.board-actions { margin-bottom: 2rem; }

/* Admin Form Pages (notice-form, faq-form, board-detail) */
.admin-form-page {
    background: var(--bg);
    min-height: 100vh;
    padding-top: var(--header-height);
}

.admin-form-page .admin-topbar {
    background: var(--dark);
    padding: 0 2rem;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: var(--header-height);
    z-index: 90;
}

.admin-form-page .admin-topbar .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

.admin-form-page .admin-topbar .breadcrumb a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.admin-form-page .admin-topbar .breadcrumb a:hover {
    color: #fff;
}

.admin-form-page .admin-topbar .breadcrumb .current {
    color: #fff;
    font-weight: 600;
}

.admin-form-page .admin-topbar .topbar-actions {
    display: flex;
    gap: 8px;
}

.admin-form-card {
    max-width: 860px;
    margin: 32px auto;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 1px 12px rgba(0,0,0,0.06);
    overflow: hidden;
}

.admin-form-card-header {
    padding: 28px 36px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-form-card-header h1 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--dark);
}

.admin-form-card-header .badge {
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
}

.admin-form-card-header .badge-waiting {
    background: #fff3bf;
    color: #e67700;
}

.admin-form-card-header .badge-answered {
    background: #d3f9d8;
    color: #2b8a3e;
}

.admin-form-card-body {
    padding: 36px;
}

.admin-form-group {
    margin-bottom: 24px;
}

.admin-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--text-light);
}

.admin-form-group label .required {
    color: #e03131;
    margin-left: 2px;
}

.admin-form-group input[type="text"],
.admin-form-group input[type="date"],
.admin-form-group textarea,
.admin-form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: var(--white);
}

.admin-form-group input:focus,
.admin-form-group textarea:focus,
.admin-form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.08);
}

.admin-form-group textarea {
    resize: vertical;
    line-height: 1.7;
}

.admin-form-group .help-text {
    margin-top: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.admin-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.admin-form-actions {
    padding: 24px 36px;
    border-top: 1px solid var(--border-light);
    display: flex;
    gap: 10px;
    background: #fafafa;
}

.admin-form-actions .admin-btn {
    flex: 1;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.admin-btn-save {
    background: var(--dark);
    color: var(--white);
}

.admin-btn-save:hover {
    background: #333;
}

.admin-btn-cancel {
    background: var(--white);
    color: var(--text-light);
    border: 1px solid #ddd !important;
}

.admin-btn-cancel:hover {
    background: var(--bg);
}

.admin-btn-danger {
    background: #fa5252;
    color: var(--white);
}

.admin-btn-danger:hover {
    background: #e03131;
}

.admin-btn-accent {
    background: var(--accent);
    color: var(--white);
}

.admin-btn-accent:hover {
    opacity: 0.9;
}

/* Admin Post Detail */
.admin-detail-grid {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 0;
    border-top: 1px solid var(--border-light);
}

.admin-detail-grid .label,
.admin-detail-grid .value {
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

.admin-detail-grid .label {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.admin-detail-grid .value {
    color: var(--dark);
    font-size: 0.95rem;
}

.admin-post-content {
    background: var(--bg);
    padding: 24px;
    border-radius: 10px;
    min-height: 180px;
    white-space: pre-wrap;
    line-height: 1.8;
    font-size: 0.95rem;
    color: var(--dark);
    margin-top: 20px;
    border: 1px solid var(--border-light);
}

.admin-attachments {
    margin-top: 20px;
    padding: 20px;
    background: var(--bg);
    border-radius: 10px;
    border: 1px solid var(--border-light);
}

.admin-attachments h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 12px;
}

.admin-attachments .attachment-grid {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-attachments .attachment-grid img {
    max-width: 180px;
    border-radius: 8px;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: transform 0.2s;
}

.admin-attachments .attachment-grid img:hover {
    transform: scale(1.03);
}

.admin-answer-section {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 2px solid var(--dark);
}

.admin-answer-section h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-answer-section textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    line-height: 1.7;
    resize: vertical;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.admin-answer-section textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.08);
}

.admin-answer-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

/* ============================================
   MODAL
   ============================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(8px);
}

.modal-content {
    background: var(--white);
    margin: 8% auto;
    padding: 2.5rem;
    width: 90%;
    max-width: 600px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    position: relative;
    animation: fadeInUp 0.3s ease;
}

.close-modal {
    color: var(--text-muted);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    line-height: 1;
    transition: color 0.2s;
}

.close-modal:hover { color: var(--text); }

/* ============================================
   QUICK MENU (Side Navigation)
   ============================================ */
.quick-menu {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    background: var(--white);
    border-radius: 28px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 0;
    z-index: 999;
    border: 1px solid var(--border-light);
}

.quick-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    padding: 8px 0;
    color: var(--text-light);
    transition: var(--transition-fast);
    cursor: pointer;
    font-size: 0.62rem;
    font-weight: 600;
    text-decoration: none;
    gap: 2px;
}

.quick-menu-item:hover {
    color: var(--accent);
}

.quick-menu-item svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.quick-divider {
    width: 50%;
    height: 1px;
    background: var(--border-light);
    margin: 4px 0;
}

/* Hide kakao button (replaced by quick menu) */
.kakao-chat-btn { display: none !important; }

/* ============================================
   SEARCH BAR (Header)
   ============================================ */
.search-bar-container {
    display: flex;
    align-items: center;
    overflow: hidden;
    width: 0;
    height: 38px;
    background: var(--bg);
    border-radius: 20px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid transparent;
}

.search-bar-container.active {
    width: 220px;
    margin-left: 8px;
    opacity: 1;
    border-color: var(--border);
}

.header-search-input {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
    padding: 0 14px;
    font-size: 0.88rem;
    color: var(--text);
    font-family: var(--font);
    outline: none;
}

.header-search-input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.search-bar-container.active:focus-within {
    border-color: var(--primary);
    background: var(--white);
}

/* ============================================
   SHOP PAGE TITLE
   ============================================ */
.shop-page-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: var(--primary);
}

/* ============================================
   FLOATING ADD BUTTON (Admin)
   ============================================ */
.btn-floating-add {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(227,28,37,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    z-index: 1000;
    cursor: pointer;
    transition: var(--transition);
}

.btn-floating-add:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(227,28,37,0.4);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .product-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
        padding: 3rem 2rem;
    }

    .footer-top {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .footer-contact {
        text-align: left;
    }

    .footer-contact .social-icons {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    body { font-size: 14px; }

    .container { padding: 0 1.2rem; }

    /* Mobile Menu */
    .mobile-menu-btn { display: block; }

    .nav-wrapper nav {
        padding-right: 0;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        padding: 1.5rem;
        transition: right 0.3s ease;
        z-index: 999;
        overflow-y: auto;
        gap: 0;
    }

    .nav-links.active { right: 0; }

    .nav-links > li {
        width: 100%;
        border-bottom: 1px solid var(--border-light);
    }

    .nav-links > li > a,
    .nav-links > li > .dropbtn {
        padding: 14px 0;
        font-size: 1rem;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        background: var(--bg);
        transform: none;
        width: 100%;
        display: none;
        padding: 0 1rem;
        border-radius: 0;
        border: none;
    }

    .dropdown:hover .dropdown-content { display: block; }

    /* Hero */
    .hero-section {
        min-height: 500px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-scroll-indicator { display: none; }

    /* Values */
    .brand-values { padding: 60px 0; }
    .values-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .value-item { padding: 1rem 0.5rem; }

    /* Category Grid */
    .category-showcase { padding: 50px 0 60px; }

    .product-category-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .home-column { padding: 1.5rem; }

    /* CTA */
    .cta-banner { padding: 60px 0; }
    .cta-content { padding: 2.5rem 1.5rem; }
    .cta-text h2 { font-size: 1.4rem; }
    .cta-text p { font-size: 0.88rem; }

    /* Product Grid */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .product-info { padding: 1rem; }
    .product-title { font-size: 0.88rem; }

    /* Shop Layout */
    .shop-layout {
        flex-direction: column;
    }

    .shop-sidebar {
        width: 100%;
        position: static;
    }

    /* Product Detail */
    .product-detail-container {
        flex-direction: column;
        gap: 2rem;
    }

    .gallery-main { aspect-ratio: auto; }
    .gallery-main img { height: auto; }
    .gallery-thumb { width: 52px; height: 52px; }
    .gallery-nav { width: 34px; height: 34px; font-size: 1.2rem; opacity: 1; }

    .detail-info h1 { font-size: 1.5rem; }
    .detail-price { font-size: 1.5rem; }

    /* Footer */
    .footer-top {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    /* Quick Menu */
    .quick-menu {
        right: 12px;
        width: 48px;
    }

    .quick-menu-item { font-size: 0.55rem; }
    .quick-menu-item svg { width: 18px; height: 18px; }

    /* Search */
    .search-bar-container.active { width: 160px; }

    /* CS Center Mobile */
    .cs-subnav { top: 64px; }
    .cs-tab { padding: 13px 18px; font-size: 0.85rem; }
    .cs-page-header { padding: 32px 0 24px; }
    .cs-page-header h1 { font-size: 1.4rem; }
    .cs-table thead th { font-size: 0.78rem; padding: 10px 6px; }
    .cs-table tbody td { padding: 12px 6px; font-size: 0.85rem; }
    .cs-form-row { grid-template-columns: 1fr; }
    .cs-faq-answer-inner { padding-left: 16px; }
    .cs-loc-row { grid-template-columns: 90px 1fr; font-size: 0.88rem; }
    .cs-view-header h1 { font-size: 1.2rem; }
    .cs-map-wrapper iframe { height: 280px; }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        gap: 0.8rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        text-align: center;
    }

    .values-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================
   v5.0 REFINEMENTS
   Loaded last so these win over the legacy rules
   ============================================ */

/* --- Footer: contrast + rhythm --- */
footer {
    background: #0c0d0f;
    color: #9aa0a6;
    padding: clamp(56px, 7vw, 84px) 0 32px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent) 0%, rgba(227, 28, 37, 0) 42%);
}

.footer-top {
    padding-bottom: 44px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    margin-bottom: 28px;
}

.footer-logo-text { letter-spacing: -0.035em; }

.footer-brand-desc { color: #8b9096; }

.footer-column h4,
.footer-contact h4 {
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 18px;
}

.footer-column ul li a { color: #9aa0a6; }
.footer-column ul li a:hover { color: var(--white); }

.footer-phone {
    display: inline-block;
    letter-spacing: -0.035em;
    font-variant-numeric: tabular-nums;
    transition: color 0.25s var(--ease-out);
}

a.footer-phone:hover { color: var(--accent); }

.footer-contact p { color: #8b9096; }

.social-icon {
    background: rgba(255, 255, 255, 0.06);
    color: #9aa0a6;
    border-radius: 50%;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
}

.company-details p { color: #7d8288; }
.copyright { color: #7d8288; }

/* --- Quick menu --- */
.quick-menu {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-color: var(--border-light);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.94);
}

/* 목록 제목은 실제 링크 — 키보드 이동 · 새 탭 열기가 가능하도록 */
.cs-table tbody tr.is-clickable { cursor: pointer; }

.cs-table td.title-cell a {
    color: inherit;
    font-weight: inherit;
}

.cs-table tbody tr:hover td.title-cell a { color: var(--accent); }

.cs-table td.title-cell a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* 상품 카드는 이제 <a> — 링크로 동작하되 카드 모양은 그대로 */
a.product-card {
    display: block;
    color: inherit;
}

a.product-card:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

/* 갤러리 썸네일은 이제 <button> */
button.gallery-thumb {
    padding: 0;
    background: var(--bg-sunken);
    display: block;
}

/* 카카오톡 퀵메뉴 — KAKAO_CHANNEL_URL 설정 시에만 렌더링됨 */
.quick-menu-kakao:hover {
    color: #3C1E1E;
}

.quick-menu-kakao:hover svg {
    fill: #FEE500;
    stroke: #3C1E1E;
    stroke-width: 0.6;
}

/* --- Header search --- */
.search-bar-container {
    background: rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-pill);
}

body.home header:not(.scrolled):not(.is-solid) .search-bar-container.active {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.22);
}

/* ============================================
   NAV DENSITY — 데스크톱 메뉴가 로고와 겹치지 않도록
   좁은 데스크톱 구간에서는 타이포를 조인다
   ============================================ */
@media (min-width: 1025px) and (max-width: 1260px) {
    .nav-links > li > a,
    .nav-links > li > .dropbtn {
        font-size: 0.79rem;
        padding: 0.55rem 0.42rem;
    }

    .nav-wrapper nav { padding-right: 0.4rem; }
    .logo-sub { display: none; }
    .icon-btn { width: 36px; height: 36px; }
}

/* ============================================
   MOBILE NAVIGATION DRAWER
   메뉴 항목이 11개라 1024px 이하에서는 드로어로 전환한다
   ============================================ */
@media (max-width: 1024px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: min(400px, 88vw);
        height: 100dvh;
        background: var(--white);
        backdrop-filter: none;
        padding: calc(var(--header-height) + 12px) 1.5rem 3rem;
        transition: transform 0.42s var(--ease-out);
        transform: translateX(102%);
        z-index: 999;
        overflow-y: auto;
        overscroll-behavior: contain;
        gap: 0;
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.16);
        align-items: stretch;
        white-space: normal;
    }

    .nav-links.active { transform: translateX(0); right: 0; }

    .nav-links > li {
        width: 100%;
        border-bottom: 1px solid var(--border-light);
    }

    .nav-links > li > a,
    .nav-links > li > .dropbtn {
        padding: 15px 2px;
        font-size: 1rem;
        color: var(--text) !important;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .nav-links > li > a::after,
    .nav-links > li > .dropbtn::after { display: none; }

    /* Accordion caret for touch dropdowns */
    .nav-links > li.dropdown > .dropbtn::before {
        content: '';
        width: 8px;
        height: 8px;
        border-right: 2px solid var(--text-muted);
        border-bottom: 2px solid var(--text-muted);
        transform: rotate(45deg) translateY(-2px);
        transition: transform 0.3s var(--ease-out);
        flex-shrink: 0;
        margin-left: auto;
    }

    .nav-links > li.dropdown.is-open > .dropbtn::before {
        transform: rotate(-135deg) translate(-2px, -2px);
        border-color: var(--accent);
    }

    .nav-links > li.dropdown.is-open > .dropbtn { color: var(--accent) !important; }

    .dropdown-content {
        position: static;
        box-shadow: none;
        background: var(--bg-warm);
        transform: none;
        width: 100%;
        display: none;
        padding: 6px;
        border-radius: 10px;
        border: none;
        margin-bottom: 12px;
        animation: none;
    }

    /* Touch: only the explicit open state expands, never :hover */
    .dropdown:hover .dropdown-content,
    .dropdown:focus-within .dropdown-content { display: none; }
    .dropdown.is-open .dropdown-content { display: block; }

    .dropdown-content a { text-align: left; padding: 11px 14px; }

    /* 햄버거 버튼은 마크업상 로고 바로 뒤에 있지만, 모바일에서는
       오른쪽 끝(아이콘 다음)에 두는 것이 자연스럽다 */
    .mobile-menu-btn {
        display: block;
        order: 3;
        margin-left: 2px;
    }

    .mobile-menu-btn.is-open { color: var(--text) !important; }
    .nav-wrapper nav { padding-right: 0; order: 1; }
    .header-icons { order: 2; margin-left: auto; }

    .nav-wrapper { gap: 0; }
}

/* ============================================
   HOMEPAGE RESPONSIVE
   ============================================ */
@media (max-width: 1180px) {
    .product-category-grid { gap: 1rem; }
    .home-column { padding: 1.6rem 1.35rem; }
}

@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
        border-left: 1px solid var(--hairline);
    }

    .value-item {
        border-bottom: 1px solid var(--hairline);
        padding: 2rem 1.5rem 1.8rem;
    }

    .value-item:nth-child(2n) { border-right: none; }
    .value-item:last-child { border-right: none; }

    .category-index-grid { grid-template-columns: repeat(2, 1fr); }

    .product-category-grid { grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }

    .cta-content {
        grid-template-columns: 1fr;
        text-align: left;
        padding: 2.5rem 2rem;
    }

    .cta-visual {
        max-width: 400px;
        width: 100%;
        margin: 0 auto;
        order: -1;
    }

    .section-header.is-split {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .hero-scroll-indicator { display: none; }
}

@media (max-width: 768px) {
    :root { --header-height: 62px; }

    .container { padding: 0 1.15rem; }

    /* Hero */
    .hero-section {
        min-height: 560px;
        height: 92svh;
    }

    .hero-badge {
        font-size: 0.62rem;
        letter-spacing: 0.26em;
        padding: 8px 18px;
        margin-bottom: 1.5rem;
    }

    .hero-title { font-size: clamp(2.15rem, 10vw, 3rem); line-height: 1.18; }
    .hero-subtitle { font-size: 0.95rem; margin-bottom: 2rem; }

    .hero-meta {
        gap: 0.9rem;
        font-size: 0.6rem;
        letter-spacing: 0.1em;
        bottom: 22px;
        padding: 0 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Values */
    .values-intro { margin-bottom: 2.25rem; }
    .value-item { padding: 1.6rem 1.1rem; }
    .value-number { margin-bottom: 1rem; }
    .value-item h3 { font-size: 0.98rem; }
    .value-item p { font-size: 0.83rem; line-height: 1.75; }

    /* Category index */
    .category-chip { padding: 1.05rem 1.1rem; gap: 0.6rem; }
    .category-chip .cat-name { font-size: 0.92rem; }

    /* Showcase */
    .product-category-grid { grid-template-columns: 1fr; gap: 0.9rem; }
    .home-column { padding: 1.5rem 1.25rem; }
    .inquiry-box { padding: 1.6rem 0.5rem; }

    /* CTA */
    .cta-content { padding: 2.25rem 1.35rem; border-radius: var(--radius-md); }
    .cta-steps { margin: 1.35rem 0 1.6rem; }
    .btn-cta, .btn-cta-secondary { padding: 13px 24px; font-size: 0.88rem; }
    .cta-buttons { width: 100%; }
    .cta-buttons > * { flex: 1; justify-content: center; }

    /* Footer */
    .footer-contact { text-align: left; }
    .footer-contact .social-icons { justify-content: flex-start; }
}

@media (max-width: 520px) {
    .hero-actions { flex-direction: column; width: 100%; }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }

    .values-grid { grid-template-columns: 1fr 1fr; }
    .category-index-grid { grid-template-columns: 1fr; }
    .cta-buttons { flex-direction: column; }
}

/* ============================================
   ACCESSIBILITY — reduced motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    .fade-in,
    .reveal-on-scroll,
    .stagger > * {
        opacity: 1 !important;
        transform: none !important;
    }

    .hero-accent::after { transform: scaleX(1); }
    .hero-media { animation: none; }
    video.hero-media { opacity: 1; }
    .scroll-line::after { display: none; }
}

@media print {
    header, footer, .quick-menu, .hero-section, .cta-banner { display: none !important; }
    body { font-size: 12px; }
}

/* ============================================================
   v5.1 — 메인 재구성
   정형화된 3연속 박스 그리드를 걷어내고
   비대칭 편집형 레이아웃 + 실제 제품 사진 중심으로
   ============================================================ */

/* ---------- 브랜드 스테이트먼트 ---------- */
.statement {
    padding: var(--section-y) 0 clamp(56px, 7vw, 96px);
    background: var(--white);
}

.statement-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(2.5rem, 6vw, 6.5rem);
    align-items: start;
}

.statement-lead .section-label { margin-bottom: 1.1rem; }

.statement-title {
    font-size: clamp(1.85rem, 3.4vw, 2.95rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.24;
    color: var(--primary);
}

.statement-desc {
    margin-top: 1.5rem;
    color: var(--text-light);
    line-height: 1.95;
    font-size: 0.95rem;
    max-width: 40ch;
}

.statement-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 1.75rem;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--primary);
    padding-bottom: 0.45rem;
    border-bottom: 1px solid var(--primary);
    transition: var(--transition-fast);
}

.statement-link:hover { color: var(--accent); border-bottom-color: var(--accent); gap: 13px; }

/* 값 4개 — 박스가 아니라 헤어라인 행 */
.value-rows { border-top: 1px solid var(--hairline); }

.value-row {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 1rem;
    padding: 1.65rem 0;
    border-bottom: 1px solid var(--hairline);
    position: relative;
}

.value-row::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    height: 1px;
    width: 0;
    background: var(--primary);
    transition: width 0.7s var(--ease-out);
}

.value-row:hover::after { width: 100%; }

.value-index {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 0.16em;
    font-variant-numeric: tabular-nums;
    padding-top: 0.3rem;
}

.value-row h3 {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 0.45rem;
}

.value-row p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ---------- 컬렉션 (실제 제품 사진) ---------- */
.collection {
    padding: 0 0 clamp(48px, 6vw, 84px);
    background: var(--white);
}

.collection-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
}

.collection-tile {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 10px;
    background: var(--bg-sunken);
    isolation: isolate;
}

.collection-tile.is-tall {
    grid-row: 1 / span 2;
    aspect-ratio: 3 / 4;
}

.collection-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease-out);
}

.collection-tile:hover img { transform: scale(1.05); }

.collection-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 28%, rgba(0, 0, 0, 0.38) 58%, rgba(0, 0, 0, 0.88) 100%);
    pointer-events: none;
}

.tile-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: clamp(1.25rem, 2.2vw, 2rem);
    color: var(--white);
}

.tile-kicker {
    display: block;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.72);
    text-transform: uppercase;
}

.tile-body h3 {
    font-size: clamp(1.1rem, 1.75vw, 1.5rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    margin: 0.5rem 0 0.8rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.tile-go {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    transition: gap 0.35s var(--ease-out), color 0.25s;
}

.collection-tile:hover .tile-go { gap: 13px; color: var(--white); }

/* 나머지 카테고리 — 조용한 텍스트 줄 */
.collection-more {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem 1.9rem;
    margin-top: 1.9rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--hairline);
}

.collection-more span {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--text-muted);
    margin-right: 0.3rem;
}

.collection-more a {
    font-size: 0.89rem;
    font-weight: 600;
    color: var(--text-light);
    transition: color 0.25s var(--ease-out);
}

.collection-more a:hover { color: var(--accent); }

/* ---------- 인기 제품: 카드 껍데기를 벗긴다 ---------- */
.category-showcase { background: var(--bg-warm); }

.product-category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 3.2vw, 3.25rem);
}

.home-column {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.home-column:hover {
    box-shadow: none;
    transform: none;
    border-color: transparent;
}

.column-header {
    padding-bottom: 0.85rem;
    margin-bottom: 0.25rem;
    border-bottom: 2px solid var(--primary);
}

.mini-product-item { padding: 1rem 0; }
.mini-product-item:hover { transform: translateX(3px); }

.mini-product-thumb {
    width: 74px;
    height: 74px;
    background: var(--white);
}

.mini-skeleton .sk-box { width: 74px; height: 74px; }

/* ---------- 주문 문의 밴드 (기존 4번째 컬럼을 빼내 가로 밴드로) ---------- */
.inquiry-band {
    margin-top: clamp(2.75rem, 5vw, 4.25rem);
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-md);
    padding: clamp(1.9rem, 3.4vw, 2.9rem) clamp(1.5rem, 3.2vw, 3.25rem);
    display: grid;
    grid-template-columns: 1.25fr auto auto;
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: center;
    position: relative;
    overflow: hidden;
}

.inquiry-band::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -6%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(227, 28, 37, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.inquiry-band::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--grain);
    opacity: 0.05;
    pointer-events: none;
}

.inquiry-band > * { position: relative; z-index: 1; }

.inquiry-band .band-label {
    display: inline-flex;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
}

/* 위와 같은 이유로 장식선 제거 */

.inquiry-band h2 {
    font-size: clamp(1.25rem, 2.1vw, 1.72rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.35;
    margin-bottom: 0.6rem;
}

.inquiry-band p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.58);
    line-height: 1.8;
}

.band-contact { text-align: left; }

.band-contact .band-caption {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.band-phone {
    display: inline-block;
    font-size: clamp(1.35rem, 2.1vw, 1.75rem);
    font-weight: 900;
    letter-spacing: -0.035em;
    font-variant-numeric: tabular-nums;
    color: var(--white);
    transition: color 0.25s var(--ease-out);
}

.band-phone:hover { color: var(--accent); }

.band-hours {
    margin-top: 0.4rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
}

.band-actions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

/* ---------- 반응형 ---------- */
@media (max-width: 1024px) {
    .statement-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .statement-desc { max-width: none; }

    .collection-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }

    .collection-tile.is-tall {
        grid-row: auto;
        grid-column: 1 / -1;
        aspect-ratio: 16 / 10;
    }

    .collection-tile:not(.is-tall) { aspect-ratio: 4 / 3; }

    .product-category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .inquiry-band {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        text-align: left;
    }

    .band-actions { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 768px) {
    .statement { padding-bottom: 48px; }
    .value-row { grid-template-columns: 54px 1fr; padding: 1.35rem 0; }

    .collection-grid { grid-template-columns: 1fr; gap: 0.75rem; }
    .collection-tile.is-tall { aspect-ratio: 4 / 5; }
    .collection-tile:not(.is-tall) { aspect-ratio: 3 / 2; }

    .collection-more { gap: 0.55rem 1.35rem; margin-top: 1.4rem; }

    .product-category-grid { grid-template-columns: 1fr; gap: 2.25rem; }

    .inquiry-band { padding: 1.75rem 1.35rem; border-radius: var(--radius-md); }
    .band-actions > * { flex: 1; justify-content: center; }
}

/* ============================================================
   v5.6 — 내부 페이지 정리
   본문이 짧아 푸터가 화면을 차지하던 문제, 여백·위계 정돈
   ============================================================ */

/* 본문이 짧아도 푸터가 위로 올라오지 않게 */
main {
    min-height: calc(100vh - var(--header-height) - 340px);
}

/* ---------- 고객센터 공통 ---------- */
.cs-page-header {
    padding: clamp(40px, 5vw, 64px) 0 clamp(24px, 3vw, 36px);
    text-align: center;
}

.cs-page-header h1 {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--primary);
}

.cs-page-header p {
    margin-top: 0.7rem;
    color: var(--text-light);
    font-size: 0.93rem;
}

.cs-subnav { border-bottom: 1px solid var(--hairline); }

.cs-tab {
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text-light);
}

.cs-tab.active { color: var(--primary); font-weight: 800; }

/* 표 — 선을 얇게, 숨 쉴 공간 확보 */
.cs-table thead th {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 0.02em;
    border-bottom: 1px solid var(--primary);
    padding: 14px 8px;
}

.cs-table tbody td { padding: 17px 8px; border-bottom: 1px solid var(--border-light); }
.cs-table tbody tr:hover { background: var(--bg-warm); }
.cs-table td.title-cell { font-weight: 600; letter-spacing: -0.01em; }

.status-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: var(--radius-pill);
    background: var(--bg-sunken);
    color: var(--text-light);
}

.status-badge.answered { background: rgba(227, 28, 37, 0.08); color: var(--accent); }

/* ---------- 오시는 길 ---------- */
.cs-map-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-warm);
}

.cs-location-info {
    margin-top: 1.5rem;
    border-top: 1px solid var(--primary);
}

.cs-loc-row {
    grid-template-columns: 132px 1fr;
    padding: 18px 4px;
    border-bottom: 1px solid var(--border-light);
    align-items: start;
}

.cs-loc-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 0.02em;
}

.cs-loc-value { font-size: 0.95rem; line-height: 1.8; color: var(--text); }
.cs-loc-value a { border-bottom: 1px solid var(--border); }
.cs-loc-value a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ---------- 상품 상세 ---------- */
.breadcrumbs {
    font-size: 0.82rem;
    color: var(--text-muted);
    letter-spacing: -0.01em;
    margin-bottom: 1.75rem;
}

.product-detail-container { gap: clamp(2rem, 4vw, 4rem); align-items: flex-start; }

.gallery-main {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-warm);
    border: 1px solid var(--border-light);
}

.detail-info h1 {
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.35;
    margin-bottom: 0.9rem;
}

.brand-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    margin-bottom: 0.7rem;
}

.detail-price-wrapper {
    padding-bottom: 1.4rem;
    margin-bottom: 1.4rem;
    border-bottom: 1px solid var(--hairline);
}

.detail-price { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; }

.detail-options label {
    display: block;
    font-size: 0.83rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.55rem;
}

.detail-options select {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: var(--font);
    font-size: 0.92rem;
    background: var(--white);
}

.detail-options select:focus { outline: none; border-color: var(--primary); }

.detail-actions { gap: 10px; margin-top: 1.5rem; }

.detail-actions button {
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 0.94rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: var(--transition);
}

.detail-actions button:hover { transform: translateY(-2px); }

/* 상품 설명 블록 */
.product-desc-box,
.detail-desc-box {
    margin-top: 2rem;
    padding: 1.6rem;
    background: var(--bg-warm);
    border-radius: var(--radius-md);
}

.product-desc-box h3,
.detail-desc-box h3 {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-bottom: 0.7rem;
    color: var(--primary);
}

/* ---------- 반응형 ---------- */
@media (max-width: 768px) {
    main { min-height: 0; }
    .cs-page-header { padding: 28px 0 20px; }
    .cs-loc-row { grid-template-columns: 84px 1fr; padding: 14px 2px; }
    .detail-actions { flex-direction: column; }
}

/* 상품 상세 — 제작·배송 안내 */
.detail-notes {
    margin-top: 1.75rem;
    border-top: 1px solid var(--hairline);
}

.detail-notes > div {
    display: grid;
    grid-template-columns: 104px 1fr;
    gap: 1rem;
    padding: 14px 2px;
    border-bottom: 1px solid var(--border-light);
}

.detail-notes dt {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-light);
}

.detail-notes dd {
    font-size: 0.88rem;
    color: var(--text);
    line-height: 1.75;
}

.detail-notes dd a {
    font-weight: 700;
    border-bottom: 1px solid var(--border);
}

.detail-notes dd a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* 오시는 길 — 지도 대체 링크 */
.cs-map-fallback {
    margin-top: 0.7rem;
    font-size: 0.83rem;
    color: var(--text-muted);
    text-align: right;
}

.cs-map-fallback a {
    font-weight: 700;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
}

.cs-map-fallback a:hover { color: var(--accent); border-bottom-color: var(--accent); }

@media (max-width: 768px) {
    .detail-notes > div { grid-template-columns: 82px 1fr; gap: 0.7rem; }
    .cs-map-fallback { text-align: left; }
}

/* ============================================================
   v5.6b — 한글 라벨 자간 보정
   영문 대문자용으로 잡아둔 넓은 자간(0.2~0.26em)은
   한글에서는 글자가 흩어져 보인다. 한글 기준으로 좁힌다.
   ============================================================ */
.section-label,
.cta-label,
.band-label {
    letter-spacing: 0.08em;
    font-size: 0.76rem;
}

.tile-kicker { letter-spacing: 0.1em; font-size: 0.7rem; }
.band-caption { letter-spacing: 0.06em; font-size: 0.74rem; }
.hero-meta { letter-spacing: 0.04em; text-transform: none; font-size: 0.75rem; }

.footer-column h4,
.footer-contact h4 {
    letter-spacing: 0.06em;
    font-size: 0.8rem;
    text-transform: none;
}

.value-row h3 { letter-spacing: -0.02em; font-size: 1.02rem; }
.brand-tag { letter-spacing: 0.12em; }

/* SINCE 2005 는 영문이라 넓은 자간을 유지한다 */
.hero-badge { letter-spacing: 0.3em; }

/* 스크롤 안내 — 글자 없이 선만 (세로쓰기 한글은 어색함) */
.hero-scroll-indicator span { display: none; }

/* ============================================================
   v5.7 — 글자 크기 확대 + 주문 안내(실용 정보) 섹션
   ============================================================ */

/* ---------- 전반적인 글자 확대 ---------- */
body { font-size: 16.5px; line-height: 1.75; }

.section-title { font-size: clamp(1.95rem, 3.4vw, 2.8rem); }
.section-label { font-size: 0.86rem; }
.section-desc { font-size: 1.05rem; }
.section-link { font-size: 0.95rem; }

.hero-subtitle { font-size: clamp(1.1rem, 1.7vw, 1.3rem); }
.hero-badge { font-size: 0.76rem; }
.hero-meta { font-size: 0.85rem; }
.btn-hero-primary, .btn-hero-secondary { font-size: 1.02rem; padding: 16px 36px; }

.column-header h3 { font-size: 1.24rem; }
.column-header .more-link { font-size: 0.88rem; }
.mini-product-name { font-size: 1rem; }
.mini-product-price { font-size: 0.95rem; }
.mini-product-thumb { width: 82px; height: 82px; }
.mini-skeleton .sk-box { width: 82px; height: 82px; }

.tile-body h3 { font-size: clamp(1.2rem, 1.9vw, 1.65rem); }
.tile-kicker { font-size: 0.78rem; }
.tile-go { font-size: 0.92rem; }
.collection-more a { font-size: 0.98rem; }
.collection-more span { font-size: 0.78rem; }

.inquiry-band h2 { font-size: clamp(1.4rem, 2.3vw, 1.9rem); }
.inquiry-band p { font-size: 1rem; }
.band-phone { font-size: clamp(1.55rem, 2.4vw, 2rem); }
.band-hours { font-size: 0.9rem; }
.band-caption { font-size: 0.8rem; }

.cta-text h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.cta-text p { font-size: 1.05rem; }
.cta-step { font-size: 0.88rem; padding: 8px 17px; }
.btn-cta, .btn-cta-secondary { font-size: 1rem; padding: 16px 34px; }
.btn-inquiry { font-size: 0.94rem; padding: 13px 28px; }

/* 내부 페이지 */
.cs-page-header h1 { font-size: clamp(1.7rem, 2.9vw, 2.2rem); }
.cs-page-header p { font-size: 1.02rem; }
.cs-tab { font-size: 0.98rem; }
.cs-table thead th { font-size: 0.88rem; }
.cs-table tbody td { font-size: 0.98rem; }
.cs-faq-question .q-text { font-size: 1.05rem; }
.cs-faq-answer-inner { font-size: 1rem; line-height: 1.85; }
.cs-view-body { font-size: 1.05rem; line-height: 1.9; }
.cs-loc-label { font-size: 0.94rem; }
.cs-loc-value { font-size: 1.04rem; }

.product-title { font-size: 1.02rem; }
.product-price { font-size: 1.05rem; }
.detail-info h1 { font-size: clamp(1.6rem, 2.7vw, 2.1rem); }
.detail-price { font-size: 1.7rem; }
.detail-options label { font-size: 0.92rem; }
.detail-options select { font-size: 1rem; }
.detail-actions button { font-size: 1.02rem; padding: 17px 20px; }
.detail-notes dt { font-size: 0.92rem; }
.detail-notes dd { font-size: 0.98rem; }
.product-desc-box h3, .detail-desc-box h3 { font-size: 0.95rem; }

.footer-column ul li a, .footer-contact p { font-size: 0.94rem; }
.footer-column h4, .footer-contact h4 { font-size: 0.88rem; }
.footer-phone { font-size: 1.75rem; }
.footer-brand-desc { font-size: 0.94rem; }

/* ---------- 반응형 ---------- */
@media (max-width: 1024px) {
}

@media (max-width: 768px) {
    body { font-size: 15.5px; }
}



/* 좁은 화면에서는 플로팅 퀵메뉴가 본문 글자를 가린다.
   연락처는 주문 문의 밴드와 푸터에 크게 노출돼 있으므로 숨긴다. */
@media (max-width: 600px) {
    .quick-menu { display: none; }
}

/* ============================================================
   v6.5 — 본문 글자 확대 + 폼·표 가독성
   ------------------------------------------------------------
   rem 기준(html)을 올려 전체를 한 번에 키운다. 개별 규칙을 수십 개
   손대는 것보다 비율이 안 깨진다. 대신 상단 내비게이션은 항목이 9개라
   같이 커지면 줄바꿈이 나므로 예전 크기로 되돌려 고정한다.
   ============================================================ */

html { font-size: 17.5px; }

body {
    font-size: 1rem;
    line-height: 1.78;
    letter-spacing: -0.003em;
}

/* 내비게이션은 확대에서 제외 — 16px 기준의 예전 값으로 환산 */
.nav-links > li > a { font-size: 0.79rem; }
.dropdown-content a { font-size: 0.8rem; }

/* 한글은 어절 단위로 끊어야 읽기 편하다 */
h1, h2, h3, h4, p, li, td, th, label, button, a { word-break: keep-all; }
h1, h2, h3 { letter-spacing: -0.02em; }

/* ---------- 작은 글자 구제 ----------
   0.7~0.85rem 대는 상품 사이트에서 너무 작다. 하한을 올린다. */
.mini-product-price,
.tile-kicker,
.hero-badge,
.hero-meta,
.band-caption,
.collection-more span,
.section-label { font-size: 0.87rem; }

.mini-product-name { font-size: 1.02rem; }
.product-card h3, .product-name { font-size: 1.05rem; }
.product-card .price, .product-price { font-size: 1.02rem; }

/* ---------- 본문 문단 ---------- */
.section-desc { font-size: 1.08rem; line-height: 1.8; }
.inquiry-band p { font-size: 1.05rem; }

/* ---------- 폼: 손가락이 닿는 크기로 ---------- */
input[type="text"], input[type="tel"], input[type="email"],
input[type="password"], input[type="search"], input[type="number"],
input[type="date"], select, textarea {
    font-size: 1rem;
    line-height: 1.6;
    padding: 13px 16px;
    border-radius: 10px;
    min-height: 50px;
}

textarea { min-height: 132px; padding-top: 14px; }

label, .form-group label, .cs-form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* 입력 중인 칸이 어디인지 분명하게 */
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--text);
    box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.06);
}

/* 버튼 — 누르는 것임이 보이게 */
button, .cs-btn, .btn-primary, .btn-secondary,
.btn-hero-primary, .btn-hero-secondary, .btn-submit-quote {
    font-size: 1rem;
    letter-spacing: -0.01em;
}

.cs-btn, .btn-submit-quote { min-height: 50px; }

/* ---------- 표(게시판·공지) ---------- */
.cs-table, .cs-board-table, table.cs-list { font-size: 1rem; }
.cs-table th, .cs-board-table th { font-size: 0.95rem; letter-spacing: -0.01em; }
.cs-table td, .cs-board-table td { padding-top: 15px; padding-bottom: 15px; }

/* ---------- 모바일: 확대 폭을 조금 줄인다 ---------- */
@media (max-width: 768px) {
    html { font-size: 17px; }
    /* iOS 는 16px 미만 입력칸을 터치하면 화면을 확대한다. 페이지별 폼 규칙
       (.cs-form-group / .form-group / .admin-form-group)이 더 구체적이라
       같은 구체성으로 맞춰 눌러 준다. */
    input[type="text"], input[type="tel"], input[type="email"],
    input[type="password"], input[type="search"], input[type="number"],
    input[type="date"], select, textarea,
    .cs-form-group input, .cs-form-group select, .cs-form-group textarea,
    .form-group input, .form-group select, .form-group textarea,
    .admin-form-group input, .admin-form-group select, .admin-form-group textarea,
    .admin-answer-section textarea {
        font-size: 16px;
    }
}

/* ============================================================
   v6.8 — 홈 인기 상품: 큰 사진 그리드
   ------------------------------------------------------------
   예전에는 카테고리별 68px 썸네일 목록이었다. 도복은 원단과 깃 모양을
   봐야 고르는 물건이라 그 크기로는 아무것도 판단할 수 없었다.
   4열 그리드(모바일 2열)에 3:4 사진을 세운다.
   ============================================================ */

#home-product-list.product-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.35rem 1.15rem;
}

.hp-card {
    display: flex;
    flex-direction: column;
    color: inherit;
}

.hp-shot {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-sunken);
}

.hp-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s var(--ease-out);
}

.hp-card:hover .hp-shot img { transform: scale(1.035); }

.hp-badge {
    position: absolute;
    top: 11px;
    left: 11px;
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    background: var(--accent);
    color: var(--white);
    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.hp-cat {
    display: block;
    margin-top: 0.95rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

.hp-name {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.45;
    color: var(--text);
    /* 상품명이 길어도 카드 높이를 흐트러뜨리지 않게 두 줄에서 자른다 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hp-card:hover .hp-name { color: var(--accent); }

.hp-price {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
}

@media (max-width: 900px) {
    #home-product-list.product-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.15rem 0.85rem;
    }
}

/* ============================================================
   v7.0 — 상품 목록: 홈 카드와 같은 형태로 통일
   ------------------------------------------------------------
   홈은 4:5 사진 카드인데 목록은 1:1 테두리 카드라 같은 상품이
   두 화면에서 다르게 보였다. 도복은 세로로 긴 물건이니 4:5 로 맞춘다.
   ============================================================ */

.product-card {
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
}

.product-card:hover {
    transform: none;
    box-shadow: none;
}

.product-card .image-wrapper {
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-md);
    background: var(--bg-sunken);
}

.product-card .product-image { transition: transform 0.55s var(--ease-out); }
.product-card:hover .product-image { transform: scale(1.035); }

.product-card .product-info {
    padding: 0.95rem 0 0;
}

.product-card .product-brand {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.product-card .product-title {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.45;
    color: var(--text);
    margin: 0 0 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card:hover .product-title { color: var(--accent); }

.product-card .product-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
}

/* 커스텀 가능 배지 — 홈과 같은 위치·모양 */
.product-card .custom-badge {
    position: absolute;
    top: 11px;
    left: 11px;
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    background: var(--accent);
    color: var(--white);
    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    z-index: 2;
}

/* ---------- 사이드바: 카테고리 옆 개수 ---------- */
.filter-item label {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.filter-count {
    margin-left: auto;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

/* ---------- 사이드바: 단체 주문 안내 ---------- */
.filter-promo {
    margin-top: 1.75rem;
    padding: 1.3rem 1.2rem;
    border-radius: var(--radius-md);
    background: var(--bg-warm);
}

.filter-promo h4 {
    margin: 0 0 0.45rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}

.filter-promo p {
    margin: 0 0 0.9rem;
    font-size: 0.85rem;
    line-height: 1.75;
    color: var(--text-light);
}

.filter-promo a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.87rem;
    font-weight: 700;
    color: var(--accent);
}

/* ============================================================
   v7.1 — 개인정보처리방침
   ------------------------------------------------------------
   법으로 요구되는 문서지만 읽으라고 만든 문서이기도 하다.
   본문 폭을 좁혀 한 줄이 길어지지 않게 하고, 표는 좁은 화면에서
   가로로 흐르게 둔다(줄바꿈으로 뭉개지는 것보다 낫다).
   ============================================================ */

.privacy-doc {
    max-width: 780px;
    margin: 0 auto;
}

.privacy-lead {
    font-size: 1.02rem;
    line-height: 1.9;
    color: var(--text-light);
    padding-bottom: 2rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-light);
}

.privacy-section {
    padding: 2.1rem 0;
    border-bottom: 1px solid var(--border-light);
}

.privacy-section:last-child { border-bottom: none; }

.privacy-section h2 {
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--primary);
    margin: 0 0 1rem;
}

.privacy-section p {
    margin: 0 0 0.85rem;
    font-size: 0.97rem;
    line-height: 1.9;
    color: var(--text-light);
}

.privacy-section p:last-child { margin-bottom: 0; }
.privacy-section strong { color: var(--text); font-weight: 700; }

.privacy-list {
    margin: 0 0 0.85rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.privacy-list li {
    position: relative;
    padding-left: 1.05rem;
    font-size: 0.97rem;
    line-height: 1.85;
    color: var(--text-light);
}

.privacy-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.82em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
}

.privacy-note {
    margin-top: 1rem !important;
    padding: 1rem 1.15rem;
    border-radius: var(--radius-sm);
    background: var(--bg-warm);
    font-size: 0.9rem !important;
    line-height: 1.85 !important;
}

.privacy-table-wrap {
    margin: 1.1rem 0;
    overflow-x: auto;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
}

.privacy-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    min-width: 520px;
}

.privacy-table th,
.privacy-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
    line-height: 1.7;
}

.privacy-table th {
    background: var(--bg-warm);
    font-weight: 700;
    font-size: 0.86rem;
    letter-spacing: -0.01em;
    color: var(--text);
    white-space: nowrap;
}

.privacy-table td { color: var(--text-light); }
.privacy-table tr:last-child td { border-bottom: none; }

.privacy-officer {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.35rem 1.4rem;
    border-radius: var(--radius-md);
    background: var(--bg-warm);
    margin-bottom: 0.5rem;
}

.privacy-officer > div {
    display: flex;
    gap: 1rem;
    align-items: baseline;
}

.privacy-officer .k {
    flex-shrink: 0;
    width: 140px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-muted);
}

.privacy-officer .v {
    font-size: 0.95rem;
    color: var(--text);
    font-weight: 500;
}

.privacy-date {
    margin-top: 1.2rem !important;
    font-size: 0.88rem !important;
    color: var(--text-muted) !important;
}

@media (max-width: 640px) {
    .privacy-officer > div { flex-direction: column; gap: 0.25rem; }
    .privacy-officer .k { width: auto; }
}

/* ---------- 폼: 개인정보 수집 동의 ---------- */
.consent-box {
    margin: 1.35rem 0 0;
    padding: 1.05rem 1.15rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-warm);
}

.consent-box label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.92rem;
    line-height: 1.75;
    font-weight: 500;
    color: var(--text);
    margin: 0;
}

.consent-box input[type="checkbox"] {
    flex-shrink: 0;
    width: 19px;
    height: 19px;
    min-height: 0;
    margin-top: 2px;
    accent-color: var(--accent);
    cursor: pointer;
}

.consent-box a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.consent-box .consent-detail {
    margin: 0.6rem 0 0 29px;
    font-size: 0.84rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* 푸터 방침 링크 — Admin 링크와 같은 줄, 같은 무게 */
.privacy-link {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.8rem;
    margin-right: 1.1rem;
    transition: var(--transition-fast);
}

.privacy-link:hover { color: var(--white); }

/* ============================================================
   v7.6 — 상품 상세: 사진을 키우고, 살 수 있는 자리를 붙잡아 둔다
   ------------------------------------------------------------
   도복은 원단 짜임·깃 모양·자수 위치를 봐야 고르는 물건인데
   사진이 1:1 로 작았다. 4:5 로 키우고, 스크롤로 사진을 훑는 동안
   오른쪽 주문 영역이 따라오도록 붙여 둔다.
   홈·목록과 같은 카드 언어(4:5, radius 14/22)를 쓴다.
   ============================================================ */

.product-detail-container {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: start;
}

.gallery-main img[src*="catalog-20260909"],
.product-image[src*="catalog-20260909"],
.hp-shot img[src*="catalog-20260909"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f3f2ef;
}

.gallery-thumb img[src*="catalog-20260909"] {
    object-fit: contain;
    background: #f3f2ef;
}

.detail-image-gallery { min-width: 0; }

.gallery-main {
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    background: var(--bg-sunken);
}

.gallery-thumbs {
    gap: 10px;
    margin-top: 12px;
    padding-bottom: 2px;
}

.gallery-thumbs img,
.gallery-thumbs .thumb {
    border-radius: var(--radius-sm);
    overflow: hidden;
}

/* ---------- 오른쪽 주문 영역 ---------- */
.detail-info {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    min-width: 0;
}

.detail-info .brand-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    margin-bottom: 0.7rem;
}

.detail-info h1 {
    font-size: clamp(1.5rem, 2.4vw, 1.95rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.35;
    margin: 0;
}

.detail-price-wrapper {
    padding: 1.1rem 0 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.detail-price { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; }

.detail-options label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 0.55rem;
    color: var(--text);
}

/* 담기 = 보조, 문의 = 주 행동. 히어로 버튼과 같은 위계를 쓴다 */
.detail-actions {
    gap: 0.6rem;
    margin: 1.5rem 0 0;
}

.detail-actions button {
    min-height: 54px;
    border-radius: var(--radius-pill);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: var(--transition-fast);
}

.detail-actions #btn-add-list {
    border: 1px solid var(--border) !important;
    background: var(--white) !important;
    color: var(--text) !important;
}

.detail-actions #btn-add-list:hover { border-color: var(--text) !important; }

.detail-actions #btn-direct-quote {
    background: var(--accent);
    color: var(--white);
}

.detail-actions #btn-direct-quote:hover { background: var(--accent-dark); }

/* ---------- 설명 · 안내 ---------- */
.product-desc-box {
    background: var(--bg-warm);
    padding: 1.5rem 1.6rem;
    border-radius: var(--radius-md);
    margin-top: 1.9rem;
}

.product-desc-box h3 {
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin: 0 0 0.7rem;
}

.product-desc-box p {
    font-size: 0.97rem;
    line-height: 1.85;
    color: var(--text-light);
    margin: 0;
    white-space: pre-line;
}

.detail-notes {
    margin: 1.6rem 0 0;
    border-top: 1px solid var(--border-light);
}

.detail-notes > div {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 1rem;
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--border-light);
}

.detail-notes dt {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-muted);
}

.detail-notes dd {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.8;
    color: var(--text-light);
}

.detail-notes dd a { color: var(--accent); font-weight: 700; }

/* ---------- 단체 주문 안내 (목록 사이드바와 같은 문패) ---------- */
.detail-group-note {
    margin-top: 1.6rem;
    padding: 1.25rem 1.35rem;
    border-radius: var(--radius-md);
    background: var(--primary);
    color: var(--white);
}

.detail-group-note strong {
    display: block;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.45rem;
}

.detail-group-note p {
    margin: 0 0 0.85rem;
    font-size: 0.87rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.62);
}

.detail-group-note a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 2px;
}

@media (max-width: 900px) {
    .product-detail-container { grid-template-columns: 1fr; gap: 2rem; }
    .detail-info { position: static; }
    .gallery-main { aspect-ratio: 1 / 1; }
    .detail-notes > div { grid-template-columns: 78px minmax(0, 1fr); gap: 0.8rem; }
}

/* ============================================================
   v7.7 — 견적함: 상품 줄을 나머지 화면과 같은 언어로
   ------------------------------------------------------------
   80px 정사각 썸네일에 얇은 회색 선이라 상세·목록과 따로 놀았다.
   사진을 키우고(4:5), 구분선을 없애 카드 흐름으로 바꾼다.
   ============================================================ */

.quote-item {
    align-items: flex-start;
    gap: 18px;
    padding: 1.15rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
    background: var(--card-bg);
    transition: var(--transition-fast);
}

.quote-item:first-child { border-top: 1px solid var(--border-light); }
.quote-item:hover { border-color: var(--border); box-shadow: var(--shadow-xs); }

.quote-item-img {
    width: 92px;
    height: 115px;
    border-radius: var(--radius-sm);
    background: var(--bg-sunken);
}

.quote-item-name {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.45;
    margin-bottom: 6px;
}

.quote-item-option {
    font-size: 0.87rem;
    color: var(--text-muted);
}

.quote-item-qty { align-self: center; }

.qty-btn {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    border-color: var(--border);
    font-size: 1.05rem;
    color: var(--text);
}

.qty-value { min-width: 30px; font-size: 0.98rem; }

.quote-item-price {
    align-self: center;
    font-size: 0.98rem;
    letter-spacing: -0.02em;
}

.quote-item-remove {
    align-self: flex-start;
    font-size: 1.15rem;
    line-height: 1;
    padding: 6px 4px;
}

/* 폼·요약 영역도 같은 톤으로 */
.quote-form-section {
    background: var(--bg-warm);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.1rem);
}

.quote-form-section h2 {
    font-size: 1.08rem;
    letter-spacing: -0.025em;
    margin-bottom: 1.3rem;
}

.quote-summary {
    border-top: 1px solid var(--border);
    padding: 1.3rem 0;
}

.quote-actions .btn-submit-quote {
    background: var(--accent);
    border-radius: var(--radius-pill);
    min-height: 54px;
    letter-spacing: -0.01em;
}

.quote-actions .btn-submit-quote:hover { background: var(--accent-dark); }
.quote-actions .btn-secondary { border-radius: var(--radius-pill); min-height: 54px; }

@media (max-width: 640px) {
    .quote-item { gap: 12px; padding: 0.9rem; flex-wrap: wrap; }
    .quote-item-img { width: 72px; height: 90px; }
    .quote-item-qty, .quote-item-price { align-self: flex-start; }
}

/* ============================================================
   v7.8 — 고객센터: 옛 게시판 톤을 사이트 톤으로
   ------------------------------------------------------------
   공지·FAQ·문의·오시는길이 아직 표 테두리와 회색 헤더를 쓰고 있어
   상품 화면과 따로 놀았다. 카드/헤어라인 언어로 통일한다.
   ============================================================ */

/* ---------- 상단 탭 ---------- */
.cs-subnav {
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
}

.cs-tabs { gap: 0.35rem; }

.cs-tab {
    padding: 1rem 1.15rem;
    font-size: 0.97rem;
    font-weight: 500;
    letter-spacing: -0.015em;
    color: var(--text-light);
    border-bottom: 2px solid transparent;
    transition: var(--transition-fast);
}

.cs-tab:hover { color: var(--text); }

.cs-tab.active {
    color: var(--primary);
    font-weight: 700;
    border-bottom-color: var(--accent);
}

/* ---------- 페이지 머리 ---------- */
.cs-page-header {
    padding: clamp(2.2rem, 4vw, 3.2rem) 0 clamp(1.5rem, 2.5vw, 2rem);
}

.cs-page-header h1 {
    font-size: clamp(1.75rem, 3vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.3;
}

.cs-page-header p {
    margin-top: 0.7rem;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* ---------- 목록 표: 테두리 대신 헤어라인 ---------- */
.cs-table {
    border-collapse: collapse;
    width: 100%;
}

.cs-table thead {
    background: transparent;
    border-bottom: 2px solid var(--primary);
}

.cs-table thead th {
    padding: 0.9rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text);
    background: transparent;
}

.cs-table tbody tr {
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition-fast);
}

.cs-table tbody tr:hover { background: var(--bg-warm); }

.cs-table tbody td {
    padding: 1.05rem 0.75rem;
    font-size: 0.97rem;
    color: var(--text-light);
}

.cs-table tbody td.title-cell {
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.015em;
}

.cs-table tbody td.title-cell a:hover { color: var(--accent); }

/* 상태 배지 */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 11px;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    background: var(--bg-sunken);
    color: var(--text-light);
}

.status-badge.answered {
    background: var(--accent-soft);
    color: var(--accent-dark);
}

/* ---------- 글 보기 ---------- */
.cs-view {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--card-bg);
}

.cs-view-header {
    padding: clamp(1.6rem, 3vw, 2.2rem);
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-warm);
}

.cs-view-title {
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.4;
}

.cs-view-meta {
    margin-top: 0.75rem;
    gap: 1rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.cs-view-body {
    padding: clamp(1.6rem, 3vw, 2.2rem);
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-light);
}

.cs-answer-box {
    margin: 0 clamp(1.6rem, 3vw, 2.2rem) clamp(1.6rem, 3vw, 2.2rem);
    padding: 1.4rem 1.5rem;
    border-radius: var(--radius-md);
    background: var(--bg-warm);
    border-left: 3px solid var(--accent);
}

.cs-answer-box .answer-label {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 0.6rem;
}

/* ---------- 비밀번호 벽 ---------- */
.cs-password-wall {
    padding: clamp(3rem, 6vw, 4.5rem) 1.5rem;
    text-align: center;
}

.cs-password-wall h2 {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 1rem 0 0.5rem;
}

.cs-password-wall p { font-size: 0.95rem; color: var(--text-light); }

.pw-input-wrap {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 1.5rem;
}

.pw-input-wrap input { max-width: 240px; }

.pw-input-wrap button {
    padding: 0 24px;
    min-height: 50px;
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: var(--white);
    font-size: 0.97rem;
    font-weight: 700;
}

/* ---------- FAQ ---------- */
.cs-faq-categories { gap: 0.4rem; margin-bottom: 1.6rem; }

.cs-faq-categories button,
.cs-faq-categories .cs-faq-cat {
    padding: 0.65rem 1.15rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-light);
    background: var(--white);
    transition: var(--transition-fast);
}

.cs-faq-categories .active,
.cs-faq-categories button.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    font-weight: 700;
}

.cs-faq-list > * {
    border-bottom: 1px solid var(--border-light);
}

.cs-faq-question {
    padding: 1.25rem 0.25rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text);
}

.cs-faq-answer-inner {
    padding: 0 0.25rem 1.35rem;
    font-size: 0.96rem;
    line-height: 1.9;
    color: var(--text-light);
}

/* ---------- 버튼 ---------- */
.cs-btn {
    border-radius: var(--radius-pill);
    padding: 0 26px;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: var(--transition-fast);
}

.cs-btn-dark { background: var(--accent); color: var(--white); border: none; }
.cs-btn-dark:hover { background: var(--accent-dark); }

.cs-btn-outline {
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--text);
}

.cs-btn-outline:hover { border-color: var(--text); }

/* ---------- 오시는길 ---------- */
.cs-map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

@media (max-width: 640px) {
    .cs-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .cs-tab { white-space: nowrap; padding: 0.9rem 0.8rem; font-size: 0.92rem; }
    .cs-table tbody td { padding: 0.85rem 0.4rem; font-size: 0.92rem; }
}
