/* V192 관리자: 각 작품 카드에 직접 이동 버튼 */
.asp-v192-direct-tools{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;padding:5px;background:#f6f6f6;border-bottom:1px solid #ddd;position:relative;z-index:30}
.asp-v192-direct-tools button{cursor:pointer!important;pointer-events:auto!important;padding:5px 2px;border:1px solid #999;background:#fff;border-radius:4px;font-size:9px;font-weight:800;line-height:1.15}
.asp-v192-direct-tools button:hover{background:#eee}
/* 카드 외곽은 액자로 오인하지 않도록 아주 가는 한 줄 */
#productGrid article.product-card{border:1px solid #e2e2e2!important;outline:0!important;box-shadow:none!important}
#productGrid article.product-card .image-box{border:0!important;border-bottom:1px solid #ededed!important;box-shadow:none!important}
/* 가격/할인/판매상태: 모두 왼쪽에서 한 줄 */
#productGrid .v192-commerce{display:flex;align-items:center;justify-content:flex-start;gap:6px;flex-wrap:wrap;margin:3px 0 1px!important;text-align:left!important;font-size:9px;line-height:1.15}
#productGrid .v192-commerce strong{font-size:12px;line-height:1.1}
#productGrid .v192-original{text-decoration:line-through;color:#888;font-size:9px}
#productGrid .v192-discount{font-weight:900;color:#b21f2d;font-size:9px}
#productGrid .v192-status{border:1px solid #bbb;border-radius:999px;padding:2px 5px;font-size:8px;background:#fff}
/* 구매버튼: 즉시결제는 파란색 */
#productGrid .asp-v191-pay{background:#1769d2!important;color:#fff!important;border-color:#1769d2!important}
/* 설명 영역 더 압축 */
#productGrid .bc77-product-card .card-body{padding:6px 8px 7px!important}
#productGrid .card-title{font-size:13px!important;margin:1px 0!important}
#productGrid .card-author,#productGrid .bc77-card-spec{font-size:9px!important;line-height:1.15!important}
@media(max-width:700px){.asp-v192-direct-tools{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ===== V212 작품 구매 3버튼 고정 ===== */
#productGrid .asp-v212-actions{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:4px!important;
  margin-top:5px!important;
}
#productGrid .asp-v212-actions button{
  width:100%!important;
  min-width:0!important;
  min-height:31px!important;
  padding:4px 2px!important;
  border-radius:5px!important;
  font-size:9px!important;
  font-weight:900!important;
  line-height:1.12!important;
  white-space:normal!important;
}
#productGrid .asp-v212-actions .asp-v191-consult{
  background:#fee500!important;
  color:#111!important;
  border:1px solid #e0c900!important;
}
#productGrid .asp-v212-actions .asp-v191-pay{
  background:#1769d2!important;
  color:#fff!important;
  border:1px solid #1769d2!important;
}
#productGrid .asp-v212-actions .asp-v191-pay:disabled{
  background:#9aa9bd!important;
  border-color:#9aa9bd!important;
  color:#fff!important;
  opacity:.58!important;
}
#productGrid .asp-v212-actions .asp-v191-cart{
  background:#fff!important;
  color:#332d25!important;
  border:1px solid #aaa!important;
}
@media(max-width:700px){
  #productGrid .asp-v212-actions{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  #productGrid .asp-v212-actions button{
    font-size:8.5px!important;
    padding:4px 1px!important;
  }
}


/* ===== V213 카드 3버튼 선명도 고정 ===== */
#productGrid .asp-v212-actions .asp-v191-consult{
  background:#fee500!important;
  color:#111!important;
  opacity:1!important;
}
#productGrid .asp-v212-actions .asp-v191-pay{
  background:#1769d2!important;
  color:#fff!important;
  border-color:#1769d2!important;
  opacity:1!important;
}
#productGrid .asp-v212-actions .asp-v191-pay:disabled,
#productGrid .asp-v212-actions .asp-v191-pay.asp-v205-disabled-buy{
  background:#4f82d8!important;
  color:#fff!important;
  border-color:#4f82d8!important;
  opacity:1!important;
  filter:none!important;
  cursor:not-allowed!important;
}
#productGrid .asp-v212-actions .asp-v191-cart{
  background:#fff!important;
  color:#27231f!important;
  border:1px solid #777!important;
  opacity:1!important;
}


