/* One content boundary for the entire site. Backgrounds remain full width. */
:root {
  --content-max: 1400px;
  --page-gutter: 40px;
}
.container,
.header-inner,
.rabs-footer > .container,
.oil-section-nav > .container {
  width: min(var(--content-max), calc(100% - var(--page-gutter) * 2));
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: 0;
  min-width: 0;
}
/* Allow grid and flex children to shrink within the shared boundary. */
:is(.split, .product-grid, .article-grid, .two-col, .three-col,
  .contact-layout, .detail-layout, .detail-secondary, .article-layout,
  .oil-hero-layout, .oil-editorial, .oil-spec-layout, .oil-faq-layout,
  .oil-related-grid, .rabs-footer-top) > * {
  min-width: 0;
}
.brand-strip { display: block; padding-inline: 0; }
.brand-strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.section.product-range-section {
  width: min(var(--content-max), calc(100% - var(--page-gutter) * 2));
  margin-inline: auto;
  margin-bottom: 64px;
  padding: 48px;
  border-radius: 28px;
}
.product-range-section > .container {
  width: 100%;
  max-width: none;
}
.product-range-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}
.product-range-heading .section-heading { margin: 0; max-width: 850px; }
.product-range-heading .eyebrow { margin-bottom: 16px; }
.product-range-heading > .text-link { flex-shrink: 0; margin-bottom: 4px; }
.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.product-card { display: flex; flex-direction: column; border-radius: 14px; }
.product-card .pack { padding: 28px 24px 24px; background: #fdfcf8; }
.product-card .pack img { width: 100%; height: 260px; }
.product-card .product-info { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.product-card .product-info .eyebrow { margin: 0 0 12px; }
.product-card .product-info h3 { margin: 0 0 12px; }
.product-card .product-info p { margin: 0 0 24px; min-height: 0; }
.product-card .card-links { margin-top: auto; gap: 20px; align-items: center; }
.product-card .card-links a { min-height: 44px; padding-block: 10px; }
.product-range-section .selector { margin-top: 40px; padding-top: 32px; gap: 32px; }
.product-range-section .selector h3 { margin-bottom: 12px; }
.product-range-section .selector p { margin-bottom: 0; }
.product-range-section .selector form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 340px; max-width: 100%; }
.product-range-section .selector select { min-width: 0; height: 48px; padding: 10px 14px; border-radius: 6px; }
.product-range-section .selector .button { height: 48px; min-width: 136px; padding: 10px 20px; border-radius: 6px; gap: 12px; white-space: nowrap; }
@media (min-width: 981px) and (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  :root { --page-gutter: 28px; }
  #navigation { padding-inline: var(--page-gutter); }
  .section.product-range-section { padding: 36px; }
  .product-range-heading { flex-direction: column; align-items: flex-start; gap: 16px; }
  .product-range-heading > .text-link { margin-bottom: 0; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-card .pack { padding: 24px 20px; }
  .product-card .product-info { padding: 24px 20px; }
}
@media (min-width: 981px) and (max-width: 1200px) {
  #navigation { padding-inline: var(--page-gutter); }
}
@media (max-width: 640px) {
  :root { --page-gutter: 20px; }
  .brand-strip-inner { justify-content: center; flex-wrap: wrap; gap: 14px; }
  .oil-section-nav > .container { padding-inline: 0; }
  .section.product-range-section { border-radius: 22px; padding: 28px 20px; margin-bottom: 40px; }
  .product-range-heading { margin-bottom: 24px; gap: 16px; }
  .product-grid { grid-template-columns: 1fr; gap: 20px; }
  .product-card .pack { padding: 28px 24px 24px; }
  .product-card .product-info { padding: 24px; }
  .product-range-section .selector { margin-top: 32px; padding-top: 24px; gap: 24px; }
  .product-range-section .selector form { width: 100%; }
}
@media (max-width: 480px) {
  .product-range-section .selector form { grid-template-columns: 1fr; }
  .product-range-section .selector .button { width: 100%; }
}
