/* ============================================================
 * BREWMART v3 — Refined Editorial Minimalism
 * Loaded after brewmart-child/style.css to override + extend.
 * All classes prefixed bm3- to avoid conflicts.
 * ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,300..900&family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
  --bm3-ink: #0a0a0a;
  --bm3-ink-soft: #2a2a2a;
  --bm3-paper: #ffffff;
  --bm3-stone-100: #f7f5f1;   /* very light warm */
  --bm3-stone-200: #ece7df;   /* beige panels */
  --bm3-stone-300: #d4ccc0;
  --bm3-stone-500: #8b8478;
  --bm3-stone-700: #4a463f;
  --bm3-terra: #c44a2e;
  --bm3-terra-soft: #e87f5f;
  --bm3-hairline: #e8e6e2;
  --bm3-hairline-strong: #c8c4be;

  --bm3-sans: 'Manrope', system-ui, sans-serif;
  --bm3-serif: 'Fraunces', Georgia, serif;

  --bm3-ease: cubic-bezier(.22,.61,.36,1);
  --bm3-ease-out: cubic-bezier(.16,1,.3,1);
  --bm3-fast: 220ms;
  --bm3-med: 420ms;
  --bm3-slow: 800ms;
}

/* ----- TYPOGRAPHY OVERRIDES ----- */
body.home,
body.home p,
body.tax-product_cat,
body.tax-product_cat p,
body.archive.woocommerce,
body.archive.woocommerce p {
  font-family: var(--bm3-sans);
  color: var(--bm3-ink);
  -webkit-font-smoothing: antialiased;
}
.bm3-display {
  font-family: var(--bm3-serif);
  font-style: italic;
  font-weight: 400;
  font-optical-sizing: auto;
  letter-spacing: -0.02em;
}

/* ============================================================
 * HERO v3 — Editorial full-bleed with offset asymmetric copy
 * ============================================================ */
