/* ==========================================================================
   পল্লী বাজার — design system
   Tokens, components and layout taken from the approved storefront design.
   Layered over Bootstrap: Bootstrap supplies the grid and a few behaviours,
   everything visual below is ours.
   ========================================================================== */

:root {
  /* Brand */
  /* Brand Guideline (static/logo/Palli Bazar Brand Guidelines-1.png):
     Forest Green #17613C, Leaf Green #4CAF50, Sunrise Gold #F39C12,
     Pure White #FFFFFF. The dark/deep/tint steps are shades of those,
     not separate colours. */
  --pb-green: #17613C;
  --pb-green-dark: #104A2D;
  --pb-green-deep: #0A2E1C;
  /* Leaf green — the mark's highlight; accents only, never body text. */
  --pb-leaf: #4CAF50;
  --pb-green-tint: #E6EFE3;
  --pb-green-tint-2: #EAF3EC;
  --pb-green-tint-3: #F1F6EF;
  --pb-gold: #F39C12;
  /* Sunrise gold fails contrast as text, so anything typographic uses the
     dark step instead of the brand swatch itself. */
  --pb-gold-dark: #B9710A;
  --pb-gold-light: #F8C56B;
  --pb-gold-tint: #FBF1DC;
  --pb-plum: #A3305A;
  /* Order-list card accents: the steps an order passes through. */
  --pb-blue: #2F6FB3;
  --pb-teal: #138577;
  --pb-plum-dark: #86244A;
  --pb-plum-tint: #F3D9E1;
  --pb-plum-tint-2: #F2E8F0;
  --pb-plum-soft: #E9B8C9;
  --pb-plum-ink: #3A1A28;
  --pb-sky: #8FD6F6;
  --pb-sky-mid: #5FB8E8;
  --pb-sky-deep: #3B96CE;
  --pb-navy: #0B2A4A;

  /* Ink */
  --pb-ink: #1E2A20;
  --pb-ink-2: #2C3A2D;
  --pb-ink-3: #3A463B;
  --pb-ink-soft: #4C584D;
  --pb-muted: #5E6B5F;
  --pb-danger: #B4442E;
  --pb-danger-dark: #8A2E1C;

  /* Surfaces */
  --pb-bg: #F7F7F4;
  --pb-surface: #ffffff;
  --pb-line: #E2E2DA;
  --pb-line-soft: #ECECE6;
  --pb-line-softer: #F0F0EB;
  --pb-hover: #EEEEE8;

  /* Feedback — every notice, status and empty state reads from these,
     so no component hard-codes a state colour. */
  --pb-success: var(--pb-green);
  --pb-success-tint: var(--pb-green-tint-2);
  --pb-success-ink: var(--pb-green-dark);
  --pb-danger-tint: #FBECE8;
  --pb-danger-ink: #8A2E1C;
  /* "Heads up", not "something broke" — amber keeps advisory notices on
     brand instead of dropping a generic blue into a green/gold palette. */
  --pb-info: var(--pb-gold-dark);
  --pb-info-tint: #FBF1DF;
  --pb-info-ink: #7A4E08;

  /* Type */
  --pb-font-display: 'Anek Bangla', 'Hind Siliguri', system-ui, sans-serif;
  --pb-font-body: 'Hind Siliguri', system-ui, -apple-system, sans-serif;

  /* Shape */
  --pb-radius-sm: 10px;
  --pb-radius: 12px;
  --pb-radius-lg: 18px;
  --pb-radius-card: 22px;
  --pb-radius-panel: 28px;
  --pb-pill: 999px;
  --pb-circle: 50%;

  /* Neutral top-light sheen for tinted discs and swatches — not a brand
     colour, just the highlight that keeps a flat fill from looking printed. */
  --pb-sheen: linear-gradient(168deg, rgba(255, 255, 255, .40), rgba(255, 255, 255, 0) 58%);

  /* Elevation */
  --pb-shadow-card: 0 1px 2px rgba(20, 30, 22, .04), 0 6px 20px rgba(20, 30, 22, .04);
  --pb-shadow-hover: 0 20px 44px rgba(20, 30, 22, .12);
  --pb-shadow-hero: 0 20px 50px rgba(20, 30, 22, .08);
  --pb-shadow-float: 0 4px 14px rgba(0, 0, 0, .12);

  /* Rhythm */
  --pb-container: 1280px;
  --pb-gutter: 32px;

  --pb-ease: cubic-bezier(.4, 0, .2, 1);

  /* Back office chrome — the rail is the brand's deepest forest step so
     the panel reads as Palli Bazar, not as a generic dark admin theme. */
  --pb-admin-bg: #F4F5F1;
  --pb-admin-line: #E3E6DF;
  --pb-admin-side: var(--pb-green-deep);
  --pb-admin-side-ink: #C9D7CC;
  --pb-admin-side-mute: #8FA595;
  --pb-admin-side-hover: rgba(255, 255, 255, .07);
  --pb-admin-side-active: rgba(76, 175, 80, .18);
  --pb-admin-side-rule: rgba(255, 255, 255, .08);
  --pb-admin-scrim: rgba(10, 46, 28, .45);
  --pb-admin-rail: 264px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--pb-bg);
  font-family: var(--pb-font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--pb-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}

h1, h2, h3, h4, .pb-display {
  font-family: var(--pb-font-display);
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.22;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(27px, 3.4vw, 38px); }
h2 { font-size: clamp(23px, 2.6vw, 34px); }
h3 { font-size: clamp(18px, 1.6vw, 21px); }

p { margin: 0; text-wrap: pretty; }

a { color: var(--pb-green); text-decoration: none; transition: color .18s var(--pb-ease); }
a:hover { color: var(--pb-green-dark); text-decoration: underline; }

img, svg { max-width: 100%; }
img { height: auto; }

input, select, button, textarea { font-family: inherit; font-size: inherit; }

/* Visible focus for keyboard users, invisible for mouse users. */
:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--pb-green) 55%, transparent);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Brand-tinted selection instead of the browser's default blue. */
::selection { background: color-mix(in srgb, var(--pb-green) 22%, transparent); color: var(--pb-ink); }

::placeholder { color: var(--pb-muted); opacity: 1; }

/* The header is sticky, so anything linked to by #id must clear it. */
:target, [id] { scroll-margin-top: 96px; }

html { scroll-behavior: smooth; }

/* Screen-reader-only text. */
.pb-sr {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* Skip link — first thing a keyboard or screen-reader user meets. */
.pb-skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--pb-green); color: #fff; padding: 10px 18px;
  border-radius: var(--pb-radius); font-weight: 600;
  transition: top .2s var(--pb-ease);
}
.pb-skip:focus { top: 16px; color: #fff; text-decoration: none; }

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.pb-shell { min-height: 100vh; display: flex; flex-direction: column; }
.pb-main { flex: 1; }

.pb-container {
  max-width: var(--pb-container);
  margin-inline: auto;
  padding-inline: var(--pb-gutter);
}

/* Page intro: the heading-plus-standfirst block that opens a listing,
   the vendor index, the outlet map and the error pages. It was repeated
   as inline styles on each of those; it lives here now. */
.pb-lede { max-width: 68ch; margin-bottom: 24px; }
.pb-lede > p {
  margin-top: 8px; font-size: 16px; color: var(--pb-ink-3);
}
.pb-lede--center { margin-inline: auto; text-align: center; }

/* Vertical rhythm without a wrapper div per gap. */
.pb-stack { display: flex; flex-direction: column; gap: 20px; }
.pb-stack--sm { gap: 10px; }
.pb-stack--lg { gap: 28px; }

.pb-section { padding-block: 40px; }
.pb-section--tight { padding-block: 24px; }
.pb-section--flush-top { padding-top: 0; }

.pb-section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 16px; flex-wrap: wrap; margin-bottom: 18px;
}
.pb-section-head p { color: var(--pb-muted); font-size: 14.5px; margin-top: 2px; }

.pb-link-more { font-weight: 600; color: var(--pb-green); white-space: nowrap; }

.pb-page-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  /* One gap between every control, so buttons placed side by side never touch. */
  gap: 12px;
  margin-bottom: 16px;
}
/* The sort menu stands a little apart from the action buttons after it. */
.pb-page-actions form,
.pb-order-sort-form,
.pb-page-actions .pb-dropdown {
  margin-inline-end: 8px;
}
.pb-page-actions .pb-btn {
  min-height: 42px;
  height: 42px;
  padding: 0 18px;
  font-size: 14px;
}

.pb-dropdown {
  position: relative;
}
.pb-dropdown summary {
  list-style: none;
  cursor: pointer;
}
.pb-dropdown summary::-webkit-details-marker {
  display: none;
}
.pb-dropdown > .pb-select {
  display: inline-flex;
  align-items: center;
  width: 195px;
  user-select: none;
}
.pb-dropdown__value {
  overflow: hidden;
  padding-right: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pb-dropdown[open] summary {
  border-color: var(--pb-green);
  box-shadow: 0 0 0 3px var(--pb-green-tint);
}
.pb-dropdown__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 195px;
  width: max-content;
  max-width: 260px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--pb-line);
  border-radius: var(--pb-radius);
  box-shadow: 0 10px 24px rgba(10, 46, 28, .12);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pb-dropdown__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border-radius: calc(var(--pb-radius) - 2px);
  color: var(--pb-ink);
  font-size: 13.5px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s ease, color .15s ease;
}
.pb-dropdown__item:hover {
  background: var(--pb-green-tint-3);
  color: var(--pb-green-deep);
  text-decoration: none;
}
.pb-dropdown__item.is-active {
  background: var(--pb-green-tint);
  color: var(--pb-green-deep);
  font-weight: 600;
}

.pb-panel {
  background: var(--pb-surface);
  border: 1px solid rgba(20, 30, 22, .05);
  border-radius: var(--pb-radius-panel);
  box-shadow: var(--pb-shadow-card);
  padding: 28px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.pb-btn {
  --pb-btn-bg: var(--pb-green);
  --pb-btn-fg: #fff;
  --pb-btn-bg-hover: var(--pb-green-dark);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px;
  border: 0; border-radius: var(--pb-radius);
  background: var(--pb-btn-bg); color: var(--pb-btn-fg);
  font-size: 15.5px; font-weight: 600; line-height: 1;
  cursor: pointer; text-align: center;
  transition: background-color .2s var(--pb-ease), transform .15s var(--pb-ease), box-shadow .2s var(--pb-ease);
}
.pb-btn:hover {
  background: var(--pb-btn-bg-hover); color: var(--pb-btn-fg); text-decoration: none;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--pb-btn-bg) 26%, transparent);
}
.pb-btn:active { transform: translateY(1px); box-shadow: none; }
.pb-btn[disabled], .pb-btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }

.pb-btn--pill { border-radius: var(--pb-pill); }
.pb-btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.pb-btn--lg { min-height: 52px; padding: 0 28px; font-size: 16.5px; }
.pb-btn--block { width: 100%; }

.pb-btn--dark { --pb-btn-bg: var(--pb-ink); --pb-btn-bg-hover: #000; }
/* Sunrise gold is too light to carry white text, so gold fills take ink
   lettering; the hover step is dark enough for white and flips back. */
.pb-btn--gold { --pb-btn-bg: var(--pb-gold); --pb-btn-fg: var(--pb-green-deep); --pb-btn-bg-hover: var(--pb-gold-dark); }
.pb-btn--gold:hover { --pb-btn-fg: #fff; }
.pb-btn--plum { --pb-btn-bg: var(--pb-plum); --pb-btn-bg-hover: var(--pb-plum-dark); }
.pb-btn--whatsapp { --pb-btn-bg: #1FA855; --pb-btn-bg-hover: #178443; }
.pb-btn--danger { --pb-btn-bg: var(--pb-danger); --pb-btn-bg-hover: var(--pb-danger-ink); }
.pb-btn--ghost {
  --pb-btn-bg: transparent; --pb-btn-fg: var(--pb-ink); --pb-btn-bg-hover: var(--pb-hover);
  border: 1px solid var(--pb-line);
}
.pb-btn--tint { --pb-btn-bg: var(--pb-green-tint); --pb-btn-fg: var(--pb-green); --pb-btn-bg-hover: var(--pb-green-tint-2); }
/* The quiet variants stay flat — only a solid button earns the lift. */
.pb-btn--ghost:hover, .pb-btn--tint:hover { box-shadow: none; }

/* Icon-only square button, as in the header actions. */
.pb-icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex-shrink: 0;
  border: 0; border-radius: var(--pb-radius);
  background: transparent; color: var(--pb-ink); cursor: pointer;
  transition: background-color .2s var(--pb-ease);
}
.pb-icon-btn:hover { background: var(--pb-hover); color: var(--pb-ink); }

/* --------------------------------------------------------------------------
   Pills, badges and chips
   -------------------------------------------------------------------------- */

.pb-pill {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 600;
  padding: 3px 10px; border-radius: var(--pb-pill);
  background: var(--pb-surface); color: var(--pb-green);
}
.pb-pill--verified { background: var(--pb-green-tint); color: var(--pb-green); }
.pb-pill--preorder { background: var(--pb-ink-2); color: var(--pb-gold-light); }
.pb-pill--organic { background: #fff; color: var(--pb-green); }
.pb-pill--plum { background: #fff; color: var(--pb-plum); font-weight: 700; font-size: 13px; padding: 4px 12px; }
.pb-pill--tint { background: #fff; color: var(--pb-green); font-weight: 700; font-size: 13px; padding: 4px 12px; }

.pb-chip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 0 16px;
  border: 1px solid var(--pb-line); border-radius: var(--pb-pill);
  background: var(--pb-surface); color: var(--pb-ink);
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background-color .2s var(--pb-ease), border-color .2s var(--pb-ease), color .2s var(--pb-ease);
}
.pb-chip:hover { border-color: var(--pb-green); color: var(--pb-green); text-decoration: none; }
.pb-chip[aria-current="true"], .pb-chip.is-active {
  background: var(--pb-ink); border-color: var(--pb-ink); color: #fff;
}

.pb-chip-row--spaced { margin-bottom: 24px; }
.pb-chip-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Top strip, header and nav
   -------------------------------------------------------------------------- */

.pb-strip {
  background: var(--pb-green-deep); color: #C9D8C8;
  font-size: 12.5px; letter-spacing: .01em;
}
.pb-strip .pb-container {
  display: flex; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; padding-block: 7px;
}
.pb-strip a { color: inherit; }
.pb-strip a:hover { color: #fff; }
.pb-strip-links { display: flex; gap: 22px; flex-wrap: wrap; }
.pb-partner-menu { position: relative; }
.pb-partner-menu summary { cursor: pointer; list-style: none; white-space: nowrap; }
.pb-partner-menu summary::-webkit-details-marker { display: none; }
.pb-partner-menu summary::after { content: "⌄"; margin-left: 5px; font-size: 11px; }
.pb-strip .pb-partner-menu[open] summary { color: #fff; }
.pb-nav--partner { color: var(--pb-green-dark) !important; font-weight: 600; }
.pb-nav--menu summary { padding: 10px 9px; font-size: 14px; color: var(--pb-green-dark); }
.pb-nav--menu[open] summary { color: var(--pb-green); }
.pb-nav--menu .pb-partner-menu__panel { top: calc(100% - 1px); right: auto; left: 0; }
.pb-partner-menu__panel {
  position: absolute; z-index: 20; top: calc(100% + 8px); right: 0; min-width: 220px;
  padding: 12px; background: #fff; color: var(--pb-ink); border: 1px solid var(--pb-border);
  border-radius: var(--pb-radius-card); box-shadow: var(--pb-shadow-card);
}
.pb-partner-menu__group { display: grid; gap: 2px; padding: 5px 0; }
.pb-partner-menu__group + .pb-partner-menu__group { margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--pb-border); }
.pb-partner-menu__group strong { padding: 4px 8px 6px; color: var(--pb-green-dark); font-size: 13px; }
.pb-partner-menu__group a { padding: 5px 8px; color: var(--pb-ink-2); }
.pb-partner-menu__group a:hover { color: var(--pb-green); background: var(--pb-green-tint-3); text-decoration: none; }

/* Language switcher — two short labels, so a segmented pill beats a <select>:
   one tap, no menu, and each language keeps its own readable URL. */
.pb-lang { display: flex; align-items: center; gap: 2px; }
.pb-lang__item {
  padding: 2px 8px; border-radius: 999px; line-height: 1.5;
  text-decoration: none; white-space: nowrap;
}
.pb-lang__item:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.pb-lang__item--on {
  background: rgba(255, 255, 255, .18); color: #fff; font-weight: 600;
}
.pb-lang__item:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }

.pb-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, .84);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(20, 30, 22, .06);
}
.pb-header__bar {
  display: flex; align-items: center; gap: 24px;
  padding-block: 14px;
}

.pb-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.pb-brand:hover { text-decoration: none; }
.pb-brand img {
  width: 46px; height: 46px; border-radius: var(--pb-radius);
  object-fit: cover; background: #fff; border: 1px solid var(--pb-line-soft);
}
.pb-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.pb-brand__name {
  font-family: var(--pb-font-display); font-weight: 600;
  font-size: 25px; color: var(--pb-green-dark);
}
.pb-brand__tagline { font-size: 11.5px; color: var(--pb-muted); }
/* The wordmark is a fixed image: natural proportions, none of the icon's white tile. */
.pb-brand .pb-brand__wordmark {
  width: auto; height: 40px; object-fit: contain;
  background: none; border: 0; border-radius: 0;
}

.pb-search {
  flex: 1; min-width: 0;
  display: flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 6px 0 18px;
  background: #fff; border: 1px solid var(--pb-line); border-radius: var(--pb-pill);
  transition: border-color .2s var(--pb-ease), box-shadow .2s var(--pb-ease);
}
.pb-search:focus-within {
  border-color: var(--pb-green);
  box-shadow: 0 0 0 3px var(--pb-green-tint);
}
.pb-search input {
  /* Stretch to the pill's full height so a tap anywhere in it focuses the field. */
  flex: 1; align-self: stretch; min-width: 0; border: 0; outline: 0;
  background: transparent; color: var(--pb-ink); font-size: 15px;
}
.pb-search button { height: 36px; min-height: 36px; padding: 0 18px; border-radius: var(--pb-pill); font-size: 14px; }

.pb-header__actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

.pb-bag {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 16px 0 12px;
  border: 0; border-radius: var(--pb-radius);
  background: var(--pb-ink); color: #fff;
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background-color .2s var(--pb-ease);
}
.pb-bag:hover { background: #000; color: #fff; text-decoration: none; }
.pb-bag__count {
  min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 11px; background: var(--pb-gold); color: #fff;
  font-size: 12.5px; display: inline-flex; align-items: center; justify-content: center;
}
.pb-bag__count.is-bumped { animation: pb-bump .35s var(--pb-ease); }

@keyframes pb-bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.pb-nav {
  display: flex; flex-wrap: wrap; align-items: center;
  padding-inline: calc(var(--pb-gutter) - 10px);
  min-height: 44px;
}
.pb-nav a {
  padding: 10px 9px; font-size: 14px; color: var(--pb-ink-3); white-space: nowrap;
}
.pb-nav a:hover { color: var(--pb-green); text-decoration: none; }
.pb-nav a.pb-nav--strong { font-size: 14.5px; font-weight: 600; color: var(--pb-green-dark); padding-inline: 12px; }
.pb-nav a.pb-nav--accent { font-size: 14.5px; font-weight: 700; color: var(--pb-gold); padding-inline: 12px; }
.pb-nav a[aria-current="page"] { color: var(--pb-gold-dark); font-weight: 700; }

.pb-nav--menu summary { display: flex; align-items: center; padding: 10px 9px; font-size: 14px; color: var(--pb-ink-3); }
.pb-nav .pb-nav--menu.is-current > summary,
.pb-nav .pb-nav--menu[open] > summary { color: var(--pb-gold-dark); font-weight: 700; }
.pb-nav--menu[open] > summary::after { transform: rotate(180deg); }
.pb-nav--menu summary::after { transition: transform .18s ease; }
.pb-nav--menu .pb-partner-menu__panel {
  top: calc(100% + 3px); min-width: 210px; padding: 12px 10px;
  border-color: rgba(20, 30, 22, .08); border-radius: 18px;
  box-shadow: 0 12px 30px rgba(20, 30, 22, .14);
}
.pb-nav--menu .pb-partner-menu__group a { padding: 8px 10px; border-radius: 8px; font-size: 13.5px; }
.pb-nav--menu .pb-partner-menu__group a:hover { background: #F4F7F2; }
.pb-nav .pb-nav__shop {
  display: inline-flex; align-items: center; justify-content: center;
  margin-inline-start: 8px; padding: 7px 16px; border-radius: 999px;
  background: var(--pb-green); color: #fff; font-weight: 600;
}
.pb-nav .pb-nav__shop:hover, .pb-nav .pb-nav__shop[aria-current="page"] { background: var(--pb-green-dark); color: #fff; }

.pb-nav-toggle {
  display: none; width: 40px; height: 40px; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; background: transparent; color: var(--pb-ink-2); cursor: pointer;
}
.pb-nav-toggle:hover { background: var(--pb-hover); }

/* --------------------------------------------------------------------------
   Hero carousel
   -------------------------------------------------------------------------- */

.pb-hero {
  position: relative; overflow: hidden;
  min-width: 0;
  border-radius: var(--pb-radius-panel);
  border: 1px solid rgba(20, 30, 22, .06);
  box-shadow: var(--pb-shadow-hero);
  isolation: isolate;
}
.pb-home-hero { padding-inline: 24px; }

/* The hero and the photo-card rail beside it. The rail is a fixed column so
   the hero keeps the whole of the remaining width on a wide screen, and the
   two rail decks split that height evenly between them. */
.pb-herorow {
  max-width: 1280px; margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) 400px;
  align-items: stretch; gap: 16px;
}
/* No published banner: the rail takes the row. Two classes so the breakpoint
   rules for .pb-herorow further down cannot bring the second column back. */
.pb-herorow.pb-herorow--solo { grid-template-columns: minmax(0, 1fr); }
/* The hero is stretched to the row by the grid, so its track has to be told
   to fill it — otherwise the slide stops at its own content height and the
   bottom of the panel is bare. */
.pb-herorow .pb-hero { display: grid; grid-template-rows: minmax(0, 1fr); }
.pb-herorow .pb-hero__track { height: 100%; }
.pb-herorow .pb-hero__slide { min-height: 340px; }
/* The rail takes a third of the width off the hero, so the headline is set a
   notch smaller here than it was across the full container. */
.pb-herorow .pb-hero__body { padding: 38px 42px 52px; }
.pb-herorow .pb-hero__body h2 { max-width: 15ch; font-size: clamp(26px, 2.5vw, 35px); }
/* Flex rather than two fixed grid rows: with the awareness deck empty the
   remaining card still takes the whole height instead of leaving a hole. */
.pb-rail { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.pb-rail > * { flex: 1 1 0; min-height: 0; }
.pb-hero__track {
  display: flex;
  transition: transform .6s cubic-bezier(.6, 0, .2, 1);
}
.pb-hero__slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  min-height: 362px;
}
.pb-hero__body {
  padding: 42px 48px 56px;
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
}
.pb-hero__body h2 { max-width: 13ch; font-size: clamp(28px, 3.2vw, 40px); }
.pb-hero__body p { font-size: 16.5px; max-width: 460px; }
.pb-hero__cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.pb-hero__note { font-size: 14px; }

.pb-hero__media { padding: 6px 6px 6px 0; }
.pb-hero__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--pb-radius-lg); display: block; }
.pb-hero__mosaic {
  display: grid; gap: 6px; padding: 6px 6px 6px 0;
  grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr;
}
.pb-hero__mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pb-hero__mosaic img:nth-child(1) { grid-row: 1 / span 2; border-radius: 18px 4px 4px 18px; }
.pb-hero__mosaic img:nth-child(2) { border-radius: 4px 18px 4px 4px; }
.pb-hero__mosaic img:nth-child(3) { border-radius: 4px 4px 18px 4px; }

/* Picture slides: the artwork is the whole slide, edge to edge, and the words
   are laid straight over it. A scrim of the slide's own deep colour fades in
   from the text side so white copy stays legible on any part of the picture;
   the gradients on the slide itself only show while the picture loads. */
.pb-hero__slide--art { position: relative; display: block; overflow: hidden; }
.pb-hero__slide--rose { --pb-scrim: var(--pb-plum-ink); background: linear-gradient(135deg, var(--pb-plum-tint) 0%, var(--pb-plum-soft) 100%); }
.pb-hero__slide--sky { --pb-scrim: var(--pb-navy); background: linear-gradient(180deg, var(--pb-sky) 0%, var(--pb-sky-deep) 100%); }
.pb-hero__art { position: absolute; inset: 0; z-index: 0; display: block; }
.pb-hero__art img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: right bottom;
  /* The products are enlarged so they run in under the copy rather than
     sitting in a separate panel beside it. */
  transform: scale(1.2); transform-origin: 78% 72%;
}
.pb-hero__slide--art::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--pb-scrim) 88%, transparent) 0%,
    color-mix(in srgb, var(--pb-scrim) 62%, transparent) 38%,
    transparent 72%);
}
.pb-hero__slide--art .pb-hero__body {
  position: relative; z-index: 2; height: 100%; max-width: 52%;
}
.pb-hero__slide--art .pb-hero__body h2 { max-width: 13ch; color: var(--pb-surface); line-height: 1.15; text-shadow: 0 2px 14px rgba(0, 0, 0, .35); }

/* Banner slides follow the reference: copy sits directly on the artwork, with
   a deep green fade behind it and no separate text card. */
.pb-hero__slide--banner { display: block; position: relative; overflow: hidden; background: var(--pb-green-tint-3); }
/* Where the box is squarer than 2:1 (tablet widths, 993-1200px) the crop comes
   off the right only: the banners print text right to their left edge. Desktop
   and phone are within a few pixels of 2:1, so nothing is lost there. */
