:root {
  --bg: #f6efdf;
  --bg-accent: #efe4c5;
  --surface: rgba(255, 251, 242, 0.92);
  --surface-strong: #fffaf0;
  --surface-dark: #123824;
  --green-900: #123824;
  --green-700: #1d5a35;
  --green-500: #2f8b45;
  --gold: #f0c53a;
  --gold-soft: #fde8a6;
  --red: #c5322e;
  --text: #172117;
  --muted: #55614e;
  --shadow: 0 18px 50px rgba(18, 56, 36, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: min(1160px, calc(100vw - 32px));
  --heading-font: "Trebuchet MS", "Arial Black", "Segoe UI", sans-serif;
  --body-font: "Avenir Next", "Arial Narrow", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(240, 197, 58, 0.28), transparent 30%),
    radial-gradient(circle at top right, rgba(47, 139, 69, 0.22), transparent 38%),
    linear-gradient(180deg, #f5e6bf 0%, #f8f0df 18%, #f7f2e7 100%);
  font-family: var(--body-font);
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.topbar,
.site-header,
.section,
.site-footer {
  width: var(--container);
  margin: 0 auto;
}

.topbar {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 10px 0;
  color: #fdf8eb;
  font-size: 0.88rem;
}

.home-page::before,
.legal-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 28%),
    repeating-linear-gradient(
      120deg,
      rgba(18, 56, 36, 0.015) 0,
      rgba(18, 56, 36, 0.015) 2px,
      transparent 2px,
      transparent 22px
    );
  opacity: 0.8;
  z-index: -1;
}

.site-header {
  position: static;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(18, 56, 36, 0.85);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.brand img,
.footer-logo {
  width: clamp(120px, 18vw, 164px);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  color: #f8f2e4;
  font-size: 0.88rem;
}

.site-nav a {
  position: relative;
  padding-bottom: 4px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--gold);
  transition: transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(18, 56, 36, 0.18);
}

