:root {
  color-scheme: light;
  --bg: #f6f7fb;
  --card: #ffffff;
  --text: #141826;
  --muted: #5c647a;
  --line: #e6e8f0;
  --brand: #1b6b5f;
  --brand-2: #134a42;
  --danger: #b42318;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 24, 38, 0.08);
  --max: 720px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body.page {
  margin: 0;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'PingFang SC', 'Hiragino Sans GB',
    'Microsoft YaHei', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.45;
}

a {
  color: var(--brand);
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.container.narrow {
  max-width: 560px;
}

.h1 {
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}

.h2 {
  font-size: 1.05rem;
  margin: 0 0 12px;
}

.h3 {
  font-size: 1rem;
  margin: 0 0 6px;
}

.subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.9rem;
}

.mt-sm {
  margin-top: 10px;
}

.mt-lg {
  margin-top: 22px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 16px 14px;
  margin: 16px auto;
}

.field {
  margin-top: 12px;
}

.field:first-child {
  margin-top: 0;
}

.label {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 12px;
  font-size: 1rem;
  background: #fff;
}

.hint {
  margin: 6px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.warn {
  color: var(--danger);
  font-size: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  background: var(--brand);
  color: #fff;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn--ghost {
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--line);
}

.btn--slot {
  width: 100%;
  min-height: 48px;
  background: linear-gradient(180deg, #1f7a6d, var(--brand-2));
}

.slot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

@media (min-width: 560px) {
  .slot-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/** 轮播 */
.carousel {
  position: relative;
  background: #0e121a;
}

.carousel__track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  touch-action: manipulation;
}

.carousel__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 520ms ease;
}

.carousel__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  gap: 6px;
  justify-content: center;
  z-index: 2;
}

.carousel__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.carousel__dot.is-active {
  background: #fff;
  width: 18px;
}

.merchant__head {
  padding: 18px 0 6px;
}

.store-list {
  display: grid;
  gap: 12px;
  margin: 10px 0 28px;
}

.store-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: var(--shadow);
}

@media (max-width: 480px) {
  .store-card {
    grid-template-columns: 1fr;
  }
}

.store-card__media img {
  width: 100%;
  height: 88px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.link {
  font-size: 0.92rem;
}

/** 管理后台 */
.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 5;
}

.admin-brand {
  font-weight: 700;
}

