:root {
  --cream: #fff8f1;
  --ink: #2f2540;
  --ink-soft: #5a4d6b;
  --pink: #ff6f91;
  --pink-soft: #ffe1ea;
  --mint: #2fb58f;
  --mint-soft: #dcf6ee;
  --lav: #8a6ee0;
  --lav-soft: #ece5ff;
  --butter: #ffd86b;
  --butter-soft: #fff3cc;
  --peach-soft: #ffe7d6;
  --radius: 24px;
  --shadow: 0 10px 30px rgba(73, 45, 110, .12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, var(--pink-soft) 0, transparent 40%),
    radial-gradient(circle at 100% 30%, var(--mint-soft) 0, transparent 35%),
    var(--cream);
  padding-bottom: 72px;
  word-break: keep-all;
}

a { color: inherit; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: rgba(255, 248, 241, .92);
  backdrop-filter: blur(8px);
  border-bottom: 2px dashed #f4cbd8;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  font-size: 22px;
}
.brand small { font-weight: 500; font-size: 15px; color: var(--ink-soft); }
.brand-dot {
  width: 26px; height: 26px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #6b5580 0 30%, var(--ink) 31%);
  box-shadow: 10px 6px 0 -4px var(--pink), -4px 10px 0 -6px var(--mint);
}
.topbar-call {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  gap: 8px;
  padding: 28px 20px 12px;
  max-width: 1120px;
  margin: 0 auto;
}
.eyebrow {
  display: inline-block;
  margin: 0 0 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--lav-soft);
  color: var(--lav);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .02em;
}
.hero h1 {
  margin: 0;
  font-size: 52px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -.02em;
}
.hero h1 span { color: var(--pink); }
.hero-en { margin: 6px 0 0; font-size: 20px; font-weight: 700; color: var(--mint); }
.lead { margin: 12px 0 6px; font-size: 19px; color: var(--ink-soft); }
.rating { margin: 0 0 14px; font-weight: 700; }

.cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn {
  min-height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 18px;
  font-weight: 900;
  font-size: 19px;
  text-decoration: none;
  line-height: 1.2;
  box-shadow: 0 4px 0 rgba(47, 37, 64, .18);
  transition: transform .15s ease;
}
.btn:active { transform: translateY(2px); }
.btn small { font-weight: 500; font-size: 13px; opacity: .9; }
.btn-call { background: var(--pink); color: #fff; grid-column: 1 / -1; font-size: 22px; }
.btn-map { background: var(--mint); color: #fff; }
.btn-menu { background: var(--butter); color: var(--ink); }
.btn.wide { width: 100%; margin-top: 14px; flex-direction: row; gap: 6px; }

.today-status {
  margin: 14px 0 0;
  font-weight: 700;
  color: var(--ink-soft);
}
.today-status.open::before,
.today-status.closed::before {
  content: "";
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  margin-right: 8px;
  background: var(--mint);
  box-shadow: 0 0 0 4px var(--mint-soft);
}
.today-status.closed::before { background: #c0392b; box-shadow: 0 0 0 4px #f8d7d3; }

.hero-art {
  position: relative;
  height: 250px;
  margin-top: 10px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--lav-soft), var(--pink-soft) 55%, var(--butter-soft));
  overflow: hidden;
}
.art { position: absolute; bottom: 8px; width: 120px; height: 160px; }
.art-1 { left: 8%; transform: rotate(-8deg); }
.art-2 { left: 38%; width: 140px; height: 186px; bottom: 4px; }
.art-3 { right: 6%; transform: rotate(6deg); }
.bubble { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .6); }
.b1 { width: 60px; height: 60px; top: 20px; left: 20px; }
.b2 { width: 28px; height: 28px; top: 40px; right: 60px; }
.b3 { width: 90px; height: 90px; top: -20px; right: -20px; background: rgba(255, 216, 107, .5); }

/* ---------- Sections ---------- */
.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 20px 8px;
}
.section h2 {
  margin: 0 0 4px;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.25;
}
.section h2 span {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--pink);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.section-sub { margin: 4px 0 20px; color: var(--ink-soft); }

