/* Cart & Checkout Tables */
.woocommerce-cart table.shop_table,
.woocommerce-checkout table.shop_table,
.woocommerce-order table.shop_table {
  width: 100%;
  border-collapse: collapse;
  background: var(--ot-surface);
  border: 1px solid var(--ot-border);
  border-radius: var(--rad-lg);
  overflow: hidden;
  margin-bottom: var(--sp-3);
}
.woocommerce-cart table.shop_table th,
.woocommerce-checkout table.shop_table th,
.woocommerce-order table.shop_table th {
  background: var(--ot-surface-2);
  color: var(--ot-muted);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--ot-border);
  text-align: left;
}
.woocommerce-cart table.shop_table td,
.woocommerce-checkout table.shop_table td,
.woocommerce-order table.shop_table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--ot-border);
  color: var(--ot-text);
  vertical-align: middle;
}
.woocommerce-cart table.shop_table tr:last-child td,
.woocommerce-checkout table.shop_table tr:last-child td,
.woocommerce-order table.shop_table tr:last-child td { border-bottom: 0; }

.woocommerce-cart .product-thumbnail img { width: 52px; height: 52px; border-radius: var(--rad-sm); border: 1px solid var(--ot-border); object-fit: cover; background: #0b0f19; }
.woocommerce-cart .product-name a { color: var(--ot-text) !important; font-weight: 700; }
.woocommerce-cart .product-name a:hover { color: var(--ot-accent) !important; }
.woocommerce-cart .product-price,
.woocommerce-cart .product-subtotal,
.woocommerce-checkout .product-total,
.woocommerce-checkout .order-total td { font-family: monospace; font-weight: 800; color: var(--ot-accent); }
.woocommerce-cart td.actions { background: var(--ot-bg); }
.woocommerce-cart td.actions .coupon { display: inline-flex; gap: 8px; }

/* Cart Totals Box */
.woocommerce-cart .cart_totals { background: var(--ot-surface); border: 1px solid var(--ot-border-hi); border-top: 2px solid var(--ot-accent); border-radius: var(--rad-lg); padding: var(--sp-3); max-width: 440px; margin-left: auto; }
.woocommerce-cart .cart_totals h2 { font-size: var(--fs-lg); margin: 0 0 var(--sp-2); }
.woocommerce-cart .cart_totals table.shop_table { border: 0; margin-bottom: var(--sp-2); }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { display: block; width: 100%; text-align: center; padding: 14px 16px; background: var(--ot-accent) !important; color: #04060a !important; font-weight: 900; border-radius: var(--rad-md); }

/* One-Page Checkout */
#ot-checkout-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--sp-3); align-items: start; }
.ot-chk-panel { background: var(--ot-surface); border: 1px solid var(--ot-border); border-radius: var(--rad-lg); padding: var(--sp-3); }
.ot-chk-panel h3 { font-size: var(--fs-md); font-weight: 800; margin: 0 0 var(--sp-2); padding-bottom: 12px; border-bottom: 1px solid var(--ot-border); color: var(--ot-accent) !important; }
.woocommerce-checkout .form-row { margin-bottom: var(--sp-2); }
.woocommerce-checkout .form-row label { display: block; font-size: var(--fs-xs); font-weight: 700; color: var(--ot-muted); margin-bottom: 6px; }
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select { width: 100%; height: 40px; }
.woocommerce-checkout .form-row textarea { height: 84px; padding: 12px; }

#payment { background: var(--ot-bg); border: 1px solid var(--ot-border-hi); border-radius: var(--rad-md); padding: var(--sp-2); margin-top: var(--sp-2); }
#payment ul.payment_methods { list-style: none; margin: 0 0 var(--sp-2); padding: 0; }
#payment ul.payment_methods li { padding: 12px 0; border-bottom: 1px solid var(--ot-border); }
#payment ul.payment_methods li:last-child { border-bottom: 0; }
#payment .payment_box { background: var(--ot-surface-2); color: var(--ot-muted); padding: 12px; border-radius: var(--rad-sm); font-size: var(--fs-xs); margin-top: 8px; }
#place_order { width: 100%; height: 48px; background: var(--ot-accent) !important; color: #04060a !important; font-size: var(--fs-md); font-weight: 900; border: 0 !important; border-radius: var(--rad-md); cursor: pointer; }

/* Order Received Summary */
.woocommerce-order ul.order_details { display: flex; flex-wrap: wrap; gap: 16px; list-style: none; padding: var(--sp-2); margin: 0 0 var(--sp-3); background: var(--ot-surface); border: 1px solid var(--ot-border-hi); border-radius: var(--rad-md); }
.woocommerce-order ul.order_details li { padding-right: 16px; border-right: 1px solid var(--ot-border); font-size: var(--fs-xs); color: var(--ot-muted); }
.woocommerce-order ul.order_details li:last-child { border-right: 0; }
.woocommerce-order ul.order_details li strong { display: block; font-family: monospace; font-size: var(--fs-sm); color: var(--ot-text); margin-top: 4px; }
.woocommerce-bacs-bank-details, .woocommerce-customer-details address { background: var(--ot-surface); border: 1px solid var(--ot-border); border-radius: var(--rad-md); padding: var(--sp-2); margin-bottom: var(--sp-2); font-style: normal; }

/* My Account B2B Dashboard */
#ot-account-banner {
  background: radial-gradient(circle at 90% 20%, rgba(6,182,212,0.14) 0%, transparent 50%), linear-gradient(135deg, var(--ot-surface) 0%, #0b1220 100%);
  border: 1px solid var(--ot-border-hi);
  border-top: 2px solid var(--ot-accent);
  border-radius: var(--rad-lg);
  padding: var(--sp-3);
  margin-bottom: var(--sp-3);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-2);
}
#ot-acc-user-title { font-size: var(--fs-lg); font-weight: 900; margin: 0 0 4px; color: var(--ot-text) !important; }
#ot-acc-user-sub { font-family: monospace; font-size: var(--fs-xs); color: var(--ot-muted); margin: 0; }
#ot-acc-stats { display: flex; gap: 12px; }
.ot-acc-kpi { background: var(--ot-bg); border: 1px solid var(--ot-border-hi); border-radius: var(--rad-md); padding: 12px 18px; min-width: 116px; text-align: center; }
.ot-acc-kpi-val { font-family: monospace; font-size: var(--fs-lg); font-weight: 900; color: var(--ot-accent); display: block; }
.ot-acc-kpi-lbl { font-size: var(--fs-xs); color: var(--ot-muted); }

#ot-account-layout { display: grid; grid-template-columns: 220px 1fr; gap: var(--sp-3); align-items: start; }
.ot-reorder-btn { display: inline-flex; align-items: center; padding: 5px 10px; background: rgba(6,182,212,0.14); color: var(--ot-accent) !important; border: 1px solid rgba(6,182,212,0.4); border-radius: var(--rad-sm); font-size: var(--fs-xs); font-weight: 700; margin-left: 6px; }
.ot-reorder-btn:hover { background: var(--ot-accent); color: #04060a !important; }

/* Dark Override for OT_B2B_Deposit_Form */
#ot-deposit-form-box { background: var(--ot-bg) !important; border: 1px solid var(--ot-border-hi) !important; color: var(--ot-text) !important; }
#ot-deposit-form-box h3 { color: var(--ot-accent) !important; }
#ot-deposit-form-box input { background: var(--ot-surface) !important; color: var(--ot-text) !important; border: 1px solid var(--ot-border-hi) !important; border-radius: var(--rad-sm); }
#ot-deposit-form-box button { background: var(--ot-accent) !important; color: #04060a !important; border: 0 !important; font-weight: 800; padding: 10px 20px; border-radius: var(--rad-sm); cursor: pointer; }

/* Login / Register Dark Cards */
.u-columns#customer_login { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.u-columns#customer_login .u-column1,
.u-columns#customer_login .u-column2 { background: var(--ot-surface); border: 1px solid var(--ot-border); border-top: 2px solid var(--ot-accent); border-radius: var(--rad-lg); padding: var(--sp-3); float: none !important; width: 100% !important; }
.woocommerce form.login input.input-text,
.woocommerce form.register input.input-text { width: 100%; height: 40px; }

@media (max-width: 900px) {
  #ot-checkout-grid, #ot-account-layout, .u-columns#customer_login { grid-template-columns: 1fr; }
  #ot-acc-stats { width: 100%; }
  .ot-acc-kpi { flex: 1; }
}

/* OT-HOWTO-GUIDE */
.ot-guide-layout { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; }
.ot-guide-nav { background: #0c1019; border: 1px solid #1e2738; border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 88px; }
.ot-guide-nav a { padding: 10px 14px; border-radius: 6px; font-size: 13px; font-weight: 700; color: #94a3b8; transition: all .15s; }
.ot-guide-nav a:hover, .ot-guide-nav a.is-active { background: rgba(6,182,212,0.14); color: #22d3ee; }
.ot-guide-main { display: flex; flex-direction: column; gap: 20px; }
.ot-guide-alert { background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.4); border-left: 4px solid #f59e0b; border-radius: 10px; padding: 16px 20px; }
.ot-guide-alert strong { color: #fbbf24; display: block; font-size: 13px; margin-bottom: 6px; }
.ot-guide-alert p { margin: 0; font-size: 12px; color: #cbd5e1; line-height: 1.6; }
.ot-guide-card { background: #0c1019; border: 1px solid #1e2738; border-radius: 10px; padding: 20px; }
.ot-guide-step-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.ot-guide-badge { background: #06b6d4; color: #04060a; font-family: monospace; font-size: 11px; font-weight: 900; padding: 3px 8px; border-radius: 4px; }
.ot-guide-step-title { font-size: 15px; font-weight: 800; color: #f8fafc; margin: 0; }
.ot-guide-list { margin: 0; padding-left: 18px; color: #94a3b8; font-size: 13px; line-height: 1.7; }
.ot-guide-3col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ot-guide-col-title { font-size: 14px; font-weight: 800; color: #22d3ee; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid #1e2738; }
.ot-guide-sub { font-size: 12px; color: #cbd5e1; line-height: 1.6; margin-bottom: 12px; }
.ot-guide-sub strong { color: #f8fafc; display: block; margin-bottom: 2px; }
@media (max-width: 900px) { .ot-guide-layout, .ot-guide-3col { grid-template-columns: 1fr; } .ot-guide-nav { position: static; } }

/* === OT-CART-UI START === */
body.woocommerce-cart {
  background: #0F131C !important;
  color: #E8EBF2 !important;
  overflow-x: hidden !important;
}
body.woocommerce-cart #ot-page-wrap {
  max-width: 760px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 14px 14px 40px !important;
  box-sizing: border-box !important;
}
body.woocommerce-cart #ot-page-wrap > h1.ot-sec-title {
  display: none !important;
}

/* 상단 터미널 헤더 */
.ot-cart-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 14px;
}
.ot-cart-kicker {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10.5px;
  font-weight: 800;
  color: #F5C518;
  letter-spacing: 0.08em;
  margin-bottom: 3px;
}
.ot-cart-title {
  margin: 0 !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #E8EBF2 !important;
}
.ot-cart-more {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  color: #9AA3B8 !important;
  text-decoration: none !important;
  padding: 6px 11px;
  background: #161B27;
  border: 1px solid #2B3347;
  border-radius: 999px;
  white-space: nowrap;
}

/* 10,000 THB E-Packet 무료배송 게이지 */
.ot-cart-meter {
  background: #161B27;
  border: 1px solid #2B3347;
  border-radius: 14px;
  padding: 13px 14px;
  margin-bottom: 16px;
}
.ot-cart-meter.is-unlocked {
  border-color: rgba(95, 211, 160, 0.45);
  background: linear-gradient(180deg, rgba(95, 211, 160, 0.08), #161B27);
}
.ot-cart-meter-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12px;
}
.ot-cart-meter-msg {
  font-weight: 700;
  color: #E8EBF2;
  word-break: keep-all;
}
.ot-cart-meter-msg strong {
  color: #F5C518;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.ot-cart-meter.is-unlocked .ot-cart-meter-msg strong {
  color: #5FD3A0;
}
.ot-cart-meter-pct {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10.5px;
  font-weight: 800;
  color: #9AA3B8;
  flex-shrink: 0;
}
.ot-cart-meter-track {
  width: 100%;
  height: 6px;
  background: #0F131C;
  border-radius: 999px;
  overflow: hidden;
}
.ot-cart-meter-fill {
  height: 100%;
  background: #F5C518;
  border-radius: 999px;
  transition: width 0.25s ease;
}
.ot-cart-meter.is-unlocked .ot-cart-meter-fill {
  background: #5FD3A0;
}

/* 우커머스 블록 장바구니 컨테이너: 가로 넘침 차단 */
body.woocommerce-cart .wc-block-cart,
body.woocommerce-cart .wc-block-components-sidebar-layout,
body.woocommerce-cart .wc-block-cart__main,
body.woocommerce-cart .wc-block-cart__sidebar {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* 상품 테이블 모바일 카드화 (가로 팽창 방지 핵심) */
body.woocommerce-cart table.wc-block-cart-items,
body.woocommerce-cart table.wc-block-cart-items tbody {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  border: 0 !important;
  margin: 0 0 14px 0 !important;
}
body.woocommerce-cart table.wc-block-cart-items thead {
  display: none !important;
}
body.woocommerce-cart table.wc-block-cart-items tbody tr.wc-block-cart-items__row {
  display: grid !important;
  grid-template-columns: 64px minmax(0, 1fr) auto !important;
  gap: 10px !important;
  align-items: start !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  background: #161B27 !important;
  border: 1px solid #2B3347 !important;
  border-radius: 16px !important;
  padding: 13px !important;
  margin: 0 0 10px 0 !important;
}
body.woocommerce-cart table.wc-block-cart-items tbody tr.wc-block-cart-items__row td {
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
body.woocommerce-cart .wc-block-cart-item__image {
  width: 64px !important;
}
body.woocommerce-cart .wc-block-cart-item__image img {
  width: 64px !important;
  height: 64px !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  border: 1px solid #2B3347 !important;
  background: #fff !important;
}
body.woocommerce-cart .wc-block-cart-item__product {
  min-width: 0 !important;
  overflow-wrap: break-word !important;
  word-break: keep-all !important;
}
body.woocommerce-cart a.wc-block-components-product-name {
  color: #E8EBF2 !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
  display: block !important;
}
body.woocommerce-cart .wc-block-components-product-metadata,
body.woocommerce-cart .wc-block-cart-item__prices {
  color: #9AA3B8 !important;
  font-size: 11.5px !important;
  line-height: 1.45 !important;
}
body.woocommerce-cart .wc-block-cart-item__total {
  text-align: right !important;
  white-space: nowrap !important;
}
body.woocommerce-cart .wc-block-cart-item__total .wc-block-components-product-price__value {
  color: #F5C518 !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

/* 수량 스테퍼 & 삭제 */
body.woocommerce-cart .wc-block-cart-item__quantity {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: 8px !important;
}
body.woocommerce-cart .wc-block-components-quantity-selector {
  background: #0F131C !important;
  border: 1px solid #2B3347 !important;
  border-radius: 9px !important;
  height: 32px !important;
  width: 96px !important;
}
body.woocommerce-cart .wc-block-components-quantity-selector__button,
body.woocommerce-cart .wc-block-components-quantity-selector__input {
  color: #E8EBF2 !important;
  font-weight: 800 !important;
  opacity: 1 !important;
}
body.woocommerce-cart .wc-block-cart-item__remove-link {
  color: #9AA3B8 !important;
  font-size: 11.5px !important;
  text-decoration: none !important;
}

/* 요약 카드 & 하단 결제 버튼 겹침 해제 */
body.woocommerce-cart .wc-block-cart__sidebar {
  background: #161B27 !important;
  border: 1px solid #2B3347 !important;
  border-radius: 16px !important;
  padding: 16px 15px !important;
  margin-bottom: 14px !important;
}
body.woocommerce-cart .wc-block-components-totals-wrapper {
  border-top: 1px solid #2B3347 !important;
  padding: 12px 0 !important;
}
body.woocommerce-cart .wc-block-components-totals-wrapper:first-child {
  border-top: 0 !important;
  padding-top: 0 !important;
}
body.woocommerce-cart .wc-block-components-panel__button,
body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
  color: #E8EBF2 !important;
  font-weight: 800 !important;
}
body.woocommerce-cart .wc-block-components-totals-item__label,
body.woocommerce-cart .wc-block-components-totals-shipping__via {
  color: #9AA3B8 !important;
  font-size: 12.5px !important;
}
body.woocommerce-cart .wc-block-components-totals-item__value {
  color: #E8EBF2 !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace !important;
  font-weight: 800 !important;
}
body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  color: #F5C518 !important;
  font-size: 21px !important;
  font-weight: 900 !important;
}

/* 모바일 하단 고정(sticky) 겹침 해제 -> 자연스러운 문서 흐름 배치 */
body.woocommerce-cart .wc-block-cart__submit,
body.woocommerce-cart .wc-block-cart__submit-container {
  position: static !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 6px 0 0 0 !important;
  margin: 0 !important;
  width: 100% !important;
}
body.woocommerce-cart a.wc-block-cart__submit-button,
body.woocommerce-cart .wc-block-cart__submit-button {
  background: #F5C518 !important;
  color: #1A1400 !important;
  border: 0 !important;
  border-radius: 14px !important;
  min-height: 50px !important;
  width: 100% !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  box-shadow: 0 8px 24px rgba(245, 197, 24, 0.22) !important;
  text-decoration: none !important;
}
.ot-cart-pay-note {
  margin-top: 11px;
  text-align: center;
  font-size: 11.5px;
  line-height: 1.55;
  color: #9AA3B8;
  word-break: keep-all;
}

/* 배송 방법 라디오 선택 카드 스타일 & 하단 여백 제거 */
body.woocommerce-cart .wc-block-components-shipping-rates-control,
body.woocommerce-cart .wc-block-components-shipping-rates-control__package {
  margin: 6px 0 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
body.woocommerce-cart .wc-block-components-radio-control {
  display: flex !important;
  flex-direction: column !important;
  gap: 7px !important;
  margin-top: 6px !important;
}
body.woocommerce-cart .wc-block-components-radio-control__option {
  background: #0F131C !important;
  border: 1px solid #2B3347 !important;
  border-radius: 10px !important;
  padding: 10px 12px 10px 38px !important;
  margin: 0 !important;
  color: #E8EBF2 !important;
  font-size: 12px !important;
}
body.woocommerce-cart .wc-block-components-radio-control__option-checked {
  border-color: rgba(245, 197, 24, 0.65) !important;
  background: rgba(245, 197, 24, 0.06) !important;
}
body.woocommerce-cart .wc-block-components-radio-control__input {
  left: 12px !important;
  border-color: #9AA3B8 !important;
  background: transparent !important;
}
body.woocommerce-cart .wc-block-components-radio-control__input:checked {
  border-color: #F5C518 !important;
  background: #F5C518 !important;
}
body.woocommerce-cart .wc-block-components-radio-control__label {
  color: #E8EBF2 !important;
  font-weight: 700 !important;
  font-size: 12px !important;
}
body.woocommerce-cart .wc-block-components-radio-control__secondary-label {
  color: #F5C518 !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace !important;
  font-weight: 800 !important;
  font-size: 12px !important;
}
body.woocommerce-cart .wc-block-components-totals-shipping__change-address__link {
  display: none !important;
}

/* 장바구니 하단 여백 및 푸터 간격 최소화 */
body.woocommerce-cart #ot-page-wrap {
  min-height: 0 !important;
  padding-bottom: 12px !important;
  margin-bottom: 0 !important;
}
body.woocommerce-cart .entry-content,
body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-cart .wc-block-cart,
body.woocommerce-cart .wc-block-components-sidebar-layout,
body.woocommerce-cart .wc-block-cart__main,
body.woocommerce-cart .wc-block-cart__sidebar {
  min-height: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
body.woocommerce-cart .wc-block-cart__sidebar {
  padding-bottom: 16px !important;
}
body.woocommerce-cart .wc-block-cart__submit-container--sticky,
body.woocommerce-cart .wc-block-cart__submit-placeholder,
body.woocommerce-cart .wc-block-cart__payment-options {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.woocommerce-cart #ot-footer {
  margin-top: 8px !important;
}
/* === OT-CART-UI END === */

/* === OT-CART-SAMPLE-SYNC START === */
.ot-cart-sec-label {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 800;
  color: #F5C518;
  letter-spacing: 0.06em;
  margin: 4px 0 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ot-cart-sec-label span {
  color: #9AA3B8;
  font-weight: 700;
}

/* 상품 카드 내 브랜드 카테고리 배지 (React DOM 비접촉 ::before 방식) */
body.woocommerce-cart .wc-block-cart-item__product[data-ot-brand]::before {
  content: attr(data-ot-brand);
  display: inline-block;
  background: rgba(245, 197, 24, 0.14);
  color: #F5C518;
  border: 1px solid rgba(245, 197, 24, 0.32);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 4px;
  line-height: 1.2;
}
body.woocommerce-cart .wc-block-cart-item__prices {
  display: inline-block !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace !important;
  font-size: 11px !important;
  color: #9AA3B8 !important;
  margin: 2px 0 3px !important;
}
body.woocommerce-cart .wc-block-components-product-metadata {
  margin-top: 0 !important;
  margin-bottom: 6px !important;
}

/* 쿠폰 박스 독립 카드화 (CSS 고정 라벨로 TranslatePress/React 깜빡임 원천 차단) */
body.woocommerce-cart .wc-block-cart__sidebar {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}
body.woocommerce-cart .wc-block-components-totals-coupon {
  background: #161B27 !important;
  border: 1px solid #2B3347 !important;
  border-radius: 13px !important;
  padding: 12px 14px !important;
  margin-bottom: 16px !important;
}
body.woocommerce-cart .wc-block-components-totals-coupon .wc-block-components-panel__button {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  padding: 0 !important;
  min-height: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
}
body.woocommerce-cart .wc-block-components-totals-coupon .wc-block-components-panel__button::before {
  content: "Promo / Coupon Code";
}
html[lang^="ko"] body.woocommerce-cart .wc-block-components-totals-coupon .wc-block-components-panel__button::before {
  content: "프로모션 / 쿠폰 코드 입력";
}
html[lang^="ja"] body.woocommerce-cart .wc-block-components-totals-coupon .wc-block-components-panel__button::before {
  content: "プロモーション / クーポンコード入力";
}
body.woocommerce-cart .wc-block-components-totals-coupon .wc-block-components-panel__button::before {
  font-size: 12.5px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  color: #E8EBF2 !important;
}
body.woocommerce-cart .wc-block-components-totals-coupon .wc-block-components-panel__button::after {
  content: "ADD COUPON ⌄";
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  color: #9AA3B8 !important;
}
body.woocommerce-cart .wc-block-components-totals-coupon .wc-block-components-panel__button svg {
  display: none !important;
}
body.woocommerce-cart .wc-block-components-totals-coupon__content {
  padding: 10px 0 0 0 !important;
}
body.woocommerce-cart .wc-block-components-totals-coupon__input input {
  background: #0F131C !important;
  border: 1px solid #2B3347 !important;
  color: #E8EBF2 !important;
  border-radius: 8px !important;
}
body.woocommerce-cart .wc-block-components-totals-coupon__button {
  background: #1E2433 !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #E8EBF2 !important;
  border-radius: 8px !important;
}

/* // 02 ORDER_SUMMARY 요약 카드 & 단일 고정 상품 합계 행 */
body.woocommerce-cart .ot-cart-summary-box {
  background: #161B27 !important;
  border: 1px solid #2B3347 !important;
  border-radius: 16px !important;
  padding: 15px !important;
  margin-bottom: 14px !important;
}
body.woocommerce-cart .ot-cart-summary-box .wp-block-woocommerce-cart-order-summary-heading-block,
body.woocommerce-cart .ot-cart-summary-box .wp-block-woocommerce-cart-order-summary-subtotal-block {
  display: none !important;
}
body.woocommerce-cart .ot-cart-summary-box > div,
body.woocommerce-cart .ot-cart-summary-box .wc-block-components-totals-wrapper {
  border-top: 0 !important;
  border-bottom: 0 !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
}
.ot-fixed-sub-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 0 4px;
  margin: 0;
}
.ot-fixed-sub-row .k {
  color: #9AA3B8;
  font-size: 12.5px;
  font-weight: 600;
}
.ot-fixed-sub-row .v {
  color: #E8EBF2;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  font-weight: 800;
}

/* 총 결제 예정 금액 라벨 CSS 고정 (깜빡임 방지) */
body.woocommerce-cart .wc-block-components-totals-footer-item {
  padding-top: 6px !important;
  margin-top: 0 !important;
  border-top: 0 !important;
}
body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
  font-size: 0 !important;
  line-height: 0 !important;
}
body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label::after {
  content: "Estimated Total";
}
html[lang^="ko"] body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label::after {
  content: "총 결제 예정 금액";
}
html[lang^="ja"] body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label::after {
  content: "お支払い予定合計";
}
body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label::after {
  font-size: 14.5px !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
  color: #E8EBF2 !important;
}

/* 배송 방법 선택 라디오 카드 */
.ot-ship-picker {
  padding: 11px 0 12px;
  border-top: 1px solid #2B3347;
  border-bottom: 1px solid #2B3347;
  margin: 10px 0 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  transition: opacity 0.15s ease;
}
.ot-ship-picker.is-busy {
  opacity: 0.6;
  pointer-events: none;
}
.ot-ship-picker-title {
  font-size: 11.5px;
  font-weight: 700;
  color: #9AA3B8;
  margin-bottom: 2px;
}
.ot-ship-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #0F131C;
  border: 1px solid #2B3347;
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.ot-ship-card.is-selected {
  border-color: rgba(245, 197, 24, 0.65);
  background: rgba(245, 197, 24, 0.06);
}
.ot-ship-card-left {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.ot-ship-radio {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid #9AA3B8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ot-ship-card.is-selected .ot-ship-radio {
  border-color: #F5C518;
}
.ot-ship-card.is-selected .ot-ship-radio::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #F5C518;
}
.ot-ship-name {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #E8EBF2;
}
.ot-ship-sub {
  display: block;
  font-size: 10.5px;
  color: #9AA3B8;
  margin-top: 1px;
}
.ot-ship-fee {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 800;
  color: #E8EBF2;
  flex-shrink: 0;
}
.ot-ship-fee.is-free {
  color: #5FD3A0;
}
body.woocommerce-cart .wc-block-components-totals-shipping,
body.woocommerce-cart .wc-block-components-totals-shipping__options {
  display: none !important;
}

/* 결제 버튼 텍스트 CSS 처리 (React DOM 충돌 방지) */
body.woocommerce-cart a.wc-block-cart__submit-button .wc-block-components-button__text,
body.woocommerce-cart .wc-block-cart__submit-button .wc-block-components-button__text {
  font-size: 0 !important;
  line-height: 0 !important;
}
body.woocommerce-cart a.wc-block-cart__submit-button .wc-block-components-button__text::after,
body.woocommerce-cart .wc-block-cart__submit-button .wc-block-components-button__text::after {
  content: "Proceed to Checkout →";
}
html[lang^="ko"] body.woocommerce-cart a.wc-block-cart__submit-button .wc-block-components-button__text::after,
html[lang^="ko"] body.woocommerce-cart .wc-block-cart__submit-button .wc-block-components-button__text::after {
  content: "결제 진행 →";
}
html[lang^="ja"] body.woocommerce-cart a.wc-block-cart__submit-button .wc-block-components-button__text::after,
html[lang^="ja"] body.woocommerce-cart .wc-block-cart__submit-button .wc-block-components-button__text::after {
  content: "レジへ進む →";
}
body.woocommerce-cart a.wc-block-cart__submit-button .wc-block-components-button__text::after,
body.woocommerce-cart .wc-block-cart__submit-button .wc-block-components-button__text::after {
  font-size: 15px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  color: #1A1400 !important;
}
/* === OT-CART-SAMPLE-SYNC END === */

/* === OT-CHECKOUT-UI START === */
body.woocommerce-checkout {
  background: #0F131C !important;
  color: #E8EBF2 !important;
}
body.woocommerce-checkout .wc-block-checkout.is-loading {
  opacity: 0.35;
}
body.woocommerce-checkout .wc-block-checkout__sidebar {
  display: none !important;
}
body.woocommerce-checkout .wc-block-checkout__main {
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 100% !important;
  padding: 0 !important;
}

/* 데스크탑 1120px 2컬럼 / 모바일 1컬럼 컨테이너 */
#ot-checkout-shell {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 0 36px;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
}
.ot-chk-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0 16px;
  border-bottom: 1px solid #2B3347;
  margin-bottom: 18px;
}
.ot-chk-kicker {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10.5px;
  font-weight: 800;
  color: #F5C518;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.ot-chk-title {
  font-size: 23px;
  font-weight: 900;
  color: #E8EBF2;
  margin: 0;
  letter-spacing: -0.02em;
}

/* 진행 스텝 */
.ot-chk-steps {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10.5px;
  font-weight: 700;
  color: #9AA3B8;
  overflow-x: auto;
  scrollbar-width: none;
}
.ot-chk-steps::-webkit-scrollbar { display: none; }
.ot-chk-step {
  flex: 0 0 auto;
  min-width: max-content;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #161B27;
  border: 1px solid #2B3347;
  white-space: nowrap;
}
.ot-chk-step.is-done {
  background: rgba(95, 211, 160, 0.08);
  border-color: rgba(95, 211, 160, 0.3);
  color: #5FD3A0;
}
.ot-chk-step.is-active {
  background: rgba(245, 197, 24, 0.14);
  border-color: rgba(245, 197, 24, 0.4);
  color: #F5C518;
}
.ot-chk-step-arrow { opacity: 0.35; font-size: 9px; flex-shrink: 0; }

/* 2컬럼 메인 그리드 */
.ot-chk-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
}
@media (min-width: 960px) {
  .ot-chk-grid {
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 28px;
  }
  .ot-chk-right {
    position: sticky;
    top: 24px;
  }
}
@media (max-width: 959px) {
  .ot-chk-head {
    flex-direction: column;
    align-items: stretch;
  }
  .ot-chk-steps {
    width: 100%;
    justify-content: space-between;
  }
  .ot-chk-step {
    flex: 1 0 auto;
  }
}

/* 섹션 라벨 & 카드 */
.ot-chk-sec-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin: 22px 0 9px;
}
.ot-chk-sec-label:first-child { margin-top: 0; }
.ot-chk-sec-label .k { color: #F5C518; }
.ot-chk-sec-label .v { color: #9AA3B8; font-size: 10px; font-weight: 700; }

.ot-chk-card {
  background: #161B27;
  border: 1px solid #2B3347;
  border-radius: 14px;
  padding: 18px;
}
.ot-en-banner {
  background: rgba(95, 211, 160, 0.07);
  border: 1px solid rgba(95, 211, 160, 0.25);
  border-radius: 9px;
  padding: 10px 12px;
  margin-bottom: 14px;
  font-size: 11.5px;
  color: #5FD3A0;
  line-height: 1.45;
  word-break: keep-all;
}

/* 입력 폼 (라벨 위 1줄 고정 + '*' 인접 배치) */
.ot-f {
  display: block !important;
  width: 100% !important;
  margin-bottom: 13px;
  position: relative;
}
.ot-f:last-child { margin-bottom: 0; }
.ot-f-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 13px;
}
.ot-f-row:last-child { margin-bottom: 0; }
.ot-f-row .ot-f { margin-bottom: 0; }
.ot-f-lbl {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 4px !important;
  width: 100% !important;
  font-size: 11.5px;
  font-weight: 700;
  color: #9AA3B8;
  margin-bottom: 6px;
}
.ot-f-lbl em { font-style: normal; color: #F5C518; font-family: monospace; font-size: 11px; }
.ot-f-lbl .opt { margin-left: auto; font-family: monospace; font-size: 9.5px; color: #9AA3B8; opacity: 0.75; }
.ot-inp {
  display: block !important;
  width: 100% !important;
  background: #0F131C !important;
  border: 1px solid #2B3347 !important;
  border-radius: 9px !important;
  padding: 11px 13px !important;
  color: #E8EBF2 !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  outline: none !important;
  box-sizing: border-box !important;
}
.ot-inp:focus {
  border-color: #F5C518 !important;
  box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.12) !important;
}

/* 커스텀 국가 선택 */
.ot-ctry-trig {
  width: 100%;
  background: #0F131C;
  border: 1px solid #2B3347;
  border-radius: 9px;
  padding: 11px 13px;
  color: #E8EBF2;
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.ot-ctry-trig.is-open { background: #1E2433; border-color: #2B3347; }
.ot-ctry-panel {
  position: absolute;
  left: 0; right: 0; top: calc(100% + 5px);
  background: #1E2433;
  border: 1px solid #F5C518;
  border-radius: 11px;
  z-index: 60;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.75);
  display: none;
  overflow: hidden;
}
.ot-ctry-panel.open { display: block; }
.ot-ctry-swrap { padding: 8px; border-bottom: 1px solid #2B3347; background: #0F131C; }
.ot-ctry-sinp {
  width: 100%;
  background: #161B27;
  border: 1px solid #2B3347;
  border-radius: 7px;
  padding: 8px 10px;
  color: #E8EBF2;
  font-size: 12.5px;
  outline: none;
}
.ot-ctry-list { max-height: 210px; overflow-y: auto; }
.ot-ctry-opt {
  padding: 9px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #E8EBF2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(43, 51, 71, 0.5);
  cursor: pointer;
}
.ot-ctry-opt:hover, .ot-ctry-opt.is-picked {
  background: rgba(245, 197, 24, 0.12);
  color: #F5C518;
}

/* 주소 검색 & 자동완성 (입력창 flex:1 풀폭 확보) */
.ot-addr-grp {
  display: flex !important;
  align-items: stretch !important;
  gap: 8px !important;
  width: 100% !important;
}
.ot-addr-grp .ot-inp {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}
.ot-addr-btn {
  background: rgba(245, 197, 24, 0.14);
  border: 1px solid rgba(245, 197, 24, 0.45);
  color: #F5C518;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 800;
  padding: 0 15px;
  border-radius: 9px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.ot-addr-btn:hover { background: rgba(245, 197, 24, 0.22); }
.ot-ac-dd {
  position: absolute;
  left: 0; right: 0; top: calc(100% + 4px);
  background: #1E2433;
  border: 1px solid #F5C518;
  border-radius: 10px;
  z-index: 50;
  max-height: 190px;
  overflow-y: auto;
  display: none;
}
.ot-ac-dd.open { display: block; }
.ot-ac-item { padding: 9px 11px; border-bottom: 1px solid #2B3347; cursor: pointer; font-size: 12px; }
.ot-ac-item:hover { background: rgba(245, 197, 24, 0.1); }
.ot-ac-main { font-weight: 700; color: #E8EBF2; display: block; }
.ot-ac-sub { font-family: monospace; font-size: 10px; color: #9AA3B8; display: block; }

/* 영문 주소 확정 프리뷰 */
.ot-en-prev {
  margin-top: 12px;
  background: rgba(95, 211, 160, 0.06);
  border: 1px solid rgba(95, 211, 160, 0.32);
  border-radius: 9px;
  padding: 10px 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  color: #9AA3B8;
  display: none;
}
.ot-en-prev.active { display: block; }
.ot-en-prev span { display: block; font-size: 9.5px; color: #5FD3A0; font-weight: 800; margin-bottom: 3px; }
.ot-en-prev strong { color: #E8EBF2; font-weight: 700; }

/* 결제 수단 라디오 카드 */
.ot-pay-stack { display: flex; flex-direction: column; gap: 9px; }
.ot-pay-card {
  display: block;
  background: #0F131C;
  border: 1px solid #2B3347;
  border-radius: 11px;
  padding: 13px;
  cursor: pointer;
}
.ot-pay-card.is-selected {
  border-color: rgba(245, 197, 24, 0.65);
  background: rgba(245, 197, 24, 0.05);
}
.ot-pay-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ot-pay-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ot-pay-dot {
  width: 15px; height: 15px;
  border-radius: 50%;
  border: 2px solid #9AA3B8;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ot-pay-card.is-selected .ot-pay-dot { border-color: #F5C518; }
.ot-pay-card.is-selected .ot-pay-dot::after {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: #F5C518;
}
.ot-pay-trow { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ot-pay-title { font-size: 13px; font-weight: 800; color: #E8EBF2; }
.ot-fee-badge {
  font-family: monospace; font-size: 9.5px; font-weight: 800;
  padding: 1px 6px; border-radius: 4px;
  background: rgba(255, 138, 61, 0.16);
  border: 1px solid rgba(255, 138, 61, 0.45);
  color: #FF8A3D;
}
.ot-pay-sub { font-size: 11px; color: #9AA3B8; display: block; margin-top: 1px; }
.ot-pay-tag {
  font-family: monospace; font-size: 9.5px; font-weight: 800;
  padding: 3px 7px; border-radius: 4px;
  background: #1E2433; border: 1px solid #2B3347; color: #F5C518;
  flex-shrink: 0;
}
.ot-pay-desc {
  margin-top: 10px; padding-top: 10px;
  border-top: 1px dashed #2B3347;
  font-size: 11.5px; line-height: 1.55; color: #9AA3B8; word-break: keep-all;
}
.ot-pay-desc strong { color: #E8EBF2; }

/* 주문 요약 */
.ot-ship-note {
  background: #1E2433;
  border: 1px solid #2B3347;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 11.5px;
  color: #9AA3B8;
  line-height: 1.55;
  margin-bottom: 14px;
  word-break: keep-all;
}
.ot-ship-note strong { color: #E8EBF2; font-weight: 800; }
.ot-sum-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 11px 12px;
  align-items: center;
}
.ot-sum-grid .k { font-size: 12.5px; color: #9AA3B8; font-weight: 600; }
.ot-sum-grid .v {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px; font-weight: 800; color: #E8EBF2; text-align: right;
}
.ot-sum-grid .v.is-free { color: #5FD3A0; }
.ot-method-pill {
  display: inline-block;
  background: rgba(95, 211, 160, 0.14);
  color: #5FD3A0;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
}
.ot-sum-gk {
  font-size: 14.5px; font-weight: 900; color: #E8EBF2;
  padding-top: 12px; border-top: 1px solid #2B3347; margin-top: 4px;
}
.ot-sum-gv {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 23px; font-weight: 900; color: #F5C518; text-align: right;
  padding-top: 12px; border-top: 1px solid #2B3347; margin-top: 4px;
}

/* 약관 & 골드 CTA */
.ot-chk-terms { font-size: 11px; line-height: 1.6; color: #9AA3B8; margin: 16px 0 14px; word-break: keep-all; }
.ot-chk-terms a { color: #F5C518; text-decoration: underline; }
.ot-place-btn {
  width: 100%;
  background: #F5C518;
  color: #1A1400;
  border: none;
  border-radius: 12px;
  min-height: 54px;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(245, 197, 24, 0.22);
  margin-bottom: 10px;
}
.ot-place-btn:hover { filter: brightness(1.05); }
.ot-place-btn:disabled { opacity: 0.6; cursor: wait; }
.ot-place-btn .amt { font-family: monospace; font-size: 15.5px; font-weight: 900; }
.ot-chk-fnote { text-align: center; font-size: 11px; line-height: 1.55; color: #9AA3B8; word-break: keep-all; }

/* 첫 주문 브리핑 모달 & 태국 송금 가이드 모달 */
.ot-modal-bg {
  position: fixed; inset: 0;
  background: rgba(5, 7, 12, 0.84);
  backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center;
  padding: 16px; z-index: 99990;
}
.ot-modal-bg.open { display: flex; }
@media (max-width: 600px) {
  .ot-modal-bg { align-items: flex-end; }
}
.ot-modal-box {
  position: relative; overflow: hidden;
  width: 100%; max-width: 440px;
  background: #161B27;
  border: 1px solid rgba(245, 197, 24, 0.45);
  border-radius: 18px;
  padding: 22px 18px 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
}
.ot-modal-box::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, #FF8A3D, #F5C518);
}
.ot-m-kicker { font-family: monospace; font-size: 10px; font-weight: 800; color: #F5C518; letter-spacing: 0.08em; margin-bottom: 4px; }
.ot-m-title { font-size: 17.5px; font-weight: 900; color: #E8EBF2; margin-bottom: 12px; }
.ot-m-list {
  background: #0F131C; border: 1px solid #2B3347; border-radius: 11px;
  padding: 12px 13px; display: flex; flex-direction: column; gap: 10px; margin-bottom: 11px;
}
.ot-m-item { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; line-height: 1.5; color: #9AA3B8; word-break: keep-all; }
.ot-m-item strong { color: #E8EBF2; }
.ot-m-num {
  font-family: monospace; font-size: 10px; font-weight: 900; color: #F5C518;
  background: rgba(245, 197, 24, 0.14); border: 1px solid rgba(245, 197, 24, 0.3);
  padding: 1px 5px; border-radius: 4px; flex-shrink: 0; margin-top: 2px;
}
.ot-m-guiderow {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(95, 211, 160, 0.08); border: 1px solid rgba(95, 211, 160, 0.28);
  border-radius: 9px; padding: 9px 12px; margin-bottom: 12px; font-size: 11.5px; color: #5FD3A0;
}
.ot-m-guidebtn {
  background: transparent; border: none; color: #F5C518;
  font-size: 11.5px; font-weight: 800; text-decoration: underline; cursor: pointer;
}
.ot-m-acts { display: grid; grid-template-columns: 96px 1fr; gap: 8px; }
.ot-m-cancel {
  background: #1E2433; border: 1px solid #2B3347; color: #9AA3B8;
  border-radius: 10px; font-size: 13px; font-weight: 700; padding: 12px 10px; cursor: pointer;
}
.ot-m-ok {
  background: #F5C518; border: none; color: #1A1400;
  border-radius: 10px; font-size: 13.5px; font-weight: 900; padding: 12px 14px; cursor: pointer;
}
.ot-g-step { padding: 8px 0; border-bottom: 1px dashed #2B3347; }
.ot-g-step:last-child { border-bottom: 0; padding-bottom: 0; }
.ot-g-st { font-size: 12px; font-weight: 800; color: #E8EBF2; margin-bottom: 2px; }
.ot-g-st span { font-family: monospace; color: #F5C518; margin-right: 5px; }
.ot-g-sd { font-size: 11px; color: #9AA3B8; line-height: 1.45; }

/* 원본 우커머스 폼 시각적 숨김 */
body.woocommerce-checkout .wc-block-checkout__form {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* 우커머스 숨겨진 블록들의 잔여 여백 및 높이 완전 제거 */
body.woocommerce-checkout .wp-block-woocommerce-checkout > *:empty,
body.woocommerce-checkout .wc-block-checkout__form > *,
body.woocommerce-checkout .wp-block-woocommerce-checkout-additional-information-block,
body.woocommerce-checkout .wp-block-woocommerce-checkout-express-payment-block,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-note-block,
body.woocommerce-checkout .wp-block-woocommerce-checkout-terms-block,
body.woocommerce-checkout .wp-block-woocommerce-checkout-actions-block {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}
/* === OT-DEADSPACE-FIX END === */
/* === OT-DEADSPACE-FIX START === */
/* 우커머스 원본 컨테이너의 잔여 높이/여백 완전 제거 (영역 자체를 붕괴시킴) */
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 커스텀 셸의 하단 패딩 축소 (36px -> 10px) */
#ot-checkout-shell {
    padding-bottom: 10px !important;
}

/* 하단 네비게이션 영역의 불필요한 패딩 제거 */
.ot-f-nav {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}
/* === OT-DEADSPACE-FIX END === */

/* === OT-CHECKOUT-UI END === */

/* === OT-MYACCOUNT-TERMINAL START === */
#ot-myacc-shell { max-width: 1100px; margin: 0 auto; font-family: 'Pretendard', sans-serif; }

/* 상단 HUD */
#ot-myacc-shell .hud-top {
    background: #161B27; border: 1px solid #2B3347; border-radius: 12px;
    padding: 24px; margin-bottom: 24px; position: relative; overflow: hidden;
}
#ot-myacc-shell .security-marker {
    position: absolute; top: 24px; right: 24px;
    font-family: ui-monospace, monospace; font-size: 10px; color: #34D399;
    text-align: right; opacity: 0.8; line-height: 1.4;
}
#ot-myacc-shell .security-marker .dot {
    display: inline-block; width: 6px; height: 6px; background: #34D399;
    border-radius: 50%; margin-right: 4px; box-shadow: 0 0 8px #34D399; animation: ot-blink 2s infinite;
}
@keyframes ot-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

#ot-myacc-shell .hud-kicker { font-family: ui-monospace, monospace; font-size: 11px; color: #F5C518; font-weight: 800; letter-spacing: 1px; margin-bottom: 8px; }
#ot-myacc-shell .hud-title { font-size: 24px; font-weight: 900; margin-bottom: 24px; color: #E8EBF2; }
#ot-myacc-shell .hud-title small { font-size: 14px; color: #9AA3B8; font-weight: 400; }

#ot-myacc-shell .hud-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin-bottom: 20px; }
#ot-myacc-shell .stat-item { background: #1E2433; padding: 14px; border-radius: 8px; border: 1px solid #2B3347; }
#ot-myacc-shell .stat-label { font-size: 11px; color: #9AA3B8; margin-bottom: 6px; font-weight: 600; }
#ot-myacc-shell .stat-value { font-size: 18px; font-weight: 900; color: #F5C518; }

/* 프로그레스 바 */
#ot-myacc-shell .tier-progress-wrap { margin-top: 24px; }
#ot-myacc-shell .tier-labels { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 8px; font-size: 12px; font-weight: 700; }
#ot-myacc-shell .tier-labels .rem { color: #9AA3B8; }
#ot-myacc-shell .tier-labels .pct { color: #F5C518; font-family: monospace; font-size: 14px; }
#ot-myacc-shell .progress-bar-bg { width: 100%; height: 10px; background: #0F131C; border-radius: 999px; border: 1px solid #2B3347; overflow: hidden; }
#ot-myacc-shell .progress-bar-fill { height: 100%; background: linear-gradient(90deg, rgba(245,197,24,0.6) 0%, #F5C518 100%); border-radius: 999px; box-shadow: 0 0 10px rgba(245, 197, 24, 0.4); transition: width 0.5s ease; }

/* 메인 그리드 */
#ot-myacc-shell .myacc-grid { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; }

/* 사이드바 (글자 줄바꿈 방지) */
#ot-myacc-shell #ot-myacc-nav { background: #161B27; border: 1px solid #2B3347; border-radius: 12px; padding: 12px; position: sticky; top: 24px; }
#ot-myacc-shell #ot-myacc-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
#ot-myacc-shell #ot-myacc-nav li { width: 100%; }
#ot-myacc-shell #ot-myacc-nav li a { 
    display: block; width: 100%; padding: 12px 16px; color: #9AA3B8; 
    text-decoration: none; font-size: 13px; font-weight: 700; border-radius: 8px; 
    transition: 0.2s; white-space: nowrap; /* 글자 꺾임 방지 */
}
#ot-myacc-shell #ot-myacc-nav li.is-active a, 
#ot-myacc-shell #ot-myacc-nav li a:hover { background: rgba(245, 197, 24, 0.1); color: #F5C518; }

/* 본문 */
#ot-myacc-shell #ot-myacc-body { background: #161B27; border: 1px solid #2B3347; border-radius: 12px; padding: 24px; min-width: 0; overflow-x: hidden; }

/* 퀵 트래킹 위젯 */
#ot-myacc-shell .live-tracking { background: linear-gradient(90deg, rgba(95, 211, 160, 0.1) 0%, transparent 100%); border: 1px solid rgba(95, 211, 160, 0.3); border-left: 4px solid #5FD3A0; border-radius: 8px; padding: 16px; margin-bottom: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
#ot-myacc-shell .track-info .kicker { font-family: monospace; font-size: 10px; color: #5FD3A0; font-weight: 800; margin-bottom: 4px; }
#ot-myacc-shell .track-info .title { font-size: 15px; font-weight: 900; color: #E8EBF2; margin-bottom: 4px; }
#ot-myacc-shell .track-info .sub { font-size: 12px; color: #9AA3B8; font-family: monospace; }
#ot-myacc-shell .btn-track { background: #5FD3A0; color: #05140F; border: none; padding: 10px 20px; border-radius: 6px; font-weight: 900; font-size: 13px; text-decoration: none; white-space: nowrap; }
#ot-myacc-shell .btn-track:hover { filter: brightness(1.1); box-shadow: 0 0 15px rgba(95, 211, 160, 0.4); color: #05140F; }

#ot-myacc-shell .welcome-msg { font-size: 14px; color: #9AA3B8; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px dashed #2B3347; }
#ot-myacc-shell .welcome-msg strong { color: #E8EBF2; }

/* 신규 위젯 카드 그리드 */
#ot-myacc-shell .widget-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
#ot-myacc-shell .widget-card { background: #1E2433; border: 1px solid #2B3347; border-radius: 10px; padding: 16px; }
#ot-myacc-shell .widget-card h3 { font-family: monospace; font-size: 11px; color: #F5C518; margin-bottom: 12px; font-weight: 800; margin-top: 0; border: none; padding: 0; }
#ot-myacc-shell .widget-card p { font-size: 13px; font-weight: 700; margin-bottom: 16px; color: #E8EBF2; }
#ot-myacc-shell .btn-action { background: #F5C518; color: #1A1400; border: none; padding: 10px 16px; border-radius: 6px; font-weight: 800; font-size: 13px; cursor: pointer; transition: 0.2s; }
#ot-myacc-shell .btn-action:hover { opacity: 0.9; }

/* 우커머스 하위 페이지(주소, 계정정보) 스타일 오버라이드 */
#ot-myacc-shell #ot-myacc-body h2, 
#ot-myacc-shell #ot-myacc-body h3 { font-size: 18px; font-weight: 900; color: #E8EBF2; margin-bottom: 16px; border-bottom: 1px solid #2B3347; padding-bottom: 10px; }
#ot-myacc-shell #ot-myacc-body .woocommerce-Address, 
#ot-myacc-shell #ot-myacc-body .woocommerce-EditAccountForm { background: #1E2433; padding: 20px; border-radius: 10px; border: 1px solid #2B3347; margin-bottom: 20px; }
#ot-myacc-shell #ot-myacc-body input[type="text"], 
#ot-myacc-shell #ot-myacc-body input[type="email"], 
#ot-myacc-shell #ot-myacc-body input[type="password"], 
#ot-myacc-shell #ot-myacc-body select { 
    width: 100% !important; max-width: 100% !important; box-sizing: border-box !important;
    background: #0F131C; border: 1px solid #2B3347; color: #E8EBF2; padding: 10px 12px; border-radius: 6px; margin-bottom: 12px; 
}
#ot-myacc-shell #ot-myacc-body input:focus { border-color: #F5C518; outline: none; }
#ot-myacc-shell #ot-myacc-body button, 
#ot-myacc-shell #ot-myacc-body .button { background: #F5C518; color: #1A1400; border: none; padding: 10px 20px; border-radius: 6px; font-weight: 800; cursor: pointer; }
#ot-myacc-shell #ot-myacc-body button:hover, 
#ot-myacc-shell #ot-myacc-body .button:hover { background: #E0B315; color: #1A1400; }

/* 모바일 반응형 */
@media (max-width: 768px) {
    #ot-myacc-shell .security-marker { position: static; text-align: left; margin-bottom: 16px; }
    #ot-myacc-shell .myacc-grid { grid-template-columns: 1fr; gap: 16px; }
    #ot-myacc-shell #ot-myacc-nav { position: static; padding: 8px; }
    #ot-myacc-shell #ot-myacc-nav ul { flex-direction: row; flex-wrap: wrap; gap: 8px; }
    #ot-myacc-shell #ot-myacc-nav li { flex: 1 1 40%; }
    #ot-myacc-shell #ot-myacc-nav li a { text-align: center; padding: 10px; }
    #ot-myacc-shell #ot-myacc-body { padding: 16px; }
    #ot-myacc-shell .live-tracking { flex-direction: column; align-items: flex-start; }
    #ot-myacc-shell .btn-track { width: 100%; text-align: center; }
}
/* === OT-MYACCOUNT-TERMINAL END === */

/* === OT-ACCOUNT-LAYOUT-FIX START === */
/* 1. 상단 적절한 여백 확보 (헤더와 콘텐츠 사이) */
body.woocommerce-account .site-content,
body.woocommerce-account .inside-article {
    padding-top: 20px !important;
}
body.woocommerce-account main {
    padding-top: 40px !important;
    margin-top: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    max-width: 1100px !important;
}

/* 2. 하단 빈 공간 해결 (화면 높이를 꽉 채우고 푸터를 최하단으로 밀기) */
body.woocommerce-account {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh !important;
}
body.woocommerce-account #page, 
body.woocommerce-account .site,
body.woocommerce-account #content, 
body.woocommerce-account .site-content {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}
body.woocommerce-account main {
    flex-grow: 1 !important;
}
/* === OT-ACCOUNT-LAYOUT-FIX END === */

/* === OT-ACCOUNT-ALIGN-FIX START === */
/* 좌/우 박스의 하단 라인을 일치시키기 위해 높이 늘림 */
body.woocommerce-account #ot-myacc-shell .myacc-grid {
    align-items: stretch !important;
}

/* 좌측 네비게이션 박스가 늘어난 높이를 꽉 채우도록 설정 */
body.woocommerce-account #ot-myacc-shell #ot-myacc-nav {
    height: 100% !important;
    position: static !important; /* sticky 해제하여 높이 100% 적용 */
}

/* 우측 본문 박스도 높이를 꽉 채움 */
body.woocommerce-account #ot-myacc-shell #ot-myacc-body {
    height: 100% !important;
}
/* === OT-ACCOUNT-ALIGN-FIX END === */

/* === OT-MOBILE-WIDTH-FIX START === */
@media (max-width: 768px) {
    /* ot-global.css의 16px 패딩을 우선순위로 이기고 6px로 축소 */
    html body.woocommerce-account #ot-page-wrap {
        padding-left: 6px !important;
        padding-right: 6px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    #ot-myacc-shell {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    #ot-myacc-shell .hud-top {
        padding: 14px !important;
        margin-bottom: 14px !important;
        border-radius: 10px !important;
    }
    #ot-myacc-shell #ot-myacc-grid {
        gap: 14px !important;
    }
    #ot-myacc-shell #ot-myacc-nav,
    #ot-myacc-shell #ot-myacc-body {
        padding: 14px !important;
        border-radius: 10px !important;
    }
    #ot-myacc-shell .stat-item {
        padding: 10px 12px !important;
    }
    #ot-myacc-shell #ot-myacc-nav ul {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 6px !important;
    }
    #ot-myacc-shell #ot-myacc-nav li a {
        padding: 10px 8px !important;
        text-align: center !important;
        font-size: 12px !important;
    }
}
/* === OT-MOBILE-WIDTH-FIX END === */

/* === OT-WOOCOMMERCE-DARK-OVERRIDE START === */
/* 1. 우커머스 알림창 (초록색/파란색 박스) 다크 테마화 */
#ot-myacc-body .woocommerce-message,
#ot-myacc-body .woocommerce-info,
#ot-myacc-body .woocommerce-error {
    background-color: #1E2433 !important;
    color: #E8EBF2 !important;
    border-top: 3px solid #5FD3A0 !important;
    border-radius: 8px !important;
    padding: 16px 20px !important;
    margin-bottom: 20px !important;
    box-shadow: none !important;
}
#ot-myacc-body .woocommerce-error { border-top-color: #FF8A3D !important; }
#ot-myacc-body .woocommerce-info { border-top-color: #F5C518 !important; }

/* 2. 알림창 내부 버튼 다크 테마화 */
#ot-myacc-body .woocommerce-message .button,
#ot-myacc-body .woocommerce-info .button,
#ot-myacc-body .woocommerce-error .button {
    background-color: #F5C518 !important;
    color: #1A1400 !important;
    border-radius: 6px !important;
    font-weight: 800 !important;
    padding: 8px 16px !important;
}

/* 3. 주문 내역 테이블 다크 테마화 */
#ot-myacc-body .woocommerce-orders-table,
#ot-myacc-body table.shop_table {
    background: #161B27 !important;
    border: 1px solid #2B3347 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    color: #E8EBF2 !important;
}

/* 4. 테이블 헤더 및 셀 다크 테마화 */
#ot-myacc-body .woocommerce-orders-table th,
#ot-myacc-body .woocommerce-orders-table td,
#ot-myacc-body table.shop_table th,
#ot-myacc-body table.shop_table td {
    border-bottom: 1px solid #2B3347 !important;
    padding: 14px !important;
    color: #E8EBF2 !important;
    background: transparent !important;
}
#ot-myacc-body .woocommerce-orders-table th,
#ot-myacc-body table.shop_table th {
    background: #1E2433 !important;
    font-weight: 800 !important;
}

/* 5. 상태 배지 (주문 완료 등) 다크 테마화 */
#ot-myacc-body mark.order-status {
    background: rgba(95, 211, 160, 0.15) !important;
    color: #5FD3A0 !important;
    border-radius: 4px !important;
    padding: 2px 8px !important;
    font-weight: 800 !important;
}
/* === OT-WOOCOMMERCE-DARK-OVERRIDE END === */

/* === OT-WOOCOMMERCE-HIDE-ICONS START === */
/* 폰트 깨짐으로 인해 'ㅇ', 'ㅁ'으로 보이는 우커머스 기본 아이콘 제거 */
#ot-myacc-body .woocommerce-message::before,
#ot-myacc-body .woocommerce-info::before,
#ot-myacc-body .woocommerce-error::before {
    display: none !important;
}

/* 아이콘이 사라진 공간만큼 좌측 패딩 축소 */
#ot-myacc-body .woocommerce-message,
#ot-myacc-body .woocommerce-info,
#ot-myacc-body .woocommerce-error {
    padding-left: 20px !important;
    padding-top: 16px !important;
    padding-bottom: 16px !important;
}
/* === OT-WOOCOMMERCE-HIDE-ICONS END === */

/* === OT-ACCOUNT-FORM-FIX START === */
#ot-myacc-body form.woocommerce-EditAccountForm {
    background: transparent !important; border: none !important; box-shadow: none !important;
    padding: 0 !important; margin: 0 !important;
}
#ot-myacc-body form.woocommerce-EditAccountForm fieldset {
    background: transparent !important; border: none !important;
    border-top: 1px dashed #2B3347 !important;
    padding: 16px 0 0 0 !important; margin: 16px 0 0 0 !important;
}
#ot-myacc-body form.woocommerce-EditAccountForm p.form-row {
    margin: 0 0 16px 0 !important; padding: 0 !important;
    background: transparent !important; border: none !important;
}
#ot-myacc-body form.woocommerce-EditAccountForm input.input-text,
#ot-myacc-body form.woocommerce-EditAccountForm input[type="text"],
#ot-myacc-body form.woocommerce-EditAccountForm input[type="email"],
#ot-myacc-body form.woocommerce-EditAccountForm input[type="password"] {
    background-color: #0F131C !important; border: 1px solid #2B3347 !important;
    border-radius: 8px !important; box-shadow: none !important; outline: none !important;
    width: 100% !important; height: 42px !important; padding: 0 12px !important;
    font-size: 13px !important; color: #E8EBF2 !important; box-sizing: border-box !important;
    display: block !important;
}
#ot-myacc-body form.woocommerce-EditAccountForm input.input-text:focus,
#ot-myacc-body form.woocommerce-EditAccountForm input[type="password"]:focus {
    border-color: #F5C518 !important; box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.12) !important;
}
#ot-myacc-body form.woocommerce-EditAccountForm .show-password-input {
    background: transparent !important; border: none !important; box-shadow: none !important;
    right: 12px !important; width: 24px !important; height: 24px !important;
}
#ot-myacc-body form.woocommerce-EditAccountForm .show-password-input::before {
    color: #F5C518 !important; font-size: 16px !important; opacity: 0.8 !important;
}
#ot-myacc-body form.woocommerce-EditAccountForm .show-password-input:hover::before {
    opacity: 1 !important;
}
#ot-myacc-body form.woocommerce-EditAccountForm input[type="password"] {
    padding-right: 40px !important;
}
/* === OT-ACCOUNT-FORM-FIX END === */

/* === OT-DELETE-ACCOUNT-STYLE START === */
/* === OT-DELETE-ACCOUNT-STYLE END === */

/* === OT-HIDE-ADDRESS-NOTICE START === */
/* 주소 미설정 시 우커머스 기본 안내 문구('고객님은 아직...') 숨김 */
#ot-myacc-body .woocommerce-Address address em,
#ot-myacc-body .woocommerce-Address address p,
#ot-myacc-body .woocommerce-address-not-set,
#ot-myacc-body address em {
    display: none !important;
}

/* 배송 주소 카드 내부 여백 재조정 (안내문구 없어진 자리 자연스럽게) */
#ot-myacc-body .woocommerce-Address address {
    font-style: normal !important;
    padding: 8px 0 !important;
}
/* === OT-HIDE-ADDRESS-NOTICE END === */

/* === OT-LOGIN-REGISTER-THEME START === */
/* 1. 페이지 컨테이너 */
body.woocommerce-account:not(.logged-in) .woocommerce {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

/* 2. 데스크탑 2컬럼 */
@media (min-width: 769px) {
    body.woocommerce-account:not(.logged-in) .woocommerce .u-columns.col2-set {
        display: flex !important;
        gap: 28px !important;
        align-items: flex-start !important;
    }
    body.woocommerce-account:not(.logged-in) .woocommerce .u-columns.col2-set .u-column1,
    body.woocommerce-account:not(.logged-in) .woocommerce .u-columns.col2-set .u-column2 {
        width: 50% !important;
        max-width: 50% !important;
        float: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
}

/* 3. 섹션 제목 - 터미널 kicker 스타일 */
body.woocommerce-account:not(.logged-in) .woocommerce h2 {
    color: #E8EBF2 !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    border: none !important;
    letter-spacing: -0.02em !important;
    font-family: 'Pretendard', sans-serif !important;
}
body.woocommerce-account:not(.logged-in) .woocommerce h2::before {
    content: "// ";
    color: #F5C518;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-right: 6px;
}

/* 4. 첫 섹션 위 여백만 제거, 다음 섹션은 자연스러운 간격 */
body.woocommerce-account:not(.logged-in) .woocommerce > h2:first-of-type {
    margin-top: 0 !important;
}
body.woocommerce-account:not(.logged-in) .woocommerce > h2 + form + h2,
body.woocommerce-account:not(.logged-in) .woocommerce form + h2 {
    margin-top: 32px !important;
}

/* 5. 폼 카드 */
body.woocommerce-account:not(.logged-in) .woocommerce form.login,
body.woocommerce-account:not(.logged-in) .woocommerce form.register {
    background: #161B27 !important;
    border: 1px solid #2B3347 !important;
    border-radius: 12px !important;
    padding: 20px !important;
    margin: 0 !important;
}

/* 6. 라벨 */
body.woocommerce-account:not(.logged-in) .woocommerce form label {
    color: #9AA3B8 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    margin-bottom: 6px !important;
    display: block !important;
}

/* 7. 인풋창 */
body.woocommerce-account:not(.logged-in) .woocommerce form input.input-text,
body.woocommerce-account:not(.logged-in) .woocommerce form input[type="text"],
body.woocommerce-account:not(.logged-in) .woocommerce form input[type="email"],
body.woocommerce-account:not(.logged-in) .woocommerce form input[type="password"],
body.woocommerce-account:not(.logged-in) .woocommerce form input[type="tel"] {
    background: #0F131C !important;
    border: 1px solid #2B3347 !important;
    color: #E8EBF2 !important;
    border-radius: 8px !important;
    padding: 11px 13px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    font-size: 13.5px !important;
    height: auto !important;
}
body.woocommerce-account:not(.logged-in) .woocommerce form input:focus {
    border-color: #F5C518 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.12) !important;
}

/* 8. 폼 행 간격 */
body.woocommerce-account:not(.logged-in) .woocommerce form .woocommerce-form-row,
body.woocommerce-account:not(.logged-in) .woocommerce form .form-row,
body.woocommerce-account:not(.logged-in) .woocommerce form p {
    margin: 0 0 14px 0 !important;
    padding: 0 !important;
}
body.woocommerce-account:not(.logged-in) .woocommerce form .woocommerce-form-row:last-child,
body.woocommerce-account:not(.logged-in) .woocommerce form .form-row:last-child,
body.woocommerce-account:not(.logged-in) .woocommerce form p:last-child {
    margin-bottom: 0 !important;
}

/* 9. 안내 문구 ("새 비밀번호를 설정하는 링크가...") - 여백 축소 */
body.woocommerce-account:not(.logged-in) .woocommerce form .woocommerce-form-row small,
body.woocommerce-account:not(.logged-in) .woocommerce form p small,
body.woocommerce-account:not(.logged-in) .woocommerce form .form-row small {
    display: block;
    color: #9AA3B8 !important;
    font-size: 11px !important;
    line-height: 1.5 !important;
    margin-top: 4px !important;
    margin-bottom: 0 !important;
}

/* 10. 버튼 */
body.woocommerce-account:not(.logged-in) .woocommerce form button.button,
body.woocommerce-account:not(.logged-in) .woocommerce form input[type="submit"] {
    background: #F5C518 !important;
    color: #1A1400 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 11px 24px !important;
    font-weight: 900 !important;
    font-size: 13.5px !important;
    cursor: pointer !important;
    width: 100% !important;
    margin-top: 6px !important;
}
body.woocommerce-account:not(.logged-in) .woocommerce form button.button:hover {
    background: #E0B315 !important;
}

/* 11. 기억하기 / 비밀번호 찾기 */
body.woocommerce-account:not(.logged-in) .woocommerce form .woocommerce-form-login__rememberme {
    color: #9AA3B8 !important;
    font-size: 12px !important;
    margin: 8px 0 !important;
    display: block !important;
}
body.woocommerce-account:not(.logged-in) .woocommerce form .lost_password a,
body.woocommerce-account:not(.logged-in) .woocommerce form .woocommerce-LostPassword a {
    color: #9AA3B8 !important;
    font-size: 12px !important;
    text-decoration: underline !important;
}

/* 12. 개인정보 문구 */
body.woocommerce-account:not(.logged-in) .woocommerce-privacy-policy-text {
    color: #9AA3B8 !important;
    font-size: 11px !important;
    line-height: 1.5 !important;
    margin: 14px 0 !important;
}
body.woocommerce-account:not(.logged-in) .woocommerce-privacy-policy-text a {
    color: #F5C518 !important;
}

/* 13. 비밀번호 토글 */
body.woocommerce-account:not(.logged-in) .woocommerce form .show-password-input::before {
    color: #F5C518 !important;
}

/* 14. 모바일 최적화 */
@media (max-width: 768px) {
    body.woocommerce-account:not(.logged-in) .woocommerce {
        padding: 16px 12px !important;
    }
    body.woocommerce-account:not(.logged-in) .woocommerce .u-columns.col2-set {
        display: block !important;
        gap: 0 !important;
    }
    body.woocommerce-account:not(.logged-in) .woocommerce .u-columns.col2-set .u-column1,
    body.woocommerce-account:not(.logged-in) .woocommerce .u-columns.col2-set .u-column2 {
        width: 100% !important;
        max-width: 100% !important;
    }
    body.woocommerce-account:not(.logged-in) .woocommerce .u-columns.col2-set .u-column1 {
        margin-bottom: 24px !important;
    }
    body.woocommerce-account:not(.logged-in) .woocommerce > h2 + form + h2,
    body.woocommerce-account:not(.logged-in) .woocommerce form + h2 {
        margin-top: 24px !important;
    }
    body.woocommerce-account:not(.logged-in) .woocommerce form.login,
    body.woocommerce-account:not(.logged-in) .woocommerce form.register {
        padding: 16px !important;
    }
}
/* === OT-LOGIN-REGISTER-THEME END === */

/* === OT-LOGIN-PADDING-FIX START === */
/* 로그아웃 상태 로그인/회원가입 페이지에서만 .woocommerce 래퍼의 추가 패딩 제거 */
body.woocommerce-account:not(.logged-in) .woocommerce {
    padding-top: 0 !important;
}
/* === OT-LOGIN-PADDING-FIX END === */

/* === OT-REGISTER-NOTICE-STYLE START === */
/* 회원가입 안내 문구 스타일 최적화 */
body.woocommerce-account:not(.logged-in) .woocommerce form.register .woocommerce-form-row small,
body.woocommerce-account:not(.logged-in) .woocommerce form.register p small,
body.woocommerce-account:not(.logged-in) .woocommerce form.register .form-row small,
body.woocommerce-account:not(.logged-in) .woocommerce form.register .woocommerce-privacy-policy-text + small {
    display: block !important;
    color: #7A839A !important;       /* 텍스트 색상 톤다운 */
    font-size: 11.5px !important;    /* 폰트 크기 미세 조정 */
    font-weight: 500 !important;     /* 가독성 확보 */
    line-height: 1.55 !important;
    margin-top: 4px !important;      /* 인풋과의 간격 */
    margin-bottom: 0 !important;
    letter-spacing: 0.01em !important;
    font-style: normal !important;   /* 이탤릭 제거 (있다면) */
}
/* === OT-REGISTER-NOTICE-STYLE END === */

/* === OT-NOTICE-TEXT-SIZE START === */
/* 회원가입 폼 내부 안내 문구(비밀번호 링크 안내 등)를 라벨과 동일한 크기로 축소 */
body.woocommerce-account:not(.logged-in) .woocommerce form.register p,
body.woocommerce-account:not(.logged-in) .woocommerce form.register .woocommerce-form-row + p,
body.woocommerce-account:not(.logged-in) .woocommerce form.register form > p:not(.woocommerce-form-row):not(.form-row) {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #9AA3B8 !important;
    line-height: 1.55 !important;
    margin: 0 0 14px 0 !important;
    padding: 0 !important;
}

/* 인풋 직후 나오는 안내 문구는 좀 더 작게 */
body.woocommerce-account:not(.logged-in) .woocommerce form.register .form-row + p,
body.woocommerce-account:not(.logged-in) .woocommerce form.register .woocommerce-form-row + p {
    font-size: 11.5px !important;
    color: #7A839A !important;
    margin-top: 4px !important;
    margin-bottom: 14px !important;
}
/* === OT-NOTICE-TEXT-SIZE END === */

/* === OT-IMAGE-ROLLBACK START === */
html body.woocommerce-cart .wc-block-grid__product-image {
    background: #FFFFFF !important;
    border: 1px solid #2B3347 !important;
    border-radius: 12px !important;
}
html body.woocommerce-cart .wc-block-grid__product-image img {
    mix-blend-mode: normal !important;
    filter: none !important;
}
/* === OT-IMAGE-ROLLBACK END === */

/* === OT-CART-ALIGN-CLEANUP START === */
/*
 * 작성일: 2026-11-15
 * 목적:
 *   1) 모바일/데스크탑 장바구니에서 상단 무료배송 게이지(.ot-cart-meter)와
 *      상품 카드(tr.wc-block-cart-items__row)의 좌우 폭을 100% 동일하게 정렬
 *   2) 상품 카드 내 중복 가격(단가 .wc-block-cart-item__prices) 숨김 처리하여
 *      우측 상단 항목 합계 금액만 깔끔하게 표시
 * 범위: body.woocommerce-cart 전용 (체크아웃·마이페이지·로그인 0% 영향)
 * 원본 영향: OT-CART-UI(142~516), OT-CART-SAMPLE-SYNC(518~781) 원본 코드 무수정
 */
body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-cart table.wc-block-cart-items,
body.woocommerce-cart table.wc-block-cart-items tbody {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

body.woocommerce-cart .wc-block-cart-item__prices {
  display: none !important;
}
/* === OT-CART-ALIGN-CLEANUP END === */

/* === OT-CART-VERIFIED-ALIGN START === */
/*
 * 작성일: 2026-11-15
 * 목적:
 *   1) 장바구니 래퍼(#ot-page-wrap > *, .entry-content, .wp-block-woocommerce-cart.alignwide)의
 *      불필요한 좌우 14px 여백을 제거하여 상단 게이지 바(.ot-cart-meter)와 상품 카드 폭을 0.0px 오차로 일치
 *   2) 상품 카드 내 중복 가격(단가 .wc-block-cart-item__prices) 숨김 처리
 * 범위: body.woocommerce-cart 전용 (체크아웃·마이페이지·로그인 0% 영향)
 * 원본 영향: OT-CART-UI(142~516), OT-CART-SAMPLE-SYNC(518~781) 원본 코드 무수정
 */
body.woocommerce-cart #ot-page-wrap {
  max-width: 760px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding-left: 14px !important;
  padding-right: 14px !important;
  box-sizing: border-box !important;
}

body.woocommerce-cart #ot-page-wrap > *,
body.woocommerce-cart .entry-content,
body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-cart .wp-block-woocommerce-cart.alignwide,
body.woocommerce-cart .wc-block-components-sidebar-layout,
body.woocommerce-cart .wc-block-cart,
body.woocommerce-cart .wc-block-cart__main,
body.woocommerce-cart table.wc-block-cart-items,
body.woocommerce-cart table.wc-block-cart-items tbody {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

body.woocommerce-cart .ot-cart-meter {
  width: 100% !important;
  padding: 13px 14px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

body.woocommerce-cart .wc-block-cart-item__prices {
  display: none !important;
}
/* === OT-CART-VERIFIED-ALIGN END === */

/* === OT-CART-DESKTOP-2COL START === */
/*
 * 작성일: 2026-11-15
 * 목적: 데스크탑(960px 이상) 장바구니 2단 그리드(좌측 1fr + 우측 380px Sticky) 적용 및
 *       상단 게이지 바(.ot-cart-meter)와 좌우 수직 끝선 0.0px 오차 정렬
 * 범위: @media (min-width: 960px) AND body.woocommerce-cart 전용 (모바일 959px 이하 0% 영향)
 * 원본 영향: OT-CART-UI, OT-CART-SAMPLE-SYNC, OT-CART-VERIFIED-ALIGN 원본 코드 무수정
 */
@media (min-width: 960px) {
  body.woocommerce-cart #ot-page-wrap {
    max-width: 1200px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 24px 20px 56px !important;
    box-sizing: border-box !important;
  }

  /* 상단 게이지 바와 하단 2단 레이아웃 공통 부모 여백 0 통일 */
  body.woocommerce-cart #ot-page-wrap > *,
  body.woocommerce-cart .entry-content,
  body.woocommerce-cart .wp-block-woocommerce-cart,
  body.woocommerce-cart .wp-block-woocommerce-cart.alignwide,
  body.woocommerce-cart #ot-cart-top-ui,
  body.woocommerce-cart .wc-block-cart,
  body.woocommerce-cart .wc-block-components-sidebar-layout,
  body.woocommerce-cart .wc-block-components-sidebar-layout.is-large,
  body.woocommerce-cart .wc-block-components-sidebar-layout.is-medium {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  /* 상단 헤더 & 무료배송 게이지 바 */
  body.woocommerce-cart .ot-cart-head {
    margin-bottom: 18px !important;
  }
  body.woocommerce-cart .ot-cart-title {
    font-size: 24px !important;
  }
  body.woocommerce-cart .ot-cart-meter {
    width: 100% !important;
    padding: 14px 18px !important;
    margin: 0 0 24px 0 !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
  }

  /* 메인 2단 그리드 (좌측 상품 1fr + 우측 요약 380px) */
  body.woocommerce-cart .wc-block-components-sidebar-layout.wc-block-cart {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 380px !important;
    gap: 24px !important;
    align-items: start !important;
  }

  body.woocommerce-cart .wc-block-cart__main,
  body.woocommerce-cart table.wc-block-cart-items,
  body.woocommerce-cart table.wc-block-cart-items tbody {
    grid-column: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  /* 우측 사이드바 Sticky 고정 */
  body.woocommerce-cart .wc-block-cart__sidebar {
    grid-column: 2 !important;
    width: 380px !important;
    max-width: 380px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    position: sticky !important;
    top: 24px !important;
    align-self: start !important;
    box-sizing: border-box !important;
  }

  /* 상품 카드 (88px 이미지 + 정보 + 우측 합계 3열 정렬) */
  body.woocommerce-cart table.wc-block-cart-items tbody tr.wc-block-cart-items__row {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: 88px minmax(0, 1fr) auto !important;
    gap: 16px !important;
    align-items: center !important;
    padding: 16px !important;
    border-radius: 14px !important;
    margin: 0 0 12px 0 !important;
    box-sizing: border-box !important;
  }
  body.woocommerce-cart .wc-block-cart-item__image,
  body.woocommerce-cart .wc-block-cart-item__image img {
    width: 88px !important;
    height: 88px !important;
    border-radius: 10px !important;
  }
  body.woocommerce-cart a.wc-block-components-product-name {
    font-size: 15px !important;
  }
  body.woocommerce-cart .wc-block-cart-item__total .wc-block-components-product-price__value {
    font-size: 16px !important;
  }

  /* 우측 요약 카드 & 결제 버튼 */
  body.woocommerce-cart .ot-cart-summary-box {
    padding: 20px !important;
    border-radius: 14px !important;
  }
  body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-formatted-money-amount {
    font-size: 22px !important;
  }
}
/* === OT-CART-DESKTOP-2COL END === */

/* === OT-GLOBAL-WC-DARK-CLEANUP START === */
/* 1. 전역 우커머스 알림 배너 다크 통일 (.woocommerce-info / message / error / block notice) */
html body .woocommerce-info,
html body .woocommerce-message,
html body .woocommerce-error,
html body .wc-block-components-notice-banner {
  background: #161B27 !important;
  color: #E8EBF2 !important;
  border: 1px solid #2B3347 !important;
  border-top: 3px solid #F5C518 !important;
  border-radius: 14px !important;
  padding: 16px 18px !important;
  margin: 0 0 20px 0 !important;
  box-shadow: none !important;
  font-size: 13.5px !important;
  line-height: 1.55 !important;
}
html body .woocommerce-message { border-top-color: #5FD3A0 !important; }
html body .woocommerce-error { border-top-color: #FF5A5F !important; }
html body .woocommerce-info::before,
html body .woocommerce-message::before,
html body .woocommerce-error::before {
  display: none !important;
}
html body .woocommerce-info .button,
html body .woocommerce-message .button,
html body .woocommerce-error .button,
html body .wc-block-components-notice-banner .button {
  background: #F5C518 !important;
  color: #1A1400 !important;
  border: 0 !important;
  border-radius: 8px !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  padding: 8px 14px !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
}

/* 2. 입금확인 페이지 (#ot-deposit-selector-box & #ot-deposit-form-box) 다크 터미널화 */
html body #ot-deposit-selector-box {
  background: #161B27 !important;
  border: 1px solid #2B3347 !important;
  border-radius: 14px !important;
  padding: 16px 18px !important;
  margin-bottom: 16px !important;
}
html body #ot-deposit-selector-box label,
html body #ot-deposit-form-box label {
  color: #9AA3B8 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  margin-bottom: 6px !important;
}
html body #ot-deposit-order-select,
html body #ot-deposit-form-box input[type="text"],
html body #ot-deposit-form-box input[type="number"] {
  width: 100% !important;
  max-width: 100% !important;
  height: 42px !important;
  background: #0F131C !important;
  border: 1px solid #2B3347 !important;
  border-radius: 9px !important;
  color: #E8EBF2 !important;
  padding: 0 12px !important;
  font-size: 13.5px !important;
  box-sizing: border-box !important;
}
html body #ot-deposit-order-select:focus,
html body #ot-deposit-form-box input:focus {
  border-color: #F5C518 !important;
  outline: none !important;
}
html body #ot-deposit-form-box {
  background: #161B27 !important;
  border: 1px solid #2B3347 !important;
  border-radius: 14px !important;
  padding: 20px 18px !important;
  margin-top: 0 !important;
  color: #E8EBF2 !important;
}
html body #ot-deposit-form-box h3 {
  color: #F5C518 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  margin: 0 0 14px 0 !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid #2B3347 !important;
}
html body #ot-deposit-form-box button[type="submit"] {
  width: 100% !important;
  height: 46px !important;
  background: #F5C518 !important;
  color: #1A1400 !important;
  border: 0 !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  margin-top: 4px !important;
}

/* 3. 주문 완료(Order Received) · 빈 장바구니 · 일반 우커머스 버튼/테이블 잔재 정리 */
html body .woocommerce-order ul.order_details,
html body .woocommerce-bacs-bank-details,
html body .woocommerce-customer-details address,
html body .wc-block-cart__empty-cart__title + p,
html body .wp-block-woocommerce-empty-cart-block {
  background: #161B27 !important;
  border: 1px solid #2B3347 !important;
  border-radius: 14px !important;
  color: #E8EBF2 !important;
}
html body .woocommerce-order table.shop_table,
html body .woocommerce-table--order-details {
  background: #161B27 !important;
  border: 1px solid #2B3347 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
}
html body .woocommerce-order table.shop_table th,
html body .woocommerce-order table.shop_table td {
  background: transparent !important;
  border-bottom: 1px solid #2B3347 !important;
  color: #E8EBF2 !important;
}
html body .woocommerce-order table.shop_table th {
  background: #1E2433 !important;
  color: #9AA3B8 !important;
}
html body .return-to-shop .button,
html body .woocommerce a.button.wc-backward {
  background: #F5C518 !important;
  color: #1A1400 !important;
  border: 0 !important;
  border-radius: 10px !important;
  font-weight: 800 !important;
  padding: 11px 20px !important;
}
/* === OT-GLOBAL-WC-DARK-CLEANUP END === */

/* === OT-CONFIRM-PAYMENT-TERMINAL START === */
body.page-id-75 #ot-page-wrap {
  max-width: 640px !important;
  margin: 0 auto !important;
  padding: 20px 16px 48px !important;
}
body.page-id-75 #ot-page-wrap > h1.ot-sec-title {
  display: none !important;
}
.ot-cp-head {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #2B3347;
}
.ot-cp-kicker {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 800;
  color: #F5C518;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.ot-cp-title {
  font-size: 22px;
  font-weight: 900;
  color: #E8EBF2;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}
.ot-cp-sub {
  font-size: 12.5px;
  color: #9AA3B8;
  margin: 0;
}
.ot-cp-state-card {
  background: #161B27;
  border: 1px solid #2B3347;
  border-top: 3px solid #F5C518;
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
}
.ot-cp-state-badge {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #F5C518;
  background: rgba(245, 197, 24, 0.14);
  border: 1px solid rgba(245, 197, 24, 0.32);
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.ot-cp-state-title {
  font-size: 16px;
  font-weight: 800;
  color: #E8EBF2;
  margin: 0 0 8px;
}
.ot-cp-state-desc {
  font-size: 13px;
  color: #9AA3B8;
  line-height: 1.6;
  margin: 0 0 18px;
  word-break: keep-all;
}
.ot-cp-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.ot-cp-btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  background: #F5C518;
  color: #1A1400 !important;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none !important;
}
.ot-cp-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  background: #1E2433;
  color: #E8EBF2 !important;
  border: 1px solid #2B3347;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
}
/* === OT-CONFIRM-PAYMENT-TERMINAL END === */

