/* CSS Document */
/* Sticky tab links */


/* If Desktop sticky ATC bar is active - do not stick the main navigation */
@media (min-width: 993px) {
	body:not(.header-4).sticky-d.single-product .col-full-nav {
	    position: relative;
	    z-index: inherit;
	    top: inherit;
	}
	body.sticky-d.header-4.single-product .header-4-container {
		position: relative;
	}
	body:not(.header-4).sticky-d.admin-bar.single-product .col-full-nav.is_stuck {
		top: inherit;
	}
	.sticky-d.single-product .logo-mark {
		display: none;
	}
	.sticky-d.single-product .is_stuck .primary-navigation.with-logo .menu-primary-menu-container {
		margin-left: 0;
	}
	.summary form.cart.commercekit_sticky-atc .commercekit-pdp-variation-table select {
		width: calc(100% - 10px);
	}
}

body.sticky-b .call-back-feature {
    bottom: 25px;
}
.summary form.cart.commercekit_sticky-atc .variations label {
	pointer-events: none;
}
.commercekit-atc-tab-links {
	list-style: none;
	margin: 0;
}
.commercekit-atc-tab-links li {
	padding-top: 15px;
	margin: 0 22px 0 0;
    display: inline-flex;
    flex-shrink: 0;
}
.commercekit-atc-tab-links li#cgkit-tab-title-reviews {
	margin-right: 48px;
}
.commercekit-atc-tab-links li a {
	color: #565656;
	position: relative;
	outline: none;
	padding-bottom: 10px;
}
.commercekit-atc-tab-links li a:after {
	will-change: transform;
    display: block;
    position: absolute;
    top: calc(100% + 0px);
    left: 0;
    width: 100%;
    border-bottom: 4px solid #ccc;
    content: "";
    transition: transform 0.3s cubic-bezier(.28,.75,.22,.95);
    visibility: hidden;
}
.commercekit-atc-tab-links li.active a {
	color:  #111;
	-webkit-text-stroke: 0.2px;
}
.commercekit-atc-tab-links li a:focus-visible {
	outline: 0.25rem solid #2491ff;
	outline-offset: 0;
}
.commercekit-atc-tab-links li.active a:after {
	visibility: visible;
}
.commercekit-atc-tab-links li a span {
	font-size: 10px;
	position: absolute;
	margin-top: 2px;
	right: -28px;
	border-radius: 50%;
	color: #fff;
	height: 20px;
	width: 20px;
	line-height: 20px;
	display: inline-block;
	background-color: #dc9814;
	font-weight: bold;
	text-align: center;
}

/* Display default titles */
.site .panel.woocommerce-Tabs-panel--additional_information h2:first-of-type,
.site .panel.woocommerce-Tabs-panel--reviews h2:first-of-type {
	display: block;
}

/* Additional information table - full width */
.site .woocommerce-tabs table.woocommerce-product-attributes {
	max-width: none;
}

/* Hide before variations if not sticky atc clone */
.summary form.cart:not(.commercekit_sticky-atc) .commercekit-pdp-before-form {
	display: none;
}