.admin-main {
  width: min(100% - 24px, 980px);
  margin: 16px auto 40px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.table th,
.table td {
  padding: 10px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 0.92rem;
}

.table tr:last-child td {
  border-bottom: 0;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btn--sm {
  padding: 8px 10px;
  font-size: 0.9rem;
}

.btn--danger {
  background: #c0342a;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.textarea {
  min-height: 120px;
  resize: vertical;
}

.repeat-block {
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 10px;
  margin-top: 10px;
  background: #fff;
}

.row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.login-card {
  width: min(100% - 32px, 420px);
  margin: 48px auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.error {
  color: var(--danger);
  font-size: 0.92rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.local-img-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.img-thumb {
  width: 100%;
  min-height: 72px;
  max-height: 116px;
  border-radius: 10px;
  border: 1px dashed var(--line);
  overflow-x: auto;
  overflow-y: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 6px;
  background: #fafbff;
}

.img-thumb img {
  width: 120px;
  height: 72px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  flex: 0 0 auto;
}

.textarea--sm {
  min-height: 72px;
  resize: vertical;
}

/** Banner 多图（管理） */
.multi-uploader__zone {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 14px 12px;
  text-align: center;
  cursor: pointer;
  color: var(--muted);
  font-size: 0.92rem;
  background: #fafbff;
}

.multi-uploader__zone.is-drag {
  border-color: var(--brand);
  background: #fff8f0;
}

.multi-uploader__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.thumb-card {
  position: relative;
  width: 132px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f3f4f8;
}

.thumb-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb-card__del {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  font-size: 17px;
  line-height: 1;
}

.thumb-card:hover .thumb-card__del {
  opacity: 1;
}

/** 地图弹窗（管理） */
.map-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.map-modal.is-open {
  display: flex;
}

.map-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 18, 28, 0.45);
}

.map-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: 8px;
  padding: 12px 14px 14px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
}

.map-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.map-modal__actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.map-canvas {
  height: 280px;
  border-radius: 6px;
  border: 1px solid var(--line);
  margin-top: 4px;
}

.map-modal__foot {
  margin-top: 10px;
}

/** 顾客页（参考 inline 风格：小圆角、橙色主色；Web 内容区最大 1140px） */
.page.page--cust {
  --bg: #f4f4f5;
  --card: #ffffff;
  --text: #141414;
  --muted: #6e6e73;
  --line: #e4e4e7;
  --brand: #f07818;
  --brand-2: #d96812;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  --cust-max: 1140px;
  background: var(--bg);
}

.merchant--cust .cust-layout {
  padding-bottom: 36px;
}

.merchant--cust .cust-block {
  width: min(100% - 32px, var(--cust-max));
  margin-left: auto;
  margin-right: auto;
}

/**
 * H5：轮播横向贴齐视口、无左右留白；PC（≥720px）与内容区同宽并圆角
 */
.merchant--cust .cust-layout > .carousel.carousel--cust {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  border-radius: 0;
}

.page--cust .carousel__track {
  aspect-ratio: 16 / 12;
}

@media (min-width: 720px) {
  .merchant--cust .cust-layout > .carousel.carousel--cust {
    width: min(100% - 32px, var(--cust-max));
    margin-left: auto;
    margin-right: auto;
    margin-top: 16px;
    border-radius: 10px;
    overflow: hidden;
  }

  .merchant--cust .cust-layout > .cust-head.cust-block:first-child {
    margin-top: 16px;
  }
}

.page--cust .input,
.page--cust .card {
  border-radius: 8px;
}

.cust-head.cust-block {
  padding: 18px 0 18px;
  border-bottom: 1px solid var(--line);
}

.cust-head__title {
  margin: 0;
  font-size: clamp(1.25rem, 4vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.cust-head__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}

.cust-head__sub {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.4;
}

.cust-head__sub-spacer {
  flex: 1 1 auto;
  min-width: 0;
}

.cust-share-btn {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  margin: 0;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--brand);
  cursor: pointer;
  line-height: 0;
}

/**
 * 分享：H5 顯示（含大機橫屏，視口常 >719px）；鍵鼠桌面一律隱藏。
 */
@media (max-width: 1024px) {
  .cust-share-btn {
    display: inline-flex;
  }
}

@media (hover: hover) and (pointer: fine) {
  .cust-share-btn {
    display: none !important;
  }
}

.cust-share-btn__icon {
  width: 22px;
  height: 22px;
}

.cust-share-btn:active {
  opacity: 0.88;
}

.cust-booking.cust-block {
  padding: 20px 0 12px;
  margin: 0 auto;
}

.cust-booking__lead {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 600;
}

.cust-booking__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px 28px;
  align-items: start;
}

@media (min-width: 720px) {
  .cust-booking__grid {
    grid-template-columns: 1fr 1fr;
  }

  .cust-booking__grid.cust-booking__grid--single {
    grid-template-columns: 1fr;
  }

  .cust-booking__lead {
    font-size: 1.05rem;
    margin-bottom: 18px;
  }

  .cust-head__title {
    font-size: 1.65rem;
  }
}

.cust-booking__col {
  min-width: 0;
}

