/* 007a: native Produktkarten auf Startseite und Shopuebersicht. */
body:is(.post-type-archive-product.woocommerce, .home.page) #wrapper #primary ul.products li.product form.wdp-a2-loop-cart {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 12px 0 0;
  max-width: 100%;
  min-width: 0;
}
body:is(.post-type-archive-product.woocommerce, .home.page) #wrapper #primary .wdp-a2-loop-quantity {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  max-width: 100%;
}
body:is(.post-type-archive-product.woocommerce, .home.page) #wrapper #primary .wdp-a2-loop-quantity .quantity {
  margin: 0;
  float: none;
  width: 64px;
  min-width: 0;
}
body:is(.post-type-archive-product.woocommerce, .home.page) #wrapper #primary .wdp-a2-loop-quantity input.qty {
  box-sizing: border-box;
  width: 64px;
  height: 44px;
  margin: 0;
  padding: 6px;
  color: #f5f5f5;
  background: #171c1f;
  border: 1px solid #475258;
  border-radius: 6px;
  text-align: center;
  font-size: 16px;
}
/* Keine doppelten Theme-Schrittbuttons innerhalb der neuen Shop-Auswahl. */
body:is(.post-type-archive-product.woocommerce, .home.page) #wrapper #primary .wdp-a2-loop-quantity .quantity :is(button, input[type="button"]) {
  display: none;
}
body:is(.post-type-archive-product.woocommerce, .home.page) #wrapper #primary button.wdp-a2-loop-step {
  box-sizing: border-box;
  flex: 0 0 44px;
  width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  color: #f5f5f5;
  background: #171c1f;
  border: 1px solid #475258;
  border-radius: 6px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
body:is(.post-type-archive-product.woocommerce, .home.page) #wrapper #primary button.wdp-a2-loop-step[hidden] { display: none; }
body:is(.post-type-archive-product.woocommerce, .home.page) #wrapper #primary button.wdp-a2-loop-step:disabled { opacity: .45; cursor: default; }
body:is(.post-type-archive-product.woocommerce, .home.page) #wrapper #primary .wdp-a2-loop-cart :is(button,input):focus-visible {
  outline: 2px solid #ff7a00;
  outline-offset: 2px;
}
body:is(.post-type-archive-product.woocommerce, .home.page) #wrapper #primary button.wdp-a2-loop-submit {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 12px;
  color: #171c1f;
  background: #ff7a00;
  border: 1px solid #ff7a00;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.35;
  white-space: normal;
}
