/* ==========================================================
   Four Restaurants - shared styles (mobile first)
   ========================================================== */

:root {
  --orange: #E8622C;
  --green: #4C7A5A;
  --green-dark: #3E6B4C;
  --ink: #1b1613;
  --page-dark: #1c1815;
  --maxw: 480px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  background: #100e0c;
  color: #fff;
  font-family: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
}

img { max-width: 100%; }

a, button, .entry-card, .gallery img, .taxi-banner, .modal-panel, .chip {
  transition: background-color .25s ease, color .25s ease, box-shadow .3s ease,
              transform .3s ease, border-color .25s ease;
}

/* reduced motion: keep things static */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal, .js .reveal { opacity: 1; transform: none; }
}

/* scroll reveal entrance (only active when js runs) */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}

.js .reveal.in { opacity: 1; transform: none; }

.page {
  max-width: var(--maxw);
  margin: 0 auto;
  background: var(--page-dark);
  min-height: 100vh;
  box-shadow: 0 0 40px rgba(0, 0, 0, .6);
  position: relative;
  /* flex 布局阻止子元素外边距穿透，避免页底露出 body 背景 */
  display: flex;
  flex-direction: column;
}

/* ---------- top navigation ---------- */

.nav {
  display: flex;
  background: linear-gradient(180deg, #141210, #0d0c0b);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .45);
}

.nav a {
  flex: 1;
  text-align: center;
  padding: 10px 2px 8px;
  text-decoration: none;
  border-right: 1px solid rgba(255, 255, 255, .12);
  min-width: 0;
  position: relative;
}

.nav a:last-child { border-right: 0; }

.nav a::after {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: 0;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform .3s ease;
}

.nav a:hover { background: rgba(255, 255, 255, .05); }

.nav a:hover .nav-name { color: rgba(255, 255, 255, .95); }

.nav a.active::after { transform: scaleX(1); }

.nav a.active { background: rgba(232, 98, 44, .08); }

.nav .nav-name {
  display: block;
  font-weight: 700;
  font-size: 11px;
  color: #fff;
  white-space: nowrap;
}

.nav .nav-sub {
  display: block;
  font-size: 8.5px;
  color: rgba(255, 255, 255, .55);
  white-space: nowrap;
  margin-top: 2px;
}

.nav a.active .nav-name { color: var(--orange); }

/* ---------- 整页拼贴背景 ---------- */

/* 整页以拼贴照片打底，导航 / hero 文字 / 四张卡片全部压在图上 */

.page-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
}

.page-bg img {
  width: 100%;
  flex: 1 1 0;
  min-height: 0;
  object-fit: cover;
  display: block;
}

.hero, .cards, .contact { position: relative; z-index: 1; }

/* ---------- home: hero ---------- */

/* hero 文字块：与联系区一样内缩留边距，黑色半透明底压在拼贴图上 */

.hero { margin: 20px 14px 8px; }

.hero-copy {
  display: flex;
  flex-direction: column;
  padding: 30px 22px;
  background: rgba(0, 0, 0, .55);
  border-radius: 16px;
}

.hero-copy h1 {
  color: var(--orange);
  font-size: 27px;
  line-height: 1.3;
  letter-spacing: .5px;
  font-weight: 800;
  margin-bottom: 10px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .65);
}

.hero-copy p {
  color: #fff;
  font-size: 11.5px;
  line-height: 1.8;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .65);
}

.hero-copy p.question { margin-top: 8px; font-style: italic; color: var(--orange); font-size: 15px; }

.hero-copy h1 { animation: fadeSlideIn .7s ease both; }

.hero-copy p { animation: fadeSlideIn .7s ease both; }

.hero-copy p:nth-of-type(2) { animation-delay: .12s; }

.hero-copy p.question { animation-delay: .24s; }

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ---------- home: entry cards ---------- */

.cards {
  padding: 20px 14px 6px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.entry-card {
  position: relative;
  display: block;
  text-decoration: none;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .55), 0 2px 6px rgba(0, 0, 0, .4);
}