.cust-hint--booking {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.cust-muted {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.cust-divider.cust-block {
  width: min(100% - 32px, var(--cust-max));
  height: 1px;
  background: var(--line);
  margin: 8px auto 18px;
}

/**
 * 顾客页：人数/日期统一白底条，内部文字水平垂直尽量居中（尤其 iOS 日期）
 */
.cust-control-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  height: 44px;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.cust-control-shell .input--cust-control {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  margin: 0;
  padding: 0 12px;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 44px;
  text-align: center;
  -webkit-appearance: none;
  appearance: none;
  background-color: transparent;
  background-repeat: no-repeat;
  vertical-align: middle;
}

.page--cust select.input--cust-control {
  padding: 0 30px 0 12px;
  text-align-last: center;
}

.page--cust input[type='date'].input--cust-control {
  padding: 0 8px;
}

.page--cust input[type='date'].input--cust-control::-webkit-date-and-time-value {
  text-align: center;
}

.page--cust input[type='number'].input--cust-control {
  -moz-appearance: textfield;
}

.page--cust input[type='number'].input--cust-control::-webkit-outer-spin-button,
.page--cust input[type='number'].input--cust-control::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cust-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 380px) {
  .cust-grid2 {
    grid-template-columns: 1fr;
  }
}

.cust-field {
  min-width: 0;
}

.cust-field--full {
  margin-top: 10px;
}

.cust-label {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.cust-hint {
  margin: 10px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

select.input--select,
.page--cust select.input {
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  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 fill='%236e6e73' d='M1 1.5L6 6l5-4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
}

.store-stack.cust-block {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 28px;
}

.store-v2 {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  padding: 14px 0 12px;
}

.store-v2:last-child {
  border-bottom: 0;
}

.store-v2__row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.store-v2__pic {
  flex: 0 0 102px;
  width: 102px;
  height: 102px;
  border-radius: 6px;
  overflow: hidden;
  background: #ececf0;
  border: 1px solid var(--line);
}

.store-v2__pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.store-v2__ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 0.85rem;
  color: var(--muted);
}

.store-v2__body {
  flex: 1;
  min-width: 0;
}

.store-v2__name {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 600;
}

.store-v2__addr {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.4;
}

.store-v2__addr--empty {
  opacity: 0.75;
}

.store-v2__dist {
  margin: 6px 0 0;
  font-size: 0.82rem;
  color: var(--brand-2);
  font-weight: 500;
}

.store-v2__dist--muted {
  color: var(--muted);
  font-weight: 400;
}

.store-v2__book {
  margin-top: 10px;
}

.btn-book {
  width: 100%;
  min-height: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 6px;
  border: 0;
  background: var(--brand);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  line-height: 1;
}

a.btn-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}

span.btn-book.is-disabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.btn-book:hover:not(:disabled):not(.is-disabled) {
  background: var(--brand-2);
}

.btn-book.is-disabled,
.btn-book:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

@media (min-width: 720px) {
  .store-v2 {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 20px 0 18px;
  }

  .store-v2__main-link {
    flex: 1 1 auto;
    min-width: 0;
  }

  .store-v2__row {
    flex: 1 1 auto;
    min-width: 0;
    gap: 16px;
  }

  .store-v2__pic {
    flex: 0 0 120px;
    width: 120px;
    height: 120px;
  }

  .store-v2__book {
    margin-top: 0;
    flex: 0 0 auto;
    align-self: center;
  }

  .btn-book {
    width: auto;
    min-width: 108px;
    padding: 0 20px;
  }
}

.cust-split2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: stretch;
}

.input--tall {
  min-height: 48px;
  box-sizing: border-box;
}

.cust-line .input--tall {
  width: 100%;
}

/** 管理端卡片 */
.admin-form-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px 16px;
  box-shadow: var(--shadow);
}

.admin-card--nest {
  margin-top: 0;
  border-radius: 8px;
  background: #fafbff;
}

.admin-card__title {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 600;
}

.admin-card__head {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 10px;
}

.admin-card__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.admin-card__toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.admin-nest-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.grid-minmax {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 520px) {
  .grid-minmax {
    grid-template-columns: 1fr;
  }
}

.radio-inline {
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.banner-strip {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 10px;
}

.banner-strip__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 1;
  min-height: 80px;
  align-content: flex-start;
}

.banner-strip__add {
  flex: 0 0 80px;
  width: 80px;
  min-height: 80px;
  height: auto;
  align-self: stretch;
  border: 1px dashed var(--line);
  border-radius: 6px;
  background: #fafbff;
  color: var(--muted);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

label.banner-strip__add {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  box-sizing: border-box;
}

.banner-strip__add:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.banner-strip.is-drag {
  outline: 2px dashed var(--brand);
  outline-offset: 2px;
  border-radius: 8px;
}

.banner-strip .thumb-card {
  width: 80px;
  height: 80px;
}

.admin-card--tight {
  padding-bottom: 10px;
}

.admin-card__head--tight {
  margin-bottom: 4px;
}

.hint--tight {
  margin: 0 0 6px;
  font-size: 0.85rem;
}

.admin-nest-stack--tight {
  gap: 8px;
}

.admin-card--nest-tight {
  padding: 8px 10px 10px;
}

.admin-card__toolbar--tight {
  margin-bottom: 6px;
  min-height: 0;
}

.range-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-items: stretch;
}

.range-pair__cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.label--inline {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.2;
}

