/* MutluPati 1.7: no flex changes to Elementor / Porto layout */
.mp-store-button.button,body .woocommerce button.mp-store-button,body .quickview-wrap button.mp-store-button,body .mfp-wrap button.mp-store-button,body.single-product button.mp-store-button{background:#16803c!important;background-color:#16803c!important;background-image:none!important;border:1px solid #16803c!important;color:#fff!important;cursor:pointer!important;padding:11px 20px!important;font-size:14px!important;font-weight:600!important;min-height:40px!important;text-decoration:none!important;box-shadow:none!important}
.mp-store-button.button:hover,body .quickview-wrap button.mp-store-button:hover{background:#11652f!important;background-color:#11652f!important}
body.single-product .elementor-widget-porto_cp_actions .mp-store-elementor-button,body.single-product .elementor-widget-porto_cp_share .mp-store-elementor-button{display:block!important;position:static!important;float:none!important;width:auto!important;max-width:100%!important;margin:0 0 14px!important;flex:none!important}
.mp-store-single{margin:12px 0 18px}
.woocommerce .stock.mp-store-availability{color:#16803c!important;font-weight:700}
/* Same white pill as Porto STOKTA YOK, only slightly wider for longer label */
body .porto-tb-featured-image .stock.mp-store-stock-badge,body .porto-tb-featured-image .stock.out-of-stock.mp-store-stock-badge{display:inline-block!important;visibility:visible!important;opacity:1!important;position:absolute!important;top:10px!important;left:10px!important;right:auto!important;bottom:auto!important;z-index:5!important;background:#fff!important;color:#222!important;font-size:10px!important;font-weight:700!important;line-height:1.2!important;padding:6px 12px!important;border-radius:20px!important;width:auto!important;height:auto!important;max-width:calc(100% - 20px)!important;white-space:nowrap!important;text-transform:uppercase!important;box-shadow:0 2px 8px rgba(0,0,0,.10)!important}
.mp-store-overlay[hidden]{display:none!important}
.mp-store-overlay{position:fixed;inset:0;z-index:999999;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;padding:20px}
.mp-store-dialog{background:#fff;color:#222;max-width:480px;width:100%;padding:28px;border-radius:12px;box-shadow:0 10px 35px #0003;position:relative;max-height:85vh;overflow:auto;direction:ltr;text-align:left}
.mp-store-dialog h2{margin:0 30px 16px 0;font-size:24px;color:#222}
.mp-store-dialog p{margin:0 0 14px;line-height:1.6}.mp-store-dialog a{color:#16803c}
.mp-store-close{position:absolute;right:12px;top:8px;border:0;background:transparent;font-size:30px;cursor:pointer;color:#333}
.mp-store-map{display:inline-block;padding:10px 16px;background:#16803c;color:#fff!important;border-radius:6px;text-decoration:none}

/* Mobile and desktop: anchor the badge to the image wrapper, not the card. */
.product.mp-store-marked .porto-tb-featured-image,
.product.mp-store-marked .product-image,
.product.mp-store-marked .product-image-wrapper,
.product.mp-store-marked .product-image-wrap,
.product.mp-store-marked .product-image-container{position:relative}
body .product.mp-store-marked .mp-store-stock-badge,
body .product.mp-store-marked .stock.out-of-stock.mp-store-stock-badge{
 display:inline-block!important;visibility:visible!important;opacity:1!important;
 position:absolute!important;top:10px!important;left:10px!important;right:auto!important;bottom:auto!important;
 z-index:20!important;width:max-content!important;max-width:calc(100% - 20px)!important;
 margin:0!important;padding:6px 10px!important;transform:none!important;
 background:#fff!important;color:#222!important;border:0!important;border-radius:20px!important;
 font-size:10px!important;line-height:1.2!important;font-weight:700!important;white-space:nowrap!important;
 box-shadow:0 2px 8px rgba(0,0,0,.10)!important;pointer-events:none!important
}
@media(max-width:767px){body .product.mp-store-marked .mp-store-stock-badge{font-size:9px!important;padding:5px 8px!important;top:8px!important;left:8px!important}}

/* 1.7.3: Only the Mağazadan Mevcut archive label turns green. */
body .product.mp-store-marked .mp-store-stock-badge,
body .product.mp-store-marked .stock.out-of-stock.mp-store-stock-badge,
body .porto-tb-featured-image .stock.mp-store-stock-badge,
body .porto-tb-featured-image .stock.out-of-stock.mp-store-stock-badge {
 background:#16803c!important;
 color:#fff!important;
}
