/* ============================================
   Shokudo — Alpine-Japanese Izakaya
   ============================================ */

/* ---------- Tailwind config extension via custom CSS vars ---------- */
:root {
  --paper: #F6F1E8;
  --paper-warm: #FAF5EC;
  --ink: #16140F;
  --ink-soft: #2A271F;
  --night: #0F1620;
  /* Japanese vermillion / 朱 — muted red, not bright orange */
  --persimmon: #B23A2A;
  --persimmon-deep: #8E2A1E;
  --persimmon-soft: #C95A48;
  --sake: #C9A961;
  --indigo: #2E4E6E;
  --moss: #6B8A5A;
  --alpine: #5A7A8C;
}

html, body { background: var(--paper); color: var(--ink); }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-feature-settings: 'ss01', 'cv11';
  scroll-behavior: smooth;
}

/* ---------- Tailwind colour shortcuts via inline classes ---------- */
.bg-paper { background-color: var(--paper); }
.bg-paper-warm { background-color: var(--paper-warm); }
.bg-ink { background-color: var(--ink); }
.bg-night { background-color: var(--night); }
.bg-persimmon { background-color: var(--persimmon); }
.bg-sake { background-color: var(--sake); }
.text-paper { color: var(--paper); }
.text-ink { color: var(--ink); }
.text-persimmon { color: var(--persimmon); }
.text-sake { color: var(--sake); }
.border-ink\/15 { border-color: rgba(22,20,15,0.15); }
.border-paper\/10 { border-color: rgba(246,241,232,0.10); }

/* ---------- Typography ---------- */
.font-serif { font-family: 'Fraunces', 'Iowan Old Style', Georgia, serif; font-feature-settings: 'ss01', 'ss03'; }
.font-jp, .jp { font-family: 'Noto Serif JP', 'Zen Kaku Gothic New', serif; }
.font-jp-sans { font-family: 'Zen Kaku Gothic New', sans-serif; }

/* ---------- Nav ---------- */
#nav { backdrop-filter: blur(0); }
#nav.scrolled {
  background: rgba(246, 241, 232, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(22,20,15,0.06);
}
#nav.scrolled .nav-link, #nav.scrolled a { color: var(--ink); }
#nav.scrolled .lang-btn { color: var(--ink); }

#nav .nav-link, #nav a { color: var(--paper); transition: color .3s ease; }
.nav-link { position: relative; opacity: 0.85; transition: opacity .3s ease; }
.nav-link:hover { opacity: 1; }
.nav-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.nav-link:hover::after { transform: scaleX(1); }

.lang-btn { color: var(--paper); opacity: 0.5; padding: 4px 6px; transition: opacity .25s ease; cursor: pointer; }
.lang-btn:hover { opacity: 0.9; }
.lang-active { opacity: 1; }

/* ---------- Buttons ---------- */
.btn-primary {
  background: var(--persimmon); color: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
  border-radius: 1px;
  position: relative; overflow: hidden;
}
.btn-primary:hover { background: var(--persimmon-deep); transform: translateY(-1px); box-shadow: 0 12px 30px -10px rgba(212,102,58,0.6); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  border: 1px solid rgba(246,241,232,0.4); color: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .25s ease, border-color .25s ease;
  border-radius: 1px;
}
.btn-ghost:hover { background: rgba(246,241,232,0.08); border-color: rgba(246,241,232,0.7); }

.btn-ink {
  background: var(--ink); color: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .25s ease, transform .25s ease;
  border-radius: 1px;
}
.btn-ink:hover { background: var(--ink-soft); transform: translateY(-1px); }

.btn-ghost-dark {
  border: 1px solid rgba(246,241,232,0.25); color: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .25s ease, border-color .25s ease;
  border-radius: 1px;
}
.btn-ghost-dark:hover { background: rgba(246,241,232,0.06); border-color: rgba(246,241,232,0.5); }

