/* retail-products.html page styles (loaded after css/shared.css) */

/* ── Retail hero (page-specific layout) ─────────────────── */
.retail-hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 5rem); align-items: center;
}
.retail-hero-img {
  background: var(--bone);
  border-radius: 2px;
  height: 360px;
  background-image: url('/assets/images/products/smoked-ham.jpg');
  background-size: cover; background-position: center;
}
/* .retail-note base styles live in shared.css (callout alias) — only padding/margin override here */
.retail-note { padding: 1rem 1.25rem; margin-top: 1.5rem; }
.retail-note strong { color: var(--bark); }

/* ── Category sections ────────────────────────────────── */
.category-section { padding: clamp(3.5rem, 7vw, 5rem) clamp(1.5rem, 5vw, 4rem); }
.category-section:nth-child(odd) { background: var(--parchment); }
.category-inner { max-width: var(--max-w); margin: 0 auto; }
.category-header { margin-bottom: 2.75rem; }
.category-header-center {
  text-align: center;
  margin-bottom: 3rem;
}
.category-header-center .category-desc {
  margin-left: auto; margin-right: auto;
}
/* Centered eyebrow rule (mirrors the platter section's hero feel) */
.category-header-center .category-label {
  display: inline-flex; align-items: center; gap: 0.75rem;
}
.category-header-center .category-label::before,
.category-header-center .category-label::after {
  content: ''; display: inline-block; width: 28px; height: 1px; background: currentColor;
}
/* .category-label now lives in shared.css (eyebrow alias) */
.category-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700;
  color: var(--bark); letter-spacing: -0.02em; line-height: 1.1;
  margin-bottom: 0.5rem;
}
.category-desc {
  font-size: 0.95rem; color: var(--warm-gray); line-height: 1.7;
  font-weight: 400; max-width: 60ch; margin-top: 0.85rem;
}
/* Product grid (per-card redesign) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  grid-auto-rows: 1fr;
  gap: 1rem;
}
.product-grid-sm { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); grid-auto-rows: 1fr; gap: 1.25rem; }
.product-grid-priced { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); grid-auto-rows: 1fr; gap: 1.25rem; }

.product-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.95rem 1.15rem;
  transition: border-color 0.2s, box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 76px;
}
.product-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brick) 0%, var(--brick-dark) 100%);
  opacity: 0;
  transition: opacity 0.2s, height 0.2s;
}
.product-card:hover {
  border-color: var(--brick);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.product-card:hover::before { opacity: 0.85; height: 4px; }

.product-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--bark);
  line-height: 1.25;
  margin: 0;
  /* Allow the title to wrap, but keep it tight — 2 lines max for long titles like "Ground beef & bacon burger patties" */
  word-break: normal;
  overflow-wrap: break-word;
}
.product-name-thin {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--warm-gray);
  margin-left: 0.15rem;
}
.product-meta {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--warm-gray);
  line-height: 1.45;
  font-weight: 400;
  /* Allow multi-flavor meta lists to wrap gracefully without huge gaps */
  hyphens: auto;
}

.feature-photo {
  margin: 3rem auto 0;
  max-width: 920px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--cream);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.feature-photo::after {
  content: '';
  position: absolute; inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brick) 0%, var(--brick-dark) 50%, var(--bark) 100%);
}
.feature-photo img {
  display: block; width: 100%; height: auto;
}

/* Modifiers */
.product-card-smoked {
  background: linear-gradient(180deg, #fff 0%, #fdfaf6 100%);
  border-color: rgba(140, 47, 30, 0.18);
}
.product-card-smoked .product-meta {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--brick-dark);
}
.product-card-smoked .product-meta::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brick);
  margin-right: 0.4rem;
  vertical-align: 1px;
}

.product-card-flavored .product-meta {
  color: var(--bark-light);
  font-size: 0.78rem;
  font-weight: 500;
}
.product-card-flavored .product-meta::before { content: none; }

