/* ============================================================
   LDL MOUNT — Brand Design System v1.0
   l-mount.co.kr
   ============================================================ */

/* 1. Brand Tokens */
:root {
  --teal:     #00A099;
  --teal-dk:  #008f88;
  --charcoal: #3D3939;
  --surface:  #F5F5F5;
  --gray:     #8C8C8C;
  --black:    #1A1A1A;
  --white:    #FFFFFF;

  --font-display: 'Barlow Condensed', 'Noto Sans KR', sans-serif;
  --font-body:    'Noto Sans KR', sans-serif;

  --nav-h:  64px;
  --max-w:  1200px;
  --gut:    24px;
  --ease:   0.18s ease;
  --radius: 0px;
}

/* 2. Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; }

/* 3. Layout */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gut);
}

/* 4. Typography */
.eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--teal);
  flex-shrink: 0;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--charcoal);
}

/* 5. Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: all var(--ease);
  white-space: nowrap;
}
.btn--teal   { background: var(--teal);     color: var(--white);    border-color: var(--teal); }
.btn--teal:hover { background: var(--teal-dk); border-color: var(--teal-dk); }
.btn--dark   { background: var(--charcoal); color: var(--white);    border-color: var(--charcoal); }
.btn--dark:hover { background: var(--black); border-color: var(--black); }
.btn--outline { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn--outline:hover { background: var(--charcoal); color: var(--white); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn--outline-light:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

/* 6. Navigation */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gut);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 16px;
}
.logo__img {
  height: 40px;
  width: auto;
  display: block;
}
.logo__img--footer {
  height: 48px;
  /* 푸터는 어두운 배경이므로 흰색으로 보정 */
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.nav__menu {
  display: flex;
  align-items: center;
  margin-left: auto;
}
.nav__menu a {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
  transition: color var(--ease);
  white-space: nowrap;
}
.nav__menu a:hover { color: var(--teal); }
.nav__cta { margin-left: 12px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  transition: all var(--ease);
}

/* Mobile nav drawer */
.nav__drawer {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  padding: 16px 0;
  z-index: 199;
}
.nav__drawer.open { display: block; }
.nav__drawer a {
  display: block;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--charcoal);
  border-bottom: 1px solid var(--surface);
}
.nav__drawer a:hover { color: var(--teal); }
.nav__drawer .btn { margin: 16px 24px 8px; display: block; text-align: center; }

/* 7. Hero */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  background: var(--charcoal);
  color: var(--white);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero__bg-text {
  position: absolute;
  right: -20px;
  bottom: -20px;
  font-family: var(--font-display);
  font-size: min(280px, 28vw);
  font-weight: 900;
  color: rgba(255,255,255,0.025);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}
.hero__corner {
  position: absolute;
  width: 48px;
  height: 48px;
  border-color: var(--teal);
  border-style: solid;
  opacity: 0.5;
}
.hero__corner--tl { top: calc(var(--nav-h) + 32px); left: var(--gut); border-width: 2px 0 0 2px; }
.hero__corner--br { bottom: 32px; right: var(--gut); border-width: 0 2px 2px 0; }

.hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px var(--gut);
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero__eyebrow { margin-bottom: 28px; }
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(68px, 11vw, 140px);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 36px;
}
.hero__headline em {
  font-style: normal;
  color: var(--teal);
}
.hero__sub {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  max-width: 480px;
  line-height: 1.8;
  margin-bottom: 44px;
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* 8. Solutions Bar */
.solutions {
  background: var(--white);
  padding: 64px 0;
}
.solutions__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.solutions__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.sol-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 10px;
  background: var(--surface);
  border: 1.5px solid transparent;
  transition: all var(--ease);
  text-align: center;
}
.sol-card:hover {
  border-color: var(--teal);
  background: rgba(0,160,153,0.04);
}
.sol-card:hover .sol-card__icon { background: var(--teal); }
.sol-card__icon {
  width: 44px;
  height: 44px;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--ease);
}
.sol-card__icon svg { width: 22px; height: 22px; }
.sol-card__name {
  font-size: 12px;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.3;
}

/* 9. Best Sellers */
.bestsellers {
  padding: 80px 0;
  background: var(--surface);
}
.bestsellers__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 16px;
}
.view-all {
  font-size: 13px;
  font-weight: 500;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--ease);
}
.view-all:hover { gap: 10px; }

.tab-bar {
  display: flex;
  border-bottom: 1.5px solid rgba(0,0,0,0.08);
  margin-bottom: 28px;
}
.tab-btn {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1.5px;
  transition: all var(--ease);
}
.tab-btn.active, .tab-btn:hover {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.product-card {
  background: var(--white);
  border: 1.5px solid rgba(0,0,0,0.06);
  transition: all var(--ease);
}
.product-card:hover {
  border-color: var(--teal);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.product-card__img {
  aspect-ratio: 1 / 1;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
}
.img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  padding: 24px;
}
.img-placeholder svg { width: 48px; height: 48px; opacity: 0.2; }
.img-placeholder span { font-size: 11px; color: var(--gray); text-align: center; }

.product-card__body { padding: 16px 18px 18px; }
.product-card__code {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 5px;
}
.product-card__name {
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.4;
  margin-bottom: 10px;
  min-height: 40px;
}
.product-card__price {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 14px;
}
.product-card__price span {
  font-size: 13px;
  font-weight: 400;
  color: var(--gray);
  margin-left: 2px;
}
.product-card__btn {
  display: block;
  width: 100%;
  padding: 10px 0;
  background: var(--charcoal);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  border: 2px solid var(--charcoal);
  transition: all var(--ease);
}
.product-card__btn:hover {
  background: var(--teal);
  border-color: var(--teal);
}

/* 10. Trust */
.trust {
  background: var(--black);
  padding: 72px 0;
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust__item {
  padding: 24px 40px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.trust__item:last-child { border-right: none; }
.trust__number {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 900;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 6px;
}
.trust__desc {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
}

/* 11. B2B Banner */
.b2b {
  background: var(--charcoal);
  padding: 80px 0;
  overflow: hidden;
  position: relative;
}
.b2b__watermark {
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 220px;
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  pointer-events: none;
  line-height: 1;
  letter-spacing: -0.04em;
}
.b2b__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gut);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  z-index: 1;
}
.b2b__left { flex: 1; }
.b2b__eyebrow { margin-bottom: 16px; }
.b2b__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 24px;
}
.b2b__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
}
.b2b__feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
}
.b2b__feature::before {
  content: '';
  display: block;
  width: 18px;
  height: 2px;
  background: var(--teal);
  flex-shrink: 0;
}
.b2b__right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