.pb-hero__slide--banner img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.pb-hero__slide--banner-copy::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 46, 28, .88) 0%, rgba(10, 46, 28, .62) 38%, transparent 72%);
}
.pb-banner-copy {
  position: absolute; z-index: 2; inset-inline-start: 0; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  width: min(600px, 100%); padding: clamp(24px, 6%, 80px); color: #fff; overflow-wrap: anywhere;
}
.pb-banner-copy h2 { max-width: 14ch; margin: 0; color: #fff; font-size: clamp(28px, 4.4vw, 52px); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
.pb-banner-copy p { max-width: 42ch; margin: 16px 0 0; color: #e6f0e0; font-size: clamp(15px, 1.5vw, 20px); line-height: 1.6; }
.pb-banner-copy .pb-btn { gap: 10px; margin-top: 28px; }
.pb-banner-copy .pb-btn span { font-size: 1.2em; line-height: 1; }
.pb-banner-copy .pb-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
/* The banners print text right to their edges, so the controls get out of the
   way: arrows at mid-height on each side, revealed on hover or keyboard focus
   (always shown where there is no hover), and the dots in a small dark pill. */
.pb-hero--banners .pb-hero__arrow {
  top: 50%; bottom: auto; width: 36px; height: 36px; font-size: 18px; transform: translateY(-50%);
  opacity: 0; transition: opacity .2s var(--pb-ease);
}
.pb-hero--banners .pb-hero__arrow--prev { left: 10px; right: auto; }
.pb-hero--banners .pb-hero__arrow--next { right: 10px; }
.pb-hero--banners:is(:hover, :focus-within) .pb-hero__arrow { opacity: 1; }
@media (hover: none) { .pb-hero--banners .pb-hero__arrow { opacity: .85; } }

@media (max-width: 767px) {
  .pb-hero__slide--banner { aspect-ratio: 2 / 1; min-height: 0; }
  .pb-hero__slide--banner-copy::before { background: linear-gradient(0deg, rgba(10, 46, 28, .92) 0%, rgba(10, 46, 28, .65) 50%, transparent 85%); }
  .pb-banner-copy { top: auto; bottom: 20px; padding: 18px 20px 28px; }
  .pb-banner-copy h2 { max-width: 19ch; font-size: clamp(22px, 6vw, 32px); }
  .pb-banner-copy p { max-width: 42ch; margin-top: 8px; font-size: 14px; }
  .pb-banner-copy .pb-btn { min-height: 42px; margin-top: 14px; padding-inline: 18px; font-size: 14px; }
}
.pb-hero--banners .pb-hero__dots {
  left: 50%; bottom: 8px; transform: translateX(-50%);
  padding: 5px 8px; border-radius: var(--pb-pill); background: rgba(0, 0, 0, .35);
}

.pb-hero__arrow {
  position: absolute; bottom: 16px;
  width: 44px; height: 44px; border: 0; border-radius: 22px;
  background: rgba(255, 255, 255, .92); box-shadow: var(--pb-shadow-float);
  color: var(--pb-ink); font-size: 20px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.pb-hero__arrow:hover { background: #fff; }
.pb-hero__arrow--prev { right: 68px; }
.pb-hero__arrow--next { right: 16px; }

.pb-hero__dots { position: absolute; left: 48px; bottom: 24px; display: flex; gap: 8px; }
.pb-hero__dot {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px;
  background: rgba(255, 255, 255, .5); cursor: pointer;
  transition: width .3s var(--pb-ease), background-color .3s var(--pb-ease);
}
.pb-hero__dot[aria-selected="true"] { width: 28px; background: var(--pb-surface); }

/* --------------------------------------------------------------------------
   The hero-side card decks
   Popular products and dream chasers each rotate one item at a time. The
   product gets a small image and price; the entrepreneur keeps a round portrait.
   -------------------------------------------------------------------------- */

.pb-rail__card {
  display: flex; flex-direction: column; min-height: 0; overflow: hidden;
  padding: 14px 18px 14px;
  background: var(--pb-surface);
  border: 1px solid var(--pb-line);
  border-radius: var(--pb-radius-card);
  box-shadow: var(--pb-shadow-card);
}
.pb-rail__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pb-rail__chip { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.pb-rail__icon {
  flex: 0 0 auto;
  display: grid; place-items: center; width: 22px; height: 22px;
  border-radius: 50%; color: #fff; font-size: 11px; line-height: 1;
}
.pb-rail__icon--green { background: var(--pb-green); }
.pb-rail__icon--gold { background: var(--pb-gold); color: var(--pb-green-deep); }
.pb-rail__title {
  margin: 0; font-size: 14px; font-weight: 700; color: var(--pb-ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pb-rail__nav { flex: 0 0 auto; display: inline-flex; gap: 6px; }
.pb-rail__arrow {
  width: 26px; height: 26px; border: 1px solid var(--pb-line); border-radius: 50%;
  background: var(--pb-surface); color: var(--pb-ink); font-size: 17px; line-height: 1;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.pb-rail__arrow:hover { background: var(--pb-hover); }

/* The card itself fills what is left between the label and the dots. */
.pb-rail__viewport { flex: 1 1 auto; min-height: 0; display: flex; overflow: hidden; padding-block: 12px; }
.pb-rail__track { display: flex; width: 100%; min-width: 0; transition: transform .6s cubic-bezier(.6, 0, .2, 1); }
.pb-rail__slide { flex: 0 0 100%; min-width: 0; display: flex; align-items: center; }

.pb-rail__dots { display: flex; align-items: center; gap: 5px; }
.pb-rail__dot {
  width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%;
  background: var(--pb-ink-3); opacity: .3; cursor: pointer;
  transition: width .3s var(--pb-ease), opacity .3s var(--pb-ease), background-color .3s var(--pb-ease);
}
.pb-rail__dot[aria-selected="true"] { width: 20px; border-radius: 4px; opacity: 1; background: var(--pb-green); }

/* An awareness message, with nothing behind it to read through. */
.pb-awarecard {
  margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--pb-ink-2);
  /* A long message shows its opening rather than growing the card. */
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden;
}

/* The two hero-side decks are the cards that must be noticed: a green frame, a
   red banner for the header (bled to the card's edges) and larger copy. */
.pb-rail__card--framed { padding: 0 18px 14px; border: 2px solid var(--pb-green); }
.pb-rail__card--framed .pb-rail__head {
  margin-inline: -18px; padding: 10px 18px;
  background: linear-gradient(135deg, var(--pb-danger) 0%, var(--pb-danger-dark) 100%);
  box-shadow: 0 3px 10px rgba(138, 46, 28, .28);
}
.pb-rail__card--framed .pb-rail__title { color: #fff; font-size: 15px; line-height: 1.25; letter-spacing: .1px; white-space: normal; }
.pb-rail__card--framed .pb-rail__icon { background: #fff; color: var(--pb-danger); width: 26px; height: 26px; font-size: 14px; }
.pb-rail__card--framed .pb-rail__arrow {
  background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .55); color: #fff;
}
.pb-rail__card--framed .pb-rail__arrow:hover { background: rgba(255, 255, 255, .3); }
.pb-rail__card--framed .pb-rail__viewport { padding-block: 10px; }
.pb-rail__card--framed .pb-awarecard {
  font-size: 19px; line-height: 1.5; font-weight: 600; color: var(--pb-ink);
  -webkit-line-clamp: 4;
}
/* Each deck gets its own wash so the pair reads as two distinct cards: mint for
   the health messages, warm cream for the entrepreneurs. A pale disc in the
   corner keeps the flat colour from looking empty. */
.pb-rail__card--framed { position: relative; isolation: isolate; box-shadow: 0 8px 22px rgba(23, 97, 60, .14); }
.pb-rail__card--framed::after {
  content: ""; position: absolute; z-index: -1; right: -46px; bottom: -58px;
  width: 170px; height: 170px; border-radius: var(--pb-circle); pointer-events: none;
}
.pb-rail__card--aware { background: linear-gradient(160deg, #fff 0%, var(--pb-green-tint-2) 100%); }
.pb-rail__card--aware::after { background: rgba(23, 97, 60, .08); }
.pb-rail__card--dream { background: linear-gradient(160deg, #fff 0%, var(--pb-gold-tint) 100%); }
.pb-rail__card--dream::after { background: rgba(199, 134, 27, .1); }
.pb-rail__card--dream.pb-rail__card--framed .pb-rail__head,
.pb-rail__card--featured.pb-rail__card--framed .pb-rail__head {
  background: var(--pb-gold); box-shadow: 0 3px 10px rgba(185, 113, 10, .22);
}
.pb-rail__card--dream.pb-rail__card--framed .pb-rail__title,
.pb-rail__card--featured.pb-rail__card--framed .pb-rail__title { color: var(--pb-green-deep); }
.pb-rail__card--dream.pb-rail__card--framed .pb-rail__icon,
.pb-rail__card--featured.pb-rail__card--framed .pb-rail__icon { color: var(--pb-green-deep); }
.pb-rail__card--dream.pb-rail__card--framed .pb-rail__arrow,
.pb-rail__card--featured.pb-rail__card--framed .pb-rail__arrow {
  background: rgba(255, 255, 255, .7); border-color: rgba(10, 46, 28, .25); color: var(--pb-green-deep);
}
.pb-rail__card--dream.pb-rail__card--framed .pb-rail__arrow:hover,
.pb-rail__card--featured.pb-rail__card--framed .pb-rail__arrow:hover { background: #fff; }
.pb-rail__card--featured { background: linear-gradient(160deg, #fff 0%, var(--pb-green-tint-2) 100%); }
.pb-rail__card--featured::after { background: rgba(23, 97, 60, .08); }
.pb-rail-product {
  display: flex; align-items: center; gap: 16px; width: 100%; min-width: 0;
  color: var(--pb-ink); text-decoration: none;
}
.pb-rail-product:hover { color: var(--pb-green-dark); text-decoration: none; }
.pb-rail-product__image {
  position: relative; flex: 0 0 88px; width: 88px; height: 88px; overflow: hidden;
  border: 3px solid #fff; border-radius: 16px; box-shadow: 0 3px 12px rgba(20, 30, 22, .12);
}
.pb-rail-product__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pb-rail-product__copy { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.pb-rail-product__copy strong {
  color: var(--pb-green-deep); font-size: 18px; line-height: 1.35;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.pb-rail-product__copy > span { color: var(--pb-green); font-size: 15px; font-weight: 700; }
.pb-rail__card--dream .pb-rail__dot[aria-selected="true"],
.pb-rail__card--featured .pb-rail__dot[aria-selected="true"] { background: var(--pb-gold); }
.pb-rail__card--dream .pb-facecard__photo { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--pb-gold-light), 0 8px 18px rgba(20, 30, 22, .14); }
.pb-rail__card--framed .pb-facecard__name { font-size: 20px; }
.pb-rail__card--framed .pb-facecard__line { font-size: 14.5px; }

/* An entrepreneur: a small round portrait, and the rest of the room is text.
   Small and circular because these are passport-sized uploads — stretched
   across a card they look exactly as poor as they are. */
.pb-facecard { display: flex; align-items: center; gap: 15px; width: 100%; min-width: 0; }
.pb-facecard__photo {
  flex: 0 0 auto; width: 88px; height: 88px;
  border-radius: 50%; overflow: hidden; background: var(--pb-green-tint);
  box-shadow: 0 0 0 1px var(--pb-line-soft), 0 6px 16px rgba(20, 30, 22, .1);
}
.pb-facecard__photo img {
  width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: 50% 22%;
}
.pb-facecard__text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pb-facecard__name {
  font-family: var(--pb-font-display);
  font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--pb-ink);
}
.pb-facecard__line { font-size: 13px; line-height: 1.45; color: var(--pb-muted); }
.pb-facecard__line--biz { color: var(--pb-green); font-weight: 600; }
a.pb-facecard:hover { text-decoration: none; }
a.pb-facecard:hover .pb-facecard__name { color: var(--pb-green-dark); text-decoration: underline; text-underline-offset: 3px; }


/* Two big shortcut buttons under the hero. */
.pb-shortcuts { max-width: 1120px; margin-inline: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pb-shortcut {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 92px; padding: 0 30px;
  border: 0; border-radius: 24px; color: #fff; cursor: pointer;
  transition: background-color .2s var(--pb-ease), transform .2s var(--pb-ease), box-shadow .2s var(--pb-ease);
}
.pb-shortcut:hover { color: #fff; text-decoration: none; transform: translateY(-3px); box-shadow: var(--pb-shadow-hover); }
.pb-shortcut__text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.3; }
.pb-shortcut__title { font-size: 20px; font-weight: 700; }
.pb-shortcut__sub { font-size: 13.5px; opacity: .88; }
.pb-shortcut__arrow { font-size: 26px; }
.pb-shortcut--green { background: var(--pb-green); box-shadow: 0 8px 22px rgba(23, 97, 60, .25); }
.pb-shortcut--green:hover { background: var(--pb-green-dark); }
.pb-shortcut--gold { background: var(--pb-gold); color: var(--pb-green-deep); box-shadow: 0 8px 22px rgba(243, 156, 18, .30); }
.pb-shortcut--gold:hover { background: var(--pb-gold-dark); color: #fff; }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

.pb-card {
  position: relative;
  background: var(--pb-surface);
  border: 1px solid rgba(20, 30, 22, .08);
  border-radius: var(--pb-radius-card);
  box-shadow: 0 5px 18px rgba(20, 30, 22, .06);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .25s var(--pb-ease), transform .25s var(--pb-ease);
}
.pb-card:hover {
  border-color: rgba(23, 97, 60, .18);
  box-shadow: 0 14px 32px rgba(20, 30, 22, .12);
  transform: translateY(-5px);
}

/* The whole card is clickable, but only the title is a real link. */
.pb-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pb-card__link:hover { text-decoration: none; }
.pb-card :where(button, a:not(.pb-card__link)) { position: relative; z-index: 2; }

.pb-grid { display: grid; gap: 20px; }
.pb-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pb-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pb-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Product card */
.pb-product__media {
  position: relative; aspect-ratio: 1 / 1.06; overflow: hidden;
  background: linear-gradient(145deg, color-mix(in srgb, var(--pb-green-tint) 45%, #fff), #fff);
}
.pb-product__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--pb-ease);
}
.pb-card:hover .pb-product__media img { transform: scale(1.04); }
.pb-product__flags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 2; }
/* Card badges (Organic, Pre-order) read larger than the shared .pb-pill used elsewhere. */
.pb-product__flags .pb-pill { font-size: 14px; padding: 5px 12px; }
.pb-product__flags .pb-pill--preorder { background: var(--pb-gold); color: var(--pb-ink); font-weight: 700; }

.pb-product__body {
  padding: 17px 18px 18px;
  display: flex; flex-direction: column; gap: 7px; flex: 1;
}
.pb-product__name {
  font-family: var(--pb-font-display); font-weight: 600;
  font-size: 20px; line-height: 1.3; color: var(--pb-ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pb-product__name:hover { color: var(--pb-green-dark); text-decoration: none; }
.pb-product__meta { font-size: 13px; color: var(--pb-muted); }
.pb-product__stock { font-size: 13px; font-weight: 650; }
.pb-product__stock--in { color: var(--pb-green); }
.pb-product__stock--pre { color: #8A6A2A; }
.pb-product__stock--out { color: #6E6650; }
.pb-product__foot {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  margin-top: auto; padding-top: 13px;
  border-top: 1px solid var(--pb-line-softer);
}
.pb-product__price { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.pb-product__price b { font-size: 22px; font-weight: 750; color: var(--pb-green-dark); }
.pb-product__unit {
  font-size: 12.5px; color: var(--pb-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pb-product__was { font-size: 13px; color: var(--pb-muted); text-decoration: line-through; }

/* Price on its own row, the two actions share the row beneath it. */
.pb-product__foot { flex-direction: column; align-items: stretch; gap: 10px; }
.pb-product__actions { display: flex; gap: 8px; }
.pb-product__actions .pb-btn { flex: 1 1 0; min-width: 0; padding: 0 10px; font-size: 13.5px; line-height: 1.2; text-align: center; }
/* Stack the pair once the card is too narrow for two labels side by side. */
.pb-card { container-type: inline-size; }
@container (max-width: 250px) { .pb-product__actions { flex-direction: column; } }
.pb-product__actions .pb-btn.is-added { --pb-btn-bg: var(--pb-green); --pb-btn-fg: #fff; }

/* Vendor card */
.pb-vendor__cover { height: 130px; overflow: hidden; background: #D9C9A3; }
.pb-vendor__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pb-vendor__body { padding: 0 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pb-vendor__top {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-top: -36px; position: relative; z-index: 2;
}
.pb-vendor__avatar {
  width: 76px; height: 76px; border-radius: 38px;
  object-fit: cover; border: 4px solid #fff; background: var(--pb-green-tint);
}
.pb-vendor__id { display: flex; flex-direction: column; line-height: 1.35; }
.pb-vendor__name { font-size: 18px; font-weight: 700; color: var(--pb-ink); }
.pb-vendor__name:hover { color: var(--pb-green-dark); text-decoration: none; }
.pb-vendor__biz { font-size: 14px; color: var(--pb-green); font-weight: 600; }
.pb-vendor__where { font-size: 13px; color: var(--pb-muted); }
.pb-vendor__quote {
  font-family: var(--pb-font-display); font-weight: 600;
  font-size: 17px; line-height: 1.5; color: var(--pb-ink-2);
}
.pb-vendor__foot {
  display: flex; justify-content: space-between; gap: 8px;
  margin-top: auto; padding-top: 12px;
  border-top: 1px solid var(--pb-line-softer);
  font-size: 13px; color: var(--pb-muted);
}

/* Category coin — the circular browse entry point on the home page.
   Each tile is a full circle filled with the category's own tone, so the
   row reads as a set of swatches rather than a second grid of cards. */
.pb-cat-grid {
  /* One row always: columns share the width on desktop, and below ~90px each
     the row scrolls sideways instead of wrapping. The block padding leaves
     room for the hover lift and ring, which overflow-x would otherwise clip. */
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(84px, 1fr); gap: 16px;
  overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
  padding-block: 8px 4px;
}
.pb-cat-grid::-webkit-scrollbar { display: none; }
.pb-cat {
  display: flex; flex-direction: column; align-items: center; gap: 10px; scroll-snap-align: start;
  text-align: center; color: var(--pb-ink);
}
.pb-cat:hover { color: var(--pb-green); text-decoration: none; }
.pb-cat:focus-visible { border-radius: var(--pb-radius-card); }
.pb-cat__media {
  position: relative;
  width: 100%; max-width: 88px; aspect-ratio: 1 / 1; margin-inline: auto;
  border-radius: var(--pb-circle);
  overflow: hidden;
  display: grid; place-items: center;
  /* Hairline ring so a pale tone still has an edge against the page. */
  box-shadow: var(--pb-shadow-card), 0 0 0 1px var(--pb-line-soft);
  transition: transform .3s var(--pb-ease), box-shadow .3s var(--pb-ease);
}
/* Top-light sheen: a flat disc of colour looks printed on, this lifts it. */
.pb-cat__media::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: var(--pb-sheen); pointer-events: none;
}
.pb-cat:hover .pb-cat__media {
  transform: translateY(-5px);
  box-shadow: var(--pb-shadow-hover), 0 0 0 2px var(--pb-green);
}
.pb-cat__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s var(--pb-ease);
}
.pb-cat:hover .pb-cat__media img { transform: scale(1.07); }
.pb-cat__name { font-size: 13px; font-weight: 600; line-height: 1.3; max-width: 14ch; }

/* Outlet promo strip on the home page */
.pb-outlet-promo {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 32px; align-items: center;
}
.pb-outlet-mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pb-outlet-mini {
  display: flex; align-items: center; gap: 12px;
  background: var(--pb-bg); border-radius: var(--pb-radius-lg); padding: 10px;
  color: var(--pb-ink);
}
.pb-outlet-mini:hover { background: var(--pb-green-tint-3); text-decoration: none; }
.pb-outlet-mini img {
  width: 56px; height: 56px; border-radius: var(--pb-radius); object-fit: cover; flex-shrink: 0;
}
.pb-outlet-mini__text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.pb-outlet-mini__city { font-size: 12.5px; color: var(--pb-muted); }
.pb-outlet-mini__name { font-size: 15px; font-weight: 600; }

/* --------------------------------------------------------------------------
   Breadcrumbs
   -------------------------------------------------------------------------- */

.pb-crumbs { font-size: 13px; color: var(--pb-muted); margin-bottom: 8px; }
.pb-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.pb-crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--pb-line); }
.pb-crumbs a { color: var(--pb-muted); }
.pb-crumbs a:hover { color: var(--pb-green); }
.pb-crumbs [aria-current="page"] { color: var(--pb-ink-3); }

/* --------------------------------------------------------------------------
   Listing: sidebar filters + results
   -------------------------------------------------------------------------- */

.pb-listing { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 32px; align-items: start; }

/* The sidebar column. Its collapse toggle only appears on small screens. */
.pb-filters-col { display: contents; }
.pb-filters-summary { display: none; }

.pb-filters {
  position: sticky; top: 148px;
  background: var(--pb-surface); border: 1px solid rgba(20, 30, 22, .05);
  border-radius: var(--pb-radius-card); box-shadow: var(--pb-shadow-card);
  padding: 20px; display: flex; flex-direction: column; gap: 18px;
}
.pb-filters__head {
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 700; font-size: 16px;
}
.pb-filters__clear { font-size: 13px; font-weight: 600; color: var(--pb-green); }
.pb-filter-group { display: flex; flex-direction: column; gap: 8px; }
.pb-filter-group > legend,
.pb-filter-group__title {
  font-size: 13px; font-weight: 700; text-transform: none;
  color: var(--pb-ink-soft); letter-spacing: .02em; padding: 0; float: none; width: auto;
}
/* Only as wide as the box and its words: a click in the empty space beside a tick box must not flip it. */
.pb-check {
  display: flex; width: fit-content; max-width: 100%; align-items: center; gap: 9px;
  font-size: 14px; color: var(--pb-ink-3); cursor: pointer;
  padding: 2px 0;
}
.pb-check:hover { color: var(--pb-green); }
.pb-check input { accent-color: var(--pb-green); width: 16px; height: 16px; flex-shrink: 0; cursor: pointer; }

.pb-results__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.pb-results__count { font-size: 14px; color: var(--pb-muted); }
.pb-results__tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.pb-select {
  height: 42px; padding: 0 36px 0 14px;
  border: 1px solid var(--pb-line); border-radius: var(--pb-radius);
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%235E6B5F' stroke-width='1.8' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E")
    no-repeat right 14px center;
  color: var(--pb-ink); font-size: 14px; appearance: none; cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.pb-select:hover { border-color: var(--pb-muted); }

/* Searchable dropdown (initSearchSelect in palli.js): a text box over a hidden <select>, with a filtered list. */
.pb-combo-select { position: relative; display: inline-block; vertical-align: middle; }
.pb-field .pb-combo-select, .pb-combo-select:has(> .pb-combo-select__input:not(.pb-select)) { display: block; }
.pb-combo-select > .pb-combo-select__input {
  width: 100%; padding-inline-end: 36px; cursor: text;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%235E6B5F' stroke-width='1.8' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E")
    no-repeat right 14px center;
}
.pb-combo-select > .pb-combo-select__input:disabled { background-color: var(--pb-line-softer); cursor: not-allowed; }
.pb-combo-select__list {
  position: absolute; top: calc(100% + 4px); left: 0; z-index: 40;
  min-width: 100%; max-height: 280px; overflow-y: auto; margin: 0; padding: 6px; list-style: none;
  background: var(--pb-surface); border: 1px solid var(--pb-line); border-radius: var(--pb-radius);
  box-shadow: 0 12px 28px rgba(20, 30, 22, .14);
}
.pb-combo-select__option {
  padding: 9px 12px; border-radius: 8px; color: var(--pb-ink); font-size: 14px; line-height: 1.4; cursor: pointer;
}
.pb-combo-select__option.is-active, .pb-combo-select__option:hover { background: var(--pb-green-tint-3); }
.pb-combo-select__option[aria-selected="true"] { color: var(--pb-green); font-weight: 600; }
.pb-combo-select__group { padding: 8px 12px 4px; color: var(--pb-muted); font-size: 12px; font-weight: 700; }
.pb-combo-select__empty { padding: 10px 12px; color: var(--pb-muted); font-size: 14px; }
.pb-select:focus {
  outline: 0;
  border-color: var(--pb-green);
  box-shadow: 0 0 0 3px var(--pb-green-tint);
}

.pb-empty {
  background: var(--pb-surface); border: 1px dashed var(--pb-line);
  border-radius: var(--pb-radius-card); padding: 52px 28px;
  text-align: center; color: var(--pb-muted);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
/* Quiet tinted disc — present enough to anchor the block, never loud
   enough to compete with the action below it. */
.pb-empty__icon {
  width: 60px; height: 60px; border-radius: 50%; margin-bottom: 4px;
  background: var(--pb-green-tint-3); color: var(--pb-green);
  display: inline-flex; align-items: center; justify-content: center;
}
.pb-empty__icon svg { width: 27px; height: 27px; display: block; }
.pb-empty__title {
  font-family: var(--pb-font-display); font-weight: 600;
  font-size: 19px; line-height: 1.3; color: var(--pb-ink);
}
.pb-empty__text { max-width: 44ch; font-size: 14.5px; }
.pb-empty__actions {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center; margin-top: 10px;
}

/* --------------------------------------------------------------------------
   Error pages — 404 / 500 share one centred layout
   -------------------------------------------------------------------------- */

.pb-error { text-align: center; padding-block: 72px; }
/* Only the header-less 500 page uses this; elsewhere the mark is in the bar. */
.pb-error__logo { width: 64px; height: 64px; margin-bottom: 18px; }
/* The status number sits behind the heading as a watermark: it labels the
   page for anyone scanning, without shouting over the actual message. */
.pb-error__code {
  font-family: var(--pb-font-display); font-weight: 700;
  font-size: clamp(64px, 11vw, 104px); line-height: .9;
  color: var(--pb-green-tint); letter-spacing: -.03em;
  margin-bottom: 4px;
}
.pb-error__text {
  margin-top: 10px; margin-inline: auto;
  max-width: 46ch; color: var(--pb-muted); font-size: 15.5px;
}
.pb-error__actions {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center; margin-top: 26px;
}

/* Pagination — the storefront pager. Prev/next are labelled pills either
   side of a joined strip of page numbers; below 480px the labels collapse to
   chevrons (still read out by screen readers) so five numbers fit a phone. */
.pb-pager {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; flex-wrap: wrap; margin-top: 40px;
}
.pb-pager__pages {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px;
  background: var(--pb-surface); border: 1px solid var(--pb-line); border-radius: var(--pb-pill);
}
.pb-pager__num, .pb-pager__gap {
  min-width: 40px; height: 40px; padding: 0 10px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--pb-pill); color: var(--pb-ink); font-size: 15px; font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.pb-pager__gap { min-width: 24px; padding: 0; color: var(--pb-muted); }
a.pb-pager__num { transition: background-color .15s, color .15s; }
a.pb-pager__num:hover { background: var(--pb-green-tint); color: var(--pb-green-dark); text-decoration: none; }
.pb-pager__num[aria-current="page"] {
  background: var(--pb-green); color: var(--pb-surface);
  box-shadow: 0 2px 6px rgba(23, 97, 60, .28);
}
.pb-pager__step {
  height: 48px; padding: 0 18px; gap: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--pb-surface); border: 1px solid var(--pb-line); border-radius: var(--pb-pill);
  color: var(--pb-ink); font-size: 15px; font-weight: 600;
  transition: border-color .15s, color .15s, background-color .15s;
}
a.pb-pager__step:hover {
  border-color: var(--pb-green); color: var(--pb-green); background: var(--pb-green-tint-3); text-decoration: none;
}
.pb-pager a:focus-visible { outline: 2px solid var(--pb-green); outline-offset: 2px; }
.pb-pager__step.is-disabled { color: var(--pb-muted); background: transparent; border-style: dashed; opacity: .55; cursor: default; }
@media (max-width: 480px) {
  .pb-pager { gap: 6px; }
  .pb-pager__step { width: 48px; padding: 0; }
  .pb-pager__label {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  .pb-pager__num { min-width: 36px; height: 36px; padding: 0 8px; font-size: 14px; }
}

/* --------------------------------------------------------------------------
   Product detail
   -------------------------------------------------------------------------- */

.pb-pdp {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch;
  background: var(--pb-surface); border: 1px solid rgba(20, 30, 22, .06);
  border-radius: var(--pb-radius-panel); box-shadow: var(--pb-shadow-card); overflow: hidden;
}

/* The gallery half: a soft tinted column, divided from the buy box by a hairline. */
.pb-gallery {
  display: flex; flex-direction: column; gap: 12px; padding: 22px;
  background: linear-gradient(180deg, var(--pb-green-tint-3), var(--pb-surface));
  border-inline-end: 1px solid var(--pb-line-soft);
}
.pb-gallery__main {
  position: relative;
  aspect-ratio: 1 / 1; border-radius: var(--pb-radius-card); overflow: hidden;
  box-shadow: 0 14px 36px rgba(31, 55, 35, .12); background: var(--pb-line-soft);
  display: grid; place-items: center;
}
.pb-gallery__flag { position: absolute; top: 14px; inset-inline-start: 14px; }
.pb-gallery__count {
  position: absolute; top: 14px; inset-inline-end: 14px; padding: 3px 10px; border-radius: var(--pb-pill);
  background: color-mix(in srgb, var(--pb-ink) 72%, transparent); color: #fff; font-size: 12px; font-weight: 700;
}
.pb-gallery__step {
  position: absolute; top: 50%; translate: 0 -50%;
  width: 38px; height: 38px; border: 0; border-radius: var(--pb-circle);
  background: color-mix(in srgb, var(--pb-surface) 92%, transparent); color: var(--pb-ink);
  font-size: 24px; line-height: 1; cursor: pointer; box-shadow: 0 4px 12px rgba(20, 30, 22, .16);
  display: grid; place-items: center; transition: background-color .2s var(--pb-ease);
}
.pb-gallery__step[hidden] { display: none; }
.pb-gallery__step:hover { background: var(--pb-surface); color: var(--pb-green); }
.pb-gallery__step--prev { inset-inline-start: 12px; }
.pb-gallery__step--next { inset-inline-end: 12px; }
.pb-gallery__main img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* One row of fifths: a sixth photo and beyond scroll sideways instead of wrapping under the strip. */
.pb-gallery__thumbs {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 5); gap: 10px;
  overflow-x: auto; scrollbar-width: thin; padding-bottom: 2px;
}
.pb-gallery__thumb {
  aspect-ratio: 1 / 1; border-radius: var(--pb-radius); overflow: hidden;
  border: 2px solid transparent; padding: 0; background: none; cursor: pointer;
  display: grid; place-items: center;
  transition: border-color .2s var(--pb-ease);
}
.pb-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pb-gallery__thumb[aria-selected="true"] { border-color: var(--pb-green); }

.pb-pdp__buybox { display: flex; flex-direction: column; gap: 20px; padding: 30px; min-width: 0; }
.pb-pdp__intro { display: flex; flex-direction: column; gap: 8px; }
.pb-pdp__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pb-pdp__category, .pb-pdp__origin {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px 11px; border-radius: var(--pb-pill);
  background: var(--pb-green-tint); color: var(--pb-green); font-size: 12px; font-weight: 700;
  border: 1px solid color-mix(in srgb, var(--pb-green) 18%, transparent);
}
.pb-pdp__origin { background: var(--pb-gold-tint); color: var(--pb-gold-dark); border-color: color-mix(in srgb, var(--pb-gold) 30%, transparent); }
.pb-pdp__category:hover { color: var(--pb-green-dark); text-decoration: none; }
.pb-pdp__intro h1 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.2; margin: 2px 0 0; color: var(--pb-green-deep); }
.pb-pdp__subtitle { margin: 0; color: var(--pb-muted); font-size: 14px; }
.pb-pdp__pricebox {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 18px; border-radius: var(--pb-radius-lg);
  background: linear-gradient(120deg, var(--pb-green-tint-2), var(--pb-green-tint-3));
  border: 1px solid color-mix(in srgb, var(--pb-green) 14%, transparent);
}
.pb-pdp__price b { color: var(--pb-green-dark); }
/* Pre-order terms: a second row inside the price box, label left and value right. */
.pb-pdp__pricebox { flex-wrap: wrap; }
.pb-pdp__terms {
  flex: 1 1 100%; width: 100%; margin: 0; padding-top: 12px; border-top: 1px solid var(--pb-line-soft);
  display: flex; flex-direction: column; gap: 6px; font-size: 14px;
}
.pb-pdp__terms > div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.pb-pdp__terms dt { color: var(--pb-ink-soft); font-weight: 500; }
.pb-pdp__terms dd { margin: 0; font-size: 16px; font-weight: 700; color: var(--pb-green); text-align: right; }
.pb-pdp__terms small { display: block; font-size: 12.5px; font-weight: 500; color: var(--pb-muted); }
.pb-pdp__availability { color: var(--pb-green); font-size: 13px; font-weight: 700; white-space: nowrap; }
.pb-pdp__availability--pre { color: #8A6A2A; }
.pb-pdp__availability--soft { color: var(--pb-muted); }

/* Pack sizes: the crossed-out price and saving beside the price, the per-kg rate beneath it, and the
   pack cards (the checkout's .pb-choice cards) in a row of up to four. */
.pb-pdp__was { color: var(--pb-muted); font-size: 15px; }
.pb-pdp__save {
  padding: 2px 9px; border-radius: var(--pb-pill); background: var(--pb-gold); color: var(--pb-green-deep);
  font-size: 12px; font-weight: 700;
}
.pb-pdp__rate { flex-basis: 100%; color: var(--pb-ink-soft); font-size: 13px; font-weight: 600; }
.pb-pack { margin: 0; padding: 0; border: 0; min-width: 0; }
.pb-pack__legend { margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--pb-ink-soft); }
.pb-choices.pb-pack__grid { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
.pb-pack__option s { color: var(--pb-muted); font-weight: 400; }
/* Each pack card says whether it can be collected today, or is sold for home delivery only. */
.pb-pack__stock { font-size: 11.5px; font-weight: 600; color: var(--pb-green); }
.pb-pack__stock--out { color: var(--pb-muted); font-weight: 500; }
.pb-pdp__pickup[hidden] { display: none; }

/* Pre-order promise: the product page panel, the bag/checkout notice and the
   per-line tag all share the gold tint so a pre-order reads the same everywhere. */
.pb-preorder-note {
  display: flex; flex-direction: column; gap: 4px;
  padding: 12px 14px; margin-bottom: 16px;
  background: var(--pb-gold-tint); border-left: 4px solid var(--pb-gold);
  border-radius: var(--pb-radius-sm); font-size: 14px; line-height: 1.45; color: var(--pb-ink);
}
.pb-preorder-note b { color: var(--pb-gold-dark); }
.pb-preorder-eta { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--pb-line-soft); }
.pb-preorder-note b.pb-preorder-eta__title { color: var(--pb-ink-soft); font-size: 13px; }
.pb-preorder-eta__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pb-preorder-note .pb-preorder-eta__row b { color: var(--pb-green); font-size: 16px; text-align: right; }
.pb-preorder-tag { font-size: 12.5px; font-weight: 700; color: var(--pb-gold-dark); overflow-wrap: anywhere; }
.pb-pdp__cart-form { display: flex; flex-direction: column; gap: 16px; }
.pb-pdp__qty-row { display: flex; align-items: center; gap: 14px; }
.pb-pdp__qty-label { font-size: 14px; font-weight: 600; color: var(--pb-ink-soft); }
/* Add to bag (outlined) and buy now (solid) share one row, as equals. */
.pb-pdp__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pb-pdp__cart-button { --pb-btn-fg: var(--pb-green-deep); border: 1.5px solid var(--pb-green-deep); }
.pb-pdp__buy-now { --pb-btn-bg: var(--pb-green-deep); --pb-btn-bg-hover: var(--pb-green-dark); }
.pb-pdp__whatsapp { min-height: 50px; }
/* Pickup: one quiet line under the buttons, shown only when an outlet holds stock. */
.pb-pdp__pickup {
  display: flex; align-items: center; gap: 12px; padding-top: 16px;
  border-top: 1px solid var(--pb-line-soft); font-size: 13px;
}
.pb-pdp__pickup-icon { flex-shrink: 0; width: 20px; font-size: 17px; text-align: center; }
.pb-pdp__pickup-text { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.4; }
.pb-pdp__pickup-text b { font-size: 14px; font-weight: 600; color: var(--pb-ink); }
.pb-pdp__pickup-text span { color: var(--pb-muted); }
.pb-pdp__pickup-link { flex-shrink: 0; font-size: 12.5px; font-weight: 700; color: var(--pb-green); }
@media (max-width: 480px) {
  .pb-pdp__pickup { flex-wrap: wrap; }
  .pb-pdp__pickup-link { flex-basis: 100%; padding-inline-start: 32px; }
}
/* Trust marks: a tinted row of three under the order buttons. */
.pb-pdp__trust {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
  padding: 12px 8px; border-radius: var(--pb-radius); background: var(--pb-green-tint-3);
  color: var(--pb-ink-soft); font-size: 12px; font-weight: 600; text-align: center;
}
.pb-pdp__trust span { display: flex; flex-direction: column; gap: 4px; align-items: center; }
.pb-pdp__trust b { color: var(--pb-green); font-size: 17px; line-height: 1; }

.pb-pdp__vendor {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--pb-ink); font-size: 14px;
}
.pb-pdp__vendor:hover { text-decoration: none; }
.pb-pdp__vendor img { width: 36px; height: 36px; border-radius: 18px; object-fit: cover; }
.pb-pdp__vendor b { color: var(--pb-green); }

.pb-pdp__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pb-pdp__price b { font-size: 34px; font-weight: 700; font-family: var(--pb-font-display); }
.pb-pdp__price span { color: var(--pb-muted); font-size: 15px; }

.pb-qty { display: inline-flex; align-items: center; border: 1px solid var(--pb-line); border-radius: var(--pb-radius); overflow: hidden; }
.pb-qty button {
  width: 44px; height: 48px; border: 0; background: #fff;
  font-size: 19px; color: var(--pb-ink); cursor: pointer;
  transition: background-color .2s var(--pb-ease);
}
.pb-qty button:hover { background: var(--pb-hover); }
.pb-qty output, .pb-qty input {
  width: 52px; height: 48px; border: 0; text-align: center;
  font-size: 16px; font-weight: 600; background: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}

/* Fulfilment radio list */
.pb-ful { border: 1px solid var(--pb-line); border-radius: var(--pb-radius-lg); overflow: hidden; background: #fff; }
.pb-ful__head { padding: 14px 16px; background: var(--pb-green-tint-3); border-bottom: 1px solid var(--pb-line-softer); }
.pb-ful__head b { display: block; font-size: 14px; }
.pb-ful__head span { font-size: 13px; color: var(--pb-muted); }
.pb-option {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px; border-bottom: 1px solid var(--pb-line-softer);
  cursor: pointer; transition: background-color .18s var(--pb-ease);
}
.pb-option:last-child { border-bottom: 0; }
.pb-option:hover { background: var(--pb-green-tint-3); }
.pb-option input { accent-color: var(--pb-green); width: 18px; height: 18px; flex-shrink: 0; }
.pb-option__text { display: flex; flex-direction: column; line-height: 1.35; flex: 1; min-width: 0; }
.pb-option__text b { font-size: 14.5px; font-weight: 600; }
.pb-option__text span { font-size: 12.5px; color: var(--pb-muted); }
.pb-option__aside { font-size: 13px; font-weight: 600; white-space: nowrap; }
.pb-option:has(input:checked) { background: var(--pb-green-tint); }
.pb-option:has(input:disabled) { opacity: .55; cursor: not-allowed; }

/* Vendor strip on the product page */
.pb-maker {
  display: grid; grid-template-columns: 104px minmax(0, 1fr) auto;
  gap: 20px; align-items: center;
}
.pb-maker img { width: 104px; height: 104px; border-radius: var(--pb-radius-card); object-fit: cover; }
.pb-maker__label { font-size: 12.5px; font-weight: 700; color: var(--pb-gold); letter-spacing: .04em; }
.pb-maker__name { font-family: var(--pb-font-display); font-weight: 600; font-size: 22px; }
.pb-maker__where { font-size: 13px; color: var(--pb-muted); }
.pb-maker__aside { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; text-align: right; }

/* Story + provenance beside the description: two equal cards, stacked below 992px. */
.pb-pdp__sections {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; margin-top: 24px;
}
.pb-pdp__sections > :only-child { grid-column: 1 / -1; }
.pb-pdp__card { display: flex; flex-direction: column; gap: 14px; }
.pb-pdp__card-title {
  margin: 0 0 12px; padding-bottom: 12px; border-bottom: 1px solid var(--pb-line-soft);
  font-size: 22px; color: var(--pb-green-deep);
}
/* Provenance: a tinted block of label-over-value tiles at the foot of the story card. */
/* Doubled class: it must beat .pb-pdp__card-foot's top rule and padding, which come later in the file. */
.pb-prov.pb-prov {
  padding: 16px; border: 1px solid color-mix(in srgb, var(--pb-green) 14%, transparent);
  border-radius: var(--pb-radius-lg); background: var(--pb-green-tint-3);
}
.pb-prov__head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.pb-prov__icon {
  display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0;
  border-radius: var(--pb-circle); background: var(--pb-surface); font-size: 15px;
  box-shadow: 0 0 0 1px var(--pb-line-soft);
}
.pb-prov__title { margin: 0; font-size: 16px; color: var(--pb-green-deep); }
.pb-prov__facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin: 0;
}
.pb-prov__fact {
  display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; min-width: 0;
  background: var(--pb-surface); border: 1px solid var(--pb-line-soft); border-radius: var(--pb-radius-sm);
}
.pb-prov__fact dt { margin: 0; font-size: 12px; color: var(--pb-muted); }
.pb-prov__fact dd { margin: 0; font-size: 14px; font-weight: 600; color: var(--pb-ink); overflow-wrap: anywhere; }
.pb-pdp__card-body { margin: 0; color: var(--pb-ink-3); font-size: 14.5px; line-height: 1.75; }
/* The footer sits on the card's bottom edge, whatever the height of the text above it. */
.pb-pdp__card-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--pb-line-soft); }
.pb-pdp__card-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pb-pdp__chip {
  display: inline-flex; align-items: center; padding: 4px 11px; border-radius: var(--pb-radius-sm);
  background: var(--pb-green-tint-3); border: 1px solid color-mix(in srgb, var(--pb-green) 20%, transparent);
  color: var(--pb-green); font-size: 12.5px; font-weight: 600;
}
a.pb-pdp__chip:hover { background: var(--pb-green-tint); text-decoration: none; }
.pb-pdp__chip--gold { background: var(--pb-gold-tint); color: var(--pb-gold-dark); border-color: color-mix(in srgb, var(--pb-gold) 35%, transparent); }

/* Product story: one parent, two children. The left child holds the heading and the story text, the right
   child holds the maker as a small portrait in the card's top corner. Stacked on phones, maker below. */
.pb-pdp__story { display: flex; gap: 18px; align-items: flex-start; }
.pb-pdp__story-text { flex: 1; min-width: 0; }
.pb-pdp__story-text > p { margin: 0; }
.pb-pdp__story-maker { flex: 0 0 120px; }
.pb-pdp__maker {
  display: flex; flex-direction: column; align-items: center;
  gap: 4px; text-align: center; color: var(--pb-ink); line-height: 1.3; font-size: 13px;
}
.pb-pdp__maker:hover { text-decoration: none; }
.pb-pdp__maker:hover .pb-pdp__maker-name { color: var(--pb-green-dark); }
.pb-pdp__maker-avatar {
  width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin-bottom: 6px;
  border: 3px solid var(--pb-surface); background: var(--pb-green-tint); box-shadow: 0 0 0 1px var(--pb-line-soft);
}
/* No photo: the contact person's first letter on the same disc, so the card keeps its shape. */
.pb-pdp__maker-avatar--initial {
  display: flex; align-items: center; justify-content: center; flex: none;
  font-size: 40px; font-weight: 700; line-height: 1; color: var(--pb-green-dark);
}
.pb-pdp__maker-id { display: flex; flex-direction: column; gap: 2px; }
.pb-pdp__maker-name { font-size: 13.5px; font-weight: 700; }
.pb-pdp__maker-biz { font-size: 12px; color: var(--pb-muted); }
@media (max-width: 640px) {
  .pb-pdp__story { flex-direction: column; gap: 16px; }
  /* On phones the maker card goes below the text, full width, with the photo beside the name. */
  .pb-pdp__story-maker { flex: none; align-self: stretch; }
  .pb-pdp__maker {
    flex-direction: row; gap: 12px; padding: 12px 14px; text-align: left;
    background: var(--pb-green-tint-3); border: 1px solid var(--pb-line-soft); border-radius: var(--pb-radius-card);
  }
  .pb-pdp__maker-avatar { width: 64px; height: 64px; margin-bottom: 0; }
  .pb-pdp__maker-avatar--initial { font-size: 26px; }
}

/* Facts beside the symbolic map. Two columns only while both still have
   room to say something — a 120px map is a smudge, not a map. */
.pb-provenance {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  gap: 24px; align-items: start;
}
.pb-provenance--facts-only { grid-template-columns: minmax(0, 1fr); }

.pb-facts { display: flex; flex-direction: column; }
.pb-fact {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 10px 0; border-bottom: 1px solid var(--pb-line-softer); font-size: 14px;
}
.pb-fact:last-child { border-bottom: 0; }
.pb-fact dt { color: var(--pb-muted); margin: 0; }
.pb-fact dd { margin: 0; font-weight: 600; text-align: right; }


/* --------------------------------------------------------------------------
   Vendor story page
   -------------------------------------------------------------------------- */

.pb-story__cover { height: clamp(180px, 26vw, 300px); overflow: hidden; border-radius: 0 0 var(--pb-radius-panel) var(--pb-radius-panel); }
.pb-story__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pb-story { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.pb-story__head { display: flex; gap: 20px; align-items: flex-end; flex-wrap: wrap; margin-top: -60px; }
.pb-story__avatar {
  width: 128px; height: 128px; border-radius: 64px;
  border: 5px solid #fff; object-fit: cover; background: var(--pb-green-tint);
  box-shadow: var(--pb-shadow-card);
}
.pb-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pb-stat {
  background: var(--pb-surface); border: 1px solid rgba(20, 30, 22, .05);
  border-radius: var(--pb-radius-lg); padding: 14px 16px; text-align: center;
}
.pb-stat b { display: block; font-family: var(--pb-font-display); font-size: 24px; font-weight: 700; }
.pb-stat span { font-size: 12.5px; color: var(--pb-muted); }

.pb-quote {
  margin: 0; padding: 20px 24px;
  background: var(--pb-green-tint); border-radius: var(--pb-radius-lg);
  border-inline-start: 4px solid var(--pb-green);
  font-family: var(--pb-font-display); font-weight: 600; font-size: 20px;
  line-height: 1.5; color: var(--pb-green-dark);
}

.pb-video { position: relative; border-radius: var(--pb-radius-card); overflow: hidden; }
.pb-video img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; display: block; }
.pb-video__play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(19, 38, 26, .25); border: 0; cursor: pointer; color: #fff;
  transition: background-color .25s var(--pb-ease);
}
.pb-video__play:hover { background: rgba(19, 38, 26, .4); }
.pb-video__caption {
  position: absolute; left: 16px; bottom: 14px; color: #fff;
  font-size: 13.5px; font-weight: 600; text-shadow: 0 1px 6px rgba(0, 0, 0, .5);
}

.pb-gallery-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pb-gallery-strip img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--pb-radius); }

/* --------------------------------------------------------------------------
   Entrepreneur profile — editorial story layout
   -------------------------------------------------------------------------- */

.pb-profile-cover {
  position: relative; height: clamp(220px, 30vw, 360px); overflow: hidden;
  border-radius: 0 0 var(--pb-radius-panel) var(--pb-radius-panel);
}
.pb-profile-cover > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pb-profile-cover__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18, 42, 25, .02) 20%, rgba(18, 42, 25, .2));
  pointer-events: none;
}
.pb-profile-page { position: relative; }
.pb-profile-hero {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  margin-top: 20px; padding: 24px 28px; position: relative; z-index: 1;
  background: var(--pb-surface); border: 1px solid rgba(20, 30, 22, .06);
  border-radius: var(--pb-radius-panel); box-shadow: var(--pb-shadow-card);
}
.pb-profile-hero__identity { display: flex; align-items: flex-end; gap: 20px; min-width: 0; }
.pb-profile-hero__avatar {
  width: 144px; height: 144px; flex: 0 0 auto; object-fit: cover; border-radius: 50%;
  border: 6px solid #fff; background: var(--pb-green-tint); box-shadow: 0 12px 30px rgba(24, 50, 29, .18);
}
.pb-profile-hero__copy { padding-bottom: 8px; min-width: 0; }
.pb-profile-eyebrow, .pb-profile-section-label {
  display: block; color: var(--pb-green); font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}
.pb-profile-hero h1 { margin: 5px 0 4px; font-size: clamp(30px, 4vw, 48px); line-height: 1.05; }
.pb-profile-hero__business { color: var(--pb-ink-soft); font-size: 16px; margin: 0; }
.pb-profile-hero__tagline { max-width: 640px; margin: 8px 0 0; color: var(--pb-muted); font-size: 14.5px; line-height: 1.55; }
.pb-founder .pb-profile-story p + p { margin-top: 14px; }
.pb-founder .pb-profile-quote .pb-profile-section-label { display: block; margin-bottom: 10px; }
@media (min-width: 992px) { .pb-profile-stats.pb-founder-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .pb-profile-stats.pb-founder-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pb-founder-stats .pb-profile-stat--wide { grid-column: auto; }
}
.pb-profile-hero__location { display: flex; align-items: center; gap: 5px; color: var(--pb-muted); font-size: 14px; margin-top: 7px; }
.pb-profile-hero__location svg { width: 17px; height: 17px; fill: none; stroke: var(--pb-green); stroke-width: 1.8; }
.pb-profile-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.pb-profile-chip {
  display: inline-flex; align-items: center; padding: 5px 12px; border-radius: var(--pb-pill);
  background: var(--pb-gold-tint); color: var(--pb-gold-dark); font-size: 13px; font-weight: 600;
}
.pb-profile-chip--green { background: var(--pb-green-tint); color: var(--pb-green); }
/* Without the stat cards between them, the hero and the two columns need their own breathing room. */
.pb-profile-layout--entrepreneur { margin-top: 32px; grid-template-columns: minmax(0, 1fr) 340px; }
.pb-profile-hero__actions { display: flex; gap: 10px; padding-bottom: 8px; flex-wrap: wrap; }
.pb-profile-hero__actions .pb-btn--ghost { background: rgba(255, 255, 255, .82); border: 1px solid var(--pb-line); color: var(--pb-ink); }
.pb-profile-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 28px 0 36px;
}
.pb-profile-stat {
  display: flex; align-items: center; gap: 13px; padding: 16px 18px; min-height: 78px;
  background: var(--pb-surface); border: 1px solid rgba(20, 30, 22, .06);
  border-radius: var(--pb-radius-lg); box-shadow: var(--pb-shadow-card);
}
.pb-profile-stat__icon {
  width: 39px; height: 39px; display: grid; place-items: center; border-radius: 50%;
  font-size: 21px; font-weight: 700; flex: 0 0 auto;
}
.pb-profile-stat__icon--green { color: var(--pb-green); background: var(--pb-green-tint); }
.pb-profile-stat__icon--gold { color: var(--pb-gold-dark); background: #FBF1D3; }
.pb-profile-stat__icon--plum { color: var(--pb-plum); background: #F2E8F0; }
.pb-profile-stat b { display: block; font-family: var(--pb-font-display); font-size: 22px; line-height: 1.1; }
.pb-profile-stat small { display: block; color: var(--pb-muted); font-size: 12.5px; margin-top: 4px; }
.pb-profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; }
.pb-profile-main { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.pb-profile-quote {
  margin: 0; padding: 24px 28px; color: var(--pb-ink);
  background: var(--pb-surface); border: 1px solid var(--pb-line); border-radius: var(--pb-radius-panel);
  box-shadow: var(--pb-shadow-card); font-family: var(--pb-font-display); font-size: 20px; font-weight: 600; line-height: 1.65;
}
.pb-profile-quote p { margin: 0; }
.pb-profile-quote cite { display: block; margin-top: 14px; color: var(--pb-muted); font-family: var(--pb-font-body); font-size: 14px; font-style: normal; font-weight: 500; }
.pb-profile-quote__mark { display: inline; font-size: 1em; line-height: inherit; color: var(--pb-gold-dark); vertical-align: baseline; }
.pb-about__pillars { display: grid; gap: 26px; margin-top: 24px; }
.pb-about__pillar { display: flex; flex-direction: column; gap: 14px; }
.pb-about__pillar--vision { padding: 0 0 22px; border-bottom: 1px solid var(--pb-line); }
.pb-about__pillar--vision > p { max-width: 78ch; padding: 12px 16px; border-inline-start: 3px solid var(--pb-gold); background: var(--pb-green-tint-3); border-radius: 0 var(--pb-radius) var(--pb-radius) 0; color: var(--pb-green-deep); font-weight: 600; }
.pb-about__pillar--mission { padding: 0; }
.pb-about__pillar-title { display: flex; align-items: center; gap: 12px; }
.pb-about__pillar-title .pb-profile-stat__icon { width: 38px; height: 38px; font-size: 18px; }
.pb-about__pillar-title h2 { margin: 0; font-size: 22px; }
.pb-about__pillar > p { margin: 0; color: var(--pb-ink-2); font-size: 15.5px; line-height: 1.75; }
.pb-about__mission-list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding-inline-start: 20px; color: var(--pb-ink-2); font-size: 14.5px; line-height: 1.65; }
.pb-about__quote { margin-block: 40px; padding: 30px 34px; }
.pb-about__activities { margin-top: 48px; }

/* Legal Status: numbered panels stacked 1-2-3; facts reuse the product page's
   pb-facts. Full-width rows put the label a screen away from its value, so from
   768px they become a two-column grid with the label above the value. */
.pb-legal__section { display: flex; flex-direction: column; gap: 16px; }
.pb-legal__title { display: flex; align-items: center; gap: 12px; }
.pb-legal__title .pb-profile-stat__icon { width: 38px; height: 38px; font-size: 18px; }
.pb-legal__title h2 { margin: 0; font-size: 22px; }
.pb-legal__list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding-inline-start: 20px; color: var(--pb-ink-2); font-size: 15px; line-height: 1.7; }
.pb-legal__grid { display: grid; gap: 24px; margin-block: 24px; }
.pb-legal .pb-fact dd { max-width: 60%; }
@media (min-width: 768px) {
  .pb-legal .pb-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
  .pb-legal .pb-fact { flex-direction: column; gap: 3px; padding: 12px 0; font-size: 15px; }
  .pb-legal .pb-fact dt { font-size: 13.5px; }
  .pb-legal .pb-fact dd { max-width: none; text-align: start; }
  .pb-legal .pb-fact dd .pb-pill { align-self: start; }
  /* Last row of the grid: no rule under either cell. */
  .pb-legal .pb-fact:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
}
.pb-legal__note { margin: 0; padding: 12px 16px; border-radius: var(--pb-radius); background: var(--pb-green-tint-3); color: var(--pb-ink-2); font-size: 14.5px; }
.pb-legal__notice p { margin: 0; }
.pb-pill--filed { background: var(--pb-gold-tint); color: var(--pb-gold-dark); }
.pb-about__section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--pb-line); }
.pb-about__section-head h2 { margin: 0 0 6px; font-size: 26px; }
.pb-about__section-head p { margin: 0; color: var(--pb-muted); font-size: 15px; }
.pb-about__tagline { margin: 6px 0 0; color: var(--pb-muted); font-size: 16px; }
.pb-about__tagline--closing { margin-top: 28px; color: var(--pb-gold-dark); font-size: 18px; font-weight: 700; text-align: center; }
.pb-about__activities .pb-table-wrap { border-radius: var(--pb-radius-panel); box-shadow: var(--pb-shadow-card); }
.pb-about__activities .pb-table td { padding-block: 17px; }
/* Our Team / Advisory Board cards (partials/person_card.html). */
.pb-people { margin-top: 30px; align-items: stretch; gap: 24px; }
.pb-person {
  display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  background: var(--pb-surface); border: 1px solid var(--pb-line-soft);
  border-radius: var(--pb-radius-lg); box-shadow: var(--pb-shadow-card);
}
.pb-person__cover { flex: 0 0 76px; height: 76px; background: var(--pb-green-tint); }
.pb-person__body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 0 20px 20px; }
.pb-person__top {
  position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px;
  height: 76px; margin-top: -42px; margin-bottom: 16px;
}
.pb-person__photo {
  position: relative; flex: 0 0 auto; width: 76px; height: 76px; object-fit: cover;
  border: 4px solid #fff; border-radius: 50%;
  background: var(--pb-green-tint); box-shadow: 0 2px 8px rgba(20, 30, 22, .14);
}
.pb-person__badge {
  display: inline-flex; align-items: center; justify-content: center;
  max-width: 58%; min-height: 32px; margin: 0; padding: 3px 9px; border: 0;
  font-size: 11.5px; font-weight: 700; line-height: 1.35; white-space: normal; text-align: center;
}
.pb-person__badge--green { background: var(--pb-green-tint); color: var(--pb-green); }
.pb-person__badge--gold { background: var(--pb-gold-tint); color: var(--pb-gold-dark); }
.pb-person__badge--plum { background: var(--pb-plum-tint-2); color: var(--pb-plum); }
.pb-person__id { padding-bottom: 12px; border-bottom: 1px solid var(--pb-line); }
.pb-person__name { margin: 4px 0 2px; font-size: 17.5px; font-weight: 700; line-height: 1.35; color: var(--pb-ink); }
.pb-person__role { font-size: 13px; font-weight: 600; color: var(--pb-green); }
.pb-person__location { display: flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 12px; color: var(--pb-muted); }
.pb-person__affiliation { display: block; margin-top: 4px; font-size: 12.5px; color: var(--pb-muted); }
.pb-person__bio { margin: 0; font-size: 13px; line-height: 1.6; color: var(--pb-ink-3); }
.pb-people--advisors .pb-person__body { gap: 14px; padding: 0 22px 22px; }
.pb-people--advisors .pb-person__bio { line-height: 1.65; }
.pb-people--advisors .pb-person__name { font-size: 18px; }
.pb-people--advisors .pb-person__role, .pb-people--advisors .pb-person__bio { font-size: 13.5px; }
.pb-women-hero { position: relative; height: clamp(230px, 32vw, 390px); margin: 28px 0 34px; overflow: hidden; border-radius: var(--pb-radius-panel); background: var(--pb-green-deep); }
.pb-women-hero__photo { position: absolute; inset: 0; }
.pb-women-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.pb-women-hero__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.72), transparent 72%); }
.pb-women-hero h2 { position: absolute; inset-inline: 28px; bottom: 24px; max-width: 760px; margin: 0; color: #fff; font-size: clamp(25px, 3.2vw, 40px); line-height: 1.15; text-shadow: 0 2px 8px rgba(0,0,0,.35); }
.pb-crumbs + .pb-women-hero { margin-top: 8px; }
.pb-women-list-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 0 0 22px; }
.pb-women-list-head h1 { margin: 0 0 4px; font-size: 26px; }
.pb-women-list-head p { margin: 0; color: var(--pb-muted); font-size: 14px; }
.pb-women-filters { display: flex; align-items: center; gap: 10px; }
/* "Clear all" beside dropdowns: a tint button at the select's 42px height, as in the dashboard toolbar. */
.pb-filters__reset { min-height: 42px; height: 42px; padding: 0 18px; font-size: 14px; white-space: nowrap; }
.pb-women-grid { margin-top: 24px; gap: 22px; }
.pb-wcard { display: flex; flex-direction: column; gap: 6px; padding: 10px 10px 16px; background: #fff; border: 1px solid var(--pb-line-soft); border-radius: var(--pb-radius-lg); box-shadow: var(--pb-shadow-card); text-align: center; }
.pb-wcard__photo { display: block; aspect-ratio: 4 / 4.4; overflow: hidden; border-radius: var(--pb-radius); background: var(--pb-green-tint-3); }
.pb-wcard__photo img { width: 100%; height: 100%; object-fit: cover; }
.pb-wcard__name { margin: 8px 0 0; font-size: 16px; line-height: 1.35; }
.pb-wcard__where { display: inline-flex; align-items: center; justify-content: center; gap: 4px; color: var(--pb-muted); font-size: 12.5px; }
/* A product list, not a one-word craft: two lines at most, and always two lines'
   height so every card in a row puts its button at the same place. */
.pb-wcard__craft { display: -webkit-box; min-height: calc(2 * 1.45em); margin: 4px 4px 6px; overflow: hidden; color: var(--pb-green); font-size: 14.5px; font-weight: 600; line-height: 1.45; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; }
/* The card's button is a standard pb-btn--gold; this only places it. */
.pb-wcard__cta { margin: auto 14px 0; }
@media (max-width: 600px) {
  .pb-women-hero { height: 230px; margin-block: 22px 28px; }
  .pb-women-hero h2 { inset-inline: 18px; bottom: 18px; }
  .pb-women-list-head { display: block; }
  .pb-women-filters { flex-wrap: wrap; margin-top: 14px; }
  }

/* Our farm and assets: photo banner washed light green from the start edge so
   the deep-green headline reads, then asset cards that ride up over its foot. */
.pb-farm-hero { position: relative; height: clamp(260px, 30vw, 380px); overflow: hidden; border-radius: var(--pb-radius-panel); background: var(--pb-green-tint-3); }
.pb-farm-hero__photo { position: absolute; inset: 0; }
.pb-farm-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.pb-farm-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--pb-green-tint-3) 80%, transparent) 0 30%, color-mix(in srgb, var(--pb-green-tint-3) 55%, transparent) 55%, transparent 78%); }
.pb-farm-hero__copy { position: absolute; inset-inline-start: 40px; top: 50%; max-width: 560px; transform: translateY(-62%); }
.pb-farm-hero h1 { margin: 0; color: var(--pb-green-deep); font-size: clamp(28px, 3.6vw, 48px); line-height: 1.18; }
.pb-farm-hero p { margin: 12px 0 0; color: var(--pb-ink); font-size: clamp(17px, 1.8vw, 24px); font-weight: 700; }
.pb-farm-grid { position: relative; gap: 22px; margin-top: 24px; }
@media (min-width: 992px) { .pb-farm-grid { margin-top: -56px; padding-inline: 28px; } }
.pb-acard { gap: 8px; }
.pb-acard__photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--pb-radius); background: var(--pb-green-tint-3); }
.pb-acard__photo img { width: 100%; height: 100%; object-fit: cover; }
.pb-acard__photo--collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; }
.pb-acard__photo--collage img { min-height: 0; }
.pb-acard__badge { position: absolute; top: 8px; inset-inline-start: 8px; display: inline-flex; align-items: center; gap: 4px; box-shadow: var(--pb-shadow-card); }
.pb-acard__badge svg { width: 12px; height: 12px; }
.pb-acard .pb-wcard__name { font-size: 17px; }
.pb-acard__cta { margin: auto 6px 0; }
.pb-farm-promises { display: flex; flex-wrap: wrap; justify-content: center; margin: 44px 0 8px; padding: 0; list-style: none; }
.pb-farm-promises li { display: inline-flex; align-items: center; gap: 10px; padding: 4px 26px; color: var(--pb-green-deep); font-size: clamp(18px, 2vw, 24px); font-weight: 700; }
.pb-farm-promises li + li { border-inline-start: 2px solid var(--pb-line); }
.pb-farm-promises svg { width: 1.2em; height: 1.2em; flex: none; color: var(--pb-green); }
@media (max-width: 600px) {
  .pb-farm-hero { height: 250px; }
  /* Two narrow columns wrap the button label onto three lines; one card a row reads better. */
  .pb-grid--4.pb-farm-grid { grid-template-columns: minmax(0, 1fr); }
  .pb-acard__photo { aspect-ratio: 16 / 10; }
  .pb-farm-promises { margin-top: 32px; }
  /* Three columns, icon over label, so a long English label never wraps under a divider. */
  .pb-farm-promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pb-farm-promises li { flex-direction: column; gap: 6px; padding: 2px 6px; font-size: 14px; text-align: center; }
  .pb-farm-hero__shade { background: linear-gradient(90deg, color-mix(in srgb, var(--pb-green-tint-3) 82%, transparent) 0 50%, color-mix(in srgb, var(--pb-green-tint-3) 45%, transparent)); }
  .pb-farm-hero__copy { inset-inline: 18px; }
}

