/*
Theme Name: John F Brown
Author: DonPig
Author URI: https://donpig.com/
Description: Plantilla de wordpress para el sitio Mileto.com
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: DonPigTemplate
*/

:root{
	--beige:#d6c9b0;
}
html{
	margin-top: 0 !important;
}
body{
	font-family: Celesta, Roboto, Helvetica, sans-serif;
	text-align: center;
	margin:0 0 0 0;
	cursor:default;
	font-size: 1vw;
}
input[type="button"],button{
	border:none;
	background:none;
	font-size:1em;
	cursor:pointer;
}
img{
	border:none;
}
a{
	color: inherit;
	text-decoration: none;
}
*[onclick],*[href]{
	cursor: pointer;
}
textarea{
	resize:none;
}
.clr{
	clear:both;
}
.columnas2{
	-webkit-column-count:2;
	-moz-column-count:2;
	column-count:2;
}
.columnas3{
	-webkit-column-count:3;
	-moz-column-count:3;
	column-count:3;
}
.columnas4{
	-webkit-column-count:4;
	-moz-column-count:4;
	column-count:4;
}
.columnas5{
	-webkit-column-count:5;
	-moz-column-count:5;
	column-count:5;
}
.grid2{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 0;
}
.grid3{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 0;
}
.grid5{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 0;
}
.grid5{
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	grid-gap: 0;
}
.flex{
	display: flex;
	flex-flow: row wrap;
	align-content: space-between;
	justify-content: space-between;
}
.flex>*{
	flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
    text-align: center;
}

.site_error>div{
	margin: 0 auto;
	padding: 0.5em;
	color: #C44;
	border:#C44 solid 1px;
	background: #EDD;
	text-align: center;
	width: 50%;
	min-width: 280px;
	border-radius: 0.15em;
	font-weight:600;
}
.site_error{
	position: fixed;
	top:-20em;
	opacity: 0;
	z-index: 10;
	width: 100%;
	
	-webkit-animation: siteError 5s 1;
	-moz-animation: siteError 5s 1;
	animation: siteError 5s 1;
}

.site_success>div{
	margin: 0 auto;
	padding: 0.5em;
	color: #494;
	border:#494 solid 1px;
	background: #DED;
	text-align: center;
	width: 50%;
	min-width: 280px;
	border-radius: 0.15em;
	font-weight:600;
}
.site_success{
	position: fixed;
	top:-20em;
	opacity: 0;
	z-index: 10;
	width: 100%;
	
	-webkit-animation: siteError 5s 1;
	-moz-animation: siteError 5s 1;
	animation: siteError 5s 1;
}

@keyframes siteError{
	0%{opacity:1;top:5em;}
	90%{opacity:1}
	99%{opacity:0;top:5em;}
	100%{opacity:0;top:-20em;}
}

.hide_me{
	height: 0;
	width: 0;
	overflow: hidden;
	opacity: 0;
	font-size: 1px;
}

a,input,button,*[onclick],*[href]{
	transition: all .25s ease-in-out;
	cursor: pointer;
}
h1,h2,h3{
	font-family: Charter,Lora,serif;
}

/* GENERALES */

#wpadminbar{ opacity: 0; }
#wpadminbar:hover{ opacity: 1; }

