/* === OnlyTren SINGLE PRODUCT B-LAYOUT (STICKY BUY CARD) === */
html:has(body.single-product),
body.single-product,
body.single-product #ot-terminal-main,
body.single-product #ot-page-wrap {
  overflow-x: clip !important;
  overflow-y: visible !important;
}

body.single-product #ot-sp-b-wrap {
  --bg: #0C0E12;
  --panel: #14171D;
  --raise: #1A1E26;
  --line: #242934;
  --line2: #323847;
  --text: #EEF0F4;
  --mute: #8F97A6;
  --dim: #5F6776;
  --gold: #E9B949;
  --gold-d: #C99A2E;
  --ok: #5BD6A0;
  --err: #FF5A5F;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 14px 0 80px;
  color: var(--text);
  box-sizing: border-box;
  line-height: 1.55;
}
body.single-product #ot-sp-b-wrap * { box-sizing: border-box; }

/* 브레드크럼 */
body.single-product .otb-crumb {
  font-size: 13px;
  color: var(--dim);
  margin-bottom: 22px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.single-product .otb-crumb a { color: var(--mute); text-decoration: none; }
body.single-product .otb-crumb a:hover { color: var(--text); }
body.single-product .otb-crumb i { margin: 0 8px; font-style: normal; opacity: 0.5; }

/* B시안 2컬럼 그리드 (align-items: start 필수 for sticky) */
body.single-product .otb-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 44px;
  align-items: start;
}

/* 좌측 화이트 스튜디오 스테이지 */
body.single-product .otb-stage {
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  background: #FFFFFF;
  border: 1px solid var(--line2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.42);
}
body.single-product .otb-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.4s cubic-bezier(.2,.7,.2,1);
}
body.single-product .otb-stage:hover img { transform: scale(1.035); }

body.single-product .otb-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
body.single-product .otb-tbtn {
  width: 56px;
  height: 56px;
  padding: 4px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
}
body.single-product .otb-tbtn.is-active { border-color: var(--gold); }
body.single-product .otb-tbtn img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* 좌측 상품 타이틀 & 3열 핵심 스펙 */
body.single-product .otb-title-block { margin-top: 26px; }
body.single-product .otb-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
body.single-product .otb-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--raise);
  border: 1px solid var(--line);
  color: var(--mute);
}
body.single-product .otb-chip.stock {
  color: var(--ok);
  background: rgba(91, 214, 160, 0.09);
  border-color: rgba(91, 214, 160, 0.28);
}
body.single-product .otb-chip.stock::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
}
body.single-product .otb-chip.out {
  color: var(--err);
  background: rgba(255, 90, 95, 0.1);
  border-color: rgba(255, 90, 95, 0.3);
}
body.single-product .otb-title-block h1 {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.16;
  color: var(--text);
  margin: 0;
}
body.single-product .otb-sub { color: var(--mute); font-size: 15px; margin: 8px 0 0; }
body.single-product .otb-sku {
  font-size: 12px;
  color: var(--dim);
  margin: 10px 0 0;
  font-variant-numeric: tabular-nums;
}
body.single-product .otb-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 22px 0 0;
  border-block: 1px solid var(--line);
}
body.single-product .otb-facts div { padding: 15px 0; }
body.single-product .otb-facts div + div { padding-left: 18px; border-left: 1px solid var(--line); }
body.single-product .otb-facts dt { font-size: 12px; color: var(--dim); margin-bottom: 4px; }
body.single-product .otb-facts dd { font-size: 14px; font-weight: 700; margin: 0; word-break: keep-all; }

/* 우측 스티키 구매 카드 */
body.single-product .otb-side {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 78px !important;
  z-index: 15;
  background: var(--panel);
  border: 1px solid var(--line2);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}
body.single-product .otb-price { display: flex; align-items: baseline; gap: 10px; }
body.single-product .otb-price strong {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
body.single-product .otb-price span { font-size: 13px; color: var(--mute); }

body.single-product .otb-buy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}
body.single-product .otb-qty {
  grid-column: 1 / -1;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg);
  border: 1px solid var(--line2);
  border-radius: 14px;
  padding: 0 6px;
}
body.single-product .otb-qty .ot-qty-btn {
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  border-radius: 10px;
  font-size: 18px;
  color: var(--mute);
  cursor: pointer;
}
body.single-product .otb-qty .ot-qty-btn:hover { background: var(--raise); color: var(--text); }
body.single-product .otb-qty .ot-qty-input {
  width: 56px;
  height: 38px;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
}
body.single-product .otb-qty .ot-qty-input::-webkit-inner-spin-button,
body.single-product .otb-qty .ot-qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

body.single-product .otb-btn {
  height: 52px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid var(--line2);
  background: transparent;
  color: var(--text);
  transition: 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}
body.single-product .otb-btn:hover { background: var(--raise); }
body.single-product .otb-btn.full { grid-column: 1 / -1; }
body.single-product .otb-btn.main {
  grid-column: 1 / -1;
  background: var(--gold);
  border-color: var(--gold);
  color: #1B1400;
  font-weight: 800;
}
body.single-product .otb-btn.main:hover { background: #F2C660; transform: translateY(-1px); }

body.single-product .otb-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  font-size: 14px;
  color: var(--mute);
}
body.single-product .otb-total b { color: var(--text); font-size: 17px; font-variant-numeric: tabular-nums; }

body.single-product .otb-notes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--mute);
}
body.single-product .otb-notes span { display: flex; gap: 8px; align-items: center; }
body.single-product .otb-notes svg { width: 16px; height: 16px; stroke: var(--gold); fill: none; stroke-width: 1.8; flex-shrink: 0; }