/* Climate and eco-practices: the client's page in our look. Their dark-green
   dotted hero and gold accents are kept, rebuilt from the brand tokens; cards,
   chips and buttons are the storefront's own so the page sits with its siblings. */
.pb-eco-icon { width: 1em; height: 1em; flex: none; }
.pb-eco-hero {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 36px; align-items: center;
  padding: clamp(32px, 5vw, 64px) clamp(22px, 4vw, 52px) clamp(64px, 7vw, 96px);
  border-radius: var(--pb-radius-panel); color: #fff;
  background:
    radial-gradient(color-mix(in srgb, var(--pb-leaf) 28%, transparent) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(135deg, var(--pb-green-deep) 0%, var(--pb-green-dark) 60%, color-mix(in srgb, var(--pb-gold) 30%, var(--pb-green-dark)) 100%);
}
.pb-eco-hero__eyebrow, .pb-eco-charter__eyebrow, .pb-eco-spotlight__eyebrow, .pb-eco-cta__eyebrow {
  display: inline-flex; align-items: center; gap: 8px; color: var(--pb-gold-light); font-size: 14px; font-weight: 700;
}
.pb-eco-hero__eyebrow {
  padding: 6px 14px; border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--pb-pill); background: rgba(255, 255, 255, .1);
}
.pb-eco-hero h1 { margin: 18px 0 0; color: #fff; font-size: clamp(28px, 3.8vw, 48px); line-height: 1.18; }
.pb-eco-hero h1 small { display: block; margin-top: 10px; color: var(--pb-green-tint); font-size: clamp(17px, 1.8vw, 22px); font-weight: 600; }
.pb-eco-hero__copy > p { max-width: 62ch; margin: 18px 0 0; color: rgba(255, 255, 255, .88); font-size: clamp(15px, 1.4vw, 17.5px); line-height: 1.75; }
.pb-eco-hero__actions, .pb-eco-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.pb-eco-hero .pb-btn .pb-eco-icon, .pb-eco-cta .pb-btn .pb-eco-icon { font-size: 18px; }
.pb-eco-hero__ghost {
  --pb-btn-bg: rgba(255, 255, 255, .1); --pb-btn-bg-hover: rgba(255, 255, 255, .2);
  border: 1px solid rgba(255, 255, 255, .28);
}
.pb-eco-hero__ghost .pb-eco-icon { color: var(--pb-gold-light); }

.pb-eco-charter {
  padding: 24px 26px; border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--pb-radius-card);
  background: rgba(255, 255, 255, .1); backdrop-filter: blur(8px);
}
.pb-eco-charter__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.pb-eco-charter__eyebrow { font-size: 12.5px; }
.pb-eco-charter h2 { margin: 2px 0 0; color: #fff; font-size: 19px; }
.pb-eco-charter__badge {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: var(--pb-circle);
  background: color-mix(in srgb, var(--pb-leaf) 30%, transparent); color: var(--pb-green-tint); font-size: 22px;
}
.pb-eco-charter ul { display: flex; flex-direction: column; gap: 14px; margin: 18px 0 0; padding: 0; list-style: none; }
.pb-eco-charter li { display: flex; align-items: flex-start; gap: 12px; }
.pb-eco-charter li b { display: block; color: #fff; font-size: 15px; }
.pb-eco-charter li span { display: block; color: rgba(255, 255, 255, .78); font-size: 13.5px; }
.pb-eco-charter__tick {
  display: grid; place-items: center; width: 24px; height: 24px; flex: none; margin-top: 2px;
  border-radius: var(--pb-circle); background: var(--pb-leaf); color: #fff; font-size: 13px;
}

.pb-eco-pillars {
  position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px;
  margin: -44px 0 0; padding: 0 clamp(0px, 2vw, 28px); list-style: none;
}
.pb-eco-pillar {
  padding: 22px; border: 1px solid rgba(20, 30, 22, .06); border-radius: var(--pb-radius-card);
  background: var(--pb-surface); box-shadow: var(--pb-shadow-card);
  transition: transform .3s var(--pb-ease), box-shadow .3s var(--pb-ease);
}
.pb-eco-pillar:hover, .pb-eco-card:hover { transform: translateY(-4px); box-shadow: var(--pb-shadow-hover); }
.pb-eco-pillar__icon {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 14px;
  border-radius: var(--pb-radius); font-size: 22px;
}
.pb-eco-pillar__icon--green { background: var(--pb-green-tint); color: var(--pb-green); }
.pb-eco-pillar__icon--gold { background: var(--pb-gold-tint); color: var(--pb-gold-dark); }
.pb-eco-pillar__value { display: block; color: var(--pb-green); font-family: var(--pb-font-display); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; }
/* A word in place of a number ("Less plastic") would wrap at number size. */
.pb-eco-pillar__value--text { font-size: clamp(20px, 1.9vw, 24px); }
.pb-eco-pillar h3 { margin: 6px 0 0; font-size: 16px; }
.pb-eco-pillar p { margin: 4px 0 0; color: var(--pb-muted); font-size: 13.5px; }

.pb-eco-practices { padding-top: 56px; }
.pb-eco-head { max-width: 760px; }
.pb-eco-eyebrow {
  display: inline-block; padding: 4px 14px; border: 1px solid color-mix(in srgb, var(--pb-gold) 35%, transparent);
  border-radius: var(--pb-pill); background: var(--pb-gold-tint); color: var(--pb-gold-dark); font-size: 13px; font-weight: 700;
}
.pb-eco-head h2 { margin: 12px 0 0; color: var(--pb-green-deep); font-size: clamp(24px, 3vw, 36px); }
.pb-eco-tabs { justify-content: center; margin-bottom: 28px; }
.pb-eco-tabs .pb-chip.is-active { background: var(--pb-green); border-color: var(--pb-green); }
.pb-eco-grid { gap: 24px; }
.pb-eco-card {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid rgba(20, 30, 22, .06); border-radius: var(--pb-radius-card);
  background: var(--pb-surface); box-shadow: var(--pb-shadow-card);
  transition: transform .3s var(--pb-ease), box-shadow .3s var(--pb-ease);
}
.pb-eco-card__body { flex: 1; padding: 24px; }
.pb-eco-card__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; }
.pb-eco-card__kind { background: var(--pb-green-tint); }
.pb-eco-card--packaging .pb-eco-card__kind { background: var(--pb-gold-tint); color: var(--pb-gold-dark); }
.pb-eco-card__icon {
  display: grid; place-items: center; width: 42px; height: 42px; flex: none;
  border-radius: var(--pb-radius); background: var(--pb-gold-tint); color: var(--pb-gold-dark); font-size: 20px;
}
.pb-eco-card--packaging .pb-eco-card__icon { background: var(--pb-green-tint); color: var(--pb-green); }
.pb-eco-card h3 { margin: 0; font-size: 20px; }
.pb-eco-card__sub { margin: 4px 0 12px; color: var(--pb-green); font-size: 13.5px; font-weight: 700; }
.pb-eco-card--packaging .pb-eco-card__sub { color: var(--pb-gold-dark); }
.pb-eco-card__body > p:last-child { margin: 0; color: var(--pb-ink-soft); font-size: 15px; line-height: 1.7; }
.pb-eco-card__foot {
  display: flex; align-items: center; gap: 8px; margin: 0; padding: 13px 24px;
  border-top: 1px solid var(--pb-line-soft); background: var(--pb-green-tint-2); color: var(--pb-green); font-size: 13.5px; font-weight: 700;
}
.pb-eco-card__foot .pb-eco-icon { color: var(--pb-leaf); font-size: 16px; }

.pb-eco-card__tag { margin-inline-start: auto; color: var(--pb-muted); font-size: 12.5px; font-weight: 600; }

/* Eco-impact simulator: a white panel with a deep-green header, controls on the
   start side and the three result figures on the end side. Design only for now. */
.pb-eco-sim {
  margin-top: 56px; overflow: hidden; border: 1px solid rgba(20, 30, 22, .06);
  border-radius: var(--pb-radius-panel); background: var(--pb-surface); box-shadow: var(--pb-shadow-hero);
}
.pb-eco-sim__head {
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: clamp(22px, 3vw, 34px) clamp(22px, 3.5vw, 40px); background: var(--pb-green-deep); color: #fff;
}
.pb-eco-sim__eyebrow { color: var(--pb-gold-light); font-size: 13px; font-weight: 700; }
.pb-eco-sim__head h2 { margin: 4px 0 0; color: #fff; font-size: clamp(22px, 2.6vw, 30px); }
.pb-eco-sim__head p { max-width: 62ch; margin: 6px 0 0; color: rgba(255, 255, 255, .85); font-size: 14.5px; }
.pb-eco-sim__badge {
  display: grid; place-items: center; width: 56px; height: 56px; flex: none;
  border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--pb-radius-lg);
  background: rgba(255, 255, 255, .1); color: var(--pb-gold-light); font-size: 26px;
}
.pb-eco-sim__body {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: start;
  padding: clamp(22px, 3.5vw, 40px);
}
.pb-eco-sim__controls { display: flex; flex-direction: column; gap: 22px; }
.pb-eco-sim fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.pb-eco-sim legend, .pb-eco-sim__qty label { margin-bottom: 12px; color: var(--pb-ink); font-size: 15px; font-weight: 700; }
.pb-eco-sim__products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pb-eco-sim__product {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; text-align: start;
  border: 2px solid var(--pb-line); border-radius: var(--pb-radius); background: var(--pb-surface);
  font: inherit; color: inherit; cursor: pointer;
  transition: border-color .2s var(--pb-ease), background-color .2s var(--pb-ease);
}
.pb-eco-sim__product:hover { border-color: var(--pb-leaf); }
.pb-eco-sim__product.is-active { border-color: var(--pb-green); background: var(--pb-green-tint-2); }
.pb-eco-sim__product b { display: block; color: var(--pb-green); font-size: 14px; line-height: 1.35; }
.pb-eco-sim__product small { display: block; color: var(--pb-muted); font-size: 12px; }
.pb-eco-sim__product-icon {
  display: grid; place-items: center; width: 36px; height: 36px; flex: none;
  border-radius: var(--pb-radius-sm); background: var(--pb-green-tint); color: var(--pb-leaf); font-size: 18px;
}
.pb-eco-sim__qty { padding: 18px 20px; border: 1px solid var(--pb-line); border-radius: var(--pb-radius-lg); background: var(--pb-green-tint-3); }
.pb-eco-sim__qty-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pb-eco-sim__qty label { margin: 0; }
.pb-eco-sim__qty output {
  padding: 4px 12px; border-radius: var(--pb-radius-sm); background: var(--pb-green); color: #fff; font-size: 14px; font-weight: 700;
}
.pb-eco-sim__qty input[type="range"] { width: 100%; margin: 16px 0 6px; accent-color: var(--pb-green); }
.pb-eco-sim__ticks { display: flex; justify-content: space-between; color: var(--pb-muted); font-size: 12px; }
.pb-eco-sim__results {
  display: flex; flex-direction: column; gap: 14px; padding: 22px; border: 1px solid var(--pb-line-soft);
  border-radius: var(--pb-radius-lg); background: linear-gradient(135deg, var(--pb-green-tint-2), var(--pb-gold-tint));
}
.pb-eco-sim__results h3 {
  margin: 0; padding-bottom: 10px; border-bottom: 1px solid var(--pb-line);
  color: var(--pb-green); font-size: 15px;
}
.pb-eco-sim__metric {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  border-radius: var(--pb-radius); background: var(--pb-surface); box-shadow: var(--pb-shadow-card);
}
.pb-eco-sim__metric p { margin: 0; color: var(--pb-muted); font-size: 13px; }
.pb-eco-sim__metric b { display: block; color: var(--pb-green); font-family: var(--pb-font-display); font-size: 22px; line-height: 1.25; }
.pb-eco-sim__metric b.pb-eco-sim__money { color: var(--pb-gold-dark); }
.pb-eco-sim__metric b.pb-eco-sim__food { color: var(--pb-ink); font-family: var(--pb-font-body); font-size: 16px; }
.pb-eco-sim__metric-icon {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none;
  border-radius: var(--pb-radius); background: var(--pb-green-tint); color: var(--pb-green); font-size: 20px;
}
.pb-eco-sim__metric-icon--gold { background: var(--pb-gold-tint); color: var(--pb-gold-dark); }

.pb-eco-spotlight {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: 56px; overflow: hidden;
  border: 1px solid rgba(20, 30, 22, .06); border-radius: var(--pb-radius-panel); background: var(--pb-surface); box-shadow: var(--pb-shadow-card);
}
.pb-eco-spotlight__panel { padding: clamp(26px, 3.5vw, 42px); background: var(--pb-green-deep); color: #fff; }
.pb-eco-spotlight__eyebrow { padding: 4px 12px; border-radius: var(--pb-pill); background: rgba(255, 255, 255, .12); font-size: 12.5px; }
.pb-eco-spotlight h2 { margin: 16px 0 0; color: #fff; font-size: clamp(21px, 2.3vw, 28px); line-height: 1.35; }
.pb-eco-spotlight__panel > p { margin: 14px 0 0; color: rgba(255, 255, 255, .85); font-size: 15px; line-height: 1.75; }
.pb-eco-spotlight__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 26px 0 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .15); }
.pb-eco-spotlight__facts dt { color: var(--pb-gold-light); font-family: var(--pb-font-display); font-size: 20px; line-height: 1.2; }
.pb-eco-spotlight__facts dd { margin: 4px 0 0; color: rgba(255, 255, 255, .78); font-size: 13px; }
.pb-eco-spotlight__points { display: grid; grid-template-columns: 1fr 1fr; align-content: center; background: var(--pb-green-tint-3); gap: 22px; padding: clamp(24px, 3.5vw, 44px); }
.pb-eco-point { padding: 28px 26px; border: 1px solid var(--pb-line-soft); border-radius: var(--pb-radius-card); background: var(--pb-surface); box-shadow: var(--pb-shadow-card); }
.pb-eco-point h3 { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--pb-green); font-size: 18.5px; }
.pb-eco-point h3 .pb-eco-icon { color: var(--pb-gold-dark); font-size: 22px; }
.pb-eco-point p { margin: 12px 0 0; color: var(--pb-ink-soft); font-size: 15.5px; line-height: 1.7; }

