/* 
Theme Name: Peptide Partners
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Custom theme based off of Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Jimmy Hsu (Peptide Partners)
Author URI: https://peptide.partners
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
/* Header submenu style */
@media (max-width:1024px) {
	.elementskit-submenu-panel {
	background-color: #fff !important;
  }
}
/* Cerification Tab Tables style */
.table-wrapper {
	overflow-x:auto;
}
.table-wrapper td, 
.table-wrapper th {
	  -webkit-overflow-scrolling: touch; /* smooth scroll for iOS */
  white-space: nowrap !important; /* prevents text from wrapping in small screens */
}

/* Product Avalbility Filter */
.wpfLiLabel{
	margin-bottom: 16px !important;
}
#wpfBlock_1 .wpfCheckbox label:before {
	border-radius:40px !important;
	border: 2px solid !important;
}
#wpfBlock_1 .wpfCheckbox label {
	width: 20px !important;
	height:20px !important;
}
/* Range slider filter */
#wpfSliderRange.ui-slider.ui-widget-content .ui-slider-handle {
	background: #562a7e !important;
	border-radius: 20px !important;
	border: none !important;
}
#wpfSliderRange .ui-widget-header {
	background-color: #eaeaea !important;
	border-radius: 100px !important;
}
#wpfSliderRange {
	border: 2px solid #bdbdbd;
	border-radius: 100px;
}

.wpfFilterContent .wpfPriceInputs {
	margin-bottom: 24px;
	font-size: 18px;
	font-weight: 600;
}

/* Product Sort Filter */
.wpfFilterWrapper {
	margin: 0px !important;
	padding: 0px !important;
}
select#wpfSortProducts {
    padding: 2px 5px;
    background-color: rebeccapurple;
    color: #fff;
    font-weight: 600;
    border-radius: 4px;
	outline: none;
}

select#wpfSortProducts option {
	background-color:#fff;
	color: #262626;
}
/* Cart page */
.eael-cart-qty-minus, .eael-cart-qty-plus {
	display:none;
}

.eael-woo-cart-td {
	display: flex;
	justify-content:center;
}

/* Woocommerce message */
.woocommerce-message {
	border-top-color: #54297d;
}
.woocommerce-message::before {
	color: #54297d;
}

.wc-forward {
	background-color: #54297d !important;
	color: #fff !important;
	text-transform: uppercase;
}

/* Overlay Add to Cart */
.overlay-add-to-cart {
	width: 100%;
	position: absolute !important;
	bottom: -110px !important;
}

.overlay-add-to-cart a:before {
	content: 'Add to Cart' !important;
	font-family: figtree, sans-serif !important;
	font-weight: 700 !important;
	text-transform: uppercase;
}

/* Keep Woo grid purchase controls visible and preserve Woo's real labels. */
body.woocommerce ul.products li.product .add_to_cart_button,
body.woocommerce-page ul.products li.product .add_to_cart_button,
body .elementor-widget-woocommerce-products ul.products li.product .add_to_cart_button,
body .shopengine-template ul.products li.product .add_to_cart_button {
	visibility: visible !important;
	opacity: 1 !important;
	font-size: 16px !important;
	line-height: 24px !important;
	pointer-events: auto !important;
}

body.woocommerce ul.products li.product .add_to_cart_button::before,
body.woocommerce-page ul.products li.product .add_to_cart_button::before,
body .elementor-widget-woocommerce-products ul.products li.product .add_to_cart_button::before,
body .shopengine-template ul.products li.product .add_to_cart_button::before {
	content: none !important;
	display: none !important;
}

.shopengine-single-product-item  .product-title {
	margin-top: -8px !important;
}

.shopengine-single-product-item  .product-price {
	margin-bottom: 55px !important;
}

/* Product filter sidebar */
.wpfButton {
	background-color:#54297d;
	color: #ffffff;
	font-size: 14px !important;
	min-height: 0px !important;
	width: 70px !important;
}

.wpfButton:hover {
	background-color:#fff;
	color: #54297d;
}

.wpfFilterVerScroll{
    max-height: 500px !important;
}

/* h2 styling override to fix tab content in single product pages */
.e-n-tabs-content [role="tabpanel"] .elementor-widget-text-editor h2 {
    margin-top: 0 !important;
}

/* Live Woo hotfix: broad archive selector for cached product-grid styles. */
body ul.products li.product .add_to_cart_button {
	visibility: visible !important;
	opacity: 1 !important;
	font-size: 16px !important;
	line-height: 24px !important;
	pointer-events: auto !important;
}

body ul.products li.product .add_to_cart_button::before {
	content: none !important;
	display: none !important;
}