/* 12. Footer */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 56px 0 32px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand .logo { margin-bottom: 14px; }
.footer__brand p {
  font-size: 12px;
  line-height: 1.85;
  color: rgba(255,255,255,0.3);
}
.footer__col h4 {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  transition: color var(--ease);
}
.footer__col a:hover { color: var(--teal); }
/* 사업자 정보 (2026-09-12 배치5)
   전자상거래법 표기 의무이자, 기업 구매담당이 견적을 넣기 전에 실제로 확인하는 항목이다.
   푸터 링크와 저작권 줄 사이에 둔다. */
.footer__biz {
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 12px;
  line-height: 1.9;
  color: rgba(255,255,255,0.34);
}
.footer__biz b {
  display: block;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  margin-bottom: 5px;
  letter-spacing: .01em;
}
.footer__biz span { white-space: nowrap; }
.footer__biz .sep { color: rgba(255,255,255,0.18); margin: 0 8px; }
.footer__biz a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.16); }
.footer__biz a:hover { color: var(--teal); border-bottom-color: var(--teal); }
.footer__biz + .footer__bottom { border-top: 0; padding-top: 18px; }
@media (max-width: 640px){
  .footer__biz .sep { display: none; }
  .footer__biz span { display: block; white-space: normal; }
}

.footer__bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.footer__copy {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
}
.footer__tagline {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.15);
}

/* 13. Inner Page Shared */
.page-wrap { padding-top: var(--nav-h); min-height: 100vh; }

.inner-hero {
  background: var(--charcoal);
  padding: 48px 0 40px;
  color: var(--white);
}
.inner-hero__eyebrow { color: var(--teal); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 12px; }
.inner-hero__title { font-family: var(--font-display); font-size: clamp(28px, 5vw, 52px); font-weight: 900; text-transform: uppercase; line-height: 1; color: var(--white); margin-bottom: 10px; }
.inner-hero__sub { font-size: 14px; font-weight: 300; color: rgba(255,255,255,.5); }

.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255,255,255,.4); margin-bottom: 20px; }
.breadcrumb a { color: rgba(255,255,255,.4); transition: color var(--ease); }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb span { color: rgba(255,255,255,.2); }

.page-section { padding: 60px 0; }
.page-section--gray { background: var(--surface); }
.page-section--white { background: var(--white); }
.page-section--dark { background: var(--black); }

