        :root {
            --primary: #5b67ca;
            --primary-dark: #3d4bb8;
            --primary-light: #7c8ee8;
            --secondary: #ff6b6b;
            --accent: #4ecdc4;
            --success: #51cf66;
            --warning: #ffa94d;
            --danger: #ff6b6b;
            --dark: #1a1a1a;
            --light: #f8f9fa;
            --gray-100: #f8f9fa;
            --gray-200: #e9ecef;
            --gray-300: #dee2e6;
            --gray-400: #ced4da;
            --gray-500: #adb5bd;
            --gray-600: #6c757d;
            --gray-700: #495057;
            --gray-800: #343a40;
            --gray-900: #212529;
            --pink: #ffb6d9;
            --pink-dark: #ff94c2;
            --pink-light: #ffd4e5;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        .marketplace-main-header {
            background: #ffffff;
            border-bottom: none;
            position: relative;
            z-index: 1000;
        }

        .marketplace-main-header .header-inner {
            max-width: none;
            width: 100%;
            margin: 0;
            padding: 0;
            min-height: 46px;
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
            gap: 18px;
            line-height: 1;
        }

        .marketplace-main-header .header-logo {
            display: flex;
            align-items: center;
            gap: 8px;
            margin: 0;
        }

.marketplace-main-header .header-logo img {
            width: 80px;
            height: auto;
            display: block;
            margin: 0;
            object-fit: contain;
        }

        .marketplace-content-header .logo-image {
            width: 80px;
            height: auto;
            display: block;
            object-fit: contain;
        }

        .marketplace-main-header .header-logo span {
            color: #d4888f;
            font-weight: 700;
            font-size: 1.05em;
            white-space: nowrap;
        }

        .marketplace-main-header .header-user-menu {
            display: flex;
            align-items: center;
            gap: 8px;
            margin: 0;
            min-height: 36px;
            line-height: 1;
        }

        .marketplace-main-header .header-user-menu a {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            color: #666;
            padding: 6px 12px;
            border-radius: 4px;
            min-height: 36px;
            min-width: 72px;
            text-decoration: none;
            white-space: nowrap;
            flex-shrink: 0;
        }

        .marketplace-main-header .header-user-menu a:hover {
            background: #f5f5f5;
            color: #d4888f;
        }

        .marketplace-main-header .header-user-menu i {
            font-size: 14px;
            width: 16px;
            text-align: center;
            flex-shrink: 0;
        }

        .marketplace-main-header .header-user-menu .auth-menu-slot {
            display: inline-flex;
            align-items: center;
            min-width: 86px;
            min-height: 36px;
        }

        .marketplace-main-header .header-user-menu .auth-menu-slot:empty::before {
            content: 'LOGOUT';
            visibility: hidden;
            display: block;
            min-width: 86px;
            white-space: nowrap;
            font-weight: 700;
        }

        .marketplace-main-header .header-search-wrap {
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .marketplace-main-header .header-search-toggle,
        .marketplace-main-header .header-search-submit {
            border: 1px solid #e5e7eb;
            border-radius: 999px;
            padding: 0.45rem 0.75rem;
            background: #fff;
            color: #6b7280;
            cursor: pointer;
        }

        .marketplace-main-header .header-search-toggle {
            border: none;
            background: transparent;
            color: #666;
        }

        .marketplace-main-header .header-search-input {
            width: 0;
            opacity: 0;
            pointer-events: none;
            border: 1px solid #e5e7eb;
            border-radius: 999px;
            padding: 0.45rem 0.85rem;
            height: 36px;
            transition: all 0.2s ease;
            margin-right: -8px;
        }

        .marketplace-main-header .header-search-wrap.active .header-search-input,
        .marketplace-main-header .header-search-input.active {
            width: 220px;
            opacity: 1;
            pointer-events: auto;
        }

        .marketplace-main-header .header-search-submit {
            display: none;
            border: none;
            background: #d4888f;
            color: #fff;
            border-radius: 999px;
            padding: 0.42rem 0.9rem;
            height: 36px;
            white-space: nowrap;
        }

        .marketplace-main-header .header-search-wrap.active .header-search-submit {
            display: inline-flex;
            align-items: center;
        }

        .marketplace-main-header .header-notification-wrap {
            position: relative;
        }

        .marketplace-main-header .header-notification-toggle {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            text-decoration: none;
            color: #666;
            position: relative;
            min-width: 36px;
            height: 36px;
        }

        .marketplace-main-header .header-notification-badge {
            position: absolute;
            top: -4px;
            right: -8px;
            background: #ef4444;
            color: #fff;
            width: 18px;
            height: 18px;
            border-radius: 999px;
            font-size: 11px;
            display: none;
            justify-content: center;
            align-items: center;
            line-height: 1;
        }

        .marketplace-main-header .header-notification-panel {
            display: none;
            position: absolute;
            right: 0;
            top: calc(100% + 10px);
            width: 300px;
            max-height: 320px;
            overflow: auto;
            background: #fff;
            border: 1px solid #e5e7eb;
            border-radius: 10px;
            z-index: 1010;
        }

        .marketplace-main-header .header-notification-panel.show {
            display: block;
        }

        .marketplace-main-header .header-notification-title {
            font-size: 0.9rem;
            padding: 0.5rem 0.75rem;
            border-bottom: 1px solid #f1f5f9;
            color: #374151;
        }

        .marketplace-main-header .header-notification-list .dropdown-item {
            white-space: normal;
            font-size: 0.9rem;
            padding: 0.65rem 0.75rem;
            border-bottom: 1px solid #f8f8f8;
        }

        .marketplace-main-header .header-top-menu-wrap {
            display: flex;
            align-items: center;
            flex-wrap: nowrap;
            gap: 24px;
            flex: 0 0 auto;
            width: auto;
            justify-content: space-between;
            min-width: 0;
            padding-left: 30px;
            line-height: 1;
        }

        .marketplace-main-header .marketplace-main-nav {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            align-items: center;
            justify-content: stretch;
            flex: 1 1 auto;
            flex-wrap: nowrap;
            gap: 20px;
            margin: 0;
            padding: 0;
            width: 100%;
            min-width: 0;
            white-space: nowrap;
            overflow-x: hidden;
            overflow-y: hidden;
            line-height: 1;
        }

        .marketplace-main-header .marketplace-main-nav .marketplace-main-nav-links {
            display: flex;
            align-items: center;
            flex-wrap: nowrap;
            gap: 20px;
            min-width: 0;
            overflow-x: hidden;
            overflow-y: hidden;
            width: auto;
            min-width: 0;
            align-items: center;
            flex-shrink: 1;
        }

        .marketplace-main-header .marketplace-main-nav .marketplace-main-nav-links a {
            white-space: nowrap;
            min-height: 36px;
            height: auto;
            line-height: 1;
            padding: 0 12px;
            border-radius: 6px;
            box-sizing: border-box;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 0.96em;
            font-weight: 500;
            border-bottom: none !important;
            position: relative;
            overflow: hidden;
            text-overflow: ellipsis;
            flex-shrink: 1;
            min-width: 0;
        }

        .marketplace-main-header .marketplace-main-nav .marketplace-main-nav-links a::after {
            content: '';
            position: absolute;
            left: 12px;
            right: 12px;
            bottom: 0;
            height: 2px;
            background: transparent;
            transition: background-color 0.2s ease;
        }

        .marketplace-main-header .marketplace-main-nav .marketplace-main-nav-links a.active {
            color: #333;
            background: transparent;
            font-weight: 500;
            border-bottom: none;
        }

        .marketplace-main-header .marketplace-main-nav .marketplace-main-nav-links a.active::after,
        .marketplace-main-header .marketplace-main-nav a.active::after {
            background: #d4888f;
        }

        .marketplace-main-header .marketplace-main-nav .header-user-menu {
            flex-wrap: nowrap;
            display: flex;
            align-items: center;
            gap: 8px;
            justify-self: end;
            padding-right: 30px;
        }

        .marketplace-main-header .marketplace-main-nav a {
            flex-shrink: 0;
            display: inline-flex;
            align-items: center;
            padding: 6px 10px;
            text-decoration: none;
            color: #333;
            font-size: 0.95em;
            font-weight: 500;
            line-height: 1;
            border-bottom: 3px solid transparent;
            transition: color 0.2s ease, border-bottom-color 0.2s ease;
        }

        .marketplace-main-header .marketplace-main-nav a:hover {
            color: #d4888f;
            background: #fbe7eb;
            border-radius: 4px;
            border-bottom-color: transparent;
        }

        .marketplace-main-header .marketplace-main-nav a:focus,
        .marketplace-main-header .marketplace-main-nav a:focus-visible,
        .marketplace-main-header .marketplace-main-nav a:active,
        .marketplace-main-header .marketplace-main-nav a.active {
            border-bottom: 3px solid transparent;
            outline: none !important;
            box-shadow: none !important;
            color: #333;
            background: transparent;
        }

        /* 메인 사이트 우측 MYPAGE 폰트 스타일 동기화 */
        .marketplace-main-header .marketplace-main-nav .header-user-menu a,
        .marketplace-main-header .marketplace-main-nav .header-user-menu span {
            font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            font-size: 0.8em;
            font-weight: 400;
            letter-spacing: 0;
        }

        .marketplace-main-header .header-logo span,
        .marketplace-main-header .header-user-menu span,
        .marketplace-main-header .marketplace-main-nav a {
            display: inline-flex;
            align-items: center;
            height: 1em;
        }

        .marketplace-content-header {
            padding: 0 0 0 0;
            background: #ffffff;
            color: #333;
            border-bottom: none;
            box-shadow: none;
            align-items: center;
            min-height: 0;
        }

        .marketplace-content-header::before {
            display: none;
        }

        .marketplace-content-header .container {
            max-width: none;
            width: 100%;
            display: flex;
            align-items: center;
            gap: 16px;
            flex-wrap: wrap;
            padding-top: 0;
            padding-bottom: 0;
            min-height: 0;
            padding-left: 0;
            padding-right: 0;
        }

        .marketplace-content-header h1,
        .marketplace-content-header p {
            margin: 0;
        }

        .marketplace-content-header .header-menu {
            display: flex;
            align-items: center;
            flex-wrap: nowrap;
            width: 100%;
            white-space: nowrap;
            overflow-x: hidden;
            overflow-y: hidden;
            gap: 16px;
            background: #ffffff;
            min-height: 0;
            min-width: 0;
            border-bottom: 1px solid rgba(42, 42, 42, 0.35);
            border-top: 1px solid rgba(42, 42, 42, 0.06);
            padding-bottom: 0;
            margin-bottom: 0;
            margin-top: 0;
            padding-left: 30px;
            padding-right: 30px;
            line-height: 1;
            padding-top: 0;
        }

        .marketplace-content-header .header-menu a {
            flex: 0 0 auto;
            min-width: max-content;
            color: #c67680;
            padding: 6px 10px;
            min-height: 32px;
            font-size: 0.92em;
            font-weight: 700;
            line-height: 1.2;
            text-decoration: none;
            border-bottom: 2px solid transparent;
            transition: color 0.2s ease, background 0.2s ease;
            margin-bottom: 0;
        }

        .marketplace-content-header .header-menu a:hover {
            color: #c67680;
            background: transparent;
            border-radius: 4px;
            border-bottom-color: transparent;
        }

        .marketplace-content-header .header-menu a:focus,
        .marketplace-content-header .header-menu a:focus-visible,
        .marketplace-content-header .header-menu a:active {
            outline: none !important;
            box-shadow: none !important;
            border-bottom-color: transparent !important;
            border-top: 0 !important;
            border-left: 0 !important;
            border-right: 0 !important;
            color: #c67680;
            background: transparent;
        }

        .marketplace-content-header .header-menu .divider {
            height: 24px;
            background: rgba(212, 136, 143, 0.24);
            align-self: center;
        }

        .marketplace-content-header .category-menu-wrapper > a {
            display: inline-flex;
            align-items: center;
            height: 32px;
            box-sizing: border-box;
            margin: 0;
            font-size: 0.92em;
            font-weight: 700;
        }

        .marketplace-main-header .marketplace-main-nav a.active {
            color: #333;
            border-bottom: 3px solid transparent;
            background: transparent;
            font-weight: 500;
        }

        .marketplace-main-header .marketplace-main-nav a.active {
            position: relative;
        }

        .marketplace-main-header .marketplace-main-nav a.active::after {
            content: '';
            position: absolute;
            left: 12px;
            right: 12px;
            bottom: 0;
            height: 2px;
            background: #d4888f;
        }

        .marketplace-content-header .logo-section {
            display: none;
        }

        .marketplace-content-header .header-title {
            display: none;
        }

        body {
            font-family: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            background: #ffffff;
            color: var(--gray-900);
            line-height: 1.6;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        /* 카테고리 드롭다운 스타일 */
        .category-menu-wrapper {
            position: relative;
            overflow: visible;
        }

        .category-dropdown {
            position: fixed;
            top: 0;
            left: 0;
            background: white;
            border: 1px solid #f0f0f0;
            border-radius: 8px;
            box-shadow: none;
            z-index: 10000;
            display: none;
            padding: 0 !important;
            box-sizing: border-box !important;
            max-height: min(72vh, calc(100vh - 200px));
            overflow: hidden;
        }

        .category-dropdown.show {
            display: block;
        }

        .category-dropdown h4 {
            margin: 0;
            padding: 0;
            margin-bottom: 0;
            display: none;
            color: #2c2c2c;
            font-size: 1.1em;
            font-weight: 600;
        }

        .category-columns-header {
            display: flex !important;
            flex-direction: row !important;
            gap: 0 !important;
            margin: 0;
            margin-top: 0;
            padding: 0 30px 30px 30px;
            height: auto !important;
            max-height: calc(72vh - 80px);
            flex-wrap: nowrap !important;
            width: 100% !important;
            box-sizing: border-box !important;
            min-height: 0 !important;
            overflow: hidden !important;
        }

        .category-column-header {
            flex: 1 1 0 !important;
            display: flex !important;
            flex-direction: column !important;
            margin-bottom: 0;
            margin-top: 0;
            border: 1px solid #e9ecef;
            border-radius: 0;
            background: #fafafa;
            overflow: hidden;
            box-sizing: border-box !important;
            min-width: 0 !important;
            min-height: 0 !important;
        }

        .column-title-header {
            display: none !important;
            padding: 12px 15px;
            background: #f0f2f5;
            border-bottom: 2px solid #e9ecef;
            font-weight: 600;
            color: #495057;
            font-size: 0.9em;
        }

        .category-items-header {
            flex: 1 !important;
            margin-bottom: 0;
            min-height: 0 !important;
            overflow-y: auto;
            padding: 0;
        }

        .category-item-header {
            padding: 10px 15px;
            border-bottom: 1px solid #e9ecef;
            border-left: 4px solid transparent;
            cursor: pointer;
            transition: background 0.2s ease, color 0.2s ease;
            font-size: 0.9em;
            color: #495057;
            background: white;
        }

        .category-item-header:hover {
            background: #f0f2f5;
            color: var(--primary);
        }

        .category-item-header.active {
            background: var(--primary);
            color: white;
            font-weight: 600;
            border-left-color: var(--pink);
        }

        .category-item-header:last-child {
            border-bottom: none;
        }


        main {
            flex: 1;
            max-width: none;
            width: 100%;
            margin: 30px 0 0 0;
            padding: 0 30px;
            background: #ffffff;
        }

        @media (max-width: 768px) {
            .category-dropdown {
                width: calc(100vw - 40px);
                left: 20px;
                max-height: calc(100vh - 180px);
                margin: 0;
                padding: 0 !important;
            }

            .category-columns-header {
                flex-direction: column;
                max-height: calc(100vh - 220px);
                gap: 0;
                margin: 0;
                overflow: hidden;
            }

            .category-column-header {
                max-height: calc((100vh - 220px) / 2);
                overflow: hidden;
            }

            .marketplace-main-header .header-inner {
                align-items: flex-start;
                gap: 10px;
                min-height: 0;
            }

            .marketplace-main-header .header-top-menu-wrap {
                width: 100%;
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }

            .marketplace-main-header .header-user-menu {
                width: 100%;
                flex-wrap: wrap;
                justify-content: flex-start;
                gap: 10px;
            }

            .marketplace-main-header .marketplace-main-nav {
                display: grid;
                grid-template-columns: minmax(0, 1fr) auto;
                flex-wrap: nowrap;
                gap: 12px;
                row-gap: 10px;
                overflow-x: auto;
                white-space: nowrap;
                padding-bottom: 6px;
                width: 100%;
            }

            .marketplace-main-header .marketplace-main-nav .marketplace-main-nav-links,
            .marketplace-main-header .marketplace-main-nav .header-user-menu {
                flex-wrap: nowrap;
                gap: 10px;
            }
        }

        @media (max-width: 480px) {
            .marketplace-page footer {
                padding: 40px 12px 12px;
            }
        }
