/* Use the theme comparison instead of the previous plugin button. */
.woocommerce ul.products li.product a.compare,.woocommerce ul.products li.product button.compare,.woocommerce ul.products li.product .yith-woocompare-button{display:none!important}.ty-compare-add{display:block;width:100%;margin-top:8px;padding:8px 10px;min-height:38px;font-size:12px;border:1px solid #d3dac0;background:transparent;color:#535d3e;border-radius:9px}.ty-compare-add[aria-pressed=true]{background:#e3e9d5}.ty-compare-add:hover{background:#eef0e4}#ty-compare-open[hidden]{display:none!important}#ty-compare-open{position:fixed;left:18px;bottom:calc(18px + env(safe-area-inset-bottom));z-index:9998;background:#555b3d;color:white;box-shadow:0 6px 22px #0003;font-size:14px;min-height:48px;padding:12px 18px}#ty-compare-dialog{width:min(1100px,calc(100% - 28px));max-height:85vh;max-height:85dvh;padding:24px;border:0;border-radius:20px;background:#fcfbf6;color:#353d2b;box-sizing:border-box;overflow:auto}#ty-compare-dialog::backdrop{background:#172015aa}.ty-compare-top{display:flex;justify-content:space-between;gap:16px;align-items:center}.ty-compare-top h2{font-size:26px;margin:0}.ty-compare-top button{font-size:28px;min-width:44px;min-height:44px;padding:0}.ty-compare-scroll{overflow-x:auto}.ty-compare-scroll table{border-collapse:collapse;width:100%;font-size:14px}.ty-compare-scroll td,.ty-compare-scroll th{padding:14px;border:1px solid #dde1d1;min-width:180px;vertical-align:top;text-align:left}.ty-compare-scroll th[scope=row]{min-width:120px;background:#eff1e6}.ty-compare-scroll th img{display:block;object-fit:contain;margin:0 auto 12px;border-radius:12px}.ty-compare-scroll th a{display:block;line-height:1.5}.ty-compare-scroll th button{font-size:12px;padding:6px 10px;min-height:34px;margin-top:10px;background:#e5e9d9;color:#404a31}.ty-compare-scroll tr:nth-child(even){background:#f4f4eb}.ty-compare-scroll .ty-btn{font-size:12px;padding:10px}.ty-compare-scroll td{line-height:1.7}#ty-compare-dialog :focus-visible{outline:3px solid #ad7640;outline-offset:3px}@media(max-width:600px){#ty-compare-dialog{padding:16px}.ty-compare-top h2{font-size:21px}.ty-compare-scroll td,.ty-compare-scroll th{min-width:160px}.ty-compare-scroll th[scope=row]{min-width:100px}#ty-compare-open{left:12px;bottom:calc(12px + env(safe-area-inset-bottom));font-size:12px;padding:10px 14px}}

/* 3.8: Quick View controls are scoped to the YITH popup only. */
body.ty-qv-hide-image #yith-quick-view-content .images,
body.ty-qv-hide-image #yith-quick-view-content .woocommerce-product-gallery,
body.ty-qv-hide-image #yith-quick-view-content .onsale,
body.ty-qv-hide-title #yith-quick-view-content .product_title,
body.ty-qv-hide-description #yith-quick-view-content .woocommerce-product-details__short-description,
body.ty-qv-hide-description #yith-quick-view-content [itemprop="description"],
body.ty-qv-hide-description #yith-quick-view-content .woocommerce-variation-description,
body.ty-qv-hide-rating #yith-quick-view-content .woocommerce-product-rating,
body.ty-qv-hide-meta #yith-quick-view-content .product_meta{display:none!important}
body.ty-qv-hide-image #yith-quick-view-modal .yith-wcqv-wrapper{
width:calc(100% - 24px)!important;max-width:500px!important;height:auto!important;
max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);
left:50%!important;top:50%!important;right:auto!important;bottom:auto!important;
transform:translate(-50%,-50%);margin:0!important;
}
body.ty-qv-hide-image #yith-quick-view-modal .yith-wcqv-wrapper .yith-wcqv-main{
height:auto!important;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);
overflow-y:auto!important;border-radius:20px!important;background:#fcfbf6;
}
body.ty-qv-hide-image #yith-quick-view-modal #yith-quick-view-content,
body.ty-qv-hide-image #yith-quick-view-modal #yith-quick-view-content div.product{
height:auto!important;min-height:0!important;display:block;
}
body.ty-qv-hide-image #yith-quick-view-modal #yith-quick-view-content .summary{
float:none!important;width:100%!important;max-width:none!important;height:auto!important;
max-height:none!important;margin:0!important;padding:54px 24px 24px!important;overflow:visible!important;
}
body.ty-qv-hide-image #yith-quick-view-content .summary-content{width:100%;box-sizing:border-box}
body.ty-qv-hide-image #yith-quick-view-content form.cart{margin-bottom:20px}
body.ty-qv-hide-image #yith-quick-view-content .single_add_to_cart_button{max-width:100%;white-space:normal;margin-top:10px}
body.ty-qv-hide-image #yith-quick-view-content select{max-width:100%!important;min-height:44px}
body.ty-qv-hide-image #yith-quick-view-modal .yith-wcqv-head{top:8px;right:8px;width:44px;height:44px}
body.ty-qv-hide-image #yith-quick-view-close{top:0;right:0;width:44px;height:44px;line-height:42px;opacity:1;border-radius:50%;box-sizing:border-box}
