/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
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
*/

/**
 * Stretched Link
 */
.stretched-link a:after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
}

/**
 * Menu Items Stretched Link
 */
.e-n-menu-title {
	position: relative;
}
.e-n-menu-title .e-link:after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
}

/**
 * Fix Block Editor Alignment
 */
.alignwide {
    margin-inline: 0 !important;
}

/**
 * Facet Styling Override
 */
.facetwp-facet {
	margin-bottom: 0 !important;
}

.facetwp-facet select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    line-height: 1.2em;
    padding: 10px;
    margin: 0;
    border: 1px solid var(--text);
    border-radius: 4px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%2317343A' width='16px' height='16px'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M8.25 15 12 18.75 15.75 15m-7.5-6L12 5.25 15.75 9' /%3E%3C/svg%3E%0A");
	background-repeat: no-repeat;
	background-position: right 8px center;
	background-size: 14px;
}

.facetwp-facet input {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    line-height: 1.2em;
    padding: 10px;
    margin: 0;
    border: 1px solid var(--text);
    border-radius: 4px;
}

/**
 * Checkout Override
 */
.added_to_cart.wc-forward {
	display: none !important;
}
.woocommerce-checkout .woocommerce-additional-fields h3 {
	display: none !important;
}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper p {
	margin-top: 0 !important; 
}

/**
 * Order Received Override
 */
.woocommerce-order-received .primary-heading {
	display: none !important; 
}
.woocommerce-order-received .woocommerce-order h2 {
	font-family: var(--heading-font);
    font-weight: 400;
    font-size: 2rem;
    line-height: 1.3em;
    color: var(--text);
}
.woocommerce-order-received .woocommerce-notice {
	text-align: center;
	font-family: var(--heading-font);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.3em;
	 color: var(--text);
}
.woocommerce-order-received .woocommerce-order-overview {
    display: flex;
    align-items: center;
    justify-content: center;
	padding: 0 !important;
	font-size: 0.95rem;
	font-family: var(--body-font);
    font-weight: 400;
	 color: var(--text);
}
.woocommerce-order-received .woocommerce-order-details,
.woocommerce-order-received .woocommerce-customer-details {
	display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
    text-align: center;
	max-width: min(100%, 660px);
    margin: 0 auto 30px auto;
}
.woocommerce-order-received .woocommerce-order-details .woocommerce-table--order-details {
	height: auto;
    padding: 20px !important;
    border-radius: 4px !important;
    border: 1px solid var(--text) !important;
    font-size: 0.9rem !important;
    font-weight: 400 !important;
    color: var(--text) !important;
}
.woocommerce-order-received .woocommerce-order-details th.woocommerce-table__product-name {
	font-family: var(--heading-font);
    font-weight: 400;
    line-height: 1.3em;
    color: var(--text);
}  
.woocommerce-order-received .woocommerce-order-details .woocommerce-table__product-name {
	padding: 5px 0 !important;
}
.woocommerce-order-received .woocommerce-customer-details address {
	height: auto;
    padding: 20px;
    border-radius: 4px;
    border: 1px solid var(--text);
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text);
}
.woocommerce-order-received .woocommerce-customer-details address p {
	margin-bottom: 0 !important;
}
@media only screen and (max-width: 767px) {
	.woocommerce-order-received .woocommerce-order-overview {
		flex-flow: column;
		justify-content: center;
		align-items: center;
		text-align: center;
		gap: 15px;
	}
	.woocommerce-order-received .woocommerce-order-overview li {
		margin: 0 !important;
		padding: 0 !important;
		border: none !important;
	}
}

/**
 * Account Override
 */
.woocommerce-account .woocommerce {
	display: flex;
	flex-flow: row wrap;
	gap: 40px;
	margin: 20px 0 0 0;
}
.woocommerce-account .woocommerce:before,
.woocommerce-account .woocommerce:after {
	content: none !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation {
	width: min(250px, 30%);
}
.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
	display: block;
	width: 100%;
	font-family: var(--button-font);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.2em;
    text-transform: capitalize;
	padding: 10px 20px;
	margin: 0 0 15px 0;
    border-radius: 4px;
    border: 1px solid var(--tinted);
    background-color: var(--tinted);
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
	color: var(--white);
	border: 1px solid var(--accent);
    background-color: var(--accent);
}
.woocommerce-account .woocommerce-orders-table__cell-order-actions .woocommerce-button {
	background: none !important;
	border: none !important;
    padding: 0 !important;
    font-size: 1em !important;
    font-weight: 500 !important;
    color: var(--accent) !important;
}
@media only screen and (max-width: 947px) {
	.woocommerce-account .woocommerce-MyAccount-navigation {
		width: 100%;
	}
}

