/* Product photos are actual img elements, with user-controlled galleries. */
[data-mixing-slide][hidden] { display: none !important; }
.mixing-home-gallery { position: relative; }
.mixing-home-link { display: flex; flex-direction: column; width: 100%; height: 100%; min-height: 0; text-decoration: none; }
.mixing-home-controls { position: absolute; right: 8px; bottom: 71px; display: flex; gap: 6px; align-items: center; padding: 3px; border: 1px solid #dce3ec; border-radius: 24px; background: #fff; color: #152440; font-size: 12px; }
.mixing-home-controls button { width: 32px; height: 32px; border: 0; border-radius: 50%; background: #f3f6fa; color: #152440; font-size: 20px; cursor: pointer; }
.mixing-range-gallery { min-width: 0; margin: 0; border: 1px solid #dce3ec; border-radius: 16px; overflow: hidden; background: #fff; }
.mixing-range-stage { display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 18px; background: #fff; }
.mixing-range-stage img { display: block; width: 100%; height: 100%; max-height: 360px; object-fit: contain; }
.mixing-range-gallery figcaption { display: grid; gap: 5px; padding: 8px 22px 18px; text-align: center; color: #152440; }
.mixing-range-gallery figcaption strong { font-size: 19px; }
.mixing-range-gallery figcaption span { font-size: 13px; color: #53627d; }
.mixing-range-controls { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 14px; border-top: 1px solid #e3e8ef; }
.mixing-range-controls > button { flex: 0 0 34px; height: 34px; border: 1px solid #dce3ec; border-radius: 50%; background: #fff; color: #152440; font-size: 24px; cursor: pointer; }
.mixing-range-choices { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.mixing-range-choices button { padding: 8px 10px; border: 1px solid #dce3ec; border-radius: 7px; background: #fff; color: #152440; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.mixing-range-choices button[aria-pressed="true"] { background: #fff3f5; color: #c8102e; border-color: #c8102e; }
.mixing-range-controls button:focus-visible, .mixing-home-controls button:focus-visible { outline: 3px solid #2168c7; outline-offset: 3px; }
.mixing-fit-link { display: block; width: fit-content; margin-top: 17px; font-weight: 700; color: #152440; text-underline-offset: 3px; }
@media (max-width: 760px) {
  /* The parent hero card becomes a two-column grid on phones. Its nested link
     must use the same layout, or the image gets zero height and copy clips. */
  .hero-products .mixing-home-gallery .mixing-home-link {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(96px, 34%) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    width: 100%;
    height: 100%;
    min-height: 0;
  }
  .hero-products .mixing-home-gallery .hero-product-photo { min-width: 0; height: 100%; min-height: 0; }
  .hero-products .mixing-home-gallery .hero-product-photo img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
  .mixing-home-gallery .hero-product-label { min-width: 0; padding-right: 14px; }
  .mixing-home-gallery .hero-product-label strong,
  .mixing-home-gallery .hero-product-label small { overflow-wrap: anywhere; }
  .mixing-home-controls { right: 8px; bottom: 5px; z-index: 1; }
  .mixing-home-controls button { width: 30px; height: 30px; }
  .mixing-range-stage { padding: 9px; }
  .mixing-range-controls { gap: 6px; padding: 12px 8px; }
}
