/* GP991 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;
  }
  body .gp-hf-header .gp-hf-actions{
    align-items:center!important;gap:3px!important;
  }
  body .gp-hf-header .gp-hf-actions :is(.gp-hf-action,.gp-library-header-link,.gp-hf-menu-button){
    margin-block:0!important;align-self:center!important;
    width:clamp(28px,7.9vw,32px)!important;min-width:clamp(28px,7.9vw,32px)!important;
    height:clamp(28px,7.9vw,32px)!important;min-height:clamp(28px,7.9vw,32px)!important;
    padding:0!important;border-radius:10px!important;
  }
  body .gp-hf-header .gp-hf-actions :is(.gp-hf-action,.gp-library-header-link)>img.gp-site-illustration{
    width:18px!important;height:18px!important;object-fit:contain!important;
  }
  body .gp-hf-header .gp-hf-actions :is(.gp-hf-action,.gp-library-header-link) svg,
  body .gp-hf-header .gp-hf-menu-button svg{
    width:17px!important;height:17px!important;
  }
}
@media(max-width:359px){
  body .gp-hf-header .gp-hf-actions .gp-hf-action--quick{display:none!important}
  body .gp-hf-header .gp-hf-actions :is(.gp-library-header-link,.gp-hf-menu-button){
    width:38px!important;min-width:38px!important;height:38px!important;min-height:38px!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}
  body .gp636-search-portal .gp539-suggest-description{display:none!important}
}

/* 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}
}

/* All five mobile header actions have a smaller visual footprint; the logo
   and the desktop navigation remain unchanged. */
@media(min-width:360px) and (max-width:599px){
  body .gp-hf-header .gp-hf-actions{
    gap:2px!important;
  }
  body .gp-hf-header .gp-hf-actions :is(.gp-hf-action,.gp-library-header-link,.gp-hf-menu-button){
    width:clamp(25px,6.9vw,28px)!important;
    min-width:clamp(25px,6.9vw,28px)!important;
    height:clamp(25px,6.9vw,28px)!important;
    min-height:clamp(25px,6.9vw,28px)!important;
    border-radius:8px!important;
  }
  body .gp-hf-header .gp-hf-actions :is(.gp-hf-action,.gp-library-header-link)>img.gp-site-illustration{
    width:16px!important;height:16px!important;
  }
  body .gp-hf-header .gp-hf-actions :is(.gp-hf-action,.gp-library-header-link,.gp-hf-menu-button) svg{
    width:15px!important;height:15px!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. */

/* All five utilities have one optical baseline, one box size and the same
   content viewport.  The logo and all >=600px navigation are unchanged. */
@media(min-width:360px) and (max-width:599px){
  body .gp-hf-header .gp-hf-actions,
  body .gp-hf-header .gp-library-header-actions{
    display:flex!important;align-items:center!important;gap:3px!important;
  }
  body .gp-hf-header .gp-hf-actions :is(.gp-hf-action,.gp-library-header-link,.gp-hf-menu-button){
    box-sizing:border-box!important;display:grid!important;place-items:center!important;
    flex:0 0 28px!important;width:28px!important;min-width:28px!important;max-width:28px!important;
    height:28px!important;min-height:28px!important;max-height:28px!important;
    padding:0!important;margin:0!important;border-radius:9px!important;
    line-height:1!important;align-self:center!important;
  }
  body .gp-hf-header .gp-hf-actions :is(.gp-hf-action,.gp-library-header-link)>img.gp-site-illustration,
  body .gp-hf-header .gp-hf-actions :is(.gp-hf-action,.gp-library-header-link,.gp-hf-menu-button)>svg{
    display:block!important;flex:none!important;width:16px!important;height:16px!important;
    min-width:16px!important;min-height:16px!important;object-fit:contain!important;
    margin:auto!important;align-self:center!important;justify-self:center!important;
  }
}
@media(min-width:360px) and (max-width:390px){
  body .gp-hf-header .gp-hf-actions,
  body .gp-hf-header .gp-library-header-actions{gap:2px!important}
  body .gp-hf-header .gp-hf-actions :is(.gp-hf-action,.gp-library-header-link,.gp-hf-menu-button){
    flex-basis:26px!important;width:26px!important;min-width:26px!important;
    max-width:26px!important;height:26px!important;min-height:26px!important;max-height:26px!important;
  }
}

/* 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;
  }
}

