/* GP995 v1.0 – one maintained responsive correction layer.
   Scoped by page/card context; no global desktop redesign. */

/* 01/02 – The sorting and view controls share one typographic scale. A mouse
   click does not leave a green halo; keyboard focus stays visibly accessible. */
body #gp-main :is(.gp-product-archive,.gp-knowledge-archive)
  :is(.gp-directory-sort,.gp-directory-columns,.gp-knowledge-sort,
      .gp-directory-view-toggle,.gp-directory-toolbar-filter,.gp-directory-mobile-filter) {
  font-family:var(--gp-font,system-ui,sans-serif);
  font-size:14px;
  font-weight:650;
  line-height:1.35;
}

/* GP991 – accessible, viewport-bound date explanation. Unlike a native title
   bubble this dialog stays fully visible outside the scrollable search panel. */
.gp991-data-dialog{
  box-sizing:border-box;width:min(420px,calc(100vw - 32px));max-width:calc(100vw - 32px);
  max-height:calc(100dvh - 32px);margin:auto;padding:0;
  border:1px solid #cedfd3;border-radius:17px;
  background:#fff;color:#24443d;box-shadow:0 20px 56px rgba(24,51,39,.2);
}
.gp991-data-dialog::backdrop{background:rgba(16,35,28,.36)}
.gp991-data-dialog__content{position:relative;padding:24px 22px 22px;overflow:auto}
.gp991-data-dialog h2{margin:0 44px 9px 0;font:750 18px/1.35 var(--gp-font,system-ui,sans-serif)}
.gp991-data-dialog p{margin:0;font:450 14px/1.6 var(--gp-font,system-ui,sans-serif);color:#526960}
.gp991-data-dialog__close{
  position:absolute;top:14px;right:14px;display:grid;place-items:center;
  width:34px;height:34px;padding:0;border:1px solid #dae5df;
  border-radius:50%;background:#fff;color:#315d4a;
  font:400 24px/1 var(--gp-font,system-ui,sans-serif);cursor:pointer;
}
.gp991-data-dialog__close:focus:not(:focus-visible){outline:0;box-shadow:none}
.gp991-data-dialog__close:focus-visible{outline:2px solid #347455;outline-offset:2px}
.gp636-search-portal .gp539-suggest-info-icon:is(button){
  padding:0;appearance:none;background:#fff;cursor:pointer;
  box-shadow:none!important;outline:none;
}
.gp636-search-portal .gp539-suggest-info-icon:is(button):focus:not(:focus-visible){
  border-color:#a7bdb2!important;outline:none!important;box-shadow:none!important;
}
.gp636-search-portal .gp539-suggest-info-icon:is(button):focus-visible{
  outline:2px solid #367658!important;outline-offset:2px;
}
.gp636-search-portal .gp991-date-action{display:none}

/* GP991 – no native operating-system dropdown on small touch screens. The
   original form select is retained and receives every real change event. */
.gp991-mobile-sort{display:none}
@media(max-width:1024px){
  body #gp-main :is(.gp-product-archive .gp-directory-sort,.gp-knowledge-archive .gp-knowledge-sort){
    position:relative;min-width:0;
  }
  body #gp-main :is(.gp-product-archive .gp-directory-sort,.gp-knowledge-archive .gp-knowledge-sort)>label{
    position:absolute!important;width:1px!important;height:1px!important;
    overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;
  }
  body #gp-main :is(.gp-product-archive .gp-directory-sort,.gp-knowledge-archive .gp-knowledge-sort)>.gp991-mobile-sort{
    display:block;width:100%;min-width:0;position:relative;
  }
  body #gp-main .gp991-mobile-sort__trigger{
    box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;
    gap:8px;width:100%;min-width:0;min-height:48px;padding:9px 14px;
    border:1px solid #d2dfd6;border-radius:13px;background:#fff;color:#26453a;
    font:600 14px/1.3 var(--gp-font,system-ui,sans-serif);
    letter-spacing:0;text-align:center;cursor:pointer;
  }
  body #gp-main .gp991-mobile-sort__label{
    display:block;min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  }
  body #gp-main .gp991-mobile-sort__chevron{
    width:17px;height:17px;flex:0 0 17px;display:grid;place-items:center;color:#527465;
  }
  body #gp-main .gp991-mobile-sort__chevron svg{
    display:block;width:17px;height:17px;fill:none;stroke:currentColor;
    stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;
  }
  body #gp-main .gp991-mobile-sort__trigger:focus:not(:focus-visible){outline:none;box-shadow:none}
  body #gp-main .gp991-mobile-sort__trigger:focus-visible{outline:2px solid #367658;outline-offset:3px}
  body #gp-main .gp991-mobile-sort__menu{
    box-sizing:border-box;position:absolute;z-index:1010;top:calc(100% + 7px);left:0;
    width:100%;max-height:min(42dvh,230px);overflow-y:auto;overscroll-behavior:contain;
    padding:5px;border:1px solid #ceded3;border-radius:13px;
    background:#fff;box-shadow:0 12px 30px rgba(23,52,35,.16);
  }
  body #gp-main .gp991-mobile-sort__menu[hidden]{display:none!important}
  body #gp-main .gp991-mobile-sort.is-up .gp991-mobile-sort__menu{
    top:auto;bottom:calc(100% + 7px);
  }
  body #gp-main .gp991-mobile-sort__option{
    box-sizing:border-box;display:flex;align-items:center;width:100%;min-height:38px;
    margin:0;padding:7px 11px;border:0;border-radius:8px;
    background:#fff;color:#334e43;text-align:left;
    font:560 13px/1.4 var(--gp-font,system-ui,sans-serif);cursor:pointer;
  }
  body #gp-main .gp991-mobile-sort__option[aria-selected="true"]{
    background:#edf5ee;color:#28583c;font-weight:700;
  }
  body #gp-main .gp991-mobile-sort__option:is(:hover,:focus-visible){
    background:#f2f7f2;outline:none;
  }
  /* Both archives must reveal the same actual drawer and backdrop. */
  body #gp-main :is(.gp-product-archive .gp-directory-sidebar.gp-archive-filter-panel.is-open,
    .gp-knowledge-archive .gp-knowledge-sidebar.gp-archive-filter-panel.is-open){
    visibility:visible!important;pointer-events:auto!important;
    transform:translate3d(0,0,0)!important;transition-delay:0s!important;
  }
  body #gp-main :is(.gp-product-archive,.gp-knowledge-archive) .gp-directory-backdrop.is-open{
    display:block!important;visibility:visible!important;pointer-events:auto!important;
  }
}

@media(max-width:599px){
  /* Three matching, neatly grouped search utilities next to the price. */
  body .gp636-search-portal .gp539-suggest-actions .gp991-date-action{
    box-sizing:border-box;flex:0 0 22px;display:grid;place-items:center;
    width:22px;height:22px;min-width:22px;min-height:22px;
    border:1px solid #d7e3db;border-radius:6px;
    font:700 12px/1 var(--gp-font,system-ui,sans-serif);color:#315f4b;
  }
  body .gp636-search-portal .gp991-date-action .gp991-info-glyph{
    box-sizing:border-box;display:grid;place-items:center;
    width:13px;height:13px;min-width:13px;min-height:13px;
    border:1px solid #a7bdb2;border-radius:50%;
    font:650 9px/1 var(--gp-font,system-ui,sans-serif);color:#37634f;
  }
  body .gp636-search-portal .gp539-suggest-facts-mobile .gp539-suggest-info-icon:is(button){
    flex:0 0 13px;width:13px;height:13px;min-width:13px;min-height:13px;
    padding:0;border:1px solid #a7bdb2;border-radius:50%;font-size:9px;
  }
  /* An arrow and its clear X get the same full-height, equally sized cell. */
  body #gp-main .gp-product-archive .gp-directory-quick-search
    >:is([data-gp-product-query-apply],[data-gp-product-query-clear]){
    box-sizing:border-box!important;position:relative!important;
    display:grid!important;place-items:center!important;align-self:center!important;
    flex:0 0 44px!important;width:44px!important;min-width:44px!important;
    max-width:44px!important;height:46px!important;min-height:46px!important;
    padding:0!important;margin:0!important;
    border:0!important;border-left:1px solid var(--gp-quick-search-line,#d5e2d9)!important;
    border-radius:0!important;background:transparent!important;
    top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;
    transform:none!important;
  }
  body #gp-main .gp-product-archive .gp-directory-quick-search>[hidden]{display:none!important}
  body #gp-main .gp-product-archive .gp-directory-quick-search
    >:is([data-gp-product-query-apply],[data-gp-product-query-clear]) svg{
    display:block!important;width:16px!important;height:16px!important;
    margin:0!important;stroke-width:2.1!important;transform:none!important;
  }
  /* Mobile product breadcrumbs keep every ancestor link, with no orphaned
     separator after a line break and no bold jump for the current product. */
  body.single-gp_product .gp-breadcrumbs--product991.gp-shell{
    width:calc(100% - 2 * var(--gp-gutter))!important;
    padding:12px 2px 13px!important;margin:0 auto 8px!important;
  }
  body.single-gp_product .gp-breadcrumbs--product991 .gp-breadcrumb-list{
    display:flex!important;flex-wrap:wrap!important;align-items:center!important;
    column-gap:7px!important;row-gap:5px!important;
    margin:0!important;padding:0!important;list-style:none!important;
    font:600 12.5px/1.55 var(--gp-font,system-ui,sans-serif)!important;
  }
  body.single-gp_product .gp-breadcrumbs--product991 .gp-breadcrumb-item{
    box-sizing:border-box;display:inline-flex!important;align-items:center!important;
    min-width:0;gap:0!important;white-space:nowrap;
  }
  body.single-gp_product .gp-breadcrumbs--product991 .gp-breadcrumb-item:not(:first-child)::before{
    content:'›';display:inline-block;margin-right:7px;
    font:500 14px/1 var(--gp-font,system-ui,sans-serif);color:#8da69a;
  }
  body.single-gp_product .gp-breadcrumbs--product991 .gp-breadcrumb-item:nth-child(3)::before{
    content:none;
  }
  body.single-gp_product .gp-breadcrumbs--product991 .gp-breadcrumb-separator{display:none!important}
  body.single-gp_product .gp-breadcrumbs--product991 .gp-breadcrumb-item a,
  body.single-gp_product .gp-breadcrumbs--product991 .gp-breadcrumb-item>span[aria-current="page"]{
    box-sizing:border-box;display:inline-flex;align-items:center;
    min-height:25px;padding:1px 0;
    font:600 12.5px/1.55 var(--gp-font,system-ui,sans-serif)!important;
    color:#426457!important;letter-spacing:0!important;text-decoration:none;
  }
  body.single-gp_product .gp-breadcrumbs--product991 .gp-breadcrumb-item>span[aria-current="page"]{
    color:#27483d!important;
  }
  body.single-gp_product .gp-breadcrumbs--product991 .gp-breadcrumb-home-icon svg{
    width:14px;height:14px;
  }
  body.single-gp_product .gp-breadcrumbs--product991 a:focus-visible{
    outline:2px solid #347455;outline-offset:3px;border-radius:3px;
  }
}
body #gp-main .gp-product-archive :is(.gp-directory-sort,.gp-directory-columns)>label,
body #gp-main .gp-product-archive .gp-directory-sort label>span:first-child {
  font-size:13px!important;font-weight:650!important;line-height:1.4!important;
  text-align:center!important;
}
body #gp-main .gp-product-archive .gp-directory-columns,
body #gp-main .gp-product-archive .gp-directory-sort {
  align-items:center;justify-items:center;
}
body #gp-main :is(.gp-product-archive,.gp-knowledge-archive)
  :is(.gp-directory-sort select,.gp-directory-columns select,.gp-knowledge-sort select,
      .gp-directory-toolbar-filter,.gp-directory-mobile-filter,.gp-directory-view-toggle button){
  font-size:14px!important;font-weight:650!important;line-height:1.35!important;
  font-family:var(--gp-font,system-ui,sans-serif)!important;
}
body #gp-main .gp-product-archive :is(.gp-directory-sort select,.gp-directory-columns select),
body #gp-main .gp-knowledge-archive .gp-knowledge-sort select {
  text-align:center;text-align-last:center;
  padding-inline:14px 33px!important;
}
body #gp-main :is(.gp-product-archive,.gp-knowledge-archive)
  :is(.gp-directory-sort select,.gp-directory-columns select,.gp-knowledge-sort select,
      .gp-directory-toolbar-filter,.gp-directory-mobile-filter,.gp-directory-view-toggle button):focus:not(:focus-visible){
  outline:none!important;box-shadow:none!important;
  border-color:#d1ded5!important;
}
body #gp-main :is(.gp-product-archive,.gp-knowledge-archive)
  :is(.gp-directory-sort select,.gp-directory-columns select,.gp-knowledge-sort select,
      .gp-directory-toolbar-filter,.gp-directory-mobile-filter,.gp-directory-view-toggle button):focus-visible{
  outline:2px solid #376b80!important;outline-offset:2px!important;box-shadow:none!important;
}