body>header{
	position: sticky;
	top:0;
	left:0;
	right: 0;
	z-index: 10;
	display: flex;
	justify-content: space-between;
	align-content: space-between;
	align-items: start;
	background: white;
	max-height: 6em;
	padding: 0 5%;
	box-shadow: rgba(0,0,0,0.3) 0 0 0.5em;
}
#logo img{
	height: 3.5em;
	margin: 1.25em 0;
}
header>menu,header>nav{
}
header>menu,header>nav,header ul{
	margin: 0;
	padding: 0;
}
header menu>div>ul{
	display: flex;
}
header menu li{
	list-style: none;
	margin: 0;
	padding: 0;
	display: block;
}
header menu>div>ul>li>a{
	line-height: 6em;
	display: inline-block;
	text-transform: uppercase;
	font-weight: 500;
	margin-right: 3em;
}
header menu>div>ul>li>a:hover{
	color: #999;
}
header menu>div>ul>li>ul{
	position: absolute;
	display: none;
	padding: 2em 5%;
	left: 0;
	width: 100%;
	background: #111;
	color: white;
	font-family: Charter,Lora,serif;
	text-transform: uppercase;
}
header menu>div>ul>li:hover>ul{
	display: flex;
}
header menu>div>ul>li>ul>li{
	min-width: 15%;
	text-align: left;
	line-height: 2em;
}
header menu>div>ul>li>ul>li>a{
	display: block;
	margin-bottom: 0.5em;
	text-transform: uppercase;
	font-weight: 500;
}
header menu>div>ul>li>ul>li:hover>a{
	text-decoration: underline;
}
header menu>div>ul>li>ul>li>ul>li a:hover{
	text-decoration: underline;
	color:#DDD;
}
header menu>div>ul>li>ul>li>ul>li>ul>li{
	padding-left: 1em !important;
	color:#BBB;
}
header nav{
	min-width: 25%;
}
header nav>div>ul{
	display: flex;
	justify-content: end;
	align-content: end;
	align-items: center;
	height: 6em;
	
}
header nav li{
	display: block;
	margin: 0 0.5em;
}
header nav li i.fa{
	font-size: 1.25em;
}
#content{
	min-height: 90vh;
}
footer{
	background: black;
	color: white;
	padding: 2.5% 5%;
	text-align: center;
	font-family: Charter,Lora,serif;
}
footer img{
	width: 8em;
	margin: 0 auto 1em 0;
}
footer>div>div{
	display: flex;
	align-items: center;
	align-content: center;
	justify-content: center;
}
footer li{
	display: block;
	margin: 0;
	padding: 0;
	line-height: 2em;
}
footer ul{
	margin: 0;
	padding: 0;
}
#footer_social ul{
	display: flex;
}
#footer_social li{
	margin: 0 0.5em;
	font-size: 1.5em;
}
footer>div>div:nth-child(2){
	border-left: white solid 1px;
	border-right: white solid 1px;
}
footer h4{
	font-weight: normal;
	margin: 0;
}

#HomeSlider .swiper-slide:nth-child(2):before{
	content:'No es Moda, Es un Estilo de Vida.';
	font-family: Lora,serif;
	font-weight: 300;
	text-transform: uppercase;
	color: #630;
	position: absolute;
	z-index: 2;
	font-size: max(2.75vw,35px);
	width: 20%;
	margin:40vw 40% 0 40%;
	left:0;
	right:0;
}

figcaption{
	font-family: Charter,Lora,serif;
	line-height: 2em;
	font-size: 1.5em;
	font-weight: 600;
}

.measurements_btn{
	font-weight: 300 !important;
	text-transform: uppercase;
	translate:0 1em;
}



#nosotros2>div{
	display: flex !important;
	justify-content: space-between;
	align-content: space-between;
	align-items: center;
	flex-direction: row;
}
#nosotros2>div>div:last-child{
	max-width: 60%;
	padding: 2.5%;
	box-sizing: border-box;
}
#nosotros2>div>div:first-child{
	max-width: 36.25%;
}
#nosotros2 p{
	max-width: 72ch;
}

.section_header{
	background: #CCC var(--bg) right center;
	background-size: 72% auto;
}
.section_header:empty{
	height: 20em;
	background-size: cover;
}
.section_header_content{
	background: var(--bgc);
	width: 30%;
	padding: 5%;
	box-sizing: border-box;
	text-align: left;
	color: black;
}
.section_header h1{
	font-size: 2em;
	font-family: Lora,serif;
	font-weight: 500;
	text-transform: uppercase;
}
.section_header p{
	font-size: 1.25em;
	line-height: 1.5em;
}
#single_content{
	padding: 2.5% 10%;
	text-align: left;
}
#legales h1{
	font-size: 2em;
	font-family: Lora,serif;
	font-weight: 500;
	text-transform: uppercase;
}
#legales p{
	line-height: 1.5em;
}

.cform form label{
	display: none !important;
}
.cform form *:is(input,textarea){
	max-width: none !important;
	width: 86% !important;
	padding: 0.25em 2% !important;
	border:black solid 1px !important;
	border-radius: 0 !important;
	resize:none !important;
}
.formsubmit{
	background: black !important;
	border-radius: 0 !important;
	float: right !important;
	margin-right: 14% !important;
}
.product_meta>span{
	display: block;
	font-weight: 900;
}
.product_meta>span>span{
	font-weight: 300;
}

