/* Products catalogue: larger category rail and one synchronised format viewer. */
.catalogue-nav { padding-block: 12px 20px; scroll-margin-top: 110px; }
.catalogue-nav-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.products-page .catalogue-nav-heading .section-kicker { margin: 0; }
.category-scroll-controls { display: flex; gap: 8px; }
.products-page .explorer-arrow { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 1px solid #bdd0e6; border-radius: 50%; background: #f7faff; color: var(--logo-blue); cursor: pointer; transition: background .18s, border-color .18s; }
.products-page .explorer-arrow:hover:not(:disabled) { background: #e0ecfc; border-color: var(--logo-blue); }
.products-page .explorer-arrow:disabled { opacity: .35; cursor: default; }
.products-page .catalogue-nav .category-selector { display: flex; gap: 14px; width: 100%; padding: 14px 0 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #8aaaca #e5edf5; overscroll-behavior-x: contain; }
.products-page .catalogue-nav .category-choice { box-sizing: border-box; flex: 0 0 calc((100% - 56px) / 5); min-width: 0; padding: 12px 10px 16px; border-radius: 12px; scroll-snap-align: start; background: linear-gradient(145deg,#fff 10%,#edf4fc 100%); box-shadow: none; }
.products-page .catalogue-nav .category-choice img { display: block; width: 100%; height: 144px; object-fit: contain; margin: 0 0 12px; border-radius: 8px; transition: transform .25s; }
.products-page .catalogue-nav .category-choice strong { display: flex; align-items: center; justify-content: center; min-height: 2.6em; margin: 0 0 6px; font-size: .88rem; line-height: 1.3; color: #183d69; }
.products-page .catalogue-nav .category-choice > span { font-size: .7rem; line-height: 1.4; }
.products-page .catalogue-nav .category-choice.is-active { background: linear-gradient(145deg,#f9fcff,#dceafa); border-color: var(--logo-blue); box-shadow: inset 0 -3px var(--logo-blue); }
.products-page .catalogue-nav .category-choice.is-active::after { display: none; }
.products-page .catalogue-nav .category-choice:focus-visible { outline-offset: -4px; }
.products-page .ingredient-explorer { display: grid; grid-template-columns: minmax(0,.98fr) minmax(0,1.02fr); align-items: start; gap: clamp(22px,3vw,40px); padding: 24px; border: 1px solid var(--palette-panel-border,#c7d6e7); border-radius: 16px; background: var(--palette-panel-surface,linear-gradient(120deg,#fff,#edf4fc)); box-shadow: var(--shadow-md); }
.format-gallery { margin: 0; min-width: 0; }
.format-image-stage { width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: var(--palette-image-surface,#f4f7fa); border: 1px solid #d5e0eb; touch-action: pan-y; }
.format-image { display: block; width: 100%; height: 100%; object-fit: contain; }
.format-carousel-controls { display: flex; align-items: center; justify-content: space-between; gap: 4px; margin-top: 10px; }
.format-carousel-controls[hidden] { display: none; }
.format-dots { display: flex; justify-content: center; min-width: 0; }
.format-dot { width: 40px; height: 44px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; padding: 0; }
.format-dot span { width: 7px; height: 7px; background: #a8bdd5; border-radius: 8px; transition: width .2s, background .2s; }
.format-dot[aria-pressed="true"] span { width: 22px; background: var(--logo-blue); }
.format-gallery figcaption { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin-top: 10px; color: var(--muted); font-size: .73rem; line-height: 1.5; }
.format-caption { color: #23486f; font-weight: 700; }
.format-gallery figcaption > span { border-left: 1px solid #c5d4e5; padding-left: 12px; }
.format-details { min-width: 0; padding-block: 6px; }
.products-page .format-details h2 { font-size: clamp(1.9rem,3.2vw,2.65rem); line-height: 1.06; margin-bottom: 12px; }
.products-page .explorer-description { font-size: .88rem; line-height: 1.6; color: var(--muted); margin-bottom: 18px; }
.products-page .format-list-label { font-size: .8rem; font-weight: 700; color: #23486f; margin-bottom: 8px; }
.format-list { display: grid; gap: 7px; }
.format-option { width: 100%; min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; padding: 10px 14px; border: 1px solid #d1deed; border-radius: 8px; background: rgba(255,255,255,.65); color: #254a73; font: inherit; font-size: .86rem; cursor: pointer; transition: background .18s,border-color .18s; }
.format-option > span:first-child { font-weight: 700; }
.format-option > span:last-child { font-size: .7rem; color: #526880; text-align: right; }
.format-option:hover { background: #eef5fd; border-color: #8aaaca; }
.format-option.is-selected { border-color: var(--logo-blue); background: #e2edfb; box-shadow: inset 3px 0 var(--logo-blue); }
.products-page .format-use { color: var(--muted); font-size: .76rem; line-height: 1.5; min-height: 2.25em; margin: 12px 0 8px; }
.products-page .format-quote { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 46px; white-space: normal; gap: 12px; }
.format-specs { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; margin-top: 8px; }
.format-specs .specification-link { font-size: .72rem; }
.format-specs > span { color: var(--muted); font-size: .66rem; line-height: 1.4; }
.ingredient-explorer-overview { align-items: center !important; }
.ingredient-explorer-overview .format-image-stage { max-height: 400px; }
.ingredient-explorer-overview .format-use { margin-top: 24px; }
@media (hover:hover) { .catalogue-nav .category-choice:hover img { transform: scale(1.035); } }
@media (max-width: 1000px) {
 .products-page .catalogue-nav .category-choice { flex-basis: calc((100% - 28px) / 3); }
 .products-page .ingredient-explorer { gap: 22px; padding: 18px; }
 .format-dot { width: 32px; }
}
@media (max-width: 700px) {
 .catalogue-nav { scroll-margin-top: 96px; }
 .products-page .catalogue-nav .category-selector { gap: 12px; }
 .products-page .catalogue-nav .category-choice { flex-basis: calc((100% - 12px) / 2.15); padding-inline: 8px; }
 .products-page .catalogue-nav .category-choice img { height: 118px; }
 .products-page .catalogue-nav .category-choice strong { font-size: .78rem; }
 .products-page .catalogue-nav .category-choice > span { font-size: .64rem; }
 .products-page .ingredient-explorer { grid-template-columns: 1fr; padding: 14px; gap: 22px; }
 .format-image-stage { max-height: 410px; }
 .format-dot { width: 40px; }
 .products-page .format-details h2 { font-size: 2.1rem; }
 .format-details { padding: 0 2px 4px; }
 .products-page .explorer-description { font-size: .84rem; }
}
@media (max-width: 360px) { .format-dot { width: 32px; } }
@media (prefers-reduced-motion: reduce) { .catalogue-nav *, .ingredient-explorer * { transition: none !important; } }