/* 03 – One footer newsletter layout on ALL pages, independent of archive
   templates. The same icon, heading, form and privacy row remain visible. */
body .gp-hf-footer .gp-newsletter-v4-card {
  border:1px solid #d1e0d6!important;background:#f8fbf8!important;
  box-shadow:none!important;border-radius:19px!important;
}
body .gp-hf-footer .gp-newsletter-v4-icon {
  display:flex!important;align-items:center;justify-content:center;
  background:#fff!important;border:1px solid #d8e6db!important;
  box-shadow:none!important;
}
body .gp-hf-footer .gp-newsletter-v4-icon img,
body .gp-hf-footer .gp-newsletter-v4-icon svg{max-width:86%;max-height:86%;object-fit:contain}
@media(max-width:896px){
  body .gp-hf-footer .gp-newsletter-v4-card{padding:clamp(16px,3vw,22px)!important}
  body .gp-hf-footer .gp-newsletter-v4-layout{
    display:grid!important;width:100%!important;min-width:0!important;
    grid-template-columns:minmax(0,1fr) 44px!important;
    grid-template-areas:"copy icon" "form form"!important;
    gap:12px 10px!important;align-items:start!important;
  }
  body .gp-hf-footer .gp-newsletter-v4-icon {
    grid-area:icon!important;justify-self:end!important;
    width:44px!important;height:44px!important;border-radius:12px!important;
  }
  body .gp-hf-footer .gp-newsletter-v4-copy{grid-area:copy!important;min-width:0!important}
  body .gp-hf-footer .gp-newsletter-v4-form{grid-area:form!important;grid-column:1/-1!important;width:100%!important;min-width:0!important;max-width:none!important}
  body .gp-hf-footer .gp-newsletter-v4-title{
    font-size:clamp(19px,2.6vw,22px)!important;font-weight:700!important;
    line-height:1.27!important;letter-spacing:-.02em!important;
    margin:0 0 7px!important;text-wrap:balance;
  }
  body .gp-hf-footer .gp-newsletter-v4-text{
    font-size:clamp(13px,1.9vw,15px)!important;line-height:1.55!important;
    font-weight:400!important;margin:0!important;
  }
  body .gp-hf-footer .gp-newsletter-v4-row,
  body .gp-hf-footer .gp-newsletter-v4-form form{
    display:grid!important;width:100%!important;max-width:none!important;
    grid-template-columns:minmax(0,1fr)!important;gap:10px!important;
  }
  body .gp-hf-footer :is(.gp-newsletter-v4-input,.gp-newsletter-v4-button){
    width:100%!important;min-width:0!important;min-height:46px!important;
    height:auto!important;box-sizing:border-box!important;
  }
  body .gp-hf-footer .gp-newsletter-v4-privacy{font-size:12px!important;line-height:1.55!important}
  body .gp-hf-footer .gp-newsletter-v4{margin-bottom:18px!important}
}
@media(max-width:720px){
  body .gp-hf-footer.gp-site-footer{
    margin-top:0!important;border-top:1px solid #e3ebe5!important;
  }
}
@media(min-width:600px) and (max-width:896px){
  body .gp-hf-footer .gp-newsletter-v4-layout {
    grid-template-columns:56px minmax(0,1fr)!important;
    grid-template-areas:"icon copy" "form form"!important;
    gap:14px!important;
  }
  body .gp-hf-footer .gp-newsletter-v4-icon{justify-self:start!important;width:52px!important;height:52px!important}
}
@media(min-width:897px){
  body .gp-hf-footer .gp-newsletter-v4-layout {
    grid-template-columns:64px minmax(280px,1fr) minmax(360px,1fr)!important;
    grid-template-areas:"icon copy form"!important;gap:20px!important;
    align-items:center!important;
  }
}

/* 04 – No detached blank band between the compass and the single footer. */
body:has(.gp-core-page--health-compass) #gp-main,
body:has(.gp-core-page--health-compass) .gp-core-page--health-compass{
  margin-bottom:0!important;padding-bottom:0!important;
}
body:has(.gp-core-page--health-compass) .gp-hf-footer{
  margin-top:0!important;border-top:1px solid #d1dfd3!important;
}

/* 05 – The low-opacity leaf/orbit was mistaken for a damaged image. Remove
   the decoration, never the real Ratgeber content or product photos. */
.gp-knowledge-hero::before,
.gp-core-hero:not(.gp-core-hero--with-media)::after{
  content:none!important;display:none!important;background-image:none!important;
}

/* 06 – Keep section spacing consistent instead of alternating 20/40px gaps. */
@media(min-width:705px){
  .gp-home--v3 .gp-home-trust.gp-home-panel{margin-top:clamp(20px,1.4vw,26px)!important}
  .gp-home--v3 .gp-home-section.gp-home-inner:not(.gp-home-trust){
    margin-top:clamp(20px,1.4vw,26px)!important;
  }
}
@media(max-width:704px){
  .gp-home--v3 .gp-home-hero__copy{padding-bottom:14px!important}
  .gp-home--v3 .gp-home-hero-nav{margin-top:12px!important}
  .gp-home--v3 .gp-home-hero-nav__item{min-height:0!important;padding-bottom:21px!important}
  .gp-home--v3 .gp-home-section.gp-home-inner:not(.gp-home-trust):not(.gp-home-categories){margin-top:12px!important}
  .gp-home--v3 .gp-home-trust.gp-home-panel{padding-top:12px!important;padding-bottom:12px!important;border:0!important}
  body #gp-main.gp-home--v3 .gp-home-categories.gp-home-section{
    margin-top:0!important;border-top:1px solid #d7e2d9!important;
  }
  body #gp-main.gp-home--v3 .gp-home-editorial.gp-home-section{
    padding-top:15px!important;padding-bottom:16px!important;
  }
}
/* Mobile horizontal product rails keep swipe and arrow navigation, but their
   residual colored scroll track must not sit below the CTA buttons. */
@media(max-width:599px){
  body #gp-main.gp-home--v3 .gp-home-products-viewport,
  body.single-post #gp-main .gp-reco923-article .gp-product-row897__grid{
    scrollbar-width:none!important;scrollbar-color:transparent transparent!important;
    padding-bottom:0!important;
  }
  body #gp-main.gp-home--v3 .gp-home-products-viewport::-webkit-scrollbar,
  body.single-post #gp-main .gp-reco923-article .gp-product-row897__grid::-webkit-scrollbar{
    display:none!important;width:0!important;height:0!important;
  }
}

/* Mobile homepage: no decorative green veil or extra footer-facing stripe. */
@media(max-width:599px){
  body #gp-main.gp-home--v3{background:#fff!important;padding-bottom:0!important}
  body #gp-main.gp-home--v3 .gp-home-products-viewport::after,
  body #gp-main.gp-home--v3 .gp-home-products-carousel::after{content:none!important;display:none!important}
  body #gp-main.gp-home--v3 .gp-home-products{margin-bottom:0!important}
  body:has(#gp-main.gp-home--v3) .gp-hf-footer{
    margin-top:0!important;border-top:1px solid #e3ebe5!important;
  }
}

/* Selected facet counters belong to the same hierarchy as their headings. */
body #gp-main .gp-product-archive .gp-directory-filter-count:not(:empty){
  color:#24483d!important;background:#edf4ed!important;
  border:1px solid #cbdbcd!important;font-size:12px!important;
  font-weight:800!important;line-height:1!important;
}
body #gp-main .gp-product-archive .gp-directory-filter-group>summary{
  min-height:3.15rem!important;
}

/* Mobile knowledge sort control: one label weight and an equally clear icon. */
@media(max-width:704px){
  body #gp-main .gp-knowledge-archive .gp-directory-mobile-filter{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    gap:8px!important;
  }
  body #gp-main .gp-knowledge-archive .gp-directory-mobile-filter svg{
    flex-shrink:0;stroke:currentColor!important;stroke-width:1.8!important;
    stroke-linecap:round!important;stroke-linejoin:round!important;
    vertical-align:middle!important;
  }
}

/* 07 – The Ratgeber product card should hand off to the next heading with
   the same small inset used between adjacent sections. */
@media(max-width:599px){
  body.single-post .gp-knowledge-article .gp-article-body
    .gp-product-row897.gp-reco923-article{
    padding-bottom:16px!important;margin-bottom:0!important;
  }
  body.single-post .gp-knowledge-article .gp-article-body
    >.gp-product-row897+:is(h2,h3){margin-top:16px!important}
}

/* 08 – Slightly smaller, uniform category chips in article recommendation
   carousels. Keep their arrow and horizontal navigation intact. */
@media(max-width:599px){
  .gp-reco923-article .gp-article-product896__categories{height:23px!important}
  .gp-reco923-article .gp-article-product896__label{
    height:21px!important;padding:2px 7px!important;
    font-size:10.5px!important;line-height:1.25!important;font-weight:650!important;
  }
}

/* 09/10 – Mobile product images must always fit into the RESERVED media rail.
   Only the image scales, never the card height or its surrounding content. */
@media(max-width:599px){
  body #gp-main .gp-product-archive .gp-product-list
    .gp-product-loop-media > .gp-product-loop-image img,
  body #gp-main.gp-home--v3 .gp-product-loop-media > .gp-product-loop-image img{
    box-sizing:border-box!important;display:block!important;
    width:auto!important;height:auto!important;
    max-width:calc(100% - 36px)!important;max-height:calc(100% - 44px)!important;
    min-width:0!important;min-height:0!important;
    object-fit:contain!important;object-position:center!important;
    aspect-ratio:auto!important;
    padding:0!important;
    margin:auto!important;transform:none!important;
  }
  body #gp-main .gp-product-archive .gp-product-list.is-grid-view
    .gp-product-loop-media > .gp-product-loop-image,
  body #gp-main.gp-home--v3 .gp-product-loop-media > .gp-product-loop-image{
    display:grid!important;place-items:center!important;overflow:hidden!important;
  }
  body #gp-main.gp-home--v3 .gp-product-loop-chips .gp-product-loop-chip{
    min-height:21px!important;padding:3px 7px!important;
    font-size:10.25px!important;line-height:1.2!important;
  }
}

