﻿/**
 * MC2Labs — woocommerce.css
 * WooCommerce style overrides
 * Loaded after: woocommerce-general, woocommerce-layout, woocommerce-smallscreen
 */

/* ── Remove browser invalid (red) border ── */
input:invalid,
select:invalid,
textarea:invalid {
  box-shadow: none !important;
  outline: none !important;
  border-color: #e2e2e2 !important;
}

/* ── Font ── */
.woocommerce, .woocommerce-page,
.woocommerce *, .woocommerce-page * {
  font-family: "Pretendard Variable", "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", sans-serif;
}

/* nav는 Neuwelt 유지 — woocommerce-page 클래스 덮어쓰기 방지 */
.woocommerce-page .mc2-nav,
.woocommerce-page .mc2-nav * {
  font-family: 'Poppins', "Pretendard Variable", "Pretendard", sans-serif;
}

/* ── Remove sidebar ── */
.woocommerce-page .col-md-9,
.woocommerce-page .col-sm-9 {
  width: 100% !important;
  float: none !important;
}
.woocommerce-page .col-md-3,
.woocommerce-page .col-sm-3,
.woocommerce-sidebar,
.woocommerce div.product div.summary ~ aside {
  display: none !important;
}

/* ── Wrapper & layout ── */
.mc2-woo-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(56px + 2rem) 1.5rem 4rem;
}
.woocommerce .woocommerce-result-count {
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 1rem;
}
.woocommerce .woocommerce-ordering {
  margin-bottom: 1rem;
}
.woocommerce .woocommerce-ordering select {
  border: 1px solid #e2e2e2;
  border-radius: 2px;
  font-family: inherit;
  font-size: 12px;
  padding: 0.375rem 0.625rem;
  color: #111111;
  background-color: #ffffff;
}

/* ── Product grid ── */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 1rem !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  clear: both;
}
@media (min-width: 640px) {
  .woocommerce ul.products { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (min-width: 1024px) {
  .woocommerce ul.products { grid-template-columns: repeat(4, 1fr) !important; }
}
.woocommerce ul.products li.product,
.woocommerce ul.products li.product.type-product {
  background: #ffffff !important;
  border: 1px solid #e2e2e2 !important;
  border-radius: 2px !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  float: none !important;
  display: flex !important;
  flex-direction: column !important;
  transition: border-color 0.2s;
  overflow: hidden;
}
.woocommerce ul.products li.product:hover {
  border-color: rgba(26,122,122,0.4) !important;
}

/* ── Product image ── */
.woocommerce ul.products li.product a img {
  width: 100% !important;
  aspect-ratio: 1 !important;
  object-fit: cover !important;
  margin: 0 !important;
  display: block;
}
.woocommerce ul.products li.product .attachment-woocommerce_thumbnail,
.woocommerce ul.products li.product img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 !important;
  object-fit: cover !important;
  margin: 0 !important;
}
/* Placeholder when no image */
.woocommerce ul.products li.product a.woocommerce-loop-product__link {
  display: block;
}

/* ── Product title ── */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #111111 !important;
  padding: 0.75rem 1rem 0.25rem !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}

/* ── Price ── */
.woocommerce ul.products li.product .price {
  display: block !important;
  padding: 0 1rem 0.75rem !important;
  margin: 0 !important;
  font-size: 1rem !important;
  font-weight: 900 !important;
  color: #1B2E4B !important;
  line-height: 1.4;
}
.woocommerce ul.products li.product .price .amount,
.woocommerce ul.products li.product .price bdi {
  color: #1B2E4B !important;
  font-weight: 900 !important;
  font-size: 1rem !important;
}
.woocommerce ul.products li.product .price del .amount {
  color: #9ca3af !important;
  font-weight: 400 !important;
  font-size: 0.875rem !important;
}
.woocommerce ul.products li.product .price ins {
  text-decoration: none !important;
}
.woocommerce ul.products li.product .price ins .amount {
  color: #1B2E4B !important;
}