.pb-eco-cta {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px;
  margin: 40px 0 8px; padding: clamp(26px, 4vw, 48px); border-radius: var(--pb-radius-panel); color: #fff;
  background: linear-gradient(90deg, var(--pb-green-deep), var(--pb-green) 55%, var(--pb-green-deep));
}
.pb-eco-cta > div:first-child { max-width: 640px; }
.pb-eco-cta h2 { margin: 8px 0 0; color: #fff; font-size: clamp(22px, 2.6vw, 30px); }
.pb-eco-cta p { margin: 10px 0 0; color: rgba(255, 255, 255, .88); font-size: 15.5px; }
.pb-eco-cta__actions { margin-top: 0; }

@media (max-width: 992px) {
  .pb-eco-hero { grid-template-columns: minmax(0, 1fr); }
  .pb-eco-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pb-grid--3.pb-eco-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pb-eco-spotlight { grid-template-columns: minmax(0, 1fr); }
  .pb-eco-sim__body { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .pb-eco-pillars { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: -36px; }
  .pb-grid--3.pb-eco-grid { grid-template-columns: minmax(0, 1fr); }
  .pb-eco-spotlight__points { grid-template-columns: minmax(0, 1fr); }
  .pb-eco-sim__products { grid-template-columns: minmax(0, 1fr); }
  .pb-eco-sim__badge { display: none; }
  .pb-eco-hero__actions .pb-btn, .pb-eco-cta__actions .pb-btn { width: 100%; }
  .pb-eco-cta__actions { width: 100%; }
}

/* Impact metrics: the client's 3x3 grid of number cards. Light sage cards that
   deepen on hover, a drawn illustration, then title, figure and one line. */
.pb-impact__head { max-width: 640px; margin-bottom: 32px; }
.pb-impact__eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--pb-gold-dark); font-size: 13px; font-weight: 700;
}
.pb-impact__eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: var(--pb-circle); background: var(--pb-leaf); }
.pb-impact__head h1 { margin: 6px 0 0; color: var(--pb-green-deep); font-size: clamp(24px, 3vw, 34px); }
.pb-impact__head p { margin-top: 8px; color: var(--pb-muted); font-size: 14.5px; }
.pb-impact-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px;
  margin: 0 0 16px; padding: 0; list-style: none;
}
.pb-impact-card {
  display: flex; flex-direction: column; align-items: center; padding: 28px 24px; text-align: center;
  border: 1px solid var(--pb-line-soft); border-radius: var(--pb-radius-card); background: var(--pb-green-tint-3);
  transition: transform .22s var(--pb-ease), box-shadow .22s var(--pb-ease), background-color .22s var(--pb-ease);
}
.pb-impact-card:hover { transform: translateY(-3px); box-shadow: var(--pb-shadow-hover); background: var(--pb-green-tint-2); }
.pb-impact-card__art { width: 64px; height: 64px; margin-bottom: 12px; }
.pb-impact-card h2 { margin: 0; color: var(--pb-green); font-size: 16px; }
.pb-impact-card__number {
  display: block; margin: 6px 0 4px; color: var(--pb-ink); font-family: var(--pb-font-display);
  font-size: clamp(30px, 3vw, 36px); line-height: 1.15; font-variant-numeric: tabular-nums;
}
.pb-impact-card p { max-width: 270px; margin: 4px 0 0; color: var(--pb-ink-soft); font-size: 13.5px; line-height: 1.65; }
/* Our Partners: logo tiles under the cards, four across (two on phones), as in the client's page. */
.pb-impact-partners { margin-top: 64px; }
.pb-impact-partners .pb-impact__head { margin-bottom: 24px; }
.pb-impact-partners h2 { margin: 6px 0 0; color: var(--pb-green-deep); font-size: clamp(22px, 2.6vw, 30px); }
.pb-impact-partners__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.pb-impact-partners__tile {
  display: flex; align-items: center; justify-content: center; height: 112px; padding: 16px;
  background: var(--pb-surface); border: 1px solid var(--pb-line-soft); border-radius: var(--pb-radius-lg);
  transition: box-shadow .2s;
}
.pb-impact-partners__tile:hover { box-shadow: var(--pb-shadow-card); }
.pb-impact-partners__tile img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
@media (max-width: 768px) {
  .pb-impact-partners { margin-top: 48px; }
  .pb-impact-partners__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pb-impact-partners__tile { height: 96px; padding: 12px; }
}
@media (max-width: 992px) { .pb-impact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pb-impact-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; } }

/* Partner With Us: vendor offer, vendor application and franchise guideline.
   The client's proposals are long documents, so the pages lean on numbered
   section headings, white cards on the page background, and tables. */
.pb-partner { display: flex; flex-direction: column; gap: 24px; }
.pb-partner p { line-height: 1.75; }
.pb-partner-hero {
  padding: clamp(26px, 4vw, 48px); border-radius: var(--pb-radius-panel);
  background: var(--pb-green-tint-3); border: 1px solid var(--pb-line-soft);
}
.pb-partner-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px; color: var(--pb-gold-dark); font-size: 13.5px; font-weight: 700;
}
.pb-partner-hero__eyebrow .pb-eco-icon { font-size: 17px; }
.pb-partner-hero h1 { margin: 10px 0 0; color: var(--pb-green-deep); font-size: clamp(26px, 3.4vw, 40px); line-height: 1.2; }
.pb-partner-hero p { max-width: 80ch; margin: 12px 0 0; color: var(--pb-ink-2); font-size: 15.5px; }
/* The vendor form's draft / sample / clear buttons, at the foot of its hero card (as in the client's header). */
.pb-apply-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pb-apply-tools[hidden] { display: none; }
.pb-apply-tools .pb-btn { gap: 6px; }
.pb-apply-tools .pb-eco-icon { width: 15px; height: 15px; }
.pb-btn--gold-tint { --pb-btn-bg: var(--pb-gold-tint); --pb-btn-fg: var(--pb-gold-dark); --pb-btn-bg-hover: var(--pb-gold-light); border: 1px solid var(--pb-gold-light); }
.pb-apply-tools__clear:hover { --pb-btn-fg: var(--pb-danger); border-color: var(--pb-danger); }
.pb-apply-tools__confirm { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--pb-danger); font-size: 14px; font-weight: 600; }
.pb-apply-tools__confirm[hidden] { display: none; }
.pb-partner-hero--dark {
  color: #fff;
  background:
    radial-gradient(color-mix(in srgb, var(--pb-leaf) 28%, transparent) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(135deg, var(--pb-green-deep), var(--pb-green-dark) 65%, color-mix(in srgb, var(--pb-gold) 30%, var(--pb-green-dark)));
  border: 0;
}
.pb-partner-hero--dark .pb-partner-hero__eyebrow { color: var(--pb-gold-light); letter-spacing: .06em; }
.pb-partner-hero--dark h1 { color: #fff; }
.pb-partner-hero__slogan { color: var(--pb-gold-light) !important; font-weight: 700; font-size: 17px !important; }
.pb-partner-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 32px; margin: 20px 0 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .18); }
.pb-partner-hero__meta div { display: flex; gap: 6px; }
.pb-partner-hero__meta dt { color: rgba(255, 255, 255, .7); font-weight: 600; }
.pb-partner-hero__meta dd { margin: 0; color: #fff; font-weight: 700; }

.pb-partner-num {
  display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 6px; flex: none;
  border-radius: var(--pb-pill); background: var(--pb-green); color: #fff; font-size: 14px; font-weight: 700;
}
.pb-partner-heading, .pb-partner-card h2 {
  display: flex; align-items: center; gap: 12px; margin: 0 0 14px; color: var(--pb-green-deep); font-size: clamp(19px, 2vw, 23px);
}
.pb-partner-card h2 .pb-eco-icon { color: var(--pb-gold-dark); font-size: 22px; }
.pb-partner-sub { margin: 20px 0 10px; color: var(--pb-ink); font-size: 16px; }
.pb-partner-card, .pb-partner-section {
  padding: clamp(22px, 3vw, 32px); border: 1px solid rgba(20, 30, 22, .06);
  border-radius: var(--pb-radius-card); background: var(--pb-surface); box-shadow: var(--pb-shadow-card);
}
.pb-partner-card p, .pb-partner-section p { margin: 0 0 10px; color: var(--pb-ink-2); font-size: 15px; }
.pb-partner-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pb-partner-list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pb-partner-list li { display: flex; gap: 10px; color: var(--pb-ink-2); font-size: 15px; line-height: 1.6; }
.pb-partner-list .pb-eco-icon { margin-top: 4px; color: var(--pb-leaf); font-size: 17px; }

.pb-partner-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.pb-partner-table th, .pb-partner-table td { padding: 11px 14px; border-bottom: 1px solid var(--pb-line-soft); text-align: start; vertical-align: top; }
.pb-partner-table thead th { background: var(--pb-green); color: #fff; font-weight: 700; }
.pb-partner-table thead th:first-child { border-start-start-radius: var(--pb-radius-sm); }
.pb-partner-table thead th:last-child { border-start-end-radius: var(--pb-radius-sm); }
.pb-partner-table tbody th { width: 40%; color: var(--pb-ink); font-weight: 600; }
.pb-partner-table tbody tr:nth-child(even) { background: var(--pb-green-tint-3); }
.pb-partner-table--figures td:nth-child(2) { font-weight: 700; white-space: nowrap; }
.pb-partner-table--figures tbody th { width: 30%; }
.pb-partner-table tr.is-total { background: var(--pb-gold-tint) !important; }
.pb-partner-table tr.is-total :is(th, td) { color: var(--pb-green-deep); font-weight: 700; }

.pb-partner-callout {
  margin: 14px 0 0; padding: 14px 18px; border-radius: var(--pb-radius);
  background: var(--pb-green-tint-2); color: var(--pb-ink-2);
}
/* A callout is often itself a <p>; the section's own `p` rule is more specific
   and would wipe its top gap, leaving it flush against the tiles above. */
.pb-partner :is(.pb-partner-card, .pb-partner-section) .pb-partner-callout { margin: 18px 0 0; }
.pb-partner-callout p { margin: 4px 0 0 !important; font-size: 14px !important; }
.pb-partner-callout--warn { background: var(--pb-info-tint); color: var(--pb-info-ink); }
.pb-partner-note { margin-top: 14px !important; color: var(--pb-muted) !important; font-size: 13.5px !important; }

.pb-partner-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: -48px clamp(0px, 2vw, 28px) 0; padding: 0; list-style: none;
}
.pb-partner-stats li {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 18px 12px; text-align: center;
  border-radius: var(--pb-radius-card); background: var(--pb-surface); box-shadow: var(--pb-shadow-card);
}
.pb-partner-stats b { color: var(--pb-green); font-family: var(--pb-font-display); font-size: clamp(24px, 2.6vw, 30px); line-height: 1.2; }
.pb-partner-stats span { color: var(--pb-muted); font-size: 13.5px; font-weight: 600; }
.pb-partner-hero--dark { padding-bottom: clamp(70px, 8vw, 96px); }

.pb-partner-tiles { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.pb-partner-tiles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pb-partner-tiles li { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--pb-line-soft); border-radius: var(--pb-radius-lg); background: var(--pb-green-tint-3); }
.pb-partner-tiles b { color: var(--pb-green); font-size: 16px; }
.pb-partner-tiles li > span:last-child { color: var(--pb-ink-soft); font-size: 14.5px; line-height: 1.65; }
.pb-partner-tiles__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--pb-radius); background: var(--pb-gold-tint); color: var(--pb-gold-dark); font-size: 20px; }
.pb-partner-tiles__num { color: var(--pb-gold-dark); font-size: 13px; font-weight: 700; }

.pb-partner-steps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pb-partner-steps--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pb-partner-steps li { display: flex; align-items: flex-start; gap: 12px; color: var(--pb-ink-2); font-size: 15px; line-height: 1.65; }
.pb-partner-steps b { color: var(--pb-ink); }

.pb-partner-timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.pb-partner-timeline li { padding: 18px; border: 1px solid var(--pb-line-soft); border-radius: var(--pb-radius-lg); background: var(--pb-green-tint-3); }
.pb-partner-timeline__step { display: block; color: var(--pb-gold-dark); font-size: 13px; font-weight: 700; }
.pb-partner-timeline b { display: block; margin-top: 4px; color: var(--pb-green-deep); font-size: 16px; }
.pb-partner-timeline p { margin: 6px 0 0 !important; font-size: 14px !important; }

.pb-partner-figure { margin: 0; }
.pb-partner-figure img { width: 100%; height: auto; border-radius: var(--pb-radius-lg); border: 1px solid var(--pb-line-soft); }
.pb-partner-figure figcaption { margin-top: 8px; color: var(--pb-muted); font-size: 13.5px; text-align: center; }

.pb-partner-swatches { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 18px; padding: 0; list-style: none; }
.pb-partner-swatches li { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border: 1px solid var(--pb-line-soft); border-radius: var(--pb-pill); }
.pb-partner-swatches span { width: 34px; height: 34px; border-radius: var(--pb-circle); background: var(--swatch); }
.pb-partner-swatches code { color: var(--pb-muted); font-size: 12.5px; }

