/* brewery.css — Brasserie du Phare site styles
   Maritime artisanal: cream paper, deep teal, wood accents, hand-cut feel.
   Selectors prefixed .bp- to avoid colliding with canvas chrome. */

/* ─── Tokens (overridable via inline style on .bp-site root via Tweaks) ─── */
.bp-site {
  --bp-paper: #f5ecd6;
  --bp-paper-deep: #ecdfba;
  --bp-ink: #1b3a3a;
  --bp-ink-soft: #3a4f4f;
  --bp-teal: #1a5d5d;
  --bp-teal-bright: #2e8c8c;
  --bp-teal-soft: #a8cdc8;
  --bp-wood: #8a5a2b;
  --bp-wood-light: #c9a878;
  --bp-sand: #e8d9b0;
  --bp-red: #c75147;
  --bp-blue: #2c5a91;
  --bp-orange: #d17944;
  --bp-cream: #fbf4df;
  --bp-rule: rgba(27, 58, 58, 0.18);

  --bp-font-display: 'DM Serif Display', 'Cormorant Garamond', Georgia, serif;
  --bp-font-label:   'Oswald', 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --bp-font-body:    'DM Sans', 'Work Sans', system-ui, sans-serif;
  --bp-font-script:  'Caveat', 'Mansalva', cursive;

  --bp-shadow-card: 0 1px 0 rgba(0,0,0,0.04), 0 8px 24px rgba(27,58,58,0.08);

  background: var(--bp-paper);
  color: var(--bp-ink);
  font-family: var(--bp-font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
  contain: paint;
}

/* Paper texture — subtle dot-noise overlay, fixed in viewport-of-frame */
.bp-site::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 25% 30%, rgba(138,90,43,0.04) 0, transparent 1px),
    radial-gradient(circle at 75% 70%, rgba(27,58,58,0.04) 0, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(138,90,43,0.03) 0, transparent 1px);
  background-size: 7px 7px, 11px 11px, 5px 5px;
  z-index: 0;
}
.bp-site > * { position: relative; z-index: 1; }

/* ─── Typography helpers ─── */
.bp-eyebrow {
  font-family: var(--bp-font-label);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 500;
  font-size: 12px;
  color: var(--bp-teal);
}
.bp-display {
  font-family: var(--bp-font-display);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--bp-ink);
}
.bp-script {
  font-family: var(--bp-font-script);
  color: var(--bp-teal);
}
.bp-rule {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--bp-teal);
  font-family: var(--bp-font-label);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 11px;
}
.bp-rule::before, .bp-rule::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

/* ─── Nav ─── */
.bp-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 236, 214, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--bp-rule);
}
.bp-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  max-width: 1320px;
  margin: 0 auto;
  gap: 24px;
}
.bp-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.bp-nav-brand img { width: 28px; height: 42px; object-fit: contain; }
.bp-nav-brand .bp-nav-name {
  font-family: var(--bp-font-label);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 14px;
  color: var(--bp-teal);
  line-height: 1;
}
.bp-nav-brand .bp-nav-tag {
  font-family: var(--bp-font-script);
  font-size: 14px;
  color: var(--bp-wood);
  margin-top: 2px;
  line-height: 1;
}
.bp-nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.bp-nav-links a {
  font-family: var(--bp-font-label);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
  color: var(--bp-ink);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  padding-bottom: 3px;
  transition: color .15s;
}
.bp-nav-links a:hover, .bp-nav-links a.active {
  color: var(--bp-teal);
}
.bp-nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--bp-teal);
}
.bp-cart-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bp-teal);
  color: var(--bp-cream);
  border: none;
  padding: 9px 16px;
  border-radius: 999px;
  font-family: var(--bp-font-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  cursor: pointer;
  font-weight: 500;
  transition: background .15s, transform .15s;
}
.bp-cart-btn:hover { background: var(--bp-ink); transform: translateY(-1px); }
.bp-cart-btn .bp-cart-count {
  background: var(--bp-cream);
  color: var(--bp-teal);
  font-weight: 700;
  border-radius: 999px;
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  padding: 0 5px;
  letter-spacing: 0;
}
.bp-nav-burger {
  display: none;
  background: transparent;
  border: 0;
  padding: 6px;
  cursor: pointer;
  color: var(--bp-ink);
}

