.cs-chat-dismiss{position:fixed!important;top:calc(env(safe-area-inset-top,0px) + 14px)!important;right:calc(env(safe-area-inset-right,0px) + 14px)!important;z-index:2147483647!important;min-height:48px!important;padding:10px 18px!important;border:2px solid #fff!important;border-radius:24px!important;background:#07120f!important;color:#fff!important;font:700 16px/1.4 sans-serif!important;cursor:pointer!important;box-shadow:0 4px 24px #0008!important;pointer-events:auto!important;touch-action:manipulation}
.cs-chat-dismiss[hidden]{display:none!important}.cs-chat-dismiss:focus-visible{outline:3px solid #e4b85a!important;outline-offset:3px!important}
.cs-buy .cosmos-offer-product-root{margin:16px 0}.cs-buy .cosmos-offer-btn{width:100%;min-height:48px;font-size:16px;font-weight:700}

/* 3.6.30: contain product layouts without altering desktop content. */
body.single-product .cosmos-single-product .cs-main-grid>*,body.single-product .cosmos-single-product .cs-details-grid>*{min-width:0!important;max-width:100%!important}
body.single-product .cosmos-single-product img{max-width:100%!important}
body.single-product .cosmos-single-product .cs-buy,body.single-product .cosmos-single-product .cs-product-card{overflow-wrap:anywhere}
@media(max-width:767px){
 body.single-product .cosmos-single-product .cs-main-grid,body.single-product .cosmos-single-product .cs-details-grid{grid-template-columns:minmax(0,1fr)!important}
 body.single-product .cosmos-single-product .cs-gallery img{height:auto!important;object-fit:contain!important}
 body.single-product .cosmos-single-product .cs-product-actions{grid-template-columns:minmax(0,1fr)!important}
 body.single-product .cosmos-single-product input:not([type=checkbox]):not([type=hidden]),body.single-product .cosmos-single-product textarea,body.single-product .cosmos-single-product select{font-size:16px!important;max-width:100%!important}
 body.single-product .cosmos-single-product .cs-market-actions{display:flex!important;align-items:center!important;flex:0 0 auto!important}
 body.single-product .cosmos-single-product .cs-market-actions .cs-sell-top-btn{display:none!important}
 body.single-product .cosmos-single-product .cs-account-auth-link,body.single-product .cosmos-single-product .cs-account-trigger{display:flex!important;min-width:44px!important;min-height:44px!important}
}

/* 3.6.35: one containing block for the custom product template.
   Elementor/Woodmart may leave a stale pixel width/left after stretching. */
body.single-product:has(.cosmos-single-product) .website-wrapper,
body.single-product:has(.cosmos-single-product) .main-page-wrapper,
body.single-product .wd-content-layout:has(.cosmos-single-product),
body.single-product .wd-content-area:has(.cosmos-single-product),
body.single-product .single-product-page:has(.cosmos-single-product),
body.single-product .elementor:has(.cosmos-single-product){
 width:100%!important;max-width:none!important;min-width:0!important;
 margin-left:0!important;margin-right:0!important;
}
body.single-product .wd-content-layout:has(.cosmos-single-product){padding-left:0!important;padding-right:0!important}
body.single-product .elementor .e-con:has(.cosmos-single-product),
body.single-product .elementor .elementor-widget-html:has(.cosmos-single-product){
 width:100%!important;max-width:100%!important;min-width:0!important;
 left:0!important;right:auto!important;margin-left:0!important;margin-right:0!important;
}
body.single-product .cosmos-single-product{
 box-sizing:border-box!important;width:100%!important;max-width:100%!important;
 margin-left:0!important;margin-right:0!important;
}

/* Keep the main Product Actions chat button; suppress the duplicate native cart trigger. */
.cosmos-single-product .cs-native-cart .dokan-live-chat{display:none!important}

.cosmos-single-product .cs-native-cart .dokan-live-chat-login{display:none!important}
body.single-product.cosmos-product-chat-dismissed .__talkjs_popup,body.single-product.cosmos-product-chat-dismissed #chat-box{display:none!important;visibility:hidden!important;pointer-events:none!important}

/* Product pages open chat through Product Actions, without a floating message launcher. */
body.single-product .__talkjs_launcher,
body.single-product #__talkjs_launcher,
body.single-product .dokan-chat-button,
body.single-product .talkjs-launcher{display:none!important;visibility:hidden!important;pointer-events:none!important}