.bm3-hero {
  position: relative;
  min-height: clamp(560px, 92vh, 980px);
  background: var(--bm3-ink);
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.bm3-hero__photo {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  animation: bm3-hero-zoom 18s var(--bm3-ease-out) both;
}
@keyframes bm3-hero-zoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}
.bm3-hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.05) 30%, rgba(0,0,0,.55) 100%);
  z-index: 1;
}
.bm3-hero__meta {
  position: absolute;
  top: 28px; right: 28px;
  z-index: 3;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  display: flex; align-items: center; gap: 12px;
}
.bm3-hero__meta::before {
  content: '';
  display: block; width: 28px; height: 1px;
  background: rgba(255,255,255,.7);
}
.bm3-hero__inner {
  position: relative; z-index: 2;
  width: 100%;
  padding: 0 clamp(20px, 5vw, 64px) clamp(48px, 8vh, 96px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: end;
  gap: clamp(24px, 6vw, 80px);
}
.bm3-hero__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin: 0 0 28px;
}
.bm3-hero__title {
  font-family: var(--bm3-sans);
  font-weight: 700;
  font-size: clamp(44px, 7.5vw, 116px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0;
  color: #fff;
  max-width: 14ch;
}
.bm3-hero__title em {
  font-family: var(--bm3-serif);
  font-style: italic;
  font-weight: 400;
  font-feature-settings: "ss01";
  letter-spacing: -0.025em;
}
.bm3-hero__lede {
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.55;
  color: rgba(255,255,255,.88);
  max-width: 38ch;
  margin: 0 0 32px;
}
.bm3-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.bm3-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  min-height: 50px;
  border: 1.5px solid currentColor;
  background: transparent;
  color: var(--bm3-ink);
  font-family: var(--bm3-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none !important;
  cursor: pointer;
  transition: background var(--bm3-fast) var(--bm3-ease), color var(--bm3-fast) var(--bm3-ease), border-color var(--bm3-fast) var(--bm3-ease);
}
.bm3-btn:hover { background: var(--bm3-ink); color: #fff !important; border-color: var(--bm3-ink); }
.bm3-btn--solid { background: var(--bm3-ink); color: #fff !important; }
.bm3-btn--solid:hover { background: var(--bm3-terra); border-color: var(--bm3-terra); }
.bm3-btn--ghost-light { color: #fff !important; border-color: rgba(255,255,255,.6); }
.bm3-btn--ghost-light:hover { background: #fff; color: var(--bm3-ink) !important; border-color: #fff; }
.bm3-btn--terra { background: var(--bm3-terra); border-color: var(--bm3-terra); color: #fff !important; }
.bm3-btn--terra:hover { background: var(--bm3-ink); border-color: var(--bm3-ink); }
.bm3-btn .bm3-arrow { transition: transform var(--bm3-fast) var(--bm3-ease); display: inline-block; }
.bm3-btn:hover .bm3-arrow { transform: translateX(4px); }

/* ============================================================
 * MARQUEE — Slow horizontal scroll of brand names
 * ============================================================ */
.bm3-marquee {
  background: var(--bm3-ink);
  color: #fff;
  padding: 16px 0;
  overflow: hidden;
  border-block: 1px solid var(--bm3-ink);
}
.bm3-marquee__track {
  display: flex; align-items: center; gap: 64px;
  white-space: nowrap;
  animation: bm3-marquee 38s linear infinite;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.bm3-marquee__track:hover { animation-play-state: paused; }
.bm3-marquee__track span { color: rgba(255,255,255,.92); }
.bm3-marquee__track .bm3-dot {
  width: 4px; height: 4px; background: var(--bm3-terra); border-radius: 999px; flex: 0 0 auto;
}
@keyframes bm3-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
 * SECTION HEADER — editorial chapter style
 * ============================================================ */
.bm3-section {
  padding: clamp(72px, 12vh, 160px) clamp(20px, 5vw, 64px);
  max-width: 1640px; margin: 0 auto;
}
.bm3-section--tight { padding-block: clamp(48px, 7vh, 96px); }
.bm3-section--beige { background: var(--bm3-stone-100); }
.bm3-section--dark { background: var(--bm3-ink); color: #fff; }
.bm3-shead {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 32px;
  margin-bottom: clamp(40px, 6vh, 72px);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--bm3-hairline);
}
.bm3-section--dark .bm3-shead { border-color: rgba(255,255,255,.15); }
.bm3-shead__num {
  font-family: var(--bm3-serif); font-style: italic;
  font-size: 14px; font-weight: 400;
  color: var(--bm3-stone-500);
  letter-spacing: 0;
}
.bm3-shead__title {
  font-family: var(--bm3-sans);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin: 0;
  color: inherit;
}
.bm3-shead__title em {
  font-family: var(--bm3-serif); font-style: italic; font-weight: 400;
}
.bm3-shead__link {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: inherit;
  text-decoration: none;
  display: inline-flex; gap: 8px; align-items: center;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  transition: color var(--bm3-fast), border-color var(--bm3-fast);
}
.bm3-shead__link:hover { color: var(--bm3-terra); border-color: var(--bm3-terra); }

/* ============================================================
 * BENTO CATEGORIES — asymmetric tile grid
 * ============================================================ */
.bm3-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, clamp(220px, 28vw, 360px));
  gap: 4px;
}
.bm3-tile {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(20px, 2.6vw, 36px);
  text-decoration: none !important;
  color: #fff;
  isolation: isolate;
  min-height: 220px;
}
.bm3-tile::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  background-image: var(--bm3-bg, none);
  transition: transform 1.2s var(--bm3-ease-out);
}
.bm3-tile::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.65) 100%);
  transition: opacity var(--bm3-fast) var(--bm3-ease);
}
.bm3-tile:hover::before { transform: scale(1.06); }
.bm3-tile:hover::after { opacity: .8; }
.bm3-tile__inner { position: relative; z-index: 2; }
.bm3-tile__eyebrow {
  font-size: 10px; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase;
  color: rgba(255,255,255,.78);
  margin: 0 0 10px;
}
.bm3-tile__name {
  font-family: var(--bm3-sans);
  font-size: clamp(22px, 2.6vw, 36px);
  font-weight: 600;
  line-height: 1.0; letter-spacing: -0.02em;
  margin: 0 0 6px;
  color: #fff;
}
.bm3-tile__meta {
  font-size: 12px; font-weight: 500;
  color: rgba(255,255,255,.85);
  display: inline-flex; align-items: center; gap: 8px;
}
.bm3-tile__meta::after {
  content: '→'; transition: transform var(--bm3-fast) var(--bm3-ease);
}
.bm3-tile:hover .bm3-tile__meta::after { transform: translateX(4px); }

/* Bento spans */
.bm3-tile--xl { grid-column: span 2; grid-row: span 2; }
.bm3-tile--wide { grid-column: span 2; }
.bm3-tile--tall { grid-row: span 2; }

/* ============================================================
 * PRODUCT GRID — refined cards
 * ============================================================ */
.bm3-pgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 24px;
}
.bm3-pcard {
  display: block;
  text-decoration: none !important;
  color: var(--bm3-ink);
}
.bm3-pcard__img {
  display: block;
  aspect-ratio: 4 / 5;
  background: var(--bm3-stone-100);
  overflow: hidden;
  position: relative;
  margin-bottom: 16px;
}
.bm3-pcard__img img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transition: transform .9s var(--bm3-ease-out);
}
.bm3-pcard:hover .bm3-pcard__img img { transform: scale(1.04); }
.bm3-pcard__brand {
  font-size: 10px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--bm3-stone-500);
  margin: 0 0 6px;
}
.bm3-pcard__name {
  font-family: var(--bm3-sans);
  font-size: 15px; font-weight: 600;
  letter-spacing: -0.005em;
  margin: 0 0 4px;
  color: var(--bm3-ink);
}
.bm3-pcard__price {
  font-size: 14px; font-weight: 500; color: var(--bm3-ink-soft);
}

