/* v1.0.16 — square catalogue images, aligned commerce details and green freight controls. */
html body .hp-shop-query .hp-product-grid > li { display: flex !important; flex-direction: column !important; align-items: stretch !important; }
html body .hp-shop-query .hp-product-grid :is(figure,.wc-block-components-product-image,.wp-block-woocommerce-product-image) { box-sizing: border-box !important; width: 100% !important; height: auto !important; aspect-ratio: 1 / 1 !important; padding: 0 !important; overflow: hidden !important; }
html body .hp-shop-query .hp-product-grid :is(figure,.wc-block-components-product-image,.wp-block-woocommerce-product-image) img { display: block !important; width: 100% !important; height: 100% !important; object-fit: contain !important; object-position: center !important; transform: none !important; }
html body .hp-shop-query .hp-product-grid .wp-block-post-title { box-sizing: border-box; min-height: 5.6em !important; margin-bottom: 5px !important; }
html body .hp-shop-query .hp-product-grid :is(.wp-block-woocommerce-product-price,.wc-block-components-product-price,.price) { min-height: 1.8em; margin-bottom: 0 !important; }
html body .hp-shop-query .hp-product-grid .hp-shop-payment-info { box-sizing: border-box; min-height: 4.3em; margin: 4px 0 0 !important; color: #002d24; }
html body .hp-shop-query .hp-product-grid .hm-shop-pix-offer { color: #167d5a; font-weight: 700; }
html body .hp-shop-query .hp-product-grid .wp-block-woocommerce-product-button { margin-top: auto !important; padding-top: 12px; }

/* Freight simulator markup comes from a plugin and is moved between columns after load. */
html body.single-product.hp-product-model-3 :is(.hp-product-logistics-panel,.hp-product-summary-card) :is(.wc-shipping-simulator-parent-container,.woo-better-parent-container,#wc-shipping-sim,#custom-postcode-form) :is(a,button,[role='button'],[class*='link'],[class*='icon'],[class*='price'],.amount) { color: #002d24 !important; border-color: #002d24 !important; }
html body.single-product.hp-product-model-3 :is(.hp-product-logistics-panel,.hp-product-summary-card) :is(.wc-shipping-simulator-parent-container,.woo-better-parent-container,#wc-shipping-sim,#custom-postcode-form) :is(button,input[type='submit'],[class*='button-current-style']) { background: #002d24 !important; border-color: #002d24 !important; color: #fff !important; }
html body.single-product.hp-product-model-3 :is(.hp-product-logistics-panel,.hp-product-summary-card) :is(.wc-shipping-simulator-parent-container,.woo-better-parent-container,#wc-shipping-sim,#custom-postcode-form) :is(button,input[type='submit'],[class*='button-current-style']):hover { background: #b7fa5b !important; border-color: #b7fa5b !important; color: #002d24 !important; }
html body.single-product.hp-product-model-3 .hp-product-logistics-panel :is(svg,svg *,[class*='icon']) { color: #002d24 !important; fill: currentColor !important; stroke: currentColor !important; }
html body.single-product.hp-product-model-3 .hp-product-logistics-panel :is(button,[class*='button-current-style']) :is(svg,svg *) { color: inherit !important; fill: currentColor !important; stroke: currentColor !important; }
html body.single-product.hp-product-model-3 main.hp-product-page .hp-product-hero.hp-product-model2-layout .hp-product-logistics-panel #wc-shipping-simulator-postcode-form .wc-shipping-simulator-button-current-style { background: #002d24 !important; border-color: #002d24 !important; color: #fff !important; }
html body.single-product.hp-product-model-3 main.hp-product-page .hp-product-hero.hp-product-model2-layout .hp-product-logistics-panel #wc-shipping-simulator-postcode-form .wc-shipping-simulator-button-current-style:hover { background: #b7fa5b !important; border-color: #b7fa5b !important; color: #002d24 !important; }
html body.single-product.hp-product-model-3 main.hp-product-page .hp-product-hero.hp-product-model2-layout .hp-product-logistics-panel #wc-shipping-simulator-postcode-form .wc-shipping-simulator-input-button-group-current-style { border-color: #dce9df !important; background: #f8faf8 !important; }
html body.single-product.hp-product-model-3 main.hp-product-page .hp-product-hero.hp-product-model2-layout .hp-product-logistics-panel .wc-shipping-simulator-shipping-list li strong { color: #002d24 !important; }

@media (max-width: 700px) {
  html body .hp-shop-query .hp-product-grid .wp-block-post-title { min-height: 5.6em !important; }
  html body .hp-shop-query .hp-product-grid .hp-shop-payment-info { min-height: 5.8em; }
}