.button--primary {
  background: linear-gradient(135deg, var(--gold), #f8d96a);
  color: #183318;
}

.button--ghost {
  border: 1px solid rgba(18, 56, 36, 0.12);
  background: rgba(255, 255, 255, 0.62);
  color: var(--green-900);
}

.header-cta {
  white-space: nowrap;
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.86rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  justify-self: end;
  padding: 0;
  border: 0;
  background: transparent;
}

.nav-toggle span {
  width: 24px;
  height: 3px;
  border-radius: 999px;
  background: #fff8e8;
}

.hero {
  width: var(--container);
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.hero__content,
.hero__visual,
.feature-card,
.policy-card,
.category-card,
.contact-card,
.quote-form,
.faq-item,
.wholesale,
.legal-card,
.legal-hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero__content {
  padding: clamp(28px, 4vw, 44px);
  background:
    linear-gradient(140deg, rgba(18, 56, 36, 0.95), rgba(29, 90, 53, 0.9)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent);
  color: #fdf7e8;
  box-shadow: var(--shadow);
}

.hero__content::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -50px;
  top: -40px;
  border-radius: 50%;
  background: rgba(240, 197, 58, 0.12);
}

.hero__visual {
  display: grid;
  gap: 16px;
}

.hero__card {
  padding: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero__card--banner img {
  border-radius: 20px;
}

.hero__card--details {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero h1,
.section-heading h2,
.wholesale h2,
.contact-card h3,
.legal-hero h1,
.legal-card h2,
.feature-card h3,
.policy-card h3 {
  margin: 0;
  font-family: var(--heading-font);
  line-height: 1.05;
}

.hero h1 {
  max-width: 13ch;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  text-wrap: balance;
}

.hero__lead {
  max-width: 62ch;
  margin: 18px 0 24px;
  font-size: 1.06rem;
  color: rgba(253, 247, 232, 0.92);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--gold-soft);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 2px;
  background: currentColor;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero__highlights {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__highlights li,
.pill,
.badge {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
}

.pill {
  background: var(--bg-accent);
  color: var(--green-900);
}

.section {
  padding: 44px 0;
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading h2,
.wholesale h2 {
  max-width: 16ch;
  font-size: clamp(2rem, 4vw, 3.4rem);
  color: var(--green-900);
  text-wrap: balance;
}

.section-heading--split {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
}

.section-note,
.text-link,
.catalog-status,
.contact-card__note,
.footer-copy,
.legal-meta,
.legal-note {
  color: var(--muted);
}

.feature-grid,
.policy-grid,
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.policy-card,
.category-card {
  padding: 24px;
  border: 1px solid rgba(18, 56, 36, 0.08);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature-card p,
.policy-card p,
.category-card span {
  margin: 12px 0 0;
  color: var(--muted);
}

.section--contrast {
  padding: 46px clamp(18px, 3vw, 28px);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.38)),
    linear-gradient(135deg, rgba(240, 197, 58, 0.16), rgba(47, 139, 69, 0.12));
}

.section--accent {
  padding: 46px clamp(18px, 3vw, 28px);
  border-radius: 34px;
  background:
    linear-gradient(140deg, rgba(18, 56, 36, 0.96), rgba(29, 90, 53, 0.95)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent);
  color: #fdf8eb;
}

.section--accent .section-heading h2,
.section--accent .eyebrow,
.section--accent .policy-card h3,
.section--accent .document-links a {
  color: #fdf8eb;
}

.section--accent .eyebrow::before {
  background: currentColor;
}

.policy-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.section--accent .policy-card {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.section--accent .policy-card p {
  color: rgba(253, 248, 235, 0.82);
}

.document-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.document-links a,
.text-link {
  font-weight: 700;
}

.document-links a:hover,
.text-link:hover {
  text-decoration: underline;
}

.catalog-controls {
  display: grid;
  gap: 18px;
  margin-bottom: 24px;
}

.catalog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.search-field {
  display: grid;
  gap: 10px;
  max-width: 420px;
}

.search-field input,
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(18, 56, 36, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--text);
}

.search-field input:focus,
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 2px solid rgba(240, 197, 58, 0.5);
  border-color: var(--gold);
}

.filter-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-chip {
  padding: 10px 16px;
  border: 1px solid rgba(18, 56, 36, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--green-900);
  font-weight: 700;
}

.filter-chip.is-active,
.filter-chip:hover,
.filter-chip:focus-visible {
  background: var(--green-900);
  color: #fff8e7;
}

.mode-toggle {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--green-700);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(18, 56, 36, 0.1);
  border-radius: 24px;
  background: rgba(255, 251, 242, 0.86);
  box-shadow: var(--shadow);
}

.product-card__image {
  aspect-ratio: 4 / 4.6;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(47, 139, 69, 0.14), rgba(240, 197, 58, 0.2));
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.badge {
  background: rgba(29, 90, 53, 0.1);
  color: var(--green-900);
  font-size: 0.8rem;
  font-weight: 700;
}

.badge--age {
  background: rgba(197, 50, 46, 0.12);
  color: var(--red);
}

.badge--premium {
  background: rgba(240, 197, 58, 0.2);
}

.product-card h3 {
  margin: 0;
  font-size: 1.2rem;
  font-family: var(--heading-font);
}

.product-card p {
  margin: 0;
  color: var(--muted);
}

.price-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
  color: var(--green-700);
  font-weight: 800;
}

.product-card .button {
  width: 100%;
}

.empty-state {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
}

.wholesale {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 24px;
  padding: clamp(22px, 4vw, 34px);
  background:
    linear-gradient(140deg, rgba(240, 197, 58, 0.3), rgba(255, 255, 255, 0.55)),
    linear-gradient(135deg, rgba(47, 139, 69, 0.16), transparent 58%);
  box-shadow: var(--shadow);
}

.wholesale__copy p {
  max-width: 58ch;
}

.wholesale__spotlight {
  align-self: center;
  padding: 12px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.72);
}