/* 11 – Price and pack size read as one balanced row. */
body #gp-main .gp-product-list .gp-card-description-wrap:not(.is-expanded)
  .gp-product-loop-description{
  -webkit-line-clamp:2!important;line-clamp:2!important;
  min-height:2.95em!important;max-height:3.05em!important;
}
body #gp-main .gp-product-archive .gp-product-list.is-list-view .gp-product-loop-price{
  gap:clamp(14px,2vw,26px)!important;
}
body #gp-main .gp-product-archive .gp-product-list.is-list-view .gp-product-loop-package{
  margin-left:10px!important;
}
/* 12 – Stock and coupon surfaces are separate peers, not two unrelated
   looks; preserve the semantic indicator dot and current availability. */
@media(min-width:1025px){
  body #gp-main .gp-product-archive .gp-product-list.is-list-view
  :is(.gp-product-loop-commerce-metadata,.gp-card-coupon888){
    box-sizing:border-box!important;border:1px solid #d7e3da!important;
    background:#f5faf6!important;border-radius:13px!important;
    padding:10px 13px!important;min-height:64px!important;
    align-content:center!important;
  }
  body #gp-main .gp-product-archive .gp-product-list.is-list-view .gp-card-coupon888{
    border-style:solid!important;
  }
  body #gp-main .gp-product-archive .gp-product-list.is-list-view .gp-card-description-wrap{
    margin-top:8px!important;
  }
  body #gp-main .gp-product-archive .gp-product-list.is-list-view .gp-product-loop-facts{
    margin-top:9px!important;
  }
}

/* 13 – Only ONE empty-state explanation: JS no longer inserts a duplicate
   insight banner. Keep a natural, readable gap before the shared footer. */
body #gp-main .gp-product-archive .gp-directory-empty {
  margin-bottom:clamp(16px,2vw,26px)!important;
  padding:clamp(28px,3vw,46px)!important;
}
body #gp-main .gp-product-archive .gp-directory-main:has(.gp-directory-empty:not([hidden])){
  padding-bottom:clamp(16px,2vw,24px)!important;
}
body #gp-main .gp-product-archive .gp-filter-insight925{display:none!important}

/* 14 – A small nonblocking loupe on every reusable product thumbnail. */
.gp-product-loop-media,.gp-article-product896__layout{position:relative}
.gp-card-zoom983-trigger {
  position:absolute;z-index:20;top:10px;right:10px;
  display:grid;place-items:center;width:39px;height:39px;
  min-width:39px;min-height:39px;box-sizing:border-box;
  border:1px solid #d4e1d8;border-radius:50%;background:rgba(255,255,255,.97);
  color:#315e4b;box-shadow:0 2px 8px rgba(19,58,42,.09);
  padding:0;cursor:zoom-in;
}
.gp-card-zoom983-trigger svg{width:18px;height:18px;display:block;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round}
.gp-card-zoom983-trigger:hover{background:#e8f3eb;border-color:#acc9b4}
.gp-card-zoom983-trigger:focus-visible{outline:2px solid #376b80;outline-offset:2px}
.gp-article-product896__layout>.gp-card-zoom983-trigger{top:12px;right:12px}
@media(max-width:599px){
  .gp-card-zoom983-trigger{top:58px;right:12px;width:42px;height:42px;min-width:42px;min-height:42px}
  .gp-article-product896__layout>.gp-card-zoom983-trigger{top:12px}
}

/* 15 – Shared image viewer: zoom in/out/reset, pan and touch pinch all
   operate inside a contained stage; the background page does not reflow. */
.gp-card-zoom983-dialog[open]{
  position:fixed;inset:0;display:flex;flex-direction:column;
  box-sizing:border-box;width:min(920px,calc(100vw - 24px));
  height:min(780px,calc(100dvh - 24px));max-width:none;max-height:none;
  margin:auto;padding:12px;border:1px solid #cfdfd5;border-radius:17px;
  background:#fff;color:#244739;box-shadow:0 24px 70px #082e2840;
}
.gp-card-zoom983-dialog::backdrop{background:rgba(9,35,26,.72)}
.gp-card-zoom983-toolbar{display:flex;align-items:center;gap:6px;min-height:43px;flex-wrap:wrap}
.gp-card-zoom983-toolbar strong{flex:1 1 120px;min-width:0;font:650 14px/1.3 var(--gp-font,system-ui);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gp-card-zoom983-toolbar button{
  display:grid;place-items:center;min-width:42px;min-height:42px;padding:6px;
  border:1px solid #d5e2d9;border-radius:10px;background:#f6faf7;
  color:#2c5d45;font:700 18px/1 var(--gp-font,system-ui);cursor:pointer
}
.gp-card-zoom983-toolbar button:focus-visible{outline:2px solid #376b80;outline-offset:1px}
.gp-card-zoom983-stage{
  display:grid;place-items:center;position:relative;flex:1;min-height:0;
  overflow:hidden;touch-action:none;overscroll-behavior:contain;
  background:#fff;border-radius:12px;border:1px solid #e3ece6;cursor:grab
}
.gp-card-zoom983-stage.is-panning{cursor:grabbing}
.gp-card-zoom983-stage img{
  display:block;width:100%;height:100%;max-width:100%;max-height:100%;
  object-fit:contain;transform-origin:center;user-select:none;pointer-events:none;
  -webkit-user-drag:none
}
@media(prefers-reduced-motion:reduce){.gp-card-zoom983-dialog *{scroll-behavior:auto!important}}

/* GP985 / screenshot verification. The toolbar divider and the
   decorative :after stripe are a second border rather than actual content. */
body #gp-main .gp-product-archive .gp-directory-main > .gp-directory-toolbar {
  border:0!important;border-bottom:0!important;
  box-shadow:none!important;margin-bottom:clamp(7px,.65vw,9px)!important;
  padding-bottom:0!important;
}
body #gp-main .gp-product-archive .gp-directory-toolbar:has(.gp-directory-active-filters:not([hidden])){
  margin-bottom:clamp(7px,.65vw,9px)!important;
}
body #gp-main :is(.gp-product-archive,.gp-knowledge-archive)::after{
  content:none!important;display:none!important;
}
/* Product sort and Knowledge sort use the same type scale and centered labels. */
body #gp-main :is(.gp-product-archive,.gp-knowledge-archive)
  :is(.gp-directory-sort select,.gp-directory-columns select,.gp-directory-mobile-filter,.gp-knowledge-sort select,.gp-knowledge-toolbar .gp-directory-mobile-filter){
  font-family:var(--gp-font,system-ui,sans-serif)!important;
  font-size:14px!important;font-weight:750!important;line-height:1.35!important;
  text-align:center!important;text-align-last:center!important;
  box-shadow:none!important;
}
body #gp-main .gp-knowledge-archive .gp-knowledge-sort select{
  min-height:48px!important;height:48px!important;
  padding-inline:14px 30px!important;
}
body #gp-main .gp-knowledge-archive .gp-directory-mobile-filter{
  min-height:48px!important;height:48px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  gap:9px!important;font-size:14px!important;font-weight:750!important;
}
body #gp-main :is(.gp-product-archive,.gp-knowledge-archive)
  :is(select,button):focus:not(:focus-visible){outline:0!important;box-shadow:none!important}
body #gp-main :is(.gp-product-archive,.gp-knowledge-archive)
  :is(select,button):focus-visible{outline:2px solid #376b80!important;outline-offset:2px!important}

/* Avoid cropping a tall bottle against the image/title boundary. The existing
   media and thumbnail slots stay EXACTLY the same height; only ink is inset. */
@media(max-width:599px){
  body #gp-main .gp-product-archive .gp-product-list.is-grid-view
    .gp-product-loop-media > .gp-product-loop-image{
    min-height:0!important;overflow:hidden!important;
  }
  body #gp-main .gp-product-archive .gp-product-list.is-grid-view
    .gp-product-loop-media > .gp-product-loop-image img{
    width:auto!important;height:auto!important;
    max-width:calc(100% - 36px)!important;
    max-height:calc(100% - 44px)!important;
    padding:0!important;object-fit:contain!important;
    object-position:center!important;transform:none!important;
  }
}

/* The reading-tools button must already occupy the fourth action cell on
   first paint; after the Suite loads it binds to this SAME button. */
body.single-post .gp-knowledge-article .gp-article-actionbar .gp-reading-header-toggle{
  display:inline-flex!important;align-items:center;justify-content:center;
  min-width:0;min-height:44px;
}

/* Less dead space in the image viewer, and no border/line under its toolbar. */
.gp-card-zoom983-dialog[open]{height:min(620px,calc(100dvh - 30px));padding:12px 14px 14px}
.gp-card-zoom983-toolbar{flex:0 0 auto;min-height:46px;padding:0 0 9px;border:0!important;box-shadow:none!important}
.gp-card-zoom983-stage{
  display:flex;align-items:center;justify-content:center;
  border:0!important;box-shadow:none!important;border-radius:10px;
  min-height:0;max-width:100%;background:#fff;
}
.gp-card-zoom983-stage img{
  width:auto!important;height:auto!important;max-width:100%!important;
  max-height:100%!important;min-width:0!important;min-height:0!important;
  object-fit:contain!important;object-position:center!important;
}
@media(max-width:599px){
  .gp-card-zoom983-dialog[open]{height:min(580px,calc(100dvh - 26px));width:calc(100vw - 22px);padding:10px}
  .gp-card-zoom983-toolbar{gap:5px;flex-wrap:nowrap;padding-bottom:7px;min-height:45px}
  .gp-card-zoom983-toolbar strong{flex:1 1 auto;min-width:0;font-size:12px}
  .gp-card-zoom983-toolbar button{min-width:37px;min-height:42px;padding:4px}
  .gp-card-zoom983-toolbar button[data-gp-zoom-action983="reset"]{min-width:60px;font-size:14px}
}

/* Homepage: one measured gap on both sides of the four trust items. */
@media(min-width:705px){
  body #gp-main.gp-home--v3{--home-section-gap:26px}
  body #gp-main.gp-home--v3 .gp-home-trust.gp-home-panel,
  body #gp-main.gp-home--v3 .gp-home-categories.gp-home-panel{
    margin-top:26px!important;margin-bottom:0!important;
  }
}

/* One footer template + one mobile grid: no page detection or old variants. */
body .gp-hf-footer .gp-newsletter-v4-layout > .gp-newsletter-v4-icon{
  display:flex!important;visibility:visible!important;opacity:1!important;
  align-items:center!important;justify-content:center!important;
}

/* One shared Ratgeber card geometry: home, archive, and reused cards all
   inherit the same mobile rhythm. No archive-only duplicate implementation. */
