/* 두리 v7 확장 CSS — 속성 큰블럭 추천 · 필수 연관 경고 · 국가/지역 법규 · 테스트 잠금
   v6 기준 스타일은 store-base.css 가 담당한다. 여기서는 겹치지 않는 v7 클래스만 정의한다. */

/* 마스터(index)에는 pages.css 가 없어 쓰는 공용 보조 클래스 */
.btn.tiny { padding: 6px 10px; font-size: 11px; border-radius: 9px; }
.chip.green { background: #F0F2EE; color: var(--green); border-color: #DADED3; }
.chip.blue { background: #F5F4EF; color: var(--ocean); border-color: #EEEBE4; }

/* ═════════ v7 — 속성 큰블럭 추천 · 필수 연관 경고 · 국가/지역 법규 · 테스트 잠금 ═════════ */

/* ───────── 블럭관리 상단 버튼 묶음 ───────── */
.bm-acts { display: inline-flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }

/* ───────── 법률·기능 필수 연관 블럭 경고 ───────── */
.dep-warn {
  border: 1px solid #CFC5AE; border-left: 4px solid var(--amber);
  background: #E6E0D1; border-radius: 14px; padding: 12px 14px; margin-bottom: 14px;
  box-shadow: 0 1px 2px rgba(30, 55, 43, .04);
}
.dw-head { display: flex; align-items: flex-start; gap: 9px; }
.dw-ico { color: var(--amber); display: grid; place-items: center; flex: none; margin-top: 1px; }
.dw-title { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dw-title b { font-size: 13px; font-weight: 800; color: #5C503D; letter-spacing: -0.02em; }
.dw-title span { font-size: 11.5px; color: #605340; line-height: 1.5; }
.dw-title span b { display: inline; font-size: 11.5px; color: #5C503D; }
.dw-list { display: grid; gap: 6px; margin-top: 10px; }
.dw-row {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  background: #FAF8F3; border: 1px solid #E1DBCD; border-radius: 10px; padding: 8px 10px;
}
.dw-row.legal { border-color: #E7D9D5; background: #F4EDEC; }
.dw-tag {
  flex: none; font-size: 10px; font-weight: 800; letter-spacing: .02em;
  border-radius: 999px; padding: 2px 7px; background: #E5DFCF; color: #5C503D;
}
.dw-row.legal .dw-tag { background: #F4EDEC; color: #814840; }
.dw-msg { flex: 1; min-width: 160px; font-size: 12px; font-weight: 650; color: var(--ink-2); line-height: 1.45; }
.dw-msg em { font-style: normal; display: inline-block; margin-left: 6px; font-size: 10.5px; color: var(--muted); }
.btn.tiny { padding: 6px 10px; font-size: 11px; border-radius: 9px; }
.dw-row .btn.primary { background: var(--navy); border-color: var(--navy); color: #FAF8F3; }
.dw-more { font-size: 11px; color: var(--muted); padding: 2px 2px 0; }

/* ───────── 속성 큰블럭 추천 ───────── */
.reco-modal { max-width: 720px; }
.reco-body { padding: 4px 18px 0; display: flex; flex-direction: column; gap: 10px; }
.reco-search {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; background: var(--soft);
}
.reco-search svg { color: var(--muted); flex: none; }
.reco-search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: 13.5px; font-weight: 650; }
.reco-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.reco-chips .chip { font-size: 11.5px; padding: 5px 10px; }
.reco-res { border-top: 1px solid var(--line-soft); padding-top: 10px; }
.reco-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.reco-head b { display: block; font-size: 15px; font-weight: 820; color: var(--ink); letter-spacing: -0.03em; }
.reco-head span { font-size: 11.5px; color: var(--muted); }
.reco-feat { font-size: 12px; color: var(--ink-2); line-height: 1.55; margin: 4px 0 8px; }
.reco-list { display: grid; gap: 8px; max-height: 46vh; overflow-y: auto; padding-right: 2px; }
.reco-mid { border: 1px solid var(--line); border-radius: 12px; background: #FAF8F3; overflow: hidden; }
.reco-row { display: flex; align-items: flex-start; gap: 9px; padding: 9px 11px; cursor: pointer; }
.reco-row input { margin-top: 2px; width: 17px; height: 17px; accent-color: var(--ocean); flex: none; }
.reco-row.mid { background: #F5F4EF; border-bottom: 1px solid var(--line-soft); }
.reco-name { font-size: 12.5px; font-weight: 780; color: var(--ink); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.reco-name em { font-style: normal; font-size: 9.5px; font-weight: 800; color: var(--ocean); background: #F5F4EF; border-radius: 999px; padding: 1px 6px; }
.reco-row.minor .reco-name em { color: var(--muted); background: #F5F4EF; }
.reco-desc { flex: 1; min-width: 0; font-size: 11.5px; color: var(--muted); line-height: 1.45; }
.reco-minors { display: grid; }
.reco-minors .reco-row { padding-left: 26px; border-top: 1px solid var(--line-soft); }
.reco-minors .reco-row:first-child { border-top: 0; }
.reco-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 26px 12px 20px; }
.reco-empty-ico { width: 46px; height: 46px; border-radius: 13px; background: #F5F4EF; color: var(--ocean); display: grid; place-items: center; }
.reco-empty b { font-size: 13.5px; font-weight: 800; color: var(--ink); }
.reco-empty p { font-size: 11.5px; color: var(--muted); line-height: 1.6; max-width: 380px; }
.reco-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  padding: 12px 18px; border-top: 1px solid var(--line-soft); margin-top: 12px;
}
.reco-sum { font-size: 11.5px; color: var(--muted); font-weight: 650; }

/* ───────── 업체관리: 표준판 필수 블럭 일괄 적용 ───────── */
.store-bulk {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  background: #F5F4EF; border: 1px solid #ECEAE2; border-radius: 14px; padding: 12px 14px; margin-bottom: 14px;
}
.sb-bulk-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sb-bulk-txt b { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 800; color: var(--ink); }
.sb-bulk-txt b svg { color: var(--ocean); }
.sb-bulk-txt span { font-size: 11.5px; color: var(--muted); line-height: 1.55; }
.bulk-all { padding: 4px 18px 8px; }
.bulk-allrow {
  display: flex; align-items: center; gap: 9px; background: var(--soft); border: 1px solid var(--line);
  border-radius: 11px; padding: 10px 12px; font-size: 12.5px; font-weight: 750; color: var(--ink-2); cursor: pointer;
}
.bulk-allrow input { width: 17px; height: 17px; accent-color: var(--ocean); }
.bulk-allrow b { margin-left: auto; font-size: 11.5px; color: var(--ocean); }
.bulk-list { max-height: 52vh; overflow-y: auto; padding: 0 18px 6px; display: grid; gap: 6px; }
.bulk-row {
  display: flex; align-items: flex-start; gap: 10px; border: 1px solid var(--line); border-radius: 11px;
  padding: 10px 12px; background: #FAF8F3; cursor: pointer;
}
.bulk-row.on { border-color: #E1DDD1; background: #F5F4EF; }
.bulk-row input { margin-top: 2px; width: 17px; height: 17px; accent-color: var(--ocean); flex: none; }
.bulk-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bulk-name { font-size: 12.5px; font-weight: 780; color: var(--ink); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.bulk-name em { font-style: normal; font-size: 9.5px; font-weight: 800; color: var(--muted); background: #F5F4EF; border-radius: 999px; padding: 1px 6px; }
.bulk-meta { font-size: 11px; color: var(--muted); }
.bulk-empty { font-size: 12px; color: var(--muted); text-align: center; padding: 26px 0; }

/* ───────── 국가 · 지역 세그먼트 ───────── */
.seg2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.seg2-btn {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1px; text-align: left;
  border: 1px solid var(--line); border-radius: 13px; padding: 11px 13px; background: #FAF8F3; color: var(--ink-2);
}
.seg2-btn b { font-size: 13px; font-weight: 800; color: var(--ink); }
.seg2-btn em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--ocean); }
.seg2-btn small { font-size: 10.5px; color: var(--muted); line-height: 1.45; margin-top: 3px; }
.seg2-btn.on { background: var(--navy); border-color: var(--navy); color: #FAF8F3; }
.seg2-btn.on b { color: #FAF8F3; }
.seg2-btn.on em { color: #D9D4C4; }
.seg2-btn.on small { color: #E3DFD3; }
.law-form { margin-top: 12px; }
.law-tag { font-style: normal; font-size: 10px; font-weight: 800; color: var(--ocean); background: #F5F4EF; border-radius: 999px; padding: 2px 7px; margin-left: 2px; }

/* ───────── 지역 법규 카드 ───────── */
.reg-card {
  margin-top: 12px; border: 1px solid #ECEAE2; border-radius: 14px; background: #F5F4EF; padding: 13px 15px;
}
.reg-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.reg-head b { font-size: 13.5px; font-weight: 800; color: var(--navy); }
.reg-head span { font-size: 11px; color: var(--muted); }
.reg-group { border-top: 1px solid var(--line-soft); padding-top: 8px; margin-top: 8px; }
.reg-group:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.reg-label { font-size: 11px; font-weight: 800; color: var(--ocean); letter-spacing: .01em; margin-bottom: 4px; }
.reg-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.reg-group li { position: relative; padding-left: 11px; font-size: 11.5px; color: var(--ink-2); line-height: 1.55; }
.reg-group li::before { content: ''; position: absolute; left: 2px; top: 7px; width: 4px; height: 4px; border-radius: 50%; background: #C9C1AA; }
.reg-note { font-size: 10.5px; color: var(--muted-2); line-height: 1.55; margin-top: 10px; border-top: 1px dashed var(--line); padding-top: 8px; }

/* ───────── 사업자등록증 첨부 · 자동 채우기 ───────── */
.doc-helper { margin-top: 14px; border: 1px dashed #E8E5DB; border-radius: 14px; background: #F5F4EF; padding: 13px 15px; }
.doc-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.doc-head b { font-size: 13px; font-weight: 800; color: var(--ink); }
.doc-head span { font-size: 11.5px; color: var(--muted); line-height: 1.5; }
.doc-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 12px; }
@media (max-width: 720px) { .doc-body { grid-template-columns: 1fr; } }
.doc-drop { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.doc-thumb {
  width: 100%; max-width: 240px; aspect-ratio: 4 / 3; object-fit: cover;
  border: 1px solid var(--line); border-radius: 11px; background: #FAF8F3;
}
.doc-thumb.empty { display: grid; place-items: center; font-size: 11px; color: var(--muted-2); }
.doc-paste { display: flex; flex-direction: column; gap: 8px; }
.doc-paste textarea {
  width: 100%; min-height: 84px; resize: vertical; border: 1px solid var(--line); border-radius: 11px;
  padding: 9px 11px; font-size: 12px; background: #FAF8F3; outline: none; line-height: 1.5;
}
.doc-paste textarea:focus { border-color: var(--ocean); box-shadow: 0 0 0 3px rgba(47, 85, 68, .1); }
.doc-preset { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.doc-preset span { font-size: 10.5px; color: var(--muted); line-height: 1.5; }

/* ───────── 손님용 테스트중 띠 / 게이트 ───────── */
.test-band {
  display: flex; align-items: center; gap: 6px; justify-content: center;
  background: #1E372B; color: #FAF8F3; font-size: 11.5px; font-weight: 800;
  padding: 6px 12px; letter-spacing: -0.01em;
}
.test-band i { width: 6px; height: 6px; border-radius: 50%; background: #AC9773; flex: none; }
.test-band span { font-weight: 600; color: #E3DFD3; font-size: 10.5px; }
.guest-gate .gate-chip {
  font-size: 10.5px; font-weight: 800; letter-spacing: .02em; border-radius: 999px;
  padding: 3px 10px; background: #F5F4EF; color: var(--ocean);
}
.guest-gate.is-test .gate-chip { background: #E0D9C6; color: #6B3C35; }
.guest-gate.is-paused .gate-chip { background: #F4EDEC; color: #79443B; }
.guest-gate.is-paused .pin-ico { background: #F4EDEC; color: var(--red); }
.guest-gate .pin-card h1 { font-size: 16.5px; line-height: 1.35; }

/* ───────── 좁은 화면 가로 넘침 보정 (블럭 목록) ───────── */
.sb-list, .sb-row, .sb-main { min-width: 0; max-width: 100%; }
.sb-main { overflow: hidden; }
.sb-name, .sb-sub { overflow: hidden; text-overflow: ellipsis; }
.sb-name { white-space: nowrap; }

/* 속성 큰블럭 추천 — 하단 버튼은 스크롤과 상관없이 항상 보이게 */
.reco-foot { position: sticky; bottom: 0; background: #FAF8F3; border-top: 1px solid var(--line); box-shadow: 0 -6px 18px -16px rgba(30, 55, 43, .5); }
.reco-foot .pick-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; margin-left: 0; }
.reco-foot .btn { white-space: nowrap; }
.reco-sum { min-width: 0; flex: 1 1 200px; }
@media (max-width: 520px) {
  .reco-foot { flex-direction: column; align-items: stretch; gap: 8px; }
  .reco-foot .pick-actions { justify-content: stretch; }
  .reco-foot .pick-actions .btn { flex: 1; }
}

/* ───────── v12 사장님 고유 아이디 · 아이디+비밀번호 로그인 · 링크 발급 카드 ───────── */

/* 업체관리 카드: 사장님 고유 아이디 줄 */
.stc-owner {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 9px 12px; border-top: 1px solid var(--line-soft, var(--line));
  background: #F7F4EC; border-radius: 12px; margin: 2px 0 8px;
}
.stc-owner-k { font-size: 10.5px; font-weight: 800; letter-spacing: .02em; color: var(--muted); }
.stc-owner-v {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; font-weight: 800;
  color: var(--ocean); letter-spacing: .04em; flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.stc-owner-cp {
  display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); background: #FAF8F3;
  color: var(--ink); font-size: 11px; font-weight: 800; border-radius: 999px; padding: 4px 10px; line-height: 1;
}
.stc-owner-cp svg { width: 12px; height: 12px; }
.stc-owner-cp:hover { border-color: var(--ocean); color: var(--ocean); }

/* 업체 상세: 사장님 로그인 정보 카드 */
.owner-login-card { border-color: #CFE0D5; background: linear-gradient(180deg, #FBFAF5 0%, #F4F7F2 100%); }
.olc-grid { display: grid; gap: 8px; }
.olc-row {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: #FAF8F3; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px;
}
.olc-k { font-size: 11.5px; font-weight: 800; color: var(--muted); min-width: 78px; }
.olc-v { font-size: 15px; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; }
.olc-v.oid { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ocean); letter-spacing: .04em; }
.olc-hint { font-size: 10.5px; color: var(--muted-2); }
.olc-url { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px; color: var(--ink-2); word-break: break-all; }
.olc-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.olc-foot span { font-size: 10.5px; color: var(--muted); line-height: 1.5; flex: 1 1 200px; }

/* 링크 발급 직후 맨 위에 뜨는 카드 — 긴 URL도 선명하게 읽히도록 줄바꿈·고대비 */
.sd-issue {
  position: relative; margin: 0 0 14px; padding: 18px; border-radius: 18px;
  background: linear-gradient(150deg, #1E372B 0%, #2F5544 100%); color: #F2EFE6;
  box-shadow: 0 24px 48px -32px rgba(30, 55, 43, .8);
}
.sdi-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; padding-right: 34px; }
.sdi-badge {
  display: inline-flex; align-items: center; gap: 5px; background: #FAF8F3; color: #1E372B;
  font-size: 11.5px; font-weight: 800; border-radius: 999px; padding: 4px 11px;
}
.sdi-badge svg { width: 13px; height: 13px; }
.sdi-head h3 { font-size: 15px; font-weight: 800; letter-spacing: -0.02em; color: #FFFFFF; line-height: 1.45; }
.sdi-close {
  position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border: 0; border-radius: 9px;
  background: rgba(250, 248, 243, .16); color: #FAF8F3; display: grid; place-items: center; cursor: pointer;
}
.sdi-close svg { width: 16px; height: 16px; }
.sdi-links { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.sdi-link {
  display: flex; flex-direction: column; gap: 8px; padding: 13px 14px; border-radius: 13px;
  background: rgba(250, 248, 243, .13); border: 1px solid rgba(250, 248, 243, .26); color: #FFFFFF;
  min-width: 0;
}
.sdi-link-top { display: flex; flex-direction: column; gap: 2px; }
.sdi-link-top b { font-size: 14px; font-weight: 800; color: #FFFFFF; letter-spacing: -0.01em; }
.sdi-link-top span { font-size: 11.5px; color: #DCE4D8; line-height: 1.5; }
.sdi-url {
  display: block; padding: 8px 10px; border-radius: 9px; background: rgba(15, 32, 24, .42);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; line-height: 1.55;
  color: #F7F5EC; letter-spacing: 0; white-space: normal; word-break: break-all; overflow-wrap: anywhere;
}
.sdi-link-act { display: flex; gap: 6px; flex-wrap: wrap; }
.sdi-link-act .btn.small { min-height: 34px; padding: 0 12px; font-size: 12.5px; }
.sdi-link-act .btn.light { background: #FAF8F3; border-color: #FAF8F3; color: #1E372B; font-weight: 800; }
.sdi-cred {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px;
  background: rgba(250, 248, 243, .13); border-radius: 12px; padding: 11px 13px;
}
.sdi-cred-item { display: flex; flex-direction: column; gap: 3px; }
.sdi-cred span { font-size: 10.5px; font-weight: 700; color: #DCE4D8; }
.sdi-cred .sdi-cred-val {
  display: inline-block; padding: 3px 9px; border-radius: 8px; background: #FAF8F3; color: #14261C;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 15px; font-weight: 800; letter-spacing: .04em;
}
.sdi-cred-note { font-size: 11px; color: #DCE4D8; margin-left: auto; }
.sdi-act { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.sdi-act .btn.primary { background: #FAF8F3; color: #1E372B; }
.sdi-act .btn.ghost { border-color: rgba(250, 248, 243, .45); color: #FAF8F3; background: transparent; }
@media (max-width: 720px) {
  .sdi-links { grid-template-columns: 1fr; }
  .sdi-url { font-size: 13px; }
  .sdi-cred-note { margin-left: 0; }
}

/* /owner · /pos 로그인: 아이디 + 비밀번호 두 칸 */
.owner-login .pin-card { gap: 9px; }
.owner-login .pin-card form { gap: 9px; }
.owner-login .pin-card #olId {
  text-align: left; font-size: 15px; letter-spacing: 0; font-weight: 700; padding: 12px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.owner-login .pin-card #olPin {
  text-align: center; font-size: 20px; letter-spacing: .42em; padding: 12px 8px 12px 16px;
}
.owner-login .pin-card #olPin::placeholder { letter-spacing: 0; font-size: 13.5px; font-weight: 600; }
.owner-login .pin-card #olId::placeholder { font-family: 'Pretendard Variable', Pretendard, system-ui, sans-serif; font-size: 13px; letter-spacing: -0.01em; }
.owner-login .pin-hint { font-size: 11px; color: var(--muted); }
.owner-login .pin-hint b { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ocean); letter-spacing: .04em; }
.owner-logout { font-weight: 800; }

@media (max-width: 520px) {
  .sdi-cred-note { margin-left: 0; }
  .sdi-cred b { font-size: 14px; }
  .olc-k { min-width: 64px; font-size: 11px; }
  .olc-v { font-size: 14px; }
}

/* ═══════════════════════════════════════════════════════════
   v17 — 확인창 별도 층 · OCR 안내 · 업종 복수 선택 · 주소 검색 · 메뉴 관리
   ═══════════════════════════════════════════════════════════ */

/* 확인·경고는 입력 중인 모달을 덮지 않고 위에 뜬다 */
#dlgHost .dlg-back { z-index: 240; }
#dlgHost .dlg-back .modal { max-width: 470px; width: 100%; }
#dlgHost .dlg-back .modal p { white-space: pre-wrap; }

/* 검수용 일시 오픈 띠 */
.review-band {
  position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  pointer-events: none; z-index: 260; display: flex; align-items: center; gap: 7px;
  max-width: min(420px, calc(100% - 18px)); white-space: nowrap; overflow: hidden;
  padding: 7px 13px; border-radius: 999px; background: rgba(122, 62, 29, .94); color: #FAF8F3;
  font-size: 11px; font-weight: 700; line-height: 1.2; box-shadow: 0 8px 20px rgba(30, 55, 43, .26);
}
.review-band b { font-size: 10px; padding: 2px 6px; border-radius: 999px; background: rgba(250, 248, 243, .2); flex: 0 0 auto; }
.review-band span, .review-band { text-overflow: ellipsis; }
.review-band span { font-weight: 600; opacity: .92; overflow: hidden; text-overflow: ellipsis; }

/* OCR · 자동 인식 안내 */
.ocr-note {
  display: flex; align-items: flex-start; gap: 7px; margin: 8px 0 2px;
  padding: 9px 11px; border-radius: 11px; background: #EFEDE2; border: 1px solid var(--stone-line, #C7BEA9);
  color: #4A4433; font-size: 11.5px; font-weight: 650; line-height: 1.5;
}
.ocr-note svg { flex: 0 0 auto; margin-top: 1px; }
.ocr-note.busy { background: #E6E9DF; }
#docOcrSlot:empty { display: none; }

/* 3-1 업종 복수 선택 */
.lm-types { display: flex; flex-direction: column; gap: 7px; margin: 12px 0 4px; }
.lm-types-label { font-size: 12px; font-weight: 800; color: var(--forest); }
.lm-types-label em { font-style: normal; font-weight: 600; color: var(--muted, #6B7268); margin-left: 5px; font-size: 11px; }
.lm-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lm-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px;
  border: 1px solid var(--stone-line, #C7BEA9); background: #FAF8F3; color: var(--forest);
  font-size: 12px; font-weight: 750; cursor: pointer;
}
.lm-chip .lm-dot { width: 8px; height: 8px; border-radius: 50%; background: #C9C2AE; }
.lm-chip.on { background: var(--forest, #1E372B); border-color: var(--forest, #1E372B); color: #FAF8F3; }
.lm-chip.on .lm-dot { background: #C9D8A8; }
.lm-chip i { font-style: normal; font-size: 10px; font-weight: 700; padding: 1px 5px; border-radius: 999px; background: rgba(250, 248, 243, .2); }
.lm-chip:not(.on) i { display: none; }
.lm-region {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 0 2px; padding: 9px 11px;
  border-radius: 12px; background: #F5F2E8; border: 1px solid var(--hair, rgba(30,55,43,.10)); font-size: 11.5px;
}
.lm-region b { font-size: 12px; }
.lm-region span { color: var(--muted, #6B7268); }
.lm-region em { flex-basis: 100%; font-style: normal; color: #7A5B2B; font-weight: 650; }
.lm-region.off { color: var(--muted, #6B7268); }
.lm-x { margin-left: auto; border: 0; background: transparent; color: var(--muted, #6B7268); cursor: pointer; padding: 2px; line-height: 0; }
.lm-card.platform { background: #F7F5EC; }
.lm-head .lm-x { order: 3; }

/* 새 업체 만들기 — 법률·필수 블럭 미리보기 */
.sn-legal { margin: 4px 0 12px; padding: 11px 12px; border-radius: 13px; background: #F5F2E8; border: 1px solid var(--stone-line, #C7BEA9); }
.sl-head { display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; justify-content: space-between; margin-bottom: 7px; }
.sl-head b { font-size: 12px; }
.sl-head span { font-size: 11px; color: var(--muted, #6B7268); }
.sl-item { display: flex; flex-direction: column; gap: 2px; padding: 7px 0; border-top: 1px solid var(--hair, rgba(30,55,43,.08)); }
.sl-item:first-of-type { border-top: 0; }
.sl-item b { font-size: 12px; }
.sl-item span { font-size: 11px; color: #4A4433; }
.sl-item em { font-style: normal; font-size: 11px; color: var(--muted, #6B7268); }
.sl-region, .sl-blocks { margin: 6px 0 0; font-size: 11px; color: #7A5B2B; font-weight: 650; }
.sl-empty { font-size: 11.5px; color: var(--muted, #6B7268); }

/* 주소 검색 모달 */
.addr-modal .addr-body { display: flex; flex-direction: column; gap: 10px; }
.addr-embed { width: 100%; min-height: 420px; border-radius: 12px; overflow: hidden; }
.addr-embed iframe { width: 100%; height: 420px; border: 0; display: block; }
.addr-find { display: flex; gap: 6px; align-items: center; }
.addr-find input { flex: 1; min-width: 0; height: 40px; }
.addr-list { display: flex; flex-direction: column; gap: 6px; max-height: 260px; overflow-y: auto; }
.addr-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; text-align: left; padding: 9px 11px; border-radius: 11px; border: 1px solid var(--hair, rgba(30,55,43,.12)); background: #FAF8F3; cursor: pointer; }
.addr-row b { font-size: 12.5px; }
.addr-row span { grid-column: 1 / 2; font-size: 11px; color: var(--muted, #6B7268); }
.addr-row em { grid-column: 2 / 3; grid-row: 1 / 3; align-self: center; font-style: normal; font-size: 11px; font-weight: 700; color: var(--forest); }
.addr-empty { font-size: 11.5px; color: var(--muted, #6B7268); padding: 10px 4px; }
.addr-note { font-size: 11px; color: var(--muted, #6B7268); }

/* 노출블럭 전체 선택/해제 */
.pk-bulk { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 8px 0 2px; }
.pk-bulk span { font-size: 11px; color: var(--muted, #6B7268); }

/* 메뉴 탭 */
.menu-cats { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; }
.menu-cats .seg2-btn { white-space: nowrap; }
.mact { display: inline-flex; gap: 4px; }
.mcell-name .btn { margin-top: 4px; }
.tbl .mact .btn { padding: 4px 7px; font-size: 11px; }
.mstock { display: none; }
@media (max-width: 720px) {
  .tbl-scroll.stockwrap { display: none; }
  .mstock { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px 14px; }
  .addr-embed { min-height: 360px; }
  .addr-embed iframe { height: 360px; }
  .review-band { font-size: 11px; padding: 8px 11px; }
}

/* 영업시간 변경 — 요일 칩 · 시간 선택 */
.day-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.day-chip {
  min-width: 38px; height: 36px; padding: 0 9px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--stone-line, #C7BEA9); background: #FAF8F3; color: var(--forest);
  font-size: 12.5px; font-weight: 800;
}
.day-chip.on { background: var(--forest, #1E372B); border-color: var(--forest, #1E372B); color: #FAF8F3; }
.time-row { display: flex; align-items: center; gap: 6px; }
.time-row select { flex: 1; min-width: 0; height: 40px; border-radius: 10px; border: 1px solid var(--stone-line, #C7BEA9); background: #FAF8F3; color: var(--forest); font-size: 13px; font-weight: 700; padding: 0 8px; }
.time-row i { font-style: normal; color: var(--muted, #6B7268); font-size: 12px; }

/* 기능 설정 — 손님 화면 미니 미리보기 */
.oc-peek { margin-top: 6px; }
.gp-wrap { display: grid; gap: 12px; grid-template-columns: 150px 1fr; align-items: start; }
.gp-phone { border: 1px solid var(--stone-line, #C7BEA9); border-radius: 18px; background: #FAF8F3; overflow: hidden; }
.gp-head { display: flex; flex-direction: column; gap: 2px; padding: 10px 11px; background: var(--forest, #1E372B); color: #FAF8F3; }
.gp-head b { font-size: 12px; letter-spacing: .08em; }
.gp-head span { font-size: 10px; opacity: .82; }
.gp-body { display: flex; flex-direction: column; gap: 6px; padding: 10px 11px; }
.gp-line { height: 7px; border-radius: 4px; background: #E4E0D3; }
.gp-line.w90 { width: 90%; } .gp-line.w70 { width: 70%; } .gp-line.w60 { width: 60%; } .gp-line.w40 { width: 40%; }
.gp-hi { display: flex; flex-direction: column; gap: 2px; padding: 9px 10px; border-radius: 10px; background: #E6E9DF; border: 1px dashed var(--forest, #1E372B); }
.gp-hi b { font-size: 11.5px; color: var(--forest, #1E372B); }
.gp-hi span { font-size: 9.5px; color: #5A6355; }
.gp-tabs { display: flex; gap: 4px; padding: 8px 11px 11px; }
.gp-tabs i { flex: 1; height: 6px; border-radius: 3px; background: #E4E0D3; }
.gp-tabs i.on { background: var(--forest, #1E372B); }
.gp-side b { font-size: 12px; display: block; margin-bottom: 6px; }
.gp-spots { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 7px; }
.gp-side p { font-size: 11.5px; line-height: 1.55; color: #4A4433; margin: 0 0 6px; }
@media (max-width: 560px) { .gp-wrap { grid-template-columns: 1fr; } .gp-phone { max-width: 190px; } }

/* 픽업 시간 2구간(b04-01-06) — 16시 이전 / 16시 이후(무인시간) 큰 버튼 2개 */
.slotrow { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 9px; }
.slotrow .slot {
  flex: 1 1 140px; min-height: 46px; padding: 6px 12px; border-radius: 12px;
  border: 1px solid #D9D4C4; background: #FAF8F3; color: #2B2A22;
  font-family: inherit; font-size: 14px; font-weight: 850; letter-spacing: -.03em;
  line-height: 1.25; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.slotrow .slot.on { background: #1E372B; border-color: #1E372B; color: #FAF8F3; }
@media (max-width: 380px) { .slotrow .slot { flex: 1 1 100%; } }
.slotrow .slot.off { background: #EFEDE5; border-color: #E3DFD2; color: #A19B8C; cursor: default; }

/* ═════════ v28 — 손님 주문서·입금 대기·품절 팝업·선불권·하단 사업자 푸터 ═════════
   1~16번 일괄 수정(2026-11-26)에서 새로 생긴 클래스만 모았다. 색은 기존 팔레트 그대로. */

/* 1) 품절 빨간 딱지 — 소비기한 경과는 손님 목록에서 숨기므로 '품절'만 남는다. */
.mflag.sold {
  color: #B42318; background: #FDECEA; border-color: #F3C7C1;
  font-weight: 850; letter-spacing: -0.01em;
  /* v35) 손님 목록에서 `품절`이 눈에 바로 들어오게 크기·여백을 키웠다. */
  font-size: 11px; padding: 2px 8px;
}

/* 2) 예약 탭 픽업 시간 카드 — 제목 / 버튼 / 한 줄(유인·무인·픽업 마감) */
.pck-title { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin: 2px 0 4px; }
.pck-title b { font-size: 15px; font-weight: 850; letter-spacing: -0.03em; color: var(--forest); }
.pck-title .chip.on { background: #1E372B; border-color: #1E372B; color: #FAF8F3; font-weight: 850; }
body.g-center .pck-title { justify-content: center; }
.pickupcard .pck-line {
  margin-top: 8px; font-size: 12.5px; font-weight: 700; color: #5B6459;
  line-height: 1.5; word-break: keep-all;
}

/* 3) 픽업 버튼 아래 법적 안전 안내 — 첫 줄 빨강·굵게, 아랫줄 작은 검정 */
.picknotice { margin-top: 10px; padding-top: 10px; border-top: 1px dashed #DDD8C9; }
.picknotice p { margin: 0; word-break: keep-all; }
.picknotice .pn-red {
  font-size: 13px; font-weight: 850; color: #B42318; line-height: 1.5; letter-spacing: -0.02em;
}
.picknotice .pn-sub { margin-top: 5px; font-size: 11.5px; font-weight: 600; color: #4A4A44; line-height: 1.6; }
/* v35) 웹 주문 전용 예약 공지 — 전화·문자 예약 불가를 한 줄로 분명히 */
.picknotice .pn-web { margin-top: 6px; font-size: 11.5px; font-weight: 750; color: #1E372B; line-height: 1.6; }
.picknotice .pn-web::before { content: '공지'; display: inline-block; margin-right: 6px; padding: 1px 5px; border-radius: 4px; background: #1E372B; color: #fff; font-size: 9.5px; font-weight: 800; vertical-align: 1px; }

/* 7) 계좌이체 안내 — 폰트 확대, '15분 내'·'입금자명' 빨간 굵게, 폐기·취소 한 줄씩 */
.paynote { border-color: #E7D9B8; background: #FBF6E9; }
.paynote .pn-head { font-size: 15px; font-weight: 850; color: #7A4B00; letter-spacing: -0.03em; }
.paynote .pn-body { margin-top: 5px; font-size: 13.5px; font-weight: 650; color: #3B3427; line-height: 1.65; word-break: keep-all; }
.paynote .pn-hot { color: #B42318; font-weight: 900; }
.paynote .pn-line {
  margin-top: 6px; padding-left: 10px; position: relative;
  font-size: 13px; font-weight: 750; color: #5A3A0A; line-height: 1.55;
}
.paynote .pn-line::before { content: ''; position: absolute; left: 0; top: 8px; width: 4px; height: 4px; border-radius: 50%; background: #B42318; }

/* 7) 필수 동의 — 체크 전에는 주문 버튼이 잠긴다 */
.agree-big {
  margin-top: 8px; padding: 11px 12px; border: 1.5px solid #D9D4C4; border-radius: 12px;
  background: #FAF8F3; align-items: flex-start;
}
.agree-big input { width: 22px; height: 22px; margin-top: 1px; flex: none; }
.agree-big span { font-size: 13.5px; font-weight: 700; color: #2B2A22; line-height: 1.5; }
.agree-big span b { color: var(--forest); font-weight: 900; }
.signup-agree { margin: 10px 0 4px; display: grid; gap: 6px; }
.signup-agree .checkline { padding: 9px 11px; border: 1px solid #E3DFD2; border-radius: 11px; background: #FAF8F3; }
.signup-agree .checkline b { color: #B45309; }
.linklike { border: 0; background: transparent; color: #1E5A8A; font: inherit; font-size: 11.5px; text-decoration: underline; cursor: pointer; padding: 0 2px; }
.signup-terms { margin-top: 2px; }

/* 8) 입금 계좌·금액 복사 버튼 */
.copyrow { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.copyrow .btn { flex: 1 1 30%; min-width: 108px; }
@media (max-width: 380px) { .copyrow .btn { flex: 1 1 100%; } }

/* 9) 주문서 안 작은 글씨 전체 확대 (글자 크기 블럭과 별개로 주문서 기준을 올린다) */
#sheetBack .sheet-body { font-size: 13.5px; }
#sheetBack .sheet-body .tiny, #sheetBack .sheet-body .hint, #sheetBack .sheet-body details p { font-size: 12.5px; line-height: 1.7; }
#sheetBack .sheet-body .noticebox { font-size: 13px; line-height: 1.65; }
#sheetBack .sheet-body .sum { font-size: 13.5px; }
#sheetBack .sheet-body .sum b { font-size: 16px; }
#sheetBack .sheet-body .cartline .cname { font-size: 14px; }
#sheetBack .sheet-body .cartline .tiny { font-size: 12px; }
#sheetBack .sheet-body .fld > span { font-size: 13px; }
#sheetBack .sheet-body .fld input, #sheetBack .sheet-body .fld select { font-size: 15px; }
#sheetBack .sheet-body .pays .pay small { font-size: 11.5px; }
#sheetBack .sheet-foot .btn { font-size: 15px; }

/* 5) 홈 예약하기 CTA — 담은 게 있으면 '주문서 열기'로 바뀐다 */
.g-cartbar button span { font-size: 14.5px; font-weight: 850; }

/* 13) 선불권 2종 — 5만/10만원권 격자 + 웹 전용 안내 */
.ppgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 7px; }
.ppweb b { color: #7A4B00; }
.ppweb { border-color: #E7D9B8; background: #FBF6E9; font-size: 12.5px; line-height: 1.6; }

/* 14) 하단 사업자 정보 공용 푸터 — 플랫폼(중개자) 고정 + 입점 매장 판매자 정보 */
.legal-plat {
  display: inline-block; margin-bottom: 6px; padding: 2px 8px; border-radius: 999px;
  background: #E9E6DC; color: #4A4F45; font-size: 10.5px; font-weight: 850; letter-spacing: -0.01em;
}
.legal .srow-info span b { color: #3D423A; }

/* 15) 품절·재고 초과 큰 안내 팝업 */
.bigalert { text-align: center; padding: 6px 2px 2px; }
.bigalert .ba-ico {
  width: 62px; height: 62px; margin: 0 auto 12px; border-radius: 20px;
  display: grid; place-items: center; background: #FDECEA; color: #B42318;
}
.bigalert h3 { margin: 0; font-size: 20px; font-weight: 900; letter-spacing: -0.04em; color: #1E372B; line-height: 1.35; }
.bigalert p { margin: 8px 0 0; font-size: 14px; font-weight: 650; color: #5B6459; line-height: 1.6; word-break: keep-all; }
.bigalert-acts { display: grid; gap: 8px; margin-top: 16px; }
.bigalert-acts .btn { min-height: 50px; font-size: 15.5px; font-weight: 850; }

/* 입금 대기 → 결제 완료 전환 화면 */
.done.paid .okico { background: #1E372B; color: #FAF8F3; }
.done.bad .okico { background: #FDECEA; color: #B42318; }

/* 4) 손님용 전체 가운데 정렬 — 헤더·히어로·픽업 카드·안내문·섹션 제목·빈 화면 */
body.g-center .g-head-in { text-align: center; }
body.g-center .g-head-in .g-title { align-items: center; }
body.g-center #gMain .hero, body.g-center #gMain .sec-head, body.g-center #gMain .empty,
body.g-center #gMain .pickupcard, body.g-center #gMain .card-pad, body.g-center #gMain .hint,
body.g-center #gMain .noticebox, body.g-center #gMain .legal, body.g-center .g-notice { text-align: center; }
body.g-center #gMain .sec-head { flex-direction: column; align-items: center; gap: 2px; }
body.g-center #gMain .hero-row, body.g-center #gMain .slotrow { justify-content: center; }
body.g-center .slotrow .slot { text-align: center; }
body.g-center #gMain .pickupcard .pck-title { justify-content: center; gap: 8px; }
body.g-center .mcard { text-align: left; }
body.g-center .mcard .mbody button { text-align: left; }
body.g-center .hcta { text-align: center; justify-content: center; }
body.g-center .picknum { text-align: center; }
body.g-center .legal .srow-info { justify-content: center; }
body.g-center .legal .srow-info span { justify-content: center; }
/* v36 27·28) 안내·약관 시트는 가운데 정렬이 아니라 왼쪽 정렬로 통일한다.
   (회원 탈퇴 안내·개인정보 수집·이용·이용약관·자주 묻는 질문 등 — 손님이 읽는 글은 왼쪽 정렬이 읽기 좋다.
   큰 안내 팝업(.bigalert)만 가운데 정렬을 유지한다.) */
body.g-center #sheetBack .sheet-body { text-align: left; }
body.g-center #sheetBack .sheet-body .bigalert { text-align: center; }
body.g-center #sheetBack .sheet-body .cartline,
body.g-center #sheetBack .sheet-body .fld,
body.g-center #sheetBack .sheet-body .acct,
body.g-center #sheetBack .sheet-body details,
body.g-center #sheetBack .sheet-body .checkline,
body.g-center #sheetBack .sheet-body .signup-agree { text-align: left; }
body.g-center #sheetBack .sheet-body .sum { text-align: left; }
/* 안내·약관 시트(g-doc) — 소제목·본문 왼쪽 정렬 + 읽기 좋은 간격 */
#sheetBack .sheet-body.g-doc { text-align: left; }
#sheetBack .sheet-body.g-doc .rowline { display: block; padding: 9px 0; border-bottom: 1px solid #ECE8DC; }
#sheetBack .sheet-body.g-doc .rowline:last-child { border-bottom: 0; }
#sheetBack .sheet-body.g-doc .rowline .lbl { display: block; text-align: left; font-size: 13px; font-weight: 800; color: var(--ink, #1D231F); line-height: 1.45; }
#sheetBack .sheet-body.g-doc .rowline .lbl small { display: block; margin-top: 3px; text-align: left; font-size: 12.5px; font-weight: 500; color: var(--muted, #6B7166); line-height: 1.65; word-break: keep-all; }
#sheetBack .sheet-body.g-doc .rowline .act { display: flex; justify-content: flex-end; gap: 6px; margin-top: 6px; }
#sheetBack .sheet-body.g-doc .noticebox,
#sheetBack .sheet-body.g-doc .hint,
#sheetBack .sheet-body.g-doc p,
#sheetBack .sheet-body.g-doc li,
#sheetBack .sheet-body.g-doc h3,
#sheetBack .sheet-body.g-doc h4,
#sheetBack .sheet-body.g-doc b,
#sheetBack .sheet-body.g-doc span { text-align: left; }
#sheetBack .sheet-body.g-doc p { margin: 0 0 8px; line-height: 1.75; word-break: keep-all; }
#sheetBack .sheet-body.g-doc .noticebox { margin: 0 0 10px; }
#sheetBack .sheet-body.g-doc .bigalert { text-align: center; }
#sheetBack .sheet-body.g-doc .bigalert-acts { display: flex; flex-direction: column; gap: 7px; margin-top: 12px; }

/* 10) 새 픽업 주문 알림 (포스) */
.p-alert {
  position: fixed; left: 50%; top: 14px; transform: translateX(-50%); z-index: 9000;
  width: min(520px, calc(100vw - 24px)); background: #1E372B; color: #FAF8F3;
  border-radius: 16px; padding: 13px 15px; box-shadow: 0 18px 40px -18px rgba(6, 14, 10, .85);
  display: flex; align-items: center; gap: 11px;
}
.p-alert .pa-ico { width: 40px; height: 40px; border-radius: 12px; background: rgba(250,248,243,.14); display: grid; place-items: center; flex: none; }
.p-alert .pa-tx { min-width: 0; flex: 1; }
.p-alert .pa-tx b { display: block; font-size: 14.5px; font-weight: 900; letter-spacing: -0.03em; }
.p-alert .pa-tx span { display: block; margin-top: 2px; font-size: 12px; opacity: .9; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-alert .pa-act { display: flex; gap: 6px; flex: none; }
.p-alert .pa-act .btn { min-height: 36px; }
.pick2.fresh { box-shadow: 0 0 0 2px #1E372B inset; }

/* 동의 전 주문 버튼 — 누를 수 있지만 잠긴 느낌만 준다(누르면 동의란으로 이동) */
#sheetBack .sheet-foot .btn.locked { opacity: .62; }

/* 15) 품절 팝업의 '품절 메뉴 빼기' — 어르신도 바로 누를 수 있는 진한 빨강 버튼 */
.bigalert-acts .btn.danger {
  background: #B42318; border-color: #B42318; color: #FFFFFF; font-weight: 850;
}
.bigalert-acts .btn.danger:active { background: #8E1B12; }

/* ═════════════ v29 (2026-11-27) 손님용 1~15번 ═════════════
   1) 상단 로고·매장명·운영시간·글자 크기 바 완벽 가운데 정렬
   2) 헤더 알약 배지 제거 · 6) 매장명 확대 + 종 아이콘 1개 */
.g-head-in.g-head-center {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; text-align: center; padding: 4px 46px 2px;
}
.g-head-center .g-mark { width: 44px; height: 44px; border-radius: 14px; font-size: 19px; }
.g-head-center .g-title { width: 100%; flex: none; }
.g-head-center .g-title h1 {
  font-size: 21px; font-weight: 900; letter-spacing: -0.045em; line-height: 1.2;
  white-space: normal; overflow: visible; overflow-wrap: break-word; word-break: keep-all;
}
.g-head-center .g-title p {
  margin-top: 3px; font-size: 11.5px; font-weight: 650; line-height: 1.35;
  color: rgba(250, 248, 243, .66); word-break: keep-all; white-space: normal;
}
.g-head-center .nav-back { position: absolute; left: 0; top: 50%; transform: translateY(-50%); }
.g-ico-one { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: flex; }
.g-ico-one button { width: 38px; height: 38px; border-radius: 12px; }
@media (min-width: 720px) {
  .g-head-center .g-title h1 { font-size: 23px; }
}

/* 6) 하단 탭바 — 4탭 · 장바구니 수량 배지 */
.g-tab-ico { position: relative; display: inline-flex; }
.g-tab .n {
  position: absolute; top: -6px; right: -10px; min-width: 15px; height: 15px; padding: 0 4px;
  border-radius: 999px; background: #A77568; color: #FAF8F3;
  font-size: 9px; font-weight: 900; display: grid; place-items: center; line-height: 1;
}

/* 1) 홈 요소 가운데 정렬 — 대표 사진·소개·안내 카드 */
body.g-center .hgallery { justify-content: center; }
body.g-center .hgallery .hshot { margin-left: auto; margin-right: auto; }
body.g-center .hgallery .hshot img { margin: 0 auto; }
body.g-center #gMain .storeinfo .rowline { display: block; text-align: center; }
body.g-center #gMain .storeinfo .rowline .lbl { align-items: center; text-align: center; }
body.g-center #gMain .storeinfo .rowline .lbl small { text-align: center; word-break: keep-all; }
.statchip {
  display: inline-flex; align-items: center; gap: 6px; margin: 0 auto 10px;
  padding: 5px 12px; border-radius: 999px; background: #EEF2E7; color: #35503F;
  font-size: 12px; font-weight: 850; letter-spacing: -0.02em;
}
body.g-center .storeinfo { display: block; }
body.g-center .storeinfo .statchip { display: inline-flex; }

/* 7·11) 어색한 단어 쪼개짐 원천 제거 */
#gMain, #sheetBack .sheet-body, .legal, .noticebox, .hint, .rowline small, .picknotice p, .paynote {
  word-break: keep-all; overflow-wrap: break-word;
}
#gMain .sec-head .sub { text-align: center; }
body.g-center #gMain .sec-head .sub { margin-left: 0; }

/* 8) 결제수단 — 계좌이체 한 개만 남아도 가운데/꽉 찬 균형 배치 */
/* v29 8) 계좌이체 한 개만 남아도 왼쪽으로 치우치지 않게 — 남은 개수에 맞춰 칸을 채운다 */
#sheetBack .pays { justify-content: center; justify-items: center; }
#sheetBack .pays.pays-1 { grid-template-columns: 1fr; }
#sheetBack .pays.pays-2 { grid-template-columns: repeat(2, 1fr); }
#sheetBack .pays.pays-3 { grid-template-columns: repeat(3, 1fr); }
#sheetBack .pays .pay { width: 100%; min-width: 0; }

/* 10) 동의 체크 아랫줄 안내 */
.agree-hint {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  margin: 6px 0 2px; font-size: 12px; font-weight: 650; color: #6B6A60; text-align: center; word-break: keep-all;
}
.agree-hint svg { color: #1E7A4B; flex: none; }
.agree-hint b { color: #1E372B; font-weight: 850; }

/* 5) 하단 사업자 정보·법적 고지 — 왼쪽 정렬 초슬림 압축 */
body.g-center #gMain .legal { text-align: left; }
#gMain .legal { padding: 13px 14px 16px; border-radius: 16px; color: #5C665A; }
#gMain .legal .legal-plat {
  display: inline-block; margin-bottom: 5px; padding: 1px 7px; border-radius: 999px;
  background: #E9E6DC; color: #4A4F45; font-size: 10px; font-weight: 850;
}
#gMain .legal .srow-info {
  display: block !important; text-align: left;
  font-size: 11px; line-height: 1.45; color: #59634F;
}
#gMain .legal .srow-info span { display: inline !important; }
#gMain .legal .srow-info span b { display: inline !important; min-width: 0 !important; margin-right: 3px !important; }
body.g-center #gMain .legal .srow-info { justify-content: flex-start; }
#gMain .legal .srow-info span { justify-content: flex-start; text-align: left; }
#gMain .legal .srow-info b { color: #3D423A; font-weight: 800; }
#gMain .legal .dotsep { font-style: normal; color: #A9B0A0; }
#gMain .legal .legal-p {
  /* v31) 법정 고지 11px — 배경 #EAE2DF 위에서 WCAG AA 4.5:1 이상(#6A7365 는 3.88:1 이었다 → #575E4E 5.28:1) */
  margin: 5px 0 0; font-size: 11px; line-height: 1.42; color: #575E4E;
  text-align: left; word-break: keep-all;
}
body.g-center #gMain .legal .legal-p { text-align: left; }
#gMain .legal { margin-bottom: 26px; }
/* 맨 아래 문구가 탭바·플로팅 버튼에 가리지 않도록 */
.g-wrap { padding-bottom: 132px; }
body:has(.g-cartbar:not([hidden])) .g-wrap { padding-bottom: 200px; }

/* 13) 일회용 봉투(유상) */
.bagline { border-top: 1px dashed #E2DDCE; }
.bagline .bagtag {
  display: inline-block; margin-left: 5px; padding: 0 6px; border-radius: 6px;
  background: #EEF2E7; color: #35503F; font-size: 10px; font-weight: 850; font-style: normal;
  vertical-align: 1px;
}
.bagwarn {
  margin: 4px 0 8px; font-size: 11.5px; font-weight: 650; color: #7C7B72;
  text-align: center; word-break: keep-all;
}
.bagwarn b { color: #B4574A; font-weight: 850; }   /* `금지` 만 채도 낮은 붉은색 */
#sheetBack .sheet-body .bagask p { font-size: 14.5px; }
.bagacts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bagacts .btn { min-height: 50px; font-size: 15px; font-weight: 850; }

/* 주문서 금액 줄 — 쿠폰 할인 */
#sheetBack .sheet-body .sum.disc { color: #1E7A4B; }
#sheetBack .sheet-body .sum.disc b { color: #1E7A4B; font-size: 14px; }

/* 11) 결제 완료 — 주황색 체크 + 전자 영수증 카드 */
.done.paid .okico { background: #F97316; color: #FFFFFF; box-shadow: 0 10px 22px -12px rgba(249, 115, 22, .9); }
.rcard {
  margin-top: 13px; padding: 14px 15px; border: 1px solid #E5E0D2; border-radius: 16px;
  background: #FBF9F4; text-align: left;
}
.rcard .rc-head {
  font-size: 11px; font-weight: 900; letter-spacing: .1em; color: #8A9184; text-align: center;
  margin-bottom: 8px;
}
.rcard .rc-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: 5px 0; font-size: 13px; color: #4C554A; word-break: keep-all;
}
.rcard .rc-row > b { color: #1E372B; font-weight: 850; text-align: right; }
.rcard .rc-row.total { margin-top: 4px; padding-top: 8px; border-top: 1px solid #E5E0D2; font-size: 14px; }
.rcard .rc-row.total > b { font-size: 18px; font-weight: 900; }
.rcard .rc-items { margin: 4px 0 6px; padding: 8px 0; border-top: 1px dashed #E2DDCE; border-bottom: 1px dashed #E2DDCE; }
.rcard .rc-line { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; font-size: 13px; color: #3B433A; }
.rcard .rc-line > b { font-weight: 800; color: #1E372B; }
.rcard .rc-line.disc { color: #1E7A4B; }
.rcard .rc-line.disc > b { color: #1E7A4B; }
.rcard .rc-bag {
  margin-top: 8px; padding-top: 8px; border-top: 1px dashed #E2DDCE;
  font-size: 11.5px; font-weight: 700; color: #6B7365; text-align: center; word-break: keep-all;
}
.picknum b { margin-left: 6px; }

/* v29) 가운데 정렬 화면에서 계좌이체 안내 불릿이 왼쪽 끝에 떨어지지 않게 — 글자 앞에 붙인다 */
body.g-center #sheetBack .paynote .pn-line { padding-left: 0; }
body.g-center #sheetBack .paynote .pn-line::before {
  position: static; display: inline-block; margin-right: 6px; vertical-align: 3px;
}

/* ───────── v33 사장님 콘솔 — 메뉴 시트 · 재고 목록 · 오늘 메뉴 선택 · 쿠폰 회원 찾기 ───────── */
.nm-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
@media (max-width: 520px) { .nm-grid { grid-template-columns: minmax(0, 1fr); } }
#nmSheet .fld { min-width: 0; }
#nmSheet .fld span { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
#nmSheet .fld em { font-style: normal; color: var(--muted); font-size: 11px; }
#nmSheet select, #nmSheet input, #nmSheet textarea { width: 100%; box-sizing: border-box; }
#nmSheet textarea { resize: vertical; line-height: 1.55; }
#nmSheet .nm-etc { margin-top: 6px; }
.nm-cost { color: #C0392B; font-weight: 850; font-size: 12.5px; white-space: nowrap; }
.nm-chips { display: flex; flex-wrap: wrap; gap: 5px; margin: -2px 0 8px; min-height: 0; }
.nm-chips:empty { display: none; }
.nm-chip-lb { font-size: 10.5px; color: var(--muted); align-self: center; margin-right: 2px; }
.nm-warn { font-size: 10.5px; color: #B4452F; font-weight: 750; align-self: center; display: inline-flex; align-items: center; gap: 3px; }
.nm-chip {
  border: 1px solid rgba(30, 55, 43, .16); background: #FAF8F3; color: var(--ink-2);
  border-radius: 999px; font-size: 11px; font-weight: 750; padding: 4px 9px; line-height: 1.2;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.nm-chip.ok { border-color: rgba(30, 122, 75, .35); background: #F1F7F2; color: #1E7A4B; }
.nm-chip.warn { border-color: rgba(190, 80, 55, .4); background: #FBF2EF; color: #B4452F; }

/* 재고 — 한 줄 = 제조일 배치. 390px 에서도 넘침 없이 버튼이 한눈에 보이게 */
.stk-list { display: grid; gap: 7px; padding: 10px 12px; }
.stk-row { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 8px; align-items: start; border: 1px solid var(--line); border-radius: 11px; padding: 9px 10px; background: #FAF8F3; }
.stk-row.on { border-color: #9CBFAA; background: #F4F8F5; }
.stk-chk { display: flex; align-items: center; justify-content: center; padding-top: 2px; }
.stk-chk input { width: 18px; height: 18px; accent-color: #1E372B; }
.stk-main { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.stk-line { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; min-width: 0; }
.stk-name { font-size: 13px; font-weight: 800; color: var(--ink); min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.stk-sub { font-size: 11px; color: var(--muted); }
.stk-qty { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.stk-lb { font-size: 10.5px; font-weight: 750; color: var(--muted); }
.stk-act { display: flex; gap: 5px; flex-wrap: wrap; }
.stk-act .btn { min-width: 0; }
.stk-bar {
  display: flex; align-items: center; gap: 7px; padding: 9px 12px; border-top: 1px solid var(--line-soft);
  background: rgba(250, 248, 243, .94); position: sticky; bottom: 0; z-index: 2;
}
.stk-sel { margin-right: auto; font-size: 11.5px; color: var(--muted); }
.stk-sel b { color: var(--ink); font-size: 12.5px; }
.stk-bar .btn[disabled] { opacity: .45; }

/* 오늘 메뉴 선택 — 검색 + 전체 선택/해제 */
.td-tools { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; position: sticky; top: 0; z-index: 3; background: var(--card, #fff); padding: 2px 0 6px; }
.td-tools .pk-search { flex: 1 1 170px; min-width: 0; }
.td-all { display: flex; gap: 5px; }
.td-list { display: grid; gap: 4px; max-height: 46vh; overflow-y: auto; padding-right: 2px; }
.td-row { display: flex; align-items: center; gap: 8px; padding: 8px 9px; border: 1px solid var(--line-soft); border-radius: 9px; background: #FAF8F3; min-width: 0; }
.td-row input { width: 18px; height: 18px; accent-color: #1E372B; flex: none; }
.td-nm { font-size: 12.5px; font-weight: 750; color: var(--ink); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.td-meta { margin-left: auto; font-size: 10.5px; color: var(--muted); white-space: nowrap; flex: none; }

/* 쿠폰 — 휴대폰 뒷번호 회원 찾기 */
.cp-pick { display: grid; gap: 4px; margin: 6px 0; }
.cp-pick:empty { display: none; }
.cp-hit { display: flex; align-items: center; gap: 8px; text-align: left; border: 1px solid var(--line-soft); background: #FAF8F3; border-radius: 9px; padding: 7px 9px; }
.cp-hit b { font-size: 12.5px; color: var(--ink); }
.cp-hit span { margin-left: auto; font-size: 11px; color: var(--muted); }
.cp-hit.on { border-color: #9CBFAA; background: #F1F7F2; }

.stk-banner {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  margin: 10px 12px 0; padding: 9px 11px; border-radius: 10px;
  background: #FDF6E7; border: 1px solid #E8CFA0; color: #7A5410; font-size: 11.5px; font-weight: 700; line-height: 1.5;
}
.stk-banner .btn { margin-left: auto; }
.nm-tip { font-size: 10.5px; color: var(--muted); line-height: 1.45; margin: -3px 0 7px; }

/* ═════════════ v34 (2026-11-28) 사장님 콘솔 ═════════════ */
/* 11) 재고 수량 키보드 직접 입력 — - [ 20 ] + */
.oqty .oqty-in {
  width: 44px; height: 26px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line);
  background: #FFFFFF; text-align: center; font-size: 12px; font-weight: 850; color: var(--ink);
  font-variant-numeric: tabular-nums; padding: 0 2px; -moz-appearance: textfield;
}
.oqty .oqty-in::-webkit-outer-spin-button, .oqty .oqty-in::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.oqty .oqty-in:focus { outline: 2px solid rgba(30, 55, 43, .35); outline-offset: -2px; border-radius: 0; }
@media (max-width: 430px) {
  .oqty .oqty-in { width: 38px; font-size: 11.5px; }
}
/* 9) 이월 딱지 + 붉은 소비기한 D-N 배지 */
.stk-tag {
  display: inline-block; padding: 1px 6px; border-radius: 6px; border: 1px solid #B9A66B;
  background: #FFF4D6; color: #7A5B12; font-size: 10px; font-weight: 900; letter-spacing: 0.02em;
}
.stk-dday {
  display: inline-block; padding: 1px 7px; border-radius: 999px;
  background: #C0241A; color: #FFFFFF; font-size: 10.5px; font-weight: 900; letter-spacing: -0.01em;
}
/* 13) [오늘 메뉴 선택] 모달 높이 고정 — 검색해도 창·검색창·저장 버튼이 움직이지 않는다 */
.td-list { height: min(46vh, 386px); max-height: min(46vh, 386px); overflow-y: auto; align-content: start; }
@media (max-height: 700px) { .td-list { height: 240px; max-height: 240px; } }

/* v36 11) 픽업예약 마감 배너 — 매장 사진 아래(오늘의 메뉴)에 바로 안내한다. */
.pickup-closed { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 10px; padding: 11px 12px; border-radius: 12px; background: #FBF3E4; border: 1px solid #EBD9B4; color: #7A4E12; font-size: 12.5px; font-weight: 700; line-height: 1.6; word-break: keep-all; }
.pickup-closed svg { flex: none; margin-top: 1px; }
body.g-center .pickup-closed { justify-content: flex-start; text-align: left; }
/* 마감 상태의 예약 버튼 — 누를 수 없게 보이되 이유는 글자로 남긴다. */
.hcta.is-off { opacity: 1; background: #EAE7DD; color: #3B3A32; box-shadow: none; border: 1px solid #D8D2C2; }
.hcta.is-off b { color: #1D231F; }
.hcta.is-off small { color: #4C5348; }
.hcta.is-off:disabled { cursor: default; }
/* 이월 반찬 딱지 */
.mcard .mflag.carry { background: #EAE7DD; color: #5A5747; }

/* v36 30) 문의 답변 — 사장님 콘솔 [손님 문의함] 답변 입력 · 손님 [내 문의] 답변 보기 */
.inq-answer { margin-top: 8px; padding-top: 8px; border-top: 1px dashed #E3DFD2; }
.inq-ta { width: 100%; box-sizing: border-box; border: 1px solid #E3DFD2; border-radius: 10px; padding: 9px 10px; font: inherit; font-size: 12.5px; line-height: 1.6; color: #1D231F; background: #fff; resize: vertical; min-height: 54px; }
.inq-ta:focus { outline: 2px solid #1E372B; outline-offset: 1px; }
.inq-answer-act { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.inq-answer-act .tiny { flex: 1; min-width: 0; }
.inq-reply { margin-top: 8px; padding: 9px 10px; border-radius: 10px; background: #F2F6EE; border: 1px solid #D8E2CC; }
.inq-reply b, .myinq-reply b { display: block; font-size: 11px; font-weight: 850; color: #1E372B; letter-spacing: .01em; }
.inq-reply span, .myinq-reply span { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.65; color: #2B2A22; white-space: pre-wrap; word-break: keep-all; overflow-wrap: anywhere; }
.inq-reply em, .myinq-reply em { display: block; margin-top: 4px; font-style: normal; font-size: 10.5px; color: #6B7166; }

.myinq-list { display: flex; flex-direction: column; gap: 10px; }
.myinq { border: 1px solid #E3DFD2; border-radius: 12px; padding: 11px 12px; background: #FAF8F3; }
.myinq-top { display: flex; align-items: center; gap: 7px; }
.myinq-top b { flex: 1; min-width: 0; font-size: 13px; font-weight: 850; color: #1D231F; }
.myinq-msg { margin-top: 6px; font-size: 12.5px; line-height: 1.65; color: #3B3A32; white-space: pre-wrap; word-break: keep-all; overflow-wrap: anywhere; }
.myinq-when { margin-top: 5px; font-size: 10.5px; color: #8A8577; }
.myinq-reply { margin-top: 9px; padding: 9px 10px; border-radius: 10px; background: #F2F6EE; border: 1px solid #D8E2CC; }
.myinq-wait { margin-top: 9px; padding: 8px 10px; border-radius: 10px; background: #FBF3E4; border: 1px solid #EBD9B4; font-size: 11.5px; color: #7A4E12; line-height: 1.6; }

/* v36 1) 재고(오늘의 반찬) 리스트 상단 전체선택·삭제 */
.stk-topbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 9px 12px 2px; }
.stk-all { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 800; color: #1E372B; cursor: pointer; }
.stk-all input { width: 18px; height: 18px; accent-color: #1E372B; }
.stk-topbar-hint { font-size: 10.5px; color: var(--muted); line-height: 1.45; }
@media (max-width: 430px) { .stk-topbar-hint { display: none; } }

/* v36 4) 오늘 메뉴 추가 — 이미 올라와 있는 메뉴 표시 */
.td-on { color: #1E7A4B; font-weight: 800; }

/* v36 14·18·21·23) 메뉴 시트 — 용량·원재료 순서·보관방법 빠른 선택 */
.nm-chips.nm-vols, .nm-chips.nm-stor { margin-top: -4px; }
.nm-chip i { font-style: normal; font-size: 10px; opacity: .8; margin-left: 3px; }
.nm-order { display: flex; flex-wrap: wrap; gap: 5px; margin: -2px 0 10px; }
.nm-ord { display: inline-flex; align-items: center; gap: 3px; border: 1px solid var(--line, #E3DFD2); border-radius: 8px; padding: 3px 5px 3px 7px; font-size: 11.5px; font-weight: 700; color: #3B3A32; background: #FAF8F3; }
.nm-ord.top { border-color: #9CBFAA; background: #F4F8F5; color: #1E372B; }
.nm-ord b { font-size: 9.5px; font-weight: 900; color: #1E7A4B; margin-right: 2px; }
.nm-ord button { width: 16px; height: 16px; border: 0; background: transparent; color: #8A8577; font-size: 8px; line-height: 1; padding: 0; cursor: pointer; }
.nm-ord button:disabled { opacity: .25; cursor: default; }
.nm-auto { font-style: normal; font-weight: 800; color: #1E7A4B; }
.refund-line { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 0; padding: 7px 9px; border-radius: 9px; background: #FBF3E4; border: 1px solid #EBD9B4; font-size: 11.5px; color: #7A4E12; }
.refund-line b { font-weight: 850; }

/* v36 31) 회원 상세보기 — 요약 통계 · 기본정보 · 쿠폰 발급/관리 */
.mstat { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: 12px; }
.mstat > div { border: 1px solid #E3DFD2; border-radius: 10px; background: #FAF8F3; padding: 8px 6px; text-align: center; }
.mstat span { display: block; font-size: 10.5px; color: #6B7166; }
.mstat b { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 850; color: #1E372B; }
@media (max-width: 430px) { .mstat { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.msec { border-top: 1px solid #ECE8DC; padding-top: 11px; margin-top: 11px; }
.msec h4 { margin: 0 0 8px; font-size: 12.5px; font-weight: 850; color: #1E372B; }
.msec h4 .tiny { font-weight: 600; margin-left: 4px; }
.cp-list { display: flex; flex-direction: column; gap: 8px; }
.cp-row { border: 1px solid #E3DFD2; border-radius: 10px; padding: 9px 10px; background: #FAF8F3; }
.cp-top { display: flex; align-items: center; gap: 7px; }
.cp-top b { flex: 1; min-width: 0; font-size: 12.5px; font-weight: 850; color: #1D231F; }
.cp-meta { margin-top: 4px; font-size: 11px; color: #6B7166; line-height: 1.5; }
.cp-act { display: flex; gap: 6px; margin-top: 7px; flex-wrap: wrap; align-items: center; }
.cp-edit { margin-top: 8px; }

/* v36 32) 발주 탭 — 4050 어머님이 모바일에서 누르기 쉬운 큰 버튼 */
.sup-upload { display: flex; flex-direction: column; gap: 10px; }
.sup-file { display: block; border: 2px dashed #C7BEA9; border-radius: 14px; background: #FAF8F3; padding: 18px 12px; text-align: center; cursor: pointer; }
.sup-file input { display: none; }
.sup-file-in { display: flex; flex-direction: column; align-items: center; gap: 6px; color: #1E372B; }
.sup-file-in b { font-size: 15px; font-weight: 850; }
.sup-file-in em { font-style: normal; font-size: 11.5px; color: #6B7166; }
.sup-file:active { background: #F2EFE6; }
.sup-picked { display: flex; flex-wrap: wrap; gap: 8px; }
.sup-thumb { position: relative; width: 74px; height: 74px; border-radius: 10px; overflow: hidden; border: 1px solid #E3DFD2; }
.sup-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sup-thumb button { position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; border: 0; border-radius: 50%; background: rgba(29,35,31,.75); color: #fff; font-size: 12px; line-height: 1; cursor: pointer; }
.sup-big { width: 100%; height: 52px; font-size: 16px; font-weight: 850; border-radius: 12px; }
.sup-del { height: 40px; font-size: 12.5px; }
.sup-list { display: flex; flex-direction: column; gap: 12px; }
.sup-card { border: 1px solid #E3DFD2; border-radius: 14px; background: #FAF8F3; padding: 12px; }
.sup-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sup-top b { font-size: 14px; font-weight: 850; color: #1E372B; }
.sup-phs { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 9px; }
.sup-ph { width: 84px; height: 84px; border-radius: 10px; overflow: hidden; border: 1px solid #E3DFD2; padding: 0; background: #fff; cursor: zoom-in; }
.sup-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sup-memo { margin-top: 8px; font-size: 12.5px; line-height: 1.6; color: #3B3A32; white-space: pre-wrap; }
.sup-reply { margin-top: 7px; padding: 8px 10px; border-radius: 10px; background: #FBF3E4; border: 1px solid #EBD9B4; font-size: 11.5px; color: #7A4E12; line-height: 1.55; }
.sup-items { margin-top: 10px; border-top: 1px solid #ECE8DC; padding-top: 8px; }
.sup-item { display: grid; grid-template-columns: minmax(0, 1fr) auto auto 26px; gap: 7px; align-items: center; padding: 6px 0; border-bottom: 1px dashed #ECE8DC; }
.sup-nm { min-width: 0; font-size: 13.5px; font-weight: 700; color: #1D231F; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sup-qtybox { display: inline-flex; align-items: center; gap: 3px; }
.sup-q { width: 34px; height: 34px; border: 1px solid #E3DFD2; border-radius: 9px; background: #fff; color: #1E372B; display: grid; place-items: center; cursor: pointer; }
.sup-qin { width: 44px; height: 34px; text-align: center; border: 1px solid #E3DFD2; border-radius: 9px; font-size: 14px; font-weight: 800; color: #1D231F; background: #fff; }
.sup-price { font-size: 11.5px; color: #6B7166; text-align: right; min-width: 52px; }
.sup-x { width: 26px; height: 34px; border: 0; background: transparent; color: #B4453A; font-size: 17px; line-height: 1; cursor: pointer; }
.sup-total { margin-top: 7px; text-align: right; font-size: 12.5px; color: #3B3A32; }
.sup-total b { font-size: 14.5px; color: #1E372B; }
.sup-add { display: flex; gap: 5px; margin-top: 8px; flex-wrap: wrap; }
.sup-add-nm { flex: 1 1 120px; min-width: 0; height: 36px; border: 1px solid #E3DFD2; border-radius: 9px; padding: 0 9px; font-size: 13px; }
.sup-add-q, .sup-add-p { width: 64px; height: 36px; border: 1px solid #E3DFD2; border-radius: 9px; padding: 0 7px; font-size: 13px; text-align: center; }
.sup-note { margin-top: 9px; }
.sup-acts { display: flex; flex-direction: column; gap: 7px; margin-top: 10px; }
.sup-empty { font-size: 12px; color: #6B7166; padding: 8px 0; }
.sup-big-photo img { width: 100%; height: auto; display: block; border-radius: 10px; }
@media (min-width: 900px) {
  .sup-acts { flex-direction: row; }
  .sup-acts .sup-big { width: auto; padding: 0 22px; }
  .sup-acts .sup-del { width: auto; padding: 0 18px; }
}
