/* ============================================================================
   v4/css/b2b.css — LG·삼성 B2B(사업자 구매) 화면 전용 스타일 · 2026-11-22
   ----------------------------------------------------------------------------
   · v4/b2b.php 에서만 읽습니다. 다른 페이지의 모양은 건드리지 않습니다.
   · 톤은 가전 목록(appliance-list.css)과 맞췄습니다: #111 제목 / #444 본문 /
     #8a8f98 보조 / 테두리 #e9ebee / 라운드 14px.
   ========================================================================== */

/* 1. 브랜드 탭 — appliance-list.css 의 .v4-tab 은 <button> 기준이라
      링크(<a>)에도 같은 모양이 나오도록 최소한만 보정합니다. */
.v4-cat .v4-tabs { display: flex; flex-wrap: wrap; }
.v4-cat .v4-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  line-height: 1;
}
.v4-cat .v4-tab em {
  font-style: normal;
  font-size: 12.5px;
  font-weight: 700;
  color: #8a8f98;
}
.v4-cat .v4-tab.is-active em { color: #fff; opacity: .82; }

/* 2. 필수 안내 문구 */
.b2b-notice {
  margin: 0 0 14px;
  padding: 14px 18px;
  border: 1px solid #e9ebee;
  border-left: 3px solid #ea1917;
  border-radius: 12px;
  background: #fbfbfc;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #111;
  word-break: keep-all;
}

/* 3. '구매 전 꼭 확인하세요' 펼침 안내 */
.b2b-info {
  margin: 0 0 22px;
  border: 1px solid #e9ebee;
  border-radius: 14px;
  background: #fff;
}
.b2b-info > summary {
  cursor: pointer;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 700;
  color: #111;
  list-style: none;
}
.b2b-info > summary::-webkit-details-marker { display: none; }
.b2b-info > summary::after {
  content: "＋";
  float: right;
  font-weight: 700;
  color: #8a8f98;
}
.b2b-info[open] > summary::after { content: "－"; }
.b2b-info > .b2b-info__body { padding: 0 18px 16px; }
.b2b-info > .b2b-info__body p {
  margin: 0 0 8px;
  font-size: 13.5px;
  line-height: 1.7;
  color: #444;
  word-break: keep-all;
}
.b2b-info > .b2b-info__body p:last-child { margin-bottom: 0; }
.b2b-info .b2b-info__notice {
  font-size: 14.5px;
  font-weight: 700;
  color: #111;
}

/* 4. 개수 줄 */
.vf-bar--b2b {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  background: transparent;
}
.vf-bar--b2b .vf-count { margin: 0; font-size: 14px; color: #444; }
.vf-bar--b2b .vf-count strong { color: #111; font-weight: 800; }

/* 5. 상품 상세 */
.b2b-detail { margin: 6px 0 0; }
.b2b-detail__back {
  display: inline-block;
  margin: 0 0 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: #444;
  text-decoration: none;
}
.b2b-detail__back:hover { color: #111; }
.b2b-detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding: 24px;
  border: 1px solid #e9ebee;
  border-radius: 16px;
  background: #fff;
}
.b2b-detail__media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding: 18px;
  border: 1px solid #f4f5f7;
  border-radius: 14px;
  background: #fff;
}
.b2b-detail__media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.b2b-detail__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: #8a8f98;
}
.b2b-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0;
}
.b2b-detail__name {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -0.04em;
  color: #111;
  word-break: keep-all;
}
.b2b-detail__model { margin: 0 0 18px; font-size: 13px; color: #8a8f98; }
.b2b-detail__price {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 0 18px;
  border-top: 1px solid #f1f2f4;
  border-bottom: 1px solid #f1f2f4;
}
.b2b-detail__price-label { font-size: 12px; font-weight: 700; color: #8a8f98; }
.b2b-detail__price-num {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: #111;
}
.b2b-detail__price-num em {
  margin-left: 3px;
  font-style: normal;
  font-size: 15px;
  font-weight: 700;
  color: #444;
}
.b2b-detail__price-cond {
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.55;
  color: #8a8f98;
  word-break: keep-all;
}
.b2b-detail__acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 16px; }
.b2b-detail__acts > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid #e3e5e9;
  border-radius: 12px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  color: #111;
  text-decoration: none;
}
.b2b-detail__acts > a:hover { border-color: #111; }
.b2b-detail__acts > a.is-solid {
  flex: 1 1 auto;
  border-color: #111;
  background: #111;
  color: #fff;
}
.b2b-detail__note {
  padding: 14px 16px;
  border: 1px solid #e9ebee;
  border-radius: 12px;
  background: #fafbfc;
}
.b2b-detail__note strong {
  display: block;
  margin-bottom: 6px;
  font-size: 13.5px;
  font-weight: 800;
  color: #111;
}
.b2b-detail__note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: #444;
  word-break: keep-all;
}

/* 6. 사업자 구매 절차 */
.b2b-guide {
  margin: 34px 0 8px;
  padding: 22px 24px;
  border: 1px solid #e9ebee;
  border-radius: 16px;
  background: #fbfbfc;
}
.b2b-guide h2 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111;
}
.b2b-guide ol { margin: 0; padding-left: 18px; }
.b2b-guide li {
  margin: 0 0 6px;
  font-size: 13.5px;
  line-height: 1.7;
  color: #444;
  word-break: keep-all;
}
.b2b-guide li strong { color: #111; font-weight: 700; }

/* 7. 좁은 화면 — 가로 스크롤 0 */
@media (max-width: 900px) {
  .b2b-detail__grid { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 16px; }
  .b2b-detail__name { font-size: 22px; }
  .b2b-detail__price-num { font-size: 28px; }
}
@media (max-width: 560px) {
  .v4-cat .v4-tab { flex: 1 1 0; min-width: 0; height: 44px; padding: 0 10px; font-size: 13.5px; }
  .b2b-notice { padding: 12px 14px; font-size: 13.5px; }
  .b2b-info > summary { padding: 12px 14px; font-size: 13px; }
  .b2b-info > .b2b-info__body { padding: 0 14px 14px; }
  .b2b-detail__acts > a { flex: 1 1 100%; min-height: 44px; }
  .b2b-guide { padding: 16px 14px; }
  .b2b-guide h2 { font-size: 16px; }
}
