/**
Theme Name: WR Twigg HB
Author: Quest Marketing Ltd
Author URI: https://www.quest.net.nz/
Description: A theme for WR Twigg Hawkes Bay.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wr-twigg-hb
Template: astra
*/

:root {
	--text-font-h1: clamp(2.80rem, calc(2.596rem + 1.019vw), 3.49rem);
	--text-font-h2: clamp(2.30rem, calc(2.115rem + 0.926vw), 2.93rem);
	--text-font-h3: clamp(2.07rem, calc(2.022rem + 0.261vw), 2.25rem);
	--text-font-h4: clamp(1.60rem, calc(1.474rem + 0.630vw), 2.02rem);
	--text-font-h5: clamp(1.30rem, calc(1.185rem + 0.574vw), 1.69rem);
	--text-font-h6: clamp(1.20rem, calc(1.111rem + 0.444vw), 1.50rem);
	--text-font-base: clamp(1.00rem, calc(0.963rem + 0.185vw), 1.13rem);
	--text-font-small: clamp(0.83rem, calc(0.830rem + 0.016vw), 0.84rem);
	--text-font-tiny: clamp(0.69rem, calc(0.712rem + -0.090vw), 0.63rem);
	--text-font-code: clamp(0.83rem, calc(0.830rem + 0.016vw), 0.84rem);
	--line-height-default: calc(8px + 2ex);
	--line-height-headings: calc(4px + 2ex);
}

#main .elementor-widget-text-editor p:last-of-type {
    margin: 0 !important;
}

/*#main .elementor-widget-heading .elementor-heading-title:is(h1,h2) {
    position: relative;
    display: inline;
    isolation: isolate;
}
#main .elementor-widget-heading .elementor-heading-title:is(h1,h2)::after {
    content: '';
    height: 16px;
    width: auto;
    background-color: #f8b390;
    display: block;
    position: absolute;
    bottom: 2px;
    z-index: -1;
    left: -10px;
    right: -12px;
}*/
/*#main .elementor-widget-heading .elementor-heading-title:is(h1, h2) {
    display: inline-block;
    box-shadow: inset 0 -0.3em 0 #f8b390;
    padding-bottom: 0.05em;
    line-height: 1;
}*/
#main .elementor-widget-heading .elementor-heading-title:is(h1, h2) {
    display: inline;
    background: linear-gradient(to top, #f8b390 30%, transparent 30%);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    padding: 0 0.3em;
    line-height: 1;
}

/** HEADER SEARCH **/
.dgwt-wcas-search-wrapp {
    width: 500px;
}
input#dgwt-wcas-search-input-2::placeholder {
    color: #767676;
    font-weight: 400;
    font-size: 16px;
}

/** WOOCOMMERCE **/
#ast-checkout-wrap.ast-checkout-smaller {
    margin-bottom: 3em;
}
.woocommerce .pswp__bg, .woocommerce-page .pswp__bg {
    opacity: 0 !important;
}

/** SHOP SIDEBAR **/
h2.widget-title {
  font-weight: 600;
  font-size: 20px;
  text-transform: uppercase;
}
/* Filters */
#wcpf_filter_notes-2 {
	margin-bottom: 0;
	min-height: 39px;
}
.wcpf-box-style {
	padding: 0px 14px 14px 14px;
	border: 1px solid #D4D8DD;
	background-color: #fff;
}
.wcpf-item-inner.wcpf-checkbox-item-inner {
  	font-size: 14px;
}
.wcpf-filter-notes .wcpf-note-list .wcpf-note-item {
	border: 2px solid #F16621;
	padding: 5px 10px 5px 5px;
}
.wcpf-field-button .wcpf-button {
	width: auto;
	padding: 8px 16px;
	border-radius: 50px;
	box-shadow: none;
}
.wcpf-filter button {
    box-shadow: none;
}

/** PRODUCT PAGE **/
#content section.related.products > h2 {
    display: inline;
    background: linear-gradient(to top, #f8b390 30%, transparent 30%);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    padding: 0 0.3em;
    line-height: 1;
}
#content section.related.products ul {
	padding-block-start: 2em;
}

/** PRODUCT ARCHIVES **/
.tax-product_cat #content .elementor-widget-heading .elementor-heading-title:is(h1, h2),
.tax-product_brand #content .elementor-widget-heading .elementor-heading-title:is(h1, h2){
    display: inline;
    background: linear-gradient(to top, #f8b390 30%, transparent 30%);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    padding: 0 0.3em;
    line-height: 1;
}
.woocommerce ul.products li.product .button, .woocommerce-page ul.products li.product .button {
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 0;
}

/** CART PAGE **/
.woocommerce-cart .cart-collaterals .cart_totals>h2 {
    font-size: 1.6em;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
}

/** CHECKOUT PAGE **/
.woocommerce-checkout h3 {
    font-size: 1.5em;
    text-transform: uppercase;
}
.woocommerce-checkout button#place_order {
	color: #fff;
    text-transform: uppercase;
    font-weight: 600;
}

/** SEARCH **/
.search-results #content .elementor-widget-heading .elementor-heading-title:is(h1, h2){
    display: inline;
    background: linear-gradient(to top, #f8b390 30%, transparent 30%);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    padding: 0 0.3em;
    line-height: 1;
}
.search-results .elementor.elementor-861 {
    width: 100%;
}
