/* Odd Orchard - americana-roadside */
:root {
  --red: #a8321e;
  --red-dark: #7c2313;
  --cream: #f6efdd;
  --cream-dark: #efe4c8;
  --paper: #fbf7ec;
  --wood: #5b3a24;
  --wood-dark: #3e2718;
  --green: #4a6b3a;
  --green-dark: #33502a;
  --mustard: #d9a441;
  --ink: #33261a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Bitter', Georgia, serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

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

h1, h2, h3 { font-family: 'Alfa Slab One', 'Bitter', serif; font-weight: 400; line-height: 1.15; color: var(--red-dark); }

a { color: var(--red); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

.handwritten { font-family: 'Caveat', cursive; font-size: 1.5rem; color: var(--green-dark); }

/* Header */
.site-header {
  background: var(--red);
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 12px, transparent 12px 24px);
  border-bottom: 6px solid var(--wood-dark);
  color: var(--cream);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  max-width: 1080px; margin: 0 auto; padding: 8px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); }
.brand img { width: 54px; height: 54px; border-radius: 50%; border: 2px solid var(--cream); background: var(--cream); }
.brand-name { font-family: 'Alfa Slab One', serif; font-size: 1.35rem; display: block; letter-spacing: 0.02em; }
.brand-tag { font-family: 'Caveat', cursive; font-size: 1.05rem; display: block; margin-top: -4px; color: var(--cream-dark); }
.nav-toggle {
  display: none; font-family: 'Alfa Slab One', serif; font-size: 0.95rem;
  background: var(--wood-dark); color: var(--cream); border: 2px solid var(--cream);
  padding: 6px 14px; border-radius: 6px; cursor: pointer;
}
.site-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; flex-wrap: wrap; }
.site-nav a {
  display: block; padding: 8px 12px; color: var(--cream); text-decoration: none;
  font-family: 'Bitter', serif; font-weight: 700; font-size: 0.95rem; border-radius: 6px;
}
.site-nav a:hover { background: var(--red-dark); }
.site-nav a.active { background: var(--wood-dark); }

/* Hero */
.hero { position: relative; border-bottom: 6px solid var(--wood-dark); }
.hero-img-full { width: 100%; height: 52vh; min-height: 340px; object-fit: cover; }
.hero-board {
  background: var(--paper);
  border: 3px solid var(--wood);
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(62, 39, 24, 0.35);
  padding: 22px 26px;
  max-width: 660px;
  margin: -110px auto 0;
  position: relative;
  text-align: center;
}
.hero-board h1 { margin: 0 0 8px; font-size: clamp(1.7rem, 4.5vw, 2.6rem); }
.hero-board .lede { margin: 0 0 14px; font-size: 1.05rem; }
.kicker {
  font-family: 'Caveat', cursive; color: var(--red); font-size: 1.4rem; margin: 0 0 2px;
}

/* Buttons */
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.btn {
  display: inline-block; text-decoration: none; font-family: 'Alfa Slab One', serif;
  font-size: 0.95rem; padding: 10px 20px; border-radius: 8px; border: 3px solid var(--wood-dark);
  cursor: pointer; text-align: center;
}
.btn-primary { background: var(--red); color: var(--cream); }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { background: var(--paper); color: var(--wood-dark); }
.btn-outline:hover { background: var(--cream-dark); }

/* Sections */
section { padding: 44px 0; }
.stripe { background: var(--cream-dark); border-top: 3px solid var(--wood); border-bottom: 3px solid var(--wood); }
.stripe-green { background: var(--green); color: var(--cream); border-top: 6px solid var(--wood-dark); border-bottom: 6px solid var(--wood-dark); }
.stripe-green h2, .stripe-green h3 { color: var(--cream); }
.section-title { text-align: center; font-size: clamp(1.5rem, 3.5vw, 2.1rem); margin: 0 0 6px; }
.section-sub { text-align: center; max-width: 640px; margin: 0 auto 26px; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card {
  background: var(--paper); border: 3px solid var(--wood); border-radius: 10px; padding: 18px;
  box-shadow: 4px 4px 0 rgba(62, 39, 24, 0.25);
}
.card h3 { margin: 4px 0 8px; font-size: 1.15rem; }
.card p { margin: 0; font-size: 0.95rem; }
.step-no { font-family: 'Caveat', cursive; color: var(--red); font-size: 1.3rem; }

/* Variety cards */
.variety-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.variety-card {
  background: var(--paper); border: 3px solid var(--wood); border-radius: 10px; overflow: hidden;
  box-shadow: 4px 4px 0 rgba(62, 39, 24, 0.25); display: flex; flex-direction: column;
}
.variety-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-bottom: 3px solid var(--wood); cursor: zoom-in; }
.variety-card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.variety-card h3 { margin: 0; font-size: 1.2rem; }
.season-badge {
  align-self: flex-start; font-family: 'Alfa Slab One', serif; font-size: 0.72rem; letter-spacing: 0.04em;
  background: var(--green); color: var(--cream); padding: 3px 10px; border-radius: 999px;
}
.season-badge.estate { background: var(--red); }
.variety-card .meta { font-size: 0.9rem; margin: 0; }
.variety-card .meta strong { color: var(--green-dark); font-family: 'Bitter', serif; }

