/* YUKGA site v2 design layer (2026-11-12)
   Loaded after the inline stylesheet. Scoped by section id so it wins without !important wars.
   Benchmarked: dwiz.kr C-1 sample structure (hero CTA, icon quick bar, price cards, floating contact).
   Brand kept: charcoal + gold, Noto Serif Thai headings, real store photos only. */
:root {
  --v2-bg: #0d0e11;
  --v2-card: #15161b;
  --v2-line: rgba(212, 163, 102, 0.22);
  --v2-gold: #d4a366;
  --v2-gold-2: #e6be85;
  --v2-ink: #f1ede8;
  --v2-sub: #cdc5b9;
  --v2-r: 14px;
  --v2-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
}

/* ---------- hero: full-bleed real photo + actions ---------- */
#hero.hero-story { max-width: none; padding: 0; background: var(--v2-bg); }
#hero .v2-hero {
  position: relative; isolation: isolate; display: flex; align-items: center;
  min-height: min(76vh, 700px);
  min-height: min(76dvh, 700px);
  background:
    linear-gradient(90deg, rgba(13, 14, 17, 0.97) 0%, rgba(13, 14, 17, 0.9) 36%, rgba(13, 14, 17, 0.42) 66%, rgba(13, 14, 17, 0.5) 100%),
    url('/assets/hero-meat-1600.webp') 72% 55% / cover no-repeat;
}
#hero .v2-hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 140px; z-index: -1;
  background: linear-gradient(rgba(13, 14, 17, 0), var(--v2-bg));
}
#hero .v2-hero-inner { width: 100%; max-width: 1240px; margin: 0 auto; padding: 64px 24px 128px; }
#hero .v2-hero .hero-intro { max-width: 660px; margin: 0; text-align: left; }
#hero .v2-hero .hero-title { font-size: clamp(38px, 4.1vw, 58px); line-height: 1.28; margin: 12px 0 18px; text-wrap: balance; }
#hero .v2-hero .hero-wait { max-width: 34em; color: #efe6d8; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.8; }
#hero .v2-hero .hero-wait a { color: var(--v2-gold-2) !important; text-underline-offset: 4px; }

