/* Pasture storefront — status badges + waitlist modal additions */

.product-card { position: relative; }

.status-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 2;
  backdrop-filter: blur(4px);
}
.status-sold { background: rgba(160, 24, 24, 0.92); color: white; }
.status-soon { background: rgba(178, 117, 0, 0.92); color: white; }
.status-low  { background: rgba(74, 124, 64, 0.92); color: white; }

.product-card.is-sold .img,
.product-card.is-soon .img {
  filter: grayscale(50%) brightness(0.9);
}

.notify-btn {
  background: var(--shop-accent, #5a6b3f);
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.notify-btn:hover { filter: brightness(1.08); }

/* ============================================================
   WAITLIST MODAL
   ============================================================ */
.waitlist-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 12, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.waitlist-modal {
  background: white;
  border-radius: 14px;
  max-width: 440px;
  width: 100%;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.waitlist-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 16px;
}
.waitlist-head h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
}
.waitlist-close {
  background: transparent;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #666;
  padding: 2px 8px;
  border-radius: 6px;
}
.waitlist-close:hover { background: #f0f0f0; }
.waitlist-lead {
  font-size: 14px;
  color: #555;
  margin: 0 0 18px;
}
.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.waitlist-form label {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  gap: 4px;
}
.waitlist-form input {
  padding: 10px 12px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
}
.waitlist-form input:focus {
  outline: none;
  border-color: var(--shop-accent, #5a6b3f);
  box-shadow: 0 0 0 3px rgba(90, 107, 63, 0.15);
}
.waitlist-submit {
  background: var(--shop-accent, #5a6b3f);
  color: white;
  border: none;
  padding: 12px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 8px;
}
.waitlist-submit:hover { filter: brightness(1.08); }
.waitlist-submit:disabled { opacity: 0.6; cursor: wait; }
.waitlist-err { color: #a01818; font-size: 13px; margin: 4px 0 0; }
.waitlist-ok { color: var(--shop-accent, #5a6b3f); font-size: 14px; font-weight: 700; text-align: center; margin: 8px 0 0; }

/* Catch-weight product display */
.catch-weight-meta {
  margin-top: 8px;
  padding: 8px 10px;
  font-size: 12px;
  color: #5a4a35;
  background: rgba(194, 84, 31, 0.07);
  border-radius: 6px;
  line-height: 1.4;
  font-weight: 500;
}

/* ============================================================
   HERO TEMPLATES — Heritage / Modern / Bold
   ============================================================ */

/* HERITAGE PRESS — logo centered large */
.shop-hero-heritage {
  background: var(--shop-cream, #F5EFE0);
  background-image:
    radial-gradient(circle at 20% 20%, rgba(0,0,0,0.025) 0, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0,0,0,0.025) 0, transparent 50%);
  padding: 80px 24px 96px;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.shop-hero-heritage-inner {
  max-width: 760px;
  margin: 0 auto;
}
.hero-logo-big {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}
.hero-logo-big img {
  max-width: 480px;
  max-height: 480px;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(31,27,22,0.08));
}
.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 24px;
  color: var(--shop-accent, #3D5A3A);
}
.hero-divider span {
  display: block;
  width: 80px;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
}
.hero-divider em { font-style: normal; opacity: 0.7; }
.hero-tagline {
  font-family: var(--shop-serif, "Lora", Georgia, serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.4px;
  color: var(--shop-text, #1F1B16);
  margin: 0 0 16px;
}
.hero-lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--shop-text-muted, #4a3d2e);
  max-width: 580px;
  margin: 0 auto 32px;
}
.hero-cta-heritage {
  display: inline-block;
  padding: 16px 32px;
  background: var(--shop-accent, #3D5A3A);
  color: white;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 4px;
  transition: filter 0.15s;
}
.hero-cta-heritage:hover { filter: brightness(1.1); text-decoration: none; }

/* MODERN EDITORIAL — split layout */
.shop-hero-modern {
  padding: 0;
  background: var(--shop-cream, #F5EFE0);
}
.shop-hero-modern-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: none;
  min-height: 600px;
}
.hero-left {
  padding: 80px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-right {
  background-size: cover;
  background-position: center;
  background-color: rgba(0,0,0,0.05);
}
.hero-logo-medium {
  margin-bottom: 28px;
}
.hero-logo-medium img {
  max-width: 280px;
  max-height: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.hero-cta-modern {
  align-self: flex-start;
  display: inline-block;
  padding: 16px 32px;
  background: var(--shop-text, #1F1B16);
  color: white;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.hero-cta-modern:hover { filter: brightness(1.15); text-decoration: none; }
@media (max-width: 880px) {
  .shop-hero-modern-inner { grid-template-columns: 1fr; }
  .hero-right { min-height: 360px; }
  .hero-left { padding: 60px 24px; }
}

/* BOLD STOREFRONT — full-bleed photo with logo overlay */
.shop-hero-bold {
  min-height: 620px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0;
}
.shop-hero-bold.with-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0.55) 100%);
}
.shop-hero-bold:not(.with-image) {
  background: linear-gradient(135deg, var(--shop-accent, #3D5A3A) 0%, var(--shop-accent-dark, #1F2E1E) 100%);
}
.shop-hero-bold-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px;
  z-index: 2;
}
.hero-bold-headline {
  font-family: var(--shop-serif, "Lora", Georgia, serif);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -2px;
  color: white;
  max-width: 800px;
  margin: 0 0 32px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
.hero-cta-bold {
  display: inline-block;
  padding: 18px 36px;
  background: white;
  color: var(--shop-text, #1F1B16);
  text-decoration: none;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.5px;
  border-radius: 4px;
}
.hero-cta-bold:hover { background: var(--shop-cream); text-decoration: none; }
.hero-bold-mark {
  position: absolute;
  bottom: 32px;
  left: 32px;
  z-index: 2;
}
.hero-bold-mark img {
  max-height: 120px;
  width: auto;
  filter: drop-shadow(0 2px 16px rgba(0,0,0,0.4));
}
.hero-name-fallback {
  font-family: var(--shop-serif, "Lora", Georgia, serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--shop-text, #1F1B16);
  margin: 0 0 24px;
}

/* FIELD NOTES — letterpress kitchen-table feel */
.shop-hero-fieldnotes {
  background: var(--shop-cream, #F5EFE0);
  background-image: repeating-linear-gradient(90deg, transparent 0 28px, rgba(0,0,0,0.02) 28px 29px);
  padding: 64px 24px 88px;
  text-align: center;
}
.shop-hero-fieldnotes-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}
.fieldnotes-stamp {
  display: inline-block;
  padding: 6px 14px;
  background: var(--shop-accent, #3D5A3A);
  color: var(--shop-cream, #F5EFE0);
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
  transform: rotate(-1.5deg);
}
.fn-logo img { max-height: 280px; max-width: 320px; }
.fn-tagline {
  font-family: "Lora", Georgia, serif;
  font-size: clamp(32px, 5vw, 52px);
  font-style: italic;
  font-weight: 600;
  margin: 14px 0 18px;
}
.fn-lede { font-size: 17px; line-height: 1.7; }
.fn-divider {
  font-family: "Lora", Georgia, serif;
  font-size: 32px;
  color: var(--shop-accent, #3D5A3A);
  margin: 24px 0;
  opacity: 0.4;
}

/* BOTANICAL — pressed-flower frame, soft palette */
.shop-hero-botanical {
  background: var(--shop-cream, #F5EFE0);
  background-image:
    radial-gradient(ellipse at 10% 0%, rgba(61, 90, 58, 0.07) 0, transparent 50%),
    radial-gradient(ellipse at 90% 100%, rgba(194, 84, 31, 0.06) 0, transparent 45%);
  padding: 80px 24px 96px;
}
.shop-hero-botanical-inner { max-width: 880px; margin: 0 auto; }
.bot-frame {
  padding: 60px 56px 56px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 4px;
  position: relative;
  text-align: center;
  background: rgba(255,255,255,0.4);
}
.bot-frame::before, .bot-frame::after {
  content: "❀";
  position: absolute;
  color: var(--shop-accent, #3D5A3A);
  opacity: 0.5;
  font-size: 24px;
}
.bot-frame::before { top: -14px; left: 50%; transform: translateX(-50%); background: var(--shop-cream); padding: 0 12px; }
.bot-frame::after { bottom: -14px; left: 50%; transform: translateX(-50%); background: var(--shop-cream); padding: 0 12px; }
.bot-tagline { font-family: "Lora", Georgia, serif; font-style: italic; font-weight: 500; }
@media (max-width: 640px) { .bot-frame { padding: 36px 24px; } }

/* EDITORIAL MAGAZINE — newspaper layout */
.shop-hero-magazine {
  background: var(--shop-cream, #F5EFE0);
  padding: 32px 24px 80px;
}
.shop-hero-magazine-inner { max-width: 1100px; margin: 0 auto; }
.mag-masthead { text-align: center; border-bottom: 4px double rgba(0,0,0,0.15); padding-bottom: 18px; margin-bottom: 32px; }
.mag-logo img { max-height: 100px; width: auto; }
.mag-name {
  font-family: "Lora", Georgia, serif;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -1px;
  margin: 0;
}
.mag-meta {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--shop-text-muted, #6b5c47);
  margin-top: 8px;
}
.mag-body { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: stretch; min-height: 420px; }
.mag-photo { background-size: cover; background-position: center; border-radius: 2px; min-height: 360px; }
.mag-headline-col { display: flex; flex-direction: column; justify-content: center; padding: 8px 0; }
.mag-headline {
  font-family: "Lora", Georgia, serif;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 0 0 20px;
}
.mag-deck { font-size: 17px; line-height: 1.65; color: var(--shop-text-muted, #4a3d2e); margin: 0 0 28px; column-count: 1; }
@media (max-width: 720px) { .mag-body { grid-template-columns: 1fr; } }

/* Multi-photo product cards */
.product-img-multi { position: relative; }
.product-img-active { width: 100%; height: 100%; object-fit: cover; }
.product-img-thumbs {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  padding: 4px 8px;
  background: rgba(0,0,0,0.5);
  border-radius: 50px;
  backdrop-filter: blur(4px);
}
.product-img-thumb {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.5);
  padding: 0;
  cursor: pointer;
  transition: background 0.15s;
}
.product-img-thumb.on { background: white; }

.catch-weight-disclosure {
  margin-top: 14px;
  padding: 12px 14px;
  font-size: 12.5px;
  line-height: 1.55;
  color: #4a3d2e;
  background: #f4ede0;
  border-left: 3px solid #5a6b3f;
  border-radius: 4px;
}

/* CSA share cards on public shop */
.shop-csa-section {
  padding: 48px 20px;
  background: var(--shop-cream, #f8f5ec);
  margin-top: 32px;
}
.csa-section-h {
  font-family: "Lora", Georgia, serif;
  text-align: center;
  font-size: 32px;
  margin: 0 auto 8px;
  letter-spacing: -0.5px;
}
.csa-section-sub {
  text-align: center;
  color: var(--shop-text-muted, #6b5c47);
  margin: 0 auto 28px;
  max-width: 540px;
  font-size: 15px;
}
.csa-share-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.csa-share-public {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e2d8c0;
  display: flex;
  flex-direction: column;
}
.csa-share-public img,
.csa-share-public .csa-share-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #f0e8d4;
}
.csa-share-body {
  padding: 20px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.csa-share-body h3 {
  font-family: "Lora", Georgia, serif;
  font-size: 22px;
  margin: 0 0 8px;
  line-height: 1.2;
}
.csa-share-body p {
  font-size: 14px;
  color: #6b5c47;
  margin: 0 0 14px;
  line-height: 1.5;
  flex: 1;
}
.csa-share-price strong {
  font-family: "Lora", serif;
  font-size: 26px;
  color: #1f1b16;
}
.csa-share-cadence {
  font-size: 14px;
  color: #6b5c47;
  margin-left: 4px;
}
.csa-slots {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #C2541F;
}
.csa-slots-empty {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #a01818;
}
.csa-subscribe-btn {
  margin-top: 14px;
  width: 100%;
  padding: 14px;
  background: var(--shop-accent, #3D5A3A);
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
}
.csa-subscribe-btn:hover { filter: brightness(1.1); }
.csa-subscribe-btn:disabled { opacity: 0.5; cursor: not-allowed; background: #888; }

.csa-subscribe-modal { max-width: 460px; padding: 32px; }
.csa-subscribe-modal h2 { margin-top: 0; font-family: "Lora", Georgia, serif; }
.csa-subscribe-modal label {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  font-weight: 600;
  gap: 4px;
}
.csa-subscribe-modal input, .csa-subscribe-modal select {
  padding: 10px 12px;
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  border: 1px solid #ddd;
  border-radius: 8px;
}
.csa-subscribe-modal input:focus, .csa-subscribe-modal select:focus {
  outline: none;
  border-color: var(--shop-accent, #3D5A3A);
}
#csStatus p { margin: 8px 0 0; font-size: 14px; }

/* QR scan-target highlight */
.product-card.qr-highlight {
  outline: 3px solid var(--shop-accent, #5a6b3f);
  outline-offset: 4px;
  animation: qrPulse 1.4s ease-out;
}
@keyframes qrPulse {
  0% { box-shadow: 0 0 0 0 rgba(90,107,63,0.55); }
  100% { box-shadow: 0 0 0 24px rgba(90,107,63,0); }
}