@media (max-width: 992px) {
	
	/* Mobile ATC should always be visible */
	body.single-product {
		padding-bottom: 70px;
	}
	body.sticky-b .commercekit-sticky-add-to-cart,
	body.sticky-t .commercekit-sticky-add-to-cart {
    	top: auto;
    	bottom: 0;
	}
	body.sticky-atc-open .summary form.cart.commercekit_sticky-atc {
		visibility: visible;
		bottom: 0px;
		z-index: 9999;	
	}
	.summary form.cart.commercekit_sticky-atc {
		display: block;
		visibility: hidden;
		position: fixed;
		bottom: -500px;
		left:0px;
		width: 100%;
		z-index: 1000;
		background: #fff;
		padding: 1em 1em !important;
		margin: 0 !important;
		box-shadow: 5px 0 5px 0 rgb(27 31 35 / 10%);
		transition: all 0.45s;
	}
	.summary form.cart.commercekit_sticky-atc:after,
	.summary form.cart.commercekit_sticky-atc:before {
    	display: none;
    	height: 30px;
    	margin-right: 25px;
    	top: -45px;
    	background-color: #fff;
    	content: "";
		position: absolute;
    	right: 0;
    	width: 2px;
		pointer-events: none;
	}
	.summary form.cart.commercekit_sticky-atc:before {
    	transform: rotate(45deg);
	}
	.summary form.cart.commercekit_sticky-atc:after {
    	transform: rotate(-45deg);
	}
	body.sticky-atc-open .summary form.cart.commercekit_sticky-atc:after,
	body.sticky-atc-open .summary form.cart.commercekit_sticky-atc:before {
		display: block;
	}
	.commercekit-sticky-add-to-cart__content-product-info {
		display: none;
	}
	.commercekit-sticky-add-to-cart__content-price,
	.commercekit-sticky-add-to-cart .star-rating,
	.commercekit-sticky-add-to-cart .commercekit-atc-tab-links {
		display: none;
	}
	.commercekit-sticky-add-to-cart__content-button {
    	min-width: inherit;
    	text-align: inherit;
	}
	.commercekit-sticky-add-to-cart__content-button {
    	margin-left: inherit;
    	width: 100%;
    	text-align: center;
	}
	.site .commercekit-sticky-add-to-cart__content-button a.button {
		width: 100%;
		text-align: center;
	}
	body.sticky-atc-open {
		overflow: hidden;
		position: relative;
	}
	body.sticky-atc-open:before {
		display: block;
		position: absolute;
		z-index: 100;
		top: 0;
		left: 0;
		width: 100%;
		height: 1000%;
		background: rgba(0, 0, 0, 0.7);
		content: "";
		cursor: pointer;
		transition: opacity 0.5s, visibility 0.5s;
	}
	.site .commercekit-sticky-add-to-cart__content {
    	padding: 15px 0;
	}
	
	/* Mobile ATC product details */
	.commercekit-pdp-before-form {
		margin-bottom: 15px;
		background: #f8f8f8;
		padding: 15px;
	}
	.commercekit-pdp-before-form_wrapper {
		display: flex;
		align-items:center;
		font-size: 14px;
	}
	.commercekit-pdp-before-form_wrapper img {
		max-width: 65px;
		margin-right: 15px;
	}
	.commercekit-pdp-before-form_wrapper span.price {
		display: block;
		margin-bottom: 3px;
	}
	.summary form.cart.commercekit_sticky-atc label[for="pa_size"]:after {
		display: none;
	}
	form.cart.commercekit_sticky-atc .woocommerce-info {
		margin-top: 20px;
		margin-bottom: 0;
	}
	.site .commercekit_sticky-atc .woocommerce-variation.single_variation p:not(.stock) {
		margin-top: 10px;
		margin-bottom: 0;
	}
		
}
.commercekit-sticky-atc_wrapper {
	display: flex;
    align-items: center;
}
.commercekit-sticky-atc_wrapper img {
	max-width: 80px;
}
.commercekit-sticky-atc_wrapper div {
	flex-direction: column;
    margin-left: 15px;
	font-size: 14px;
    display: flex;
}
.commercekit-sticky-atc_price {
	font-weight: bold;
}
.commercekit_sticky-atc .woocommerce-variation.single_variation p:not(.stock) {
	max-width: fit-content;
	margin-top: 0;
	margin-bottom: 10px;
}
form.cart.commercekit_sticky-atc .woocommerce-info {
	font-size: 13px;
}