.entry-card img.card-bg { width: 100%; display: block; }

.entry-card:hover { transform: translateY(-4px); box-shadow: 0 18px 34px rgba(0, 0, 0, .65), 0 4px 10px rgba(0, 0, 0, .45); }

.card-body {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 12px;
}

.card-body .card-icon { width: 50px; flex: 0 0 auto; }

.card-info { min-width: 0; }

.card-info .card-name {
  font-size: 17px;
  font-weight: 800;
  color: #191919;
  line-height: 1.25;
}

.card-info .card-tag {
  font-size: 10px;
  color: #3d3d3d;
  letter-spacing: .3px;
}

.card-info .card-cn {
  font-size: 11.5px;
  color: #4a4a4a;
  margin-top: 1px;
}

.card-attrs {
  margin-left: auto;
  text-align: right;
  font-size: 9.5px;
  color: #6f6f6f;
  line-height: 1.75;
  flex: 0 0 auto;
}

/* ---------- home: contact ---------- */

/* 联系区背景直接用整页拼贴图，内容装在透明背景的描边框里 */

.contact { margin: 24px 14px 30px; }

.contact-box {
  border-radius: 16px;
  background: rgba(0, 0, 0, .55);
  padding: 26px 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .28);
}

.contact-qrs { display: flex; gap: 26px; }

.contact-qrs img { width: 92px; border-radius: 6px; }

.contact-box .phone {
  margin-top: 14px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .5px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .55);
}

/* Contact Us：点击直接拨号的按钮 */

.contact-call {
  display: inline-block;
  margin-top: 12px;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 11px 42px;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(232, 98, 44, .35);
}

.contact-call:hover { background: #d5541f; transform: translateY(-1px); }

.contact-call:active { transform: none; }

/* ---------- restaurant pages ---------- */

.theme-nimo  { --theme: #4a3527; --theme-deep: #2f2218; --dash: #c9a36a; --cta-bg: var(--orange); --cta-bg-hover: #d5541f; --cta-fg: #fff; }
.theme-gulu  { --theme: #2e3b2c; --theme-deep: #20291f; --dash: #9aa36e; --cta-bg: var(--orange); --cta-bg-hover: #d5541f; --cta-fg: #fff; }
.theme-hololi{ --theme: #34524b; --theme-deep: #243a35; --dash: #7fb3a4; --cta-bg: var(--orange); --cta-bg-hover: #d5541f; --cta-fg: #fff; }
.theme-codo  { --theme: #2f333c; --theme-deep: #22252c; --dash: #8ea3bf; --cta-bg: var(--orange); --cta-bg-hover: #d5541f; --cta-fg: #fff; }

.brand {
  background:
    radial-gradient(120% 140% at 50% -20%, rgba(255, 255, 255, .10), transparent 55%),
    linear-gradient(180deg, var(--theme), var(--theme-deep));
  padding: 40px 20px 32px;
  text-align: center;
}

.brand h1 {
  font-size: 30px;
  letter-spacing: 1.5px;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .3);
  animation: fadeSlideIn .7s ease both;
}

.brand .brand-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, .88);
  margin-top: 8px;
  letter-spacing: .5px;
  animation: fadeSlideIn .7s ease .1s both;
}

.brand .brand-tag {
  font-size: 11px;
  color: rgba(255, 255, 255, .62);
  margin-top: 12px;
  animation: fadeSlideIn .7s ease .2s both;
}

.brand .brand-tag::before,
.brand .brand-tag::after {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--dash);
  vertical-align: middle;
  margin: 0 10px;
  opacity: .8;
}

/* gallery */

.gallery {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
}

.gallery img {
  width: 100%;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
}

.gallery img:hover { box-shadow: 0 10px 24px rgba(0, 0, 0, .42); }

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

/* about + info */

.about {
  background: var(--theme-deep);
  padding: 26px 22px 8px;
}

.about p {
  font-size: 13px;
  line-height: 1.95;
  color: #ececec;
}

.info {
  background: var(--theme-deep);
  padding: 14px 22px 28px;
  font-size: 13.5px;
  color: #f1f1f1;
}

.info .row {
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(255, 255, 255, .12);
}

.info .row:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }

