/*
 * CommerceKit Neve Compatibility Styles
 */

/*
 * Neve's product layout uses percentage-based widths (48% image wrapper, 4% gap)
 * which produces fractional CSS pixel widths. Swiper JS reads offsetWidth (integer)
 * and sets slide widths to that integer, leaving a sub-pixel gap where the next
 * slide peeks through. Forcing 100% overrides Swiper's inline pixel width so the
 * slide fills the full fractional container width — CSS scroll-snap then positions
 * the slide correctly to the fractional snap point.
 */
.woocommerce.single .entry-summary ul.cgkit-attribute-swatches {
    padding-left: 0;
}

body.cgkit-has-wishlist .commercekit-wishlist.mini {
    top: 10px;
}

/* ==========================================================================
   Badge + Wishlist Positioning
   ========================================================================== */

/*
 * Neve positions .onsale at left:0. standalone.css sets left:-.5em (wishlist
 * only) or left:10px (badges active). Restore Neve's value in both cases.
 */
.theme-neve.woocommerce.cgkit-has-wishlist:not(.cgkit-has-badges) ul.products li.product span.onsale,
.theme-neve.woocommerce.cgkit-has-badges ul.products li.product span.onsale {
    left: 0;
}

@media (min-width: 993px) {
    body:not(.sticky-atc-open) button.commercekit-pdp-sticky-inner__close-button {
        display: none;
    }
}
@media (min-width: 771px) {
	.cg-layout-vertical-left .cg-thumb-swiper ul.swiper-wrapper .swiper-slide,
	.cg-layout-vertical-right .cg-thumb-swiper ul.swiper-wrapper .swiper-slide {
        width: 90px;
        height: 95px;
	}
	#commercegurus-pdp-gallery.cg-layout-vertical-right .cg-main-swiper,
	#commercegurus-pdp-gallery.cg-layout-vertical-left .cg-main-swiper {
        flex: calc(100% - 90px);
	}
}