/* === OT-CONFIRM-PAYMENT-TYPO-FIX START === */
.ot-cp-title,
.ot-cp-sub,
.ot-cp-state-title,
.ot-cp-state-desc {
  word-break: keep-all !important;
  overflow-wrap: break-word !important;
  letter-spacing: -0.02em !important;
}
.ot-cp-sub {
  font-size: 13px !important;
  line-height: 1.55 !important;
}
.ot-cp-state-desc {
  max-width: 340px;
  margin-left: auto !important;
  margin-right: auto !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
}
/* === OT-CONFIRM-PAYMENT-TYPO-FIX END === */

/* === OT-CP-GUIDE-MATCH START === */
body.page-id-75 #ot-page-wrap {
  max-width: 760px !important;
  padding: 12px 14px 36px !important;
}
body.page-id-75 .ot-cp-head {
  margin: 0 0 16px 0 !important;
  padding: 0 !important;
  border-bottom: none !important;
}
body.page-id-75 .ot-cp-kicker {
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.15em !important;
  color: #F5C518 !important;
  margin: 0 0 4px 0 !important;
}
body.page-id-75 .ot-cp-sub {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #9AA3B8 !important;
  margin: 0 !important;
  line-height: 1.5 !important;
}
/* === OT-CP-GUIDE-MATCH END === */

