:root {
  --bg: #FFFFFF;
  --bg-warm: #FFFFFF;
  --bg-section: #FFFFFF;
  --ink: #1A1A1A;
  --text: #333333;
  --text-soft: #555555;
  --text-muted: #888888;
  --barn: #B91C1C;
  --barn-dark: #8B1414;
  --grass: #3F6B2A;
  --border: #E5E5E5;
  --border-soft: #EEEEEE;
  --slab: 'Roboto Slab', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }

/* ===== NAV ===== */
.nav {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  font-family: var(--slab);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.nav-links a { transition: color 0.15s; }
.nav-links a:hover { color: var(--barn); }
.nav-links a.active { color: var(--barn); }
.cart-icon { display: inline-flex; align-items: center; }

/* ===== HERO (homepage) ===== */
.hero {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 32px 80px;
  text-align: center;
}
.hero-logo {
  max-width: 380px;
  width: 100%;
  height: auto;
  margin: 0 auto 24px;
  display: block;
}
.hero h1 {
  font-family: var(--slab);
  font-size: 56px;
  font-weight: 800;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-soft);
  margin: 0 auto 36px;
  max-width: 560px;
}
.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 4px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: transform 0.15s, background 0.15s;
  border: none;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--barn);
  color: white;
}
.btn-primary:hover { background: var(--barn-dark); }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: white; }

/* ===== STORY BAND (homepage) ===== */
.story-band {
  background: var(--bg-warm);
  padding: 80px 32px;
}
.story-band-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--barn);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.story-band-text h2 {
  font-family: var(--slab);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 20px;
}
.story-band-text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 24px;
}
.text-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--barn);
  letter-spacing: 0.02em;
}
.text-link:hover { color: var(--barn-dark); }
.story-band-image {
  aspect-ratio: 4 / 5;
  background: #E0D4BD;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-placeholder {
  color: #8a6f56;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
}