.info .label { color: var(--orange); font-weight: 700; }

.info .cn { color: rgba(255, 255, 255, .72); font-size: 12.5px; }

/* taxi card */

.taxi {
  margin: 22px 16px 0;
  border: 2px dashed var(--dash);
  background: #fdfcf9;
  color: #26221e;
  border-radius: 12px;
  padding: 18px 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .3);
}

.taxi h3 {
  color: var(--orange);
  font-size: 17px;
  letter-spacing: 3px;
  font-weight: 800;
}

.taxi .taxi-tip { font-size: 15.5px; color: #6b655e; margin-top: 4px; }

.taxi .taxi-lines {
  font-size: 21px;
  line-height: 1.75;
  margin: 10px 0 12px;
  font-weight: 800;
}

.taxi img.taxi-photo { width: 100%; display: block; border-radius: 6px; }

/* codo 街景图上的地面方向箭头（叠加在图上，指向店面方向） */
.taxi-photo-wrap { position: relative; }

.taxi-arrow {
  position: absolute;
  left: 14%;
  bottom: 8%;
  width: 44%;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5));
}

.taxi-banner {
  margin: 16px 16px 0;
  background: linear-gradient(135deg, #f0703c, var(--orange) 55%, #d0511f);
  color: #fff;
  text-align: center;
  padding: 13px 10px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .5px;
  box-shadow: 0 6px 16px rgba(232, 98, 44, .35);
  animation: bannerGlow 2.8s ease-in-out infinite;
}

/* 并入白色卡片内的大号版本：中文在前，整体加大 */
.taxi .taxi-banner {
  margin: 14px 0 2px;
  padding: 15px 12px;
  font-size: 19px;
  border-radius: 12px;
}

@keyframes bannerGlow {
  0%, 100% { box-shadow: 0 6px 16px rgba(232, 98, 44, .3); }
  50% { box-shadow: 0 6px 26px rgba(232, 98, 44, .55); }
}

.taxi-banner span { font-size: 12.5px; font-weight: 500; opacity: .92; margin-left: 8px; }

.taxi .taxi-banner span { font-size: 13.5px; }

/* qr + cta */

.qr-section {
  margin-top: 24px;
  padding: 8px 0 4px;
  display: flex;
  justify-content: center;
  gap: 26px;
}

/* 二维码不再用整块粗糙大白底：各自包一层圆角小白卡，融入页面底色 */
.qr-section img {
  width: 112px;
  display: block;
  background: #fff;
  padding: 9px;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .28);
}

.qr-section img:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0, 0, 0, .18); }

.cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: var(--maxw);
  z-index: 40;
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 11px 20px calc(11px + env(safe-area-inset-bottom));
  /* 先给不透明底色做回退，支持 color-mix 的浏览器用半透明+毛玻璃 */
  background: var(--theme-deep);
  background: color-mix(in srgb, var(--theme-deep) 88%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-top: 1px solid color-mix(in srgb, var(--dash) 40%, transparent);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, .45);
}

/* 悬浮栏常驻底部，页面预留空间避免内容被遮挡 */

.page[class*="theme-"] { padding-bottom: 96px; }

/* 首页预订栏主题：橙色调，与其他店同机制 */

.page-home {
  --theme-deep: #141110;
  --dash: var(--orange);
  --cta-bg: var(--orange);
  --cta-bg-hover: #d5541f;
  --cta-fg: #fff;
  padding-bottom: 96px;
}

/* Book Now：实心按钮，用本店专属色（与各店弹窗提交按钮同色） */