/* === OT-HIDE-CHECKOUT-INFO START === */
body.woocommerce-checkout .woocommerce-info {
  display: none !important;
}
/* === OT-HIDE-CHECKOUT-INFO END === */

/* === OT-HIDE-YAY-NOTICE START === */
html body.woocommerce-checkout .yay-currency-checkout-notice,
html body.woocommerce-checkout .yay-currency-checkout-notice-admin {
  display: none !important;
}
/* === OT-HIDE-YAY-NOTICE END === */

/* === OT-GLOBAL-FORM-COLOR-LOCK START === */
/* 1) 입력창: hover / focus / active / autofill 다크 배경 + 밝은 텍스트 고정 */
html body input[type="text"],
html body input[type="email"],
html body input[type="password"],
html body input[type="tel"],
html body input[type="number"],
html body input[type="search"],
html body textarea,
html body select,
html body .woocommerce input.input-text,
html body .woocommerce textarea,
html body .woocommerce select {
  background-color: #0E1220 !important;
  color: #E8EBF2 !important;
  -webkit-text-fill-color: #E8EBF2 !important;
  caret-color: #F5C518 !important;
}

html body input[type="text"]:hover,
html body input[type="email"]:hover,
html body input[type="password"]:hover,
html body input[type="tel"]:hover,
html body input[type="number"]:hover,
html body input[type="search"]:hover,
html body textarea:hover,
html body select:hover,
html body input[type="text"]:focus,
html body input[type="email"]:focus,
html body input[type="password"]:focus,
html body input[type="tel"]:focus,
html body input[type="number"]:focus,
html body input[type="search"]:focus,
html body textarea:focus,
html body select:focus,
html body input[type="text"]:active,
html body input[type="email"]:active,
html body input[type="password"]:active,
html body input[type="tel"]:active,
html body input[type="number"]:active,
html body input[type="search"]:active,
html body textarea:active,
html body select:active {
  background-color: #0E1220 !important;
  color: #E8EBF2 !important;
  -webkit-text-fill-color: #E8EBF2 !important;
}