/* Single product price */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: #1B2E4B !important;
  font-size: 1.5rem !important;
  font-weight: 900 !important;
}
.woocommerce div.product p.price .amount,
.woocommerce div.product span.price .amount {
  color: #1B2E4B !important;
}

/* ── Add to cart button (loop) ── */
.woocommerce ul.products li.product .button {
  display: block !important;
  width: calc(100% - 2rem) !important;
  margin: 0 1rem 1rem !important;
  padding: 0.625rem 1rem !important;
  background-color: #1B2E4B !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 2px !important;
  font-family: inherit !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: background-color 0.2s !important;
  text-decoration: none !important;
  box-shadow: none !important;
}
.woocommerce ul.products li.product .button:hover {
  background-color: #1d8a8a !important;
  color: #ffffff !important;
}
/* Hide "View cart" arrow after add */
.woocommerce ul.products li.product .added_to_cart {
  display: none !important;
}
.woocommerce ul.products li.product .button.loading::after,
.woocommerce ul.products li.product .button.added::after {
  display: none !important;
}

/* ── Add to cart button (single) ── */
.woocommerce div.product form.cart .single_add_to_cart_button,
.woocommerce div.product form.cart button[type="submit"] {
  background-color: #1B2E4B !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 2px !important;
  font-family: inherit !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  padding: 0.875rem 2rem !important;
  font-size: 14px !important;
  transition: background-color 0.2s !important;
}
.woocommerce div.product form.cart .single_add_to_cart_button:hover {
  background-color: #1d8a8a !important;
}

/* ── General buttons ── */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background-color: #1B2E4B !important;
  color: #ffffff !important;
  border-radius: 2px !important;
  font-family: inherit !important;
  font-weight: 700 !important;
  border: none !important;
  transition: background-color 0.2s !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  background-color: #1d8a8a !important;
  color: #ffffff !important;
}

/* ── Cart button ── */
.woocommerce .cart .button,
.woocommerce .cart input.button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  background-color: #1B2E4B !important;
  border-radius: 2px !important;
  font-family: inherit !important;
  font-weight: 700 !important;
  color: #ffffff !important;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
  background-color: #1d8a8a !important;
}

/* ── Checkout button ── */
#place_order,
.woocommerce #payment #place_order {
  background-color: #1B2E4B !important;
  border-radius: 2px !important;
  font-family: inherit !important;
  font-weight: 700 !important;
}
#place_order:hover {
  background-color: #1d8a8a !important;
}

/* ── Breadcrumb ── */
.woocommerce .woocommerce-breadcrumb {
  font-size: 11px;
  color: #9ca3af;
  padding: 0.75rem 0;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e2e2e2;
}
.woocommerce .woocommerce-breadcrumb a {
  color: #9ca3af;
  transition: color 0.2s;
}
.woocommerce .woocommerce-breadcrumb a:hover {
  color: #1B2E4B;
}

/* ── Single product layout ── */
.woocommerce div.product {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .woocommerce div.product {
    grid-template-columns: 1.1fr 1fr;
  }
  .woocommerce div.product div.images { margin-bottom: 0; }
}
.woocommerce div.product div.summary {
  padding: 0;
}
.woocommerce div.product div.summary .product_title {
  font-size: clamp(1.6rem, 3vw, 2.4rem) !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em !important;
  color: #111111 !important;
  line-height: 1.1 !important;
  margin-bottom: 0.75rem !important;
}
.woocommerce div.product div.summary .woocommerce-product-details__short-description {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.7;
  border-top: 1px solid #e2e2e2;
  padding-top: 1.25rem;
  margin-top: 0.5rem;
}

/* ── Product tabs ── */
.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0;
  border-bottom: 1px solid #e2e2e2;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  border-bottom-color: #1B2E4B;
  background: transparent;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  color: #4b5563;
  font-weight: 600;
  font-size: 13px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: #1B2E4B;
}
.woocommerce div.product .woocommerce-tabs .panel {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.7;
  padding: 1.5rem 0;
}

