/* Folefac catalogue and enquiry improvements. */
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
img { height: auto; }
:where(a, button, input, select, textarea):focus-visible { outline: 2px solid var(--clay); outline-offset: 4px; }
button, a { touch-action: manipulation; }
button:active, .button:active { transform: translateY(1px); }
[hidden] { display: none !important; }
.home-products, .order-help, .product-detail-hero, .product-detail-information, .related-products, .breadcrumbs, .privacy-content { width: min(100% - 4rem, 1280px); margin-inline: auto; }
.home-products { padding-block: 2rem 6rem; }
.home-products-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.home-products-heading h2, .order-help h2, .product-detail-information > div > h2 { font-size: clamp(2.4rem, 4.5vw, 4.5rem); line-height: 1.08; margin-block: 1rem 0; }
.home-products-heading h2 em, .product-detail-information h2 em { color: var(--clay); }
.home-products-grid { display: grid; grid-template-columns: 1.18fr 1fr 1fr 1fr; gap: 1.5rem; align-items: start; }
.home-product { display: grid; gap: 1.1rem; }
.home-product-image { padding: .5rem; background: #ede6d8; border-radius: .35rem 2.5rem .35rem .35rem; overflow: hidden; }
.home-product-image img { width: 100%; height: 16rem; object-fit: contain; background: var(--paper); padding: 1rem; border-radius: .2rem 2rem .2rem .2rem; transition: transform .4s var(--ease); }
.home-product:first-child .home-product-image img { height: 19rem; }
.home-product:hover img { transform: scale(1.035); }
.home-product h3 { font-family: var(--serif); font-size: 1.55rem; font-weight: 500; margin: 0 0 .5rem; }
.home-product p { font-size: .88rem; color: var(--moss); margin: 0 0 .75rem; max-width: 28ch; }
.product-detail-link { display: inline-flex; align-items: center; gap: .8rem; padding-block: .8rem .15rem; font-size: .8rem; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.product-detail-link:hover { color: var(--clay); border-color: var(--clay); }
.range-product-card h3 a:hover { color: var(--clay); }
.mobile-shortlist { display: none; }
.selection-list li, [data-contact-selection] li { display: grid; gap: .6rem; padding: .85rem !important; border-radius: .3rem !important; }
.shortlist-name { font-size: .8rem; overflow-wrap: anywhere; }
.shortlist-controls { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.shortlist-controls label { display: flex; align-items: center; gap: .4rem; font-size: .7rem; }
.shortlist-controls input { width: 4rem; min-height: 2.6rem; padding: .35rem; border: 1px solid var(--line); border-radius: .2rem; background: var(--paper); color: var(--ink); }
.shortlist-controls button { border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); font-size: .7rem; padding: .5rem .1rem; min-height: 2.6rem; cursor: pointer; }
.shortlist-controls button:hover { color: var(--clay); }
[data-contact-selection] { display: grid; gap: .7rem; list-style: none; padding: 0; }
[data-contact-selection] li { background: var(--cream); }
.selection-dock { scroll-margin-top: 1.5rem; }
.order-help { padding-block: 3rem 6rem; display: grid; grid-template-columns: .9fr 1.1fr; gap: 5rem; }
.order-help .text-link { display: inline-block; margin-top: 2rem; overflow-wrap: anywhere; }
.order-help dl { margin: 0; }
.order-help dl > div { padding-block: 1.3rem; border-bottom: 1px solid var(--line); }
.order-help dt { font-family: var(--serif); font-size: 1.35rem; margin-bottom: .65rem; }
.order-help dd { margin: 0; max-width: 60ch; color: var(--moss); font-size: .93rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .65rem; font-size: .78rem; padding-block: 1.5rem; color: var(--moss); }
.breadcrumbs a:hover { color: var(--clay); }
.product-detail-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 5rem; padding-block: 1.5rem 5rem; }
.product-detail-photo { margin: 0; padding: .65rem; border-radius: .4rem 4rem .4rem .4rem; background: #ede6d8; }
.product-detail-photo img { width: 100%; height: 32rem; object-fit: contain; padding: 2rem; background: var(--paper); border-radius: .25rem 3.4rem .25rem .25rem; }
.product-detail-photo figcaption { padding: .75rem .5rem .25rem; color: var(--moss); font-size: .73rem; }
.product-detail-copy h1 { font-size: clamp(3rem, 5vw, 5.2rem); max-width: 12ch; line-height: 1.04; margin-block: 1rem 1.5rem; }
.product-detail-copy .intro { max-width: 43ch; font-size: 1.08rem; }
.detail-options { border: 0; padding: 0; margin-block: 2rem 1rem; }
.detail-options legend { font-size: .8rem; font-weight: 600; margin-bottom: .7rem; }
.detail-options .catalogue-options { display: flex; flex-wrap: wrap; gap: .75rem; }
.detail-options .catalogue-option { min-width: 6rem; padding: 1rem; background: var(--paper); }
.detail-order-note, .detail-selection-status { font-size: .82rem; color: var(--moss); max-width: 46ch; margin-block: 1rem; }
.product-detail-information { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; padding-block: 3rem 5rem; border-top: 1px solid var(--line); }
.detail-information-list > div { padding-block: 1.5rem; border-bottom: 1px solid var(--line); }
.detail-information-list h2 { font-family: var(--serif); font-size: 1.5rem; margin-block: 0 .7rem; }
.detail-information-list p { color: var(--moss); margin: 0; max-width: 60ch; }
.related-products { padding-block: 2rem 5rem; }
.related-products h2 { font-size: 2.5rem; margin-block: .75rem 2rem; }
.related-products > div { display: flex; flex-wrap: wrap; gap: 1rem 3rem; margin-bottom: 2rem; }
.related-products > div a { display: flex; justify-content: space-between; gap: 2rem; font-family: var(--serif); font-size: 1.4rem; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.related-products > div a:hover { color: var(--clay); }
.privacy-content { max-width: 48rem; padding-block: 3rem 6rem; }
.privacy-content h1 { font-size: clamp(3rem, 6vw, 5rem); line-height: 1.05; }
.privacy-content h2 { font-size: 1.8rem; margin-top: 2rem; }
.privacy-content a { text-decoration: underline; }
.site-footer nav { flex-wrap: wrap; }
[data-photo-rotator] { position: relative; }
.photo-pause { position: absolute; z-index: 3; bottom: .65rem; right: .65rem; padding: .5rem .8rem; border: 0; background: var(--paper); color: var(--ink); border-radius: .25rem; font: 600 .7rem var(--sans); cursor: pointer; }
.photo-pause:hover { background: var(--cream); }
.gathering .photo-pause { z-index: 4; }
.ingredient-dialog-panel { overscroll-behavior: contain; }
@media (max-width: 1000px) {
  .home-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
  .home-product:first-child .home-product-image img { height: 16rem; }
  .product-detail-hero, .product-detail-information, .order-help { gap: 2.5rem; }
  .product-detail-photo img { height: 25rem; }
}
@media (max-width: 760px) {
  .home-products, .order-help, .product-detail-hero, .product-detail-information, .related-products, .breadcrumbs, .privacy-content { width: calc(100% - 2.5rem); }
  .home-products { padding-block: 1rem 3.5rem; }
  .home-products-heading { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
  .home-products-grid { gap: 1.75rem 1rem; }
  .home-product-image img, .home-product:first-child .home-product-image img { height: 12rem; padding: .65rem; }
  .home-product h3 { font-size: 1.35rem; }
  .home-product p { font-size: .8rem; }
  .home-product .product-detail-link { font-size: .72rem; gap: .35rem; }
  .order-help, .product-detail-hero, .product-detail-information { grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-block: 2rem 3rem; }
  .product-detail-hero { gap: 2.5rem; }
  .product-detail-photo img { height: 23rem; padding: 1.25rem; }
  .product-detail-copy h1 { font-size: clamp(3rem, 10vw, 4.5rem); }
  .mobile-shortlist { display: flex; position: fixed; z-index: 11; bottom: max(.8rem, env(safe-area-inset-bottom)); left: 1rem; right: 1rem; justify-content: space-between; align-items: center; gap: 1rem; min-height: 3.5rem; padding: .85rem 1rem; background: var(--forest); color: var(--cream); border-radius: .35rem; box-shadow: 0 .3rem 1.5rem rgba(24, 53, 47, .12); font-size: .84rem; }
  .mobile-shortlist > span { display: flex; gap: .45rem; }
  body:has(.mobile-shortlist:not([hidden])) { padding-bottom: 5rem; }
  .mobile-shortlist:hover { background: var(--ink); }
  .site-footer { gap: 1.5rem; }
  .photo-pause { min-height: 2.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