/* Wizard Page */
.wz-page { background: var(--surface); min-height: calc(100vh - var(--nav-h)); display: flex; align-items: center; justify-content: center; padding: 48px var(--gut); }
.wz-card { background: var(--white); max-width: 600px; width: 100%; padding: 36px; box-shadow: 0 4px 40px rgba(0,0,0,.06); }
.wz-progress-track { height: 3px; background: var(--surface); margin-bottom: 32px; }
.wz-progress-bar { height: 3px; background: var(--teal); transition: width .4s ease; }
.wz-step-label { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.wz-question { font-size: 22px; font-weight: 500; color: var(--charcoal); line-height: 1.3; margin-bottom: 6px; }
.wz-sub { font-size: 13px; color: var(--gray); margin-bottom: 24px; }
.wz-opts { display: grid; gap: 10px; margin-bottom: 20px; }
.wz-opts--2 { grid-template-columns: 1fr 1fr; }
.wz-opts--1 { grid-template-columns: 1fr; }
.wz-opt { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--surface); border: 1.5px solid transparent; cursor: pointer; text-align: left; transition: all var(--ease); }
.wz-opt:hover { border-color: var(--teal); background: rgba(0,160,153,.04); }
.wz-opt__icon { width: 42px; height: 42px; background: var(--white); border: 1px solid rgba(0,0,0,.08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wz-opt__icon svg { width: 22px; height: 22px; }
.wz-opt__name { font-size: 14px; font-weight: 500; color: var(--charcoal); }
.wz-opt__desc { font-size: 12px; color: var(--gray); margin-top: 2px; }
.wz-back { background: none; border: none; color: var(--gray); font-size: 13px; cursor: pointer; display: flex; align-items: center; gap: 6px; padding: 0; font-family: var(--font-body); transition: color var(--ease); }
.wz-back:hover { color: var(--charcoal); }

/* Wizard Results */
.wz-result-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; }
.wz-result-desc { font-size: 13px; color: var(--gray); margin-bottom: 20px; }
.wz-prod-card { display: flex; gap: 16px; padding: 16px; border: 1.5px solid rgba(0,0,0,.07); margin-bottom: 10px; cursor: pointer; transition: all var(--ease); background: var(--white); }
.wz-prod-card.best { border-color: var(--teal); }
.wz-prod-card:hover { border-color: var(--teal); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.wz-prod-img { width: 72px; height: 72px; background: var(--surface); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.wz-prod-img svg { width: 32px; height: 32px; opacity: .3; }
.wz-prod-badge { display: inline-block; font-size: 10px; font-weight: 600; padding: 2px 8px; background: var(--teal); color: var(--white); margin-bottom: 4px; }
.wz-prod-code { font-size: 10px; font-weight: 600; letter-spacing: .1em; color: var(--teal); text-transform: uppercase; margin-bottom: 3px; }
.wz-prod-name { font-size: 14px; font-weight: 500; color: var(--charcoal); margin-bottom: 4px; }
.wz-prod-specs { font-size: 12px; color: var(--gray); margin-bottom: 6px; }
.wz-prod-price { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--charcoal); }
.wz-result-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }

/* Products Page */
.products-layout { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; }
.filter-sidebar { position: sticky; top: calc(var(--nav-h) + 20px); }
.filter-hd { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1.5px solid var(--charcoal); margin-bottom: 4px; }
.filter-hd h3 { font-family: var(--font-display); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--charcoal); }
.filter-reset { font-size: 12px; color: var(--teal); background: none; border: none; cursor: pointer; padding: 0; display: none; font-family: var(--font-body); }
.filter-reset.vis { display: block; }
.filter-group { border-bottom: 1px solid var(--surface); }
.filter-group-btn { display: flex; align-items: center; justify-content: space-between; width: 100%; background: none; border: none; padding: 10px 0; cursor: pointer; font-family: var(--font-body); }
.filter-group-btn-l { display: flex; align-items: center; gap: 7px; }
.filter-group-name { font-size: 12px; font-weight: 500; color: var(--charcoal); }
.filter-group-badge { font-size: 9px; padding: 1px 6px; background: var(--teal); color: var(--white); border-radius: 10px; }
.filter-group-icon { font-size: 12px; color: var(--gray); transition: transform .2s; }
.filter-group-icon.open { transform: rotate(180deg); }
.filter-body { padding-bottom: 8px; display: none; }
.filter-body.open { display: block; }
.filter-opt { display: flex; align-items: center; justify-content: space-between; padding: 4px 2px; cursor: pointer; }
.filter-opt-l { display: flex; align-items: center; gap: 8px; }
.fchk { width: 15px; height: 15px; border: 1.5px solid rgba(0,0,0,.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all .15s; }
.fchk.on { background: var(--teal); border-color: var(--teal); }
.fchk.on::after { content: ''; display: block; width: 8px; height: 5px; border: 1.5px solid #fff; border-top: none; border-right: none; transform: rotate(-45deg); margin-bottom: 1px; }
.filter-opt-name { font-size: 12px; color: var(--gray); }
.filter-opt-ct { font-size: 11px; color: var(--gray); opacity: .6; }
.filter-colors { display: flex; gap: 8px; padding: 6px 0 10px; }
.filter-color { display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; }
.filter-color-dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid transparent; transition: border-color .15s; }
.filter-color-dot.on { border-color: var(--teal); }
.filter-color-name { font-size: 10px; color: var(--gray); }

.products-main h2 { font-family: var(--font-display); font-size: 28px; font-weight: 700; text-transform: uppercase; color: var(--charcoal); margin-bottom: 16px; }
.products-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; flex-wrap: wrap; gap: 10px; }
.products-count { font-size: 13px; color: var(--gray); }
.products-count b { color: var(--charcoal); }
.chips-row { display: flex; flex-wrap: wrap; gap: 6px; min-height: 24px; margin-bottom: 12px; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px 3px 12px; background: rgba(0,160,153,.08); border: 1px solid rgba(0,160,153,.3); font-size: 11px; color: var(--teal); }
.chip button { background: none; border: none; color: var(--teal); cursor: pointer; padding: 0; font-size: 14px; line-height: 1; opacity: .7; }
.chip button:hover { opacity: 1; }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.prod-card { background: var(--white); border: 1.5px solid rgba(0,0,0,.07); transition: all var(--ease); }
.prod-card:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.prod-card__img { aspect-ratio: 1; background: var(--surface); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.prod-card__img img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.prod-card__img svg { width: 48px; height: 48px; opacity: .15; }
.prod-card__compare { position: absolute; bottom: 8px; right: 8px; font-size: 10px; padding: 4px 8px; background: rgba(255,255,255,.9); border: 1px solid rgba(0,0,0,.1); cursor: pointer; opacity: 0; transition: opacity var(--ease); font-family: var(--font-body); color: var(--charcoal); }
.prod-card:hover .prod-card__compare { opacity: 1; }
.prod-card__body { padding: 14px 16px; }
.prod-card__code { font-size: 10px; font-weight: 600; letter-spacing: .1em; color: var(--teal); text-transform: uppercase; margin-bottom: 4px; }
.prod-card__name { font-size: 13px; font-weight: 500; color: var(--charcoal); margin-bottom: 8px; line-height: 1.35; min-height: 36px; }
.prod-card__tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 10px; }
.prod-card__tag { font-size: 10px; padding: 2px 7px; background: var(--surface); color: var(--gray); }
.prod-card__price { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--charcoal); margin-bottom: 10px; }
.prod-card__btn { display: block; width: 100%; padding: 9px 0; background: var(--charcoal); color: var(--white); font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-align: center; border: 2px solid var(--charcoal); transition: all var(--ease); }
.prod-card__btn:hover { background: var(--teal); border-color: var(--teal); }
.no-products { grid-column: 1/-1; text-align: center; padding: 48px 0; color: var(--gray); }