/* Desktop only sticky ATC */
@media (min-width: 993px) {
	.commercekit-sticky-add-to-cart.commercekit-atc-hide-desktop {
		display: none;
	}
	.admin-bar .commercekit-atc-sticky-tabs  {
		top:  32px;
	}
	.single-product .site-content .commercekit-sticky-add-to-cart .col-full {
		padding: 0 2.617924em;
	}
	body.sticky-atc-open .site .summary form.cart.commercekit_sticky-atc {
		overscroll-behavior: contain;
		right: 0;
	}
	body.sticky-atc-open.admin-bar .summary form.cart.commercekit_sticky-atc {
		top: 32px;
	}
	.site .summary form.cart.commercekit_sticky-atc {
		position: fixed;
		right: -420px;
		width: 420px;
		height: 100vh;
		z-index: 9999;
		background: #fff;
		top: 0px;
		transition: all 0.35s;
		box-shadow: 5px 0 5px 0 rgb(27 31 35 / 10%);
	}
	.admin-bar .site .summary form.cart.commercekit_sticky-atc {
		top: 32px;
	}
	form.cart.commercekit_sticky-atc .commercekit-pdp-sticky-inner {
		overflow-y: auto;
		height: 100%;
		padding: 1.5em;
	}
	.admin-bar .site .summary form.cart.commercekit_sticky-atc {
		height: calc(100vh - 32px);
	}
	.single-product div.product .summary form.cart.commercekit_sticky-atc {
		margin: 0;
	}
	body.sticky-atc-open .commercekit-sticky-add-to-cart {
		z-index: 0;
	}
	.commercekit-pdp-before-form_wrapper {
		display: flex;
	}
	.cgkit-sticky-atc-image {
		margin-right: 20px;
	}
	.summary form.cart.commercekit_sticky-atc .commercekit-pdp-grouped-form tbody tr {
		width: 100%;
	}
	.summary form.cart.commercekit_sticky-atc label[for="pa_size"]:after {
		display: none;
	}
	body.sticky-atc-open {
		overflow: hidden;
		position: relative;
	}
	body.sticky-atc-open:before {
		display: block;
		position: absolute;
		z-index: 6;
		top: 0;
		left: 0;
		width: 100%;
		height: 1000%;
		background: rgba(52, 53, 55, 0.4);
		content: "";
		cursor: pointer;
		transition: opacity 0.5s, visibility 0.5s;
	}
	.commercekit-pdp-sticky-inner {
		position: relative;
	}

	form.cart.commercekit_sticky-atc:before,
	form.cart.commercekit_sticky-atc:after,
	div.product form.cart.commercekit_sticky-atc:before,
	div.product form.cart.commercekit_sticky-atc:after {
		display: none;
    	height: 30px;
    	top: 1.25em;
    	right: 450px;
    	background-color: #fff;
    	content: "";
		position: absolute;
    	width: 2px;
		pointer-events: none;
	}

	body.sticky-atc-open form.cart.commercekit_sticky-atc:before,
	body.sticky-atc-open form.cart.commercekit_sticky-atc:after {
		display: block;
	}
	form.cart.commercekit_sticky-atc:before {
    	transform: rotate(45deg);
	}
	form.cart.commercekit_sticky-atc:after {
    	transform: rotate(-45deg);
	}
	.commercekit-pdp-grouped-form,
	.commercekit-pdp-variation-table {
		width: 100%;
	}
	.commercekit-pdp-before-form_wrapper {
		font-size: 14px;
    	line-height: 1.4;
	}
	.commercekit-pdp-before-form_wrapper img {
		max-width: 100px;
		margin-bottom: 10px;
	}
	.commercekit-pdp-before-form_wrapper .price {
		display: block;
    	margin: 3px 0;
	}
	form.cart.commercekit_sticky-atc .woocommerce-info {
		max-width: fit-content;
	}
	#cgkit-tab-commercekit-sticky-atc-title button {
		opacity: 0;
		visibility: hidden;
	}
	.commercekit-atc-stuck #cgkit-tab-commercekit-sticky-atc-title button {
		opacity: 1;
		visibility: visible;
	}

}

/* Sticky summary has a z-index issue to switch to relative */
@media (min-width: 771px) {
	.single-product.sticky-atc-open #page div.product .summary {
		position: relative;
	}
}
form.cart.commercekit_sticky-atc .content-title {
	font-size: 15px;
	font-weight: 500;
}

