/* Drinks producer: Hollin Brew & Vine, an invented brewery with a small vineyard. Barley cream, deep bottle green and a hop gold accent with Georgia headings. Age check, the range, tastings and the club are the product. */

.dp-page {
  --dp-canvas: #f8f5ec;
  --dp-surface: #ffffff;
  --dp-band: #ece6d3;
  --dp-ink: #18261d;
  --dp-muted: #4f5a52;
  --dp-line: #dcd5c1;
  --dp-line-strong: #7d8478;
  --dp-accent: #1f4d33;
  --dp-accent-hover: #163a26;
  --dp-on-accent: #ffffff;
  --dp-tint: #e3ecdf;
  --dp-success: #2c6b3d;
  --dp-danger: #a3241b;
  --dp-focus: #1f4d33;
  --dp-gold: #8a6410;
  --dp-head: Georgia, "Times New Roman", serif;
  --dp-body: "Segoe UI", system-ui, sans-serif;
  --dp-r: 6px;

  background: var(--dp-canvas);
  color: var(--dp-ink);
  font-family: var(--dp-body);
  font-size: 1.0625rem;
  line-height: 1.55;
}

/* Dark mode, the default (PRD section 13.10): the barrel store: near black green with hop gold. Only this template's
   tokens change. */
@media screen {
  :root[data-theme="dark"] .dp-page {
    --dp-canvas: #101712;
    --dp-surface: #18221b;
    --dp-band: #141d17;
    --dp-ink: #eef0e6;
    --dp-muted: #b5bdb1;
    --dp-line: #2d3a31;
    --dp-line-strong: #7b887e;
    --dp-accent: #e3b84a;
    --dp-accent-hover: #f0cd73;
    --dp-on-accent: #1b1503;
    --dp-tint: #2c2a17;
    --dp-success: #8fd29b;
    --dp-danger: #ff8a80;
    --dp-focus: #e3b84a;
    --dp-gold: #e3b84a;
    color-scheme: dark;
  }
}

.dp-page [hidden] { display: none !important; }
:where(.dp-page) :is(p, h1, h2, h3, h4, ul, ol, dl, dd, fieldset, figure, blockquote) { margin: 0; }
:where(.dp-page) :is(ul, ol) { padding: 0; list-style: none; }
:where(.dp-page) fieldset { padding: 0; border: 0; min-width: 0; }
:where(.dp-page) a { color: var(--dp-accent); }
:where(.dp-page) :is(h1, h2, h3, h4) { color: inherit; }
.dp-page :focus-visible { outline: 3px solid var(--dp-focus); outline-offset: 2px; }
.dp-page :is(input[type="range"], input[type="checkbox"], input[type="radio"]) { accent-color: var(--dp-accent); }
html:has(.dp-page) { scroll-behavior: smooth; }
.dp-page section[id] { scroll-margin-top: 72px; }
.dp-wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

.dp-header { position: sticky; top: 0; z-index: 20; background: var(--dp-canvas); border-bottom: 1px solid var(--dp-line); }
.dp-header-in { display: flex; align-items: center; gap: 20px; min-height: 66px; }
.dp-logo { display: flex; align-items: center; gap: 10px; font: 700 1.2rem/1.1 var(--dp-head); color: var(--dp-ink) !important; text-decoration: none; }
.dp-logo-mark { width: 30px; height: 30px; flex: none; fill: var(--dp-tint); stroke: var(--dp-accent); stroke-width: 2; stroke-linejoin: round; }
.dp-nav { margin-left: auto; }
.dp-nav ul { display: flex; gap: 22px; }
.dp-nav a { color: var(--dp-ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.dp-nav a:hover { color: var(--dp-accent); text-decoration: underline; text-underline-offset: 4px; }
.dp-menu-btn { display: none; }
.dp-theme-btn {
  display: inline-flex; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--dp-line-strong); border-radius: var(--dp-r); background: transparent; color: inherit; font-size: 1.15rem; cursor: pointer;
}
.dp-theme-btn:hover { background: var(--dp-tint); }

.dp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px;
  border: 2px solid var(--dp-accent); border-radius: var(--dp-r); font: 700 1rem/1.2 var(--dp-head); text-decoration: none; cursor: pointer; text-align: center;
}
.dp-btn--fill { background: var(--dp-accent); color: var(--dp-on-accent) !important; }
.dp-btn--fill:hover { background: var(--dp-accent-hover); border-color: var(--dp-accent-hover); }
.dp-btn--line { background: transparent; color: var(--dp-accent) !important; }
.dp-btn--line:hover { background: var(--dp-tint); }
.dp-btn--big { min-height: 54px; padding: 0 26px; font-size: 1.05rem; }
.dp-btn:disabled { background: var(--dp-band); border-color: var(--dp-line-strong); color: var(--dp-muted) !important; cursor: not-allowed; }

