/* ===========================
   제주 쿠폰 플랫폼 - 공통 스타일
   =========================== */

:root {
  --bg: #ffffff;
  --primary: #ff7a00;
  --primary-light: #fff3e8;
  --coupon: #ff3b30;
  --coupon-light: #fff0ef;
  --text: #222222;
  --text-sub: #666666;
  --text-muted: #999999;
  --border: #eeeeee;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 6px 24px rgba(0, 0, 0, 0.13);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR",
    sans-serif;
  background: #f7f7f7;
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
}

/* ===========================
   헤더
   =========================== */
.header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--text);
}

/* ===========================
   컨테이너
   =========================== */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 16px 60px;
}

/* ===========================
   지역 필터 바
   =========================== */
.region-bar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.region-bar-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-label {
  font-size: 14px;
  color: var(--text-sub);
  white-space: nowrap;
}

.filter-select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 36px 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}

.filter-select:focus {
  border-color: var(--primary);
}

/* ===========================
   카테고리 sticky 바
   =========================== */
.category-bar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 53px; /* 헤더 높이 */
  z-index: 90;
}

.category-scroll {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
  padding: 10px 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.category-scroll::-webkit-scrollbar {
  display: none;
}

.category-btn {
  background: #f0f0f0;
  color: var(--text-sub);
  border: none;
  border-radius: 20px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  font-family: inherit;
  flex-shrink: 0;
}

.category-btn.active {
  background: var(--primary);
  color: #fff;
}

.category-btn:hover:not(.active) {
  background: #e5e5e5;
}

/* ===========================
   섹션
   =========================== */
.section {
  margin-bottom: 32px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.section-title-main {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
}

.section-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.section-more:hover {
  text-decoration: underline;
}

/* ===========================
   가로 스크롤 카드
   =========================== */
.h-scroll-wrap {
  margin: 0 -16px;
  padding: 0 16px;
  overflow: hidden;
}

.h-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.h-scroll::-webkit-scrollbar {
  display: none;
}

.h-card {
  flex: 0 0 calc(40vw);
  max-width: 180px;
  min-width: 140px;
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}

.h-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

/* 이미지 래퍼 (뱃지 오버레이용) */
.h-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f0f0f0;
}

.h-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.h-card-img.img-loaded {
  opacity: 1;
}

.h-card-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ffe0c8 0%, #ffd0b0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

/* 섹션별 뱃지 (이미지 위 오버레이) */
.badge-section {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  line-height: 1.4;
  pointer-events: none;
}

.badge-coupon {
  background: var(--coupon);
  color: #fff;
}

.badge-popular {
  background: #ff6b00;
  color: #fff;
}

.badge-new {
  background: #00a86b;
  color: #fff;
}

.h-card-body {
  padding: 8px 10px 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.h-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4px;
}

.h-card-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  word-break: keep-all;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.h-card-region {
  font-size: 11px;
  color: #999;
}

.h-card-coupon {
  font-size: 11px;
  font-weight: 600;
  color: var(--coupon);
  background: var(--coupon-light);
  border-radius: 6px;
  padding: 3px 6px;
  margin-top: 4px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* ===========================
   정렬 셀렉트
   =========================== */
.sort-select-wrap {
  flex-shrink: 0;
}

.sort-select {
  appearance: none;
  -webkit-appearance: none;
  background: #f5f5f5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center;
  border: none;
  border-radius: var(--radius-sm);
  padding: 6px 28px 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sub);
  cursor: pointer;
  outline: none;
  font-family: inherit;
}

/* ===========================
   더 보기 버튼
   =========================== */
.btn-load-more {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 10px 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sub);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  font-family: inherit;
}

.btn-load-more:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ===========================
   가게 카드 리스트
   =========================== */
.store-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 카드 전체 래퍼 (배경 없음) */
.store-card-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* 이미지 링크 (카드 박스) */
.store-card-img-link {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
}

.store-card-img-link:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.store-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: center;
  background: #f0f0f0;
  display: block;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.store-card-img.img-loaded {
  opacity: 1;
}

.store-card-img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  background: linear-gradient(135deg, #ffe0c8 0%, #ffd0b0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

/* 가게 정보 (배경 없음, 배경색 그대로) */
.store-card-info {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 10px 4px 6px;
}

.store-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.store-card-name {
  font-size: 18px;
  font-weight: 700;
  color: #222;
  line-height: 1.4;
  word-break: keep-all;
  overflow-wrap: break-word;
  white-space: normal;
  flex: 1;
  min-width: 0;
}

.badge-ad {
  background: #f3f3f3;
  color: #888;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 3px;
}

.store-card-region {
  font-size: 13px;
  color: #777;
  margin-bottom: 0;
}

/* 쿠폰 박스 */
.coupon-preview {
  background: var(--coupon-light);
  border: 1.5px dashed var(--coupon);
  border-radius: 12px;
  padding: 10px 14px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  text-decoration: none;
}

.coupon-preview:hover {
  background: #ffe4e2;
  border-color: #e02e24;
}

.coupon-preview:active {
  transform: scale(0.99);
}

.coupon-preview-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.coupon-preview-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--coupon);
  line-height: 1.3;
  flex: 1;
  word-break: keep-all;
}

.coupon-preview-arrow {
  font-size: 16px;
  color: var(--coupon);
  font-weight: 700;
  flex-shrink: 0;
  opacity: 0.6;
}

/* ===========================
   빈 상태
   =========================== */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-state-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.empty-state p {
  font-size: 15px;
}

/* ===========================
   로딩
   =========================== */
.loading {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  font-size: 15px;
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: 0 auto 14px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===========================
   상세 페이지
   =========================== */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-sub);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 16px;
  padding: 6px 0;
  cursor: pointer;
  background: none;
  border: none;
}

