/* ═══════════════════════════════════════════════════════════════
   KTradeHub · Material 3 site skin (전 페이지, 2026-11-08)
   header.php가 <html class="m3">일 때 tool-ui-m3.css 다음에 로드. 모든 규칙은 html.m3 하위, 색은 --m3-* 변수만.
   역할: 도구 밖 페이지(로그인·회원가입·마이페이지·주문·장바구니·B2B·문의·회사소개·요금·블로그·용기·업체정보·404)의
   평면 컴포넌트를 DESIGN.md(M3) 모양으로 통일. 페이지 CSS가 쓰는 --color- 와 --kth- 계열 토큰을 M3 토큰으로 재매핑한다. (주석 안에 별표+슬래시 금지: 주석이 닫혀 첫 규칙이 사라짐)
   ═══════════════════════════════════════════════════════════════ */

/* ── 0. 토큰 확장 + 레거시 토큰 재매핑 ─────────────────────── */
html.m3 {
  --m3-error-container: #FFDAD6;
  --m3-on-error-container: #93000A;
  --m3-inverse-surface: #2E312E;
  --m3-inverse-on-surface: #EFF1EC;

  --color-bg: var(--m3-surface);
  --color-bg-alt: var(--m3-surface-low);
  --color-white: var(--m3-surface-lowest);
  --color-text: var(--m3-on-surface);
  --color-text-light: var(--m3-on-surface-variant);
  --color-text-muted: var(--m3-on-surface-variant);
  --color-accent: var(--m3-primary);
  --color-accent-dark: var(--m3-primary-dim);
  --color-border: var(--m3-outline-variant);

  --kth-ink: var(--m3-on-surface);
  --kth-black: var(--m3-on-surface);
  --kth-text: var(--m3-on-surface);
  --kth-text-2: var(--m3-on-surface-variant);
  --kth-muted: var(--m3-on-surface-variant);
  --kth-line: var(--m3-outline-variant);
  --kth-line-2: var(--m3-outline-variant);
  --kth-surface: var(--m3-surface-lowest);
  --kth-surface-2: var(--m3-surface-low);
  --kth-bg: var(--m3-surface);
  --kth-brand: var(--m3-primary);
  --kth-brand-dk: var(--m3-primary-dim);
  --kth-brand-bg: var(--m3-primary-container);
  --kth-danger: var(--m3-error);
  --kth-border: 1px solid var(--m3-outline-variant);
  --kth-border-2: 1px solid var(--m3-outline-variant);
  --kth-radius: 16px;
  --kth-radius-sm: 8px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --btn-radius: 999px;
  --kth-shadow-1: none;
  --kth-shadow-2: var(--m3-e1);
  --kth-shadow-3: var(--m3-e2);
  --shadow-sm: var(--m3-e1);
  --shadow-md: var(--m3-e2);
  --shadow-lg: var(--m3-e2);
}
html.m3[data-theme="dark"], html.m3 [data-theme="dark"] {
  --m3-error-container: #93000A;
  --m3-on-error-container: #FFDAD6;
  --m3-inverse-surface: #E1E4DF;
  --m3-inverse-on-surface: #2E312E;
}

/* ── 1. 글자 ─────────────────────────────────────────────── */
html.m3 h1, html.m3 h2, html.m3 h3, html.m3 h4, html.m3 h5 { color: var(--m3-on-surface); letter-spacing: -0.01em; }
html.m3 main p { color: var(--m3-on-surface-variant); }
html.m3 .blog-post-body p, html.m3 .blog-post-body li { color: var(--m3-on-surface); }
html.m3 .auth-head h1, html.m3 .reg-card h1, html.m3 .cart-head h1, html.m3 .b2b-head h1, html.m3 .header__nav-tools-title { font-family: inherit; }

/* 페이지 제목(22px) · 보조 설명(14px) */
html.m3 .auth-head h1, html.m3 .reg-card h1, html.m3 .ve-card h1, html.m3 .cart-head h1, html.m3 .cart-done h1, html.m3 .cart-empty-box h2,
html.m3 .mp-side h1, html.m3 .b2b-head h1, html.m3 .pricing-head h1, html.m3 .bo-top h1, html.m3 .nf-title { font-size: 22px; font-weight: 700; line-height: 1.25; color: var(--m3-on-surface); }
html.m3 .auth-head p, html.m3 .reg-sub, html.m3 .mp-card-sub, html.m3 .mp-side-email, html.m3 .pricing-head p, html.m3 .bo-sub,
html.m3 .cart-done-no, html.m3 .cart-empty-box p, html.m3 .b2b-head p, html.m3 .nf-desc { font-size: 14px; line-height: 1.6; color: var(--m3-on-surface-variant); }
html.m3 .auth-head { margin-bottom: 24px; }
html.m3 .auth-head p { margin-top: 6px; }

/* 카드 안 소제목 16px */
html.m3 .mp-card h2, html.m3 .cart-sum h2, html.m3 .bo-card h2, html.m3 .pricing-name { font-size: 16px; font-weight: 700; color: var(--m3-on-surface); }
html.m3 .reg-sec { font-size: 14px; font-weight: 600; color: var(--m3-on-surface-variant); text-transform: none; letter-spacing: 0; border-bottom: 1px solid var(--m3-outline-variant); margin: 24px 0 14px; padding-bottom: 8px; }

/* 라벨 14/600 · 힌트 12 */
html.m3 .auth-field label, html.m3 .reg-field label, html.m3 .mp-field label, html.m3 .form__label, html.m3 .kth-label { font-size: 14px; font-weight: 600; color: var(--m3-on-surface-variant); margin-bottom: 6px; }
html.m3 .auth-field-hint, html.m3 .reg-hint, html.m3 .mp-field-hint, html.m3 .bo-hint, html.m3 .cs-reply, html.m3 .b2b-reply, html.m3 .ord-note, html.m3 .pricing-foot { font-size: 12px; line-height: 1.6; color: var(--m3-on-surface-variant); }
html.m3 .reg-warn { font-size: 12px; color: var(--m3-error); }
html.m3 .reg-field label .req, html.m3 .mp-field label .mp-req, html.m3 .bap-req { color: var(--m3-error); }
html.m3 .bap-ok { color: var(--m3-primary-dim); }
html.m3 .auth-foot, html.m3 .reg-foot { font-size: 14px; color: var(--m3-on-surface-variant); }
html.m3 .auth-foot a, html.m3 .reg-foot a, html.m3 .mp-link, html.m3 .bo-no, html.m3 .cs-info-edit, html.m3 .cart-cont, html.m3 .blog-post-body a:not(.tool-link) { color: var(--m3-primary-dim); font-weight: 600; }
html.m3 .mp-ok { color: var(--m3-primary-dim); font-weight: 700; }
html.m3 .mp-wait { color: var(--m3-on-surface-variant); }
html.m3 .auth-divider span, html.m3 .reg-or { font-size: 12px; color: var(--m3-on-surface-variant); }
html.m3 .auth-divider::before, html.m3 .auth-divider::after, html.m3 .reg-or::before, html.m3 .reg-or::after { background: var(--m3-outline-variant); }