/* Product Detail */
.detail-top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 48px 0; align-items: start; }
.detail-gallery { position: sticky; top: calc(var(--nav-h) + 20px); }
.gallery-main { aspect-ratio: 1; background: var(--surface); display: flex; align-items: center; justify-content: center; margin-bottom: 10px; overflow: hidden; position: relative; }
.gallery-main svg { width: 80px; height: 80px; opacity: .15; }
.gallery-badge { position: absolute; top: 12px; left: 12px; font-family: var(--font-display); font-size: 12px; font-weight: 700; padding: 3px 10px; background: #E24B4A; color: var(--white); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gallery-thumb { aspect-ratio: 1; background: var(--surface); display: flex; align-items: center; justify-content: center; cursor: pointer; border: 2px solid transparent; transition: border-color var(--ease); }
.gallery-thumb.active { border-color: var(--teal); }
.gallery-thumb svg { width: 24px; height: 24px; opacity: .25; }
.detail-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.detail-stars { color: #F5A623; font-size: 14px; }
.detail-rating-text { font-size: 12px; color: var(--gray); }
.detail-name { font-size: 20px; font-weight: 500; color: var(--charcoal); line-height: 1.35; margin-bottom: 12px; }
.detail-price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.detail-price { font-family: var(--font-display); font-size: 28px; font-weight: 800; color: var(--teal); }
.detail-price-ori { font-size: 14px; color: var(--gray); text-decoration: line-through; }
.detail-price-disc { font-size: 12px; font-weight: 600; color: #E24B4A; }
.detail-divider { height: 1px; background: var(--surface); margin: 16px 0; }
.option-label { font-size: 11px; font-weight: 600; color: var(--gray); letter-spacing: .08em; margin-bottom: 8px; }
.color-opts { display: flex; gap: 10px; margin-bottom: 16px; }
.color-opt { display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; }
.color-dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid transparent; transition: border-color var(--ease); }
.color-dot.active { border-color: var(--teal); }
.qty-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.qty-stepper { display: flex; align-items: center; border: 1.5px solid rgba(0,0,0,.12); }
.qty-btn { width: 32px; height: 32px; background: none; border: none; cursor: pointer; font-size: 16px; color: var(--charcoal); transition: background var(--ease); }
.qty-btn:hover { background: var(--surface); }
.qty-num { width: 40px; text-align: center; font-size: 14px; font-weight: 500; }
.cart-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-bottom: 8px; }
.spec-chips-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.spec-chip { font-size: 11px; padding: 3px 10px; background: var(--surface); color: var(--gray); }
.b2b-link-small { font-size: 12px; color: var(--gray); text-align: center; margin-top: 8px; cursor: pointer; transition: color var(--ease); text-decoration: none; display: block; }
.b2b-link-small:hover { color: var(--teal); }
.detail-tabs { display: flex; border-bottom: 2px solid var(--surface); margin-bottom: 0; }
.detail-tab { padding: 12px 20px; font-size: 13px; font-weight: 500; color: var(--gray); background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -2px; cursor: pointer; font-family: var(--font-body); transition: all var(--ease); white-space: nowrap; }
.detail-tab.active { color: var(--teal); border-bottom-color: var(--teal); }
.tab-content { display: none; padding: 28px 0; }
.tab-content.active { display: block; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table td { padding: 10px 14px; border-bottom: 1px solid var(--surface); font-size: 13px; }
.spec-table td:first-child { color: var(--gray); width: 38%; font-size: 12px; }
.spec-table td:last-child { color: var(--charcoal); font-weight: 500; }
.spec-table tr:hover td { background: rgba(0,160,153,.03); }
.spec-group td { background: var(--surface); font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--gray); padding: 8px 14px; }
.compat-box { background: var(--surface); padding: 24px; margin-top: 24px; }
.compat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.compat-field label { font-size: 11px; font-weight: 600; color: var(--gray); display: block; margin-bottom: 6px; letter-spacing: .05em; }
.compat-field select { width: 100%; padding: 9px 12px; border: 1px solid rgba(0,0,0,.12); font-size: 13px; color: var(--charcoal); background: var(--white); font-family: var(--font-body); }
.compat-result { padding: 14px 16px; margin-top: 12px; display: flex; align-items: flex-start; gap: 12px; display: none; }
.compat-result.ok { background: rgba(0,160,153,.06); border-left: 3px solid var(--teal); display: flex; }
.compat-result.ng { background: rgba(226,75,74,.05); border-left: 3px solid #E24B4A; display: flex; }

/* Comparison Page */
.comp-table { width: 100%; overflow-x: auto; }
/* 2026-09-13: 비교 상품이 1~3개로 달라지므로 열 수를 JS가 --comp-n 으로 정한다.
   (예전엔 3열 고정이라 2개만 담아도 빈 칸이 남았다) */
/* AI 상품 찾기 입력 아래 안내 (2026-09-13)
   국내 TV 모델명은 규격 자료가 거의 안 잡힌다(실측 4건 중 0건). 모니터는 2건 중 2건 성공.
   되지 않는 것을 되는 것처럼 두지 않고 그대로 알린다. */
.ai-hint { font-size: 12px; line-height: 1.75; color: var(--gray); margin-top: 8px; }
.ai-hint b { color: var(--charcoal); font-weight: 600; }

.comp-row { display: grid; grid-template-columns: 150px repeat(var(--comp-n, 3), 1fr); border-bottom: 1px solid var(--surface); }
.comp-cell-head { position: relative; }
.cmp-remove { position: absolute; top: 6px; right: 8px; width: 22px; height: 22px; line-height: 1;
  background: none; border: 1px solid rgba(0,0,0,.12); color: var(--gray); font-size: 14px;
  cursor: pointer; font-family: var(--font-body); }
.cmp-remove:hover { border-color: #E24B4A; color: #E24B4A; }
.cmp-na { color: rgba(0,0,0,.28); font-size: 12px; }
.cmp-yes { color: var(--teal); font-weight: 500; }
.cmp-no { color: var(--gray); }
.cmp-raw { font-size: 11px; line-height: 1.75; color: var(--gray); word-break: keep-all; }
.cmp-price { font-size: 15px; font-weight: 500; }
.cmp-empty { padding: 56px 20px; text-align: center; }
.cmp-empty__t { font-size: 16px; font-weight: 500; color: var(--charcoal); margin-bottom: 8px; }
.cmp-empty__s { font-size: 13px; color: var(--gray); line-height: 1.8; margin-bottom: 22px; }
.cmp-empty__b { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 640px){
  .comp-row { grid-template-columns: 92px repeat(var(--comp-n, 3), minmax(120px, 1fr)); }
  .comp-table { overflow-x: auto; }
}
.comp-row:hover { background: rgba(0,160,153,.02); }
.comp-head-row { border-bottom: 2px solid var(--charcoal); }
.comp-sec-row { background: var(--surface); }
.comp-cell { padding: 11px 14px; font-size: 13px; }
.comp-cell-label { font-size: 12px; color: var(--gray); }
.comp-cell-head { padding: 16px 14px; }
.comp-sec-cell { font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--gray); padding: 8px 14px; }
.comp-cell.best { color: var(--teal); font-weight: 600; background: rgba(0,160,153,.04); }
.comp-prod-code { font-size: 10px; font-weight: 600; letter-spacing: .1em; color: var(--teal); text-transform: uppercase; margin-bottom: 4px; }
.comp-prod-name { font-size: 13px; font-weight: 500; color: var(--charcoal); line-height: 1.3; margin-bottom: 10px; }
.comp-prod-price { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 10px; }

/* B2B Page */
.b2b-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.b2b-benefit { padding: 20px; background: var(--white); border: 1px solid rgba(0,0,0,.06); }
.b2b-benefit__icon { width: 40px; height: 40px; background: rgba(0,160,153,.08); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.b2b-benefit__icon svg { width: 22px; height: 22px; }
.b2b-process { display: flex; position: relative; padding: 8px 0; }
.b2b-process::before { content: ''; position: absolute; top: 24px; left: 24px; right: 24px; height: 1px; background: rgba(0,0,0,.1); }
.b2b-step { flex: 1; text-align: center; position: relative; z-index: 1; }
.b2b-step__num { width: 32px; height: 32px; border-radius: 50%; background: var(--charcoal); color: var(--white); font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }
.b2b-step__name { font-size: 12px; font-weight: 500; color: var(--charcoal); margin-bottom: 4px; }
.b2b-step__desc { font-size: 11px; color: var(--gray); line-height: 1.4; }
.tier-table { width: 100%; border-collapse: collapse; }
.tier-table th { font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--gray); padding: 10px 16px; border-bottom: 2px solid var(--charcoal); text-align: left; text-transform: uppercase; }
.tier-table td { font-size: 13px; padding: 12px 16px; border-bottom: 1px solid var(--surface); color: var(--charcoal); }
.tier-table tr:hover td { background: rgba(0,160,153,.03); }
.tier-discount { color: var(--teal); font-weight: 600; }
.b2b-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.b2b-field { display: flex; flex-direction: column; gap: 6px; }
.b2b-field.full { grid-column: 1/-1; }
.b2b-label { font-size: 11px; font-weight: 600; color: var(--gray); letter-spacing: .05em; }
.b2b-label .req { color: var(--teal); margin-left: 2px; }
.b2b-input { padding: 10px 14px; border: 1.5px solid rgba(0,0,0,.1); font-size: 13px; color: var(--charcoal); background: var(--white); width: 100%; box-sizing: border-box; font-family: var(--font-body); transition: border-color var(--ease); }
.b2b-input:focus { outline: none; border-color: var(--teal); }
/* 2026-09-12: 표시 가격 기준을 상품목록에서도 밝힌다 (상세페이지엔 이미 있었다) */
.products-vatnote { font-size: 12px; color: var(--gray); white-space: nowrap; }
@media (max-width: 640px){ .products-vatnote { white-space: normal; font-size: 11px; } }

.prod-req-row { display: grid; grid-template-columns: minmax(0,1fr) 90px 36px; gap: 8px; margin-bottom: 8px; align-items: center; }
/* 2026-09-12: 1fr 은 select 의 min-content(가장 긴 옵션 글자 길이)보다 작아지지 않아
   390px 화면에서 견적 폼 상품 행이 가로로 59~120px 튀어나왔다. minmax(0,1fr) +
   min-width:0 + text-overflow 으로 칸 안에서 줄어들게 한다. */
.prod-req-row select { min-width: 0; max-width: 100%; text-overflow: ellipsis; }
/* [hidden] 의 UA 기본값(display:none)은 작성자 스타일 display:grid 에 밀린다.
   숨긴 상품 행이 그대로 보이는 것을 막기 위해 명시한다. */
.prod-req-row[hidden] { display: none; }
.send-fail { display: none; text-align: center; padding: 32px; }
.send-fail svg { width: 44px; height: 44px; stroke: #E24B4A; margin: 0 auto 14px; }
.prod-req-row select, .prod-req-row input { padding: 9px 12px; border: 1.5px solid rgba(0,0,0,.1); font-size: 12px; color: var(--charcoal); background: var(--white); font-family: var(--font-body); }
.prod-req-row input { text-align: center; }
.prod-req-remove { width: 36px; height: 36px; background: none; border: 1.5px solid rgba(0,0,0,.1); cursor: pointer; color: var(--gray); font-size: 16px; transition: all var(--ease); }
.prod-req-remove:hover { border-color: #E24B4A; color: #E24B4A; }
.prod-req-add { width: 100%; padding: 9px 0; background: none; border: 1.5px dashed rgba(0,160,153,.4); font-size: 12px; color: var(--teal); cursor: pointer; font-family: var(--font-body); margin-bottom: 16px; transition: all var(--ease); }
.prod-req-add:hover { background: rgba(0,160,153,.04); border-style: solid; }
.form-checks { display: flex; gap: 20px; margin-bottom: 16px; flex-wrap: wrap; }
.form-check { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--gray); cursor: pointer; }
.form-check input { accent-color: var(--teal); }
.faq-list { border-top: 1px solid rgba(0,0,0,.08); }
.faq-item { border-bottom: 1px solid rgba(0,0,0,.08); }
.faq-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 16px 0; background: none; border: none; cursor: pointer; text-align: left; font-family: var(--font-body); gap: 16px; }
.faq-q { font-size: 14px; font-weight: 500; color: var(--charcoal); line-height: 1.3; }
.faq-icon { font-size: 14px; color: var(--gray); transition: transform .2s; flex-shrink: 0; }
.faq-icon.open { transform: rotate(180deg); }
.faq-a { padding-bottom: 16px; font-size: 13px; color: var(--gray); line-height: 1.8; display: none; }
.faq-a.open { display: block; }

/* 13. Responsive */
@media (max-width: 900px) {
  .nav__menu  { display: none; }
  .nav__cta   { display: none; }
  .hamburger  { display: flex; }

  .solutions__grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid    { grid-template-columns: repeat(2, 1fr); }

  .trust__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .trust__grid { grid-template-columns: 1fr; }
  .trust__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); padding: 28px 24px; }
  .trust__item:last-child { border-bottom: none; }

  .b2b__inner     { flex-direction: column; }
  .b2b__right     { flex-direction: row; }

  .footer__top    { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }

  /* Product detail gallery — stack image above info instead of squeezing into a 2-col grid */
  .detail-top     { grid-template-columns: 1fr; gap: 24px; padding: 28px 0; }
  .detail-gallery { position: static; }

  /* Products listing — drop the fixed 220px sidebar column, stack filters above results */
  .products-layout { grid-template-columns: 1fr; gap: 20px; }
  .filter-sidebar   { position: static; }
  .products-grid    { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .hero__corner { display: none; }
  .hero__bg-text { display: none; }
  .hero__ctas { flex-direction: column; }

  .solutions__grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid    { grid-template-columns: 1fr; }

  .b2b__right { flex-direction: column; }
  .footer__top { grid-template-columns: 1fr; }

  /* Narrow phones — single column for product listing grid too */
  .products-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Inner Page — Shared Styles
   ============================================================ */

.page-hero {
  padding: calc(var(--nav-h) + 48px) 0 48px;
  background: var(--charcoal);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(255,255,255,0.06);
}
.page-hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gut);
}
.page-hero__label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.page-hero__label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--teal);
}
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 7vw, 72px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.9;
  margin-bottom: 16px;
  color: var(--white);
}
.page-hero__title em { color: var(--teal); font-style: normal; }
.page-hero__sub {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 480px;
}