/**
 * Tables
 */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--text) !important;
  border-radius: 4px;
  overflow: hidden;
  font-family: var(--body-font);
  color: var(--text);
}
table th,
table td {
  border-style: solid !important;
  border-color: var(--text) !important;
  border-width: 0 1px 1px 0 !important;
  padding: 12px 20px !important;
  text-align: left !important;
  vertical-align: middle !important;
}
table tr > :last-child {
  border-right-width: 0 !important;
}
table > :last-child > tr:last-child > * {
  border-bottom-width: 0 !important;
}
table tbody tr,
table tbody th,
table tbody td {
  background: #fff !important;
  font-weight: normal;
}
table thead th {
  background: #34725D;
  color: #fff;
  font-family: var(--heading-font);
}
table a:not(.button) {
  color: var(--text);
}
table td::before,
table tbody th::before {
  font-family: var(--heading-font);
}

/**
 * Cart Override
 */
.woofc-area.woofc-style-02 .woofc-area-top {
	background-color: var(--primary) !important;
	color: var(--text) !important;
    font-family: var(--heading-font) !important;
    text-transform: none !important;
    letter-spacing: 5% !important;
    font-weight: normal !important;
}
.woofc-area.woofc-style-02 .woofc-no-item {
	font-family: var(--body-font) !important;
}
.woofc-area.woofc-style-02 .woofc-item-inner .woofc-item-thumb {
	display: none !important;
}
.woofc-area.woofc-style-02 .woofc-action-checkout {
	font-family: var(--button-font) !important;
    font-weight: 500 !important;
    font-size: 0.95rem !important;
    color: var(--white) !important;
    line-height: 1.2em !important;
    text-align: center !important;
    text-transform: capitalize !important;
    padding: 10px 25px !important;
    margin: 0px !important;
    border-radius: 4px !important;
    border-width: 1px !important;
    border-color: var(--text) !important;
    border-style: solid !important;
    background-color: var(--text) !important;
}

/**
 * Product Tiles
 */
.product-item {
	display: flex;
	flex-flow: column nowrap;
	gap: 15px;
	padding: 20px 25px;
	margin: 0 0 15px 0;
	border: 1px solid var(--grey);
	border-radius: 30px;
	overflow: hidden;
}

/* Top row: image beside title + SKU. With no image, the info sits on the left. */
.product-item .product-item__top {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	gap: 20px;
}

.product-item .product-item__image {
	flex: 0 0 100px;
	width: 100px;
	max-width: 30%;
}
.product-item .product-item__image[hidden] {
	display: none;
}
.product-item .product-item__image .product-item__img {
	display: block;
	width: 100%;
	height: auto;
}

.product-item .product-item__info {
	display: flex;
	flex-flow: column nowrap;
	gap: 5px;
	flex: 1 1 auto;
	min-width: 0; /* lets long titles wrap instead of pushing the tile wider */
}

.product-item .product-item__heading {
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	align-items: start;
	gap: 15px;
}

.product-item .product-item__heading .product-item__title {
	margin: 0 0 0 0;
	text-transform: uppercase;
}
.product-item .product-item__heading .product-item__index {
	white-space: nowrap;
}

.product-item .product-item__details {
	display: flex;
	flex-flow: row wrap;
	gap: 20px;
	color: #34725D;
}
.product-item .product-item__details [hidden] {
	display: none;
}

/* Below: variation selectors, quantity and add to cart */
.product-item .product-item__body {
	display: flex;
	flex-flow: column nowrap;
	gap: 15px;
}

.product-item .product-item__cart {
	display: flex;
	flex-flow: row wrap;
	align-items: start;
	justify-content: flex-end;
	gap: 20px;
}
.product-item.variation .product-item__cart {
	justify-content: flex-start;
	width: 100%;
}