/* ---------- Signature gallery ---------- */
.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 16px;
  margin: 0 -4px;
}
.card {
  scroll-snap-align: start;
  border-radius: var(--radius);
  padding: 18px 18px 20px;
  box-shadow: var(--shadow);
  background: #fff;
}
.card-art {
  display: block;
  width: 100%;
  height: 170px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .65);
  padding: 10px;
}
.card h3 { margin: 14px 0 4px; font-size: 21px; line-height: 1.3; }
.card h3 span { display: block; font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.card p { margin: 0; font-size: 16px; color: var(--ink-soft); }
.tint-lav { background: var(--lav-soft); }
.tint-pink { background: var(--pink-soft); }
.tint-butter { background: var(--butter-soft); }
.tint-mint { background: var(--mint-soft); }
.tint-peach { background: var(--peach-soft); }

/* ---------- Menu ---------- */
.menu-grid { display: grid; gap: 14px; }
.menu-cat {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  border-top: 8px solid var(--pink);
}
.menu-cat:nth-child(2) { border-top-color: var(--mint); }
.menu-cat:nth-child(3) { border-top-color: var(--butter); }
.menu-cat:nth-child(4) { border-top-color: var(--lav); }
.menu-cat:nth-child(5) { border-top-color: #f2b45c; }
.menu-cat:nth-child(6) { border-top-color: #7fc8f8; }
.menu-cat h3 { margin: 0 0 8px; font-size: 21px; }
.menu-cat h3 small { display: block; font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.menu-cat .sub-h { margin-top: 18px; }
.ico { font-size: 22px; }
.menu-cat ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 14px;
}
.menu-cat li {
  padding: 9px 0;
  border-bottom: 1px dashed #eadff0;
  font-weight: 700;
}
.menu-cat li em {
  display: block;
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  color: var(--ink-soft);
}

/* ---------- Perks ---------- */
.perks { display: grid; gap: 12px; margin-top: 16px; }
.perk {
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 14px;
  align-items: start;
  background: #fff;
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.perk-ico {
  grid-row: span 2;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  font-size: 28px;
  border-radius: 50%;
  background: var(--pink-soft);
}
.perk:nth-child(2) .perk-ico { background: var(--butter-soft); }
.perk:nth-child(3) .perk-ico { background: var(--lav-soft); }
.perk:nth-child(4) .perk-ico { background: var(--mint-soft); }
.perk h3 { margin: 2px 0 2px; font-size: 20px; }
.perk p { margin: 0; color: var(--ink-soft); font-size: 16px; }

/* ---------- Hours ---------- */
.hours {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 6px;
  font-size: 17px;
}
.hours th, .hours td { padding: 12px 12px; background: #fff; }
.hours th { white-space: nowrap; }
.hours th { text-align: left; border-radius: 14px 0 0 14px; font-weight: 700; }
.hours th small { color: var(--ink-soft); font-weight: 400; font-size: 14px; }
.hours td { text-align: right; border-radius: 0 14px 14px 0; white-space: nowrap; }
.hours tr.today th, .hours tr.today td { background: var(--pink); color: #fff; }
.hours tr.today th small { color: #fff; }
.hours tr.today th::after {
  content: "오늘";
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff;
  color: var(--pink);
  font-size: 13px;
}
.note { color: var(--ink-soft); font-size: 15px; }

/* ---------- Location ---------- */
.addr { font-size: 20px; font-weight: 700; margin: 8px 0 14px; }
.map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 4px solid #fff;
  aspect-ratio: 4 / 3;
  background: var(--mint-soft);
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
  padding: 20px 10px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  text-decoration: none;
  min-height: 44px;
}
.contact-item span { font-size: 30px; }
.contact-item strong { font-size: 18px; }
.contact-item small { color: var(--ink-soft); }

/* ---------- Footer ---------- */
.footer {
  margin-top: 48px;
  padding: 32px 20px 40px;
  text-align: center;
  background: var(--ink);
  color: #f3eefb;
  font-size: 15px;
}
.footer p { margin: 4px 0; }
.footer-name { font-size: 20px; font-weight: 900; }
.credit a { color: var(--butter); font-weight: 700; }

/* ---------- Demo banner ---------- */
.demo-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 8px 14px;
  background: rgba(47, 37, 64, .94);
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
}
.demo-banner p { margin: 0; flex: 1; }
.demo-banner a { color: var(--butter); }
.demo-banner button {
  flex: none;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}
.demo-banner.hidden { display: none; }

/* ---------- Desktop ---------- */
@media (min-width: 760px) {
  .hero { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; padding-top: 56px; }
  .hero h1 { font-size: 76px; }
  .hero-art { height: 420px; margin-top: 0; }
  .art { width: 170px; height: 226px; bottom: 20px; }
  .art-2 { width: 200px; height: 266px; left: 34%; }
  .cta { grid-template-columns: repeat(3, 1fr); }
  .btn-call { grid-column: auto; font-size: 19px; }
  .gallery { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; }
  .menu-grid { grid-template-columns: repeat(3, 1fr); }
  .menu-cat ul { grid-template-columns: 1fr; }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .hours { max-width: 620px; font-size: 19px; }
  .map { aspect-ratio: 16 / 7; }
  .contact-grid { max-width: 620px; }
  .demo-banner { justify-content: center; font-size: 14px; }
  .demo-banner p { flex: none; }
}

/* ---------- Wegle 샘플 추가 ---------- */
.menu-cat li .p { float: right; margin-left: 8px; color: var(--pink); font-weight: 900; font-variant-numeric: tabular-nums; }
.menu-cat ul { grid-template-columns: 1fr; }
.sample-tag { font-size: 15px; font-weight: 500; color: var(--ink-soft); }
.demo-banner a { font-weight: 700; }
@media (min-width: 760px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .menu-grid { grid-template-columns: repeat(4, 1fr); }
}