/* ---------- Hero ---------- */
.hero-gradient {
  background:
    radial-gradient(ellipse 70% 50% at 78% 32%, rgba(178,58,42,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 50% 40%, #1f2f3e 0%, #0F1620 60%, #070a10 100%);
}
.mountains { z-index: 1; }
.hero-disc {
  position: absolute;
  top: 16%; right: 10%;
  width: 320px; height: 320px;
  border-radius: 9999px;
  background: radial-gradient(circle at 35% 30%, rgba(178,58,42,0.92), rgba(178,58,42,0.18) 55%, transparent 78%);
  filter: blur(3px);
  opacity: 0.9;
  animation: discFloat 14s ease-in-out infinite;
  z-index: 2;
}
.sun-rings {
  position: absolute;
  top: 18%; right: 10%;
  width: 320px; height: 320px;
  pointer-events: none;
  z-index: 1;
}
.sun-rings svg { width: 100%; height: 100%; overflow: visible; }

/* Flying crane silhouette in the hero (above & left of the sun) */
.hero-crane.crane-mark {
  position: absolute;
  top: 14%;
  right: 28%;
  width: 56px; height: 48px;
  z-index: 3;
  opacity: 0.7;
  background-color: var(--paper);
  transform: rotate(-8deg);
  animation: craneFly 9s ease-in-out infinite;
}
@keyframes craneFly {
  0%, 100% { transform: rotate(-8deg) translate(0, 0); }
  50% { transform: rotate(-10deg) translate(-10px, -6px); }
}
@keyframes discFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.85; }
  50% { transform: translateY(-12px) scale(1.04); opacity: 1; }
}
/* Asanoha (hemp-leaf) pattern — subtle but visible */
.seigaiha-overlay {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='70' viewBox='0 0 80 70'><g fill='none' stroke='%23ffffff' stroke-width='0.6' opacity='0.85'><path d='M40 0 L80 17.5 L80 52.5 L40 70 L0 52.5 L0 17.5 Z'/><path d='M40 0 L40 70'/><path d='M0 17.5 L80 52.5'/><path d='M0 52.5 L80 17.5'/></g></svg>");
  background-size: 80px 70px;
}

.scroll-cue { animation: scrollPulse 2.5s ease-in-out infinite; }
@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(4px); }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(0.16, 1, 0.3, 1), transform .9s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Signature dishes ---------- */
.dish-card {
  background: rgba(246,241,232,0.04);
  border: 1px solid rgba(246,241,232,0.08);
  position: relative; overflow: hidden;
  transition: transform .5s cubic-bezier(0.16, 1, 0.3, 1), border-color .4s ease;
}
.dish-card:hover { transform: translateY(-6px); border-color: rgba(212,102,58,0.5); }
.dish-img {
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  background-color: #1f2933;
  transition: transform .8s cubic-bezier(0.16, 1, 0.3, 1);
  filter: saturate(1.05);
}
.dish-card:hover .dish-img { transform: scale(1.06); }
.dish-meta { padding: 22px 22px 28px; }
.dish-jp { font-size: 13px; opacity: 0.55; letter-spacing: 0.15em; margin-bottom: 8px; }
.dish-name { font-family: 'Fraunces', serif; font-size: 26px; font-weight: 300; letter-spacing: -0.01em; line-height: 1.1; }
.dish-desc { margin-top: 12px; font-size: 14px; line-height: 1.6; color: rgba(246,241,232,0.65); }

