/* Consistent catalog card actions and price-enquiry cart. */
.woocommerce div.product .summary .yith-wcwl-add-to-wishlist a::before {
  content: none !important;
  display: none !important;
}
.woocommerce div.product .summary .yith-wcwl-add-to-wishlist a {
  align-items: center;
  gap: 8px;
}
.woocommerce div.product .summary .yith-wcwl-add-to-wishlist a .yith-wcwl-icon-svg {
  width: 21px;
  height: 21px;
  flex: none;
}
.woocommerce .product .thumbnail-wrapper .product-group-button {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  bottom: auto !important;
  left: auto !important;
  z-index: 7;
  width: 72px !important;
  display: flex !important;
  flex-direction: row;
  align-items: flex-start;
  gap: 4px;
  padding: 0 !important;
}
.woocommerce .product .thumbnail-wrapper .product-group-button > .wishlist,
.woocommerce .product .thumbnail-wrapper .product-group-button > .loop-add-to-cart {
  display: block !important;
  position: relative !important;
  inset: auto !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  margin: 0 !important;
  width: 34px !important;
  height: 34px !important;
}
.woocommerce .product .thumbnail-wrapper .product-group-button > .loop-add-to-cart { order: 1; }
.woocommerce .product .thumbnail-wrapper .product-group-button > .wishlist { order: 2; }
.woocommerce .product .thumbnail-wrapper .product-group-button > .quickshop,
.woocommerce .product .thumbnail-wrapper .product-group-button > .compare,
.woocommerce .product .product-group-button-meta,
.woocommerce .product .meta-wrapper .loop-add-to-cart { display: none !important; }
.woocommerce .product .thumbnail-wrapper .wishlist .yith-wcwl-icon-svg { display: none !important; }
.woocommerce .product .thumbnail-wrapper .product-group-button > .loop-add-to-cart a.button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #111 !important;
  font-size: 0 !important;
  line-height: 1 !important;
  text-decoration: none;
}
.woocommerce .product .thumbnail-wrapper .product-group-button > .loop-add-to-cart a.button::before {
  content: "+" !important;
  display: block !important;
  font-family: Arial, sans-serif !important;
  font-size: 27px !important;
  font-weight: normal !important;
  line-height: 1 !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  border: 0 !important;
  animation: none !important;
}
.woocommerce .product .thumbnail-wrapper .product-group-button > .loop-add-to-cart a.button .button-tooltip { display: none !important; }
.woocommerce .product .thumbnail-wrapper .homegarden-action-pending { color: #168c45 !important; pointer-events: none; }
.woocommerce .product .thumbnail-wrapper .loop-add-to-cart a.homegarden-action-done::before { content: "✓" !important; font-size: 23px !important; }
.woocommerce .product .price,
.woocommerce div.product .price,
.woocommerce .woocommerce-variation-price,
.woocommerce .woocommerce-Price-amount,
.woocommerce .ts-discount-percent,
.woocommerce .cart_totals .shop_table,
.woocommerce .cart_totals h2,
.woocommerce table.shop_table th.product-price,
.woocommerce table.shop_table td.product-price,
.woocommerce table.shop_table th.product-subtotal,
.woocommerce table.shop_table td.product-subtotal,
.woocommerce .woocommerce-mini-cart__total { display: none !important; }
.woocommerce .homegarden-whatsapp-cart { display: inline-flex; align-items: center; justify-content: center; background: #168c45; color: #fff; padding: 13px 22px; text-align: center; }
.woocommerce .homegarden-whatsapp-cart:hover { background: #116b36; color: #fff; }


/* The image itself stays text-free. Names are one consistent, responsive layer. */
.woocommerce .product .thumbnail-wrapper > a .homegarden-image-title,
.woocommerce div.product .woocommerce-product-gallery__image > a .homegarden-image-title {
  position: absolute !important;
  left: 4.5% !important;
  bottom: 4% !important;
  z-index: 5;
  width: min(72%, 440px);
  color: #171717 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif !important;
  font-size: clamp(11px, 1vw, 18px) !important;
  font-weight: 500 !important;
  line-height: 1.18 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
  text-shadow: none !important;
  pointer-events: none !important;
}
.woocommerce div.product .woocommerce-product-gallery__image > a {
  position: relative;
  display: block;
}
.woocommerce div.product .woocommerce-product-gallery__image > a .homegarden-image-title {
  font-size: clamp(14px, 1.15vw, 21px) !important;
}

.woocommerce .product .thumbnail-wrapper > a { position: relative !important; display: block; }

/* Akasya's stone step crosses the usual label line. Keep the title on clear floor. */
.woocommerce .product.post-23728 .homegarden-image-title { bottom: 12% !important; }
.woocommerce.single-product .homegarden-image-title { text-decoration: none !important; }

/* Individual-product dimensions match the clean Terra gallery treatment. */
.woocommerce div.product .woocommerce-product-gallery__image > a .homegarden-image-dimension {
  position: absolute !important;
  left: 2.8% !important;
  bottom: max(3.8%, calc(100% - 100vh + 280px)) !important;
  z-index: 6;
  max-width: 90%;
  color: #222 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif !important;
  font-size: clamp(14px, 1.4vw, 23px) !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  text-shadow: 0 0 3px rgba(255,255,255,.95) !important;
  pointer-events: none !important;
}

/* Keep multi-piece catalog sizes on the complete-set view without changing pixels. */
.woocommerce div.product .woocommerce-product-gallery__image > a .homegarden-image-dimension-list {
  position: absolute !important;
  left: 2.8% !important;
  bottom: max(12%, calc(100% - 100vh + 350px)) !important;
  z-index: 7;
  width: max-content;
  max-width: 90%;
  color: #222 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif !important;
  font-size: clamp(11px, 1.15vw, 18px) !important;
  font-weight: 500 !important;
  line-height: 1.28 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  text-shadow: 0 0 3px rgba(255,255,255,.98), 0 0 7px rgba(255,255,255,.92) !important;
  pointer-events: none !important;
}
.woocommerce div.product .woocommerce-product-gallery__image > a .homegarden-image-dimension-list-row {
  display: block;
}

.woocommerce section.product.post-23728 .thumbnail-wrapper > a .homegarden-image-title { bottom: 12% !important; }