@media(max-width:768px){
  body #gp-main .gp-home-article-card .gp-home-article-card__body{
    min-height:0!important;flex:0 0 auto!important;
    padding:10px 17px 6px!important;gap:5px!important;
  }
  body #gp-main .gp-home-article-card .gp-home-article-topic{
    display:inline-flex!important;align-items:center!important;
    min-height:24px!important;margin:0!important;
    color:#416f57!important;font-size:12px!important;
    font-weight:710!important;line-height:1.35!important;
    letter-spacing:.035em!important;
  }
  body #gp-main .gp-home-article-card a.gp-home-article-topic:focus-visible{
    outline:2px solid #376b80;outline-offset:2px;border-radius:3px;
  }
  body #gp-main .gp-home-article-card .gp-home-article-card__body>p{
    display:-webkit-box!important;-webkit-box-orient:vertical!important;
    -webkit-line-clamp:4!important;line-clamp:4!important;
    overflow:hidden!important;min-height:0!important;
    max-height:none!important;margin:0!important;
    font-size:14px!important;line-height:1.55!important;
    text-wrap:pretty!important;
  }
  body #gp-main .gp-home-article-card .gp-home-article-card__footer{
    min-height:32px!important;margin-top:0!important;
    padding:0!important;gap:9px!important;
  }
  body #gp-main .gp-home-article-card .gp-home-article-read{
    min-height:32px!important;
  }
  body #gp-main .gp-knowledge-archive .gp-knowledge-card__body{
    gap:9px!important;padding:15px 17px 15px!important;
  }
  body #gp-main .gp-knowledge-archive .gp-knowledge-card__excerpt{
    display:-webkit-box!important;-webkit-box-orient:vertical!important;
    -webkit-line-clamp:4!important;line-clamp:4!important;
    min-height:0!important;max-height:none!important;
    margin:0!important;line-height:1.55!important;
  }
  body #gp-main .gp-knowledge-archive .gp-knowledge-card__bottom{
    margin-top:2px!important;padding-top:8px!important;gap:8px!important;
  }
  body #gp-main .gp-knowledge-archive .gp-knowledge-card .gp-topic-chip{
    min-height:24px!important;line-height:1.35!important;
    padding:3px 7px!important;margin:0!important;
  }
  /* Knowledge-specific legacy rules carried higher specificity than the
     common card rule. Force the exact same compact baseline in both grids. */
  body #gp-main .gp-knowledge-archive .gp-knowledge-grid.gp-home--v3
    .gp-home-article-card__body{
    flex:0 0 auto!important;min-height:0!important;
    padding:10px 17px 6px!important;gap:5px!important;
  }
  body #gp-main .gp-knowledge-archive .gp-knowledge-grid.gp-home--v3
    .gp-home-article-card__body>p{margin:0!important}
  body #gp-main .gp-knowledge-archive .gp-knowledge-grid.gp-home--v3
    .gp-home-article-card__footer{
    margin-top:0!important;padding:0!important;min-height:32px!important;
    gap:9px!important;
  }
}

/* GP987: current device screenshots, using the same component rules on every
   page where each component appears. Never let the homepage invent a second
   Ratgeber-card geometry or footer layout. */
@media(max-width:768px){
  body #gp-main .gp-home-article-card{
    align-self:start!important;height:auto!important;min-height:0!important;
  }
  body #gp-main .gp-home-article-grid--3,
  body #gp-main .gp-knowledge-grid:has(>.gp-home-article-card){
    align-items:start!important;
  }
}
@media(max-width:599px){
  /* The trust panel already has balanced inner padding. The following
     section starts directly at its ONE border, with no separate white strip. */
  body #gp-main.gp-home--v3 .gp-home-trust.gp-home-panel{
    margin-bottom:0!important;padding-top:10px!important;padding-bottom:10px!important;
    border-bottom:1px solid #d7e2d9!important;
  }
  body #gp-main.gp-home--v3 .gp-home-trust__item{
    min-height:0!important;padding:9px 4px!important;
  }
  body #gp-main.gp-home--v3 .gp-home-categories.gp-home-section{
    margin-top:0!important;border-top:0!important;
  }
  /* Compact the search-to-carousel rhythm and the single transition to the
     shared newsletter. Scrolling, navigation arrows and card sizes remain. */
  body #gp-main.gp-home--v3 .gp-home-products-head{
    margin-bottom:8px!important;
  }
  body #gp-main.gp-home--v3 .gp-home-products{
    padding-bottom:14px!important;margin-bottom:0!important;
  }
  body #gp-main.gp-home--v3 .gp-home-products-carousel{
    margin-top:0!important;margin-bottom:0!important;padding-bottom:0!important;
  }
  body #gp-main.gp-home--v3 .gp-home-products-viewport{
    margin-bottom:0!important;background:transparent!important;box-shadow:none!important;
  }
  /* The homepage uses catalogue cards. Keep their outlines, but remove the
     shadow halo around the carousel and its cards on phones only. */
  body #gp-main.gp-home--v3 .gp-home-products-carousel
    :is(.gp-product-loop-card,.gp-home-product-slot),
  body #gp-main.gp-home--v3 .gp-home-products-carousel
    :is(.gp-product-loop-card,.gp-home-product-slot):hover{
    box-shadow:none!important;filter:none!important;transform:none!important;
  }
  body #gp-main.gp-home--v3 .gp-home-products-carousel::before{
    content:none!important;display:none!important;
  }
  /* The top quick-access rail is one optically centered row, not a tall band. */
  body .gp-hf-header>.gp-hf-inner{
    min-height:60px!important;padding-top:5px!important;padding-bottom:5px!important;
    align-items:center!important;
  }
}
@media(max-width:599px){
  body .gp-hf-header .gp-hf-logo{width:clamp(132px,37vw,154px)!important}
}
/* Native Android/Firefox select labels can ignore a separate font-weight
   declaration. Use one font shorthand and the existing custom chevron. */
@media(max-width:704px){
  body #gp-main :is(.gp-product-archive,.gp-knowledge-archive)
    :is(.gp-directory-sort select,.gp-knowledge-sort select,
        .gp-directory-mobile-filter,.gp-knowledge-toolbar .gp-directory-mobile-filter){
    -webkit-appearance:none!important;appearance:none!important;
    font:600 14px/1.35 var(--gp-font,system-ui,sans-serif)!important;
    text-align:center!important;text-align-last:center!important;
  }
  body #gp-main :is(.gp-product-archive,.gp-knowledge-archive) .gp-directory-mobile-filter svg{
    stroke-width:1.8!important;vertical-align:middle!important;
  }
}
/* Match the tidy header search preview in the catalog: image and text to the
   left, documented price and two centered actions in one right-hand column. */
@media(max-width:599px){
  body .gp636-search-portal .gp539-suggest-entry{
    grid-template-columns:minmax(0,1fr) 77px!important;
    gap:8px!important;padding:11px 5px!important;min-width:0!important;
    align-items:start!important;
  }
  body .gp636-search-portal .gp539-suggest-main{
    grid-template-columns:44px minmax(0,1fr)!important;
    gap:9px!important;align-items:start!important;min-width:0!important;
  }
  body .gp636-search-portal .gp539-suggest-thumb{width:44px!important;height:44px!important}
  body .gp636-search-portal .gp539-suggest-info strong{
    display:-webkit-box!important;-webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;line-clamp:2!important;overflow:hidden!important;
    font-size:13.5px!important;line-height:1.35!important;
    overflow-wrap:normal!important;word-break:normal!important;
  }
  body .gp636-search-portal .gp539-suggest-meta{
    white-space:nowrap!important;text-overflow:ellipsis!important;
    overflow:hidden!important;max-width:100%!important;font-size:11px!important;
  }
  body .gp636-search-portal .gp539-suggest-description{
    display:block!important;white-space:nowrap!important;overflow:hidden!important;
    text-overflow:ellipsis!important;line-height:1.4!important;
    max-height:none!important;padding:0!important;font-size:11px!important;
  }
  body .gp636-search-portal .gp539-suggest-facts{
    align-items:center!important;gap:3px 8px!important;
    overflow-wrap:normal!important;font-size:10.5px!important;
    line-height:1.4!important;
  }
  body .gp636-search-portal .gp539-suggest-updated{white-space:normal!important}
  body .gp636-search-portal .gp539-suggest-side{
    min-width:0!important;margin-left:0!important;
    flex-direction:column!important;justify-content:flex-start!important;
    align-items:flex-end!important;gap:9px!important;
  }
  body .gp636-search-portal .gp539-suggest-price{
    margin-right:0!important;font-size:14px!important;
    font-weight:750!important;white-space:nowrap!important;
  }
  body .gp636-search-portal .gp539-suggest-actions{
    flex:0 0 auto!important;display:flex!important;align-items:center!important;
    justify-content:flex-end!important;gap:5px!important;
  }
  body .gp636-search-portal .gp539-suggest-actions .gp-library-button.gp591-icon-action{
    display:grid!important;place-items:center!important;position:relative!important;
    width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;
    max-width:34px!important;max-height:34px!important;padding:0!important;
  }
  body .gp636-search-portal .gp539-suggest-actions .gp-library-button.gp591-icon-action>svg{
    display:block!important;position:absolute!important;top:50%!important;left:50%!important;
    width:17px!important;height:17px!important;margin:0!important;
    transform:translate(-50%,-50%)!important;stroke-width:1.8!important;
  }
}
@media(max-width:359px){
  body .gp636-search-portal .gp539-suggest-entry{grid-template-columns:minmax(0,1fr) 73px!important;gap:6px!important}
}

/* GP999: manual popovers occupy the same native top layer as the mobile
   filter drawer; unlike an ordinary z-index, this remains visible above it. */
.gp636-search-portal[popover]{
  margin:0;right:auto;bottom:auto;padding:0;border:0;
  background:transparent;overflow:visible;
}

/* GP989 – Mobile homepage: reduce only the trailing gap after the Ratgeber
   rail; the next product panel retains its own consistent top inset. */
@media(max-width:599px){
  body #gp-main.gp-home--v3 .gp-home-editorial.gp-home-section{
    padding-bottom:9px!important;
  }
  body #gp-main.gp-home--v3 .gp-home-editorial .gp-home-article-viewport{
    padding-bottom:0!important;margin-bottom:0!important;
  }
  body #gp-main.gp-home--v3 .gp-home-editorial+.gp-home-products.gp-home-section{
    margin-top:10px!important;
  }
}

/* Correct the original single-image mismatch: the narrow card's outer media
   area is one row, while the older link still occupied image+gallery height.
   Both now use the SAME actual height. Keep a fixed image stage and fit the
   entire source image inside its inner padding without cropping it. */
@media(max-width:599px){
  body #gp-main .gp-product-archive .gp-product-list.is-grid-view
    .gp-product-loop-media.is-single-image:not(.has-no-image){
    grid-template-rows:var(--gp-loop-image-h,216px)!important;
    height:var(--gp-loop-image-h,216px)!important;
  }
  body #gp-main .gp-product-archive .gp-product-list.is-grid-view
    .gp-product-loop-media.is-single-image:not(.has-no-image)>.gp-product-loop-image{
    grid-row:1!important;height:var(--gp-loop-image-h,216px)!important;
    max-height:var(--gp-loop-image-h,216px)!important;
  }
  body #gp-main .gp-product-archive .gp-product-list.is-grid-view
    .gp-product-loop-media>.gp-product-loop-image img,
  body #gp-main.gp-home--v3 .gp-product-loop-media>.gp-product-loop-image img{
    width:100%!important;height:100%!important;
    max-width:100%!important;max-height:100%!important;
    box-sizing:border-box!important;object-fit:contain!important;
    object-position:center center!important;
    padding:34px 32px 23px!important;margin:0!important;
    transform:none!important;
  }
}

/* One shared small mobile magnifier on every relevant product image, including
   home carousel cards and archive cards. The existing viewer handles zoom,
   pinch, panning and close; only the trigger's position and size change. */
