/* Fixes of 08/11/2026, asked by the owner on the live store. */

/* Header search, desktop. The theme opens the floating search field over its own trigger and relies on an opaque field
   to cover it; the Mainstream glass field is see-through, so the trigger's magnifier showed under the word "Buscar".
   While the field is open the trigger hides. Mobile opens the search in a full-screen panel and is untouched. */
@media (min-width: 768px) {
  body.mainstream-theme .js-search-utility:has(.js-search-form.expanded) .js-search-expand {
    visibility: hidden;
    pointer-events: none;
  }
}

/* Home launches, wide screens: four cards at a time instead of three. The photo keeps its 4:5 frame (no crop), and a
   whole card (photo, name, reference, price) went from 738 to 600 px tall at 1500 px wide, so it fits a laptop screen
   under the fixed header without scrolling. The carousel measures each card, so its arrows keep working. */
@media (min-width: 1200px) {
  body.mainstream-theme .ms-launches-track {
    grid-auto-columns: calc((100% - 72px) / 4);
    gap: 24px;
  }
}
