:root {
    --color-primary: #1a1a1a;
    --color-secondary: #4a4a4a;
    --color-accent: #2c5f2d; /* Library green tint */
    --color-bg: #ffffff;
    --color-surface: #f7f9f8;
    --color-border: #e2e8e4;
    --color-text: #1a1a1a;
    --color-text-light: #666;
    
    --header-height: 80px;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Pretendard', sans-serif;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 0 40px;
    height: 100%;
}

.logo {
    margin: 0;
    padding: 0;
    margin-right: 60px;
    display: flex;
    align-items: center;
}

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

.logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.gnb {
    height: 100%;
    display: flex;
    align-items: center;
}

.gnb > ul {
    display: flex;
    gap: 40px;
    height: 100%;
}

.gnb > ul > li {
    position: relative;
    display: flex;
    align-items: center;
    height: var(--header-height);
}

.gnb > ul > li > a {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-secondary);
    transition: color 0.3s ease;
    padding: 10px 0;
    position: relative;
}

.gnb > ul > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.gnb > ul > li:hover > a {
    color: var(--color-primary);
}

.gnb > ul > li:hover > a::after {
    width: 100%;
}

/* Submenu Styles */
.gnb .submenu {
    position: absolute;
    top: var(--header-height);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: max-content;
    min-width: 180px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--color-border);
}

.gnb .has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.gnb .submenu > li {
    display: block;
    width: 100%;
    position: relative;
}

.gnb .submenu a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 24px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-light);
    text-align: left;
    transition: all 0.3s ease;
}

.gnb .submenu a:hover {
    color: var(--color-accent);
    background: rgba(0,0,0,0.03);
}



.header-utils {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-left: 30px;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 40px;
}

.search-input {
    width: 220px;
    height: 36px;
    padding: 0 15px;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    background: #fff;
    outline: none;
    font-family: inherit;
    color: var(--color-text);
    margin-right: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: var(--color-accent);
}

.header-utils a {
    font-size: 1.25rem;
    color: var(--color-primary);
    transition: transform 0.3s ease, color 0.3s ease;
}

.header-utils a:hover {
    color: var(--color-accent);
    transform: translateY(-2px);
}

/* Slider Section */
.hero-slider {
    position: relative;
    width: 100vw !important;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    height: 80vh;
    overflow: hidden;
    border-radius: 0 !important;
    background: #111;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
    background: #222;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
    transform: scale(1.05);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    z-index: 2;
    transform: scale(1);
}

.slide-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(1.0);
    transition: transform 6s ease-out;
    transform: scale(1);
}

.slide.active .slide-img {
    transform: scale(1.1);
}

.slide-content {
    text-align: center;
    color: #fff;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease forwards 0.3s;
}

.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-content h2 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.slide-content p {
    font-size: 1.5rem;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

/* Slider Next/Prev Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    color: #fff;
    font-size: 1.5rem;
    z-index: 10;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
}

.slider-btn:hover {
    background: #fff;
    color: var(--color-primary);
}

.prev-btn { left: 40px; }
.next-btn { right: 40px; }

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot:hover {
    background: rgba(255,255,255,0.6);
}

.dot.active {
    background: #fff;
    width: 40px;
    border-radius: 6px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
    pointer-events: none;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 1.2rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0);}
    40% {transform: translateX(-50%) translateY(-10px);}
    60% {transform: translateX(-50%) translateY(-5px);}
}

/* Best Products */
.best-products-section {
    padding: 100px 5%;
    background: var(--color-surface);
    min-height: 800px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--color-text);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.product-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    list-style: none;
    flex-wrap: wrap;
}

.tab-item {
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-light);
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tab-item:hover {
    color: var(--color-primary);
    border-color: var(--color-text-light);
}

.tab-item.active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Scroll Reveal */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.product-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    width: 280px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.04);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.product-img {
    height: 250px;
    background: #eaeaea; /* Placeholder */
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.product-info {
    padding: 24px;
    text-align: center;
}

.product-info h4 {
    font-size: 1.2rem;
    color: var(--color-text);
    font-weight: 600;
}

/* Right Fixed Banner */
.right-fixed-banner {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    padding: 24px 12px;
    border: 1px solid var(--color-border);
}

.banner-menu {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.banner-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    font-size: 1.25rem;
    position: relative;
    transition: var(--transition-smooth);
    background: transparent;
}

.banner-btn:hover {
    background: var(--color-surface);
    color: var(--color-accent);
}

.banner-btn.naver-talk {
    color: #03c75a; 
}

.banner-btn.naver-talk:hover {
    background: #03c75a;
    color: #fff;
}

.tooltip {
    position: absolute;
    right: 65px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: var(--color-primary);
    color: #fff;
    padding: 8px 14px;
    font-size: 0.9rem;
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    white-space: nowrap;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--color-primary);
}