/* 정보 세그먼트 탭 */
body.single-product .otb-seg {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  margin: 52px 0 26px;
}
body.single-product .otb-seg button {
  background: none;
  border: 0;
  padding: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
  color: var(--dim);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
}
body.single-product .otb-seg button[aria-selected="true"] {
  color: var(--text);
  border-color: var(--gold);
}
body.single-product .otb-pane[hidden] { display: none; }
body.single-product .otb-lead {
  font-size: 15.5px;
  line-height: 1.8;
  color: #CDD2DB;
  max-width: 72ch;
  margin: 0;
  word-break: keep-all;
}
body.single-product .otb-source-cap { margin-top: 16px; font-size: 12px; color: var(--dim); }

/* === OT-READABILITY === */
/* 1) 빈 요소는 여백조차 만들지 않는다 */
body.single-product .otb-editorial-content p:empty,
body.single-product .otb-editorial-content h1:empty,
body.single-product .otb-editorial-content h2:empty,
body.single-product .otb-editorial-content h3:empty,
body.single-product .otb-editorial-content h4:empty,
body.single-product .otb-editorial-content div:empty,
body.single-product .otb-editorial-content span:empty,
body.single-product .otb-editorial-content strong:empty,
body.single-product .otb-editorial-content li:empty { display: none !important; }

/* 빈 inline 아이콘 잔여물 제거 */
body.single-product .otb-editorial-content strong:not(:has(*)):empty::before { content: none !important; }

/* 2) 리드 문장: 본문과 명확히 분리 */
body.single-product .otb-lead-block {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin: 0 0 24px;
}
body.single-product .otb-lead {
  padding: 0 !important;
  border: 0 !important;
  margin: 0 !important;
}
body.single-product .otb-lead-spec {
  margin: 10px 0 0 !important;
  font-size: 12.5px !important;
  line-height: 1.7 !important;
  color: #7F899E !important;
  font-family: 'Courier New', Consolas, monospace;
  letter-spacing: .2px;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
body.single-product .otb-orig-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 5px 10px;
  font-size: 11.5px;
  color: #E9B949;
  background: transparent;
  border: 1px solid rgba(233, 185, 73, 0.35);
  border-radius: 6px;
  cursor: pointer;
  line-height: 1.3;
}
body.single-product .otb-orig-btn:hover {
  background: rgba(233, 185, 73, 0.12);
}

/* 3) 문단 리듬 */
body.single-product .otb-editorial-content > p,
body.single-product .otb-editorial-content > div > p {
  font-size: 15px;
  line-height: 1.85;
  margin: 0 0 1.05em;
  color: #cbd5e1;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
body.single-product .otb-editorial-content > p:last-child,
body.single-product .otb-editorial-content > div > p:last-child {
  margin-bottom: 0;
}

/* 4) 목록형 문장은 시각적으로 구분 */
body.single-product .otb-editorial-content ul {
  list-style: none;
  margin: 0 0 1.3em;
  padding: 0;
}
body.single-product .otb-editorial-content ul > li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 0.55em;
  font-size: 15px;
  line-height: 1.8;
  color: #cbd5e1;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
body.single-product .otb-editorial-content ul > li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #E9B949;
}

/* 5) 소제목: 구분선 없이 위계만 */
body.single-product .otb-editorial-content h3 {
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #E9B949 !important;
  margin: 1.6em 0 0.7em !important;
  padding: 0 !important;
  border: 0 !important;
  line-height: 1.4;
}
body.single-product .otb-editorial-content h3:first-child { margin-top: 0 !important; }

/* 6) 대괄호 인증 문구: 작게, 각주처럼 */
body.single-product .otb-editorial-content p:has(> strong:empty) {
  font-size: 12.5px;
  color: #7f899e;
  line-height: 1.7;
  margin-top: 1.2em;
}

/* 7) 모바일 최적화 */
@media (max-width: 640px) {
  body.single-product .otb-lead {
    font-size: 14.5px !important;
    line-height: 1.8 !important;
    padding-bottom: 15px !important;
    margin-bottom: 20px !important;
  }
  body.single-product .otb-editorial-content > p,
  body.single-product .otb-editorial-content > div > p,
  body.single-product .otb-editorial-content ul > li {
    font-size: 14.5px !important;
    line-height: 1.9 !important;
  }
  body.single-product .otb-editorial-content {
    margin-top: 18px;
  }
  body.single-product .otb-source-cap {
    margin-top: 14px;
    font-size: 11.5px;
  }
}
/* === OT-READABILITY END === */

/* === OT-SINGLE-EDITORIAL START === */
body.single-product .otb-editorial-content {
  margin-top: 22px;
  color: #cbd5e1;
  max-width: 78ch;
}
body.single-product .otb-editorial-content p {
  font-size: 15.5px;
  line-height: 1.8;
  color: #cbd5e1;
  margin: 0 0 1.5em;
  word-break: break-word;
}
body.single-product .otb-editorial-content h2,
body.single-product .otb-editorial-content h3 {
  color: #fff;
  font-weight: 700;
  margin: 2em 0 0.8em;
  padding-bottom: 0.35em;
  border-bottom: 1px solid #1e293b;
  line-height: 1.35;
}
body.single-product .otb-editorial-content h2 { font-size: 28px; }
body.single-product .otb-editorial-content h3 { font-size: 20px; }
body.single-product .otb-editorial-content h2:first-child,
body.single-product .otb-editorial-content h3:first-child { margin-top: 0; }
body.single-product .otb-editorial-content ul,
body.single-product .otb-editorial-content ol {
  margin: 0 0 1.5em;
  padding-left: 1.4em;
  color: #cbd5e1;
}
body.single-product .otb-editorial-content li { margin-bottom: 0.5em; line-height: 1.75; }
body.single-product .otb-editorial-content strong,
body.single-product .otb-editorial-content b { color: #fff; font-weight: 700; }
body.single-product .otb-editorial-content a { color: var(--gold); text-decoration: underline; }
/* 테이블: 모바일 가로스크롤 (래퍼 없이도 table 자체 스크롤 폴백) */
body.single-product .otb-table-scroll {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 16px 0;
  border-radius: 8px;
}
body.single-product .otb-editorial-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: #0b111e;
  border-radius: 8px;
  overflow: hidden;
}
@media (max-width: 640px) {
  body.single-product .otb-editorial-content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
body.single-product .otb-editorial-content th,
body.single-product .otb-editorial-content td {
  padding: 12px;
  border: 1px solid #1e293b;
  text-align: left;
  font-size: 14px;
  line-height: 1.6;
  color: #cbd5e1;
}
body.single-product .otb-editorial-content th {
  color: #fff;
  font-weight: 700;
  background: #111826;
}
body.single-product .otb-editorial-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: #0b111e;
}