/* ---------- Menu tabs ---------- */
.menu-tabs { background: rgba(22,20,15,0.05); padding: 4px; border-radius: 999px; }
.menu-tab {
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ink); opacity: 0.55;
  transition: opacity .25s ease, background .25s ease, color .25s ease;
  cursor: pointer;
}
.menu-tab:hover { opacity: 0.85; }
.menu-tab-active { background: var(--ink); color: var(--paper); opacity: 1; }
.menu-panel { animation: panelIn .5s cubic-bezier(0.16,1,0.3,1); }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.menu-group { }
.menu-group-title {
  display: flex; align-items: baseline; gap: 14px;
  font-family: 'Fraunces', serif; font-size: 28px; font-weight: 300;
  letter-spacing: -0.01em;
  border-bottom: 1px solid rgba(22,20,15,0.12);
  padding-bottom: 14px;
  margin-bottom: 16px;
}
.menu-group-title .font-jp { font-size: 18px; opacity: 0.55; letter-spacing: 0.06em; }
.menu-group-note { font-size: 13px; color: rgba(22,20,15,0.55); font-style: italic; margin-bottom: 18px; }
.menu-list { list-style: none; padding: 0; margin: 0; }
.menu-list li {
  display: flex; align-items: baseline; gap: 10px;
  padding: 9px 0;
  font-size: 16px;
  border-bottom: 1px dashed rgba(22,20,15,0.08);
}
.menu-list li:last-child { border-bottom: none; }
.menu-list .dots {
  flex: 1; min-width: 24px;
  border-bottom: 1px dotted rgba(22,20,15,0.25);
  transform: translateY(-4px);
}
.menu-list .price {
  font-family: 'Fraunces', serif;
  font-variant-numeric: tabular-nums;
  color: var(--persimmon);
  white-space: nowrap;
}

/* ---------- Logo polish ---------- */
/* ---------- Crane mark (reusable brand element) ---------- */
.crane-mark {
  display: inline-block;
  background-color: var(--persimmon);
  -webkit-mask-image: url('assets/shokudo-crane.png');
  mask-image: url('assets/shokudo-crane.png');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  flex-shrink: 0;
}
.crane-sm { width: 22px; height: 19px; }
.crane-md { width: 40px; height: 35px; }
.crane-lg { width: 64px; height: 55px; }
.crane-xl { width: 96px; height: 82px; }

/* Nav logo — solid silhouette via CSS mask, picks up website vermillion */
.logo-mark {
  width: 56px; height: 49px;  /* 40% bigger than original 40x35 */
  margin-right: 4px;
  display: inline-block;
  flex-shrink: 0;
  background-color: var(--persimmon);
  -webkit-mask-image: url('assets/shokudo-crane.png');
  mask-image: url('assets/shokudo-crane.png');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  transition: transform .6s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}
.logo:hover .logo-mark { transform: rotate(-4deg) scale(1.04); }

/* Crane seal — larger centered brand mark for footer / page-end signature */
.crane-seal {
  display: inline-block;
  width: 80px; height: 70px;
  background-color: var(--persimmon);
  opacity: 0.85;
  -webkit-mask-image: url('assets/shokudo-crane.png');
  mask-image: url('assets/shokudo-crane.png');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

/* Crane divider — between sections */
.crane-divider {
  display: flex; align-items: center; justify-content: center;
  gap: 24px;
  padding: 12px 24px;
  max-width: 360px;
  margin: 0 auto;
  opacity: 0.55;
}
.crane-divider::before,
.crane-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.35;
}
.crane-divider .crane-mark { background-color: var(--persimmon); opacity: 0.8; }

/* Paper-warm color variant for use on dark backgrounds */
.crane-paper { background-color: var(--paper) !important; }
.crane-ink { background-color: var(--ink) !important; }
.logo-text {
  letter-spacing: -0.015em;
  position: relative;
}
.logo-text::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--persimmon) 35%, var(--persimmon) 65%, transparent 100%);
  opacity: 0.55;
}
.logo-kanji {
  font-feature-settings: 'palt';
  letter-spacing: 0.05em;
}