/* ─── Buttons ─── */
.bp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bp-teal);
  color: var(--bp-cream);
  border: none;
  padding: 14px 26px;
  font-family: var(--bp-font-label);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 4px;
  transition: background .15s, transform .15s;
}
.bp-btn:hover { background: var(--bp-ink); transform: translateY(-1px); }
.bp-btn.ghost {
  background: transparent;
  color: var(--bp-teal);
  border: 1.5px solid var(--bp-teal);
}
.bp-btn.ghost:hover { background: var(--bp-teal); color: var(--bp-cream); }
.bp-btn.wood { background: var(--bp-wood); }
.bp-btn.wood:hover { background: #6b4a2b; }
.bp-btn.block { width: 100%; justify-content: center; }
.bp-btn.lg { padding: 16px 32px; font-size: 14px; }

/* ─── Hero ─── */
.bp-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 32px 100px;
  background:
    radial-gradient(ellipse 80% 60% at 50% -20%, var(--bp-teal-soft) 0%, transparent 70%),
    var(--bp-paper);
}
.bp-hero-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.bp-hero-copy h1 {
  font-family: var(--bp-font-display);
  font-size: clamp(48px, 6.5vw, 96px);
  line-height: 0.92;
  margin: 24px 0 20px;
  letter-spacing: -0.02em;
}
.bp-hero-copy h1 em {
  font-style: italic;
  color: var(--bp-teal);
}
.bp-hero-copy .lede {
  font-size: 19px;
  color: var(--bp-ink-soft);
  max-width: 460px;
  margin-bottom: 32px;
}
.bp-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.bp-hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bp-teal-soft);
  box-shadow: var(--bp-shadow-card);
}
.bp-hero-visual img {
  width: 100%; height: 100%; object-fit: cover;
}
.bp-hero-stamp {
  position: absolute;
  top: 24px; right: 24px;
  width: 96px; height: 96px;
  background: var(--bp-cream);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--bp-font-label);
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--bp-teal);
  border: 1.5px solid var(--bp-teal);
  line-height: 1.3;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transform: rotate(-8deg);
}
.bp-hero-stamp strong {
  display: block;
  font-family: var(--bp-font-display);
  font-size: 22px;
  letter-spacing: 0;
  color: var(--bp-teal);
  margin: 2px 0;
}

/* Decorative SVG waves between sections */
.bp-waves {
  display: block;
  width: 100%;
  height: 50px;
  color: var(--bp-paper);
}

/* ─── Section primitives ─── */
.bp-section {
  padding: 96px 32px;
  max-width: 1320px;
  margin: 0 auto;
}
.bp-section.tight { padding: 64px 32px; }
.bp-section.wide  { max-width: 1480px; }
.bp-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.bp-section-head h2 {
  font-family: var(--bp-font-display);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  margin: 12px 0 0;
  max-width: 18ch;
  letter-spacing: -0.01em;
}
.bp-section-head .lede {
  max-width: 380px;
  color: var(--bp-ink-soft);
  font-size: 16px;
}