/* ===== PRACTICES STRIP ===== */
.practices-strip {
  background: var(--ink);
  padding: 48px 32px;
}
.practices-strip-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.practice-tile {
  display: flex;
  align-items: center;
  gap: 16px;
  color: white;
}
.practice-num {
  font-family: var(--slab);
  font-size: 32px;
  font-weight: 800;
  color: var(--barn);
  line-height: 1;
}
.practice-name {
  font-family: var(--slab);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ===== FEATURED PRODUCTS ===== */
.featured {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--ink);
}
.section-header h2 {
  font-family: var(--slab);
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
}
.shop-all {
  font-size: 14px;
  font-weight: 600;
  color: var(--barn);
}
.shop-all:hover { color: var(--barn-dark); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ===== PRODUCT CARD ===== */
.product-card {
  display: block;
  transition: transform 0.2s;
}
.product-card:hover { transform: translateY(-3px); }
.product-photo {
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 11px;
  margin-bottom: 14px;
}
.photo-1 { background: #E8DCC4; }
.photo-2 { background: #D6C8AC; }
.photo-3 { background: #EBE3D2; }
.product-name {
  font-family: var(--slab);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}
.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
}
.price-tag {
  font-family: var(--slab);
  font-weight: 700;
  color: var(--ink);
}
.fulfillment {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.fulfillment.pickup { color: var(--grass); }

/* ===== SIGNATURE BAND ===== */
.signature {
  background: var(--bg-warm);
  text-align: center;
  padding: 80px 32px;
}
.signature-quote {
  font-family: var(--slab);
  font-size: 28px;
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
  line-height: 1.4;
  max-width: 700px;
  margin: 0 auto 16px;
}
.signature-by {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
  letter-spacing: 0.05em;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--ink);
  color: white;
  padding: 48px 32px 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 28px;
  border-bottom: 1px solid #333;
}
.footer-brand {
  font-family: var(--slab);
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 18px;
  color: white;
}
.footer-contact {
  font-size: 14px;
  color: #ccc;
}
.footer-copyright {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 12px;
  color: #888;
  text-align: center;
  padding-top: 24px;
}

/* ===== SHOP PAGE ===== */
.page-header {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 32px 40px;
  text-align: center;
}
.page-title {
  font-family: var(--slab);
  font-size: 48px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.page-lede {
  font-size: 17px;
  color: var(--text-soft);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}
.category-tabs {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px 24px;
  display: flex;
  justify-content: center;
  gap: 36px;
  border-bottom: 1px solid var(--border);
}
.cat-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  padding-bottom: 12px;
  transition: color 0.15s;
}
.cat-link.active {
  color: var(--barn);
  border-bottom: 2px solid var(--barn);
}
.cat-link:hover { color: var(--barn); }
.shop-grid-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 32px 80px;
}
.shop-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 28px;
}
.shop-footer-note {
  margin-top: 48px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}
.load-more { color: var(--barn); font-weight: 600; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 32px 0;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.breadcrumb a { color: var(--text-muted); transition: color 0.15s; }
.breadcrumb a:hover { color: var(--barn); }
.breadcrumb span { color: var(--ink); }

/* ===== PRODUCT PAGE ===== */
.product-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 32px 60px;
}
.product-page-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.product-gallery { position: sticky; top: 32px; }
.gallery-main {
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 12px;
  margin-bottom: 10px;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.thumb {
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.15s;
}
.thumb:hover { opacity: 0.85; }
.product-info { padding-top: 8px; }
.product-title {
  font-family: var(--slab);
  font-size: 40px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
  margin: 14px 0 18px;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
}
.price {
  font-family: var(--slab);
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
}
.price-unit {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.product-desc {
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 28px;
}
.cart-row {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}
.qty-selector {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  background: transparent;
  height: 48px;
}
.qty-btn {
  width: 40px;
  height: 100%;
  background: transparent;
  border: none;
  font-size: 18px;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 600;
}
.qty-btn:hover { color: var(--barn); }
.qty-num {
  font-size: 15px;
  color: var(--ink);
  min-width: 24px;
  text-align: center;
  font-weight: 600;
}
.btn-cart { flex: 1; height: 48px; font-size: 14px; }
.ship-callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  background: var(--bg-warm);
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
}
.ship-callout svg {
  color: var(--barn);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== ABOUT CUT ===== */
.about-cut {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.about-cut > * {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.about-cut h2 {
  font-family: var(--slab);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}
.about-cut p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 14px;
}

/* ===== NOTES GRID ===== */
.notes-grid {
  max-width: 800px;
  margin: 60px auto 0;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.note p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
}

/* ===== PAIRS SECTION ===== */
.pairs-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 32px 80px;
}
h2.centered {
  font-family: var(--slab);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  margin-bottom: 32px;
}
.pairs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero h1 { font-size: 40px; }
  .hero-logo { max-width: 300px; }
  .story-band-inner { grid-template-columns: 1fr; gap: 40px; }
  .story-band-text h2 { font-size: 30px; }
  .practices-strip-inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .product-grid, .shop-product-grid, .pairs-grid { grid-template-columns: repeat(2, 1fr); }
  .product-page-inner { grid-template-columns: 1fr; gap: 32px; }
  .product-gallery { position: static; }
  .product-title { font-size: 32px; }
  .page-title { font-size: 36px; }
  .notes-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav-links { gap: 16px; font-size: 13px; }
  .nav-links a:not(.cart-icon) { display: none; }
  .signature-quote { font-size: 22px; }
}
@media (max-width: 600px) {
  .product-grid, .shop-product-grid, .pairs-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; }
  .practices-strip-inner { grid-template-columns: 1fr; }
}

/* ===== EDITORIAL (STORY) ===== */
.editorial {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 32px 60px;
}
.editorial-header {
  text-align: center;
  margin-bottom: 56px;
}
.editorial-header h1 {
  font-family: var(--slab);
  font-size: 48px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
  margin: 16px 0 22px;
  letter-spacing: -0.01em;
}
.lede {
  font-family: var(--sans);
  font-size: 20px;
  line-height: 1.5;
  color: var(--text-soft);
  max-width: 600px;
  margin: 0 auto;
}
.editorial-image {
  aspect-ratio: 16 / 9;
  background: #E0D4BD;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
}
.editorial-body h2 {
  font-family: var(--slab);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  margin: 44px 0 16px;
}
.editorial-body p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ===== CTA BAND (between sections) ===== */
.cta-band {
  max-width: 800px;
  margin: 60px auto 80px;
  padding: 0 32px;
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* ===== PRACTICES DETAIL PAGE ===== */
.practices-detail {
  max-width: 760px;
  margin: 32px auto 40px;
  padding: 0 32px;
}
.practice-detail {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: flex-start;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.practice-detail:last-child { border-bottom: none; }
.practice-detail-num {
  font-family: var(--slab);
  font-size: 40px;
  font-weight: 800;
  color: var(--barn);
  line-height: 1;
}
.practice-detail-content h3 {
  font-family: var(--slab);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.practice-detail-content p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.8;
}

/* ===== CONTACT GRID ===== */
.contact-grid {
  max-width: 1000px;
  margin: 32px auto 0;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.contact-card {
  padding: 28px 32px;
  background: var(--bg-warm);
  border-radius: 6px;
}
.contact-card .kicker {
  margin-bottom: 10px;
}
.contact-value {
  display: block;
  font-family: var(--slab);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.4;
}
a.contact-value:hover { color: var(--barn); }
.contact-card p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

/* ===== CONTACT FORM ===== */
.contact-form-section {
  max-width: 600px;
  margin: 80px auto 100px;
  padding: 0 32px;
}
.contact-form { margin-top: 32px; }
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  background: white;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--barn);
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.1);
}
.form-row textarea { resize: vertical; min-height: 120px; }
.contact-form button { width: auto; }

@media (max-width: 700px) {
  .contact-grid { grid-template-columns: 1fr; }
  .editorial-header h1 { font-size: 36px; }
  .lede { font-size: 17px; }
  .practice-detail { grid-template-columns: 60px 1fr; gap: 16px; }
  .practice-detail-num { font-size: 32px; }
  .cta-band { flex-direction: column; }
  .cta-band .btn { width: 100%; }
}

/* ===== PRACTICES (v1-style centered icons on white) ===== */
.practices {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 32px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.kicker.centered { text-align: center; margin-bottom: 32px; }
.practices-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.practice {
  text-align: center;
  color: var(--barn);
}
.practice svg {
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
}
.practice-label {
  font-family: var(--slab);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
}
@media (max-width: 700px) {
  .practices-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

/* ===== STORY BAND IMAGE ===== */
.story-band-image .story-band-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}
.story-band-image {
  overflow: hidden;
  padding: 0;
}

/* ===== EDITORIAL IMAGE (Our Story page) ===== */
.editorial-image .editorial-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}
.editorial-image {
  overflow: hidden;
  padding: 0;
}

/* ===== FAQ SECTION ===== */
.faq-section {
  max-width: 760px;
  margin: 60px auto 40px;
  padding: 0 32px;
}
.faq-section h2 {
  font-family: var(--slab);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 28px;
  text-align: center;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  font-family: var(--slab);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.faq-a {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
}

/* ===== SAUSAGE CARD: variety list ===== */
.variety-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 10px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-soft);
}
.variety-list li {
  position: relative;
  padding-left: 12px;
}
.variety-list li:before {
  content: "·";
  position: absolute;
  left: 2px;
  color: var(--barn);
  font-weight: 700;
}
.sausage-card .product-name {
  margin-bottom: 2px;
}

