/* GQM 파일 업로드 필수 «담기 잠김» 안내 — v0.35.9 · gqm-upload-gate.js 짝 · 아이콘 없음
   ★WoodMart 가 버튼에 전역 !important 를 건다 → element + class + 속성 + !important 로 이긴다. */

form.cart.gqm-upload-locked { position: relative; }

/* 버튼 바로 위 한 줄 — 폼이 flex-wrap 이라 한 줄을 통째로 쓴다 */
form.cart .gqm-upload-hint {
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid #f7b267;
  border-radius: 6px;
  background: #fff4e5;
  color: #b54708;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
  text-align: center;
  transition: background-color .2s, color .2s, border-color .2s;
}
form.cart .gqm-upload-hint[hidden] { display: none !important; }
/* v0.35.10 — 기본 = 주황(A안 · 사장님 2026-10-13 「눈에 안 띄는 그레이」) · 누름 강조 = 빨강 · 첨부됨 = 녹색(같은 굵기·테두리) */
form.cart .gqm-upload-hint.is-alert { background: #fdeeee; color: #c62828; border-color: #f1a7a7; }
form.cart .gqm-upload-hint.gqm-upload-hint--done { background: #eef7f0; color: #1d6b35; border-color: #9fd3ae; }

/* 잠긴 버튼 — 확실히 «꺼진» 모양 */
form.cart.gqm-upload-locked button.single_add_to_cart_button[disabled] {
  background: #c7cbd1 !important;
  border-color: #c7cbd1 !important;
  color: #ffffff !important;
  opacity: 1 !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
}

/* 잠긴 버튼 위 투명 덮개 — 잠긴 버튼은 클릭이 안 일어나서, 눌림을 여기서 받는다 */
form.cart .gqm-upload-catch {
  position: absolute;
  z-index: 3;
  background: transparent;
  cursor: not-allowed;
}

/* 업로드 칸 강조(눌렀을 때 잠깐) */
.gqm-upload-flash {
  outline: 2px solid #d6453a !important;
  outline-offset: 4px;
  border-radius: 6px;
  transition: outline-color .2s;
}