.banner-btn:hover .tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.scroll-btns {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
    width: 100%;
    align-items: center;
}

.scroll-btns .banner-btn {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    background: var(--color-surface);
}

.scroll-btns .banner-btn:hover {
    background: var(--color-accent);
    color: #fff;
}

/* Footer Section */
.footer {
    background-color: #1a1a1a;
    color: #999;
    padding: 60px 20px;
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-info p {
    margin-bottom: 8px;
}

.footer-info strong {
    color: #ddd;
    font-weight: 600;
}

.footer-info .copyright {
    margin-top: 20px;
    font-size: 0.85rem;
    color: #666;
}

/* Chat Widget - Updated for fixed positioning and sidebar integration */
.chat-window {
    position: fixed;
    bottom: 90px;
    right: 110px; /* 사이드바와 겹치지 않게 충분한 여백 확보 */
    width: 360px;
    height: 550px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10001;
    border: 1px solid var(--color-border);
}

.chat-window.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.chat-fab {
    display: none; /* 사이드바 아이콘으로 대체하므로 기본 FAB 숨김 */
}

.chat-header {
    background: var(--color-accent);
    color: #fff;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.chat-body {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #f8f9fa;
}

.message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
    animation: messageIn 0.3s ease-out;
}

@keyframes messageIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.system-msg {
    align-self: flex-start;
    background: #fff;
    color: #333;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.user-msg {
    align-self: flex-end;
    background: var(--color-accent);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.chat-footer {
    padding: 20px;
    background: #fff;
    border-top: 1px solid #eee;
    display: flex;
    gap: 12px;
}

.chat-footer input {
    flex: 1;
    padding: 12px 18px;
    border: 1px solid #eee;
    border-radius: 25px;
    outline: none;
    font-size: 0.95rem;
    background: #f8f9fa;
    transition: all 0.3s;
}

.chat-footer input:focus {
    background: #fff;
    border-color: var(--color-accent);
}

.chat-footer button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.chat-footer button:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Product Detail Page */
.product-detail-page {
    padding: 120px 5% 100px;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 800px;
}

.breadcrumb {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 30px;
}
.breadcrumb span {
    margin: 0 8px;
    color: var(--color-border);
}

/* Top Section (Image + Info) */
.product-detail-top {
    display: flex;
    gap: 60px;
    margin-bottom: 80px;
}

/* Gallery Area */
.gallery-wrapper {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 24px;
    overflow: hidden;
    background: #f7f9f8;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.main-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #fff; /* ?역 諻국제?潺 ??篧竾?瞘 */
    transition: transform 0.5s ease;
}

.main-image-container:hover img {
    transform: scale(1.05);
}

.thumbnail-list {
    display: flex;
    gap: 15px;
}

.thumb-item {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-smooth);
    background: #f7f9f8;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #fff;
}

.thumb-item.active {
    border-color: var(--color-primary);
}

/* Info Area */
.info-wrapper {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.product-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.badge {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
}

.badge-new { background: var(--color-primary); color: #fff; }
.badge-best { background: var(--color-accent); color: #fff; }

.product-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-desc {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 25px;
}

.product-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 40px;
    display: flex;
    align-items: center;
}

.product-price span {
    font-size: 1.2rem;
    font-weight: 500;
    margin-left: 5px;
}

.purchase-options {
    background: #fcfcfc;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
}

.option-group {
    margin-bottom: 20px;
}

.option-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-secondary);
}

.option-select {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    appearance: none;
    background: #fff url('data:image/svg+xml;utf8,<svg fill="%23333" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 15px top 50%;
    transition: border-color 0.3s;
}

.option-select:focus {
    border-color: var(--color-primary);
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    width: 140px;
    height: 48px;
    background: #fff;
    overflow: hidden;
}

