/**
 * Woostify Theme Compatibility
 *
 * Loaded conditionally only when the Woostify theme is active.
 */

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

/*
 * Woostify positions .onsale at left:10px. standalone.css sets left:-.5em
 * (wishlist only). Restore Woostify's value for the wishlist-only case.
 * The badges rule in standalone.css already uses left:10px, so no override needed there.
 */
.theme-woostify.woocommerce.cgkit-has-wishlist:not(.cgkit-has-badges) ul.products li.product span.onsale {
    left: 10px;
}

/* RTL */
body.rtl.theme-woostify.woocommerce.cgkit-has-wishlist:not(.cgkit-has-badges) ul.products li.product span.onsale {
    right: 10px;
    left: auto;
}
.dialog-search-content:has(.commercekit-ajs-results) {
	overflow: visible;
}
body.cgkit-attribute-swatches-plp .product-loop-meta:not(.no-transform) {
	height: auto;
	overflow: visible;
}
body.cgkit-attribute-swatches-plp .products .product:hover .product-loop-meta:not(.no-transform) .animated-meta,
body.cgkit-attribute-swatches-plp .product-loop-meta:not(.no-transform) .animated-meta:focus-within {
	transform: translateY(0px);
	transition: none;
}
form.cgkit-swatch-form + .cgkit-as-single-atc-wrap.cgkit-as-loop-atc-wrap {
	display: block;
}
.cgkit-as-empty-atc-wrap {
	display: none;
}
.cgkit-as-wrap-plp .cgkit-attribute-swatches .cgkit-attribute-swatch.cgkit-color > button {
	display: flex;
	align-items: center;
	justify-content: center;
}
.cgkit-as-wrap-plp .cgkit-attribute-swatches .cgkit-attribute-swatch.cgkit-color > button:before {
	width: 30px;
	height: 30px;
}
.cgkit-as-wrap-plp .cgkit-attribute-swatches .cgkit-attribute-swatch.cgkit-color span.color-div {
	width: 25px;
	height: 25px;
}
.summary .cgkit-attribute-swatches .cgkit-attribute-swatch.cgkit-color > button {
	border: 0px;
	display: flex;
    justify-content: center;
    align-items: center;
}
.cgkit-as-wrap .cgkit-attribute-swatches .cgkit-attribute-swatch.cgkit-color > button:before {
	width: 40px;
	height: 40px;
}
form.variations_form #cgkit-waitlist-button,
button.cgkit-sticky-waitlist-button {
	display: none;
	position: relative;
	background: #43454b;
	border-color: #43454b;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0px;
	text-transform: none;
	border-radius: 4px;
	outline: 0;
	text-align: center;
	transition: all .2s;
	margin-left: 10px;
	padding: 10px 15px;
}
.commercekit-sticky-atc-intersector:has(#cgkit-waitlist-button),
.commercekit-sticky-atc-intersector:has(.cgkit-sticky-waitlist-button) {
	display: flex;
}
.commercekit-pdp-links {
    margin-top: 1.5rem;
}
.commercekit-size-guide .commercekit-sg-label {
    border: 0px;
}
a.commercekit-remove-wishlist2.wsl-remove.processing:before {
	animation: none;
    top: 15px;
    width: 16px;
    height: 16px;
    left: 15px;
}
.commercekit-waitlist .ckwtl-consent-wrap {
	align-items: center;
	gap: 5px;
}
.pswp .pswp__scroll-wrap {
	background-color: #000;
}
.pswp__caption .pswp__caption__center {
	text-align: center;
}
.woocommerce-mini-cart.cart_list li:has(.commercekit-order-bump-wrap) {
    padding-left: 0px;
}
body.theme-woostify .cgkit-fsn-bar-mini-cart.cgkit-fsn-bar {
	text-align: center;
}
body.theme-woostify > #view {
	overflow: visible;
}
#commercekit-atc-tabs-wrap.woocommerce-tabs .woocommerce-Tabs-panel {
	display: block;
}
@media (max-width: 992px) {
	.commercekit-sticky-add-to-cart .commercekit-container {
		display: block;
	}
	.commercekit-sticky-add-to-cart__content-button a.button {
        width: 100%;
        text-align: center;
        display: block;
    }
}
