:root {
  --bg: #120f10;
  --surface: #1b1617;
  --surface-hi: #241d1f;
  --ink: #f5efe6;
  --muted: #b5a699;
  --gold: #c89b5e;
  --gold-hi: #dfba84;
  --burgundy: #8c2d3b;
  --line: #32282a;
  --radius: 12px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.68;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.cellar-wrap { width: min(1140px, calc(100% - 32px)); margin: 0 auto; }

/* Age & Responsible Drinking Bar */
.age-strip {
  background: #241216;
  color: #e6c6cb;
  font-size: 0.74rem;
  text-align: center;
  padding: 6px 12px;
  border-bottom: 1px solid #3f1d24;
}

/* Header */
.bar-header {
  background: rgba(18, 15, 16, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.bar-header-in {
  display: flex; justify-content: space-between; align-items: center; padding: 15px 0; gap: 16px;
}
.bar-brand { display: flex; flex-direction: column; }
.bar-brand strong { font-family: "Noto Serif KR", serif; font-size: 1.18rem; color: var(--gold-hi); letter-spacing: 0.02em; }
.bar-brand span { font-size: 0.7rem; color: var(--muted); letter-spacing: 0.16em; text-transform: uppercase; }
.bar-nav { display: flex; gap: 20px; font-size: 0.86rem; color: var(--muted); flex-wrap: wrap; }
.bar-nav a:hover { color: var(--gold-hi); }

/* Hero + Highball ABV Calculator */
.bar-hero {
  padding: 40px 0 36px;
  background: radial-gradient(circle at 80% 10%, rgba(140, 45, 59, 0.24), transparent 55%), var(--bg);
  border-bottom: 1px solid var(--line);
}
.bar-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 30px; align-items: center; }
.bar-kicker {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  color: var(--gold); border: 1px solid rgba(200,155,94,0.4); padding: 4px 10px; border-radius: 4px; margin-bottom: 12px;
}
.bar-hero h1 { font-family: "Noto Serif KR", serif; font-size: clamp(1.85rem, 3.2vw, 2.6rem); margin: 0 0 12px; line-height: 1.28; }
.bar-hero p { color: var(--muted); margin: 0 0 18px; font-size: 0.95rem; }
.abv-calc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
}
.abv-calc h2 { font-family: "Noto Serif KR", serif; font-size: 1.05rem; margin: 0 0 6px; color: var(--gold-hi); }
.abv-calc p { font-size: 0.8rem; margin: 0 0 12px; color: var(--muted); }
.abv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.abv-calc label { display: block; font-size: 0.74rem; color: var(--muted); margin-bottom: 4px; }
.abv-calc input, .abv-calc select {
  width: 100%; padding: 9px 10px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--bg); color: var(--ink); font-family: inherit; font-size: 0.88rem;
}
.abv-out {
  margin-top: 12px; padding: 11px 14px; border-radius: 8px; background: #261b1d;
  border: 1px solid #4a2d33; font-size: 0.88rem; color: var(--ink);
}
.abv-out strong { color: var(--gold-hi); font-size: 1.05rem; }

