/**
 * GW Blueprint - Main Stylesheet
 * 
 * This file contains base styles and utilities for the theme
 */

/* CSS Variables for easy customization */
/* Reset and Base Styles */
:root{
	--header-height: 80px;
}
* {
	box-sizing: border-box;
}
body {
	font-size: 16px;
	line-height: 1.6;
	margin: 0;
	padding: 0;
	overflow-x: clip;
}

/* Typography */
p:last-child,
ul:last-child,
ol:last-child{
	margin-bottom: 0;
}
ul:empty,
ol:empty,
li:empty,
p:empty{
	display: none;
}
img{
	max-width: 100%;
	border:none;
	outline:none;
}

input,
select,
textarea,
button{
	outline: none;
}
::-webkit-scrollbar {
	width: 5px;
}
::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.1);
}
::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, 0.2);
}

/* Button Styles */
.wp-element-button,
.button{
	--btnColor: var(--wp--preset--color--custom-color-500);
	--btnColorHover: color-mix(in srgb, var(--btnColor) 85%, #000000);
	--btnTextColor: var(--wp--preset--color--neutral-white);
	--btnTextColorHover: var(--wp--preset--color--neutral-white);
	background: var(--btnColor);
	color: var(--btnTextColor);

	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap:10px;
	cursor: pointer;
	transition: all 0.3s;

	&:hover{
		background: var(--btnColorHover);
		color: var(--btnTextColorHover);
	}
}
.button{
	padding: 15px 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
	border: none;
}

/*** LINK WRAPPER STYLES ***/
.link_wrapper {
	color: currentColor;
	text-decoration: none;
}
.is-style-secondary-fill .wp-element-button,
.is-style-secondary-outline .wp-element-button{
	--btnColor: var(--wp--preset--color--neutral-white);
	--btnColorHover: color-mix(in srgb, var(--btnColor) 85%, #000000);
	--btnTextColor: var(--wp--preset--color--neutral-500);
	--btnTextColorHover: var(--wp--preset--color--neutral-500);
}

.is-style-accent-fill .wp-element-button,
.is-style-accent-outline .wp-element-button{
	--btnColor: var(--wp--preset--color--custom-color-500);
	--btnColorHover: color-mix(in srgb, var(--btnColor) 85%, #000000);
	--btnTextColor: var(--wp--preset--color--neutral-white);
	--btnTextColorHover: var(--wp--preset--color--neutral-white);
}

.is-style-outline .wp-element-button,
.is-style-accent-outline .wp-element-button,
.is-style-secondary-outline .wp-element-button{
	background: none;
	border: 1px solid var(--btnColor);
	color: var(--btnColor);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);

	&:hover{
		background: var(--btnColor);
		color: var(--btnTextColorHover);
	}
}

.is-style-plus-button .wp-element-button{
	background: none;
	color: var(--wp--preset--color--neutral-500);
	font-size: 30px;
	font-weight: 200;
}

.is-style-readmore-full .wp-element-button{
	background: none;
	color: var(--wp--preset--color--neutral-500);
	justify-content: space-between;
	width: 100%;
	padding:0;
	font-weight: 600;
	text-transform: none;

	&::after{
		content: '';
		display: inline-block;
		width:20px;
		height:20px;
		background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHdpZHRoPSI1MTIiIGhlaWdodD0iNTEyIiB4PSIwIiB5PSIwIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDUxMiA1MTIiIHhtbDpzcGFjZT0icHJlc2VydmUiIGNsYXNzPSIiPjxnPjxwYXRoIGQ9Im0yMi43MDcgMTEuMjkzLTctN2ExIDEgMCAwIDAtMS40MTQgMS40MTRMMTkuNTg2IDExSDJhMSAxIDAgMCAwIDAgMmgxNy41ODZsLTUuMjkzIDUuMjkzYTEgMSAwIDEgMCAxLjQxNCAxLjQxNGw3LTdhMSAxIDAgMCAwIDAtMS40MTR6IiBmaWxsPSIjM2U0MzQ5IiBvcGFjaXR5PSIxIiBkYXRhLW9yaWdpbmFsPSIjMDAwMDAwIj48L3BhdGg+PC9nPjwvc3ZnPg==);
		background-size: contain;
		background-repeat: no-repeat;
		background-position: center;
	}
}

/*** ICONS ***/
.fi{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1rem;
	height: 1rem;
}

/*** HELPERS ***/
.w-100{
	width: 100%;
}

/*** GRAVITY FORMS ***/
.gform_description:empty,
.gform_heading{
	display: none !important;
}
.form_wrapper .gform_wrapper.gravity-theme input[type=text],
.form_wrapper .gform_wrapper.gravity-theme input[type=email],
.form_wrapper .gform_wrapper.gravity-theme input[type=password],
.form_wrapper .gform_wrapper.gravity-theme input[type=tel],
.form_wrapper .gform_wrapper.gravity-theme input[type=number],
.form_wrapper .gform_wrapper.gravity-theme select,
.form_wrapper .gform_wrapper.gravity-theme textarea{
	border-radius: 0;
    height: 50px;
    border: 1px solid var(--wp--preset--color--custom-color-600);
    background: var(--wp--preset--color--neutral-white);
    padding: 10px 20px;
	font-family: var(--wp--preset--font-family--montserrat);
}
.form_wrapper .gform_wrapper.gravity-theme .gfield_label{
	display: block;
	font-size: var(--wp--preset--font-size--md);
	font-weight: 400;
	margin-bottom: 10px;
	font-weight: normal;
}
.form_wrapper .gform_wrapper.gravity-theme .gform_fields {
	grid-row-gap: var(--wp--preset--spacing--ml);
}
.form_wrapper .gform_footer{
	justify-content: center;
	padding: 0 !important;
	margin-top:30px !important;
}
.form_wrapper .gform_footer .button{
	margin:0 !important;
}

/*** HEADER ***/
header.wp-block-template-part{
	position: relative;
    background: var(--wp--preset--color--neutral-white);
    z-index: 99;
}
.page-template-fixed-header header.wp-block-template-part{
    margin-bottom: calc(var(--header-height) * -1);
	background:none;
}
#header_wrapper{
	position: relative;
	height: var(--header-height);
	z-index: 99;
}
#header_main{
	position: absolute;
	top:0;
	left:0;
	width: 100%;
	height: calc(var(--header-height) - 1px);
	color: var(--wp--preset--color--neutral-white);
}
#header_main::before{
	content: '';
	position: absolute;
	top:0;
	left:0;
	width: 100%;
	height: 100%;
	z-index: -1;
}