/* Page content wrapper */
.page-content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px var(--gut);
}

/* Section utility */
.s-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.s-label::before { content: ''; display: block; width: 20px; height: 2px; background: var(--teal); }

/* Card shared */
.card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  transition: all var(--ease);
}
.card:hover { border-color: var(--teal); }

/* Teal text utility */
.t-teal { color: var(--teal); }

/* A-2 (2026-09-19): 상단 메뉴 — 검색창 · 주문 조회 · 장바구니.
   순서: 로고 | 검색 | 상품 카테고리 · AI 상품 찾기 · 솔루션별 찾기 · B2B 기업구매 | 주문 조회 · 장바구니 | 견적 요청
   되돌리기: 이 블록 삭제. 마크업은 build-products.js 의 syncNavUtils 가 넣는다. */
.nav__search {
  display: flex; align-items: center;
  width: 210px; height: 38px; flex-shrink: 0;
  border: 1.5px solid rgba(61,57,57,0.25);
  background: var(--white);
  transition: border-color var(--ease);
}
.nav__search:focus-within { border-color: var(--teal); }
.nav__search input {
  flex: 1; min-width: 0; height: 100%;
  padding: 0 4px 0 12px;
  border: 0; outline: none; background: transparent;
  font-family: inherit; font-size: 13px; color: var(--charcoal);
  -webkit-appearance: none; appearance: none;
}
.nav__search input::placeholder { color: var(--gray); }
.nav__search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.nav__search button {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 100%; flex-shrink: 0;
  border: 0; background: none; color: var(--charcoal); cursor: pointer;
  transition: color var(--ease);
}
.nav__search button:hover { color: var(--teal); }
.nav__search svg { width: 17px; height: 17px; display: block; }
.nav__utils { display: flex; align-items: center; gap: 2px; margin-left: 8px; flex-shrink: 0; }
.nav__util {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; flex-shrink: 0;
  color: var(--charcoal);
  transition: color var(--ease);
}
.nav__util:hover { color: var(--teal); }
.nav__util svg { width: 20px; height: 20px; display: block; }
.nav__util--search { display: none; }   /* 넓은 화면에서는 입력창이 대신한다 */
.nav__cart-count {
  position: absolute; top: 3px; right: 0;
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 8px;
  background: var(--teal); color: #fff;
  font-size: 10px; font-weight: 700; line-height: 16px; text-align: center;
}
.nav__cart-count[hidden] { display: none; }
/* 회원 아이콘(자료실 3단계, 2026-09-30) — shop.js 가 members.enabled 일 때만 넣는다. 로그인 중이면 청록 점 */
.nav__member-dot { position: absolute; top: 8px; right: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 2px #fff; }
.nav__member-dot[hidden] { display: none; }
/* 기존 결함: 모바일 메뉴의 청록 버튼 글자가 .nav__drawer a 색(짙은 회색)에 덮여 잘 안 보였다 */
.nav__drawer .btn--teal { color: var(--white); }
/* 자리가 모자라는 폭: 입력창을 아이콘으로 접고, 아이콘은 오른쪽 묶음 앞으로 보낸다 */
@media (max-width: 1180px) {
  .nav__search { display: none; }
  .nav__util--search { display: flex; order: 2; margin-left: 8px; }
  .nav__utils { order: 3; margin-left: 0; }
  .nav__cta { order: 4; }
  .hamburger { order: 5; }
}
@media (max-width: 900px) {
  .nav__util--search { margin-left: auto; }
  .nav__util--order { display: none; }   /* 모바일에서는 메뉴(드로어) 안에 글자로 있다 */
  .hamburger { margin-left: 2px; }
}

/* B단계 (2026-09-19) — 상세페이지 모바일. 되돌리기: 이 블록 삭제 */
/* B-1: 탭이 5개라 좁은 화면에서 페이지 전체가 옆으로 밀렸다 → 탭 줄만 좌우로 넘긴다 */
.detail-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.detail-tabs::-webkit-scrollbar { display: none; }
.detail-tab { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 600px) {
  .detail-tab { padding: 12px 13px; }
}

/* B-4: 모바일 하단 고정 구매 바 (900px 이하에서만). .on 은 상세페이지 스크립트가 붙인다 */
.buybar { display: none; }
@media (max-width: 900px) {
  .buybar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
    display: flex; align-items: center; gap: 8px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--white);
    border-top: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 -6px 20px rgba(0,0,0,0.08);
    transform: translateY(110%);
    transition: transform .22s ease;
    visibility: hidden;
  }
  .buybar.on { transform: translateY(0); visibility: visible; }
  .buybar__info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
  .buybar__code { font-size: 10px; font-weight: 700; letter-spacing: .12em; color: var(--gray); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buybar__price { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--teal); white-space: nowrap; }
  .buybar__cart {
    flex: 0 0 46px; height: 46px;
    display: flex; align-items: center; justify-content: center;
    background: var(--white); color: var(--charcoal);
    border: 1.5px solid var(--charcoal); cursor: pointer;
  }
  .buybar__main { flex: 0 0 auto; height: 46px; padding: 0 22px; justify-content: center; white-space: nowrap; }
  body.ldl-buybar-on #ldl-cart-badge { display: none !important; }   /* 자리 겹침 — 상단 장바구니 아이콘이 대신한다 */
  body.ldl-buybar-on #ldl-toast { bottom: calc(80px + env(safe-area-inset-bottom, 0px)) !important; }

  /* B-5: 가격·구매 버튼을 위로 — 빈 다크 띠 축소(인라인 스타일이라 !important), 썸네일은 한 줄 가로 넘김 */
  #page-wrap > div:first-child { padding-top: 10px !important; }
  .detail-top { padding-top: 16px; gap: 18px; }
  .detail-top > * { min-width: 0; }   /* 격자 칸이 내용물(가로로 긴 썸네일 줄)만큼 넓어지지 않게 — 이게 없으면 페이지가 옆으로 밀린다 */
  .gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 2px; }
  .gallery-thumbs::-webkit-scrollbar { display: none; }
  .gallery-thumb { flex: 0 0 64px; width: 64px; }
}

