/* ===== PRODUCERS — LISTING PAGE ===== */
.producers-hero {
  background: var(--olive-dark);
  padding: 72px 24px 80px;
  position: relative;
  overflow: hidden;
}

.producers-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(200, 134, 10, 0.07) 0%, transparent 65%);
  pointer-events: none;
}

.producers-hero__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.producers-hero__headline {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--cream);
  margin: 12px 0 20px;
}

.producers-hero__lede {
  font-size: 1rem;
  color: rgba(245, 240, 232, 0.65);
  max-width: 560px;
  line-height: 1.7;
}

/* ===== PRODUCER GRID ===== */
.producers-main {
  padding: 72px 24px 100px;
  background: var(--off-white);
}

.producers-grid-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.producers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* ===== PRODUCER CARD ===== */
.producer-card {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid rgba(44, 74, 30, 0.12);
  border-radius: 2px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.producer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(26, 46, 10, 0.14);
}

.producer-card__image-wrap {
  position: relative;
  width: 100%;
  padding-top: 60%;
  background: var(--olive-dark);
  overflow: hidden;
}

.producer-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.producer-card__img-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--olive) 0%, var(--olive-dark) 100%);
}

.producer-card__region {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(26, 46, 10, 0.85);
  color: var(--amber-light);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}

.producer-card__body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.producer-card__name {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--olive-dark);
  line-height: 1.2;
}

.producer-card__location {
  font-size: 0.82rem;
  color: var(--warm-grey);
  letter-spacing: 0.02em;
}

.producer-card__varieties,
.producer-card__certs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.producer-card__excerpt {
  font-size: 0.88rem;
  color: #4A3F35;
  line-height: 1.65;
  margin-top: 4px;
  flex: 1;
}

.producer-card__cta {
  font-size: 0.78rem;
  color: var(--amber);
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-top: 8px;
}

/* ===== SHARED TAGS & BADGES ===== */
.producer-tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  background: rgba(44, 74, 30, 0.08);
  color: var(--olive-mid);
  border-radius: 100px;
  font-weight: 500;
}

.producer-badge {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  background: rgba(200, 134, 10, 0.12);
  color: var(--amber);
  border: 1px solid rgba(200, 134, 10, 0.25);
  border-radius: 100px;
  font-weight: 600;
}

.producers-empty {
  text-align: center;
  padding: 80px 0;
  color: var(--warm-grey);
  font-size: 1rem;
}

/* ===== PRODUCER DETAIL PAGE ===== */
.detail-hero {
  background: var(--olive-dark);
  padding: 48px 24px 64px;
  position: relative;
  overflow: hidden;
}

.detail-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(200, 134, 10, 0.07) 0%, transparent 65%);
  pointer-events: none;
}

.detail-hero__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.detail-breadcrumb {
  display: inline-block;
  font-size: 0.78rem;
  color: rgba(212, 168, 83, 0.6);
  text-decoration: none;
  margin-bottom: 32px;
  transition: color 0.15s;
}

.detail-breadcrumb:hover { color: var(--amber-light); }

.detail-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.detail-hero__name {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--cream);
  margin: 12px 0 8px;
}

.detail-hero__location {
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.55);
  margin-bottom: 28px;
}

.detail-varieties,
.detail-certs { margin-bottom: 20px; }

.detail-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(212, 168, 83, 0.5);
  margin-bottom: 10px;
}

.detail-tags,
.detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-hero__image-wrap {
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}

.detail-hero__img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

/* ===== STORY SECTION ===== */
.detail-story {
  background: var(--cream);
  padding: 72px 24px;
}

.detail-story__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.detail-story__heading {
  font-size: 1.8rem;
  color: var(--olive-dark);
  margin-bottom: 20px;
}

.detail-story__text {
  font-size: 1rem;
  color: #4A3F35;
  line-height: 1.8;
  max-width: 720px;
}

/* ===== BATCHES SECTION ===== */
.detail-batches {
  background: var(--off-white);
  padding: 72px 24px 100px;
}

.detail-batches__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.detail-batches__heading {
  font-size: 1.8rem;
  color: var(--olive-dark);
  margin-bottom: 32px;
}

.detail-batches__empty {
  color: var(--warm-grey);
  font-size: 0.95rem;
}

/* ===== BATCH TABLE ===== */
.batch-table-wrap {
  overflow-x: auto;
  border-radius: 2px;
  border: 1px solid rgba(44, 74, 30, 0.12);
}

.batch-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--cream);
  font-size: 0.85rem;
}

.batch-table th {
  background: var(--olive-dark);
  color: var(--amber-light);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 14px 16px;
  text-align: left;
  white-space: nowrap;
}

.batch-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(44, 74, 30, 0.08);
  color: #2C2C2C;
  vertical-align: middle;
}

.batch-table tr:last-child td { border-bottom: none; }

.batch-table tr:nth-child(even) td {
  background: rgba(237, 231, 219, 0.5);
}

.batch-id {
  font-family: 'DM Sans', monospace;
  font-size: 0.78rem;
  color: var(--amber);
  font-weight: 600;
}

.batch-price {
  font-weight: 600;
  color: var(--olive-dark);
}

.batch-legend {
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--warm-grey);
  line-height: 1.6;
}

/* ===== ERROR STATE ===== */
.detail-error {
  padding: 100px 24px;
  text-align: center;
}

.detail-error__inner { max-width: 500px; margin: 0 auto; }

.detail-error h1 {
  font-size: 2rem;
  color: var(--olive-dark);
  margin-bottom: 16px;
}

.detail-error p {
  color: var(--warm-grey);
  margin-bottom: 32px;
}

.btn-primary {
  display: inline-block;
  background: var(--amber);
  color: var(--olive-dark);
  padding: 14px 28px;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.15s;
}

.btn-primary:hover { background: var(--amber-light); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .producers-grid { grid-template-columns: 1fr; }
  .detail-hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .detail-hero__img { height: 280px; }
}

@media (max-width: 480px) {
  .producers-hero { padding: 56px 20px 64px; }
  .producers-main { padding: 56px 20px 80px; }
  .detail-hero { padding: 40px 20px 56px; }
  .detail-story { padding: 56px 20px; }
  .detail-batches { padding: 56px 20px 80px; }
  .batch-table { font-size: 0.78rem; }
  .batch-table th, .batch-table td { padding: 10px 12px; }
}