.cta .btn {
  padding: 11px 0;
  font-size: 14px;
  background: var(--cta-bg, var(--green));
  color: var(--cta-fg, #fff);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .35);
}

.cta .btn:hover {
  background: var(--cta-bg-hover, var(--green-dark));
  color: var(--cta-fg, #fff);
}

/* View Menu：描边按钮，用本店虚线装饰色 */

.cta a.btn {
  background: transparent;
  border: 1.5px solid var(--dash);
  color: var(--dash);
  box-shadow: none;
}

.cta a.btn:hover {
  background: rgba(255, 255, 255, .08);
  background: color-mix(in srgb, var(--dash) 14%, transparent);
  border-color: var(--dash);
  color: var(--dash);
}

.btn {
  flex: 1;
  max-width: 190px;
  background: linear-gradient(135deg, #5a8a68, var(--green) 60%, var(--green-dark));
  color: #fff;
  border: 0;
  border-radius: 26px;
  padding: 13px 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .5px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  font-family: inherit;
  box-shadow: 0 6px 16px rgba(62, 107, 76, .4);
}

.btn:hover {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(62, 107, 76, .5);
}

.btn:active { transform: translateY(0); }

.btn .arrow { margin-left: 4px; display: inline-block; transition: transform .25s ease; }

.btn:hover .arrow { transform: translateX(4px); }

/* ---------- booking modal ---------- */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .62);
  display: none;
  align-items: flex-end;
  justify-content: center;
  z-index: 50;
}

.modal.open { display: flex; animation: modalFade .3s ease; }

@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }

.modal.open .modal-panel { animation: panelSlideUp .35s cubic-bezier(.22, .9, .36, 1); }

@keyframes panelSlideUp {
  from { transform: translateY(46px); opacity: .6; }
  to { transform: none; opacity: 1; }
}

.modal-panel {
  background: #fff;
  color: #181818;
  width: 100%;
  max-width: var(--maxw);
  max-height: 86vh;
  overflow-y: auto;
  border-radius: 18px 18px 0 0;
  padding: 24px 22px 30px;
  position: relative;
}

/* 关闭按钮：面板内容滚动时始终吸顶可见（弹层太高的手机上也不会丢） */
.modal-close {
  position: sticky;
  top: 10px;
  float: right;
  margin: -14px -10px 0 0;
  z-index: 6;
  width: 32px;
  height: 32px;
  border: 0;
  background: #f0efec;
  border-radius: 50%;
  font-size: 17px;
  line-height: 1;
  color: #555;
  cursor: pointer;
}