/* ─── Beer grid (catalogue cards) ─── */
.bp-beer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.bp-beer-card {
  background: var(--bp-cream);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  border: 1px solid var(--bp-rule);
  transition: transform .2s, box-shadow .2s;
  position: relative;
}
.bp-beer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--bp-shadow-card);
}
.bp-beer-card-img {
  aspect-ratio: 4 / 3;
  background: var(--bp-paper-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.bp-beer-card-img img { width: 100%; height: 100%; object-fit: cover; }
.bp-beer-card-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.bp-beer-card-body h3 {
  font-family: var(--bp-font-display);
  font-size: 22px;
  margin: 0;
  line-height: 1.15;
}
.bp-beer-card-body .style {
  font-family: var(--bp-font-label);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  color: var(--bp-ink-soft);
}
.bp-beer-card-body .abv-pill {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--bp-cream);
  color: var(--bp-ink);
  font-family: var(--bp-font-label);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.08em;
}
.bp-beer-card-body .price-row {
  margin-top: 12px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px dashed var(--bp-rule);
  padding-top: 12px;
}
.bp-beer-card-body .price {
  font-family: var(--bp-font-display);
  font-size: 20px;
  color: var(--bp-teal);
  white-space: nowrap;
}
.bp-beer-card-body .price-row small {
  font-size: 11px;
  color: var(--bp-ink-soft);
  font-family: var(--bp-font-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ─── Featured big beer (home) ─── */
.bp-featured {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
  background: var(--bp-cream);
  border-radius: 8px;
  padding: 48px;
  border: 1px solid var(--bp-rule);
}
.bp-featured-img {
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bp-paper-deep);
}
.bp-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.bp-featured h3 {
  font-family: var(--bp-font-display);
  font-size: 44px;
  line-height: 1;
  margin: 16px 0;
}
.bp-featured .desc { color: var(--bp-ink-soft); margin-bottom: 24px; }

/* ─── Story / about strips ─── */
.bp-story {
  background: var(--bp-ink);
  color: var(--bp-cream);
  padding: 100px 32px;
  position: relative;
  overflow: hidden;
}
.bp-story::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, transparent 0 80px, rgba(255,255,255,0.02) 80px 81px);
  pointer-events: none;
}
.bp-story-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}
.bp-story-img {
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  overflow: hidden;
}
.bp-story-img img { width: 100%; height: 100%; object-fit: cover; }
.bp-story h2 {
  font-family: var(--bp-font-display);
  font-size: 56px;
  line-height: 1;
  margin: 16px 0 24px;
  color: var(--bp-cream);
}
.bp-story p { color: rgba(251, 244, 223, 0.75); font-size: 17px; }
.bp-story .bp-eyebrow { color: var(--bp-teal-soft); }
.bp-story-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid rgba(251, 244, 223, 0.18);
}
.bp-story-stats .stat strong {
  display: block;
  font-family: var(--bp-font-display);
  font-size: 38px;
  color: var(--bp-teal-soft);
  line-height: 1;
}
.bp-story-stats .stat span {
  font-family: var(--bp-font-label);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  color: rgba(251, 244, 223, 0.65);
  margin-top: 6px;
  display: block;
}

/* ─── Events ─── */
.bp-events {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.bp-event {
  background: var(--bp-cream);
  border: 1px solid var(--bp-rule);
  border-radius: 6px;
  padding: 24px 24px 28px;
  display: flex;
  gap: 18px;
}
.bp-event-date {
  flex: 0 0 auto;
  width: 64px;
  text-align: center;
  border-right: 1px solid var(--bp-rule);
  padding-right: 18px;
}
.bp-event-date .d {
  font-family: var(--bp-font-display);
  font-size: 38px;
  line-height: 1;
  color: var(--bp-teal);
}
.bp-event-date .m {
  font-family: var(--bp-font-label);
  letter-spacing: 0.16em;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--bp-ink-soft);
  margin-top: 4px;
  display: block;
}
.bp-event-body h4 {
  font-family: var(--bp-font-display);
  font-size: 20px;
  margin: 2px 0 6px;
  line-height: 1.2;
}
.bp-event-body .meta {
  font-family: var(--bp-font-label);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  color: var(--bp-teal);
}
.bp-event-body p {
  font-size: 14px;
  color: var(--bp-ink-soft);
  margin: 8px 0 0;
}