/* ---------- Instagram grid ---------- */
.ig-section { padding: 96px 0; }
.ig-header {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  margin-bottom: 36px; gap: 20px;
}
.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
@media (max-width: 768px) { .ig-grid { grid-template-columns: repeat(2, 1fr); } }
.ig-tile {
  aspect-ratio: 1/1;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform .5s cubic-bezier(0.16,1,0.3,1);
}
.ig-tile::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(22,20,15,0.55) 100%);
  opacity: 0;
  transition: opacity .35s ease;
}
.ig-tile-img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .8s cubic-bezier(0.16,1,0.3,1); }
.ig-tile:hover .ig-tile-img { transform: scale(1.07); }
.ig-tile:hover::after { opacity: 1; }
.ig-tile-label {
  position: absolute; left: 14px; bottom: 12px;
  color: var(--paper);
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  opacity: 0; transform: translateY(6px);
  transition: opacity .35s ease, transform .35s ease;
  z-index: 2;
  display: flex; align-items: center; gap: 6px;
}
.ig-tile:hover .ig-tile-label { opacity: 1; transform: translateY(0); }
.ig-handle {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  background: var(--ink); color: var(--paper);
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  transition: background .25s ease;
  border-radius: 1px;
}
.ig-handle:hover { background: var(--persimmon); }
.ig-handle svg { width: 16px; height: 16px; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; }
.marquee-track {
  display: flex; align-items: center;
  white-space: nowrap;
  animation: marqueeScroll 38s linear infinite;
}
.marquee-dot { font-family: 'Fraunces', serif; font-size: 24px; opacity: 0.5; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Reservation widget ---------- */
.reservation-card {
  background: linear-gradient(180deg, rgba(246,241,232,0.04) 0%, rgba(246,241,232,0.02) 100%);
  border: 1px solid rgba(246,241,232,0.12);
  border-radius: 2px;
  padding: 36px 32px 32px;
  backdrop-filter: blur(8px);
}
@media (min-width: 768px) {
  .reservation-card { padding: 48px 56px 44px; }
}

.res-steps { display: flex; align-items: center; gap: 8px; margin-bottom: 36px; }
.res-step { display: flex; align-items: center; gap: 10px; opacity: 0.45; transition: opacity .35s ease; }
.res-step-active { opacity: 1; }
.res-step-num {
  width: 28px; height: 28px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(246,241,232,0.4);
  font-size: 13px; font-family: 'Fraunces', serif;
  transition: background .35s ease, color .35s ease, border-color .35s ease;
}
.res-step-active .res-step-num { background: var(--persimmon); color: var(--paper); border-color: var(--persimmon); }
.res-step-label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }
.res-step-line { flex: 1; height: 1px; background: rgba(246,241,232,0.18); }
@media (max-width: 700px) {
  .res-step-label { display: none; }
  .res-steps { gap: 4px; }
}

.res-section { margin-bottom: 28px; }
.res-label { display: block; font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(246,241,232,0.55); margin-bottom: 14px; }
.res-fineprint { font-size: 12px; color: rgba(246,241,232,0.45); margin-top: 10px; }

.party-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px;
}
@media (max-width: 600px) { .party-grid { grid-template-columns: repeat(4, 1fr); } }
.party-btn {
  padding: 14px 0;
  border: 1px solid rgba(246,241,232,0.18);
  background: transparent; color: var(--paper);
  font-family: 'Fraunces', serif; font-size: 18px; font-weight: 300;
  border-radius: 1px;
  transition: all .25s ease;
  cursor: pointer;
}
.party-btn:hover { border-color: rgba(246,241,232,0.4); }
.party-btn-active {
  background: var(--persimmon); border-color: var(--persimmon); color: var(--paper);
}