.v2-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 22px; }
.v2-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px;
  border-radius: 999px; font-family: var(--font-body, sans-serif); font-size: 16px; font-weight: 700;
  text-decoration: none !important; transition: background-color .15s ease, border-color .15s ease;
}
/* skill checks (impeccable / hallmark / unslop / vercel guidelines): themed selection + scrollbar, no hover motion, 44px touch targets */
::selection { background: rgba(212, 163, 102, 0.38); color: #fff; }
html { scrollbar-color: #3a3328 var(--v2-bg); }
.v2-btn:focus-visible, .v2-quick a:focus-visible, .mobile-visit a:focus-visible, .v2-social a:focus-visible { outline: 2px solid var(--v2-gold-2); outline-offset: 3px; }
.v2-btn-gold { background: var(--v2-gold); color: #17120c !important; }
.v2-btn-gold:hover { background: var(--v2-gold-2); }
.v2-btn-line { border: 1.5px solid var(--v2-gold); color: var(--v2-gold-2) !important; }
.v2-btn-line:hover { background: rgba(212, 163, 102, 0.12); }
.v2-btn-ghost { border: 1.5px solid rgba(241, 237, 232, 0.38); color: var(--v2-ink) !important; }
.v2-btn-ghost:hover { border-color: var(--v2-ink); }

.v2-info { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0; padding: 0; color: var(--v2-sub); font-family: var(--font-body, sans-serif); font-size: 15px; }
.v2-info li { display: flex; align-items: center; gap: 8px; }
.v2-info svg { width: 18px; height: 18px; flex: none; color: var(--v2-gold); }
.v2-info a { color: inherit !important; text-decoration: none !important; }

/* ---------- quick links (icon bar) ---------- */
#hero .v2-quick { position: relative; z-index: 2; max-width: 1040px; margin: -60px auto 0; padding: 0 24px; }
.v2-quick-inner {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden;
  background: rgba(21, 22, 27, 0.97); border: 1px solid var(--v2-line); border-radius: var(--v2-r); box-shadow: var(--v2-shadow);
}
.v2-quick a {
  display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 80px; padding: 12px 14px;
  color: var(--v2-ink) !important; text-decoration: none !important; font-family: var(--font-body, sans-serif); font-size: 16px; font-weight: 600;
  transition: background-color .15s ease;
}
.v2-quick a + a { border-left: 1px solid var(--v2-line); }
/* body uses overflow-wrap:anywhere, which splits Thai words mid-syllable; let the browser's Thai word breaker decide */
.v2-quick span, .v2-btn, .mobile-visit span, .v2-info span { overflow-wrap: normal; word-break: normal; }
.v2-quick a:hover { background: rgba(212, 163, 102, 0.09); }
.v2-quick svg { width: 28px; height: 28px; flex: none; color: var(--v2-gold); }

/* ---------- story rows (below hero) ---------- */
#hero .hero-story-grid { max-width: 1240px; margin: 0 auto; padding: 96px 24px 104px; gap: 88px; }
#hero .hero-row { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 76px); align-items: center; }
#hero .hero-row:nth-of-type(2) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
#hero .hero-row:nth-of-type(2) .hero-story-photo { order: 2; }
#hero .hero-story-photo { border-radius: var(--v2-r); }
#hero .hero-row-copy .story-point-label { font-family: var(--font-serif); font-size: clamp(24px, 2.2vw, 32px); line-height: 1.4; color: var(--v2-gold-2); margin: 0 0 18px; }
#hero .hero-row-copy .story-point-text { color: var(--v2-sub); font-size: 17px; line-height: 1.95; max-width: 38em; }
#hero .hero-row-copy .story-point-text + .story-point-text { margin-top: 14px; }

/* ---------- buffet tiers: 4-up price comparison ---------- */
@media (min-width: 1100px) {
  #carousel .buffet-tiers-grid.four { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
  #carousel .buffet-tiers-grid.four .ticket {
    display: flex; flex-direction: column; min-height: 0; height: 100%;
    grid-template-columns: none; border-radius: var(--v2-r);
  }
  #carousel .buffet-tiers-grid.four .ticket-photo { order: -1; position: relative; width: 100%; height: auto; aspect-ratio: 3 / 2; margin: 0; padding: 0; border: 0; }
  #carousel .buffet-tiers-grid.four .ticket-photo img { position: static; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
  #carousel .buffet-tiers-grid.four .ticket-stub {
    flex-direction: row; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 10px;
    width: auto; padding: 16px 20px 14px; border-right: 0; border-bottom: 2px dotted rgba(166, 139, 101, 0.75);
  }
  #carousel .buffet-tiers-grid.four .ticket-copy { flex: 1; display: flex; flex-direction: column; padding: 18px 20px 20px; }
  #carousel .buffet-tiers-grid.four .tier-menu-link { margin-top: auto; }
}
@media (min-width: 700px) and (max-width: 1099px) {
  #carousel .buffet-tiers-grid.four { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  #carousel .buffet-tiers-grid.four .ticket { display: flex; flex-direction: column; grid-template-columns: none; min-height: 0; }
  #carousel .buffet-tiers-grid.four .ticket-photo { order: -1; width: 100%; aspect-ratio: 3 / 2; height: auto; margin: 0; }
  #carousel .buffet-tiers-grid.four .ticket-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
  #carousel .buffet-tiers-grid.four .ticket-stub { width: auto; border-right: 0; border-bottom: 2px dotted rgba(166, 139, 101, 0.75); }
  #carousel .buffet-tiers-grid.four .ticket-copy { flex: 1; }
}

/* ---------- floating contact rail (desktop) / bottom bar (mobile) ---------- */
@media (min-width: 1200px) {
  .mobile-visit {
    display: flex !important; visibility: visible !important; position: fixed; z-index: 900;
    top: 50%; right: 18px; bottom: auto; left: auto; inset-inline: auto 18px; transform: translateY(-50%);
    flex-direction: column; gap: 0; width: 86px; padding: 0;
    background: rgba(21, 22, 27, 0.97); border: 1px solid var(--v2-line); border-radius: 16px; box-shadow: var(--v2-shadow); overflow: hidden;
  }
  .mobile-visit a {
    flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px;
    background: transparent !important; color: var(--v2-ink) !important; border-radius: 0;
    font-family: var(--font-body, sans-serif); font-size: 12px; font-weight: 600; line-height: 1.3; text-align: center;
  }
  .mobile-visit a + a { border-top: 1px solid var(--v2-line); }
  .mobile-visit a:hover { background: rgba(212, 163, 102, 0.1) !important; }
  .mobile-visit svg { width: 22px; height: 22px; color: var(--v2-gold); }
}
@media (max-width: 1199px) {
  .mobile-visit .v2-rail-only { display: none !important; }
  .mobile-visit a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
  .mobile-visit svg { width: 18px; height: 18px; flex: none; }
}

/* ---------- footer: review / social links ---------- */
.v2-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; justify-content: flex-end; }
.v2-social a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 18px; border: 1px solid var(--v2-line); border-radius: 999px;
  color: var(--v2-sub) !important; font-family: var(--font-body, sans-serif); font-size: 14px; text-decoration: none !important;
}
.v2-social a:hover { color: var(--v2-gold-2) !important; border-color: var(--v2-gold); }
.v2-social svg { width: 14px; height: 14px; }