.input--range-num {
  width: 100%;
  box-sizing: border-box;
  height: 40px;
  min-height: 40px;
  padding: 0 10px;
  margin: 0;
  line-height: normal;
}

.form-actions-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.form-actions-bar__delete {
  margin: 0;
}

/** 門市列表：點擊圖文區進入詳情 */
.store-v2__main-link {
  display: block;
  color: inherit;
  text-decoration: none;
  border-radius: 6px;
}

.store-v2__main-link:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/** 門市詳情頁（H5 全寬圖、PC 與內容區對齊；富文本可讀寬度） */
.page.page--cust.page--store-detail {
  /** merchant--cust 在 main 上，勿與 body 寫在同一選擇器，否則底部留白不生效 */
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.merchant--store-detail .store-detail {
  /** 為固定底欄「完成預訂」留出空間，避免遮住日期/人數（底欄約 72–88px + 安全區） */
  padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px));
}

.store-detail__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 12px 0 8px;
  font-size: 0.88rem;
  color: var(--muted);
}

.store-detail__nav-link {
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
}

.store-detail__nav-link:hover {
  text-decoration: underline;
}

.store-detail__nav-sep {
  color: var(--line);
  font-weight: 400;
}

.store-detail__nav-current {
  color: var(--text);
  font-weight: 600;
}

.store-detail__hero {
  width: 100%;
  max-width: none;
  margin: 0;
  background: #ececf0;
}

.store-detail__hero-img {
  display: block;
  width: 100%;
  aspect-ratio: 2.2 / 1;
  object-fit: cover;
}

.store-detail__hero-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 2.2 / 1;
  font-size: 1rem;
  color: var(--muted);
}

@media (min-width: 720px) {
  .store-detail__hero {
    width: min(100% - 32px, var(--cust-max));
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    overflow: hidden;
  }

  .store-detail__hero-img,
  .store-detail__hero-ph {
    aspect-ratio: 16 / 12;
  }
}

.store-detail__intro {
  padding: 18px 0 8px;
}

.store-detail__title {
  margin: 0 0 8px;
  font-size: clamp(1.2rem, 4vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.store-detail__addr {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.45;
}

.store-detail__addr--empty {
  opacity: 0.75;
}

.store-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-top: 14px;
  align-items: center;
}

.store-detail__action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--brand);
  text-decoration: none;
}

.store-detail__action:hover {
  text-decoration: underline;
}

.store-detail__action--static {
  color: var(--text);
  text-decoration: none;
}

.store-detail__ico {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.92;
}

.store-detail__ico--phone {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f07818' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

.store-detail__ico--map {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f07818' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='1 6 1 22 8 18 16 22 23 18 23 2 16 6 8 2 1 6'/%3E%3Cline x1='8' y1='2' x2='8' y2='18'/%3E%3Cline x1='16' y1='6' x2='16' y2='22'/%3E%3C/svg%3E");
}

.store-detail__richtext-wrap {
  padding: 8px 0 20px;
}

.store-detail__richtext {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text);
  word-break: break-word;
}

.richtext-content p {
  margin: 0 0 0.85em;
}

.richtext-content p:last-child {
  margin-bottom: 0;
}

.richtext-content h1,
.richtext-content h2,
.richtext-content h3,
.richtext-content h4 {
  margin: 1em 0 0.5em;
  font-weight: 700;
  line-height: 1.35;
}

.richtext-content h1:first-child,
.richtext-content h2:first-child,
.richtext-content h3:first-child,
.richtext-content h4:first-child {
  margin-top: 0;
}

.richtext-content ul,
.richtext-content ol {
  margin: 0 0 0.85em;
  padding-left: 1.25em;
}

.richtext-content a {
  color: var(--brand);
}

.store-detail__booking {
  padding: 8px 0 16px;
}

.store-detail__booking-lead {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 600;
}

.store-detail__dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(244, 244, 245, 0), #f4f4f5 28%);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
}

.store-detail__dock-inner {
  display: flex;
  justify-content: stretch;
}

.store-detail__dock .btn-book--dock {
  width: 100%;
  min-height: 48px;
  height: auto;
  border-radius: 8px;
  font-size: 1rem;
}

@media (min-width: 720px) {
  .store-detail__dock-inner {
    max-width: var(--cust-max);
  }

  .store-detail__title {
    font-size: 1.55rem;
  }
}