/* Sticky ATC Bar */
.commercekit-sticky-add-to-cart {
	z-index: 5;
	position: fixed;
	border-bottom: 1px solid #eee;
	display: block;
	top: -300px;
	right: 0;
	left: 0;
	padding: 0 0.15em;
	background-color: #fff;
	font-size: 15px;
	transition: all 0.45s;
}
.page-template .commercekit-sticky-add-to-cart {
	display: none;
}
.single-product .site-content .commercekit-sticky-add-to-cart .col-full {
	max-width: 1170px;
	margin-right: auto;
	margin-left: auto;
	background-color: #fff;
}
.no-breadcrumbs.single-product .site-content .commercekit-sticky-add-to-cart .col-full {
	padding-top: 0;
}
.commercekit-sticky-add-to-cart.visible {
	top: 0;
	z-index: 20;
}
.admin-bar .commercekit-sticky-add-to-cart.visible {
	top: 32px;
}
.sticky-t .commercekit-sticky-add-to-cart {
	box-shadow: 5px 0 5px 0 rgba(27, 31, 35, 0.1);
}
@media (max-width: 992px) {
	.commercekit-sticky-add-to-cart,
	.admin-bar .commercekit-sticky-add-to-cart {
		top: auto;
		bottom: -95px;
	}
	.commercekit-sticky-add-to-cart.visible,
	.admin-bar .commercekit-sticky-add-to-cart.visible {
		top: auto;
		bottom: 0px;
	}
	.commercekit-sticky-add-to-cart.commercekit-atc-hide-mobile {
		display: none;
	}
	.sticky-t .commercekit-sticky-add-to-cart.visible,
	.admin-bar.sticky-t .commercekit-sticky-add-to-cart.visible {
		top: auto;
		bottom: 0px;
	}

	/* If positioned at the bottom */
	/* Also move up the call back feature slightly */
	.sticky-b .commercekit-sticky-add-to-cart {
		top: auto;
		bottom: -300px;
		border-top: 1px solid #eee;
		border-bottom: none;
	}
	.sticky-b .commercekit-sticky-add-to-cart.visible,
	.admin-bar.sticky-b .commercekit-sticky-add-to-cart.visible {
		top: auto;
		bottom: 0;
		box-shadow: 5px 0 5px 0 rgba(27, 31, 35, 0.1);
	}
}
.commercekit-sticky-add-to-cart__content-product-info {
	display: flex;
	flex-direction: column;
	padding-left: 15px;
	color: #222;
	min-width: 0;
    flex: 1;
    margin-right: auto;
}
.commercekit-sticky-add-to-cart__content {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.commercekit-sticky-add-to-cart__content-title {
	display: block;
	padding-right: 15px;
	font-weight: 600;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}
.commercekit-sticky-add-to-cart .star-rating {
	margin-top: 2px;
	font-size: 10px;
}
.commercekit-sticky-add-to-cart__content-price {
	margin-right: 5px;
	color: #111;
}
.commercekit-sticky-add-to-cart__content-price del {
	margin-right: 5px;
	opacity: 0.35;
	font-size: 0.85em;
}
.commercekit-sticky-add-to-cart__content-button {
	margin-left: auto;
}
.rtl .commercekit-sticky-add-to-cart__content-button {
	margin-left: 0;
}
.site .commercekit-sticky-add-to-cart__content-button a.button {
	font-size: 14px;
	font-weight: 600;
	transition: all 0.2s;
}
.commercekit-sticky-add-to-cart__content-button a.added_to_cart {
	display: none;
}
.commercekit-sticky-add-to-cart img {
	width: inherit;
	max-height: 65px;
}
.admin-bar .commercekit-sticky-add-to-cart--slideInDown {
	top: 32px;
}
/* Hide button if a subscription product which has plans */
.site .has-subscription-plans .commercekit-sticky-add-to-cart__content-button a.button {
    display: none;
}
body.drawer-open .shoptimizer-mini-cart-wrap {
	z-index: 9999;
}
@media (max-width: 992px) {
	.site-content .commercekit-sticky-add-to-cart .col-full {
		padding-right: 1em;
		padding-left: 1em;
	}
	.commercekit-sticky-add-to-cart img {
		display: none;
	}
	.commercekit-sticky-add-to-cart__content-product-info {
		padding-left: 0;
	}
}
.commercekit-atc-sticky-tabs {
	width: 100%;
	background: #fff;
	position: sticky;
	top: 0px;
	z-index: 3;
	overflow: hidden;
	padding-right: 2.617924em;
    padding-left: 2.617924em;
    background-image: linear-gradient(#eee,#eee);
	background-position: 0 100%;
	background-size: 100% 1px;
	background-repeat: no-repeat;
}
/* Hide the sticky add to cart when the sidebar cart drawer is open */
body.sticky-atc-open.drawer-open .summary form.cart.commercekit_sticky-atc {
	visibility: hidden;
	display: none;
	z-index: -1;
}
.site .wc-tabs-wrapper {
	border: none;
}
.commercekit-atc-sticky-tabs ul.commercekit-atc-tab-links {
	margin: 0 auto;
	font-size: 15px;
	display: flex;
	align-items: flex-start;
}
.commercekit-atc-sticky-tabs li.active a {
	color:  #111;
}

#cgkit-tab-reviews-title {
	padding-right: 28px;
}

#cgkit-tab-commercekit-sticky-atc-title {
	padding-top: 7px;
	margin: 0 0 0 auto;
}

