/* Covers remain complete. Existing badges and YITH actions retain their own behaviour. */
body ul.products li.cm-refined-card{position:relative!important;box-sizing:border-box!important;border:1px solid #e5dfd0!important;background:#fffdf7!important;border-radius:5px!important;padding:12px!important;box-shadow:none!important;display:flex!important;flex-direction:column!important;float:none!important;min-width:0!important}
body ul.products li.cm-refined-card>div.product,body ul.products li.cm-refined-card .product-single{height:100%;display:flex!important;flex-direction:column!important;min-width:0}
body ul.products li.cm-refined-card .product-img{position:relative!important;display:block!important;overflow:visible!important;margin:0 0 12px!important;background:#f4f1e8!important;border:0!important;aspect-ratio:2/3}
body ul.products li.cm-refined-card .product-img>a:first-child{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100%!important;position:relative!important;overflow:visible!important}
body ul.products li.cm-refined-card .product-img>a:first-child img{width:100%!important;height:100%!important;max-height:100%!important;object-fit:contain!important;aspect-ratio:auto!important;transform:none;transition:transform .18s,filter .18s}
body ul.products li.cm-refined-card .product-img>a:has(img.info){display:none!important}
body ul.products li.cm-refined-card .product-content-outer{display:flex!important;flex-direction:column!important;flex:1;position:static!important;transform:none!important;opacity:1!important;visibility:visible!important;padding:0!important;background:transparent!important}
body ul.products li.cm-refined-card .product-content{display:flex!important;flex-direction:column!important;flex:1;padding:0!important;text-align:left!important}
body ul.products li.cm-refined-card h3,body ul.products li.cm-refined-card .woocommerce-loop-product__title{font-family:Arial,sans-serif!important;font-size:14px!important;line-height:1.45!important;font-weight:650!important;letter-spacing:0!important;min-height:4.35em!important;margin:0 0 6px!important;overflow-wrap:anywhere}
body ul.products li.cm-refined-card h3 a{color:#192d40!important}
body ul.products li.cm-refined-card .cm-card-details{font-size:11px!important;line-height:1.5!important;color:#536353!important;margin:0 0 8px!important;min-height:1.5em}
body ul.products li.cm-refined-card .price{margin-top:auto!important;padding-top:8px!important;font-size:17px!important;font-weight:750!important;line-height:1.5!important;color:#284d3e!important;display:block!important}
body ul.products li.cm-refined-card .price del{font-size:12px;opacity:.65}
body ul.products li.cm-refined-card .product-action{margin-top:10px!important;position:static!important;transform:none!important;display:flex!important;flex-direction:column!important;opacity:1!important;visibility:visible!important}
body ul.products li.cm-refined-card a.button,body ul.products li.cm-refined-card .product-action>.button{display:flex!important;justify-content:center;align-items:center;width:100%!important;min-height:36px!important;padding:7px 9px!important;font-size:12px!important;line-height:1.5!important;border:1px solid #192d40!important;border-radius:3px!important;background:#192d40!important;color:#fff8e8!important;box-sizing:border-box}
body ul.products li.cm-refined-card .cm-quick-view{border:0!important;background:transparent!important;color:#284d3e!important;font-size:12px!important;line-height:1.5;min-height:36px;padding:7px;margin-top:4px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
body ul.products li.cm-refined-card .quickview-trigger{display:none!important}
body ul.products li.cm-refined-card .cm-cover-wishlist{position:absolute!important;top:5px!important;right:5px!important;left:auto!important;bottom:auto!important;width:36px!important;height:36px!important;min-height:0!important;margin:0!important;z-index:4!important;border-radius:50%!important;background:#fffdf7ed!important;box-shadow:0 1px 4px #192d4020;padding:0!important}
body ul.products li.cm-refined-card .cm-cover-wishlist a{width:36px!important;height:36px!important;display:flex!important;align-items:center;justify-content:center;color:#284d3e!important;padding:8px!important;box-sizing:border-box}
body ul.products li.cm-refined-card .cm-cover-wishlist svg{width:20px!important;height:20px!important}
body ul.products li.cm-refined-card .cm-cover-wishlist .yith-wcwl-add-to-wishlist-button__label{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}
.cm-variants{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0;align-items:center}.cm-variants a{width:32px;display:block;border:1px solid #d5c8a9;padding:2px;border-radius:2px}.cm-variants img{width:100%;height:43px;object-fit:contain;display:block}.cm-variants a[aria-current=page]{outline:2px solid #284d3e;outline-offset:1px}
#cm-quick-dialog{box-sizing:border-box;width:min(850px,94vw);max-height:90dvh;border:1px solid #b19a62;border-radius:6px;background:#fffaf0;color:#192d40;padding:32px;overflow:auto;box-shadow:0 18px 80px #0005}#cm-quick-dialog::backdrop{background:#112132bb}.cm-qv-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1fr);gap:28px}.cm-qv-cover img{width:100%;max-height:65vh;object-fit:contain}.cm-qv-close{position:sticky;top:0;float:right;border:0;background:#192d40;color:#fff8e7;border-radius:50%;width:36px;height:36px;font-size:26px;z-index:5}.cm-qv-layout h2{font-size:23px;line-height:1.35;color:#192d40;font-family:Georgia,serif}.cm-qv-eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#536353}.cm-qv-layout dl{display:grid;grid-template-columns:auto 1fr;gap:5px 12px;font-size:13px}.cm-qv-layout dd{margin:0}.cm-qv-price{font-size:23px;color:#284d3e;font-weight:700}.cm-qv-layout .button{display:inline-block;padding:10px 18px;background:#192d40;color:#fff8e7;border-radius:3px}.cm-qv-status{font-size:13px;color:#284d3e}.cm-saving-terms{display:block;font-size:10px!important;text-align:center;color:#d8c999!important;text-decoration:underline;margin-top:3px}.cm-wrap-explainer{font-size:12px;line-height:1.5;color:#526354;margin:8px 0 16px}
body ul.products li.cm-refined-card a:focus-visible,body ul.products li.cm-refined-card button:focus-visible,#cm-quick-dialog :focus-visible{outline:3px solid #9e7b2e!important;outline-offset:3px}
@media(hover:hover){body ul.products li.cm-refined-card .product-img>a:first-child:hover img{transform:translateY(-3px);filter:drop-shadow(0 5px 4px #192d4028)}}
@media(max-width:767px){body ul.products li.cm-refined-card{padding:8px!important}body ul.products li.cm-refined-card h3{font-size:13px!important}#cm-quick-dialog{padding:18px}.cm-qv-layout{grid-template-columns:1fr;gap:16px}.cm-qv-cover img{max-height:38dvh}.cm-qv-layout h2{font-size:21px}.cm-qv-layout .button{min-height:44px}.cm-card-details{font-size:10px!important}}
@media(prefers-reduced-motion:reduce){body ul.products li.cm-refined-card img{transition:none!important;transform:none!important}}

body .woocommerce ul.products:not(.owl-carousel):not(.slick-slider),body.woocommerce ul.products:not(.owl-carousel):not(.slick-slider),body .related ul.products,body .upsells ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px 14px!important;align-items:stretch;position:relative!important;height:auto!important}
body ul.products:before,body ul.products:after{display:none!important}body ul.products li.cm-refined-card{width:100%!important;margin:0!important;left:auto!important;top:auto!important;transform:none!important;height:auto!important}
#wf_header .wf_navbar-button-item>a.wf-btn{font-size:10px!important;letter-spacing:0!important}.cm-saving-terms{position:absolute;top:100%;left:0;right:0;margin-top:1px!important;font-size:9px!important}
@media(max-width:767px){body .woocommerce ul.products:not(.owl-carousel):not(.slick-slider),body.woocommerce ul.products:not(.owl-carousel):not(.slick-slider),body .related ul.products,body .upsells ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px 8px!important}}

.cm-qv-close{display:flex!important;align-items:center;justify-content:center;padding:0!important;line-height:1!important;text-align:center!important;flex-shrink:0}

.cm-shop-review #wf-sidebar{display:none!important}.cm-shop-review #wf-main{width:100%!important;max-width:100%!important;flex:0 0 100%!important}.cm-mobile-saving-terms{display:block;font-size:10px!important;line-height:1.6;text-decoration:underline;color:#d8c999!important;margin-top:4px}.cm-shop-review .cm-review-products>h1{margin-top:14px}.cm-shop-review #wf-main{padding-top:24px}
body ul.products li.cm-refined-card .product-img a.button.quickview-trigger{display:none!important;pointer-events:none!important}
#wf_header .wf_navbar-button-item .cm-saving-terms{position:static!important;margin:3px 0 5px!important;line-height:1.3!important}

body ul.products:has(.cm-variants) li.cm-refined-card .product-action{min-height:140px!important;justify-content:flex-start!important}
body ul.products li.cm-refined-card .product-action>*{flex:0 0 auto!important}body ul.products li.cm-refined-card .cm-variants{height:48px!important;min-height:48px!important;flex:0 0 48px!important;align-items:center!important}body ul.products li.cm-refined-card .cm-variants a{width:32px!important;height:48px!important;box-sizing:border-box!important}body ul.products li.cm-refined-card .cm-variants img{width:100%!important;height:42px!important;max-height:42px!important;object-fit:contain!important;margin:0!important}

/* Retain the established wide edition / set layouts while sharing Quick View. */
body.cm-full-sets #wf-main ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}body.cm-facsimile-store #wf-main ul.products{grid-template-columns:minmax(0,1fr)!important}.cm-refined-special .cm-set-card,.cm-refined-special .cm-fac-card{position:relative}.cm-refined-special .cm-quick-view{font-size:12px!important;color:#284d3e!important;background:transparent!important;border:0!important;text-decoration:underline;min-height:36px;padding:7px}.cm-refined-special .cm-cover-wishlist{position:absolute!important;right:10px;top:10px;width:36px!important;height:36px!important;min-height:0!important;margin:0!important;border-radius:50%;background:#fffdf7ed;z-index:3}.cm-refined-special .cm-cover-wishlist a{display:flex!important;align-items:center;justify-content:center;width:36px;height:36px;padding:8px;box-sizing:border-box}.cm-refined-special .cm-cover-wishlist svg{width:20px!important;height:20px!important}.cm-refined-special .cm-cover-wishlist .yith-wcwl-add-to-wishlist-button__label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(max-width:900px){body.cm-full-sets #wf-main ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:550px){body.cm-full-sets #wf-main ul.products{grid-template-columns:minmax(0,1fr)!important}}

/* Current homepage cards retain their artwork, density and native wishlist node. */
.cm-refined-home .cm-home-cover-wrap{position:relative}.cm-refined-home .cm-quick-view{background:transparent!important;color:#284d3e!important;border:0!important;font-size:12px!important;min-height:36px;padding:7px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.cm-refined-home .cm-save:empty{display:none}.cm-refined-home .cm-cover-wishlist{position:absolute!important;top:5px!important;right:5px!important;width:36px!important;height:36px!important;margin:0!important;border-radius:50%;background:#fffdf7ed;z-index:4}.cm-refined-home .cm-cover-wishlist a{display:flex!important;align-items:center;justify-content:center;width:36px!important;height:36px!important;padding:8px!important;color:#284d3e!important;box-sizing:border-box}.cm-refined-home .cm-cover-wishlist svg{width:20px!important;height:20px!important}.cm-refined-home .cm-cover-wishlist .yith-wcwl-add-to-wishlist-button__label{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important}.cm-refined-home .cm-quick-view:focus-visible{outline:3px solid #9e7b2e;outline-offset:3px}