/* ===== VARIETY DROPDOWN (product page) ===== */
.variety-row { margin: 4px 0 20px; }
.variety-row label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.variety-select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  background: white;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%231A1A1A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.variety-select:focus {
  outline: none;
  border-color: var(--barn);
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.1);
}

/* ===== PRODUCT GALLERY IMAGE ===== */
.gallery-main {
  overflow: hidden;
  padding: 0;
  background: var(--bg-warm);
}
.gallery-main .gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== PRODUCT CARD IMAGE ===== */
.product-photo {
  overflow: hidden;
  padding: 0;
}
.product-photo .card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== JF-FOOTER-SPACING-GLOBAL: breathing room before footer on product pages ===== */
.notes-grid { margin-bottom: 100px; }

/* ===== CONTACT FORM ADDITIONS ===== */
.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-row-split > div { margin-bottom: 0; }
.form-row select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  background: white;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%231A1A1A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-row select:focus {
  outline: none;
  border-color: var(--barn);
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.1);
}
.form-status { margin-top: 18px; font-size: 14px; }
.form-success {
  padding: 24px 28px;
  background: #f0f7e6;
  border-left: 4px solid var(--grass);
  border-radius: 4px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}
@media (max-width: 600px) {
  .form-row-split { grid-template-columns: 1fr; gap: 0; }
  .form-row-split > div { margin-bottom: 20px; }
}