@media(max-width:599px){
  body .gp-product-loop-media>.gp-card-zoom983-trigger,
  body .gp-home-product-card__image>.gp-card-zoom983-trigger,
  body .gp-article-product896__layout>.gp-card-zoom983-trigger{
    top:auto!important;right:9px!important;bottom:9px!important;
    width:27px!important;height:27px!important;
    min-width:27px!important;min-height:27px!important;
    border-radius:50%!important;padding:0!important;
    box-shadow:0 1px 4px rgba(19,58,42,.06)!important;
  }
  body :is(.gp-product-loop-media,.gp-home-product-card__image,.gp-article-product896__layout)>.gp-card-zoom983-trigger svg{
    width:13px!important;height:13px!important;stroke-width:1.85!important;
  }
  /* On multi-photo cards the thumbnail rail occupies the bottom row. Keep
     the magnifier inside the main picture, never over its gallery controls. */
  body .gp-product-loop-media.has-gallery>.gp-card-zoom983-trigger{
    bottom:calc(var(--gp-loop-gallery-h,58px) + 9px)!important;
  }
}

/* The article thumbnail favorite is a restrained top-right utility everywhere
   the shared Ratgeber card is reused (home and knowledge archive). */
@media(max-width:768px){
  body #gp-main .gp-home-article-card .gp-home-article-topic,
  body #gp-main .gp-knowledge-card .gp-topic-chip{
    font-weight:760!important;
  }
  body #gp-main .gp-home-article-card .gp-home-article-card__favorite{
    top:7px!important;right:7px!important;
  }
  body #gp-main .gp-home-article-card .gp-home-article-card__favorite .gp-library-button{
    display:grid!important;place-items:center!important;
    width:29px!important;height:29px!important;
    min-width:29px!important;min-height:29px!important;
    padding:0!important;border-radius:50%!important;
  }
  body #gp-main .gp-home-article-card .gp-home-article-card__favorite .gp-library-button svg{
    width:15px!important;height:15px!important;
  }
}

/* Mobile search overlays: smaller icons by the price, with documented facts
   separated into three equal visual cells below the product's main line.
   Desktop retains the existing structure. */
.gp636-search-portal .gp539-suggest-facts-mobile{display:none}
@media(max-width:599px){
  body .gp636-search-portal .gp539-suggest-entry{
    grid-template-columns:minmax(0,1fr) 73px!important;
    grid-template-areas:'product actions' 'facts facts'!important;
    gap:7px 7px!important;padding:10px 5px!important;
  }
  body .gp636-search-portal .gp539-suggest-main{grid-area:product!important}
  body .gp636-search-portal .gp539-suggest-info>.gp539-suggest-facts{display:none!important}
  body .gp636-search-portal .gp539-suggest-side{
    grid-area:actions!important;gap:6px!important;align-items:flex-end!important;
  }
  body .gp636-search-portal .gp539-suggest-actions{gap:3px!important}
  body .gp636-search-portal .gp539-suggest-actions .gp-library-button.gp591-icon-action{
    box-sizing:border-box!important;flex:0 0 22px!important;
    width:22px!important;height:22px!important;
    min-width:22px!important;min-height:22px!important;
    max-width:22px!important;max-height:22px!important;
    border-radius:6px!important;
  }
  body .gp636-search-portal .gp539-suggest-actions .gp-library-button.gp591-icon-action>svg{
    width:12px!important;height:12px!important;
  }
  body .gp636-search-portal .gp539-suggest-facts-mobile{
    grid-area:facts;display:grid!important;
    grid-template-columns:minmax(0,.8fr) minmax(0,1fr) minmax(0,1.1fr);
    min-width:0;gap:0;align-items:center;
    padding:6px 0 0;border-top:1px solid #edf1ec;
    font:500 10px/1.4 var(--gp-font,system-ui,sans-serif);
  }
  body .gp636-search-portal .gp539-suggest-facts-mobile>span{
    box-sizing:border-box;display:flex;align-items:center;justify-content:center;
    flex-wrap:wrap;gap:2px 4px;min-width:0;
    padding:0 5px;text-align:center;overflow-wrap:anywhere;
  }
  body .gp636-search-portal .gp539-suggest-facts-mobile>span:first-child{
    padding-left:0;justify-content:flex-start;font-weight:670;
  }
  body .gp636-search-portal .gp539-suggest-facts-mobile>span+span{
    border-left:1px solid #e4ebe5;
  }
  body .gp636-search-portal .gp539-suggest-facts-mobile .gp539-suggest-updated{
    white-space:normal!important;
  }
  body .gp636-search-portal .gp539-suggest-facts-mobile .gp539-suggest-info-icon{
    flex:0 0 auto;width:13px;height:13px;font-size:9px;
  }
}
@media(max-width:359px){
  body .gp636-search-portal .gp539-suggest-facts-mobile{
    font-size:9px;grid-template-columns:minmax(0,.8fr) minmax(0,1fr) minmax(0,1.13fr)
  }
}

/* Product sort and Filter use precisely the same text family and weight.
   The dark numeric counter is a true, centered circle. */
@media(max-width:704px){
  body #gp-main .gp-product-archive .gp-directory-toolbar-controls
    :is(.gp-directory-sort select,.gp-directory-toolbar-filter,.gp-directory-toolbar-filter>span){
    font-family:var(--gp-font,system-ui,sans-serif)!important;
    font-size:14px!important;font-weight:600!important;
    line-height:1.35!important;letter-spacing:0!important;
    font-synthesis:none!important;
  }
  body #gp-main .gp-product-archive .gp-directory-toolbar-filter>svg{
    width:19px!important;height:19px!important;stroke-width:1.7!important;
  }
  body #gp-main .gp-product-archive .gp-directory-toolbar-filter>small[data-gp-mobile-filter-count]{
    display:inline-grid!important;place-items:center!important;
    width:23px!important;height:23px!important;
    min-width:23px!important;min-height:23px!important;
    padding:0!important;margin:0!important;
    border:0!important;border-radius:50%!important;
    background:#1f2e29!important;color:#fff!important;
    font:700 12px/1 var(--gp-font,system-ui,sans-serif)!important;
    text-align:center!important;font-variant-numeric:tabular-nums!important;
  }
  body #gp-main .gp-product-archive .gp-directory-toolbar-filter>small[hidden]{display:none!important}
}

/* Shared header and hamburger-menu search: the same clean white rail,
   consistently green submit, and no active/hover veil on the scope button. */
body :is(.gp-hf-header,.gp-hf-panel) .gp-hf-search,
body :is(.gp-hf-header,.gp-hf-panel) .gp-hf-search:focus-within{
  box-shadow:none!important;border-color:#d7e2d9!important;
}
body :is(.gp-hf-header,.gp-hf-panel) .gp-hf-search-submit,
body :is(.gp-hf-header,.gp-hf-panel) .gp-hf-search-submit:hover,
body :is(.gp-hf-header,.gp-hf-panel) .gp-hf-search-submit:active{
  background:var(--gp-primary-gradient,linear-gradient(180deg,#61a143,#4f8534))!important;
  color:#fff!important;border:0!important;
}
body :is(.gp-hf-header,.gp-hf-panel) .gp-hf-search-submit:focus-visible{
  background:var(--gp-primary-gradient,linear-gradient(180deg,#61a143,#4f8534))!important;
  color:#fff!important;outline:2px solid #244e3d!important;outline-offset:-3px!important;
}
body :is(.gp-hf-header,.gp-hf-panel) .gp-hf-scope-button,
body :is(.gp-hf-header,.gp-hf-panel) .gp-hf-scope-button:is(:hover,:active,:focus){
  background:#fff!important;color:var(--gp-menu-ink,#244539)!important;
  box-shadow:none!important;
}
body :is(.gp-hf-header,.gp-hf-panel) .gp-hf-scope-button>svg{
  width:15px!important;height:15px!important;stroke-width:2.15!important;
  transform:translateY(2px)!important;
}
body .gp-hf-panel .gp-hf-scope-panel button,
body .gp-hf-panel .gp-hf-scope-panel button:is(:hover,:active,.is-active){
  background:#fff!important;color:var(--gp-menu-ink,#244539)!important;
  box-shadow:none!important;
}
body .gp-hf-panel .gp-hf-scope-panel button:focus-visible,
body .gp-hf-panel .gp-hf-scope-button:focus-visible{
  outline:2px solid #376b80!important;outline-offset:-2px!important;
}

/* On the mobile homepage search field, typing must never draw a detached
   rectangular input ring. Keep the already visible outer search boundary. */
@media(max-width:599px){
  body #gp-main.gp-home--v3 .gp-home-context-search,
  body #gp-main.gp-home--v3 .gp-home-context-search:focus-within{
    border-color:#d7e1e6!important;box-shadow:none!important;outline:0!important;
  }
  body #gp-main.gp-home--v3 .gp-home-context-search input:is(:focus,:focus-visible){
    outline:0!important;outline-offset:0!important;box-shadow:none!important;
    border:0!important;
  }
}

/* GP990 – focused corrections from the nine annotated screenshots.  Rules
   deliberately stay in the component and breakpoint that produced the issue. */

/* Menu search options: a single quiet row of equally weighted actions. The
   scope panel's top rule created a doubled, detached line below the search. */
@media(max-width:599px){
  body .gp-hf-panel .gp-hf-scope-panel{
    border-top:0!important;margin-top:4px!important;
    padding-top:5px!important;padding-bottom:2px!important;
  }
  body .gp-hf-panel .gp-hf-scope-panel>button,
  body .gp-hf-panel .gp-hf-scope-panel>button:is(:hover,:active,:focus,.is-active){
    box-sizing:border-box!important;
    font-family:var(--gp-font,system-ui,sans-serif)!important;
    font-size:13px!important;font-weight:650!important;
    line-height:1.25!important;letter-spacing:0!important;
    font-synthesis:none!important;
  }
}

/* One visible circle (30px) in a full 44px touch target.  GP989 accidentally
   shrank the outer target to 29px while retaining the old 7px pseudo inset,
   leaving a tiny, apparently bitten-away white background. */
@media(max-width:599px){
  body #gp-main .gp-home-article-card .gp-home-article-card__favorite{
    top:4px!important;right:4px!important;
  }
  body #gp-main .gp-home-article-card .gp-home-article-card__favorite .gp-library-button{
    position:relative!important;isolation:isolate!important;
    display:grid!important;place-items:center!important;
    box-sizing:border-box!important;width:44px!important;height:44px!important;
    min-width:44px!important;min-height:44px!important;
    max-width:44px!important;max-height:44px!important;
    border:0!important;background:transparent!important;box-shadow:none!important;
    padding:0!important;border-radius:50%!important;
  }
  body #gp-main .gp-home-article-card .gp-home-article-card__favorite .gp-library-button::before{
    content:""!important;position:absolute!important;inset:7px!important;
    z-index:-1!important;border:1px solid #d3e1d5!important;
    border-radius:50%!important;background:rgba(255,255,255,.97)!important;
    box-shadow:0 1px 4px rgba(25,56,43,.05)!important;
  }
  body #gp-main .gp-home-article-card .gp-home-article-card__favorite .gp-library-button:is(.is-active,[aria-pressed="true"])::before{
    border-color:#43815f!important;background:#43815f!important;
  }
  body #gp-main .gp-home-article-card .gp-home-article-card__favorite .gp-library-button:is(.is-active,[aria-pressed="true"]){
    color:#fff!important;
  }
  body #gp-main .gp-home-article-card .gp-home-article-card__favorite .gp-library-button .gp-library-button__icon,
  body #gp-main .gp-home-article-card .gp-home-article-card__favorite .gp-library-button .gp-library-button__icon svg{
    position:relative!important;z-index:1!important;
  }

  /* The archive had an older 500-weight rule with greater specificity than
     GP989's shared category rule. The category remains a real <a>. */
  body #gp-main .gp-knowledge-archive .gp-knowledge-grid
    .gp-home-article-card a.gp-home-article-topic{
    font-size:12.5px!important;font-weight:740!important;
    line-height:1.4!important;letter-spacing:.025em!important;
    text-decoration:none!important;touch-action:manipulation;
  }
  body #gp-main .gp-home-article-card .gp-home-article-card__body
    :is(a.gp-home-article-topic,h3 a,a.gp-home-article-read){
    position:relative;z-index:2;pointer-events:auto;touch-action:manipulation;
  }
  /* Browsers with touch-hover emulation must not move a clickable card
     on the first tap and require the visitor to tap its link again. */
}
@media(max-width:599px) and (hover:none){
  body #gp-main .gp-home-article-card:hover{transform:none!important}
  body #gp-main .gp-home-article-card:hover .gp-home-article-card__media img{
    transform:none!important;
  }
}