.qty-btn {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--color-secondary);
    transition: background 0.2s;
}

.qty-btn:hover {
    background: #f0f0f0;
}

.qty-input {
    width: 50px;
    height: 100%;
    border: none;
    border-left: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    outline: none;
}

.total-price-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
}

.total-price-box .label {
    font-size: 1.2rem;
    font-weight: 600;
}

.total-price-box .total {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-primary);
}

.buy-btn-group {
    display: flex;
    gap: 15px;
}

.btn-large {
    flex: 1;
    height: 64px;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.btn-cart {
    background: #fff;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-cart:hover {
    background: #f8f8f8;
}

.btn-buy {
    background: var(--color-primary);
    border: 2px solid var(--color-primary);
    color: #fff;
}

.btn-buy:hover {
    background: #333;
    border-color: #333;
}

.btn-icon-large {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-secondary);
    background: #fff;
    transition: var(--transition-smooth);
}

.btn-icon-large:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Detail Bottom Tabs */
.product-detail-bottom {
    margin-top: 80px;
}

.detail-tabs-nav {
    display: flex;
    border-bottom: 2px solid var(--color-border);
    position: sticky;
    top: var(--header-height);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.detail-tab-btn {
    flex: 1;
    text-align: center;
    padding: 24px 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text-light);
    position: relative;
    transition: color 0.3s;
}

.detail-tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    transition: background 0.3s;
}

.detail-tab-btn:hover {
    color: var(--color-primary);
}

.detail-tab-btn.active {
    color: var(--color-primary);
}

.detail-tab-btn.active::after {
    background: var(--color-primary);
}

.detail-tab-content {
    padding: 80px 0;
    display: none;
    animation: fadeIn 0.5s ease;
}

.detail-tab-content.active {
    display: block;
}

.spec-image-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.spec-image-container img {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 40px;
}

.info-text-box {
    background: var(--color-surface);
    padding: 40px;
    border-radius: 16px;
    margin-top: 40px;
    line-height: 1.8;
}

.info-text-box h4 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--color-primary);
}

@media (max-width: 992px) {
    .product-detail-top {
        flex-direction: column;
    }
}

/* =========================================
   Product Detail Section Styles (Type A, B, C)
   ========================================= */

/* 4. Specification (DIMENSION) Styles */
.spec-container.type-a {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #eee;
    margin-bottom: 30px;
}
.spec-container.type-a table {
    width: 100%;
    border-collapse: collapse;
}
.spec-container.type-a th {
    background: #fcfcfc;
    padding: 18px 24px;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
    width: 30%;
    color: #888;
    font-weight: 500;
    font-size: 0.95rem;
}
.spec-container.type-a td {
    padding: 18px 24px;
    border-bottom: 1px solid #f0f0f0;
    color: #111;
    font-weight: 600;
}
.spec-container.type-a tr:last-child th,
.spec-container.type-a tr:last-child td {
    border-bottom: none;
}

.spec-container.type-b {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}
.spec-container.type-b .spec-item {
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    border: 1px solid #f5f5f5;
    transition: var(--transition-smooth);
}
.spec-container.type-b .spec-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.spec-container.type-b .spec-key {
    font-weight: 600;
    color: #999;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.spec-container.type-b .spec-val {
    color: #222;
    font-size: 1.2rem;
    font-weight: 700;
}

.spec-container.type-c {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
    border-top: 2px solid #111;
}
.spec-container.type-c .spec-item {
    display: flex;
    align-items: flex-start;
    padding: 25px 0;
    border-bottom: 1px solid #eee;
}
.spec-container.type-c .spec-key {
    width: 200px;
    font-weight: 700;
    color: #111;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.spec-container.type-c .spec-val {
    flex: 1;
    font-weight: 400;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.5;
}

/* 5. Feature (DETAIL VIEW) Styles */
.feature-container.type-a .feature-item {
    padding: 40px;
    background: #fff;
    border-radius: 20px;
    margin-bottom: 20px;
    border: 1px solid #eee;
    display: flex;
    gap: 30px;
}
.feature-container.type-a .feature-num {
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(0,0,0,0.05);
    line-height: 1;
}
.feature-container.type-a .feature-content h5 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #111;
}
.feature-container.type-a .feature-content p {
    color: #666;
    line-height: 1.7;
    font-size: 1.05rem;
}