.modal-close:hover { background: #e2e0da; transform: rotate(90deg); }

/* 弹窗表单所有单行输入框/下拉统一尺寸：同高同宽，不忽高忽低 */
.book-form input:not([type="radio"]):not([type="checkbox"]),
.book-form select {
  height: 42px;
}

/* 弹窗表单通用：日期/时间并排一行展示（框不拉满半宽，窄屏可收缩不重叠） */
.book-form .field-row {
  display: flex;
  gap: 10px;
  margin-bottom: 13px;
}

.book-form .field-row .field { flex: 0 1 160px; margin-bottom: 0; min-width: 0; }

.book-form .field-row input { min-width: 0; }

/* 日历选中色跟随各店主题（accent-color 影响原生日历的高亮色） */
.form-en input[type="date"] { accent-color: var(--orange); }

.form-wine input[type="date"] { accent-color: var(--gold); }

.form-bar input[type="date"],
.form-bar input[type="time"] { accent-color: var(--bar-gold); color-scheme: dark; }

.form-warm input[type="date"] { accent-color: #34524b; }

.form-ticket input[type="date"] { accent-color: #5f7ea8; }

/* english form (Nimo) */

.form-en h2 {
  text-align: center;
  font-size: 22px;
  letter-spacing: .5px;
  margin-bottom: 20px;
}

.form-en .field { margin-bottom: 14px; }

.form-en label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 5px;
}

.form-en input,
.form-en select,
.form-en textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #2a2a2a;
  border-radius: 9px;
  padding: 11px 12px;
  font-size: 14px;
  line-height: 1.25;
  font-family: inherit;
  background: #fff;
  color: #181818;
}

.form-en input:focus,
.form-en select:focus,
.form-en textarea:focus {
  outline: 2px solid var(--orange);
  outline-offset: -1px;
  border-color: var(--orange);
}

.form-en textarea { min-height: 80px; resize: vertical; }

.time-row { display: flex; gap: 8px; align-items: stretch; }

.time-row input { flex: 1; }

.hours-info-btn {
  border: 1px solid #2a2a2a;
  background: #fff;
  border-radius: 9px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
}

.hours-tip {
  display: none;
  margin-top: 6px;
  font-size: 12.5px;
  color: #6b655e;
}

.hours-tip.show { display: block; }

/* 首页：营业时间提示常驻显示，选餐厅后自动更新，无需开关按钮 */
.hours-tip.hours-static { display: block; }

.btn-reserve {
  display: block;
  width: 100%;
  background: #111;
  color: #fff;
  border: 0;
  border-radius: 11px;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  margin-top: 8px;
  font-family: inherit;
}

.btn-reserve:hover { background: #2a2a2a; transform: translateY(-1px); box-shadow: 0 8px 18px rgba(0, 0, 0, .3); }

.btn-reserve:active { transform: none; }

/* success state */

.book-success {
  display: none;
  text-align: center;
  padding: 36px 10px 20px;
}

.book-success.show { display: block; animation: fadeSlideIn .45s ease; }

.book-success .check {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 28px;
  line-height: 54px;
  margin: 0 auto 16px;
  box-shadow: 0 0 0 8px rgba(76, 122, 90, .18);
  animation: checkPop .5s cubic-bezier(.34, 1.56, .64, 1);
}

@keyframes checkPop {
  from { transform: scale(.4); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.book-success h3 { font-size: 19px; margin-bottom: 8px; }

.book-success p { font-size: 13.5px; color: #666; margin-bottom: 20px; }

.book-success .btn-ok {
  background: #111;
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 11px 46px;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}

/* ---------- booking variant: Nimo 酒红金 Wine Bar 风格 ---------- */

.panel-wine {
  background: linear-gradient(180deg, #3d1424 0%, #2a0d19 100%);
  color: #f3e8dc;
}

.panel-wine .modal-close { background: rgba(255, 255, 255, .12); color: #e5cfae; }

.panel-wine .modal-close:hover { background: rgba(255, 255, 255, .22); }

.form-wine { --gold: #c9a36a; }

.form-wine .wine-head { text-align: center; padding: 6px 0 18px; }

.form-wine .wine-brand {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 6px;
  color: var(--gold);
}

.form-wine .wine-sub {
  margin-top: 6px;
  font-size: 11.5px;
  letter-spacing: 2px;
  color: rgba(243, 232, 220, .68);
}

.form-wine .wine-line {
  width: 56px;
  height: 2px;
  background: var(--gold);
  margin: 14px auto 0;
}

.form-wine .field { margin-bottom: 14px; }

.form-wine .field-row {
  display: flex;
  gap: 10px;
}

.form-wine .field-row .field { flex: 0 1 160px; min-width: 0; }

.form-wine label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: 5px;
}

.form-wine input,
.form-wine select,
.form-wine textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(201, 163, 106, .45);
  border-radius: 9px;
  padding: 11px 12px;
  font-size: 14px;
  line-height: 1.25;
  font-family: inherit;
  background: rgba(255, 255, 255, .07);
  color: #f7efe4;
}

.form-wine select option { color: #181818; }

.form-wine input::placeholder,
.form-wine textarea::placeholder { color: rgba(243, 232, 220, .38); }

.form-wine input[type="date"],
.form-wine input[type="time"] { color-scheme: dark; }

.form-wine input:focus,
.form-wine select:focus,
.form-wine textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: -1px;
  border-color: var(--gold);
}

.form-wine textarea { min-height: 80px; resize: vertical; }

/* 营业时间按钮：细金边胶囊，点击展开提示 */
.form-wine .wine-hours {
  display: block;
  width: 100%;
  margin: -4px 0 12px;
  border: 1px dashed rgba(201, 163, 106, .5);
  background: transparent;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 11.5px;
  letter-spacing: 1px;
  color: rgba(243, 232, 220, .75);
  cursor: pointer;
  font-family: inherit;
}

.form-wine .hours-tip {
  color: rgba(243, 232, 220, .6);
  margin: -6px 0 12px;
}

.btn-wine {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, #d8b87f 0%, #c9a36a 60%, #b08a50 100%);
  color: #2a0d19;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 2px;
  cursor: pointer;
  margin-top: 8px;
  font-family: inherit;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .35);
}

.btn-wine:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(0, 0, 0, .45); }

.btn-wine:active { transform: none; }

.panel-wine .book-success p { color: rgba(243, 232, 220, .65); }

.panel-wine .book-success .btn-ok {
  background: var(--gold);
  color: #2a0d19;
}

/* ---------- booking variant: Gulu dark bar style ---------- */

.panel-bar { background: #232d24; color: #f1ecdf; }

.panel-bar .modal-close { background: #37453a; color: #e8e2d2; }

.form-bar { --bar-gold: #d8b46a; }

.form-bar .bar-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(216, 180, 106, .35);
  padding-bottom: 14px;
}

.form-bar .bar-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.25;
}

.form-bar .bar-title small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #c9bf9f;
  letter-spacing: 2px;
}

.form-bar .bar-cn { font-size: 16px; font-weight: 700; color: var(--bar-gold); white-space: nowrap; }

.form-bar .bar-sub { font-size: 12.5px; color: #b9b19b; margin: 12px 0 18px; }

.form-bar .field { margin-bottom: 15px; }

.form-bar label {
  display: block;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--bar-gold);
  margin-bottom: 6px;
  font-weight: 700;
}

.form-bar input,
.form-bar select,
.form-bar textarea {
  width: 100%;
  box-sizing: border-box;
  background: #2c382d;
  border: 1px solid #47564a;
  color: #f1ecdf;
  border-radius: 9px;
  padding: 11px 12px;
  font-size: 14px;
  line-height: 1.25;
  font-family: inherit;
}

.form-bar textarea { min-height: 80px; resize: vertical; }

.form-bar input:focus,
.form-bar select:focus,
.form-bar textarea:focus {
  outline: 2px solid var(--bar-gold);
  outline-offset: -1px;
}

/* chip selectors (time slots / party size) */

.chips { display: flex; gap: 10px; flex-wrap: wrap; }

.chip-input { position: absolute; opacity: 0; pointer-events: none; }

.chip {
  flex: 1;
  min-width: 92px;
  text-align: center;
  cursor: pointer;
  border: 1px solid #47564a;
  border-radius: 10px;
  padding: 10px 6px;
  font-size: 13px;
  font-weight: 600;
  color: #ddd6c2;
  background: #2c382d;
}

.chip small {
  display: block;
  font-size: 10.5px;
  font-weight: 400;
  color: #a99f85;
  margin-top: 2px;
}

.chip-input:checked + .chip {
  background: var(--bar-gold);
  border-color: var(--bar-gold);
  color: #241d0f;
}

.chip-input:checked + .chip small { color: #5d4c22; }

.chip:hover { transform: translateY(-2px); border-color: rgba(216, 180, 106, .6); }

.chip-input:focus-visible + .chip { outline: 2px solid var(--bar-gold); }

.btn-bar {
  display: block;
  width: 100%;
  background: var(--bar-gold);
  color: #241d0f;
  border: 0;
  border-radius: 10px;
  padding: 13px 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 3px;
  cursor: pointer;
  font-family: inherit;
  margin-top: 6px;
}

.panel-bar .book-success p { color: #b9b19b; }

.panel-bar .book-success .btn-ok { background: var(--bar-gold); color: #241d0f; }

/* ---------- booking variant: Hololi warm washi style ---------- */

.form-warm {
  background: #f6efe2;
  border-radius: 16px;
  padding: 22px 18px;
}

.form-warm .warm-head { text-align: center; margin-bottom: 18px; }

.form-warm .warm-head .wh-en {
  font-size: 19px;
  font-weight: 800;
  color: #34524b;
  letter-spacing: 3px;
}

.form-warm .warm-head .wh-cn {
  font-size: 13px;
  color: #7d958e;
  margin-top: 4px;
  letter-spacing: 4px;
}

.form-warm .field { margin-bottom: 13px; }

.form-warm .field-row {
  display: flex;
  gap: 10px;
}

.form-warm .field-row .field { flex: 0 1 160px; margin-bottom: 0; min-width: 0; }

.form-warm label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #34524b;
  margin-bottom: 5px;
}

.form-warm input,
.form-warm select,
.form-warm textarea {
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #e0d5c0;
  border-radius: 14px;
  padding: 11px 12px;
  font-size: 14px;
  line-height: 1.25;
  font-family: inherit;
  color: #2c2a26;
}

.form-warm input:focus,
.form-warm select:focus,
.form-warm textarea:focus {
  outline: 2px solid #34524b;
  outline-offset: -1px;
  border-color: #34524b;
}

.form-warm textarea { min-height: 80px; resize: vertical; }

.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: #fff;
  border: 1px solid #e0d5c0;
  border-radius: 14px;
  padding: 8px 14px;
}

.stepper .step-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid #34524b;
  background: #fff;
  color: #34524b;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.stepper .step-num {
  font-size: 20px;
  font-weight: 800;
  color: #34524b;
  min-width: 30px;
  text-align: center;
}

.stepper .step-unit { font-size: 12px; color: #9a927f; margin-left: -12px; }

/* nimo 酒红金表单的步进器：透底金边，融入酒红面板 */
.form-wine .stepper { background: rgba(201, 163, 106, .06); border-color: rgba(201, 163, 106, .45); }

.form-wine .stepper .step-btn { border-color: var(--gold); color: var(--gold); background: transparent; }

.form-wine .stepper .step-btn:hover { background: rgba(201, 163, 106, .15); }

.form-wine .stepper .step-num { color: var(--gold); }

.form-wine .stepper .step-unit { color: rgba(243, 232, 220, .5); }

/* gulu 暗金酒馆表单的步进器：深底金边 */
.form-bar .stepper { background: #2c382d; border-color: #47564a; }

.form-bar .stepper .step-btn { border-color: var(--bar-gold); color: var(--bar-gold); background: transparent; }

.form-bar .stepper .step-btn:hover { background: rgba(216, 180, 106, .12); }

.form-bar .stepper .step-num { color: var(--bar-gold); }

.form-bar .stepper .step-unit { color: #8f8875; }

.btn-warm {
  display: block;
  width: 100%;
  background: #34524b;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 13px 0;
  font-size: 15px;
  letter-spacing: 4px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  margin-top: 6px;
}

/* ---------- booking variant: Codo ticket style ---------- */

.panel-ticket { background: #dfe9f6; }

.panel-ticket .modal-close { background: #c7d6ea; color: #3f5a80; }

.form-ticket {
  border: 2px dashed #8ea3bf;
  border-radius: 14px;
  background: #fff;
  padding: 20px 16px;
}

.form-ticket .ticket-head {
  text-align: center;
  border-bottom: 2px dashed #b9c8de;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.form-ticket .ticket-head .th-en {
  font-size: 17px;
  font-weight: 800;
  color: #3e5d8a;
  letter-spacing: 1px;
}

.form-ticket .ticket-head .th-cn {
  font-size: 12px;
  color: #7d94b4;
  margin-top: 3px;
  letter-spacing: 3px;
}

.form-ticket .field { margin-bottom: 13px; }

.form-ticket .field-row {
  display: flex;
  gap: 10px;
}

.form-ticket .field-row .field { flex: 0 1 160px; margin-bottom: 0; min-width: 0; }

/* 窄屏兜底：仅限 hololi（form-warm）/ codo（form-ticket），它们表单多一层内边距，
   160px 两框会挤出面板；窄屏改为两框均分撑满整行。
   nimo / gulu / 首页保持原有 160px 并排布局不受影响 */
@media (max-width: 430px) {
  .form-warm .field-row,
  .form-ticket .field-row { flex-wrap: wrap; }

  .form-warm .field-row .field,
  .form-ticket .field-row .field { flex: 1 1 42%; min-width: 0; }
}

.form-ticket label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #3e5d8a;
  margin-bottom: 5px;
  letter-spacing: 1px;
}

.form-ticket input,
.form-ticket select,
.form-ticket textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #b9c8de;
  border-radius: 9px;
  padding: 11px 12px;
  font-size: 14px;
  line-height: 1.25;
  font-family: inherit;
  color: #26313f;
  background: #fff;
}

.form-ticket input:focus,
.form-ticket select:focus,
.form-ticket textarea:focus {
  outline: 2px solid #5f7ea8;
  outline-offset: -1px;
  border-color: #5f7ea8;
}

.form-ticket textarea { min-height: 80px; resize: vertical; }

.form-ticket .chips .chip {
  border-color: #b9c8de;
  background: #f3f7fc;
  color: #46628c;
}

.form-ticket .chips .chip small { color: #8ea3bf; }

.form-ticket .chips .chip-input:checked + .chip {
  background: #5f7ea8;
  border-color: #5f7ea8;
  color: #fff;
}

.form-ticket .chip-input:checked + .chip small { color: #dbe6f4; }

.btn-ticket {
  display: block;
  width: 100%;
  background: #5f7ea8;
  color: #fff;
  border: 0;
  border-radius: 9px;
  padding: 13px 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 2px;
  cursor: pointer;
  font-family: inherit;
  margin-top: 6px;
}

/* toast */

.toast {
  position: fixed;
  left: 50%;
  bottom: 88px;
  transform: translateX(-50%) translateY(8px);
  background: rgba(30, 28, 26, .95);
  color: #fff;
  padding: 11px 20px;
  border-radius: 22px;
  font-size: 13.5px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  z-index: 80;
  white-space: nowrap;
}

.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* 必填项未填：提交时红框高亮提示 */

input.field-error, select.field-error, textarea.field-error {
  border-color: #e0483f !important;
  box-shadow: 0 0 0 2px rgba(224, 72, 63, .35) !important;
}

.field.field-error .chip {
  box-shadow: 0 0 0 2px rgba(224, 72, 63, .5);
}

/* ---------- 半小时滚轮时间选择器 ----------
   时间字段只读，点击弹出滚轮，分钟列只有 00 / 30 两个选项 */

.book-form input[type="time"] { cursor: pointer; }

.timepicker-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  display: none;
  align-items: flex-end;
  justify-content: center;
  z-index: 90;
}

.timepicker-mask.open { display: flex; animation: modalFade .25s ease; }

.tp-panel {
  background: #fff;
  width: 100%;
  max-width: var(--maxw);
  border-radius: 16px 16px 0 0;
  padding: 14px 22px 26px;
  animation: panelSlideUp .3s cubic-bezier(.22, .9, .36, 1);
}

.tp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.tp-cur {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
}

.tp-ok {
  border: 0;
  background: #181818;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  padding: 8px 22px;
  border-radius: 999px;
  cursor: pointer;
}

.tp-cols {
  display: flex;
  gap: 14px;
  justify-content: center;
  position: relative;
}

/* 中间选中行的高亮框（5 行可见，中间一行被选中） */
.tp-cols::before {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  top: 80px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 0, 0, .06);
  pointer-events: none;
}

.tp-col {
  width: 96px;
  height: 200px;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  padding: 80px 0;
  text-align: center;
}

.tp-col::-webkit-scrollbar { display: none; }

.tp-item {
  height: 40px;
  line-height: 40px;
  font-size: 17px;
  color: #9a9a9a;
  scroll-snap-align: center;
  user-select: none;
}

/* 深色面板（nimo 酒红金等）下的选择器同样用白底，保证可读 */