.pb-partner-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 40px; }
.pb-partner-contact__brand b { display: block; color: var(--pb-green); font-family: var(--pb-font-display); font-size: 22px; letter-spacing: .04em; }
.pb-partner-contact__brand span { color: var(--pb-muted); font-weight: 600; }
.pb-partner-contact ul { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pb-partner-contact li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.pb-partner-contact li span { min-width: 72px; color: var(--pb-muted); }
.pb-partner-contact .pb-eco-icon { color: var(--pb-green); font-size: 18px; }

.pb-partner-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  padding: clamp(22px, 3vw, 34px); border-radius: var(--pb-radius-card); background: var(--pb-green-tint-2);
}
.pb-partner-cta p { max-width: 70ch; margin: 0; color: var(--pb-ink-2); font-size: 15.5px; }
.pb-partner-cta--dark { flex-direction: column; text-align: center; color: #fff; background: linear-gradient(135deg, var(--pb-green-deep), var(--pb-green)); }
.pb-partner-cta--dark h2 { margin: 0; color: #fff; font-size: clamp(22px, 2.6vw, 30px); }
.pb-partner-cta--dark p { color: rgba(255, 255, 255, .88); }
.pb-partner-cta--dark img { border-radius: var(--pb-radius); background: #fff; padding: 6px; }

/* Vendor application form (design only). */
.pb-partner-notice { margin: 0; }
.pb-apply { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.pb-apply__main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.pb-apply__side { position: sticky; top: 16px; }
.pb-apply__side .pb-partner-card h2 { font-size: 17px; }
.pb-apply__side .pb-partner-table { font-size: 13.5px; }
.pb-apply__side .pb-partner-table :is(th, td) { padding: 8px 10px; }
.pb-apply__side-sub { margin-top: 20px !important; }
.pb-apply-process { display: flex; flex-direction: column; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; font-size: 14px; color: var(--pb-ink-2); }
.pb-apply-process li { display: flex; align-items: center; gap: 10px; }
.pb-apply-process span { display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: var(--pb-circle); background: var(--pb-green-tint); color: var(--pb-green); font-size: 12.5px; font-weight: 700; }
.pb-apply-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.pb-apply-steps li {
  border-radius: var(--pb-radius); background: var(--pb-surface); font-size: 13px; font-weight: 600;
  box-shadow: var(--pb-shadow-card);
}
/* Each step is a link to its section; the whole tile is the target. */
.pb-apply-steps a {
  display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; padding: 10px 6px;
  border-radius: inherit; color: var(--pb-ink-soft); text-align: center; text-decoration: none;
  transition: background-color .2s var(--pb-ease), color .2s var(--pb-ease);
}
.pb-apply-steps a:hover { background: var(--pb-green-tint-3); color: var(--pb-green); text-decoration: none; }
.pb-apply-steps a:focus-visible { outline: 3px solid var(--pb-gold); outline-offset: 2px; }
/* Clear the pinned header (121px) when a step link lands on its section; phones unpin it (16px rule there). */
.pb-apply-section { scroll-margin-top: 140px; }
.pb-apply-steps span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: var(--pb-circle); background: var(--pb-green-tint); color: var(--pb-green); font-weight: 700; }
.pb-apply-form { display: flex; flex-direction: column; gap: 18px; }
.pb-apply-section {
  display: flex; flex-direction: column; gap: 14px; min-width: 0; margin: 0; padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(20, 30, 22, .06); border-radius: var(--pb-radius-card); background: var(--pb-surface); box-shadow: var(--pb-shadow-card);
}
.pb-apply-section legend {
  float: left; width: 100%; display: flex; align-items: center; gap: 12px; margin: 0; padding: 0;
  color: var(--pb-green-deep); font-family: var(--pb-font-display); font-size: clamp(18px, 2vw, 21px); font-weight: 700;
}
.pb-apply-section legend + * { clear: both; }
.pb-apply-section__lede { margin: -4px 0 4px !important; color: var(--pb-muted) !important; font-size: 13.5px !important; }
.pb-apply-label { font-size: 13.5px; font-weight: 600; color: var(--pb-ink-soft); }
.pb-field--required > .pb-apply-label::after { content: " *"; color: var(--pb-danger); }
/* Two classes: the base .pb-field-row rule comes later in the file and would otherwise win. */
.pb-field-row.pb-field-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pb-field select:disabled { background-color: var(--pb-hover); cursor: not-allowed; }

.pb-apply-types { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.pb-apply-type {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px; text-align: center;
  border: 2px solid var(--pb-line); border-radius: var(--pb-radius); cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--pb-ink-soft);
}
.pb-apply-type input { position: absolute; opacity: 0; pointer-events: none; }
.pb-apply-type .pb-eco-icon { color: var(--pb-green); font-size: 22px; }
.pb-apply-type:has(input:checked) { border-color: var(--pb-green); background: var(--pb-green-tint-2); color: var(--pb-green-deep); }
.pb-apply-type:has(input:focus-visible) { outline: 3px solid var(--pb-gold); outline-offset: 2px; }

.pb-apply-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pb-apply-tag { position: relative; cursor: pointer; }
.pb-apply-tag input { position: absolute; opacity: 0; pointer-events: none; }
.pb-apply-tag span {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px;
  border: 1px solid var(--pb-line); border-radius: var(--pb-pill); background: var(--pb-surface); font-size: 13.5px; font-weight: 600;
}
.pb-apply-tag input:checked + span { border-color: var(--pb-green); background: var(--pb-green); color: #fff; }
.pb-apply-tag input:focus-visible + span { outline: 3px solid var(--pb-gold); outline-offset: 2px; }

.pb-apply-table-wrap { overflow-x: auto; border: 1px solid var(--pb-line-soft); border-radius: var(--pb-radius); }
.pb-apply-table { width: 100%; min-width: 820px; border-collapse: collapse; font-size: 13px; }
.pb-apply-table th { padding: 10px 8px; background: var(--pb-green-tint-2); color: var(--pb-green-deep); font-weight: 700; text-align: start; white-space: nowrap; }
.pb-apply-table td { padding: 6px; border-top: 1px solid var(--pb-line-soft); }
.pb-apply-table td:first-child { width: 32px; color: var(--pb-muted); text-align: center; }
.pb-apply-table input { width: 100%; height: 36px; padding: 0 8px; border: 1px solid var(--pb-line); border-radius: var(--pb-radius-sm); font: inherit; }
.pb-apply-table input:focus { border-color: var(--pb-green); outline: none; box-shadow: 0 0 0 3px var(--pb-green-tint); }
.pb-apply-totals { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 10px 14px; border-radius: var(--pb-radius); background: var(--pb-green-tint-3); font-size: 13.5px; color: var(--pb-ink-soft); }
.pb-apply-totals b { color: var(--pb-green-deep); }
.pb-apply-totals .pb-btn { margin-inline-start: auto; }

.pb-apply-declarations { display: flex; flex-direction: column; gap: 10px; }
.pb-apply-declarations--error .pb-apply-declaration { border-color: var(--pb-danger); }
/* Partner forms, live: help lines, the error summary and the honeypot (partials/apply_*.html). */
.pb-field__help { display: block; margin-top: 4px; font-size: 12.5px; color: var(--pb-muted); }
.pb-apply-errors { flex-direction: column; align-items: flex-start; gap: 6px; }
.pb-apply-errors ul { margin: 0; padding-left: 18px; font-size: 14px; }
.pb-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* The applicant's receipt and the dashboard both lay an application out with partials/application_summary.html. */
.pb-apply-done { margin-bottom: 24px; }
.pb-apply-done__meta { color: var(--pb-muted); font-size: 14px; }
.pb-apply-done__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pb-appsum { display: flex; flex-direction: column; gap: 18px; }
.pb-appsum__section { padding: 18px 20px; background: var(--pb-surface); border: 1px solid var(--pb-line-soft); border-radius: var(--pb-radius-lg); }
.pb-appsum__section h2 { margin: 0 0 12px; font-size: 17px; }
.pb-appsum__products { margin-top: 14px; }
.pb-appsum__products .pb-table { min-width: 620px; font-size: 13px; }
/* Two-word headings ("Shelf Life / Storage") wrap rather than push the prices out of view. */
.pb-appsum__products .pb-table th { white-space: normal; }
/* Dashboard detail: the application takes the room, the review panel a fixed side column. */
@media (min-width: 1100px) { .pb-adm-grid.pb-application { grid-template-columns: minmax(0, 1fr) 340px; } }
/* The form's labels are long (Bangla with the English beside it), so they get a real column, stacked on phones. */
.pb-appsum .pb-deflist > div { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
@media (max-width: 600px) { .pb-appsum .pb-deflist > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.pb-appsum__files { margin: 12px 0 0; padding-left: 18px; }
@media print { .pb-apply-done__actions, .pb-header, .pb-footer, .pb-crumbs { display: none !important; } }
.pb-apply-declaration { align-items: flex-start; padding: 12px 14px; border: 1px solid var(--pb-line-soft); border-radius: var(--pb-radius); background: var(--pb-green-tint-3); font-size: 14px; line-height: 1.6; }
.pb-apply-declaration input { margin-top: 4px; }
.pb-apply-submit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; border-radius: var(--pb-radius-card); background: var(--pb-green-tint-2); }
.pb-apply-inline { display: flex; gap: 8px; }
.pb-apply-inline input { flex: 1; min-width: 0; }
.pb-apply-inline .pb-btn { flex: none; height: 48px; }
.pb-apply-section__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.pb-apply-submit__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pb-apply-receipt { max-width: 640px; border: 0; border-radius: var(--pb-radius-card); box-shadow: var(--pb-shadow-hover); }
.pb-apply-receipt__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pb-apply-submit p { max-width: 52ch; margin: 0; color: var(--pb-ink-soft); font-size: 13.5px; }

/* --- Contact page (after the client's Contact code.html) ------------------
   Reuses the partner-form shell (.pb-partner-hero, .pb-apply*, .pb-faq);
   only the hours badge, the three channel cards and the WhatsApp card are new. */
.pb-contact { display: flex; flex-direction: column; gap: 24px; }
.pb-contact-hero { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.pb-contact-hero__text { flex: 1 1 420px; min-width: 0; }
.pb-contact-hours {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px; flex: none;
  border: 1px solid color-mix(in srgb, var(--pb-gold) 30%, transparent); border-radius: var(--pb-radius-lg); background: var(--pb-gold-tint);
}
.pb-contact-hours__icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: var(--pb-radius); background: var(--pb-green); color: var(--pb-gold-light); font-size: 19px; }
.pb-contact-hours div { display: flex; flex-direction: column; gap: 1px; font-size: 13.5px; }
.pb-contact-hours b { color: var(--pb-green-deep); }
.pb-contact-hours div > span { color: var(--pb-ink-2); font-weight: 600; }
.pb-contact-hours small { color: var(--pb-info-ink); font-size: 12.5px; }

.pb-contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pb-contact-card {
  display: flex; flex-direction: column; gap: 6px; padding: 22px; min-width: 0;
  border: 1px solid rgba(20, 30, 22, .06); border-radius: var(--pb-radius-card); background: var(--pb-surface); box-shadow: var(--pb-shadow-card);
}
.pb-contact-card__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.pb-contact-card__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--pb-radius); background: var(--pb-green-tint-2); color: var(--pb-green); font-size: 20px; }
.pb-contact-card__icon--gold { background: var(--pb-gold-tint); color: var(--pb-gold-dark); }
.pb-contact-card__tag {
  padding: 3px 10px; border-radius: var(--pb-pill); background: var(--pb-green-tint-2); color: var(--pb-green-dark);
  font-size: 12px; font-weight: 700; text-align: end;
}
.pb-contact-card__tag--gold { background: var(--pb-gold-tint); color: var(--pb-info-ink); }
.pb-contact-card h2 { margin: 0; color: var(--pb-green-deep); font-size: 17px; line-height: 1.35; }
.pb-contact-card__number { font-size: 21px !important; letter-spacing: .01em; }
.pb-contact-card__email { overflow-wrap: anywhere; }
.pb-contact-card h2 a { color: inherit; }
.pb-contact-card p { margin: 0; color: var(--pb-ink-soft); font-size: 14px; line-height: 1.6; }
.pb-contact-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--pb-line-softer); }
.pb-contact-card__actions .pb-btn, .pb-contact-wa .pb-btn, .pb-apply-submit .pb-btn { gap: 6px; }
.pb-contact-card__actions .pb-eco-icon { width: 15px; height: 15px; }
.pb-contact-card__actions [hidden] { display: none; }
.pb-contact-copy-icon { padding-inline: 12px; }
/* Email & Web card: one row per address, a small copy icon at the end of each. */
.pb-contact-lines { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; font-size: 14.5px; }
.pb-contact-lines li { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.pb-contact-lines a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--pb-ink-2); font-weight: 600; }
.pb-contact-lines .is-primary a { color: var(--pb-green-deep); font-size: 17px; font-weight: 700; }
.pb-contact-lines .is-web a { color: var(--pb-gold-dark); font-size: 13.5px; font-weight: 700; }
.pb-contact-lines__copy {
  display: grid; place-items: center; width: 28px; height: 28px; flex: none; padding: 0;
  border: 0; border-radius: var(--pb-radius-sm); background: transparent; color: var(--pb-muted); cursor: pointer;
}
.pb-contact-lines__copy:hover { background: var(--pb-green-tint-3); color: var(--pb-green); }
.pb-contact-lines__copy:focus-visible { outline: 3px solid var(--pb-gold); outline-offset: 1px; }
.pb-contact-lines__copy[hidden] { display: none; }
.pb-contact-lines__copy .pb-eco-icon { width: 14px; height: 14px; }

.pb-contact-submit {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px;
  margin-top: 4px; padding-top: 18px; border-top: 1px solid var(--pb-line-softer);
}
.pb-contact-submit p { flex: 1 1 260px; max-width: 52ch; margin: 0; color: var(--pb-muted); font-size: 13px; }
.pb-contact-submit .pb-btn { gap: 8px; }
.pb-contact-topics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* The topic pills' error sits under the grid like any other field's. */
.pb-field--error .pb-apply-type:has(input:checked) { border-color: var(--pb-danger); }
.pb-apply-done__actions .pb-btn { gap: 6px; }
.pb-apply-done__actions .pb-eco-icon { width: 16px; height: 16px; }
.pb-contact-side { display: flex; flex-direction: column; gap: 18px; }
.pb-contact-side .pb-faq summary { font-size: 14.5px; }
.pb-contact-wa {
  display: flex; align-items: flex-start; gap: 12px; padding: 22px; border-radius: var(--pb-radius-card); color: #fff;
  background: linear-gradient(135deg, var(--pb-green), var(--pb-green-deep));
}
.pb-contact-wa__icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border: 1px solid color-mix(in srgb, var(--pb-gold) 45%, transparent); border-radius: var(--pb-radius); background: rgba(255, 255, 255, .1); color: var(--pb-gold-light); font-size: 20px; }
.pb-contact-wa h2 { margin: 0 0 6px; color: #fff; font-size: 16px; }
.pb-contact-wa p { margin: 0 0 12px; color: rgba(255, 255, 255, .85); font-size: 13.5px; line-height: 1.6; }
@media (max-width: 992px) {
  .pb-contact-cards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .pb-contact-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pb-contact-hours { flex: 1 1 100%; }
  .pb-contact-submit .pb-btn { width: 100%; justify-content: center; }
}

/* --- Investment page (after the client's Investment code.html) -------------
   Dark-green hero and calculator, light sections between. The reference's
   orange accent is our Sunrise Gold; its forest green is --pb-green-deep. */
.pb-invest { display: flex; flex-direction: column; gap: 28px; }
.pb-invest .pb-btn { gap: 8px; }
.pb-invest .pb-btn .pb-eco-icon { width: 17px; height: 17px; }
.pb-invest-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 5px 14px;
  border-radius: var(--pb-pill); background: var(--pb-green-tint-2); color: var(--pb-green);
  font-size: 13px; font-weight: 700; letter-spacing: .02em;
}
.pb-invest-eyebrow--gold { background: var(--pb-gold-tint); color: var(--pb-info-ink); }
.pb-invest-eyebrow--dark { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: var(--pb-gold-light); }
.pb-invest-eyebrow .pb-eco-icon { width: 16px; height: 16px; }