/* === OT-SINGLE-EDITORIAL END === */

body.single-product .otb-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 56px;
  margin: 0;
}
body.single-product .otb-specs div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
body.single-product .otb-specs dt { color: var(--mute); }
body.single-product .otb-specs dd { font-weight: 600; text-align: right; margin: 0; }
body.single-product .otb-specs dd.is-ok { color: var(--ok); }
body.single-product .otb-specs dd.is-out { color: var(--err); }
body.single-product .otb-specs dd.is-mono { font-variant-numeric: tabular-nums; color: var(--gold); }

/* 관련 품목 */
body.single-product .otb-sec-h {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 64px 0 20px;
}
body.single-product .otb-sec-h h2 { font-size: 21px; font-weight: 800; letter-spacing: -0.03em; margin: 0; }
body.single-product .otb-sec-h a { font-size: 13px; color: var(--mute); text-decoration: none; }
body.single-product .otb-rel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

/* 모바일 하단 고정 바 */
body.single-product .otb-mob-bar { display: none; }

@media (max-width: 900px) {
  body.single-product #ot-sp-b-wrap { padding: 10px 0 88px; }
  body.single-product .otb-hero { grid-template-columns: 1fr; gap: 24px; }
  body.single-product .otb-side { position: static !important; padding: 20px; border-radius: 20px; }
  body.single-product .otb-facts { grid-template-columns: 1fr; }
  body.single-product .otb-facts div { padding: 11px 0; }
  body.single-product .otb-facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  body.single-product .otb-rel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  body.single-product .otb-specs { grid-template-columns: 1fr; }
  body.single-product .otb-mob-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    padding: 11px 14px calc(11px + env(safe-area-inset-bottom, 0px));
    background: rgba(12, 14, 18, 0.94);
    backdrop-filter: blur(16px);
    border-top: 1px solid #242934;
  }
  body.single-product .otb-mob-bar .m-info { flex: 1; line-height: 1.2; }
  body.single-product .otb-mob-bar small { font-size: 11px; color: #8F97A6; display: block; }
  body.single-product .otb-mob-bar b { font-size: 18px; font-weight: 800; color: #E9B949; font-variant-numeric: tabular-nums; }
  body.single-product .otb-mob-bar button { height: 46px; border-radius: 12px; font-weight: 800; cursor: pointer; }
  body.single-product .otb-mob-bar .m-cart { padding: 0 14px; background: #1A1E26; border: 1px solid #323847; color: #EEF0F4; font-size: 13px; }
  body.single-product .otb-mob-bar .m-buy { padding: 0 20px; background: #E9B949; border: 0; color: #1B1400; font-size: 14px; }
}

/* === OT-SINGLE-B-FIX START === */
/* [1] 장바구니 버튼 다크 보조 버튼 복구 (바로 주문만 골드 단일화) */
body.single-product #ot-single-buybox #ot-single-add.ot-quick-add,
body.single-product #ot-single-add.otb-btn {
  background: #1A1E26 !important;
  background-image: none !important;
  color: #EEF0F4 !important;
  border: 1px solid #323847 !important;
  box-shadow: none !important;
  font-weight: 700 !important;
}
body.single-product #ot-single-buybox #ot-single-add.ot-quick-add:hover,
body.single-product #ot-single-add.otb-btn:hover {
  background: #222733 !important;
  border-color: #E9B949 !important;
  color: #E9B949 !important;
  transform: none !important;
}

/* [2] 우측 구매 카드 sticky 고정 보장 */
@media (min-width: 901px) {
  body.single-product .otb-hero {
    align-items: start !important;
  }
  body.single-product .otb-side {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 78px !important;
    align-self: start !important;
    z-index: 20 !important;
  }
}

/* [3] 함께 보는 상품 4열 카드 & 배지 간격 & 수량/버튼 스타일 복구 */
body.single-product #ot-related-section .otb-rel-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
  width: 100% !important;
}
body.single-product #ot-related-section .ot-item-card {
  background: #14171D !important;
  border: 1px solid #242934 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  transition: transform 0.2s ease, border-color 0.2s ease !important;
}
body.single-product #ot-related-section .ot-item-card:hover {
  border-color: #323847 !important;
  transform: translateY(-3px) !important;
}
body.single-product #ot-related-section .ot-item-thumb-wrap {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  background: #FFFFFF !important;
  padding: 10px !important;
  overflow: hidden !important;
}
body.single-product #ot-related-section .ot-item-thumb {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}
body.single-product #ot-related-section .ot-item-body {
  padding: 12px 13px 13px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  flex: 1 !important;
}
body.single-product #ot-related-section .ot-item-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 5px !important;
  margin: 0 0 2px !important;
}
body.single-product #ot-related-section .ot-item-sku,
body.single-product #ot-related-section .ot-item-cat,
body.single-product #ot-related-section .ot-form-tag {
  display: inline-block !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  padding: 3px 7px !important;
  border-radius: 5px !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
body.single-product #ot-related-section .ot-item-sku {
  background: #0C0E12 !important;
  border: 1px solid #242934 !important;
  color: #8F97A6 !important;
}
body.single-product #ot-related-section .ot-item-cat {
  background: rgba(233, 185, 73, 0.12) !important;
  border: 1px solid rgba(233, 185, 73, 0.28) !important;
  color: #E9B949 !important;
}
body.single-product #ot-related-section .ot-item-title {
  margin: 0 !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}