.dp-eyebrow { font-weight: 700; color: var(--dp-accent); font-size: .92rem; letter-spacing: .02em; }
.dp-title { font: 700 clamp(1.7rem, 3.4vw, 2.4rem)/1.15 var(--dp-head); }
.dp-sub { color: var(--dp-muted); margin-top: 8px; max-width: 64ch; }
.dp-head { margin-bottom: 26px; }
.dp-sec { padding: 72px 0; }
.dp-band { background: var(--dp-band); }
.dp-muted { color: var(--dp-muted); }
.dp-small { font-size: .9rem; color: var(--dp-muted); }

.dp-hero { padding: 64px 0 56px; }
.dp-hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; }
.dp-hero-title { font: 700 clamp(2.2rem, 5vw, 3.5rem)/1.06 var(--dp-head); margin-top: 10px; }
.dp-lede { font-size: 1.15rem; color: var(--dp-muted); margin-top: 16px; max-width: 54ch; }
.dp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.dp-facts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; color: var(--dp-muted); font-size: .95rem; }
.dp-facts strong { color: var(--dp-ink); }
.dp-panel { padding: 24px; background: var(--dp-surface); border: 1px solid var(--dp-line); border-radius: calc(var(--dp-r) + 4px); box-shadow: 0 24px 40px -30px var(--color-shadow); }
.dp-panel-title { font: 700 1.1rem var(--dp-head); margin-bottom: 12px; }

.dp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 18px; }
.dp-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dp-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; background: var(--dp-surface); border: 1px solid var(--dp-line); border-radius: var(--dp-r); }
.dp-card h3 { font: 700 1.15rem/1.25 var(--dp-head); }
.dp-card p { color: var(--dp-muted); font-size: .96rem; }
.dp-card .dp-btn { margin-top: auto; align-self: flex-start; }
.dp-card.is-on { border: 2px solid var(--dp-accent); }
.dp-art { height: 120px; margin: -22px -22px 6px; border-radius: var(--dp-r) var(--dp-r) 0 0; background: var(--dp-tint); position: relative; overflow: hidden; }
.dp-art::after { content: ""; position: absolute; width: 90px; height: 90px; border-radius: 50%; right: 18%; top: 22%; background: var(--dp-canvas); opacity: .7; }
.dp-price { font: 700 1.5rem var(--dp-head); color: var(--dp-ink); }
.dp-badge { display: inline-block; align-self: flex-start; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--dp-line-strong); font-size: .82rem; font-weight: 600; color: var(--dp-ink); }
.dp-badge--on { background: var(--dp-tint); border-color: var(--dp-accent); }
.dp-badge--bad { border-color: var(--dp-danger); color: var(--dp-danger); }
.dp-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .9rem; color: var(--dp-muted); }

.dp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.dp-chip { min-height: 42px; padding: 0 16px; border: 1px solid var(--dp-line-strong); border-radius: 999px; background: var(--dp-surface); color: var(--dp-ink); font: 600 .95rem var(--dp-body); cursor: pointer; }
.dp-chip:hover { border-color: var(--dp-accent); }
.dp-chip[aria-pressed="true"] { background: var(--dp-accent); border-color: var(--dp-accent); color: var(--dp-on-accent); }
.dp-count { font-weight: 600; margin-bottom: 14px; }
.dp-empty { padding: 28px; text-align: center; border: 1px dashed var(--dp-line-strong); border-radius: var(--dp-r); }

