/*
Theme Name: Shoptimizer Child Theme
Theme URI:
Description: Child theme of Shoptimizer
Author: CommerceGurus
Author URI:
Template: shoptimizer
Version: 1.2.2
License:         	GNU General Public License v2 or later
License URI:     	http://www.gnu.org/licenses/gpl-2.0.html
*/

/**
 * Force body to minimum 100% height to keep footer at bottom
 */
body {
	position: relative;
	min-height: 100vh;
}

#page {
	position: relative;
	min-height: calc(100vh - 300px);
}

.col-full-nav {
	border-bottom: #eaeaea solid 1px;
	margin-bottom: 0;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05)
}

.product .woocommerce-product-gallery .flex-control-thumbs {
	margin-top: 20px;
	display: flex;
	justify-content: center;
	gap: 15px;
}

.product .woocommerce-product-gallery .flex-control-thumbs li {
	margin: 0;
	border: 1px solid #aaa;
	border-radius: 4px;
	padding: 4px;
	box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.05);
	display: block;
}

.product .woocommerce-product-gallery .flex-control-thumbs li img {
	opacity: 1;
}

.product .woocommerce-product-gallery__image {
	border: 1px solid #eaeaea;
	box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.05);
	background: white;
	overflow: hidden;
}

.product .woocommerce-product-gallery__image img {
	margin: 20px;
}

.product .product-description {
	padding-top: 20px;
	border-top: 1px solid #E0E0E0;
	margin-top: 20px;
}

/**
 * Remove full-width styling from cart button
 */
.cart .single_add_to_cart_button {
	width: auto;
}

/**
 * Remove bold styling from auto-generated descriptions
 */
.product-description-content strong {
	font-weight: normal;
}

.woocommerce-products-header .ppcp-messages {
	display: none !important;
}

/** Category Filter */
.product-categories li.cat-item {
	margin-bottom: 0.7em;
}

.product-categories ul.children {
	margin-top: 0.4em;
}

.product-categories li.cat-item .count {
	margin-left: 4px;
	opacity: 0.6;
}

li.cat-item.current>a {
	font-weight: bold;
}

.product-filter-by-price-wrapper li.chosen label {
	font-weight: bold;
}

/**
 * shoptimizer-sorting is the are above product search results that provides
 * sort order and pagination controls
 */

.shoptimizer-sorting {
	min-height: 45px;
	display: flex;
	justify-content: space-between;
	background: transparent;
	padding: 0;
	border: none;
}

.shoptimizer-sorting select.orderby {
	border: 1px solid #cacaca;
	border-radius: 4px;
	padding: 0 10px;
}

.shoptimizer-sorting .woocommerce-notices-wrapper {
	display: none;
}

.shoptimizer-sorting .woocommerce-ordering {
	margin-bottom: 0;
	display: flex;
	order: 2;
	height: 35px;
	width: 30%;
}

.shoptimizer-sorting .woocommerce-result-count {
	display: block;
	width: 30%;
	flex: 1 1 auto;
	text-align: right;
}


ul.products li.product.product-category {
	background: #eee;
	border: 12px solid white;
	padding: 12px 0;
	text-align: center;
}

ul.products {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 15px;
	margin-left: 0;
	width: 100%;
}

ul.products .swiper-wrapper li.product {
	margin-right: 15px;
	height: 100%;
}

ul.products li.product {
	border: 1px solid #eaeaea;
	border-radius: 4px;
	padding: 0;
	padding-bottom: 0 !important;
	margin: 0;
	width: 200px;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: space-between;
}

/** Override CSS from shoptimizer theme */
.static-cta-buttons ul.products li.product:not(.product-category) {
	margin-bottom: 0;
}

ul.products li.product .woocommerce-card__header {
	margin: 15px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 15px;
}

ul.products li.product .woocommerce-image__wrapper {
	background: #F0f0f0;
}

ul.products li.product .button {
	position: relative;
	border-radius: 25px;
	width: auto;
	padding: 0 25px;
}

ul.products li.product .price {
	margin-bottom: 0;
	font-size: 20px;
	font-weight: 600;
}

/**
 * Styling for the wishlist icon
 */

ul.products li.product .commercekit-wishlist.mini {
	border: 2px solid #3f99ce;
}

@media screen and (min-width: 993px) {
	.theme-shoptimizer .commercekit-wishlist.mini {
		right: 15px;
	}
}

.commercekit-wishlist.mini {
	position: absolute;
	right: 15px;
	top: 15px;
	z-index: 2;
	width: 30x;
	height: 30px;
	background: #fff;
	background-attachment: scroll;
	border-radius: 50%;
	opacity: 0;
	transition: all .2s;
	transition-duration: 0.2s;
	transition-delay: 0s;
}

