/* ============================================================
   QpayMoney 고객 모바일웹 — 깔끔/모던 (카페·분식)
   디자인 토큰
   - 배경: 따뜻한 화이트 #FBFBF9 / 카드 #FFFFFF
   - 먹색 텍스트: #1C1C1A
   - 포인트(브랜드): 선명한 코랄 #FF5A3C  (식욕을 돋우는 따뜻한 주황)
   - 보조 포인트: 딥그린 #1F7A55 (판매중/긍정)
   - 라인/회색: #ECEAE4
   타입: 제목은 두꺼운 산세리프, 본문은 시스템 한글 산세리프
   ============================================================ */

:root {
  --bg: #FBFBF9;
  --card: #FFFFFF;
  --ink: #1C1C1A;
  --ink-soft: #6B6B66;
  --brand: #FF5A3C;
  --brand-dark: #E8462B;
  --green: #1F7A55;
  --line: #ECEAE4;
  --sold: #B6B4AD;
  --radius: 16px;
  --shadow: 0 2px 12px rgba(28, 28, 26, 0.06);
  --shadow-lg: 0 8px 30px rgba(28, 28, 26, 0.12);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo',
               'Pretendard', 'Malgun Gothic', sans-serif;
  background: var(--bg);
  color: var(--ink);
  padding-bottom: 96px;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}