/* ---------- consent card: compact, dark, never covering the contact bar ---------- */
html body #yukga-consent {
  left: 16px; right: auto; max-width: 440px; margin: 0; padding: 16px 18px;
  background: #17181d; color: #ece6dc; border: 1px solid var(--v2-line); border-radius: 14px; box-shadow: var(--v2-shadow); font-size: 14px;
}
html body #yukga-consent button { background: transparent; color: #ece6dc; border: 1px solid rgba(236, 230, 220, 0.5); border-radius: 999px; padding: 8px 20px; }
html body #yukga-consent button:hover { border-color: var(--v2-gold-2); color: var(--v2-gold-2); }

/* ---------- tablet / mobile ---------- */
@media (max-width: 992px) {
  html body #yukga-consent { left: 12px; right: 12px; max-width: none; bottom: calc(80px + env(safe-area-inset-bottom)); }
}
@media (max-width: 800px) {
  #hero .v2-hero { display: block; min-height: 0; background: var(--v2-bg); }
  #hero .v2-hero::before { content: ""; display: block; aspect-ratio: 4 / 3; background: url('/assets/hero-meat-800.webp') center 60% / cover no-repeat; }
  #hero .v2-hero::after { display: none; }
  #hero .v2-hero-inner { padding: 26px 20px 28px; }
  #hero .v2-hero .hero-title { font-size: 31px; line-height: 1.4; margin: 10px 0 14px; }
  #hero .v2-hero .hero-wait { font-size: 17px; }
  .v2-cta { margin: 22px 0 16px; }
  .v2-cta .v2-btn { flex: 1 1 100%; }
  .v2-cta .v2-btn-line, .v2-cta .v2-btn-ghost { display: none; } /* maps + call already live in the fixed bottom bar */
  .v2-info { font-size: 14px; gap: 8px 16px; }
  #hero .v2-quick { margin: 0 auto; padding: 0 16px; }
  .v2-quick-inner { border-radius: 12px; }
  .v2-quick a { flex-direction: column; gap: 7px; min-height: 86px; padding: 12px 4px; font-size: 13px; line-height: 1.3; text-align: center; }
  .v2-quick svg { width: 24px; height: 24px; }
  #hero .hero-story-grid { padding: 52px 20px 60px; gap: 48px; }
  #hero .hero-row, #hero .hero-row:nth-of-type(2) { grid-template-columns: 1fr; }
  #hero .hero-row:nth-of-type(2) .hero-story-photo { order: 0; }
  #carousel .buffet-tiers-grid.four .ticket { display: flex; flex-direction: column; grid-template-columns: none; min-height: 0; }
  #carousel .buffet-tiers-grid.four .ticket-photo { order: -1; width: 100%; aspect-ratio: 3 / 2; height: auto; margin: 0; padding: 0; }
  #carousel .buffet-tiers-grid.four .ticket-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
  #carousel .buffet-tiers-grid.four .ticket-stub { width: auto; border-right: 0; border-bottom: 2px dotted rgba(166, 139, 101, 0.75); }
  .v2-social { justify-content: center; }
}
/* phones: 2x2 so long labels (e.g. Thai "group booking") stay on one line; Chromium splits that word wrongly */
@media (max-width: 520px) {
  .v2-quick-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-quick a { flex-direction: row; justify-content: flex-start; gap: 10px; min-height: 58px; padding: 10px 14px; font-size: 14px; text-align: left; }
  .v2-quick a:nth-child(3) { border-left: 0; }
  .v2-quick a:nth-child(n + 3) { border-top: 1px solid var(--v2-line); }
  .v2-quick span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .v2-quick svg { width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .v2-btn, .v2-quick a { transition: none; }
}

/* ---------- v2b (2026-11-12): promo, cupbap / group cards, visit info in the same charcoal + gold system ---------- */
#promo .promo-card { background: var(--v2-card); border: 1px solid var(--v2-line); border-radius: var(--v2-r); overflow: hidden; box-shadow: var(--v2-shadow); color: var(--v2-sub); }
#promo .lunch-art { background: #1b1a17; }
#promo .lunch-art-copy { background: #1d1b17; color: var(--v2-sub); border-top: 1px solid var(--v2-line); }
#promo .lunch-art-copy .lunch-tier { color: var(--v2-gold-2); }
#promo .lunch-art-copy strong { color: var(--v2-gold); }
#promo .lunch-art-copy .lunch-save { color: var(--v2-gold-2); }
#promo .lunch-art-copy [data-i18n="lunch_time"] { color: #b3ada4; opacity: 1; }
#promo .promo-card-title { color: var(--v2-ink); }
#promo .promo-description { color: var(--v2-sub); }
#promo .promo-card-cond { color: #a9a49c; border-top-color: var(--v2-line); }

#features .feature-block { background: var(--v2-card); border: 1px solid var(--v2-line); border-radius: var(--v2-r); overflow: hidden; }
#features .feature-overlay { background: transparent; }
#features .feature-title { color: var(--v2-ink); }
#features .feature-desc { color: var(--v2-sub); }
#features .cup-price { color: var(--v2-gold); }
#features .new-menu-label { color: var(--v2-gold-2); }
#features .btn-feature {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 26px;
  background: transparent; border: 1.5px solid var(--v2-gold); border-radius: 999px; color: var(--v2-gold-2); font-weight: 700;
  transition: background-color .15s ease;
}
#features .btn-feature:hover { background: rgba(212, 163, 102, 0.12); }
#features .btn-feature.btn-tel { flex-direction: column; gap: 2px; border-radius: 14px; background: var(--v2-gold); color: #17120c; }
#features .btn-feature.btn-tel:hover { background: var(--v2-gold-2); }