li.product .commercekit-wishlist a {
	width: 26px;
}

/** Remove wierd hover styling from catalog tiles */
ul.products li.product:focus-within::before,
ul.products li.product:hover::before {
	visibility: hidden;
	opacity: 0;
}

@media (min-width: 993px) {

	.columns-4 ul.products li.product,
	.cross-sells .columns-4 li.product,
	.related .columns-4 li.product,
	.upsells .columns-4 li.product {
		float: none;
		width: 23%;
		min-width: 180px;
		max-width: 250px;
		flex: 1 1 auto;
	}
}

@media (min-width: 993px) {
	ul.products li.product:not(.product-category) {
		padding-bottom: 15px;
	}
}

ul.products li.product .product__categories {
	display: none;
}

ul.products li.product .price {}

ul.products .cat-image-wrapper {
	padding: 12px;
}

ul.products .cat-image-wrapper img {
	border-radius: 4px;
}

ul.products li.product.product-category h2 mark {
	display: inline !important;
	opacity: 0.5;
	background-color: inherit;
}

ul.menu-main-menu ul.sub-menu li.menu-item a.sub-menu-link {
	font-size: 16px;
}

.menu-top-header-menu {}

@media (max-width: 992px) {

	body.theme-shoptimizer .site-header .custom-logo-link img,
	body.wp-custom-logo .site-header .custom-logo-link img {
		height: 40px !important;
	}
}

.site-header .custom-logo-link img {
	height: 56px !important;
}

#tab-description em,
#tab-description strong {
	font-weight: normal;
}

.col-full.topbar-wrapper {
	background: #286181 !important;
	width: 100%;
	padding: 10px 0;
}

.col-full.topbar-wrapper .top-bar,
.col-full.topbar-wrapper .top-bar a {
	font-size: 16px;
	color: white !important;
	font-weight: 600;
}

.col-full.topbar-wrapper .top-bar a {
	text-decoration: underline;
}

footer h4,
footer p,
footer a:not(:hover) {
	color: white;
	font-size: 14px;
}

footer a,
.footer-blue a {
	color: white;
	font-size: 14px;
}

.searchandfilter li.sf-level-0>ul.children {
	display: none;
}

.searchandfilter li.sf-level-0.sf-option-active>ul.children {
	display: block;
}

/**
 * Format pricing by making the dollar sign and cents smaller and superscripty
 */
.woocommerce-Price-amount .bdi {
	vertical-align: text-top;
}

.woocommerce-Price-amount .woocommerce-Price-currencySymbol,
.woocommerce-Price-amount .price-cents {
	font-size: 70%;
	position: relative;
	top: -4px;
	font-weight: 400;
}

.product-subcategories {
	width: 100%;
}

.product-subcategory-links,
.product-parentcategory-links {
	list-style: outside none;
	margin: 0;
	padding: 0;
	width: 100%;
}

.product-parentcategory-links li {
	margin: 0;
}

.product-parentcategory-links li .parentcat_link {
	font-weight: 800;
}

.product-parentcategory-links li .parentcat_link.index-1 {
	padding-left: 10px;
}

.product-parentcategory-links li .parentcat_link.index-2 {
	padding-left: 20px;
}

.product-parentcategory-links li .parentcat_link.index-3 {
	padding-left: 30px;
}

.product-subcategory-links .product-subcategory-link {
	margin: 0;
	width: 100%;
}

.product-subcategory-links .product-subcategory-link img {
	border: 1px solid #555;
	border-radius: 50%;
	width: 24px;
	height: 24px;
	flex: none;
}

.product-subcategory-links .product-subcategory-link a {}

.product-subcategory-links .product-subcategory-link .caption {
	font-weight: 600;
	color: #333;
}

.product-subcategory-links .product-subcategory-link .count {
	font-weight: 500;
	color: #aaa;
	padding-left: 4px;
}


/**
 * Message to show if a product does not have a price set
 */
.salome-show-message-if-not-purchasable {
	border: 1px solid #ccc;
	background: white;
	border-radius: 4px;
	padding: 10px;
	display: flex;
	flex-direction: column;
	gap: 10;
	margin-bottom: 20px;
	margin-top: 15px;
}

.salome-live-agent-button-wrap {
	position: fixed;
	bottom: 10px;
	right: 10px;
	z-index: 99999;
}

/** Ensure that the filtering chips are next to
 * the sub-category list rather than next to them
 */
header.woocommerce-products-header {
	flex-direction: column;
}


/** Fix issue with Ninja Forms */
.nf-field-element input, .nf-field-element select, .nf-field-element textarea {
	min-height: 40px !important;
}
