/* =============================================================
   DrinKo Cafe — static archive site
   Palette and type pulled directly from the live Shopify theme's
   settings_data.json (accent_1 #ac2e37, accent_2 #3f5147, text
   #252525, background #ffffff, body font Quattrocento Sans,
   heading font: system sans-serif). Rounded 6px corners, thin
   10%-opacity borders, no shadows — matches the real theme's
   button/card settings exactly.
   ============================================================= */

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --ink: #252525;
  --ink-soft: #66696a;
  --maroon: #ac2e37;
  --maroon-dark: #8a2530;
  --sage: #3f5147;
  --sage-dark: #33413a;
  --outline-label: #505655;
  --border: rgba(37, 37, 37, 0.10);
  --border-strong: rgba(37, 37, 37, 0.35);
  --radius: 6px;
  --radius-pill: 40px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Quattrocento Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); }
h3 { font-size: 1.1rem; }

.eyebrow {
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--maroon);
}

p { margin: 0 0 1em; color: var(--ink-soft); }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--surface);
  color: var(--ink);
  padding: 10px 16px;
  z-index: 200;
  border: 1px solid var(--border-strong);
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--maroon);
  color: #fff;
  text-align: center;
  font-size: 0.82rem;
  padding: 9px 16px;
}

/* ---------- Header / Nav (two-tier: utility row, then centered nav) ---------- */
header.site-header {
  background: var(--bg);
  border-bottom: none;
}

.header-top {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 24px 12px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.header-icon-link {
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.header-icon-link svg { width: 20px; height: 20px; stroke: currentColor; fill: none; }

.header-top .brand-wrap { text-align: center; }

.header-top-right { display: flex; justify-content: flex-end; align-items: center; gap: 14px; }

.brand {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.01em;
  display: inline-block;
}
.brand-logo { width: 120px; height: auto; display: block; }

.nav-row {
  border-top: 1px solid var(--border);
  padding: 10px 24px;
}

nav.primary-nav {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

nav.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 0;
}

nav.primary-nav a {
  display: inline-block;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: color 0.15s ease, background 0.15s ease;
}

nav.primary-nav a:hover,
nav.primary-nav a:focus-visible {
  color: var(--maroon);
  background: rgba(172, 46, 55, 0.06);
}

nav.primary-nav a.active {
  color: var(--maroon);
  font-weight: 700;
}

.has-dropdown { position: relative; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 210px;
  padding: 6px;
  z-index: 50;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  display: block;
}
.dropdown a {
  color: var(--ink) !important;
  display: block;
  padding: 8px 10px !important;
  font-size: 0.88rem;
}
.dropdown a:hover { background: rgba(172, 46, 55, 0.06); color: var(--maroon) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 1.1rem;
  padding: 6px 10px;
  cursor: pointer;
}

.lang-switch { position: relative; font-size: 0.88rem; }
.lang-switch summary {
  list-style: none;
  cursor: pointer;
  color: var(--ink);
  text-decoration: underline;
  padding: 6px 4px;
  white-space: nowrap;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary::after { content: " \25BE"; font-size: 0.7em; text-decoration: none; display: inline-block; }
.lang-switch[open] summary::after { content: " \25B4"; }
.lang-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px;
  min-width: 120px;
  z-index: 60;
}
.lang-menu a, .lang-menu .current-lang { display: block; padding: 6px 10px; color: var(--ink); text-decoration: none; font-size: 0.88rem; }
.lang-menu a:hover { background: rgba(172, 46, 55, 0.06); color: var(--maroon); }
.lang-menu .current-lang { text-decoration: underline; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav-row { display: none; position: relative; }
  .nav-row.open { display: block; }
  nav.primary-nav ul { flex-direction: column; padding: 4px 0; gap: 0; width: 100%; }
  nav.primary-nav a { padding: 10px 12px; }
  .dropdown { position: static; display: block; border: none; box-shadow: none; background: transparent; padding-left: 12px; }
  .dropdown a { color: var(--ink) !important; }
  .has-dropdown:hover .dropdown { display: block; }
  .header-top { grid-template-columns: auto 1fr auto; }
}

/* ---------- Section divider (simple accent bar, replaces old mesh motif) ---------- */
.mesh-divider {
  height: 4px;
  background: var(--maroon);
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  padding: 56px 24px 40px;
  max-width: var(--max);
  margin: 0 auto;
}
.hero img { border-radius: var(--radius); border: 1px solid var(--border); }
.hero .btn { margin-top: 8px; }
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; padding-top: 32px; }
  .hero .hero-copy { order: 2; }
  .hero img { order: 1; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  padding: 12px 24px;
  border: 1px solid var(--outline-label);
  border-radius: var(--radius);
  color: var(--outline-label);
  background: transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--outline-label); color: #fff; }
.btn.solid {
  background: var(--maroon);
  color: #ffffff;
  border-color: var(--maroon);
}
.btn.solid:hover { background: var(--maroon-dark); border-color: var(--maroon-dark); }
.btn[disabled], .btn.disabled {
  border-color: var(--border);
  color: var(--ink-soft);
  opacity: 0.6;
  cursor: not-allowed;
}
.btn[disabled]:hover, .btn.disabled:hover { background: transparent; color: var(--ink-soft); }

/* ---------- Section ---------- */
.section { padding: 56px 24px; max-width: var(--max); margin: 0 auto; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 34px; }
.section-head--left { text-align: left; max-width: none; margin: 0 0 20px; }
.heading-lg { font-size: clamp(2rem, 4.2vw, 3.1rem); }

/* ---------- Product grid / cards ---------- */
.grid-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}
.grid-products--4col { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 700px) { .grid-products--4col { grid-template-columns: repeat(2, 1fr); gap: 16px; } }