body.single-product #ot-related-section .ot-item-title a {
  color: #EEF0F4 !important;
  text-decoration: none !important;
}
body.single-product #ot-related-section .ot-item-sub {
  margin: 0 !important;
  font-size: 11.5px !important;
  color: #6E778A !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
body.single-product #ot-related-section .ot-item-price {
  margin-top: auto !important;
  padding-top: 6px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #E9B949 !important;
  font-variant-numeric: tabular-nums !important;
}
body.single-product #ot-related-section .ot-item-actions {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-top: 6px !important;
}
body.single-product #ot-related-section .ot-qty-box {
  display: inline-flex !important;
  align-items: center !important;
  height: 34px !important;
  background: #0C0E12 !important;
  border: 1px solid #323847 !important;
  border-radius: 9px !important;
  padding: 0 2px !important;
  flex-shrink: 0 !important;
}
body.single-product #ot-related-section .ot-qty-btn {
  width: 24px !important;
  height: 28px !important;
  border: 0 !important;
  background: transparent !important;
  color: #8F97A6 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}
body.single-product #ot-related-section .ot-qty-input {
  width: 26px !important;
  height: 28px !important;
  border: 0 !important;
  background: transparent !important;
  color: #EEF0F4 !important;
  text-align: center !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 0 !important;
  -moz-appearance: textfield !important;
}
body.single-product #ot-related-section .ot-qty-input::-webkit-inner-spin-button,
body.single-product #ot-related-section .ot-qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}
body.single-product #ot-related-section .ot-quick-add {
  flex: 1 !important;
  min-width: 0 !important;
  height: 34px !important;
  background: #E9B949 !important;
  color: #1B1400 !important;
  border: 0 !important;
  border-radius: 9px !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}
body.single-product #ot-related-section .ot-btn-locked.is-out {
  width: 100% !important;
  height: 34px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #1A1E26 !important;
  border: 1px solid #242934 !important;
  border-radius: 9px !important;
  color: #6E778A !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}
@media (max-width: 900px) {
  body.single-product #ot-related-section .otb-rel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
}
/* === OT-SINGLE-B-FIX END === */

/* === OT-SINGLE-OPT-V2 START === */
body.single-product .otb-crumb {
  color: #8F97A6 !important;
  font-size: 12.5px !important;
}
body.single-product .otb-crumb a {
  color: #B4BCCB !important;
}
body.single-product .otb-crumb span:last-child {
  color: #E9B949 !important;
  font-weight: 700 !important;
}

@media (min-width: 901px) {
  body.single-product .otb-hero {
    align-items: start !important;
  }
  body.single-product .otb-side {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 84px !important;
    align-self: start !important;
    z-index: 25 !important;
  }
}

body.single-product .otb-price {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: 6px 10px !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid #242934 !important;
}
body.single-product .otb-price-kicker {
  flex-basis: 100% !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace !important;
  font-size: 10.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  color: #8F97A6 !important;
}
body.single-product .otb-price strong,
body.single-product .otb-price .woocommerce-Price-amount {
  font-size: 32px !important;
  font-weight: 900 !important;
  color: #FFFFFF !important;
  letter-spacing: -0.02em !important;
}

body.single-product #ot-related-section .ot-item-meta {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 5px !important;
  height: 22px !important;
  overflow: hidden !important;
}
body.single-product #ot-related-section .ot-item-sku {
  display: none !important;
}
body.single-product #ot-related-section .ot-item-title {
  min-height: 38px !important;
  max-height: 38px !important;
  line-height: 1.38 !important;
}
body.single-product #ot-related-section .ot-item-price {
  margin-top: auto !important;
  padding-top: 8px !important;
}
body.single-product #ot-related-section .ot-item-actions {
  min-height: 36px !important;
  margin-top: 8px !important;
}

@media (max-width: 900px) {
  body.single-product .otb-side #ot-single-add,
  body.single-product .otb-side #ot-buy-now-btn {
    display: none !important;
  }
  body.single-product .otb-side .otb-buy {
    margin-top: 14px !important;
  }
}
/* === OT-SINGLE-OPT-V2 END === */

/* === OT-SINGLE-DETAIL-GALLERY & VERIFY LINK === */
body.single-product .otb-verify-link {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 6px;
  background: rgba(233, 185, 73, 0.14);
  border: 1px solid rgba(233, 185, 73, 0.35);
  color: #E9B949;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}
body.single-product .otb-verify-link:hover {
  background: #E9B949;
  color: #1B1400;
}

/* === OT-SINGLE-DESIGN-V3 START === */
/* 하단 고정 바와 본문/푸터 겹침 방지 (모든 뷰포트) */
body.single-product {
  padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px)) !important;
}