.dp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 18px; counter-reset: st; }
.dp-steps li { padding: 22px; background: var(--dp-surface); border: 1px solid var(--dp-line); border-radius: var(--dp-r); counter-increment: st; }
.dp-steps li::before { content: counter(st); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 10px; border-radius: 50%; background: var(--dp-accent); color: var(--dp-on-accent); font-weight: 700; }
.dp-steps h3 { font: 700 1.1rem var(--dp-head); }
.dp-steps p { color: var(--dp-muted); font-size: .95rem; margin-top: 4px; }

.dp-table { width: 100%; border-collapse: collapse; background: var(--dp-surface); border: 1px solid var(--dp-line); border-radius: var(--dp-r); overflow: hidden; }
.dp-table th, .dp-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--dp-line); vertical-align: top; }
.dp-table th { font-size: .88rem; color: var(--dp-muted); background: var(--dp-band); }
.dp-table td.dp-num, .dp-table th.dp-num { text-align: right; font-variant-numeric: tabular-nums; }

.dp-meter { height: 10px; border-radius: 999px; background: var(--dp-line); overflow: hidden; }
.dp-meter span { display: block; height: 100%; background: var(--dp-accent); border-radius: inherit; }
.dp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 16px; }
.dp-stat strong { display: block; font: 700 2rem/1.1 var(--dp-head); }
.dp-stat span { color: var(--dp-muted); font-size: .92rem; }

.dp-faq-in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.dp-qs details { border-bottom: 1px solid var(--dp-line); }
.dp-qs summary { padding: 16px 0; font-weight: 700; cursor: pointer; }
.dp-qs p { padding: 0 0 16px; color: var(--dp-muted); }

.dp-form { max-width: 760px; margin-inline: auto; padding: 32px; background: var(--dp-surface); border: 1px solid var(--dp-line); border-radius: calc(var(--dp-r) + 4px); display: flex; flex-direction: column; gap: 18px; }
.dp-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.dp-field--full { grid-column: 1 / -1; }
.dp-field label, .dp-field legend { display: block; font-weight: 700; margin-bottom: 6px; }
.dp-field :is(input, select, textarea) { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--dp-line-strong); border-radius: calc(var(--dp-r) - 2px); background: var(--dp-canvas); color: var(--dp-ink); font: 1rem var(--dp-body); }
.dp-field textarea { min-height: 110px; resize: vertical; }
.dp-field :is(input, select, textarea)[aria-invalid="true"] { border: 2px solid var(--dp-danger); }
.dp-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.dp-check input { width: 20px; min-height: 20px; height: 20px; margin-top: 3px; accent-color: var(--dp-accent); }
.dp-hint { font-size: .88rem; color: var(--dp-muted); margin-top: 6px; }
.dp-error { color: var(--dp-danger); font-weight: 600; font-size: .92rem; margin-top: 6px; }
.dp-error::before { content: "! "; }
.dp-status { font-weight: 600; }
.dp-status.is-ok { padding: 14px 16px; border-radius: calc(var(--dp-r) - 2px); background: var(--dp-tint); border-left: 4px solid var(--dp-success); }