html body input:-webkit-autofill,
html body input:-webkit-autofill:hover,
html body input:-webkit-autofill:focus,
html body input:-webkit-autofill:active,
html body textarea:-webkit-autofill,
html body select:-webkit-autofill {
  -webkit-text-fill-color: #E8EBF2 !important;
  -webkit-box-shadow: 0 0 0 1000px #0E1220 inset !important;
  box-shadow: 0 0 0 1000px #0E1220 inset !important;
  caret-color: #F5C518 !important;
  transition: background-color 9999s ease-in-out 0s !important;
}

html body input::placeholder,
html body textarea::placeholder {
  color: #8A93A6 !important;
  -webkit-text-fill-color: #8A93A6 !important;
  opacity: 1 !important;
}

/* 2) 골드 버튼: hover/focus 시 글자색 유실 방지 */
html body .button,
html body button[type="submit"],
html body input[type="submit"],
html body .woocommerce-Button,
html body .wc-block-components-button:not(.is-link),
html body .ot-cp-btn {
  background-color: #F5C518 !important;
  color: #141000 !important;
}
html body .button:hover,
html body .button:focus,
html body button[type="submit"]:hover,
html body button[type="submit"]:focus,
html body input[type="submit"]:hover,
html body input[type="submit"]:focus,
html body .woocommerce-Button:hover,
html body .woocommerce-Button:focus,
html body .wc-block-components-button:not(.is-link):hover,
html body .wc-block-components-button:not(.is-link):focus,
html body .ot-cp-btn:hover,
html body .ot-cp-btn:focus {
  background-color: #F5C518 !important;
  filter: brightness(1.07);
  color: #141000 !important;
  -webkit-text-fill-color: #141000 !important;
}