.ticket-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  text-decoration: none;
  color: var(--ink);
  display: block;
  overflow: hidden;
  transition: border-color 0.15s ease;
}
.ticket-card:hover { border-color: var(--border-strong); }
.ticket-card .thumb { aspect-ratio: 1 / 1; overflow: hidden; background: #f5f5f5; }
.ticket-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.ticket-card .info { padding: 16px 18px 20px; }
.ticket-card h3 { font-size: 1rem; margin-bottom: 6px; font-weight: 400; }
.price-row { font-size: 0.92rem; }
.price-strike { text-decoration: line-through; color: var(--ink-soft); margin-right: 8px; }
.price-now { color: var(--maroon); font-weight: 700; }

.stamp {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--ink);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 4px 10px;
  border-radius: var(--radius);
  line-height: 1.2;
}

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 20px; }
.testimonial { background: #f4f4f4; border-radius: var(--radius); padding: 20px 22px; }
.testimonial h3 { font-size: 0.98rem; margin-bottom: 8px; }
.testimonial p { font-style: italic; margin: 0; }

/* ---------- Hero (real theme: centered H1 rich-text, then a separate image+text row) ---------- */
.hero-title {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 0;
  text-align: center;
}
.hero-row {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  align-items: start;
  gap: 40px;
  padding: 36px 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.hero-row img { border-radius: var(--radius); border: 1px solid var(--border); width: 100%; }
.hero-row .hero-copy h2 { margin-bottom: 0.4em; }
@media (max-width: 800px) {
  .hero-row { grid-template-columns: 1fr; }
}

/* ---------- Vendor label (homepage cards only, matches show_vendor: true) ---------- */
.vendor-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-bottom: 4px;
  display: block;
}

/* ---------- Slideshow (real theme: counter-style slider, not a static strip) ---------- */
.slideshow {
  position: relative;
  overflow: hidden;
}
.slideshow-track {
  display: flex;
  transition: transform 0.4s ease;
}
.slideshow-track img {
  width: 100%;
  flex: 0 0 100%;
  height: 420px;
  object-fit: cover;
}
.slideshow-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
}
.slideshow-nav.prev { left: 16px; }
.slideshow-nav.next { right: 16px; }
.slideshow-counter {
  position: absolute;
  bottom: 16px; left: 50%;
  transform: translateX(-50%);
  background: rgba(37,37,37,0.7);
  color: #fff;
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}
@media (max-width: 700px) { .slideshow-track img { height: 260px; } }