/* Calendar */
.calendar { background: rgba(0,0,0,0.15); border-radius: 2px; padding: 18px; }
.cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cal-month {
  font-family: 'Fraunces', serif; font-size: 22px; font-weight: 300;
  text-transform: capitalize;
}
.cal-nav {
  width: 36px; height: 36px; border-radius: 999px;
  border: 1px solid rgba(246,241,232,0.2);
  color: var(--paper); font-size: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .25s ease, border-color .25s ease;
  cursor: pointer;
}
.cal-nav:hover { background: rgba(246,241,232,0.08); border-color: rgba(246,241,232,0.5); }
.cal-dow {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(246,241,232,0.4);
  text-align: center; margin-bottom: 6px;
}
.cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px;
}
.cal-day {
  aspect-ratio: 1/1;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 2px;
  font-size: 14px; font-family: 'Fraunces', serif;
  border: 1px solid transparent;
  background: rgba(246,241,232,0.04);
  color: var(--paper);
  cursor: pointer;
  transition: all .2s ease;
}
.cal-day:hover { background: rgba(246,241,232,0.12); }
.cal-day.cal-day-empty { background: transparent; cursor: default; pointer-events: none; }
.cal-day.cal-day-closed { color: rgba(246,241,232,0.2); text-decoration: line-through; cursor: not-allowed; background: rgba(246,241,232,0.02); }
.cal-day.cal-day-closed:hover { background: rgba(246,241,232,0.02); }
.cal-day.cal-day-past { color: rgba(246,241,232,0.15); cursor: not-allowed; }
.cal-day.cal-day-past:hover { background: rgba(246,241,232,0.04); }
.cal-day.cal-day-selected {
  background: var(--persimmon); color: var(--paper); border-color: var(--persimmon);
}
.cal-day.cal-day-today { box-shadow: inset 0 0 0 1px rgba(212,102,58,0.5); }

.cal-legend {
  display: flex; gap: 18px; flex-wrap: wrap;
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid rgba(246,241,232,0.1);
  font-size: 11px; color: rgba(246,241,232,0.55); letter-spacing: 0.08em;
}
.cal-legend .dot { display: inline-block; width: 8px; height: 8px; border-radius: 999px; vertical-align: middle; margin-right: 6px; }
.dot-closed { background: rgba(246,241,232,0.15); }
.dot-open { background: rgba(246,241,232,0.5); }
.dot-selected { background: var(--persimmon); }

/* Service toggle */
.service-toggle { display: inline-flex; padding: 4px; background: rgba(0,0,0,0.2); border-radius: 999px; gap: 4px; }
.service-btn {
  padding: 10px 22px; border-radius: 999px;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(246,241,232,0.55); transition: all .25s ease; cursor: pointer;
}
.service-btn-active { background: var(--paper); color: var(--ink); }

/* Time grid */
.time-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px;
}
.time-btn {
  padding: 14px 12px;
  border: 1px solid rgba(246,241,232,0.18);
  background: transparent; color: var(--paper);
  font-family: 'Fraunces', serif; font-size: 16px;
  border-radius: 1px;
  transition: all .25s ease;
  cursor: pointer;
}
.time-btn:hover { border-color: rgba(246,241,232,0.45); }
.time-btn-active { background: var(--persimmon); border-color: var(--persimmon); color: var(--paper); }
.time-btn-soldout {
  color: rgba(246,241,232,0.25);
  text-decoration: line-through;
  cursor: not-allowed;
  background: rgba(246,241,232,0.02);
}
.time-btn-soldout:hover { border-color: rgba(246,241,232,0.18); }

/* Summary chips */
.res-summary {
  display: inline-flex; flex-wrap: wrap; gap: 12px; align-items: center;
  padding: 14px 18px;
  background: rgba(246,241,232,0.06);
  border-left: 2px solid var(--persimmon);
  font-size: 14px;
}
.res-summary-sep { opacity: 0.3; }
.res-summary strong { color: var(--paper); font-weight: 500; }

/* Inputs */
.res-input {
  width: 100%; padding: 14px 16px;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(246,241,232,0.15);
  color: var(--paper); font-size: 15px;
  border-radius: 1px;
  transition: border-color .25s ease, background .25s ease;
}
.res-input:focus { outline: none; border-color: var(--persimmon); background: rgba(0,0,0,0.3); }
.res-input::placeholder { color: rgba(246,241,232,0.35); }
.res-field-label { display: block; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(246,241,232,0.5); margin-bottom: 8px; }

.res-actions {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 12px; padding-top: 24px;
  border-top: 1px solid rgba(246,241,232,0.1);
  gap: 12px;
}