/* ============================================================
 * EDITORIAL NOTE — Aesop-style pull quote
 * ============================================================ */
.bm3-note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.bm3-note__photo {
  aspect-ratio: 4 / 5;
  background-size: cover; background-position: center;
  background-image: var(--bm3-bg, none);
}
.bm3-note__copy { max-width: 52ch; }
.bm3-note__eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--bm3-stone-500); margin: 0 0 24px;
}
.bm3-note__title {
  font-family: var(--bm3-serif);
  font-style: italic; font-weight: 400;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.018em;
  margin: 0 0 32px;
  color: var(--bm3-ink);
}
.bm3-note__body {
  font-size: 16px; line-height: 1.65;
  color: var(--bm3-ink-soft);
  margin: 0 0 28px;
}

/* ============================================================
 * STAT LINE — single-row hairline-bordered facts
 * ============================================================ */
.bm3-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--bm3-hairline);
  border-bottom: 1px solid var(--bm3-hairline);
  margin: 0;
}
.bm3-stats__cell {
  padding: 32px clamp(16px, 2vw, 32px);
  border-right: 1px solid var(--bm3-hairline);
  display: flex; flex-direction: column; gap: 4px;
}
.bm3-stats__cell:last-child { border-right: 0; }
.bm3-stats__num {
  font-family: var(--bm3-sans);
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 600; letter-spacing: -0.02em;
  color: var(--bm3-ink);
}
.bm3-stats__num em {
  font-family: var(--bm3-serif); font-style: italic; font-weight: 400;
  color: var(--bm3-terra);
}
.bm3-stats__label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bm3-stone-500);
}

/* ============================================================
 * SUBSCRIPTION — Asymmetric editorial promo
 * ============================================================ */