#map .map-frame-wrap { border-radius: var(--v2-r); border-color: var(--v2-line); overflow: hidden; }
#map .map-info { color: var(--v2-sub); }
#visit-info { max-width: 980px; margin: 28px auto 0; background: var(--v2-card); border: 1px solid var(--v2-line); border-radius: var(--v2-r); }
#visit-info summary { padding: 18px 24px; font-family: var(--font-serif); font-size: 20px; color: var(--v2-gold-2); cursor: pointer; }
#visit-info .visit-info-body { padding: 0 24px 18px; }
#visit-info .visit-info-body h3 { margin: 0; font-family: var(--font-body, sans-serif); font-size: 16px; font-weight: 700; line-height: 1.6; color: var(--v2-gold-2); }
#visit-info .visit-info-body p { margin: 4px 0 0; color: var(--v2-sub); font-size: 16px; line-height: 1.75; }
#visit-info .visit-info-body h3 ~ h3 { margin-top: 16px; }
@media (min-width: 801px) {
  /* question | answer table, built from the existing h3 + p pairs */
  #visit-info .visit-info-body { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.5fr); column-gap: 28px; }
  #visit-info .visit-info-body h3, #visit-info .visit-info-body p { margin: 0; padding: 14px 0; border-top: 1px solid var(--v2-line); }
  #visit-info .visit-info-body h3 ~ h3 { margin-top: 0; }
  /* pin questions left / answers right: one question (price) has two answer paragraphs */
  #visit-info .visit-info-body h3 { grid-column: 1; }
  #visit-info .visit-info-body p { grid-column: 2; }
  #visit-info .visit-info-body p + p { border-top: 0; padding-top: 0; }
  #visit-info .visit-info-body > :nth-child(-n + 2) { border-top: 0; }
}

/* ---------- notices from the Google Sheet admin (assets/notices.js) ---------- */
.v2-notice-bar {
  position: absolute; left: 0; right: 0; z-index: 95; display: flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 8px 56px 8px 16px; background: rgba(21, 22, 27, 0.95); border-bottom: 1px solid var(--v2-line);
  color: var(--v2-ink); font-family: var(--font-body, sans-serif); font-size: 15px; line-height: 1.5; text-align: center;
}
.v2-notice-bar a { color: var(--v2-gold-2) !important; text-decoration: underline; text-underline-offset: 3px; }
.v2-notice-x {
  position: absolute; top: 50%; right: 6px; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: transparent; color: var(--v2-sub); font-size: 24px; line-height: 1; cursor: pointer;
}
.v2-notice-x:focus-visible { outline: 2px solid var(--v2-gold-2); outline-offset: 2px; }
.v2-notice-pop { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, 0.62); }
.v2-notice-card {
  position: relative; width: min(420px, 100%); max-height: calc(100dvh - 40px); overflow: auto;
  background: var(--v2-card); border: 1px solid var(--v2-line); border-radius: 16px; box-shadow: var(--v2-shadow); color: var(--v2-sub);
}
.v2-notice-card img { display: block; width: 100%; height: auto; }
.v2-notice-card .v2-notice-x { top: 8px; right: 8px; transform: none; background: rgba(13, 14, 17, 0.72); color: #fff; z-index: 1; }
.v2-notice-title { display: block; margin: 0; padding: 20px 56px 8px 20px; font-family: var(--font-serif); font-size: 22px; line-height: 1.4; color: var(--v2-ink) !important; text-decoration: none !important; }
.v2-notice-body { margin: 0; padding: 0 20px 22px; font-size: 16px; line-height: 1.75; white-space: pre-line; }