/* 모바일 하단 고정 바 */
@media (max-width: 640px) {
  body.single-product .otb-mob-bar {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 9999 !important;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* 모바일 구매 패널 빈 여백 압축 */
@media (max-width: 900px) {
  body.single-product .otb-side {
    padding: 16px 18px !important;
  }
  body.single-product .otb-side .otb-buy {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    align-items: center !important;
    margin: 0 !important;
  }
  body.single-product .otb-side .otb-buy .otb-btn {
    flex: 1 1 140px !important;
    width: auto !important;
    margin: 0 !important;
  }
}

/* 에디토리얼 타이포그래피 & 위계 (V3) */
body.single-product .otb-editorial-content h2 {
  font-size: clamp(20px, 2.6vw, 28px) !important;
  font-weight: 800 !important;
  line-height: 1.28 !important;
  letter-spacing: -0.025em !important;
  padding-left: 14px !important;
  border-left: 3px solid #E9B949 !important;
  border-bottom: 1px solid #1E293B !important;
  word-break: keep-all !important;
}
body.single-product .otb-editorial-content h3 {
  position: relative !important;
  font-size: clamp(16px, 2vw, 20px) !important;
  font-weight: 700 !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid #1E293B !important;
  padding-left: 16px !important;
}
body.single-product .otb-editorial-content h3::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0.55em !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #E9B949 !important;
}
body.single-product .otb-editorial-content p {
  font-size: 15.5px !important;
  line-height: 1.8 !important;
  color: #CBD5E1 !important;
  max-width: 72ch !important;
}
@media (max-width: 640px) {
  body.single-product .otb-editorial-content p {
    font-size: 14.5px !important;
    line-height: 1.75 !important;
  }
}

/* 임상/성분 비교 테이블: 프리미엄 스타일 + 좌측 1열 고정 */
body.single-product .otb-editorial-content .otb-table-scroll,
body.single-product .otb-table-scroll {
  background: #0B111E !important;
  border: 1px solid #1E293B !important;
  border-radius: 12px !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
}
body.single-product .otb-editorial-content table {
  border-radius: 12px !important;
}
body.single-product .otb-editorial-content th {
  background: #131C2E !important;
  color: #E9B949 !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em !important;
  padding: 13px 16px !important;
  white-space: nowrap !important;
}
body.single-product .otb-editorial-content td {
  padding: 13px 16px !important;
  color: #E2E8F0 !important;
  border-bottom: 1px solid #1E293B !important;
}
body.single-product .otb-editorial-content th:first-child,
body.single-product .otb-editorial-content td:first-child {
  position: sticky !important;
  left: 0 !important;
  z-index: 2 !important;
  border-right: 1px solid #1E293B !important;
  background: #0E1626 !important;
}
body.single-product .otb-editorial-content th:first-child {
  background: #131C2E !important;
}

/* === OT-GALLERY-SQUARE-CROP === */
/* 2열 균등 그리드 컨테이너 */
html body.single-product #ot-sp-b-wrap .otb-evidence-gallery,
html body.single-product .otb-evidence-gallery {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-auto-rows: auto !important;
  gap: 10px !important;
  margin-top: 20px !important;
}

/* 배경·테두리 없는 1:1 정사각 액자 (is-square / is-wide / is-full 전부 통일) */
html body.single-product #ot-sp-b-wrap .otb-evidence-gallery .otb-detail-fig,
html body.single-product .otb-evidence-gallery .otb-detail-fig,
html body.single-product #ot-sp-b-wrap .otb-evidence-gallery .otb-detail-fig.is-square,
html body.single-product .otb-evidence-gallery .otb-detail-fig.is-square,
html body.single-product #ot-sp-b-wrap .otb-evidence-gallery .otb-detail-fig.is-wide,
html body.single-product .otb-evidence-gallery .otb-detail-fig.is-wide,
html body.single-product #ot-sp-b-wrap .otb-evidence-gallery .otb-detail-fig.is-full,
html body.single-product .otb-evidence-gallery .otb-detail-fig.is-full {
  grid-column: auto !important;
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 1 / 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  cursor: zoom-in !important;
}

/* 액자 내부 빈틈없는 크롭 */
html body.single-product #ot-sp-b-wrap .otb-evidence-gallery .otb-detail-fig img,
html body.single-product .otb-evidence-gallery .otb-detail-fig img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  padding: 0 !important;
  border-radius: 14px !important;
  display: block !important;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

/* 호버 인터랙션 */
html body.single-product #ot-sp-b-wrap .otb-evidence-gallery .otb-detail-fig:hover img,
html body.single-product .otb-evidence-gallery .otb-detail-fig:hover img {
  transform: scale(1.03) !important;
}
/* === OT-GALLERY-SQUARE-CROP END === */

/* === OT-IMAGE-LIGHTBOX === */
.ot-img-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8, 10, 16, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 4vh 3vw;
}
.ot-img-lightbox.is-open {
  display: flex;
}
.ot-img-lightbox .ot-lb-img {
  max-width: 94vw;
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  background: #FFFFFF;
  padding: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65);
  cursor: zoom-out;
}
.ot-img-lightbox .ot-lb-close {
  position: absolute;
  top: max(14px, env(safe-area-inset-top));
  right: max(14px, env(safe-area-inset-right));
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.ot-img-lightbox .ot-lb-close:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
}
.ot-img-lightbox .ot-lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.ot-img-lightbox .ot-lb-nav:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
}
.ot-img-lightbox .ot-lb-prev { left: max(10px, env(safe-area-inset-left)); }
.ot-img-lightbox .ot-lb-next { right: max(10px, env(safe-area-inset-right)); }
.ot-img-lightbox .ot-lb-index {
  position: absolute;
  bottom: max(18px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--ot-font-mono, monospace);
  font-size: 12px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 5px 14px;
}
@media (max-width: 640px) {
  .ot-img-lightbox .ot-lb-nav { width: 40px; height: 40px; font-size: 24px; }
  .ot-img-lightbox .ot-lb-img { padding: 6px; border-radius: 10px; }
}
/* === OT-GALLERY-SMART-V4 END === */
/* === OT-SINGLE-DESIGN-V3 END === */

/* === OT-SINGLE-DESIGN-V3.1 START === */
/* (1) 본문 리포트 제목 과대/위계 붕괴 교정 — 상세 본문 h2/h3/p/li 강제 규격 */
body.single-product .otb-editorial-content h2,
body.single-product #ot-sp-b-wrap .otb-editorial-content h2 {
  font-size: clamp(18px, 4.5vw, 23px) !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  letter-spacing: -0.02em !important;
  color: #F1F5F9 !important;
  margin: 24px 0 12px !important;
  padding-left: 12px !important;
  border-left: 3px solid #E9B949 !important;
  border-bottom: 0 !important;
  word-break: keep-all !important;
}
body.single-product .otb-editorial-content h3,
body.single-product #ot-sp-b-wrap .otb-editorial-content h3 {
  font-size: clamp(15.5px, 3.8vw, 18px) !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  color: #E2E8F0 !important;
  margin: 20px 0 10px !important;
  padding-left: 0 !important;
  padding-bottom: 8px !important;
  border-bottom: 1px solid #1E293B !important;
}
body.single-product .otb-editorial-content h3::before {
  content: none !important;
}
body.single-product .otb-editorial-content p,
body.single-product .otb-editorial-content li,
body.single-product #ot-sp-b-wrap .otb-editorial-content p,
body.single-product #ot-sp-b-wrap .otb-editorial-content li {
  font-size: 14.5px !important;
  line-height: 1.72 !important;
  color: #CBD5E1 !important;
  max-width: none !important;
}
@media (min-width: 901px) {
  body.single-product .otb-editorial-content p,
  body.single-product .otb-editorial-content li {
    font-size: 15.5px !important;
  }
}