.bm3-sub {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.bm3-sub__photo {
  aspect-ratio: 5 / 6;
  background-size: cover; background-position: center;
  background-image: var(--bm3-bg, none);
  position: relative;
}
.bm3-sub__sticker {
  position: absolute; top: 24px; left: 24px;
  width: 88px; height: 88px;
  background: var(--bm3-terra);
  border-radius: 999px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; text-align: center;
  transform: rotate(-8deg);
  box-shadow: 0 16px 40px rgba(196,74,46,.32);
}
.bm3-sub__sticker strong { font-size: 24px; font-weight: 800; line-height: 1; }
.bm3-sub__sticker span { font-size: 9px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; margin-top: 4px; }
.bm3-sub__points {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; margin: 32px 0;
}
.bm3-sub__point { padding: 18px 0; border-top: 1px solid var(--bm3-hairline); }
.bm3-sub__point strong { display: block; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 4px; }
.bm3-sub__point span { font-size: 12px; font-weight: 500; letter-spacing: 0.04em; color: var(--bm3-stone-500); }

/* ============================================================
 * BRAND ROSTER — Refined typographic grid
 * ============================================================ */
.bm3-roster {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0;
  border-top: 1px solid var(--bm3-hairline);
  border-left: 1px solid var(--bm3-hairline);
}
.bm3-roster__cell {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 5 / 3;
  border-right: 1px solid var(--bm3-hairline);
  border-bottom: 1px solid var(--bm3-hairline);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--bm3-ink);
  text-decoration: none !important;
  text-align: center; padding: 12px;
  transition: background var(--bm3-fast), color var(--bm3-fast);
}
.bm3-roster__cell:hover { background: var(--bm3-ink); color: #fff; }

/* ============================================================
 * NEWSLETTER FOOTER CTA
 * ============================================================ */
.bm3-news {
  position: relative;
  background: var(--bm3-ink);
  color: #fff;
  padding: clamp(72px, 12vh, 140px) clamp(20px, 5vw, 64px);
  text-align: center;
  overflow: hidden;
}
.bm3-news::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(196,74,46,.18), transparent 60%);
  pointer-events: none;
}
.bm3-news__inner { position: relative; max-width: 720px; margin: 0 auto; }
.bm3-news__eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase;
  color: rgba(255,255,255,.7); margin: 0 0 20px;
}
.bm3-news__title {
  font-family: var(--bm3-sans);
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 600; line-height: 1.0; letter-spacing: -0.03em;
  margin: 0 0 12px;
  color: #fff;
}
.bm3-news__title em { font-family: var(--bm3-serif); font-style: italic; font-weight: 400; color: var(--bm3-terra-soft); }
.bm3-news__lede {
  font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.78);
  max-width: 48ch; margin: 0 auto 32px;
}
.bm3-news__form {
  display: flex; gap: 8px;
  max-width: 480px; margin: 0 auto;
  border: 1.5px solid rgba(255,255,255,.5);
  padding: 6px;
  background: rgba(255,255,255,.03);
}
.bm3-news__form input {
  flex: 1; background: transparent; border: 0; outline: 0;
  color: #fff;
  padding: 12px 14px;
  font-size: 14px;
  font-family: var(--bm3-sans);
}
.bm3-news__form input::placeholder { color: rgba(255,255,255,.5); }
.bm3-news__form button {
  background: #fff; color: var(--bm3-ink);
  border: 0; padding: 0 24px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  cursor: pointer;
  transition: background var(--bm3-fast);
}
.bm3-news__form button:hover { background: var(--bm3-terra); color: #fff; }
.bm3-news__small {
  font-size: 11px; color: rgba(255,255,255,.5);
  letter-spacing: 0.04em; margin: 16px 0 0;
}

/* ============================================================
 * CATEGORY ARCHIVE HERO + GRID
 * ============================================================ */
.bm3-cat-hero {
  padding: clamp(56px, 9vh, 120px) clamp(20px, 5vw, 64px) clamp(40px, 6vh, 72px);
  max-width: 1640px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  border-bottom: 1px solid var(--bm3-hairline);
}
.bm3-cat-hero__crumb {
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bm3-stone-500); margin: 0 0 20px;
}
.bm3-cat-hero__crumb a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; }
.bm3-cat-hero__crumb a:hover { border-color: currentColor; }
.bm3-cat-hero__title {
  font-family: var(--bm3-sans);
  font-size: clamp(40px, 7vw, 100px);
  font-weight: 600; line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 16px;
  color: var(--bm3-ink);
}
.bm3-cat-hero__title em {
  font-family: var(--bm3-serif); font-style: italic; font-weight: 400;
}
.bm3-cat-hero__lede {
  font-size: 16px; line-height: 1.55;
  color: var(--bm3-ink-soft);
  max-width: 52ch;
  margin: 0;
}
.bm3-cat-hero__count {
  font-family: var(--bm3-serif); font-style: italic;
  font-size: clamp(20px, 2vw, 28px);
  color: var(--bm3-stone-500);
  white-space: nowrap;
}
.bm3-cat-hero__count strong {
  font-family: var(--bm3-sans); font-style: normal; font-weight: 600;
  color: var(--bm3-ink);
}

/* ----- restyle WooCommerce native loop containers ----- */
.woocommerce-page.archive .woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 40px 24px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: auto !important;
}
.woocommerce-page.archive .woocommerce ul.products::before,
.woocommerce-page.archive .woocommerce ul.products::after { display: none !important; }
.woocommerce-page.archive .woocommerce ul.products li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}
.woocommerce-page.archive .woocommerce ul.products li.product .woocommerce-loop-product__link {
  display: block; text-decoration: none !important; color: var(--bm3-ink) !important;
}
.woocommerce-page.archive .woocommerce ul.products li.product img {
  aspect-ratio: 4 / 5 !important;
  object-fit: cover !important;
  width: 100% !important; height: auto !important;
  margin: 0 0 16px !important;
  background: var(--bm3-stone-100);
  transition: transform .9s var(--bm3-ease-out);
}
.woocommerce-page.archive .woocommerce ul.products li.product:hover img { transform: scale(1.03); }
.woocommerce-page.archive .woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--bm3-sans) !important;
  font-size: 15px !important; font-weight: 600 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.005em !important;
  padding: 0 !important;
  margin: 0 0 4px !important;
  color: var(--bm3-ink) !important;
}
.woocommerce-page.archive .woocommerce ul.products li.product .price {
  font-family: var(--bm3-sans) !important;
  font-size: 14px !important; font-weight: 500 !important;
  color: var(--bm3-ink-soft) !important;
}
.woocommerce-page.archive .woocommerce ul.products li.product .price ins { background: none !important; text-decoration: none !important; }
.woocommerce-page.archive .woocommerce ul.products li.product .button.add_to_cart_button {
  display: inline-block !important;
  padding: 10px 16px !important;
  background: transparent !important;
  border: 1px solid var(--bm3-ink) !important;
  color: var(--bm3-ink) !important;
  font-size: 11px !important; font-weight: 700 !important; letter-spacing: 0.16em !important; text-transform: uppercase !important;
  border-radius: 0 !important;
  margin-top: 12px !important;
  transition: background var(--bm3-fast), color var(--bm3-fast) !important;
}
.woocommerce-page.archive .woocommerce ul.products li.product .button.add_to_cart_button:hover {
  background: var(--bm3-ink) !important; color: #fff !important;
}