/* Filter chips */
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 10px; }
.chip {
  font-family: 'Bitter', serif; font-weight: 700; font-size: 0.85rem;
  background: var(--paper); color: var(--wood-dark); border: 2px solid var(--wood);
  border-radius: 999px; padding: 6px 14px; cursor: pointer;
}
.chip:hover { background: var(--cream-dark); }
.chip.active { background: var(--red); border-color: var(--red-dark); color: var(--cream); }
.cat-note { text-align: center; font-family: 'Caveat', cursive; font-size: 1.35rem; color: var(--green-dark); min-height: 1.6em; margin: 0 0 18px; }

/* Calendar */
.cal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.cal-month { background: var(--paper); border: 3px solid var(--wood); border-radius: 10px; padding: 14px 16px; }
.cal-month h3 { margin: 0 0 8px; font-size: 1.1rem; border-bottom: 2px dashed var(--wood); padding-bottom: 6px; }
.cal-month.current { border-color: var(--red); box-shadow: 0 0 0 3px rgba(168, 50, 30, 0.35); }
.cal-month.current h3::after { content: " (now picking)"; font-family: 'Caveat', cursive; font-size: 1.05rem; color: var(--red); }
.cal-month ul { list-style: none; margin: 0; padding: 0; font-size: 0.92rem; }
.cal-month li { padding: 3px 0; border-bottom: 1px dotted var(--cream-dark); }
.cal-month li a { text-decoration: none; color: var(--ink); }
.cal-month li a:hover { color: var(--red); }
.cal-month .est { color: var(--red); font-size: 0.8rem; font-weight: 700; }

/* Price tables */
.price-table { width: 100%; border-collapse: collapse; background: var(--paper); border: 3px solid var(--wood); border-radius: 10px; overflow: hidden; }
.price-table th, .price-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--cream-dark); font-size: 0.95rem; }
.price-table th { background: var(--wood); color: var(--cream); font-family: 'Alfa Slab One', serif; font-weight: 400; font-size: 0.85rem; letter-spacing: 0.03em; }
.price-table .price { font-family: 'Alfa Slab One', serif; color: var(--red); white-space: nowrap; }
.price-table .note { font-size: 0.85rem; color: #6a533a; }

/* Store */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.product-card {
  background: var(--paper); border: 3px solid var(--wood); border-radius: 10px; overflow: hidden;
  box-shadow: 4px 4px 0 rgba(62, 39, 24, 0.25); display: flex; flex-direction: column;
}
.product-card img { aspect-ratio: 1; object-fit: cover; border-bottom: 3px solid var(--wood); cursor: zoom-in; }
.product-card .body { padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card h3 { margin: 0; font-size: 1.15rem; }
.product-card .desc { font-size: 0.92rem; margin: 0; flex: 1; }
.product-card .buy-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.product-card .price-tag { font-family: 'Alfa Slab One', serif; font-size: 1.2rem; color: var(--red); }
.add-to-cart {
  font-family: 'Alfa Slab One', serif; font-size: 0.85rem; background: var(--green); color: var(--cream);
  border: 2px solid var(--green-dark); border-radius: 8px; padding: 8px 14px; cursor: pointer;
}
.add-to-cart:hover { background: var(--green-dark); }

/* Cart */
#cart-fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  font-family: 'Alfa Slab One', serif; font-size: 0.95rem; background: var(--red); color: var(--cream);
  border: 3px solid var(--wood-dark); border-radius: 999px; padding: 12px 20px; cursor: pointer;
  box-shadow: 0 6px 16px rgba(62, 39, 24, 0.4);
}
#cart-panel {
  position: fixed; right: 16px; bottom: 76px; z-index: 60; width: min(360px, calc(100vw - 32px));
  background: var(--paper); border: 3px solid var(--wood); border-radius: 10px; padding: 16px;
  display: none; box-shadow: 0 10px 24px rgba(62, 39, 24, 0.4);
}
#cart-panel.open { display: block; }
#cart-panel h3 { margin: 0 0 10px; }
.cart-line { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dotted var(--cream-dark); font-size: 0.92rem; }
.cart-line button { background: none; border: none; color: var(--red); cursor: pointer; font-size: 0.8rem; text-decoration: underline; }
.cart-note { font-size: 0.9rem; font-style: italic; }
#cart-total { font-family: 'Alfa Slab One', serif; margin: 10px 0; }
#cart-close { position: absolute; top: 8px; right: 10px; background: none; border: none; font-size: 1.2rem; cursor: pointer; color: var(--wood-dark); }
#checkout-msg { font-size: 0.9rem; background: var(--cream-dark); border: 2px dashed var(--green); border-radius: 8px; padding: 10px; margin-top: 10px; }