.wholesale__spotlight img {
  border-radius: 18px;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  border: 1px solid rgba(18, 56, 36, 0.1);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border: 0;
  background: transparent;
  color: var(--green-900);
  font-weight: 800;
  text-align: left;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.24s ease;
}

.faq-answer > * {
  overflow: hidden;
}

.faq-answer p {
  margin: 0;
  padding: 0 24px 0;
  color: var(--muted);
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.is-open .faq-answer p {
  padding-bottom: 22px;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-icon {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
}

.quote-form,
.contact-card,
.legal-card,
.legal-hero {
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid rgba(18, 56, 36, 0.08);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

.quote-form {
  display: grid;
  gap: 18px;
}

.quote-form label {
  display: grid;
  gap: 10px;
  color: var(--green-900);
  font-weight: 700;
}

.contact-list {
  margin: 18px 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.contact-list a {
  color: var(--green-700);
}

.site-footer {
  display: grid;
  gap: 18px;
  padding: 42px 0 54px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--green-700);
  font-weight: 700;
}

.footer-copy {
  font-size: 0.95rem;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(9, 26, 17, 0.76);
  backdrop-filter: blur(8px);
}

.age-gate__panel {
  width: min(620px, 100%);
  padding: clamp(24px, 5vw, 38px);
  border-radius: 32px;
  background:
    linear-gradient(150deg, rgba(18, 56, 36, 0.98), rgba(29, 90, 53, 0.94)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent);
  color: #fdf8eb;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.25);
}

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

.age-gate__panel h2 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(2rem, 4vw, 3rem);
}

.age-gate__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 24px 0 18px;
}

.age-gate__note {
  margin: 0;
  color: rgba(253, 248, 235, 0.76);
}

.legal-main {
  width: var(--container);
  margin: 0 auto;
  padding-bottom: 44px;
}

.legal-hero {
  margin-bottom: 22px;
}

.legal-hero h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  color: var(--green-900);
}

.legal-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 22px;
}

.legal-stack {
  display: grid;
  gap: 18px;
}

.legal-card h2 {
  font-size: 1.65rem;
  color: var(--green-900);
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.legal-card + .legal-card {
  margin-top: 0;
}

.legal-nav {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 12px;
}

.legal-nav a {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--green-900);
  font-weight: 700;
  box-shadow: var(--shadow);
}

.legal-nav a:hover,
.legal-nav a:focus-visible {
  background: var(--green-900);
  color: #fff8eb;
}

.utility-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.limited-mode [data-limited-hidden="true"] {
  display: none;
}

@media (max-width: 1100px) {
  .product-grid,
  .policy-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero,
  .contact-layout,
  .wholesale,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-nav {
    position: static;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto;
    grid-template-areas:
      "brand toggle"
      "nav nav"
      "cta cta";
    border-radius: 28px;
  }

  .brand {
    grid-area: brand;
  }

  .nav-toggle {
    display: flex;
    grid-area: toggle;
  }

  .site-nav {
    grid-area: nav;
    display: none;
    flex-direction: column;
    align-items: start;
    gap: 10px;
    padding-top: 6px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .header-cta {
    grid-area: cta;
    justify-self: start;
  }

  .feature-grid,
  .category-grid,
  .policy-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading--split {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 640px) {
  .topbar {
    padding: 10px 16px;
    text-align: center;
  }

  .section {
    padding: 34px 0;
  }

  .hero {
    gap: 20px;
  }

  .hero__actions,
  .age-gate__actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .feature-grid,
  .category-grid,
  .policy-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .filter-row,
  .footer-links {
    gap: 10px;
  }

  .site-header {
    margin-bottom: 18px;
    border-radius: 0 0 28px 28px;
  }
}

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

  * {
    transition: none !important;
    animation: none !important;
  }
}