/* Center the editorial arrows on the *picture*, not a percentage of the
   entire article card (which varies with title and excerpt length). */
@media(max-width:599px){
  body #gp-main.gp-home--v3 .gp-home-article-carousel>.gp-home-rail-nav{
    top:var(--gp-editorial-nav-top,28%)!important;
  }
}

/* Only on the mobile home product carousel: natural card heights avoid a
   blank area below the CTA when a taller adjacent product shares the row.
   The viewport follows the current card without changing the catalog grid. */
@media(max-width:599px){
  body #gp-main.gp-home--v3 .gp-home-product-grid--4.gp-product-list{
    align-items:start!important;
  }
  body #gp-main.gp-home--v3 .gp-home-product-slot,
  body #gp-main.gp-home--v3 .gp-home-product-slot>.gp-product-loop-card{
    height:auto!important;min-height:0!important;
  }
  body #gp-main.gp-home--v3 .gp-home-product-slot>.gp-product-loop-card{
    grid-template-rows:auto auto auto!important;
  }
  body #gp-main.gp-home--v3 .gp-home-products-viewport{
    transition:height .15s ease-out;
  }
  body #gp-main.gp-home--v3 .gp-home-products-viewport
    :is(.gp-product-loop-price .gp-product-loop-package,.gp-product-loop-delivery){
    font-size:11px!important;font-weight:500!important;
    line-height:1.25!important;
  }
}

/* Mobile hero/promise junction: the hero's bottom border sat directly on
   the promise strip's top border, producing a 2px-looking seam. */
@media(max-width:599px){
  body #gp-main .gp-product-archive>.gp-product-catalog-hero{
    border-bottom:0!important;
  }
  body #gp-main .gp-product-archive>.gp-product-promise403{
    border-top:1px solid #dce6df!important;
    border-bottom:1px solid #dce6df!important;
  }
}

/* A single typography specification for the native sort and the filter
   button.  A discreet sage counter is centered optically and numerically. */
@media(max-width:704px){
  body #gp-main .gp-product-archive .gp-directory-toolbar-controls
    :is(.gp-directory-sort select,.gp-directory-sort option,
        .gp-directory-mobile-filter,.gp-directory-mobile-filter>span){
    font-family:var(--gp-font,system-ui,sans-serif)!important;
    font-size:14px!important;font-weight:600!important;
    line-height:1.35!important;letter-spacing:0!important;
    font-synthesis:none!important;
  }
  body #gp-main .gp-product-archive .gp-directory-toolbar-filter>svg{
    width:17px!important;height:17px!important;stroke-width:1.65!important;
  }
  body #gp-main .gp-product-archive .gp-directory-toolbar-filter>small[data-gp-mobile-filter-count]{
    box-sizing:border-box!important;display:grid!important;place-items:center!important;
    flex:0 0 20px!important;width:20px!important;height:20px!important;
    min-width:20px!important;min-height:20px!important;
    padding:0!important;border:1px solid #bfd4c2!important;
    border-radius:50%!important;background:#eaf3e9!important;color:#28583e!important;
    font:700 11px/1 var(--gp-font,system-ui,sans-serif)!important;
    text-align:center!important;letter-spacing:0!important;
    font-variant-numeric:tabular-nums!important;
  }
  body #gp-main .gp-product-archive .gp-directory-toolbar-filter>small[hidden]{
    display:none!important;
  }
}

/* GP992: article-card zoom belongs to the photograph, never to the complete
   price-and-buttons layout. The wrapper avoids nesting a button inside a link. */
.gp-product-row897 .gp-article-product896__media{
  position:relative;display:block;flex:0 0 auto;min-width:0;width:100%;
}
.gp-product-row897 .gp-article-product896__media>.gp-article-product896__image{
  display:flex;width:100%;
}
.gp-article-product896__media>.gp-card-zoom983-trigger{top:auto;right:9px;bottom:9px}
@media(max-width:599px){
  body .gp-article-product896__media>.gp-card-zoom983-trigger{
    top:auto!important;right:9px!important;bottom:9px!important;
    box-sizing:border-box!important;width:27px!important;height:27px!important;
    min-width:27px!important;min-height:27px!important;
    padding:0!important;border-radius:50%!important;
  }
  body .gp-article-product896__media>.gp-card-zoom983-trigger svg{
    display:block!important;width:13px!important;height:13px!important;
  }
  /* Keep recommendation calls to action in the same compact height family. */
  body.single-post .gp-knowledge-article .gp-product-row897 .gp-article-product896__cta{
    box-sizing:border-box!important;min-height:46px!important;height:auto!important;
    padding:10px 11px!important;border-radius:11px!important;
    font-size:13px!important;line-height:1.28!important;
  }
  body.single-post .gp-knowledge-article .gp-product-row897 .gp-article-product896__bottom{
    gap:8px!important;padding-top:8px!important;
  }
  body.single-post .gp-knowledge-article .gp-product-row897 .gp-card-coupon888{
    grid-template-columns:minmax(0,max-content) 23px 23px minmax(0,1fr)!important;
    column-gap:0!important;row-gap:7px!important;
  }
  /* Last article note should be as close to the newsletter as other panels. */
  body.single-post .gp-single-main.gp-shell{padding-bottom:12px!important}
  body.single-post .gp-knowledge-article .gp-article-source-basis{
    margin-bottom:0!important;
  }
  /* The sources section itself already has its own heading and rhythm. The
     extra border below the sharing box looked like an unrelated divider. */
  body.single-post .gp-knowledge-article .gp-article-sources{
    border-top:0!important;margin-top:12px!important;padding-top:12px!important;
  }
  /* Product breadcrumb: only home, catalogue and the current item remain.
     Every visible ancestor is a genuine link; no orphaned category/new row. */
  body.single-gp_product .gp-breadcrumbs--product991 .gp-breadcrumb-item:nth-child(3){display:none!important}
  body.single-gp_product .gp-breadcrumbs--product991 .gp-breadcrumb-list{
    flex-wrap:nowrap!important;gap:6px!important;white-space:nowrap!important;
  }
  body.single-gp_product .gp-breadcrumbs--product991 .gp-breadcrumb-item{flex:0 0 auto}
  body.single-gp_product .gp-breadcrumbs--product991 .gp-breadcrumb-item:last-child{
    flex:0 1 auto;overflow:hidden;min-width:0;
  }
  body.single-gp_product .gp-breadcrumbs--product991 .gp-breadcrumb-item:last-child>span{
    max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  }
}
@media(max-width:399px){
  body.single-gp_product .gp-breadcrumbs--product991 .gp-breadcrumb-item:first-child a>span:not(.gp-breadcrumb-home-icon){
    position:absolute!important;width:1px!important;height:1px!important;
    margin:-1px!important;overflow:hidden!important;clip-path:inset(50%);
  }
}
/* Desktop only: the article-card heart is a touch smaller but retains a
   visually complete circle and consistent padding from the picture edge. */
@media(min-width:769px){
  body #gp-main.gp-home--v3 .gp-home-article-card__favorite .gp-library-button{
    width:33px!important;height:33px!important;min-width:33px!important;min-height:33px!important;
  }
  body #gp-main.gp-home--v3 .gp-home-article-card__favorite .gp-library-button svg{
    width:15px!important;height:15px!important;
  }
}

/* GP992 mobile universal search: complete product names + a calm price/action
   column and a full-width, single-line fact strip below each result. */
.gp992-search-facts{display:none}
@media(max-width:38rem){
  body .gp-search-panel .gp-search-option--products{
    grid-template-columns:2.5rem minmax(0,1fr) 6.2rem!important;
    column-gap:.5rem!important;row-gap:.48rem!important;
    padding:.62rem .36rem .55rem!important;align-items:start!important;
  }
  body .gp-search-panel .gp-search-option--products .gp-search-option__media{
    grid-column:1!important;grid-row:1!important;align-self:start!important;
  }
  body .gp-search-panel .gp-search-option--products .gp-search-option__body{
    grid-column:2!important;grid-row:1!important;align-self:start!important;
  }
  body .gp-search-panel .gp-search-option--products .gp-search-option__title-wrap .gp-search-option__title,
  body .gp-search-panel .gp-search-option--products .gp-search-option__title-wrap:has(.gp947-search-ellipsis:not([hidden])) .gp-search-option__title{
    display:block!important;max-height:none!important;overflow:visible!important;
    padding:0!important;-webkit-line-clamp:unset!important;line-clamp:unset!important;
    font-size:13px!important;line-height:1.32!important;text-wrap:pretty;
  }
  body .gp-search-panel .gp-search-option--products .gp-search-option__excerpt,
  body .gp-search-panel .gp-search-option--products .gp-search-option__detail-row{
    display:none!important;
  }
  body .gp-search-panel .gp-search-option--products .gp-search-option__aside{
    grid-column:3!important;grid-row:1!important;align-self:start!important;
    width:100%!important;max-width:none!important;
    gap:.46rem!important;align-items:flex-end!important;
  }
  body .gp-search-panel .gp-search-option--products .gp-search-option__price{
    margin:0!important;font-size:13.5px!important;line-height:1.32!important;
  }
  body .gp-search-panel .gp-search-option--products .gp-search-option__actions{
    display:flex!important;flex-wrap:nowrap!important;align-items:center!important;
    justify-content:flex-end!important;gap:5px!important;
  }
  body .gp-search-panel .gp-search-option--products .gp-search-option__actions button.gp-search-option__action{
    box-sizing:border-box!important;display:grid!important;place-items:center!important;
    flex:0 0 27px!important;width:27px!important;height:27px!important;
    min-width:27px!important;min-height:27px!important;
    max-width:27px!important;max-height:27px!important;
    padding:0!important;border-radius:8px!important;
  }
  body .gp-search-panel .gp-search-option--products .gp-search-option__actions button.gp-search-option__action svg{
    width:15px!important;height:15px!important;
  }
  body .gp-search-panel .gp-search-option--products .gp-search-option__actions .gp947-search-ellipsis{
    position:relative!important;inset:auto!important;transform:none!important;
    border-radius:50%!important;
  }
  body .gp-search-panel .gp-search-option--products .gp992-search-facts{
    grid-column:1 / -1!important;grid-row:2!important;
    box-sizing:border-box;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));
    width:100%;gap:0;align-items:center;padding:6px 0 0;
    border-top:1px solid #edf1ed;color:#536a5f;
    font:550 10.5px/1.3 var(--gp-font,system-ui,sans-serif);
  }
  body .gp-search-panel .gp992-search-facts>span{
    display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;
    white-space:nowrap;text-align:center;padding:0 5px;
  }
  body .gp-search-panel .gp992-search-facts>span:first-child{padding-left:0;text-align:left}
  body .gp-search-panel .gp992-search-facts>span:last-child{padding-right:0;text-align:right}
  body .gp-search-panel .gp992-search-facts>span+span{border-left:1px solid #e3ebe5}
}
@media(hover:hover) and (pointer:fine){
  :is([data-gp-topics-viewport],[data-gp-editorial-viewport],[data-gp-products-viewport],
      [data-gp-category-track],.gp-product-row897__grid,
      .gp-pd236-carousel>.gp-product-related-products,
      .gp-pd236-carousel>.gp-product-related-articles):not(.gp992-is-dragging){cursor:grab}
  .gp992-is-dragging,.gp992-is-dragging *{
    cursor:grabbing!important;user-select:none!important;-webkit-user-select:none!important;
  }
}

