/* ===== Font: 나눔스퀘어 (NanumSquare) ===== */
@import url('https://cdn.jsdelivr.net/gh/moonspam/NanumSquare@2.0/nanumsquare.css');
/* Pocket Museum: Pretendard 본문 + Prata/Noto Serif KR 디스플레이 */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');
@import url('https://fonts.googleapis.com/css2?family=Prata&family=Noto+Serif+KR:wght@300;400;600&display=swap');

:root {
    --font-main: 'NanumSquare', 'Nanum Gothic', sans-serif;

    /* 브랜드 컬러 */
    --brand-primary: #ff6b81;
    --brand-secondary: #ff4757;
    --brand-accent: #ffe5ec;

    /* Pocket Museum 팔레트 (메인 페이지 컨셉) */
    --pm-ivory: #FAF6F1;
    --pm-blush: #F5E9E4;
    --pm-butter: #F3E3C9;
    --pm-cocoa: #2C2623;
    --pm-warmgray: #6E625B;
    --pm-clay: #D97E6A;
    --pm-clay-dark: #C4654F;
    --pm-clay-deep: #B05540;
    --pm-clay-press: #9A4633;
    --pm-sage: #9CAA8E;
    --pm-line: rgba(44, 38, 35, 0.08);
    --pm-font-display: 'Prata', 'Noto Serif KR', serif;
    --pm-font-serif: 'Noto Serif KR', 'NanumSquare', serif;
    --pm-font-body: 'Pretendard Variable', 'Pretendard', 'NanumSquare', 'Nanum Gothic', sans-serif;
    
    /* 파스텔 컬러 (어린이 친화적) */
    --pastel-blue: #a8e6cf;
    --pastel-green: #dcedc1;
    --pastel-yellow: #ffd3b6;
    --pastel-purple: #c9b1ff;
    
    /* 뉴트럴 컬러 */
    --neutral-white: #ffffff;
    --neutral-cream: #fff8f0;
    --neutral-gray: #f8f9fa;
    --neutral-dark: #2d3436;
    
    /* 기능 컬러 */
    --success: #1abc9c;
    --warning: #f7b84b;
    --error: #ff6b81;
}

html,
body {
    font-family: var(--font-main);
}

a {
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: none;
}

/* 브라우저 기본 폰트가 남는 폼/버튼까지 전부 상속 */
button,
input,
select,
textarea,
optgroup,
option {
    font-family: inherit;
}

button,
[type="button"],
[type="submit"],
[type="reset"],
.app-modal__ok {
    font-weight: 400;
}

/* 공통 모달 */
.app-modal {
    position: fixed;
    z-index: 9999;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
}

.app-modal.is-open {
    display: flex;
}

.app-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.app-modal__box {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 360px;
    padding: 24px 20px 18px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.app-modal__msg {
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.5;
    color: #222;
    white-space: pre-line;
}

.app-modal__ok {
    display: inline-block;
    min-width: 88px;
    padding: 8px 16px;
    border: 0;
    border-radius: 4px;
    background: #2563eb;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
}

.app-modal__ok:hover {
    background: #1d4ed8;
}

/* ===== Admin ===== */
/* Adminto-inspired: 밝은 사이드바 + 슬레이트 본문 + 플랫 카드 */
.admin-body {
    --paper: #F4EFE2;
    --ink: #221E2E;
    --bubble: #f1556c;
    --citrus: #f7b84b;
    --mint: #1abc9c;
    --lilac: #6658dd;
    --neon: #4fc6e1;
    --admin-bg: #2a3140;
    --admin-bg-2: #232936;
    --admin-surface: #3d4754;
    --admin-surface-solid: #3d4754;
    --admin-line: rgba(255, 255, 255, 0.14);
    --admin-text: #f8fafc;
    --admin-muted: #d0d7de;
    --admin-soft: rgba(255, 255, 255, 0.08);
    --admin-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
    --admin-accent: #6658dd;
    --admin-accent-2: #4a81d4;
    --admin-link: #93c5fd;
    --admin-ok: #5eead4;
    --admin-ok-bg: rgba(26, 188, 156, 0.22);
    --admin-warn: #fcd34d;
    --admin-warn-bg: rgba(247, 184, 75, 0.28);
    --admin-danger: #fda4af;
    --admin-danger-bg: rgba(241, 85, 108, 0.22);
    --admin-info: #c4b5fd;
    --admin-info-bg: rgba(102, 88, 221, 0.28);
    --admin-input-bg: rgba(0, 0, 0, 0.28);
    --admin-chip-bg: rgba(255, 255, 255, 0.08);
    --admin-sidebar-w: 250px;
    --admin-header-h: 70px;
    --admin-side-bg: #ffffff;
    --admin-side-text: #6c757d;
    --admin-side-muted: #98a6ad;
    --admin-side-border: #eef2f7;
    --admin-side-hover: #f5f6f8;
    --admin-side-active-bg: rgba(102, 88, 221, 0.12);
    --admin-side-active: #6658dd;
    --admin-topbar-bg: #3d4754;
    margin: 0;
    min-height: 100vh;
    background: var(--paper);
    color: var(--ink);
    font-family: "Nunito", "Noto Sans KR", var(--font-main), system-ui, sans-serif;
}

.admin-body:not(.admin-body--login) {
    background: var(--admin-bg);
    color: var(--admin-text);
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

html.admin-theme-light .admin-body:not(.admin-body--login) {
    --admin-bg: #f5f6f8;
    --admin-bg-2: #eef2f7;
    --admin-surface: #ffffff;
    --admin-surface-solid: #ffffff;
    --admin-line: #dde2e8;
    --admin-text: #1f2937;
    --admin-muted: #4b5563;
    --admin-soft: #f1f3f5;
    --admin-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    --admin-link: #2563eb;
    --admin-ok: #0f766e;
    --admin-ok-bg: rgba(15, 118, 110, 0.12);
    --admin-warn: #b45309;
    --admin-warn-bg: rgba(180, 83, 9, 0.12);
    --admin-danger: #be123c;
    --admin-danger-bg: rgba(190, 18, 60, 0.12);
    --admin-info: #5b21b6;
    --admin-info-bg: rgba(91, 33, 182, 0.1);
    --admin-input-bg: #ffffff;
    --admin-chip-bg: #eef2f7;
    --admin-side-bg: #38414a;
    --admin-side-text: #aab8c5;
    --admin-side-muted: #8391a2;
    --admin-side-border: rgba(255, 255, 255, 0.06);
    --admin-side-hover: rgba(255, 255, 255, 0.05);
    --admin-side-active-bg: rgba(102, 88, 221, 0.22);
    --admin-side-active: #ffffff;
    --admin-topbar-bg: #ffffff;
    background: var(--admin-bg);
    color: var(--admin-text);
}

.admin-body--login {
    display: block;
    overflow-x: hidden;
}

/* ===== Admin Shell: Adminto layout ===== */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.admin-content-wrap {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    margin-left: var(--admin-sidebar-w);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--admin-bg);
    box-sizing: border-box;
    overflow-x: hidden;
}

.admin-appHeader {
    position: sticky;
    top: 0;
    z-index: 40;
    height: var(--admin-header-h);
    padding: 0 24px;
    background: var(--admin-topbar-bg);
    border-bottom: 1px solid var(--admin-line);
    box-shadow: var(--admin-shadow);
    box-sizing: border-box;
}

.admin-topbar2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 100%;
}

.admin-topLeft {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex: 1;
}

.admin-pagehead-inline {
    min-width: 0;
}

.admin-pageTitle {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--admin-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-subTitle {
    margin: 2px 0 0;
    font-size: 11px;
    color: var(--admin-muted);
}

.admin-topRight {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.admin-search {
    position: relative;
    display: flex;
    align-items: center;
    width: min(280px, 36vw);
    flex-shrink: 1;
}

.admin-search__ico {
    position: absolute;
    left: 12px;
    color: var(--admin-muted);
    display: inline-flex;
    pointer-events: none;
}

.admin-search input {
    width: 100%;
    height: 38px;
    padding: 0 12px 0 36px;
    border: 1px solid var(--admin-line);
    border-radius: 4px;
    background: var(--admin-soft);
    color: var(--admin-text);
    font-size: 13px;
    font-family: inherit;
    outline: none;
}

.admin-search input::placeholder {
    color: var(--admin-muted);
}

.admin-search input:focus {
    border-color: rgba(102, 88, 221, 0.55);
    box-shadow: 0 0 0 3px rgba(102, 88, 221, 0.15);
}

.admin-hamburger {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    border: 1px solid var(--admin-line);
    background: var(--admin-soft);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    flex-shrink: 0;
}

.admin-hamburger span {
    width: 16px;
    height: 2px;
    background: var(--admin-text);
    border-radius: 999px;
}

.admin-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 4px;
    border: 1px solid var(--admin-line);
    background: var(--admin-soft);
    color: var(--admin-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.admin-icon-btn:hover {
    border-color: rgba(102, 88, 221, 0.4);
    color: var(--admin-accent);
}

.admin-pill-btn {
    padding: 7px 12px;
    border: 1px solid var(--admin-line);
    border-radius: 4px;
    background: var(--admin-soft);
    color: var(--admin-text);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

.admin-top-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 4px;
    border: 1px solid var(--admin-line);
    background: var(--admin-soft);
    color: var(--admin-text);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    height: 38px;
    box-sizing: border-box;
}

.admin-top-btn--primary {
    border-color: transparent;
    background: var(--admin-accent);
    color: #fff;
    box-shadow: 0 2px 6px rgba(102, 88, 221, 0.35);
}

.admin-top-btn--primary:hover {
    filter: brightness(1.06);
}

.admin-logout-form {
    margin: 0;
}

.admin-navOverlay {
    display: none;
}

/* 고정 사이드바 — 상단/하단 고정, 메뉴만 스크롤 */
.admin-side {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 50;
    width: var(--admin-sidebar-w);
    height: 100vh;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    border-right: 1px solid var(--admin-side-border);
    background: var(--admin-side-bg);
    box-shadow: 0 0 21px 0 rgba(89, 102, 122, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.admin-userbox {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 20px 16px;
    border-bottom: 1px solid var(--admin-side-border);
    flex-shrink: 0;
}

.admin-userbox__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #fff;
    background: linear-gradient(135deg, #6658dd, #4fc6e1);
    box-shadow: 0 4px 12px rgba(102, 88, 221, 0.35);
}

.admin-userbox__meta {
    min-width: 0;
}

.admin-userbox__meta strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #323a46;
    line-height: 1.25;
}

html.admin-theme-light .admin-userbox__meta strong {
    color: #f3f6f9;
}

.admin-userbox__meta span {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: var(--admin-side-muted);
}

.admin-brand2 {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px 8px;
    flex-shrink: 0;
}

.admin-logo {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #6658dd, #4fc6e1);
    box-shadow: 0 4px 10px rgba(102, 88, 221, 0.28);
}

.admin-brand2 strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: #323a46;
    line-height: 1.2;
}

html.admin-theme-light .admin-brand2 strong {
    color: #f3f6f9;
}

.admin-brand2 p {
    margin: 2px 0 0;
    font-size: 11px;
    color: var(--admin-side-muted);
}

.admin-nav2 {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 8px 12px 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(102, 88, 221, 0.35) transparent;
}

.admin-nav2::-webkit-scrollbar {
    width: 4px;
}

.admin-nav2::-webkit-scrollbar-track {
    background: transparent;
}

.admin-nav2::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(102, 88, 221, 0.35);
}

.admin-nav2::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 88, 221, 0.55);
}

html.admin-theme-light .admin-nav2 {
    scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
}

html.admin-theme-light .admin-nav2::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.28);
}

html.admin-theme-light .admin-nav2::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.42);
}

.admin-nav-label {
    margin: 14px 10px 6px;
    padding: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    color: var(--admin-side-muted);
}

.admin-nav-group {
    margin: 4px 0;
    border: 0;
    background: transparent;
}

.admin-nav-group__sum {
    list-style: none;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 6px 4px 4px;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
    color: var(--admin-side-muted);
    background: transparent;
}

.admin-nav-group__sum::-webkit-details-marker {
    display: none;
}

.admin-nav-group__sum::after {
    content: '';
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    opacity: 0.7;
    transition: transform 0.15s ease;
}

.admin-nav-group[open] > .admin-nav-group__sum {
    color: var(--admin-side-active);
    background: var(--admin-side-hover);
}

.admin-nav-group[open] > .admin-nav-group__sum::after {
    transform: rotate(45deg);
}

.admin-nav-group__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 0 4px;
}

.admin-nav2 a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 4px;
    text-decoration: none;
    border: 0;
    border-left: 3px solid transparent;
    color: var(--admin-side-text);
    font-weight: 600;
    font-size: 13.5px;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.admin-nav2 a:hover {
    background: var(--admin-side-hover);
    color: var(--admin-side-active);
}

.admin-nav2 a.active {
    background: var(--admin-side-active-bg);
    color: var(--admin-side-active);
    border-left-color: var(--admin-side-active);
    box-shadow: none;
    font-weight: 500;
}

.admin-nav-ico {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0.9;
}

.admin-dot {
    display: none;
}

.admin-sideFooter2 {
    margin-top: 0;
    padding: 14px 20px 16px;
    border-top: 1px solid var(--admin-side-border);
    color: var(--admin-side-muted);
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    flex-shrink: 0;
}

.admin-sideFooter2 a {
    color: var(--admin-accent);
    text-decoration: none;
    font-weight: 700;
}

.admin-main2 {
    flex: 1;
    padding: 24px 28px 80px;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.ops-shell {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.admin-appFooter {
    padding: 14px 28px 18px;
    border-top: 1px solid var(--admin-line);
    background: transparent;
}

.admin-footerInner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--admin-muted);
    font-size: 12px;
}

.admin-footerInner strong {
    color: var(--admin-text);
}

.admin-fab-stack {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 35;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.admin-fab__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    min-width: 48px;
    padding: 0 16px;
    border: 0;
    border-radius: 50%;
    background: var(--admin-accent);
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(102, 88, 221, 0.4);
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.admin-fab__btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
}

.admin-fab__btn:active {
    transform: translateY(0);
}

.admin-fab__btn--ai {
    background: #36404a;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    font-size: 13px;
    border-radius: 999px;
    min-width: 56px;
}

html.admin-theme-light .admin-fab__btn--ai {
    background: #323a46;
}

.admin-ai {
    position: fixed;
    right: 24px;
    bottom: 92px;
    z-index: 45;
    width: min(380px, calc(100vw - 32px));
    max-height: min(520px, calc(100vh - 120px));
    display: flex;
    flex-direction: column;
    border-radius: 6px;
    border: 1px solid var(--admin-line);
    background: var(--admin-surface-solid);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    backdrop-filter: none;
}

.admin-ai.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

.admin-ai__head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--admin-line);
}

.admin-ai__head strong {
    display: block;
    font-size: 14px;
}

.admin-ai__head p {
    margin: 4px 0 0;
    color: var(--admin-muted);
    font-size: 12px;
}