/* ─── Resellers table ─── */
.bp-resellers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0;
  background: var(--bp-cream);
  border: 1px solid var(--bp-rule);
  border-radius: 6px;
  overflow: hidden;
}
.bp-reseller {
  padding: 22px 26px;
  border-right: 1px solid var(--bp-rule);
  border-bottom: 1px solid var(--bp-rule);
}
.bp-reseller h5 {
  font-family: var(--bp-font-display);
  font-size: 19px;
  margin: 0 0 6px;
}
.bp-reseller .kind {
  font-family: var(--bp-font-label);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  color: var(--bp-teal);
}
.bp-reseller .city {
  font-size: 14px;
  color: var(--bp-ink-soft);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ─── Footer ─── */
.bp-footer {
  background: var(--bp-ink);
  color: rgba(251, 244, 223, 0.7);
  padding: 64px 32px 32px;
}
.bp-footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
.bp-footer h6 {
  font-family: var(--bp-font-label);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  color: var(--bp-teal-soft);
  margin: 0 0 16px;
  font-weight: 500;
}
.bp-footer a { color: rgba(251, 244, 223, 0.85); text-decoration: none; display: block; padding: 4px 0; cursor: pointer; font-size: 14px; }
.bp-footer a:hover { color: var(--bp-teal-soft); }
.bp-footer-brand {
  display: flex; gap: 14px; align-items: flex-start;
}
.bp-footer-brand img { width: 48px; height: 72px; object-fit: contain; }
.bp-footer-brand h4 {
  font-family: var(--bp-font-display);
  color: var(--bp-cream);
  margin: 0 0 4px;
  font-size: 24px;
}
.bp-footer-brand p { font-size: 14px; margin: 0; max-width: 30ch; }
.bp-footer-bottom {
  max-width: 1320px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(251, 244, 223, 0.12);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--bp-font-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ─── Beer detail page ─── */
.bp-detail {
  padding: 48px 32px 96px;
  max-width: 1320px;
  margin: 0 auto;
}
.bp-breadcrumb {
  font-family: var(--bp-font-label);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  color: var(--bp-ink-soft);
  margin-bottom: 24px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.bp-breadcrumb a { color: var(--bp-teal); text-decoration: none; cursor: pointer; }
.bp-detail-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
}
.bp-detail-img-wrap {
  background: var(--bp-paper-deep);
  border-radius: 6px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
}
.bp-detail-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.bp-detail h1 {
  font-family: var(--bp-font-display);
  font-size: 64px;
  line-height: 0.95;
  margin: 12px 0 16px;
  letter-spacing: -0.02em;
}
.bp-detail .style-pill {
  display: inline-block;
  font-family: var(--bp-font-label);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  background: var(--bp-cream);
  color: var(--bp-teal);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--bp-rule);
  margin-right: 8px;
}
.bp-detail-desc { font-size: 17px; color: var(--bp-ink-soft); margin: 20px 0 28px; }
.bp-format-picker {
  display: grid;
  gap: 10px;
  margin: 24px 0 28px;
}
.bp-format {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--bp-cream);
  border: 1.5px solid var(--bp-rule);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color .15s;
}
.bp-format.selected { border-color: var(--bp-teal); background: #fffaeb; }
.bp-format .label { font-family: var(--bp-font-label); text-transform: uppercase; letter-spacing: 0.14em; font-size: 13px; font-weight: 500; }
.bp-format .price { font-family: var(--bp-font-display); font-size: 22px; color: var(--bp-teal); white-space: nowrap; }
.bp-qty {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--bp-rule);
  border-radius: 999px;
  overflow: hidden;
}
.bp-qty button {
  background: transparent;
  border: 0;
  width: 38px;
  height: 44px;
  cursor: pointer;
  font-size: 18px;
  color: var(--bp-ink);
}
.bp-qty span { padding: 0 12px; font-weight: 600; min-width: 28px; text-align: center; }
.bp-detail-cta {
  display: flex;
  gap: 14px;
  align-items: center;
}
.bp-detail-info {
  margin-top: 40px;
  border-top: 1px solid var(--bp-rule);
  padding-top: 28px;
  display: grid;
  gap: 18px;
}
.bp-detail-info dt {
  font-family: var(--bp-font-label);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  color: var(--bp-teal);
  margin-bottom: 4px;
}
.bp-detail-info dd { margin: 0; font-size: 14px; line-height: 1.55; color: var(--bp-ink-soft); }

