:root {
	--theme-color: #0280bb;
	--primary-color: #006480;
	--primary-color: #ca1a1a;
	--primary-dark-color: #0a4859;
	--secondary-color: #f4b312;
	--secondary-color: #212121;
	--neutral-color: #191919;
	--neutral-dark-color: #000;
	--theme-wine-color: #3f0110;
}
/*VS CODE*/
p, span {
	font-family: Lora !important;
}
h1, h2, h3, h4, h5, h6 {
	font-family: Volkhorn !important;
}
.bg-dark-color {
	background-color: #000;
}
.bg-neutral {
	background-color: var(--neutral-color);
}
.bg-primary-color {
	background-color: #330c02;
}

main .section:not(:has(.breadcrumbs)) > :is(.content, .content-fluid) {
	min-height: calc(100vh - 54px);
}
.presentation-section, .contact-section {
	position: relative;

	&::before {
		content: '';
		position: absolute;
		width: 50%;
		inset: 0px auto 0px 0px;
		background-color: var(--bg-wine-color, #330c02);
		background-color: var(--bg-wine-color, #3f0110);
		z-index: -1;
	}
	.content, .content-fluid {
		align-items: stretch;	
	}
	.heading .title {
		font-size: 50px;
		color: #ffffff !important;
	}
	.paragraph {
		font-size: 20px;
		color: #dedede !important;
	}
	.icons-list li {
		color: #cbcbcb !important;
	}
	.columns > :nth-child(1)[data-editable] .column, .columns > :nth-child(1):not([data-editable]), .columns > :nth-child(2)[data-editable] .column, .columns > :nth-child(2):not([data-editable]) {
		display: flex;
		flex-direction: column;
		justify-content: center;
	}
	
	@media (width < 567px) {
	    
    	&::before {
            width: 100%;
            height: calc(100% - 100px);
    	}
    }
	
	
}
.products-section {
	.button, .block_button {
		margin-inline: auto;
	}
}
.words-section {
	position: relative;

	&::before {
		content: '';
		position: absolute;
		inset: 0;
		z-index: 0;
		background: linear-gradient(180deg, #151515 -10%, rgb(21 21 21 / 40%) 50%, #151515 110%);
	}
	.content, .content-fluid {
		align-items: center;
	}
	.paragraph {
		color: #ffffff;
		font-size: 35px;
		opacity: 0.9999; /*Crea un contexto*/
	}
}
.single-product-section {

	.columns > :nth-child(2) {
		display: flex;
		flex-direction: column;
		gap: 15px;
	}
	/*&:nth-child(2 of .column) {
		background: red;
	}*/
}

/*Barra de wordpress en frontend tiene z-index 99999*/
/*header {
	position: sticky;
	top: -37px;
	z-index: 100000;
	background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%,rgba(255,255,255,0) 100%);
	box-shadow: 0px 1px 8px -5px #000;

	.section:first-child {
		border-bottom: 1px solid #ffffff7d;
	}
}*/
header {
	--header-height: 96px;
	position: absolute;
	top: 0;
	width: 100%;
	background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%,rgba(255,255,255,0) 100%);
	box-shadow: 0px 1px 8px -5px #000;
	z-index: 100000;

	&.is-sticky {
		position: fixed !important;
		top: -33px;
		background: #151515 !important;
		border-bottom: 1px solid #aeaeae;
		animation: slide-down 0.35s ease-out;
	}
	.section:nth-child(1) {
		border-bottom: 1px solid #ffffff7d;

		.icons-list {
			padding-block: 6px;
			
			ul li :is(i, span) {
				color: #fff;
				font-size: 13px !important;
			}
		}
	}
	.section:nth-child(2) {
		.image {
			margin-block: 6px;
		}
		.icons-list {
			ul li :is(i, span) {
				color: #fff;
			}
		}
	}
}
@keyframes slide-down {
	from {
		/*transform: translateY(-100%);*/
		top: calc(var(--header-height) * -1);
	}
	to {
		/*transform: translateY(0);*/
		top: -30px;
	}
}
.header-top {
	background-color: var(--primary-dark-color);
	background-color: var(--primary-color);
}
.header-top .icons-list li {
	color: var(--secondary-color);
	color: #fff;
}
.header-middle .wc-mini-cart .wc-mini-cart-icon {
	color: #fff;
}
.header-bottom {
	background-color: var(--primary-color);
	background-color: #ffffff;
}
/*.header-bottom .navigation nav a:not(.navigation ul ul a) {
	color: #212121;
}*/
.header-bottom .navigation nav > ul > li:first-child {
	background-color: var(--primary-color);
	color: #fff;
}
.page-banner {
	/*min-height: 200px !important;*/
}
.page-banner .section {
	/*height: 100%;*/
}
.page-banner .content {
	/*height: 100%;
	min-height: 200px !important;
	align-items: center;*/
	min-height: calc(100vh - 130px) !important;
    align-items: center;
}
.page-banner .post-title :is(h2, h3, h4, h5) {
	color: #fff;
}
/*[data-block=section][data-edit-mode].header-navigation .section :is(.content, .content-fluid) {
	align-items: center;
	justify-content: space-between;
}*/
[data-block=section].header-navigation :is(.content, .content-fluid) {
	align-items: center;
	justify-content: space-between;
}
[data-block=heading] {
	position: relative;
}
/*[data-block=heading]::before {
	content: '';
	display: block;
	position: absolute;
	width: 4px;
	height: 100%;
	top: 0;
	left: 0;
	background-color: var(--secondary-color);
	background-color: var(--primary-color);
}*/
.heading[data-block] {

	.title {
		font-size: 50px;
		line-height: 1;
		color: #151515;

		footer & {
			color: #fff;
		}
	}

	&::before {
		content: '';
		display: block;
		position: absolute;
		width: 4px;
		height: 100%;
		top: 0;
		left: 0;
		background-color: var(--primary-color);
		background-color: #e1a957;
	}
	&.center-text::before {
		width: 120px;
		height: 4px;
		inset: auto;
		inset-inline: 0;
		margin-inline: auto;
		bottom: -20px;
	}
	.bg-light-1 &::before, .bg-light-2 &::before {
		background-color: #700427;
		background-color: #5f0017;
	}
}
.heading.center-text {}

[data-block=heading] :is(h2, h3, h4, h5) {
	padding-left: 15px;
	font-family: Poppins;
	font-weight: 500;
	color: #525252;
}
.post-featured-image {
	.single-post-section & {
		aspect-ratio: 4 / 2;
	}
}
.paragraph {
	font-size: 20px;
	font-family: Lora;
	line-height: 1.8;
	color: #323232;
}
.card {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;

	.card-content {
		padding-right: 25px;
		padding-bottom: 25px;
	}
	.card-title {
		padding: 10px;
		color: #fff;
		background-color: var(--bg-wine-color, #330c02);
	}
}
.posts-carousel {
	.post {
		padding: 15px;
		background-color: #fffaf4;
	}
	.post-title {
		font-size: 24px;
		text-align: center;
	}
	.post-actions {
		display: flex;
		justify-content: center;

		a {
			color: #44331e;
		}
	}
}
.products-grid {
	/*grid-gap: 0px;*/

	.product {
		display: flex;
		flex-direction: column;
		container-type: inline-size;
		gap: 0;
		padding: 0;
		border: none;
		border-radius: 0;
		
		.product-content {
			align-items: center;
			background-color: #330c02;
			background-color: #3f0110;
		}
		.product-title {
			margin: 0;
			font-size: 22px;
			color: #fff;
		}
		.product-category {
			margin: 0;
			color: #fff;
		}
		/*Target parent pseudoclass, not children inside*/
		&:is(:nth-child(4n), :nth-child(4n+1)) .product-content {
			background-color: #151515;
		}
		.view-product {
			display: inline-block;
			padding: 14px 26px;
			color: #fff;
			font-size: 12px;
			border: 1px solid #fff;
			background-color: transparent;
			border-radius: 40px;
			text-decoration: none;
		}
	}
	&.items-landscape {
		
		.product {
			flex-direction: row;

			.product-category {
				font-family: Rubik;
				font-size: 15px;
				margin: 0;
			}
			.product-title {
				margin: 0;
				font-size: 18px;
				font-family: Rubik;
				font-weight: 400;
				font-weight: 500;
			}
			.product-image {
				width: 50%;
				flex-shrink: 0;
				aspect-ratio: 4 / 5;
			}
			.product-content {
				display: flex;
				flex-direction: column;
				gap: 20px;
				padding: 30px;
				flex-grow: 1;
				justify-content: center;
				align-items: flex-start;
				/*background-color: var(--bg-wine-color);*/
			}
			.product-view {}
		}
	}
}
.timeline .timeline-card .card-content {
	padding: 20px 30px;
	background: #3f0110;
	color: #fff;
	font-family: 'Cormorant Garamond';
}
/*.products-grid .product .product-category {
	font-family: Rubik;
	font-size: 15px;
	margin: 0;
}
.products-grid .product .product-title {
	margin: 0;
	font-size: 18px;
	font-family: Rubik;
	font-weight: 400;
	font-weight: 500;
	color: #054253;
}
.products-grid .product button {
	font-family: Roboto Flex;
}*/
.icons-advantaje .icon-box {
	min-height: 100px;
	border: 1px solid #dadada;
	border-radius: 4px;
}
.icons-advantaje .icon-box .icon-box_content {
	font-family: Rubik;
	font-family: Inter;
}
.icons-advantaje .icon-box .icon-box_icon {
	color: var(--secondary-color)
}
.icons-advantaje .icon-box :is(.icon-box_icon, .icon-box_content) {
	padding: 10px;
}
footer .heading .title {
	font-size: 22px;
	color: #fff;
}
.search-textbox .form-field {
	border-radius: 18px;
}
.search-textbox .input-trigger {
	background: #f4b312;
	background-color: var(--primary-color);
	color: #fff;
}
.search-textbox input {
	padding: 10px 15px;
	font-size: 16px;
	font-weight: 600;
}
.search-textbox .search-results {
	display: flex;
    position: absolute;
    left: 0px;
	top: calc(100% + 10px);
    width: 100%;
	border-radius: 18px;
    background: rgb(255, 255, 255);
	box-shadow: 0px 0px 10px -5px #000;
}
.cta-light-theme {
	background: #eaebef;
	background-color: var(--primary-color);
}
.cta-light-theme .cta_content a {
	background-color: var(--secondary-color);
	color: #fff;
}
[data-block=call-to-action].cta-light-theme .call-to-action :is(.title, .description), .call-to-action.cta-light-theme :is(.description, .title) {
    color: #fff;
}
.call-to-action .cta_image {
	transition: .2s ease-in-out;
}
.call-to-action:hover .cta_image {
	transform: scale(1.1);
}
[data-block=call-to-action].cta-dark-theme .call-to-action, .call-to-action.cta-dark-theme {
	color: #fff;
	background-color: var(--secondary-color);
}
[data-block=call-to-action].cta-dark-theme .call-to-action .title, .call-to-action.cta-dark-theme .title {
	color: var(--secondary-color);
	color: #f4b312;
}
[data-block=call-to-action].cta-dark-theme .call-to-action .description, .call-to-action.cta-dark-theme .description {
	color: #fff;
}
/*:is([data-block=call-to-action], .call-to-action).cta-dark-theme .cta_content a {*/
[data-block=call-to-action].cta-dark-theme .call-to-action a, .call-to-action.cta-dark-theme a {
	border: 1px solid var(--secondary-color);
	background-color: var(--secondary-color);
	color: #333e48;
}
[data-block=call-to-action].cta-dark-theme .call-to-action a, .call-to-action.cta-dark-theme a {
	border: 1px solid var(--primary-color);
	background-color: var(--primary-color);
	color: #fff;
}
.images-slider {
	/*align-self: stretch;*/
	display: flex;
	min-height: calc(100vh - 54px);
	/*min-height: 100vh;*/

	.swiper {
		width: 100%;
		/*height: 100%;*/
	}

	.slide .slide-content.grid-layout {
		 
		img {
			position: relative;
			left: calc(-1 * (100cqw - var(--content-width)) / 2);
			width: calc(100% + 100cqw - var(--content-width));
			height: auto;
			align-self: self-end;
		}
		@container (width < 768px) {
			img {
				left: auto;
				width: 100%;
			}
		}
	}
	.title {
		color: #fff;
		font-family: 'Rubik';
		font-weight: 500;
	}
	.description {
		color: #cbcbcb;
		line-height: 1.8;
		font-size: 20px;
		font-family: 'Lora';
	}
	.link {
		display: inline-block;
		position: relative;
		padding: 20px 50px;
		font-family: Lora;
		color: #000;
		border: none;
		border-radius: 40px;
		background-color: #e1a957;
		text-decoration: none;
		cursor: pointer;
	}
	:is(.swiper-button-next, .swiper-button-prev) {
		--swiper-navigation-size: 25px;
		font-weight: bolder;
		width: 60px;
		height: 60px;
		border-radius: 50%;
		border: 3px solid #bd8b4e;
		color: #bd8b4e;
	}
}
.images-carousel {
	.presentation-section & {
		a {
			aspect-ratio: 5 / 4;
		}
	}
}
.button a {
	display: inline-block;
	position: relative;
	padding: 20px 50px;
	font-family: Lora;
	color: #000;
	border: none;
	border-radius: 40px;
	background-color: #e1a957;
	text-decoration: none;
	cursor: pointer;

	&::before {
		content: "";
		position: absolute;
		border-radius: inherit;
		border: 1px solid #fff;
		inset: 5px;
	}
}
.post-title .heading {
	font-family: Roboto Flex;
	font-size: 22px;
	color: var(--primary-dark-color)
}
.product-data-sheet a {
	background: var(--secondary-color);
	color: var(--primary-dark-color);
	font-weight: 500;
	border-color: var(--secondary-color);
	text-decoration: none;
}
.icon-box.icon-left .title {
	margin: 0;
}
.icon-box.icon-left {
	align-items: center;
}
.breadcrumbs {
	font-family: Rubik
}
.breadcrumbs a {
	text-decoration: none;
	color: #5c5c5c;
}
.breadcrumbs :is(a, span):not(:last-child) {
	background-color: #e0e0e0;
	padding: 10px 12px;
	border-radius: 5px;
}
.header-middle {
	background-color: var(--secondary-color);

	:is(.content, .content-fluid) {
		justify-content: space-between;
		align-items: center;
	}
}
/*.header-middle [data-block="image"] {*/
.header-middle :not([data-editable]) .image, .header-middle [data-editable=image] {
	padding-block: 15px;
}
.header-middle [data-edit-mode] .image {
	padding-block: 0px;
}
.header-middle .icon-box .icon-box_icon {
	color: var(--secondary-color);
}
.navigation.is-mobile-navigation {

}
.navigation a {
	color: #fff;
	font-family: Lora;
	font-size: 25px;
}
.navigation a:hover {
	color: #e1a957;
}
/*.navigation nav > ul > li:not(:last-child)::before {
    content: '';
    position: absolute;
    height: 25px;
    left: 100%;
    top: 50%;
    border-left: 1px solid #e4e4e45c;
    transform: translateY(-50%);
}*/
footer .product-categories ul li {
	color: #fff;
}
footer .icons-list li {
	color: #fff;
}
footer .columns {
	--gutter: 30px;
}
footer {
	.image {
		margin: auto;
	}
	.columns > * {
		display: flex;
		flex-direction: column;
		align-items: center;
	}
}
.navigation {

	nav, .navigation-menu {
		padding: 30px;
		background-size: calc(100% - 8vw) auto;
		background-position: calc(100% + (clamp(300px, 60vw, 80vw) - 30vw) / 2) calc(100% + clamp(0px, 5vw, 110px));
		background-image: url(../img/transito-mistela-comp.png);
		background-repeat: no-repeat;
		
		a {
			color: #fff;
		}
	}
	.navigation-toggler {
		color: #fff;
	}
	.navigation-logo {
		justify-content: flex-start;
		height: 130px;
		padding: 10px 25px;
	}
	&.is-mobile-navigation:not(:has(h1)) :is(nav, .navigation-menu) {
		background-color: rgba(0,0,0,0.9) !important;		
	}
}

@media (width < 768px) {

	.header-bottom {
		background-color: var(--secondary-color);
	}
	.header-bottom :is(.content, .fluid-content) {
		align-items: center;
	}
	.header-bottom :is([data-editable=image], .image:not([data-editable] .image)) {
		margin: 12px 0px;
	}
	.header-bottom .navigation :is(nav, .navigation-menu) a:not(.navigation ul ul a) {
		color: #011b52;
	}
}

.mision-vision .icon-box {
	position: relative;
	padding: 25px;
	border: 1px solid #dadada;
	border-radius: 4px;
	background-color: #fff;
	overflow: hidden;
}
.mision-vision .icon-box_icon {
	position: absolute;
	font-size: 180px;
	left: -40px;
	bottom: -40px;
	opacity: 0.2;
	z-index: 0;
	line-height: 1;
	color: var(--primary-color);
}
@media (width < 768px) {
	/*header {
		position: sticky;
		top: 0;
	}*/
	header :is(.header-top, .header-middle, .header-navigation) {
		display: none;
	}
	.navigation .navigation-toggler {
		/*color: #646464;
		border: none;
		background-color: transparent;*/
	}
}
.breadcrumb-section {
	border-bottom: 1px solid #dadada;
}
.breadcrumbs {
	
	overflow-x: auto;
	white-space: pre;

	span:not(:has(a)) {
		color: #fff;
	}
}
header .image img {
	/*filter: drop-shadow(0px 0px 1px #fff);*/
}
.bg-light-1 {
	background: #f4efe7;
}
.bg-light-2 {
	background: #f0e2d0;
}
.bg-theme {
    background-color: rgb(2, 128, 187);
	background-color: var(--primary-color) !important;
}
.bg-dark-theme {
    background-color: var(--primary-dark-color) !important;
	/*min-height: 50px;*/
}
.bg-light-theme {
	background-color: #f1f5fa;
	background-color: #f3f3f3;
}
.bg-primary-theme {
	background-color: var(--primary-color);
}
.bg-secondary-theme {
	background-color: var(--secondary-color);
}
.wc-products-grid .product-card .product-actions a {
	background-color: var(--primary-color);
	border: 1px solid var(--primary-color);
	color: #fff;
}
.boxed {
    background: #fff;
    border-radius: 12px;
}

.product.type-product {
	display: flex;
	flex-wrap: wrap;
}
.product.type-product .woocommerce-product-gallery {
	width: 50%;
}
.woocommerce-product-gallery img {
	width: 100%;
}
.product.type-product .summary.entry-summary {
	width: 50%;
}
.woocommerce-tabs {
	width: 100%;
}
footer .paragraph {
	color: #fff;
}

.space-between {
	.content {
		justify-content: space-between;
	}
}
.align-items-center {
	.content {
		align-items: center;
	}
}
.location-info {
	padding: 15px;
	background-color: #330c02;
	* {
		color: #fff;
	}
}
/*
https://code-boxx.com/post-get-javascript-without-html-form/ <-
https://stackoverflow.com/questions/25770586/how-do-i-properly-refresh-data-on-wordpress-using-ajax
https://stackoverflow.com/questions/25770586/how-do-i-properly-refresh-data-on-wordpress-using-ajax
https://wordpress.stackexchange.com/questions/298221/how-to-get-a-url-parameter-from-a-url-with-get-query-var
https://stackoverflow.com/questions/20288599/trouble-passing-arguments-to-wordpress-pre-get-posts
https://wordpress.stackexchange.com/questions/298221/how-to-get-a-url-parameter-from-a-url-with-get-query-var <-
https://stackoverflow.com/questions/70754902/how-to-filter-archive-posts-based-on-custom-taxonomy-in-wordpress <-
https://stackoverflow.com/questions/74127841/change-wp-query-layout-for-custom-post-type-archive
https://stackoverflow.com/questions/66584585/wordpress-modifying-archive-with-custom-wp-query
https://wordpress.stackexchange.com/questions/252054/two-differents-queries-in-archive-page
https://stackoverflow.com/questions/56899531/creating-a-wp-archive-with-custom-field-filter
https://facetwp.com/how-to-customize-wp-archive-queries/ <-
https://wordpress.stackexchange.com/questions/112957/filter-archive-php-by-custom-meta
https://stackoverflow.com/questions/4586835/how-to-pass-extra-variables-in-url-with-wordpress <-
https://wordpress.stackexchange.com/questions/226923/filtering-a-custom-post-type-by-custom-taxonomy-in-archive-template
https://stackoverflow.com/questions/40337859/wordpress-handle-get-request
https://www.sitepoint.com/handling-post-requests-the-wordpress-way/
https://adaptiveweb.com.au/handle-post-and-get-requests-in-wordpress-using-admin-post-php/
https://medium.com/meta-box/how-to-send-get-and-post-requests-with-javascript-fetch-api-d0685b7ee6ed <-
https://medium.com/meta-box/how-to-send-get-and-post-requests-with-javascript-fetch-api-d0685b7ee6ed
add_query_arg
https://ui.dev/get-current-url-javascript
https://wordpress.stackexchange.com/questions/274569/how-to-get-url-of-current-page-displayed
https://wpthinker.com/get-current-page-url-in-wordpress/
wordpress add query args same url current
https://stackoverflow.com/questions/72606044/how-to-process-get-requests-in-wordpress
https://www.sitepoint.com/get-url-parameters-with-javascript/
javascript parse url parameters
https://stackoverflow.com/questions/6257463/how-to-get-the-url-without-any-parameters-in-javascript
Illegal invocation queryselector
https://mtsknn.fi/blog/illegal-invocations-in-js/
https://stackoverflow.com/questions/5778474/how-to-manually-install-a-node-js-module/5780829#5780829
https://wordpress.stackexchange.com/questions/231468/when-is-post-type-archive-return-true
wordpress filter main query archive template
https://wordpress.stackexchange.com/questions/313375/send-a-get-request-to-wordpress
wordpress add query vars from url parameter
wordpress handle get request urlsearchparams
download code from npm
https://stackoverflow.com/questions/5778474/how-to-manually-install-a-node-js-module/5780829#5780829
https://github.com/mjackson/unpkg/issues/343*/