/* (2) 푸터 위 거대 빈 공간 제거 + 하단 고정 바 여백 정밀 보정 */
/* 불필요한 min-height:100vh / 과도한 padding-bottom 제거 */
body.single-product #ot-terminal-main,
body.single-product #ot-page-wrap,
body.single-product #ot-sp-b-wrap {
  min-height: 0 !important;
}
body.single-product #ot-sp-b-wrap {
  padding-bottom: 0 !important;
}
/* 관련 상품 섹션 하단 콤팩트 */
body.single-product #ot-related-section {
  margin-bottom: 24px !important;
  padding-bottom: 0 !important;
}
/* 푸터 상단 여백 최소화 */
body.single-product #ot-footer {
  margin-top: 20px !important;
}
/* 모바일에서 고정 구매 바가 저작권 문구를 가리지 않게 푸터 하단에만 여백 */
@media (max-width: 900px) {
  body.single-product #ot-footer {
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important;
  }
}
/* === OT-SINGLE-DESIGN-V3.1 END === */

/* === OT-SINGLE-DESIGN-V3.2 START === */
/* (A) 본문 리포트 제목(h1/h2/h3, 인라인 style 포함) 최고 명시도 강제 — 'Clinical Data' h1 포함 */
html body.single-product .otb-editorial-content h1,
html body.single-product .otb-editorial-content h2,
html body.single-product .otb-editorial-content h3,
html body.single-product .otb-editorial-content [style] h1,
html body.single-product .otb-editorial-content [style] h2,
html body.single-product .otb-editorial-content [style] h3 {
  font-size: clamp(17px, 4.2vw, 21px) !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  letter-spacing: -0.02em !important;
  margin: 20px 0 10px !important;
  color: #F1F5F9 !important;
  word-break: keep-all !important;
  border: 0 !important;
  padding-left: 12px !important;
  border-left: 3px solid #E9B949 !important;
}
html body.single-product .otb-editorial-content p,
html body.single-product .otb-editorial-content li {
  font-size: 14.5px !important;
  line-height: 1.72 !important;
  color: #CBD5E1 !important;
}
@media (min-width: 901px) {
  html body.single-product .otb-editorial-content p,
  html body.single-product .otb-editorial-content li {
    font-size: 15.5px !important;
  }
}

/* (B) 전역 STICKY-FOOTER flex 밀어내기를 상세페이지에서만 해제 */
html body.single-product {
  display: block !important;
  min-height: 0 !important;
  padding-bottom: 0 !important;
}
html body.single-product > main#ot-terminal-main,
html body.single-product > main#ot-page-wrap {
  flex: none !important;
  min-height: 0 !important;
  padding-bottom: 0 !important;
}
html body.single-product #ot-related-section {
  margin-bottom: 16px !important;
  padding-bottom: 0 !important;
}
html body.single-product > footer#ot-footer,
html body.single-product #ot-footer {
  margin-top: 12px !important;
}
/* 하단 고정 바가 있는 모바일에서만 푸터 하단 여백 확보 */
@media (max-width: 900px) {
  html body.single-product > footer#ot-footer,
  html body.single-product #ot-footer {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
  }
  html body.single-product .otb-mob-bar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 99999 !important;
  }
}
/* === OT-SINGLE-DESIGN-V3.2 END === */

/* === OT-SINGLE-PK-V4 START === */
@media (min-width: 901px) {
  html body.single-product,
  body.single-product #ot-page-wrap,
  body.single-product #ot-terminal-main { overflow: visible !important; }
  body.single-product .otb-side { position: -webkit-sticky !important; position: sticky !important; top: 24px !important; }
}
/* === OT-PK5-TELEMETRY === */
body.single-product #ot-pk-sim {
  margin: 24px 0 28px;
  padding: 20px 22px 22px;
  background: linear-gradient(180deg, #121723 0%, #0D111A 100%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-top: 2px solid rgba(233, 185, 73, 0.55);
  border-radius: 18px;
  box-shadow: 0 20px 44px -16px rgba(0, 0, 0, 0.72);
  overflow: visible;
}

/* ── 상단 헤더 ── */
body.single-product .ot-pk5-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
body.single-product .ot-pk5-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .5px;
  color: #E8EBF2;
}
body.single-product .ot-pk5-title::before {
  content: "";
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #E9B949;
  box-shadow: 0 0 8px rgba(233, 185, 73, 0.75);
}
body.single-product .ot-pk5-badge {
  font-family: 'Courier New', Consolas, monospace;
  font-size: 10.5px;
  color: #7F899E;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 3px 9px;
  white-space: nowrap;
}

/* ── 좌·우 그리드 ── */
body.single-product .ot-pk5-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 861px) {
  body.single-product .ot-pk5-grid {
    grid-template-columns: minmax(0, 1.68fr) minmax(276px, 0.92fr);
    gap: 16px;
    align-items: stretch;
  }
}

