/* DinhoS Reef Favoritos: interface isolada, sem mexer nos produtos disponíveis. */
li.product.drfav-has-heart,.wc-block-grid__product.drfav-has-heart,.product.type-product.drfav-has-heart,[data-product-id].product.drfav-has-heart{position:relative!important}
.drfav-button{cursor:pointer;touch-action:manipulation;font:inherit}
li.product .drfav-heart,.wc-block-grid__product .drfav-heart,.product.type-product .drfav-heart,[data-product-id].product .drfav-heart{position:absolute;z-index:30;right:11px;top:10px}
.drfav-heart{display:flex!important;align-items:center!important;justify-content:center!important;width:37px!important;height:37px!important;border-radius:50%!important;border:1px solid #d8e4ec!important;background:rgba(255,255,255,.97)!important;color:#147ad5!important;box-shadow:0 3px 12px #0b29401c!important;font-size:26px!important;line-height:1!important;padding:0!important;transition:transform .15s,border-color .15s}
.drfav-heart:hover{transform:scale(1.08)}.drfav-heart:focus-visible,.drfav-alert-open:focus-visible{outline:3px solid #44b4f5;outline-offset:3px}
.drfav-heart.is-active{color:#137be8!important;border-color:#84beee!important;background:#edf8ff!important}
body.single-product .woocommerce-product-gallery>.drfav-heart-single,
body.single-product .images>.drfav-heart-single{position:absolute!important;right:14px;top:60px;z-index:31}
.drfav-page{max-width:1320px;margin:0 auto;padding:26px 12px;color:#16354d}.drfav-page h2{font-weight:800;margin:0 0 20px}
.drfav-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.drfav-card{background:#fff;border:1px solid #dbe9f1;padding:16px;border-radius:18px;display:flex;flex-direction:column;gap:12px;box-shadow:0 6px 22px #173b4f0d;min-width:0}
.drfav-card-main{text-decoration:none!important;color:#17364f;display:flex;flex-direction:column;gap:10px}.drfav-card img{height:190px;width:100%;object-fit:contain;background:#fff;border-radius:12px}.drfav-card strong{font-size:14px;line-height:1.45;min-height:40px}.drfav-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.drfav-price{font-size:22px;font-weight:800;line-height:1.1}.drfav-price-muted{font-size:14px;font-weight:600;color:#5f7484}.drfav-stock{font-size:12px;margin:0;display:inline-flex;align-items:center;justify-content:center;padding:7px 10px;border-radius:999px;font-weight:700}.drfav-stock.is-instock{background:#e9f9ee;color:#13663a}.drfav-stock.is-outofstock{background:#fff3ec;color:#a34b18}
.drfav-in-card{background:#eaf6ff;border:1px solid #b5def9;border-radius:9px;padding:10px 12px;color:#096eaa;font-size:12px;font-weight:700}
.drfav-alert-open{display:block;width:100%;background:#106cab!important;border:1px solid #106cab!important;border-radius:10px!important;color:#fff!important;font-weight:750!important;font-size:13px!important;line-height:1.3!important;padding:13px!important;min-height:46px!important;cursor:pointer!important}
.drfav-alert-open:hover{background:#075b92!important}.drfav-pagination{padding:24px 0}.drfav-pagination a{padding:8px;margin:2px;display:inline-block;border:1px solid #d6e3ed;border-radius:6px}
.drfav-toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:999999;background:#143b51;color:#fff;padding:12px 20px;max-width:90%;border-radius:10px;box-shadow:0 8px 22px #0003;font-size:13px}
.drfav-toast[hidden]{display:none}
/* A terceira coluna existe apenas para produto indisponível; em estoque intocado. */
body.single-product.drfav-soldout .woocommerce div.product>.drfav-stock-panel{box-sizing:border-box;min-width:0;grid-column:3;grid-row:1;align-self:start;background:#fff;border:1px solid #d5e3ef;border-radius:15px;padding:18px;box-shadow:0 6px 20px #0d31500b;font-family:system-ui,sans-serif;}
body.single-product.drfav-soldout .drfav-stock-panel h3{font-size:18px;color:#17364f;font-weight:800;margin:0 0 14px}
body.single-product.drfav-soldout .drfav-unavailable{background:#fff8ed;border-left:4px solid #ee924d;border-radius:8px;padding:12px;color:#714522;font-size:13px;line-height:1.45;margin-bottom:12px}
body.single-product.drfav-soldout .drfav-unavailable strong{display:block;font-size:14px}.drfav-unavailable p{margin:6px 0 0}
.drfav-cart-disabled{display:block!important;width:100%!important;border:0!important;border-radius:10px!important;background:#e7ecf1!important;color:#6b7886!important;padding:13px!important;font-size:13px!important;cursor:not-allowed!important;margin-bottom:11px!important}
.drfav-stock-help{font-size:11px;line-height:1.5;color:#758694;margin-top:10px}
@media(min-width:1151px){
 body.single-product.drfav-soldout.drsb-shop-brand .woocommerce div.product{display:grid!important;grid-template-columns:minmax(0,34%) minmax(0,1fr) minmax(275px,29%)!important;gap:20px!important;align-items:start!important}
 body.single-product.drfav-soldout.drsb-shop-brand .woocommerce div.product>:is(.woocommerce-product-gallery,.images){grid-column:1!important;grid-row:1!important;min-width:0!important;width:100%!important}
 body.single-product.drfav-soldout.drsb-shop-brand .woocommerce div.product>.summary{grid-column:2!important;grid-row:1!important;min-width:0!important;width:100%!important}
 body.single-product.drfav-soldout.drsb-shop-brand .woocommerce div.product>.drfav-stock-panel{grid-column:3!important;grid-row:1!important}
 body.single-product.drfav-soldout.drsb-shop-brand .woocommerce div.product>:is(.related,.woocommerce-tabs,.wc-tabs-wrapper,.upsells,.up-sells){grid-column:1 / -1!important}
}
@media(min-width:851px) and (max-width:1150px){body.single-product.drfav-soldout .woocommerce div.product>.drfav-stock-panel{grid-column:2;grid-row:auto}}
@media(max-width:850px){body.single-product.drfav-soldout .woocommerce div.product>.drfav-stock-panel{grid-column:1 / -1!important;grid-row:auto!important;width:100%!important}}
@media(max-width:980px){.drfav-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:670px){.drfav-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.drfav-card{padding:10px}.drfav-card img{height:130px}}
@media(max-width:390px){.drfav-grid{grid-template-columns:1fr}}
.drfav-modal-wrap{display:none;position:fixed;inset:0;z-index:999999;background:rgba(9,26,41,.64);align-items:center;justify-content:center;padding:20px}.drfav-modal-wrap.is-visible{display:flex}.drfav-modal{position:relative;background:white;border-radius:18px;padding:28px;box-shadow:0 20px 60px #0004;max-width:450px;width:100%;color:#14374e;max-height:90vh;overflow:auto;font-family:system-ui,sans-serif}.drfav-modal h3{font-size:19px;margin:0 30px 10px 0}.drfav-modal p{line-height:1.5;font-size:13px}.drfav-modal-close{position:absolute;top:13px;right:14px;border:0;background:transparent;font-size:30px;cursor:pointer;color:#587084}
.drfav-email-label{display:block;font-size:12px;font-weight:750;margin:14px 0}.drfav-email-label[hidden]{display:none}.drfav-email-label input{display:block;box-sizing:border-box;width:100%;margin-top:7px;border:1px solid #bacfdf;border-radius:8px;padding:12px;font-size:16px}.drfav-consent{display:flex;align-items:flex-start;gap:8px;font-size:12px;line-height:1.4;margin:18px 0}.drfav-consent input{margin-top:3px;flex:0 0 auto}.drfav-honeypot{display:none!important}.drfav-submit{display:block;width:100%;border:0;border-radius:10px;background:#086fae;color:white;font-size:14px;font-weight:800;padding:13px;cursor:pointer}.drfav-submit:disabled{opacity:.6}.drfav-form-message{min-height:1.3em;color:#145a89}.drfav-modal-open{overflow:hidden}

/* v0.2.3: server-rendered buttons stay visible on catalog cards. */
.woocommerce ul.products li.product.drfav-has-heart,.woocommerce ul.products li.product:has(> .drfav-heart){position:relative!important}
.woocommerce ul.products li.product>.drfav-heart,.wc-block-grid__product>.drfav-heart{position:absolute!important;right:12px!important;top:12px!important;z-index:45!important}
.woocommerce div.product>.drfav-heart-single{position:absolute!important;z-index:45!important;right:15px!important;top:65px!important}
.woocommerce-product-gallery>.drfav-heart-single,.woocommerce .images>.drfav-heart-single{position:absolute!important;right:15px!important;top:65px!important;z-index:45!important}
.drfav-heart{font-family:Arial,Helvetica,sans-serif!important;font-weight:400!important;text-decoration:none!important}
@media(max-width:670px){.woocommerce ul.products li.product>.drfav-heart{top:8px!important;right:8px!important}}

/* v0.2.4: hide only old TI controls on product cards, not TI data/admin pages. */
body.drfav-own-ui .woocommerce ul.products .tinv-wraper,
body.drfav-own-ui .woocommerce ul.products .tinvwl_add_to_wishlist_button,
body.drfav-own-ui.single-product .product .tinvwl_add_to_wishlist_button,
body.drfav-own-ui.single-product .product .tinv-wraper,
body.drfav-own-ui .wc-block-grid__products .tinv-wraper{display:none!important}
body.drfav-own-ui .woocommerce ul.products li.product>.drfav-heart,
body.drfav-own-ui .woocommerce ul.products li.product .drfav-heart,
body.drfav-own-ui .wc-block-grid__product>.drfav-heart{display:flex!important;visibility:visible!important;opacity:1!important;z-index:100!important;right:10px!important;top:10px!important}
body.drfav-own-ui.single-product .woocommerce-product-gallery>.drfav-heart-single,
body.drfav-own-ui.single-product .woocommerce .images>.drfav-heart-single{display:flex!important;visibility:visible!important;opacity:1!important;z-index:100!important;right:12px!important;top:65px!important}