.site #cgkit-tab-commercekit-sticky-atc-title button {
    padding: 0.5180469716em 1.21575em;
	font-size: 14px;
	font-weight: bold;
    border-radius: 4px;
    transition: all 0.2s;
}
.commercekit-atc-sticky-tabs .commercekit-atc-tab-links {
	display: flex;
	justify-content: flex-start;
	overflow: hidden;
	overflow: -moz-scrollbars-none;
	-ms-overflow-style: none;
	position: relative;
	scrollbar-width: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
	white-space: nowrap;
}
.commercekit-atc-sticky-tabs .commercekit-atc-tab-links::-webkit-scrollbar {
	background: transparent;
	display: none;
	height: 0;
	width: 0;
}
.commercekit-atc-sticky-tabs .commercekit-atc-tab-links.cgkit-dragging {
	cursor: grabbing;
}
.commercekit-atc-sticky-tabs .commercekit-atc-tab-links.cgkit-dragging a {
	pointer-events: none;
	cursor: grabbing;
}
@media (min-width: 993px) {
	#cgkit-mobile-commercekit-sticky-atc {
		display: none;
	}
}
@media (max-width: 992px) {
	.commercekit-atc-sticky-tabs {
		border-top: 1px solid #eee;
		padding-left: 15px;
    	padding-right: 15px;
	}
	.commercekit-atc-sticky-tabs .commercekit-atc-tab-links {
    	overflow-x:scroll;
	}
	.commercekit-atc-sticky-tabs ul.commercekit-atc-tab-links {
		font-size: 14px;
	}
	#cgkit-tab-commercekit-sticky-atc-title {
		display: none;
	}
	#cgkit-mobile-commercekit-sticky-atc {
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		padding: 0 1rem;
		margin: 0 auto;
		max-width: 1170px;
		text-align: center;
		background: #fff;
		box-shadow: 4px -5px 6px rgb(50 50 50 / 5%);
		z-index: 20;
	}
	.mobile-toggled #cgkit-mobile-commercekit-sticky-atc,
	.drawer-open #cgkit-mobile-commercekit-sticky-atc {
		z-index: 5;
	}
	.site #cgkit-mobile-commercekit-sticky-atc button {
		width: 100%;
		margin: 15px 0px;
		font-size: 14px;
		font-weight: bold;
	}
}

/* Product Bundles */
.reset_bundled_variations_fixed {
	display: none;
}


/* RTL */
.rtl .commercekit-atc-tab-links li {
    margin: 0 0px 0 22px;
}

.rtl #cgkit-tab-commercekit-sticky-atc-title {
	margin: 0 auto 0 0;
}

@media (max-width: 992px) {
	.rtl .commercekit-pdp-before-form_wrapper img {
		margin-left: 15px;
		margin-right: 0;
	}
}
@media (min-width: 993px) {
	.rtl .site .summary form.cart.commercekit_sticky-atc {
		left: -420px;
		right: auto;
	}
	body.rtl.sticky-atc-open .site .summary form.cart.commercekit_sticky-atc {
		left: 0px;
		right: auto;
	}
	.rtl .cgkit-sticky-atc-image {
		margin-right: 0;
		margin-left: 20px;
	}

	.rtl form.cart.commercekit_sticky-atc:before,
	.rtl form.cart.commercekit_sticky-atc:after,
	.rtl div.product form.cart.commercekit_sticky-atc:before,
	.rtl div.product form.cart.commercekit_sticky-atc:after {
		left: 450px;
		right: auto;
	}

}
.cgkit-atc-product-woosg .commercekit-sticky-add-to-cart__content-button,
.cgkit-atc-product-woosg #cgkit-tab-commercekit-sticky-atc-title,
.cgkit-mobile-atc-product-woosg,
.cgkit-atc-product-woosb .commercekit-sticky-add-to-cart__content-button,
.cgkit-atc-product-woosb #cgkit-tab-commercekit-sticky-atc-title,
.cgkit-mobile-atc-product-woosb {
	display: none;
}

