@charset "utf-8";

/* ==========================================
   JobKorea Style Mobile CSS
   영업의고수 모바일 페이지
   ========================================== */

/* CSS Variables */
:root {
    --primary-color: #002D5B;
    --primary-hover: #001A35;
    --primary-light: #E6EEF5;
    --secondary-color: #2c3e50;
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-lighter: #fafbfc;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --header-height: 56px;
    --transition: 0.3s ease;
}

/* Reset & Base */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-light);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

/* Utility Classes */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Sidebar Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}

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

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background-color: var(--bg-white);
    z-index: 999;
    overflow-y: auto;
    transition: left var(--transition);
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.mobile-sidebar.active {
    left: 0;
}

body.sidebar-open {
    overflow: hidden;
}

/* Sidebar Logo Section (최상단 로고) */
.sidebar-logo-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #003d7a 100%);
    padding: 20px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-main-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.2s;
}

.sidebar-main-logo:active {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(0.98);
}

.sidebar-main-logo img {
    height: 36px;
    width: auto;
    display: block;
}

.sidebar-main-logo .logo-text {
    color: white;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

/* Sidebar Header */
.sidebar-header {
    position: sticky;
    top: 0;
    background-color: var(--primary-color);
    color: white;
    padding: 20px 16px;
    z-index: 10;
}

.sidebar-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-info, .login-prompt {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    font-size: 48px;
    color: white;
    opacity: 0.9;
}

.user-details strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.user-details span {
    display: block;
    font-size: 13px;
    opacity: 0.8;
}

.login-prompt i {
    font-size: 40px;
}

.login-prompt a {
    color: white;
    text-decoration: none;
}

/* Sidebar Navigation */
.sidebar-nav {
    padding-bottom: 80px;
}

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

.nav-item {
    border-bottom: 1px solid var(--border-color);
}

.nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s;
}

.nav-link:active {
    background-color: var(--bg-light);
}

.nav-toggle i {
    transition: transform var(--transition);
}

.nav-item.active .nav-toggle i {
    transform: rotate(180deg);
}

.submenu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: var(--bg-lighter);
}

.submenu-item {
    border-top: 1px solid var(--border-color);
}

.submenu-link {
    display: block;
    padding: 14px 20px 14px 40px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    transition: background-color 0.2s;
}

.submenu-link:active {
    background-color: var(--bg-light);
}

.main-home-link .nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 15px;
    /* background: var(--primary-light); */
    color: var(--primary-color) !important;
    border-radius: 8px;
    border: var(--primary-color) 1px solid;
    text-decoration: none;
    transition: all 0.2s;
}

.main-home-link .nav-link:active {
    background: linear-gradient(135deg, #003d7a 0%, var(--primary-light) 100%);
    transform: scale(0.98);
}

.main-home-link .nav-link img {
    height: 32px;
    width: auto;
    display: block;
}

.main-home-link .nav-link span {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.sidebar-footer-links {
    padding: 16px;
    border-top: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.sidebar-footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background-color: var(--bg-lighter);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    position: relative;
}

.sidebar-footer-links a:active {
    background-color: var(--bg-light);
    transform: scale(0.98);
}

/* 특별한 링크 스타일 */
.sidebar-footer-links a.admin-link {
    background-color: #fff5f5;
    border-color: #feb2b2;
    color: #c53030;
}

.sidebar-footer-links a.company-link,
.sidebar-footer-links a.personal-link {
    background-color: #f0fff4;
    border-color: #9ae6b4;
    color: #276749;
}

.sidebar-footer-links a.logout-link {
    background-color: #edf2f7;
    border-color: #cbd5e0;
    color: #4a5568;
}

/* 쪽지 알림 카운트 배지 */
.sidebar-footer-links a.memo-link {
    position: relative;
}

.sidebar-footer-links .memo-count {
    position: absolute;
    top: 6px;
    right: 6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background-color: #e53e3e;
    color: white;
    font-size: 11px;
    font-weight: bold;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Mobile Header */
.mobile-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: var(--bg-white);
    z-index: 900;
    transition: box-shadow 0.2s;
}

.mobile-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 12px;
}

.header-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.header-btn:active {
    background-color: var(--bg-light);
}

.header-logo {
    flex: 1;
    text-align: center;
    margin: 0;
    padding: 0 8px;
}

.header-logo a {
    display: inline-block;
}

.header-logo img {
    height: 32px;
    width: auto;
}

/* DB마켓 로고 스타일 (쇼핑몰용) */
.shop-header-logo {
    flex: 1;
    text-align: center;
    margin: 0;
    padding: 0 8px;
}

.shop-header-logo a {
    display: inline-block;
    text-decoration: none;
}

.db-market-logo {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -1px;
    line-height: var(--header-height);
}

/* 메인 사이트 링크 (우측 영업의고수 로고) */
.main-site-link {
    display: flex;
    align-items: center;
    padding: 0 4px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.main-site-link:active {
    opacity: 0.7;
}

.main-site-logo {
    height: 32px;
    width: auto;
    display: block;
}

/* Search Panel */
.search-panel {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 16px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s, opacity 0.3s, padding 0.3s;
    box-shadow: var(--shadow-md);
}

.search-panel.active {
    max-height: 400px;
    opacity: 1;
}

.search-form {
    margin-bottom: 16px;
}

.search-input-wrapper {
    display: flex;
    gap: 8px;
}

.search-input {
    flex: 1;
    height: 44px;
    padding: 0 16px;
    border: 1px solid var(--border-color);
    border-radius: 22px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}

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

.search-submit {
    width: 44px;
    height: 44px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-submit:active {
    background-color: var(--primary-hover);
}

.popular-keywords {
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.popular-keywords h3 {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0 0 8px 0;
}

/* Main Wrapper */
.mobile-wrapper {
    padding-top: var(--header-height);
    min-height: 100vh;
}

.mobile-container {
    background-color: var(--bg-light);
}

/* Page Header */
.page-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 12px;
}

.back-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 18px;
    cursor: pointer;
}

.page-title {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
}

/* Hero Banner Carousel */
.hero-banner-carousel {
    position: relative;
    width: 100%;
    background-color: var(--bg-white);
}

.hero-swiper {
    width: 100%;
    /* height: 100%; */
}

.hero-banner-carousel .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-lighter);
}