/* Wrap archive-product main in centered max-width */
body.tax-product_cat .ct-container,
body.post-type-archive-product .ct-container { max-width: 1640px !important; }

/* Page title block — kill old WC + Blocksy display, we render our own */
body.tax-product_cat .page-title,
body.post-type-archive-product .page-title,
body.tax-product_cat .woocommerce-products-header,
body.post-type-archive-product .woocommerce-products-header,
body.tax-product_cat .term-description,
body.post-type-archive-product .term-description { display: none !important; }

/* ============================================================
 * RESPONSIVE
 * ============================================================ */
@media (max-width: 1100px) {
  .bm3-bento { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(auto, clamp(220px, 38vw, 320px)); }
  .bm3-tile--xl { grid-column: span 2; grid-row: span 1; }
  .bm3-pgrid { grid-template-columns: repeat(3, 1fr); }
  .woocommerce-page.archive .woocommerce ul.products { grid-template-columns: repeat(3, 1fr) !important; }
  .bm3-roster { grid-template-columns: repeat(4, 1fr); }
  .bm3-stats { grid-template-columns: repeat(2, 1fr); }
  .bm3-stats__cell:nth-child(2) { border-right: 0; }
  .bm3-stats__cell:nth-child(1), .bm3-stats__cell:nth-child(2) { border-bottom: 1px solid var(--bm3-hairline); }
}
@media (max-width: 768px) {
  .bm3-hero__inner { grid-template-columns: 1fr; gap: 24px; padding-bottom: 60px; }
  .bm3-hero__meta { top: 16px; right: 16px; font-size: 10px; }
  .bm3-shead { grid-template-columns: 1fr; gap: 12px; }
  .bm3-shead__link { justify-self: start; }
  .bm3-note, .bm3-sub { grid-template-columns: 1fr; gap: 32px; }
  .bm3-bento { grid-template-columns: 1fr; }
  .bm3-tile { min-height: 280px; }
  .bm3-pgrid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .woocommerce-page.archive .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 24px 16px !important; }
  .bm3-roster { grid-template-columns: repeat(2, 1fr); }
  .bm3-news__form { flex-direction: column; padding: 8px; }
  .bm3-news__form button { padding: 14px 24px; }
  .bm3-cat-hero { grid-template-columns: 1fr; }
}

/* ============================================================
 * REVEAL ON SCROLL — subtle, intersection-observer triggered
 * ============================================================ */
.bm3-reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--bm3-ease-out), transform .9s var(--bm3-ease-out); }
.bm3-reveal.is-in { opacity: 1; transform: translateY(0); }

/* Stronger overrides for Blocksy/Woo auto-emitted category descriptions */
body.tax-product_cat .woocommerce-products-header,
body.tax-product_cat .archive-description,
body.tax-product_cat .term-description,
body.tax-product_cat .page-description,
body.tax-product_cat .ct-banner,
body.tax-product_cat header.entry-header,
body.tax-product_cat .ct-archive-hero,
body.post-type-archive-product .woocommerce-products-header,
body.post-type-archive-product .archive-description,
body.post-type-archive-product .ct-banner,
body.post-type-archive-product .ct-archive-hero,
body.post-type-archive-product header.entry-header { display: none !important; }

body.tax-product_cat .bm3-cat-hero,
body.post-type-archive-product .bm3-cat-hero { display: grid !important; }

body.tax-product_cat .woocommerce-notices-wrapper,
body.post-type-archive-product .woocommerce-notices-wrapper { display: none; }
body.tax-product_cat main.entry-content,
body.post-type-archive-product main.entry-content { padding-top: 40px !important; }
body.tax-product_cat .ct-container,
body.post-type-archive-product .ct-container { padding-top: 0 !important; }