/* Confirmation */
.res-confirm { text-align: center; padding: 12px 0; }
.res-confirm-icon { display: inline-block; margin-bottom: 4px; }
.res-confirm-jp { font-size: 13px; letter-spacing: 0.3em; }
.res-receipt {
  margin: 28px auto 0; max-width: 480px;
  padding: 22px 24px;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(246,241,232,0.1);
  text-align: left;
}
.res-receipt-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(246,241,232,0.1);
  font-size: 14px;
}
.res-receipt-row:last-child { border-bottom: none; }
.res-receipt-row span { color: rgba(246,241,232,0.5); font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; }
.res-receipt-row strong { font-weight: 400; }

/* ---------- Visit / Map ---------- */
.hours-table { width: 100%; font-size: 15px; }
.hours-table td { padding: 8px 0; border-bottom: 1px dashed rgba(22,20,15,0.1); }
.hours-table td:first-child { color: rgba(22,20,15,0.6); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.hours-table tr:last-child td { border-bottom: none; }

.map-wrap {
  position: relative;
  height: 540px;
  background: #1f2933;
  border-radius: 2px;
  overflow: hidden;
}
.map-wrap { background: #EDE5D6; }
#map {
  filter: sepia(0.35) saturate(0.7) hue-rotate(-8deg) contrast(1.02);
}
#map .leaflet-tile-pane { mix-blend-mode: multiply; }
#map .leaflet-control-attribution {
  background: rgba(246, 241, 232, 0.85);
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  color: rgba(22, 20, 15, 0.55);
  padding: 2px 8px;
}
#map .leaflet-control-attribution a { color: rgba(178, 58, 42, 0.85); }
#map .leaflet-control-zoom {
  border: none !important;
  box-shadow: 0 2px 12px rgba(22, 20, 15, 0.12) !important;
}
#map .leaflet-control-zoom a {
  background: var(--paper) !important;
  color: var(--ink) !important;
  border: 1px solid rgba(22,20,15,0.08) !important;
  font-family: 'Fraunces', serif;
  font-weight: 300;
}
#map .leaflet-control-zoom a:hover {
  background: var(--persimmon) !important;
  color: var(--paper) !important;
}

/* Custom Shokudo pin */
.shokudo-pin {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.shokudo-pin::before {
  content: '';
  position: absolute;
  width: 56px; height: 56px;
  border-radius: 999px;
  background: var(--persimmon);
  opacity: 0.18;
  animation: pinPulse 2.4s ease-out infinite;
}
@keyframes pinPulse {
  0% { transform: scale(0.6); opacity: 0.35; }
  100% { transform: scale(1.5); opacity: 0; }
}
.shokudo-pin-inner {
  position: relative;
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--persimmon);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px -4px rgba(178, 58, 42, 0.6);
  border: 2px solid var(--paper);
}
.shokudo-pin-kanji {
  font-family: 'Noto Serif JP', serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--paper);
  line-height: 1;
}

.leaflet-popup-content-wrapper {
  background: var(--paper) !important;
  border-radius: 2px !important;
  box-shadow: 0 12px 32px -8px rgba(22, 20, 15, 0.25) !important;
}
.leaflet-popup-content {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--ink);
  margin: 14px 18px !important;
}
.leaflet-popup-content strong {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 16px;
  display: block;
  margin-bottom: 4px;
}
.leaflet-popup-tip { background: var(--paper) !important; }
.map-pin {
  position: absolute; bottom: 20px; left: 20px;
  background: var(--ink); color: var(--paper);
  padding: 10px 18px;
  font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase;
  transition: background .25s ease;
}
.map-pin:hover { background: var(--persimmon); }

/* ---------- Misc ---------- */
.hover-underline { position: relative; transition: color .25s ease; }
.hover-underline:hover { color: var(--persimmon); }

.jp-vertical {
  writing-mode: vertical-rl;
  text-orientation: upright;
  line-height: 1.6;
  display: inline-block;
}

/* Responsive nav for mobile */
@media (max-width: 768px) {
  #nav nav { display: none; }
}

/* Smooth section transitions */
section { will-change: transform; }

/* Selection */
::selection { background: var(--persimmon); color: var(--paper); }