.hero-banner-carousel .banner-link {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-banner-carousel .banner-image {
    width: 100%;
    height: 100%;
    max-height: 140px;
    object-fit: fill;
    display: block;
}

.hero-banner-carousel .swiper-pagination {
    bottom: 12px !important;
}

.hero-banner-carousel .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.hero-banner-carousel .swiper-pagination-bullet-active {
    background-color: var(--primary-color);
    width: 24px;
    border-radius: 4px;
}

/* 기존 Hero Banner는 사용 안함 */
.hero-banner {
    display: none;
}

/* Section */
.section-inner {
    padding: 5px 5px;
}

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

.section-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
    padding-left: 12px;
    border-left: 4px solid var(--primary-color);
    line-height: 1.4;
}

.more-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

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

/* Quick Menu Section */
.quick-menu-section {
    background-color: var(--bg-white);
    padding: 10px 0px 0px 0px;
}

.quick-menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.quick-menu-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 12px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

.quick-menu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--primary-color);
    transform: translateY(-100%);
    transition: transform 0.2s;
}

.quick-menu-card:active {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.quick-menu-card:active::before {
    transform: translateY(0);
}

.card-icon {
    width: 56px;
    height: 56px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-color);
}

.card-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
}

.card-content p {
    font-size: 13px;
    margin: 4px 0 0 0;
    color: var(--text-secondary);
}

.card-arrow {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 12px;
    color: var(--text-muted);
}

/* Banner Carousel Section - Hero로 통합됨 */

/* Job Listings Section */
.job-listings-section {
    padding: 20px 0;
}

.job-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.job-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    text-decoration: none;
    transition: all 0.2s;
}

.job-card:active {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.job-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 12px;
}

.company-info {
    display: flex;
    gap: 12px;
    flex: 1;
}

.company-logo {
    width: 48px;
    height: 48px;
    background-color: var(--bg-lighter);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.job-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: var(--text-primary);
    line-height: 1.4;
}

.company-name {
    font-size: 14px;
    margin: 0;
    color: var(--text-secondary);
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background-color: var(--bg-lighter);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 12px;
    color: var(--text-secondary);
}

.meta-tag i {
    font-size: 11px;
}

.tag-location {
    border-color: #3b82f6;
    background-color: #eff6ff;
    color: #3b82f6;
}

.tag-type {
    border-color: var(--primary-color);
    background-color: var(--primary-light);
    color: var(--primary-color);
}

.meta-date {
    margin-left: auto;
    font-size: 12px;
    color: var(--text-muted);
}

/* Mobile Footer */
.mobile-footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 15px 10px 10px;
    margin-top: 20px;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 14px;
}

.footer-links a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:active {
    color: var(--primary-color);
}

.footer-links .divider {
    color: #7f8c8d;
}