/* ── Star ratings ── */
.woocommerce .star-rating span::before,
.woocommerce .star-rating::before {
  color: #1B2E4B;
}
.woocommerce .star-rating {
  color: #1B2E4B;
}

/* ── Notices ── */
.woocommerce-message,
.woocommerce-info {
  border-top-color: #1B2E4B !important;
  font-family: inherit;
  font-size: 14px;
  border-radius: 2px;
}
.woocommerce-message::before,
.woocommerce-info::before {
  color: #1B2E4B !important;
}

/* ── Qty input ── */
.woocommerce div.product form.cart .qty {
  border: 1px solid #e2e2e2;
  border-radius: 2px;
  padding: 0.5rem 0.75rem;
  font-family: inherit;
  font-size: 14px;
  width: 64px;
  text-align: center;
}

/* ── Forms ── */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce-page form .form-row input.input-text {
  border: 1px solid #e2e2e2;
  border-radius: 2px;
  font-family: inherit;
  padding: 0.625rem 0.75rem;
  font-size: 14px;
  color: #111111;
  width: 100%;
  box-sizing: border-box;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
  border-color: #1B2E4B;
  outline: none;
  box-shadow: 0 0 0 2px rgba(26,122,122,0.12);
}
.woocommerce form .form-row label {
  font-size: 12px;
  font-weight: 600;
  color: #111111;
  margin-bottom: 0.25rem;
  display: block;
}

/* ── Pagination ── */
.woocommerce nav.woocommerce-pagination {
  margin-top: 2rem;
  text-align: center;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  color: #1B2E4B;
  border: 1px solid #e2e2e2;
  border-radius: 2px;
  font-family: inherit;
  font-size: 13px;
  padding: 0.5rem 0.875rem;
  margin: 0 2px;
}
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li a:focus {
  background-color: #1B2E4B;
  color: #ffffff;
  border-color: #1B2E4B;
}

/* ── Cart table ── */
.woocommerce table.shop_table {
  border: 1px solid #e2e2e2;
  border-radius: 2px;
  font-size: 14px;
}
.woocommerce table.shop_table th {
  font-size: 11px;
  font-weight: 700;
  color: #111111;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: #ffffff;
  padding: 0.75rem 1rem;
}
.woocommerce table.shop_table td {
  padding: 1rem;
  border-top: 1px solid #e2e2e2;
  vertical-align: middle;
}
.woocommerce table.cart .product-name a {
  font-weight: 600;
  color: #111111;
}
.woocommerce table.cart .product-name a:hover {
  color: #1B2E4B;
}

/* ── Coupon ── */
.woocommerce-cart table.cart td.actions .coupon .input-text {
  border: 1px solid #e2e2e2;
  border-radius: 2px;
  padding: 0.625rem 0.75rem;
  font-family: inherit;
  font-size: 14px;
  width: auto;
}
.woocommerce-cart table.cart td.actions .coupon .button {
  width: auto !important;
  margin: 0 !important;
  padding: 0.625rem 1rem !important;
}

/* ── Cart totals ── */
.woocommerce .cart-collaterals .cart_totals {
  float: none;
  width: 100%;
  max-width: 480px;
  margin-left: auto;
}
.woocommerce .cart-collaterals .cart_totals h2 {
  font-size: 1rem;
  font-weight: 900;
  color: #111111;
  margin-bottom: 1rem;
}
.woocommerce .cart-collaterals .cart_totals table th,
.woocommerce .cart-collaterals .cart_totals table td {
  font-size: 14px;
  padding: 0.75rem 1rem;
}
.woocommerce .cart-collaterals .cart_totals table .order-total .amount {
  color: #1B2E4B;
  font-weight: 900;
  font-size: 1.1rem;
}

/* ── Related products ── */
.woocommerce .related h2,
.woocommerce .upsells h2 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 1.5rem;
}