/* B-6: 상품 목록 카드 — 가격 옆 후기 요약, 「상세보기」 옆 담기 버튼(구매 가능 상품만) */
.prod-card__pricerow { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.prod-card__pricerow .prod-card__price { margin-bottom: 0; }
.prod-card__rv { font-size: 12px; color: var(--gray); white-space: nowrap; }
.prod-card__actions { display: flex; gap: 6px; align-items: stretch; }
.prod-card__actions .prod-card__btn { flex: 1; width: auto; }
.prod-card__cartbtn {
  flex: 0 0 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); color: var(--charcoal);
  border: 1.5px solid var(--charcoal); cursor: pointer;
  transition: all var(--ease);
}
.prod-card__cartbtn[hidden] { display: none; }
.prod-card__cartbtn:hover { background: var(--teal); border-color: var(--teal); color: var(--white); }

/* C-비교 (2026-09-19): 비교 버튼을 항상 보이게 + 화면 아래 비교 트레이. 되돌리기: 이 블록 삭제 */
.cmpbox { display: inline-block; width: 14px; height: 14px; flex-shrink: 0; border: 1.5px solid currentColor; background: var(--white); position: relative; }
.on > .cmpbox { background: var(--teal); border-color: var(--teal); }
.on > .cmpbox::after { content: ""; position: absolute; left: 3.5px; top: 0.5px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
/* 목록 카드: 예전에는 10px 글자에 마우스를 올려야만 보였다(모바일에서는 영영 안 보임) */
.prod-card__compare {
  top: 8px; left: 8px; right: auto; bottom: auto;
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 32px; padding: 0 10px;
  font-family: inherit; font-size: 12px; font-weight: 600; color: var(--charcoal);
  background: rgba(255,255,255,.96); border: 1.5px solid rgba(0,0,0,.18);
  opacity: 1; cursor: pointer; z-index: 2;
  transition: border-color var(--ease), color var(--ease), background var(--ease);
}
.prod-card__compare.hidden { display: inline-flex; }
.prod-card__compare:hover { border-color: var(--teal); color: var(--teal); }
.prod-card__compare.on { background: var(--teal); border-color: var(--teal); color: var(--white); }
.prod-card__compare.on > .cmpbox { background: var(--white); border-color: var(--white); }
.prod-card__compare.on > .cmpbox::after { border-color: var(--teal); }
.prod-card.is-compared { outline: 2px solid var(--teal); outline-offset: -2px; }
/* 상세페이지 */
.detail-cmpbtn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 40px; margin-top: 14px; padding: 0 12px;
  font-family: inherit; font-size: 12.5px; font-weight: 500; color: var(--charcoal);
  background: var(--white); border: 1.5px solid rgba(0,0,0,.15); cursor: pointer;
  transition: border-color var(--ease), color var(--ease);
}
.detail-cmpbtn:hover { border-color: var(--teal); color: var(--teal); }
.detail-cmpbtn.on { border-color: var(--teal); color: var(--teal); background: rgba(0,160,153,.06); }
/* 자료실 6단계 (2026-09-30): 상세페이지 「제품 설명서」 버튼 */
.detail-manualbtn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 40px; margin-top: 8px; padding: 0 12px;
  font-size: 12.5px; font-weight: 500; color: var(--charcoal); text-decoration: none;
  background: var(--white); border: 1.5px solid rgba(0,0,0,.15);
  transition: border-color var(--ease), color var(--ease);
}
.detail-manualbtn:hover { border-color: var(--teal); color: var(--teal); }
.detail-manualbtn svg { flex-shrink: 0; color: var(--teal); }
.detail-manualbtn small { font-size: 11px; color: var(--gray); font-weight: 400; }
/* 위저드의 예전 떠 있는 버튼은 트레이가 대신한다 */
.compare-float { display: none !important; }