#whatsapp_link{
	float: right;
	position: fixed;
	bottom: 1em;
	right: 1em;
	color: white;
	z-index: 15;
}
#whatsapp_link>i.fa{
	font-size: 2.5em;
	background: #49C87A;
	width: 1.25em;
	height: 1.25em;
	padding: 0.25em;
	line-height: 1.25em;
	border-radius:2em;
	text-align: center;
	transition: all .25s ease-in-out;
}
#whatsapp_link>i.fa:hover{
	background: white;
	color: #49C87A;
	box-shadow: #49C87A 0 0 0 3px;
}
#trp-floater-ls.trp-bottom-right{
	right: 96px;
}

#carrito_content{
	padding: 5% 10%;
}


/* MODAL */

#modal,.advsearch{
	background:rgba(0,0,0,0.8);
	position:fixed;
	display:none;
	top:0;
	left:0;
	bottom:0;
	right:0;
	z-index:20;
	text-align:center;
}
.advsearch i.fa-times-circle{
	float: right;
	font-size: 2em;
}
.advscontent{
	position: absolute;
	top:2em;
	right: 2em;
	background: white;
	padding: 1em;
	width: 30%;
	min-width: 340px;
	font-size:0.85em;
	text-align: left;
}
.advscontent label{
	display: block;
	line-height: 1.6em;
	padding: 3px;
}
.advscontent h4{
	margin: 0 0 0.5em 0;
	text-transform: uppercase;
}

#advsresults a.button{
	display: none;
}
#advsresults{
	height: 85vh;
	overflow: auto;
	padding: 1em;
	border-left: #999 solid 1px;
}
#advsresults li{
	margin-bottom: 0.5em !important;
}
#advsresults img{
	margin-bottom: 3px !important;
}
#frm_advsearch{
	padding-right: 0.5em;
}
#modal>i.fa{
	float: right;
	color: white;
	font-size: 1.5em;
	margin: 1.5em 1.5em 0 0;
}
#modal>img{
	margin: 10vh auto;
	display: block;
	max-width: 90%;
	max-height: 80vh;
}

.woocommerce-tabs.wc-tabs-wrapper{
	display: none !important;
}
.related.products{
	display: block;
	clear: both;
	width: 100%;
	margin-top: 2em;
	padding-top: 1em;
}
.related.products h2{
	text-align: center;
	font-family: Lora,serif;
	font-weight: 500;
	text-transform: uppercase;
}

#single_content .summary select,#single_content .summary input.qty{
	width:100%;
	padding: 0.5em;
	text-align: center;
	border: #CCC solid 1px;
}

.button,.wc-block-components-button{
	background: black !important;
	border-radius: 0 !important;
	color: white !important;
	width: 100% !important;
	padding: 0.5em !important;
	box-sizing: border-box !important;
	margin: 3px auto !important;
	text-align: center;
}
.button:hover,.wc-block-components-button:hover{
	background: var(--beige) !important;
}
.button.disabled,.wc-block-components-button.disabled,.wc-block-components-button:disabled{
	pointer-events: none;
	touch-action: none;
	color:#999 !important;
	background: #444 !important;
	cursor: not-allowed !important;
}

.cplink img{
	max-width: 100%;
	display: block;
	margin: 0 auto;
}
.cplink h2{
	font-size: 1em;
	margin: 0;
}
.cplink{
	margin-bottom: 1em;
	display: block;
}

.swiper-slide-inner img{
	width: 100%;
	display: block;
}
.price{
	display: none !important;
}
#content>.alignwide{
	padding: 5% 10%;
	box-sizing: border-box;
}
.button.product_type_simple{
	display: none !important;
}
li.product{
	text-align: center;
}
li.product h2:after{
	content: "Saber más";
	display: block;
	width: 100%;
	font: Roboto,Lato,sans-serif;
	color:white;
	padding: 0.5em;
	background: black;
	border-radius: 0.2em;
	margin-top: 0.5em;
	transition:all 0.25s ease;
}
form.cart{
	display: none;
}
li.product h2:hover:after{
	background: #DDD;
	color: black;
}


