/* UGG 쇼핑몰 커스텀 스타일 */

:root {
    --primary-color: #000000;
    --secondary-color: #f5f5f5;
    --accent-color: #ff4600;
    --text-dark: #000000;
    --text-light: #555555;
    --border-light: #e9ecef;
}

/* 기본 스타일 */
body {
    font-family: 'Pretendard', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    font-weight: 400;
}

/* 헤더 스타일 */
.top-bar {
    font-size: 0.875rem;
}

.main-header {
    border-bottom: 1px solid var(--border-light);
}

/* 헤더 아이콘 링크 (배경 없음) */
.header-icon-link {
    color: #000000;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.header-icon-link:hover {
    color: #ff4600;
    transform: scale(1.1);
}

.header-icon-link .badge {
    font-size: 0.65rem;
    padding: 0.25rem 0.4rem;
}

/* 검색 오버레이 */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.88);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow-y: auto;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-content {
    position: relative;
    padding: 100px 0;
    min-height: 100vh;
}

.search-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px;
    z-index: 10;
}

.search-close:hover {
    color: #ff4600;
    transform: rotate(90deg);
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    padding-left: 20px;
}

.search-icon-overlay {
    flex-shrink: 0;
    color: #000000;
    margin-right: 15px;
}

.search-input-overlay {
    flex: 1;
    padding: 20px 20px 20px 0;
    font-size: 1.5rem;
    border: none;
    background: transparent;
    color: #000000;
}

.search-input-overlay:focus {
    outline: none;
    box-shadow: none !important;
    border-color: transparent !important;
}

.search-input-overlay::placeholder {
    color: #999999;
}

/* 검색 추천어 섹션 */
.search-suggestions {
    max-width: 800px;
    margin: 0 auto;
    color: white;
}

.suggestions-main-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.suggestion-title {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.suggestion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* 인기 검색어 태그 (번호 포함) */
.suggestion-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.suggestion-tag:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.tag-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(255, 70, 0, 0.8);
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
}

/* 추천 검색어 태그 (번호 없음) */
.suggestion-tag-simple {
    display: inline-block;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.suggestion-tag-simple:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
}

/* 카테고리 바로가기 */
.category-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.category-quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.12);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    min-width: 100px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.category-quick-link:hover {
    background: rgba(255, 255, 255, 0.22);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.category-quick-link i {
    font-size: 24px;
    margin-bottom: 8px;
}

.category-quick-link span {
    font-size: 13px;
    font-weight: 500;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .search-overlay-content {
        padding: 80px 20px;
    }

    .search-input-overlay {
        font-size: 1.1rem;
        padding: 15px 15px 15px 0;
    }

    .search-close {
        top: 20px;
        right: 20px;
    }

    .suggestions-main-title {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
        padding-bottom: 0.75rem;
    }

    .suggestion-title {
        font-size: 0.9rem;
    }

    .suggestion-tag,
    .suggestion-tag-simple {
        font-size: 13px;
        padding: 8px 14px;
    }

    .category-quick-link {
        min-width: 80px;
        padding: 15px;
    }

    .category-quick-link i {
        font-size: 20px;
    }

    .category-quick-link span {
        font-size: 12px;
    }

    .search-suggestions {
        margin-top: 3rem !important;
    }
}

.navbar-brand img {
    transition: opacity 0.3s ease;
}

.navbar-brand img:hover {
    opacity: 0.8;
}

.search-form .form-control {
    border-radius: 25px 0 0 25px;
}

.search-form .btn {
    border-radius: 0 25px 25px 0;
}

/* 메인 네비게이션 스타일 */
.main-navigation {
    background: white;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    z-index: 1000;
}

.main-navigation .container {
    position: relative;
}

/* 메가메뉴 오버레이 */
.mega-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: flex-start;
}

.nav-menu .nav-item {
    position: relative;
}

.nav-menu .nav-link {
    display: block;
    padding: 1rem 1.25rem;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: normal;
    text-transform: none;
    transition: all 0.2s ease;
    position: relative;
}

.nav-menu .nav-item:first-child .nav-link {
    padding-left: 0;
}

.nav-menu .nav-link:hover {
    color: #000;
}

.nav-menu .nav-link.sale-link {
    color: #dc3545;
    font-weight: 600;
}

.nav-menu .nav-link.sale-link:hover {
    color: #b02a37;
}

/* Mega Menu - wconcept 스타일 */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #f5f5f5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    pointer-events: none;
}

/* 메가메뉴 표시 */
.mega-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* W컨셉 스타일: 메가메뉴 위치 조정 */
.wconcept-header .mega-menu {
    top: calc(100% - 1px);
}

/* 메가메뉴와 네비게이션 사이의 간격 제거 */
.main-navigation {
    background: white;
    border-bottom: 1px solid #f5f5f5;
    position: relative;
    z-index: 1000;
}

.nav-item:hover ~ .mega-menu-overlay,
.nav-item:hover .mega-menu-overlay {
    opacity: 1;
    visibility: visible;
}

.mega-menu .container {
    padding: 2.5rem 0;
    max-width: 1400px;
}

/* 네비게이션과 메가메뉴 사이의 연결 영역 */
.mega-menu::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: white;
    z-index: 1001;
}