/* 3) 고스트/보조 버튼: hover 시 배경/글자 대비 명확화 */
#ot-otp-send-btn:hover,
#ot-otp-send-btn:focus {
  background: #F5C518 !important;
  color: #141000 !important;
  -webkit-text-fill-color: #141000 !important;
}
#ot-otp-verify-btn:hover,
#ot-otp-verify-btn:focus {
  background: #E0B315 !important;
  color: #141000 !important;
  -webkit-text-fill-color: #141000 !important;
}
.ot-cp-btn-ghost:hover,
.ot-cp-btn-ghost:focus {
  background: #2B3347 !important;
  color: #E8EBF2 !important;
  -webkit-text-fill-color: #E8EBF2 !important;
  border-color: #F5C518 !important;
}

/* 4) 비밀번호 강도 배지: 대비 고정 */
html body .woocommerce-password-strength {
  border-radius: 6px !important;
  font-weight: 700 !important;
}
html body .woocommerce-password-strength.short,
html body .woocommerce-password-strength.bad {
  background: rgba(248, 113, 113, 0.16) !important;
  border: 1px solid rgba(248, 113, 113, 0.45) !important;
  color: #FCA5A5 !important;
  -webkit-text-fill-color: #FCA5A5 !important;
}
html body .woocommerce-password-strength.good {
  background: rgba(245, 197, 24, 0.18) !important;
  border: 1px solid rgba(245, 197, 24, 0.5) !important;
  color: #F5C518 !important;
  -webkit-text-fill-color: #F5C518 !important;
}
html body .woocommerce-password-strength.strong {
  background: rgba(74, 222, 128, 0.16) !important;
  border: 1px solid rgba(74, 222, 128, 0.45) !important;
  color: #4ADE80 !important;
  -webkit-text-fill-color: #4ADE80 !important;
}
/* === OT-GLOBAL-FORM-COLOR-LOCK END === */