/* ===== V214 판매상태 배지 가독성 강화 ===== */

/* 작품 카드의 판매상태: 작게 흐린 알약 모양 금지 */
#productGrid .bc59-status-pill,
#productGrid .v192-status{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:58px!important;
  min-height:23px!important;
  padding:4px 8px!important;
  border-radius:5px!important;
  border:1.5px solid #333!important;
  font-size:10.5px!important;
  line-height:1!important;
  font-weight:1000!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
  text-shadow:none!important;
  box-shadow:none!important;
  opacity:1!important;
}

/* 판매중 = 선명한 연두/초록 바탕 + 검정 글씨 */
#productGrid .bc59-status-pill[data-status="판매중"],
#productGrid .v192-status[data-status="판매중"]{
  background:#8fe3a8!important;
  color:#07170c!important;
  border-color:#24733c!important;
}

/* 판매보류 = 선명한 핑크 바탕 + 검정 글씨 */
#productGrid .bc59-status-pill[data-status="판매보류"],
#productGrid .v192-status[data-status="판매보류"]{
  background:#ffb6c8!important;
  color:#2a0710!important;
  border-color:#b23b58!important;
}

/* 출고대기 = 주황/노랑 바탕 + 검정 글씨 */
#productGrid .bc59-status-pill[data-status="출고대기"],
#productGrid .v192-status[data-status="출고대기"]{
  background:#ffd36a!important;
  color:#241600!important;
  border-color:#a56c00!important;
}

/* 판매완료 = 진회색 바탕 + 흰 글씨 */
#productGrid .bc59-status-pill[data-status="판매완료"],
#productGrid .v192-status[data-status="판매완료"]{
  background:#4f5358!important;
  color:#fff!important;
  border-color:#24272a!important;
}

/* 상세화면 판매상태는 카드보다 한 단계 크게 */
.bc69-detail-sale-state .bc59-status-pill{
  min-width:72px!important;
  min-height:28px!important;
  padding:6px 11px!important;
  font-size:12px!important;
  font-weight:1000!important;
  border-radius:6px!important;
  border:1.5px solid #333!important;
  opacity:1!important;
}
.bc69-detail-sale-state .bc59-status-pill[data-status="판매중"]{
  background:#8fe3a8!important;color:#07170c!important;border-color:#24733c!important;
}
.bc69-detail-sale-state .bc59-status-pill[data-status="판매보류"]{
  background:#ffb6c8!important;color:#2a0710!important;border-color:#b23b58!important;
}
.bc69-detail-sale-state .bc59-status-pill[data-status="출고대기"]{
  background:#ffd36a!important;color:#241600!important;border-color:#a56c00!important;
}
.bc69-detail-sale-state .bc59-status-pill[data-status="판매완료"]{
  background:#4f5358!important;color:#fff!important;border-color:#24272a!important;
}

/* 관리자 상단 상태필터도 상태별 색을 맞춰 한눈에 구분 */
.bc59-status-filter button[data-status="판매중"]{
  background:#8fe3a8!important;color:#07170c!important;border-color:#24733c!important;
}
.bc59-status-filter button[data-status="판매보류"]{
  background:#ffb6c8!important;color:#2a0710!important;border-color:#b23b58!important;
}
.bc59-status-filter button[data-status="출고대기"]{
  background:#ffd36a!important;color:#241600!important;border-color:#a56c00!important;
}
.bc59-status-filter button[data-status="판매완료"]{
  background:#4f5358!important;color:#fff!important;border-color:#24272a!important;
}
.bc59-status-filter button{
  font-size:11px!important;
  font-weight:1000!important;
  min-height:30px!important;
  opacity:1!important;
}
