:root {
  --bg: #050308;
  --bg-alt: #111018;
  --fg: #f5f3f7;
  --muted: #c3bccf;
  --accent: #ff4a9b;
  --accent-soft: rgba(255, 74, 155, 0.15);
  --border: #262336;
  --radius: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.5);
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  background: radial-gradient(circle at top left, #1a0b22 0, var(--bg) 40%, #050308 100%);
  color: var(--fg);
}

body {
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout */

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  padding: 4rem 0;
  background: radial-gradient(circle at top right, #25122f 0, var(--bg-alt) 40%, #0a070f 100%);
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.section p {
  color: var(--muted);
  line-height: 1.5;
}

.section-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .section-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 3, 8, 0.95);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0;
}

.logo a {
  display: inline-flex;
  align-items: center;
}

/* Constrain logo size and ensure header layout doesn't wrap */
.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  max-width: 240px;
}

.logo img.logo-image {
  height: 80px;
  max-height: 80px;
  width: auto;
  display: block;
  object-fit: contain;
}

.logo-text {
  margin-left: 0.9rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  white-space: nowrap;
  align-self: center;
}

/* Let the nav take remaining header space so items align right */
.main-nav {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

@media (max-width: 480px) {
  .logo img.logo-image {
    height: 72px;
    max-height: 72px;
  }
  .logo-text {
    display: none;
  }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: var(--fg);
  font-size: 1.2rem;
  cursor: pointer;
}

/* Persistent cart (Vinoshipper can render into .vs-cart) */
.site-cart {
  margin-left: 0.75rem;
  display: inline-flex;
  align-items: center;
}
.site-cart .cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.03);
  color: var(--fg);
  font-size: 0.9rem;
}
.site-cart .cart-count {
  background: var(--accent);
  color: #050308;
  border-radius: 999px;
  padding: 0 0.5rem;
  font-weight: 600;
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0.75rem 0 0.25rem;
  position: absolute;
  right: 0;
  top: 120%;
  min-width: 210px;
  border-radius: var(--radius);
  background: rgba(9, 7, 14, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-soft);
  display: none;
}

.nav-menu li {
  margin: 0;
}

.nav-menu a {
  display: block;
  padding: 0.55rem 1rem;
  color: var(--fg);
  font-size: 0.9rem;
}

.nav-menu a:hover {
  background: rgba(255, 255, 255, 0.04);
}

.nav-menu.open {
  display: block;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
  .nav-menu {
    display: flex !important;
    position: static;
    flex-direction: row;
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0;
  }
  .nav-menu a {
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
  }
  .nav-menu a:hover {
    background: rgba(255, 255, 255, 0.08);
  }
}

/* Hero */

.hero {
  padding: 4rem 0 3.5rem;
}

.hero-inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 0.7rem;
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin: 0 0 0.75rem;
}

.hero-subtitle {
  color: var(--muted);
  max-width: 32rem;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), #ff6fb4);
  color: #050308;
  box-shadow: var(--shadow-soft);
}

.btn.primary:hover {
  filter: brightness(1.08);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--fg);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--fg);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.07);
}

.link-inline {
  font-size: 0.9rem;
}

/* Hero card */

.hero-side {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  background: linear-gradient(145deg, rgba(255, 74, 155, 0.18), rgba(7, 5, 12, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-soft);
  max-width: 320px;
}

.hero-card h2 {
  font-size: 1.1rem;
  margin-top: 0;
}

.hero-card ul {
  padding-left: 1.1rem;
  margin: 0.6rem 0 0.7rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Hours */

.hours-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
}

.hours-list span:first-child {
  color: var(--fg);
}

.hours-list span:last-child {
  color: var(--muted);
}

.note {
  margin-top: 0.75rem;
  font-size: 0.85rem;
}

/* Cards, perks */

.card {
  border-radius: var(--radius);
  padding: 1.5rem;
  background: rgba(5, 3, 8, 0.9);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.card h3 {
  margin-top: 0;
}

.perk-list {
  margin: 0.8rem 0 0.8rem;
  padding-left: 1.2rem;
  color: var(--muted);
}

/* Social */

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.social-links a {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(10, 7, 15, 0.9);
  color: var(--fg);
  font-size: 0.9rem;
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Contact form */

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

label {
  font-size: 0.85rem;
  color: var(--muted);
}

input,
textarea {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(5, 3, 8, 0.9);
  padding: 0.55rem 0.75rem;
  color: var(--fg);
  font-size: 0.9rem;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(255, 74, 155, 0.6);
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Inline form status messages */
.form-status {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  min-height: 1.2em;
  color: var(--fg);
}
.form-status.success {
  color: #0a924d;
}
.form-status.error {
  color: #ff6b6b;
}

/* Consent checkbox styling */
.consent-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

.consent-label input[type="checkbox"] {
  margin: 0;
  width: auto;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #050308;
  padding: 1.1rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-hours {
  opacity: 0.9;
}

/* Footer blocks for shop/club (appear only on those pages) */
.footer-extra {
  margin-top: 0.6rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-extra .block {
  background: rgba(255,255,255,0.02);
  padding: 0.5rem 0.9rem;
  border-radius: 10px;
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* Age gate */

.age-gate {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, rgba(255, 74, 155, 0.12), rgba(0, 0, 0, 0.92));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.age-gate-inner {
  max-width: 420px;
  margin: 0 1.5rem;
  background: rgba(10, 7, 16, 0.96);
  border-radius: 22px;
  padding: 1.7rem 1.5rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.age-gate-inner h2 {
  margin-top: 0;
}

.age-gate-inner p {
  color: var(--muted);
  font-size: 0.92rem;
}

.age-gate-buttons {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin: 1rem 0 0.4rem;
}

.age-gate-note {
  margin-top: 0.4rem;
  font-size: 0.8rem;
}

.age-gate.hidden {
  display: none;
}

/* Vinoshipper embeds spacing */

.vs-products,
.vs-club-registration {
  margin-top: 1rem;
}