@media all and (min-width:961px){
	#single_content .summary{
		width:30% !important;
	}
	.woocommerce-product-gallery div.flex-viewport,.woocommerce-product-gallery__trigger{
		translate:15vw 0;
	}
	.woocommerce-product-gallery ol.flex-control-nav{
		position: absolute;
		width: 32.5%;
		translate: 0 -38.25vw;
	}
	.woocommerce div.product div.images .flex-control-thumbs li{
		width: 100% !important;
		margin-bottom:3px;
	}
}


/* RESPONSIVO */

.mobile_only{
	display:none !important;
}

@media all and (max-width:960px){
	body{
		font-size:16px;
	}
	.mobile_only{
		display:block !important;
	}
	.desktop_only{
		display:none !important;
	}
	.columnas2,.columnas3{
		-webkit-column-count:1;
		-moz-column-count:1;
		column-count:1;
	}
	.columnas4{
		-webkit-column-count:2;
		-moz-column-count:2;
		column-count:2;
	}
	.columnas5{
		-webkit-column-count:3;
		-moz-column-count:3;
		column-count:3;
	}
	.grid2,.grid3,.grid5,.flex{
		display: block;
	}
	.grid2mobile{
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		grid-gap: 0;
	}
	.grid3mobile{
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		grid-gap: 0;
	}
	
	body>header{
		height:60px;
		padding: 0;
	}
	#menu_opener{
		float:left;
		margin: 5px;
		width:50px;
		height:50px;
		background: #777;
		border-radius: 0.25em;
	}
	#logo img{
		height: 50px;
		margin: 5px 0;
	}
	#menu_opener>div{
		height:2px;
		margin: 4px auto 0 auto;
		background: white;
		width: 36px;
	}
	#menu_opener>div:first-child{
		margin-top: 14px;
	}
	header>menu{
		display: none;
		position: fixed;
		top: 60px;
		background: rgba(200,200,200,0.9);
		backdrop-filter: blur(4px);
		padding: 2em 0;
		left: 0;
		right: 0;
	}
	header>menu>div>ul{
		display: block;
	}
	header>menu>div>ul>li>ul{
		position: static;
		padding: 1em 0;
		background:rgba(0,0,0,0.2);
		font-size: 0.85em;
	}
	header>menu>div>ul>li>ul>li{
		min-width: 30%;
		text-align: center;
		line-height: 1.5em;
	}
	header>menu>div>ul>li>ul>li li{
		padding: 0.5em 0;
	}
	header>menu,header>nav{
		min-width: 0;
	}

	header>nav>div>ul{
		height: 58px;
	}
	header>nav>div>ul>li:nth-child(1),header>nav>div>ul>li:nth-child(2){
		display: none;
	}

	#nosotros>div>div,#nosotros2>div>div{
		width: 100%;
		max-width: none !important;
		min-width: 0;
	}
	footer>div>div{
		border:none !important;
		margin: 2em auto;
	}
	.advsearch{
		z-index: 99999999;
	}
	
	.advscontent label{
		background: #F8F8F8;
		margin-bottom: 2px;
		font-size: 0.75em;
		text-transform: uppercase;
	}
	#advsresults li{
		width: auto !important;
		float: none !important;
	}
	.advscontent,#frm_advsearch{
		width: 80%;
		min-width: 0 !important;
	}
	#frm_advsearch{
		max-height: 75vh;
		overflow: auto;
	}
	.woocommerce div.product div.images .flex-control-thumbs li{
		width: 33.3333% !important;
	}
	.section_header:not(:empty){
		background-size: cover;
		padding: 10%;
	}
	.section_header_content{
		width: auto;
		font-size: 0.8em;
	}
	.section_header:empty{
		height: 100px;
	}
	menu>div>ul>li:first-child:before{
		content: "\f078";
		font-family: 'FontAwesome';
		display: block;
		position: absolute;
		width: 15vw;
		right: 0;
		background: rgba(255,255,255,0.15);
		line-height: 3em;
		text-align: center;
		translate:0 1.5em;
	}
	header menu>div>ul>li>ul>li>ul>li>ul>li{
		/*display: none;*/
	}
}