/* ── Sale badge ── */
.woocommerce ul.products li.product .onsale,
.woocommerce span.onsale {
  background-color: #1B2E4B;
  border-radius: 2px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  min-height: auto;
  min-width: auto;
  padding: 0.25rem 0.5rem;
  line-height: 1.4;
  top: 0.75rem;
  left: 0.75rem;
  right: auto;
}

/* ── Quantity buttons ── */
.woocommerce div.product form.cart div.quantity {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0;
}



/* ── Checkout order summary 가격 폰트 웨이트 ── */
.wc-block-components-order-summary-item__individual-prices,
.wc-block-components-order-summary-item__full-price,
.wc-block-components-order-summary-item__individual-prices *,
.wc-block-components-order-summary-item__full-price *,
.wc-block-components-totals-item__value,
.wc-block-components-order-summary-item *  {
  font-weight: 400 !important;
}

/* ── 합계 금액만 폰트 700 ── */
.wc-block-components-totals-footer-item .wc-block-formatted-money-amount,
.wc-block-components-totals-footer-item .wc-block-components-formatted-money-amount,
.wc-block-components-totals-footer-item-tax-value {
  font-weight: 700 !important;
}

/* ── Checkout order summary: 상품 설명 숨기기 ── */
.wc-block-components-product-details,
.wc-block-components-order-summary-item__subtitle,
.wc-block-components-order-summary-item__short-description,
.wc-block-components-order-summary-item ul,
.wc-block-components-order-summary-item p:not(.wc-block-components-order-summary-item__name) {
  display: none !important;
}

/* ── Checkout 페이지 상단 여백 ── */
body.woocommerce-checkout .mc2-page {
  padding-top: 130px !important;
}

/* ── Checkout 페이지 배경색 ── */
body.woocommerce-checkout,
body.woocommerce-checkout .mc2-page,
body.woocommerce-checkout .mc2-container,
body.woocommerce-checkout main,
body.woocommerce-checkout .entry-content,
body.woocommerce-checkout .woocommerce,
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .mc2-nav,
body.woocommerce-checkout .mc2-nav.scrolled,
body.woocommerce-checkout .mc2-footer,
body.woocommerce-checkout footer {
  background: #ffffff !important;
  background-color: #ffffff !important;
}

/* ── My Account 페이지 배경색 ── */
body.woocommerce-account,
body.woocommerce-account html,
body.woocommerce-account .mc2-page,
body.woocommerce-account .mc2-container,
body.woocommerce-account main,
body.woocommerce-account .entry-content,
body.woocommerce-account .woocommerce,
body.woocommerce-account .mc2-nav,
body.woocommerce-account .mc2-nav.scrolled,
body.woocommerce-account .mc2-footer,
body.woocommerce-account footer {
  background: #ffffff !important;
  background-color: #ffffff !important;
}
body.woocommerce-account .mc2-nav::after {
  display: none !important;
}
body.woocommerce-account .mc2-nav,
body.woocommerce-account .mc2-nav.scrolled {
  border-bottom: none !important;
}

/* ── 모든 WooCommerce 페이지 nav 회색 줄 강제 표시 ── */
body.woocommerce .mc2-nav,
body.woocommerce-page .mc2-nav,
body.woocommerce-shop .mc2-nav {
  background: #ffffff !important;
}
body.woocommerce .mc2-nav::after,
body.woocommerce-page .mc2-nav::after,
body.woocommerce-shop .mc2-nav::after {
  display: block !important;
  background: #e8e8e8 !important;
}