/* GP993: restore both working filter drawers. The initial mobile skeleton
   previously set display:none with an ID selector, so toggling visibility
   and transform alone opened the backdrop but never revealed the filters. */
@media(max-width:1024px){
  body #gp-main :is(.gp-product-archive .gp-directory-sidebar.gp-archive-filter-panel,
      .gp-knowledge-archive .gp-knowledge-sidebar.gp-archive-filter-panel)[popover]:not(:popover-open),
  body #gp-main :is(.gp-product-archive,.gp-knowledge-archive)
      .gp-directory-backdrop[popover]:not(:popover-open){display:none!important}
  body #gp-main :is(.gp-product-archive .gp-directory-sidebar.gp-archive-filter-panel.is-open,
      .gp-knowledge-archive .gp-knowledge-sidebar.gp-archive-filter-panel.is-open){
    box-sizing:border-box!important;display:flex!important;
    position:fixed!important;inset:0 auto 0 0!important;
    width:min(93vw,390px)!important;max-width:100vw!important;
    height:100dvh!important;max-height:100dvh!important;
    margin:0!important;padding:0!important;z-index:10040!important;
    visibility:visible!important;opacity:1!important;pointer-events:auto!important;
    transform:none!important;overflow:hidden!important;
    border-radius:0 15px 15px 0!important;background:#fff!important;
    box-shadow:12px 0 34px rgba(32,64,46,.18)!important;
  }
  body #gp-main :is(.gp-product-archive,.gp-knowledge-archive)
      .gp-directory-backdrop.is-open{
    box-sizing:border-box!important;display:block!important;
    position:fixed!important;inset:0!important;width:100vw!important;
    height:100dvh!important;margin:0!important;padding:0!important;
    border:0!important;border-radius:0!important;z-index:10030!important;
    background:rgba(22,43,33,.38)!important;box-shadow:none!important;
    visibility:visible!important;pointer-events:auto!important;
  }
  /* A popover is moved into the browser top layer but remains in its
     original DOM location: archive listeners, form state and focus stay intact. */
  body #gp-main [data-gp-directory-sidebar]:popover-open{overscroll-behavior:contain}
}

/* Header grid and logo constraints; icon sizes are centralized below. */
@media(max-width:599px){
  body .gp-hf-header>.gp-hf-inner{column-gap:8px!important;min-width:0!important}
}
@media(max-width:359px){
  body .gp-hf-header .gp-hf-logo{width:clamp(115px,39vw,132px)!important}
}

/* GP997: one 12px breathing space above and below the knowledge quick search.
   Apply to direct siblings, not the generic mobile bar shared by products. */
@media(max-width:704px){
  body #gp-main .gp-knowledge-archive .gp-knowledge-main>.gp-knowledge-strip{
    padding-bottom:0!important;margin-bottom:0!important;
  }
  body #gp-main .gp-knowledge-archive .gp-knowledge-strip__chips{margin-bottom:0!important}
  body #gp-main .gp-knowledge-archive .gp-knowledge-main>.gp-directory-mobile-bar--knowledge{
    box-sizing:border-box!important;margin:0!important;
    padding:12px var(--gp-archive-gutter) 12px!important;
  }
  body #gp-main .gp-knowledge-archive .gp-knowledge-toolbar{
    padding-top:12px!important;
  }
}

/* Article footnote -> footer: a consistent 18–20px measure rather than a
   cramped final line or a floating gap after "Alle Quellen anzeigen". */
@media(max-width:599px){
  body.single-post #gp-main .gp-knowledge-article .gp-article-source-basis{
    margin-top:16px!important;padding-top:14px!important;margin-bottom:0!important;
  }
  body.single-post #gp-main .gp-knowledge-article .gp-article-sources .gp-source-toggle{
    margin-bottom:0!important;
  }
  body.single-post #gp-main.gp-single-main.gp-shell{padding-bottom:20px!important}
}

/* Desktop last-slide: the panel's right outline should not disappear behind
   clipped carousel content or the disabled navigation button. */
@media(min-width:897px){
  body #gp-main.gp-home--v3 .gp-home-categories{isolation:isolate}
  body #gp-main.gp-home--v3 .gp-home-categories::after{
    content:'';position:absolute;inset:0;z-index:2;pointer-events:none;
    border-radius:inherit;box-shadow:inset 0 0 0 1px #d8e3e5;
  }
  body #gp-main.gp-home--v3 .gp-home-topics-carousel>.gp-home-rail-nav--next{
    right:0!important;
  }
}

/* Loop-card finishing: keep both taps accessible but visually flatter. */
@media(max-width:599px){
  body.single-post .gp-knowledge-article .gp-product-row897 .gp-article-product896__cta{
    min-height:44px!important;padding:7px 10px!important;line-height:1.25!important;
  }
  body.single-post .gp-knowledge-article .gp-product-row897 .gp-article-product896__bottom{
    gap:7px!important;padding-top:7px!important;
  }
}

/* GP995 – single canonical mobile header. All five actions are rendered by
   header.php on every template; never size them according to page content.
   Sizes match the approved Gesundheitswissen reference. */
@media(max-width:599px){
  .gp-hf-header{
    --gp-mobile-action-box:26px;
    --gp-mobile-action-icon:14px;
    --gp-mobile-action-gap:3px;
  }
  .gp-hf-header>.gp-hf-inner{
    box-sizing:border-box!important;display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;gap:6px!important;
    width:calc(100% - .6rem)!important;max-width:none!important;
    min-height:60px!important;margin:0 auto!important;padding:5px 10px!important;
  }
  .gp-hf-header .gp-hf-logo{
    width:clamp(132px,37vw,154px)!important;
    max-width:100%!important;min-width:0!important;
  }
  .gp-hf-header .gp-hf-actions{
    display:flex!important;align-items:center!important;justify-content:flex-end!important;
    flex-wrap:nowrap!important;gap:var(--gp-mobile-action-gap)!important;min-width:0!important;
    margin:0!important;padding:0!important;
  }
  .gp-hf-header .gp-hf-actions .gp-library-header-actions{
    display:flex!important;align-items:center!important;
    flex:0 0 auto!important;gap:var(--gp-mobile-action-gap)!important;
    margin:0!important;padding:0!important;
  }
  .gp-hf-header .gp-hf-actions :is(.gp-hf-action,.gp-library-header-link,.gp-hf-menu-button){
    box-sizing:border-box!important;position:relative!important;
    display:grid!important;place-items:center!important;
    flex:0 0 var(--gp-mobile-action-box)!important;
    width:var(--gp-mobile-action-box)!important;height:var(--gp-mobile-action-box)!important;
    min-width:var(--gp-mobile-action-box)!important;min-height:var(--gp-mobile-action-box)!important;
    max-width:var(--gp-mobile-action-box)!important;max-height:var(--gp-mobile-action-box)!important;
    padding:0!important;margin:0!important;border-radius:8px!important;
    align-self:center!important;line-height:1!important;transform:none!important;box-shadow:none!important;
  }
  .gp-hf-header .gp-hf-actions :is(.gp-hf-action,.gp-library-header-link)>img.gp-site-illustration,
  .gp-hf-header .gp-hf-actions :is(.gp-hf-action,.gp-library-header-link,.gp-hf-menu-button)>svg{
    box-sizing:border-box!important;display:block!important;
    width:var(--gp-mobile-action-icon)!important;height:var(--gp-mobile-action-icon)!important;
    min-width:var(--gp-mobile-action-icon)!important;min-height:var(--gp-mobile-action-icon)!important;
    max-width:var(--gp-mobile-action-icon)!important;max-height:var(--gp-mobile-action-icon)!important;
    margin:auto!important;object-fit:contain!important;transform:none!important;
  }
  .gp-hf-header .gp-hf-actions :is(.gp-hf-action,.gp-library-header-link,.gp-hf-menu-button):is(:hover,:focus-visible){
    transform:none!important;
  }
  .gp-hf-header .gp-hf-actions .gp-hf-action--quick{display:grid!important}
}
@media(max-width:359px){
  .gp-hf-header{--gp-mobile-action-gap:2px}
  .gp-hf-header .gp-hf-logo{width:clamp(115px,39vw,132px)!important}
}

/* GP996 — compact, aligned product previews. Full names and a two-line
   description lead; the supplier facts remain in their own quiet strip. */
@media(max-width:599px){
  body .gp636-search-portal .gp539-suggest-entry{
    grid-template-columns:minmax(0,1fr) 70px!important;
    grid-template-areas:'product actions' 'facts facts'!important;
    column-gap:8px!important;row-gap:9px!important;
    padding:11px 5px!important;align-items:start!important;
  }
  body .gp636-search-portal .gp539-suggest-main,
  body .gp636-search-portal .gp539-suggest-main:is(:hover,:focus-visible),
  body .gp636-search-portal .gp539-suggest-main strong{
    text-decoration:none!important;text-decoration-line:none!important;
    text-decoration-thickness:auto!important;
  }
  body .gp636-search-portal .gp539-suggest-info{gap:4px!important;min-width:0!important}
  body .gp636-search-portal .gp539-suggest-info strong{
    display:block!important;overflow:visible!important;max-height:none!important;
    -webkit-line-clamp:unset!important;line-clamp:unset!important;
    color:#244b40!important;font-size:12.6px!important;line-height:1.34!important;
    overflow-wrap:break-word!important;word-break:normal!important;hyphens:none!important;
    text-shadow:none!important;border:0!important;box-shadow:none!important;
  }
  body .gp636-search-portal .gp539-suggest-info .gp539-suggest-meta{display:none!important}
  body .gp636-search-portal .gp539-suggest-info .gp539-suggest-description{
    display:-webkit-box!important;-webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;line-clamp:2!important;
    white-space:normal!important;overflow:hidden!important;text-overflow:ellipsis!important;
    height:auto!important;max-height:2.8em!important;min-height:0!important;
    margin:0!important;padding:0!important;color:#63776c!important;
    font-size:11.2px!important;line-height:1.4!important;font-weight:450!important;
    overflow-wrap:break-word!important;
  }
  body .gp636-search-portal .gp539-suggest-thumb{width:40px!important;height:40px!important}
  body .gp636-search-portal .gp539-suggest-side{gap:9px!important}
  body .gp636-search-portal .gp539-suggest-price{
    font-size:13px!important;font-weight:720!important;line-height:1.3!important;
  }
  body .gp636-search-portal .gp539-suggest-actions{gap:4px!important}
  body .gp636-search-portal .gp539-suggest-actions .gp-library-button.gp591-icon-action,
  body .gp636-search-portal .gp539-suggest-actions .gp991-date-action{
    box-sizing:border-box!important;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;
    padding:0!important;border-radius:6px!important;
  }
  body .gp636-search-portal .gp539-suggest-actions .gp-library-button.gp591-icon-action>svg{
    width:11px!important;height:11px!important;
  }
  body .gp636-search-portal .gp539-suggest-actions .gp991-info-glyph{font-size:11px!important}
  body .gp636-search-portal .gp539-suggest-facts-mobile{
    grid-template-columns:minmax(0,.91fr) minmax(0,1fr) minmax(0,1.12fr)!important;
    padding-top:7px!important;border-top:1px solid #e2ebe5!important;
    font-size:10px!important;font-variant-numeric:tabular-nums!important;
  }
  body .gp636-search-portal .gp539-suggest-facts-mobile>span:last-child{
    justify-content:flex-end!important;text-align:right!important;
  }
  body .gp636-search-portal .gp539-suggest-facts-mobile .gp539-suggest-info-icon{display:none!important}
}