/* Split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.split img { border: 3px solid var(--wood); border-radius: 10px; cursor: zoom-in; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { background: var(--paper); border: 3px solid var(--wood); border-radius: 10px; margin-bottom: 14px; padding: 4px 18px; }
.faq-item summary { font-family: 'Alfa Slab One', serif; font-size: 1rem; color: var(--red-dark); cursor: pointer; padding: 12px 0; }
.faq-item p { margin: 0 0 14px; }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
blockquote {
  background: var(--paper); border: 3px solid var(--wood); border-radius: 10px; margin: 0; padding: 18px;
  font-style: italic; box-shadow: 4px 4px 0 rgba(62, 39, 24, 0.25);
}
blockquote cite { display: block; margin-top: 10px; font-style: normal; font-family: 'Caveat', cursive; font-size: 1.2rem; color: var(--green-dark); }

/* Quote cards with photos (home) */
.quote-card {
  background: var(--paper); border: 3px solid var(--wood); border-radius: 10px; overflow: hidden;
  box-shadow: 4px 4px 0 rgba(62, 39, 24, 0.25); display: flex; flex-direction: column;
}
.quote-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-bottom: 3px solid var(--wood); cursor: zoom-in; }
.quote-card blockquote { border: none; box-shadow: none; background: none; border-radius: 0; padding: 14px 18px 16px; flex: 1; }

/* Picker gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px; }
.polaroid {
  margin: 0; background: #fdfbf4; border: 1px solid #d8cdb4; padding: 12px 12px 6px;
  box-shadow: 0 6px 16px rgba(62, 39, 24, 0.28); transform: rotate(-0.7deg);
}
.polaroid:nth-child(even) { transform: rotate(0.8deg); }
.polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid #e5dcc6; cursor: zoom-in; }
.polaroid figcaption { font-family: 'Caveat', cursive; font-size: 1.3rem; line-height: 1.25; color: var(--wood-dark); padding: 9px 4px 6px; text-align: center; }

/* Chart page */
.chart-frame { overflow-x: auto; border: 3px solid var(--wood); border-radius: 10px; background: var(--paper); }
.chart-table { border-collapse: collapse; width: 100%; min-width: 860px; font-size: 0.88rem; }
.chart-table th, .chart-table td { border: 1px solid var(--cream-dark); padding: 7px 10px; text-align: left; vertical-align: top; }
.chart-table thead th { background: var(--red); color: var(--cream); font-family: 'Alfa Slab One', serif; font-weight: 400; font-size: 0.8rem; position: sticky; top: 0; }
.chart-table .cat-row td { background: var(--wood); color: var(--cream); font-family: 'Alfa Slab One', serif; font-size: 0.82rem; letter-spacing: 0.04em; }
.chart-table td.name { font-weight: 700; white-space: nowrap; }
.chart-img { border: 3px solid var(--wood); border-radius: 10px; cursor: zoom-in; }

/* Marketing */
.marketing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; align-items: start; }
.marketing-grid figure { margin: 0; }
.marketing-grid img { border: 3px solid var(--wood); border-radius: 10px; cursor: zoom-in; }
.marketing-grid figcaption { font-family: 'Caveat', cursive; font-size: 1.25rem; color: var(--green-dark); margin-top: 6px; text-align: center; }

/* Footer */
.site-footer { background: var(--wood-dark); color: var(--cream); padding: 36px 0 24px; border-top: 6px solid var(--red); margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.site-footer h3 { color: var(--cream); margin-top: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 3px 0; }
.site-footer a { color: var(--cream-dark); }
.fine-print { font-size: 0.8rem; color: #c9b489; margin-top: 24px; border-top: 1px solid #6a4a2f; padding-top: 14px; }

/* Modal */
.modal {
  display: none; position: fixed; inset: 0; z-index: 100; background: rgba(40, 25, 12, 0.88);
  align-items: center; justify-content: center; padding: 20px;
}
.modal.open { display: flex; }
.modal figure { margin: 0; max-width: min(920px, 96vw); }
.modal img { max-height: 82vh; width: auto; max-width: 100%; margin: 0 auto; border: 4px solid var(--cream); border-radius: 6px; }
.modal-caption { color: var(--cream); text-align: center; margin-top: 10px; font-family: 'Caveat', cursive; font-size: 1.4rem; }
.modal-close {
  position: absolute; top: 14px; right: 18px; font-size: 2rem; background: none; border: none;
  color: var(--cream); cursor: pointer; line-height: 1;
}

/* Mobile */
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; width: 100%; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; }
  .hero-img-full { height: 40vh; }
  .hero-board { margin-top: -60px; padding: 18px; }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