#header_main.dark-header{
	color: var(--wp--preset--color--neutral-white);
}
#header_main.white-header{
	color: var(--wp--preset--color--neutral-500);
}
.float_active #header_main{
	position: fixed;
	box-shadow: 0 5px 5px -5px rgba(0, 0, 0, 0.2);
}
.float_active #header_main::before{
	backdrop-filter: blur(20px);
}
.admin-bar.float_active #header_main{
	top:32px;
}


/*** HEADER MENU ***/
#header_menu{
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 35px;
	font-size: 13px;
	text-transform: uppercase;
	display: none !important;
}
#header_menu li{
	position: relative;
}
#header_menu > li >a{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 0;
	gap: 5px;
    text-decoration: none;
    color: currentColor;
    transition: all 0.3s;
}
#header_menu a:hover{
    color: var(--wp--preset--color--custom-color-500);
}
#header_menu .sub-menu{
	position: absolute;
	top: 100%;
	left: 0;
	width: 250px;
	padding:10px 15px;
	display: flex;
	flex-direction: column;
	list-style: none;
	border-radius: 8px;
	box-shadow: 0 5px 5px -5px rgba(0, 0, 0, 0.2);
	background: rgba(255,255,255, 0.3);
	backdrop-filter: blur(10px);
	transform: translateY(10px);
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s;
}
#header_menu > li:hover .sub-menu{
	transform: translateY(0);
	opacity: 1;
	visibility: visible;
}
#header_menu .sub-menu li{
	margin: 0;
}
#header_menu .sub-menu a{
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	padding: 5px 0;
	gap: 5px;
	text-decoration: none;
    color: currentColor;
}
#header_menu .sub-menu a:hover{
	color: var(--wp--preset--color--custom-color-500);
}

/*** MOBILE MENU COMPONENT ***/
#menu_trigger{
	position: relative;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	cursor: pointer;
}
#menu_trigger::after{
	content: '';
	position: absolute;
	top:calc(50% - 1px);
	left: calc(50% - 12.5px);
	width: 25px;
	height: 2px;
	background:currentColor;
	transition:all 0.5s;
}
.menu_open #menu_trigger::after{
	transform: translateX(100%);
	opacity: 0;
}
#menu_trigger i{
	position: relative;
	display: block;
	width: 25px;
	height: 16px;
}
#menu_trigger i::before{
	content: '';
	position: absolute;
	top:0;
	left: 0;
	width: 100%;
	height: 2px;
	background:currentColor;
	transition:all 0.5s;
}
.menu_open #menu_trigger i::before{
	transform: translate(0px, 5px) rotate(45deg);
}
#menu_trigger i::after{
	content: '';
	position: absolute;
	bottom:0;
	left: 0;
	width: 100%;
	height: 2px;
	background:currentColor;
	transition:all 0.5s;
}
.menu_open #menu_trigger i::after{
	transform: translate(0px, -9px) rotate(-45deg);
}