/* Hide Blocksy default page hero on archive/category pages — we render our own bm3-cat-hero */
body.tax-product_cat .hero-section,
body.post-type-archive-product .hero-section,
body.archive .hero-section { display: none !important; }

/* ============================================================
 * BREWMART v3.5 — real-product category cards + product strip
 * ============================================================ */
.bm3-cats35 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.bm3-cat35 {
  display: flex; flex-direction: column;
  text-decoration: none !important;
  color: var(--bm3-ink);
  background: var(--bm3-paper);
  border: 1px solid var(--bm3-hairline);
  transition: transform var(--bm3-med) var(--bm3-ease), box-shadow var(--bm3-med) var(--bm3-ease), border-color var(--bm3-fast);
}
.bm3-cat35:hover {
  transform: translateY(-4px);
  border-color: var(--bm3-ink);
  box-shadow: 0 18px 40px -20px rgba(10,10,10,.18);
}
.bm3-cat35__img {
  aspect-ratio: 1 / 1;
  background-color: var(--bm3-stone-100);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.bm3-cat35__img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 60%, rgba(247,245,241,.65) 100%);
  pointer-events: none;
}
.bm3-cat35__img--empty {
  background: linear-gradient(135deg, var(--bm3-stone-100), var(--bm3-stone-200));
}
.bm3-cat35__body {
  padding: 28px 24px 32px;
  display: flex; flex-direction: column;
  flex: 1;
}
.bm3-cat35__eyebrow {
  font-size: 10px; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--bm3-stone-500); margin: 0 0 12px;
}
.bm3-cat35__name {
  font-family: var(--bm3-sans);
  font-size: 26px; font-weight: 600;
  line-height: 1.05; letter-spacing: -0.025em;
  margin: 0 0 8px;
  color: var(--bm3-ink);
}
.bm3-cat35__lede {
  font-size: 13px; line-height: 1.5;
  color: var(--bm3-stone-700);
  margin: 0 0 24px;
  flex: 1;
}
.bm3-cat35__link {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bm3-ink);
  display: inline-flex; align-items: center; gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--bm3-ink);
  align-self: flex-start;
  transition: gap var(--bm3-fast);
}
.bm3-cat35:hover .bm3-cat35__link { color: var(--bm3-terra); border-color: var(--bm3-terra); }
.bm3-cat35:hover .bm3-cat35__link .bm3-arrow { transform: translateX(4px); }

/* Featured strip — 4-up product cards with real photos */
.bm3-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 24px;
}
.bm3-pcard35 {
  display: flex; flex-direction: column;
  text-decoration: none !important;
  color: var(--bm3-ink);
  gap: 0;
}
.bm3-pcard35__img {
  aspect-ratio: 4 / 5;
  background-color: var(--bm3-stone-100);
  background-size: cover;
  background-position: center;
  margin-bottom: 16px;
  transition: transform .9s var(--bm3-ease-out);
}
.bm3-pcard35:hover .bm3-pcard35__img { transform: scale(1.025); }
.bm3-pcard35__brand {
  font-size: 10px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--bm3-stone-500); margin: 0 0 6px;
}
.bm3-pcard35__name {
  font-family: var(--bm3-sans);
  font-size: 15px; font-weight: 600;
  letter-spacing: -0.005em; line-height: 1.3;
  margin: 0 0 4px;
  color: var(--bm3-ink);
}
.bm3-pcard35__price {
  font-size: 14px; font-weight: 500;
  color: var(--bm3-ink-soft);
  margin: 0;
}
.bm3-pcard35__price .woocommerce-Price-amount { color: var(--bm3-ink-soft); }