.mega-menu h6 {
    font-weight: 500;
    color: #000;
    margin-bottom: 1.2rem;
    font-size: 0.875rem;
    text-transform: none;
    letter-spacing: -0.02em;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 0.75rem;
}

.mega-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu ul li {
    margin-bottom: 0.35rem;
}

.mega-menu ul li a {
    color: #555;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    display: block;
    padding: 0.4rem 0.6rem;
    border-left: 2px solid transparent;
    padding-left: 0.6rem;
    border-radius: 2px;
}

.mega-menu ul li a:hover {
    color: #000;
    border-left-color: #000;
    background: #f8f8f8;
    padding-left: 0.8rem;
}

.menu-featured {
    text-align: center;
    padding: 1.5rem 1rem;
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 2px;
}

.menu-featured img {
    height: 180px;
    object-fit: cover;
    border-radius: 2px;
    margin-bottom: 1rem;
}

.menu-featured h6 {
    font-size: 0.8125rem;
    margin-bottom: 0.5rem;
    color: #000;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.menu-featured p {
    font-size: 0.75rem;
    color: #888;
    margin: 0;
    line-height: 1.5;
    font-weight: 300;
}

/* 전체 카테고리 메뉴 특별 스타일 - wconcept */
.all-menu .menu-featured {
    background: #fafafa;
    border-radius: 4px;
    padding: 1.5rem;
}

.all-menu .col-md-2 h6 {
    border-bottom-color: #e8e8e8;
}

.all-menu .btn-outline-primary {
    border-color: #ddd;
    color: #666;
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 2px;
    font-weight: 300;
    transition: all 0.2s ease;
}

.all-menu .btn-outline-primary:hover {
    background-color: #000;
    border-color: #000;
    color: white;
}

/* 2차 카테고리 메뉴 스타일 - wconcept */
.mega-menu .view-all {
    color: #000 !important;
    font-weight: 500;
    border-top: 1px solid #f0f0f0;
    padding-top: 0.5rem !important;
    margin-top: 0.5rem;
    font-size: 0.8125rem;
}

.mega-menu .view-all:hover {
    color: #555 !important;
}

.mega-menu .featured-links .badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.7rem;
    text-decoration: none;
    border-radius: 2px;
}

.mega-menu .featured-links .badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* 메가메뉴 내 2차 카테고리 제목 스타일 */
.mega-menu h6:not(:first-child) {
    margin-top: 2rem;
    font-size: 0.875rem;
    color: #000;
}

/* 카테고리 그리드 스타일 */
.category-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.3rem;
}

.category-grid li {
    margin-bottom: 0;
}

.category-grid li a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: block;
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
    border-left: 3px solid transparent;
}

.category-grid li a:hover {
    color: var(--primary-color);
    background: rgba(0, 0, 0, 0.05);
    border-left-color: var(--primary-color);
    transform: translateX(2px);
}

/* 전체 메뉴 아이콘 스타일 */
.all-menu h6 i {
    color: var(--accent-color);
    font-size: 0.9rem;
}

/* 빠른 링크 버튼 스타일 - wconcept */
.quick-links .btn {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
    border-radius: 2px;
    transition: all 0.2s ease;
    font-weight: 300;
    border-width: 1px;
}

.quick-links .btn-outline-primary {
    border-color: #ddd;
    color: #666;
}

.quick-links .btn-outline-primary:hover {
    background-color: #000;
    border-color: #000;
    color: white;
}

.quick-links .btn-outline-success {
    border-color: #ddd;
    color: #666;
}

.quick-links .btn-outline-success:hover {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
}

.quick-links .btn-outline-danger {
    border-color: #ddd;
    color: #666;
}

.quick-links .btn-outline-danger:hover {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
}

.quick-links .btn:hover {
    transform: none;
    box-shadow: none;
}

/* 메가메뉴 전체 상품 보기 버튼 - wconcept */
.menu-featured .btn-primary {
    background-color: #000;
    border-color: #000;
    border-radius: 2px;
    padding: 0.6rem 1.2rem;
    font-weight: 300;
    font-size: 0.75rem;
    letter-spacing: 0;
    transition: all 0.2s ease;
}

.menu-featured .btn-primary:hover {
    background-color: #333;
    border-color: #333;
    transform: none;
}

/* 다수 카테고리를 위한 컴팩트 레이아웃 */
.all-menu .container {
    max-width: 1400px;
}

.all-menu .border-top {
    border-color: #f0f0f0 !important;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
}

/* 새로운 메가메뉴 스타일 - 좌측 2차, 우측 3차 (wconcept 스타일) */
.sub-categories-list {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 2px;
    padding: 1.5rem 1rem;
    height: fit-content;
    margin-right: 1rem;
}

.sub-categories-list ul {
    margin-bottom: 0;
    padding-bottom: 0;
}

.sub-categories-list h6 {
    color: #000;
    font-weight: 400;
    border-bottom: 1px solid #e8e8e8;
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.8125rem;
    letter-spacing: -0.01em;
}

.sub-categories-list .nav-link {
    color: #666;
    border: none;
    border-radius: 0;
    padding: 0.65rem 0.75rem;
    margin-bottom: 0.1rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8125rem;
    font-weight: 300;
    border-left: 2px solid transparent;
}

