/* CD-Commerce / Blockbohlenhaus – Zubehör Shop UI */
body.tax-product_cat .products .product,
body.post-type-archive-product .products .product {
  --cd-green:#1D4B2B;
  --cd-light:#F4F6F2;
  --cd-border:#DDE5DE;
  --cd-text:#26332A;
}

/* Product cards */
body.tax-product_cat .products .product .product-wrapper,
body.post-type-archive-product .products .product .product-wrapper {
  background:#fff;
  border:1px solid var(--cd-border);
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 3px 14px rgba(29,75,43,.07);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
  height:100%;
}
body.tax-product_cat .products .product .product-wrapper:hover,
body.post-type-archive-product .products .product .product-wrapper:hover {
  transform:translateY(-3px);
  border-color:rgba(29,75,43,.28);
  box-shadow:0 9px 24px rgba(29,75,43,.12);
}
body.tax-product_cat .products .product .product-element-top,
body.post-type-archive-product .products .product .product-element-top {
  background:var(--cd-light);
}
body.tax-product_cat .products .product .product-element-bottom,
body.post-type-archive-product .products .product .product-element-bottom {
  padding:16px 16px 18px;
}
body.tax-product_cat .products .product .wd-entities-title,
body.post-type-archive-product .products .product .wd-entities-title {
  color:var(--cd-text);
  font-weight:700;
  line-height:1.35;
}
body.tax-product_cat .products .product .price,
body.post-type-archive-product .products .product .price {
  color:var(--cd-green);
  font-weight:800;
}

/* Buttons incl. Ausführung wählen */
body.tax-product_cat .products .product .button,
body.post-type-archive-product .products .product .button {
  background:var(--cd-green);
  color:#fff;
  border:1px solid var(--cd-green);
  border-radius:8px;
  min-height:44px;
  padding:11px 16px;
  font-weight:700;
  text-align:center;
  transition:background .2s ease,color .2s ease,transform .2s ease;
}
body.tax-product_cat .products .product .button:hover,
body.post-type-archive-product .products .product .button:hover {
  background:#fff;
  color:var(--cd-green);
  transform:translateY(-1px);
}

/* Shop controls / filter */
body.tax-product_cat .shop-loop-head,
body.post-type-archive-product .shop-loop-head {
  background:var(--cd-light);
  border:1px solid var(--cd-border);
  border-radius:12px;
  padding:12px 16px;
  margin-bottom:24px;
}
body.tax-product_cat .wd-products-per-page a:hover,
body.tax-product_cat .wd-products-per-page a.current-variation,
body.post-type-archive-product .wd-products-per-page a:hover,
body.post-type-archive-product .wd-products-per-page a.current-variation {
  color:var(--cd-green);
}

/* Quick View */
.popup-quick-view .product-image-summary {
  border-radius:14px;
  overflow:hidden;
}
.popup-quick-view .summary {
  color:#26332A;
}
.popup-quick-view .product_title,
.popup-quick-view .price {
  color:#1D4B2B;
}
.popup-quick-view .variations select {
  border:1px solid #CBD8CD;
  border-radius:8px;
  min-height:44px;
  background:#fff;
}
.popup-quick-view .single_add_to_cart_button {
  background:#1D4B2B !important;
  color:#fff !important;
  border-radius:8px !important;
  min-height:46px;
  font-weight:700 !important;
}
.popup-quick-view .single_add_to_cart_button:hover {
  background:#163B22 !important;
}

@media (max-width:767px) {
  body.tax-product_cat .products .product .product-wrapper,
  body.post-type-archive-product .products .product .product-wrapper {
    border-radius:10px;
  }
  body.tax-product_cat .products .product .product-element-bottom,
  body.post-type-archive-product .products .product .product-element-bottom {
    padding:12px 12px 14px;
  }
  body.tax-product_cat .products .product .wd-entities-title,
  body.post-type-archive-product .products .product .wd-entities-title {
    font-size:14px;
  }
  body.tax-product_cat .products .product .button,
  body.post-type-archive-product .products .product .button {
    width:100%;
    min-height:42px;
    padding:10px 8px;
    font-size:13px;
  }
  body.tax-product_cat .shop-loop-head,
  body.post-type-archive-product .shop-loop-head {
    padding:10px 12px;
    margin-bottom:16px;
  }
  .popup-quick-view .summary {
    padding:18px 16px !important;
  }
}