/* Quantity + add to cart: kept together and pushed to the right. If the
   variation selectors leave no room, the pair wraps to its own line and
   stays right-aligned. */
.product-item .product-item__actions {
	display: flex;
	flex-flow: row nowrap;
	align-items: stretch;
	gap: 10px;
	margin-left: auto;
}

@media (max-width: 480px) {
	.product-item {
		padding: 15px 18px;
	}
	.product-item .product-item__top {
		gap: 15px;
	}
	.product-item .product-item__image {
		flex-basis: 70px;
		width: 70px;
	}
}

.product-item.variation .product-item__cart .variations_form .variations {
	display: flex;
    flex-flow: row wrap;
	align-items: start;
	gap: 8px 15px;
}
.product-item.variation .product-item__cart .variations_form .variation {
	display: flex;
    flex-flow: row nowrap;
	align-items: center;
	gap: 10px;
}
.product-item.variation .product-item__cart .variations_form .variation .label {
	font-size: 0.75rem;
	text-transform: uppercase;
}
.product-item.variation .product-item__cart .variations_form .variation .select select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    line-height: 1.2em;
    padding: 10px;
    margin: 0;
    border: 1px solid var(--text);
    border-radius: 4px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%2317343A' width='16px' height='16px'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M8.25 15 12 18.75 15.75 15m-7.5-6L12 5.25 15.75 9' /%3E%3C/svg%3E%0A");
	background-repeat: no-repeat;
	background-position: right 8px center;
	background-size: 14px;
}
.product-item.variation .product-item__cart .variations_form .variation .select select:has(option[value=""]:checked) {
	background-image: none;
}

/* One option: the form only takes the room it needs, so quantity and
   add to cart can sit on the same line. */
.product-item.variation .product-item__cart .variations_form {
	flex: 0 1 auto;
}

/* Two or more options: equal-width grid with the label above each select.
   Fits as many columns as the card allows; quantity and add to cart wrap
   below, aligned right. */
.product-item.variation .product-item__cart .variations_form:has(.variation ~ .variation) {
	flex: 1 1 100%;
}
.product-item.variation .product-item__cart .variations_form .variations:has(.variation ~ .variation) {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 10px 15px;
}
.product-item.variation .product-item__cart .variations_form .variations:has(.variation ~ .variation) .variation {
	flex-flow: column nowrap;
	align-items: stretch;
	gap: 4px;
	min-width: 0;
}
.product-item.variation .product-item__cart .variations_form .variations:has(.variation ~ .variation) .variation .select,
.product-item.variation .product-item__cart .variations_form .variations:has(.variation ~ .variation) .variation .select select {
	display: block;
	width: 100%;
}
.product-item.variation .product-item__cart .variations_form .variations:has(.variation ~ .variation) .variation .select select {
	padding-right: 30px; /* room for the arrow icon */
	text-overflow: ellipsis;
}

.product-item .product-item__cart .add_to_cart_button {
	font-family: var(--button-font);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--white);
    line-height: 1.2em;
    text-align: center;
	padding: 10px 25px;
    margin: 0;
	border: 1px solid var(--text);
    border-radius: 4px;
    background-color: var(--text);
}
.product-item .product-item__cart .add_to_cart_button:where(:hover, :focus) {
	background-color: #34725D !important;
	border-color: #34725D !important;
	color: var(--white) !important;
}

.product-item .product-item__cart .product-item__qty {
	display: inline-flex;
	align-items: stretch;
	height: 100%;
	border: 1px solid var(--text);
	border-radius: 4px;
	background: var(--white);
	overflow: hidden;
}
.product-item .product-item__cart .product-item__qty .product-item__qty-btn {
	cursor: pointer;
	padding: 8px 10px;
	margin: 0;
	border-radius: 0;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	background-color: var(--white);
	color: var(--text);
}
.product-item .product-item__cart .product-item__qty .product-item__qty-btn:where(:hover, :focus) {
	background-color: var(--text);
	color: var(--white);
}