/* ---------- Content page (prose) ---------- */
.prose { max-width: 760px; margin: 0 auto; padding: 56px 24px; }
.prose h1 { margin-bottom: 0.3em; }
.prose .dateline { font-size: 0.8rem; color: var(--ink-soft); margin-bottom: 1.6em; display: block; }
.prose ul, .prose ol { color: var(--ink-soft); padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }
.prose img.feature { width: 100%; margin-bottom: 1.6em; border-radius: var(--radius); }

/* ---------- FAQ (static content, matches real site — not an accordion) ---------- */
.faq-static { margin-bottom: 28px; }
.faq-q-static {
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  margin-bottom: 10px;
}
.faq-a-static { color: var(--ink-soft); }
.faq-subhead { font-style: italic; text-decoration: underline; color: var(--ink); }

/* ---------- Product detail ---------- */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  padding: 48px 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.product-detail .gallery img { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 8px; }
.product-detail .vendor { font-size: 0.78rem; color: var(--sage); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.product-detail .price-row { font-size: 1.1rem; margin: 14px 0; }
.review {
  border-top: 1px solid var(--border);
  padding: 16px 0;
}
.review .who { font-size: 0.8rem; color: var(--maroon); font-weight: 700; margin-bottom: 4px; }
@media (max-width: 760px) { .product-detail { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 0.82rem; margin-bottom: 6px; color: var(--ink-soft); }
.form-field input, .form-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-top: 18px;
  background: #fafafa;
}

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 30px; }
.blog-card { text-decoration: none; color: var(--ink); display: block; }
.blog-card img { aspect-ratio: 16/10; object-fit: cover; margin-bottom: 12px; border-radius: var(--radius); border: 1px solid var(--border); }
.blog-card .dateline { font-size: 0.76rem; color: var(--maroon); font-weight: 700; display: block; margin-bottom: 4px; }

/* ---------- Video/feature section (real theme: color_scheme is blank = plain background) ---------- */
.feature-panel {
  background: var(--bg);
  color: var(--ink);
  padding: 50px 24px;
  text-align: center;
}
.feature-panel h1, .feature-panel h2 { color: var(--ink); }
.feature-panel p { color: var(--ink-soft); }
.feature-panel .video-embed {
  max-width: 560px;
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: block;
  margin: 0 auto;
  background: #000;
}

/* ---------- Newsletter + Footer (real theme: accent-1 maroon scheme, white text) ---------- */
.newsletter { text-align: center; color: #fff; }
.newsletter .eyebrow { color: #fff; }
.newsletter h1, .newsletter h2 { color: #fff; font-weight: 400; }
.newsletter p { color: rgba(255,255,255,0.85); }
.newsletter-form {
  position: relative;
  max-width: 420px;
  margin: 18px auto 0;
}
.newsletter-form input {
  width: 100%;
  padding: 13px 48px 13px 18px;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.7); }
.newsletter-submit {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.newsletter-submit:hover { color: rgba(255,255,255,0.75); }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--maroon);
  color: #fff;
  padding: 40px 24px 26px;
}
.footer-wrap {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 0.85rem;
}
.footer-wrap .eyebrow { color: #fff; }
.footer-wrap p { color: rgba(255,255,255,0.85); }
.footer-wrap a { text-decoration: none; color: #fff; }
.footer-wrap a:hover { color: rgba(255,255,255,0.75); }
.social-row { display: flex; gap: 14px; margin-top: 12px; flex-wrap: wrap; }
.social-row a { display: flex; align-items: center; justify-content: center; }
.social-row svg { width: 22px; height: 22px; fill: #fff; }
.foot-fine { text-align: center; font-size: 0.75rem; color: rgba(255,255,255,0.7); margin-top: 28px; }

/* ---------- Focus ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--maroon);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