/* === OT-PASSWORD-TOGGLE-VISIBILITY BEGIN === */
.woocommerce-Input--password,
.password-input,
.password-input.show-password-input { position: relative !important; display: block !important; width: 100% !important; }

.password-input input[type="password"],
.password-input input[type="text"] { padding-right: 44px !important; }

.show-password-input,
button.show-password-input {
  position: absolute !important;
  right: 10px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 28px !important;
  height: 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  z-index: 5 !important;
  color: #F5C518 !important;
  opacity: 0.85 !important;
}

.show-password-input::before,
.show-password-input::after,
.show-password-input svg {
  color: #F5C518 !important;
  fill: #F5C518 !important;
  stroke: #F5C518 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  width: 28px !important;
  height: 28px !important;
  opacity: 0.85 !important;
}

.show-password-input::before {
  color: #F5C518 !important;
  font-size: 17px !important;
  line-height: 1 !important;
  width: auto !important;
  height: auto !important;
}

.show-password-input:hover,
.show-password-input:focus,
.show-password-input.display-password {
  color: #F5C518 !important;
  background: rgba(245, 197, 24, 0.12) !important;
  border-radius: 6px !important;
  opacity: 1 !important;
}

.show-password-input:hover::before,
.show-password-input:focus::before,
.show-password-input.display-password::before,
.show-password-input:hover::after,
.show-password-input:focus::after,
.show-password-input.display-password::after {
  color: #F5C518 !important;
  opacity: 1 !important;
}