.product-item .product-item__cart .product-item__qty .qty {
	width: 25px;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	text-align: center;
	font-size: 15px;
	color: var(--text);
	-moz-appearance: textfield;
	appearance: textfield;
}
.product-item .product-item__cart .product-item__qty .qty:focus {
	outline: none;
	box-shadow: none;
}
.product-item .product-item__cart .product-item__qty .qty::-webkit-outer-spin-button,
.product-item .product-item__cart .product-item__qty .qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}


/**
 * Product Tile - Hide Select Options
 */
.product-item__cart .add_to_cart_button[data-variation_id="0"] {
	pointer-events: none !important;
    opacity: 0.2 !important;
}
.product-item__cart .variations_form .reset {
	display: none !important;
}

/**
 * Product Tile - Featured
 */
.product-item.featured {
	border-color: var(--text);
    background-color: var(--tinted);
	flex-flow: row nowrap;
} 
.product-item.featured .product-item__cart {
	width: auto;
}
.product-item.featured .product-item__heading {
	flex-flow: column nowrap;
	justify-content: flex-start;
	gap: 8px;
}
.product-item.featured .product-item__body {
	flex-flow: row wrap;
	justify-content: space-between;
	align-items: center;
	gap: 15px 10px;
	flex-grow: 1;
}
.product-item.featured .product-item__badge {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: var(--white);
    background-color: var(--text);
    border-radius: 20px;
    margin: -20px 10px -20px -25px;
    width: fit-content;
	min-width: 100px;
    padding: 20px;
}
@media only screen and (max-width: 767px) {
	.product-item.featured {
		flex-flow: column nowrap;
	}
	.product-item.featured .product-item__badge {
		width: 100%;
		margin: 0 0 10px 0;
		padding: 10px;
	}
}

/**
 * Featured Sections
 */
.facet-gallery__grid { 
	display: grid; 
	grid-template-columns: 1fr; 
	gap: 10px; 
	margin-bottom: 20px; 
}
.facet-gallery__grid img { 
	width: 100%; 
	height: auto; 
	display: block; 
}
.facet-gallery__snippet { 
	margin-bottom:20px;
}
.facet-featured__list { 
	margin: 0 0 20px; 
}

/**
 * Facets
 */
.facetwp-type-pager {
    margin: 10px 0 0 0 !important;
    text-align: center !important;
}
.facetwp-load-more {
    font-family: var(--button-font) !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important; 
    color: var(--text) !important;
    line-height: 1.2em !important;
    text-align: center !important;
    text-transform: capitalize !important;
    padding: 8px 20px !important;
    margin: 0px auto !important;
    border-radius: 4px !important;
    border: 1px solid var(--tinted) !important;
    background-color: var(--tinted) !important;
}

/**
 * Phone Link Icon
 */
[data-tel]::before {
	content: "";
	display: inline-block;
	width: 1.2em;
	height: 1.2em;
	margin-right: 0.1em;
	vertical-align: -0.25em;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24' stroke-width='1.5' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M2.25 6.75c0 8.284 6.716 15 15 15h2.25a2.25 2.25 0 0 0 2.25-2.25v-1.372c0-.516-.351-.966-.852-1.091l-4.423-1.106c-.44-.11-.902.055-1.173.417l-.97 1.293c-.282.376-.769.542-1.21.38a12.035 12.035 0 0 1-7.143-7.143c-.162-.441.004-.928.38-1.21l1.293-.97c.363-.271.527-.734.417-1.173L6.963 3.102a1.125 1.125 0 0 0-1.091-.852H4.5A2.25 2.25 0 0 0 2.25 4.5v2.25Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24' stroke-width='1.5' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M2.25 6.75c0 8.284 6.716 15 15 15h2.25a2.25 2.25 0 0 0 2.25-2.25v-1.372c0-.516-.351-.966-.852-1.091l-4.423-1.106c-.44-.11-.902.055-1.173.417l-.97 1.293c-.282.376-.769.542-1.21.38a12.035 12.035 0 0 1-7.143-7.143c-.162-.441.004-.928.38-1.21l1.293-.97c.363-.271.527-.734.417-1.173L6.963 3.102a1.125 1.125 0 0 0-1.091-.852H4.5A2.25 2.25 0 0 0 2.25 4.5v2.25Z'/%3E%3C/svg%3E") center / contain no-repeat;
}