@media (max-width: 1100px) {
  .bm3-cats35 { grid-template-columns: repeat(3, 1fr); }
  .bm3-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .bm3-cats35 { grid-template-columns: 1fr; gap: 16px; }
  .bm3-strip { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
}

/* Refined hero — softer, less zoom-heavy */
.bm3-hero { min-height: clamp(540px, 88vh, 880px); }
.bm3-hero__photo { animation: none; }
.bm3-hero__title { font-size: clamp(40px, 6.5vw, 96px); letter-spacing: -0.035em; }

/* ============================================================
 * BREWMART v3.6 — Rounded edges, polished product page, cleaner cards
 * ============================================================ */

/* Add radius to every key surface — softer, more modern */
.bm3-hero { border-radius: 0; }  /* keep hero edge-to-edge */
.bm3-marquee { border-radius: 0; }
.bm3-stats { border-radius: 14px; overflow: hidden; }
.bm3-stats__cell:first-child { border-top-left-radius: 14px; border-bottom-left-radius: 14px; }
.bm3-stats__cell:last-child { border-top-right-radius: 14px; border-bottom-right-radius: 14px; }
.bm3-cat35 { border-radius: 16px; overflow: hidden; }
.bm3-cat35__img { border-radius: 0; }
.bm3-tile { border-radius: 14px; overflow: hidden; }
.bm3-pcard35__img,
.bm3-pcard__img { border-radius: 12px; }
.bm3-roster { border-radius: 14px; overflow: hidden; }
.bm3-note__photo { border-radius: 14px; }
.bm3-sub__photo { border-radius: 14px; }
.bm3-news { border-radius: 18px; margin: 0 clamp(20px, 5vw, 64px) clamp(20px, 5vw, 64px); }
.bm3-cat-hero__count strong { display: inline-block; }
.bm3-btn { border-radius: 999px; }                    /* pill buttons */
.bm3-btn,
.bm3-news__form button { border-radius: 999px; }
.bm3-news__form { border-radius: 999px; padding: 4px 4px 4px 16px; }
.bm3-news__form input { border-radius: 0; }
.bm3-sub__sticker { border-radius: 999px; }
.bm3-roster__cell { border-radius: 0; }
.bm3-cat-hero { border-radius: 0; }

/* WC product card buttons — pill rounded */
.woocommerce-page.archive .woocommerce ul.products li.product .button.add_to_cart_button {
  border-radius: 999px !important;
  padding: 10px 22px !important;
}
.woocommerce-page.archive .woocommerce ul.products li.product img {
  border-radius: 12px !important;
}

/* Newsletter input refinement (now pill) */
.bm3-news__form { gap: 0; }
.bm3-news__form button { padding: 0 28px; }

/* ============================================================
 * SINGLE PRODUCT PAGE — Lululemon/Tailwind UI-style 2-column layout
 * ============================================================ */
@media (min-width: 900px) {
  body.single-product div.product {
    display: grid !important;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    max-width: 1400px;
    margin: 32px auto !important;
    padding: 0 clamp(20px, 4vw, 48px);
  }
  body.single-product div.product .woocommerce-product-gallery {
    width: 100% !important;
    grid-column: 1;
    grid-row: 1;
    margin: 0 !important;
    float: none !important;
  }
  body.single-product div.product .summary {
    width: 100% !important;
    grid-column: 2;
    grid-row: 1;
    margin: 0 !important;
    float: none !important;
    position: sticky;
    top: 100px;
    align-self: start;
  }
  body.single-product div.product .woocommerce-tabs {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 64px !important;
  }
  body.single-product div.product .related,
  body.single-product div.product .upsells {
    grid-column: 1 / -1;
    grid-row: 3;
  }
}
body.single-product div.product .woocommerce-product-gallery img,
body.single-product div.product .flex-control-thumbs li img {
  border-radius: 14px !important;
}
body.single-product div.product .product_title {
  font-family: var(--bm3-sans);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 16px !important;
  text-transform: none !important;
  color: var(--bm3-ink);
}
body.single-product div.product .price {
  font-family: var(--bm3-sans);
  font-size: 24px !important;
  font-weight: 500 !important;
  color: var(--bm3-ink) !important;
  margin-bottom: 24px !important;
}
body.single-product div.product .woocommerce-product-details__short-description,
body.single-product div.product .summary > p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--bm3-ink-soft);
  max-width: 100%;
}
body.single-product div.product .summary ul {
  font-size: 14px;
  line-height: 1.7;
  padding-left: 18px;
  margin: 16px 0 24px;
}
body.single-product div.product form.cart {
  margin: 24px 0 !important;
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
body.single-product div.product form.cart .quantity input.qty {
  border: 1px solid var(--bm3-hairline-strong);
  border-radius: 999px;
  padding: 12px 16px;
  width: 76px;
  font-size: 14px;
  text-align: center;
}
body.single-product div.product form.cart button.single_add_to_cart_button {
  background: var(--bm3-ink) !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 14px 32px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  border: 0 !important;
  flex: 1;
  min-width: 200px;
  transition: background var(--bm3-fast);
}
body.single-product div.product form.cart button.single_add_to_cart_button:hover {
  background: var(--bm3-terra) !important;
}
body.single-product div.product .product_meta {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--bm3-hairline);
  font-size: 12px;
  color: var(--bm3-stone-500);
}
body.single-product div.product .product_meta > span { display: block; margin: 4px 0; }