/* 비교 트레이 */
.cmptray {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 160;
  background: var(--white); border-top: 2px solid var(--teal);
  box-shadow: 0 -8px 28px rgba(0,0,0,.12);
  transform: translateY(110%); visibility: hidden;
  transition: transform .24s ease, visibility .24s;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.cmptray.on { transform: translateY(0); visibility: visible; }
.cmptray__inner { position: relative; max-width: var(--max-w); margin: 0 auto; padding: 12px var(--gut); display: flex; align-items: center; gap: 16px; }
.cmptray__title { display: flex; flex-direction: column; line-height: 1.3; flex-shrink: 0; }
.cmptray__title b { font-size: 14px; color: var(--charcoal); }
.cmptray__title span { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--teal); }
.cmptray__slots { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cmptray__slot { position: relative; height: 60px; display: flex; align-items: center; gap: 10px; padding: 6px 30px 6px 6px; min-width: 0; }
.cmptray__slot.filled { border: 1.5px solid var(--teal); background: rgba(0,160,153,.04); }
.cmptray__slot.empty { border: 1.5px dashed rgba(0,0,0,.22); justify-content: center; padding: 6px; font-size: 11px; line-height: 1.35; color: var(--gray); text-align: center; }
.cmptray__thumb { flex: 0 0 46px; height: 46px; background: var(--surface); display: block; }
.cmptray__thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.cmptray__noimg { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-size: 9px; font-weight: 700; color: var(--gray); text-align: center; word-break: break-all; line-height: 1.1; }
.cmptray__code { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--charcoal); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.cmptray__x { position: absolute; top: 3px; right: 3px; width: 24px; height: 24px; border: 0; background: none; font-size: 18px; line-height: 1; color: var(--gray); cursor: pointer; }
.cmptray__x:hover { color: #E24B4A; }
.cmptray__side { display: flex; flex-direction: column; align-items: stretch; gap: 4px; flex-shrink: 0; }
.cmptray__go { height: 42px; padding: 0 22px; justify-content: center; white-space: nowrap; }
.cmptray__go.wait { background: rgba(0,0,0,.12); border-color: transparent; color: var(--gray); cursor: default; }
.cmptray__clear { border: 0; background: none; font-family: inherit; font-size: 11px; color: var(--gray); text-decoration: underline; cursor: pointer; padding: 2px; }
.cmptray__msg { position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%); background: var(--charcoal); color: #fff; font-size: 12.5px; padding: 9px 14px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; }
.cmptray__msg.on { opacity: 1; }
@keyframes ldl-cmp-shake { 0%,100% { transform: translateX(0); } 20%,60% { transform: translateX(-7px); } 40%,80% { transform: translateX(7px); } }
.cmptray.on.shake .cmptray__inner { animation: ldl-cmp-shake .4s; }
body.ldl-cmp-on { padding-bottom: 86px; }
body.ldl-cmp-on #ldl-cart-badge { display: none !important; }   /* 자리 겹침 — 상단 장바구니 아이콘이 대신한다 */
body.ldl-cmp-on #ldl-toast { bottom: calc(100px + env(safe-area-inset-bottom, 0px)) !important; }
@media (max-width: 700px) {
  .cmptray__inner { gap: 8px; padding: 8px 12px; }
  .cmptray__title { display: none; }
  .cmptray__slots { gap: 6px; }
  .cmptray__slot { height: 52px; padding: 4px 20px 4px 4px; gap: 6px; }
  .cmptray__thumb { flex-basis: 40px; height: 40px; }
  .cmptray__code { display: none; }   /* 칸이 좁아 「APL-…」가 「A」로 잘렸다(아이폰 실기기 확인) → 모바일은 사진만 */
  .cmptray__slot.filled { justify-content: center; padding: 4px 18px 4px 4px; }
  .cmptray__slot.empty { font-size: 10px; }
  .cmptray__x { width: 20px; height: 20px; font-size: 16px; top: 1px; right: 1px; }
  .cmptray__go { height: 40px; padding: 0 12px; font-size: 12px; }
  body.ldl-cmp-on { padding-bottom: 72px; }
}
/* 상세페이지 모바일: 하단 구매 바와 겹치므로 작은 알림으로 줄인다 */
@media (max-width: 900px) {
  body.ldl-detail .cmptray {
    left: 12px; right: auto; bottom: 12px; border: 0; background: none; box-shadow: none; padding: 0;
    transition: transform .24s ease, visibility .24s, bottom .22s ease;
  }
  body.ldl-detail.ldl-buybar-on .cmptray { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
  body.ldl-detail .cmptray__inner { padding: 0; gap: 0; }
  body.ldl-detail .cmptray__title, body.ldl-detail .cmptray__slots, body.ldl-detail .cmptray__clear { display: none; }
  body.ldl-detail .cmptray__go { height: 40px; padding: 0 16px; font-size: 12.5px; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
  body.ldl-detail.ldl-cmp-on { padding-bottom: 0; }
  body.ldl-detail.ldl-cmp-on #ldl-cart-badge { display: flex !important; }
  body.ldl-detail.ldl-buybar-on #ldl-cart-badge { display: none !important; }
}

/* ── E-3 (2026-09-19): 목록 [더 보기] ── */
.list-more { display: flex; justify-content: center; margin-top: 28px; }
.list-more[hidden] { display: none; }
.list-more__btn { min-width: 260px; padding: 14px 28px; font-size: 14px; }
.list-more__ct { opacity: .6; font-weight: 400; margin-left: 6px; }
@media (max-width: 600px) { .list-more__btn { width: 100%; } }
