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

:root{
	--zk-ink:#2E2338;
	--zk-ink-soft:#6A6478;
	--zk-accent:#3F7A6A;
	--zk-accent-dark:#2C5A4E;
	--zk-sand:#F6F2EB;
	--zk-vein:#E8E3DA;
}

/* Base colours */

body{ color:var(--zk-ink); }

h1,h2,h3,h4,h5,h6,
.entry-title,
.page-title,
.woocommerce-loop-product__title{ color:var(--zk-ink); }

a{ color:var(--zk-accent); }
a:hover,
a:focus{ color:var(--zk-accent-dark); }

:focus-visible{
	outline:2px solid var(--zk-accent);
	outline-offset:2px;
}

.top-bar,
.site-footer{ background-color:var(--zk-ink); }

hr{ border-color:var(--zk-vein); }

/* Buttons */

.button,
button,
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce .single_add_to_cart_button,
.woocommerce #respond input#submit{
	background-color:var(--zk-accent);
	border-color:var(--zk-accent);
	color:#fff;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce .single_add_to_cart_button:hover,
.woocommerce #respond input#submit:hover{
	background-color:var(--zk-accent-dark);
	border-color:var(--zk-accent-dark);
	color:#fff;
}

/* Square corners on cart controls */

.cart .quantity .input-text.qty,
.cart .quantity .quantity-button,
.cart .quantity .quantity-nav,
.cart .quantity .quantity-nav .quantity-button,
.cart .single_add_to_cart_button{
	border-radius:0;
}

/* Short description bullets */

.woocommerce-product-details__short-description ul{
	list-style:none;
	margin:0;
	padding-left:0;
}

.woocommerce-product-details__short-description ul li{
	position:relative;
	padding-left:24px;
}

.woocommerce-product-details__short-description ul li::before{
	content:'';
	position:absolute;
	left:0;
	top:50%;
	transform:translateY(-50%);
	width:16px;
	height:16px;
	background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%233F7A6A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2.5 8.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E");
	background-size:16px 16px;
	background-repeat:no-repeat;
}

/* Navigation */

.col-full-nav{ border-bottom:1px solid var(--zk-vein); }

/* Prices */

.archive ul.products .product .woocommerce-card__header .price{ font-size:16px; }

.single.single-product .product-details-wrapper .summary .price{ font-size:18px; }

.single.single-product .product-details-wrapper .summary .variations_form.cart .woocommerce-variation-price{
	display:none;
}

a.reset_variations{ display:none; }

/* Product tabs and accordion */

.single.single-product .woocommerce-tabs.wc-tabs-wrapper ul.tabs.wc-tabs{ display:none; }

.single.single-product .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel{ padding-top:1rem; }

.single.single-product .summary .custom-accordion-wrapper details > summary{
	font-size:15px;
	line-height:25px;
	font-weight:500;
	padding:10px 0;
}

.single.single-product .summary .custom-accordion-wrapper details > summary::after{
	content:"+";
	mask-image:none;
	width:auto;
	height:auto;
	background:transparent;
	margin-top:-11px;
	font-size:27px;
	font-weight:400;
	color:var(--zk-ink-soft);
	transition:transform .3s;
}

.single.single-product .summary .custom-accordion-wrapper details[open] summary::after{
	transform:rotate(45deg);
}

.single.single-product .summary .custom-accordion-wrapper details:last-of-type{
	border-bottom:1px solid var(--zk-vein);
}

/* Promo code */

.single.single-product .custom-coupon-message span.promo-code{
	padding:3px 11px;
	background-color:var(--zk-ink);
	color:#fff;
}

/* PayPal messaging */

.ppcp-messages{ display:none; }

/* Mobile */

@media (max-width:767px){
	.top-bar{
		padding-top:2px;
		padding-bottom:2px;
	}

	.product_title.entry-title{ font-size:20px; }

	.single.single-product .woocommerce-tabs.wc-tabs-wrapper{
		border-top:none;
		margin-top:-25px;
		padding-top:0;
		margin-bottom:0;
		padding-bottom:0;
	}
}

@media (min-width:992px){
	.woocommerce-Tabs-panel#tab-description{ padding-top:30px; }
}

/* Category description headings */

.below-woocommerce-category h2{
	font-size:22px;
	font-weight:600;
	line-height:1.3;
	margin:32px 0 8px;
}

.below-woocommerce-category h2:first-child{ margin-top:0; }

.below-woocommerce-category h3{
	font-size:18px;
	font-weight:600;
	line-height:1.4;
	margin:24px 0 8px;
}

/* Bold in body copy: Karla ships 400, 500 and 600 here, so the contrast
   comes from keeping the surrounding text lighter than the bold. */

.taxonomy-description,
.taxonomy-description p{
	font-weight:400;
}

.taxonomy-description strong,
.taxonomy-description b,
.below-woocommerce-category strong,
.below-woocommerce-category b{
	font-weight:600;
}
