/* AG-RECHERCHE-UX-01 (06/11/2026, APERÇU PRIVÉ) — nouvelle APPARENCE de la recherche de l'en-tête (barre ordinateur et barre téléphone),
   même recherche qu'avant. Demandé par le propriétaire le 06/11 : un mélange de growled.fr et growland.fr avec les plus d'Absolu Grow,
   fermeture d'Absolu Grow gardée (« Effacer la saisie », « Fermer », Échap, clic dehors, croix du champ), mots tapés dans la
   pastille verte penchée des titres du site, produits en CARTES comme une vraie page produit (photo, formats, quantité, « Ajouter »,
   le panneau reste ouvert, ligne « ajouté au panier »).
   Toutes les règles dépendent de html.ag-s5, posée par ag-recherche-ux-01.js. L'en-tête est en position fixe avec backdrop-filter : il sert
   de cadre aux éléments fixes du panneau (top:100% = juste sous l'en-tête). */

/* 0. anciennes boîtes de suggestions : plus de cadre, elles ne font que porter le panneau */
html.ag-s5 .desktop-search-dropdown.has-results,
html.ag-s5 .mobile-search-dropdown.has-results {
  margin: 0; padding: 0; max-height: none; overflow: visible;
  border: 0; border-radius: 0; background: none; box-shadow: none;
}

/* 1. voile sombre sous l'en-tête (un clic dessus ferme, comme un clic dehors) */
html.ag-s5 .ag-sp-veil {
  position: fixed; top: 100%; left: 0; right: 0; height: 100vh; height: 100dvh;
  background: rgba(0, 21, 22, .58);
  cursor: pointer;
}

/* 2. panneau */
html.ag-s5 .ag-sp {
  --sp-vert: #15803d; --sp-vert-f: #166534; --sp-pastille: #278451; --sp-barre: #80E397; --sp-etiq: #4D5751;
  --sp-encre: #0f172a; --sp-gris: #64748b; --sp-bord: #e5eae6; --sp-rouge: #DC2626; --sp-nuit: #001516; --sp-lime: #A7D129;
  position: fixed; z-index: 1; top: calc(100% + 10px); left: 0; right: 0; margin: 0 auto;
  width: min(1232px, calc(100vw - 48px));
  max-height: calc(100vh - 100% - 26px);
  display: flex; flex-direction: column;
  background: #fff; color: var(--sp-encre); text-align: left;
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 21, 22, .38), 0 4px 14px rgba(0, 21, 22, .14);
  font-family: var(--font-body, "Inter", "Helvetica Neue", Arial, sans-serif); font-size: 14px; line-height: 1.4;
}