/* ── 회원정보 수정 — Password change 박스 선 제거 ── */
.woocommerce-account .woocommerce-EditAccountForm fieldset {
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.woocommerce-account .woocommerce-EditAccountForm fieldset legend {
  padding: 0 !important;
}

/* ── 비밀번호 표시 토글 버튼 제거 ── */
.woocommerce-account .show-password-input,
.woocommerce-account .woocommerce-password-strength,
.woocommerce-account .woocommerce-password-hint {
  display: none !important;
}

/* ── Selection / focus accent ── */
.woocommerce :focus-visible {
  outline: 2px solid #1B2E4B;
  outline-offset: 2px;
}

/* ── 체크아웃: 청구주소 섹션 + 체크박스 숨김 ── */
.wp-block-woocommerce-checkout-billing-address-block,
.wc-block-checkout__use-address-for-billing,
.wc-block-components-checkbox.wc-block-checkout__use-address-for-billing,
.wc-block-checkout__shipping-fields .wc-block-components-checkbox {
  display: none !important;
}

/* ── 체크아웃: 배송주소 국가 선택 숨김 (국내 전용) ── */
.wp-block-woocommerce-checkout-shipping-address-block .wc-block-components-country-input,
.wp-block-woocommerce-checkout-shipping-address-block .wc-block-components-address-form__country {
  display: none !important;
}

/* ── 주문 상세 / 주문 접수: WooCommerce 기본 출력 숨김 (커스텀 뷰로 교체됨) ── */
.woocommerce-account .woocommerce-order-details,
.woocommerce-account .woocommerce-customer-details,
.woocommerce-order-received .woocommerce-order-details,
.woocommerce-order-received .woocommerce-customer-details,
.woocommerce-order-received .woocommerce-order-overview {
  display: none !important;
}

/* ── 체크아웃: 배송 요청사항을 배송주소 바로 아래로 이동 ── */
.wp-block-woocommerce-checkout-fields-block {
  display: flex;
  flex-direction: column;
}
.wp-block-woocommerce-checkout-contact-information-block { order: 1; }
.wp-block-woocommerce-checkout-shipping-address-block    { order: 2; }
.wp-block-woocommerce-checkout-shipping-address-block {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.wp-block-woocommerce-checkout-order-note-block {
  order: 3;
  margin-top: 0 !important;
  padding-top: 0 !important;
}
/* step 래퍼 상단 여백 제거 — 체크박스 내부 요소는 건드리지 않음 */
.wp-block-woocommerce-checkout-order-note-block .wc-block-components-checkout-step {
  margin-top: 0 !important;
  padding-top: 12px !important;
}
.wp-block-woocommerce-checkout-order-note-block .wc-block-components-checkout-step__heading,
.wp-block-woocommerce-checkout-order-note-block .wc-block-components-checkout-step__title {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.wp-block-woocommerce-checkout-billing-address-block     { order: 4; }
.wp-block-woocommerce-checkout-shipping-methods-block    { order: 5; }
.wp-block-woocommerce-checkout-payment-block             { order: 6; }

/* ── 체크아웃: 성(last_name) 숨기기 + 필드 순서 통일 ── */
/* 성 필드 숨기기 */
.wp-block-woocommerce-checkout-shipping-address-block .wc-block-components-address-form__last_name {
  display: none !important;
}
/* 이름 필드 full width */
.wp-block-woocommerce-checkout-shipping-address-block .wc-block-components-address-form__first_name {
  flex: 1 1 100% !important;
  max-width: 100% !important;
}
/* 필드 순서: 이름 → 휴대폰 → 우편번호 → 주소 → 상세주소 (시/군/구 숨김) */
.wp-block-woocommerce-checkout-shipping-address-block .wc-block-components-address-form__first_name  { order: 1; }
.wp-block-woocommerce-checkout-shipping-address-block .wc-block-components-address-form__phone       { order: 2; flex: 1 1 100% !important; max-width: 100% !important; }
.wp-block-woocommerce-checkout-shipping-address-block .wc-block-components-address-form__postcode    { order: 3; flex: 1 1 100% !important; max-width: 100% !important; }
.wp-block-woocommerce-checkout-shipping-address-block .wc-block-components-address-form__address_1   { order: 4; flex: 1 1 100% !important; max-width: 100% !important; }
.wp-block-woocommerce-checkout-shipping-address-block .wc-block-components-address-form__address_2   { order: 5; flex: 1 1 100% !important; max-width: 100% !important; }
/* 시/군/구 제거 */
.wp-block-woocommerce-checkout-shipping-address-block .wc-block-components-address-form__city        { display: none !important; }
/* 우편번호 칸 — 클릭으로 팝업 열림 */
.wp-block-woocommerce-checkout-shipping-address-block .wc-block-components-address-form__postcode input {
    cursor: pointer !important;
    caret-color: transparent;
}
/* address_2: PHP 필터로 항상 인풋 표시 — 혹시 남아있는 토글 버튼 숨김 */
.wp-block-woocommerce-checkout-shipping-address-block .wc-block-components-address-form__address_2 button,
.wp-block-woocommerce-checkout-shipping-address-block .wc-block-components-address-form [class*="address_2-toggle"],
.wp-block-woocommerce-checkout-shipping-address-block .wc-block-components-address-form [class*="address-2-toggle"] { display: none !important; }

/* ════════════════════════════════════════════════
   체크아웃 페이지 — 연한/흐린 색 모두 #111로 통일
   ════════════════════════════════════════════════ */

/* 섹션 제목 (배송 주소, 연락처 등) */
body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-checkout-step__heading,
body.woocommerce-checkout .wc-block-components-form-step__title,
body.woocommerce-checkout .wc-block-components-form-step__heading { color: #111 !important; }

/* 폼 필드 floating 라벨 */
body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-address-form label,
body.woocommerce-checkout .wc-block-components-form-token-field label { color: #111 !important; }

/* 입력 텍스트 */
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-address-form input,
body.woocommerce-checkout .wc-block-components-textarea textarea { color: #111 !important; }

/* 라디오/체크박스 레이블 (배송 방법, 결제 방법) */
body.woocommerce-checkout .wc-block-components-radio-control__label,
body.woocommerce-checkout .wc-block-components-radio-control__description,
body.woocommerce-checkout .wc-block-components-radio-control-accordion-content,
body.woocommerce-checkout .wc-block-components-payment-method-label,
body.woocommerce-checkout .wc-block-components-payment-method-label__name { color: #111 !important; }

/* 주문 요약 사이드바 */
body.woocommerce-checkout .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-components-totals-item__value,
body.woocommerce-checkout .wc-block-components-totals-item,
body.woocommerce-checkout .wc-block-components-order-summary-item__name,
body.woocommerce-checkout .wc-block-components-order-summary-item__individual-prices,
body.woocommerce-checkout .wc-block-components-order-summary-item__full-price { color: #111 !important; }

/* 스텝 번호 */
body.woocommerce-checkout .wc-block-components-checkout-step__number { color: #111 !important; }

/* 기타 설명/안내 텍스트 */
body.woocommerce-checkout .wc-block-components-checkout-step__description,
body.woocommerce-checkout .wc-block-components-form-step__description,
body.woocommerce-checkout p,
body.woocommerce-checkout span:not(.wc-block-components-chip__text):not([class*="badge"]) { color: #111 !important; }

/* 링크 */
body.woocommerce-checkout a { color: #111 !important; }
body.woocommerce-checkout a:hover { opacity: 0.7; }

/* 흰 배경 위의 버튼·badge 텍스트는 유지 */
body.woocommerce-checkout .wc-block-components-button,
body.woocommerce-checkout button.wc-block-components-button { color: #fff !important; }

/* 주문하기 버튼 — 실제 클래스명으로 정확히 타겟 */
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout button.wc-block-components-checkout-place-order-button {
  --wc-block-components-button-background-color: #111 !important;
  --wp--preset--color--primary: #111 !important;
  background-color: #111 !important;
  background: #111 !important;
  border-color: #111 !important;
  color: #fff !important;
  opacity: 1 !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
  background-color: #222 !important;
  background: #222 !important;
  opacity: 1 !important;
}

/* 체크아웃 상품명 */
.wc-block-components-product-name {
  color: #111 !important;
  font-weight: 600 !important;
}

