/* GP543 – Loop-Card-Kopfzone weiter verdichten.
 * Nur noch ein Badge, deutlich kleinere Icons und engere Abstaende,
 * damit auch bei langen Kategorien alles sauber in eine Zeile passt. */

/* Obere Aktionsicons noch kleiner und enger zusammen. */
.gp-product-archive .gp-product-list .gp-product-loop-top-actions{
  top:7px!important;
  right:7px!important;
  gap:3px!important;
  height:20px!important;
}
.gp-product-archive .gp-product-list.is-grid-view .gp-product-loop-top-actions>.gp-product-loop-top-action,
.gp-product-archive .gp-product-list.is-list-view .gp-product-loop-top-actions>.gp-product-loop-top-action,
.gp-product-archive .gp-product-list.is-grid-view[data-gp-columns] .gp-product-loop-top-actions>.gp-product-loop-top-action{
  flex:0 0 20px!important;
  width:20px!important;
  height:20px!important;
  min-width:20px!important;
  min-height:20px!important;
  max-width:20px!important;
  max-height:20px!important;
  border-width:1px!important;
}
.gp-product-archive .gp-product-list .gp-product-loop-top-actions>.gp-product-loop-top-action .gp-library-button__icon{
  width:10px!important;
  height:10px!important;
}
.gp-product-archive .gp-product-list .gp-product-loop-top-actions>.gp-product-loop-top-action .gp-library-button__icon svg{
  width:10px!important;
  height:10px!important;
  stroke-width:1.7!important;
}
.gp-product-archive .gp-product-list .gp-product-loop-top-actions>.gp-product-loop-top-compare:is(.is-active,[aria-pressed="true"],[data-gp-selected="true"]),
.gp-product-archive .gp-product-list .gp-product-loop-top-actions>.gp-product-loop-top-favorite:is(.is-active,[aria-pressed="true"],[data-gp-selected="true"]){
  border-width:2px!important;
}

/* Nur ein Badge, nochmals kleiner gesetzt. */
.gp-product-archive .gp-product-list.is-grid-view .gp-product-loop-chips,
.gp-product-archive .gp-product-list.is-grid-view[data-gp-columns="4"] .gp-product-loop-chips{
  top:7px!important;
  left:7px!important;
  max-width:calc(100% - 57px)!important;
  width:auto!important;
}
.gp-product-archive .gp-product-list.is-grid-view .gp-product-loop-chip,
.gp-product-archive .gp-product-list.is-grid-view[data-gp-columns="4"] .gp-product-loop-chip{
  min-height:20px!important;
  padding:2px 6px!important;
  font-size:9.25px!important;
  line-height:1.08!important;
  font-weight:760!important;
  letter-spacing:-.01em!important;
  border-radius:999px!important;
  max-width:100%!important;
}
.gp-product-archive .gp-product-list.is-grid-view[data-gp-columns="4"] .gp-product-loop-chip{
  font-size:9px!important;
  padding:2px 5px!important;
}

@container gp-products (max-width:640px){
  .gp-product-archive .gp-product-list.is-grid-view .gp-product-loop-chips,
  .gp-product-archive .gp-product-list.is-grid-view[data-gp-columns="4"] .gp-product-loop-chips{
    max-width:calc(100% - 55px)!important;
  }
}