/* ── 좌측 그래프 패널 ── */
body.single-product .ot-pk5-chart-pane {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 14px 16px 12px;
  background: #080B12;
  background-image: radial-gradient(120% 82% at 16% 0%, rgba(233, 185, 73, 0.10) 0%, rgba(233, 185, 73, 0) 62%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
}
body.single-product #ot-pk-svg {
  width: 100%;
  height: 100%;
  flex: 1 1 auto;
  min-height: 184px;
  max-height: 215px;
  display: block;
}
body.single-product #ot-pk-svg .otb-pk-axis line { stroke: #2B3347; stroke-width: 1; }
body.single-product #ot-pk-svg .otb-pk-grid-lines line { stroke: #232A38; stroke-width: 1; stroke-dasharray: 3 4; }
body.single-product #ot-pk-svg text {
  font-family: 'Courier New', Consolas, monospace;
  font-size: 11px; /* JS가 축소율 보정 후 덮어씀 */
  fill: #9AA3B8;   /* 대비 6.9:1 */
  letter-spacing: .3px;
}
body.single-product #ot-pk-svg .otb-pk-ylab text { text-anchor: end; dominant-baseline: middle; }
body.single-product #ot-pk-svg .otb-pk-xlab text { dominant-baseline: hanging; fill: #8B949E; }
body.single-product .otb-pk-xcap {
  margin-top: 6px;
  font-family: 'Courier New', Consolas, monospace;
  font-size: 12px;
  color: #8B949E;
  letter-spacing: .3px;
  text-align: right;
}

/* ── 우측 컨트롤 패널 ── */
body.single-product .ot-pk5-ctrl-pane {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px;
  background: #141A27;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  overflow: visible;
}
body.single-product .ot-pk5-metrics {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-top: 2px;
}
body.single-product .ot-pk5-metric-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
body.single-product .ot-pk5-metric-row .lbl {
  font-size: 12px;
  color: #94A3B8;
  letter-spacing: .2px;
  white-space: nowrap;
}
body.single-product .ot-pk5-metric-row .val {
  font-family: 'Courier New', Consolas, monospace;
  font-size: 13.5px;
  color: #F8FAFC;
  font-variant-numeric: tabular-nums;
  text-align: right;
  word-break: keep-all;
}
body.single-product .ot-pk5-metric-row.is-rec .val {
  color: #E9B949;
  font-size: 15px;
  font-weight: 800;
}

/* ── 골드 CTA ── */
body.single-product .ot-pk5-apply-btn {
  width: 100%;
  height: 42px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, #F3C65F 0%, #E9B949 100%);
  color: #161100;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .2px;
  cursor: pointer;
  transition: filter .18s ease;
}
body.single-product .ot-pk5-apply-btn:hover { filter: brightness(1.06); }
body.single-product .ot-pk5-apply-btn:active { filter: brightness(0.96); }

/* ── 하단 보조 안내 ── */
body.single-product .ot-pk5-footnote {
  margin: 0;
  font-size: 11px;
  line-height: 1.6;
  color: #6B7488;
}

/* ── 모바일 ── */
@media (max-width: 860px) {
  body.single-product #ot-pk-sim {
    padding: 16px 14px;
    border-radius: 16px;
  }
  body.single-product .ot-pk5-chart-pane {
    padding: 12px 12px 10px;
  }
  body.single-product #ot-pk-svg {
    min-height: 155px;
  }
}
/* === OT-PK5-TELEMETRY END === */

/* === OT-SINGLE-PK-V4 END === */

/* === OT-ING-LIST START === */
body.single-product .otb-ing-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:3px}
body.single-product .otb-ing-list li{position:relative;padding-left:11px;font-size:12.5px;line-height:1.5;color:#E8EBF2;word-break:keep-all}
body.single-product .otb-ing-list li:before{content:"·";position:absolute;left:0;top:-1px;color:#E9B949;font-weight:900}
body.single-product .otb-ing-list .mg{display:inline-block;margin-left:5px;color:#E9B949;font-weight:800;font-size:11.5px;font-variant-numeric:tabular-nums}
body.single-product .otb-specs dd{white-space:pre-line}
@media (max-width:900px){
  body.single-product .otb-ing-list li{font-size:13px;line-height:1.6}
  body.single-product .otb-facts dd{line-height:1.6}
}
/* === OT-ING-LIST END === */

/* === OT-MOBILE-DESC-SPACING === */
@media (max-width: 640px) {
  /* 리드 블록: 부모/자식 중복 여백 제거 */
  body.single-product .otb-lead-block {
    padding-bottom: 12px !important;
    margin: 0 0 14px !important;
  }
  body.single-product .otb-lead {
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1.65 !important;
  }
  body.single-product .otb-lead-spec {
    margin-top: 7px !important;
    line-height: 1.55 !important;
  }
  body.single-product .otb-orig-btn {
    margin-top: 8px !important;
  }

  /* 본문 시작 */
  body.single-product .otb-editorial-content {
    margin-top: 10px !important;
  }

  /* 문단 리듬 */
  body.single-product .otb-editorial-content p,
  body.single-product .otb-editorial-content > p,
  body.single-product .otb-editorial-content > div > p,
  body.single-product #ot-sp-b-wrap .otb-editorial-content p {
    margin: 0 0 0.8em !important;
  }
  body.single-product .otb-editorial-content p:last-child,
  body.single-product .otb-editorial-content > div > p:last-child {
    margin-bottom: 0 !important;
  }

  /* 소제목 (V3.1 과 동일 우선순위로 덮어쓰기) */
  body.single-product .otb-editorial-content h2,
  body.single-product #ot-sp-b-wrap .otb-editorial-content h2 {
    margin: 14px 0 7px !important;
  }
  body.single-product .otb-editorial-content h3,
  body.single-product #ot-sp-b-wrap .otb-editorial-content h3 {
    margin: 14px 0 7px !important;
    padding-bottom: 6px !important;
  }
  body.single-product .otb-editorial-content h4,
  body.single-product #ot-sp-b-wrap .otb-editorial-content h4 {
    margin: 14px 0 7px !important;
  }
  body.single-product .otb-editorial-content h2:first-child,
  body.single-product .otb-editorial-content h3:first-child,
  body.single-product .otb-editorial-content h4:first-child,
  body.single-product #ot-sp-b-wrap .otb-editorial-content h2:first-child,
  body.single-product #ot-sp-b-wrap .otb-editorial-content h3:first-child,
  body.single-product #ot-sp-b-wrap .otb-editorial-content h4:first-child {
    margin-top: 0 !important;
  }

  /* 목록 */
  body.single-product .otb-editorial-content ul,
  body.single-product .otb-editorial-content ol {
    margin: 0 0 0.85em !important;
  }
  body.single-product .otb-editorial-content li {
    margin-bottom: 0.32em !important;
  }

  /* 출처 캡션 */
  body.single-product .otb-source-cap {
    margin: 10px 0 0 !important;
    line-height: 1.5 !important;
  }
}
/* === OT-MOBILE-DESC-SPACING END === */
/* === OT-DESC-HR-TIGHT === */
/* 본문 구분선: 브라우저/테마 기본 40px 여백 제거 */
body.single-product .otb-editorial-content hr,
body.single-product #ot-sp-b-wrap .otb-editorial-content hr {
  height: 0 !important;
  border: 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.10) !important;
  margin: 16px 0 !important;
  padding: 0 !important;
  background: none !important;
}