.show-password-input:hover svg,
.show-password-input:focus svg,
.show-password-input.display-password svg {
  fill: #F5C518 !important;
  stroke: #F5C518 !important;
  opacity: 1 !important;
}
/* === OT-PASSWORD-TOGGLE-VISIBILITY END === */

/* === OT-PASSWORD-TOGGLE-VISIBILITY START === */
html body .password-input,
html body span.password-input {
  position: relative !important;
  display: block !important;
  width: 100% !important;
}
html body .password-input input[type="password"],
html body .password-input input[type="text"] {
  padding-right: 44px !important;
}
html body .password-input .show-password-input,
html body button.show-password-input,
html body .show-password-input {
  position: absolute !important;
  right: 10px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 30px !important;
  height: 30px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 6px !important;
  background-color: transparent !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 18px 18px !important;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23F5C518%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2%2012s3.5-7%2010-7%2010%207%2010%207-3.5%207-10%207-10-7-10-7Z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%223%22%2F%3E%3C%2Fsvg%3E") !important;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  opacity: 0.9 !important;
  cursor: pointer !important;
  z-index: 10 !important;
  box-shadow: none !important;
}
html body .show-password-input::before,
html body .show-password-input::after {
  content: none !important;
  display: none !important;
}
html body .show-password-input.display-password {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23F5C518%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9.88%209.88a3%203%200%201%200%204.24%204.24%22%2F%3E%3Cpath%20d%3D%22M10.73%205.08A10.43%2010.43%200%200%201%2012%205c6.5%200%2010%207%2010%207a13.16%2013.16%200%200%201-1.67%202.68%22%2F%3E%3Cpath%20d%3D%22M6.61%206.61A13.526%2013.526%200%200%200%202%2012s3.5%207%2010%207a9.74%209.74%200%200%200%205.39-1.61%22%2F%3E%3Cline%20x1%3D%222%22%20y1%3D%222%22%20x2%3D%2222%22%20y2%3D%2222%22%2F%3E%3C%2Fsvg%3E") !important;
  opacity: 1 !important;
}
html body .show-password-input:hover,
html body .show-password-input:focus {
  background-color: rgba(245, 197, 24, 0.14) !important;
  opacity: 1 !important;
  outline: none !important;
}
/* === OT-PASSWORD-TOGGLE-VISIBILITY END === */



/* === OT-ORDERS-TABLE START === */
/* OnlyTren 주문 내역 테이블 — 다크 터미널 (table 기반 / 반응형 카드) */

#ot-myacc-body table.ot-table,
#ot-myacc-body table.woocommerce-orders-table.ot-table {
  width: 100% !important;
  background: #161B27 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  overflow: hidden !important;
  color: #E8EBF2 !important;
}
#ot-myacc-body table.ot-table th,
#ot-myacc-body table.ot-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 16px 20px !important;
  vertical-align: middle !important;
  background: transparent !important;
  color: #E8EBF2 !important;
  font-size: 13px !important;
}
#ot-myacc-body table.ot-table thead th {
  background: #1E2433 !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: #8A93A6 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
#ot-myacc-body table.ot-table tbody tr:last-child th,
#ot-myacc-body table.ot-table tbody tr:last-child td { border-bottom: none !important; }

/* 테이블 행 호버 */
#ot-myacc-body table.ot-table tbody tr:hover th,
#ot-myacc-body table.ot-table tbody tr:hover td { background: rgba(245, 197, 24, 0.045) !important; }

/* 컬럼 정렬: 총계/동작 우측, 나머지 좌측 */
#ot-myacc-body table.ot-table .ot-td-total,
#ot-myacc-body table.ot-table .ot-td-actions { text-align: right !important; }
#ot-myacc-body table.ot-table .ot-td-id,
#ot-myacc-body table.ot-table .ot-td-date,
#ot-myacc-body table.ot-table .ot-td-status { text-align: left !important; }

/* 폰트: 주문번호 */
#ot-myacc-body table.ot-table .ot-order-id,
#ot-myacc-body table.ot-table a.ot-order-id {
  font-family: 'Courier New', Courier, monospace !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #F5C518 !important;
  text-decoration: none !important;
}
#ot-myacc-body table.ot-table a.ot-order-id:hover { text-decoration: underline !important; }

/* 폰트: 상태 & 날짜 */
#ot-myacc-body table.ot-table .ot-td-date time,
#ot-myacc-body table.ot-table .ot-td-date {
  font-size: 13px !important;
  color: #8A93A6 !important;
}

