/* GP966 – dual product-card actions. One shared pattern on homepage,
   catalog grid/list and AJAX replacements, related cards and Ratgeber cards.
   Internal detail actions never carry affiliate tracking attributes. */
body #gp-main .gp-product-archive .gp-product-list .gp-product-loop-main-actions.gp-card-dual-actions966 {
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,120px),1fr))!important;
  align-items:stretch!important;
  gap:clamp(6px,.6vw,10px)!important;
  width:100%!important;
  min-width:0!important;
}
body #gp-main .gp-product-archive .gp-product-list .gp-product-loop-main-actions.gp-card-dual-actions966 > .gp-product-loop-button {
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  min-height:46px!important;
  height:100%!important;
  margin:0!important;
  padding:9px 5px!important;
  border-radius:11px!important;
  font-size:clamp(10.5px,.78vw + 4px,13px)!important;
  font-weight:750!important;
  line-height:1.18!important;
  text-align:center!important;
  white-space:normal!important;
  word-break:normal!important;
  hyphens:none!important;
  text-decoration:none!important;
}
body #gp-main .gp-product-archive .gp-product-list .gp-product-loop-main-actions.gp-card-dual-actions966 > .gp-card-details966,
body #gp-main .gp-product-archive .gp-product-list .gp-product-loop-main-actions.gp-card-dual-actions966 > .gp-card-details966:visited {
  order:0!important;
  background:#f8fbf8!important;
  color:#285744!important;
  border:1px solid #bbd4c2!important;
  box-shadow:none!important;
}
body #gp-main .gp-product-archive .gp-product-list .gp-product-loop-main-actions.gp-card-dual-actions966 > .gp-card-details966:is(:hover,:focus-visible) {
  background:#eaf4ed!important;
  border-color:#77a987!important;
  color:#194a33!important;
}
body #gp-main .gp-product-archive .gp-product-list .gp-product-loop-main-actions.gp-card-dual-actions966 > .gp-product-loop-button--provider {
  order:1!important;
  background:var(--gp-action-green,#55933b)!important;
  border:1px solid var(--gp-action-green,#55933b)!important;
  color:#fff!important;
}
body #gp-main .gp-product-archive .gp-product-list .gp-product-loop-main-actions.gp-card-dual-actions966 > .gp-product-loop-button--provider:is(:hover,:focus-visible) {
  background:var(--gp-action-green-dark,#427d30)!important;
  border-color:var(--gp-action-green-dark,#427d30)!important;
  color:#fff!important;
}
body #gp-main .gp-product-archive .gp-product-list .gp-product-loop-main-actions.gp-card-dual-actions966 .gp-provider-arrow889 {
  display:inline-block!important;
  flex:0 0 12px!important;
  width:12px!important;
  height:12px!important;
}
/* Keyboard visibility is equally important for internal and merchant links. */
body #gp-main .gp-product-archive .gp-product-list .gp-product-loop-main-actions.gp-card-dual-actions966 > a:focus-visible {
  outline:2px solid #235b42!important;
  outline-offset:2px!important;
}
/* Related product recommendations on single product pages. */
.gp-product-detail .gp-product-related-product__actions966 {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:8px;
  margin-top:6px;
}
.gp-product-detail .gp-product-related-product__actions966.has-provider966 { grid-template-columns:repeat(auto-fit,minmax(min(100%,120px),1fr)); }
.gp-product-detail .gp-product-related-product__actions966 .gp-product-related-product__link {
  display:flex;box-sizing:border-box;width:100%;min-width:0;min-height:44px;
  margin:0;padding:8px 5px;justify-content:center;align-items:center;
  border-radius:10px;text-align:center;font-size:clamp(10.5px,.7vw + 4px,13px);
  line-height:1.2;white-space:normal;hyphens:none;
}
.gp-product-detail .gp-product-related-product__actions966.has-provider966 .gp-product-related-product__link--detail966,
.gp-product-detail .gp-product-related-product__actions966.has-provider966 .gp-product-related-product__link--detail966:visited {
  background:#f8fbf8!important;color:#285744!important;border:1px solid #bbd4c2!important;
}
.gp-product-detail .gp-product-related-product__actions966.has-provider966 .gp-product-related-product__link--detail966:is(:hover,:focus-visible) {
  background:#eaf4ed!important;color:#194a33!important;border-color:#77a987!important;
}
.gp-product-detail .gp-product-related-product__actions966 .gp-product-related-product__link--provider966,
.gp-product-detail .gp-product-related-product__actions966 .gp-product-related-product__link--provider966:visited {
  background:var(--gp-action-green,#55933b)!important;color:#fff!important;border:1px solid var(--gp-action-green,#55933b)!important;
}
/* Product recommendations inside editorial Ratgeber cards. */
body .gp-article-body .gp-article-product896__actions966 {
  display:grid;grid-template-columns:minmax(0,1fr);gap:8px;min-width:0;
}
body .gp-article-body .gp-article-product896__actions966.has-provider966 { grid-template-columns:repeat(auto-fit,minmax(min(100%,120px),1fr)); }
body .gp-article-body .gp-article-product896__actions966 .gp-article-product896__cta {
  box-sizing:border-box;display:flex;width:100%;min-width:0;min-height:44px;
  justify-content:center;align-items:center;margin:0;padding:8px 6px;
  font-size:clamp(10.5px,.72vw + 4px,13px);line-height:1.2;
  text-align:center;white-space:normal;hyphens:none;
}
body .gp-article-body .gp-article-product896__actions966.has-provider966 .gp-article-product896__cta--detail966,
body .gp-article-body .gp-article-product896__actions966.has-provider966 .gp-article-product896__cta--detail966:visited {
  color:#285744!important;background:#f8fbf8!important;border:1px solid #bbd4c2!important;
}
body .gp-article-body .gp-article-product896__actions966.has-provider966 .gp-article-product896__cta--detail966:is(:hover,:focus-visible) {
  color:#194a33!important;background:#eaf4ed!important;border-color:#77a987!important;
}
/* GP968 mobile-only: place the breathing room at the user's marked
   boundary (voucher note -> price), NOT mostly below the price. The two
   buttons remain equal-height and their final gap to price stays compact.
   This component serves server-rendered and AJAX cards alike. */
@media (max-width:640px){
  body #gp-main .gp-product-archive .gp-product-list.is-grid-view .gp-product-loop-commerce .gp-card-coupon888 + .gp-product-loop-price {
    margin-top:10px!important;
  }
  body #gp-main .gp-product-archive .gp-product-list.is-grid-view .gp-product-loop-main-actions.gp-card-dual-actions966 {
    margin-top:7px!important;
  }
}
@media (max-width:360px){
  body #gp-main .gp-product-archive .gp-product-list .gp-product-loop-main-actions.gp-card-dual-actions966 > .gp-product-loop-button {font-size:11px!important;}
}
@media (prefers-reduced-motion:reduce){
  .gp-card-dual-actions966 > a {transition:none!important;}
}

/* GP970: deliberate desktop-only breathing room at the three red marks:
   status -> coupon, coupon teaser -> price. Mobile/tablet are unchanged. */
@media (min-width:1025px) {
  body #gp-main .gp-product-archive .gp-product-list.is-grid-view .gp-product-loop-commerce-metadata + .gp-card-coupon888 {
    margin-top:9px!important;
  }
  body #gp-main .gp-product-archive .gp-product-list.is-grid-view .gp-card-coupon888 + .gp-product-loop-price {
    margin-top:9px!important;
  }
}

/* GP982: equal, comfortably readable CTA text on every editorial product card.
   Keep the existing pair of side-by-side buttons and their 44px tap height. */
@media (max-width:640px) {
  body .gp-article-body .gp-article-product896__actions966 .gp-article-product896__cta {
    font-size:14px!important;
    line-height:1.3!important;
    font-weight:700!important;
  }
}