/* 본문 h1: 상단 제목과 혼동되지 않도록 h2 규격에 맞춤 */
body.single-product .otb-editorial-content h1,
body.single-product #ot-sp-b-wrap .otb-editorial-content h1 {
  font-size: clamp(17px, 4.2vw, 21px) !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  color: #F1F5F9 !important;
  margin: 18px 0 10px !important;
  padding-left: 12px !important;
  border-left: 3px solid #E9B949 !important;
  word-break: keep-all !important;
}
body.single-product .otb-editorial-content h1:first-child,
body.single-product #ot-sp-b-wrap .otb-editorial-content h1:first-child {
  margin-top: 0 !important;
}
/* === OT-DESC-HR-TIGHT END === */
/* === OT-REL-TITLE-TIGHT === */
/* 동일 카테고리 라인업: 1줄 제목도 성분명과 바로 밀착 */
body.single-product #ot-related-section .ot-item-title {
  min-height: 0 !important;
  max-height: none !important;
  line-height: 1.38 !important;
}
body.single-product #ot-related-section .ot-ssot-comp-sub {
  margin-top: 0 !important;
}
/* === OT-REL-TITLE-TIGHT END === */

/* === OT-PRICE-SYMBOL 2026-11-21 START ===
   문제: body.single-product .otb-price span{font-size:13px} 가 통화 기호 span 까지 축소 +
         .woocommerce-Price-amount 의 음수 자간으로 기호-숫자가 붙어 보임
   조치: 기호 전용 규칙으로 크기/간격을 고정 (모든 통화 공통)
   범위: 상품 상세 페이지 전용 / 롤백: 이 블록 삭제 */
body.single-product .otb-price .woocommerce-Price-currencySymbol,
body.single-product .otb-sticky .woocommerce-Price-currencySymbol,
body.single-product .woocommerce-Price-currencySymbol {
  font-size: .60em !important;
  margin-right: 4px !important;
  letter-spacing: 0 !important;
  font-weight: 900 !important;
  vertical-align: baseline !important;
  display: inline-block !important;
}
body.single-product .woocommerce-Price-amount {
  letter-spacing: -0.01em !important;
}
/* === OT-PRICE-SYMBOL 2026-11-21 END === */

/* === OT-OPT01-PSTACK 2026-11-22 (CSS rev2) === */
/* 목적   : 상품 상세 우측 카드의 가격 수직 위계 스택(원가 취소선 + 할인율 / 할인가) */
/* 범위   : .otb-price 하위 + 연관상품 카드 가격 */
/* 롤백   : 이 블록 삭제 */
body.single-product .otb-price .ot-pstack {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
body.single-product .otb-price .ot-pstack-top {
  display: flex;
  align-items: center;
  gap: 8px;
}
body.single-product .otb-price .ot-pstack-orig,
body.single-product .otb-price .ot-pstack-orig .woocommerce-Price-amount,
body.single-product .otb-price .ot-pstack-orig .woocommerce-Price-currencySymbol,
body.single-product .otb-price .ot-pstack-orig bdi {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #556175 !important;
  letter-spacing: 0 !important;
  text-decoration: line-through !important;
  text-decoration-color: rgba(142, 155, 174, 0.55);
  text-decoration-thickness: 1.5px;
  font-variant-numeric: tabular-nums;
}
body.single-product .otb-price .ot-pstack-pct {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  color: #F5C518 !important;
  letter-spacing: 0.03em;
}
body.single-product .otb-price .ot-pstack-main {
  display: flex;
  align-items: baseline;
}
body.single-product .otb-price .ot-pstack-main .ot-pstack-now,
body.single-product .otb-price .ot-pstack-main .ot-pstack-now .woocommerce-Price-amount,
body.single-product .otb-price .ot-pstack-main .ot-pstack-now .woocommerce-Price-currencySymbol,
body.single-product .otb-price .ot-pstack-main .ot-pstack-now bdi {
  font-size: clamp(32px, 4vw, 38px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.035em !important;
  line-height: 1 !important;
  color: #F5C518 !important;
  font-variant-numeric: tabular-nums;
}

/* 연관상품 카드 (단일 페이지 내) */
body.single-product #ot-related-section .ot-item-price .ot-cat-stack {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.2;
}
body.single-product #ot-related-section .ot-item-price .ot-cat-orig,
body.single-product #ot-related-section .ot-item-price .ot-cat-orig .woocommerce-Price-amount,
body.single-product #ot-related-section .ot-item-price .ot-cat-orig .woocommerce-Price-currencySymbol {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #556175 !important;
  text-decoration: line-through;
  text-decoration-color: rgba(142, 155, 174, 0.55);
  text-decoration-thickness: 1px;
  line-height: 1.2 !important;
  font-variant-numeric: tabular-nums;
}
body.single-product #ot-related-section .ot-item-price .ot-cat-now,
body.single-product #ot-related-section .ot-item-price .ot-cat-now .woocommerce-Price-amount,
body.single-product #ot-related-section .ot-item-price .ot-cat-now .woocommerce-Price-currencySymbol {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #F5C518 !important;
  line-height: 1.2 !important;
  font-variant-numeric: tabular-nums;
}
/* === OT-OPT01-PSTACK END === */