/* 1. 총계 — 컨테이너 축소/뮤트 + 우측정렬 (금액만 강조) */
#ot-myacc-body table.ot-table td.ot-td-total {
  font-size: 12px !important;
  color: #8A93A6 !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  text-align: right !important;
}
.ot-total-label { font-size: 12px !important; color: #8A93A6 !important; font-weight: 400 !important; margin-right: 6px !important; }
#ot-myacc-body table.ot-table td.ot-td-total strong.ot-total-amount { font-size: 15px !important; color: #F5C518 !important; font-weight: 700 !important; font-family: 'Courier New', monospace !important; white-space: nowrap !important; }

/* 상태 배지 (기본) */
#ot-myacc-body table.ot-table .ot-status {
  display: inline-block !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  padding: 4px 10px !important;
  border-radius: 4px !important;
  white-space: nowrap !important;
  line-height: 1.2 !important;
}
.ot-status.status-cancelled { background: rgba(248,113,113,0.1) !important; color: #f87171 !important; border: 1px solid rgba(248,113,113,0.2) !important; padding: 4px 10px !important; border-radius: 4px !important; }
.ot-status.status-completed { background: rgba(95,211,160,0.1) !important; color: #5fd3a0 !important; border: 1px solid rgba(95,211,160,0.2) !important; padding: 4px 10px !important; border-radius: 4px !important; }
.ot-status.status-processing { background: rgba(96,165,250,0.1) !important; color: #60a5fa !important; border: 1px solid rgba(96,165,250,0.2) !important; padding: 4px 10px !important; border-radius: 4px !important; }
.ot-status.status-on-hold,
.ot-status.status-pending { background: rgba(245,197,24,0.1) !important; color: #F5C518 !important; border: 1px solid rgba(245,197,24,0.2) !important; padding: 4px 10px !important; border-radius: 4px !important; }
.ot-status.status-failed { background: rgba(248,113,113,0.1) !important; color: #f87171 !important; border: 1px solid rgba(248,113,113,0.2) !important; padding: 4px 10px !important; border-radius: 4px !important; }
.ot-status.status-refunded { background: rgba(167,139,250,0.1) !important; color: #a78bfa !important; border: 1px solid rgba(167,139,250,0.2) !important; padding: 4px 10px !important; border-radius: 4px !important; }

/* 버튼 (데스크톱) */
#ot-myacc-body table.ot-table .ot-td-actions .ot-actions {
  display: inline-flex !important;
  flex-direction: row !important;
  gap: 8px !important;
  justify-content: flex-end !important;
}
#ot-myacc-body table.ot-table .ot-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 36px !important;
  padding: 0 16px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  line-height: 1 !important;
  transition: all 0.15s ease !important;
  white-space: nowrap !important;
}
.ot-btn-primary { background: #F5C518 !important; color: #0B0E17 !important; border: none !important; }
.ot-btn-primary:hover { filter: brightness(1.08) !important; color: #0B0E17 !important; }
/* 2. secondary 최우선 강제 */
#ot-myacc-body table.ot-table .ot-btn-secondary {
  background: transparent !important;
  color: #F5C518 !important;
  border: 1px solid #F5C518 !important;
}
#ot-myacc-body table.ot-table .ot-btn-secondary:hover {
  background: rgba(245,197,24,0.1) !important;
  color: #F5C518 !important;
}

/* 3. 모바일(768px 이하) 카드형 변환 — !important 강제 */
@media (max-width: 768px) {
  #ot-myacc-body table.ot-table,
  #ot-myacc-body table.woocommerce-orders-table.ot-table {
    border: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    display: block !important;
    width: 100% !important;
  }
  #ot-myacc-body table.ot-table thead { display: none !important; }
  #ot-myacc-body table.ot-table tbody { display: block !important; width: 100% !important; }

  /* tr 카드 (flexbox 재배치를 위해 flex, block 요건은 flex-wrap으로 충족) */
  #ot-myacc-body table.ot-table tbody tr {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: #161B27 !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-bottom: 1px solid #2B3347 !important;
    border-radius: 12px !important;
    padding: 16px 20px !important;
    margin-bottom: 10px !important;
  }
  #ot-myacc-body table.ot-table tbody tr:hover th,
  #ot-myacc-body table.ot-table tbody tr:hover td { background: transparent !important; }

  /* td: padding/border 제거 */
  #ot-myacc-body table.ot-table tbody th,
  #ot-myacc-body table.ot-table tbody td {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 10px !important;
    box-sizing: border-box !important;
  }
  #ot-myacc-body table.ot-table tbody td::before { content: none !important; display: none !important; }

  /* [상단 라인] 주문번호(좌) ... 날짜 ... 상태배지(우) */
  #ot-myacc-body table.ot-table .ot-td-id {
    order: 1 !important;
    width: auto !important;
    flex: 0 1 auto !important;
    margin-right: auto !important;
    margin-bottom: 8px !important;
    font-size: 14px !important;
  }
  #ot-myacc-body table.ot-table .ot-order-id { font-size: 14px !important; }
  #ot-myacc-body table.ot-table .ot-td-date {
    order: 2 !important;
    width: auto !important;
    flex: 0 1 auto !important;
    text-align: left !important;
    margin-right: 12px !important;
    margin-left: 0 !important;
    margin-bottom: 8px !important;
    font-size: 12px !important;
    color: #8A93A6 !important;
  }
  /* 상태배지 우측 끝 */
  #ot-myacc-body table.ot-table .ot-td-status {
    order: 3 !important;
    width: auto !important;
    flex: 0 1 auto !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    margin-bottom: 8px !important;
  }
  #ot-myacc-body table.ot-table .ot-td-status .ot-status {
    padding: 4px 8px !important;
    font-size: 11px !important;
  }
  /* 총액: 다음 줄 전체폭 우측정렬 */
  #ot-myacc-body table.ot-table .ot-td-total {
    order: 4 !important;
    width: 100% !important;
    flex: 1 1 100% !important;
    text-align: right !important;
    margin-top: 8px !important;
    margin-bottom: 16px !important;
    margin-left: 0 !important;
  }
  /* 총액 텍스트 위계: 기본 문구 뮤트/축소, 금액만 강조 */
  #ot-myacc-body table.ot-table td.ot-td-total,
  #ot-myacc-body table.ot-table td.ot-td-total .ot-total {
    font-size: 12px !important;
    color: #8A93A6 !important;
    font-weight: 400 !important;
    text-align: right !important;
  }
  .ot-total-label { font-size: 12px !important; color: #8A93A6 !important; font-weight: 400 !important; margin-right: 6px !important; }
  #ot-myacc-body table.ot-table td.ot-td-total strong.ot-total-amount { font-size: 15px !important; color: #F5C518 !important; font-weight: 700 !important; font-family: 'Courier New', monospace !important; white-space: nowrap !important; }
  /* 액션 하단 전체폭 */
  #ot-myacc-body table.ot-table .ot-td-actions {
    order: 5 !important;
    width: 100% !important;
    flex: 1 1 100% !important;
    margin-bottom: 0 !important;
    text-align: left !important;
  }

  /* 버튼 가로 50:50 */
  #ot-myacc-body table.ot-table .ot-td-actions .ot-actions {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    width: 100% !important;
  }
  #ot-myacc-body table.ot-table .ot-td-actions .ot-btn,
  #ot-myacc-body table.ot-table .ot-td-actions .ot-actions .ot-btn {
    flex: 1 !important;
    padding: 12px 0 !important;
    font-size: 13px !important;
    text-align: center !important;
    margin: 0 !important;
    min-height: 0 !important;
    width: auto !important;
    display: inline-flex !important;
    justify-content: center !important;
  }
  #ot-myacc-body table.ot-table .ot-td-actions .ot-btn-secondary {
    background: transparent !important;
    border: 1px solid #F5C518 !important;
    color: #F5C518 !important;
  }
}
/* === OT-ORDERS-TABLE END === */

/* === OT-CUSTOMER-DETAILS START === */
/* 주문 상세 고객정보 — 배송지 단독 전체너비 (다크 터미널 유지) */
html body .woocommerce-customer-details.ot-customer-details,
html body .woocommerce-order .woocommerce-customer-details {
  width: 100% !important;
  float: none !important;
  clear: both !important;
  margin-top: 16px !important;
}
html body .woocommerce-customer-details .ot-address-full,
html body .woocommerce-customer-details .woocommerce-column {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  display: block !important;
  box-sizing: border-box !important;
}
/* 타이틀 */
html body .woocommerce-customer-details .woocommerce-column__title {
  margin: 0 0 10px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: #9AA3B8 !important;
}
/* 주소 박스: 다크 터미널 테두리/배경 유지 + 패딩 조정 */
html body .woocommerce-customer-details address {
  width: 100% !important;
  box-sizing: border-box !important;
  background: #161B27 !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 14px !important;
  padding: 18px 20px !important;
  color: #E8EBF2 !important;
  font-style: normal !important;
  line-height: 1.7 !important;
}
html body .woocommerce-customer-details address p {
  margin: 6px 0 0 !important;
}
html body .woocommerce-customer-details address .woocommerce-customer-details--email {
  color: #F5C518 !important;
}
/* 2단 레이아웃 잔재 무력화 */
html body .woocommerce-customer-details.col2-set,
html body .woocommerce-customer-details .col2-set {
  display: block !important;
  width: 100% !important;
}
/* 모바일 */
@media (max-width: 768px) {
  html body .woocommerce-customer-details address {
    padding: 16px !important;
    font-size: 13px !important;
  }
}
/* === OT-CUSTOMER-DETAILS END === */

/* === OT-MYACC-NAV-GLOBAL 2026-11-19 START === */
/* 좌측 메뉴: 세로여백 제거 + 스크롤 따라오는 스티키 (전역 ALIGN-FIX 덮어쓰기) */
body.woocommerce-account #ot-myacc-shell .myacc-grid{align-items:start !important}
body.woocommerce-account #ot-myacc-shell #ot-myacc-nav{position:sticky !important;top:96px !important;height:auto !important;align-self:start !important;padding:8px !important;z-index:6}
body.woocommerce-account #ot-myacc-shell #ot-myacc-nav li a{display:flex !important;align-items:center;min-height:44px;padding:0 16px !important;font-size:13.5px;line-height:1.2}
/* sticky 차단자 해제 (html overflow-x:hidden → clip) */
html:has(body.woocommerce-account){overflow-x:clip !important;overflow-y:visible !important}
body.woocommerce-account{overflow-x:clip !important;overflow-y:visible !important}
/* === OT-MYACC-NAV-GLOBAL 2026-11-19 END === */

/* === OT-MYACC-NAV-MOBILE 2026-11-19 START === */
@media (max-width:768px){
  body.woocommerce-account #ot-myacc-shell #ot-myacc-nav{position:static !important;top:auto !important;height:auto !important}
}
/* === OT-MYACC-NAV-MOBILE 2026-11-19 END === */

/* === OT-MOBILE-STATS 2026-11-21 START ===
   문제: .hud-stats = repeat(auto-fit, minmax(150px,1fr)) → 360px 기기(컨테이너 ≈300px)에서 1열로 낙하
   조치: 480px 이하에서 3열 고정 + 타이포/패딩 축소
   롤백: 이 블록 삭제 */
@media (max-width: 480px) {
  #ot-myacc-shell .hud-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  #ot-myacc-shell .hud-stats .stat-item {
    padding: 9px 8px !important;
    min-width: 0 !important;
  }
  #ot-myacc-shell .stat-label {
    font-size: 9.5px !important;
    line-height: 1.3 !important;
    margin-bottom: 4px !important;
    word-break: keep-all;
  }
  #ot-myacc-shell .stat-value {
    font-size: 13px !important;
    line-height: 1.25 !important;
    word-break: break-word;
  }
}
/* === OT-MOBILE-STATS 2026-11-21 END === */

/* === OT-FORM-TIDY 2026-11-21 START ===
   목적: 마이페이지 계정/주소 폼 라벨·입력·섹션 제목 타이포 통일(컴팩트)
   범위: #ot-myacc-body 하위 폼 전용 / 롤백: 이 블록 삭제 */
#ot-myacc-body .woocommerce-EditAccountForm .form-row,
#ot-myacc-body .woocommerce-address-fields .form-row {
  margin: 0 0 12px !important;
  padding: 0 !important;
}

#ot-myacc-body .woocommerce-EditAccountForm label,
#ot-myacc-body .woocommerce-address-fields label {
  display: block !important;
  margin: 0 0 6px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .02em !important;
  color: #8b949e !important;
  line-height: 1.35 !important;
}
#ot-myacc-body .woocommerce-EditAccountForm label .required,
#ot-myacc-body .woocommerce-address-fields label .required {
  color: #f5b800 !important;
  text-decoration: none !important;
}

#ot-myacc-body .woocommerce-EditAccountForm input.input-text,
#ot-myacc-body .woocommerce-EditAccountForm input[type="password"],
#ot-myacc-body .woocommerce-address-fields input.input-text {
  width: 100% !important;
  min-height: 44px !important;
  padding: 0 12px !important;
  background: #0d1117 !important;
  border: 1px solid #2b323b !important;
  border-radius: 10px !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-size: 14px !important;
  box-shadow: none !important;
}
#ot-myacc-body .woocommerce-EditAccountForm input:focus,
#ot-myacc-body .woocommerce-address-fields input:focus {
  outline: none !important;
  border-color: #f5b800 !important;
  box-shadow: 0 0 0 1px rgba(245,184,0,.22) !important;
}

/* 섹션 제목(Password change) 정돈 */
#ot-myacc-body .woocommerce-EditAccountForm fieldset {
  margin: 18px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
#ot-myacc-body .woocommerce-EditAccountForm legend,
#ot-myacc-body .woocommerce-EditAccountForm h3 {
  display: block !important;
  width: 100% !important;
  margin: 0 0 12px !important;
  padding: 0 0 8px !important;
  border-bottom: 1px solid #232a38 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase;
  color: #f5b800 !important;
  -webkit-text-fill-color: #f5b800 !important;
}

/* 저장 버튼 통일 */
#ot-myacc-body .woocommerce-EditAccountForm button.button,
#ot-myacc-body .woocommerce-address-fields button.button {
  display: block !important;
  width: 100% !important;
  min-height: 46px !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #f5b800 !important;
  color: #0d1117 !important;
  -webkit-text-fill-color: #0d1117 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}
/* === OT-FORM-TIDY 2026-11-21 END === */

/* === OT-TOP-GAP 2026-11-21 START ===
   문제: 계정 페이지 main#ot-page-wrap padding-top 40px → 서브바와 카드 사이 41px 공백
   조치: 모바일에서 10px로 축소 / 롤백: 이 블록 삭제 */
@media (max-width: 768px) {
  html body.woocommerce-account #ot-page-wrap {
    padding-top: 10px !important;
    margin-top: 0 !important;
  }
}
/* === OT-TOP-GAP 2026-11-21 END === */

/* === OT-BIGAMT 2026-11-21 START ===
   목적: ฿1,000,000 등 큰 금액에서 카드/라인 레이아웃 깨짐 방지
   롤백: 이 블록 삭제 */
#ot-myacc-shell .stat-value {
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
  overflow-wrap: anywhere;
}
#ot-myacc-shell .tier-labels { gap: 8px; }
#ot-myacc-shell .tier-labels .rem { min-width: 0; }
#ot-myacc-shell .tier-labels .rem strong { white-space: nowrap; }
#ot-myacc-shell .tier-labels .pct { flex: 0 0 auto; }
@media (max-width: 480px) {
  #ot-myacc-shell .hud-stats .stat-value { font-size: 11.5px !important; }
  #ot-myacc-shell .tier-labels { font-size: 11px !important; }
  #ot-myacc-shell .tier-labels .rem strong { font-size: 11.5px !important; }
  #ot-myacc-shell .tier-labels .pct { font-size: 12px !important; }
}
/* === OT-BIGAMT 2026-11-21 END === */