.feature-container.type-b {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}
.feature-container.type-b .feature-item {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.04);
    border: 1px solid #f9f9f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition-smooth);
}
.feature-container.type-b .feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}
.feature-container.type-b h5 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}
.feature-container.type-b h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--color-accent);
}
.feature-container.type-b p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
}

.feature-container.type-c {
    display: flex;
    flex-direction: column;
    gap: 100px;
    padding: 40px 0;
}
.feature-container.type-c .feature-item {
    display: flex;
    flex-direction: column;
    gap: 30px;
    border-left: 2px solid #111;
    padding-left: 40px;
    position: relative;
}
.feature-container.type-c .feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -2px;
    width: 2px;
    height: 0;
    background: var(--color-accent);
    transition: height 0.5s ease;
}
.feature-container.type-c .feature-item:hover::before {
    height: 100%;
}
.feature-container.type-c .feature-title-box h5 {
    font-size: 3rem;
    font-weight: 800;
    color: #111;
    line-height: 1;
    letter-spacing: -2px;
    margin: 0;
}
.feature-container.type-c .feature-desc-box p {
    font-size: 1.25rem;
    color: #555;
    line-height: 1.8;
    max-width: 800px;
}

/* =========================================
   Mobile Responsiveness
   ========================================= */

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--color-primary);
}

@media (max-width: 1024px) {
    .header-container {
        padding: 0 20px;
    }
    .gnb > ul {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .gnb {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: #fff;
        transition: left 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }

    .gnb.active {
        left: 0;
    }

    .gnb > ul {
        flex-direction: column;
        gap: 0;
        height: auto;
        padding: 20px 0;
    }

    .gnb > ul > li {
        width: 100%;
        height: auto;
        flex-direction: column;
        align-items: stretch;
    }

    .gnb > ul > li > a {
        width: 100%;
        display: block;
        padding: 15px 25px;
        border-bottom: 1px solid var(--color-border);
    }

    .gnb .submenu {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
        box-shadow: none;
        border-radius: 0;
        border: none;
        background: #f9f9f9;
        display: none;
    }
    
    .gnb .has-submenu.active .submenu,
    .gnb .has-submenu:hover .submenu {
        display: flex;
        transform: none !important;
    }

    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 15px;
        position: relative;
    }

    .header-left {
        display: flex;
        align-items: center;
        gap: 12px;
        flex: 1;
    }

    .logo {
        flex: 1;
        text-align: center;
        position: relative;
        left: 0;
        transform: none;
    }

    .logo a {
        font-size: 1.1rem;
        white-space: nowrap;
    }

    .header-utils > a {
        display: none; /* 장바구니 숨김 */
    }

    .header-utils {
        position: static;
        transform: none;
        flex: 1;
        display: flex;
        justify-content: flex-end;
        margin-left: 0;
    }

    .search-wrapper {
        margin: 0;
    }

    .search-input {
        display: none;
    }

    .search-btn {
        font-size: 1.2rem;
        color: var(--color-primary);
    }

    .user-profile-nav {
        background: transparent;
        border: none;
        padding: 0;
        gap: 0;
    }

    .user-info-badge {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: var(--color-surface);
        display: flex !important;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--color-border);
    }

    .user-info-badge span, 
    .user-name,
    .logout-btn, 
    .nav-icon-btn {
        display: none !important; /* 프로필 아이콘 외 모든 버튼 숨김 */
    }

    .user-info-badge i {
        font-size: 1.1rem;
        margin: 0;
        color: var(--color-primary);
    }

    .section-title {
        font-size: 1.8rem;
    }

    .tab-item {
        padding: 8px 18px;
        font-size: 0.95rem;
    }

    .hero-slider {
        height: 60vh;
    }

    .slide-content h2 {
        font-size: 2.5rem;
    }
    
    .right-fixed-banner {
        right: 8px;
        padding: 12px 6px;
        border-radius: 30px;
    }
    
    .banner-menu {
        gap: 10px;
    }
    
    .banner-btn {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
    
    .scroll-btns {
        margin-top: 8px;
        padding-top: 12px;
    }
    
    .scroll-btns .banner-btn {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .chat-window {
        right: 10px;
        bottom: 80px;
        width: calc(100% - 20px);
        height: 70vh;
    }
}
