/* Cart actions remain available when an editable quantity actually changes. */
.t51-store .woocommerce-cart-form :is(button,input)[name=update_cart]:disabled,.t51-store .woocommerce-cart-form :is(button,input)[name=update_cart][aria-disabled=true],.t51-store .woocommerce-cart-form .t51-cart-actions-empty,.t51-store .woocommerce-cart-form .t51-empty-cart-action{display:none!important}
.t51-store .woocommerce-cart-form td.actions :is(button,a).button:empty{display:none!important}
.t51-commerce .t51-legacy-puffs-heading{display:none!important}
.t51-store .woocommerce-cart-form .t51-cart-update,.t51-store .woocommerce-cart-form .t51-cart-update :is(span,b,strong){color:#121609!important;-webkit-text-fill-color:#121609!important;font-size:16px!important;line-height:1.4!important;text-indent:0!important;letter-spacing:normal!important}
.t51-store .woocommerce-cart-form .t51-cart-update{min-height:48px;white-space:normal!important;overflow:visible!important}
.t51-store .woocommerce-cart-form .t51-cart-update :is(span,b,strong){visibility:visible!important;opacity:1!important}
/* Native and Elementor mini cart: the theme keeps opening/closing behavior. */
/* Mobile: a transformed sticky header must not become the cart's viewport. */
@media(max-width:1024px){
 html.t51-cart-scroll-locked{overflow:hidden!important;overscroll-behavior:none}
 body.t51-store.t51-cart-scroll-locked{position:fixed!important;top:var(--t51-cart-scroll-top,0px)!important;left:0!important;right:0!important;width:100%!important;overflow:hidden!important;overscroll-behavior:none;transform:none!important}
 .t51-store .t51-cart-viewport-layer{transform:none!important;translate:none!important;rotate:none!important;scale:none!important;perspective:none!important;filter:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;contain:none!important;will-change:auto!important;content-visibility:visible!important;overflow:visible!important;clip-path:none!important;z-index:2147483000!important}
 .t51-store .t51-cart-viewport-layer.elementor-widget-woocommerce-menu-cart.elementor-menu-cart--shown .elementor-menu-cart__container{position:fixed!important;top:var(--t51-cart-top,0px)!important;left:0!important;right:0!important;bottom:auto!important;width:100vw!important;height:100vh!important;height:var(--t51-cart-height,100dvh)!important;max-height:var(--t51-cart-height,100dvh)!important;transform:none!important;z-index:2147483001!important;overflow:hidden!important;overscroll-behavior:none}
 .t51-store .t51-cart-viewport-layer.elementor-widget-woocommerce-menu-cart.elementor-menu-cart--shown .elementor-menu-cart__main{position:absolute!important;top:0!important;bottom:0!important;margin-top:0!important;min-height:0!important;height:100%!important;max-height:100%!important;overflow-y:auto!important;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;padding-top:max(20px,env(safe-area-inset-top))!important;padding-bottom:max(20px,env(safe-area-inset-bottom))!important}
 .t51-store .t51-cart-viewport-layer .elementor-menu-cart__main .widget_shopping_cart_content{height:auto!important;min-height:0;flex:1 0 auto}
 .t51-store .t51-cart-viewport-layer .elementor-menu-cart__main :is(.woocommerce-mini-cart,.elementor-menu-cart__products){max-height:none!important;overflow:visible!important}
 .t51-store .t51-cart-viewport-layer .elementor-menu-cart__close-button{flex-shrink:0;position:sticky;top:0;align-self:flex-end;z-index:2;background:#15111c}
}
.t51-store :is(.elementor-menu-cart__main,.widget_shopping_cart_content){background:#15111c!important;color:#f6f3fc!important;border-color:#624679!important;box-sizing:border-box}
.t51-store .elementor-menu-cart__main{width:min(440px,100vw)!important;max-width:100%!important;padding:24px!important;box-shadow:-12px 0 48px #0008}
.t51-store :is(.woocommerce-mini-cart,.elementor-menu-cart__products){padding:0!important;margin:0!important;max-height:60dvh;overflow:auto;overscroll-behavior:contain}
.t51-store :is(.woocommerce-mini-cart-item,.elementor-menu-cart__product){position:relative!important;padding:18px 28px 18px 0!important;border-bottom:1px solid #4a3759!important;background:transparent!important;color:#eee7f5!important;line-height:1.5}
.t51-store :is(.woocommerce-mini-cart-item,.elementor-menu-cart__product) a:not(.remove):not(.elementor-menu-cart__product-remove){color:#f6f3fc!important;font-weight:650;font-size:15px!important;text-decoration:none;overflow-wrap:anywhere}
.t51-store :is(.woocommerce-mini-cart-item,.elementor-menu-cart__product) img{width:72px!important;height:72px!important;object-fit:contain!important;border-radius:10px;background:#fff;float:none;flex-shrink:0}
.t51-store .woocommerce-mini-cart-item>a:not(.remove){display:flex;align-items:center;gap:14px}
.t51-store :is(.woocommerce-mini-cart-item,.elementor-menu-cart__product) :is(.quantity,.variation,.elementor-menu-cart__product-price){font-size:13px!important;color:#cfc3da!important;margin:8px 0!important}
.t51-store :is(.woocommerce-mini-cart-item,.elementor-menu-cart__product) dl.variation{padding:0!important;border:0!important;line-height:1.5}
.t51-store :is(.woocommerce-mini-cart-item,.elementor-menu-cart__product) dl.variation p{margin:0!important;font-size:12px!important;line-height:1.5!important}
.t51-store :is(.woocommerce-mini-cart-item,.elementor-menu-cart__product) dl.variation dd{margin:0 0 5px!important}
.t51-store :is(.woocommerce-mini-cart__total,.elementor-menu-cart__subtotal){color:#f6f3fc!important;border:0!important;padding:20px 0!important;margin:0!important;font-size:18px!important}
.t51-store :is(.woocommerce-mini-cart__total,.elementor-menu-cart__subtotal) .amount{color:#baff00!important;font-weight:800}
.t51-store :is(.woocommerce-mini-cart__buttons,.elementor-menu-cart__footer-buttons){display:grid!important;grid-template-columns:1fr!important;gap:10px!important;padding-top:10px!important}
.t51-store :is(.woocommerce-mini-cart__buttons a,.elementor-menu-cart__footer-buttons a,.t51-mini-checkout){display:block!important;width:100%!important;box-sizing:border-box!important;min-height:48px!important;padding:14px 18px!important;border-radius:11px!important;text-align:center!important;font-size:15px!important;font-weight:750!important;background:#342341!important;color:#fff!important;text-decoration:none!important;line-height:1.4!important}
.t51-store :is(.woocommerce-mini-cart__buttons a.checkout,.elementor-button--checkout,.t51-mini-checkout){background:#baff00!important;color:#10150a!important}
.t51-store :is(.elementor-menu-cart__close-button,.widget_shopping_cart_content .remove){color:#e8d5ff!important;min-width:32px;min-height:32px}
/* Product detail: scoped to native product sections, leaving gallery/variation scripts intact. */
.t51-store.single-product .product .summary{background:linear-gradient(145deg,#201728,#151219);border:1px solid #583d6b;border-radius:20px;padding:clamp(20px,4vw,36px);box-sizing:border-box;color:#f4edf9}
.t51-store.single-product .product .product_title{color:#f8f5fc!important;font-size:clamp(26px,3vw,40px)!important;line-height:1.18!important;letter-spacing:-.03em;margin:0 0 18px!important}
.t51-store.single-product .product .summary>.price{color:#baff00!important;font-size:28px!important;font-weight:800;line-height:1.4}
.t51-store.single-product .product .summary>.price del{font-size:18px!important;color:#afa3b9!important;opacity:1!important}
.t51-store.single-product .product .summary>.price ins{background:transparent;text-decoration:none}
.t51-store.single-product .woocommerce-product-details__short-description{font-size:16px;line-height:1.75;color:#d4c9dd}
.t51-store.single-product .product :is(.single_add_to_cart_button,.variations select,.quantity .qty){border-radius:10px!important;min-height:48px;font-size:16px!important}
.t51-store.single-product .single_add_to_cart_button{background:#baff00!important;color:#12180a!important;font-weight:800!important;padding:14px 24px!important}
.t51-store.single-product .product .variations{background:transparent;color:#f6f3fc}
.t51-store.single-product .product .variations select{background:#110e16!important;color:#f6f3fc!important;border:1px solid #715183!important;width:100%;padding:10px!important}
.t51-store.single-product .product .variations label{color:#e6daef!important}
.t51-store.single-product :is(.woocommerce-tabs,.product_meta){color:#c8bad2;line-height:1.7}
.t51-store.single-product .woocommerce-tabs .panel{background:#17121e;border:1px solid #533d63;border-radius:16px;padding:24px!important;color:#e8deef!important}
.t51-store.single-product .woocommerce-tabs .panel h2{color:#fff!important}
.t51-store.single-product .woocommerce-product-gallery{border-radius:18px;overflow:hidden;background:#fff}
@media(min-width:1000px){.t51-store.single-product .woocommerce div.product:has(>.woocommerce-product-gallery):has(>.summary){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;align-items:start}.t51-store.single-product .woocommerce div.product>.woocommerce-product-gallery,.t51-store.single-product .woocommerce div.product>.summary{float:none!important;width:100%!important;margin:0!important}.t51-store.single-product .woocommerce div.product>:is(.woocommerce-tabs,.related,.upsells){grid-column:1/-1}}
@media(max-width:767px){.t51-store.single-product .woocommerce div.product>.woocommerce-product-gallery,.t51-store.single-product .woocommerce div.product>.summary{float:none!important;width:100%!important;}.t51-store .elementor-menu-cart__main{padding:20px!important}.t51-store.single-product .product .summary{margin-top:20px!important}.t51-store.single-product .product form.cart{display:flex;flex-wrap:wrap;gap:12px}.t51-store.single-product .product .single_add_to_cart_button{flex:1 1 180px}.t51-store.single-product .product form.variations_form{display:block}.t51-store.single-product .product .woocommerce-variation-add-to-cart{display:flex;gap:12px;flex-wrap:wrap}}