/* Hero */
.pb-invest-hero {
  overflow: hidden; border-radius: var(--pb-radius-panel); color: #fff;
  background:
    radial-gradient(color-mix(in srgb, var(--pb-gold) 22%, transparent) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(135deg, var(--pb-green-deep), var(--pb-green-dark) 60%, var(--pb-green-deep));
}
.pb-invest-hero__grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 36px; align-items: center;
  padding: clamp(28px, 5vw, 64px) clamp(22px, 4vw, 56px);
}
.pb-invest-hero__text { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.pb-invest-hero h1 { margin: 0; color: #fff; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.2; }
.pb-invest-hero h1 em { font-style: normal; color: var(--pb-gold-light); }
.pb-invest-hero__text > p { margin: 0; max-width: 62ch; color: rgba(255, 255, 255, .85); font-size: 16.5px; line-height: 1.7; }
.pb-invest-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.pb-invest-btn-glass { --pb-btn-bg: rgba(255, 255, 255, .1); --pb-btn-bg-hover: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .3); }
.pb-invest-btn-light { --pb-btn-bg: #fff; --pb-btn-fg: var(--pb-green-deep); --pb-btn-bg-hover: var(--pb-green-tint-3); }
.pb-invest-hero__card {
  display: flex; flex-direction: column; gap: 18px; padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--pb-radius-card);
  background: rgba(255, 255, 255, .08); box-shadow: 0 24px 50px rgba(0, 0, 0, .25);
}
.pb-invest-hero__card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.pb-invest-hero__card-head small { color: var(--pb-gold-light); font-size: 12.5px; font-weight: 700; letter-spacing: .04em; }
.pb-invest-hero__card-head h2 { margin: 2px 0 0; color: #fff; font-size: 20px; }
.pb-invest-hero__card-icon {
  display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: var(--pb-radius);
  border: 1px solid color-mix(in srgb, var(--pb-gold) 40%, transparent); background: color-mix(in srgb, var(--pb-gold) 18%, transparent);
  color: var(--pb-gold-light); font-size: 21px;
}
.pb-invest-checks { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.pb-invest-checks li { display: flex; gap: 10px; color: rgba(255, 255, 255, .88); font-size: 14.5px; line-height: 1.6; }
.pb-invest-checks li > .pb-eco-icon { margin-top: 4px; color: var(--pb-gold-light); font-size: 17px; }
.pb-invest-checks b { color: #fff; }
.pb-invest-metrics {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 22px clamp(22px, 4vw, 56px);
  list-style: none; background: rgba(0, 0, 0, .22); border-top: 1px solid rgba(255, 255, 255, .12);
}
.pb-invest-metrics li { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pb-invest-metrics__icon {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: var(--pb-radius);
  background: color-mix(in srgb, var(--pb-gold) 20%, transparent); color: var(--pb-gold-light); font-size: 20px;
}
.pb-invest-metrics b { display: block; color: #fff; font-size: 16.5px; }
.pb-invest-metrics small { display: block; color: rgba(255, 255, 255, .7); font-size: 12.5px; line-height: 1.45; }

/* Section shell */
.pb-invest-section { display: flex; flex-direction: column; gap: 28px; padding: clamp(8px, 2vw, 20px) 0; }
.pb-invest-band { padding: clamp(26px, 4vw, 48px) clamp(18px, 3vw, 40px); border-radius: var(--pb-radius-panel); background: var(--pb-surface); }
.pb-invest-head { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 760px; margin: 0 auto; text-align: center; }
.pb-invest-head .pb-invest-eyebrow { align-self: center; }
.pb-invest-head h2 { margin: 0; color: var(--pb-green-deep); font-size: clamp(24px, 3vw, 36px); line-height: 1.25; }
.pb-invest-head p { margin: 0; color: var(--pb-ink-soft); font-size: 16px; line-height: 1.7; }
.pb-invest-head--split { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; max-width: none; margin: 0; text-align: start; }
.pb-invest-head--split > div { display: flex; flex-direction: column; gap: 10px; }
.pb-invest-head--split .pb-invest-eyebrow { align-self: flex-start; }
.pb-invest-card {
  border: 1px solid rgba(20, 30, 22, .07); border-radius: var(--pb-radius-card); background: var(--pb-surface); box-shadow: var(--pb-shadow-card);
}

/* Why invest */
.pb-invest-pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pb-invest-pillar { padding: 24px; transition: box-shadow .2s var(--pb-ease), border-color .2s var(--pb-ease); }
.pb-invest-pillar:hover { box-shadow: var(--pb-shadow-hover); border-color: var(--pb-green-tint); }
.pb-invest-pillar__icon {
  display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px; border-radius: var(--pb-radius-lg);
  background: var(--pb-green-tint-2); color: var(--pb-green); font-size: 25px; transition: background-color .2s, color .2s;
}
.pb-invest-pillar:hover .pb-invest-pillar__icon { background: var(--pb-green); color: #fff; }
.pb-invest-pillar--gold .pb-invest-pillar__icon { background: var(--pb-gold-tint); color: var(--pb-gold-dark); }
.pb-invest-pillar--gold:hover .pb-invest-pillar__icon { background: var(--pb-gold); color: var(--pb-green-deep); }
.pb-invest-pillar h3 { margin: 0 0 8px; color: var(--pb-ink); font-size: 18.5px; }
.pb-invest-pillar p { margin: 0; color: var(--pb-ink-soft); font-size: 14.5px; line-height: 1.7; }

/* Models */
.pb-invest-models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.pb-invest-model { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px; }
.pb-invest-model.is-featured { border: 2px solid var(--pb-green); background: var(--pb-green-tint-3); }
.pb-invest-model__ribbon {
  position: absolute; top: -13px; right: 22px; padding: 4px 14px; border-radius: var(--pb-pill);
  background: var(--pb-green); color: #fff; font-size: 12.5px; font-weight: 700; box-shadow: var(--pb-shadow-float);
}
.pb-invest-model__head { display: flex; align-items: center; gap: 12px; }
.pb-invest-model__icon {
  display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: var(--pb-radius);
  background: var(--pb-gold-tint); color: var(--pb-gold-dark); font-size: 22px;
}
.pb-invest-model.is-featured .pb-invest-model__icon { background: var(--pb-green); color: #fff; }
.pb-invest-model__head small { color: var(--pb-gold-dark); font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.pb-invest-model__head h3 { margin: 2px 0 0; color: var(--pb-ink); font-size: 19px; line-height: 1.3; }
.pb-invest-model > p { margin: 0; color: var(--pb-ink-soft); font-size: 14.5px; line-height: 1.7; }
.pb-invest-terms {
  display: flex; flex-direction: column; gap: 9px; margin: 0 0 4px; padding: 14px 16px; flex: 1;
  border: 1px solid var(--pb-line-soft); border-radius: var(--pb-radius); background: var(--pb-surface); font-size: 14px;
}
.pb-invest-model:not(.is-featured) .pb-invest-terms { background: var(--pb-green-tint-3); }
.pb-invest-terms div { display: flex; justify-content: space-between; gap: 12px; }
.pb-invest-terms dt { flex: none; color: var(--pb-muted); font-weight: 500; white-space: nowrap; }
.pb-invest-terms dd { margin: 0; color: var(--pb-ink); font-weight: 700; text-align: end; }
.pb-invest-terms div:nth-child(3) dd { color: var(--pb-green); }
.pb-invest-terms div:nth-child(4) dd { color: var(--pb-gold-dark); font-weight: 600; }

/* Calculator */
.pb-invest-calc {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 36px; align-items: center;
  padding: clamp(24px, 4vw, 48px); border-radius: var(--pb-radius-panel); color: #fff;
  background: linear-gradient(135deg, var(--pb-green-dark), var(--pb-green-deep)); box-shadow: var(--pb-shadow-hero);
}
.pb-invest-calc__controls { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.pb-invest-calc__controls h2 { margin: 10px 0 4px; color: #fff; font-size: clamp(22px, 2.6vw, 30px); }
.pb-invest-calc__controls p { margin: 0; color: rgba(255, 255, 255, .8); font-size: 14.5px; }
.pb-invest-range__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.pb-invest-range__head label { color: rgba(255, 255, 255, .88); font-size: 14.5px; font-weight: 600; }
.pb-invest-range__head output { color: var(--pb-gold-light); font-size: 21px; font-weight: 700; white-space: nowrap; }
.pb-invest-range__scale { display: flex; justify-content: space-between; margin-top: 6px; color: rgba(255, 255, 255, .6); font-size: 12.5px; }
.pb-invest-range input[type=range] { width: 100%; height: 22px; margin: 0; background: transparent; accent-color: var(--pb-gold); -webkit-appearance: none; appearance: none; cursor: pointer; }
.pb-invest-range input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: var(--pb-pill); background: var(--pb-green-tint); }
.pb-invest-range input[type=range]::-moz-range-track { height: 6px; border-radius: var(--pb-pill); background: var(--pb-green-tint); }
.pb-invest-range input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border: 3px solid var(--pb-gold);
  border-radius: var(--pb-circle); background: var(--pb-green-deep); box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
}
.pb-invest-range input[type=range]::-moz-range-thumb {
  width: 16px; height: 16px; border: 3px solid var(--pb-gold); border-radius: var(--pb-circle); background: var(--pb-green-deep);
}
.pb-invest-range input[type=range]:focus-visible { outline: 3px solid var(--pb-gold-light); outline-offset: 4px; border-radius: var(--pb-pill); }
.pb-invest-durations { margin: 0; padding: 0; border: 0; min-width: 0; }
.pb-invest-durations legend { margin-bottom: 8px; color: rgba(255, 255, 255, .88); font-size: 14.5px; font-weight: 600; }
.pb-invest-durations > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pb-invest-duration { position: relative; cursor: pointer; }
.pb-invest-duration input { position: absolute; opacity: 0; pointer-events: none; }
.pb-invest-duration span {
  display: block; padding: 11px 6px; border-radius: var(--pb-radius); background: rgba(255, 255, 255, .1);
  color: #fff; font-size: 14px; font-weight: 600; text-align: center; transition: background-color .15s;
}
.pb-invest-duration:hover span { background: rgba(255, 255, 255, .18); }
.pb-invest-duration input:checked + span { background: var(--pb-gold); color: var(--pb-green-deep); font-weight: 700; box-shadow: var(--pb-shadow-float); }
.pb-invest-duration input:focus-visible + span { outline: 3px solid var(--pb-gold-light); outline-offset: 2px; }
.pb-invest-calc__controls [data-calc-submit] { align-self: flex-start; }
.pb-invest-calc__controls [data-calc-submit][hidden] { display: none; }
.pb-invest-calc__result {
  display: flex; flex-direction: column; gap: 16px; padding: clamp(20px, 3vw, 28px);
  border-radius: var(--pb-radius-card); background: var(--pb-surface); color: var(--pb-ink); box-shadow: var(--pb-shadow-hover);
}
.pb-invest-calc__result-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--pb-line-soft); color: var(--pb-muted); font-size: 13.5px; font-weight: 700; }
.pb-invest-chip { padding: 3px 10px; border-radius: var(--pb-pill); background: var(--pb-green-tint-2); color: var(--pb-green); font-size: 12.5px; }
.pb-invest-calc__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pb-invest-calc__pair > div, .pb-invest-calc__total { padding: 14px; border: 1px solid var(--pb-line-soft); border-radius: var(--pb-radius); background: var(--pb-green-tint-3); }
.pb-invest-calc__pair > .is-profit { border-color: var(--pb-green-tint); background: var(--pb-green-tint-2); }
.pb-invest-calc__pair small, .pb-invest-calc__total small { display: block; color: var(--pb-muted); font-size: 12.5px; font-weight: 600; }
.pb-invest-calc__pair b { display: block; margin-top: 2px; color: var(--pb-ink); font-size: 19px; }
.pb-invest-calc__pair .is-profit b, .pb-invest-calc__pair .is-profit small { color: var(--pb-green); }
.pb-invest-calc__total { border-color: var(--pb-gold-light); background: var(--pb-gold-tint); }
.pb-invest-calc__total small { color: var(--pb-info-ink); }
.pb-invest-calc__total b { display: block; margin-top: 2px; color: var(--pb-ink); font-size: clamp(24px, 2.6vw, 30px); }
.pb-invest-calc__note { display: flex; gap: 8px; margin: 0; color: var(--pb-muted); font-size: 12.5px; line-height: 1.6; }
.pb-invest-calc__note > .pb-eco-icon { flex: none; margin-top: 3px; color: var(--pb-gold-dark); }

/* Projects */
.pb-invest-verified {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--pb-green-tint);
  border-radius: var(--pb-radius); background: var(--pb-green-tint-3); color: var(--pb-green); font-size: 14px; font-weight: 600;
}
.pb-invest-verified .pb-eco-icon { color: var(--pb-gold-dark); }
.pb-invest-projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pb-invest-project { display: flex; flex-direction: column; overflow: hidden; }
.pb-invest-project__cover {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: 190px; padding: 44px 20px 48px; color: #fff; text-align: center;
}
.pb-invest-project__cover--water { background: linear-gradient(120deg, var(--pb-sky-deep), var(--pb-green-deep)); }
.pb-invest-project__cover--mango { background: linear-gradient(120deg, var(--pb-gold-dark), var(--pb-green-dark)); }
.pb-invest-project__cover--earth { background: linear-gradient(120deg, var(--pb-ink-2), var(--pb-green-deep)); }
.pb-invest-project__cover-icon { color: var(--pb-gold-light); font-size: 38px; }
.pb-invest-project__cover b { font-size: 17.5px; }
.pb-invest-project__cover small { color: rgba(255, 255, 255, .78); font-size: 12.5px; }
.pb-invest-project__badge {
  position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px;
  border-radius: var(--pb-pill); background: #fff; color: var(--pb-green); font-size: 12px; font-weight: 700; box-shadow: var(--pb-shadow-float);
}
.pb-invest-project__badge .pb-eco-icon { width: 13px; height: 13px; color: var(--pb-leaf); }
.pb-invest-project__code {
  position: absolute; right: 12px; bottom: 12px; padding: 3px 9px; border-radius: 6px; background: rgba(0, 0, 0, .55);
  color: #fff; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px;
}
.pb-invest-project__code--plain { font-family: inherit; font-weight: 600; }
.pb-invest-project__body { display: flex; flex: 1; flex-direction: column; gap: 14px; padding: 22px; }
.pb-invest-project__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; color: var(--pb-muted); font-size: 13px; }
.pb-invest-project__meta b { color: var(--pb-ink-2); }
.pb-invest-project h3 { margin: 0; color: var(--pb-ink); font-size: 17.5px; line-height: 1.4; }
.pb-invest-progress__label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; margin-bottom: 7px; font-size: 13px; }
.pb-invest-progress__label b { color: var(--pb-green); }
.pb-invest-progress__label span { color: var(--pb-muted); font-weight: 600; }
.pb-invest-progress__bar { height: 9px; overflow: hidden; border-radius: var(--pb-pill); background: var(--pb-line-soft); }
.pb-invest-progress__bar span { display: block; height: 100%; border-radius: inherit; background: var(--pb-green); }
.pb-invest-figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; text-align: center; }
.pb-invest-figures li { padding: 8px 4px; border: 1px solid var(--pb-green-tint); border-radius: var(--pb-radius-sm); background: var(--pb-green-tint-3); }
.pb-invest-figures b { display: block; color: var(--pb-green); font-size: 14px; }
.pb-invest-figures small { color: var(--pb-muted); font-size: 11.5px; line-height: 1.35; }
.pb-invest-project__note, .pb-invest-project__text { margin: 0; color: var(--pb-muted); font-size: 12.5px; line-height: 1.6; }
.pb-invest-project__text { color: var(--pb-ink-soft); font-size: 14px; }
.pb-invest-project__details { margin-top: auto; border: 1px solid var(--pb-line-soft); border-radius: var(--pb-radius); }
.pb-invest-project__details summary {
  display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; cursor: pointer;
  color: var(--pb-green); font-size: 14px; font-weight: 700; list-style: none;
}
.pb-invest-project__details summary::-webkit-details-marker { display: none; }
.pb-invest-project__details summary::after { content: "+"; font-size: 20px; line-height: 1; }
.pb-invest-project__details[open] summary::after { content: "−"; }
.pb-invest-project__details p { margin: 0; padding: 0 14px 12px; color: var(--pb-ink-soft); font-size: 13.5px; line-height: 1.7; }
.pb-invest-project__details .pb-invest-project__contract { color: var(--pb-green); font-weight: 600; }
.pb-invest-project .pb-btn { margin-top: auto; }
.pb-invest-project__details + .pb-btn { margin-top: 0; }

/* Steps */
.pb-invest-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.pb-invest-steps li { padding: 24px; }
.pb-invest-steps li > span {
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: var(--pb-circle);
  background: var(--pb-green); color: #fff; font-weight: 700;
}
.pb-invest-steps li.is-last > span { background: var(--pb-gold); color: var(--pb-green-deep); }
.pb-invest-steps h3 { margin: 0 0 8px; color: var(--pb-ink); font-size: 17.5px; }
.pb-invest-steps p { margin: 0; color: var(--pb-ink-soft); font-size: 14.5px; line-height: 1.7; }

/* Leadership & FAQ */
.pb-invest-trust { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: start; }
.pb-invest-leader { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 3vw, 32px); }
.pb-invest-leader h2, .pb-invest-faq h2 { margin: 0; color: var(--pb-green-deep); font-size: clamp(21px, 2.2vw, 26px); }
.pb-invest-leader__id { display: flex; align-items: center; gap: 14px; }
.pb-invest-leader__id img { width: 68px; height: 68px; flex: none; border-radius: var(--pb-radius-lg); object-fit: cover; box-shadow: var(--pb-shadow-card); }
.pb-invest-leader__id b { display: block; color: var(--pb-ink); font-size: 17.5px; }
.pb-invest-leader__id span { display: block; color: var(--pb-green); font-size: 13px; font-weight: 600; }
.pb-invest-leader__id small { display: block; color: var(--pb-muted); font-size: 12.5px; }
.pb-invest-leader > p { margin: 0; color: var(--pb-ink-soft); font-size: 14.5px; line-height: 1.7; }
.pb-invest-leader blockquote {
  margin: 0; padding: 14px 16px; border-left: 3px solid var(--pb-gold); border-radius: var(--pb-radius);
  background: var(--pb-green-tint-3); color: var(--pb-ink-2); font-size: 14px; line-height: 1.7;
}
.pb-invest-leader__more { align-self: flex-start; color: var(--pb-green); font-size: 14.5px; font-weight: 700; }
.pb-invest-faq { display: flex; flex-direction: column; gap: 16px; }
.pb-invest-faq .pb-faq details { background: var(--pb-surface); }

/* Inquiry */
.pb-invest-inquiry {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 36px; align-items: center; scroll-margin-top: 120px;
  padding: clamp(24px, 4vw, 52px); border-radius: var(--pb-radius-panel); color: #fff; background: var(--pb-green-deep);
}
.pb-invest-inquiry__info { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.pb-invest-inquiry__info h2 { margin: 0; color: #fff; font-size: clamp(24px, 3vw, 36px); line-height: 1.25; }
.pb-invest-inquiry__info > p { margin: 0; color: rgba(255, 255, 255, .82); font-size: 15.5px; line-height: 1.7; }
.pb-invest-inquiry__channel {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--pb-radius-lg); background: rgba(255, 255, 255, .08); color: #fff; text-decoration: none;
}
.pb-invest-inquiry__channel:hover { background: rgba(255, 255, 255, .14); color: #fff; text-decoration: none; }
.pb-invest-inquiry__channel > span:first-child {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: var(--pb-radius);
  background: var(--pb-gold); color: var(--pb-green-deep); font-size: 20px;
}
.pb-invest-inquiry__channel small { display: block; color: rgba(255, 255, 255, .7); font-size: 12.5px; }
.pb-invest-inquiry__channel b { display: block; font-size: 17px; overflow-wrap: anywhere; }
.pb-invest-inquiry__form {
  display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: clamp(20px, 3vw, 32px);
  border-radius: var(--pb-radius-card); background: var(--pb-surface); color: var(--pb-ink); box-shadow: 0 24px 50px rgba(0, 0, 0, .25);
}
.pb-invest-inquiry__form h3 { margin: 0 0 4px; padding-bottom: 12px; border-bottom: 1px solid var(--pb-line-soft); color: var(--pb-ink); font-size: 19px; }

@media (max-width: 1100px) {
  .pb-invest-pillars, .pb-invest-steps, .pb-invest-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pb-invest-models, .pb-invest-projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .pb-invest-hero__grid, .pb-invest-calc, .pb-invest-trust, .pb-invest-inquiry { grid-template-columns: minmax(0, 1fr); }
  .pb-invest-models, .pb-invest-projects { grid-template-columns: minmax(0, 1fr); }
  .pb-invest-model.is-featured { margin-top: 10px; }
}
@media (max-width: 600px) {
  .pb-invest-pillars, .pb-invest-steps, .pb-invest-metrics { grid-template-columns: minmax(0, 1fr); }
  .pb-invest-hero__actions .pb-btn { width: 100%; }
  .pb-invest-durations span { font-size: 12.5px; }
  .pb-invest-calc__pair b { font-size: 16.5px; }
}

@media (max-width: 992px) {
  .pb-partner-grid, .pb-partner-tiles--2, .pb-partner-steps--2 { grid-template-columns: minmax(0, 1fr); }
  .pb-partner-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pb-partner-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pb-apply { grid-template-columns: minmax(0, 1fr); }
  .pb-apply__side { position: static; }
  .pb-apply-types { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .pb-partner-timeline, .pb-field-row.pb-field-row--3 { grid-template-columns: minmax(0, 1fr); }
  .pb-partner-stats { margin-top: -40px; }
  .pb-partner-table tbody th { width: auto; }
  .pb-apply-steps { grid-template-columns: repeat(5, minmax(56px, 1fr)); overflow-x: auto; }
  .pb-apply-steps li { font-size: 11.5px; padding: 8px 4px; }
  .pb-apply-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pb-apply-submit .pb-btn { width: 100%; }
}

/* Footer policies (delivery, return, privacy): long legal text, so a readable
   measure, one white card per numbered section, and tables that scroll inside
   themselves on a phone instead of widening the page. */
.pb-policy { display: flex; flex-direction: column; gap: 18px; max-width: 920px; }
.pb-policy__head { padding: clamp(24px, 3.5vw, 40px); border-radius: var(--pb-radius-panel); background: var(--pb-green-tint-3); border: 1px solid var(--pb-line-soft); }
.pb-policy__eyebrow { color: var(--pb-gold-dark); font-size: 14px; font-weight: 700; }
.pb-policy__head h1 { margin: 6px 0 0; color: var(--pb-green-deep); font-size: clamp(26px, 3.2vw, 38px); line-height: 1.2; }
.pb-policy__head p { max-width: 72ch; margin: 12px 0 0; color: var(--pb-ink-2); font-size: 15.5px; line-height: 1.75; }
.pb-policy__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px 24px; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--pb-line); }
.pb-policy__facts dt { color: var(--pb-muted); font-size: 13px; font-weight: 600; }
.pb-policy__facts dd { margin: 2px 0 0; color: var(--pb-ink); font-weight: 700; }
.pb-policy__section {
  padding: clamp(20px, 3vw, 30px); border: 1px solid rgba(20, 30, 22, .06);
  border-radius: var(--pb-radius-card); background: var(--pb-surface); box-shadow: var(--pb-shadow-card);
}
.pb-policy__section h2 { margin: 0 0 12px; color: var(--pb-green-deep); font-size: clamp(19px, 2vw, 22px); }
.pb-policy__section h3 { margin: 18px 0 8px; color: var(--pb-green); font-size: 16.5px; }
.pb-policy__section p { margin: 0 0 10px; color: var(--pb-ink-2); font-size: 15px; line-height: 1.75; }
.pb-policy__section p:last-child { margin-bottom: 0; }
.pb-policy__section a { color: var(--pb-green); text-decoration: underline; }
.pb-policy__list, .pb-policy__steps { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 12px; padding-inline-start: 22px; color: var(--pb-ink-2); font-size: 15px; line-height: 1.7; }
.pb-policy__list li::marker { color: var(--pb-leaf); }
.pb-policy__list b { color: var(--pb-ink); }
.pb-policy__steps { list-style: none; padding-inline-start: 0; }
.pb-policy__note { padding: 12px 16px; border-radius: var(--pb-radius); background: var(--pb-info-tint); color: var(--pb-info-ink) !important; }
.pb-policy__table { overflow-x: auto; margin: 6px 0 14px; border: 1px solid var(--pb-line-soft); border-radius: var(--pb-radius); }
.pb-policy__table table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14px; }
.pb-policy__table :is(th, td) { padding: 10px 12px; border-bottom: 1px solid var(--pb-line-soft); text-align: start; vertical-align: top; line-height: 1.6; }
.pb-policy__table thead th { background: var(--pb-green); color: #fff; }
.pb-policy__table tbody th { color: var(--pb-ink); font-weight: 600; }
.pb-policy__table tbody tr:nth-child(even) { background: var(--pb-green-tint-3); }

/* Entrepreneur Stories: story cards, then one long-form case story per page.
   Headings and quotes in gold-dark echo the brown of the source documents. */
.pb-stories__head { position: relative; margin: 4px 0 26px; padding: 30px 24px; overflow: hidden; border-radius: var(--pb-radius-panel); background: var(--pb-green-tint-3); text-align: center; }
.pb-stories__head h1 { margin: 0; color: var(--pb-green-deep); font-size: clamp(26px, 3.2vw, 38px); }
.pb-stories__head p { margin: 6px 0 0; color: var(--pb-ink-3); font-size: 15px; }
.pb-stories__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pb-story-card { display: flex; flex-direction: column; overflow: hidden; background: var(--pb-surface); border: 1px solid var(--pb-line-soft); border-radius: var(--pb-radius-lg); box-shadow: var(--pb-shadow-card); }
.pb-story-card__photo { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--pb-green-tint-3); }
/* Absolute, so the img's own height attribute cannot outgrow the frame's aspect-ratio. */
.pb-story-card__photo { overflow: hidden; }
.pb-story-card__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.pb-story-card__tag { position: absolute; z-index: 1; bottom: 12px; inset-inline-start: 14px; padding: 4px 12px; border-radius: 6px; background: var(--pb-gold-dark); color: #fff; font-size: 13px; font-weight: 700; }
.pb-story-card__main { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 20px; align-items: start; padding: 20px 22px 6px; flex: 1; }
.pb-story-card__body { display: flex; flex-direction: column; gap: 6px; }
.pb-story-card__title { margin: 0; font-size: 20px; line-height: 1.4; }
.pb-story-card__title a { color: var(--pb-green-deep); text-decoration: none; }
.pb-story-card__title a:hover { color: var(--pb-green); }
.pb-story-card__body .pb-wcard__where { justify-content: flex-start; }
.pb-story-card__excerpt { display: -webkit-box; margin: 4px 0 0; overflow: hidden; color: var(--pb-ink-2); font-size: 14.5px; line-height: 1.7; -webkit-line-clamp: 5; line-clamp: 5; -webkit-box-orient: vertical; }
.pb-story-card__stats { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 14px 12px; border: 1px solid color-mix(in srgb, var(--pb-gold) 45%, transparent); border-radius: var(--pb-radius); background: var(--pb-gold-tint); }
.pb-story-card__stats > div { display: flex; align-items: flex-start; gap: 9px; }
.pb-story-card__stat-icon { flex: none; display: grid; place-items: center; width: 30px; height: 30px; color: var(--pb-gold-dark); }
.pb-story-card__stat-icon svg { width: 24px; height: 24px; display: block; }
.pb-story-card__stats dt { color: var(--pb-ink-3); font-size: 12px; font-weight: 500; line-height: 1.3; }
.pb-story-card__stats dd { margin: 1px 0 0; color: var(--pb-green-deep); font-size: 14px; font-weight: 700; line-height: 1.35; }
.pb-story-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 22px 20px; }
.pb-story-card__count { color: var(--pb-muted); font-size: 13px; }
@media (max-width: 991px) {
  .pb-stories__grid { grid-template-columns: minmax(0, 1fr); }
  /* One full-width card a row: a wider crop keeps the photo from towering. */
  .pb-story-card__photo { aspect-ratio: 21 / 9; }
}

.pb-story-hero { position: relative; height: clamp(280px, 38vw, 470px); overflow: hidden; border-radius: var(--pb-radius-panel); background: var(--pb-green-deep); }
.pb-story-hero__photo { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.pb-story-hero__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.74), transparent 62%); }
.pb-story-hero__copy { position: absolute; inset-inline: 32px; bottom: 28px; max-width: 780px; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.35); }
.pb-story-hero h1 { margin: 0; color: #fff; font-size: clamp(26px, 3.4vw, 42px); line-height: 1.2; }
.pb-story-hero p { margin: 8px 0 0; font-size: clamp(16px, 1.6vw, 20px); font-weight: 600; }
.pb-story-facts { display: flex; flex-wrap: wrap; margin: 20px 0 0; padding: 16px 8px; background: var(--pb-surface); border: 1px solid var(--pb-line-soft); border-radius: var(--pb-radius-lg); box-shadow: var(--pb-shadow-card); }
.pb-story-facts > div { flex: 1 1 150px; padding: 4px 18px; }
.pb-story-facts > div + div { border-inline-start: 1px solid var(--pb-line); }
.pb-story-facts dt { color: var(--pb-muted); font-size: 13px; font-weight: 500; }
.pb-story-facts dd { margin: 2px 0 0; color: var(--pb-ink); font-size: 16px; font-weight: 700; }
.pb-story-body { max-width: 780px; margin: 36px auto 0; }
.pb-story-section + .pb-story-section { margin-top: 30px; }
.pb-story-section h2 { margin: 0 0 10px; color: var(--pb-gold-dark); font-size: 23px; line-height: 1.35; }
.pb-story-section p { margin: 0; color: var(--pb-ink-2); font-size: 17px; line-height: 1.9; }
.pb-story-section p + p { margin-top: 14px; }
.pb-story-quote { margin: 40px 0 0; padding: 22px 26px; border-inline-start: 4px solid var(--pb-gold); border-radius: 0 var(--pb-radius) var(--pb-radius) 0; background: var(--pb-gold-tint); }
.pb-story-quote p { margin: 0; color: var(--pb-gold-dark); font-size: 19px; font-style: italic; font-weight: 700; line-height: 1.6; }
.pb-story-quote--opening { margin: 0 0 34px; }
.pb-story-more { max-width: 780px; margin: 28px auto 0; }
@media (max-width: 600px) {
  .pb-story-card__photo { aspect-ratio: 16 / 9; }
  .pb-story-card__main { grid-template-columns: minmax(0, 1fr); padding: 16px 16px 4px; }
  .pb-story-card__foot { padding-inline: 16px; }
  .pb-stories__head { padding: 22px 16px; }
  .pb-story-hero { height: 300px; }
  .pb-story-hero__copy { inset-inline: 18px; bottom: 18px; }
  .pb-story-facts { padding: 6px 4px; }
  .pb-story-facts > div { flex-basis: 45%; padding: 8px 12px; }
  .pb-story-facts > div + div { border-inline-start: 0; }
  .pb-story-section p { font-size: 16px; }
  .pb-story-quote { padding: 16px 18px; }
  .pb-story-quote p { font-size: 17px; }
}

.pb-people + .pb-panel, .pb-people--advisors + .pb-profile-quote { margin-top: 44px; }
@media (max-width: 600px) {
  .pb-about__pillar--vision > p { padding: 12px; }
  .pb-about__quote { margin-block: 30px; padding: 22px; }
  .pb-about__section-head { display: block; }
  .pb-about__section-head h2 { font-size: 23px; }
}
.pb-profile-story { padding: 28px 30px; }
.pb-profile-story h2, .pb-profile-facts h2 { margin: 5px 0 12px; font-size: 24px; }
.pb-profile-story p { color: var(--pb-ink-3); font-size: 16px; line-height: 1.85; }
.pb-profile-highlights { gap: 14px; }
.pb-profile-highlight { display: flex; gap: 14px; padding: 20px; border-radius: var(--pb-radius-lg); }
.pb-profile-highlight--green { background: #EDF5EC; }
.pb-profile-highlight--gold { background: #FBF3DD; }
.pb-profile-highlight__icon { font-size: 25px; line-height: 1; }
.pb-profile-highlight--green .pb-profile-highlight__icon { color: var(--pb-green); }
.pb-profile-highlight--gold .pb-profile-highlight__icon { color: var(--pb-gold-dark); }
.pb-profile-highlight h3 { font-size: 17px; margin-bottom: 5px; }
.pb-profile-highlight p { color: var(--pb-ink-3); font-size: 14px; line-height: 1.6; }
.pb-profile-products { scroll-margin-top: 20px; }
.pb-profile-products .pb-section-head { align-items: flex-end; }
.pb-profile-products h2 { margin-top: 5px; font-size: 27px; }
.pb-profile-product-count { color: var(--pb-muted); font-size: 14px; white-space: nowrap; }
.pb-profile-sidebar { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 16px; }
.pb-profile-facts { padding: 23px; }
.pb-profile-facts .pb-facts { margin-top: 18px; }
.pb-profile-side-note { display: flex; gap: 12px; padding: 18px; border-radius: var(--pb-radius-lg); background: var(--pb-ink); color: #fff; }
.pb-profile-side-note > span { color: #F4C96A; font-size: 23px; line-height: 1; }
.pb-profile-side-note p { font-size: 13.5px; line-height: 1.6; }

/* --------------------------------------------------------------------------
   Outlets page
   -------------------------------------------------------------------------- */

.pb-outlets { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: start; }
.pb-outlet-list { display: flex; flex-direction: column; gap: 10px; }
.pb-outlet-item {
  display: flex; gap: 12px; align-items: center; text-align: start;
  padding: 10px; border: 1px solid rgba(20, 30, 22, .05); border-radius: var(--pb-radius-lg);
  background: var(--pb-surface); cursor: pointer; color: var(--pb-ink); width: 100%;
  transition: border-color .2s var(--pb-ease), box-shadow .2s var(--pb-ease);
}
.pb-outlet-item:hover { border-color: var(--pb-green); text-decoration: none; }
.pb-outlet-item[aria-current="true"] { border-color: var(--pb-green); box-shadow: 0 0 0 2px var(--pb-green-tint); }
.pb-outlet-item img { width: 60px; height: 60px; border-radius: var(--pb-radius); object-fit: cover; flex-shrink: 0; }
.pb-outlet-item__text { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }

.pb-outlet-detail { display: grid; gap: 20px; }
.pb-outlet-detail__media { border-radius: var(--pb-radius-card); overflow: hidden; }
/* The selected outlet on an embedded Google map (outlets/outlet_list.html). */
.pb-map-embed { overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--pb-radius-lg); border: 1px solid var(--pb-line-soft); background: var(--pb-green-tint-3); }
.pb-map-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
.pb-outlet-detail__media img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; display: block; }

/* --------------------------------------------------------------------------
   Cart, checkout, tracking
   -------------------------------------------------------------------------- */

.pb-cart { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }

.pb-line {
  display: grid; grid-template-columns: 92px minmax(0, 1fr) auto auto auto;
  gap: 16px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--pb-line-softer);
}
.pb-line:last-of-type { border-bottom: 0; }
.pb-line__media {
  width: 92px; height: 92px; border-radius: var(--pb-radius); overflow: hidden;
  display: grid; place-items: center;
}
.pb-line__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pb-line__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pb-line__vendor { font-size: 12.5px; color: var(--pb-muted); }
.pb-line__name { font-weight: 600; font-size: 16px; color: var(--pb-ink); }
.pb-line__name:hover { color: var(--pb-green-dark); text-decoration: none; }
.pb-line__total { font-weight: 700; font-size: 17px; white-space: nowrap; }
.pb-line__remove {
  width: 36px; height: 36px; border: 0; border-radius: var(--pb-radius-sm);
  background: transparent; color: var(--pb-muted); font-size: 20px; cursor: pointer;
}
.pb-line__remove:hover { background: #FBECE8; color: var(--pb-danger); }

.pb-summary {
  position: sticky; top: 148px;
  background: var(--pb-surface); border: 1px solid rgba(20, 30, 22, .05);
  border-radius: var(--pb-radius-card); box-shadow: var(--pb-shadow-card);
  padding: 22px; display: flex; flex-direction: column; gap: 14px;
}
.pb-summary__title { font-weight: 700; font-size: 17px; }
.pb-summary__rows { display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; }
.pb-summary__row { display: flex; justify-content: space-between; gap: 12px; }
.pb-summary__row span:last-child { font-weight: 600; }
.pb-summary__row--discount span:last-child { color: var(--pb-green); }
/* The advance is what the buyer pays now, so it gets the emphasis — colour and weight only, no fill. */
.pb-summary__row--advance { align-items: center; color: var(--pb-green); font-weight: 700; }
.pb-summary__row--advance b { font-family: var(--pb-font-display); font-size: 20px; }
.pb-summary__total {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding-top: 14px; border-top: 1px solid var(--pb-line-softer);
}
.pb-summary__total b:first-child { font-size: 15px; }
.pb-summary__total b:last-child { font-family: var(--pb-font-display); font-size: 26px; }
.pb-summary__note { font-size: 12.5px; color: var(--pb-muted); text-align: center; }

.pb-coupon { display: flex; gap: 8px; }
.pb-coupon input {
  flex: 1; min-width: 0; height: 44px; padding: 0 14px;
  border: 1px solid var(--pb-line); border-radius: var(--pb-radius);
  font-size: 14px; background: #fff;
}
.pb-coupon input:focus { outline: 0; border-color: var(--pb-green); box-shadow: 0 0 0 3px var(--pb-green-tint); }

.pb-checkout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }

.pb-step { background: var(--pb-surface); border: 1px solid rgba(20, 30, 22, .05);
  border-radius: var(--pb-radius-card); box-shadow: var(--pb-shadow-card);
  padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.pb-step__title { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16.5px; }
.pb-step__num {
  width: 28px; height: 28px; border-radius: 14px; flex-shrink: 0;
  background: var(--pb-green-tint); color: var(--pb-green);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}

.pb-field { display: flex; flex-direction: column; gap: 6px; }
.pb-field[hidden] { display: none; }
.pb-field > label { font-size: 13.5px; font-weight: 600; color: var(--pb-ink-soft); }
.pb-field--required > label::after { content: " *"; color: var(--pb-danger); }
.pb-field :where(input[type="text"], input[type="tel"], input[type="email"], input[type="number"], input[type="url"],
                  input[type="date"], input[type="datetime-local"], input[type="file"], select, textarea) {
  height: 48px; padding: 0 14px;
  border: 1px solid var(--pb-line); border-radius: var(--pb-radius);
  background: #fff; font-size: 15px; color: var(--pb-ink); width: 100%;
  transition: border-color .2s var(--pb-ease), box-shadow .2s var(--pb-ease);
}
.pb-field textarea { height: auto; min-height: 96px; padding: 12px 14px; }
/* A read-only box (e.g. the proposal reference assigned on submit) looks filled in by us, not empty. */
.pb-field :where(input[readonly], textarea[readonly]) {
  background: var(--pb-green-tint-3); border-style: dashed; color: var(--pb-muted); cursor: default;
}
.pb-field :where(input[readonly], textarea[readonly]):focus { box-shadow: none; border-color: var(--pb-line); }
.pb-field select { appearance: none; padding-inline-end: 38px; cursor: pointer; }
.pb-field select[multiple] {
  appearance: auto;
  min-height: 360px;
  height: 360px;
  padding: 8px 12px;
  overflow-y: auto;
  background-image: none;
}
.pb-field select[multiple] option { padding: 5px 4px; }
/* Chevron drawn as a background so the control keeps the same frame as an input. */
.pb-field select {
  background-image: linear-gradient(45deg, transparent 48%, var(--pb-ink-soft) 50%, transparent 52%),
                    linear-gradient(-45deg, transparent 48%, var(--pb-ink-soft) 50%, transparent 52%);
  background-size: 10px 10px, 10px 10px;
  background-position: right 20px center, right 14px center;
  background-repeat: no-repeat;
}
.pb-field input[type="file"] { padding: 9px 12px; line-height: 28px; cursor: pointer; }
.pb-field input[type="file"]::file-selector-button {
  margin-inline-end: 12px; padding: 0 14px; height: 28px;
  border: 1px solid var(--pb-line); border-radius: 8px;
  background: var(--pb-green-tint); color: var(--pb-green);
  font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer;
}
.pb-field :where(input, select, textarea):focus {
  outline: 0; border-color: var(--pb-green); box-shadow: 0 0 0 3px var(--pb-green-tint);
}
.pb-field--error :where(input, select, textarea) { border-color: var(--pb-danger); }
.pb-field__error { font-size: 12.5px; color: var(--pb-danger); font-weight: 600; }
.pb-field__hint { font-size: 12.5px; color: var(--pb-muted); }
.pb-field__current-image {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: var(--pb-surface);
  border: 1px solid var(--pb-line);
  border-radius: var(--pb-radius);
  margin-bottom: 2px;
}
.pb-field__current-thumb {
  display: flex;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--pb-line-soft, #EDE8DF);
}
.pb-field__current-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.pb-field__current-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--pb-muted);
}
.pb-field__current-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--pb-green);
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-all;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.pb-field__current-link:hover {
  color: var(--pb-green-dark);
}
.pb-field__current-link svg {
  flex-shrink: 0;
}
.pb-field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

/* Big choice tiles — delivery method, payment method */
.pb-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pb-choice {
  position: relative;
  display: flex; flex-direction: column; gap: 3px;
  padding: 14px 16px; cursor: pointer;
  border: 1.5px solid var(--pb-line); border-radius: var(--pb-radius-lg);
  background: #fff; transition: border-color .2s var(--pb-ease), background-color .2s var(--pb-ease);
}
.pb-choice:hover { border-color: var(--pb-green); }
.pb-choice b { font-size: 15px; font-weight: 600; }
.pb-choice span { font-size: 12.5px; color: var(--pb-muted); }
.pb-choice input { position: absolute; opacity: 0; pointer-events: none; }
.pb-choice:has(input:checked) { border-color: var(--pb-green); background: var(--pb-green-tint); }
.pb-choice:has(input:disabled) { opacity: .5; cursor: not-allowed; }