/* ─── Cart sheet (drawer) ─── */
.bp-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27,58,58,0.32);
  z-index: 100;
  display: flex;
  justify-content: flex-end;
  animation: bp-fade .2s ease;
}
@keyframes bp-fade { from { opacity: 0; } to { opacity: 1; } }
.bp-cart-sheet {
  background: var(--bp-paper);
  width: 420px;
  max-width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  animation: bp-slide .25s ease;
}
@keyframes bp-slide { from { transform: translateX(100%); } to { transform: translateX(0); } }
.bp-cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  border-bottom: 1px solid var(--bp-rule);
}
.bp-cart-head h3 { font-family: var(--bp-font-display); font-size: 26px; margin: 0; }
.bp-cart-close {
  background: transparent;
  border: 0;
  font-size: 22px;
  cursor: pointer;
  color: var(--bp-ink);
  padding: 4px 8px;
}
.bp-cart-list { flex: 1; overflow-y: auto; padding: 12px 28px; }
.bp-cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--bp-rule);
  align-items: center;
}
.bp-cart-item img { width: 64px; height: 80px; object-fit: cover; border-radius: 4px; background: var(--bp-paper-deep); }
.bp-cart-item h5 { font-family: var(--bp-font-display); font-size: 16px; margin: 0; line-height: 1.2; }
.bp-cart-item .fmt { font-family: var(--bp-font-label); text-transform: uppercase; letter-spacing: 0.12em; font-size: 10px; color: var(--bp-ink-soft); margin-top: 2px; }
.bp-cart-item .row {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 6px;
}
.bp-cart-item .row .price { font-family: var(--bp-font-display); color: var(--bp-teal); font-size: 17px; white-space: nowrap; }
.bp-cart-item button.del {
  background: transparent; border: 0; color: var(--bp-ink-soft); font-size: 12px; cursor: pointer;
  font-family: var(--bp-font-label); letter-spacing: 0.12em; text-transform: uppercase;
}
.bp-cart-item button.del:hover { color: var(--bp-red); }
.bp-cart-empty {
  text-align: center;
  padding: 64px 32px;
  color: var(--bp-ink-soft);
}
.bp-cart-empty h4 {
  font-family: var(--bp-font-display);
  font-size: 24px;
  color: var(--bp-ink);
  margin: 16px 0 8px;
}
.bp-cart-foot {
  padding: 22px 28px 28px;
  border-top: 1px solid var(--bp-rule);
  background: var(--bp-cream);
}
.bp-cart-foot .total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 14px;
}
.bp-cart-foot .total b { font-family: var(--bp-font-display); font-size: 28px; color: var(--bp-ink); white-space: nowrap; }
.bp-cart-foot small { font-size: 11px; color: var(--bp-ink-soft); display: block; margin-top: 10px; text-align: center; }