/* ── 헤더 ── */
header.app-header {
  background: var(--card);
  padding: 18px 20px 16px;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
}
.store-cover {
  width: 100%; height: 120px; border-radius: 14px;
  background-size: cover; background-position: center;
  margin-bottom: 12px;
}
header.app-header .store {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.store-name-row { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; }
header.app-header .store { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rating-badge {
  border: none; background: #FFF3D6; color: #92600e; font-size: 12px; font-weight: 800;
  padding: 4px 10px; border-radius: 999px; cursor: pointer; font-family: inherit;
}
.info-badge {
  border: none; background: #E8F0FE; color: #1a56b0; font-size: 12px; font-weight: 800;
  padding: 4px 10px; border-radius: 999px; cursor: pointer; font-family: inherit;
}
/* 매장정보 시트 */
#infoBody { padding: 4px 4px 8px; }
.info-row { display: flex; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: none; }
.info-ico { flex: 0 0 22px; font-size: 18px; line-height: 1.4; text-align: center; }
.info-txt { flex: 1; font-size: 15px; line-height: 1.5; color: var(--text); word-break: break-word; }
.info-txt a { color: #1a56b0; text-decoration: none; }
.info-desc { white-space: pre-wrap; color: #444; }
.info-open { color: #0a8a3c; font-weight: 800; margin-right: 6px; }
.info-closed { color: #c0392b; font-weight: 800; margin-right: 6px; }
.amenity-wrap { display: flex; flex-wrap: wrap; gap: 6px; }
.amenity-chip {
  background: var(--bg); border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 11px; font-size: 13px; font-weight: 600; color: #333;
}
.info-links { display: flex; flex-wrap: wrap; gap: 8px; }
.info-link {
  background: #E8F0FE; border-radius: 8px; padding: 8px 14px;
  font-size: 14px; font-weight: 700; color: #1a56b0 !important; text-decoration: none;
}
.info-addr { margin-bottom: 8px; }
.directions-btn {
  border: none; background: var(--brand); color: #fff;
  font-size: 14px; font-weight: 800; font-family: inherit;
  padding: 9px 18px; border-radius: 10px; cursor: pointer;
}
.directions-btn:active { background: var(--brand-dark); }
.map-picker-body { padding: 4px 4px 12px; }
.map-picker-hint { color: #666; font-size: 14px; margin: 0 0 14px; }
.map-app-btn {
  display: flex; align-items: center; gap: 12px; width: 100%;
  border: 1px solid var(--line); background: var(--card); border-radius: 12px;
  padding: 15px 16px; margin-bottom: 10px; cursor: pointer;
  font-size: 16px; font-weight: 700; font-family: inherit; color: var(--text);
}
.map-app-btn:active { background: var(--bg); }
.map-app-ico { font-size: 20px; }
.store-photo-strip {
  display: flex; gap: 8px; padding: 12px 20px; overflow-x: auto;
  background: var(--card); border-bottom: 1px solid var(--line);
}
.store-photo-strip img {
  width: 92px; height: 92px; border-radius: 12px; object-fit: cover; flex-shrink: 0;
}
header.app-header .table {
  font-size: 12px;
  font-weight: 800;
  color: var(--ink-soft);
  background: #F1F2F4;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
header.app-header .table::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  display: inline-block;
}

/* ── 카테고리 탭 ── */
.tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 20px;
  position: sticky;
  top: 64px;
  background: var(--bg);
  z-index: 9;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  white-space: nowrap;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: all 0.15s ease;
  cursor: pointer;
}
.tab.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ── 메뉴 카드 ── */
.menu-list { padding: 4px 16px 0; }
.menu {
  background: var(--card);
  border-radius: var(--radius);
  margin-bottom: 12px;
  padding: 14px;
  display: flex;
  gap: 14px;
  align-items: center;
  box-shadow: var(--shadow);
  transition: transform 0.12s ease;
}
.menu:active { transform: scale(0.99); }

.menu .thumb {
  width: 76px; height: 76px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: linear-gradient(135deg, #FFF1ED, #FFE3DB);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.menu .body { flex: 1; min-width: 0; }
.menu .name {
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.menu .badge {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 5px;
  background: #FFF1ED;
  color: var(--brand-dark);
  letter-spacing: 0.02em;
}
.menu .desc {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 4px;
  line-height: 1.45;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.menu .price {
  font-size: 15px;
  font-weight: 800;
  margin-top: 8px;
}
.menu .price .won { font-size: 12px; font-weight: 600; color: var(--ink-soft); margin-left: 1px; }

.menu .add {
  background: var(--brand);
  color: #fff;
  border: none;
  width: 38px; height: 38px;
  border-radius: 11px;
  font-size: 22px;
  font-weight: 400;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
  box-shadow: 0 2px 8px rgba(255, 90, 60, 0.3);
}
.menu .add:active { background: var(--brand-dark); transform: scale(0.92); }

/* 품절 */
.menu.sold { opacity: 0.85; }
.menu.sold .thumb { filter: grayscale(1); background: #F0EFEC; }
.menu.sold .name, .menu.sold .desc { color: var(--sold); }
.menu .sold-tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--sold);
  margin-top: 8px;
}

/* ── 하단 장바구니 바 ── */
.cart-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--ink);
  color: #fff;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-lg);
  transform: translateY(120%);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cart-bar.show { transform: translateY(0); }
.cart-bar .summary { font-size: 14px; }
.cart-bar .summary .count {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  min-width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  border-radius: 999px;
  margin-right: 8px;
  padding: 0 6px;
}
.cart-bar .summary .total { font-weight: 800; font-size: 16px; }
.cart-bar .pay-btn {
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
}
.cart-bar .pay-btn:active { background: var(--brand-dark); }

/* ── 옵션 선택 바텀시트 ── */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(28, 28, 26, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 50;
}
.sheet-backdrop.show { opacity: 1; pointer-events: auto; }
.sheet {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--card);
  border-radius: 22px 22px 0 0;
  padding: 8px 20px calc(20px + env(safe-area-inset-bottom));
  z-index: 51;
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.2, 0.85, 0.2, 1);
  max-height: 82vh;
  overflow-y: auto;
}
.sheet.show { transform: translateY(0); }
.sheet .grip {
  width: 40px; height: 4px;
  background: var(--line);
  border-radius: 999px;
  margin: 8px auto 16px;
}
.sheet .sheet-name { font-size: 20px; font-weight: 800; }
.sheet .sheet-desc { font-size: 13px; color: var(--ink-soft); margin: 6px 0 18px; line-height: 1.5; }

.opt-group { margin-bottom: 20px; }
.opt-group h4 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.opt-group h4 .req {
  font-size: 10px;
  font-weight: 800;
  color: var(--brand-dark);
  background: #FFF1ED;
  padding: 2px 6px;
  border-radius: 5px;
}
.opt-group h4 .opt-mark {
  font-size: 10px;
  font-weight: 700;
  color: var(--ink-soft);
  background: var(--line);
  padding: 2px 6px;
  border-radius: 5px;
}
.opt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.opt-row:last-child { border-bottom: none; }
.opt-row .opt-label { font-size: 15px; font-weight: 500; }
.opt-row .opt-right { display: flex; align-items: center; gap: 12px; }
.opt-row .opt-price { font-size: 13px; color: var(--ink-soft); font-weight: 600; }
.opt-row .mark {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid var(--line);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.12s ease;
}
.opt-row.checkbox .mark { border-radius: 7px; }
.opt-row.selected .mark {
  background: var(--brand);
  border-color: var(--brand);
}
.opt-row.selected .mark::after {
  content: '';
  width: 6px; height: 10px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) translateY(-1px);
}
.opt-row.selected .opt-label { font-weight: 700; }

/* 수량 스테퍼 */
.qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0 20px;
}
.qty-row .qty-label { font-size: 15px; font-weight: 700; }
.stepper { display: flex; align-items: center; gap: 18px; }
.stepper button {
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--card);
  font-size: 20px;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stepper button:active { background: var(--bg); }
.stepper .qty-val { font-size: 17px; font-weight: 800; min-width: 24px; text-align: center; }

.sheet .add-cart-btn {
  width: 100%;
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255, 90, 60, 0.3);
}
.sheet .add-cart-btn:active { background: var(--brand-dark); }
.sheet .add-cart-btn:disabled { background: var(--sold); box-shadow: none; }

/* ── 장바구니 바텀시트 ── */
.cart-sheet {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--card);
  border-radius: 22px 22px 0 0;
  z-index: 51;
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.2, 0.85, 0.2, 1);
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}
.cart-sheet.show { transform: translateY(0); }
.cart-sheet .grip {
  width: 40px; height: 4px;
  background: var(--line);
  border-radius: 999px;
  margin: 8px auto 4px;
  flex-shrink: 0;
}
.cart-sheet .cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px 14px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.cart-sheet .cart-head h3 { font-size: 18px; font-weight: 800; margin: 0; }
.cart-sheet .clear-btn {
  background: none; border: none;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}
.cart-items {
  overflow-y: auto;
  padding: 6px 20px;
  flex: 1;
}
.cart-item {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item:last-child { border-bottom: none; }
.cart-item .ci-body { flex: 1; min-width: 0; }
.cart-item .ci-name { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cart-item .ci-edit {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--brand-dark);
  background: #FFF1ED;
  border: none;
  padding: 3px 9px;
  border-radius: 6px;
  cursor: pointer;
}
.cart-item .ci-edit:active { background: #FFD9CE; }
.cart-item .ci-opts {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 4px;
  line-height: 1.5;
}
.cart-item .ci-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}
.cart-item .ci-price { font-size: 15px; font-weight: 800; }
.ci-stepper { display: flex; align-items: center; gap: 14px; }
.ci-stepper button {
  width: 32px; height: 32px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--card);
  font-size: 18px;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ci-stepper button:active { background: var(--bg); }
.ci-stepper button.del { color: var(--brand); border-color: #FFD9CE; }
.ci-stepper .ci-qty { font-size: 16px; font-weight: 800; min-width: 22px; text-align: center; }
.cart-foot {
  padding: 16px 20px calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  flex-shrink: 0;
}
.cart-foot .ft-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}
.cart-foot .ft-total .lbl { font-size: 14px; color: var(--ink-soft); font-weight: 600; }
.cart-foot .ft-total .amt { font-size: 22px; font-weight: 800; }
.cart-foot .pay-btn-full {
  width: 100%;
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255, 90, 60, 0.3);
}
.cart-foot .pay-btn-full:active { background: var(--brand-dark); }
.cart-foot .pay-btn-later {
  width: 100%;
  background: transparent;
  color: var(--ink-soft);
  border: 1.5px solid var(--line);
  padding: 13px;
  border-radius: 14px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  font-family: inherit;
}
.cart-foot .pay-btn-later:active { background: var(--bg); }
.cart-empty { text-align: center; color: var(--ink-soft); padding: 50px 0; font-size: 14px; }

.pay-pending-banner {
  margin-top: 18px; padding: 12px 16px; border-radius: 12px;
  background: #FEF3C7; color: #92400e; font-size: 13px; font-weight: 800;
}

/* ── 주문 현황판(여러 주문 목록) ── */
.status-view { padding: 28px 20px 40px; }
.status-page-title { font-size: 20px; font-weight: 800; margin: 0 0 16px; text-align: center; }

.status-order-card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 20px 18px; margin-bottom: 14px;
}
.soc-head { display: flex; align-items: center; gap: 12px; text-align: left; }
.soc-icon {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%;
  background: #FFF1ED; display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.soc-title { font-size: 15.5px; font-weight: 800; }
.soc-items { font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; }

.progress {
  display: flex;
  justify-content: space-between;
  margin: 24px 4px 0;
  position: relative;
}
.progress::before {
  content: '';
  position: absolute;
  top: 13px; left: 14%; right: 14%;
  height: 2px;
  background: var(--line);
  z-index: 0;
}
.progress.mini { margin-top: 18px; }
.progress.mini::before { top: 11px; }
.progress .step {
  position: relative;
  z-index: 1;
  text-align: center;
  flex: 1;
}
.progress .step .dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--line);
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--sold);
  transition: all 0.3s ease;
}
.progress.mini .step .dot { width: 22px; height: 22px; font-size: 11px; margin-bottom: 6px; }
.progress .step .label { font-size: 12px; color: var(--sold); font-weight: 600; }
.progress.mini .step .label { font-size: 10.5px; }
.progress .step.on .dot {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.progress .step.on .label { color: var(--ink); font-weight: 700; }

.reorder-btn {
  margin-top: 32px;
  padding: 14px 28px;
  border: 1.5px solid var(--ink);
  background: var(--card);
  color: var(--ink);
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}
.reorder-btn:active { background: var(--bg); }

/* 접근성: 모션 줄이기 */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ── 적립(포인트/스탬프) ── */
.header-row {
  display: flex; align-items: center; gap: 6px; margin-top: 10px;
  flex-wrap: wrap;   /* 칩이 두 줄로 자연스럽게 감김 (가로 스크롤 없음) */
}
.header-btns { display: contents; }   /* 버튼들이 칩 행에 개별로 흐르며 줄바꿈 */
.loy-header-btn {
  border: none; background: #FEF3C7; color: #92400e; font-size: 12px; font-weight: 800;
  padding: 6px 10px; border-radius: 999px; cursor: pointer; font-family: inherit;
  white-space: nowrap; flex: 0 0 auto;
}
#myOrdersBtn { background: #E0EDFF; color: #1D4ED8; }
.loy-topbanner {
  background: linear-gradient(90deg, #FFF3EC, #FEF3C7);
  color: #92400e; font-size: 12.5px; font-weight: 700;
  padding: 10px 20px; cursor: pointer; line-height: 1.4;
}
.cart-sheet .cart-head { margin-bottom: 4px; }

.loy-logged-in-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin: 4px 20px 16px; padding: 12px 14px; border-radius: 12px;
  background: var(--bg); font-size: 13px; font-weight: 700;
}
.loy-logged-in-bar button {
  border: none; background: #E6E7EA; color: var(--ink-soft); font-size: 11.5px; font-weight: 700;
  padding: 6px 12px; border-radius: 999px; cursor: pointer; font-family: inherit;
}

.social-login-row { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 4px; }
.social-btn {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line);
  background: #fff; font-size: 14.5px; font-weight: 700; cursor: pointer; font-family: inherit;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: transform .12s ease, box-shadow .12s ease;
}
.social-btn:active { transform: scale(0.98); }
.social-btn.google { color: #3c4043; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.social-btn.google:active { box-shadow: none; }
.social-btn.kakao { background: #FEE500; border-color: #FEE500; color: #191919; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.social-btn.kakao:active { box-shadow: none; }
.social-btn b {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%; font-size: 12px; font-weight: 900; color: #fff;
  flex-shrink: 0;
}
.social-btn.google b { background: #4285F4; }
.social-btn.kakao b { background: #191919; color: #FEE500; }

.loy-or-divider {
  display: flex; align-items: center; gap: 12px;
  text-align: center; font-size: 11.5px; color: var(--sold); font-weight: 600;
  margin: 18px 20px 14px;
}
.loy-or-divider::before, .loy-or-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--line);
}

.loy-phone-row { display: flex; gap: 8px; padding: 0 20px 18px; }
.loy-phone-row input {
  flex: 1; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  font-size: 15px; font-family: inherit; min-width: 0; background: var(--bg);
}
.loy-phone-row input:focus { outline: none; border-color: var(--brand); background: #fff; }
.loy-phone-row button {
  flex-shrink: 0; padding: 13px 18px; border: none; border-radius: 12px;
  background: var(--brand); color: #fff; font-size: 13.5px; font-weight: 800;
  cursor: pointer; font-family: inherit;
}
.loy-phone-row button:active { background: var(--brand-dark); }

.loy-loading { padding: 4px 20px 20px; font-size: 13px; color: var(--ink-soft); line-height: 1.5; }

.loy-summary { display: flex; gap: 10px; padding: 4px 20px 16px; }
.loy-summary-card {
  flex: 1; background: linear-gradient(160deg, #FFF3EC, var(--bg));
  border: 1px solid #FBE7DC; border-radius: 14px; padding: 16px 12px; text-align: center;
}
.loy-summary-card .ic { font-size: 20px; margin-bottom: 6px; }
.loy-summary-card .n { font-size: 24px; font-weight: 800; color: var(--brand-dark); letter-spacing: -0.02em; }
.loy-summary-card .l { font-size: 11.5px; color: var(--ink-soft); font-weight: 700; margin-top: 4px; }

.loy-reward-list { display: flex; flex-direction: column; gap: 8px; padding: 0 20px 22px; }
.loy-reward-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 15px; border-radius: 13px; background: var(--bg); font-size: 13px;
  border: 1px solid var(--line);
}
.loy-reward-item.used { opacity: .5; }
.loy-reward-item .lr-label { font-weight: 700; }
.loy-reward-item .lr-date { font-size: 11px; color: var(--ink-soft); margin-top: 2px; }
.loy-reward-item .lr-btn {
  border: none; background: var(--brand); color: #fff; font-size: 12px; font-weight: 800;
  padding: 8px 14px; border-radius: 999px; cursor: pointer; font-family: inherit; flex-shrink: 0;
}
.loy-reward-item .lr-used-tag {
  font-size: 11px; font-weight: 700; color: var(--ink-soft); background: #E6E7EA;
  padding: 5px 10px; border-radius: 999px; flex-shrink: 0;
}
.loy-earn-box {
  margin-top: 18px; padding: 12px 16px; border-radius: 12px;
  background: #FEF3C7; color: #92400e; font-size: 13px; font-weight: 800;
}

/* ── 리뷰(별점+댓글) ── */
.review-summary-box { padding: 0 20px 16px; font-size: 14px; font-weight: 700; }
.rv-avg-stars { color: #F5A623; letter-spacing: 1px; }
.write-review-box {
  margin: 0 20px 20px; padding: 16px; background: var(--bg); border-radius: 14px;
}
.wr-label { font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.star-picker { font-size: 30px; letter-spacing: 4px; color: var(--line); margin-bottom: 10px; cursor: pointer; }
.star-picker span { transition: color .1s ease; }
.star-picker span.on { color: #F5A623; }
.write-review-box textarea {
  width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 14px; font-family: inherit; resize: vertical; margin-bottom: 10px; background: #fff;
}
.review-item { padding: 14px 20px; border-top: 1px solid var(--line); }
.rv-top { display: flex; justify-content: space-between; align-items: center; }
.rv-stars { color: #F5A623; font-size: 14px; letter-spacing: 1px; }
.rv-date { font-size: 11.5px; color: var(--ink-soft); }
.rv-comment { font-size: 13.5px; margin-top: 6px; line-height: 1.5; }
.rv-reply {
  margin-top: 8px; padding: 10px 12px; background: var(--bg); border-radius: 10px;
  font-size: 12.5px; line-height: 1.5;
}
.rv-reply b { color: var(--brand-dark); margin-right: 4px; }

/* 미승인(준비중) 매장 오버레이 */
#notReadyOverlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(255,251,247,.97); backdrop-filter: blur(4px);
  display: grid; place-items: center; padding: 32px; text-align: center;
}
#notReadyOverlay .nr-box { max-width: 320px; }
#notReadyOverlay .nr-emoji { font-size: 56px; margin-bottom: 18px; }
#notReadyOverlay .nr-title { font-size: 22px; font-weight: 800; color: var(--text); margin-bottom: 12px; }
#notReadyOverlay .nr-desc { font-size: 15px; line-height: 1.7; color: var(--muted, #6B615B); }


/* ── 큰 글씨 모드 ── */
body.big-text { zoom: 1.22; }
@supports not (zoom: 1.22) {
  body.big-text { font-size: 120%; }
  body.big-text .menu-item, body.big-text .cart-sheet, body.big-text button { font-size: 1.15em; }
}