.dp-footer { padding: 28px 0; border-top: 1px solid var(--dp-line); color: var(--dp-muted); font-size: .92rem; }
.dp-footer-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .dp-header-in { flex-wrap: wrap; gap: 10px; }
  .dp-theme-btn { margin-left: auto; }
  .dp-menu-btn {
    display: inline-flex; align-items: center; order: 3; min-height: 44px; padding: 0 16px;
    border: 1px solid var(--dp-line-strong); border-radius: var(--dp-r); background: transparent; color: var(--dp-ink); font: 600 .95rem var(--dp-body); cursor: pointer;
  }
  .dp-nav { display: none; order: 5; width: 100%; margin: 0; }
  .dp-nav.is-open { display: block; padding-bottom: 12px; }
  .dp-nav ul { flex-direction: column; gap: 0; }
  .dp-nav a { display: block; padding: 12px 0; border-top: 1px solid var(--dp-line); }
  .dp-header-cta { display: none; }
  .dp-hero-in, .dp-faq-in, .dp-grid--2 { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

@media (max-width: 640px) {
  .dp-sec { padding: 52px 0; }
  .dp-fields { grid-template-columns: minmax(0, 1fr); }
  .dp-form { padding: 20px; }
  .dp-table thead { display: none; }
  .dp-table, .dp-table tbody, .dp-table tr, .dp-table td { display: block; width: 100%; }
  .dp-table tr { border-bottom: 1px solid var(--dp-line-strong); padding: 6px 0; }
  .dp-table td { border: 0; padding: 6px 14px; text-align: left !important; }
  .dp-table td[data-label]::before { content: attr(data-label) ": "; font-weight: 700; color: var(--dp-muted); }
}

@media (prefers-reduced-motion: reduce) {
  html:has(.dp-page) { scroll-behavior: auto; }
}

@media print {
  .dp-header, .dp-theme-btn, .dp-form { display: none; }
}

/* This template's own sections */
.dp-big { font: 700 1.3rem var(--dp-head); margin-bottom: 6px; }
.dp-panel .dp-btn { margin-top: 14px; }
.dp-gate { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: var(--dp-canvas); }
.dp-gate[hidden] { display: none; }
.dp-gate-box { max-width: 460px; text-align: center; padding: 32px 24px; border: 1px solid var(--dp-line); border-radius: var(--dp-r); background: var(--dp-surface); }
.dp-gate-box h2 { font: 700 1.8rem var(--dp-head); margin-bottom: 10px; }
.dp-gate-box .dp-actions { justify-content: center; margin-top: 20px; }
.dp-gate-msg { margin-top: 14px; font-weight: 600; }
.dp-drink { position: relative; padding: 20px; background: var(--dp-surface); border: 1px solid var(--dp-line); border-radius: var(--dp-r); display: flex; flex-direction: column; gap: 4px; }
.dp-drink h3 { font: 700 1.2rem var(--dp-head); padding-right: 64px; }
.dp-drink p { color: var(--dp-muted); }
.dp-drink .dp-style { color: var(--dp-gold); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.dp-drink .dp-price { color: var(--dp-ink); font-weight: 700; margin-top: auto; padding-top: 8px; }
.dp-abv { position: absolute; top: 16px; right: 16px; padding: 4px 8px; border: 2px solid var(--dp-gold); border-radius: 999px; font-weight: 700; font-size: .85rem; color: var(--dp-gold); }
.dp-tasting { display: grid; gap: 40px; align-items: start; }
.dp-legend { font-weight: 700; margin: 16px 0 8px; }
.dp-exps { display: flex; flex-direction: column; gap: 8px; }
.dp-exps label { position: relative; }
.dp-exps input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.dp-exps span { display: block; padding: 14px 16px; border: 1px solid var(--dp-line-strong); border-radius: var(--dp-r); background: var(--dp-surface); color: var(--dp-muted); }
.dp-exps b { display: block; color: var(--dp-ink); }
.dp-exps input:checked + span { border: 2px solid var(--dp-accent); background: var(--dp-tint); }
.dp-exps input:focus-visible + span { outline: 3px solid var(--dp-focus); outline-offset: 2px; }
.dp-book { display: flex; flex-direction: column; gap: 8px; }
.dp-book select { min-height: 44px; padding: 8px 10px; border: 1px solid var(--dp-line-strong); border-radius: var(--dp-r); background: var(--dp-canvas); color: var(--dp-ink); font: inherit; }
.dp-label { font-weight: 700; margin-top: 6px; }
.dp-stepper { display: flex; align-items: center; gap: 12px; }
.dp-stepper button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--dp-line-strong); background: var(--dp-canvas); color: var(--dp-ink); font: 700 1.2rem var(--dp-body); cursor: pointer; }
.dp-stepper button:disabled { border-style: dashed; color: var(--dp-muted); background: var(--dp-band); cursor: not-allowed; }
.dp-stepper output { min-width: 28px; text-align: center; font: 700 1.3rem var(--dp-head); }
.dp-hint { color: var(--dp-muted); font-size: .9rem; }
.dp-total { font: 700 1.5rem var(--dp-head); margin-top: 8px; }
.dp-plan { position: relative; }
.dp-plan--pick { border: 2px solid var(--dp-accent); }
.dp-price-big { font: 700 2rem var(--dp-head); margin: 6px 0 12px; }
.dp-price-big span { font: 400 1rem var(--dp-body); color: var(--dp-muted); }
.dp-ticks li { padding: 6px 0 6px 22px; position: relative; }
.dp-ticks li::before { content: "\2713"; position: absolute; left: 0; color: var(--dp-success); font-weight: 700; }
