/* Shop product cards v2 — alignment only, no `order` overrides.
   Classes emitted by seo/shop-products.php. */
.shop-grid-col { display: flex; }
.shop-grid-col .product-item__outer { width: 100%; }
.shop-grid-col .product-item__inner {
  display: flex; flex-direction: column; height: 100%;
  border: 1px solid #ececec; border-radius: 6px; background: #fff;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.shop-grid-col .product-item__inner:hover {
  border-color: #c9d8cc; box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.shop-grid-col .shop-grid-body {
  display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0;
}
.shop-grid-col .shop-grid-image-wrap > a {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 175px;
}
.shop-grid-col .shop-grid-image {
  max-width: 100%; max-height: 175px; width: auto; height: auto; object-fit: contain;
}
.shop-grid-col .shop-grid-title {
  font-size: 14px; line-height: 1.35; min-height: 2.7em; margin-bottom: 6px !important;
}
.shop-grid-col .shop-grid-title a { display: block; }
.shop-grid-col .prodcut-price { font-size: 17px; font-weight: 600; color: #1a1a1a; }
.shop-grid-col .shop-wholesale-card { margin-top: auto; padding-top: 8px; }
.shop-grid-col .shop-wholesale-mode {
  border: 1px solid #ddd; border-radius: 4px; overflow: hidden; display: flex;
}
.shop-grid-col .shop-wholesale-mode-btn {
  flex: 1 1 0; border: 0; background: #fff; padding: 3px 6px;
  font-size: 11px; line-height: 1.6; cursor: pointer; color: #444;
}
.shop-grid-col .shop-wholesale-mode-btn.active {
  background: #33b35a; color: #fff; font-weight: 600;
}
.shop-grid-col .shop-wholesale-row {
  display: flex; align-items: center; gap: 4px; margin-top: 6px;
}
.shop-grid-col .shop-wholesale-step-btn {
  flex: 0 0 26px; height: 26px; display: flex; align-items: center;
  justify-content: center; border: 1px solid #ddd; border-radius: 4px;
  color: #333; text-decoration: none;
}
.shop-grid-col .shop-wholesale-step-btn:hover { background: #f4f4f4; }
.shop-grid-col .shop-wholesale-qty-input {
  flex: 1 1 auto; width: 100%; min-width: 0; height: 26px; text-align: center;
  border: 1px solid #ddd; border-radius: 4px; font-size: 13px;
  -moz-appearance: textfield;
}
.shop-grid-col .shop-wholesale-qty-input::-webkit-outer-spin-button,
.shop-grid-col .shop-wholesale-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none; margin: 0;
}
.shop-grid-col .shop-wholesale-helper {
  font-size: 11px; color: #777; margin-top: 4px; min-height: 1.2em;
}
@media (max-width: 575.98px) {
  .shop-grid-col .shop-grid-image-wrap > a { height: 130px; }
  .shop-grid-col .shop-grid-image { max-height: 130px; }
  .shop-grid-col .shop-grid-title { font-size: 13px; }
}