.sub-categories-list .nav-link:hover {
    background-color: #f8f8f8;
    color: #000;
    border-left-color: #000;
    transform: none;
}

.sub-categories-list .nav-link.active {
    background-color: #fafafa;
    color: #000;
    font-weight: 400;
    border-left-color: #000;
}

.sub-categories-list .nav-link i {
    font-size: 0.65rem;
    transition: transform 0.2s ease;
    opacity: 0.5;
}

.sub-categories-list .nav-link:hover i,
.sub-categories-list .nav-link.active i {
    transform: translateX(2px);
    opacity: 1;
}

/* 3차 카테고리 표시 영역 */
.sub-sub-categories {
    padding-left: 2rem;
    min-height: 300px;
}

/* 메가메뉴 안정성 개선 */
.mega-menu .container {
    position: relative;
    padding: 3rem 1.5rem;
}

.mega-menu .row {
    margin: 0;
}

.mega-menu .col-md-3,
.mega-menu .col-md-6 {
    padding: 0 1rem;
}

/* 메가메뉴의 첫 번째 컬럼 왼쪽 패딩 제거 */
.mega-menu .row > .col-md-3:first-child {
    padding-left: 0;
}

/* 메가메뉴 영역 간 간격 최소화 */
.sub-categories-list,
.sub-sub-categories,
.menu-featured {
    margin: 0;
}

/* 전체 메뉴 전용 스타일 */
.all-sub-categories {
    padding-left: 1.5rem;
    min-height: 300px;
}

.all-sub-category-group {
    display: none;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.all-sub-category-group.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.all-category-link {
    color: #666;
    border: none;
    border-radius: 0;
    padding: 0.65rem 0.75rem;
    margin-bottom: 0.1rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-left: 2px solid transparent;
    font-weight: 300;
    text-decoration: none;
}

.all-category-link:hover {
    background-color: #f8f8f8;
    color: #000;
    border-left-color: #000;
    transform: none;
}

.all-category-link.active {
    background-color: #fafafa;
    color: #000;
    font-weight: 400;
    border-left-color: #000;
}

.all-category-link i.fa-chevron-right {
    font-size: 0.65rem;
    transition: transform 0.2s ease;
    opacity: 0.5;
}

.all-category-link:hover i.fa-chevron-right,
.all-category-link.active i.fa-chevron-right {
    transform: translateX(2px);
    opacity: 1;
}

.sub-sub-category-group {
    display: none;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.sub-sub-category-group.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.sub-sub-category-group h6 {
    color: #000;
    font-weight: 400;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 0.6rem;
    margin-bottom: 0.75rem;
    font-size: 0.8125rem;
    letter-spacing: -0.01em;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 0.15rem;
}

.category-list li a {
    color: #666;
    text-decoration: none;
    display: block;
    padding: 0.35rem 0.5rem;
    border-radius: 0;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
    font-size: 0.8125rem;
    font-weight: 300;
}

.category-list li a:hover {
    background-color: #f8f8f8;
    color: #000;
    border-left-color: #000;
    transform: none;
    padding-left: 0.65rem;
}

/* 반응형: 카테고리가 많을 때 */
@media (max-width: 1200px) {
    .all-menu .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 2rem;
    }
    
    .all-menu .row .border-top {
        display: none;
    }
}

@media (max-width: 768px) {
    .all-menu .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1.5rem;
    }
    
    .category-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .category-grid li {
        flex: 0 0 calc(50% - 0.25rem);
    }
}

/* 모바일 메뉴 토글 */
.mobile-menu-toggle {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover span {
    background: var(--primary-color);
}

/* 모바일 사이드바 스타일 */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100vh;
    background: white;
    z-index: 9999;
    transition: left 0.3s ease;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.mobile-sidebar.open,
.mobile-sidebar.show {
    left: 0;
}

.mobile-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    background: var(--secondary-color);
}

.mobile-sidebar-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.mobile-sidebar-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
}

.mobile-sidebar-content {
    padding: 0;
}

/* 사용자 정보 영역 */
.mobile-user-info {
    padding: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    background: #f8f9fa;
}

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

.mobile-auth-link {
    flex: 1;
    text-align: center;
    padding: 0.75rem 1rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.mobile-auth-link:hover {
    background: #333333;
    color: white;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--primary-color);
}

.user-profile i {
    font-size: 1.5rem;
}

/* 메뉴 아이템들 */
.mobile-menu-items {
    padding: 0;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.mobile-menu-item:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
}

.mobile-menu-item i:first-child {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.mobile-menu-item span {
    flex: 1;
    font-weight: 500;
}

.mobile-menu-item .fa-chevron-right,
.mobile-menu-item .fa-chevron-down {
    font-size: 0.8rem;
    color: #999;
    transition: transform 0.3s ease;
}

.mobile-menu-item.sale-item {
    color: #dc3545;
}

.mobile-menu-item.sale-item:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

/* 서브메뉴 */
.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    background: #f8f9fa;
    transition: max-height 0.3s ease;
}

.mobile-submenu.open {
    max-height: 300px;
}