.product-card-feature {
  background: linear-gradient(135deg, #fff 0%, #faf3ed 100%);
  border-color: rgba(166, 61, 42, 0.25);
}

/* Priced card (jerky/stix/ham): price tag top-right */
.product-card-priced {
  position: relative;
  padding-right: 5rem; /* leave room for the price pill */
}
.product-card-priced .product-price {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  padding: 0.3rem 0.65rem;
  background: var(--bark);
  color: var(--cream);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 999px;
  line-height: 1.4;
}

/* Legacy fallback for any remaining .product-list items (none left, but keep for safety) */

.cta-row {
  margin-top: 3rem;
  display: flex; gap: 1rem; flex-wrap: wrap; align-items: center;
}

/* ── Inline style utilities ─────────────────────────────── */
.bg-bark { background: var(--bark); }
.bg-cover { background-size: cover; background-position: center; }
/* .punch-inner, .punch-headline, .punch-body base styles live in shared.css — only padding override here (this page puts the padding on .punch-inner, index puts it on .punch-card) */
.punch-inner { padding: clamp(3rem,7vw,5rem) clamp(1.5rem,5vw,4rem); }
.cta-flex-center { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

.btn-outline-white { color: #fff; border-color: rgba(255,255,255,0.4); }

@media (max-width: 900px) {
  .retail-hero-grid { grid-template-columns: 1fr; }
  .retail-hero-img { height: 260px; }
}
@media (max-width: 600px) {
}

/* Bratwurst flavors + price tags (content rebuilt from the live site) */
.brat-block {
  margin-top: 3rem;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: linear-gradient(180deg, #fff 0%, #fdfaf6 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.brat-block::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brick) 0%, var(--brick-dark) 50%, var(--bark) 100%);
}
.brat-block-head { margin-bottom: 1.75rem; }
/* .brat-title base styles live in shared.css (card-title alias) — only per-page overrides here */
.brat-title { display: flex; align-items: baseline; gap: 0.75rem; flex-wrap: wrap; font-size: clamp(1.4rem, 2.2vw, 1.65rem); margin-bottom: 0.4rem; color: var(--bark); }
.brat-title span { font-family: var(--font-sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brick); }
.brat-sub { font-size: 0.875rem; color: var(--warm-gray); margin: 0; line-height: 1.55; }

/* Brat chips — pill-style flavor tags, more clickable-feeling than the old dot list */
.brat-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0;
  margin: 0;
}
.brat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.95rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--bark);
  line-height: 1.2;
  transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease-out);
}
.brat-chip span {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--warm-gray);
  letter-spacing: 0.01em;
}
.brat-chip:hover {
  border-color: var(--brick);
  background: rgba(166, 61, 42, 0.05);
  transform: translateY(-1px);
}
.brat-chip-classic { background: rgba(166, 61, 42, 0.06); border-color: rgba(166, 61, 42, 0.2); }
.brat-chip-spicy { background: rgba(166, 61, 42, 0.08); border-color: rgba(166, 61, 42, 0.3); }
.brat-chip-wi { background: rgba(95, 130, 75, 0.08); border-color: rgba(95, 130, 75, 0.3); color: #4a6b3e; }
.brat-chip-wi span { color: #5f824b; }
.brat-chip-wi:hover { border-color: #5f824b; background: rgba(95, 130, 75, 0.12); }
/* Chips have their own pill design; suppress the .dot-list alias bullet */
.brat-chip::before { content: none !important; }

#jerky-snacks .product-list li span { color: var(--brick); font-weight: 600; font-size: 0.85rem; }
.retail-note { margin-top: 1.75rem; font-size: 0.875rem; color: var(--warm-gray); }
.retail-note a { color: var(--brick); }
@media (max-width: 900px) { .brat-list { gap: 0.5rem; } }
@media (max-width: 500px) { .brat-list { gap: 0.4rem; } .brat-chip { padding: 0.45rem 0.8rem; font-size: 0.8rem; } }