/* ===== HAMBURGER (mobile nav) ===== */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-left: auto;
}
.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
body.nav-locked { overflow: hidden; }

/* Mobile breakpoint: show hamburger, hide horizontal nav by default */
@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  /* Override the old "hide nav links" rule cleanly */
  .nav-links a:not(.cart-icon) {
    display: block !important;
  }

  /* The nav-links container becomes a full-width drop-down panel */
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-top: 1px solid var(--border);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
    z-index: 100;
  }
  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    padding: 18px 28px;
    border-bottom: 1px solid var(--border-soft);
    font-size: 16px;
    font-family: var(--slab);
    font-weight: 500;
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links .cart-icon {
    display: inline-flex;
    padding: 18px 28px;
  }

  /* Make the nav header itself a positioning context for the drop-down */
  .nav {
    position: relative;
  }
  .nav-inner {
    flex-wrap: wrap;
    position: relative;
  }
}

/* ===== FOOTER LINKS ===== */
a.footer-brand,
a.footer-contact {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.15s;
}
a.footer-brand:hover,
a.footer-contact:hover {
  opacity: 0.75;
}

/* ===== FOOTER EMAIL: desktop vs mobile behavior ===== */
.footer-contact-mobile { display: none; }
.footer-contact-desktop { display: inline; }
@media (max-width: 900px) {
  .footer-contact-desktop { display: none; }
  .footer-contact-mobile { display: inline; }
}

/* ===== ANCHOR SCROLL BEHAVIOR ===== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}

/* ===== PRICING BANNER (top of shop page) ===== */
.pricing-banner {
  max-width: 1100px;
  margin: 24px auto 0;
  padding: 14px 28px;
  background: var(--bg-warm);
  border-left: 3px solid var(--barn);
  border-radius: 4px;
  font-size: 14px;
  color: var(--text);
  text-align: center;
}
.pricing-banner a {
  color: var(--barn);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.pricing-banner a:hover {
  color: var(--barn-dark);
}
@media (max-width: 700px) {
  .pricing-banner {
    margin: 16px 16px 0;
    text-align: left;
    font-size: 13px;
  }
}

/* ===== FAQ GROUP HEADINGS ===== */
.faq-group {
  font-family: var(--slab);
  font-size: 20px;
  font-weight: 700;
  color: var(--barn);
  margin: 36px 0 4px;
  padding-bottom: 0;
}
.faq-group:first-child {
  margin-top: 0;
}

/* ===== FAQ POINTER (on /practices/) ===== */
.faq-pointer {
  max-width: 760px;
  margin: 60px auto 0;
  padding: 0 32px;
  text-align: center;
  font-size: 15px;
  color: var(--text-soft);
}
.faq-pointer a {
  color: var(--barn);
  font-weight: 600;
}

/* ===== PRICE META (secondary line under per-lb price) ===== */
.price-meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  margin-top: 4px;
  margin-bottom: 24px;
}

/* ===== PRICING FAQ LINK (on product pages) ===== */
.pricing-faq-link {
  display: inline-block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--barn);
  margin-bottom: 22px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}
.pricing-faq-link:hover {
  color: var(--barn-dark);
  border-bottom-color: var(--barn);
}
