.ecoco-pd-active .product-info .price{font-weight:700;font-size:1.55em;color:#e85b32}
.ecoco-pd-active .ecoco-pd-usps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:18px 0}
.ecoco-pd-active .ecoco-pd-usp{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:5px;background:#f2f8f4;border:1px solid #e2eee5;border-radius:9px;padding:11px 6px;font-size:12px;line-height:1.4}
.ecoco-pd-active .ecoco-pd-usp>span:first-child{font-size:20px;color:var(--ecoco-accent,#18865b);font-weight:700}
.ecoco-pd-active .ecoco-pd-trust{display:flex;flex-wrap:wrap;gap:9px 18px;margin:14px 0;font-size:12px;color:#52685a}
.ecoco-pd-active .ecoco-pd-trust a{color:var(--ecoco-accent,#18865b)}
.ecoco-pd-active .single_add_to_cart_button{background:var(--ecoco-accent,#18865b)!important;border-radius:7px!important}
.ecoco-pd-active .ecoco-pd-buy-now{background:#e85b32!important;border-radius:7px!important;color:#fff!important;margin-left:8px!important}
.ecoco-pd-active .ecoco-pd-combos{clear:both;padding:22px 0;border-top:1px solid #e9e9e9}
.ecoco-pd-active .ecoco-pd-combos h2{font-size:1.35rem}
.ecoco-pd-active .ecoco-pd-combo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.ecoco-pd-active .ecoco-pd-combo{border:1px solid #e8e8e8;border-radius:9px;padding:10px;text-decoration:none;display:flex;flex-direction:column;gap:6px;color:inherit}
.ecoco-pd-active .ecoco-pd-combo img{width:100%;height:auto;aspect-ratio:1;object-fit:contain}
.ecoco-pd-active .ecoco-pd-combo strong{font-size:13px;line-height:1.4}
.ecoco-pd-active .ecoco-pd-combo span{color:#e85b32;font-weight:700}
.ecoco-pd-active .ecoco-pd-note{font-size:12px;color:#777;margin-top:10px}
.ecoco-pd-mobile{display:none}
@media(max-width:849px){.ecoco-pd-active{padding-bottom:78px}.ecoco-pd-active .ecoco-pd-combo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ecoco-pd-active .ecoco-pd-mobile{display:flex;align-items:center;justify-content:space-between;gap:10px;position:fixed;left:0;right:0;bottom:0;z-index:9998;padding:10px max(12px,env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));background:#fff;box-shadow:0 -3px 18px #0002}.ecoco-pd-mobile-price{font-weight:700;color:#e85b32}.ecoco-pd-mobile-action{background:#e85b32;color:#fff;border:0;border-radius:7px;padding:11px 24px;font-weight:700;cursor:pointer}}
@media(max-width:420px){.ecoco-pd-active .ecoco-pd-usp{font-size:11px}.ecoco-pd-active .ecoco-pd-buy-now{margin:8px 0 0!important}}

/* v1.1: Enhanced product gallery and buying experience */
.ecoco-pd-gallery .woocommerce-product-gallery{border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 2px 16px rgba(0,0,0,.055)}
.ecoco-pd-gallery .woocommerce-product-gallery__image img{object-fit:contain}
.ecoco-pd-gallery .flex-control-thumbs{display:flex;flex-wrap:wrap;gap:8px;padding:10px!important;margin:0!important}
.ecoco-pd-gallery .flex-control-thumbs li{float:none!important;width:calc(20% - 7px)!important;border:1px solid #e5e9e5;border-radius:8px;overflow:hidden}
.ecoco-pd-gallery .flex-control-thumbs li img.flex-active{outline:2px solid var(--ecoco-accent,#18865b);outline-offset:-2px}
.ecoco-pd-active .product-info .product-title{font-size:clamp(20px,2vw,28px);line-height:1.35;font-weight:700}
.ecoco-pd-active .product-info .price{display:flex;flex-wrap:wrap;align-items:baseline;gap:10px;margin:10px 0 14px!important}
.ecoco-pd-active .product-info .price del{font-size:.6em;opacity:.55;order:2}
.ecoco-pd-active .product-info .price ins{text-decoration:none}
.ecoco-pd-promo{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:10px 0 4px}
.ecoco-pd-promo-label{font-size:12px;font-weight:600;background:#eff8f1;color:#177345;border-radius:4px;padding:4px 8px}
.ecoco-pd-promo-percent{font-size:12px;font-weight:700;background:#fff0e9;color:#d94d1e;border-radius:4px;padding:4px 8px}
.ecoco-pd-rating{display:flex;align-items:center;gap:7px;font-size:13px;margin:7px 0 10px}.ecoco-pd-rating>span{color:#f4a51c;font-size:18px}.ecoco-pd-rating a{color:#4d715b;text-decoration:underline}
.ecoco-pd-active form.cart{scroll-margin-top:100px}.ecoco-pd-active form.cart .quantity input{border-radius:7px}.ecoco-pd-active .ecoco-pd-buy-now,.ecoco-pd-active .single_add_to_cart_button{min-height:43px}
@media(max-width:849px){.ecoco-pd-active .product-info{padding-top:15px}.ecoco-pd-active .product-info .product-title{font-size:21px}.ecoco-pd-active .ecoco-pd-buy-now{margin-top:8px!important}.ecoco-pd-active .ecoco-pd-mobile{z-index:9998}.ecoco-pd-gallery .flex-control-thumbs li{width:calc(20% - 7px)!important}}

/* v1.2: scoped layout; do not override Flatsome column structure globally */
@media(min-width:850px){body.ecoco-pd-desktop .product-main .row{align-items:flex-start}body.ecoco-pd-desktop .product-main .product-gallery{position:relative}body.ecoco-pd-desktop .product-main .product-info{padding:20px 24px;border:1px solid #e8eee9;border-radius:14px;background:#fff;box-shadow:0 6px 22px rgba(15,70,40,.045)}body.ecoco-pd-desktop .product-main .product-info .price{font-size:1.5rem}}
.ecoco-pd-active .ecoco-pd-combo-link{display:flex;flex-direction:column;gap:7px;text-decoration:none;color:inherit}.ecoco-pd-active .ecoco-pd-combo-price{color:#d94d1e;font-weight:700}.ecoco-pd-active .ecoco-pd-combo-add,.ecoco-pd-active .ecoco-pd-combo-choose{display:block;width:100%;margin-top:auto;padding:10px 7px;border:0;border-radius:7px;background:var(--ecoco-accent,#18865b);color:#fff!important;text-align:center;font-weight:600;font-size:12px;cursor:pointer;text-decoration:none}.ecoco-pd-active .ecoco-pd-combo-form{margin:0}.ecoco-pd-active .ecoco-pd-combo{min-width:0}.ecoco-pd-active .ecoco-pd-combo strong{overflow-wrap:anywhere}
@media(max-width:849px){body.ecoco-pd-active .product-main .row{display:block}body.ecoco-pd-active .product-main .product-gallery,body.ecoco-pd-active .product-main .product-info{width:100%;max-width:100%}body.ecoco-pd-active .ecoco-pd-mobile{padding-bottom:calc(10px + env(safe-area-inset-bottom));}body.ecoco-pd-active .product-info .price{font-size:1.35rem}}

/* ECOCO v1.4 combo cards */
.ecoco-pd-active .ecoco-pd-combos{margin:25px 0;padding:24px 0;max-width:100%;overflow:hidden}
.ecoco-pd-active .ecoco-pd-combo-head{margin-bottom:16px}
.ecoco-pd-active .ecoco-pd-combo-head h2{margin:0 0 5px;font-size:clamp(19px,2vw,25px)}
.ecoco-pd-active .ecoco-pd-combo-head p{margin:0;color:#69757a;font-size:13px}
.ecoco-pd-active .ecoco-pd-combo-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.ecoco-pd-active .ecoco-pd-combo{position:relative;min-width:0;border:1px solid #e4eae6;border-radius:12px;padding:12px;box-shadow:0 2px 12px #1c58360a;transition:box-shadow .2s,border-color .2s}
.ecoco-pd-active .ecoco-pd-combo:hover{border-color:#b9d9c7;box-shadow:0 5px 18px #1c58361a}
.ecoco-pd-active .ecoco-pd-combo-link img{border-radius:9px;aspect-ratio:1;object-fit:contain}
.ecoco-pd-active .ecoco-pd-combo-link strong{font-size:13px;line-height:1.45;min-height:2.8em;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.ecoco-pd-active .ecoco-pd-combo-price{font-size:15px;line-height:1.5;min-height:22px}
.ecoco-pd-active .ecoco-pd-combo-price del{font-size:11px;color:#999;font-weight:400}
.ecoco-pd-active .ecoco-pd-combo-sale{align-self:flex-start;color:#a13d13!important;background:#fff1e8;border-radius:4px;padding:2px 6px;font-size:11px!important;font-weight:600}
.ecoco-pd-active .ecoco-pd-combo-add,.ecoco-pd-active .ecoco-pd-combo-choose{min-height:38px;margin-top:8px;font-size:12px;line-height:1.3}
.ecoco-pd-active .ecoco-pd-combo-add:focus-visible,.ecoco-pd-active .ecoco-pd-combo-choose:focus-visible{outline:3px solid #ff9f55;outline-offset:2px}
@media(max-width:849px){.ecoco-pd-active .ecoco-pd-combo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ecoco-pd-active .ecoco-pd-combo{padding:9px}}
@media(min-width:850px) and (max-width:1100px){.ecoco-pd-active .ecoco-pd-combo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* v1.5 selectable bundle */
.ecoco-pd-active .ecoco-pd-combo-select{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:600;color:#126e47;margin-bottom:9px;cursor:pointer}.ecoco-pd-active .ecoco-pd-combo-select input{margin:0;width:17px;height:17px;accent-color:#18865b}.ecoco-pd-active .ecoco-pd-bulk-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;margin-top:15px;border-radius:12px;background:#f0f8f3;border:1px solid #c9e6d3}.ecoco-pd-active .ecoco-pd-bulk-summary{display:flex;flex-direction:column;gap:4px;font-size:13px}.ecoco-pd-active .ecoco-pd-bulk-total{color:#c84b20;font-weight:700;font-size:16px}.ecoco-pd-active .ecoco-pd-bulk-submit{background:var(--ecoco-accent,#18865b);color:white;border:0;border-radius:8px;padding:12px 18px;min-height:44px;cursor:pointer;font-weight:700;margin:0}.ecoco-pd-active .ecoco-pd-bulk-submit:disabled{opacity:.5;cursor:not-allowed}@media(max-width:600px){.ecoco-pd-active .ecoco-pd-bulk-bar{flex-direction:column;align-items:stretch}.ecoco-pd-active .ecoco-pd-bulk-submit{width:100%}}

/* v1.5.1: clear, prominent multi-add CTA (Flatsome overrides avoided) */
body.ecoco-pd-active .ecoco-pd-combos .ecoco-pd-bulk-bar {display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;background:#f0f8f3;border:1px solid #c8e7d3;border-radius:12px;}
body.ecoco-pd-active .ecoco-pd-combos button.ecoco-pd-bulk-submit {display:inline-flex!important;align-items:center;justify-content:center;min-height:50px;max-width:100%;padding:13px 24px!important;margin:0!important;background:#16865a!important;border:2px solid #16865a!important;border-radius:9px!important;color:#fff!important;font-size:15px!important;font-weight:800!important;line-height:1.3!important;text-transform:uppercase!important;letter-spacing:.2px!important;box-shadow:0 5px 12px rgba(22,134,90,.18)!important;cursor:pointer!important;white-space:normal;text-align:center;}
body.ecoco-pd-active .ecoco-pd-combos button.ecoco-pd-bulk-submit:hover {background:#106b47!important;border-color:#106b47!important;box-shadow:0 7px 18px rgba(22,134,90,.24)!important;}
body.ecoco-pd-active .ecoco-pd-combos button.ecoco-pd-bulk-submit:focus-visible {outline:3px solid #ffb35e!important;outline-offset:3px;}
body.ecoco-pd-active .ecoco-pd-combos button.ecoco-pd-bulk-submit:disabled {opacity:.5!important;cursor:not-allowed!important;}
@media(max-width:700px){body.ecoco-pd-active .ecoco-pd-combos .ecoco-pd-bulk-bar{flex-direction:column;align-items:stretch;padding:14px;}body.ecoco-pd-active .ecoco-pd-combos button.ecoco-pd-bulk-submit{width:100%;font-size:13px!important;}}

/* v1.6: focused product page, scoped to the enabled products only */
@media(min-width:850px){body.ecoco-pd-no-sidebar.single-product #main .product-main .row>.large-3,body.ecoco-pd-no-sidebar.single-product #main .product-main .row>.col.large-3.sidebar,body.ecoco-pd-no-sidebar.single-product #main .product-main .row>.product-sidebar{display:none!important}body.ecoco-pd-no-sidebar.single-product #main .product-main .row>.large-9{flex-basis:100%;max-width:100%}}
body.ecoco-pd-active .ecoco-pd-bulk-tools{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
body.ecoco-pd-active .ecoco-pd-bulk-tools button{margin:0!important;border:1px solid #b8d9c7!important;background:#f1f9f4!important;color:#126943!important;border-radius:7px!important;font-weight:700!important;padding:8px 13px!important;min-height:36px}
body.ecoco-pd-active .ecoco-pd-include-main{display:flex;align-items:center;gap:10px;padding:13px 14px;margin:12px 0 16px;border:1px solid #c8e7d3;border-radius:10px;background:#f3faf6;cursor:pointer;font-size:13px}
body.ecoco-pd-active .ecoco-pd-include-main input{flex:none;width:18px;height:18px;accent-color:#16865a;margin:0}
body.ecoco-pd-active .ecoco-pd-bulk-bar{max-width:100%;flex-wrap:wrap}
body.ecoco-pd-active .ecoco-pd-combo{overflow:hidden}
body.ecoco-pd-active .ecoco-pd-combo-form{width:100%}
body.ecoco-pd-active .ecoco-pd-combo-link{min-width:0}
body.ecoco-pd-active .ecoco-pd-combo-select span{color:#126943}
body.ecoco-pd-active .ecoco-pd-mobile.ecoco-pd-mobile-hidden{display:none!important}
@media(max-width:849px){body.ecoco-pd-active .ecoco-pd-bulk-bar{flex-direction:column;align-items:stretch}body.ecoco-pd-active .ecoco-pd-bulk-submit{width:100%}body.ecoco-pd-active .ecoco-pd-combos{overflow:visible}body.ecoco-pd-active .ecoco-pd-mobile{transition:transform .18s ease}}

/* v1.8: native WooCommerce variation dropdown remains available for accessibility. */
body.ecoco-pd-active .ecoco-pd-variation-choices{display:flex;flex-wrap:wrap;gap:8px;margin:9px 0 12px}
body.ecoco-pd-active button.ecoco-pd-variation-choice{margin:0!important;padding:8px 13px!important;min-height:38px;border:1px solid #c8d8ce!important;background:#fff!important;color:#20583c!important;border-radius:8px!important;box-shadow:none!important;text-transform:none!important;line-height:1.3!important;font-size:13px!important}
body.ecoco-pd-active button.ecoco-pd-variation-choice.is-selected{background:#e5f5ea!important;border:2px solid var(--ecoco-accent,#18865b)!important;font-weight:800!important}
body.ecoco-pd-active button.ecoco-pd-variation-choice:disabled{opacity:.4;cursor:not-allowed}
body.ecoco-pd-active button.ecoco-pd-variation-choice:focus-visible{outline:3px solid #ffb35e;outline-offset:2px}
body.ecoco-pd-active .ecoco-pd-bulk-message{padding:12px 15px;border-radius:9px;margin:12px 0;font-size:14px;font-weight:600}
body.ecoco-pd-active .ecoco-pd-bulk-message[hidden]{display:none!important}
body.ecoco-pd-active .ecoco-pd-bulk-message.is-success{background:#e7f7ed;color:#145c37;border:1px solid #a9ddbc}
body.ecoco-pd-active .ecoco-pd-bulk-message.is-error{background:#fff0ed;color:#973a24;border:1px solid #efb9a8}
body.ecoco-pd-active .ecoco-pd-bulk-message a{margin-left:10px;text-decoration:underline;color:inherit}
/* Flatsome layouts with a product sidebar outside the default WooCommerce hook. */
@media(min-width:850px){body.ecoco-pd-no-sidebar.single-product .product-main .product-sidebar,body.ecoco-pd-no-sidebar.single-product .product-main>.row>.sidebar{display:none!important}body.ecoco-pd-no-sidebar.single-product .product-main>.row>.large-9{flex-basis:100%;max-width:100%}}

/* v1.8.1: one visible variation selector; keep native WooCommerce select in DOM.
   Scoped to rows where JS successfully created quick-choice buttons. */
body.ecoco-pd-active form.variations_form .variations tr.ecoco-pd-quick-variation-active select {
 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;border:0!important;opacity:0!important;
}
body.ecoco-pd-active form.variations_form .variations tr.ecoco-pd-quick-variation-active th.label {
 display:none!important;
}
body.ecoco-pd-active form.variations_form .variations tr.ecoco-pd-quick-variation-active td.value {
 width:100%!important;
}


/* v1.9 Gallery video thumbnail and in-place player */
.ecoco-pd-video-gallery{position:relative!important}
.ecoco-pd-video-thumb{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 70px;width:70px;height:70px;padding:0;margin:4px;overflow:hidden;cursor:pointer;background:#f4f6f5;border:2px solid transparent;border-radius:6px;vertical-align:middle;list-style:none}
.ecoco-pd-video-thumb img{width:100%;height:100%;object-fit:cover;display:block;opacity:.78}
.ecoco-pd-video-thumb:is(:hover,:focus-visible,.is-active){border-color:#16865a;outline-offset:2px}
.ecoco-pd-video-play{position:absolute;left:50%;top:43%;transform:translate(-50%,-50%);display:grid;place-items:center;width:29px;height:29px;background:#16865a;color:#fff;border-radius:50%;font-size:13px;padding-left:2px}
.ecoco-pd-video-label{position:absolute;bottom:0;left:0;right:0;text-align:center;background:rgba(0,0,0,.72);color:white;font-size:10px;font-weight:700;line-height:17px}
.ecoco-pd-video-overlay[hidden]{display:none!important}
.ecoco-pd-video-overlay{position:absolute;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;background:#0a0a0a;border-radius:6px;overflow:hidden;min-height:250px}
.ecoco-pd-video-overlay video{display:block;width:100%;height:100%;max-height:100%;object-fit:contain;background:#000}
.ecoco-pd-video-close{position:absolute!important;right:10px;top:10px;z-index:2;border:0!important;border-radius:50%!important;width:36px;height:36px;line-height:36px;padding:0!important;background:rgba(0,0,0,.65)!important;color:#fff!important;font-size:26px!important;cursor:pointer}
@media(max-width:600px){.ecoco-pd-video-thumb{width:58px;height:58px;flex-basis:58px}.ecoco-pd-video-overlay{min-height:220px}}

/* v1.9.2 compact Shopee-inspired product gallery */
@media(min-width:850px){
 body.ecoco-pd-compact-gallery .product-main .product-gallery{flex-basis:44%!important;max-width:44%!important;min-width:0!important}
 body.ecoco-pd-compact-gallery .product-main .product-info{flex-basis:56%!important;max-width:56%!important;min-width:0!important}
 body.ecoco-pd-compact-gallery .product-main .product-gallery .woocommerce-product-gallery,
 body.ecoco-pd-compact-gallery .product-main .product-gallery .product-gallery-slider{max-width:480px;margin-left:auto;margin-right:auto}
}
body.ecoco-pd-compact-gallery .product-main .product-gallery img{max-height:480px;object-fit:contain}
body.ecoco-pd-compact-gallery .product-main .product-thumbnails img{max-height:75px;object-fit:cover}
.ecoco-pd-gallery-social{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:14px auto 8px;padding:12px 4px;border-top:1px solid #e8ebe9;max-width:480px;font-size:14px}
.ecoco-pd-share-links{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ecoco-pd-share-link{width:31px!important;height:31px!important;min-height:31px!important;line-height:29px!important;padding:0!important;margin:0!important;display:inline-flex!important;align-items:center;justify-content:center;border:1px solid #e1e5e3!important;border-radius:50%!important;color:#16865a!important;background:white!important;font-size:16px!important;font-weight:700!important;text-decoration:none!important;cursor:pointer}
.ecoco-pd-favorite{border:0!important;background:transparent!important;color:#4b5563!important;font-size:14px!important;padding:5px!important;margin:0!important;min-height:32px!important;cursor:pointer}
.ecoco-pd-favorite.is-favorite{color:#e53935!important}
.ecoco-pd-video-thumb-holder{display:flex;justify-content:flex-start;max-width:480px;margin:8px auto}
.ecoco-pd-video-thumb-holder .ecoco-pd-video-thumb{margin:0;width:68px;height:68px;flex-basis:68px}
.ecoco-pd-video-gallery{position:relative!important}
.ecoco-pd-video-gallery .ecoco-pd-video-overlay{position:absolute;inset:0 0 auto 0;aspect-ratio:1/1;min-height:0;max-height:480px;z-index:50}
.ecoco-pd-video-gallery .ecoco-pd-video-overlay video{height:100%;width:100%;object-fit:contain}
@media(max-width:849px){.ecoco-pd-gallery-social{padding:10px 0}.ecoco-pd-video-gallery .ecoco-pd-video-overlay{max-height:none}}

/* v1.9.3: Fix actual Flatsome columns; previous v1.9.2 body class was missing.
   Scope to enabled products and to product-main only. */
@media(min-width:850px){
 body.single-product.ecoco-pd-compact-gallery .product-main .row .product-gallery.col,
 body.single-product.ecoco-pd-compact-gallery .product-main .row .product-gallery{flex:0 0 40%!important;flex-basis:40%!important;max-width:40%!important;width:40%!important;min-width:0!important;padding-right:16px!important;}
 body.single-product.ecoco-pd-compact-gallery .product-main .row .product-info.col,
 body.single-product.ecoco-pd-compact-gallery .product-main .row .product-info{flex:0 0 60%!important;flex-basis:60%!important;max-width:60%!important;width:60%!important;min-width:0!important;}
 body.single-product.ecoco-pd-compact-gallery .product-main .product-gallery .woocommerce-product-gallery,
 body.single-product.ecoco-pd-compact-gallery .product-main .product-gallery .product-gallery-slider,
 body.single-product.ecoco-pd-compact-gallery .product-main .product-gallery .flickity-viewport{max-width:440px!important;}
}
body.ecoco-pd-compact-gallery .product-main .product-gallery .product-gallery-slider img,
body.ecoco-pd-compact-gallery .product-main .product-gallery .woocommerce-product-gallery img{max-height:440px!important;object-fit:contain!important;}
body.ecoco-pd-compact-gallery .product-main .product-gallery .product-thumbnails{max-width:440px!important;margin:8px auto!important;}
body.ecoco-pd-compact-gallery .product-main .product-gallery .product-thumbnails .col,
body.ecoco-pd-compact-gallery .product-main .product-gallery .product-thumbnails .flickity-slider>div{max-width:72px!important;}
body.ecoco-pd-compact-gallery .product-main .product-gallery .product-thumbnails img{width:64px!important;height:64px!important;max-height:64px!important;object-fit:cover!important;}
body.ecoco-pd-compact-gallery .product-main .ecoco-pd-video-thumb-holder{max-width:440px!important;margin:6px auto!important;}
body.ecoco-pd-compact-gallery .product-main .ecoco-pd-video-thumb-holder .ecoco-pd-video-thumb{width:64px!important;height:64px!important;flex-basis:64px!important;}
body.ecoco-pd-compact-gallery .product-main .ecoco-pd-gallery-social{max-width:440px!important;width:100%!important;position:relative!important;inset:auto!important;clear:both!important;margin:12px auto 0!important;padding:12px 0!important;z-index:1!important;background:#fff!important;}
body.ecoco-pd-compact-gallery .product-main .ecoco-pd-gallery-social .ecoco-pd-favorite{position:static!important;transform:none!important;}
body.ecoco-pd-compact-gallery .product-main .ecoco-pd-video-overlay{max-width:440px!important;left:50%!important;right:auto!important;width:100%!important;transform:translateX(-50%)!important;}
@media(max-width:849px){body.single-product.ecoco-pd-compact-gallery .product-main .product-gallery,body.single-product.ecoco-pd-compact-gallery .product-main .product-info{width:100%!important;max-width:100%!important;flex-basis:100%!important;}body.ecoco-pd-compact-gallery .product-main .ecoco-pd-gallery-social{padding:10px 0!important;}}

/* v1.9.4: one horizontal thumbnail strip (video + original Flatsome carousel). */
body.ecoco-pd-active .product-main .ecoco-pd-unified-thumbs{display:flex!important;flex-flow:row nowrap!important;align-items:center!important;gap:8px!important;width:100%!important;max-width:440px!important;margin:8px auto!important;min-width:0!important;clear:both!important;}
body.ecoco-pd-active .product-main .ecoco-pd-unified-thumbs>.ecoco-pd-video-thumb-holder{display:flex!important;flex:0 0 64px!important;width:64px!important;max-width:64px!important;margin:0!important;order:0;}
body.ecoco-pd-active .product-main .ecoco-pd-unified-thumbs>.product-thumbnails,
body.ecoco-pd-active .product-main .ecoco-pd-unified-thumbs>.flex-control-thumbs,
body.ecoco-pd-active .product-main .ecoco-pd-unified-thumbs>.woocommerce-product-gallery__thumbs{flex:1 1 0!important;min-width:0!important;width:auto!important;max-width:none!important;margin:0!important;overflow:hidden!important;}
body.ecoco-pd-active .product-main .ecoco-pd-unified-thumbs .flickity-viewport{width:100%!important;}
body.ecoco-pd-active .product-main .ecoco-pd-unified-thumbs .ecoco-pd-video-thumb{margin:0!important;}
.ecoco-pd-video-fullscreen{position:absolute!important;right:55px;bottom:12px;z-index:5;border:0!important;border-radius:4px!important;background:rgba(0,0,0,.75)!important;color:#fff!important;padding:7px 10px!important;font-size:20px!important;line-height:1!important;cursor:pointer;}
.ecoco-pd-fullscreen-layer[hidden]{display:none!important}
.ecoco-pd-fullscreen-layer{position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;z-index:2147483647!important;background:#000!important;display:flex!important;align-items:center!important;justify-content:center!important;}
.ecoco-pd-fullscreen-layer video{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;background:#000!important;}
.ecoco-pd-fullscreen-close{position:absolute!important;right:20px!important;top:15px!important;z-index:10!important;background:rgba(0,0,0,.75)!important;color:white!important;border:1px solid #777!important;border-radius:50%!important;width:42px!important;height:42px!important;padding:0!important;font-size:28px!important;cursor:pointer!important;}
@media(max-width:600px){body.ecoco-pd-active .product-main .ecoco-pd-unified-thumbs>.ecoco-pd-video-thumb-holder{flex-basis:58px!important;width:58px!important;max-width:58px!important;}}

/* v1.9.5: fullscreen and gallery controls, no X covering the product. */
body.ecoco-pd-active .ecoco-pd-video-overlay>.ecoco-pd-video-close{display:none!important}
body.ecoco-pd-active .ecoco-pd-video-overlay>.ecoco-pd-video-fullscreen{right:12px!important;top:12px!important;bottom:auto!important;left:auto!important;z-index:6!important;padding:9px 12px!important;border-radius:7px!important;background:rgba(0,0,0,.72)!important;color:#fff!important;font-size:13px!important;font-weight:600!important;line-height:1.2!important;width:auto!important;height:auto!important;min-height:34px!important;}
body.ecoco-pd-active .ecoco-pd-video-overlay>.ecoco-pd-video-fullscreen:hover{background:#16865a!important}
.ecoco-pd-fullscreen-layer{box-sizing:border-box!important}
.ecoco-pd-fullscreen-layer video{width:100%!important;height:100%!important;max-height:100dvh!important;object-fit:contain!important}
.ecoco-pd-fullscreen-layer .ecoco-pd-fullscreen-close{top:max(12px,env(safe-area-inset-top))!important;right:max(12px,env(safe-area-inset-right))!important;width:auto!important;height:auto!important;min-width:95px!important;min-height:40px!important;padding:8px 13px!important;border-radius:8px!important;font-size:14px!important;line-height:1.2!important;z-index:20!important}
body.ecoco-pd-fullscreen-active{overflow:hidden!important}
@media(max-width:600px){body.ecoco-pd-active .ecoco-pd-video-overlay>.ecoco-pd-video-fullscreen{top:8px!important;right:8px!important;font-size:12px!important;padding:8px!important}}

/* v1.9.6: dedicated fullscreen dialog, independent of Flatsome/Flickity. */
html body .ecoco-pd-fullscreen-layer.ecoco-pd-fs196{position:fixed!important;inset:0!important;z-index:2147483647!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100vw!important;height:100vh!important;height:100dvh!important;background:rgba(0,0,0,.97)!important;transform:none!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;margin:0!important;padding:0!important;}
html body .ecoco-pd-fullscreen-layer.ecoco-pd-fs196[hidden]{display:none!important;}
html body .ecoco-pd-fullscreen-layer.ecoco-pd-fs196 video{display:block!important;width:100%!important;height:100%!important;max-width:100vw!important;max-height:100dvh!important;object-fit:contain!important;transform:none!important;}
html body .ecoco-pd-fullscreen-layer.ecoco-pd-fs196 .ecoco-pd-fullscreen-close{position:absolute!important;top:calc(12px + env(safe-area-inset-top))!important;right:calc(12px + env(safe-area-inset-right))!important;z-index:2147483647!important;background:#202020!important;color:#fff!important;min-height:42px!important;padding:9px 16px!important;border-radius:8px!important;border:1px solid #777!important;cursor:pointer!important;}

/* v1.9.7: Hide obsolete custom fullscreen controls, including stale markup. */
body.ecoco-pd-active .ecoco-pd-video-fullscreen,body.ecoco-pd-active .ecoco-pd-fullscreen-layer{display:none!important;}
