/* WAO 1.1 — scoped adaptation for Softa, not ShoppingCart selectors. */
body.wao-softa-design {--wao-line:#e0dcd5;--wao-radius:16px;--wao-shadow:0 3px 12px #18233309;--wao-red:var(--gamecardshop-primary-color, #2d5262);--wao-ink:#182333;}
.wao-softa-design .wao-softa-product-layout,.wao-softa-design .summary,.wao-softa-design .woocommerce-product-gallery{min-width:0;box-sizing:border-box;}
.wao-softa-design .wao-softa-product-layout{display:grid!important;grid-template-columns:minmax(0,.85fr) minmax(0,1.45fr);gap:20px;margin:0!important;align-items:start;}
.wao-softa-design .wao-softa-product-layout::before,.wao-softa-design .wao-softa-product-layout::after{display:none!important;}
.wao-softa-design .wao-softa-product-layout>.summary,.wao-softa-design .wao-softa-product-layout>.images{width:100%!important;float:none!important;margin:0!important;padding:0!important;}
.wao-softa-design .wao-softa-product-main,.wao-softa-design .wao-softa-product-sidebar{min-width:0;}
.wao-softa-design.single-product .heading-decor-s h1{font-size:clamp(20px,2vw,26px);font-weight:500;line-height:1.35;}
.wao-softa-design.single-product .woocommerce-product-gallery{display:block!important;}
.wao-softa-design.single-product .woocommerce-product-gallery .flex-viewport,.wao-softa-design.single-product .woocommerce-product-gallery>.woocommerce-product-gallery__wrapper{border:1px solid var(--wao-line)!important;border-radius:var(--wao-radius);background:#fff;overflow:hidden;box-shadow:var(--wao-shadow);}
.wao-softa-design.single-product .woocommerce-product-gallery img{max-width:100%;height:auto;}
.wao-softa-design.single-product .woocommerce-product-gallery .flex-control-thumbs{display:flex!important;flex-wrap:nowrap;gap:5px;padding:0!important;margin:10px 0!important;overflow-x:auto;}
.wao-softa-design.single-product .woocommerce-product-gallery .flex-control-thumbs li{flex:1 1 0;min-width:0;width:auto!important;float:none!important;clear:none!important;border:1px solid var(--wao-line)!important;border-radius:10px;overflow:hidden;background:#fff;}
.wao-softa-design.single-product .flex-control-thumbs li img{opacity:.6!important;object-fit:contain;}
.wao-softa-design.single-product .flex-control-thumbs li img.flex-active{opacity:1!important;}
.wao-softa-design .after-product-gallery{width:100%;}
.wao-softa-design .wao-price-rating-card{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 18px;padding:0;background:none;border:0;}
.wao-softa-design .wao-price-rating-card .price{display:flex!important;align-items:baseline;flex-wrap:wrap;gap:7px!important;margin:0!important;color:var(--wao-red);font-size:30px!important;line-height:1.2;font-weight:750!important;}
.wao-softa-design .wao-price-rating-card .price del{font-size:12px!important;color:#8b949e;font-weight:400;order:-1;}
.wao-softa-design .wao-price-rating-card .price ins{background:none!important;text-decoration:none;border-bottom:3px solid #d6d6d8;padding-bottom:3px;}
.wao-softa-design .wao-pr-rating{margin-left:auto;}
.wao-softa-design .wao-pr-rating .woocommerce-product-rating{display:flex;align-items:center;gap:7px;margin:0!important;float:none!important;}
.wao-softa-design .wao-pr-rating .star-rating{float:none!important;margin:0!important;flex-shrink:0;color:#ffce35;}
.wao-softa-design .wao-pr-rating .woocommerce-review-link{font-size:10px;line-height:1.4;color:#718096;}
.wao-softa-design.single-product .summary>form.cart{display:flex!important;align-items:center;gap:8px;flex-wrap:wrap;width:100%;margin:0 0 10px!important;padding:0!important;}
.wao-softa-design.single-product .summary form.cart .single_add_to_cart_button{flex:1;min-width:110px;border-radius:12px!important;margin:0!important;min-height:43px;padding:10px 18px!important;clip-path:none;}
.wao-softa-design.single-product form.variations_form table.variations,.wao-softa-design.single-product .single_variation_wrap{width:100%;}
.wao-softa-design .woocommerce-variation-add-to-cart{display:flex;gap:8px;align-items:center;flex-wrap:wrap;}
.wao-softa-design .quantity{display:inline-flex!important;align-items:stretch;flex:0 0 auto;width:auto!important;height:42px!important;border:1px solid var(--wao-line)!important;border-radius:7px;overflow:hidden;background:#fff;padding:0!important;margin:0!important;}
.wao-softa-design .quantity .qty{float:none!important;min-width:0!important;width:36px!important;height:40px!important;line-height:40px!important;text-align:center;padding:0!important;border:0!important;border-radius:0!important;margin:0!important;appearance:textfield;}
.wao-softa-design .quantity .qty::-webkit-inner-spin-button,.wao-softa-design .quantity .qty::-webkit-outer-spin-button{appearance:none;margin:0;}
.wao-softa-design .quantity .quantity-buttons{display:none!important;}
.wao-softa-design .wao-qty-button{width:28px!important;min-width:28px!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:#f8f8f8!important;color:#263443!important;box-shadow:none!important;font-weight:400;}
.wao-softa-design .wao-qty-minus{border-right:1px solid var(--wao-line)!important;}
.wao-softa-design .wao-qty-plus{border-left:1px solid var(--wao-line)!important;}
.wao-softa-design .wao-payment-icons{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important;margin:0 0 10px!important;padding:0!important;width:100%;}
.wao-softa-design .wao-payment-icons.items-1{grid-template-columns:1fr;}
.wao-softa-design .wao-payment-icons.items-3{grid-template-columns:repeat(3,minmax(0,1fr));}
.wao-softa-design .wao-payment-icons.items-4{grid-template-columns:repeat(4,minmax(0,1fr));}
.wao-softa-design .wao-payment-icons a{display:flex!important;align-items:center;justify-content:center;gap:5px;width:100%!important;max-width:none!important;min-width:0;min-height:43px;padding:6px!important;border-radius:9px!important;margin:0!important;box-shadow:none!important;}
.wao-softa-design .wao-payment-icons a img{object-fit:contain;width:auto!important;height:26px!important;max-width:75%!important;margin:0!important;background:transparent!important;}
.wao-softa-design .wao-payment-icons .payment-text{font-size:10px;font-weight:400;}
.wao-softa-design .wao-compat-card.wao-soft-os{display:grid!important;grid-template-columns:minmax(110px,1.65fr) repeat(6,minmax(0,1fr));align-items:stretch;gap:4px;width:100%;min-width:0;max-width:100%;padding:3px 5px;margin:0 0 16px!important;border:1px solid var(--wao-line);border-radius:16px;background:#fff;box-sizing:border-box;line-height:1.2;}
.wao-softa-design .wao-soft-os-caption{position:relative;display:flex;align-items:center;justify-content:center;gap:6px;padding:5px 7px;margin-right:9px;border-radius:9px;background:#e7f9e7;color:#466c5b;font-size:12px;font-weight:400;line-height:1.25;}
.wao-softa-design .wao-soft-os-caption::after{content:"";position:absolute;top:4px;bottom:4px;right:-6px;width:1px;background:var(--wao-line);}
.wao-softa-design .wao-soft-os-caption>svg{display:block;flex:0 0 17px;width:17px;height:17px;}
.wao-softa-design .wao-soft-os-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0;padding:2px 1px;border:0;border-radius:9px;background:transparent;color:#252a30;}
.wao-softa-design .wao-soft-os-yes{background:#e7f9e7;color:#0078d4;}
.wao-softa-design .wao-soft-os-art{display:flex;align-items:center;justify-content:center;position:relative;flex:0 0 32px;width:32px;height:32px;margin:0;color:#727a81;}
.wao-softa-design .wao-soft-os-yes .wao-soft-os-art{color:#0078d4;}
.wao-softa-design .wao-soft-os-composite{display:block;width:32px!important;height:32px!important;max-width:32px;overflow:visible;}
.wao-softa-design .wao-soft-os-check{position:absolute;right:-1px;top:0;display:flex;align-items:center;justify-content:center;width:12px;height:12px;border-radius:50%;background:#27b84b;color:#fff;}
.wao-softa-design .wao-soft-os-check svg{width:8px;height:8px;}
.wao-softa-design .wao-soft-os-name{font-size:10px;font-weight:600;line-height:1.2;color:#252a30;white-space:nowrap;letter-spacing:-.2px;}
.wao-softa-design .wao-support-card{margin:12px 0 0;}
.wao-softa-design .summary>.woocommerce-product-details__short-description,.wao-softa-design .summary>div[itemprop="description"],.wao-softa-design .summary>.product_meta{border:1px solid var(--wao-line)!important;border-radius:var(--wao-radius)!important;background:#fff!important;box-shadow:var(--wao-shadow)!important;padding:18px!important;margin:0 0 20px!important;box-sizing:border-box;}
.wao-softa-design .summary .product_meta{display:block;float:none;font-size:13px;line-height:1.8;}
.wao-softa-design .summary .product_meta>span{display:block;padding:8px 0;border-bottom:1px solid #eeece7;}
.wao-softa-design .summary .product_meta>span:last-child{border:0;}
.wao-softa-design .summary .product_meta .sku_wrapper{font-size:inherit;line-height:inherit!important;}
.wao-softa-design .summary .woocommerce-product-details__short-description>div,.wao-softa-design .summary div[itemprop="description"]>div{box-shadow:none!important;border:0!important;border-radius:0!important;}
.wao-softa-design .summary>canvas{display:none!important;}
.wao-softa-design .wao-softa-product-sidebar>.widget,.wao-softa-design .wao-softa-product-sidebar .widget{padding:18px;border:1px solid var(--wao-line);border-radius:var(--wao-radius);background:#fff;box-shadow:var(--wao-shadow);margin:0 0 20px;}
/* Softa has div.products > Bootstrap column > div.product, not li.product. */
.wao-softa-design .products .wao-softa-loop-card{display:flex;flex-direction:column;align-items:stretch;border:1px solid var(--wao-line)!important;border-radius:var(--wao-radius)!important;background:#fff!important;box-shadow:var(--wao-shadow);overflow:hidden;margin:0 0 18px!important;padding:16px 12px!important;min-width:0;box-sizing:border-box;height:calc(100% - 18px);}
.wao-softa-design .products.row{display:flex;flex-wrap:wrap;}
.wao-softa-design .products.row::before,.wao-softa-design .products.row::after{display:none;}
.wao-softa-design .products.row>[class*="col-"]{display:flex;min-width:0;}
.wao-softa-design .products.row>[class*="col-"]>.product{width:100%;}
.wao-softa-design .products .wao-softa-loop-card .image{border:0;margin:0 0 12px;}
.wao-softa-design .products .wao-softa-loop-card .image .img{display:block;}
.wao-softa-design .products .wao-softa-loop-card .image img{height:190px;max-height:190px;width:100%;object-fit:contain;}
.wao-softa-design .products .wao-softa-loop-card .image img.show{display:none!important;}
.wao-softa-design .products .wao-softa-loop-card h2,.wao-softa-design .products .wao-softa-loop-card h3{font-size:14px!important;line-height:1.4;min-height:40px;margin:0 0 16px;font-weight:400;text-align:center;}
.wao-softa-design .products .wao-softa-loop-card .star-rating{float:none;margin:0 auto 8px!important;}
.wao-softa-design .products .wao-softa-loop-card .price{display:block;margin:0 0 12px!important;line-height:1.4;text-align:center;clear:both;}
.wao-softa-design .products .wao-softa-loop-card .price del{font-size:12px;color:#939a9f;}
.wao-softa-design .products .wao-softa-loop-card .button{position:static!important;transform:none!important;opacity:1!important;visibility:visible!important;width:100%;max-width:210px;align-self:center;margin:0 auto!important;border-radius:8px!important;font-size:12px!important;line-height:1.4!important;padding:8px 12px!important;white-space:normal;}
.wao-softa-design .products .wao-softa-loop-card .woocommerce-LoopProduct-link{display:block;margin-bottom:auto;}
.wao-softa-design .onsale{display:none!important;}
/* Existing Visual Composer home panels retain their links and content. */
.wao-softa-design .minicart-wrap{border:1px solid var(--wao-line);border-radius:16px;box-shadow:0 6px 22px #1823331a;}
.wao-softa-design .minicart-wrap .button{border-radius:7px!important;}
.wao-softa-design.woocommerce-cart .woocommerce-cart-form,.wao-softa-design.woocommerce-cart .cart_totals{background:#fff;border:1px solid var(--wao-line);border-radius:16px;padding:18px;box-shadow:var(--wao-shadow);}
.wao-softa-design.woocommerce-cart table.shop_table{border-collapse:separate;border-spacing:0;border:0!important;}
.wao-softa-design.woocommerce-cart table.shop_table td,.wao-softa-design.woocommerce-cart table.shop_table th{border:0;border-bottom:1px solid #eeece7;padding:14px 8px;}
.wao-softa-design.woocommerce-cart .coupon{display:flex;gap:8px;flex-wrap:wrap;}
.wao-softa-design.woocommerce-cart .coupon .input-text,.wao-softa-design.woocommerce-cart .coupon .button{min-height:42px;border-radius:7px;}
.wao-softa-design.woocommerce-cart .checkout-button{border-radius:12px!important;}
.wao-softa-design .wao-sticky-product-bar{position:fixed;bottom:62px;left:50%;transform:translateX(-50%);width:min(980px,calc(100% - 24px));z-index:9990;display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--wao-line);border-radius:12px;padding:9px 12px;box-shadow:0 4px 24px #18233326;}
.wao-softa-design .wao-sticky-product-bar[hidden]{display:none!important;}
.wao-softa-design .wao-sticky-product-name{flex:1;font-size:13px;line-height:1.3;}
.wao-softa-design .wao-sticky-price{font-size:20px;font-weight:700;color:var(--wao-red);white-space:nowrap;}
.wao-softa-design .wao-sticky-price del{font-size:11px;font-weight:400;color:#9199a2;}
.wao-softa-design .wao-sticky-price ins{background:none;text-decoration:none;}
.wao-softa-design .wao-sticky-buy{border-radius:9px!important;padding:9px 15px!important;white-space:nowrap;min-height:40px;font-size:13px;}
/* Checkout overrides neutralize old Softa floats/Bootstrap widths, inside this layout. */
.wao-softa-design .wao-checkout #customer_details,.wao-softa-design .wao-checkout #customer_details>.col-1{width:100%!important;float:none!important;margin:0!important;padding:0!important;}
.wao-softa-design .wao-checkout .cart-collaterals{width:100%;margin:0;padding:0;}
.wao-softa-design .wao-checkout p{max-width:none;}
.wao-softa-design .wao-checkout .wao-emp-original .payment_box{display:block!important;}
@media(min-width:992px){.wao-softa-design .wao-softa-product-main{width:78.5%!important}.wao-softa-design .wao-softa-product-sidebar{width:21.5%!important;padding-left:5px!important}}
@media(max-width:991px){.wao-softa-design .wao-softa-product-layout{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr)}.wao-softa-design .wao-soft-os-caption{font-size:10px;padding:4px}.wao-softa-design .wao-compat-card.wao-soft-os{grid-template-columns:minmax(85px,1.5fr) repeat(6,minmax(0,1fr))}}
@media(max-width:767px){
 .wao-softa-design{--wao-radius:14px;}
 .wao-softa-design .wao-softa-product-layout{display:flex!important;flex-direction:column;gap:10px;}
 .wao-softa-design .wao-softa-product-layout>.summary,.wao-softa-design .wao-softa-product-layout>.images{width:100%!important;max-width:100%!important;}
 .wao-softa-design .wao-mobile-buy-flow{display:flex!important;flex-direction:column;gap:10px;margin:10px 0 0!important;}
 .wao-softa-design .wao-mobile-buy-flow>*{width:100%;margin:0!important;}
 .wao-softa-design .wao-mobile-buy-flow .wao-support-card{margin:0!important;}
 .wao-softa-design.single-product .wao-mobile-buy-flow #units-sold.wao-sales-card{margin:0!important;}
 .wao-softa-design .wao-mobile-buy-flow form.cart{display:flex!important;gap:8px;flex-wrap:wrap;align-items:center;margin:0!important;}
 .wao-softa-design .wao-mobile-buy-flow form.cart .single_add_to_cart_button{flex:1;min-width:110px;min-height:43px;margin:0!important;border-radius:12px!important;}
 .wao-softa-design .wao-price-rating-card{gap:8px;}
 .wao-softa-design .wao-price-rating-card .price{font-size:27px!important;}
 .wao-softa-design .wao-pr-rating .woocommerce-product-rating{gap:5px;flex-wrap:wrap;}
 .wao-softa-design .wao-compat-card.wao-soft-os{grid-template-columns:26px repeat(6,minmax(0,1fr));padding:3px 4px;gap:3px;}
 .wao-softa-design .wao-soft-os-caption{padding:3px;margin-right:4px;}
 .wao-softa-design .wao-soft-os-caption>span{display:none;}
 .wao-softa-design .wao-soft-os-caption>svg{width:18px;height:18px;flex-basis:18px;}
 .wao-softa-design .wao-soft-os-caption::after{right:-4px;}
 .wao-softa-design .wao-soft-os-name{font-size:8px;letter-spacing:-.4px;}
 .wao-softa-design .wao-payment-icons .payment-text{display:none;}
 .wao-softa-design .wao-payment-icons a{min-height:39px;}
 .wao-softa-design .wao-mobile-buy-flow>.woocommerce-product-details__short-description{padding:15px!important;border:1px solid var(--wao-line);border-radius:14px;background:#fff;box-shadow:var(--wao-shadow);}
 .wao-softa-design .wao-sticky-product-bar{gap:9px;padding:7px 9px;bottom:62px;}
 .wao-softa-design .wao-sticky-product-name{display:none;}
 .wao-softa-design .wao-sticky-price{font-size:19px;flex:1;}
 .wao-softa-design .products .wao-softa-loop-card{padding:12px 9px!important;}
 .wao-softa-design .products .wao-softa-loop-card .image img{height:160px;max-height:160px;}
 .wao-softa-design .products .wao-softa-loop-card h2,.wao-softa-design .products .wao-softa-loop-card h3{font-size:13px!important;}
 .wao-softa-design .minicart-wrap{max-width:calc(100vw - 24px);}
 .wao-softa-design.woocommerce-cart .coupon{display:grid;grid-template-columns:1fr;}
}
@media(max-width:350px){.wao-softa-design .wao-soft-os-art,.wao-softa-design .wao-soft-os-composite{width:28px!important;height:28px!important;flex-basis:28px;}.wao-softa-design .wao-soft-os-name{font-size:7px;}}
@media(prefers-reduced-motion:reduce){.wao-softa-design *{scroll-behavior:auto!important;}}
/* FlexSlider appends its controls after the PHP gallery hooks: keep thumbnails first. */
.wao-softa-design.single-product .woocommerce-product-gallery{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;}
.wao-softa-design .woocommerce-product-gallery>.flex-viewport,.wao-softa-design .woocommerce-product-gallery>.woocommerce-product-gallery__wrapper{order:0;width:100%;}
.wao-softa-design .woocommerce-product-gallery>.flex-control-thumbs{order:1;width:100%;}
.wao-softa-design .woocommerce-product-gallery>.after-product-gallery{order:2;}
.wao-softa-design .wao-mobile-buy-flow .wao-price-rating-card{display:flex;flex-direction:row;}
.wao-softa-design .wao-mobile-buy-flow .wao-price-rating-card>div{width:auto;}
.wao-softa-design .wao-mobile-buy-flow .wao-pr-rating{margin-left:auto;}
.wao-softa-design .wao-mobile-buy-flow .woocommerce-product-details__short-description>div{border:0!important;box-shadow:none!important;}
.wao-softa-design .wao-qty-button[hidden]{display:none!important;}
.wao-softa-design .wao-sticky-quantity{display:inline-flex;align-items:stretch;height:37px;border:1px solid var(--wao-line);border-radius:7px;overflow:hidden;}
.wao-softa-design .wao-sticky-qty{width:32px!important;padding:0!important;border:0!important;text-align:center;appearance:textfield;font-size:13px;}
.wao-softa-design .wao-sticky-qty::-webkit-inner-spin-button{appearance:none;}
.wao-softa-design .wao-sticky-minus,.wao-softa-design .wao-sticky-plus{width:25px;padding:0!important;border:0!important;border-radius:0!important;background:#f8f8f8!important;color:#263443!important;box-shadow:none;}
.wao-softa-design .product_meta .sku_wrapper::before,.wao-softa-design .product_meta .posted_in::before,.wao-softa-design .product_meta .tagged_as::before{display:inline-block;content:"";width:17px;height:17px;vertical-align:middle;margin-right:10px;opacity:.65;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23657584' stroke-width='1.5'%3E%3Crect x='4' y='4' width='16' height='16' rx='3'/%3E%3Cpath d='M8 8v8m4-8v8m4-8v8'/%3E%3C/svg%3E");}
.wao-softa-design .product_meta .posted_in::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23657584' stroke-width='1.5'%3E%3Crect x='3' y='3' width='7' height='7' rx='2'/%3E%3Crect x='14' y='3' width='7' height='7' rx='2'/%3E%3Crect x='3' y='14' width='7' height='7' rx='2'/%3E%3Crect x='14' y='14' width='7' height='7' rx='2'/%3E%3C/svg%3E");}
.wao-softa-design .product_meta .tagged_as::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23657584' stroke-width='1.5'%3E%3Cpath d='M3 3h8l10 10-8 8L3 11z'/%3E%3Ccircle cx='7' cy='7' r='1'/%3E%3C/svg%3E");}
@media(max-width:767px){.wao-softa-design .wao-sticky-product-bar{gap:6px}.wao-softa-design .wao-sticky-buy{font-size:12px;padding:8px 10px!important}.wao-softa-design .wao-sticky-price{font-size:17px}}
@media(max-width:600px){.wao-softa-design.woocommerce-cart .coupon .input-text,.wao-softa-design.woocommerce-cart .coupon .button{width:100%!important}}

/* Neutralize the destination legacy top-bar rules only for the new product bar. */
body.wao-softa-design.single-product .wao-sticky-product-bar{top:auto!important;right:auto!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;transition:none!important;transform:translateX(-50%)!important;}
body.wao-softa-design.single-product .wao-softa-product-layout>.woocommerce-product-gallery{position:relative!important;top:auto!important;}
body.wao-softa-design.single-product.variable .wao-price-rating-card .woocommerce-Price-amount{color:var(--wao-red)!important;}

/* GameCardShop 1.0.1: green palette and commerce spacing. */
body.wao-softa-design{--wao-green:var(--gamecardshop-primary-color, #2d5262);--wao-red:var(--gamecardshop-primary-color, #2d5262);}
body.wao-softa-design.single-product .wao-softa-product-layout{margin-bottom:28px!important;}
body.wao-softa-design.single-product .wao-softa-product-main>.trustpilot-widget,
body.wao-softa-design.single-product .wao-softa-product-main>div:has(>.trustpilot-widget){margin-top:24px!important;margin-bottom:24px!important;clear:both;}
body.wao-softa-design.single-product .wao-softa-product-layout .single_add_to_cart_button,
body.wao-softa-design.single-product .wao-mobile-buy-flow .single_add_to_cart_button,
body.wao-softa-design .wao-sticky-product-bar .wao-sticky-buy,
body.wao-softa-design.woocommerce-cart .button,
body.wao-softa-design.woocommerce-cart .button-style2,
body.wao-softa-design .wao-checkout #payment #place_order,
body.wao-softa-design .wao-checkout .wao-coupon-apply{background:var(--gamecardshop-primary-color, #2d5262)!important;background-image:none!important;color:#fff!important;border-color:var(--gamecardshop-primary-color, #2d5262)!important;box-shadow:none!important;}
body.wao-softa-design.single-product .wao-softa-product-layout .single_add_to_cart_button:hover,
body.wao-softa-design .wao-sticky-product-bar .wao-sticky-buy:hover,
body.wao-softa-design .wao-checkout #payment #place_order:hover,
body.wao-softa-design.woocommerce-cart .button:hover,
body.wao-softa-design.woocommerce-cart .button-style2:hover{background:var(--gamecardshop-hover-color, #00b67a)!important;}
body.wao-softa-design .wao-price-rating-card .price,
body.wao-softa-design .wao-sticky-price,
body.wao-softa-design.woocommerce-cart .woocommerce-Price-amount{color:var(--gamecardshop-primary-color, #2d5262)!important;}
body.wao-softa-design .wao-checkout{--wao-red:var(--gamecardshop-primary-color, #2d5262);--wao-navy:var(--gamecardshop-primary-color, #2d5262);}
body.wao-softa-design.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.wao-softa-design.woocommerce-checkout .wao-native-coupon{display:none!important;}
body.wao-softa-design .wao-checkout .wao-step{color:var(--gamecardshop-primary-color, #2d5262)!important;background:#edf4e8!important;}
body.wao-softa-design .wao-checkout .wao-order-review table.shop_table{border:0!important;border-radius:0!important;table-layout:auto;background:#fff!important;}
body.wao-softa-design .wao-checkout .wao-order-review table.shop_table thead th{background:#f2f6ee!important;color:var(--gamecardshop-primary-color, #2d5262)!important;font-weight:600!important;border-top:0!important;}
body.wao-softa-design .wao-checkout .wao-order-review table.shop_table td,
body.wao-softa-design .wao-checkout .wao-order-review table.shop_table tbody th,
body.wao-softa-design .wao-checkout .wao-order-review table.shop_table tfoot th{background:#fff!important;color:#263443!important;}
body.wao-softa-design .wao-checkout .wao-order-review .product-name{overflow-wrap:anywhere;}
body.wao-softa-design .wao-checkout .wao-order-review .product-total{white-space:nowrap;width:24%;}
body.wao-softa-design .wao-checkout .wao-order-review tfoot .order-total td,
body.wao-softa-design .wao-checkout .wao-order-review tfoot .order-total th{color:var(--gamecardshop-primary-color, #2d5262)!important;}
/* Legacy Softa cart has coupon-area and button-style2 rather than native .coupon/.button. */
body.wao-softa-design.woocommerce-cart .woocommerce-cart-form{padding:18px!important;margin-bottom:20px!important;box-sizing:border-box;}
body.wao-softa-design.woocommerce-cart .woocommerce-cart-form table.shop_table{width:100%;margin-bottom:0;border:0!important;}
body.wao-softa-design.woocommerce-cart table.shop_table thead th{background:#f2f6ee!important;color:var(--gamecardshop-primary-color, #2d5262)!important;font-size:13px;font-weight:600;border:0!important;border-bottom:1px solid #e0dcd5!important;}
body.wao-softa-design.woocommerce-cart table.shop_table tbody td{background:#fff!important;border:0!important;border-bottom:1px solid #eeece7!important;vertical-align:middle;}
body.wao-softa-design.woocommerce-cart table.shop_table .product-name .name{font-weight:500;line-height:1.45;overflow-wrap:anywhere;}
body.wao-softa-design.woocommerce-cart table.shop_table .actions{text-align:right;padding-top:16px!important;border-bottom:0!important;}
body.wao-softa-design.woocommerce-cart .coupon-area{display:flex;align-items:center;justify-content:flex-start;gap:10px;flex-wrap:wrap;padding:16px 0 0!important;margin:16px 0 0!important;border:0!important;border-top:1px solid #eeece7!important;}
body.wao-softa-design.woocommerce-cart .coupon-area .input-text{width:auto;flex:1;min-width:130px;height:42px;margin:0!important;padding:9px 12px;border:1px solid #e0dcd5!important;border-radius:8px!important;}
body.wao-softa-design.woocommerce-cart .button-style2,
body.wao-softa-design.woocommerce-cart .checkout-button{min-height:42px;padding:11px 15px!important;border-radius:8px!important;line-height:1.4!important;margin:0;white-space:normal;}
body.wao-softa-design.woocommerce-cart .cart_totals table.shop_table{width:100%;}
body.wao-softa-design.woocommerce-cart .cart_totals table.shop_table th{background:#fff!important;color:#64705b!important;border:0!important;font-size:12px;}
body.wao-softa-design.woocommerce-cart .cart_totals table.shop_table td{font-size:16px;}
body.wao-softa-design.woocommerce-cart .cart_totals .wc-proceed-to-checkout{padding:14px 0 0!important;}
@media(max-width:767px){
 body.wao-softa-design .wao-softa-product-layout{margin-bottom:24px!important;}
 body.wao-softa-design .wao-checkout .wao-order-review .product-total{width:28%;}
 body.wao-softa-design.woocommerce-cart .woocommerce-cart-form{width:100%!important;float:none!important;padding:14px!important;}
 body.wao-softa-design.woocommerce-cart .woocommerce-cart-form table.shop_table thead{display:none!important;}
 body.wao-softa-design.woocommerce-cart .woocommerce-cart-form table.shop_table tbody,
 body.wao-softa-design.woocommerce-cart .woocommerce-cart-form table.shop_table tr,
 body.wao-softa-design.woocommerce-cart .woocommerce-cart-form table.shop_table td{display:block!important;width:100%!important;box-sizing:border-box;}
 body.wao-softa-design.woocommerce-cart .woocommerce-cart-form .cart_item{position:relative;padding:12px 0;border-bottom:1px solid #e0dcd5;}
 body.wao-softa-design.woocommerce-cart .woocommerce-cart-form table.shop_table td{text-align:right!important;padding:10px 0!important;min-height:36px;}
 body.wao-softa-design.woocommerce-cart .woocommerce-cart-form table.shop_table td:before{content:attr(data-title);float:left;font-weight:500;color:#64705b;}
 body.wao-softa-design.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-name{text-align:left!important;padding-right:20px!important;}
 body.wao-softa-design.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-name:before,
 body.wao-softa-design.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-remove:before,
 body.wao-softa-design.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions:before{display:none!important;}
 body.wao-softa-design.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-remove{position:absolute;right:0;top:8px;width:20px!important;border:0!important;padding:0!important;min-height:20px;}
 body.wao-softa-design.woocommerce-cart .woocommerce-cart-form table.shop_table td.product-quantity{display:flex!important;align-items:center;justify-content:space-between;}
 body.wao-softa-design.woocommerce-cart .woocommerce-cart-form .product-name .image{width:52px!important;max-width:52px!important;margin:0 10px 8px 0!important;}
 body.wao-softa-design.woocommerce-cart .woocommerce-cart-form .product-name .name{display:block;font-size:13px;}
 body.wao-softa-design.woocommerce-cart .coupon-area{display:flex;flex-direction:column;align-items:stretch;}
 body.wao-softa-design.woocommerce-cart .coupon-area .input-text,
 body.wao-softa-design.woocommerce-cart .coupon-area .button-style2{width:100%!important;}
 body.wao-softa-design .wao-sticky-product-bar{max-width:calc(100vw - 20px);box-sizing:border-box;}
}

body.wao-softa-design.woocommerce-checkout .woocommerce-info:has(>.showcoupon){display:none!important;}
body.wao-softa-design .wao-checkout input[type=radio],body.wao-softa-design .wao-checkout input[type=checkbox]{accent-color:var(--gamecardshop-primary-color, #2d5262);}
body.wao-softa-design .wao-checkout .wao-section-title h2{color:var(--gamecardshop-primary-color, #2d5262)!important;}

/* 1.0.3 — clean order summary and a flush, equal-height purchase row. */
body.wao-softa-design.woocommerce-checkout .wao-checkout #order_review table.shop_table{width:100%!important;border:0!important;border-collapse:collapse!important;border-spacing:0!important;box-shadow:none!important;outline:0!important;background:#fff!important;}
body.wao-softa-design.woocommerce-checkout .wao-checkout #order_review table.shop_table tr,
body.wao-softa-design.woocommerce-checkout .wao-checkout #order_review table.shop_table th,
body.wao-softa-design.woocommerce-checkout .wao-checkout #order_review table.shop_table td{border:0!important;box-shadow:none!important;outline:0!important;background-image:none!important;}
body.wao-softa-design.woocommerce-checkout .wao-checkout #order_review table.shop_table th,
body.wao-softa-design.woocommerce-checkout .wao-checkout #order_review table.shop_table td{padding:14px 8px!important;vertical-align:middle!important;line-height:1.55!important;}
body.wao-softa-design.woocommerce-checkout .wao-checkout #order_review table.shop_table thead th{background:#f3f6f7!important;color:var(--gamecardshop-primary-color, #2d5262)!important;border-bottom:1px solid #e5ebee!important;font-weight:600!important;}
body.wao-softa-design.woocommerce-checkout .wao-checkout #order_review table.shop_table tbody tr+tr td,
body.wao-softa-design.woocommerce-checkout .wao-checkout #order_review table.shop_table tfoot tr:first-child th,
body.wao-softa-design.woocommerce-checkout .wao-checkout #order_review table.shop_table tfoot tr:first-child td{border-top:1px solid #e5ebee!important;}
body.wao-softa-design.woocommerce-checkout .wao-checkout #order_review table.shop_table .product-name{text-align:left!important;white-space:normal!important;overflow-wrap:anywhere;font-size:13px!important;font-weight:400!important;}
body.wao-softa-design.woocommerce-checkout .wao-checkout #order_review table.shop_table .product-total,
body.wao-softa-design.woocommerce-checkout .wao-checkout #order_review table.shop_table tfoot td{text-align:right!important;white-space:nowrap!important;width:24%!important;}
body.wao-softa-design.woocommerce-checkout .wao-checkout #order_review table.shop_table tfoot th{text-align:left!important;}
body.wao-softa-design.woocommerce-checkout .wao-checkout #order_review table.shop_table tfoot tr.order-total th,
body.wao-softa-design.woocommerce-checkout .wao-checkout #order_review table.shop_table tfoot tr.order-total td{border-top:1px solid #dce5e9!important;color:var(--gamecardshop-primary-color, #2d5262)!important;font-size:17px!important;font-weight:650!important;padding-top:17px!important;padding-bottom:4px!important;}
body.wao-softa-design.single-product .summary form.cart{width:100%!important;max-width:none!important;box-sizing:border-box!important;padding:0!important;margin-left:0!important;margin-right:0!important;column-gap:8px!important;}
body.wao-softa-design.single-product .summary form.cart:not(.variations_form),
body.wao-softa-design.single-product .summary .woocommerce-variation-add-to-cart{display:flex!important;align-items:center!important;box-sizing:border-box!important;width:100%!important;column-gap:8px!important;}
body.wao-softa-design.single-product .summary form.cart .quantity{height:42px!important;min-height:42px!important;max-height:42px!important;box-sizing:border-box!important;flex:0 0 auto!important;}
body.wao-softa-design.single-product .summary form.cart .single_add_to_cart_button{display:flex!important;align-items:center!important;justify-content:center!important;flex:1 1 0!important;width:0!important;max-width:none!important;min-width:110px!important;height:42px!important;min-height:42px!important;max-height:42px!important;box-sizing:border-box!important;padding:0 14px!important;margin:0!important;float:none!important;line-height:1.2!important;}

/* Mobile 1.0.9: one outer gutter and consistent border-box widths. */
@media(max-width:767px){
 body.wao-softa-design:is(.single-product,.woocommerce-cart,.woocommerce-checkout) .container:has(.wao-softa-product-layout,.woocommerce-cart-form,.wao-checkout){width:100%!important;max-width:100%!important;padding-left:10px!important;padding-right:10px!important;box-sizing:border-box;}
 body.wao-softa-design.single-product .product>.row{margin-left:0!important;margin-right:0!important;}
 body.wao-softa-design.single-product .wao-softa-product-main,
 body.wao-softa-design.single-product .wao-softa-product-sidebar{width:100%!important;max-width:100%!important;padding-left:0!important;padding-right:0!important;float:none!important;box-sizing:border-box;}
 body.wao-softa-design.single-product .wao-softa-product-layout,
 body.wao-softa-design.single-product .woocommerce-product-gallery,
 body.wao-softa-design.single-product .after-product-gallery,
 body.wao-softa-design.single-product .wao-mobile-buy-flow{width:100%!important;max-width:100%!important;min-width:0!important;padding:0!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box;}
 body.wao-softa-design.single-product .wao-mobile-buy-flow>*{width:100%!important;max-width:100%!important;min-width:0;box-sizing:border-box!important;margin-left:0!important;margin-right:0!important;float:none!important;}
 body.wao-softa-design.single-product .wao-mobile-buy-flow form.cart{padding:0!important;}
 body.wao-softa-design.single-product .wao-mobile-buy-flow .wao-payment-icons{padding:0!important;}
 body.wao-softa-design.single-product .wao-mobile-buy-flow .wao-support-card,
 body.wao-softa-design.single-product .wao-mobile-buy-flow>.woocommerce-product-details__short-description{padding:12px!important;}
 body.wao-softa-design.single-product .wao-support-card .wao-sc-header>div{min-width:0;}
 body.wao-softa-design.single-product .wao-support-card .wao-sc-title{font-size:15px!important;overflow-wrap:anywhere;}
 body.wao-softa-design.single-product .wao-mobile-buy-flow #units-sold{padding:12px!important;}
 body.wao-softa-design.single-product .woocommerce-tabs{width:100%;max-width:100%;box-sizing:border-box;}
 body.wao-softa-design.woocommerce-cart .woocommerce-cart-form,
 body.wao-softa-design.woocommerce-cart .cart-collaterals,
 body.wao-softa-design.woocommerce-cart .cart_totals{width:100%!important;max-width:100%!important;min-width:0;box-sizing:border-box!important;margin-left:0!important;margin-right:0!important;float:none!important;}
 body.wao-softa-design.woocommerce-cart .woocommerce-cart-form,
 body.wao-softa-design.woocommerce-cart .cart_totals{padding:12px!important;}
 body.wao-softa-design.woocommerce-checkout .wao-checkout{width:100%!important;max-width:100%!important;min-width:0;box-sizing:border-box;grid-template-columns:minmax(0,1fr);}
 body.wao-softa-design.woocommerce-checkout .wao-checkout .wao-card{width:100%;max-width:100%;min-width:0;box-sizing:border-box;padding:12px!important;}
 body.wao-softa-design.woocommerce-checkout .wao-checkout .form-row,
 body.wao-softa-design.woocommerce-checkout .wao-checkout input,
 body.wao-softa-design.woocommerce-checkout .wao-checkout select{box-sizing:border-box;max-width:100%;}
 body.wao-softa-design .minicart-wrap{max-width:calc(100vw - 20px)!important;box-sizing:border-box;}
}

/* 1.0.12: desktop gallery follows the product summary, bounded by its grid row. */
@media(min-width:768px){
 body.wao-softa-design.single-product .wao-softa-product-layout>.woocommerce-product-gallery{
  position:sticky!important;
  top:var(--wao-gallery-sticky-top,100px)!important;
  align-self:start!important;
  margin-bottom:0!important;
 }
}

/* 1.0.13: Softa #all must not become the sticky gallery's scroll container.
   clip preserves horizontal clipping without creating a scrolling ancestor. */
@media(min-width:768px){
 body.wao-softa-design.single-product #all{
  overflow-x:clip!important;
  overflow-y:visible!important;
 }
}

/* Product metadata: keep the original WooCommerce fields visible below compatibility. */
body.wao-softa-design.single-product .summary > .product_meta {
 display:block!important; visibility:visible!important; opacity:1!important;
 float:none!important; clear:both; width:100%!important; max-width:100%!important;
 height:auto!important; max-height:none!important; overflow:visible!important;
 box-sizing:border-box; overflow-wrap:anywhere;
}
body.wao-softa-design.single-product .summary > .product_meta > span {
 display:block!important; float:none!important; width:auto!important;
 margin:0!important; padding:12px 0; line-height:1.8!important;
}
body.wao-softa-design.single-product .summary > .product_meta > span:first-child {padding-top:8px;}
body.wao-softa-design.single-product .summary > .product_meta > span:last-child {padding-bottom:8px;}

/* Shared category typography: main site's 13px labels and 10px row spacing. */
body.wao-softa-design .widget_product_categories .product-categories {
 font-size:13px!important; font-weight:500;
}
body.wao-softa-design .widget_product_categories .product-categories .cat-item {
 font-size:13px!important; padding:10px 0!important;
}
body.wao-softa-design .widget_product_categories .product-categories .cat-item > a,
body.wao-softa-design .widget_product_categories .product-categories .cat-item > .count {
 font-size:inherit!important; font-family:inherit; font-weight:inherit;
}

/* Align the floating purchase bar with the full product content. */
body.wao-softa-design.single-product .wao-sticky-product-bar {
 left:var(--wao-sticky-content-left,12px)!important;
 width:var(--wao-sticky-content-width,calc(100% - 24px))!important;
 max-width:none!important; box-sizing:border-box!important;
 transform:none!important;
}

/* Restore the original bar height; only the product thumbnail is 40px high. */
body.wao-softa-design.single-product .wao-sticky-product-bar .wao-sticky-thumbnail {
 display:block!important; flex:0 0 auto!important;
 height:40px!important; min-height:40px!important; max-height:40px!important;
 width:auto!important; max-width:64px!important; object-fit:contain!important;
 object-position:center!important; margin:0!important; padding:0!important;
 border:0!important; border-radius:0!important; box-shadow:none!important;
}
body.wao-softa-design.single-product .wao-sticky-product-name {min-width:0;}

/* Mobile controls: hide the header offer, lower the purchase bar and clear languages. */
@media(max-width:767px) {
 body.wao-softa-design .site-header a.button-style1 {
  display:none!important;
 }
 body.wao-softa-design.single-product .wao-sticky-product-bar {
  bottom:calc(8px + env(safe-area-inset-bottom,0px))!important;
 }
 body.wao-softa-design.single-product:has(.wao-sticky-product-bar:not([hidden])) #trp-floater-ls,
 body.wao-softa-design.single-product:has(.wao-sticky-product-bar:not([hidden])) .trp-floating-switcher {
  display:none!important;
 }
}

/* Mobile cart: cancel Softa's -15px row gutters and align both cards. */
@media(max-width:767px) {
 body.wao-softa-design.woocommerce-cart .woocommerce .row:has(>form.woocommerce-cart-form) {
  margin-left:0!important; margin-right:0!important;
  width:100%!important; max-width:100%!important; box-sizing:border-box;
 }
 body.wao-softa-design.woocommerce-cart form.woocommerce-cart-form,
 body.wao-softa-design.woocommerce-cart form.woocommerce-cart-form + div {
  float:none!important; width:100%!important; max-width:100%!important;
  min-width:0!important; margin-left:0!important; margin-right:0!important;
  box-sizing:border-box!important;
 }
 body.wao-softa-design.woocommerce-cart form.woocommerce-cart-form + div {
  padding-left:0!important; padding-right:0!important;
 }
 body.wao-softa-design.woocommerce-cart .cart-collaterals,
 body.wao-softa-design.woocommerce-cart .cart-collaterals .cart_totals {
  float:none!important; width:100%!important; max-width:100%!important;
  margin-left:0!important; margin-right:0!important; box-sizing:border-box!important;
 }
 body.wao-softa-design.woocommerce-cart .cart-collaterals {
  padding-left:0!important; padding-right:0!important;
 }
}

/* Floating mobile controls stay above the purchase bar. */
.wao-product-scroll-top {display:none!important;}
@media(max-width:767px) {
 body.wao-softa-design.single-product:has(.wao-sticky-product-bar:not([hidden])) .trp-floating-switcher,
 body.wao-softa-design.single-product:has(.wao-sticky-product-bar:not([hidden])) #trp-floater-ls {
  display:block!important; position:fixed!important; top:auto!important; left:auto!important;
  right:64px!important; bottom:calc(var(--wao-purchase-bar-height,60px) + 16px + env(safe-area-inset-bottom,0px))!important;
  margin:0!important; z-index:10000!important;
  border:1px solid #e0dcd5!important; border-radius:12px!important;
  background:#fff!important; color:#2d5262!important; box-shadow:0 3px 14px #1823331a!important;
  --border:0px; --border-radius:12px; --bg:#fff; --text:#2d5262;
 }
 body.wao-softa-design.single-product:has(.wao-sticky-product-bar:not([hidden])) .trp-floating-switcher .trp-language-item__current {
  min-height:40px; box-sizing:border-box; padding:8px 12px;
 }
 body.wao-softa-design.single-product:has(.wao-sticky-product-bar:not([hidden])) .wao-product-scroll-top {
  display:flex!important; align-items:center; justify-content:center;
  position:fixed!important; top:auto!important; left:auto!important; right:14px!important;
  bottom:calc(var(--wao-purchase-bar-height,60px) + 16px + env(safe-area-inset-bottom,0px))!important;
  width:40px!important; height:40px!important; min-height:40px!important;
  padding:0!important; margin:0!important; border:1px solid #e0dcd5!important;
  border-radius:12px!important; background:#fff!important; color:#2d5262!important;
  box-shadow:0 3px 14px #1823331a!important; z-index:10000!important; cursor:pointer;
 }
 .wao-product-scroll-top:focus-visible {outline:2px solid #2d5262;outline-offset:2px;}
}

/* Equal-height mobile language and back-to-top controls. */
@media(max-width:767px) {
 body.wao-softa-design.single-product:has(.wao-sticky-product-bar:not([hidden])) .trp-floating-switcher {
  height:40px!important; min-height:40px!important; padding:0!important;
  box-sizing:border-box!important; --switcher-padding:0px;
 }
 body.wao-softa-design.single-product:has(.wao-sticky-product-bar:not([hidden])) .trp-floating-switcher .trp-language-switcher-inner {
  height:40px!important; min-height:0!important; padding:0!important;
  box-sizing:border-box!important;
 }
 body.wao-softa-design.single-product:has(.wao-sticky-product-bar:not([hidden])) .trp-floating-switcher .trp-language-item__current {
  display:flex!important; align-items:center!important; justify-content:center;
  height:38px!important; min-height:0!important; padding:0 10px!important;
  margin:0!important; box-sizing:border-box!important;
 }
}

/* Keep the compact control while allowing TranslatePress to open its list above it. */
@media(max-width:767px) {
 body.wao-softa-design.single-product:has(.wao-sticky-product-bar:not([hidden])) .trp-floating-switcher,
 body.wao-softa-design.single-product:has(.wao-sticky-product-bar:not([hidden])) .trp-floating-switcher .trp-language-switcher-inner {
  overflow:visible!important;
 }
 body.wao-softa-design.single-product:has(.wao-sticky-product-bar:not([hidden])) .trp-floating-switcher .trp-switcher-dropdown-list {
  position:absolute!important; bottom:100%!important; top:auto!important;
  right:0!important; left:auto!important; min-width:100%; width:max-content;
  box-sizing:border-box; background:#fff; border:1px solid #e0dcd5;
  border-radius:12px; box-shadow:0 3px 14px #1823331a;
 }
 body.wao-softa-design.single-product:has(.wao-sticky-product-bar:not([hidden])) .trp-floating-switcher .trp-switcher-dropdown-list[hidden] {
  display:none!important;
 }
}

/* Align the sticky gallery/support endpoint with the last product summary card. */
@media(min-width:768px) {
 body.wao-softa-design.single-product .wao-softa-product-layout > .summary > :last-child {
  margin-bottom:0!important;
 }
 body.wao-softa-design.single-product .wao-softa-product-layout > .woocommerce-product-gallery {
  padding-bottom:0!important;
 }
 body.wao-softa-design.single-product .woocommerce-product-gallery > .after-product-gallery > :last-child {
  margin-bottom:0!important;
 }
}

/* The summary ends with an inline STYLE node, so target the visible metadata card. */
@media(min-width:768px) {
 body.wao-softa-design.single-product .wao-softa-product-layout > .summary > .product_meta {
  margin-bottom:0!important;
 }
}

/* Gallery: reserve square thumbnail cells even if an image cannot load. */
body.wao-softa-design.single-product .woocommerce-product-gallery .flex-control-thumbs{align-items:flex-start!important;}
body.wao-softa-design.single-product .woocommerce-product-gallery .flex-control-thumbs li{box-sizing:border-box;position:relative;aspect-ratio:1 / 1;height:auto!important;align-self:flex-start;}
body.wao-softa-design.single-product .woocommerce-product-gallery .flex-control-thumbs li img{position:absolute;inset:0;display:block;width:100%!important;height:100%!important;max-height:100%;object-fit:contain!important;margin:0!important;}

/* Shop2 CLS: server-rendered gallery/summary flow, no post-load DOM moves.
   Both columns and each product card occupy the correct slot at first paint. */
body.wao-softa-design.single-product .wao-softa-product-layout > .wao-softa-gallery-column {
 width:100%;min-width:0;max-width:100%;margin:0;padding:0;box-sizing:border-box;
}
@media (min-width:768px) {
 body.wao-softa-design.single-product .wao-softa-product-layout > .wao-softa-gallery-column {
  position:sticky!important;
  top:var(--wao-gallery-sticky-top,100px)!important;
  align-self:start!important;
 }
 body.wao-softa-design.single-product .wao-softa-gallery-column > .woocommerce-product-gallery {
  width:100%!important;max-width:100%!important;position:relative!important;
  top:auto!important;margin:0!important;float:none!important;
 }
 /* Match the support card to the actual gallery image/thumbnail width.
    Softa gives the gallery 15px internal padding on each side on desktop.
    The support card is a sibling, so it needs the same inline inset. */
 body.wao-softa-design.single-product .wao-softa-gallery-column > .wao-support-card {
  width:calc(100% - 30px)!important;
  max-width:calc(100% - 30px)!important;
  margin:12px 15px 0!important;
  box-sizing:border-box!important;
 }
}
@media (max-width:767px) {
 /* display:contents flattens wrappers for flex order WITHOUT changing the DOM.
    The WooCommerce gallery element remains intact for thumbnails and zoom. */
 body.wao-softa-design.single-product .wao-softa-product-layout > .wao-softa-gallery-column,
 body.wao-softa-design.single-product .wao-softa-product-layout > .summary.wao-mobile-buy-flow {
  display:contents!important;
 }
 body.wao-softa-design.single-product .wao-softa-gallery-column > .woocommerce-product-gallery {
  order:0!important;width:100%!important;max-width:100%!important;
  min-width:0!important;float:none!important;margin:0!important;
  box-sizing:border-box!important;
 }
 body.wao-softa-design.single-product .wao-softa-product-layout > .summary.wao-mobile-buy-flow > * {
  order:20;
 }
 body.wao-softa-design.single-product .wao-mobile-buy-flow > .wao-price-rating-card {order:1!important;}
 body.wao-softa-design.single-product .wao-mobile-buy-flow > form.cart {order:2!important;}
 body.wao-softa-design.single-product .wao-mobile-buy-flow > .wao-payment-icons {order:3!important;}
 body.wao-softa-design.single-product .wao-softa-gallery-column > .wao-support-card {
  order:4!important;width:100%!important;max-width:100%!important;
  min-width:0!important;padding:12px!important;margin:0!important;
  box-sizing:border-box!important;
 }
 body.wao-softa-design.single-product .wao-mobile-buy-flow > #units-sold {order:5!important;}
 body.wao-softa-design.single-product .wao-mobile-buy-flow > .container-card {order:6!important;}
 body.wao-softa-design.single-product .wao-mobile-buy-flow > .wao-promo-modern {order:7!important;}
 body.wao-softa-design.single-product .wao-mobile-buy-flow > .woocommerce-product-details__short-description {order:8!important;}
 body.wao-softa-design.single-product .wao-mobile-buy-flow > div[itemprop="description"] {order:9!important;}
 body.wao-softa-design.single-product .wao-mobile-buy-flow > .wao-compat-card {order:10!important;}
 body.wao-softa-design.single-product .wao-mobile-buy-flow > .product_meta {order:11!important;}
}


/* Shop2 CLS v2: image and thumbnail geometry exists from initial HTML.
   No JS resizing/reparenting; this also supports no-script rendering. */
body.wao-softa-design.single-product .wao-softa-product-layout,
body.wao-softa-design.single-product .wao-softa-product-layout > .wao-softa-gallery-column {
  /* The gallery column uses display:contents on mobile; use the layout box as
     the mobile query container instead of silently falling back to viewport. */
  container-type: inline-size;
}
body.wao-softa-design.single-product .wao-softa-gallery-column > .woocommerce-product-gallery {
  /* Thumbnail generation is asynchronous. Reserve one complete row (4 items)
     plus the picture frame without waiting for FlexSlider. */
  /* Softa applies 15px horizontal padding on each side of .images.
     Use the INNER width for both the image (aspect-ratio) and the 4 square
     thumbnails. Keep the original 10px top/bottom thumbnail margins.
     This reserves the final size BEFORE FlexSlider, without extra space. */
  min-height: calc((100cqw - 30px) * var(--wao-gallery-height-per-width, 1.5) + (100cqw - 45px) / 4 + 20px);
}
/* On mobile, Softa's product grid removes the gallery's 15px side padding.
   Reserve against the full width instead; otherwise thumbnails cause CLS. */
@media (max-width:767px) {
 body.wao-softa-design.single-product .wao-softa-gallery-column > .woocommerce-product-gallery {
  min-height: calc(100cqw * var(--wao-gallery-height-per-width, 1.5) + (100cqw - 15px) / 4 + 20px);
 }
}
body.wao-softa-design.single-product .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper,
body.wao-softa-design.single-product .woocommerce-product-gallery > .flex-viewport {
  aspect-ratio: var(--wao-gallery-image-aspect, 2 / 3);
  width: 100% !important;
  height: auto !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  background: #fff;
}
/* Before JS creates .flex-viewport, show only the first slide in the reserved
   frame. Absolutely positioned secondary slides do not stack or change height.
   Once FlexSlider moves the wrapper into its viewport this rule no longer matches. */
body.wao-softa-design.single-product .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper {
  position: relative;
}
body.wao-softa-design.single-product .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}
body.wao-softa-design.single-product .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:not(:first-child) {
  visibility: hidden;
  pointer-events: none;
}
body.wao-softa-design.single-product .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child img:not(.zoomImg),
body.wao-softa-design.single-product .woocommerce-product-gallery > .flex-viewport .woocommerce-product-gallery__image img:not(.zoomImg) {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
}
body.wao-softa-design.single-product .woocommerce-product-gallery > .flex-viewport .woocommerce-product-gallery__wrapper,
body.wao-softa-design.single-product .woocommerce-product-gallery > .flex-viewport .woocommerce-product-gallery__image {
  height: 100% !important;
}
/* Preserve the placeholder's natural image geometry when the product has none. */
body.wao-softa-design.single-product .woocommerce-product-gallery__image--placeholder {
  aspect-ratio: var(--wao-gallery-image-aspect, 2 / 3);
}


/* Shop2 native header reserve: Softa CSS gives a 75px logo row plus 2px;
   its parent load/resize handler otherwise changes the spacer from 61 to 77px.
   Browser fixture using the real parent/child styles measured 77px at
   320, 390, 768, 1024, 1280, 1400 and 1920px.
   Only product pages: other Softa header variants remain untouched. */
body.wao-softa-design.single-product .header-space:not(.hide) {
    height:77px !important;
    min-height:77px !important;
    box-sizing:border-box;
}