.footer-info {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.company-name {
    font-size: 16px;
    margin-bottom: 12px;
}

.company-details {
    font-size: 13px;
    line-height: 1.8;
    color: #95a5a6;
    margin: 0;
}


/* 모바일에서 컸테이너 여백 조정 */
@media (max-width: 768px) {
    footer p {
        font-size: 12px !important;
    }
    footer strong {
        font-size: 14px !important;
    }
}

.footer-copyright {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 20px;
}

.device-change {
    text-align: center;
}

.pc-version-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 24px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.pc-version-link:active {
    background-color: rgba(255,255,255,0.2);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 80px;
    right: 16px;
    width: 48px;
    height: 48px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    z-index: 800;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:active {
    background-color: var(--primary-hover);
    transform: scale(0.95);
}

/* Responsive */
@media (min-width: 768px) {
    .quick-menu-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .hero-banner-carousel .banner-image {
        max-height: 280px;
    }

    .hero-title {
        font-size: 28px;
    }
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -468px 0;
    }
    100% {
        background-position: 468px 0;
    }
}

.loading {
    animation: shimmer 1.2s ease-in-out infinite;
    background: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
    background-size: 800px 104px;
}

/* 모바일 상품 상세 페이지 - 라이너 스타일 */
@media (max-width: 768px) {
    #wrapper_title {
        padding: 15px;
        font-size: 18px;
        font-weight: 700;
        color: var(--text-primary, #333);
        position: relative;
        background: linear-gradient(135deg, rgba(58, 138, 253, 0.05) 0%, transparent 100%);
        border-left: 4px solid var(--primary-color, #3a8afd);
        margin: 10px 0;
    }
    
    #sit_ov_wrap {
        padding: 20px 15px;
        position: relative;
    }
    
    #sit_ov_wrap::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 3px;
        height: 100%;
        background: linear-gradient(180deg, var(--primary-color, #3a8afd) 0%, transparent 100%);
    }
    
    #sit_title {
        font-size: 1.4rem;
        font-weight: 700;
        color: var(--text-primary, #333);
        margin-bottom: 12px;
        padding-bottom: 8px;
        position: relative;
    }
    
    #sit_title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 50px;
        height: 3px;
        background: linear-gradient(90deg, var(--primary-color, #3a8afd) 0%, transparent 100%);
    }
    
    #sit_desc {
        padding: 10px;
        color: #666;
        font-size: 0.9rem;
        background: linear-gradient(135deg, rgba(58, 138, 253, 0.03) 0%, transparent 100%);
        border-left: 3px solid var(--primary-color, #3a8afd);
        border-radius: 4px;
        margin-bottom: 15px;
    }
    
    .sit_info {
        padding: 12px;
        background: linear-gradient(135deg, rgba(58, 138, 253, 0.02) 0%, transparent 100%);
        border-radius: 8px;
        margin: 15px 0;
    }
    
    .sit_ov_tbl th {
        font-weight: 600;
        color: #555;
    }
    
    .sit_ov_tbl td strong {
        color: var(--primary-color, #3a8afd);
        font-weight: 700;
    }
    
    /* 모바일 버튼 스타일 */
    #sit_ov_btn button,
    .item_action_buttons button {
        border-radius: 8px;
        font-weight: bold;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    #sit_ov_btn button::before,
    .item_action_buttons button::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
        transition: left 0.5s ease;
    }
    
    #sit_ov_btn button:active::before,
    .item_action_buttons button:active::before {
        left: 100%;
    }
    
    .sit_btn_buy,
    .item_action_buttons .btn_buy {
        background: linear-gradient(135deg, #3a8afd 0%, #2d6fd8 100%);
        color: #fff;
        box-shadow: 0 3px 5px rgba(58, 138, 253, 0.3);
    }
    
    .sit_btn_buy:active,
    .item_action_buttons .btn_buy:active {
        background: linear-gradient(135deg, #2d6fd8 0%, #1c5cc9 100%);
        transform: scale(0.98);
    }
    
    .sit_btn_cart,
    .item_action_buttons .btn_cart {
        background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
        border: 2px solid var(--primary-color, #3a8afd) !important;
        color: var(--primary-color, #3a8afd);
    }
    
    .sit_btn_cart:active,
    .item_action_buttons .btn_cart:active {
        background: linear-gradient(135deg, #3a8afd 0%, #2d6fd8 100%);
        color: #fff;
        transform: scale(0.98);
    }
    
    .sit_btn_wish,
    .item_action_buttons .btn_wish {
        border: 2px solid #e5e7ea;
        background: #fff;
        transition: all 0.3s ease;
    }
    
    .sit_btn_wish:active,
    .item_action_buttons .btn_wish:active {
        color: #ff4757;
        border-color: #ff4757;
        background: linear-gradient(135deg, rgba(255, 71, 87, 0.05) 0%, transparent 100%);
        transform: scale(0.95);
    }
    
    /* 모바일 상품 정보 카드 */
    .item_detail_wrapper {
        background: #fff;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }
    
    .item_info_section {
        padding: 20px 15px;
        position: relative;
    }
    
    .item_info_section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background: linear-gradient(90deg, var(--primary-color, #3a8afd) 0%, transparent 100%);
    }
    
    .item_title {
        font-weight: 700;
        color: var(--text-primary, #333);
        position: relative;
        padding-bottom: 8px;
        margin-bottom: 12px;
    }
    
    .item_title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 40px;
        height: 2px;
        background: var(--primary-color, #3a8afd);
    }
    
    .item_basic_desc {
        padding: 10px;
        background: linear-gradient(135deg, rgba(58, 138, 253, 0.03) 0%, transparent 100%);
        border-left: 3px solid var(--primary-color, #3a8afd);
        border-radius: 4px;
        color: #666;
    }
    
    .item_db_info {
        background: linear-gradient(135deg, rgba(58, 138, 253, 0.02) 0%, transparent 100%);
        border: 1px solid rgba(58, 138, 253, 0.1);
        border-radius: 8px;
    }
    
    .item_db_info h3 {
        font-weight: 700;
        color: var(--primary-color, #3a8afd);
        padding-bottom: 8px;
        border-bottom: 2px solid var(--primary-color, #3a8afd);
    }
    
    .selling_price .price_value {
        color: var(--primary-color, #3a8afd);
        font-weight: 700;
    }
    
    .item_total_price strong {
        color: var(--primary-color, #3a8afd);
    }
    
    /* 모바일 네비게이션 스타일 */
    #sct_location {
        display: block;
        float: none;
        position: relative;
        padding: 12px 15px;
        background: linear-gradient(135deg, rgba(58, 138, 253, 0.05) 0%, transparent 100%);
        border-radius: 8px;
        border: 1px solid rgba(58, 138, 253, 0.15);
        margin: 10px 0;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }
    
    #sct_location .go_home {
        display: inline-block;
        font-size: 1.2em;
        color: var(--primary-color, #3a8afd);
        line-height: 28px;
        padding: 4px 10px;
        background: #fff;
        border-radius: 6px;
        border: 1px solid rgba(58, 138, 253, 0.2);
        transition: all 0.3s ease;
    }
    
    #sct_location .go_home:active {
        background: linear-gradient(135deg, #3a8afd 0%, #2d6fd8 100%);
        color: #fff;
        transform: scale(0.95);
    }
    
    #sct_location i.dividing-line {
        font-size: 1.1em;
        color: var(--primary-color, #3a8afd);
        margin: 0 6px;
        vertical-align: middle;
    }
    
    #sct_location select {
        border: 1px solid rgba(58, 138, 253, 0.3);
        height: 32px;
        padding: 0 10px;
        margin: 0 4px;
        border-radius: 6px;
        background: #fff;
        color: #333;
        font-size: 13px;
        font-weight: 500;
        max-width: 120px;
    }
    
    #sct_location select:focus {
        outline: none;
        border-color: var(--primary-color, #3a8afd);
        box-shadow: 0 0 0 2px rgba(58, 138, 253, 0.1);
    }
    
    /* 모바일 카테고리 드롭다운 */
    .shop_select_to_html span {
        padding: 6px 12px;
        font-size: 13px;
        border-radius: 6px;
        background: #fff;
        border: 1px solid rgba(58, 138, 253, 0.3);
    }
    
    .shop_select_to_html .category_title {
        font-size: 0.95em;
        font-weight: 600;
    }
    
    .shop_select_to_html .category_title i {
        margin-left: 4px;
        font-size: 0.9em;
    }
    
    .shop_select_to_html .menulist {
        top: 35px;
        max-height: 300px;
        overflow-y: auto;
        border: 1px solid rgba(58, 138, 253, 0.2);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }
    
    .shop_select_to_html .menulist ul.wide {
        width: 140px;
        min-height: auto;
    }
    
    .shop_select_to_html .option {
        line-height: 38px;
        min-height: 38px;
    }
    
    .shop_select_to_html .option a {
        padding: 6px 20px;
        font-size: 13px;
    }
}

/* 초소형 모바일 네비게이션 */
@media (max-width: 480px) {
    #sct_location {
        padding: 10px 12px;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    #sct_location .go_home {
        font-size: 1.1em;
        padding: 3px 8px;
    }
    
    #sct_location select {
        height: 28px;
        font-size: 12px;
        max-width: 100px;
        padding: 0 8px;
    }
    
    #sct_location i.dividing-line {
        font-size: 1em;
        margin: 0 4px;
    }
    
    .shop_select_to_html span {
        padding: 5px 10px;
        font-size: 12px;
    }
    
    .shop_select_to_html .menulist ul.wide {
        width: 120px;
    }
    
    .shop_select_to_html .option {
        line-height: 36px;
        min-height: 36px;
    }
    
    .shop_select_to_html .option a {
        padding: 5px 16px;
        font-size: 12px;
    }
}