.back-btn:hover {
  color: var(--primary);
}

.store-detail-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  background: #f0f0f0;
  display: block;
  margin-bottom: 20px;
}

.store-detail-img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  background: linear-gradient(135deg, #ffe0c8 0%, #ffd0b0 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  margin-bottom: 20px;
}

.store-detail-name {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.store-detail-region {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.store-detail-desc {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 28px;
  padding: 16px;
  background: #fafafa;
  border-radius: var(--radius-sm);
}

/* 가게 정보 박스 (주소/전화/지도) */
.store-info-box {
  background: #fafafa;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.store-info-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.store-info-icon {
  font-size: 16px;
  flex-shrink: 0;
  width: 22px;
  text-align: center;
}

.store-info-text {
  color: var(--text);
  line-height: 1.4;
}

.store-info-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.store-info-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

.btn-map-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  transition: background 0.2s;
}

.btn-map-link:hover {
  background: #e86e00;
}

.section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 쿠폰 카드 (상세) */
.coupon-card {
  background: var(--bg);
  border: 2px solid var(--coupon);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}

.coupon-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--coupon);
}

.coupon-card-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--coupon);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.coupon-info-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 14px;
}

.coupon-info-label {
  color: var(--text-muted);
  white-space: nowrap;
  min-width: 60px;
  font-weight: 600;
}

.coupon-info-value {
  color: var(--text);
  line-height: 1.5;
}

.btn-use-coupon {
  display: block;
  width: 100%;
  background: var(--coupon);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  margin-top: 16px;
  transition: background 0.2s, transform 0.1s;
  letter-spacing: -0.2px;
}

.btn-use-coupon:hover {
  background: #e02e24;
}

.btn-use-coupon:active {
  transform: scale(0.98);
}

.no-coupon {
  text-align: center;
  padding: 30px;
  color: var(--text-muted);
  font-size: 14px;
  background: #fafafa;
  border-radius: var(--radius);
}

/* 방문 전 안내 문구 */
.store-visit-notice {
  font-size: 12px;
  color: #999;
  font-weight: normal;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* ===========================
   모달
   =========================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--bg);
  border-radius: 20px 20px 0 0;
  padding: 28px 24px 40px;
  width: 100%;
  max-width: 720px;
  transform: translateY(40px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-handle {
  width: 40px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 0 auto 20px;
}

.modal-badge {
  background: var(--coupon-light);
  color: var(--coupon);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 10px;
}

.modal-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  line-height: 1.3;
}

.modal-info {
  background: #fafafa;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 16px;
}

.modal-info-row {
  display: flex;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 8px;
}

.modal-info-row:last-child {
  margin-bottom: 0;
}

.modal-info-label {
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
  min-width: 60px;
}

.modal-info-value {
  color: var(--text);
  line-height: 1.5;
}

.modal-notice {
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  text-align: center;
  margin-bottom: 20px;
}

.modal-notice-icon {
  font-size: 28px;
  margin-bottom: 6px;
}

.modal-notice-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}

.modal-notice-sub {
  font-size: 13px;
  color: var(--text-sub);
  margin-top: 4px;
}

.btn-modal-close {
  display: block;
  width: 100%;
  background: #f0f0f0;
  color: var(--text-sub);
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-modal-close:hover {
  background: #e5e5e5;
}

/* ===========================
   관리자 페이지
   =========================== */
.admin-header {
  background: var(--text);
  color: #fff;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-header-title {
  font-size: 16px;
  font-weight: 700;
}

.admin-tabs {
  display: flex;
  gap: 0;
  background: var(--bg);
  border-bottom: 2px solid var(--border);
  max-width: 720px;
  margin: 0 auto;
}

.admin-tab {
  flex: 1;
  padding: 14px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}

.admin-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.admin-panel {
  display: none;
}

.admin-panel.active {
  display: block;
}

.form-card {
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  margin-bottom: 20px;
}

.form-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sub);
  margin-bottom: 6px;
}

.form-label .required {
  color: var(--coupon);
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  background: var(--bg);
  font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.6;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.form-toggle input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
  cursor: pointer;
}

.form-toggle-label {
  font-size: 14px;
  color: var(--text);
}

.btn-submit {
  display: block;
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  letter-spacing: -0.2px;
  font-family: inherit;
}

.btn-submit:hover {
  background: #e86e00;
}

.btn-submit:active {
  transform: scale(0.98);
}

.btn-submit:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* 관리자 - 가게 목록 */
.admin-store-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-store-item {
  background: var(--bg);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* 수정 버튼 */
.btn-edit-store {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s;
  font-family: inherit;
}

.btn-edit-store:hover {
  background: #e86e00;
}

/* 수정 모달 */
.edit-modal {
  max-height: 90vh;
  overflow-y: auto;
}

.admin-store-thumb {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  background: #f0f0f0;
  flex-shrink: 0;
}

.admin-store-thumb-placeholder {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffe0c8, #ffd0b0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.admin-store-info {
  flex: 1;
  min-width: 0;
}

.admin-store-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-store-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.admin-store-id {
  font-size: 11px;
  color: var(--text-muted);
  background: #f5f5f5;
  padding: 2px 8px;
  border-radius: 4px;
  font-family: monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

/* 알림 토스트 */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #222;
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  white-space: nowrap;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast.success {
  background: #1a9e5c;
}

.toast.error {
  background: var(--coupon);
}

/* ===========================
   반응형
   =========================== */
@media (max-width: 480px) {
  .store-detail-img,
  .store-detail-img-placeholder {
    border-radius: 0;
    margin-left: -16px;
    margin-right: -16px;
    width: calc(100% + 32px);
  }

  .store-detail-name {
    font-size: 20px;
  }

  .modal {
    padding: 24px 18px 36px;
  }
}