/* ─── Checkout ─── */
.bp-checkout {
  padding: 48px 32px 96px;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
}
.bp-checkout h2 { font-family: var(--bp-font-display); font-size: 40px; margin: 0 0 28px; line-height: 1; }
.bp-fieldset { margin-bottom: 32px; }
.bp-fieldset legend {
  font-family: var(--bp-font-label);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  color: var(--bp-teal);
  margin-bottom: 14px;
  font-weight: 500;
}
.bp-field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}
.bp-field label {
  font-family: var(--bp-font-label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  color: var(--bp-ink-soft);
}
.bp-field input, .bp-field textarea, .bp-field select {
  padding: 12px 14px;
  background: var(--bp-cream);
  border: 1.5px solid var(--bp-rule);
  border-radius: 5px;
  font-family: inherit;
  font-size: 15px;
  color: var(--bp-ink);
  outline: none;
  transition: border-color .15s;
}
.bp-field input:focus, .bp-field textarea:focus, .bp-field select:focus {
  border-color: var(--bp-teal);
}
.bp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bp-method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.bp-method {
  border: 1.5px solid var(--bp-rule);
  background: var(--bp-cream);
  border-radius: 6px;
  padding: 18px 20px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.bp-method.selected { border-color: var(--bp-teal); background: #fffaeb; }
.bp-method strong {
  font-family: var(--bp-font-display);
  font-size: 18px;
  display: block;
  margin-bottom: 4px;
}
.bp-method small { color: var(--bp-ink-soft); font-size: 13px; }
.bp-summary {
  background: var(--bp-cream);
  border: 1px solid var(--bp-rule);
  border-radius: 6px;
  padding: 28px;
  position: sticky;
  top: 100px;
  align-self: flex-start;
}
.bp-summary h3 { font-family: var(--bp-font-display); margin: 0 0 16px; font-size: 24px; }
.bp-summary-line { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 6px 0; color: var(--bp-ink-soft); }
.bp-summary-line > span:last-child { white-space: nowrap; }
.bp-summary-line.item { color: var(--bp-ink); }
.bp-summary hr { border: 0; border-top: 1px dashed var(--bp-rule); margin: 12px 0; }
.bp-summary .total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; }
.bp-summary .total b { font-family: var(--bp-font-display); font-size: 28px; color: var(--bp-teal); white-space: nowrap; }

/* ─── Confirmation ─── */
.bp-confirm {
  padding: 96px 32px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.bp-confirm-seal {
  width: 96px; height: 96px;
  margin: 0 auto 24px;
  background: var(--bp-teal);
  color: var(--bp-cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}
.bp-confirm h1 { font-family: var(--bp-font-display); font-size: 48px; margin: 0 0 16px; line-height: 1; }
.bp-confirm p { font-size: 17px; color: var(--bp-ink-soft); margin: 0 0 8px; }
.bp-confirm .order { font-family: var(--bp-font-label); letter-spacing: 0.16em; text-transform: uppercase; font-size: 13px; color: var(--bp-teal); margin-top: 32px; }

/* ─── Histoire / About page ─── */
.bp-about-hero {
  padding: 96px 32px 64px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.bp-about-hero h1 {
  font-family: var(--bp-font-display);
  font-size: clamp(56px, 7vw, 96px);
  line-height: 0.95;
  margin: 16px 0 24px;
  letter-spacing: -0.02em;
}
.bp-about-hero .lede { font-size: 19px; color: var(--bp-ink-soft); max-width: 600px; margin: 0 auto; }
.bp-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1320px;
  margin: 64px auto;
  padding: 0 32px;
}
.bp-about-grid.flip > :first-child { order: 2; }
.bp-about-grid img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 6px; }
.bp-about-grid h3 {
  font-family: var(--bp-font-display);
  font-size: 36px;
  line-height: 1.1;
  margin: 14px 0 16px;
}
.bp-about-grid p { color: var(--bp-ink-soft); font-size: 17px; }

/* Brewer portraits */
.bp-brewers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px 96px;
}
.bp-brewer {
  background: var(--bp-cream);
  border: 1px solid var(--bp-rule);
  border-radius: 6px;
  padding: 28px;
  text-align: center;
}
.bp-brewer img {
  width: 120px; height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 18px;
  border: 3px solid var(--bp-paper);
}
.bp-brewer h4 { font-family: var(--bp-font-display); font-size: 22px; margin: 0 0 4px; }
.bp-brewer .role { font-family: var(--bp-font-label); text-transform: uppercase; letter-spacing: 0.14em; font-size: 11px; color: var(--bp-teal); margin-bottom: 12px; }
.bp-brewer p { font-size: 14px; color: var(--bp-ink-soft); margin: 0; }

/* Contact page */
.bp-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 32px 96px;
}
.bp-map {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--bp-teal-soft), var(--bp-paper-deep));
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--bp-rule);
}
.bp-info-list { display: grid; gap: 22px; }
.bp-info-list .row { display: flex; gap: 16px; }
.bp-info-list .row .icon {
  width: 44px; height: 44px; flex: 0 0 auto;
  background: var(--bp-cream);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--bp-teal);
  border: 1px solid var(--bp-rule);
}
.bp-info-list .row h5 { font-family: var(--bp-font-label); text-transform: uppercase; letter-spacing: 0.16em; font-size: 11px; color: var(--bp-ink-soft); margin: 0 0 4px; }
.bp-info-list .row p { margin: 0; }
.bp-hours { display: grid; gap: 6px; font-size: 14px; }
.bp-hours .h-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--bp-rule); }
.bp-hours .h-row.closed { color: var(--bp-ink-soft); }
.bp-hours .day { font-family: var(--bp-font-label); text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; }