/* Filter & 3-Col Dark Tasting Cards */
.bar-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 24px 0 18px; }
.bar-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.bar-pill {
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  color: var(--muted); font-size: 0.84rem; cursor: pointer; font-family: inherit;
}
.bar-pill.active { background: var(--gold); color: #120f10; border-color: var(--gold); font-weight: 700; }
.bar-search {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); font-size: 0.86rem; min-width: 230px;
}
.bottle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-bottom: 48px; }
.bottle-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color 0.16s ease, transform 0.16s ease;
}
.bottle-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.bottle-card-thumb {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: 1px solid var(--line);
}
.bottle-card-body {
  padding: 16px 18px 18px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; flex: 1;
}
.b-tag { font-size: 0.72rem; font-weight: 700; color: var(--gold); letter-spacing: 0.04em; }
.bottle-card h3 { font-family: "Noto Serif KR", serif; font-size: 1.04rem; margin: 5px 0 6px; color: var(--ink); }
.bottle-card p { font-size: 0.84rem; color: var(--muted); margin: 0; }
.b-meta { display: flex; justify-content: space-between; font-size: 0.76rem; color: #cbb9a8; border-top: 1px solid var(--line); padding-top: 10px; }

/* Article Pages */
.cellar-article { max-width: 880px; margin: 28px auto 60px; }
.cellar-crumb { font-size: 0.8rem; color: var(--muted); margin-bottom: 14px; }
.cellar-crumb a { color: var(--gold); }
.cellar-panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 30px 34px;
}
.ftc-gold {
  font-size: 0.83rem; font-weight: 600; color: #f6e7d4; background: #261d17;
  border: 1px solid #6b5031; border-left: 4px solid var(--gold);
  border-radius: 8px; padding: 10px 14px; margin: 0 0 18px; line-height: 1.5;
}
.cellar-hero-img { width: 100%; max-height: 360px; object-fit: cover; border-radius: 10px; margin-bottom: 18px; border: 1px solid var(--line); }
.cellar-panel h1 { font-family: "Noto Serif KR", serif; margin: 6px 0 10px; font-size: clamp(1.5rem, 2.6vw, 2.05rem); line-height: 1.3; }
.cellar-panel h2 { font-family: "Noto Serif KR", serif; font-size: 1.16rem; color: var(--gold-hi); margin: 24px 0 10px; }
.spec-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 18px 0 22px; }
.spec-4 div { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 0.84rem; }
.spec-4 strong { display: block; font-size: 0.72rem; color: var(--gold); margin-bottom: 3px; }
.bar-tbl-wrap { overflow-x: auto; margin: 16px 0 22px; border: 1px solid var(--line); border-radius: 10px; }
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 480px; }
th { background: #261c1e; color: var(--gold-hi); text-align: left; padding: 11px 13px; border-bottom: 1px solid var(--line); }
td { padding: 10px 13px; border-bottom: 1px solid var(--line); color: var(--muted); }
td:first-child { font-weight: 700; color: var(--ink); }
tr:last-child td { border-bottom: none; }
.bar-cp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 12px; }
.bar-cp {
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
}
.bar-cp:hover { border-color: var(--gold); }
.bar-cp strong { font-size: 0.92rem; color: var(--ink); display: block; margin-bottom: 3px; }
.bar-cp span { font-size: 0.8rem; color: var(--muted); }
.bar-cp-btn {
  display: inline-block; width: fit-content; padding: 7px 14px; border-radius: 6px;
  background: var(--gold); color: #120f10; font-size: 0.8rem; font-weight: 700;
}
.bar-cp-btn:hover { background: var(--gold-hi); }
.bar-faq details { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; margin-bottom: 10px; background: var(--bg); }
.bar-faq summary { font-weight: 700; cursor: pointer; font-size: 0.92rem; color: var(--ink); }
.bar-faq p { margin: 8px 0 0; font-size: 0.86rem; color: var(--muted); }
.disclaimer-box {
  font-size: 0.8rem; color: var(--muted); background: #161213; border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 15px; margin-top: 22px; line-height: 1.55;
}
.sticky-cp-bar {
  position: fixed; left: 50%; bottom: 16px; transform: translate(-50%, 140%);
  width: min(680px, calc(100% - 24px)); background: #23191b; color: var(--ink);
  border: 1px solid var(--gold); border-radius: 12px; padding: 11px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.55); z-index: 60; transition: transform 0.25s ease;
}
.sticky-cp-bar.show { transform: translate(-50%, 0); }
.sticky-cp-text strong { display: block; font-size: 0.88rem; color: var(--gold-hi); }
.sticky-cp-text span { display: block; font-size: 0.72rem; color: var(--muted); }
.sticky-cp-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.sticky-cp-link {
  background: var(--gold); color: #120f10; padding: 7px 14px; border-radius: 6px;
  font-size: 0.8rem; font-weight: 700; white-space: nowrap;
}
.sticky-cp-close {
  background: transparent; border: 1px solid rgba(255,255,255,0.25); color: var(--muted);
  width: 28px; height: 28px; border-radius: 6px; cursor: pointer;
}

.bar-footer { border-top: 1px solid var(--line); padding: 28px 0 44px; color: var(--muted); font-size: 0.82rem; }
.bar-footer-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.bar-footer a { margin-right: 14px; color: #d6c8bc; }

@media (max-width: 860px) {
  .bar-hero-grid, .bottle-grid, .bar-cp-grid { grid-template-columns: 1fr; }
  .spec-4 { grid-template-columns: repeat(2, 1fr); }
  .abv-grid { grid-template-columns: 1fr; }
  .cellar-panel { padding: 20px 18px; }
}

/* Hub Card Thumbnails for Pairing / Serve / Guides */
.hub-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 7px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
}
