.products-surface h1, .products-surface h2, .products-surface h3, .products-surface p { margin: 0; letter-spacing: 0; }
.products-page .section-kicker { margin-bottom: 9px; }
.products-page .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.products-hero { position: relative; }
.products-hero-inner { display: grid; grid-template-columns: .46fr .54fr; align-items: center; gap: 12px; padding-block: 28px 16px; }
.products-hero-copy { min-width: 0; max-width: 540px; }
.products-hero-media { min-width: 0; padding: 32px; }
.products-hero-media img { width: 100%; height: auto; object-fit: contain; transform-origin: center; }
.products-hero h1 { max-width: 100%; filter: none; }
.products-hero h1 span { color: var(--logo-blue); white-space: normal; }
.products-hero-copy > p:last-child { max-width: 480px; margin-top: 20px; font-size: 1.02rem; line-height: 1.52; color: var(--muted); }
.category-selector { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; padding-block: 22px 30px; scroll-margin-top: 100px; }
.category-choice { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 10px 8px 14px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.35); position: relative; transition: border-color .2s, background .2s; }
.category-choice img { width: 96px; height: 88px; object-fit: contain; margin-bottom: 9px; }
.category-choice strong { font-size: .9rem; font-weight: 950; line-height: 1.14; margin-block: auto 4px; }
.category-choice > span { color: #59665e; font-size: .72rem; }
.category-choice:hover, .category-choice.is-active { border-color: var(--logo-blue); background: rgba(225,237,255,.7); }
.category-choice.is-active::after { content: ""; position: absolute; width: 9px; height: 9px; bottom: -18px; background: var(--logo-blue); transform: rotate(45deg); }
.products-page a:focus-visible, .products-page button:focus-visible { outline: 3px solid var(--logo-blue); outline-offset: 4px; }
.product-families { padding-block: 5px 28px; }
.product-family { margin-bottom: 8px; scroll-margin-top: 110px; }
.product-family[hidden] { display: none; }
.onion-showcase { display: grid; grid-template-columns: minmax(0, .37fr) minmax(0, .63fr); gap: 24px; padding-bottom: 12px; }
.onion-visual { display: flex; flex-direction: column; justify-content: space-evenly; gap: 24px; padding: 18px 18px 24px; min-width: 0; }
.onion-visual > img { width: 100%; height: 370px; object-fit: contain; }
.onion-highlights { background: var(--palette-information-surface); border: 1px solid var(--palette-information-border); padding: 22px 18px; border-radius: 10px; box-shadow: var(--shadow-sm); }
.onion-highlights > div { display: flex; align-items: center; gap: 12px; }
.onion-highlights > div + div { margin-top: 20px; }
.onion-highlights img { width: 38px; height: 38px; object-fit: contain; }
.onion-highlights strong, .onion-highlights span { display: block; font-size: .8rem; line-height: 1.5; }
.onion-highlights strong { font-size: .99rem; font-weight: 950; line-height: 1.12; }
.onion-highlights span { font-size: .75rem; line-height: 1.32; }
.onion-highlights span { color: #59665e; margin-top: 2px; }
.onion-catalogue { min-width: 0; }
.family-heading { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: 8px 16px; margin-block: 2px 10px; }
.specification-link { font-size: .76rem; font-weight: 700; color: var(--logo-blue); text-decoration: underline; text-underline-offset: 4px; padding-block: 8px; }
.family-description { font-size: 1rem; line-height: 1.52; color: var(--muted); }
.ingredient-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.ingredient-grid[hidden] { display: none; }
.ingredient-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border-radius: 8px; border: 1px solid var(--line); background: #fffaf2; }
.ingredient-card > img { width: 100%; aspect-ratio: 1.15; object-fit: cover; }
#garlic .ingredient-card > img { height: auto; object-fit: contain; padding: 8px; }
.ingredient-copy { display: flex; flex-direction: column; align-items: start; flex: 1; padding: 12px; }
.ingredient-copy h3 { font-size: .9rem; font-weight: 950; line-height: 1.14; }
.ingredient-copy p { color: var(--muted); font-size: .8rem; line-height: 1.52; margin-top: 6px; min-height: 3.1em; }
.ingredient-variant { display: block; font-size: .72rem; color: #59665e; margin-top: 7px; }
.products-page .ingredient-card .button { margin-top: auto; max-width: 100%; white-space: normal; }
.ingredient-variant { margin-bottom: 12px; }
.format-enquiry { align-self: center; padding: 16px 10px; }
.format-enquiry .section-kicker { font-size: .65rem; }
.format-enquiry h3 { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.7rem; }
.format-enquiry > p:not(.section-kicker) { font-size: .78rem; line-height: 1.65; margin-block: 10px 15px; color: #59665e; }
.category-overview { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: center; padding: 32px 38px; }
.category-overview > img { width: 280px; height: 260px; object-fit: contain; }
.category-overview p:not(.section-kicker) { margin-block: 12px 22px; max-width: 550px; font-size: .95rem; line-height: 1.65; color: #59665e; }
.overview-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.products-private { border: 1px solid var(--palette-panel-border); border-radius: 14px; box-shadow: var(--shadow-md); backdrop-filter: blur(10px); margin-block: 40px; padding: 52px 42px 36px; }
.products-private-inner { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 42px; min-height: 360px; }
.products-private-inner > div { grid-column: 2; grid-row: 1; min-width: 0; }
.products-private-inner > img { grid-column: 1; grid-row: 1; }
.products-private-inner p:not(.section-kicker) { font-size: 1rem; line-height: 1.52; margin-block: 16px 20px; max-width: 480px; color: var(--muted); }
.products-private-inner > img { width: 100%; max-height: 340px; object-fit: contain; }
.products-assurance { padding-block: 30px 44px; text-align: center; }
.products-assurance-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 30px; border: 1px solid var(--palette-information-border); border-radius: 14px; box-shadow: var(--shadow-md); overflow: hidden; }
.products-assurance-grid > div { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 4px 14px; align-content: center; text-align: left; min-height: 106px; padding: 18px 20px; }
.products-assurance-grid > div + div { border-left: 1px solid var(--line); }
.products-assurance-grid img { grid-row: span 2; align-self: center; width: 52px; height: 52px; object-fit: contain; }
.products-assurance-grid h3 { font-family: "Plus Jakarta Sans", sans-serif; font-size: .99rem; font-weight: 950; line-height: 1.12; }
.products-assurance-grid p { font-size: .75rem; color: var(--muted); line-height: 1.32; }
@media (max-width: 1080px) {
  .category-selector { gap: 8px; }
  .category-selector { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .category-choice { flex: 0 0 145px; scroll-snap-align: start; }
  .products-hero-inner { grid-template-columns: 1fr 1fr; }
  .ingredient-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .products-assurance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .products-assurance-grid > div:nth-child(3) { border-left: 0; }
  .products-private { padding: 36px 28px; }
  .products-private-inner { gap: 24px; }
  .onion-showcase { grid-template-columns: .36fr .64fr; gap: 18px; }
  .onion-visual { padding-inline: 10px; }
  .onion-visual > img { height: 270px; }
  .onion-highlights { padding: 18px 10px; }
  .ingredient-grid { gap: 8px; }
}
@media (max-width: 760px) {
  .products-hero-inner { grid-template-columns: 1fr; padding-block: 30px 0; }
  .products-hero-media { padding: 22px; }
  .products-hero-copy { width: 100%; max-width: none; }
  .products-hero-copy > p:last-child { font-size: .98rem; margin-top: 12px; max-width: 380px; }
  .category-selector { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; gap: 10px; padding-block: 16px 24px; }
  .category-choice { flex: 0 0 145px; scroll-snap-align: start; }
  .category-choice img { height: 78px; }
  .category-choice.is-active::after { bottom: -14px; }
  .product-family { scroll-margin-top: 90px; }
  .onion-showcase { grid-template-columns: 1fr; gap: 20px; }
  .onion-visual { gap: 20px; padding: 0; align-items: center; }
  .onion-visual > img { height: 210px; }
  .onion-highlights { width: 100%; padding: 16px; }
  .onion-highlights > div { flex-direction: row; gap: 8px; align-items: center; }
  .onion-highlights > div + div { margin-top: 12px; }
  .ingredient-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ingredient-copy { padding: 10px; }
  .ingredient-copy p { min-height: 4.65em; }
  .format-enquiry { padding: 8px; }
  .format-enquiry h3 { font-size: 1.6rem; }
  .products-page .format-enquiry .button { white-space: normal; text-align: center; }
  .category-overview { grid-template-columns: 1fr; gap: 12px; padding: 20px 10px; }
  .category-overview > img { width: 210px; height: 190px; margin: auto; }
  .products-private { padding: 28px 20px; }
  .products-private-inner { grid-template-columns: 1fr; gap: 24px; min-height: 0; }
  .products-private-inner > div { grid-column: 1; grid-row: 2; }
  .products-private-inner > img { grid-column: 1; grid-row: 1; }
  .products-assurance-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .products-assurance-grid > div { flex: 0 0 86%; scroll-snap-align: start; border: 0; }
}
@media (prefers-reduced-motion: reduce) { .category-choice { transition: none; } }

/* Background artwork, blur and overlay inherit the shared homepage palette. */
.products-page.home-palette .products-hero h1 span { color: inherit; }
.products-page.home-palette :is(
  .products-hero-copy > p:last-child,
  .category-choice > span,
  .onion-highlights span,
  .family-description,
  .ingredient-copy p,
  .ingredient-variant,
  .format-enquiry > p:not(.section-kicker),
  .category-overview p:not(.section-kicker),
  .products-private-inner p:not(.section-kicker),
  .products-assurance-grid p
) { color: var(--muted); }
.products-page.home-palette .ingredient-card,
.products-page.home-palette .category-choice {
  background: var(--palette-product-surface);
  border-color: var(--palette-product-border);
  box-shadow: var(--shadow-sm);
}
.products-page.home-palette .ingredient-card > img {
  background: var(--palette-image-surface);
}
.products-page.home-palette .category-choice:hover {
  border-color: rgba(0, 74, 173, .24);
  box-shadow: var(--shadow-md);
}
.products-page.home-palette .category-choice.is-active {
  background: var(--palette-information-surface);
  border-color: var(--logo-blue);
}
.products-page.home-palette .onion-visual {
  background: transparent;
}
.products-page.home-palette .onion-highlights { border-color: var(--palette-information-border); }
.products-page.home-palette .products-private {
  background: var(--palette-panel-surface);
  border-color: var(--palette-panel-border);
}
.products-page.home-palette .products-assurance-grid {
  background: var(--palette-information-surface);
}
@media (min-width: 761px) {
  .products-page.home-palette .onion-highlights {
    background: var(--palette-information-surface);
  }
}