/* GP994 — one light, consistent border on the desktop home panels and every
   topic card. Hover may change color, but must not shift/clamp the 1px edge. */
@media(min-width:897px){
  body #gp-main.gp-home--v3 :is(.gp-home-categories.gp-home-panel,.gp-home-editorial.gp-home-panel){
    border:1px solid #d9e6df!important;box-shadow:none!important;
  }
  body #gp-main.gp-home--v3 .gp-home-categories::after{content:none!important;box-shadow:none!important}
  body #gp-main.gp-home--v3 .gp-home-topics-viewport{
    box-sizing:border-box!important;padding:3px 6px 4px!important;
    scroll-padding-inline:6px!important;
  }
  body #gp-main.gp-home--v3 .gp-home-category-grid--topics-refined .gp-home-category-card,
  body #gp-main.gp-home--v3 .gp-home-category-grid--topics-refined .gp-home-category-card:hover{
    box-sizing:border-box!important;border:1px solid #d9e6df!important;
    transform:none!important;box-shadow:none!important;
  }
  body #gp-main.gp-home--v3 .gp-home-category-grid--topics-refined .gp-home-category-card:last-child{
    margin-right:3px!important;
  }
}

/* GP999 – one shared filter rhythm. Last filter section has no trailing line;
   the only action separator appears ABOVE the two bottom buttons. Both archives use
   identical inset, row height, heading hierarchy and reset button icon. */
@media(max-width:1024px){
  body #gp-main :is(.gp-product-archive,.gp-knowledge-archive) .gp-archive-filter-panel{
    --gp-filter-line:#dae5dd;--gp-filter-control:#d4e1d9;
  }
  body #gp-main :is(.gp-product-archive,.gp-knowledge-archive) .gp-archive-filter-panel
    :is(.gp-directory-filter-scrollbody,.gp-knowledge-filter-scrollbody){
    box-sizing:border-box!important;min-height:0!important;
    padding:14px 16px 0!important;
    scrollbar-gutter:stable!important;overscroll-behavior-y:contain;
  }
  body #gp-main .gp-product-archive .gp-archive-filter-panel .gp520-commercial-filters{
    margin:0!important;padding:0!important;border:0!important;
  }
  body #gp-main :is(.gp-product-archive,.gp-knowledge-archive) .gp-archive-filter-panel
    :is(.gp-directory-filter-group,.gp-knowledge-filter-group){
    margin:0!important;padding:9px 0 10px!important;
    border-top:0!important;border-bottom:1px solid var(--gp-filter-line)!important;
    box-shadow:none!important;
  }
  /* End a section with the reset action itself, not an orphan separator. */
  body #gp-main .gp-knowledge-archive .gp-archive-filter-panel .gp-knowledge-filter-group:last-of-type,
  body #gp-main .gp-product-archive .gp-archive-filter-panel .gp-product-filter-fields>.gp-directory-filter-group:last-of-type{
    padding-bottom:4px!important;border-bottom:0!important;
  }
  body #gp-main :is(.gp-product-archive,.gp-knowledge-archive) .gp-archive-filter-panel
    :is(.gp-directory-filter-group,.gp-knowledge-filter-group)>summary{
    box-sizing:border-box!important;min-height:34px!important;
    margin:0!important;padding:0!important;
    font-size:14px!important;font-weight:650!important;line-height:1.35!important;
  }
  body #gp-main :is(.gp-product-archive,.gp-knowledge-archive) .gp-archive-filter-panel
    :is(.gp-directory-filter-options,.gp-knowledge-filter-options){
    margin:0!important;padding:5px 0 1px!important;
  }
  body #gp-main .gp-product-archive .gp-archive-filter-panel
    :is(.gp-directory-check,.gp520-family-head .gp-directory-check,.gp-directory-check.is-parent-category),
  body #gp-main .gp-knowledge-archive .gp-archive-filter-panel .gp-knowledge-filter-option{
    box-sizing:border-box!important;min-height:38px!important;
    margin:0!important;padding:5px 4px!important;
    line-height:1.35!important;font-size:13px!important;
  }
  body #gp-main .gp-product-archive .gp-archive-filter-panel .gp520-subcategory-toggle{
    box-sizing:border-box!important;height:40px!important;min-height:40px!important;
  }
  body #gp-main .gp-product-archive .gp-archive-filter-panel .gp520-family-head{
    min-height:40px!important;
  }
  body #gp-main .gp-product-archive .gp-archive-filter-panel .gp520-price-presets{
    margin-top:8px!important;gap:7px!important;
  }
  body #gp-main .gp-product-archive .gp-archive-filter-panel .gp520-price-presets button{
    min-height:39px!important;
  }
  body #gp-main .gp-product-archive .gp-archive-filter-panel .gp520-price-inputs input{
    -moz-appearance:textfield;appearance:textfield;
  }
  body #gp-main .gp-product-archive .gp-archive-filter-panel .gp520-price-inputs input::-webkit-inner-spin-button,
  body #gp-main .gp-product-archive .gp-archive-filter-panel .gp520-price-inputs input::-webkit-outer-spin-button{
    -webkit-appearance:none;margin:0;
  }
  body #gp-main :is(.gp-product-archive,.gp-knowledge-archive) .gp-archive-filter-panel
    :is(.gp-directory-filter-actions,.gp-knowledge-filter-actions){
    position:static!important;margin:7px 0 0!important;padding:10px 0 0!important;
    border:0!important;border-top:1px solid var(--gp-filter-line)!important;
    background:transparent!important;box-shadow:none!important;
  }
  body #gp-main :is(.gp-product-archive,.gp-knowledge-archive) .gp-archive-filter-panel
    .gp-filter-reset-button{
    box-sizing:border-box!important;display:flex!important;align-items:center!important;
    justify-content:center!important;gap:9px!important;
    width:100%!important;min-height:42px!important;
    padding:8px 12px!important;margin:0!important;
    border:1px solid #d5e4da!important;border-radius:11px!important;
    background:#fff!important;color:#315d46!important;font-size:13px!important;
    font-weight:620!important;line-height:1.3!important;box-shadow:none!important;
  }
  body #gp-main :is(.gp-product-archive,.gp-knowledge-archive) .gp-archive-filter-panel
    .gp-filter-reset-button svg{
    display:block!important;flex:0 0 15px!important;width:15px!important;height:15px!important;
    fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;
    stroke-linecap:round!important;stroke-linejoin:round!important;
  }
  body #gp-main :is(.gp-product-archive,.gp-knowledge-archive) .gp-archive-filter-panel
    .gp-filter-reset-button:is(:hover,:focus-visible){
    background:#f4f8f5!important;border-color:#bfd3c5!important;
  }
  body #gp-main :is(.gp-product-archive,.gp-knowledge-archive) .gp-archive-filter-panel
    :is(.gp520-mobile-apply,.gp628-mobile-apply){
    padding:5px 16px calc(11px + env(safe-area-inset-bottom,0px))!important;
    border-top:0!important;
  }
}

/* GP1000: the divider belongs to the sort/filter toolbar itself, not the
   following card grid. Its 14px inset clears BOTH controls on narrow screens.
   A single edge serves the knowledge and product directories equally. */
@media(max-width:704px){
  body #gp-main .gp-knowledge-archive .gp-knowledge-grid,
  body #gp-main .gp-product-archive .gp-product-list{
    border-top:0!important;
  }
  body #gp-main .gp-knowledge-archive .gp-knowledge-toolbar,
  body #gp-main .gp-product-archive .gp-directory-main > .gp-directory-toolbar{
    box-sizing:border-box!important;
    padding-bottom:14px!important;
    border-bottom:1px solid #d9e6de!important;
  }
}

/* GP994 — shared catalogue/article image viewer: the single-product viewer
   already offers rotate, contrast and fullscreen; keep those controls here
   too, with a restrained one-line action tray when space allows. */
.gp-card-zoom983-toolbar{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:8px;align-items:center}
.gp-card-zoom983-toolbar strong{flex:1 1 auto;min-width:0;max-width:180px;font-size:12px;white-space:nowrap}
.gp-card-zoom983-toolbar-actions{display:flex;flex:0 0 auto;justify-content:flex-end;align-items:center;gap:5px;min-width:0}
.gp-card-zoom983-toolbar-actions button{
  box-sizing:border-box;display:grid;place-items:center;
  flex:0 0 34px;min-width:34px;min-height:34px;height:34px;
  padding:0;border:1px solid #d8e5dc;border-radius:9px;
  background:#f7faf8;color:#315d49;font:650 17px/1 var(--gp-font,system-ui,sans-serif);
}
.gp-card-zoom983-toolbar-actions button svg{
  display:block;width:16px;height:16px;flex:none;pointer-events:none;
}
.gp-card-zoom983-toolbar-actions button[data-gp-zoom-action983="reset"]{
  flex-basis:50px;min-width:50px;font-size:12px;
}
.gp-card-zoom983-toolbar-actions button:is([aria-pressed="true"],:hover){background:#e7f1e9;border-color:#adcbb5}
.gp-card-zoom983-dialog.is-high-contrast .gp-card-zoom983-stage{background:#263a31!important}
.gp-card-zoom983-dialog:fullscreen{width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;border-radius:0!important}
@media(max-width:599px){
  .gp-card-zoom983-dialog[open]{padding:9px!important}
  .gp-card-zoom983-toolbar{min-height:38px!important;padding:0 0 6px!important;gap:5px!important}
  .gp-card-zoom983-toolbar strong{flex:1 1 42px;font-size:11px;max-width:72px}
  .gp-card-zoom983-toolbar-actions{gap:3px!important;flex-wrap:nowrap}
  .gp-card-zoom983-toolbar-actions button{
    flex-basis:30px!important;min-width:30px!important;min-height:30px!important;
    width:30px!important;height:30px!important;padding:0!important;
    border-radius:7px!important;font-size:15px!important;
  }
  .gp-card-zoom983-toolbar-actions button svg{width:15px;height:15px}
  .gp-card-zoom983-toolbar-actions button[data-gp-zoom-action983="reset"]{
    flex-basis:43px!important;min-width:43px!important;width:43px!important;font-size:11px!important;
  }
}
@media(max-width:359px){
  .gp-card-zoom983-toolbar{flex-wrap:wrap!important;justify-content:flex-end}
  .gp-card-zoom983-toolbar strong{max-width:none;flex-basis:100%;line-height:1.2}
  .gp-card-zoom983-toolbar-actions{width:100%;justify-content:flex-end}
}