/* Mobile (when site rendered inside .bp-site[data-mode="mobile"]) */
.bp-site[data-mode="mobile"] .bp-nav-row { padding: 12px 16px; }
.bp-site[data-mode="mobile"] .bp-nav-links { display: none; }
.bp-site[data-mode="mobile"] .bp-nav-burger { display: flex; }
.bp-site[data-mode="mobile"] .bp-section { padding: 56px 20px; }
.bp-site[data-mode="mobile"] .bp-hero { padding: 32px 20px 64px; }
.bp-site[data-mode="mobile"] .bp-hero-inner { grid-template-columns: 1fr; gap: 32px; }
.bp-site[data-mode="mobile"] .bp-hero-copy h1 { font-size: 46px; }
.bp-site[data-mode="mobile"] .bp-featured { grid-template-columns: 1fr; padding: 28px; gap: 24px; }
.bp-site[data-mode="mobile"] .bp-featured h3 { font-size: 32px; }
.bp-site[data-mode="mobile"] .bp-story { padding: 64px 20px; }
.bp-site[data-mode="mobile"] .bp-story-inner { grid-template-columns: 1fr; gap: 32px; }
.bp-site[data-mode="mobile"] .bp-story h2 { font-size: 36px; }
.bp-site[data-mode="mobile"] .bp-detail { padding: 24px 20px 64px; }
.bp-site[data-mode="mobile"] .bp-detail-grid { grid-template-columns: 1fr; gap: 28px; }
.bp-site[data-mode="mobile"] .bp-detail h1 { font-size: 40px; }
.bp-site[data-mode="mobile"] .bp-checkout { grid-template-columns: 1fr; gap: 28px; padding: 28px 20px 56px; }
.bp-site[data-mode="mobile"] .bp-summary { position: relative; top: 0; }
.bp-site[data-mode="mobile"] .bp-about-grid { grid-template-columns: 1fr; gap: 28px; }
.bp-site[data-mode="mobile"] .bp-about-grid.flip > :first-child { order: 0; }
.bp-site[data-mode="mobile"] .bp-contact-grid { grid-template-columns: 1fr; gap: 32px; padding: 32px 20px 64px; }
.bp-site[data-mode="mobile"] .bp-footer { padding: 48px 20px 24px; }
.bp-site[data-mode="mobile"] .bp-footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
.bp-site[data-mode="mobile"] .bp-section-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 32px; }
.bp-site[data-mode="mobile"] .bp-section-head h2 { font-size: 32px; }
.bp-site[data-mode="mobile"] .bp-beer-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
.bp-site[data-mode="mobile"] .bp-beer-card-body { padding: 14px 14px 18px; }
.bp-site[data-mode="mobile"] .bp-beer-card-body h3 { font-size: 17px; }
.bp-site[data-mode="mobile"] .bp-cart-sheet { width: 100%; }
.bp-site[data-mode="mobile"] .bp-row { grid-template-columns: 1fr; }
.bp-site[data-mode="mobile"] .bp-resellers { grid-template-columns: 1fr; }
.bp-site[data-mode="mobile"] .bp-events { grid-template-columns: 1fr; }
.bp-site[data-mode="mobile"] .bp-confirm h1 { font-size: 36px; }
.bp-site[data-mode="mobile"] .bp-about-hero { padding: 56px 20px 32px; }
.bp-site[data-mode="mobile"] .bp-about-hero h1 { font-size: 42px; }
.bp-site[data-mode="mobile"] .bp-brewers { padding: 0 20px 64px; }

/* Mobile burger menu drawer */
.bp-mobile-menu {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--bp-paper);
  border-bottom: 1px solid var(--bp-rule);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 8px 24px rgba(27,58,58,0.1);
}
.bp-mobile-menu a {
  font-family: var(--bp-font-label);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 14px;
  color: var(--bp-ink);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px dashed var(--bp-rule);
  cursor: pointer;
}
.bp-mobile-menu a.active { color: var(--bp-teal); }