#mobile_menu_container{
	position: absolute;
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--s);
	top: 100%;
	left: 0;
	width: 100%;
	border-top: 1px solid var(--wp--preset--color--neutral-200);
	background: var(--wp--preset--color--neutral-white);
	color: var(--wp--preset--color--neutral-500);
	padding: 0;
	clip-path: inset(0 0 100% 0);
	transition: all 0.3s;
}
.menu_open #mobile_menu_container{
	clip-path: inset(0 0 0 0);
}
#header_menu_mobile{
	list-style: none;
	padding:15px 0;
	margin: 0;
	display: flex;
	flex-direction: column;
}
#header_menu_mobile a{
	text-decoration: none;
	color: currentColor;
}

#header_menu_mobile > li > *{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 5px;
	padding: 5px 15px 5px 20px;
	font-size: 18px;
}

.submenu_trigger{
	display: inline-block;
	width: 25px;
	height: 25px;
	cursor: pointer;
	background-image: url('data:image/svg+xml;utf8,<svg height="512" viewBox="0 0 24 24" width="512" xmlns="http://www.w3.org/2000/svg"><g><path d="m12 16a1 1 0 0 1 -.71-.29l-6-6a1 1 0 0 1 1.42-1.42l5.29 5.3 5.29-5.29a1 1 0 0 1 1.41 1.41l-6 6a1 1 0 0 1 -.7.29z"></path></g></svg>');
	background-size: 20px;
	background-repeat: no-repeat;
	background-position: center;
	transition: all 0.3s;
}
.open .submenu_trigger{
	transform: rotate(180deg);
}
#header_menu_mobile .sub-menu{
	position: relative;
	display: none;
	list-style: none;
	padding:5px 0;
	margin: 0;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.05);
}
#header_menu_mobile .sub-menu li a{
	display: block;
	padding: 5px 30px;
}

/*** FOOTER ***/
footer.wp-block-template-part{
	margin:0;
}
footer.wp-block-template-part a{
	transition: all 0.3s;
}

/*** COMPONENTS ***/
#home_hero{
	background-image: url(../images/home_hero.jpg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.taxonomy-product_cat a{
	text-decoration: none;
}
.wc-block-components-product-button{
	transform: translateY(30px);
	opacity: 0;
	transition: all 0.3s;
}
.wp-block-group:hover > .wc-block-components-product-button{
	transform: translateY(0);
	opacity: 1;
}
.wc-block-add-to-cart-form .wp-element-button{
	--btnColor: var(--wp--preset--color--custom-color-600);
}
.wp-block-group.woocommerce{
	margin:0;
}
.wp-block-query-pagination{
	gap:10px;
}
.wp-block-query-pagination-numbers > *{
	display: inline-flex;
	width: 30px;
	height: 30px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--wp--preset--color--neutral-100);
	color: var(--wp--preset--color--neutral-500);
	transition: all 0.3s;
	text-decoration: none;

	&:hover,
	&.current{
		background: var(--wp--preset--color--custom-color-600);
		color: var(--wp--preset--color--neutral-white);
	}
}
.wp-block-query-pagination-numbers > *:first-child{
	margin-left: 0;
}

.orderby{
	border: 1px solid #CCC;
    height: 40px;
    padding: 0 10px;
    border-radius: 5px;
    cursor: pointer;
}
.has-times-new-normal-font-family{
	font-weight: lighter;
}
.wp-block-post-title{
	font-family: var(--wp--preset--font-family--times-new-normal);
	font-weight: lighter;
}
#related_products{
	padding-inline: 16px !important;
}
.woocommerce div.product form.cart table.variations th{
	padding:0;
}
.reset_variations{
	display: none;
}

/*** MEDIA QUERIES ***/
@media (max-width: 1320px) {
}

@media (max-width: 992px) {
	:root {
		--header-height: 73px;
	}
	#hero_decoration{
		width: 100px !important;
        margin: 0 !important;
	}
	.wc-block-components-product-button{
		transform: translateY(0);
		opacity: 1;
	}
	#home_hero{
		background-image: url(../images/home_hero_mobile.jpg);
	}
}

/* Categories grid mobile slider */
@media (max-width: 767px) {
	#categories_grid .categories-grid-swiper {
		overflow: hidden;
	}
}