/* Product cards: original image proportions within equal-size frames. */
/* Related products can be native blocks or the classic WooCommerce loop. */
.ek-related-products .wp-block-woocommerce-product-template,
.woocommerce .related.products ul.products,
.related.products ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:24px!important;align-items:stretch!important;padding:0;list-style:none}
.related.products ul.products::before,.related.products ul.products::after{display:none!important}
.related.products ul.products li.product{float:none!important;clear:none!important;width:auto!important;margin:0!important;display:flex!important;flex-direction:column;min-width:0;height:100%;text-align:left}
.related.products ul.products li.product>a.woocommerce-LoopProduct-link{display:flex;flex-direction:column;flex:1;width:100%;text-decoration:none}
.related.products ul.products li.product a.woocommerce-LoopProduct-link img{display:block;width:100%!important;height:auto!important;aspect-ratio:4/5;object-fit:contain!important;object-position:center;transform:none!important;background:var(--wp--preset--color--paper,#fff);margin:0 0 1rem!important}
.related.products ul.products li.product .woocommerce-loop-product__title{font-family:var(--wp--preset--font-family--cinzel,Cinzel,serif);font-size:1.04rem!important;line-height:1.4!important;min-height:2.8em;padding:0!important;margin:0 0 .5rem!important;overflow-wrap:anywhere}
.related.products ul.products li.product .price{margin-top:auto!important;margin-bottom:1rem!important;padding-top:.5rem}
.related.products ul.products li.product>.button{margin-top:auto!important;min-height:48px;width:100%;display:flex;align-items:center;justify-content:center;text-align:center;box-sizing:border-box;padding:.85rem .75rem}
.ek-related-products .wp-block-woocommerce-product-template>*{display:flex!important;flex-direction:column;min-width:0;height:100%;align-self:stretch}
.ek-related-products .wp-block-post-title{min-height:2.8em!important;line-height:1.4!important}
.ek-related-products .wp-block-woocommerce-product-price{margin-top:auto!important}
.ek-related-products .wp-block-woocommerce-product-button{margin-top:0!important}
@media(max-width:781px){.ek-related-products .wp-block-woocommerce-product-template,.related.products ul.products,.woocommerce .related.products ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}}
@media(max-width:359px){.ek-related-products .wp-block-woocommerce-product-template,.related.products ul.products,.woocommerce .related.products ul.products{grid-template-columns:minmax(0,1fr)!important}}
.wp-block-woocommerce-product-template{align-items:stretch!important}
.wp-block-woocommerce-product-template>li{display:flex;flex-direction:column;align-self:stretch;height:100%;min-width:0}
.wp-block-woocommerce-product-template .wp-block-woocommerce-product-image{aspect-ratio:4/5;width:100%;flex:none;margin:0;overflow:hidden;position:relative;background:var(--wp--preset--color--paper,#fff)}
.wp-block-woocommerce-product-template .wp-block-woocommerce-product-image a{display:flex;width:100%;height:100%;align-items:center;justify-content:center}
.wp-block-woocommerce-product-template .wp-block-woocommerce-product-image img{display:block!important;width:100%!important;height:100%!important;max-height:100%;aspect-ratio:4/5!important;object-fit:contain!important;object-position:center!important;transform:none!important;margin:0!important;padding:0!important}
.wp-block-woocommerce-product-template .wp-block-post-title{min-height:2.8em;margin-block:1rem .4rem!important;overflow-wrap:anywhere}
.wp-block-woocommerce-product-template .wp-block-woocommerce-product-price{margin-block:0 1rem!important}
.wp-block-woocommerce-product-template .wp-block-woocommerce-product-button{margin-top:auto!important;margin-bottom:0!important;padding-top:.25rem}
.wp-block-woocommerce-product-template .wp-block-woocommerce-product-button .wp-element-button{width:100%;min-height:48px;display:flex;align-items:center;justify-content:center;padding:.85rem .75rem}
.ek-featured{border-top:1px solid var(--wp--preset--color--line,#ddd9cc)}
.ek-featured>.ek-eyebrow{color:var(--wp--preset--color--pine,#142e27)}
/* The existing native form remains usable when JavaScript is unavailable. */
.ek-header .wp-block-search{position:relative;z-index:40}
.ek-search-panel{position:absolute;top:calc(100% + 8px);inset-inline:0;background:var(--wp--preset--color--paper,#fff);border:1px solid var(--wp--preset--color--line,#ddd9cc);box-shadow:0 14px 30px #10241b26;color:var(--wp--preset--color--ink,#17221d);max-height:min(65vh,580px);overflow:auto;text-align:left}
.ek-search-panel[hidden]{display:none!important}
.ek-search-status{font-size:.78rem;padding:12px 16px;margin:0;border-bottom:1px solid #e7e7de}
.ek-search-panel ul{list-style:none;padding:0;margin:0}
.ek-search-panel li+li{border-top:1px solid #e7e7de}
.ek-search-panel a{display:flex;gap:12px;padding:12px 16px;text-decoration:none;color:inherit;align-items:center;line-height:1.35;font-size:.86rem}
.ek-search-panel a:hover,.ek-search-panel a:focus{background:var(--wp--preset--color--cream,#f6f3eb)}
.ek-search-panel img{width:56px;height:70px;object-fit:contain;flex:none;background:#f6f3eb}
.ek-search-panel a>span{display:flex;flex-direction:column;gap:6px}
.ek-search-panel small{font-weight:600}.ek-search-panel .ek-search-all{font-weight:600;justify-content:center;min-height:44px}
.ek-policy-links{list-style:none;padding:0;margin:0;font-size:.84rem}
.ek-policy-links li{margin:0 0 .5rem}.ek-policy-links span{color:#c4cbbf}
.ek-footer-columns>.wp-block-column:first-child{flex-grow:1.2}
@media(max-width:781px){.ek-search-panel{max-height:55vh}.ek-footer-columns{display:grid!important;grid-template-columns:1fr 1fr}.ek-footer-columns>.wp-block-column:first-child{grid-column:1/-1}.ek-footer-columns>.wp-block-column:last-child{grid-column:1/-1}.wp-block-woocommerce-product-template .wp-block-post-title{font-size:.94rem!important}}