/* ── 2. 입력 ─────────────────────────────────────────────── */
html.m3 .auth-field input, html.m3 .auth-field select, html.m3 .auth-field textarea,
html.m3 .reg-field input, html.m3 .reg-field select, html.m3 .reg-inrow input,
html.m3 .mp-field input, html.m3 .mp-field select,
html.m3 .form__input, html.m3 .form__select, html.m3 .form__textarea,
html.m3 .kth-input, html.m3 .kth-select, html.m3 .kth-textarea,
html.m3 #quickText, html.m3 .b2b-search, html.m3 .b2b-select, html.m3 .ci-q input {
  min-height: 44px; padding: 10px 14px; font-size: 15px; line-height: 1.4; font-family: inherit;
  color: var(--m3-on-surface); background: var(--m3-surface-lowest);
  border: 1px solid var(--m3-outline); border-radius: 8px; box-shadow: none; transition: border-color .15s var(--m3-ease), box-shadow .15s var(--m3-ease);
}
html.m3 textarea.form__input, html.m3 .form__textarea, html.m3 .kth-textarea, html.m3 #quickText { min-height: 120px; padding: 12px 14px; line-height: 1.6; resize: vertical; }
html.m3 .auth-field input:focus, html.m3 .auth-field select:focus, html.m3 .auth-field textarea:focus,
html.m3 .reg-field input:focus, html.m3 .reg-inrow input:focus, html.m3 .mp-field input:focus,
html.m3 .form__input:focus, html.m3 .form__textarea:focus, html.m3 .kth-input:focus, html.m3 .kth-textarea:focus,
html.m3 #quickText:focus, html.m3 .b2b-search:focus, html.m3 .ci-q input:focus { outline: none; border-color: var(--m3-primary); box-shadow: inset 0 0 0 1px var(--m3-primary); }
html.m3 .auth-field input[readonly], html.m3 .reg-field input[readonly], html.m3 .mp-field input[readonly] { background: var(--m3-surface-low); border-color: var(--m3-outline-variant); color: var(--m3-on-surface-variant); }
html.m3 .auth-field input::placeholder, html.m3 .reg-field input::placeholder, html.m3 .mp-field input::placeholder, html.m3 .form__input::placeholder, html.m3 .kth-input::placeholder { color: var(--m3-on-surface-variant); opacity: .8; }
html.m3 .auth-field input[type="file"] { padding: 9px 14px; font-size: 14px; }
/* 셀렉트: surface-container 알약 채움, 화살표 내장 (tu-select와 동일) */
html.m3 .reg-field select, html.m3 .mp-field select, html.m3 .form__select, html.m3 .kth-select, html.m3 .b2b-select, html.m3 .auth-field select {
  border: 0; border-radius: 999px; font-weight: 600; padding: 0 40px 0 18px; -webkit-appearance: none; appearance: none;
  background: var(--m3-surface-container) url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%233F4942' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 14px center / 18px 18px;
}
html.m3 .reg-field select:focus, html.m3 .mp-field select:focus, html.m3 .form__select:focus, html.m3 .kth-select:focus, html.m3 .b2b-select:focus, html.m3 .auth-field select:focus { outline: none; box-shadow: 0 0 0 2px var(--m3-primary); border-color: transparent; }
html.m3 .mp-check { font-size: 14px; color: var(--m3-on-surface); min-height: 44px; }
html.m3 .mp-check input { width: 18px; height: 18px; accent-color: var(--m3-primary); }
html.m3 .pw-eye { width: 40px; height: 40px; right: 4px; padding: 0; justify-content: center; border-radius: 999px; color: var(--m3-on-surface-variant); }
html.m3 .pw-eye:hover { color: var(--m3-on-surface); background: var(--m3-hover); }
html.m3 .pw-wrap input { padding-right: 48px; }
html.m3 .reg-inrow, html.m3 .mp-addr-row, html.m3 .bap-addr { gap: 8px; align-items: stretch; }
html.m3 .reg-inrow input, html.m3 .mp-addr-row input, html.m3 .bap-addr input { flex: 1 1 0; min-width: 0; }