.admin-ai__close {
    border: 0;
    background: transparent;
    color: var(--admin-muted);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.admin-ai__log {
    flex: 1;
    overflow: auto;
    padding: 14px;
    display: grid;
    gap: 10px;
}

.admin-ai__bubble {
    max-width: 92%;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.45;
}

.admin-ai__bubble--bot {
    background: rgba(102, 88, 221, 0.16);
    color: var(--admin-text);
}

.admin-ai__bubble--user {
    margin-left: auto;
    background: rgba(79, 198, 225, 0.18);
}

.admin-ai__form {
    display: flex;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid var(--admin-line);
}

.admin-ai__form input {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid var(--admin-line);
    border-radius: 4px;
    background: var(--admin-soft);
    color: var(--admin-text);
    font-size: 13px;
}

.admin-ai__form button {
    padding: 0 14px;
    border: 0;
    border-radius: 4px;
    background: var(--admin-accent);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.admin-content--login {
    margin-left: 0;
    width: 100%;
    min-height: 100vh;
    padding: 0;
}

/* 레거시 클래스 호환 (이전 그리드 레이아웃) */
.admin-app {
    display: contents;
}

/* ===== Admin Login ===== */
.admin-login {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
    min-height: 100vh;
    width: 100%;
}

.admin-login__stage {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 36px;
    padding: 44px 52px 40px;
    background:
        linear-gradient(165deg, #2a211c 0%, #3a2c28 40%, #2f3530 78%, #24322d 100%);
    color: #fff;
}

.admin-login__mesh {
    position: absolute;
    inset: -10%;
    background-image:
        radial-gradient(circle at 12% 16%, rgba(255, 110, 142, 0.38), transparent 34%),
        radial-gradient(circle at 88% 10%, rgba(255, 194, 58, 0.3), transparent 32%),
        radial-gradient(circle at 68% 82%, rgba(95, 199, 160, 0.26), transparent 38%),
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: auto, auto, auto, 28px 28px, 28px 28px;
    animation: admin-login-mesh 18s ease-in-out infinite alternate;
}

.admin-login__watermark {
    position: absolute;
    right: -2%;
    bottom: -10%;
    margin: 0;
    font-family: var(--font-main);
    font-size: clamp(140px, 24vw, 280px);
    font-weight: 700;
    line-height: 0.8;
    letter-spacing: -0.05em;
    color: rgba(255, 255, 255, 0.055);
    pointer-events: none;
    user-select: none;
}

.admin-login__stage-top {
    position: relative;
    z-index: 2;
    max-width: 560px;
    animation: admin-login-rise 0.75s ease-out both;
}

.admin-login__brand {
    margin: 0;
    font-family: var(--font-main);
    font-size: clamp(48px, 6.8vw, 82px);
    font-weight: 700;
    line-height: 0.92;
    letter-spacing: -0.03em;
}

.admin-login__tag {
    margin: 14px 0 0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: none;
    color: var(--citrus);
}

.admin-login__pitch {
    margin: 14px 0 0;
    font-size: 16px;
    line-height: 1.55;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.78);
}

.admin-login__atelier {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 18px;
    animation: admin-login-rise 0.85s ease-out 0.1s both;
}

.admin-login__rail-wrap,
.admin-login__bench-wrap {
    padding: 18px 18px 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.admin-login__rail-label {
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
}

.admin-login__rail {
    height: 10px;
    border-radius: 999px;
    background:
        linear-gradient(90deg, #d8c4a8, #f0e2cb 40%, #c9b08d);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.18);
}

.admin-login__hangs {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    min-height: 150px;
    margin-top: 2px;
    padding: 0 6px;
}

.admin-login__hang {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 64px;
    animation: admin-login-sway 5.5s ease-in-out infinite;
    transform-origin: top center;
}

.admin-login__hang--lemon { animation-delay: -1.8s; }
.admin-login__hang--star { animation-delay: -3.4s; }

.admin-login__ring {
    width: 16px;
    height: 16px;
    margin-top: -6px;
    border: 3px solid #c0c6ce;
    border-radius: 50%;
    background: transparent;
}

.admin-login__chain {
    width: 2px;
    height: 18px;
    background: linear-gradient(#c0c6ce, #9aa1aa);
}

.admin-login__charm {
    position: relative;
    display: block;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.22);
}

.admin-login__charm--heart {
    width: 42px;
    height: 38px;
    background: transparent;
    box-shadow: none;
}

.admin-login__charm--heart::before,
.admin-login__charm--heart::after {
    content: "";
    position: absolute;
    top: 0;
    width: 22px;
    height: 34px;
    background: linear-gradient(160deg, #ff8aa5, #ff6e8e 55%, #e84f74);
    border-radius: 22px 22px 4px 4px;
    box-shadow: 0 8px 14px rgba(0, 0, 0, 0.18);
}

.admin-login__charm--heart::before {
    left: 5px;
    transform: rotate(-40deg);
    transform-origin: bottom center;
}

.admin-login__charm--heart::after {
    right: 5px;
    transform: rotate(40deg);
    transform-origin: bottom center;
}

.admin-login__charm--lemon {
    width: 44px;
    height: 44px;
    border-radius: 50% 50% 48% 48%;
    background:
        radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.45) 0 12%, transparent 13%),
        linear-gradient(145deg, #ffe07a, #ffc23a 60%, #f0a820);
}

.admin-login__charm--star {
    width: 46px;
    height: 46px;
    background: linear-gradient(145deg, #b9a4f3, #9b84e8);
    clip-path: polygon(50% 4%, 61% 35%, 95% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 5% 35%, 39% 35%);
}

.admin-login__bench {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    min-height: 158px;
    padding: 18px 14px 14px;
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(244, 239, 226, 0.14), rgba(244, 239, 226, 0.05)),
        repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.04) 0 1px,
            transparent 1px 18px
        );
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-login__mini {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 54px;
    animation: admin-login-drift 7s ease-in-out infinite;
}

.admin-login__mini--bot { animation-delay: -2s; }
.admin-login__mini--cat { animation-delay: -4s; }

.admin-login__mini-head {
    display: block;
    width: 28px;
    height: 24px;
    border-radius: 50%;
    margin-bottom: 3px;
}

.admin-login__mini-body {
    display: block;
    width: 34px;
    height: 42px;
    border-radius: 14px 14px 10px 10px;
    box-shadow: 0 10px 16px rgba(0, 0, 0, 0.2);
}

.admin-login__mini-base {
    width: 40px;
    height: 8px;
    margin-top: 6px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.28);
}

.admin-login__mini--bear .admin-login__mini-head {
    width: 34px;
    height: 28px;
    background: #ffc23a;
    box-shadow: -10px -2px 0 -2px #ffc23a, 10px -2px 0 -2px #ffc23a;
}

.admin-login__mini--bear .admin-login__mini-body {
    background:
        radial-gradient(circle at 30% 30%, #221e2e 0 3px, transparent 4px),
        radial-gradient(circle at 70% 30%, #221e2e 0 3px, transparent 4px),
        linear-gradient(180deg, #ffd56a, #ffc23a);
}

.admin-login__mini--bot .admin-login__mini-head {
    width: 30px;
    height: 22px;
    border-radius: 8px;
    background: #5fc7a0;
}

.admin-login__mini--bot .admin-login__mini-body {
    background:
        linear-gradient(#221e2e, #221e2e) 50% 28% / 16px 8px no-repeat,
        linear-gradient(180deg, #7fd8b4, #5fc7a0);
}

.admin-login__mini--cat .admin-login__mini-head {
    width: 32px;
    height: 26px;
    background: #ff6e8e;
    clip-path: polygon(8% 40%, 20% 0, 35% 30%, 65% 30%, 80% 0, 92% 40%, 88% 100%, 12% 100%);
}

.admin-login__mini--cat .admin-login__mini-body {
    background:
        radial-gradient(circle at 32% 32%, #221e2e 0 3px, transparent 4px),
        radial-gradient(circle at 68% 32%, #221e2e 0 3px, transparent 4px),
        linear-gradient(180deg, #ff8aa5, #ff6e8e);
}

.admin-login__tools {
    position: absolute;
    right: 12px;
    bottom: 18px;
    display: flex;
    align-items: flex-end;
    gap: 6px;
}

.admin-login__brush {
    width: 6px;
    height: 46px;
    border-radius: 3px;
    background:
        linear-gradient(#221e2e 0 18%, #d8c4a8 18% 78%, #ff6e8e 78%);
}

.admin-login__pot {
    width: 16px;
    height: 14px;
    border-radius: 3px 3px 5px 5px;
}

.admin-login__pot--bubble { background: #ff6e8e; }
.admin-login__pot--mint { background: #5fc7a0; height: 12px; }

.admin-login__panel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 40px;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 194, 58, 0.2), transparent 36%),
        radial-gradient(circle at 0% 100%, rgba(255, 110, 142, 0.14), transparent 42%),
        var(--paper);
}

.admin-login__panel::before {
    content: "";
    position: absolute;
    inset: 24px;
    border: 1px solid rgba(34, 30, 46, 0.08);
    border-radius: 28px;
    pointer-events: none;
}

.admin-login__panel-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
    padding: 36px 32px 28px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(34, 30, 46, 0.06);
    box-shadow: 0 18px 40px rgba(34, 30, 46, 0.08);
    animation: admin-login-rise 0.7s ease-out 0.12s both;
}

.admin-login__mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: var(--bubble);
    color: #fff;
    font-family: var(--font-main);
    font-size: 26px;
    font-weight: 700;
}

.admin-login__kicker {
    margin: 0 0 8px;
    color: var(--bubble);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.admin-login__title {
    margin: 0 0 10px;
    font-family: var(--font-main);
    font-size: 34px;
    line-height: 1.15;
    color: var(--ink);
}

.admin-login__lead {
    margin: 0 0 26px;
    color: rgba(34, 30, 46, 0.68);
    font-size: 15px;
    line-height: 1.55;
}

.admin-login-form__field {
    display: block;
    margin-bottom: 16px;
}

.admin-login-form__field span {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
}

.admin-login-form__field input {
    display: block;
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid rgba(34, 30, 46, 0.14);
    border-radius: 12px;
    background: #fff;
    box-sizing: border-box;
    color: var(--ink);
    font-size: 15px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.admin-login-form__field input::placeholder {
    color: rgba(34, 30, 46, 0.35);
}

.admin-login-form__field input:hover {
    border-color: rgba(34, 30, 46, 0.28);
}

.admin-login-form__field input:focus {
    outline: none;
    border-color: var(--bubble);
    box-shadow: 0 0 0 3px rgba(255, 110, 142, 0.18);
}

.admin-login-form__submit {
    width: 100%;
    margin-top: 8px;
    padding: 14px 18px;
    border: 0;
    border-radius: 12px;
    background: var(--ink);
    color: #fff;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease;
}

.admin-login-form__submit:hover {
    background: var(--bubble);
}

.admin-login-form__submit:active {
    transform: translateY(1px);
}

.admin-login__foot {
    margin: 22px 0 0;
    padding-top: 16px;
    border-top: 1px solid rgba(34, 30, 46, 0.08);
    color: rgba(34, 30, 46, 0.48);
    font-size: 12px;
    letter-spacing: 0.04em;
    text-align: center;
}

@keyframes admin-login-sway {
    0%,
    100% {
        transform: rotate(-3deg);
    }
    50% {
        transform: rotate(3deg);
    }
}

@keyframes admin-login-drift {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -8px, 0);
    }
}

@keyframes admin-login-mesh {
    0% {
        transform: scale(1) translate3d(0, 0, 0);
    }
    100% {
        transform: scale(1.05) translate3d(-10px, 6px, 0);
    }
}

@keyframes admin-login-rise {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 980px) {
    .admin-login__atelier {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .admin-login {
        grid-template-columns: 1fr;
    }

    .admin-login__stage {
        min-height: auto;
        padding: 32px 24px 28px;
        gap: 24px;
    }

    .admin-login__brand {
        font-size: clamp(40px, 12vw, 64px);
    }

    .admin-login__watermark {
        font-size: 160px;
        right: -8%;
        bottom: -16%;
    }

    .admin-login__pitch {
        font-size: 15px;
    }

    .admin-login__panel {
        padding: 28px 20px 40px;
        align-items: flex-start;
    }

    .admin-login__panel::before {
        display: none;
    }

    .admin-login__panel-inner {
        padding: 28px 22px 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .admin-login__mesh,
    .admin-login__hang,
    .admin-login__mini,
    .admin-login__stage-top,
    .admin-login__atelier,
    .admin-login__panel-inner {
        animation: none;
    }
}

.admin-pagehead {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.admin-pagehead h1 {
    margin: 0 0 6px;
    font-family: var(--font-main);
    font-size: 32px;
    color: var(--admin-text);
}

.admin-pagehead p {
    margin: 0;
    color: var(--admin-muted);
    font-size: 14px;
}

.admin-pagehead__meta {
    font-weight: 600;
    white-space: nowrap;
}

/* ===== Inventory ===== */
.admin-table-wrap {
    overflow-x: auto;
    background: var(--admin-surface-solid, #ffffff);
    border: 1px solid var(--admin-line, rgba(34, 30, 46, 0.1));
    border-radius: 8px;
    box-shadow: var(--admin-shadow, 0 8px 24px rgba(34, 30, 46, 0.06));
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    color: var(--admin-text, inherit);
}

.admin-table th,
.admin-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--admin-line, rgba(34, 30, 46, 0.08));
    text-align: left;
    vertical-align: middle;
}

.admin-table th {
    background: var(--admin-soft, rgba(244, 239, 226, 0.7));
    font-size: 12px;
    letter-spacing: 0.02em;
    color: var(--admin-muted, rgba(34, 30, 46, 0.62));
}

.admin-table tr:last-child td {
    border-bottom: 0;
}

.admin-table td.admin-table__empty,
.admin-table tr.admin-table__empty-row td {
    text-align: center;
    padding: 18px 12px;
    color: var(--admin-muted);
}

.admin-table tr.admin-table__empty-row:hover td {
    background: transparent;
}

/* 모바일: 테이블 → 카드 스택 (가로 축소만 하지 않음) */
@media (max-width: 860px) {
    .admin-table-wrap {
        overflow: visible;
        background: transparent;
        border: 0;
        box-shadow: none;
        border-radius: 0;
    }

    .admin-table--stack {
        display: block;
        width: 100%;
    }

    .admin-table--stack thead {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        border: 0;
    }

    .admin-table--stack tbody {
        display: block;
    }

    .admin-table--stack tbody tr {
        display: block;
        margin: 0 0 12px;
        padding: 12px 14px;
        border: 1px solid var(--admin-line, rgba(34, 30, 46, 0.1));
        border-radius: 16px;
        background: var(--admin-surface-solid, #fff);
        box-shadow: var(--admin-shadow, 0 8px 22px rgba(34, 30, 46, 0.06));
    }

    .admin-table--stack tbody tr:last-child {
        margin-bottom: 0;
    }

    .admin-table--stack td {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
        width: auto;
        padding: 10px 0;
        border-bottom: 1px solid var(--admin-line, rgba(34, 30, 46, 0.08));
        text-align: right;
        word-break: break-word;
    }

    .admin-table--stack td:last-child {
        border-bottom: 0;
        padding-bottom: 2px;
    }

    .admin-table--stack td::before {
        content: attr(data-label);
        flex: 0 0 34%;
        max-width: 120px;
        color: var(--admin-muted, rgba(34, 30, 46, 0.55));
        font-size: 12px;
        font-weight: 700;
        text-align: left;
        line-height: 1.4;
    }

    .admin-table--stack td > * {
        max-width: 66%;
    }

    .admin-table--stack td.admin-table__actions {
        justify-content: flex-end;
        align-items: center;
    }

    .admin-table--stack td.admin-table__actions::before {
        content: none;
        display: none;
    }

    .admin-table--stack td.admin-table__empty,
    .admin-table--stack tr.admin-table__empty-row td {
        display: block;
        text-align: center;
        padding: 18px 8px;
        border-bottom: 0;
        color: var(--admin-muted, rgba(34, 30, 46, 0.5));
    }

    .admin-table--stack td.admin-table__empty::before,
    .admin-table--stack tr.admin-table__empty-row td::before {
        content: none;
        display: none;
    }

    /* 재고 행: 한 열로 쌓아 폼이 찌그러지지 않게 */
    .inv-row {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }

    .inv-row__visual {
        display: flex;
        justify-content: flex-start;
    }

    .inv-row__stock {
        display: flex;
        align-items: baseline;
        gap: 10px;
        text-align: left;
    }

    .inv-row__stock-label {
        margin: 0;
    }

    .inv-inline {
        width: 100%;
    }

    .inv-inline__memo {
        min-width: 0;
        width: 100%;
        flex: 1 1 100%;
    }

    .inv-inline__qty {
        flex: 0 0 auto;
    }

    .inv-inline__go {
        flex: 1 1 auto;
        min-height: 40px;
    }

    .ops-head--row,
    .scv-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-dl > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    /* 프론트엔드 모바일 개선 */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-image {
        height: 140px;
    }

    .section-kids,
    .section-gift {
        padding: 24px 12px;
        margin: 32px -12px;
    }

    .cta-button {
        padding: 16px 24px;
        font-size: 16px;
        min-height: 48px;
    }

    .gift-button {
        padding: 16px 24px;
        font-size: 16px;
        min-height: 48px;
    }

    .banner-btn {
        width: 44px;
        height: 44px;
    }

    .wishlist-button {
        width: 40px;
        height: 40px;
    }

    .product-name {
        font-size: 14px;
        height: 40px;
    }

    .badge {
        font-size: 10px;
        padding: 3px 8px;
    }
}

.admin-pill {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
}

.admin-pill--mute {
    background: rgba(34, 30, 46, 0.08);
}

.admin-rarity {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.admin-rarity--normal {
    background: var(--admin-ok-bg);
    color: var(--admin-ok);
}

.admin-rarity--rare {
    background: var(--admin-info-bg);
    color: var(--admin-info);
}

.admin-rarity--secret {
    background: var(--admin-danger-bg);
    color: var(--admin-danger);
}

.admin-stock {
    font-weight: 700;
}

.admin-stock--low {
    color: #c2410c;
}

.admin-stock--out {
    color: var(--bubble);
}

.admin-stock-form {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.admin-stock-form select,
.admin-stock-form input[type="number"],
.admin-stock-form input[type="text"] {
    font-size: 13px;
}

.admin-stock-form input[type="number"] {
    width: 72px;
}

.admin-stock-form input[type="text"] {
    width: 120px;
}

.admin-stock-form button {
    padding: 6px 12px;
    border: 0;
    border-radius: 8px;
    background: var(--ink);
    color: #fff;
    font-size: 13px;
    cursor: pointer;
}

.admin-stock-form button:hover {
    background: var(--lilac);
}

.admin-content .pagination {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 18px;
}

/* ===== Admin Members (PII mask / reveal) ===== */
.admin-card {
    margin-bottom: 24px;
    padding: 22px 24px;
    background: var(--admin-surface);
    border: 1px solid var(--admin-line);
    border-radius: 16px;
    box-shadow: var(--admin-shadow);
    backdrop-filter: blur(10px);
}

.admin-card--spaced {
    margin-top: 8px;
}

.admin-card__title {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 700;
}

.admin-dl {
    margin: 0;
    display: grid;
    gap: 12px;
}

.admin-dl > div {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 12px;
    align-items: center;
}

.admin-dl dt {
    margin: 0;
    color: var(--admin-muted);
    font-size: 13px;
    font-weight: 600;
}

.admin-dl dd {
    margin: 0;
    font-size: 14px;
}

.admin-pii-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.admin-pii-mask {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
    color: var(--admin-muted);
}

.admin-pii-empty {
    color: var(--admin-muted);
    opacity: 0.75;
    font-size: 13px;
}

.admin-pii-addr {
    font-size: 13px;
    line-height: 1.45;
}

.admin-btn-reveal {
    padding: 6px 12px;
    border: 1px solid rgba(34, 30, 46, 0.18);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.admin-btn-reveal:hover {
    border-color: var(--bubble);
    color: var(--bubble);
}

.admin-btn-reveal:disabled {
    opacity: 0.55;
    cursor: default;
}

.admin-btn-reveal.is-done {
    border-color: var(--admin-ok);
    color: var(--admin-ok);
}

/* ===== Ops Center / Bento ===== */
.ops-head {
    margin-bottom: 22px;
}

/* 폼(inv-form 820)과 같은 폭으로 맞춤 */
.ops-head--form {
    max-width: 820px;
    box-sizing: border-box;
}

.ops-head--row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.ops-head h1 {
    margin: 4px 0 6px;
    font-family: inherit;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--admin-text);
}

/* 목록 복귀 — 저장(neon)과 다른 민트, 액션줄 하단 우측용 */
.ops-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
    box-sizing: border-box;
    padding: 12px 20px;
    border: 0;
    border-radius: 12px;
    background: var(--mint, #5fc7a0);
    color: #0b1020;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease;
}

.ops-back-btn:hover {
    transform: translateY(-1px);
    background: var(--citrus, #ffc23a);
    color: #0b1020;
    text-decoration: none;
}

.admin-body:not(.admin-body--login) .ops-back-btn {
    color: #0b1020;
}

.admin-body:not(.admin-body--login) .ops-back-btn:hover {
    color: #0b1020;
}

/* 컨텐츠 하단 우측 액션줄 */
.ops-page-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.ops-head__live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--admin-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ops-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 0 0 rgba(95, 199, 160, 0.55);
    animation: ops-pulse 1.8s ease-out infinite;
}

@keyframes ops-pulse {
    0% { box-shadow: 0 0 0 0 rgba(95, 199, 160, 0.5); }
    70% { box-shadow: 0 0 0 10px rgba(95, 199, 160, 0); }
    100% { box-shadow: 0 0 0 0 rgba(95, 199, 160, 0); }
}

.ops-head__lead {
    margin: 0;
    color: var(--admin-muted);
    font-size: 14px;
}

.ops-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
}

.ops-presets {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ops-chip {
    padding: 6px 12px;
    border: 1px solid var(--admin-line);
    border-radius: 4px;
    background: var(--admin-surface-solid);
    color: var(--admin-muted);
    font-size: 12px;
    font-weight: 400;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.ops-chip:hover {
    border-color: rgba(102, 88, 221, 0.45);
    color: var(--admin-text);
}

.ops-chip.is-active {
    background: var(--admin-accent);
    border-color: var(--admin-accent);
    color: #fff;
}

html.admin-theme-light .ops-chip.is-active {
    color: #fff;
}

.ops-chip--ghost {
    background: transparent;
}

.ops-customize {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    align-items: center;
    margin: 0 0 14px;
    padding: 12px 14px;
    border: 1px solid var(--admin-line);
    border-radius: 6px;
    background: var(--admin-surface-solid);
    backdrop-filter: none;
}

.ops-customize.is-hidden {
    display: none;
}

.ops-customize__title {
    margin: 0;
    width: 100%;
    font-size: 12px;
    font-weight: 800;
    color: var(--admin-muted);
}

.ops-customize label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--admin-text);
    cursor: pointer;
}

.ops-bento {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.ops-bento--v2 .ops-tile--span2 {
    grid-column: span 2;
}

.ops-bento--main {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.ops-bento--main > [data-widget="orders"] { grid-column: span 5; min-width: 0; max-width: 100%; }
.ops-bento--main > [data-widget="chart"] { grid-column: span 7; min-width: 0; max-width: 100%; }
.ops-bento--main > [data-widget="insights"] { grid-column: span 5; min-width: 0; max-width: 100%; }
.ops-bento--main > [data-widget="kanban"] { grid-column: span 7; min-width: 0; max-width: 100%; }
.ops-bento--main > [data-widget="alerts"] { grid-column: span 7; min-width: 0; max-width: 100%; }
.ops-bento--main > [data-widget="feed"] { grid-column: span 5; min-width: 0; max-width: 100%; }

.ops-bento--sales {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.ops-tile--sales {
    background: linear-gradient(160deg, var(--admin-surface-solid) 40%, rgba(91, 140, 255, 0.22));
}

.ops-tile__value--money {
    font-size: 28px;
    letter-spacing: -0.02em;
}

.ops-tile__value--money span {
    margin-left: 4px;
    font-size: 14px;
    font-weight: 700;
    color: var(--admin-muted);
}

.ops-order-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.ops-order-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 12px;
    padding: 10px 12px;
    border-radius: 14px;
    background: var(--admin-soft);
    border: 1px solid var(--admin-line);
}

.ops-order-item__main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.ops-order-item__main strong {
    font-size: 13px;
    color: var(--admin-text);
}

.ops-order-item__meta {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: var(--admin-muted);
}

.ops-order-item__amount {
    font-size: 14px;
    color: var(--admin-text);
    white-space: nowrap;
}

.ops-order-status {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
    background: var(--admin-ok-bg);
    color: var(--admin-ok);
}

.ops-order-status--preparing {
    background: var(--admin-warn-bg);
    color: var(--admin-warn);
}

.ops-order-status--shipping {
    background: var(--admin-ok-bg);
    color: var(--admin-ok);
}

.ops-order-status--completed {
    background: var(--admin-info-bg);
    color: var(--admin-info);
}

.ops-order-status--cancelled,
.ops-order-status--returned {
    background: var(--admin-danger-bg);
    color: var(--admin-danger);
}

.ops-bento.is-loading .ops-tile__value {
    color: transparent;
    background: linear-gradient(90deg, var(--admin-soft), rgba(91, 140, 255, 0.18), var(--admin-soft));
    background-size: 200% 100%;
    border-radius: 8px;
    animation: ops-skeleton 1.1s ease-in-out infinite;
}

@keyframes ops-skeleton {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.ops-rise {
    animation: ops-rise 0.45s ease both;
}

.ops-rise:nth-child(2) { animation-delay: 0.04s; }
.ops-rise:nth-child(3) { animation-delay: 0.08s; }
.ops-rise:nth-child(4) { animation-delay: 0.12s; }
.ops-rise:nth-child(5) { animation-delay: 0.16s; }

@keyframes ops-rise {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

[data-widget].is-hidden-widget {
    display: none !important;
}

.ops-tile {
    position: relative;
    padding: 20px 18px 18px;
    border-radius: 8px;
    background: var(--admin-surface-solid);
    border: 1px solid var(--admin-line);
    box-shadow: var(--admin-shadow);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    min-height: 118px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    overflow: hidden;
}

.ops-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.ops-tile--sales,
.ops-tile--products,
.ops-tile--danger,
.ops-tile--warn,
.ops-tile--mint,
.ops-tile--lilac {
    background: var(--admin-surface-solid);
}

.ops-tile__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.ops-tile__ring {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    flex-shrink: 0;
    background:
        radial-gradient(circle at center, var(--admin-surface-solid) 58%, transparent 59%),
        conic-gradient(var(--ring-color, #6658dd) calc(var(--gauge, 70) * 1%), rgba(255, 255, 255, 0.12) 0);
}

.ops-tile--sales { --ring-color: #6658dd; }
.ops-tile--products { --ring-color: #4fc6e1; }
.ops-tile--danger { --ring-color: #f1556c; }
.ops-tile--warn { --ring-color: #f7b84b; }
.ops-tile--mint { --ring-color: #1abc9c; }
.ops-tile--lilac { --ring-color: #6658dd; }

.ops-tile__label {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--admin-muted);
}

.ops-tile__value {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--admin-text);
}

.ops-tile__hint,
.ops-tile__link {
    display: inline-block;
    margin-top: 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--admin-muted);
}

.ops-tile__link {
    color: var(--admin-link);
    text-decoration: none;
}

.ops-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 14px;
    margin-bottom: 14px;
}

.ops-split--bottom {
    grid-template-columns: 1fr 1fr;
}

.ops-panel {
    padding: 18px 20px 16px;
    border-radius: 8px;
    background: var(--admin-surface-solid);
    border: 1px solid var(--admin-line);
    box-shadow: var(--admin-shadow);
}

.ops-panel--glass {
    background: var(--admin-surface-solid);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.ops-story {
    margin-bottom: 14px;
}

.ops-story__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: var(--admin-text);
}

.ops-chart {
    position: relative;
    min-height: 200px;
}

.ops-chart__tooltip {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(10, 14, 22, 0.92);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.ops-chart__tooltip.is-hidden {
    display: none;
}

.ops-chart__bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 180px;
    padding-top: 28px;
}

.ops-chart__bar {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.ops-chart__fill {
    display: block;
    width: 100%;
    max-width: 42px;
    height: var(--bar-h, 8%);
    border-radius: 4px 4px 2px 2px;
    background: #6658dd;
    box-shadow: none;
    transition: height 0.35s ease, transform 0.15s ease, filter 0.15s ease;
}

.ops-chart__bar:hover .ops-chart__fill,
.ops-chart__bar:focus .ops-chart__fill {
    transform: scaleX(1.06);
    filter: brightness(1.12);
}

.ops-chart__x {
    margin-top: 8px;
    font-size: 11px;
    font-weight: 700;
    color: var(--admin-muted);
}

.ops-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.ops-panel__head h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--admin-text);
}

.ops-panel__head a {
    color: var(--admin-link);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.ops-panel__foot {
    margin: 12px 0 0;
    color: var(--admin-muted);
    font-size: 12px;
}

.ops-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    background: rgba(26, 188, 156, 0.18);
    color: #1abc9c;
    font-size: 11px;
    font-weight: 700;
}

.ops-badge--mute {
    background: rgba(255, 255, 255, 0.08);
    color: var(--admin-muted);
}

.ops-insight-list {
    display: grid;
    gap: 10px;
}

.ops-insight {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 6px;
}

.ops-insight h3 {
    margin: 0 0 4px;
    font-size: 14px;
}

.ops-insight p {
    margin: 0;
    font-size: 13px;
    color: var(--admin-muted);
}

.ops-insight--danger { background: rgba(255, 110, 142, 0.14); }
.ops-insight--warn { background: rgba(255, 194, 58, 0.22); }
.ops-insight--ok { background: rgba(95, 199, 160, 0.16); }

.ops-insight__cta {
    flex: 0 0 auto;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.ops-kanban {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.ops-kanban__col {
    padding: 14px 12px;
    border-radius: 6px;
    background: var(--admin-soft);
    text-align: center;
}

.ops-kanban__col--alert {
    background: rgba(241, 85, 108, 0.16);
}

.ops-kanban__title {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--admin-muted);
}

.ops-kanban__count {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    color: var(--admin-text);
}

.ops-alert-list,
.ops-feed {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.ops-alert-item,
.ops-feed__item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ops-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    overflow: hidden;
    flex: 0 0 44px;
    background: rgba(34, 30, 46, 0.08);
    font-weight: 800;
    color: var(--ink);
}

.ops-thumb--lg {
    width: 72px;
    height: 72px;
    flex-basis: 72px;
    border-radius: 18px;
    font-size: 24px;
}

.ops-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ops-thumb--normal { background: rgba(95, 199, 160, 0.22); }
.ops-thumb--rare { background: rgba(155, 132, 232, 0.22); }
.ops-thumb--secret { background: rgba(255, 110, 142, 0.22); }

.ops-alert-item__body {
    flex: 1;
    min-width: 0;
}

.ops-alert-item__name {
    margin: 0 0 2px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--admin-text);
}

.ops-alert-item__meta {
    margin: 0 0 6px;
    font-size: 12px;
    color: var(--admin-muted);
}

.ops-alert-item__stock {
    font-size: 20px;
    font-weight: 800;
    min-width: 36px;
    text-align: right;
}

.ops-alert-item__stock.is-out {
    color: var(--bubble);
}

.ops-gauge {
    height: 8px;
    border-radius: 999px;
    background: rgba(34, 30, 46, 0.08);
    overflow: hidden;
}

.ops-gauge--wide {
    max-width: 280px;
}

.ops-gauge__bar {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--mint);
}

.ops-gauge__bar.is-low { background: var(--citrus); }
.ops-gauge__bar.is-out { background: var(--bubble); width: 4% !important; }

.ops-feed__type {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

.ops-feed__type--in {
    background: var(--admin-ok-bg);
    color: var(--admin-ok);
}

.ops-feed__type--out {
    background: var(--admin-danger-bg);
    color: var(--admin-danger);
}

.ops-feed__body {
    flex: 1;
    min-width: 0;
}

.ops-feed__body p {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--admin-text);
}

.ops-feed__body small {
    color: var(--admin-muted);
    font-size: 12px;
}

.ops-feed__qty {
    font-size: 15px;
    color: var(--admin-text);
}

.ops-empty {
    margin: 0;
    padding: 18px 8px;
    color: var(--admin-muted);
    font-size: 14px;
    text-align: center;
}

.ops-table-card {
    border-radius: 18px;
}

.ops-member-link {
    color: var(--admin-text);
    font-weight: 700;
    text-decoration: none;
}

.ops-member-link:hover {
    color: var(--bubble);
}

.ops-insight h3 {
    margin: 0 0 4px;
    font-size: 14px;
    color: var(--admin-text);
}

.ops-insight p {
    margin: 0;
    font-size: 13px;
    color: var(--admin-muted);
}

.scv-head h1 {
    margin: 0 0 8px;
    font-size: 30px;
    color: var(--admin-text);
}

.admin-card__title {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 700;
    color: var(--admin-text);
}

.admin-dl dt {
    margin: 0;
    color: var(--admin-muted);
    font-size: 13px;
    font-weight: 600;
}

.admin-dl dd {
    margin: 0;
    font-size: 14px;
    color: var(--admin-text);
}

.admin-btn-reveal {
    padding: 6px 12px;
    border: 1px solid var(--admin-line);
    border-radius: 8px;
    background: var(--admin-soft);
    color: var(--admin-text);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.admin-btn-reveal:hover {
    border-color: var(--bubble);
    color: var(--bubble);
    transform: translateY(-1px);
}

.inv-row__title strong {
    font-size: 15px;
    color: var(--admin-text);
}

.inv-row__meta {
    margin: 0 0 8px;
    font-size: 12px;
    color: var(--admin-muted);
}

.inv-row__stock-num {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--admin-text);
}

.inv-inline__go {
    padding: 8px 14px;
    border: 0;
    border-radius: 10px;
    background: var(--neon);
    color: #0b1020;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease;
}

.inv-inline__go:hover {
    background: var(--lilac);
    color: #fff;
    transform: translateY(-1px);
}

.admin-content .pagination {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 18px;
    color: var(--admin-muted);
}

.admin-content .pagination a {
    color: var(--admin-link);
}

.ops-tag {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--admin-chip-bg, rgba(34, 30, 46, 0.08));
    color: var(--admin-text);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    vertical-align: middle;
}

.ops-tag--vip {
    background: var(--admin-warn-bg);
    color: var(--admin-warn);
}

.ops-tag--mint {
    background: var(--admin-ok-bg);
    color: var(--admin-ok);
}

.ops-tag--lilac {
    background: var(--admin-info-bg);
    color: var(--admin-info);
}

.ops-tag--warn {
    background: var(--admin-danger-bg);
    color: var(--admin-danger);
}

/* ===== Visual inventory ===== */
.inv-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 0 0 14px;
    font-size: 12px;
    font-weight: 700;
    color: var(--admin-text);
}

.inv-legend__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.inv-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.inv-dot--ok { background: var(--mint); }
.inv-dot--low { background: var(--citrus); }
.inv-dot--out { background: var(--bubble); }

.inv-list {
    display: grid;
    gap: 10px;
}

.inv-row {
    display: grid;
    grid-template-columns: 88px minmax(0, 1.4fr) 88px minmax(240px, 1.2fr);
    gap: 14px;
    align-items: center;
    padding: 14px;
    border-radius: 18px;
    background: var(--admin-surface);
    border: 1px solid var(--admin-line);
    box-shadow: var(--admin-shadow);
    backdrop-filter: blur(8px);
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.inv-row:hover {
    transform: translateY(-1px);
}

.inv-row.is-low {
    /* 배경 강조 없음 — 테두리만 사용 (하단 redesign 규칙) */
    background: var(--admin-surface-solid);
}

.inv-row.is-out {
    background: var(--admin-surface-solid);
}

.inv-row__title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.inv-row__title strong {
    font-size: 15px;
}

.inv-row__meta {
    margin: 0 0 8px;
    font-size: 12px;
    color: var(--admin-muted);
}

.inv-row__stock {
    text-align: center;
}

.inv-row__stock-label {
    margin: 0 0 2px;
    font-size: 11px;
    font-weight: 700;
    color: var(--admin-muted);
}

.inv-row__stock-num {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

/* ===== Home Page (Pink Theme) ===== */
.home-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* 연령별 섹션 스타일 */
.section-kids {
    background: linear-gradient(135deg, #a8e6cf 0%, #dcedc1 100%);
    border-radius: 16px;
    padding: 32px;
    margin: 40px -16px;
}

.section-kids .section-title {
    color: #2d3436;
}

.section-gift {
    background: linear-gradient(135deg, #ffd3b6 0%, #ff9a9e 100%);
    border-radius: 16px;
    padding: 32px;
    margin: 40px -16px;
}

.section-gift .section-title {
    color: #2d3436;
}

/* 세트 상품 뱃지 */
.badge--set {
    background: linear-gradient(135deg, #c9b1ff, #a8e6cf);
    color: #2d3436;
}

.badge--kids {
    background: linear-gradient(135deg, #a8e6cf, #dcedc1);
    color: #2d3436;
}

/* 어린이 친화적 카드 스타일 */
.product-card--kids {
    border: 2px solid var(--pastel-blue);
    border-radius: 16px;
}

.product-card--kids:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 32px rgba(168, 230, 207, 0.3);
}

/* 세트 상품 카드 스타일 */
.product-card--set {
    border: 2px solid var(--brand-primary);
    border-radius: 16px;
}

.product-card--set:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 32px rgba(255, 107, 129, 0.3);
}

/* 선물 포장 버튼 */
.gift-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #ffd3b6, #ff9a9e);
    color: #2d3436;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gift-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 218, 182, 0.4);
}

/* 위시리스트 버튼 */
.wishlist-button {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.wishlist-button:hover {
    background: #fff;
    transform: scale(1.1);
}

.wishlist-button.active {
    background: #ff6b81;
    color: #fff;
}

.wishlist-button.active svg {
    fill: currentColor;
}

/* 무한 스크롤 */
.infinite-scroll-container {
    min-height: 200px;
}

.loading-more {
    text-align: center;
    padding: 24px;
    color: #636e72;
}

.loading-more p {
    font-size: 14px;
}

.loading-more::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 10px;
    border: 2px solid #ff6b81;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

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

/* 선물 포장 옵션 */
.gift-options {
    margin: 16px 0;
    padding: 16px;
    background: #fff5f7;
    border-radius: 12px;
    border: 1px solid rgba(255, 107, 129, 0.2);
}

.gift-option {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 14px;
    color: #2d3436;
}

.gift-option:last-child {
    margin-bottom: 0;
}

.gift-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #ff6b81;
    cursor: pointer;
}

.gift-option span {
    flex: 1;
}

.gift-option:hover {
    background: rgba(255, 107, 129, 0.1);
    border-radius: 8px;
    padding: 4px 8px;
    margin: -4px -8px;
}

/* ===== Pocket Museum Hero ===== */
.pm-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: center;
    gap: 56px;
    min-height: 560px;
    margin: 24px 0 64px;
    padding: 56px 56px 88px;
    border-radius: 32px;
    background:
        radial-gradient(rgba(44, 38, 35, 0.035) 1px, transparent 1px),
        radial-gradient(circle at 10% 15%, rgba(217, 126, 106, 0.10), transparent 36%),
        radial-gradient(circle at 92% 82%, rgba(156, 170, 142, 0.16), transparent 38%),
        var(--pm-blush);
    background-size: 22px 22px, auto, auto, auto;
    overflow: hidden;
}

.pm-hero__kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 22px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--pm-clay);
}

.pm-hero__kicker::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--pm-clay);
}

.pm-hero__title {
    margin: 0 0 24px;
}

.pm-hero__title-en {
    display: block;
    font-family: var(--pm-font-display);
    font-size: clamp(36px, 4.8vw, 58px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: var(--pm-cocoa);
}

.pm-hero__title-ko {
    display: block;
    margin-top: 18px;
    font-family: var(--pm-font-serif);
    font-size: clamp(19px, 2.1vw, 26px);
    font-weight: 300;
    line-height: 1.55;
    color: var(--pm-warmgray);
}

.pm-hero__sub {
    margin: 0 0 34px;
    font-size: 15px;
    line-height: 1.75;
    color: var(--pm-warmgray);
}

.pm-hero__actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.pm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pm-btn--primary {
    padding: 15px 36px;
    border-radius: 999px;
    background: var(--pm-clay-deep);
    color: #fff;
    box-shadow: 0 10px 24px rgba(217, 126, 106, 0.35);
}

.pm-btn--primary:hover {
    background: var(--pm-clay-press);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(217, 126, 106, 0.45);
}

.pm-btn--ghost {
    padding: 4px 2px;
    color: var(--pm-cocoa);
    border-bottom: 1px solid var(--pm-cocoa);
}

.pm-btn--ghost:hover {
    color: var(--pm-clay);
    border-bottom-color: var(--pm-clay);
}

/* 우측 비주얼: 아치 프레임 */
.pm-hero__visual {
    position: relative;
}

.pm-hero__arch {
    position: relative;
    width: min(100%, 430px);
    margin-left: auto;
    aspect-ratio: 4 / 5;
    border-radius: 999px 999px 28px 28px;
    overflow: hidden;
    background: linear-gradient(160deg, #F3E3C9 0%, #EAD3C8 55%, #E4C0B4 100%);
    box-shadow: 0 30px 60px -20px rgba(44, 38, 35, 0.28);
}

.pm-hero__arch-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pm-hero__arch-fallback::before {
    content: '';
    position: absolute;
    width: 62%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
}

.pm-hero__arch-mark {
    position: relative;
    font-family: var(--pm-font-display);
    font-style: italic;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.15;
    text-align: center;
    color: rgba(44, 38, 35, 0.4);
    transform: rotate(-6deg);
}

/* 아치 안 배너 슬라이더 (기존 JS 그대로 사용) */
.pm-hero .banner-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.pm-hero .banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pm-hero .banner-slide.active {
    opacity: 1;
    z-index: 1;
}

.pm-hero .banner-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.pm-hero .banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pm-hero .banner-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #F3E3C9 0%, #EAD3C8 60%, #E4C0B4 100%);
    padding: 24px;
    text-align: center;
}

.pm-hero .banner-placeholder h2 {
    font-family: var(--pm-font-serif);
    font-size: 28px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--pm-cocoa);
}

.pm-hero .banner-controls {
    position: absolute;
    bottom: 18px;
    right: 18px;
    display: flex;
    gap: 8px;
    z-index: 5;
}

.pm-hero .banner-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(250, 246, 241, 0.85);
    color: var(--pm-cocoa);
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(44, 38, 35, 0.12);
    backdrop-filter: blur(4px);
}

.pm-hero .banner-btn:hover {
    background: var(--pm-clay);
    color: #fff;
    transform: scale(1.08);
}

.pm-hero .banner-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
}

.pm-hero .banner-dot {
    width: 8px;
    height: 8px;
    border: none;
    border-radius: 50%;
    background: rgba(250, 246, 241, 0.55);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pm-hero .banner-dot.active {
    background: var(--pm-clay);
    transform: scale(1.25);
}

.pm-hero .banner-dot:hover {
    background: rgba(217, 126, 106, 0.8);
}

/* 플로팅 오브제 */
.pm-hero__float {
    position: absolute;
    z-index: 3;
    display: block;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 16px 32px rgba(44, 38, 35, 0.18);
    animation: pm-float 6s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.pm-hero__float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pm-hero__float--1 {
    top: 7%;
    left: 4%;
    width: 110px;
    height: 110px;
}

.pm-hero__float--2 {
    bottom: 8%;
    left: -6px;
    width: 78px;
    height: 78px;
    animation-delay: -3s;
}

@keyframes pm-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.pm-hero__deco {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.pm-hero__deco--ring {
    top: -14px;
    right: 6%;
    width: 88px;
    height: 88px;
    border: 1.5px solid var(--pm-sage);
    border-radius: 50%;
    opacity: 0.7;
}

.pm-hero__deco--dot {
    bottom: -14px;
    left: 14%;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--pm-clay);
    opacity: 0.8;
}

/* 스크롤 힌트 */
.pm-hero__scroll {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--pm-warmgray);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.3em;
}

.pm-hero__scroll i {
    display: block;
    width: 1px;
    height: 34px;
    background: linear-gradient(var(--pm-warmgray), transparent);
}

/* Product Section */
.product-section {
    margin: 40px 0;
}

.product-section--highlight {
    background: linear-gradient(135deg, #fff5f7 0%, #ffe5ec 100%);
    padding: 32px;
    border-radius: 16px;
    margin: 40px -16px;
}

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

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #2d3436;
    margin: 0;
}

.section-more {
    color: #ff6b81;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
}

.section-more:hover {
    color: #ff4757;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(255, 107, 129, 0.2);
}

.product-card--highlight {
    border: 2px solid #ff6b81;
}

.product-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #f8f9fa;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffe5ec 0%, #ffccd5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6b81;
    font-size: 48px;
}

.badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

.badge--new {
    background: linear-gradient(135deg, #ff6b81, #ff4757);
}

.badge--best {
    background: linear-gradient(135deg, #ffa502, #ff6348);
}

.product-info {
    padding: 16px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: #2d3436;
    margin: 0 0 8px;
    line-height: 1.4;
    height: 44px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

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

.price-current {
    font-size: 18px;
    font-weight: 700;
    color: #ff6b81;
}

.price-original {
    font-size: 14px;
    color: #b2bec3;
    text-decoration: line-through;
}

.price-sale {
    font-size: 18px;
    font-weight: 700;
    color: #ff4757;
}

.stock-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.stock--soldout {
    background: #ffe5ec;
    color: #ff4757;
}

.stock--low {
    background: #fff3cd;
    color: #856404;
}

/* CTA Section */
.cta-section {
    margin: 48px 0;
    padding: 48px 24px;
    background: linear-gradient(135deg, #ff6b81 0%, #ff4757 100%);
    border-radius: 16px;
    text-align: center;
    color: #fff;
}

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

.cta-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 12px;
}

.cta-subtitle {
    font-size: 18px;
    margin: 0 0 24px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 14px 32px;
    background: #fff;
    color: #ff6b81;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Pocket Museum: 공개 페이지 공통 적용 (pm-site) ===== */
.pm-site {
    --font-main: var(--pm-font-body);
    --ink: var(--pm-cocoa);
    --paper: var(--pm-ivory);
    --bubble: var(--pm-clay-deep);
    --citrus: #DFA351;
    --mint: var(--pm-sage);
    --lilac: var(--pm-clay-dark);
    --neon: var(--pm-clay);
    --font-display: var(--pm-font-display);
    background: var(--pm-ivory);
    color: var(--pm-cocoa);
    font-family: var(--pm-font-body);
}

/* 헤더·푸터 리터칭 */
.pm-site .site-header {
    background: rgba(250, 246, 241, 0.9);
    border-bottom: 1px solid var(--pm-line);
    box-shadow: none;
}

.pm-site .brand-link {
    font-family: var(--pm-font-display);
    font-weight: 400;
    letter-spacing: 0.03em;
    color: var(--pm-cocoa);
}

.pm-site .brand-link:hover {
    color: var(--pm-clay);
}

.pm-site .nav-link,
.pm-site .nav-dropdown-toggle,
.pm-site .auth-link {
    color: var(--pm-cocoa);
}

.pm-site .nav-link:hover,
.pm-site .nav-dropdown-toggle:hover,
.pm-site .auth-link:hover {
    color: var(--pm-clay);
}

.pm-site .nav-link::after {
    background: var(--pm-clay);
}

.pm-site .nav-dropdown-menu {
    border-color: var(--pm-line);
    border-radius: 14px;
}

.pm-site .nav-dropdown-item {
    color: var(--pm-cocoa);
}

.pm-site .nav-dropdown-item:hover {
    background: var(--pm-blush);
    color: var(--pm-clay-dark);
}

.pm-site .nav-dropdown-item--all {
    color: var(--pm-clay);
    border-top-color: var(--pm-line);
}

.pm-site .cart-count {
    background: var(--pm-clay-deep);
}

.pm-site .auth-button {
    background: var(--pm-clay-deep);
    border-radius: 999px;
    color: #fff;
}

.pm-site .auth-button:hover {
    background: var(--pm-clay-press);
    color: #fff;
}

.pm-site .site-footer {
    background: var(--pm-blush);
    border-top: 1px solid var(--pm-line);
}

.pm-site .footer-section h3,
.pm-site .footer-section h4,
.pm-site .footer-title {
    color: var(--pm-cocoa);
}

.pm-site .footer-text,
.pm-site .footer-heading,
.pm-site .footer-links a,
.pm-site .footer-copyright {
    color: var(--pm-warmgray);
}

.pm-site .footer-links a:hover {
    color: var(--pm-clay);
}

.pm-site .footer-bottom {
    border-top-color: var(--pm-line);
}

/* 푸터 사업자 정보 (전자상거래법 표기) */
.footer-biz {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 16px 4px;
    border-top: 1px solid var(--pm-line);
}

.pm-site .footer-biz {
    border-top-color: var(--pm-line);
}

.footer-biz__line {
    margin: 0 0 4px;
    font-size: 12.5px;
    line-height: 1.7;
    color: var(--pm-warmgray);
}

.footer-biz__line strong {
    font-weight: 700;
    color: var(--pm-cocoa);
}

/* 섹션 헤더: 키커 + 세리프 타이틀 */
.pm-site .product-section {
    margin: 64px 0;
}

.pm-section-head .pm-kicker,
.pm-kicker {
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--pm-sage);
}

.pm-kicker--center {
    text-align: center;
    color: var(--pm-clay);
}

.pm-site .section-title {
    font-family: var(--pm-font-serif);
    font-size: 26px;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--pm-cocoa);
}

.pm-site .section-more {
    color: var(--pm-warmgray);
    font-size: 14px;
    font-weight: 500;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--pm-line);
}

.pm-site .section-more:hover {
    color: var(--pm-clay);
    border-bottom-color: var(--pm-clay);
}

/* 섹션 배경: 파스텔 그라데이션 → 뮤트 톤 */
.pm-site .section-gift {
    background: var(--pm-blush);
    border-radius: 24px;
}

.pm-site .section-kids {
    background: var(--pm-butter);
    border-radius: 24px;
}

.pm-site .section-gift .section-title,
.pm-site .section-kids .section-title {
    color: var(--pm-cocoa);
}

.pm-site .product-section--highlight {
    background: var(--pm-blush);
    border-radius: 24px;
}

/* 상품 카드 */
.pm-site .product-card {
    background: #fff;
    border: 1px solid var(--pm-line);
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(44, 38, 35, 0.04);
}

.pm-site .product-card:hover,
.pm-site .product-card--set:hover,
.pm-site .product-card--kids:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(44, 38, 35, 0.10);
}

.pm-site .product-card--set,
.pm-site .product-card--kids,
.pm-site .product-card--highlight {
    border: 1px solid var(--pm-line);
}

.pm-site .product-image {
    background: var(--pm-blush);
}

.pm-site .product-name {
    color: var(--pm-cocoa);
    font-weight: 500;
}

.pm-site .price-current {
    color: var(--pm-clay-dark);
}

.pm-site .price-sale {
    color: var(--pm-clay-dark);
}

.pm-site .price-original {
    color: var(--pm-warmgray);
}

.pm-site .badge {
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.pm-site .badge--new {
    background: var(--pm-sage);
}

.pm-site .badge--best {
    background: var(--pm-clay-deep);
}

.pm-site .badge--kids {
    background: var(--pm-butter);
    color: var(--pm-cocoa);
}

.pm-site .badge--set {
    background: var(--pm-blush);
    color: var(--pm-clay-dark);
}

.pm-site .wishlist-button {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(6px);
}

.pm-site .wishlist-button:hover {
    background: #fff;
}

.pm-site .wishlist-button.active {
    background: var(--pm-clay-deep);
}

.pm-site .stock--soldout {
    background: var(--pm-blush);
    color: var(--pm-clay-dark);
}

.pm-site .stock--low {
    background: var(--pm-butter);
    color: #8a6d3b;
}

/* /products 목록 카드: 홈 product-card와 동일 비주얼 */
.pm-site .shop-card {
    background: #fff;
    border: 1px solid var(--pm-line);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(44, 38, 35, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pm-site .shop-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(44, 38, 35, 0.10);
}

.pm-site .shop-card__img {
    background: var(--pm-blush);
}

.pm-site .shop-card__name {
    color: var(--pm-cocoa);
    font-weight: 500;
    font-size: 15px;
    line-height: 1.4;
}

.pm-site .shop-card__price {
    color: var(--pm-cocoa);
}

.pm-site .shop-card__price b {
    font-size: 17px;
    color: var(--pm-clay-dark);
}

.pm-site .shop-card__price s {
    color: var(--pm-warmgray);
}

.pm-site .shop-card__rarity {
    background: var(--pm-butter);
    color: var(--pm-cocoa);
    font-weight: 600;
}

.pm-site .shop-card__new {
    background: var(--pm-sage);
    color: #fff;
}

.pm-site .shop-card__sold {
    background: var(--pm-clay-deep);
    color: #fff;
}

.pm-site .shop-sort__link {
    border: 1px solid var(--pm-line);
    color: var(--pm-cocoa);
}

.pm-site .shop-sort__link.is-on {
    background: var(--pm-cocoa);
    color: var(--pm-ivory);
}

.pm-site .loading-more {
    color: var(--pm-warmgray);
}

.pm-site .loading-more::after {
    border-color: var(--pm-clay);
    border-top-color: transparent;
}

/* CTA 섹션 */
.pm-site .cta-section {
    background: var(--pm-butter);
    color: var(--pm-cocoa);
    border-radius: 28px;
    padding: 64px 24px;
}

.pm-site .cta-title {
    font-family: var(--pm-font-serif);
    font-weight: 400;
    font-size: 30px;
}

.pm-site .cta-subtitle {
    color: var(--pm-warmgray);
    opacity: 1;
}

.pm-site .cta-button {
    background: var(--pm-clay-deep);
    color: #fff;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(217, 126, 106, 0.35);
}

.pm-site .cta-button:hover {
    background: var(--pm-clay-press);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(217, 126, 106, 0.45);
}

.pm-site .gift-button {
    background: transparent;
    color: var(--pm-cocoa);
    border: 1px solid var(--pm-cocoa);
    border-radius: 999px;
    padding: 14px 28px;
    font-weight: 600;
}

.pm-site .gift-button:hover {
    background: var(--pm-cocoa);
    color: var(--pm-ivory);
    transform: none;
    box-shadow: none;
}

/* 서브 페이지 공통 리터치 — 상단 타이틀 통일 (메인 section-title 규격) */
.pm-site .shop-page__head h1,
.pm-site .shop-cart > h1,
.pm-site .board-page__head h1,
.pm-site .checkout__title,
.pm-site .shop-detail__headline h1 {
    font-family: var(--pm-font-serif);
    font-size: 28px;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.3;
    color: var(--pm-cocoa);
    margin: 0;
}

.pm-site .shop-faq__title {
    font-family: var(--pm-font-serif);
    font-weight: 400;
    color: var(--pm-cocoa);
}

.pm-site .shop-buy button,
.pm-site .shop-page__cta {
    border-radius: 999px;
    transition: background 0.25s ease, transform 0.25s ease;
}

.pm-site .shop-buy button:hover,
.pm-site .shop-page__cta:hover {
    background: var(--pm-clay-press);
    transform: translateY(-1px);
}

.pm-site .app-modal__ok {
    background: var(--pm-clay-deep);
    border-radius: 999px;
}

.pm-site .app-modal__ok:hover {
    background: var(--pm-clay-press);
}

/* 상세페이지 스티키 구매바 (모바일) */
.sticky-buy {
    display: none;
}

@media (max-width: 768px) {
    .pm-site .sticky-buy {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 910;
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
        background: rgba(250, 246, 241, 0.97);
        backdrop-filter: blur(10px);
        border-top: 1px solid var(--pm-line);
    }

    .pm-site .sticky-buy__info {
        flex: 1;
        min-width: 0;
    }

    .pm-site .sticky-buy__name {
        display: block;
        font-size: 13px;
        font-weight: 600;
        color: var(--pm-cocoa);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .pm-site .sticky-buy__price b {
        font-size: 16px;
        color: var(--pm-clay-dark);
    }

    .pm-site .sticky-buy__btn {
        flex-shrink: 0;
        padding: 12px 22px;
        border: 0;
        border-radius: 999px;
        background: var(--pm-clay-deep);
        color: #fff;
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
    }

    .pm-site .sticky-buy__btn:active {
        background: var(--pm-clay-press);
    }

    /* 상세페이지는 구매바가 하단 내비 역할을 대신 */
    body.pm-detail .pm-cartbar {
        display: none;
    }

    body.pm-detail {
        padding-bottom: 76px;
    }
}

/* 히어로 반응형 */
@media (max-width: 980px) {
    .pm-hero {
        grid-template-columns: 1fr;
        gap: 40px;
        min-height: 0;
        padding: 44px 28px 72px;
        text-align: center;
    }

    .pm-hero__kicker {
        justify-content: center;
    }

    .pm-hero__kicker::before {
        display: none;
    }

    .pm-hero__sub br {
        display: none;
    }

    .pm-hero__actions {
        justify-content: center;
    }

    .pm-hero__arch {
        margin: 0 auto;
    }

    .pm-hero__float--1 {
        left: 2%;
    }

    .pm-hero__float--2 {
        left: auto;
        right: 2%;
    }
}

@media (max-width: 480px) {
    .pm-hero {
        padding: 36px 20px 64px;
        border-radius: 24px;
    }

    .pm-hero__float {
        width: 64px;
        height: 64px;
    }

    .pm-hero__float--1 {
        width: 72px;
        height: 72px;
    }

    .pm-site .product-section {
        margin: 48px 0;
    }
}

/* ===== Pocket Museum: 전환 요소 ===== */
/* 카테고리 숏컷 칩 */
.pm-chips {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 2px 10px;
    margin: -16px 0 16px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.pm-chips::-webkit-scrollbar {
    display: none;
}

.pm-chip {
    flex: 0 0 auto;
    padding: 9px 20px;
    border-radius: 999px;
    border: 1px solid var(--pm-line);
    background: #fff;
    color: var(--pm-cocoa);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.pm-chip:hover {
    border-color: var(--pm-clay);
    color: var(--pm-clay);
}

.pm-chip--accent {
    background: var(--pm-clay-deep);
    border-color: var(--pm-clay-deep);
    color: #fff;
}

.pm-chip--accent:hover {
    background: var(--pm-clay-press);
    color: #fff;
}

.pm-section-sub {
    margin: 6px 0 0;
    font-size: 14px;
    font-weight: 400;
    color: var(--pm-warmgray);
}

/* 고객 후기: 가로 스냅 스크롤 */
.pm-review-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 280px);
    gap: 16px;
    overflow-x: auto;
    padding: 4px 2px 18px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.pm-review-track::-webkit-scrollbar {
    display: none;
}

.pm-review-card {
    scroll-snap-align: start;
    display: block;
    background: #fff;
    border: 1px solid var(--pm-line);
    border-radius: 18px;
    padding: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pm-review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(44, 38, 35, 0.10);
}

.pm-review-card__stars {
    color: var(--pm-clay);
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.pm-review-card__body {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.65;
    color: var(--pm-cocoa);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pm-review-card__meta {
    margin: 0;
    font-size: 12px;
    color: var(--pm-warmgray);
}

/* 브랜드 스토리 */
.pm-story {
    text-align: center;
    padding: 72px 24px;
    margin: 64px 0;
    background: var(--pm-blush);
    border-radius: 28px;
}

.pm-story__title {
    margin: 0 0 16px;
    font-family: var(--pm-font-serif);
    font-weight: 300;
    font-size: clamp(24px, 3.4vw, 34px);
    line-height: 1.4;
    color: var(--pm-cocoa);
}

.pm-story__text {
    max-width: 520px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.8;
    color: var(--pm-warmgray);
}

/* 혜택 안내 스트립 */
.pm-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 0 0 8px;
}

.pm-benefits__item {
    text-align: center;
    padding: 20px 12px;
    background: #fff;
    border: 1px solid var(--pm-line);
    border-radius: 16px;
}

.pm-benefits__item strong {
    display: block;
    font-size: 14px;
    color: var(--pm-cocoa);
    margin-bottom: 4px;
}

.pm-benefits__item span {
    font-size: 12px;
    color: var(--pm-warmgray);
}

/* 퀵 담기 버튼 */
.quick-add-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    color: var(--pm-cocoa, #2C2623);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(44, 38, 35, 0.15);
    backdrop-filter: blur(6px);
    transition: all 0.25s ease;
}

.quick-add-btn:hover {
    background: var(--pm-clay, #D97E6A);
    color: #fff;
    transform: scale(1.1);
}

.quick-add-btn.is-done {
    background: var(--pm-sage, #9CAA8E);
    color: #fff;
}

.quick-add-btn.is-loading {
    opacity: 0.6;
    pointer-events: none;
}

/* 위시리스트 버스트 애니메이션 */
.wishlist-button.is-burst {
    animation: pm-wish-pop 0.45s ease;
}

.wishlist-button.is-burst svg {
    animation: pm-wish-heart 0.45s ease;
}

@keyframes pm-wish-pop {
    0% { transform: scale(1); }
    40% { transform: scale(1.35); }
    100% { transform: scale(1); }
}

@keyframes pm-wish-heart {
    0% { transform: scale(1) rotate(0deg); }
    40% { transform: scale(1.3) rotate(-8deg); }
    100% { transform: scale(1) rotate(0deg); }
}

/* 경량 토스트 */
.pm-toast {
    position: fixed;
    left: 50%;
    bottom: 40px;
    transform: translate(-50%, 16px);
    z-index: 9000;
    padding: 12px 24px;
    border-radius: 999px;
    background: var(--pm-cocoa);
    color: var(--pm-ivory);
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 12px 32px rgba(44, 38, 35, 0.3);
}

.pm-toast.is-on {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* 모바일 하단 고정 바 */
.pm-cartbar {
    display: none;
}

@media (max-width: 768px) {
    .pm-site {
        padding-bottom: 68px;
    }

    .pm-cartbar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 900;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
        background: rgba(250, 246, 241, 0.96);
        backdrop-filter: blur(10px);
        border-top: 1px solid var(--pm-line);
    }

    .pm-cartbar__item {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 12px 4px;
        font-size: 14px;
        font-weight: 600;
        color: var(--pm-cocoa);
        text-decoration: none;
        border-radius: 12px;
    }

    .pm-cartbar__item--cart {
        background: var(--pm-clay-deep);
        color: #fff;
        border-radius: 999px;
    }

    .pm-cartbar__count {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 20px;
        height: 20px;
        padding: 0 6px;
        border-radius: 10px;
        background: #fff;
        color: var(--pm-clay);
        font-size: 12px;
        font-weight: 700;
    }

    .pm-toast {
        bottom: 92px;
    }

    .pm-benefits {
        grid-template-columns: 1fr;
    }

    .pm-story {
        padding: 52px 20px;
        margin: 48px 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .home-container {
        padding: 0 12px;
    }

    .banner-slider {
        height: 250px;
    }

    .banner-placeholder h2 {
        font-size: 32px;
    }

    .product-section--highlight {
        padding: 24px 16px;
        margin: 32px -12px;
    }

    .section-title {
        font-size: 24px;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }

    .product-image {
        height: 160px;
    }

    .product-name {
        font-size: 14px;
        height: 40px;
    }

    .cta-section {
        padding: 32px 16px;
    }

    .cta-title {
        font-size: 24px;
    }

    .cta-subtitle {
        font-size: 16px;
    }

    .banner-controls {
        bottom: 12px;
    }

    .banner-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-image {
        height: 140px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .banner-dots {
        bottom: 8px;
    }

    /* 추가 모바일 개선 */
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .section-title {
        font-size: 20px;
    }

    .section-more {
        font-size: 14px;
    }

    .cta-section {
        padding: 32px 16px;
    }

    .cta-title {
        font-size: 22px;
    }

    .cta-subtitle {
        font-size: 16px;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-button,
    .gift-button {
        width: 100%;
        text-align: center;
    }
}

/* ===== Site Layout (Header & Footer) ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 107, 129, 0.1);
    box-shadow: 0 2px 8px rgba(255, 107, 129, 0.08);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.header-brand {
    flex-shrink: 0;
}

.brand-link {
    font-size: 24px;
    font-weight: 700;
    color: #ff6b81;
    text-decoration: none;
    transition: color 0.3s ease;
}

.brand-link:hover {
    color: #ff4757;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    color: #2d3436;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ff6b81;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff6b81;
    transition: width 0.3s ease;
}

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

/* 드롭다운 메뉴 */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 15px;
    font-weight: 500;
    color: #2d3436;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.3s ease;
}

.nav-dropdown-toggle:hover {
    color: #ff6b81;
}

.dropdown-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid rgba(255, 107, 129, 0.1);
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-item {
    display: block;
    padding: 10px 16px;
    color: #2d3436;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-dropdown-item:hover {
    background: linear-gradient(135deg, #fff5f7 0%, #ffe5ec 100%);
    color: #ff6b81;
    padding-left: 20px;
}

.nav-dropdown-item--all {
    border-top: 1px solid rgba(255, 107, 129, 0.1);
    margin-top: 4px;
    padding-top: 12px;
    font-weight: 600;
    color: #ff6b81;
}

.cart-count {
    display: inline-block;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: #ff6b81;
    color: #fff;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    line-height: 20px;
    vertical-align: middle;
    margin-left: 4px;
}

.header-auth {
    display: flex;
    align-items: center;
    gap: 16px;
}

.auth-link {
    color: #2d3436;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

.auth-link:hover {
    color: #ff6b81;
}

.auth-button {
    padding: 8px 16px;
    background: #ff6b81;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-button:hover {
    background: #ff4757;
    color: #fff;
}

.logout-form {
    margin: 0;
    display: inline;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: #2d3436;
    transition: all 0.3s ease;
}

.site-main {
    min-height: calc(100vh - 64px - 200px);
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #fff5f7 0%, #ffe5ec 100%);
    border-top: 1px solid rgba(255, 107, 129, 0.1);
    margin-top: 48px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 16px 32px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.footer-section h3,
.footer-section h4 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    color: #2d3436;
}

.footer-title {
    font-size: 20px;
    color: #ff6b81;
}

.footer-heading {
    font-size: 14px;
    color: #636e72;
}

.footer-text {
    margin: 0;
    font-size: 14px;
    color: #636e72;
    line-height: 1.6;
}

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

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #636e72;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff6b81;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
    border-top: 1px solid rgba(255, 107, 129, 0.1);
    text-align: center;
}

.footer-copyright {
    margin: 0;
    font-size: 13px;
    color: #636e72;
}

/* Responsive Header & Footer */
@media (max-width: 768px) {
    .header-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 16px;
        gap: 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .header-nav.is-open {
        display: flex;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown-toggle {
        width: 100%;
        padding: 12px 0;
        justify-content: space-between;
        border-bottom: 1px solid rgba(255, 107, 129, 0.1);
    }

    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0;
        background: #f8f9fa;
        border-radius: 0;
        display: none;
    }

    .nav-dropdown.is-open .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown-item {
        padding: 12px 16px;
        border-bottom: 1px solid rgba(255, 107, 129, 0.05);
    }

    .nav-dropdown-item:hover {
        background: transparent;
        padding-left: 16px;
    }

    .nav-dropdown-item--all {
        border-top: 1px solid rgba(255, 107, 129, 0.1);
        background: #fff5f7;
    }

    .nav-link:not(.nav-dropdown-toggle) {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 107, 129, 0.1);
        width: 100%;
    }

    .header-auth {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.is-active span:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }

    .mobile-menu-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.is-active span:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -4px);
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    /* 어린이 친화적 모바일 버튼 */
    .cta-button {
        padding: 16px 32px;
        font-size: 18px;
        min-height: 54px;
    }

    .banner-btn {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }

    .section-kids,
    .section-gift {
        padding: 24px 16px;
        margin: 32px -12px;
    }

    .wishlist-button {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    .footer-container {
        grid-template-columns: 1fr;
    }

    .header-container {
        padding: 0 12px;
    }
}

.inv-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.inv-inline__seg {
    display: inline-flex;
    padding: 3px;
    border-radius: 999px;
    background: rgba(34, 30, 46, 0.06);
}

.inv-seg {
    cursor: pointer;
}

.inv-seg input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.inv-seg span {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: rgba(34, 30, 46, 0.55);
}

.inv-seg input:checked + span {
    background: #fff;
    color: var(--ink);
    box-shadow: 0 2px 8px rgba(34, 30, 46, 0.08);
}

.inv-inline__qty {
    width: 68px;
    padding: 8px 10px;
    border: 1px solid rgba(34, 30, 46, 0.14);
    border-radius: 10px;
    font-size: 13px;
}

.inv-inline__memo {
    flex: 1;
    min-width: 100px;
    padding: 8px 10px;
    border: 1px solid rgba(34, 30, 46, 0.14);
    border-radius: 10px;
    font-size: 13px;
}

.inv-inline__go {
    padding: 8px 14px;
    border: 0;
    border-radius: 10px;
    background: var(--ink);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.inv-inline__go:hover {
    background: var(--lilac);
}

/* ===== Product create form ===== */
.inv-form {
    max-width: 820px;
}

.inv-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
}

.inv-form__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.inv-form__field--full {
    grid-column: 1 / -1;
}

.inv-form__field > span {
    font-size: 12px;
    font-weight: 700;
    color: var(--admin-muted, rgba(34, 30, 46, 0.6));
}

.inv-form__hint {
    margin-top: 4px;
    font-size: 12px;
    color: var(--admin-muted);
}

.inv-form__hint a {
    color: var(--admin-link);
}

.inv-form__field input[type="text"],
.inv-form__field input[type="number"],
.inv-form__field input[type="email"],
.inv-form__field input[type="url"],
.inv-form__field input[type="datetime-local"],
.inv-form__field input[type="date"],
.inv-form__field input[type="file"],
.inv-form__field select,
.inv-form__field textarea {
    width: 100%;
}

.inv-form__field select option {
    background: var(--admin-surface-solid, #fff);
    color: var(--admin-text);
}

.inv-form__field textarea {
    min-height: 96px;
}

.inv-form__check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--admin-text, inherit);
    cursor: pointer;
}

.inv-form__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    margin-top: 20px;
}

.inv-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 0;
    border-radius: 12px;
    background: var(--neon, #5b8cff);
    color: #0b1020;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s ease, background 0.15s ease;
}

.inv-form__submit:hover {
    transform: translateY(-1px);
    background: var(--bubble);
    color: #fff;
    text-decoration: none;
}

/* 취소·보조 버튼 — 제출 버튼과 동일 크기 */
.inv-form__cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 12px 20px;
    border: 1px solid var(--admin-line, rgba(34, 30, 46, 0.18));
    border-radius: 12px;
    background: transparent;
    color: var(--admin-text, #e8edf5);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.inv-form__cancel:hover {
    transform: translateY(-1px);
    background: var(--admin-soft, rgba(255, 255, 255, 0.06));
    border-color: var(--admin-muted, rgba(34, 30, 46, 0.35));
    color: var(--admin-text, #e8edf5);
    text-decoration: none;
}

html.admin-theme-light .inv-form__cancel {
    color: #221e2e;
    background: #fff;
}

html.admin-theme-light .inv-form__cancel:hover {
    background: #f4efe2;
    color: #221e2e;
}

/* 삭제 등 위험 액션 */
.inv-form__danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 12px 20px;
    border: 1px solid rgba(220, 70, 70, 0.45);
    border-radius: 12px;
    background: transparent;
    color: #e85a5a;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s ease, background 0.15s ease;
}

.inv-form__danger:hover {
    transform: translateY(-1px);
    background: rgba(220, 70, 70, 0.12);
    color: #e85a5a;
    text-decoration: none;
}

@media (max-width: 860px) {
    .inv-form__grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Member single customer view ===== */
.scv-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.scv-head h1 {
    margin: 0 0 8px;
    font-size: 30px;
}

.scv-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.scv-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 14px;
    margin-bottom: 14px;
}

.scv-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0;
}

.scv-timeline__item {
    position: relative;
    padding: 0 0 16px 22px;
}

.scv-timeline__item::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 8px;
    bottom: -2px;
    width: 2px;
    background: rgba(34, 30, 46, 0.1);
}

.scv-timeline__item:last-child::before {
    display: none;
}

.scv-timeline__dot {
    position: absolute;
    left: 0;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--lilac);
    box-shadow: 0 0 0 3px rgba(155, 132, 232, 0.2);
}

.scv-timeline__item h3 {
    margin: 0 0 4px;
    font-size: 14px;
}

.scv-timeline__item p {
    margin: 0;
    font-size: 13px;
    color: rgba(34, 30, 46, 0.65);
}

.scv-timeline__item time {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    color: rgba(34, 30, 46, 0.45);
    font-weight: 700;
}

@media (max-width: 1100px) {
    .ops-bento,
    .ops-bento--sales {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ops-bento--v2 .ops-tile--span2,
    .ops-bento--sales .ops-tile--span2 {
        grid-column: span 3;
    }

    .ops-bento--main {
        grid-template-columns: 1fr;
    }

    .ops-bento--main > [data-widget] {
        grid-column: 1 / -1 !important;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .ops-split,
    .ops-split--bottom,
    .scv-grid {
        grid-template-columns: 1fr;
    }

    .inv-row {
        grid-template-columns: 72px 1fr;
    }

    .inv-row__stock,
    .inv-inline {
        grid-column: 1 / -1;
    }
}

@media (max-width: 860px) {
    .admin-rail {
        position: static;
        width: 100%;
        height: auto;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        padding: 12px;
    }

    .admin-rail:hover,
    .admin-rail:focus-within {
        width: 100%;
    }

    .admin-rail__brand {
        margin-bottom: 0;
    }

    .admin-rail__nav {
        flex-direction: row;
        flex: 1;
    }

    .admin-rail__label {
        opacity: 1;
        transform: none;
    }

    .admin-rail__logout {
        margin-top: 0;
        margin-left: auto;
    }

    .admin-workspace {
        margin-left: 0;
    }

    .admin-topbar {
        padding: 10px 16px;
    }

    .admin-content {
        margin-left: 0;
        padding: 20px 16px 80px;
    }

    .admin-content--login {
        padding: 0;
    }

    /* KPI 타일만 2열 — 메인 패널(오늘 주문 등)은 1열 유지 */
    .ops-bento:not(.ops-bento--main) {
        grid-template-columns: 1fr 1fr;
    }

    .ops-bento--main {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }

    .ops-bento--main > [data-widget] {
        grid-column: 1 / -1 !important;
        width: 100%;
    }

    .ops-kanban {
        grid-template-columns: 1fr 1fr;
    }

    .ops-insight {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-fab {
        right: 16px;
        bottom: 16px;
    }

    .admin-fab-stack {
        right: 16px;
        bottom: 16px;
    }

    .admin-ai {
        right: 12px;
        left: 12px;
        width: auto;
        bottom: 84px;
    }
}

@media (max-width: 640px) {
    .ops-bento:not(.ops-bento--main),
    .ops-bento--sales,
    .ops-bento--v2 {
        grid-template-columns: 1fr;
    }

    .ops-bento--v2 .ops-tile--span2,
    .ops-bento--sales .ops-tile--span2 {
        grid-column: span 1;
    }

    .ops-bento--main {
        grid-template-columns: 1fr !important;
    }

    .ops-bento--main > [data-widget="orders"],
    .ops-bento--main > [data-widget="chart"],
    .ops-bento--main > [data-widget="insights"],
    .ops-bento--main > [data-widget="kanban"],
    .ops-bento--main > [data-widget="alerts"],
    .ops-bento--main > [data-widget="feed"] {
        grid-column: 1 / -1 !important;
        display: block;
        width: 100%;
    }

    .ops-kanban {
        grid-template-columns: 1fr;
    }

    .ops-head--row {
        flex-direction: column;
        align-items: stretch;
    }

    .ops-toolbar {
        justify-content: flex-start;
    }
}

/* ===== Categories (infinite depth) ===== */
.cat-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 600;
}

.cat-breadcrumb a {
    color: var(--admin-link);
    text-decoration: none;
}

.cat-breadcrumb__sep {
    color: var(--admin-muted);
}

.cat-context {
    margin: 0 0 14px;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--admin-soft);
    border: 1px solid var(--admin-line);
    font-size: 13px;
    color: var(--admin-muted);
}

.cat-context strong {
    color: var(--admin-text);
}

.cat-depth-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--admin-info-bg);
    color: var(--admin-info);
    font-size: 11px;
    font-weight: 800;
    vertical-align: middle;
}

.cat-list {
    display: grid;
    gap: 10px;
}

.cat-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--admin-surface);
    border: 1px solid var(--admin-line);
    box-shadow: var(--admin-shadow);
}

.cat-row__name {
    color: var(--admin-text);
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
}

.cat-row__name:hover {
    color: var(--bubble);
}

.cat-row__meta {
    margin: 6px 0 0;
    font-size: 12px;
    color: var(--admin-muted);
}

.cat-row__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.cat-row__delete {
    margin: 0;
}

.cat-row__delete button {
    padding: 7px 12px;
    border: 1px solid rgba(255, 110, 142, 0.35);
    border-radius: 999px;
    background: transparent;
    color: #ff9bb2;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.cat-row__delete button:hover {
    background: rgba(255, 110, 142, 0.16);
}

.cat-form-hint {
    margin: 0;
    font-size: 13px;
    color: var(--admin-muted);
}

.cat-cascade-wrap .cat-cascade {
    display: grid;
    gap: 10px;
}

.cat-cascade__levels {
    display: grid;
    gap: 10px;
}

.cat-cascade__level {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cat-cascade__level > span {
    font-size: 12px;
    font-weight: 700;
    color: var(--admin-muted);
}

.cat-cascade__select {
    width: 100%;
}

.cat-cascade__picked {
    margin: 0;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(91, 140, 255, 0.12);
    font-size: 13px;
    color: var(--admin-text);
}

@media (max-width: 860px) {
    .cat-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===== Admin 모바일 반응형 (Adminto) ===== */
@media (max-width: 1024px) {
    .admin-wrapper {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .admin-content-wrap {
        margin-left: 0;
        width: 100%;
        max-width: 100%;
    }

    .admin-hamburger {
        display: inline-flex;
    }

    .admin-pagehead-inline {
        display: none;
    }

    .admin-search {
        width: min(180px, 42vw);
        flex: 1 1 auto;
        min-width: 0;
    }

    .admin-topbar2 {
        gap: 8px;
        min-width: 0;
    }

    .admin-topLeft {
        flex: 1 1 auto;
        min-width: 0;
    }

    .admin-topRight {
        flex: 0 0 auto;
        max-width: 50%;
    }

    .admin-top-btn {
        padding: 8px 10px;
    }

    .admin-side {
        position: fixed;
        left: 0;
        top: 0;
        height: 100dvh;
        width: min(var(--admin-sidebar-w), 86vw);
        margin: 0;
        transform: translateX(-105%);
        transition: transform 0.2s ease;
        z-index: 2000;
        box-shadow: 0 0 35px rgba(0, 0, 0, 0.35);
    }

    body.adm-nav-open .admin-side,
    .admin-side.is-open {
        transform: translateX(0);
    }

    .admin-navOverlay {
        position: fixed;
        inset: 0;
        background: rgba(50, 58, 70, 0.55);
        z-index: 1500;
    }

    body.adm-nav-open .admin-navOverlay,
    .admin-navOverlay.is-open {
        display: block;
    }

    .admin-main2 {
        padding: 16px 12px 90px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .admin-appHeader {
        padding: 0 12px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .admin-topRight .admin-logout-form {
        display: none;
    }

    .ops-shell,
    .ops-bento,
    .ops-bento--main,
    .ops-bento--sales,
    .ops-panel,
    .ops-tile,
    .ops-customize {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .ops-bento--main {
        grid-template-columns: 1fr !important;
    }

    .ops-bento--main > [data-widget] {
        grid-column: 1 / -1 !important;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .ops-chart,
    .ops-chart__bars {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .ops-chart__bars {
        gap: 4px;
    }

    .ops-chart__x {
        font-size: 9px;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .ops-order-item {
        grid-template-columns: 1fr;
    }

    .ops-order-item__amount {
        justify-self: start;
    }

    .inv-price-block__row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .admin-search {
        display: none;
    }

    .admin-pagehead-inline {
        display: block;
        min-width: 0;
        flex: 1 1 auto;
    }

    .admin-top-btn--primary {
        padding: 8px 10px;
        font-size: 11px;
    }

    .ops-presets,
    .ops-toolbar {
        width: 100%;
        max-width: 100%;
    }

    .ops-chip {
        max-width: 100%;
    }
}
/* ===== Product Create: 가격 블록 ===== */
.inv-price-block {
    background: var(--admin-soft);
    border: 1px solid var(--admin-line);
    border-radius: 14px;
    padding: 16px;
    gap: 10px;
}

.inv-price-block__title {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--admin-muted);
    margin-bottom: 8px;
}

.inv-price-block__row {
    display: grid;
    grid-template-columns: 1fr 1fr 140px;
    gap: 12px;
}

.inv-price-block__item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.inv-price-block__item > span {
    font-size: 12px;
    font-weight: 700;
    color: var(--admin-muted);
}

.inv-price-block__item input {
    width: 100%;
}

.inv-price-block__pct {
    align-items: center;
}

.inv-price-block__pct-box {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--admin-line);
    background: var(--admin-surface);
    color: var(--admin-muted);
    font-size: 14px;
    font-weight: 700;
    width: 100%;
}

.inv-price-block__pct-box--on {
    background: rgba(34, 211, 238, 0.12);
    border-color: rgba(34, 211, 238, 0.3);
    color: var(--adm-brand1, #22d3ee);
}

@media (max-width: 860px) {
    .inv-price-block__row {
        grid-template-columns: 1fr 1fr;
    }
    .inv-price-block__pct {
        grid-column: 1 / -1;
    }
}

/* ===== 상품 구매 옵션 편집기 ===== */
.inv-opt {
    border: 1px dashed rgba(148, 163, 184, 0.35);
    border-radius: 12px;
    padding: 14px;
}
.inv-opt__title {
    display: block;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 10px;
}
.inv-opt__group {
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
    background: rgba(148, 163, 184, 0.06);
}
.inv-opt__grow {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.inv-opt__grow .inv-opt__name {
    flex: 1;
    min-width: 160px;
}
.inv-opt__req {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    white-space: nowrap;
    cursor: pointer;
}
.inv-opt__del,
.inv-opt__valdel {
    padding: 6px 10px;
    border: 0;
    border-radius: 8px;
    background: rgba(244, 63, 94, 0.12);
    color: #f43f5e;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}
.inv-opt__vals-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 8px 0;
}
.inv-opt__val {
    display: grid;
    grid-template-columns: 1fr 110px auto;
    gap: 6px;
    align-items: center;
}
.inv-opt__val input {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 8px;
    font-size: 12px;
    background: var(--paper, #fff);
    color: inherit;
}
.inv-opt__addval,
.inv-opt__add {
    padding: 7px 12px;
    border: 1px dashed rgba(148, 163, 184, 0.5);
    border-radius: 8px;
    background: transparent;
    color: var(--adm-brand1, #22d3ee);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
.inv-opt__add {
    margin-top: 2px;
}
.inv-opt__group input[type="text"],
.inv-opt__group input[type="number"] {
    padding: 8px 10px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 8px;
    font-size: 12px;
    background: var(--paper, #fff);
    color: inherit;
}
.inv-opt__name {
    padding: 8px 10px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 8px;
    font-size: 13px;
    background: var(--paper, #fff);
    color: inherit;
}

/* ===== Product Create: 이미지 슬롯 ===== */
.inv-img-upload {
    margin-top: 4px;
}

.inv-img-upload__slots {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* 슬롯 전체 = label 태그, 클릭 시 input 활성 */
.inv-img-slot {
    display: block;
    width: 100px;
    height: 100px;
    cursor: pointer;
    flex-shrink: 0;
}

/* file input은 완전히 숨기되 label 클릭으로 연결 */
.inv-img-slot__input {
    display: none;
}

/* 미리보기 박스 */
.inv-img-slot__preview {
    width: 100%;
    height: 100%;
    position: relative;
    border: 2px dashed var(--admin-line);
    border-radius: 14px;
    background: var(--admin-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    overflow: hidden;
    transition: border-color 0.15s ease, background 0.15s ease;
    box-sizing: border-box;
}

.inv-img-slot:hover .inv-img-slot__preview {
    border-color: rgba(34, 211, 238, 0.5);
    background: rgba(34, 211, 238, 0.06);
}

.inv-img-slot__preview.has-image {
    border-style: solid;
    border-color: rgba(34, 211, 238, 0.4);
}

/* 미리보기 이미지 — 박스를 꽉 채움 */
.inv-img-slot__preview img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.inv-img-slot__num {
    font-size: 11px;
    font-weight: 900;
    color: var(--admin-muted);
}

.inv-img-slot__plus {
    font-size: 22px;
    color: var(--admin-muted);
    line-height: 1;
}

/* 이미지 선택 후 번호·플러스 숨김 */
.inv-img-slot__preview.has-image .inv-img-slot__num,
.inv-img-slot__preview.has-image .inv-img-slot__plus {
    display: none;
}

@media (max-width: 600px) {
    .inv-img-slot {
        width: 80px;
        height: 80px;
    }
}

/* ===== Rich Editor (공용 Summernote → 관리자 폼 톤) ===== */
.tk-editor-host.note-editor.note-frame {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--admin-line);
    border-radius: 12px;
    background: var(--admin-surface-solid);
    color: var(--admin-text);
    box-shadow: none;
    overflow: visible;
    font-family: inherit;
}

.tk-editor-host.note-editor .note-toolbar {
    padding: 8px 10px;
    border: 0;
    border-bottom: 1px solid var(--admin-line);
    border-radius: 0;
    background: var(--admin-soft);
}

.tk-editor-host.note-editor .note-toolbar > .note-btn-group {
    margin: 0 4px 0 0;
}

.tk-editor-host.note-editor .note-toolbar .note-btn,
.tk-editor-host.note-editor .note-toolbar .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    margin: 2px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--admin-muted);
    box-shadow: none;
    font-size: 13px;
    line-height: 1;
}

.tk-editor-host.note-editor .note-toolbar .note-btn i,
.tk-editor-host.note-editor .note-toolbar [class^="note-icon-"]::before {
    color: inherit;
}

.tk-editor-host.note-editor .note-toolbar .note-btn:hover,
.tk-editor-host.note-editor .note-toolbar .note-btn:focus {
    background: rgba(34, 211, 238, 0.12);
    border-color: rgba(34, 211, 238, 0.28);
    color: var(--admin-text);
    outline: none;
}

.tk-editor-host.note-editor .note-toolbar .note-btn.active,
.tk-editor-host.note-editor .note-toolbar .note-btn:active {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.22), rgba(59, 130, 246, 0.18));
    border-color: rgba(34, 211, 238, 0.4);
    color: #fff;
}

.tk-editor-host .note-dropdown-menu {
    z-index: 20020;
    min-width: 140px;
    padding: 6px;
    border: 1px solid var(--admin-line);
    border-radius: 12px;
    background: var(--admin-surface-solid);
    color: var(--admin-text);
    box-shadow: var(--admin-shadow);
}

.tk-editor-host .note-dropdown-menu > li > a,
.tk-editor-host .note-dropdown-menu .note-dropdown-item {
    display: block;
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--admin-text);
    font-size: 13px;
}

.tk-editor-host .note-dropdown-menu > li > a:hover,
.tk-editor-host .note-dropdown-menu .note-dropdown-item:hover {
    background: rgba(34, 211, 238, 0.12);
    color: var(--admin-text);
}

.tk-editor-host .note-color .note-dropdown-menu {
    min-width: 180px;
}

.tk-editor-host .note-palette-title {
    color: var(--admin-muted);
}

.tk-editor-host .note-color-reset {
    background: var(--admin-soft) !important;
    color: var(--admin-text) !important;
    border-radius: 8px;
}

.tk-editor-host .note-editing-area {
    position: relative;
    overflow: visible;
    background: var(--admin-surface-solid);
}

.tk-editor-host .note-editable {
    min-height: 260px;
    padding: 14px 16px;
    background: var(--admin-surface-solid);
    color: var(--admin-text);
    font-size: 14px;
    line-height: 1.6;
    font-family: inherit;
}

.tk-editor-host .note-placeholder {
    color: var(--admin-muted) !important;
    padding: 14px 16px;
}

.tk-editor-host .note-editable img {
    cursor: pointer;
}

.tk-editor-host .note-control-selection {
    display: none !important;
}

.tk-img-resize {
    position: fixed;
    box-sizing: border-box;
    border: 1px dashed rgba(34, 211, 238, 0.75);
    pointer-events: none;
    z-index: 20035;
}

.tk-img-toolbar {
    position: absolute;
    left: 0;
    bottom: 100%;
    margin-bottom: 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    max-width: min(92vw, 560px);
    padding: 6px;
    border: 1px solid var(--admin-line);
    border-radius: 12px;
    background: var(--admin-surface-solid);
    box-shadow: var(--admin-shadow);
    pointer-events: auto;
}

.tk-img-toolbar--below {
    bottom: auto;
    top: 100%;
    margin-bottom: 0;
    margin-top: 8px;
}

.tk-img-toolbar__sep {
    display: inline-block;
    width: 1px;
    height: 18px;
    margin: 0 2px;
    background: var(--admin-line);
}

.tk-img-toolbar__btn {
    min-height: 28px;
    padding: 0 9px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--admin-text);
    font-size: 12px;
    font-weight: 700;
    font-family: inherit;
    line-height: 1;
    cursor: pointer;
}

.tk-img-toolbar__btn:hover {
    background: rgba(34, 211, 238, 0.14);
}

.tk-img-toolbar__btn--close {
    margin-left: 2px;
    background: var(--admin-soft);
    color: var(--admin-muted);
}

.tk-img-toolbar__btn--close:hover {
    background: rgba(255, 110, 142, 0.18);
    color: var(--admin-text);
}

.tk-img-resize__handle {
    position: absolute;
    right: -7px;
    bottom: -7px;
    width: 16px;
    height: 16px;
    border: 2px solid #0f172a;
    border-radius: 3px;
    background: #22d3ee;
    cursor: nwse-resize;
    pointer-events: auto;
    touch-action: none;
}

.tk-editor-host .note-statusbar {
    border: 0;
    border-top: 1px solid var(--admin-line);
    background: var(--admin-soft);
}

.tk-editor-host .note-statusbar .note-resizebar {
    width: 100%;
    height: 14px;
}

.tk-editor-host .note-statusbar .note-icon-bar {
    border-top-color: var(--admin-muted);
    opacity: 0.45;
}

.tk-editor-host.fullscreen {
    z-index: 20010 !important;
    background: var(--admin-bg);
}

.note-image-popover {
    display: none !important;
}

.note-popover,
.note-popover.popover {
    z-index: 20030 !important;
    background: var(--admin-surface-solid) !important;
    border: 1px solid var(--admin-line) !important;
    border-radius: 12px;
    box-shadow: var(--admin-shadow);
}

.note-popover > .arrow,
.note-popover .arrow,
.note-image-popover .arrow {
    display: none !important;
}

.note-popover .popover-content,
.note-popover .note-popover-content {
    padding: 6px;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.note-popover .note-btn {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 10px;
    color: var(--admin-muted);
}

.note-popover .note-btn:hover,
.note-popover .note-btn.active {
    background: rgba(34, 211, 238, 0.14);
    color: var(--admin-text);
}

.note-modal {
    z-index: 20050 !important;
}

.note-modal-backdrop {
    z-index: 20040 !important;
    background: rgba(5, 8, 22, 0.62);
}

.note-modal .note-modal-content {
    border: 1px solid var(--admin-line);
    border-radius: 16px;
    background: var(--admin-surface-solid);
    color: var(--admin-text);
    box-shadow: var(--admin-shadow);
}

.note-modal .note-modal-header,
.note-modal .note-modal-footer {
    background: transparent;
    border-color: var(--admin-line);
    color: var(--admin-text);
}

.note-modal .note-modal-title,
.note-modal .close,
.note-modal label {
    color: var(--admin-text);
}

.note-modal .close {
    opacity: 0.7;
    text-shadow: none;
}

.note-modal .form-control {
    height: 40px;
    border: 1px solid var(--admin-line);
    border-radius: 12px;
    background: var(--admin-soft);
    color: var(--admin-text);
    box-shadow: none;
}

.note-modal input[type="file"],
.note-modal .note-image-input {
    height: auto;
    padding: 8px;
    color: var(--admin-text);
    background: var(--admin-soft);
    color-scheme: dark;
}

.note-modal input[type="file"]::file-selector-button,
.note-modal input[type="file"]::-webkit-file-upload-button {
    margin-right: 12px;
    padding: 8px 14px;
    border: 1px solid rgba(34, 211, 238, 0.32);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.92), rgba(59, 130, 246, 0.92));
    color: #0b1020;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
}

.note-modal .note-btn,
.note-modal .btn {
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 12px;
    border: 1px solid var(--admin-line);
    background: var(--admin-soft);
    color: var(--admin-text);
}

.note-modal .btn-primary,
.note-modal .note-btn.btn-primary {
    border-color: rgba(34, 211, 238, 0.32);
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.92), rgba(59, 130, 246, 0.92));
    color: #0b1020;
}

/* ===== Keep gallery (admin product edit) ===== */
.inv-keep-gallery {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.inv-keep-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border: 1px solid var(--admin-line);
    border-radius: 12px;
    background: var(--admin-soft);
}

.inv-keep-item img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
}

.inv-keep-item__tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.inv-keep-item__btn,
.inv-keep-item__drop {
    font-size: 12px;
    font-weight: 700;
    color: var(--admin-text);
}

.inv-keep-item__btn {
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid var(--admin-line);
    border-radius: 8px;
    background: var(--admin-surface-solid);
    cursor: pointer;
}

/* ===== Product (storefront) ===== */
.shop-page,
.shop-detail,
.shop-cart {
    max-width: 1080px;
    margin: 0 auto;
    padding: 24px 16px 64px;
    color: var(--ink);
}

.shop-page__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 20px;
}

.shop-page__head h1 {
    font-family: "Baloo 2", "Inter", sans-serif;
    margin: 0;
}

.shop-page__cta {
    display: inline-flex;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--bubble);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.shop-sort {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.shop-sort__link {
    padding: 6px 12px;
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.shop-sort__link.is-on {
    background: var(--ink);
    color: var(--paper);
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.shop-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
}

.shop-card__img {
    position: relative;
    aspect-ratio: 1;
    background: #efe8d6;
}

.shop-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.shop-card__rarity,
.shop-card__sold {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
    background: var(--citrus);
}

.shop-card__refurb,
.shop-card__returned,
.shop-card__new {
    position: absolute;
    top: 8px;
    left: 8px;
    margin-top: 28px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
}

.shop-card__refurb {
    background: #5b8cff;
    color: #fff;
}

.shop-card__returned {
    background: #9b84e8;
    color: #fff;
}

.shop-card__new {
    background: #5fc7a0;
    color: #fff;
}

.shop-card__sold {
    left: auto;
    right: 8px;
    margin-top: 0;
    background: var(--bubble);
    color: #fff;
}

.shop-detail__refurb,
.shop-detail__returned,
.shop-detail__condition,
.shop-cart__refurb,
.shop-cart__returned,
.shop-cart__condition {
    display: inline-block;
    margin: 0 0 0 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    vertical-align: middle;
}

.shop-detail__refurb,
.shop-cart__refurb {
    background: rgba(91, 140, 255, 0.2);
    color: #3b6fd9;
}

.shop-detail__returned,
.shop-cart__returned {
    background: rgba(155, 132, 232, 0.22);
    color: #6b52c9;
}

.shop-detail__condition,
.shop-cart__condition {
    background: rgba(95, 199, 160, 0.2);
    color: #1f6b52;
}

.shop-detail__refurb-note {
    margin: 8px 0 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(91, 140, 255, 0.1);
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
}

.admin-pill--refurb {
    background: var(--admin-info-bg);
    color: var(--admin-info);
}

.admin-pill--returned {
    background: rgba(155, 132, 232, 0.22);
    color: #b9a4f3;
}

.shop-card__name,
.shop-card__price {
    padding: 8px 12px 0;
}

.shop-card__price {
    padding-bottom: 12px;
}

.shop-card__price s {
    margin-right: 6px;
    opacity: 0.5;
}

.shop-card.is-sold {
    opacity: 0.72;
}

.shop-empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 32px 16px;
    text-align: center;
    color: var(--ink);
    opacity: 0.72;
}

.shop-detail__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
}

.shop-gallery__main,
.shop-gallery__empty {
    width: 100%;
    border-radius: 16px;
    background: #fff;
}

.shop-gallery__main {
    display: block;
    max-height: 480px;
    object-fit: contain;
}

.shop-gallery__thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.shop-gallery__thumb {
    width: 64px;
    height: 64px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
}

.shop-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-detail__rarity {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--lilac);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.shop-detail__price b {
    font-size: 24px;
}

.shop-detail__price s {
    margin-right: 8px;
    opacity: 0.5;
}

.shop-detail__sold {
    color: var(--bubble);
    font-weight: 800;
}

.shop-buy {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 16px 0;
}

.shop-buy label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--ink);
}

.shop-buy button {
    min-height: 40px;
    padding: 0 16px;
    border: 0;
    border-radius: 12px;
    background: var(--bubble);
    color: #fff;
    font-weight: 400;
    cursor: pointer;
}

/* 상세: 브레드크럼 */
.shop-crumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
    font-size: 0.8rem;
    color: var(--pm-warmgray, #6E625B);
}
.shop-crumb a { color: var(--pm-warmgray, #6E625B); text-decoration: none; }
.shop-crumb a:hover { color: var(--pm-clay-deep, #B05540); }
.shop-crumb__sep { color: var(--pm-line, #E5DBD2); }
.shop-crumb__now { color: var(--ink, #333); font-weight: 600; }

/* 상세: 타이틀 + 위시리스트 */
.shop-detail__headline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.detail-wish {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--pm-line, #E5DBD2);
    border-radius: 50%;
    background: #fff;
    color: var(--pm-warmgray, #6E625B);
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, transform 0.15s;
}
.detail-wish:hover { color: var(--pm-clay-deep, #B05540); transform: scale(1.06); }
.detail-wish.active {
    color: var(--pm-clay-deep, #B05540);
    border-color: var(--pm-clay-deep, #B05540);
}
.detail-wish.active svg path { fill: currentColor; }

/* 상세: 평점 요약 / 배송 요약 / 할인율 */
.shop-rate {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 6px;
    text-decoration: none;
    font-size: 0.88rem;
    color: var(--ink, #333);
}
.shop-rate__stars { color: var(--pm-clay, #D97E6A); letter-spacing: 1px; }
.shop-rate__stars i { color: var(--pm-line, #E5DBD2); font-style: normal; }
.shop-rate b { font-family: var(--pm-font-display, Georgia, serif); }
.shop-rate__count { color: var(--pm-warmgray, #6E625B); }
.shop-detail__pct {
    font-family: var(--pm-font-display, Georgia, serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--pm-clay-deep, #B05540);
}
.shop-ship {
    margin: 4px 0 0;
    font-size: 0.82rem;
    line-height: 1.65;
    color: var(--pm-warmgray, #6E625B);
    border-top: 1px solid var(--pm-line, #E5DBD2);
    padding-top: 12px;
}

/* 상세: 구매 버튼 쌍 */
.shop-buy__actions {
    display: flex;
    gap: 10px;
}
.shop-buy__cart {
    flex: 1;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1.5px solid var(--pm-clay-deep, #B05540);
    background: #fff;
    color: var(--pm-clay-deep, #B05540);
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    transition: background 0.2s;
}
.shop-buy__cart:hover { background: var(--pm-blush, #F5E9E4); }
.shop-buy__now {
    flex: 1;
    min-height: 48px;
    padding: 0 14px;
    border: 0;
    border-radius: 12px;
    background: var(--pm-clay-deep, #B05540);
    color: #fff;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    transition: background 0.2s;
}
.shop-buy__now:hover { background: var(--pm-clay-press, #9A4633); }

/* 상세: 구매 옵션 선택 */
.shop-opts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}
.shop-opts__row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.shop-opts__row > span {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ink, #333);
    display: flex;
    align-items: center;
    gap: 6px;
}
.shop-opts__req {
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--pm-clay-deep, #B05540);
    border: 1px solid var(--pm-clay-deep, #B05540);
    border-radius: 999px;
    padding: 1px 7px;
}
.shop-opts__row select {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid var(--pm-line, #E5DBD2);
    border-radius: 10px;
    background: #fff;
    font-size: 0.85rem;
    color: var(--ink, #333);
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236E625B' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
}
.shop-opts__row select:focus {
    outline: none;
    border-color: var(--pm-clay-deep, #B05540);
    box-shadow: 0 0 0 2px rgba(176, 85, 64, 0.15);
}

/* 장바구니 옵션 라벨 */
.shop-cart__opts {
    margin: 2px 0 0;
    font-size: 0.74rem;
    color: var(--pm-warmgray, #6E625B);
}

/* 상세: 활성 썸네일 */
.shop-gallery__thumb.is-on {
    border-color: var(--pm-clay-deep, #B05540);
    box-shadow: 0 0 0 2px rgba(176, 85, 64, 0.25);
}

/* 상세: 함께 본 상품 */
.shop-related { margin-top: 52px; }
.shop-related__title {
    font-family: var(--pm-font-serif, Georgia, serif);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--ink, #333);
}
.shop-related__track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
}
.shop-related__card {
    flex: 0 0 140px;
    text-decoration: none;
    color: inherit;
}
.shop-related__img {
    border-radius: 12px;
    overflow: hidden;
    background: var(--pm-blush, #F5E9E4);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    border: 1px solid var(--pm-line, #E5DBD2);
}
.shop-related__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.shop-related__ph {
    font-size: 0.7rem;
    color: var(--pm-warmgray, #6E625B);
    padding: 10px;
    text-align: center;
}
.shop-related__name {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.shop-related__price {
    display: block;
    margin-top: 4px;
    font-size: 0.78rem;
}
.shop-related__price s {
    color: var(--pm-warmgray, #6E625B);
    font-size: 0.72rem;
    margin-right: 4px;
}
.shop-related__price b { color: var(--pm-clay-deep, #B05540); }

/* 상세: 스티키 탭 네비게이션 */
.detail-tabs {
    position: sticky;
    top: 64px;
    z-index: 40;
    display: flex;
    gap: 0;
    margin-top: 48px;
    border-bottom: 1px solid var(--pm-line, #E5DBD2);
    background: var(--pm-ivory, #FAF6F1);
}
.detail-tabs a {
    flex: 1;
    padding: 13px 8px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--pm-warmgray, #6E625B);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}
.detail-tabs a:hover {
    color: var(--pm-clay-deep, #B05540);
    border-bottom-color: var(--pm-clay-deep, #B05540);
}
.detail-anchor { scroll-margin-top: 120px; }
#detail-reviews, #detail-faq { scroll-margin-top: 120px; }

/* 상세: 상품정보 고시 */
.shop-notice {
    margin-top: 44px;
    border: 1px solid var(--pm-line, #E5DBD2);
    border-radius: 14px;
    padding: 20px 22px;
    background: #fff;
}
.shop-notice__title {
    font-family: var(--pm-font-serif, Georgia, serif);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--ink, #333);
}
.shop-notice__grid {
    display: grid;
    grid-template-columns: minmax(110px, 140px) 1fr;
    margin: 0;
}
.shop-notice__grid dt {
    padding: 10px 12px 10px 0;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--pm-warmgray, #6E625B);
    border-bottom: 1px solid var(--pm-line, #E5DBD2);
}
.shop-notice__grid dd {
    margin: 0;
    padding: 10px 0;
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--ink, #333);
    border-bottom: 1px solid var(--pm-line, #E5DBD2);
}

/* 상세: 후기 */
.shop-reviews { margin-top: 44px; }
.shop-reviews__title {
    font-family: var(--pm-font-serif, Georgia, serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ink, #333);
    margin-bottom: 16px;
}
.shop-reviews__avg {
    font-size: 0.85rem;
    color: var(--pm-clay, #D97E6A);
    font-weight: 600;
    margin-left: 8px;
}
.shop-reviews__empty {
    font-size: 0.85rem;
    color: var(--pm-warmgray, #6E625B);
    padding: 24px;
    text-align: center;
    border: 1px dashed var(--pm-line, #E5DBD2);
    border-radius: 14px;
}
.shop-reviews__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.shop-reviews__item {
    border: 1px solid var(--pm-line, #E5DBD2);
    border-radius: 14px;
    padding: 16px 18px;
    background: #fff;
}
.shop-reviews__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.78rem;
    color: var(--pm-warmgray, #6E625B);
}
.shop-reviews__stars { color: var(--pm-clay, #D97E6A); letter-spacing: 1px; font-size: 0.8rem; }
.shop-reviews__stars i { color: var(--pm-line, #E5DBD2); font-style: normal; }
.shop-reviews__author { font-weight: 700; color: var(--ink, #333); }
.shop-reviews__body {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--ink, #333);
}
.shop-reviews__reply {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--pm-blush, #F5E9E4);
    font-size: 0.78rem;
}
.shop-reviews__reply strong {
    display: block;
    margin-bottom: 4px;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: var(--pm-clay-deep, #B05540);
}
.shop-reviews__reply p { margin: 0; line-height: 1.6; }

.shop-prose img {
    max-width: 100%;
    height: auto;
}

/* 상세: 감성 피치 블록 */
.shop-detail__pitch {
    margin: 40px 0 8px;
    padding: 36px 24px;
    border-radius: 20px;
    background: linear-gradient(160deg, #faf6f1, #f5e9e4);
    text-align: center;
}

.shop-detail__pitch-kicker {
    margin: 0 0 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #d97e6a;
}

.shop-detail__pitch-line {
    margin: 0 0 12px;
    font-family: 'Noto Serif KR', 'NanumSquare', serif;
    font-size: clamp(18px, 2.4vw, 24px);
    font-weight: 300;
    line-height: 1.55;
    color: #2c2623;
}

.shop-detail__pitch-sub {
    margin: 0;
    font-size: 14px;
    color: #8b7f78;
}

/* 상세: 재고 긴급 문구 */
.shop-detail__stock--low {
    color: #c4654f;
    font-weight: 700;
}

/* 상세: FAQ 아코디언 */
.shop-faq {
    margin: 48px 0 0;
}

.shop-faq__title {
    font-family: 'Noto Serif KR', 'NanumSquare', serif;
    font-size: 22px;
    font-weight: 400;
    color: #2c2623;
    margin: 0 0 16px;
}

.shop-faq__item {
    border: 1px solid rgba(44, 38, 35, 0.08);
    border-radius: 14px;
    background: #fff;
    margin-bottom: 10px;
    overflow: hidden;
}

.shop-faq__item summary {
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #2c2623;
    cursor: pointer;
    list-style: none;
    position: relative;
    transition: color 0.2s ease;
}

.shop-faq__item summary::-webkit-details-marker {
    display: none;
}

.shop-faq__item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 400;
    color: #8b7f78;
    transition: transform 0.25s ease;
}

.shop-faq__item[open] summary {
    color: #d97e6a;
}

.shop-faq__item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.shop-faq__item p {
    margin: 0;
    padding: 0 20px 18px;
    font-size: 14px;
    line-height: 1.7;
    color: #8b7f78;
}

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

.shop-cart__row {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(34, 30, 46, 0.08);
}

.shop-cart__thumb img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
}

.shop-cart__total {
    text-align: right;
    font-size: 18px;
}

@media (max-width: 800px) {
    .shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .shop-detail__grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Admin Inventory List Redesign ===== */
.inv-list {
    display: grid;
    gap: 12px;
}

.inv-row {
    display: grid;
    grid-template-columns: 36px 88px minmax(0, 1fr) minmax(280px, 1fr);
    gap: 16px;
    align-items: stretch;
    padding: 14px;
    border-radius: 6px;
    background: var(--admin-surface-solid);
    border: 2px solid var(--admin-line);
    box-shadow: var(--admin-shadow);
    backdrop-filter: none;
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.inv-row:hover {
    transform: translateY(-1px);
}

.inv-row.is-new {
    border-color: #34d399;
}

.inv-row.is-refurb {
    border-color: #60a5fa;
}

.inv-row.is-returned {
    border-color: #a78bfa;
}

.inv-row.is-out {
    border-color: #fb7185;
}

.inv-row.is-low:not(.is-out) {
    border-color: #fbbf24;
}

.inv-row.is-low.is-refurb:not(.is-out) {
    border-color: #60a5fa;
}

.inv-row__check {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 28px;
    cursor: pointer;
}

.inv-row__check input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.inv-bulkbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 0 0 12px;
    padding: 10px 12px;
    border: 1px solid var(--admin-line);
    border-radius: 12px;
    background: var(--admin-soft);
}

.inv-bulkbar__all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--admin-text);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.inv-swatch {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    border: 2px solid transparent;
    box-sizing: border-box;
    vertical-align: middle;
}

.inv-swatch--new {
    border-color: #34d399;
    background: rgba(52, 211, 153, 0.25);
}

.inv-swatch--refurb {
    border-color: #60a5fa;
    background: rgba(96, 165, 250, 0.25);
}

.inv-swatch--returned {
    border-color: #a78bfa;
    background: rgba(167, 139, 250, 0.25);
}

.inv-swatch--out {
    border-color: #fb7185;
    background: rgba(251, 113, 133, 0.25);
}

.admin-pill--new {
    background: rgba(52, 211, 153, 0.22);
    color: #6ee7b7;
}

.inv-row__main {
    min-width: 0;
}

.inv-row__title a,
.inv-row__tools a,
.inv-list a {
    color: inherit;
    text-decoration: none;
}

.inv-row__title a:hover,
.inv-row__tools a:hover,
.inv-list a:hover {
    text-decoration: none;
}

.inv-row__name {
    font-size: 15px;
    font-weight: 800;
    color: var(--admin-text);
}

.inv-row__tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.inv-row__del {
    display: inline;
    margin: 0;
}

.inv-row__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 12px;
    border: 1px solid var(--admin-line);
    border-radius: 8px;
    background: var(--admin-soft);
    color: var(--admin-text);
    font-size: 12px;
    font-weight: 400;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
}

.inv-row__btn:hover {
    border-color: rgba(34, 211, 238, 0.4);
    text-decoration: none;
}

.inv-row__btn--danger {
    border-color: rgba(255, 110, 142, 0.35);
    color: #ff8aa6;
}

.inv-row__btn--danger:hover {
    background: rgba(255, 110, 142, 0.14);
}

.inv-row__meta {
    margin: 0 0 10px;
    color: var(--admin-muted);
    font-size: 12px;
}

.inv-price b {
    color: var(--admin-text);
}

.inv-price.is-sale b {
    color: var(--bubble);
}

.inv-row__actions {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding-left: 12px;
    border-left: 1px solid var(--admin-line);
}

.inv-row__stock {
    text-align: center;
    padding: 8px 6px;
    border-radius: 10px;
    background: var(--admin-soft);
}

.inv-row__stock-label {
    margin: 0 0 4px;
    font-size: 10px;
    font-weight: 700;
    color: var(--admin-muted);
}

.inv-row__stock-num {
    margin: 0;
    font-size: 24px;
    font-weight: 900;
    color: var(--admin-text);
}

.inv-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    min-width: 0;
    width: 100%;
}

.inv-inline__seg {
    flex: 0 0 auto;
    background: var(--admin-chip-bg, var(--admin-soft));
}

.inv-seg span {
    color: var(--admin-muted);
}

.inv-seg input:checked + span {
    background: var(--admin-surface-solid);
    color: var(--admin-text);
    box-shadow: none;
}

.inv-inline__qty,
.inv-inline__memo {
    height: 36px;
    box-sizing: border-box;
    border: 1px solid var(--admin-line);
    border-radius: 8px;
    background: var(--admin-input-bg, var(--admin-soft));
    color: var(--admin-text);
}

.inv-inline__qty {
    width: 72px;
    flex: 0 0 72px;
    min-width: 72px;
    padding: 0 8px;
}

.inv-inline__memo {
    flex: 1 1 140px;
    min-width: 140px;
    max-width: 100%;
    padding: 0 10px;
}

.inv-inline__go {
    flex: 0 0 auto;
    height: 36px;
    padding: 0 14px;
    border-radius: 8px;
    background: var(--ink);
    color: #fff;
    font-weight: 700;
}

.inv-inline__go:hover {
    background: var(--lilac);
}

.inv-inline__memo::placeholder {
    color: var(--admin-muted);
    opacity: 0.8;
}

html.admin-theme-light .inv-row__meta {
    color: var(--admin-muted);
}

html.admin-theme-light .inv-row__stock-label {
    color: var(--admin-muted);
}

html.admin-theme-light .inv-inline__seg {
    background: var(--admin-chip-bg);
}

html.admin-theme-light .inv-seg span {
    color: var(--admin-muted);
}

html.admin-theme-light .inv-inline__qty,
html.admin-theme-light .inv-inline__memo {
    border-color: var(--admin-line);
    background: var(--admin-input-bg);
    color: var(--admin-text);
}

html.admin-theme-light .inv-inline__memo::placeholder {
    color: var(--admin-muted);
    opacity: 0.75;
}

@media (max-width: 1080px) {
    .inv-row {
        grid-template-columns: 36px 78px minmax(0, 1fr);
    }
    .inv-row__actions {
        grid-column: 1 / -1;
        grid-template-columns: 80px minmax(0, 1fr);
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid var(--admin-line);
        padding-top: 10px;
    }
}

@media (max-width: 900px) {
    .inv-inline__memo {
        flex: 1 1 100%;
        min-width: 0;
        order: 4;
    }
    .inv-inline__go {
        order: 3;
    }
}

@media (max-width: 720px) {
    .inv-row__actions {
        grid-template-columns: 1fr;
    }
    .inv-inline__qty {
        flex: 0 0 72px;
    }
}

/* ===== Admin 테마 공통: 글자·상태색은 변수만 사용 ===== */
.admin-body:not(.admin-body--login) .admin-dl dt,
.admin-body:not(.admin-body--login) .admin-pii-mask,
.admin-body:not(.admin-body--login) .admin-pii-empty,
.admin-body:not(.admin-body--login) .ops-insight p,
.admin-body:not(.admin-body--login) .ops-alert-item__meta,
.admin-body:not(.admin-body--login) .ops-feed__body small,
.admin-body:not(.admin-body--login) .inv-legend,
.admin-body:not(.admin-body--login) .inv-legend__item,
.admin-body:not(.admin-body--login) .inv-row__meta,
.admin-body:not(.admin-body--login) .inv-row__stock-label,
.admin-body:not(.admin-body--login) .inv-seg span,
.admin-body:not(.admin-body--login) .admin-pagehead__meta,
.admin-body:not(.admin-body--login) .ops-empty,
.admin-body:not(.admin-body--login) .admin-table th,
.admin-body:not(.admin-body--login) .ops-tile__label,
.admin-body:not(.admin-body--login) .ops-tile__hint,
.admin-body:not(.admin-body--login) .ops-head__lead,
.admin-body:not(.admin-body--login) .ops-head__live,
.admin-body:not(.admin-body--login) .ops-panel__foot,
.admin-body:not(.admin-body--login) .ops-kanban__title {
    color: var(--admin-muted);
}

.admin-body:not(.admin-body--login) .admin-dl dd,
.admin-body:not(.admin-body--login) .ops-alert-item__name,
.admin-body:not(.admin-body--login) .ops-feed__body p,
.admin-body:not(.admin-body--login) .ops-insight h3,
.admin-body:not(.admin-body--login) .admin-table,
.admin-body:not(.admin-body--login) .ops-head h1,
.admin-body:not(.admin-body--login) .ops-panel__head h2,
.admin-body:not(.admin-body--login) .ops-tile__value,
.admin-body:not(.admin-body--login) .ops-story__text,
.admin-body:not(.admin-body--login) .inv-row__title strong,
.admin-body:not(.admin-body--login) .inv-row__stock-num,
.admin-body:not(.admin-body--login) .ops-kanban__count,
.admin-body:not(.admin-body--login) .ops-order-item__amount,
.admin-body:not(.admin-body--login) .ops-feed__qty,
.admin-body:not(.admin-body--login) .ops-member-link {
    color: var(--admin-text);
}

.admin-body:not(.admin-body--login) .ops-panel__head a,
.admin-body:not(.admin-body--login) .ops-tile__link,
.admin-body:not(.admin-body--login) .admin-content .pagination a,
.admin-body:not(.admin-body--login) .ops-member-link:hover {
    color: var(--admin-link);
}

.admin-body:not(.admin-body--login) .admin-rarity--normal,
.admin-body:not(.admin-body--login) .ops-tag--mint,
.admin-body:not(.admin-body--login) .ops-feed__type--in {
    color: var(--admin-ok);
    background: var(--admin-ok-bg);
}

.admin-body:not(.admin-body--login) .admin-rarity--rare,
.admin-body:not(.admin-body--login) .ops-tag--lilac,
.admin-body:not(.admin-body--login) .ops-order-status--completed {
    color: var(--admin-info);
    background: var(--admin-info-bg);
}

.admin-body:not(.admin-body--login) .admin-rarity--secret,
.admin-body:not(.admin-body--login) .ops-tag--warn,
.admin-body:not(.admin-body--login) .ops-feed__type--out,
.admin-body:not(.admin-body--login) .ops-order-status--cancelled,
.admin-body:not(.admin-body--login) .ops-order-status--returned,
.admin-body:not(.admin-body--login) .inv-row__btn--danger {
    color: var(--admin-danger);
    background: var(--admin-danger-bg);
}

.admin-body:not(.admin-body--login) .ops-tag--vip,
.admin-body:not(.admin-body--login) .admin-stock--low,
.admin-body:not(.admin-body--login) .ops-order-status--preparing {
    color: var(--admin-warn);
    background: var(--admin-warn-bg);
}

.admin-body:not(.admin-body--login) .ops-order-status,
.admin-body:not(.admin-body--login) .ops-order-status--shipping {
    color: var(--admin-ok);
    background: var(--admin-ok-bg);
}

.admin-body:not(.admin-body--login) .ops-tag {
    background: var(--admin-chip-bg);
    color: var(--admin-text);
}

.admin-body:not(.admin-body--login) .ops-thumb {
    background: var(--admin-chip-bg);
    color: var(--admin-text);
}

.admin-body:not(.admin-body--login) .ops-gauge {
    background: var(--admin-chip-bg);
}

.admin-body:not(.admin-body--login) .ops-kanban__col {
    background: var(--admin-soft);
    border: 1px solid var(--admin-line);
}

.admin-body:not(.admin-body--login) .ops-order-item,
.admin-body:not(.admin-body--login) .ops-alert-item,
.admin-body:not(.admin-body--login) .ops-feed__item {
    border-bottom-color: var(--admin-line);
}

.admin-body:not(.admin-body--login) .ops-panel__head {
    border-bottom: 1px solid var(--admin-line);
    padding-bottom: 12px;
    margin-bottom: 14px;
}

.admin-body:not(.admin-body--login) .ops-story {
    border-left: 3px solid var(--admin-accent);
}

.admin-body:not(.admin-body--login) .ops-customize {
    border: 1px solid var(--admin-line);
    background: var(--admin-surface-solid);
    color: var(--admin-text);
}

.admin-body:not(.admin-body--login) .ops-chip {
    color: var(--admin-muted);
    border-color: var(--admin-line);
    background: var(--admin-chip-bg);
}

.admin-body:not(.admin-body--login) .ops-chip.is-active {
    color: #fff;
    background: var(--admin-accent);
    border-color: var(--admin-accent);
}

.admin-body:not(.admin-body--login) .inv-inline__qty,
.admin-body:not(.admin-body--login) .inv-inline__memo {
    color: var(--admin-text);
    background: var(--admin-input-bg);
    border-color: var(--admin-line);
}

.admin-body:not(.admin-body--login) .inv-inline__memo::placeholder {
    color: var(--admin-muted);
    opacity: 0.85;
}

.admin-body:not(.admin-body--login) .inv-inline__seg {
    background: var(--admin-chip-bg);
}

.admin-body:not(.admin-body--login) .inv-row__btn {
    color: var(--admin-text);
}

.admin-body:not(.admin-body--login) .ops-badge {
    color: var(--admin-ok);
    background: var(--admin-ok-bg);
}

.admin-body:not(.admin-body--login) .ops-badge--mute {
    color: var(--admin-muted);
    background: var(--admin-chip-bg);
}

.admin-body:not(.admin-body--login) .scv-timeline__item p,
.admin-body:not(.admin-body--login) .scv-timeline__item time,
.admin-body:not(.admin-body--login) .inv-seg span {
    color: var(--admin-muted);
}

.admin-body:not(.admin-body--login) .scv-timeline__item h3,
.admin-body:not(.admin-body--login) .inv-seg input:checked + span {
    color: var(--admin-text);
}

.admin-body:not(.admin-body--login) .inv-seg input:checked + span {
    background: var(--admin-surface-solid);
}

/* ===== Board (손님용 게시판) ===== */
.board-page {
    max-width: 920px;
    margin: 0 auto;
    padding: 8px 0 40px;
}

.board-page__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.board-page__head h1 {
    margin: 0 0 6px;
    font-family: var(--font-display, 'Baloo 2', sans-serif);
    font-size: 28px;
    color: var(--ink, #221E2E);
}

.board-page__lead {
    margin: 0;
    color: rgba(34, 30, 46, 0.62);
    font-size: 14px;
}

.board-page__actions a,
.board-btn {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 10px;
    background: var(--ink, #221E2E);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    border: 0;
    cursor: pointer;
    font-family: inherit;
}

.board-page__actions a:hover,
.board-btn:hover {
    background: var(--bubble, #FF6E8E);
}

.board-card {
    background: #fff;
    border: 1px solid rgba(34, 30, 46, 0.1);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(34, 30, 46, 0.06);
    overflow: hidden;
}

.board-form {
    display: grid;
    gap: 14px;
    padding: 18px 20px 20px;
}

.board-form__field {
    display: grid;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: rgba(34, 30, 46, 0.7);
}

.board-form__field input,
.board-form__field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid rgba(34, 30, 46, 0.16);
    border-radius: 10px;
    font: inherit;
    font-weight: 500;
    color: var(--ink, #221E2E);
    background: #fff;
}

.board-form__field textarea {
    min-height: 180px;
    resize: vertical;
}

.board-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    color: var(--ink, #221E2E);
}

.board-table th,
.board-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(34, 30, 46, 0.08);
    text-align: left;
    vertical-align: middle;
}

.board-table th {
    background: rgba(244, 239, 226, 0.85);
    font-size: 12px;
    font-weight: 700;
    color: rgba(34, 30, 46, 0.62);
}

.board-table tr:last-child td {
    border-bottom: 0;
}

.board-table a {
    color: var(--ink, #221E2E);
    font-weight: 700;
    text-decoration: none;
}

.board-table a:hover {
    color: var(--bubble, #FF6E8E);
}

.board-table__empty {
    text-align: center;
    color: rgba(34, 30, 46, 0.5);
    padding: 28px 16px !important;
}

.board-meta {
    margin: 0 0 16px;
    color: rgba(34, 30, 46, 0.58);
    font-size: 13px;
}

.board-body {
    padding: 18px 20px;
    background: #fff;
    border: 1px solid rgba(34, 30, 46, 0.1);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(34, 30, 46, 0.06);
    color: var(--ink, #221E2E);
    line-height: 1.65;
}

.board-body pre {
    margin: 0;
    white-space: pre-wrap;
    font-family: inherit;
    font-size: 15px;
}

.board-foot {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.board-foot a {
    color: var(--ink, #221E2E);
    font-weight: 700;
}

.board-foot .board-btn--danger {
    background: var(--bubble, #FF6E8E);
}

@media (max-width: 720px) {
    .board-page__head {
        flex-direction: column;
        align-items: stretch;
    }

    .board-table thead {
        display: none;
    }

    .board-table,
    .board-table tbody,
    .board-table tr,
    .board-table td {
        display: block;
        width: 100%;
    }

    .board-table tr {
        padding: 12px 14px;
        border-bottom: 1px solid rgba(34, 30, 46, 0.08);
    }

    .board-table td {
        padding: 4px 0;
        border: 0;
    }

    .board-table td::before {
        content: attr(data-label);
        display: block;
        font-size: 11px;
        font-weight: 700;
        color: rgba(34, 30, 46, 0.5);
        margin-bottom: 2px;
    }
}

/* ===== Admin Members: 상태 pill ===== */
.admin-body:not(.admin-body--login) .ops-member-status--active {
    color: var(--admin-ok);
    background: var(--admin-ok-bg);
}

.admin-body:not(.admin-body--login) .ops-member-status--inactive {
    color: var(--admin-warn);
    background: var(--admin-warn-bg);
}

.admin-body:not(.admin-body--login) .ops-member-status--withdrawn {
    color: var(--admin-danger);
    background: var(--admin-danger-bg);
}

/* ===== Admin Orders ===== */
.ord-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
    align-items: flex-end;
    margin: 0 0 14px;
    padding: 12px 14px;
    border: 1px solid var(--admin-line);
    border-radius: 8px;
    background: var(--admin-surface-solid);
}

.ord-filter label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    color: var(--admin-muted);
}

.ord-filter input,
.ord-filter select {
    min-width: 140px;
}

.ord-filter button {
    height: 36px;
    border: 0;
    cursor: pointer;
    font-family: inherit;
}

.ord-csv-card {
    margin-bottom: 14px;
}

.ord-csv-form,
.ord-track-form,
.ord-inline-form {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.ord-track-form input[type="text"] {
    min-width: 140px;
}

.ord-action {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
}

.ord-action__field {
    display: grid;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    color: var(--admin-muted);
}

.ord-action__field input,
.ord-action__field select {
    width: 100%;
}

.ops-order-status--pending_deposit {
    background: var(--admin-warn-bg, rgba(247, 184, 75, 0.2));
    color: var(--admin-warn, #f7b84b);
}

.ops-order-status--paid {
    background: rgba(79, 198, 225, 0.18);
    color: #4fc6e1;
}

.ops-order-status--exchange {
    background: var(--admin-info-bg, rgba(102, 88, 221, 0.2));
    color: var(--admin-info, #a99bff);
}

@media (max-width: 720px) {
    .ord-filter input,
    .ord-filter select {
        min-width: 0;
        width: 100%;
    }

    .ord-filter label {
        flex: 1 1 100%;
    }
}

/* ===== Admin IA 9영역 · Quick Menu · Coming soon · Dashboard ops ===== */
.admin-quick {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin: 0 8px 10px;
}

.admin-quick__item {
    display: block !important;
    text-align: center;
    padding: 8px 6px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    background: var(--admin-side-hover);
    color: var(--admin-side-text) !important;
    text-decoration: none;
    line-height: 1.2;
}

.admin-quick__item:hover,
.admin-quick__item.is-active {
    background: var(--admin-side-active-bg) !important;
    color: var(--admin-side-active) !important;
}

.admin-quickbar {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: 4px;
}

.admin-quickbar a {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 10px;
    border-radius: 6px;
    border: 1px solid var(--admin-line);
    background: var(--admin-soft);
    color: var(--admin-text);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.admin-quickbar a:hover {
    border-color: var(--admin-accent);
    color: var(--admin-accent);
}

.admin-coming {
    max-width: 720px;
    padding: 8px 0 40px;
}

.admin-coming__eyebrow {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--admin-muted);
}

.admin-coming__title {
    margin: 0 0 10px;
    font-size: 1.75rem;
    color: var(--admin-text);
}

.admin-coming__lead {
    margin: 0 0 18px;
    color: var(--admin-muted);
    line-height: 1.55;
}

.admin-coming__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(255, 194, 58, 0.12);
    border: 1px solid rgba(255, 194, 58, 0.35);
    color: var(--admin-text);
    font-size: 13px;
    font-weight: 600;
}

.admin-coming__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffc23a;
    box-shadow: 0 0 0 3px rgba(255, 194, 58, 0.25);
}

.admin-coming__card,
.admin-coming__related {
    margin-bottom: 20px;
    padding: 16px 18px;
    border-radius: 10px;
    border: 1px solid var(--admin-line);
    background: var(--admin-panel, var(--admin-soft));
}

.admin-coming__card h2,
.admin-coming__related h2 {
    margin: 0 0 10px;
    font-size: 14px;
    color: var(--admin-text);
}

.admin-coming__card ul {
    margin: 0;
    padding-left: 1.2em;
    color: var(--admin-muted);
    line-height: 1.7;
}

.admin-coming__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ops-opsAlerts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 18px;
}

.ops-opsAlerts__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid var(--admin-line);
    background: var(--admin-panel, var(--admin-soft));
    text-decoration: none;
    color: var(--admin-text);
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.ops-opsAlerts__item:hover {
    border-color: var(--admin-accent);
    transform: translateY(-1px);
}

.ops-opsAlerts__n {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--admin-accent, #ff6e8e);
}

.ops-opsAlerts__t {
    font-size: 12px;
    font-weight: 700;
    color: var(--admin-muted);
}

.ops-opsAlerts__item--soon .ops-opsAlerts__n {
    color: var(--admin-muted);
}

.ops-bento--charts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 16px;
}

.ops-chart--dense .ops-chart__x {
    font-size: 9px;
    transform: rotate(-45deg);
    transform-origin: top left;
    white-space: nowrap;
}

.ops-chart__fill--sales {
    background: linear-gradient(180deg, #ff6e8e 0%, #9b84e8 100%);
}

.ops-tile__value--muted {
    color: var(--admin-muted);
    font-size: 1.6rem;
}

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

.ops-topList li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--admin-line);
}

.ops-topList li:last-child {
    border-bottom: 0;
}

.ops-topList__rank {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
    background: rgba(255, 110, 142, 0.15);
    color: #ff6e8e;
    flex-shrink: 0;
}

.ops-topList__main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ops-topList__main a {
    color: var(--admin-link, var(--admin-text));
    text-decoration: none;
}

.ops-topList__main a:hover {
    text-decoration: underline;
}

.ops-topList__main span {
    font-size: 12px;
    color: var(--admin-muted);
}

.ops-topList__amt {
    font-size: 13px;
    color: var(--admin-text);
    white-space: nowrap;
}

@media (max-width: 960px) {
    .ops-opsAlerts {
        grid-template-columns: 1fr 1fr;
    }

    .ops-bento--charts {
        grid-template-columns: 1fr;
    }

    .admin-quickbar {
        display: none;
    }
}

@media (max-width: 720px) {
    .ops-opsAlerts {
        grid-template-columns: 1fr;
    }
}



/* ===== Admin form pages (상품등록 패턴 정렬) ===== */
.adm-page {
    max-width: 960px;
}

.adm-page > .ops-head {
    max-width: 100%;
}

.adm-page .inv-form {
    max-width: 820px;
}

/* 스택 안에서는 폼·목록 카드 너비 동일 */
.adm-page__stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.adm-page__stack > .admin-card,
.adm-page__stack > .inv-form.admin-card {
    width: 100%;
    max-width: none;
    margin-bottom: 0;
    box-sizing: border-box;
}

.adm-page__stack .inv-form--flush {
    max-width: none;
    width: 100%;
}

.adm-page .admin-card + .admin-card,
.adm-page .inv-form + .admin-card {
    margin-top: 0;
}

.adm-inline-form {
    display: grid;
    gap: 10px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--admin-line);
    background: var(--admin-soft, rgba(255,255,255,0.03));
}

.adm-inline-form + .adm-inline-form {
    margin-top: 12px;
}

.admin-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.admin-body:not(.admin-body--login) .inv-form__field > span {
    color: var(--admin-muted);
}

/* ===== Admin form controls (input/select/textarea/checkbox 일괄) ===== */
.admin-body:not(.admin-body--login) {
    --admin-ctrl-bg: var(--admin-input-bg);
    --admin-ctrl-fg: var(--admin-text);
    --admin-ctrl-border: var(--admin-line);
    --admin-ctrl-radius: 12px;
    --admin-ctrl-pad-y: 10px;
    --admin-ctrl-pad-x: 12px;
    --admin-ctrl-font: 14px;
    --admin-ctrl-h: 42px;
    --admin-ctrl-focus: #5b8cff;
    --admin-ctrl-check: var(--mint, #5fc7a0);
}

.admin-main2 input[type="text"],
.admin-main2 input[type="number"],
.admin-main2 input[type="email"],
.admin-main2 input[type="url"],
.admin-main2 input[type="password"],
.admin-main2 input[type="search"],
.admin-main2 input[type="tel"],
.admin-main2 input[type="date"],
.admin-main2 input[type="datetime-local"],
.admin-main2 input[type="time"],
.admin-main2 input[type="file"],
.admin-main2 select,
.admin-main2 textarea,
.adm-form-modal input[type="text"],
.adm-form-modal input[type="number"],
.adm-form-modal input[type="email"],
.adm-form-modal select,
.adm-form-modal textarea {
    box-sizing: border-box;
    height: var(--admin-ctrl-h);
    min-height: var(--admin-ctrl-h);
    padding: var(--admin-ctrl-pad-y) var(--admin-ctrl-pad-x);
    border: 1px solid var(--admin-ctrl-border);
    border-radius: var(--admin-ctrl-radius);
    background: var(--admin-ctrl-bg);
    color: var(--admin-ctrl-fg);
    font-family: inherit;
    font-size: var(--admin-ctrl-font);
    font-weight: 500;
    line-height: 1.3;
    vertical-align: middle;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.admin-main2 textarea,
.adm-form-modal textarea {
    height: auto;
    min-height: 96px;
    padding: 12px;
    line-height: 1.5;
    resize: vertical;
}

.admin-main2 select,
.adm-form-modal select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 36px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1.1 1.2 6 6.1l4.9-4.9 1.1 1.1L6 8.3 0 2.3z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px 8px;
    cursor: pointer;
}

.admin-main2 select option,
.adm-form-modal select option {
    background: var(--admin-surface-solid, #fff);
    color: var(--admin-ctrl-fg);
}

.admin-main2 input[type="file"] {
    padding: 8px 12px;
    line-height: 1.4;
}

.admin-main2 input[type="file"]::file-selector-button,
.admin-main2 input[type="file"]::-webkit-file-upload-button {
    margin-right: 10px;
    padding: 6px 12px;
    border: 1px solid var(--admin-ctrl-border);
    border-radius: 8px;
    background: var(--admin-soft);
    color: var(--admin-ctrl-fg);
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.admin-main2 input[type="checkbox"],
.admin-main2 input[type="radio"],
.adm-form-modal input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box;
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    margin: 0;
    padding: 0;
    border: 1.5px solid var(--admin-ctrl-border);
    border-radius: 5px;
    background: var(--admin-ctrl-bg);
    vertical-align: middle;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.admin-main2 input[type="radio"] {
    border-radius: 50%;
}

.admin-main2 input[type="checkbox"]:checked,
.adm-form-modal input[type="checkbox"]:checked {
    border-color: var(--admin-ctrl-check);
    background-color: var(--admin-ctrl-check);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'%3E%3Cpath fill='%230b1020' d='M4.2 9.2 0.6 5.6l1.4-1.4 2.2 2.2L9.9.7l1.4 1.4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 11px 9px;
}

.admin-main2 input[type="radio"]:checked {
    border-color: var(--admin-ctrl-check);
    background-color: var(--admin-ctrl-bg);
    box-shadow: inset 0 0 0 4px var(--admin-ctrl-check);
}

.admin-main2 input[type="text"]:focus,
.admin-main2 input[type="number"]:focus,
.admin-main2 input[type="email"]:focus,
.admin-main2 input[type="url"]:focus,
.admin-main2 input[type="password"]:focus,
.admin-main2 input[type="search"]:focus,
.admin-main2 input[type="tel"]:focus,
.admin-main2 input[type="date"]:focus,
.admin-main2 input[type="datetime-local"]:focus,
.admin-main2 input[type="time"]:focus,
.admin-main2 input[type="file"]:focus,
.admin-main2 select:focus,
.admin-main2 textarea:focus,
.admin-main2 input[type="checkbox"]:focus,
.admin-main2 input[type="radio"]:focus,
.adm-form-modal input:focus,
.adm-form-modal select:focus,
.adm-form-modal textarea:focus {
    outline: none;
    border-color: var(--admin-ctrl-focus);
    box-shadow: 0 0 0 3px rgba(91, 140, 255, 0.22);
}

.admin-main2 input::placeholder,
.admin-main2 textarea::placeholder,
.adm-form-modal input::placeholder,
.adm-form-modal textarea::placeholder {
    color: var(--admin-muted);
    opacity: 0.85;
}

/* 숨김·세그먼트 토글은 공통 스타일 제외 */
.admin-main2 .inv-img-slot__input,
.admin-main2 .inv-seg input {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: none !important;
}

/* 인라인 수량·메모도 동일 토큰 */
.admin-main2 .inv-inline__qty,
.admin-main2 .inv-inline__memo {
    height: var(--admin-ctrl-h);
    min-height: var(--admin-ctrl-h);
    padding: var(--admin-ctrl-pad-y) var(--admin-ctrl-pad-x);
    border: 1px solid var(--admin-ctrl-border);
    border-radius: var(--admin-ctrl-radius);
    background: var(--admin-ctrl-bg);
    color: var(--admin-ctrl-fg);
    font-size: var(--admin-ctrl-font);
}

/* 테이블·필터 안 좁은 필드는 높이만 유지, 모양은 공통 */
.admin-main2 .ord-filter input,
.admin-main2 .ord-filter select,
.admin-main2 .ord-track-form input[type="text"],
.admin-main2 .ord-action__field input,
.admin-main2 .ord-action__field select,
.admin-main2 .admin-stock-form select,
.admin-main2 .admin-stock-form input[type="number"],
.admin-main2 .admin-stock-form input[type="text"],
.admin-main2 .adm-inline-form input,
.admin-main2 .adm-inline-form select,
.admin-main2 .adm-inline-form textarea {
    border-radius: var(--admin-ctrl-radius);
    border-color: var(--admin-ctrl-border);
    background: var(--admin-ctrl-bg);
    color: var(--admin-ctrl-fg);
}

.admin-main2 .adm-inline-form textarea {
    height: auto;
    min-height: 72px;
}

.admin-main2 .inv-form__check {
    gap: 10px;
}

.admin-main2 .inv-form__check input[type="checkbox"] {
    margin-top: 1px;
}


/* ===== Admin form modal (미출고 송장 등) ===== */
body.adm-modal-open {
    overflow: hidden;
}

.adm-form-modal {
    position: fixed;
    z-index: 10050;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.adm-form-modal[hidden] {
    display: none !important;
}

.adm-form-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.adm-form-modal__box {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    padding: 22px 22px 18px;
    border-radius: 16px;
    border: 1px solid var(--admin-line);
    background: var(--admin-surface-solid, #1c2430);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    color: var(--admin-text, #e8edf5);
}

#cs-review-modal .adm-form-modal__box,
#cs-qna-modal .adm-form-modal__box,
#cs-inquiry-modal .adm-form-modal__box,
#bl-add-modal .adm-form-modal__box {
    max-width: 560px;
}

.cs-clip {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 360px;
    line-height: 1.4;
}

.cs-subid {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    color: var(--admin-muted);
}

.cs-modal-quote {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--admin-line);
    background: var(--admin-soft, rgba(255, 255, 255, 0.04));
    font-size: 13px;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 160px;
    overflow: auto;
    color: var(--admin-text);
}

html.admin-theme-light .adm-form-modal__box {
    background: #fff;
    color: #221e2e;
}

.adm-form-modal__title {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 800;
}

.adm-form-modal__lead {
    margin: 0 0 16px;
    font-size: 13px;
    color: var(--admin-muted);
}

.adm-form-modal__lead strong {
    color: var(--admin-text, inherit);
    font-weight: 800;
}

.adm-form-modal .inv-form__actions {
    margin-top: 16px;
}

/* ===== Login Guard (캡챠·실패 안내) ===== */
.login-guard-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 16px;
    padding: 11px 12px;
    border-radius: 12px;
    border: 1.5px solid rgba(34, 30, 46, 0.12);
    background: #fafafa;
}

.login-guard-notice__count {
    flex: 0 0 auto;
    min-width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1.5px solid rgba(34, 30, 46, 0.12);
    background: #fff;
    color: #221e2e;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
}

.login-guard-notice__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 13px;
    line-height: 1.45;
    color: #221e2e;
}

.login-guard-notice__body strong {
    font-size: 13px;
    font-weight: 700;
}

.login-guard-notice__body span {
    color: rgba(34, 30, 46, 0.58);
    font-size: 12px;
}

/* IP 차단 상태 — 경고 톤 */
.login-guard-notice--blocked {
    border-color: rgba(196, 43, 43, 0.35);
    background: rgba(196, 43, 43, 0.06);
}

.login-guard-notice--blocked .login-guard-notice__count {
    border-color: rgba(196, 43, 43, 0.4);
    color: #b91c1c;
}

.login-guard-notice--blocked .login-guard-notice__body strong {
    color: #b91c1c;
}

/* 캡챠 — 로그인 입력 필드와 동일한 플랫 톤 */
.login-guard-captcha {
    margin-bottom: 16px;
}

.login-guard-captcha__label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #221e2e;
}

.login-guard-captcha__meta {
    margin: 0 0 8px;
    font-size: 12px;
    line-height: 1.4;
    color: rgba(34, 30, 46, 0.55);
}

.login-guard-captcha__panel {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.login-guard-captcha__display {
    position: relative;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 86px;
    overflow: hidden;
    border: 1.5px solid rgba(34, 30, 46, 0.14);
    border-right: 0;
    border-radius: 12px 0 0 12px;
    background:
        repeating-linear-gradient(
            -12deg,
            rgba(34, 30, 46, 0.03) 0 1px,
            transparent 1px 7px
        ),
        #fff;
}

.login-guard-captcha__display::after {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 52%;
    height: 2px;
    background: rgba(34, 30, 46, 0.22);
    transform: rotate(-4deg);
    pointer-events: none;
}

.login-guard-captcha__expr {
    position: relative;
    z-index: 1;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #221e2e;
    font-variant-numeric: tabular-nums;
    transform: skewX(-6deg);
    user-select: none;
}

.login-guard-captcha__eq,
.login-guard-captcha__qmark {
    position: relative;
    z-index: 1;
    font-size: 30px;
    font-weight: 700;
    color: rgba(34, 30, 46, 0.72);
    user-select: none;
}

.login-guard-captcha__tools {
    flex: 0 0 72px;
    display: flex;
    flex-direction: column;
    border: 1.5px solid rgba(34, 30, 46, 0.14);
    border-radius: 0 12px 12px 0;
    overflow: hidden;
}

.login-guard-captcha__tool {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    border: 0;
    border-bottom: 1px solid rgba(34, 30, 46, 0.1);
    background: #fff;
    color: rgba(34, 30, 46, 0.72);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.25;
    text-align: center;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.login-guard-captcha__tool:last-child {
    border-bottom: 0;
}

.login-guard-captcha__tool:hover {
    background: #fafafa;
    color: #221e2e;
}

.login-guard-captcha__tool:disabled {
    opacity: 0.55;
    cursor: wait;
}

.login-guard-captcha__answer {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 14px 16px;
    border: 1.5px solid rgba(34, 30, 46, 0.14);
    border-radius: 12px;
    background: #fff;
    box-sizing: border-box;
    color: #221e2e;
    font-size: 15px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.login-guard-captcha__answer::placeholder {
    color: rgba(34, 30, 46, 0.35);
}

.login-guard-captcha__answer:hover {
    border-color: rgba(34, 30, 46, 0.28);
}

.login-guard-captcha__answer:focus {
    outline: none;
    border-color: #ff6e8e;
    box-shadow: 0 0 0 3px rgba(255, 110, 142, 0.18);
}

.admin-login-form .login-guard-captcha__label {
    margin-bottom: 8px;
}

.admin-login-form .login-guard-captcha__display {
    min-height: 90px;
}

.admin-login-form .login-guard-captcha__answer {
    padding: 14px 16px;
    font-size: 15px;
}

/* 일반 회원 로그인 */
.login-page-form .login-guard-notice,
.login-page-form .login-guard-captcha {
    max-width: 360px;
}

.login-page-form .login-guard-captcha {
    margin-bottom: 14px;
}

.login-page-form label {
    display: block;
    margin-bottom: 12px;
}

.login-page-form .login-guard-captcha__answer {
    width: 100%;
}

/* ===== Blacklist (admin) ===== */
.bl-page__add {
    min-width: 132px;
}

.bl-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.bl-card__count {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--admin-soft, rgba(255, 255, 255, 0.06));
    color: var(--admin-muted);
    font-size: 12px;
    font-weight: 400;
}

.bl-muted {
    color: var(--admin-muted);
}

.bl-chip--danger:hover {
    border-color: rgba(232, 90, 90, 0.55);
    color: #e85a5a;
    background: rgba(232, 90, 90, 0.08);
}

.bl-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 48px 24px;
    text-align: center;
}

.bl-empty__title {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--admin-text);
}

.bl-empty__lead {
    margin: 0 0 8px;
    font-size: 13px;
    color: var(--admin-muted);
}

.bl-remove-form {
    margin: 0;
}

/* 모달 */
#bl-add-modal.adm-form-modal {
    overflow: visible;
}

#bl-add-modal .bl-modal__box {
    overflow: visible;
}

.bl-modal__box {
    display: flex;
    flex-direction: column;
    max-height: min(680px, calc(100vh - 32px));
    padding: 0;
}

.bl-modal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-shrink: 0;
    padding: 22px 22px 0;
}

.bl-modal__title {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 500;
    color: var(--admin-text, #e8edf5);
}

.bl-modal__lead {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--admin-muted);
}

.bl-modal__close {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: -4px -4px 0 0;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--admin-muted);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.bl-modal__close:hover {
    background: var(--admin-soft, rgba(255, 255, 255, 0.06));
    color: var(--admin-text);
}

.bl-form {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    padding: 18px 22px 22px;
}

.bl-form__body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding-right: 2px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.bl-step--search {
    position: relative;
    z-index: 30;
    flex-shrink: 0;
}

.bl-search-wrap {
    position: relative;
}

.bl-form #bl-search-input {
    display: block;
    width: 100%;
}

.bl-panel-box {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--admin-line);
    border-radius: 10px;
    background: var(--admin-surface-solid, var(--admin-soft, #1c2430));
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.bl-panel-box--drop {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    bottom: auto;
    z-index: 40;
    height: 200px;
    margin: 0;
}

.bl-panel-box__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-shrink: 0;
    padding: 8px 10px 8px 12px;
    border-bottom: 1px solid var(--admin-line);
    background: var(--admin-soft, rgba(255, 255, 255, 0.04));
}

.bl-panel-box__title {
    font-size: 12px;
    font-weight: 500;
    color: var(--admin-muted);
}

.bl-panel-box__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--admin-muted);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.bl-panel-box__close:hover {
    background: var(--admin-soft, rgba(255, 255, 255, 0.08));
    color: var(--admin-text);
}

.bl-panel-box__body {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.bl-step {
    margin-bottom: 0;
}

.bl-step:last-of-type {
    margin-bottom: 0;
}

.bl-step--selected {
    margin-bottom: 0;
}

.bl-step__label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.bl-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--admin-accent, #6658dd);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
}

.bl-step__text {
    font-size: 13px;
    font-weight: 500;
    color: var(--admin-text);
}

.bl-step__opt {
    font-weight: 400;
    color: var(--admin-muted);
}

.bl-step__badge {
    margin-left: auto;
    min-width: 22px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--admin-soft, rgba(255, 255, 255, 0.08));
    color: var(--admin-muted);
    font-size: 12px;
    font-weight: 400;
    text-align: center;
}

.bl-step__badge.has-items {
    background: rgba(102, 88, 221, 0.18);
    color: var(--admin-accent, #6658dd);
}

.bl-panel-box[hidden] {
    display: none !important;
}

.bl-panel-box__list {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 6px;
    overflow-y: auto;
}

.bl-panel-box__msg {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 12px;
    text-align: center;
    font-size: 13px;
    font-weight: 400;
    color: var(--admin-muted);
}

.bl-panel-box__msg--load {
    color: var(--admin-accent, #6658dd);
}

.bl-panel-box__msg[hidden],
.bl-panel-box__list:empty {
    display: none;
}

.bl-search-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: var(--admin-surface-solid, rgba(255, 255, 255, 0.04));
    color: var(--admin-text);
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.bl-search-item:hover:not(:disabled) {
    border-color: rgba(102, 88, 221, 0.35);
    background: rgba(102, 88, 221, 0.08);
}

.bl-search-item.is-selected,
.bl-search-item:disabled {
    opacity: 0.5;
    cursor: default;
}

.bl-search-item__avatar {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(102, 88, 221, 0.18);
    color: var(--admin-accent, #6658dd);
    font-size: 13px;
    font-weight: 500;
}

.bl-search-item__body {
    flex: 1;
    min-width: 0;
}

.bl-search-item__name {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--admin-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bl-search-item__email {
    display: block;
    margin-top: 1px;
    font-size: 12px;
    font-weight: 400;
    color: var(--admin-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bl-search-item__meta {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 400;
    color: var(--admin-muted);
}

.bl-selected-box {
    display: flex;
    flex-direction: column;
    height: 140px;
    padding: 8px;
    border: 1px dashed var(--admin-line);
    border-radius: 10px;
    background: var(--admin-soft, rgba(255, 255, 255, 0.02));
    overflow-y: auto;
}

.bl-selected-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bl-selected-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--admin-surface-solid, rgba(255, 255, 255, 0.05));
    border: 1px solid var(--admin-line);
}

.bl-selected-item__avatar {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 110, 142, 0.15);
    color: #ff6e8e;
    font-size: 12px;
    font-weight: 500;
}

.bl-selected-item__body {
    flex: 1;
    min-width: 0;
}

.bl-selected-item__name {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--admin-text);
}

.bl-selected-item__email {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: var(--admin-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bl-selected-item__remove {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--admin-muted);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.bl-selected-item__remove:hover {
    background: rgba(232, 90, 90, 0.12);
    color: #e85a5a;
}

.bl-selected-empty {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 12px;
    font-size: 13px;
    font-weight: 400;
    text-align: center;
    color: var(--admin-muted);
}

.bl-selected-empty[hidden] {
    display: none !important;
}

.bl-reason {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid var(--admin-line);
    border-radius: 10px;
    background: var(--admin-input-bg, rgba(255, 255, 255, 0.04));
    color: var(--admin-text);
    font-size: 14px;
    font-weight: 400;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bl-reason:focus {
    border-color: rgba(102, 88, 221, 0.55);
    box-shadow: 0 0 0 3px rgba(102, 88, 221, 0.12);
}

.bl-reason::placeholder {
    color: var(--admin-muted);
    opacity: 0.85;
}

.bl-modal__foot {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--admin-line);
    background: var(--admin-surface-solid, var(--admin-soft, #1c2430));
}

.bl-modal__submit:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

html.admin-theme-light .bl-search-item__avatar {
    background: rgba(102, 88, 221, 0.12);
}

html.admin-theme-light .bl-selected-item__avatar {
    background: rgba(255, 110, 142, 0.12);
}

html.admin-theme-light #bl-add-modal .bl-modal__foot {
    background: #fff;
}

html.admin-theme-light .bl-panel-box {
    background: #fff;
    box-shadow: 0 12px 28px rgba(34, 30, 46, 0.12);
}

html.admin-theme-light .bl-selected-box {
    background: #fafafa;
}

/* ===== IP 차단 안내 (이 페이지만 노출) ===== */
body.ip-block {
    box-sizing: border-box;
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: #fff;
    background:
        radial-gradient(circle at 16% 18%, rgba(255, 110, 142, 0.38), transparent 34%),
        linear-gradient(165deg, #2a211c 0%, #3a2c28 46%, #24322d 100%);
}

.ip-block__card {
    width: min(480px, 100%);
    padding: 42px 36px 36px;
    border-radius: 22px;
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.ip-block__brand {
    margin: 0 0 18px;
    font-size: 15px;
    letter-spacing: 0.22em;
    text-transform: lowercase;
    color: rgba(255, 255, 255, 0.72);
}

.ip-block__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin: 0 0 16px;
    border-radius: 50%;
    font-size: 28px;
    font-weight: 700;
    color: #2a211c;
    background: #ff6e8e;
}

.ip-block__title {
    margin: 0 0 12px;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.35;
}

.ip-block__message,
.ip-block__hint {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
}

.ip-block__message {
    white-space: pre-line;
}

.ip-block__home {
    display: inline-block;
    margin-top: 22px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #fff;
    color: #2a211c;
    font-size: 14px;
}

.ip-block__ip {
    margin: 22px 0;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.78);
    background: rgba(0, 0, 0, 0.22);
}

.ip-block__ip strong {
    display: block;
    margin-top: 4px;
    font-size: 18px;
    letter-spacing: 0.02em;
    color: #fff;
}

/* ===== Checkout ===== */
.checkout {
    max-width: 1040px;
    margin: 0 auto;
    padding: 40px 20px 120px;
}
.pm-site .checkout__title {
    font-family: var(--pm-font-display);
    font-size: 28px;
    font-weight: 400;
    color: var(--pm-cocoa);
    margin: 0 0 24px;
}
.checkout__grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 20px;
    align-items: start;
}
.checkout__main {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}
.checkout__card {
    background: #fff;
    border: 1px solid var(--pm-line);
    border-radius: 18px;
    padding: 24px;
}
.pm-site .checkout__h {
    font-family: var(--pm-font-serif);
    font-size: 17px;
    font-weight: 600;
    color: var(--pm-cocoa);
    margin: 0 0 16px;
}
.checkout__items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.checkout__item {
    display: flex;
    align-items: center;
    gap: 14px;
}
.checkout__item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.checkout__item-info strong {
    font-weight: 500;
    color: var(--pm-cocoa);
}
.checkout__item-opts {
    font-size: 12px;
    color: var(--pm-warmgray);
}
.checkout__item-qty {
    flex-shrink: 0;
    font-size: 13px;
    color: var(--pm-warmgray);
}
.checkout__item-price {
    flex-shrink: 0;
    font-weight: 600;
    color: var(--pm-cocoa);
}
.checkout__fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.checkout__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.checkout__field--full {
    grid-column: 1 / -1;
}
.checkout__field > span {
    font-size: 13px;
    font-weight: 500;
    color: var(--pm-cocoa);
}
.checkout__field input {
    padding: 12px 14px;
    border: 1px solid var(--pm-line);
    border-radius: 10px;
    background: var(--pm-ivory);
    color: var(--pm-cocoa);
    font-size: 14px;
    box-sizing: border-box;
    width: 100%;
}
.checkout__field input:focus {
    outline: none;
    border-color: var(--pm-clay-deep);
    box-shadow: 0 0 0 3px rgba(176, 85, 64, 0.15);
}
.checkout__same {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 13px;
    color: var(--pm-warmgray);
    cursor: pointer;
}
.checkout__methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.checkout__method {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid var(--pm-line);
    border-radius: 12px;
    background: var(--pm-ivory);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--pm-cocoa);
    transition: border-color 0.15s ease, background 0.15s ease;
}
.checkout__method:hover {
    border-color: rgba(176, 85, 64, 0.4);
}
.checkout__method input:checked + span {
    color: var(--pm-clay-deep);
}
.checkout__method input:checked {
    accent-color: var(--pm-clay-deep);
}
.checkout__bank {
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    background: var(--pm-blush);
    font-size: 14px;
    color: var(--pm-cocoa);
}
.checkout__bank p {
    margin: 0;
}
.checkout__bank-note {
    margin-top: 6px !important;
    font-size: 12px;
    color: var(--pm-warmgray);
}
.checkout__none {
    font-size: 13px;
    color: var(--pm-warmgray);
}
.checkout__aside {
    position: sticky;
    top: 90px;
}
.checkout__totals {
    margin: 0 0 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.checkout__totals > div {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--pm-cocoa);
}
.checkout__totals dt {
    color: var(--pm-warmgray);
}
.checkout__totals dd {
    margin: 0;
}
.checkout__freehint dt {
    font-size: 12px;
    color: var(--pm-sage);
}
.checkout__grand {
    padding-top: 12px;
    border-top: 1px solid var(--pm-line);
}
.checkout__grand dd b {
    font-size: 20px;
    color: var(--pm-clay-deep);
}
.checkout__submit {
    display: block;
    width: 100%;
    padding: 15px;
    border: 0;
    border-radius: 999px;
    background: var(--pm-clay-deep);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background 0.15s ease;
}
.checkout__submit:hover {
    background: var(--pm-clay-press);
}
.checkout__submit:disabled {
    opacity: 0.6;
    cursor: default;
}
.checkout__submit--link {
    text-decoration: none;
    display: inline-block;
    width: auto;
    padding: 12px 28px;
}
.checkout__back {
    display: block;
    margin-top: 12px;
    text-align: center;
    font-size: 13px;
    color: var(--pm-warmgray);
}
.checkout__done {
    max-width: 640px;
    margin: 0 auto;
}
.checkout__order-no {
    font-size: 15px;
    color: var(--pm-cocoa);
    margin: 0 0 20px;
}
.checkout__order-no b {
    letter-spacing: 0.03em;
}
.checkout__totals--done {
    margin-bottom: 20px;
}
.checkout__bank--done {
    margin: 0 0 20px;
}
.checkout__items--done {
    border-top: 1px solid var(--pm-line);
    padding-top: 16px;
}
.checkout__done-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
}
.checkout__done-actions .checkout__back {
    margin: 0;
}
@media (max-width: 860px) {
    .checkout__grid {
        grid-template-columns: 1fr;
    }
    .checkout__aside {
        position: static;
    }
    .checkout__fields {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .checkout {
        padding-bottom: 140px;
    }
}

/* ===== Gallery lightbox ===== */
.shop-gallery__mainwrap {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
}
.shop-gallery__mainwrap img {
    width: 100%;
    display: block;
}
.shop-lb {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.shop-lb[hidden] {
    display: none;
}
.shop-lb__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 16, 14, 0.85);
}
.shop-lb__box {
    position: relative;
    z-index: 1;
    margin: 0;
    max-width: min(92vw, 900px);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}
.shop-lb__img {
    max-width: 100%;
    max-height: calc(90vh - 48px);
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
}
.shop-lb__cap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 4px 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
}
.shop-lb__close {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}
.shop-lb__close:hover {
    background: rgba(255, 255, 255, 0.26);
}
.shop-lb__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}
.shop-lb__nav:hover {
    background: rgba(255, 255, 255, 0.26);
}
.shop-lb__nav--prev {
    left: -56px;
}
.shop-lb__nav--next {
    right: -56px;
}
@media (max-width: 768px) {
    .shop-lb__nav--prev {
        left: 8px;
    }
    .shop-lb__nav--next {
        right: 8px;
    }
}

/* ===== Product search ===== */
.shop-search {
    display: flex;
    gap: 8px;
    margin: 0 0 18px;
}
.shop-search__input {
    flex: 1;
    min-width: 0;
    padding: 11px 14px;
    border: 1px solid var(--pm-line);
    border-radius: 999px;
    background: #fff;
    color: var(--pm-cocoa);
    font-size: 14px;
}
.shop-search__input:focus {
    outline: none;
    border-color: var(--pm-clay-deep);
    box-shadow: 0 0 0 3px rgba(176, 85, 64, 0.15);
}
.shop-search__btn {
    flex-shrink: 0;
    padding: 11px 22px;
    border: 0;
    border-radius: 999px;
    background: var(--pm-cocoa);
    color: var(--pm-ivory);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}
.shop-search__result {
    margin: -6px 0 14px;
    font-size: 13px;
    color: var(--pm-warmgray);
}
.shop-search__reset {
    margin-left: 8px;
    color: var(--pm-clay-deep);
    text-decoration: underline;
}

/* ===== Cart order button ===== */
.shop-cart__order {
    margin-top: 18px;
}
.shop-cart__order-btn {
    display: inline-block;
    padding: 14px 40px;
    border-radius: 999px;
    background: var(--pm-clay-deep);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s ease;
}
.shop-cart__order-btn:hover {
    background: var(--pm-clay-press);
}

/* ===== Accessibility ===== */
.pm-site a:focus-visible,
.pm-site button:focus-visible,
.pm-site input:focus-visible,
.pm-site select:focus-visible,
.pm-site summary:focus-visible,
.pm-site textarea:focus-visible {
    outline: 2px solid var(--pm-clay-deep);
    outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
    .pm-site *,
    .pm-site *::before,
    .pm-site *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