.mobile-submenu-item {
    display: block;
    padding: 0.75rem 1.5rem 0.75rem 3.5rem;
    color: #666;
    text-decoration: none;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.mobile-submenu-item:hover {
    background: white;
    color: var(--accent-color);
    padding-left: 4rem;
}

.mobile-category-arrow.rotated {
    transform: rotate(180deg);
}

/* 하단 링크들 */
.mobile-bottom-links {
    margin-top: 2rem;
    padding: 1.5rem;
    border-top: 1px solid #f0f0f0;
    background: #f8f9fa;
}

.mobile-bottom-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    color: #666;
    text-decoration: none;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.mobile-bottom-link:last-child {
    border-bottom: none;
}

.mobile-bottom-link:hover {
    color: var(--primary-color);
}

.mobile-bottom-link i {
    width: 20px;
    text-align: center;
}

.mobile-cart-count,
.mobile-wishlist-count {
    margin-left: auto;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    min-width: 20px;
    text-align: center;
}

/* 오버레이 */
.mobile-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-sidebar-overlay.active,
.mobile-sidebar-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* 모바일 서브메뉴 */
.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f8f9fa;
}

.mobile-submenu.show {
    max-height: 500px;
}

.mobile-submenu-item {
    display: block;
    padding: 0.75rem 2rem;
    color: #666;
    text-decoration: none;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.mobile-submenu-item:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--accent-color);
    padding-left: 2.5rem;
}

.mobile-submenu-item:last-child {
    border-bottom: none;
}

/* 전체 카테고리 보기 링크 스타일 */
.mobile-submenu-all {
    background: rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
    font-weight: 500;
    border-bottom: 2px solid #e9ecef !important;
}

.mobile-submenu-all:hover {
    background: rgba(0, 0, 0, 0.2);
    color: var(--primary-color);
    padding-left: 2.5rem;
}

.mobile-submenu-all i {
    color: var(--primary-color);
}

/* 사이드바 열릴 때 body 스크롤 제거 */
body.sidebar-open {
    overflow: hidden;
}

/* 상품 카드 스타일 */
.product-card {
    position: relative;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.product-card .badge {
    position: absolute;
    top: 10px;
    left: 0;
    z-index: 10;
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0 !important;
}

.product-card .wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transition: all 0.3s ease;
}

.product-card .wishlist-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.product-card .wishlist-btn.active {
    background: var(--primary-color);
    color: white;
}

.product-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-card .card-body {
    padding: 1.25rem;
}

.product-card .card-title a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
}

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

.price {
    font-weight: 600;
    color: var(--text-dark);
}

.price-sale {
    font-weight: 600;
    color: var(--primary-color);
}

.price-original {
    text-decoration: line-through;
    color: #999;
    font-weight: 400;
}

/* 상품 상세 페이지 스타일 */
.product-gallery {
    position: relative;
}

.main-image-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.thumbnail-image {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail-image:hover,
.thumbnail-image.active {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.product-info .product-category a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-title {
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
}

.product-price {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 1rem;
}

.product-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* 상품 옵션 스타일 */
.size-option {
    border: 2px solid #e9ecef;
    background: white;
    color: var(--text-dark);
    min-width: 60px;
    transition: all 0.3s ease;
}

.size-option:hover,
.size-option.selected {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.color-option {
    border: 2px solid #ddd;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
}

.color-option:hover,
.color-option.selected {
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.color-option.selected::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.quantity-selector .form-control {
    border: 2px solid #e9ecef;
    transition: border-color 0.3s ease;
}

.quantity-selector .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.25);
}

.quantity-minus,
.quantity-plus {
    width: 40px;
    height: 40px;
    border: 2px solid #e9ecef;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quantity-minus:hover,
.quantity-plus:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

/* 상품 정보 링크 */
.product-info-links i {
    font-size: 1.5rem;
}

/* 필터 사이드바 */
.product-filters {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    position: sticky;
    top: 20px;
}

.filter-group h6 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-label {
    color: var(--text-light);
    cursor: pointer;
}

/* 탭 스타일 */
.nav-tabs .nav-link {
    color: var(--text-light);
    border: none;
    border-bottom: 2px solid transparent;
    background: none;
    padding: 1rem 1.5rem;
    font-weight: 500;
}

.nav-tabs .nav-link:hover {
    border-bottom-color: var(--accent-color);
    color: var(--primary-color);
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: none;
}

/* 스크롤 투 탑 버튼 */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #ffffff;
    color: #000000;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}

/* 모바일에서 하단 고정 바와 겹치지 않도록 위치 조정 */
@media (max-width: 767px) {
    .scroll-to-top {
        bottom: 90px;
        right: 20px;
    }
}

/* 반응형 */
@media (max-width: 768px) {
    .product-main-image {
        height: 300px;
    }
    
    .product-filters {
        position: static;
        margin-bottom: 2rem;
    }
    
    .size-option {
        min-width: 50px;
        font-size: 0.9rem;
    }
}

/* 반응형 네비게이션 */
@media (max-width: 991.98px) {
    /* 기존 네비게이션 숨기기 */
    .main-nav-wrapper {
        display: none !important;
    }
    
    .mega-menu {
        display: none !important;
    }
}

/* 언더라인 효과 - wconcept 스타일 */
.nav-menu .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: #000;
    transition: all 0.25s ease;
    transform: translateX(-50%);
}

.nav-menu .nav-link:hover::after {
    width: 70%;
}

/* 네비게이션 wrapper */
.main-nav-wrapper {
    display: block;
}

@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none;
    }
    
    .main-nav-wrapper {
        display: block !important;
    }
}