.pb-pay { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pb-pay__mark {
  width: 36px; height: 36px; border-radius: var(--pb-radius-sm);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 4px;
}

.pb-mini-line { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
/* Checkout summary lines carry a × (remove) after the price. */
.pb-mini-line:has(.pb-mini-line__remove) { grid-template-columns: 52px minmax(0, 1fr) auto auto; gap: 10px; }
.pb-mini-line__remove { width: 30px; height: 30px; font-size: 18px; line-height: 1; }
/* The summary's quantity stepper: the bag page's .pb-qty, shrunk to sit under the product name. */
.pb-mini-line__qty { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.pb-mini-line__text .pb-mini-line__qty > span:last-child { font-size: 12.5px; color: var(--pb-muted); }
.pb-qty--xs { border-radius: var(--pb-radius-sm); }
.pb-qty--xs button { width: 28px; height: 28px; font-size: 15px; }
.pb-qty--xs button:disabled { color: var(--pb-line); cursor: default; background: #fff; }
.pb-qty--xs output { width: 30px; height: 28px; font-size: 13.5px; color: var(--pb-ink); }
.pb-mini-line img { width: 52px; height: 52px; border-radius: var(--pb-radius-sm); object-fit: cover; }
.pb-mini-line__text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.pb-mini-line__text b { font-size: 14px; font-weight: 600; }
.pb-mini-line__text span { font-size: 12.5px; color: var(--pb-muted); }

/* Order tracking timeline */
.pb-tracked { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: start; }
.pb-timeline { display: flex; flex-direction: column; }
.pb-tl-step { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; }
.pb-tl-step__rail { display: flex; flex-direction: column; align-items: center; }
.pb-tl-step__dot {
  width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0;
  border: 3px solid var(--pb-line); background: #fff; margin-top: 4px;
}
.pb-tl-step__line { flex: 1; width: 2px; background: var(--pb-line); min-height: 26px; }
.pb-tl-step:last-child .pb-tl-step__line { display: none; }
.pb-tl-step__body { padding-bottom: 18px; display: flex; flex-direction: column; line-height: 1.4; }
.pb-tl-step__body b { font-size: 15px; font-weight: 600; }
.pb-tl-step__body span { font-size: 12.5px; color: var(--pb-muted); }
.pb-tl-step.is-done .pb-tl-step__dot { border-color: var(--pb-green); background: var(--pb-green); }
.pb-tl-step.is-done .pb-tl-step__line { background: var(--pb-green); }
.pb-tl-step.is-current .pb-tl-step__dot {
  border-color: var(--pb-green); background: #fff;
  box-shadow: 0 0 0 4px var(--pb-green-tint);
}
.pb-tl-step:not(.is-done) .pb-tl-step__body b { color: var(--pb-muted); font-weight: 500; }

.pb-notice {
  --pb-notice-accent: var(--pb-success);
  --pb-notice-tint: var(--pb-success-tint);
  --pb-notice-ink: var(--pb-success-ink);
  display: flex; align-items: center; gap: 14px;
  padding: 15px 20px; border-radius: var(--pb-radius-lg);
  background: var(--pb-notice-tint); color: var(--pb-notice-ink);
  /* A hairline in the accent keeps the tint from floating on the warm
     page background without adding a second filled block. */
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pb-notice-accent) 18%, transparent);
  font-size: 15px;
}
.pb-notice__icon {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: var(--pb-notice-accent); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.pb-notice__icon svg { width: 18px; height: 18px; display: block; }

.pb-notice--error {
  --pb-notice-accent: var(--pb-danger);
  --pb-notice-tint: var(--pb-danger-tint);
  --pb-notice-ink: var(--pb-danger-ink);
}
.pb-notice--info {
  --pb-notice-accent: var(--pb-info);
  --pb-notice-tint: var(--pb-info-tint);
  --pb-notice-ink: var(--pb-info-ink);
}

/* --------------------------------------------------------------------------
   FAQ (AEO) — plain disclosure list, readable without JavaScript
   -------------------------------------------------------------------------- */

.pb-faq { display: flex; flex-direction: column; gap: 10px; }
.pb-faq details {
  background: var(--pb-surface); border: 1px solid rgba(20, 30, 22, .05);
  border-radius: var(--pb-radius-lg); padding: 16px 20px;
}
.pb-faq summary {
  font-family: var(--pb-font-display); font-weight: 600; font-size: 17.5px;
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px;
}
.pb-faq summary::-webkit-details-marker { display: none; }
.pb-faq summary::after { content: "+"; color: var(--pb-green); font-size: 22px; line-height: 1; }
.pb-faq details[open] summary::after { content: "−"; }
.pb-faq p { margin-top: 10px; color: var(--pb-ink-3); font-size: 14.5px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.pb-footer { background: var(--pb-green-deep); color: #C9D3C6; margin-top: 56px; }
.pb-footer__grid {
  /* Brand text is 400px wide, plus a 68px spacer (below) so it is not crowded against Shopping.
     Payment keeps 280px (its longest line is about 273px); the link columns share the rest. */
  display: grid; grid-template-columns: 468px minmax(0, 1fr) minmax(0, 1fr) 280px;
  gap: 32px; padding-block: 48px 32px;
}
@media (min-width: 1201px) { .pb-footer__about-col { margin-right: 68px; } }
.pb-footer h2, .pb-footer__title {
  font-size: 15px; font-weight: 700; color: #fff;
  letter-spacing: .04em; margin-bottom: 12px; font-family: var(--pb-font-body);
}
.pb-footer a { color: #C9D3C6; display: block; padding: 5px 0; font-size: 15.5px; }
.pb-footer a:hover { color: #fff; }
.pb-footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.pb-footer__brand img { width: 40px; height: 40px; border-radius: 10px; background: var(--pb-surface); padding: 3px; }
.pb-footer__brand span { font-family: var(--pb-font-display); font-weight: 600; font-size: 23px; color: #fff; }
/* The white wordmark sits straight on the dark footer: no tile, natural proportions. */
.pb-footer__brand .pb-footer__wordmark { width: auto; height: 37px; background: none; border-radius: 0; padding: 0; }
.pb-footer__brand .pb-footer__lockup { width: 188px; max-width: 100%; height: auto; background: none; border-radius: 0; padding: 0; }
.pb-footer__about { font-size: 15.5px; line-height: 1.7; }
.pb-footer__pay { display: flex; flex-wrap: wrap; gap: 8px; }
.pb-footer__pay span {
  font-size: 14px; padding: 6px 12px; border-radius: var(--pb-pill);
  background: rgba(255, 255, 255, .08); color: #DCE5DA;
}
/* The method that works today stands out; the online ones wait, muted, under "coming soon". */
.pb-footer__pay .is-active { background: rgba(255, 255, 255, .16); color: #fff; font-weight: 600; }
.pb-footer__pay .is-active::before { content: "✓ "; color: var(--pb-gold-light); }
.pb-footer__soon { margin: 14px 0 8px; color: #9CAE9A; font-size: 13px; }
/* Payment logos: one tile size for all (the files are already padded alike), white on the dark footer. */
.pb-footer__logos { display: flex; flex-wrap: wrap; gap: 8px; }
.pb-footer__logos img { width: 80px; height: 32px; border-radius: 7px; background: #fff; }
/* Not live yet: a light fade (not a colour filter, which turns them muddy on the green). */
.pb-footer__logos--soon img { opacity: .78; }
.pb-footer__pay--soon span { background: transparent; border: 1px dashed rgba(255, 255, 255, .2); color: #9CAE9A; }
.pb-footer__legal {
  padding-block: 16px; border-top: 1px solid rgba(255, 255, 255, .09);
  font-size: 14px; text-align: center; color: #9CAE9A;
}

/* --------------------------------------------------------------------------
   Toast — add-to-bag feedback
   -------------------------------------------------------------------------- */

.pb-toast {
  position: fixed; inset-inline: 16px; bottom: 20px; z-index: 60;
  margin-inline: auto; max-width: 420px;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: var(--pb-radius-lg);
  background: var(--pb-ink); color: #fff; font-size: 14.5px; font-weight: 600;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .25);
  transform: translateY(140%); opacity: 0;
  transition: transform .35s var(--pb-ease), opacity .35s var(--pb-ease);
}
.pb-toast.is-visible { transform: translateY(0); opacity: 1; }
.pb-toast a { color: var(--pb-gold-light); margin-inline-start: auto; white-space: nowrap; }

/* --------------------------------------------------------------------------
   Touch targets

   A finger is not a cursor. On a touch screen every control below grows to
   at least 24px of hittable area; where that would change the visual design
   (the hero dots, the thin top strip) the growth is invisible padding or a
   pseudo-element overlay, so nothing moves.
   -------------------------------------------------------------------------- */

@media (pointer: coarse) {
  .pb-strip a, .pb-lang__item { display: inline-block; padding-block: 6px; }
  /* The links now carry that height themselves, so the bar gives its own
     padding back and the strip stays the thin rail it was drawn as. */
  .pb-strip .pb-container { padding-block: 1px; }
  /* Negative margins cancel the padding, so a short crumb such as "হোম"
     becomes tappable without the trail re-spacing itself. */
  .pb-crumbs a, .pb-crumbs [aria-current="page"] {
    display: inline-block; padding: 5px 4px; margin: -5px -4px;
  }
  .pb-link-more { display: inline-block; padding-block: 6px; }
  /* Phone numbers and the like sitting inside a definition row. */
  .pb-fact a { display: inline-block; padding-block: 4px; margin-block: -4px; }
  .pb-footer a { padding-block: 7px; }
  .pb-lang__item { padding-block: 8px; }
  .pb-line__remove { width: 44px; height: 44px; }
  .pb-qty--sm button { height: 44px; }
  .pb-qty--sm input { height: 44px; }

  /* The dots stay 7–8px; only their reach grows. The rail's dots sit 5px
     apart, so they widen sideways by 2px at most and never overlap. */
  .pb-hero__dot, .pb-rail__dot, .pb-rail__arrow { position: relative; }
  .pb-hero__dot::before { content: ""; position: absolute; inset: -9px -8px; }
  .pb-rail__dot::before { content: ""; position: absolute; inset: -12px -2px; }
  .pb-rail__arrow::before { content: ""; position: absolute; inset: -9px; }
}

/* --------------------------------------------------------------------------
   Responsive — mobile-first refinements at each breakpoint down
   -------------------------------------------------------------------------- */

@media (max-width: 1200px) {
  .pb-herorow { grid-template-columns: minmax(0, 1fr) 340px; }
  .pb-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pb-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .pb-footer__pay-col { grid-column: 1 / -1; }
}

@media (max-width: 992px) {
  :root { --pb-gutter: 20px; }

  .pb-home-hero { padding-inline: var(--pb-gutter); }

  /* The rail drops below the hero and lies down as a pair of cards. It no
     longer borrows the hero's height, so the cards state their own. */
  .pb-herorow { grid-template-columns: minmax(0, 1fr); }
  .pb-rail { flex-direction: row; }
  .pb-rail__card { min-height: 176px; }

  /* Unpinned here: the brand row, search row and nav row held together took
     about a quarter of a phone screen on every scroll. The backdrop blur goes
     with it — it would also make the header the containing block for the
     fixed-position partner menu below. */
  .pb-header {
    position: static; background: var(--pb-surface);
    backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  :target, [id] { scroll-margin-top: 16px; }

  .pb-header__bar { flex-wrap: wrap; gap: 10px 12px; padding-block: 10px; }
  .pb-search { order: 3; flex-basis: 100%; }
  .pb-header__actions { margin-inline-start: auto; }

  /* The nav is long (nine entries, three of them menus), so a scroll strip would
     hide half of it. It stacks instead; palli.js adds a toggle that collapses it,
     and without JS it simply stays open. Menus open in place as an accordion. */
  .pb-nav { flex-direction: column; align-items: stretch; padding-block: 4px; }
  .pb-nav[data-collapsible]:not(.is-open) { display: none; }
  .pb-nav > a, .pb-nav--menu summary { padding-block: 12px; border-bottom: 1px solid var(--pb-border); }
  .pb-nav--menu .pb-partner-menu__panel {
    position: static; min-width: 0; padding: 0 0 0 12px; border: 0; box-shadow: none; background: transparent;
  }
  .pb-nav .pb-nav__shop { margin: 10px 0; text-align: center; padding-block: 11px; border-bottom: 0; }
  .pb-nav-toggle[data-ready] { display: inline-flex; }

  .pb-listing, .pb-cart, .pb-checkout, .pb-story, .pb-outlets, .pb-tracked,
  .pb-pdp, .pb-outlet-promo, .pb-pdp__sections { grid-template-columns: minmax(0, 1fr); }
  .pb-gallery { border-inline-end: 0; border-bottom: 1px solid var(--pb-line-soft); }
  .pb-filters, .pb-summary { position: static; }

  /* Collapse the filters behind a toggle so results are the first thing seen. */
  .pb-filters-col { display: block; }
  .pb-filters-summary {
    display: flex; align-items: center; gap: 9px;
    width: 100%; min-height: 48px; padding: 0 18px;
    border: 1px solid var(--pb-line); border-radius: var(--pb-radius);
    background: var(--pb-surface); color: var(--pb-ink);
    font-size: 15px; font-weight: 600; cursor: pointer;
  }
  .pb-filters-summary__dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--pb-gold); margin-inline-start: auto;
  }
  .pb-filters-toggle:focus-visible + .pb-filters-summary {
    outline: 3px solid color-mix(in srgb, var(--pb-green) 55%, transparent);
    outline-offset: 2px;
  }
  .pb-filters { display: none; margin-top: 12px; }
  .pb-filters-toggle:checked ~ .pb-filters { display: flex; }

  .pb-hero__slide { grid-template-columns: minmax(0, 1fr); }
  .pb-hero__body { padding: 28px 24px 32px; }
  .pb-hero__media, .pb-hero__mosaic { padding: 0 6px 6px; }
  .pb-hero__media img { border-radius: var(--pb-radius); }
  .pb-hero__mosaic img:nth-child(1) { border-radius: var(--pb-radius) var(--pb-radius) 4px 4px; }
  .pb-hero__mosaic img:nth-child(2) { border-radius: 4px; }
  .pb-hero__mosaic img:nth-child(3) { border-radius: 4px; }
  .pb-hero__dots { left: 24px; bottom: 16px; }
  .pb-hero__arrow { display: none; }

  .pb-maker { grid-template-columns: 76px minmax(0, 1fr); }
  .pb-maker img { width: 76px; height: 76px; }
  .pb-maker__aside { grid-column: 1 / -1; align-items: flex-start; text-align: start; }

  .pb-story__head { margin-top: -40px; }
  .pb-story__avatar { width: 96px; height: 96px; border-radius: 48px; }

  .pb-profile-layout { grid-template-columns: minmax(0, 1fr); }
  .pb-profile-sidebar { position: static; display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .65fr); align-items: start; }
  .pb-profile-hero__avatar { width: 116px; height: 116px; }
  .pb-profile-hero { margin-top: 16px; }
}

@media (max-width: 768px) {
  body { font-size: 14.5px; }

  .pb-strip .pb-container { padding-block: 6px; font-size: 12px; }
  .pb-strip-links { gap: 14px; }
  .pb-strip-links .pb-strip__hide-sm { display: none; }

  .pb-brand__tagline { display: none; }
  .pb-brand img { width: 40px; height: 40px; }
  .pb-brand .pb-brand__wordmark { width: auto; height: 35px; }
  .pb-brand__name { font-size: 21px; }
  .pb-bag span:not(.pb-bag__count) { display: none; }
  .pb-bag { padding-inline: 12px; }

  /* iOS Safari zooms the page when a focused control's text is under 16px,
     and never zooms back out. Every field is lifted to 16px here rather than
     one by one, so a field added later is covered too — hence !important,
     which has to beat the per-component sizes above. */
  input, select, textarea { font-size: 16px !important; }

  .pb-section { padding-block: 28px; }
  .pb-home-hero { padding-block: 16px; }

  /* The hero stacks text over a photo here. Left to its natural size it ran
     to a full screen, so the first view was all banner and no products. */
  .pb-herorow .pb-hero__slide, .pb-hero__slide { min-height: 0; }
  .pb-herorow .pb-hero__body, .pb-hero__body { padding: 22px 20px 28px; gap: 10px; }
  .pb-hero__body h2, .pb-herorow .pb-hero__body h2 { max-width: none; font-size: clamp(24px, 7vw, 30px); }
  .pb-hero__body p { font-size: 15px; }
  .pb-hero__media, .pb-hero__mosaic { aspect-ratio: 16 / 10; min-height: 0; }
  /* Picture slides: still one full-bleed picture, now a tall scene whose open
     sky sits at the top for the words and whose products fill the lower half. */
  /* min-height in container units, not aspect-ratio: the flex track stretches its slides, and a stretched
     height would turn into a doubled width. */
  .pb-hero { container-type: inline-size; }
  .pb-hero__slide--art, .pb-herorow .pb-hero__slide--art { min-height: 74cqw; }
  /* The copy is pinned to the bottom of the picture over a scrim that rises
     from the bottom-left corner, so the products keep the right side and the
     slide stays short. */
  .pb-hero__slide--art::before {
    background: linear-gradient(50deg,
      color-mix(in srgb, var(--pb-scrim) 94%, transparent) 0%,
      color-mix(in srgb, var(--pb-scrim) 76%, transparent) 30%,
      transparent 58%);
  }
  .pb-hero__art img { transform: none; object-position: 70% 0; }
  .pb-hero__slide--art .pb-hero__body, .pb-herorow .pb-hero__slide--art .pb-hero__body {
    position: absolute; inset: auto 0 0 0; height: auto; max-width: none;
    justify-content: flex-end; gap: 10px; padding: 0 18px 38px;
  }
  .pb-hero__slide--art .pb-hero__body h2, .pb-herorow .pb-hero__slide--art .pb-hero__body h2 { max-width: 18ch; font-size: 22px; }
  .pb-hero__media img { height: 100%; }
  /* `1fr` rows have an automatic minimum, so the photos' own heights would
     push the mosaic past the box set above. */
  .pb-hero__mosaic { grid-template-rows: repeat(2, minmax(0, 1fr)); }
  .pb-hero__mosaic img { min-height: 0; }
  .pb-grid { gap: 14px; }
  .pb-grid--4, .pb-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pb-provenance { grid-template-columns: minmax(0, 1fr); }
  .pb-shortcuts { grid-template-columns: minmax(0, 1fr); }
  .pb-rail { flex-direction: column; gap: 14px; }
  .pb-rail__card { min-height: 164px; }
  .pb-rail__card--framed { min-height: 196px; }
  .pb-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pb-pay { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pb-field-row, .pb-choices { grid-template-columns: minmax(0, 1fr); }
  .pb-outlet-mini-grid { grid-template-columns: minmax(0, 1fr); }
  .pb-prodform__image { flex-direction: column; }
  .pb-panel { padding: 20px; border-radius: var(--pb-radius-card); }

  .pb-profile-cover { height: 230px; }
  .pb-profile-hero { display: block; margin-top: 14px; padding: 18px; }
  .pb-profile-hero__identity { align-items: center; gap: 14px; }
  .pb-profile-hero__avatar { width: 92px; height: 92px; border-width: 4px; }
  .pb-profile-hero__copy { padding-bottom: 0; }
  .pb-profile-hero h1 { font-size: 30px; }
  .pb-profile-hero__business { font-size: 14px; }
  .pb-profile-hero__actions { padding: 16px 0 0; }
  .pb-profile-hero__actions .pb-btn { flex: 1; }
  .pb-profile-stats { margin: 22px 0 28px; gap: 8px; }
  .pb-profile-stat { padding: 12px; gap: 8px; min-height: 68px; }
  .pb-profile-stat__icon { width: 32px; height: 32px; font-size: 17px; }
  .pb-profile-stat b { font-size: 18px; }
  .pb-profile-stat small { font-size: 11px; }
  .pb-profile-stat--wide { grid-column: 1 / -1; }
  .pb-profile-sidebar { display: flex; }
  .pb-profile-story { padding: 20px; }
  .pb-profile-quote { padding: 18px; font-size: 18px; }
  .pb-profile-products h2 { font-size: 23px; }

  .pb-pdp__buybox { padding: 22px 20px; gap: 16px; }
  .pb-pdp__intro h1 { font-size: 30px; }
  .pb-pdp__pricebox { align-items: flex-start; flex-direction: column; gap: 6px; }
  /* In the stacked box a 100% basis would read as height and wrap the terms into a second column. */
  .pb-pdp__terms { flex: none; }
  .pb-pdp__price b { font-size: 30px; }
  .pb-pdp__availability { white-space: normal; }
  .pb-pdp__cart-button { min-width: 0; }
  .pb-gallery { padding: 14px; }
  .pb-pdp__card-title { font-size: 20px; }

  .pb-product__body { padding: 12px 13px 14px; gap: 4px; }
  .pb-product__name { font-size: 16px; }
  .pb-product__price b { font-size: 17px; }

  /* Cart lines reflow to two rows on phones: the thumbnail spans both. */
  .pb-line { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 10px 12px; }
  .pb-line__media { width: 72px; height: 72px; grid-column: 1; grid-row: 1 / span 2; }
  .pb-line__text { grid-column: 2; grid-row: 1; }
  .pb-line__remove-form { grid-column: 3; grid-row: 1; justify-self: end; }
  .pb-line__qty { grid-column: 2; grid-row: 2; }
  .pb-line__total { grid-column: 3; grid-row: 2; align-self: center; }

  .pb-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-block: 32px 24px; }
  .pb-footer__about-col { grid-column: 1 / -1; }
}

@media (max-width: 576px) {
  /* The pickup/delivery line wrapped to two rows above the links. The links
     are what a phone user needs from this bar; the line is repeated on the
     product and outlet pages. */
  .pb-strip__msg { display: none; }
  .pb-strip-links { width: 100%; gap: 16px; }
  .pb-lang { margin-inline-start: auto; }
}

@media (max-width: 480px) {
  /* The single row scrolls sideways here; a slightly smaller coin shows the next one peeking in. */
  .pb-cat-grid { grid-auto-columns: 76px; gap: 12px; }
  .pb-cat__media { max-width: 72px; }
  .pb-cat__name { font-size: 12px; }
  .pb-gallery__thumbs { grid-auto-columns: calc((100% - 32px) / 5); gap: 8px; }
  .pb-pdp__price b { font-size: 28px; }
  .pb-pdp__actions { grid-template-columns: minmax(0, 1fr); }
  .pb-footer__grid { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   Motion and print
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .pb-card:hover, .pb-shortcut:hover { transform: none; }
  .pb-cat:hover .pb-cat__media, .pb-cat:hover .pb-cat__media img { transform: none; }
}

@media print {
  .pb-strip, .pb-header, .pb-footer, .pb-toast, .pb-btn { display: none !important; }
  body { background: #fff; }
}

/* ==========================================================================
   Back office — admin panel and vendor portal.
   Darker, denser chrome than the storefront; same tokens throughout.
   ========================================================================== */

.pb-admin {
  display: grid;
  grid-template-columns: var(--pb-admin-rail) minmax(0, 1fr);
  min-height: 100vh;
  background: var(--pb-admin-bg);
}

/* -- Sidebar -------------------------------------------------------------- */

.pb-side {
  background: var(--pb-admin-side); color: var(--pb-admin-side-ink);
  display: flex; flex-direction: column; gap: 14px;
  padding: 18px 12px 14px; position: sticky; top: 0; height: 100vh; overflow: hidden;
}
.pb-side__head { display: flex; align-items: center; gap: 8px; padding-inline: 6px; }
.pb-side__brand { display: flex; align-items: center; gap: 10px; min-width: 0; color: inherit; }
.pb-side__brand:hover { text-decoration: none; }
.pb-side__brand img { width: 38px; height: 38px; border-radius: 10px; background: #fff; }
.pb-side__brand b { font-family: var(--pb-font-display); font-size: 19px; color: #fff; display: block; line-height: 1.2; }
.pb-side__brand span { font-size: 11.5px; color: var(--pb-admin-side-mute); }
.pb-side__close {
  margin-inline-start: auto; width: 36px; height: 36px; border: 0; border-radius: var(--pb-radius-sm);
  background: transparent; color: var(--pb-admin-side-ink); cursor: pointer;
  display: none; align-items: center; justify-content: center;
}
.pb-side__close:hover { background: var(--pb-admin-side-hover); color: #fff; }

/* The one action people come to the desk for most, kept above the menu. */
.pb-side__cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; border-radius: var(--pb-radius);
  background: var(--pb-leaf); color: var(--pb-green-deep);
  font-size: 14.5px; font-weight: 700;
  transition: background-color .18s var(--pb-ease), transform .18s var(--pb-ease);
}
.pb-side__cta:hover { background: #fff; color: var(--pb-green-deep); text-decoration: none; }
.pb-side__cta:active { transform: translateY(1px); }

/* The menu is the only part that scrolls, so brand, the new-order button
   and the account card stay put however long the list grows. */
.pb-side__nav {
  flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: 4px;
  margin-inline: -4px; padding-inline: 4px;
  scrollbar-width: thin; scrollbar-color: var(--pb-admin-side-rule) transparent;
}
.pb-side__links { display: flex; flex-direction: column; gap: 2px; }
.pb-side__links--pinned { padding-bottom: 6px; margin-bottom: 2px; border-bottom: 1px solid var(--pb-admin-side-rule); }

.pb-side__section { border-radius: var(--pb-radius); }
.pb-side__section > .pb-side__links { padding-bottom: 6px; }
/* Section heading: a fold toggle, so a manager who never touches Settings
   can put it away and keep the menu to what they use. */
.pb-side__group {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 12px 12px 6px; cursor: pointer; list-style: none; user-select: none;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--pb-admin-side-mute); border-radius: var(--pb-radius-sm);
  transition: color .18s var(--pb-ease);
}
.pb-side__group::-webkit-details-marker { display: none; }
.pb-side__group:hover { color: #fff; }
.pb-side__section.is-active > .pb-side__group { color: var(--pb-gold-light); }
.pb-side__chev { flex-shrink: 0; transition: transform .2s var(--pb-ease); }
.pb-side__section:not([open]) .pb-side__chev { transform: rotate(-90deg); }
.pb-side__section:not([open]) > .pb-side__group { padding-bottom: 12px; }

.pb-side__link {
  position: relative;
  display: flex; align-items: center; gap: 11px;
  padding: 9px 12px; border-radius: var(--pb-radius-sm);
  color: var(--pb-admin-side-ink); font-size: 14.5px; font-weight: 500; line-height: 1.3;
  transition: background-color .18s var(--pb-ease), color .18s var(--pb-ease);
}
.pb-side__link:hover { background: var(--pb-admin-side-hover); color: #fff; text-decoration: none; }
.pb-side__link svg { flex-shrink: 0; opacity: .8; }
/* Current page: a leaf bar on the leading edge plus a soft fill — readable
   at a glance without a solid block shouting over the rest of the menu. */
.pb-side__link[aria-current="page"] { background: var(--pb-admin-side-active); color: #fff; font-weight: 600; }
.pb-side__link[aria-current="page"] svg { opacity: 1; color: var(--pb-leaf); }
.pb-side__link[aria-current="page"]::before {
  content: ""; position: absolute; inset-inline-start: -4px; top: 8px; bottom: 8px;
  width: 3px; border-radius: 3px; background: var(--pb-leaf);
}
.pb-side__link:focus-visible, .pb-side__group:focus-visible, .pb-side__cta:focus-visible,
.pb-side__close:focus-visible, .pb-side__brand:focus-visible {
  outline: 2px solid var(--pb-gold-light); outline-offset: 2px;
}
.pb-side__badge {
  margin-inline-start: auto; min-width: 22px; height: 20px; padding: 0 6px;
  border-radius: 10px; background: var(--pb-gold); color: var(--pb-green-deep);
  font-size: 12px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}

.pb-side__user {
  display: flex; align-items: center; gap: 10px;
  padding: 10px; border-radius: var(--pb-radius); background: var(--pb-admin-side-hover);
}
.pb-side__avatar {
  width: 36px; height: 36px; border-radius: var(--pb-circle); flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--pb-gold); color: var(--pb-green-deep);
  font-family: var(--pb-font-display); font-weight: 700; font-size: 16px;
}
.pb-side__who { min-width: 0; }
.pb-side__user b {
  display: block; font-size: 13.5px; color: #fff; line-height: 1.3;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pb-side__user span { font-size: 11.5px; color: var(--pb-admin-side-mute); }
.pb-side__logout { margin-inline-start: auto; }
.pb-side__logout .pb-icon-btn { width: 34px; height: 34px; color: var(--pb-admin-side-ink); }
.pb-side__logout .pb-icon-btn:hover { background: var(--pb-admin-side-hover); color: #fff; }

.pb-side__scrim { display: none; }

/* -- Topbar and body ------------------------------------------------------ */

.pb-admin__body { display: flex; flex-direction: column; min-width: 0; }

.pb-topbar {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 14px 28px; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--pb-admin-line);
  position: sticky; top: 0; z-index: 10;
}
.pb-topbar__menu {
  width: 40px; height: 40px; flex-shrink: 0; border: 1px solid var(--pb-line); border-radius: var(--pb-radius);
  background: #fff; color: var(--pb-ink); cursor: pointer;
  display: none; align-items: center; justify-content: center;
}
.pb-topbar__menu:hover { border-color: var(--pb-ink); }
.pb-topbar__title { display: flex; flex-direction: column; line-height: 1.3; margin-inline-end: auto; min-width: 0; }
.pb-topbar__crumb {
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pb-green);
}
.pb-topbar__title b { font-family: var(--pb-font-display); font-size: 21px; font-weight: 600; }
.pb-topbar__title span { font-size: 13px; color: var(--pb-muted); }
.pb-topbar__search {
  display: flex; align-items: center; gap: 8px; color: var(--pb-muted);
  height: 40px; padding: 0 8px 0 14px; min-width: 280px;
  border: 1px solid var(--pb-line); border-radius: var(--pb-radius); background: var(--pb-admin-bg);
  transition: border-color .18s var(--pb-ease), background-color .18s var(--pb-ease), box-shadow .18s var(--pb-ease);
}
.pb-topbar__search:focus-within {
  border-color: var(--pb-green); background: #fff; box-shadow: 0 0 0 3px var(--pb-green-tint);
}
.pb-topbar__search input {
  border: 0; outline: 0; flex: 1; min-width: 0; font-size: 14px; background: transparent; color: var(--pb-ink);
}
.pb-topbar__kbd {
  font: 600 11px/1 var(--pb-font-body); color: var(--pb-muted);
  border: 1px solid var(--pb-line); border-radius: 5px; padding: 3px 6px; background: #fff;
}
.pb-topbar__search:focus-within .pb-topbar__kbd { display: none; }
/* The visible submit (dashboard/partials/search_submit.html): Enter still works, but nobody has to know it. */
.pb-topbar__search .pb-topbar__go { flex: none; min-height: 30px; padding: 0 12px; font-size: 13px; border-radius: var(--pb-radius-sm); }
.pb-topbar__clear {
  display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: var(--pb-circle);
  color: var(--pb-muted); text-decoration: none;
}
.pb-topbar__clear:hover { background: var(--pb-hover); color: var(--pb-ink); }
/* The input's own clear cross would sit next to ours. */
.pb-topbar__search input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.pb-topbar__site { display: inline-flex; align-items: center; gap: 6px; }

.pb-admin__main { padding: 24px 28px 48px; display: flex; flex-direction: column; gap: 20px; }

/* -- Cards and KPIs ------------------------------------------------------- */

.pb-adm-card {
  background: #fff; border: 1px solid #E3E6DF; border-radius: var(--pb-radius-lg);
  padding: 18px 20px; display: flex; flex-direction: column; gap: 14px;
}
.pb-adm-card__head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
}
.pb-adm-card__head b { font-size: 15.5px; font-weight: 700; }
.pb-adm-card__head a { font-size: 13px; font-weight: 600; }

.pb-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pb-kpi {
  background: #fff; border: 1px solid #E3E6DF; border-radius: var(--pb-radius-lg);
  padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; color: var(--pb-ink);
  transition: border-color .2s var(--pb-ease), box-shadow .2s var(--pb-ease);
}
.pb-kpi:hover { border-color: var(--pb-green); box-shadow: var(--pb-shadow-card); text-decoration: none; }
.pb-kpi__label { font-size: 12.5px; color: var(--pb-muted); }
.pb-kpi__value {
  font-family: var(--pb-font-display); font-weight: 700; line-height: 1.15;
  font-size: clamp(22px, 2.2vw, 29px); white-space: nowrap;
}
.pb-kpi__note { font-size: 12.5px; color: var(--pb-green); font-weight: 600; }

/* ---- Order lists (Online / Outlet sales): status cards, filter panel, wider table ---- */
.pb-kpis--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pb-order-kpis { margin-bottom: 16px; }
.pb-order-kpis .pb-kpi { gap: 4px; }
.pb-order-kpis .pb-kpi__value { color: var(--pb-kpi-tone, var(--pb-green)); }
.pb-order-kpis .pb-kpi__label { text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.pb-kpi--green { --pb-kpi-tone: var(--pb-green); }
.pb-kpi--gold { --pb-kpi-tone: var(--pb-gold-dark); }
.pb-kpi--blue { --pb-kpi-tone: var(--pb-blue); }
.pb-kpi--plum { --pb-kpi-tone: var(--pb-plum); }
.pb-kpi--teal { --pb-kpi-tone: var(--pb-teal); }

.pb-filter-panel {
  display: grid; gap: 12px 14px; align-items: end; margin-bottom: 16px; padding: 16px 18px;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)) auto;
  background: #fff; border: 1px solid #E3E6DF; border-radius: var(--pb-radius-lg);
}
.pb-filter-panel .pb-field input { height: 42px; font-size: 14px; }
/* The search box is type="search", which the shared .pb-field rule does not cover: give it the same frame. */
.pb-filter-panel .pb-field input[type="search"] {
  width: 100%; padding: 0 14px; border: 1px solid var(--pb-line); border-radius: var(--pb-radius);
  background: #fff; color: var(--pb-ink); appearance: none;
  transition: border-color .2s var(--pb-ease), box-shadow .2s var(--pb-ease);
}
.pb-filter-panel__label { font-size: 13.5px; font-weight: 600; color: var(--pb-ink-soft); }
.pb-filter-panel .pb-dropdown, .pb-filter-panel .pb-select { width: 100%; }
.pb-filter-panel__actions { display: flex; gap: 8px; }
.pb-filter-panel__actions .pb-btn { min-height: 42px; height: 42px; }
/* A panel with more dropdowns (Expenses: dates, kind, outlet, who wrote it) flows onto as many rows as it needs. */
.pb-filter-panel--wrap { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.pb-filter-total { margin: -2px 0 12px; color: var(--pb-ink-soft); font-size: 14px; }
.pb-filter-total b { color: var(--pb-ink); font-size: 16px; }

.pb-pill--firsttime { background: var(--pb-gold-tint); color: var(--pb-gold-dark); margin-top: 4px; }
.pb-order-table__products, .pb-order-table__address { max-width: 220px; }
.pb-order-table__when, .pb-order-table__number { white-space: nowrap; }
/* Pre-order badge under the order number: its own line, never split at the hyphen ("Pre-|order"),
   so a narrow phone-width cell stacks it instead of breaking or overlapping the number. */
.pb-order-table__number + .pb-pill {
  display: flex; width: max-content; max-width: 100%; margin-top: 4px;
  white-space: nowrap;
}
.pb-btn--icon { width: 36px; padding: 0; justify-content: center; }
/* Eleven columns: tighter cells so the whole row, buttons included, fits a laptop screen. */
.pb-order-table { font-size: 13.5px; }
.pb-order-table th, .pb-order-table td { padding-inline: 8px; }
.pb-order-table th:first-child, .pb-order-table td:first-child { padding-inline-start: 14px; }
/* When a narrower screen scrolls the table sideways, the edit / delete buttons stay pinned at the right. */
.pb-order-table th:last-child, .pb-order-table td:last-child {
  position: sticky; right: 0; background: #fff; box-shadow: -8px 0 8px -8px rgba(20, 30, 22, .18);
}
.pb-order-table tbody tr:hover td:last-child { background: var(--pb-green-tint-3); }

.pb-adm-grid { display: grid; gap: 20px; }
.pb-adm-grid--2 { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.pb-adm-grid--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* -- Bar chart (pure CSS, no chart library) ------------------------------- */

.pb-chart { display: flex; align-items: flex-end; gap: 6px; height: 190px; }
.pb-chart__col {
  flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; height: 100%;
}
.pb-chart__bar { border-radius: 4px 4px 0 0; min-height: 2px; transition: height .4s var(--pb-ease); }
.pb-chart__bar--online { background: var(--pb-green); }
.pb-chart__bar--pos { background: var(--pb-gold); border-radius: 0 0 4px 4px; }
.pb-chart__axis { display: flex; gap: 6px; margin-top: 8px; }
.pb-chart__axis span { flex: 1; text-align: center; font-size: 10.5px; color: var(--pb-muted); }
/* Reports: a 30- or 90-day window packs the bars tighter than the home chart. */
.pb-chart--dense { gap: 2px; }
.pb-chart.pb-chart--dense .pb-chart__bar { border-radius: 2px 2px 0 0; }
.pb-report-tabs { margin-bottom: 18px; }
.pb-report-note { font-size: 12.5px; margin: 0 0 10px; }
.pb-muted-inline { color: var(--pb-muted); font-weight: 400; }
.pb-legend { display: flex; gap: 16px; font-size: 12.5px; color: var(--pb-muted); }
.pb-legend span { display: inline-flex; align-items: center; gap: 6px; }
.pb-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

/* Horizontal meter used for outlet performance and report breakdowns. */
.pb-meter { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: var(--pb-line-softer); }
.pb-meter i { display: block; height: 100%; }
.pb-meter__row { display: flex; flex-direction: column; gap: 6px; }
.pb-meter__label { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.pb-meter__label b { font-weight: 600; }

/* -- Tables --------------------------------------------------------------- */

.pb-table-wrap { overflow-x: auto; border: 1px solid #E3E6DF; border-radius: var(--pb-radius-lg); background: #fff; }
.pb-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 760px; }
.pb-table th {
  text-align: start; font-size: 12px; font-weight: 700; color: var(--pb-muted);
  letter-spacing: .02em; padding: 12px 14px; border-bottom: 1px solid #E3E6DF; white-space: nowrap;
}
.pb-table td { padding: 13px 14px; border-bottom: 1px solid var(--pb-line-softer); vertical-align: middle; }
.pb-table tr:last-child td { border-bottom: 0; }
.pb-table tbody tr:hover { background: var(--pb-green-tint-3); }
.pb-table b { font-weight: 600; }
.pb-table small { display: block; font-size: 12px; color: var(--pb-muted); }
.pb-table__num { text-align: end; white-space: nowrap; font-variant-numeric: tabular-nums; }
/* Tick and position columns in the dashboard content lists. */
.pb-table .pb-table__center { text-align: center; white-space: nowrap; }
/* Picture column in the dashboard content lists (hero banners are 2:1). */
.pb-crud-thumb { display: block; width: 48px; height: 48px; object-fit: cover; border-radius: 8px; background: var(--pb-green-tint-3); }
.pb-crud-thumb--wide { width: 112px; height: 56px; }
/* A partner logo is shown whole on white, not cropped like a photo. */
.pb-crud-thumb--logo { width: 112px; height: 48px; object-fit: contain; background: #fff; border: 1px solid var(--pb-line-soft); }
.pb-table__actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
/* Content lists keep their row buttons on one line; the table scrolls sideways instead. */
.pb-table__actions--nowrap { flex-wrap: nowrap; }
/* Dashboard tables: every header sits centred over its values, whatever the column holds, so
   numbers, statuses and buttons line up with their heading. The first column names the row (a
   product, an order, a person) and reads from the start. Public pages' text tables are untouched. */
.pb-admin .pb-table :is(th, td) { text-align: center; }
.pb-admin .pb-table :is(th, td):first-child { text-align: start; }
.pb-admin .pb-table__actions { justify-content: center; }
.pb-table__advance-form {
  display: inline-flex;
}
.pb-table__advance-btn {
  white-space: nowrap;
  justify-content: center;
  text-align: center;
}

.pb-status {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: var(--pb-pill);
  background: var(--pb-line-softer); color: var(--pb-ink-soft); white-space: nowrap;
}
.pb-status--new { background: #FDF0DA; color: #8A6A2A; }
/* Published / active in the dashboard content lists; the off state keeps the neutral base. */
.pb-status--on { background: var(--pb-green-tint); color: var(--pb-green-dark); }
.pb-status--processing { background: #E4EEF8; color: #27557F; }
.pb-status--packed { background: #EDE7F8; color: #4C3B7A; }
.pb-status--shipped { background: #E0F0E6; color: #1F6B3B; }
.pb-status--ready { background: var(--pb-green-tint); color: var(--pb-green-dark); }
.pb-status--delivered { background: var(--pb-green); color: #fff; }
.pb-status--cancelled { background: #FBECE8; color: #8A2E1C; }
.pb-status--low { background: #FDF0DA; color: #8A6A2A; }
.pb-status--out { background: #FBECE8; color: #8A2E1C; }

.pb-thumb { width: 40px; height: 40px; border-radius: 9px; object-fit: cover; flex-shrink: 0; }
.pb-thumb--lg { width: 120px; height: 120px; border-radius: var(--pb-radius); }
.pb-cellflex { display: flex; align-items: center; gap: 10px; min-width: 0; }

/* -- Vendor product form -------------------------------------------------- */

.pb-prodform { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.pb-prodform__image { display: flex; align-items: flex-start; gap: 18px; }
.pb-prodform__image .pb-field { flex: 1; min-width: 0; }
.pb-prodform__preview { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; }
.pb-prodform__preview small { font-size: 12.5px; color: var(--pb-muted); }
.pb-prodform__actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pb-prodform__view { font-size: 13.5px; font-weight: 600; }
.pb-prodform__more { gap: 0; }
.pb-prodform__more[open] { gap: 14px; }
.pb-prodform__more > summary {
  font-size: 15.5px; font-weight: 700; cursor: pointer; list-style: none;
  display: flex; align-items: center; gap: 8px;
}
.pb-prodform__more > summary::-webkit-details-marker { display: none; }
.pb-prodform__more > summary::before {
  content: "+"; color: var(--pb-green); font-size: 17px; line-height: 1;
}
.pb-prodform__more[open] > summary::before { content: "\2013"; }

/* -- Admin filter tabs ---------------------------------------------------- */

.pb-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.pb-tab {
  display: inline-flex; align-items: center; gap: 7px;
  height: 38px; padding: 0 14px;
  border: 1px solid #E3E6DF; border-radius: var(--pb-radius);
  background: #fff; color: var(--pb-ink); font-size: 13.5px; font-weight: 600;
}
.pb-tab:hover { border-color: var(--pb-ink); text-decoration: none; }
.pb-tab[aria-current="page"] { background: var(--pb-ink); border-color: var(--pb-ink); color: #fff; }
.pb-tab__count {
  min-width: 20px; height: 19px; padding: 0 5px; border-radius: 10px;
  background: var(--pb-line-softer); color: var(--pb-ink-soft);
  font-size: 11.5px; display: inline-flex; align-items: center; justify-content: center;
}
.pb-tab[aria-current="page"] .pb-tab__count { background: rgba(255, 255, 255, .22); color: #fff; }

/* -- Login ---------------------------------------------------------------- */

.pb-login {
  min-height: 100vh; display: grid; place-items: center; padding: 24px;
  background: linear-gradient(160deg, var(--pb-green-deep), var(--pb-green));
}
.pb-login__card {
  width: min(100%, 420px); background: #fff;
  border-radius: var(--pb-radius-panel); padding: 32px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .25);
  display: flex; flex-direction: column; gap: 16px;
}
.pb-login__brand { display: flex; align-items: center; gap: 10px; }
.pb-login__brand img { width: 48px; height: 48px; border-radius: 12px; }
.pb-login__hint {
  font-size: 12.5px; color: var(--pb-muted); background: var(--pb-bg);
  border-radius: var(--pb-radius); padding: 12px 14px; line-height: 1.7;
}

@media (max-width: 992px) {
  .pb-admin { grid-template-columns: minmax(0, 1fr); }

  /* The rail becomes a drawer behind the topbar's menu button. Without
     JavaScript (no .pb-js on <html>) it simply stacks above the page, every
     section open, so nothing is ever out of reach. */
  .pb-side { position: static; height: auto; overflow: visible; }
  .pb-side__nav { overflow: visible; }

  .pb-js .pb-topbar__menu, .pb-js .pb-side__close { display: inline-flex; }
  .pb-js .pb-side {
    position: fixed; inset-block: 0; inset-inline-start: 0; z-index: 40;
    width: min(86vw, 300px); height: 100%; overflow: hidden;
    transform: translateX(-100%); visibility: hidden;
    transition: transform .25s var(--pb-ease), visibility 0s linear .25s;
    box-shadow: 0 0 40px rgba(0, 0, 0, .25);
  }
  .pb-js .pb-side__nav { overflow-y: auto; }
  .pb-js.pb-side-open .pb-side {
    transform: none; visibility: visible;
    transition: transform .25s var(--pb-ease), visibility 0s;
  }
  .pb-js .pb-side__scrim {
    display: block; position: fixed; inset: 0; z-index: 39; background: var(--pb-admin-scrim);
    opacity: 0; pointer-events: none; transition: opacity .25s var(--pb-ease);
  }
  .pb-js.pb-side-open .pb-side__scrim { opacity: 1; pointer-events: auto; }
  .pb-js.pb-side-open body { overflow: hidden; }

  /* Unpinned on small screens: a wrapped topbar can run to three rows, and
     holding that much chrome on screen leaves almost nothing to read. */
  .pb-topbar { position: static; padding-block: 12px; }

  .pb-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pb-filter-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pb-filter-panel .pb-field:first-of-type, .pb-filter-panel__actions { grid-column: 1 / -1; }
  .pb-filter-panel--wrap .pb-field:first-of-type { grid-column: auto; }
  .pb-adm-grid--2, .pb-adm-grid--even { grid-template-columns: minmax(0, 1fr); }
  .pb-admin__main, .pb-topbar { padding-inline: 16px; }
}

@media (max-width: 576px) {
  .pb-kpis { grid-template-columns: minmax(0, 1fr); }
  .pb-topbar__search { min-width: 0; width: 100%; order: 3; }
  .pb-topbar { gap: 10px; }
  .pb-topbar__title b { font-size: 18px; }
  .pb-topbar__site span { display: none; }
  .pb-topbar__kbd { display: none; }
}

/* --------------------------------------------------------------------------
   Back office — generic CRUD sections, order detail and pagination
   -------------------------------------------------------------------------- */

/* Previous/next pager under a paginated list. The middle column carries the
   count, so the two buttons stay put as the page number changes. */
.pb-dashpager {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
}
.pb-dashpager > :last-child { justify-self: end; }
.pb-dashpager__count { font-size: 13px; color: var(--pb-muted); text-align: center; }

/* The generated add/edit form: two columns, with long text and image inputs
   taking the full width so a description is not typed through a slot. */
.pb-crudform { display: flex; flex-direction: column; gap: 18px; max-width: 920px; }
.pb-crudform__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.pb-crudform__wide { grid-column: 1 / -1; }

/* A short form laid out along the bottom of a card — status and note, then
   the button that applies them. */
.pb-inlineform { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.pb-inlineform .pb-field { flex: 1 1 200px; min-width: 0; }

/* Stacked form inside a sidebar or card (e.g. status changes). */
.pb-stack-form { display: flex; flex-direction: column; gap: 16px; }
.pb-stack-form .pb-btn { margin-top: 6px; }

/* One child row inside a parent's form — a gallery image, a provenance fact.
   The row reads left to right and wraps whole, so a narrow screen stacks the
   rows rather than interleaving their fields. */
/* Top-aligned, so a field with a help line under it does not push its neighbours' labels down;
   the tick boxes sit level with the inputs. */
.pb-inline-row {
  display: flex; align-items: flex-start; gap: 14px; flex-wrap: wrap;
  padding: 12px 0; border-top: 1px solid var(--pb-line-softer);
}
.pb-inline-toggle { margin-bottom: 14px; }
/* Compact inline rows (pack sizes): one header, then a single line per row. */
.pb-compactrow {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) 40px; gap: 10px; align-items: start;
  padding: 8px 0;
}
/* Rows with two fields (label and value) instead of four. */
.pb-compactrows--2 .pb-compactrow { grid-template-columns: repeat(2, minmax(0, 1fr)) 40px; }
.pb-compactrow--head {
  padding: 0 0 2px; font-size: 12px; font-weight: 600; color: var(--pb-muted);
}
.pb-compactrow--head small { font-weight: 400; }
.pb-compactrow + .pb-compactrow, [data-inline-rows] > .pb-compactrow + .pb-compactrow { border-top: 1px solid var(--pb-line-softer); }
.pb-compactrow__cell { min-width: 0; }
.pb-compactrow__cell input { width: 100%; }
.pb-compactrow .pb-compactrow__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* A row's × : a round button over its hidden DELETE box. Ticked, the row is gone at once. */
.pb-row-remove {
  display: inline-grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px; margin-top: 3px;
  border-radius: 50%; color: var(--pb-muted); cursor: pointer;
}
.pb-inline-row > .pb-row-remove { margin-top: 30px; }
.pb-row-remove:hover { background: var(--pb-hover); color: var(--pb-danger); }
.pb-row-remove input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pb-row-remove:focus-within { outline: 2px solid var(--pb-green); outline-offset: 2px; }
.pb-compactrow:has(.pb-row-remove input:checked),
.pb-inline-row:has(.pb-row-remove input:checked) { display: none; }
@media (max-width: 720px) {
  .pb-compactrow { grid-template-columns: 1fr 1fr; }
  .pb-compactrow--head { display: none; }
  .pb-compactrow .pb-compactrow__label { position: static; width: auto; height: auto; clip: auto; display: block; margin-bottom: 4px; font-size: 12px; font-weight: 600; }
}
/* Rows drawn inside another card (pack sizes in the price card): a ruled sub-section. */
.pb-inline-embed { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--pb-line-softer); }
.pb-inline-embed__head { margin-bottom: 12px; font-size: 14px; }
/* A tick box's help line, indented under its label. */
.pb-crudform__checkhint { display: block; margin: 2px 0 0 28px; }
.pb-inline-row:first-of-type { border-top: 0; padding-top: 0; }
.pb-inline-row .pb-field { flex: 1 1 180px; min-width: 0; }
.pb-inline-row__check { flex: 0 0 auto; padding-top: 38px; white-space: nowrap; }
/* Long tick-box lists in dashboard forms (an entrepreneur's products): a scroll box with a filter bar. */
.pb-checklist {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2px 12px;
  max-height: 280px; overflow-y: auto; padding: 10px 12px;
  border: 1px solid var(--pb-line); border-radius: var(--pb-radius); background: var(--pb-surface);
}
.pb-checklist > div[hidden] { display: none; }
.pb-checklist label { display: flex; width: fit-content; max-width: 100%; align-items: center; gap: 8px; padding: 6px 4px; font-size: 14px; font-weight: 500; cursor: pointer; }
.pb-checklist input { accent-color: var(--pb-green); }
.pb-checklist__bar { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.pb-checklist__filter { flex: 1; height: 40px; padding: 0 12px; border: 1px solid var(--pb-line); border-radius: var(--pb-radius); font-size: 14px; }
.pb-checklist__count { color: var(--pb-muted); font-size: 13px; font-weight: 600; white-space: nowrap; }
/* "+ Add another" under a form's child rows (palli-admin.js initInlineAdd). */
.pb-inline-add { align-self: flex-start; width: auto; margin-top: 16px; }

.pb-confirm { max-width: 560px; }
.pb-confirm__text { font-size: 15.5px; margin: 0; }

.pb-adm-stack { display: flex; flex-direction: column; gap: 20px; min-width: 0; }

/* Label/value pairs — the customer block on an order. */
.pb-deflist { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.pb-deflist > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; }
.pb-deflist dt { font-size: 13px; color: var(--pb-muted); }
.pb-deflist dd { margin: 0; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }

/* Money summary under the order lines. */
.pb-sums { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.pb-sums > div { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
.pb-sums dt { color: var(--pb-muted); }
.pb-sums dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.pb-sums__total { padding-top: 8px; border-top: 1px solid var(--pb-line-soft); font-size: 15.5px; }
.pb-sums__total dt { color: var(--pb-ink); font-weight: 600; }

/* Fulfilment steps and the event trail beneath them. */
.pb-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.pb-steps__item {
  position: relative; padding: 0 0 14px 26px;
  border-inline-start: 2px solid var(--pb-line-soft); margin-inline-start: 6px;
}
.pb-steps__item:last-child { border-inline-start-color: transparent; padding-bottom: 0; }
.pb-steps__item::before {
  content: ""; position: absolute; inset-inline-start: -7px; top: 3px;
  width: 12px; height: 12px; border-radius: 6px;
  background: var(--pb-surface); box-shadow: inset 0 0 0 2px var(--pb-line);
}
.pb-steps__item.is-done { border-inline-start-color: var(--pb-green-tint); }
.pb-steps__item.is-done::before { background: var(--pb-green); box-shadow: none; }
.pb-steps__item.is-current::before { box-shadow: 0 0 0 4px var(--pb-green-tint); }
.pb-steps__item b { font-size: 14px; font-weight: 600; display: block; }
.pb-steps__item small { display: block; font-size: 12.5px; color: var(--pb-muted); }

.pb-events { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pb-events li { font-size: 13.5px; }
.pb-events b { font-weight: 600; }
.pb-events small { display: block; font-size: 12.5px; color: var(--pb-muted); }
/* Partner application review history (dashboard/application_detail.html). */
.pb-application__history li { padding-bottom: 10px; border-bottom: 1px solid var(--pb-line-softer); }
.pb-application__history li:last-child { padding-bottom: 0; border-bottom: 0; }
.pb-application__change { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: var(--pb-pill); background: var(--pb-green-tint-3); color: var(--pb-green-dark); font-size: 12px; font-weight: 600; }
.pb-application__note { margin: 6px 0 0; color: var(--pb-ink-2); font-size: 13.5px; line-height: 1.55; overflow-wrap: anywhere; }

@media (max-width: 900px) {
  .pb-crudform__grid { grid-template-columns: minmax(0, 1fr); }
  .pb-deflist > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* --------------------------------------------------------------------------
   Back office — manual order entry
   --------------------------------------------------------------------------
   A till rather than a form: a product picker over a list of chosen lines on
   the left, the running total pinned on the right. The full catalog table is
   the control that always works, so it keeps the panel's ordinary table look
   and only folds away behind its disclosure.
   -------------------------------------------------------------------------- */

.pb-mop { display: flex; flex-direction: column; gap: 20px; }
/* `align-self` matters as much as `position` here: a stretched grid item is
   as tall as the catalog beside it, and a sticky box with no slack never
   moves. `top` clears the sticky topbar. */
.pb-mop__side { position: sticky; top: 84px; align-self: start; }

/* The empty state sits between the picker and the catalog, so it stays quiet —
   a line of guidance, not a panel competing with either. */
.pb-mop__blank {
  margin: 0; padding: 18px 16px; text-align: center;
  border: 1px dashed var(--pb-line); border-radius: var(--pb-radius);
  font-size: 13.5px; color: var(--pb-muted);
}

.pb-mop__all > summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; color: var(--pb-green);
}
.pb-mop__all > summary::-webkit-details-marker { display: none; }
.pb-mop__all > summary::before {
  content: "+"; width: 20px; height: 20px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--pb-circle); background: var(--pb-green-tint);
  font-size: 14px; line-height: 1;
}
.pb-mop__all[open] > summary::before { content: "\2013"; }
.pb-mop__all[open] > summary { margin-bottom: 14px; }

/* The catalog sits in the narrower of the two columns, so it drops the wide
   table's minimum and lets the product cell carry the long strings. */
.pb-mop__all .pb-table { min-width: 560px; }
.pb-mop__all .pb-table td { padding: 10px 12px; }

.pb-mop__qty { max-width: 88px; margin-inline-start: auto; }

/* New purchase: the products card gets most of the width, and the table keeps a floor of its own
   (scrolling inside the card below it) so the numeric columns never get squeezed. The three numeric
   columns take a fifth each and the product takes the rest, so no gap opens between a short name and
   the first box. The inputs are kept compact (a price or a quantity never needs more) and, like the
   sale price, start at their cell's left edge, so every value sits directly under its heading. */
.pb-po__layout { grid-template-columns: minmax(0, 2.2fr) minmax(260px, 1fr); }
.pb-po__table { table-layout: fixed; width: 100%; min-width: 520px; }
.pb-po__col { width: 20%; }
.pb-po__table td, .pb-po__table th { vertical-align: middle; padding-inline: 10px; }
.pb-po__table td:first-child { overflow-wrap: anywhere; }
.pb-po__table td.pb-po__sale { white-space: nowrap; font-variant-numeric: tabular-nums; }
.pb-po__table .pb-po__input { width: 92px; max-width: 100%; margin: 0; padding-inline: 10px; text-align: center; font-variant-numeric: tabular-nums; }
@media (max-width: 1180px) { .pb-po__layout { grid-template-columns: minmax(0, 1fr); } }
/* The picker is the way into the whole screen, so it is the loudest thing on it: a labelled, tinted box with a
   firm green border, a bolder prompt and a chevron that says "this opens a list". */
.pb-po__pick-label { display: block; margin-bottom: 8px; font-size: 14.5px; font-weight: 700; color: var(--pb-green-dark); }
[data-po-picker] .pb-combo__field {
  height: 58px; border: 2px solid var(--pb-green); background: var(--pb-green-tint-3); color: var(--pb-green);
  box-shadow: 0 0 0 4px var(--pb-green-tint);
}
[data-po-picker] .pb-combo__field::after {
  content: ""; flex-shrink: 0; width: 9px; height: 9px; margin-inline-start: 4px;
  border-right: 2px solid var(--pb-green); border-bottom: 2px solid var(--pb-green);
  transform: translateY(-2px) rotate(45deg);
}
[data-po-picker] .pb-combo__field:focus-within { box-shadow: 0 0 0 5px var(--pb-green-tint); background: #fff; }
[data-po-picker] .pb-combo__field input { font-size: 16px; font-weight: 600; }
[data-po-picker] .pb-combo__field input::placeholder { color: var(--pb-green-dark); font-weight: 600; opacity: .85; }
/* The chosen-lines table: an icon-width last column for the remove button, and a little room above the picker. */
.pb-po__sel .pb-po__col--x { width: 52px; }
/* Four figure columns here (quantity, buying, selling, line total), so each is narrower than in the full list. */
.pb-po__sel .pb-po__col:not(.pb-po__col--x) { width: 15%; }
[data-po-picker] { margin-bottom: 14px; }
[data-po-selected], [data-po-blank], .pb-mop__all[data-po-all] { margin-top: 4px; }
.pb-mop__qty:disabled { background: var(--pb-line-softer); cursor: not-allowed; }

.pb-mop__drop {
  width: 32px; height: 32px; border: 1px solid var(--pb-line);
  border-radius: var(--pb-radius-sm); background: #fff;
  color: var(--pb-muted); font-size: 17px; line-height: 1; cursor: pointer;
  transition: border-color .2s var(--pb-ease), color .2s var(--pb-ease), background-color .2s var(--pb-ease);
}
.pb-mop__drop:hover {
  border-color: var(--pb-danger); color: var(--pb-danger); background: var(--pb-danger-tint);
}

/* -- Product picker ------------------------------------------------------- */

.pb-combo { position: relative; }
.pb-combo__field {
  display: flex; align-items: center; gap: 10px;
  padding: 0 12px 0 14px; height: 52px;
  border: 1px solid var(--pb-line); border-radius: var(--pb-radius);
  background: #fff; color: var(--pb-muted);
  transition: border-color .2s var(--pb-ease), box-shadow .2s var(--pb-ease);
}
.pb-combo__field:focus-within { border-color: var(--pb-green); box-shadow: 0 0 0 3px var(--pb-green-tint); }
.pb-combo__field input {
  flex: 1; min-width: 0; height: 100%;
  border: 0; outline: 0; background: transparent;
  font-size: 15px; color: var(--pb-ink);
}
.pb-combo__clear {
  width: 28px; height: 28px; flex-shrink: 0;
  border: 0; border-radius: var(--pb-circle); background: var(--pb-line-softer);
  color: var(--pb-ink-soft); font-size: 17px; line-height: 1; cursor: pointer;
}
.pb-combo__clear:hover { background: var(--pb-hover); }

/* Floated over the lines below rather than pushing them down, so the list a
   staff member is reading does not jump every time the panel opens. */
.pb-combo__panel {
  position: absolute; z-index: 20; inset-inline: 0; top: calc(100% + 6px);
  background: #fff; border: 1px solid var(--pb-line);
  border-radius: var(--pb-radius); box-shadow: var(--pb-shadow-hover);
  overflow: hidden;
}
.pb-combo__list { list-style: none; margin: 0; padding: 6px; max-height: 340px; overflow-y: auto; }
.pb-combo__opt {
  display: grid; grid-template-columns: 34px minmax(0, 1fr) auto auto;
  align-items: center; gap: 12px;
  padding: 9px 10px; border-radius: var(--pb-radius-sm); cursor: pointer;
}
.pb-combo__thumb { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; }
.pb-combo__opt.is-active { background: var(--pb-green-tint); }
.pb-combo__opt[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.pb-combo__text { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.pb-combo__text b { font-size: 14.5px; font-weight: 600; }
.pb-combo__text small { font-size: 12px; color: var(--pb-muted); }
.pb-combo__price { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pb-combo__note {
  margin: 0; padding: 10px 14px; font-size: 12.5px; color: var(--pb-muted);
  border-top: 1px solid var(--pb-line-softer); background: var(--pb-bg);
}

/* -- Shared tweaks the till needs ----------------------------------------- */

/* The chosen lines are read at a glance beside a form, not scanned as a
   report, so they drop the catalog table's minimum width and tighten up. */
.pb-table--snug { min-width: 0; }
.pb-table--snug td { padding: 10px 12px; }

.pb-qty--sm button { width: 32px; height: 36px; font-size: 16px; }
.pb-qty--sm input { width: 46px; height: 36px; font-size: 14.5px; }
/* The stepper owns the arrows, so the browser's own spinners are noise. */
.pb-qty--sm input { appearance: textfield; -moz-appearance: textfield; }
.pb-qty--sm input::-webkit-outer-spin-button,
.pb-qty--sm input::-webkit-inner-spin-button { appearance: none; margin: 0; }

.pb-choices--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pb-choices--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 992px) {
  .pb-mop__side { position: static; }
  .pb-choices--three { grid-template-columns: minmax(0, 1fr); }
  .pb-choices--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Below this the chosen lines stop being a table and become one card per
   line. Six columns in a phone-width card means the stepper — the control
   the desk reaches for most — ends up off the right edge behind a scrollbar,
   so the row is re-laid as a two-column grid instead: what the product is on
   the left, what it costs and how many on the right. */
@media (max-width: 760px) {
  .pb-mop__lines thead { display: none; }
  .pb-mop__lines, .pb-mop__lines tbody, .pb-mop__lines tr, .pb-mop__lines td { display: block; }
  .pb-mop__lines tr {
    display: grid; grid-template-columns: minmax(0, 1fr) auto;
    gap: 2px 14px; padding: 12px 14px;
    border-bottom: 1px solid var(--pb-line-softer);
  }
  .pb-mop__lines tr:last-child { border-bottom: 0; }
  .pb-table.pb-mop__lines td { padding: 0; border: 0; text-align: start; }
  .pb-mop__lines td:nth-child(1) { grid-area: 1 / 1; }
  .pb-mop__lines td:nth-child(2) { grid-area: 2 / 1; font-size: 13px; color: var(--pb-muted); }
  .pb-mop__lines td:nth-child(3) { grid-area: 2 / 2; justify-self: end; }
  .pb-table.pb-mop__lines td:nth-child(4) { grid-area: 3 / 2; text-align: end; }
  .pb-mop__lines td:nth-child(5) { grid-area: 1 / 2; justify-self: end; }
}

@media (max-width: 576px) {
  .pb-choices, .pb-choices--three, .pb-choices--four { grid-template-columns: minmax(0, 1fr); }
  .pb-combo__opt { grid-template-columns: 34px minmax(0, 1fr) auto; }
  .pb-combo__opt .pb-status { grid-column: 2 / -1; }
}

/* ---------------------------------------------------------------------------
   Product image slots
   --------------------------------------------------------------------------
   Uploaded product photos can be small source files. Keep those files at
   their natural dimensions so the browser does not blur them by enlarging
   them beyond their available detail.
   ------------------------------------------------------------------------ */

.pb-product__media img.pb-img--sm,
.pb-gallery__main img.pb-img--sm,
.pb-gallery__thumb img.pb-img--sm,
.pb-cat__media img.pb-img--sm,
.pb-line__media img.pb-img--sm {
  width: auto; height: auto;
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  margin: auto;
}

.pb-cat__media img.pb-img--sm { max-width: 70%; max-height: 70%; }

/* Do not enlarge low-resolution uploads on hover. */
.pb-card:hover .pb-product__media img.pb-img--sm { transform: none; }

/* --------------------------------------------------------------------------
   Order edit
   A correction screen, not a till: the order as it stands sits in a strip on
   top, the three things that can change (lines, customer, payment) follow as
   numbered cards, and the recalculated total with the save button stays
   pinned beside them so the effect of every change is visible before saving.
   -------------------------------------------------------------------------- */

.pb-oedit { display: flex; flex-direction: column; gap: 20px; }

.pb-oedit__glance {
  flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px 28px;
  background: var(--pb-green-tint-3);
}
.pb-oedit__facts {
  display: flex; flex-wrap: wrap; gap: 10px 32px; margin: 0;
}
.pb-oedit__facts > div { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.pb-oedit__facts dt { font-size: 12px; font-weight: 600; color: var(--pb-muted); }
.pb-oedit__facts dd { margin: 0; font-size: 14.5px; font-weight: 600; font-variant-numeric: tabular-nums; }

.pb-oedit__step {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; margin-inline-end: 10px;
  border-radius: var(--pb-circle); background: var(--pb-green-tint);
  color: var(--pb-green-dark); font-size: 13px; font-weight: 700; vertical-align: 1px;
}

/* The stepper keeps its plain number input when JS is off; the buttons only
   appear once palli-admin.js has wired them up. */
.pb-oedit__qty { margin-inline-start: auto; }
.pb-oedit__qty input:only-of-type { border-radius: var(--pb-radius); }
@media (min-width: 761px) {
  .pb-oedit__lines td:last-child { width: 1%; white-space: nowrap; }
}

/* A line set to zero stays on screen until the save, struck through, so the
   desk can see what is about to leave the order and take it back. */
.pb-oedit__lines tr.is-removed td { background: var(--pb-danger-tint); }
.pb-oedit__lines tr.is-removed b { text-decoration: line-through; color: var(--pb-muted); }
.pb-oedit__lines tr.is-removed .pb-thumb { opacity: .45; }
.pb-oedit__gone { display: block; font-size: 12.5px; font-weight: 700; color: var(--pb-danger-ink); }
.pb-oedit__gone[hidden] { display: none; }
.pb-oedit__undo {
  border: 0; background: transparent; padding: 4px 2px; cursor: pointer;
  font-size: 13px; font-weight: 700; color: var(--pb-green);
}
.pb-oedit__undo:hover { text-decoration: underline; }

.pb-oedit__empty { font-size: 14px; }
.pb-oedit__empty a { color: inherit; font-weight: 700; text-decoration: underline; }

.pb-oedit__paid {
  padding: 12px 14px; border: 1px solid var(--pb-line); border-radius: var(--pb-radius);
  font-weight: 600;
}
.pb-oedit__paid:has(input:checked) { border-color: var(--pb-green); background: var(--pb-green-tint-2); }

.pb-oedit__side { position: sticky; top: 84px; align-self: start; }
.pb-oedit__actions { display: flex; flex-direction: column; gap: 8px; }

.pb-oedit__dirty {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 2px 10px; border-radius: var(--pb-pill);
  background: var(--pb-info-tint); color: var(--pb-info-ink);
  font-size: 12px; font-weight: 700;
}
.pb-oedit__dirty::before {
  content: ""; width: 7px; height: 7px; border-radius: var(--pb-circle); background: var(--pb-info);
}
.pb-oedit__dirty[hidden] { display: none; }

.pb-oedit__was { font-size: 13px; }
.pb-oedit__was dd { font-weight: 500; color: var(--pb-muted); }
.pb-oedit__was[hidden] { display: none; }

@media (max-width: 992px) {
  .pb-oedit__side { position: static; }
}

/* Phone width: each line becomes a two-row card so the stepper never ends
   up behind a horizontal scrollbar. */
@media (max-width: 760px) {
  .pb-oedit__facts { gap: 10px 20px; }
  .pb-oedit__lines thead { display: none; }
  .pb-oedit__lines, .pb-oedit__lines tbody, .pb-oedit__lines tr, .pb-oedit__lines td { display: block; }
  .pb-oedit__lines tr {
    display: grid; grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 14px; padding: 12px 14px; border-bottom: 1px solid var(--pb-line-softer);
  }
  .pb-oedit__lines tr:last-child { border-bottom: 0; }
  .pb-oedit__lines tr.is-removed { background: var(--pb-danger-tint); }
  .pb-table.pb-oedit__lines td { padding: 0; border: 0; text-align: start; width: auto; }
  .pb-oedit__lines td:nth-child(1) { grid-area: 1 / 1; }
  .pb-oedit__lines td:nth-child(2) { grid-area: 2 / 1; align-self: center; font-size: 13px; color: var(--pb-muted); }
  .pb-oedit__lines td:nth-child(3) { grid-area: 2 / 2; justify-self: end; }
  .pb-table.pb-oedit__lines td:nth-child(4) { grid-area: 3 / 2; text-align: end; }
  .pb-oedit__lines td:nth-child(5) { grid-area: 1 / 2; justify-self: end; }
}
