/* GP1025 / V1.0 – Produktkatalog Werkzeugleiste
   Ziel: ruhiger, sauberer Desktop-Aufbau ohne grünen Fokus-Ring,
   ohne Hintergrund-Schleier und mit stabiler Ergebniszeile. */
@media (min-width: 1100px) {
  body #gp-main .gp-product-archive .gp-directory-toolbar {
    margin-top: 14px !important;
    margin-bottom: 22px !important;
    padding: 16px 18px 17px !important;
    border: 1px solid #dfe7e1 !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    box-shadow: none !important;
  }

  body #gp-main .gp-product-archive .gp-directory-toolbar__top {
    display: grid !important;
    grid-template-columns: minmax(230px, 1fr) auto !important;
    align-items: end !important;
    gap: 14px 22px !important;
    min-width: 0 !important;
  }

  body #gp-main .gp-product-archive .gp-directory-toolbar-summary {
    display: block !important;
    min-height: auto !important;
    margin: 0 !important;
    color: #345244 !important;
    font-size: .84rem !important;
    font-weight: 550 !important;
    line-height: 1.45 !important;
    white-space: normal !important;
  }

  body #gp-main .gp-product-archive .gp-directory-toolbar-summary strong {
    font-weight: 700 !important;
  }

  body #gp-main .gp-product-archive .gp-directory-toolbar-controls {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: end !important;
    justify-content: flex-end !important;
    gap: 14px !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  body #gp-main .gp-product-archive .gp-directory-sort,
  body #gp-main .gp-product-archive .gp-directory-columns {
    min-width: 0 !important;
    margin: 0 !important;
  }

  body #gp-main .gp-product-archive .gp-directory-sort label {
    position: relative !important;
    display: grid !important;
    grid-template-columns: auto minmax(210px, 232px) !important;
    align-items: center !important;
    column-gap: 12px !important;
    row-gap: 6px !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    color: #355345 !important;
    font-size: .8rem !important;
    font-weight: 650 !important;
    white-space: nowrap !important;
  }

  body #gp-main .gp-product-archive .gp-directory-sort select,
  body #gp-main .gp-product-archive .gp-directory-columns select {
    appearance: none !important;
    -webkit-appearance: none !important;
    height: 46px !important;
    min-height: 46px !important;
    border: 1px solid #d6e0da !important;
    border-radius: 11px !important;
    background: #ffffff !important;
    box-shadow: none !important;
    color: #284236 !important;
    font-size: .82rem !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
  }

  body #gp-main .gp-product-archive .gp-directory-sort select {
    width: 232px !important;
    min-width: 232px !important;
    max-width: 232px !important;
    padding: 0 39px 0 14px !important;
  }

  body #gp-main .gp-product-archive .gp-directory-sort-chevron {
    right: 14px !important;
    top: calc(50% + 1px) !important;
    color: #60786b !important;
  }

  body #gp-main .gp-product-archive .gp-directory-columns {
    display: grid !important;
    grid-template-columns: auto 126px !important;
    align-items: center !important;
    column-gap: 12px !important;
  }

  body #gp-main .gp-product-archive .gp-directory-columns label {
    margin: 0 !important;
    color: #355345 !important;
    font-size: .8rem !important;
    font-weight: 650 !important;
    white-space: nowrap !important;
  }

  body #gp-main .gp-product-archive .gp-directory-columns select {
    width: 126px !important;
    min-width: 126px !important;
    padding: 0 34px 0 13px !important;
  }

  body #gp-main .gp-product-archive .gp-directory-view-toggle {
    display: flex !important;
    align-items: center !important;
    min-height: 46px !important;
    padding: 3px !important;
    margin: 0 !important;
    border: 1px solid #d6e0da !important;
    border-radius: 11px !important;
    background: #ffffff !important;
    box-shadow: none !important;
  }

  body #gp-main .gp-product-archive .gp-directory-view-toggle button {
    min-height: 38px !important;
    padding: 5px 13px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: #4a6558 !important;
    box-shadow: none !important;
  }

  body #gp-main .gp-product-archive .gp-directory-view-toggle button[aria-pressed="true"],
  body #gp-main .gp-product-archive .gp-directory-view-toggle button.is-active {
    background: #f3f7f4 !important;
    color: #234236 !important;
  }

  body #gp-main .gp-product-archive :is(.gp-directory-sort select, .gp-directory-columns select)::-ms-expand {
    display: none !important;
  }

  body #gp-main .gp-product-archive :is(.gp-directory-sort select, .gp-directory-columns select, .gp-directory-view-toggle button):is(:hover, :focus, :focus-visible) {
    outline: none !important;
    box-shadow: none !important;
  }

  body #gp-main .gp-product-archive :is(.gp-directory-sort select, .gp-directory-columns select):is(:hover, :focus, :focus-visible) {
    border-color: #c7d4cc !important;
    background: #ffffff !important;
  }

  body #gp-main .gp-product-archive .gp-directory-view-toggle button:is(:hover, :focus, :focus-visible) {
    color: #284236 !important;
    background: #f7faf8 !important;
  }

  body #gp-main .gp-product-archive .gp-directory-active-filters {
    margin-top: 10px !important;
  }
}

@media (min-width: 1100px) and (max-width: 1439.98px) {
  body #gp-main .gp-product-archive .gp-directory-toolbar__top {
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }

  body #gp-main .gp-product-archive .gp-directory-toolbar-controls {
    justify-content: flex-start !important;
    width: 100% !important;
    flex-wrap: wrap !important;
  }
}

@media (min-width: 1100px) and (max-width: 1260px) {
  body #gp-main .gp-product-archive .gp-directory-sort label,
  body #gp-main .gp-product-archive .gp-directory-columns {
    grid-template-columns: 1fr !important;
    align-items: start !important;
  }

  body #gp-main .gp-product-archive .gp-directory-sort select,
  body #gp-main .gp-product-archive .gp-directory-columns select {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
}

@media (min-width: 769px) and (max-width: 1099.98px) {
  body #gp-main .gp-product-archive .gp-directory-toolbar {
    margin-top: 12px !important;
  }
}