@media (max-width: 991.98px) {
    .main-nav-wrapper.collapse:not(.show) {
        display: none;
    }
}

/* 버튼 스타일 */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    letter-spacing: -0.01em;
    font-family: 'Pretendard', sans-serif;
}

.btn-primary:hover {
    background-color: #333333;
    border-color: #333333;
    transform: translateY(-1px);
}

.btn-outline-secondary {
    border-radius: 25px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

/* 카드 스타일 */
.card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

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

.card-img-top {
    transition: transform 0.3s ease;
}

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

/* 상품 카드 */
.product-card {
    position: relative;
}

.product-card .badge {
    position: absolute;
    top: 10px;
    left: 0;
    z-index: 2;
    border-radius: 0 !important;
}

.product-card .wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.product-card .wishlist-btn:hover {
    background: white;
    color: #dc3545;
}

.product-card .wishlist-btn.active {
    color: #dc3545;
    background: white;
}

/* 가격 스타일 */
.price {
    font-weight: 600;
    color: var(--primary-color);
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.01em;
}

.price-original {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 0.9rem;
}

.price-sale {
    color: #dc3545;
    font-weight: bold;
}

/* 히어로 섹션 */
.hero-section {
    background: linear-gradient(135deg, var(--secondary-color), #FEFCFA);
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    font-family: 'Inter', sans-serif;
}

.hero-section p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* 섹션 제목 */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    font-family: 'Inter', sans-serif;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* 필터 사이드바 */
.filter-sidebar {
    background: #FDFBF8;
    border-radius: 12px;
    padding: 1.5rem;
}

.filter-group {
    margin-bottom: 2rem;
}

.filter-group h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.filter-group .form-check {
    margin-bottom: 0.5rem;
}

.filter-group .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* 페이지네이션 */
.pagination .page-link {
    color: var(--primary-color);
    border: 1px solid var(--border-light);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* 폼 스타일 */
.form-control {
    border-radius: 8px;
    border: 1px solid var(--border-light);
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* 알림 메시지 */
.alert {
    border-radius: 8px;
    border: none;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

/* 장바구니 테이블 */
.cart-table {
    border-radius: 12px;
    overflow: hidden;
}

.cart-table th {
    background-color: var(--primary-color);
    color: white;
    border: none;
    font-weight: 500;
}

.cart-table td {
    vertical-align: middle;
    border-color: var(--border-light);
}

.quantity-input {
    width: 80px;
    text-align: center;
}

/* 헤딩 스타일 */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.card-title {
    font-family: 'Pretendard', sans-serif;
    font-weight: 500;
    letter-spacing: -0.01em;
}

/* 상품 상세 */
.product-images {
    position: sticky;
    top: 2rem;
}

.product-thumbnails {
    margin-top: 1rem;
}

.product-thumbnails img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.product-thumbnails img:hover,
.product-thumbnails img.active {
    border-color: var(--primary-color);
}

.product-info {
    padding-left: 2rem;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.03em;
}

.product-price {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.size-options,
.color-options {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.size-option,
.color-option {
    padding: 0.5rem 1rem;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.size-option:hover,
.color-option:hover,
.size-option.selected,
.color-option.selected {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: white;
}

.color-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 0;
    position: relative;
}

.color-option.selected::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
}

/* 리뷰 섹션 */
.review-item {
    border-bottom: 1px solid var(--border-light);
    padding: 1.5rem 0;
}

.review-rating {
    color: #ffc107;
    margin-bottom: 0.5rem;
}

.review-author {
    font-weight: 500;
    color: var(--primary-color);
}

.review-date {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* 푸터 */
.footer {
    margin-top: auto;
}

.footer h5,
.footer h6 {
    color: white;
    margin-bottom: 1rem;
}

.footer .social-links a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    transition: all 0.3s ease;
}

.footer .social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Breadcrumb 스타일 */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 13px;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #999;
    padding: 0 0.5rem;
}

.breadcrumb-item a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #000;
}

.breadcrumb-item.active {
    color: #333;
    font-weight: 500;
}

nav[aria-label="breadcrumb"] {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

/* 반응형 */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .product-info {
        padding-left: 0;
        margin-top: 2rem;
    }

    .main-header .row > div {
        text-align: center !important;
        margin-bottom: 1rem;
    }

    .main-header .col-md-3:last-child {
        margin-bottom: 0;
    }

    .breadcrumb {
        font-size: 12px;
    }

    .breadcrumb-item + .breadcrumb-item::before {
        padding: 0 0.3rem;
    }
}

/* 로딩 애니메이션 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


/* ==================== 장바구니 가격 표시 개선 ==================== */

/* 가격 텍스트 줄바꿈 방지 */
.price-display, .item-total, .price-sale, .price-original {
    white-space: nowrap \!important;
    word-break: keep-all \!important;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 80px;
}

/* 장바구니 항목 레이아웃 개선 */
.cart-item {
    border-radius: 12px;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.cart-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 반응형에서 가격 컬럼 최소 너비 보장 */
@media (max-width: 991px) {
    .cart-price-col {
        min-width: 100px;
        flex-shrink: 0;
    }
    
    .price-display, .item-total {
        font-size: 0.9rem;
        min-width: 90px;
    }
}

@media (max-width: 767px) {
    .cart-price-col {
        min-width: 80px;
    }
    
    .price-display, .item-total {
        font-size: 0.85rem;
        min-width: 75px;
    }
    
    /* 모바일에서 가격 정보를 세로로 배치 */
    .mobile-price-stack {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
    }
}

@media (max-width: 575px) {
    /* 매우 작은 화면에서는 더 컴팩트하게 */
    .price-display, .item-total {
        font-size: 0.8rem;
        min-width: 70px;
    }
}

/* 수량 선택기 개선 */
.quantity-selector {
    max-width: 120px;
    margin: 0 auto;
}

.quantity-selector .btn {
    min-width: 30px;
    padding: 0.25rem 0.5rem;
}

.quantity-selector .form-control {
    border-left: none;
    border-right: none;
    text-align: center;
}

/* 삭제 버튼 개선 */
.remove-item {
    transition: all 0.3s ease;
}

.remove-item:hover {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
    transform: scale(1.05);
}

/* 모바일 반응형 - Top Bar 숨기기 */
@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
}

/* ==================== W컨셉 스타일 헤더 ==================== */

/* W컨셉 헤더 기본 스타일 */
.wconcept-header {
    background: #ffffff;
    border-bottom: none;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* 헤더 상단: 로고와 아이콘들 */
.wconcept-header .header-top {
    /* 구분선 제거 */
}

/* 검색창 스타일 */
.search-input-container {
    width: 300px;
}

.header-search-form {
    position: relative;
    width: 100%;
}

.header-search-input {
    width: 100%;
    padding: 8px 40px 8px 12px;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 0;
    font-size: 13px;
    transition: border-color 0.3s ease;
}

.header-search-input:focus {
    outline: none;
    border-bottom-color: #000;
}

.header-search-input::placeholder {
    color: #999;
}

.header-search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.header-search-btn:hover {
    color: #000;
}

/* 헤더 하단: 햄버거 + 메뉴 + 검색 */
.wconcept-header .header-bottom {
    border-bottom: none;
}

.header-bottom .flex-1 {
    flex: 1;
}

/* 햄버거 메뉴 버튼 */
.hamburger-menu {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #000;
    transition: color 0.3s ease;
}

.hamburger-menu:hover {
    color: #666;
}

/* 헤더 아이콘 스타일 */
.header-icon {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header-icon:hover {
    color: #666;
}

/* 아이콘 배지 */
.icon-badge {
    position: absolute;
    bottom: -8px;
    right: -8px;
    background: #000000;
    color: white;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    line-height: 1.2;
}

/* 0일 때 뱃지 숨기기 */
.icon-badge[data-count="0"],
.icon-badge:empty {
    display: none;
}

/* W컨셉 네비게이션 메뉴 */
.wconcept-nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.wconcept-nav-item {
    position: relative;
}

.wconcept-nav-link {
    display: block;
    padding: 0.5rem 0;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.wconcept-nav-link:hover {
    color: #000;
}

/* 세일 링크 스타일 */
.wconcept-nav-link.sale-link {
    color: #dc3545;
}

/* 메뉴 구분자 스타일 */
.wconcept-nav-item.nav-divider {
    padding: 0;
    margin: 0;
    margin-left: 0.5rem;
}

.wconcept-nav-item.nav-divider .divider {
    color: #d0d0d0;
    font-size: 14px;
    line-height: 1;
    display: inline-block;
    height: 12px;
    line-height: 12px;
}

/* 구분자 다음 메뉴 아이템 간격 제거 */
.wconcept-nav-item.nav-divider + .wconcept-nav-item {
    margin-left: -0.5rem;
}

/* 모바일 검색 아이콘 - 기본적으로 숨김 */
.mobile-search-icon {
    display: none;
}

/* 모바일 햄버거 메뉴 - 기본적으로 숨김 */
.mobile-hamburger-menu {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: #000;
    transition: color 0.3s ease;
}

.mobile-hamburger-menu:hover {
    color: #666;
}

/* 반응형: 모바일에서 네비게이션 숨기기 */
@media (max-width: 768px) {
    .wconcept-header .header-bottom {
        display: none !important;
    }

    /* 검색창도 명시적으로 숨기기 */
    .search-input-container {
        display: none !important;
    }

    .hamburger-menu {
        display: none !important;
    }

    .wconcept-nav-menu {
        display: none !important;
    }

    .wconcept-header .header-top {
        padding: 0.75rem 0 !important;
        border-bottom: 1px solid #e9ecef;
    }

    /* 모바일에서 검색 아이콘 표시 */
    .mobile-search-icon {
        display: inline-flex !important;
    }

    /* 모바일에서 햄버거 메뉴 숨기기 */
    .mobile-hamburger-menu {
        display: none !important;
    }

    /* 모바일에서 아이콘 크기 조정 */
    .header-icon svg {
        width: 18px;
        height: 18px;
    }

    /* 모바일에서 아이콘 간격 조정 */
    .header-icons {
        gap: 0.5rem !important;
    }

    /* 로고 크기 조정 */
    .header-logo h2 {
        font-size: 1.1rem !important;
    }
}

/* 태블릿 사이즈 */
@media (min-width: 769px) and (max-width: 1024px) {
    .wconcept-nav-menu {
        gap: 1rem;
    }

    .wconcept-nav-link {
        font-size: 15px;
    }
}

/* 데스크톱 큰 화면 */
@media (min-width: 1200px) {
    .wconcept-nav-menu {
        gap: 2.5rem;
    }

    .wconcept-nav-link {
        font-size: 16px;
    }
}

/* 사용자 포인트 표시 스타일 */
.user-points {
    transition: all 0.3s ease;
    border-radius: 20px;
    padding: 6px 12px;
    background: rgba(255, 215, 0, 0.1);
}

.user-points:hover {
    color: #333 !important;
    background: rgba(255, 215, 0, 0.2);
    transform: translateY(-1px);
}

.user-points span {
    color: #333;
}

.user-points:hover span {
    color: #000;
}

/* 모바일 포인트 바 */
.mobile-points-bar {
    background: #000000;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    padding: 1px 0;
    text-align: center;
}

.mobile-points-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.mobile-points-link:hover {
    color: #f0f0f0;
}

.mobile-points-link strong {
    color: #ffffff;
    margin-left: 4px;
}

/* ==================== 개선된 메가메뉴 스타일 (2차+3차 함께 나열) ==================== */

/* 2차+3차 카테고리 함께 나열하는 영역 */
.all-sub-categories-list {
    padding: 0 1rem;
    max-height: 500px;
    overflow-y: auto;
}

/* 각 2차 카테고리 섹션 */
.sub-category-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.sub-category-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* 2차 카테고리 제목 */
.sub-category-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.sub-category-title a {
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.sub-category-title a:hover {
    color: var(--accent-color);
}

.sub-category-title a i {
    font-size: 0.75rem;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.sub-category-title a:hover i {
    opacity: 1;
    transform: translateX(0);
}

/* 3차 카테고리 목록 (컴팩트) */
.category-list-compact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list-compact li {
    margin-bottom: 0.1rem;
}

.category-list-compact li a {
    color: #666;
    text-decoration: none;
    display: block;
    padding: 0.3rem 0.5rem;
    border-radius: 0;
    transition: all 0.2s ease;
    font-size: 0.8125rem;
    font-weight: 300;
    border-left: 2px solid transparent;
}

.category-list-compact li a:hover {
    background-color: #f8f8f8;
    color: #000;
    border-left-color: #000;
    transform: none;
    padding-left: 0.65rem;
}

/* 좌측 1차 카테고리 정보 영역 */
.main-category-info {
    margin-top: 1rem;
}

/* 스크롤바 스타일 */
.all-sub-categories-list::-webkit-scrollbar {
    width: 6px;
}

.all-sub-categories-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.all-sub-categories-list::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.all-sub-categories-list::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* ==================== 전체 메뉴 (햄버거) 스타일 개선 ==================== */

/* 전체 메뉴에서 2차+3차 카테고리 함께 나열 */
.all-sub-categories-nested {
    max-height: 450px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

/* 전체 메뉴 각 2차 카테고리 섹션 */
.sub-category-section-all {
    padding-bottom: 0.3rem;
    margin-bottom: 0.5rem;
}

.sub-category-section-all:last-child {
    margin-bottom: 0;
}

/* 2차 카테고리 섹션 내의 row 상단 여백 제거하고 더 붙이기 */
.sub-category-section-all .row {
    margin-top: -0.3rem !important;
}

/* 전체 메뉴 2차 카테고리 제목 */
.sub-category-title-all {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0 !important;
    padding-bottom: 0;
    border-bottom: none !important;
}

.sub-category-title-all a {
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    padding-bottom: 0;
}

/* 2차 카테고리 제목 바로 다음의 row 간격 제거 */
.sub-category-title-all + .row {
    margin-top: 0 !important;
}

.sub-category-title-all a:hover {
    color: var(--accent-color);
}

.sub-category-title-all a i {
    font-size: 0.7rem;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.sub-category-title-all a:hover i {
    opacity: 1;
    transform: translateX(0);
}

/* 전체 메뉴 스크롤바 스타일 */
.all-sub-categories-nested::-webkit-scrollbar {
    width: 6px;
}

.all-sub-categories-nested::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.all-sub-categories-nested::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.all-sub-categories-nested::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* ==================== wconcept 스타일 메가메뉴 ==================== */

/* 좌측: 1차 카테고리 영역 */
.wconcept-side-categories {
    padding: 0;
}

.side-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-category-list li {
    margin-bottom: 0.5rem;
}

.side-category-link {
    display: block;
    padding: 0.75rem 1rem;
    padding-left: 0;
    color: #333;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 400;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
}

.side-category-link:hover {
    color: #000;
    background-color: #f8f8f8;
    border-left-color: #000;
}

.side-category-link.active {
    color: #000;
    font-weight: 600;
    background-color: #fafafa;
    border-left-color: #000;
}

/* 중앙: 메인 카테고리 영역 */
.wconcept-main-categories {
    padding: 0 1rem;
}

/* 각 1차 카테고리 그룹 (처음만 표시) */
.wconcept-category-group {
    display: none;
}

.wconcept-category-group.active {
    display: block;
}

/* 2차 카테고리들을 컬럼으로 배치하는 컨테이너 */
.wconcept-columns {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 2.5rem 2rem;
    padding: 0;
}

/* 각 2차 카테고리 컬럼 */
.wconcept-column {
    min-width: 0;
}

/* 2차 카테고리 제목 (볼드) */
.wconcept-column-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.75rem;
    padding-bottom: 0;
    border-bottom: none;
    letter-spacing: -0.01em;
}

.wconcept-column-title a {
    color: #000;
    text-decoration: none;
    transition: all 0.2s ease;
}

.wconcept-column-title a:hover {
    color: #666;
}

/* 3차 카테고리 리스트 */
.wconcept-sub-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wconcept-sub-list li {
    margin-bottom: 0.4rem;
}

.wconcept-sub-list li a {
    display: block;
    padding: 0.25rem 0;
    color: #666;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 300;
    line-height: 1.5;
    transition: all 0.2s ease;
}

.wconcept-sub-list li a:hover {
    color: #000;
    padding-left: 0.25rem;
}

/* 메가메뉴 전체 컨테이너 조정 */
.all-menu .container-fluid {
    max-width: 1400px;
    padding: 2rem 1.5rem;
}

/* 메가메뉴 좌측 컬럼 패딩 제거하여 햄버거와 정렬 */
.all-menu .col-md-2 {
    padding-left: 0;
}

/* 반응형 */
@media (min-width: 1200px) {
    .wconcept-columns {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 3rem 2.5rem;
    }
}

@media (max-width: 991px) {
    .wconcept-columns {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .wconcept-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 1rem;
    }

    .all-menu .container-fluid {
        padding: 1.5rem 1rem;
    }
}

/* ==================== 모바일 하단 네비게이션 바 ==================== */

.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #e9ecef;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.bottom-nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.5rem 0;
    max-width: 100%;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

.bottom-nav-item i {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    transition: all 0.3s ease;
}

.bottom-nav-item span {
    font-size: 0.7rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.bottom-nav-item:hover,
.bottom-nav-item:active {
    color: #555;
}

.bottom-nav-item:hover i,
.bottom-nav-item:active i {
    transform: scale(1.1);
}

/* 데스크톱에서는 숨김 */
@media (min-width: 768px) {
    .mobile-bottom-nav {
        display: none;
    }
}

/* 모바일에서 body에 하단 패딩 추가 (네비게이션과 겹치지 않도록) */
@media (max-width: 767px) {
    body {
        padding-bottom: 70px;
    }
}

/* ==================== 카테고리 전용 모달 ==================== */

.category-modal {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: #ffffff;
    z-index: 10000;
    transition: left 0.3s ease;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
}

.category-modal.show {
    left: 0;
}

.category-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 2px solid #f0f0f0;
    background: #fafafa;
}

.category-modal-header h5 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
}

.category-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #000;
}

.category-modal-content {
    padding: 0;
}

.category-modal-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.category-modal-item:hover {
    background: #f8f9fa;
    color: #000;
}

.category-modal-item i:first-child {
    width: 22px;
    text-align: center;
    font-size: 1.1rem;
}

.category-modal-item span {
    flex: 1;
    font-weight: 500;
    font-size: 0.95rem;
}

.category-modal-item .fa-chevron-right,
.category-modal-item .fa-chevron-down {
    font-size: 0.8rem;
    color: #999;
    transition: transform 0.3s ease;
}

.category-modal-item.sale-item {
    color: #dc3545;
}

.category-modal-item.sale-item:hover {
    background: rgba(220, 53, 69, 0.05);
    color: #dc3545;
}

/* 서브메뉴 */
.category-modal-submenu {
    max-height: 0;
    overflow: hidden;
    background: #f8f9fa;
    transition: max-height 0.3s ease;
}

.category-modal-submenu.show {
    max-height: 500px;
}

.category-modal-subitem {
    display: block;
    padding: 0.75rem 1.5rem 0.75rem 4rem;
    color: #666;
    text-decoration: none;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.category-modal-subitem:hover {
    background: #ffffff;
    color: #000;
    padding-left: 4.5rem;
}

.category-modal-subitem.cat-all {
    background: rgba(0, 0, 0, 0.05);
    color: #000;
    font-weight: 500;
    border-bottom: 2px solid #e9ecef;
}

.category-modal-subitem.cat-all:hover {
    background: rgba(0, 0, 0, 0.1);
}

.category-modal-subitem.cat-all i {
    color: #000;
}

.cat-arrow.rotated {
    transform: rotate(180deg);
}

/* 오버레이 */
.category-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.category-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* body 스크롤 제거 */
body.category-modal-open {
    overflow: hidden;
}