/* 2a. haut du panneau : titre au style des titres du site + mêmes boutons qu'avant */
html.ag-s5 .ag-sp-top {
  flex: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px 24px;
  padding: 18px 22px 15px;
  background: linear-gradient(180deg, #f2f9f4, #fff);
  border-bottom: 1px solid #e8efe9;
}
html.ag-s5 .ag-sp-head { flex: 1 1 auto; min-width: 0; }
html.ag-s5 .ag-sp-title {
  position: relative; margin: 0; padding-bottom: .55em;
  font-family: "Manrope", var(--font-disp, "Helvetica Neue", Arial, sans-serif); font-style: italic; font-weight: 800;
  text-transform: uppercase; font-size: 22px; line-height: 1.22; letter-spacing: 0; color: var(--sp-encre);
}
html.ag-s5 .ag-sp-title::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 2.5em; height: max(4px, .2em); border-radius: 99px; background: var(--sp-barre);
}
html.ag-s5 .ag-sp-pastille {
  position: relative; z-index: 0; display: inline-block; max-width: 100%; padding: 0 .3em; margin: 0 .04em;
  color: #fff; overflow-wrap: anywhere;
}
html.ag-s5 .ag-sp-pastille::before {
  content: ""; position: absolute; z-index: -1; inset: .04em 0 0; border-radius: .17em;
  background: var(--sp-pastille); box-shadow: 0 .12em .32em rgba(17, 61, 37, .26); transform: skewX(-12deg);
}
html.ag-s5 .ag-sp-sub { margin: 8px 0 0; font-size: 13px; color: var(--sp-gris); }
html.ag-s5 .ag-sp-back { margin: 0 0 10px; }
html.ag-s5 .ag-sp-actions { flex: none; display: flex; align-items: center; gap: 8px; padding-top: 2px; }
html.ag-s5 .ag-sp .ag-sp-all {
  display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 8px 14px; border: 1px solid #bbf7d0; border-radius: 999px;
  background: #f0fdf4; color: var(--sp-vert); font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
html.ag-s5 .ag-sp .ag-sp-all:hover { background: #dcfce7; border-color: #86efac; text-decoration: none; }

/* 2b. corps : colonne Simulateurs / Marques / Catégories + produits */
html.ag-s5 .ag-sp-cols {
  flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  display: grid; grid-template-columns: 252px minmax(0, 1fr);
}
html.ag-s5 .ag-sp-cols--seul { grid-template-columns: minmax(0, 1fr); }
html.ag-s5 .ag-sp-side { min-width: 0; padding: 20px 18px 24px 22px; background: #f7f9f6; border-right: 1px solid #e8efe9; }
html.ag-s5 .ag-sp-main { min-width: 0; padding: 20px 22px 24px; }
html.ag-s5 .ag-sp-sec { margin: 0 0 22px; }
html.ag-s5 .ag-sp-sec:last-child { margin-bottom: 0; }
html.ag-s5 .ag-sp-label {
  display: flex; align-items: center; gap: .9em; margin: 0 0 11px;
  font-size: 11.5px; font-weight: 700; line-height: 1.25; letter-spacing: .16em; text-transform: uppercase; color: var(--sp-etiq);
}
html.ag-s5 .ag-sp-label::before { content: ""; flex: none; width: 2.25em; height: .6em; border-radius: 99px; background: var(--sp-barre); }
html.ag-s5 .ag-sp-chips { display: flex; flex-wrap: wrap; gap: 7px; }
html.ag-s5 .ag-sp .search-tag-sim { padding: 7px 12px; font-size: 12.5px; }
html.ag-s5 .ag-sp .search-brand-pill { padding: 5px 11px 5px 6px; background: #fff; font-size: 12.5px; }
html.ag-s5 .ag-sp .search-brand-name { max-width: 150px; }
/* catégories : liste comme une colonne de page catégorie (ordinateur) */
html.ag-s5 .ag-sp-side .search-cats { flex-direction: column; flex-wrap: nowrap; gap: 3px; }
html.ag-s5 .ag-sp-side .search-cat-pill {
  position: relative; display: block; width: 100%; padding: 8px 26px 8px 12px; line-height: 1.45;
  border: 1px solid transparent; border-radius: 10px; background: none; font-size: 13px; font-weight: 600; color: #1f2937;
}
html.ag-s5 .ag-sp-side .search-cat-pill::after { content: "›"; position: absolute; right: 11px; top: 50%; transform: translateY(-52%); color: #94a3b8; font-weight: 700; }
html.ag-s5 .ag-sp-side .search-cat-pill:hover { background: #fff; border-color: #dbe7de; }
html.ag-s5 .ag-sp-side .search-cat-pill.is-on { background: var(--sp-vert); border-color: var(--sp-vert); color: #fff; }
html.ag-s5 .ag-sp-side .search-cat-pill.is-on::after { color: #fff; }

/* 2c. mots tapés : la pastille verte penchée des titres (plus de surligneur) */
html.ag-s5 .ag-sp mark.ag-hit {
  position: relative; z-index: 0; display: inline-block; padding: 0 .26em; margin: 0 .03em;
  background: none; color: #fff; font: inherit; font-weight: 700; line-height: inherit; white-space: nowrap;
}
html.ag-s5 .ag-sp mark.ag-hit::before {
  content: ""; position: absolute; z-index: -1; inset: .08em 0 .02em; border-radius: .2em;
  background: var(--sp-pastille); box-shadow: 0 .1em .28em rgba(17, 61, 37, .24); transform: skewX(-12deg);
}
html.ag-s5 .ag-sp .search-cat-pill.is-on mark.ag-hit::before { background: rgba(255, 255, 255, .24); box-shadow: none; }

/* 3. cartes produit */
html.ag-s5 .ag-sp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
html.ag-s5 .ag-sc {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: #fff; border: 1px solid var(--sp-bord); border-radius: 16px; overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
}
html.ag-s5 .ag-sc:hover { border-color: #cfe3d6; box-shadow: 0 14px 30px -10px rgba(15, 23, 42, .18); }
html.ag-s5 .ag-sc:has(.ag-sc-name.is-hover) { border-color: var(--sp-vert); box-shadow: 0 0 0 2px var(--sp-vert); }
html.ag-s5 .ag-sc-img { position: relative; display: block; aspect-ratio: 1 / 1; padding: 10px; background: #fff; border-bottom: 1px solid #f0f3f1; }
html.ag-s5 .ag-sc-img img { display: block; width: 100%; height: 100%; object-fit: contain; }
html.ag-s5 .ag-sc-noimg { display: grid; place-items: center; width: 100%; height: 100%; font-size: 42px; }
html.ag-s5 .ag-sc-promo {
  position: absolute; top: 10px; left: 10px; padding: 3px 9px; border-radius: 999px;
  background: var(--sp-rouge); color: #fff; font-size: 12px; font-weight: 800; line-height: 1.3;
}
html.ag-s5 .ag-sc-promo[hidden] { display: none; }
html.ag-s5 .ag-sc-tag {
  position: absolute; top: 10px; right: 10px; padding: 3px 8px; border-radius: 999px;
  font-size: 10px; font-weight: 800; line-height: 1.3; letter-spacing: .05em; text-transform: uppercase;
}
html.ag-s5 .ag-sc-tag--order { color: #b45309; background: #fef3c7; border: 1px solid #fde68a; }
html.ag-s5 .ag-sc-tag--out { color: #64748b; background: #f1f5f9; border: 1px solid #e2e8f0; }
html.ag-s5 .ag-sc-body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 5px; min-width: 0; padding: 12px 14px 14px; }
html.ag-s5 .ag-sc-brand { font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--sp-vert); }
html.ag-s5 .ag-sc .ag-sc-name.search-suggestion-item {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
  min-height: calc(1.36em * 2); padding: 0; gap: 0; border: 0; background: none; cursor: pointer;
  font-size: 14px; font-weight: 700; line-height: 1.36; color: var(--sp-encre); text-decoration: none;
}
html.ag-s5 .ag-sc .ag-sc-name.search-suggestion-item:hover,
html.ag-s5 .ag-sc .ag-sc-name.search-suggestion-item.is-hover { background: none; color: var(--sp-vert-f); text-decoration: underline; text-underline-offset: 3px; }
html.ag-s5 .ag-sc-ref { font-size: 11px; color: #94a3b8; }
html.ag-s5 .ag-sc-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; margin-top: 2px; }
html.ag-s5 .ag-sc-from { width: 100%; font-size: 11px; font-weight: 600; color: var(--sp-gris); }
html.ag-s5 .ag-sc-old { font-size: 12.5px; color: #94a3b8; }
html.ag-s5 .ag-sc-now { font-size: 18px; font-weight: 800; color: var(--sp-encre); letter-spacing: -.01em; }
html.ag-s5 .ag-sc-now.is-promo { color: var(--sp-rouge); }

/* formats : boutons comme sur une fiche produit */
html.ag-s5 .ag-sc-fmts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
html.ag-s5 .ag-sc-fmt {
  appearance: none; -webkit-appearance: none; display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 32px; padding: 4px 10px; border: 1.5px solid #dbe3dd; border-radius: 10px; background: #fff;
  color: #1f2937; font: inherit; font-size: 12.5px; font-weight: 700; line-height: 1.15; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
html.ag-s5 .ag-sc-fmt:hover { border-color: var(--sp-vert); }
html.ag-s5 .ag-sc-fmt.is-on { border-color: var(--sp-vert); background: #f0fdf4; color: var(--sp-vert-f); box-shadow: inset 0 0 0 1px var(--sp-vert); }
html.ag-s5 .ag-sc-fmt small { font-size: 9px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
html.ag-s5 .ag-sc-fmt.is-order { border-style: dashed; border-color: #f0c96a; background: #fffbeb; color: #92400e; }
html.ag-s5 .ag-sc-fmt.is-order small { color: #b45309; }
html.ag-s5 .ag-sc-fmt.is-out { border-color: #e2e8f0; background: #f8fafc; color: #94a3b8; cursor: default; }
html.ag-s5 .ag-sc-fmt.is-more { border-style: dashed; color: var(--sp-vert); }

/* quantité + Ajouter */
html.ag-s5 .ag-sc-buy { display: flex; align-items: stretch; gap: 8px; margin-top: auto; padding-top: 10px; }
html.ag-s5 .ag-sc-qty { flex: none; display: inline-flex; align-items: stretch; border: 1.5px solid #dbe3dd; border-radius: 12px; overflow: hidden; background: #fff; }
html.ag-s5 .ag-sc-qty button {
  appearance: none; -webkit-appearance: none; width: 32px; padding: 0; border: 0; background: #f4f7f5;
  color: var(--sp-encre); font: inherit; font-size: 17px; font-weight: 700; line-height: 1; cursor: pointer;
}
html.ag-s5 .ag-sc-qty button:hover { background: #e6f4ea; color: var(--sp-vert); }
html.ag-s5 .ag-sc-qty input {
  width: 34px; height: auto; min-height: 38px; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: #fff;
  color: var(--sp-encre); font: inherit; font-size: 14px; font-weight: 800; text-align: center; -moz-appearance: textfield; appearance: textfield;
}
html.ag-s5 .ag-sc-qty input::-webkit-inner-spin-button,
html.ag-s5 .ag-sc-qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
html.ag-s5 .ag-sc-qty input:focus { outline: 2px solid var(--sp-vert); outline-offset: -2px; }
html.ag-s5 .ag-sc-atc {
  appearance: none; -webkit-appearance: none; flex: 1 1 auto; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 40px; padding: 0 12px; border: 0; border-radius: 12px; background: var(--sp-vert); color: #fff;
  font: inherit; font-size: 14px; font-weight: 800; line-height: 1; white-space: nowrap; cursor: pointer;
  box-shadow: 0 8px 16px -8px rgba(21, 128, 61, .6); transition: background .15s ease;
}
html.ag-s5 .ag-sc-atc svg { flex: none; display: block; width: 18px !important; height: 18px !important; min-width: 18px; }
html.ag-s5 .ag-sc-atc:hover { background: var(--sp-vert-f); }
html.ag-s5 .ag-sc-atc:active { transform: translateY(1px); }
html.ag-s5 .ag-sc-atc:focus-visible { outline: 2px solid var(--sp-encre); outline-offset: 2px; }
html.ag-s5 .ag-sc-atc.is-loading { cursor: progress; opacity: .85; }
html.ag-s5 .ag-sc-atc.is-success { background: #16a34a; }
html.ag-s5 .ag-sc-atc.is-error { background: var(--sp-rouge); }
html.ag-s5 .ag-sc-atc-dots { letter-spacing: .2em; }
html.ag-s5 .ag-sc-see {
  display: flex; align-items: center; justify-content: center; min-height: 40px; margin-top: auto;
  border: 1.5px solid var(--sp-vert); border-radius: 12px; color: var(--sp-vert); font-size: 14px; font-weight: 800; text-decoration: none;
}
html.ag-s5 .ag-sc-see:hover { background: #f0fdf4; }

/* 4. bas des produits, vide, ligne « ajouté au panier » */
html.ag-s5 .ag-sp-foot { display: flex; justify-content: center; padding: 20px 0 2px; }
html.ag-s5 .ag-sp-foot .ag-sp-all { padding: 11px 22px; font-size: 14px; }
html.ag-s5 .ag-sp-empty .search-cat-empty-link { display: inline-block; margin-top: 10px; }
html.ag-s5 .ag-sp-empty { padding: 44px 20px; text-align: center; font-size: 16px; font-weight: 700; color: var(--sp-encre); }
html.ag-s5 .ag-sp-empty span { display: block; margin-top: 6px; font-size: 13.5px; font-weight: 500; color: var(--sp-gris); }
html.ag-s5 .ag-sp-cart {
  flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 22px;
  background: var(--sp-nuit); color: #F5F7F4; animation: agSpMonte .22s ease-out;
}
html.ag-s5 .ag-sp-cart[hidden] { display: none; }
html.ag-s5 .ag-sp-cart-ico {
  flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--sp-lime); color: var(--sp-nuit); font-size: 14px; font-weight: 900;
}
html.ag-s5 .ag-sp-cart-txt { flex: 1 1 260px; min-width: 0; font-size: 14px; line-height: 1.35; }
html.ag-s5 .ag-sp-cart-txt b { font-weight: 700; color: #fff; }
html.ag-s5 .ag-sp-cart-go {
  flex: none; padding: 9px 16px; border-radius: 999px; background: var(--sp-lime); color: var(--sp-nuit);
  font-size: 13.5px; font-weight: 800; text-decoration: none; white-space: nowrap;
}
html.ag-s5 .ag-sp-cart-go:hover { background: #c9e86d; }
html.ag-s5 .ag-sp-cart.is-error { background: #fef2f2; color: #991b1b; }
html.ag-s5 .ag-sp-cart.is-error .ag-sp-cart-ico { background: var(--sp-rouge); color: #fff; }
html.ag-s5 .ag-sp-cart.is-error .ag-sp-cart-txt b { color: #7f1d1d; }
@keyframes agSpMonte { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* 5. page derrière figée tant que le panneau est ouvert (boutons ronds flottants cachés) */
html.ag-s5.ag-s-open { overflow: hidden; scrollbar-gutter: stable; }
html.ag-s5.ag-s-open body { overflow: hidden !important; }
html.ag-s5.ag-s-open :is(#agBnavFoldBtn, .ag-backtop, .ag-fab, #ag-fab-about) { visibility: hidden !important; }
/* la bulle « Ajouté au panier » du site doublerait la ligne du panneau : masquée tant que la recherche est ouverte */
html.ag-s5.ag-s-open .ag-resv-toast { display: none !important; }

/* ordinateur étroit : 3 cartes par ligne */
@media (min-width: 1025px) and (max-width: 1279px) {
  html.ag-s5 .ag-sp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* 6. téléphone et tablette : panneau plein écran sous l'en-tête */
@media (max-width: 1024px) {
  html.ag-s5 .ag-sp {
    top: calc(100% + 6px); bottom: calc(100% - 100vh); bottom: calc(100% - 100dvh);
    width: auto; max-height: none; border-radius: 18px 18px 0 0;
  }
  html.ag-s5 .ag-sp-top { padding: 14px 14px 12px; gap: 10px; }
  html.ag-s5 .ag-sp-title { font-size: 16.5px; }
  html.ag-s5 .ag-sp-sub { margin-top: 6px; font-size: 12px; }
  html.ag-s5 .ag-sp-actions { gap: 6px; padding-top: 0; }
  html.ag-s5 .ag-sp-actions .ag-sp-all { display: none; }
  html.ag-s5 .ag-sp-back { padding: 5px 10px; font-size: 12px; white-space: nowrap; }
  html.ag-s5 .ag-sp-cols { display: block; }
  html.ag-s5 .ag-sp-side { padding: 12px 0 4px; background: none; border: 0; }
  html.ag-s5 .ag-sp-main { padding: 8px 12px 20px; }
  /* une ligne par rubrique : libellé puis pastilles qui défilent de côté */
  html.ag-s5 .ag-sp-sec { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; }
  html.ag-s5 .ag-sp-label { flex: none; margin: 0; padding-left: 14px; font-size: 10px; gap: .7em; }
  html.ag-s5 .ag-sp-label::before { width: 1.6em; }
  html.ag-s5 .ag-sp-chips,
  html.ag-s5 .ag-sp-side .search-cats {
    flex: 1 1 auto; min-width: 0; flex-direction: row; flex-wrap: nowrap; gap: 6px;
    overflow-x: auto; padding: 2px 14px 2px 0; scrollbar-width: none; overscroll-behavior-x: contain;
  }
  html.ag-s5 .ag-sp-chips::-webkit-scrollbar { display: none; }
  html.ag-s5 .ag-sp-chips > * { flex: none; }
  html.ag-s5 .ag-sp-side .search-cat-pill {
    display: inline-block; width: auto; padding: 6px 12px; border: 1px solid #e7eaf0; border-radius: 999px; background: #f8fafc; font-size: 12.5px; white-space: nowrap;
  }
  html.ag-s5 .ag-sp-side .search-cat-pill::after { content: none; }
  html.ag-s5 .ag-sp .search-tag-sim { padding: 6px 11px; font-size: 12px; }
  html.ag-s5 .ag-sp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  html.ag-s5 .ag-sc { border-radius: 14px; }
  html.ag-s5 .ag-sc-img { padding: 6px; }
  html.ag-s5 .ag-sc-promo { top: 7px; left: 7px; font-size: 11px; padding: 2px 7px; }
  html.ag-s5 .ag-sc-tag { top: 7px; right: 7px; font-size: 9px; padding: 2px 6px; }
  html.ag-s5 .ag-sc-body { padding: 10px 10px 12px; gap: 4px; }
  html.ag-s5 .ag-sc .ag-sc-name.search-suggestion-item { font-size: 13px; }
  html.ag-s5 .ag-sc-now { font-size: 16px; }
  html.ag-s5 .ag-sc-fmts { flex-wrap: nowrap; overflow-x: auto; margin: 4px -10px 0; padding: 1px 10px 3px; scrollbar-width: none; }
  html.ag-s5 .ag-sc-fmts::-webkit-scrollbar { display: none; }
  html.ag-s5 .ag-sc-fmt { flex: none; font-size: 12px; padding: 4px 9px; }
  html.ag-s5 .ag-sc-buy { flex-direction: column; gap: 6px; padding-top: 8px; }
  html.ag-s5 .ag-sc-qty { justify-content: space-between; }
  html.ag-s5 .ag-sc-qty button { width: 40px; }
  html.ag-s5 .ag-sc-qty input { flex: 1 1 auto; min-height: 36px; }
  html.ag-s5 .ag-sc-atc { min-height: 42px; }
  html.ag-s5 .ag-sp-cart { gap: 8px 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); }
  html.ag-s5 .ag-sp-cart-txt { flex-basis: 200px; font-size: 13px; }
  html.ag-s5 .ag-sp-cart-go { padding: 8px 13px; font-size: 13px; }
}
@media (min-width: 600px) and (max-width: 1024px) {
  html.ag-s5 .ag-sp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 860px) and (max-width: 1024px) {
  html.ag-s5 .ag-sp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  html.ag-s5 .ag-sp-cart { animation: none; }
}