/* ── 3. 버튼 ─────────────────────────────────────────────── */
/* 채움 알약(primary) */
html.m3 .auth-btn, html.m3 .reg-btn, html.m3 .mp-btn, html.m3 .btn--primary, html.m3 .btn--dark, html.m3 .kth-btn--primary, html.m3 .kth-btn--ink,
html.m3 .cart-btn--primary, html.m3 .ve-btn, html.m3 .pricing-btn.is-primary, html.m3 .ord-blank-btn, html.m3 .bo-doc.primary, html.m3 .cart-gate-btn,
html.m3 .reg-mini-btn, html.m3 .mp-addr-btn, html.m3 .km-ok, html.m3 .qbtn--primary, html.m3 .b2b-quick-match, html.m3 .b2b-quick-add, html.m3 .b2b-btn--primary,
html.m3 .b2b-added-btn, html.m3 .b2b-bulk, html.m3 .blog-post-body .tool-link, html.m3 .nf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 24px;
  border: 0; border-radius: 999px; background: var(--m3-primary); color: var(--m3-on-primary);
  font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.2; letter-spacing: 0; text-decoration: none; cursor: pointer;
  box-shadow: none; transform: none; filter: none; transition: background .15s var(--m3-ease), box-shadow .15s var(--m3-ease);
}
html.m3 .auth-btn:hover, html.m3 .reg-btn:hover, html.m3 .mp-btn:hover, html.m3 .btn--primary:hover, html.m3 .btn--dark:hover, html.m3 .kth-btn--primary:hover, html.m3 .kth-btn--ink:hover,
html.m3 .cart-btn--primary:hover, html.m3 .ve-btn:hover, html.m3 .pricing-btn.is-primary:hover, html.m3 .ord-blank-btn:hover, html.m3 .bo-doc.primary:hover, html.m3 .cart-gate-btn:hover,
html.m3 .reg-mini-btn:hover, html.m3 .mp-addr-btn:hover, html.m3 .km-ok:hover, html.m3 .qbtn--primary:hover, html.m3 .b2b-quick-match:hover, html.m3 .b2b-quick-add:hover, html.m3 .b2b-btn--primary:hover,
html.m3 .b2b-added-btn:hover, html.m3 .b2b-bulk:hover, html.m3 .blog-post-body .tool-link:hover, html.m3 .nf-btn:hover { background: #0A9A4F; color: var(--m3-on-primary); box-shadow: var(--m3-e1); transform: none; filter: none; opacity: 1; }
html.m3[data-theme="dark"] .auth-btn:hover, html.m3[data-theme="dark"] .reg-btn:hover, html.m3[data-theme="dark"] .mp-btn:hover, html.m3[data-theme="dark"] .btn--primary:hover { background: #9DF5B5; }
/* 테두리 알약(outline, 초록 글자) */
html.m3 .btn--outline, html.m3 .kth-btn--outline, html.m3 .kth-btn--ghost, html.m3 .cart-btn--ghost, html.m3 .ve-btn--ghost, html.m3 .pricing-btn.is-outline, html.m3 .bo-doc,
html.m3 .bap-addr button, html.m3 .km-cancel, html.m3 .qbtn, html.m3 .b2b-quick-ai, html.m3 .b2b-quick-file, html.m3 .auth-google, html.m3 .reg-google, html.m3 .auth-btn--ghost,
html.m3 .b2b-added-btn--ghost, html.m3 .b2b-btn--ghost, html.m3 .nf-btn--ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 22px;
  background: transparent; border: 1px solid var(--m3-outline); border-radius: 999px; color: var(--m3-primary-dim);
  font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.2; letter-spacing: 0; text-decoration: none; cursor: pointer;
  box-shadow: none; transform: none; transition: background .15s var(--m3-ease), border-color .15s var(--m3-ease);
}
html.m3 .btn--outline:hover, html.m3 .kth-btn--outline:hover, html.m3 .kth-btn--ghost:hover, html.m3 .cart-btn--ghost:hover, html.m3 .ve-btn--ghost:hover, html.m3 .pricing-btn.is-outline:hover, html.m3 .bo-doc:hover,
html.m3 .bap-addr button:hover, html.m3 .km-cancel:hover, html.m3 .qbtn:hover, html.m3 .b2b-quick-ai:hover, html.m3 .b2b-quick-file:hover, html.m3 .auth-google:hover, html.m3 .reg-google:hover, html.m3 .auth-btn--ghost:hover,
html.m3 .b2b-added-btn--ghost:hover, html.m3 .b2b-btn--ghost:hover, html.m3 .nf-btn--ghost:hover { background: var(--m3-hover); border-color: var(--m3-outline); color: var(--m3-primary-dim); box-shadow: none; transform: none; }
html.m3 .auth-google, html.m3 .reg-google { color: var(--m3-on-surface); min-height: 48px; width: 100%; }
html.m3 .auth-google:hover, html.m3 .reg-google:hover { color: var(--m3-on-surface); }
/* 폭·높이 */
html.m3 .auth-btn, html.m3 .reg-btn, html.m3 .cart-btn, html.m3 .pricing-btn, html.m3 .b2b-btn, html.m3 .kth-btn--block { width: 100%; }
html.m3 .auth-btn, html.m3 .reg-btn, html.m3 .kth-btn--lg, html.m3 .btn { min-height: 48px; }
html.m3 .auth-btn { margin-top: 8px; }
html.m3 .reg-btn { margin-top: 24px; }
html.m3 .reg-mini-btn, html.m3 .mp-addr-btn, html.m3 .bap-addr button { min-height: 44px; padding: 0 16px; white-space: nowrap; flex: none; }
html.m3 .pricing-btn.is-current, html.m3 .pricing-btn.is-disabled { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; border: 0; border-radius: 999px; background: var(--m3-surface-container); color: var(--m3-on-surface-variant); font-size: 14px; font-weight: 600; }
html.m3 .bo-doc.disabled { border-color: var(--m3-outline-variant); color: var(--m3-on-surface-variant); background: transparent; opacity: .55; }
html.m3 .auth-btn:disabled, html.m3 .reg-btn:disabled, html.m3 .mp-btn:disabled, html.m3 .reg-mini-btn:disabled, html.m3 .mp-addr-btn:disabled, html.m3 .b2b-bulk:disabled, html.m3 .b2b-quick-ai:disabled, html.m3 .b2b-quick-add:disabled { opacity: .45; cursor: not-allowed; background: var(--m3-primary); }
html.m3 .b2b-quick-ai:disabled { background: transparent; }
html.m3 .btn-group { gap: 10px; }
html.m3 .kth-btn:active { transform: none; }
/* 회사소개 어두운·브랜드 섹션 안 버튼 */
html.m3 .kth-section--dark .kth-btn--outline, html.m3 .kth-section--brand .kth-btn--outline { border-color: rgba(255,255,255,.75); color: #fff; }
html.m3 .kth-section--dark .kth-btn--outline:hover, html.m3 .kth-section--brand .kth-btn--outline:hover { background: rgba(255,255,255,.12); color: #fff; }
html.m3 .kth-section--brand .kth-btn--primary { background: #fff; color: var(--m3-primary-dim); }
html.m3 .kth-section--brand .kth-btn--primary:hover { background: rgba(255,255,255,.92); color: var(--m3-primary-dim); }
/* 작은 글자 링크·버튼의 터치 영역 */
html.m3 .cart-clear, html.m3 .cs-info-edit, html.m3 .cart-cont, html.m3 .bo-back { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; font-size: 14px; }
html.m3 .cart-cont .msym { font-size: 20px; }
html.m3 .ci-x, html.m3 .b2b-ci-x { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; color: var(--m3-on-surface-variant); }
html.m3 .ci-x:hover, html.m3 .b2b-ci-x:hover { background: var(--m3-hover); color: var(--m3-error); }

/* ── 4. 카드·면 ───────────────────────────────────────────── */
html.m3 .mp-card, html.m3 .kth-card, html.m3 .card, html.m3 .bo-card, html.m3 .pricing-card, html.m3 .cart-items-col, html.m3 .cart-sum, html.m3 .cart-done-sum, html.m3 .cart-done-items,
html.m3 .b2b-filters, html.m3 .b2b-list, html.m3 .b2b-notice, html.m3 .b2b-banner, html.m3 .kth-product-card, html.m3 .product-card, html.m3 .brand-card, html.m3 .process__step, html.m3 .channel,
html.m3 .cart-gate, html.m3 .kth-filter-bar, html.m3 .blog-card, html.m3 .cart-done-note, html.m3 .shop-catalog-card, html.m3 .b2b-cart {
  background: var(--m3-surface-lowest); border: 0; border-radius: 16px; box-shadow: var(--m3-e1);
}
html.m3 .auth-card, html.m3 .reg-card, html.m3 .ve-card { background: var(--m3-surface-lowest); border: 0; border-radius: 24px; box-shadow: var(--m3-e1); padding: 32px 28px 28px; }
html.m3 .card:hover, html.m3 .kth-card--hover:hover, html.m3 .product-card:hover, html.m3 .kth-product-card:hover, html.m3 .brand-card:hover, html.m3 .blog-card:hover, html.m3 .channel:hover, html.m3 .shop-catalog-card:hover { box-shadow: var(--m3-e2); transform: translateY(-1px); border-color: transparent; }
html.m3 .kth-card--ink { background: var(--m3-inverse-surface); color: var(--m3-inverse-on-surface); }
html.m3 .kth-card--ink .kth-card__title { color: var(--m3-inverse-on-surface); }
html.m3 .kth-card--ink .kth-card__text { color: var(--m3-inverse-on-surface); opacity: .88; }
html.m3 .kth-card__icon { width: 48px; height: 48px; border: 0; border-radius: 999px; background: var(--m3-primary-container); color: var(--m3-primary-dim); }
html.m3 .kth-section--dark .kth-card__icon, html.m3 .kth-card--ink .kth-card__icon { background: rgba(255,255,255,.12); color: #9DF5B5; border: 0; }
html.m3 .kth-card__title { font-size: 16px; font-weight: 700; }
html.m3 .kth-card__text, html.m3 .card__text { font-size: 14px; line-height: 1.6; color: var(--m3-on-surface-variant); }
html.m3 .card__icon, html.m3 .feature-list__icon { border-radius: 999px; background: var(--m3-primary-container); }
html.m3 .card__icon svg, html.m3 .feature-list__icon svg { stroke: var(--m3-primary-dim); }
html.m3 .mp-card { padding: 24px; margin-bottom: 16px; }
html.m3 .pricing-card { padding: 28px 24px; }
html.m3 .pricing-card.is-featured { border: 0; box-shadow: var(--m3-e2), inset 0 0 0 2px var(--m3-primary); }
html.m3 .pricing-badge { background: var(--m3-primary); color: var(--m3-on-primary); font-size: 12px; font-weight: 600; }
html.m3 .pricing-soon-banner { background: var(--m3-secondary-container); color: var(--m3-on-secondary-container); border: 0; border-radius: 12px; font-size: 14px; }
html.m3 .pricing-feats li { font-size: 14px; border-bottom-color: var(--m3-outline-variant); color: var(--m3-on-surface); }
html.m3 .pricing-feats li:before { border-color: var(--m3-primary); }
html.m3 .pricing-desc, html.m3 .pricing-price .unit { color: var(--m3-on-surface-variant); font-size: 14px; }
html.m3 .cart-gate { padding: 24px; font-size: 15px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
html.m3 .cart-gate-btn { margin-left: 0; }
html.m3 .b2b-banner, html.m3 .b2b-notice { font-size: 14px; color: var(--m3-on-surface); }
html.m3 .km-box, html.m3 .b2b-added-card { border: 0; border-radius: 24px; box-shadow: var(--m3-e3); background: var(--m3-surface-lowest); }
html.m3 .km-msg { color: var(--m3-on-surface); }
html.m3 .km-msg .km-sub, html.m3 .km-email, html.m3 .b2b-added-sub { color: var(--m3-on-surface-variant); }
html.m3 .b2b-added-msg { color: var(--m3-on-surface); }
html.m3 .b2b-added-ic, html.m3 .cart-done-ic { background: var(--m3-primary-container); color: var(--m3-primary-dim); display: inline-flex; align-items: center; justify-content: center; }
html.m3 .cart-done-ic .msym, html.m3 .ve-icon .msym { font-size: 32px; color: inherit; }
html.m3 .ve-icon { width: 64px; height: 64px; border-radius: 999px; background: var(--m3-primary-container); color: var(--m3-primary-dim); display: inline-flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 0; }
html.m3 .ve-icon--err { background: var(--m3-error-container); color: var(--m3-on-error-container); }
html.m3 .ve-card p { font-size: 15px; color: var(--m3-on-surface-variant); }
html.m3 .ve-btn, html.m3 .ve-btn--ghost { margin: 4px; }
html.m3 .cart-done-note { background: var(--m3-surface-low); box-shadow: none; }
html.m3 .cart-done-note p, html.m3 .cart-done-note { color: var(--m3-on-surface-variant); font-size: 14px; }
html.m3 .cart-done-note b { color: var(--m3-on-surface); }

/* ── 5. 메시지·배지 ───────────────────────────────────────── */
html.m3 .auth-error, html.m3 .reg-error, html.m3 .mp-msg--error, html.m3 .cart-flash--error, html.m3 .b2b-flash--err, html.m3 .form__error, html.m3 .flash--error, html.m3 .bo-cancel, html.m3 .cs-info-warn {
  background: var(--m3-error-container); color: var(--m3-on-error-container); border: 0; border-radius: 12px; padding: 12px 16px; font-size: 14px; line-height: 1.55;
}
html.m3 .auth-error a, html.m3 .reg-error a { color: inherit; font-weight: 700; }
html.m3 .reg-success, html.m3 .mp-msg--success, html.m3 .cart-flash--success, html.m3 .b2b-flash--ok, html.m3 .flash--success {
  background: var(--m3-secondary-container); color: var(--m3-on-secondary-container); border: 0; border-radius: 12px; padding: 14px 18px; font-size: 14px; line-height: 1.7;
}
html.m3 .reg-success strong { color: var(--m3-primary-dim); }
html.m3 .mp-msg { border-left: 0; }
html.m3 .bo-badge.ok, html.m3 .kth-badge--success, html.m3 .ord-badge.b-green { background: var(--m3-secondary-container); color: var(--m3-on-secondary-container); }
html.m3 .bo-badge.no { background: var(--m3-error-container); color: var(--m3-on-error-container); }
html.m3 .kth-badge { border: 0; border-radius: 999px; background: var(--m3-surface-container); color: var(--m3-on-surface-variant); font-size: 12px; font-weight: 600; padding: 3px 10px; }
html.m3 .kth-badge--ink { background: var(--m3-inverse-surface); color: var(--m3-inverse-on-surface); }
html.m3 .ord-badge { font-size: 12px; font-weight: 600; }
html.m3 .ord-badge.b-gray { background: var(--m3-surface-container); color: var(--m3-on-surface-variant); }
html.m3 .ord-me { border-radius: 999px; background: var(--m3-primary); }
html.m3 .b2b-bchip { border-radius: 999px; background: var(--m3-secondary-container); color: var(--m3-on-secondary-container); }
html.m3 .qm-how { background: var(--m3-secondary-container); color: var(--m3-on-secondary-container); }

/* ── 6. 마이페이지·주문 ───────────────────────────────────── */
html.m3 .mp-nav button, html.m3 .mp-nav .mp-nav-go { display: flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--m3-on-surface-variant); text-align: left; transition: background .15s var(--m3-ease), color .15s; }
html.m3 .mp-nav button:hover, html.m3 .mp-nav .mp-nav-go:hover { background: var(--m3-hover); color: var(--m3-on-surface); }
html.m3 .mp-nav button.active, html.m3 .mp-nav .mp-nav-go.active { background: var(--m3-secondary-container); color: var(--m3-on-secondary-container); font-weight: 600; }
html.m3 .mp-nav .mp-nav-logout { display: flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; font-size: 14px; color: var(--m3-on-surface-variant); }
html.m3 .mp-nav .mp-nav-logout:hover { background: var(--m3-error-container); color: var(--m3-on-error-container); }
html.m3 .mp-acct-info { font-size: 15px; }
html.m3 .mp-acct-info dt { font-size: 12px; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--m3-on-surface-variant); }
html.m3 .mp-acct-info dd { color: var(--m3-on-surface); }
html.m3 .mp-acct-info dd.verified { color: var(--m3-primary-dim); }
html.m3 .mp-divider { border-top-color: var(--m3-outline-variant); }
html.m3 .mp-actions { margin-top: 16px; }
html.m3 .mp-b2b-row { color: var(--m3-on-surface); border-bottom-color: var(--m3-outline-variant); font-size: 14px; min-height: 48px; border-radius: 8px; }
html.m3 .mp-b2b-row:hover { background: var(--m3-hover); }
html.m3 .mp-b2b-no { color: var(--m3-primary-dim); }
html.m3 .mp-b2b-date, html.m3 .mp-b2b-go { color: var(--m3-on-surface-variant); }
html.m3 .mp-b2b-go .msym { font-size: 22px; color: var(--m3-on-surface-variant); }
html.m3 .ordt thead th, html.m3 .ord-items th, html.m3 .cart-done-items th, html.m3 .b2b-quick-tbl th, html.m3 table.bo-items th, html.m3 .cart-items-h, html.m3 .b2b-row--head, html.m3 .kth-spec-table th {
  background: var(--m3-surface-low); color: var(--m3-on-surface-variant); font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; border-bottom: 1px solid var(--m3-outline-variant);
}
html.m3 .ordt tbody td, html.m3 .ord-items td, html.m3 .cart-done-items td, html.m3 table.bo-items td, html.m3 .kth-spec-table td, html.m3 .kth-spec-table th { border-bottom-color: var(--m3-outline-variant); }
html.m3 .ordt-th-q, html.m3 .ordt-qo { color: var(--m3-primary-dim); }
html.m3 .ordt-row:hover { background: var(--m3-hover); }
html.m3 .ordt-detail > td { background: var(--m3-surface-low); }
html.m3 .ord-grand b, html.m3 .cs-total b, html.m3 .cds-total b, html.m3 .b2b-cart-total b, html.m3 .b2b-ci-sub b { color: var(--m3-primary-dim); }
html.m3 .ord-blank { color: var(--m3-on-surface-variant); }
html.m3 .ord-thumb { border-color: var(--m3-outline-variant); border-radius: 8px; }
html.m3 .bo-wrap { color: var(--m3-on-surface); font-family: inherit; }
html.m3 .bo-sub, html.m3 .tl-name, html.m3 .tl-desc, html.m3 .bo-kv .k, html.m3 .bo-back, html.m3 .bo-hint { color: var(--m3-on-surface-variant); }
html.m3 .tl-step.done .tl-name, html.m3 .tl-step.cur .tl-name { color: var(--m3-on-surface); }
html.m3 .tl-step.cur .tl-desc { color: var(--m3-primary-dim); }
html.m3 .tl-dot { background: var(--m3-outline-variant); color: var(--m3-on-surface-variant); }
html.m3 .tl-step.done .tl-dot, html.m3 .tl-step.cur .tl-dot { background: var(--m3-primary); color: var(--m3-on-primary); }
html.m3 .tl-step.cur .tl-dot { box-shadow: 0 0 0 4px var(--m3-primary-container); }
html.m3 .tl-step:not(:last-child)::after { background: var(--m3-outline-variant); }
html.m3 .tl-step.done:not(:last-child)::after { background: var(--m3-primary); }
html.m3 .bo-kv { border-bottom-color: var(--m3-outline-variant); font-size: 14px; }
html.m3 .bo-trk a { color: var(--m3-primary-dim); border-bottom: 0; text-decoration: underline; text-underline-offset: 3px; }
html.m3 table.bo-items tfoot td { background: var(--m3-surface-low); }
html.m3 .bo-docs { gap: 8px; }

/* ── 7. 장바구니·B2B ──────────────────────────────────────── */
html.m3 .cart-items-h { border-radius: 16px 16px 0 0; }
html.m3 .ci { border-top-color: var(--m3-outline-variant); }
html.m3 .ci-thumb { border-color: var(--m3-outline-variant); border-radius: 8px; }
html.m3 .ci-nametext { font-size: 14px; }
html.m3 .ci-name .ci-br { color: var(--m3-primary-dim); }
html.m3 .ci-q input { min-height: 40px; padding: 0 8px; font-size: 14px; }
html.m3 .ci-u, html.m3 .cs-row, html.m3 .cds-row, html.m3 .cart-cnt-lbl, html.m3 .cs-inforow { color: var(--m3-on-surface-variant); font-size: 14px; }
html.m3 .cs-row b, html.m3 .cds-row b, html.m3 .cs-inforow b, html.m3 .cart-cnt-lbl b { color: var(--m3-on-surface); }
html.m3 .cart-cnt-lbl b { color: var(--m3-primary-dim); }
html.m3 .cart-items-foot { background: var(--m3-surface-low); border-top-color: var(--m3-outline-variant); border-radius: 0 0 16px 16px; }
html.m3 .cart-sum { padding: 20px; }
html.m3 .cs-total { border-top-color: var(--m3-outline-variant); color: var(--m3-on-surface); }
html.m3 .cs-info { border-top: 1px solid var(--m3-outline-variant); }
html.m3 .cart-items-foot .cart-clear { color: var(--m3-on-surface-variant); }
html.m3 .cart-items-foot .cart-clear:hover { color: var(--m3-error); }
html.m3 .b2b-chip, html.m3 .b2b-qsort button, html.m3 .b2b-viewtoggle button { min-height: 32px; padding: 0 12px; font-size: 12px; font-weight: 500; border: 1px solid var(--m3-outline-variant); background: transparent; color: var(--m3-on-surface-variant); border-radius: 999px; }
html.m3 .b2b-chip:hover, html.m3 .b2b-qsort button:hover, html.m3 .b2b-viewtoggle button:hover { border-color: var(--m3-outline); color: var(--m3-on-surface); background: var(--m3-hover); }
html.m3 .b2b-chip.is-on, html.m3 .b2b-qsort button.on, html.m3 .b2b-viewtoggle button.on { background: var(--m3-secondary-container); color: var(--m3-on-secondary-container); border-color: transparent; font-weight: 600; }
html.m3 .b2b-flabel, html.m3 .b2b-legend, html.m3 .b2b-c-exp, html.m3 .b2b-ci-unit, html.m3 .b2b-ci-sub, html.m3 .b2b-ci-times, html.m3 .b2b-sum-row, html.m3 .b2b-inforow > span, html.m3 .b2b-stk-label, html.m3 .b2b-size, html.m3 .b2b-exp-lb, html.m3 .qm-qtyunit, html.m3 .qm-key, html.m3 .b2b-quick-hint, html.m3 .b2b-quick-ainote { color: var(--m3-on-surface-variant); }
html.m3 .b2b-filters { padding: 14px 16px; }
html.m3 .b2b-search, html.m3 .b2b-select { min-height: 40px; font-size: 14px; }
html.m3 .b2b-select { padding: 0 36px 0 14px; }
html.m3 .b2b-row { border-bottom-color: var(--m3-outline-variant); }
html.m3 .b2b-row:not(.b2b-row--head):hover { background: var(--m3-hover); }
html.m3 .b2b-row.b2b-row--filled { background: color-mix(in srgb, var(--m3-primary-container) 45%, transparent); }
html.m3 .b2b-row--head { border-radius: 16px 16px 0 0; }
html.m3 .b2b-qty, html.m3 .b2b-qty-preset, html.m3 .b2b-ci-q, html.m3 .qm-qtyctl select, html.m3 .qm-qtyctl .qm-qty { border-color: var(--m3-outline); border-radius: 8px; background: var(--m3-surface-lowest); color: var(--m3-on-surface); }
html.m3 .b2b-add { border-radius: 999px; border-color: var(--m3-outline); color: var(--m3-primary-dim); background: transparent; }
html.m3 .b2b-add:hover { background: var(--m3-hover); }
html.m3 .b2b-cart { overflow: hidden; }
html.m3 .b2b-cart-h { background: var(--m3-primary); color: var(--m3-on-primary); }
html.m3 .b2b-ci, html.m3 .b2b-cart-foot { border-color: var(--m3-outline-variant); }
html.m3 .b2b-quick { border: 0; background: var(--m3-surface-low); border-radius: 16px; }
html.m3 .b2b-quick-toggle { color: var(--m3-primary-dim); min-height: 48px; }
html.m3 .b2b-quick-toggle.open { border-bottom-color: var(--m3-outline-variant); }
html.m3 .b2b-quick-sec { color: var(--m3-on-surface); }
html.m3 .b2b-quick-tbl th, html.m3 .b2b-quick-tbl td { border-color: var(--m3-outline-variant); }
html.m3 .b2b-quick-tbl th small { color: var(--m3-on-surface-variant); }
html.m3 .b2b-quick-un { color: var(--m3-on-surface-variant); }
html.m3 .b2b-quick-match, html.m3 .b2b-quick-add, html.m3 .b2b-quick-ai, html.m3 .b2b-quick-file { min-height: 40px; }
html.m3 .b2b-light--green { background: var(--m3-primary); }
html.m3 .b2b-hoverzoom { border: 0; border-radius: 12px; box-shadow: var(--m3-e3); }
html.m3 .b2b-lightbox img { border-radius: 12px; }

/* ── 8. 문의·회사소개·블로그·용기·업체정보 ──────────────────── */
html.m3 .page-hero { background: transparent; padding: calc(var(--header-height, 108px) + 48px) 0 40px; }
html.m3 .page-hero__label, html.m3 .kth-eyebrow, html.m3 .kth-page-header__eyebrow, html.m3 .section__label { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--m3-primary-dim); margin-bottom: 8px; }
html.m3 .page-hero__title, html.m3 .kth-page-header__title, html.m3 .kth-title, html.m3 .section__title { font-size: 28px; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
html.m3 .kth-title--lg { font-size: 28px; }
html.m3 .page-hero__desc, html.m3 .kth-page-header__desc, html.m3 .kth-lead, html.m3 .section__desc { font-size: 15px; line-height: 1.7; color: var(--m3-on-surface-variant); }
html.m3 .kth-page-header { background: transparent; border-bottom: 0; padding: 0 0 8px; margin-bottom: 16px; }
html.m3 main > .kth-page-header:first-child { padding-top: calc(var(--header-height, 108px) + 32px); }
html.m3 main > .kth-container:first-child { padding-top: calc(var(--header-height, 108px) + 24px); }
html.m3 .kth-section--dark, html.m3 .section--dark { background: var(--m3-inverse-surface); color: var(--m3-inverse-on-surface); }
html.m3 .kth-section--dark h1, html.m3 .kth-section--dark h2, html.m3 .kth-section--dark h3, html.m3 .kth-section--dark h4, html.m3 .section--dark h2, html.m3 .section--dark h3 { color: var(--m3-inverse-on-surface); }
html.m3 .kth-section--dark p, html.m3 .kth-section--dark .kth-text-2, html.m3 .kth-section--dark .kth-lead, html.m3 .section--dark p { color: var(--m3-inverse-on-surface); opacity: .85; }
html.m3 .kth-section--dark .kth-eyebrow { color: #9DF5B5; }
html.m3 .kth-section--brand, html.m3 .cta-section, html.m3 .highlight-box { background: var(--m3-primary); color: var(--m3-on-primary); }
html.m3 .kth-section--brand h1, html.m3 .kth-section--brand h2, html.m3 .cta-section h2, html.m3 .highlight-box h2 { color: var(--m3-on-primary); }
html.m3 .kth-section--brand p, html.m3 .cta-section p, html.m3 .highlight-box p { color: var(--m3-on-primary); opacity: .92; }
html.m3 .kth-section--brand .kth-eyebrow { color: var(--m3-on-primary); opacity: .85; }
html.m3 .cta-section .btn--primary { background: #fff; color: var(--m3-primary-dim); border: 0; }
html.m3 .cta-section .btn--outline { border-color: rgba(255,255,255,.75); color: #fff; }
html.m3 .stats__item h3 { color: var(--m3-primary-dim); }
html.m3 .process__step::before { color: var(--m3-primary); opacity: .5; }
html.m3 .kth-text-muted, html.m3 .kth-text-2 { color: var(--m3-on-surface-variant); }
html.m3 .kth-cat-tab { border: 1px solid var(--m3-outline-variant); background: transparent; color: var(--m3-on-surface-variant); border-radius: 999px; min-height: 40px; padding: 0 16px; font-size: 14px; font-weight: 500; }
html.m3 .kth-cat-tab:hover { border-color: var(--m3-outline); color: var(--m3-on-surface); background: var(--m3-hover); }
html.m3 .kth-cat-tab.active { background: var(--m3-secondary-container); color: var(--m3-on-secondary-container); border-color: transparent; font-weight: 600; }
html.m3 .kth-cat-tab__cnt { opacity: 1; font-size: 12px; }
html.m3 .kth-filter-bar { padding: 12px 16px; gap: 8px; }
html.m3 .kth-filter-bar .kth-input, html.m3 .kth-filter-bar .kth-select { min-height: 44px; }
html.m3 .kth-filter-bar .kth-btn { min-height: 44px; }
html.m3 .kth-product-card { overflow: hidden; }
html.m3 .kth-product-card__img, html.m3 .kth-product-card__img-empty { border-bottom: 0; background: var(--m3-surface-low); }
html.m3 .kth-product-card__code { background: var(--m3-secondary-container); color: var(--m3-on-secondary-container); border-radius: 999px; padding: 2px 9px; font-size: 11px; letter-spacing: 0; }
html.m3 .kth-product-card__series { color: var(--m3-on-surface-variant); font-size: 12px; }
html.m3 .kth-product-card__name { font-size: 14px; font-weight: 600; }
html.m3 .kth-product-card__price { color: var(--m3-on-surface); font-weight: 700; }
html.m3 .kth-product-card__price small { color: var(--m3-on-surface-variant); }
html.m3 .kth-spec-table th { width: 120px; }
html.m3 .kth-pagination a, html.m3 .kth-pagination span, html.m3 .pagination__link { border: 0; border-radius: 999px; min-width: 40px; min-height: 40px; background: transparent; color: var(--m3-on-surface-variant); font-size: 14px; font-weight: 500; }
html.m3 .kth-pagination a:hover, html.m3 .pagination__link:hover { background: var(--m3-hover); color: var(--m3-on-surface); }
html.m3 .kth-pagination .active, html.m3 .pagination__link--active { background: var(--m3-secondary-container); color: var(--m3-on-secondary-container); font-weight: 600; }
html.m3 .product-card { overflow: hidden; }
html.m3 .product-card__image { background: var(--m3-surface-low); }
html.m3 .shop-tabs { border-bottom: 0; padding-bottom: 0; }
html.m3 .shop-tabs__item { border-radius: 999px; color: var(--m3-on-surface-variant); }
html.m3 .shop-tabs__item.active { background: var(--m3-secondary-container); color: var(--m3-on-secondary-container); }
html.m3 .blog-chip { min-height: 40px; padding: 0 16px; border: 1px solid var(--m3-outline-variant); background: transparent; color: var(--m3-on-surface-variant); font-size: 14px; font-weight: 500; }
html.m3 .blog-chip:hover { background: var(--m3-hover); color: var(--m3-on-surface); border-color: var(--m3-outline); }
html.m3 .blog-chip.is-on { background: var(--m3-secondary-container); color: var(--m3-on-secondary-container); border-color: transparent; font-weight: 600; }
html.m3 .blog-card__cat { color: var(--m3-primary-dim); }
html.m3 .blog-card__title { color: var(--m3-on-surface); }
html.m3 .blog-card__excerpt, html.m3 .blog-card__date { color: var(--m3-on-surface-variant); }
html.m3 .blog-post-body h2, html.m3 .blog-post-body h3 { color: var(--m3-on-surface); }
html.m3 .blog-nav { border-top-color: var(--m3-outline-variant); }
html.m3 .blog-nav a { border: 1px solid var(--m3-outline-variant); border-radius: 12px; color: var(--m3-on-surface); font-size: 14px; }
html.m3 .blog-nav a:hover { border-color: var(--m3-outline); background: var(--m3-hover); }
html.m3 .nf-wrap { max-width: 640px; margin: 0 auto; padding: calc(var(--header-height, 108px) + 56px) 20px 72px; text-align: center; }
html.m3 .nf-code { font-size: 64px; font-weight: 800; line-height: 1; color: var(--m3-primary); }
html.m3 .nf-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ── 9. 페이지 레이아웃·모바일 ────────────────────────────── */
html.m3 .reg-wrap { margin: calc(var(--header-height, 108px) + 40px) auto 72px; }
html.m3 .ve-wrap { margin: calc(var(--header-height, 108px) + 40px) auto 64px; }
html.m3 .auth-wrap { padding-top: calc(var(--header-height, 108px) + 40px); }
html.m3 .bo-wrap { margin-top: 24px; }
html.m3 .flash { border-radius: 12px; }
@media (max-width: 768px) {
  html.m3 .auth-card, html.m3 .reg-card, html.m3 .ve-card { padding: 24px 20px 22px; border-radius: 20px; }
  html.m3 .auth-wrap { padding: calc(var(--header-height, 68px) + 20px) 16px 40px; }
  html.m3 .reg-wrap, html.m3 .ve-wrap { margin: calc(var(--header-height, 68px) + 20px) auto 48px; }
  html.m3 .mp-card { padding: 20px 16px; }
  html.m3 .page-hero { padding: calc(var(--header-height, 68px) + 28px) 0 24px; }
  html.m3 .page-hero__title, html.m3 .kth-page-header__title, html.m3 .kth-title, html.m3 .kth-title--lg, html.m3 .section__title { font-size: 22px; }
  html.m3 main > .kth-page-header:first-child { padding-top: calc(var(--header-height, 68px) + 20px); }
  html.m3 main > .kth-container:first-child { padding-top: calc(var(--header-height, 68px) + 16px); }
  html.m3 .auth-field input, html.m3 .auth-field select, html.m3 .reg-field input, html.m3 .reg-field select, html.m3 .reg-inrow input, html.m3 .mp-field input, html.m3 .mp-field select,
  html.m3 .form__input, html.m3 .form__select, html.m3 .form__textarea, html.m3 .kth-input, html.m3 .kth-select, html.m3 .kth-textarea, html.m3 #quickText, html.m3 .b2b-search { font-size: 16px; }
  html.m3 .btn--primary, html.m3 .btn--outline, html.m3 .kth-btn, html.m3 .mp-btn, html.m3 .cart-btn, html.m3 .ve-btn, html.m3 .pricing-btn, html.m3 .bo-doc, html.m3 .ord-blank-btn, html.m3 .cart-gate-btn, html.m3 .nf-btn, html.m3 .nf-btn--ghost { min-height: 44px; }
  html.m3 .mp-nav { gap: 4px; }
  html.m3 .mp-nav button, html.m3 .mp-nav .mp-nav-go, html.m3 .mp-nav .mp-nav-logout { width: auto; flex: none; white-space: nowrap; }
  html.m3 .mp-grid { gap: 12px; }
  html.m3 .ordt-row { border: 0; border-radius: 16px; box-shadow: var(--m3-e1); background: var(--m3-surface-lowest); padding: 14px 16px; }
  html.m3 .ordt-row.is-open { border-radius: 16px 16px 0 0; }
  html.m3 .ordt-detail.open > td { border: 0; border-radius: 0 0 16px 16px; box-shadow: var(--m3-e1); background: var(--m3-surface-low); margin-bottom: 12px; }
  html.m3 .ordt-row td::before, html.m3 .ord-items td[data-l]::before, html.m3 .ordt-row .ordt-qo::before { font-size: 11px; color: var(--m3-on-surface-variant); }
  html.m3 .cart-done-btns { flex-direction: column; }
  html.m3 .b2b-cart { border-radius: 20px 20px 0 0; box-shadow: var(--m3-e3); }
  html.m3 .kth-filter-bar { padding: 12px; }
  html.m3 .kth-filter-bar .kth-input { flex: 1 1 100%; min-width: 0; }
  html.m3 .kth-filter-bar .kth-select { flex: 1 1 calc(50% - 4px); min-width: 0; }
  html.m3 .kth-filter-bar .kth-btn { flex: 1 1 100%; }
  html.m3 .kth-cat-tabs { gap: 6px; }
  html.m3 .kth-cat-tab { min-height: 36px; padding: 0 12px; font-size: 14px; }
  html.m3 .nf-wrap { padding: calc(var(--header-height, 68px) + 40px) 16px 56px; }
  html.m3 .nf-code { font-size: 56px; }
}

/* ── 10. 검수 보정(2026-11-08 모바일 검사) ───────────────────── */
html.m3 .kth-product-card__code, html.m3 .kth-product-card__price small, html.m3 .kth-product-card__meta .kth-text-muted { font-size: 12px; }
html.m3 .tool-card__badge { font-size: 11px; }
html.m3 .b2b-exp-lb, html.m3 .b2b-clear { color: var(--m3-on-surface-variant); }
html.m3 .b2b-clear { font-size: 12px; }
html.m3 .b2b-exp-ask { color: var(--m3-primary-dim); font-weight: 600; }
html.m3 .auth-foot a, html.m3 .reg-foot a, html.m3 .mp-link { display: inline-block; padding: 8px 4px; margin: -8px -4px; }
html.m3 .b2b-add { height: 36px; min-width: 40px; }
@media (max-width: 768px) {
  html.m3 .kth-cat-tab { min-height: 40px; }
  html.m3 .b2b-chip, html.m3 .b2b-qsort button, html.m3 .b2b-viewtoggle button { min-height: 36px; }
}

/* ── 11. Shop(B2B 카탈로그 /shop/) 보정 (2026-11-08) ──────────── */
html.m3 { --m3-warn-container: #FFE2A8; --m3-on-warn-container: #4E3A00; }
html.m3[data-theme="dark"], html.m3 [data-theme="dark"] { --m3-warn-container: #5C4200; --m3-on-warn-container: #FFE2A8; }
html.m3 .kth-badge--warn { background: var(--m3-warn-container); color: var(--m3-on-warn-container); }
html.m3 .kth-badge--danger { background: var(--m3-error-container); color: var(--m3-on-error-container); }
html.m3 .kth-badge--new { background: var(--m3-primary); color: var(--m3-on-primary); }
html.m3 .kth-product-card__price--ask, html.m3 .kth-product-card__old { color: var(--m3-on-surface-variant); }
html.m3 .shop-catalog-card:hover { transform: translateY(-1px); }
html.m3 .pd-order { border: 0; background: var(--m3-surface-low); }
html.m3 .pd-thumb.is-on { border-color: var(--m3-primary); }
html.m3 .pd-actions .kth-btn { min-height: 48px; }
@media (max-width: 768px) {
  html.m3 .pd-actions .kth-btn { min-height: 44px; }
}
@media (max-width: 768px) {
  html.m3 .shop-filter .kth-select { flex: 1 1 100%; }
}

/* ── 12. 아이디·비밀번호 찾기 (2026-11-08) ───────────────────── */
html.m3 .auth-tabs a { border-color: var(--m3-outline-variant); color: var(--m3-on-surface-variant); border-radius: 999px; }
html.m3 .auth-tabs a:hover { background: var(--m3-hover); color: var(--m3-on-surface); }
html.m3 .auth-tabs a.is-on { background: var(--m3-secondary-container); color: var(--m3-on-secondary-container); border-color: transparent; }
html.m3 .auth-success { background: var(--m3-secondary-container); color: var(--m3-on-secondary-container); border-radius: 12px; padding: 14px 18px; font-size: 14px; line-height: 1.7; }
html.m3 .auth-success b { color: var(--m3-primary-dim); }
html.m3 .auth-found li { border-top-color: var(--m3-outline-variant); font-size: 15px; }
html.m3 .auth-found li span { color: var(--m3-on-surface-variant); font-size: 14px; }
html.m3 .auth-foot__sep { color: var(--m3-outline); }
html.m3 .auth-head p b { color: var(--m3-on-surface); }

/* ── 13. 헤더 가로 100% (2026-11-08, 사용자 요청) ──────────── */
html.m3 .header__inner { max-width: none; }