/* Product tabs (Description / Additional Info / Reviews) */
body.single-product .woocommerce-tabs ul.tabs {
  border-bottom: 1px solid var(--bm3-hairline) !important;
  padding: 0 !important;
  margin: 0 0 32px !important;
}
body.single-product .woocommerce-tabs ul.tabs li {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  margin: 0 24px 0 0 !important;
  padding: 0 !important;
}
body.single-product .woocommerce-tabs ul.tabs li::before,
body.single-product .woocommerce-tabs ul.tabs li::after { display: none !important; }
body.single-product .woocommerce-tabs ul.tabs li a {
  display: inline-block !important;
  padding: 12px 0 16px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: var(--bm3-stone-500) !important;
  border-bottom: 2px solid transparent !important;
  margin-bottom: -1px !important;
}
body.single-product .woocommerce-tabs ul.tabs li.active a {
  color: var(--bm3-ink) !important;
  border-bottom-color: var(--bm3-ink) !important;
}
body.single-product .woocommerce-tabs .panel {
  max-width: 800px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--bm3-ink-soft);
}
body.single-product .woocommerce-tabs .panel ul {
  padding-left: 18px;
}

/* Sticky add-to-bar refinement (Blocksy bottom bar) */
body.single-product .brewmart-sticky-buy,
body.single-product .ct-sticky-add-to-cart {
  border-radius: 999px !important;
  margin: 12px !important;
  box-shadow: 0 12px 40px -12px rgba(0,0,0,.25) !important;
  overflow: hidden;
}

/* ============================================================
 * CATEGORY NAV STRIP — prominent below header
 * ============================================================ */
.bm3-catnav {
  background: var(--bm3-paper);
  border-bottom: 1px solid var(--bm3-hairline);
  padding: 12px clamp(20px, 5vw, 64px);
  position: relative;
  z-index: 10;
}
.bm3-catnav__inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 1640px;
  margin: 0 auto;
}
.bm3-catnav__inner::-webkit-scrollbar { display: none; }
.bm3-catnav a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--bm3-hairline);
  border-radius: 999px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--bm3-ink);
  text-decoration: none !important;
  white-space: nowrap;
  transition: background var(--bm3-fast), color var(--bm3-fast), border-color var(--bm3-fast);
}
.bm3-catnav a:hover,
.bm3-catnav a.is-active {
  background: var(--bm3-ink); color: #fff; border-color: var(--bm3-ink);
}
.bm3-catnav a span.bm3-catnav__count {
  font-size: 10px; opacity: .65; font-weight: 500;
}

/* ============================================================
 * v3.6 fix — Blocksy wraps Woo gallery+summary in .product-entry-wrapper
 * Apply 2-col grid there, not on div.product
 * ============================================================ */
@media (min-width: 900px) {
  body.single-product div.product { display: block !important; }
  body.single-product div.product .product-entry-wrapper {
    display: grid !important;
    grid-template-columns: 1.05fr 1fr !important;
    gap: 56px !important;
    max-width: 1400px;
    margin: 32px auto !important;
    padding: 0 clamp(20px, 4vw, 48px) !important;
    align-items: start;
  }
  body.single-product div.product .product-entry-wrapper.is-width-constrained { max-width: 1400px !important; }
  body.single-product div.product .product-entry-wrapper > .woocommerce-product-gallery {
    grid-column: 1; grid-row: 1;
    width: 100% !important; float: none !important; margin: 0 !important;
  }
  body.single-product div.product .product-entry-wrapper > .summary,
  body.single-product div.product .product-entry-wrapper > .entry-summary {
    grid-column: 2; grid-row: 1;
    width: 100% !important; float: none !important; margin: 0 !important;
    position: sticky; top: 100px; align-self: start;
  }
  body.single-product div.product .product-entry-wrapper > .woocommerce-tabs,
  body.single-product div.product .woocommerce-tabs {
    grid-column: 1 / -1;
    max-width: 1400px;
    margin: 80px auto 0 !important;
    padding: 0 clamp(20px, 4vw, 48px) !important;
  }
}

/* Apple Pay / Google Pay / Link buttons — keep them styled but smaller */
body.single-product .wc-stripe-payment-request-button-source,
body.single-product .wc-stripe-payment-request-button {
  border-radius: 999px !important;
  overflow: hidden;
  margin: 6px 0 !important;
}
body.single-product #wc-stripe-payment-request-button { max-height: 48px !important; }

/* Mute the or divider between cart and express pay */
body.single-product .wc-stripe-payment-request-wrapper { margin: 16px 0 !important; }
