/*
Theme Name: Wooden
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{
	--sal:#F5A995;
	--nav:#1E2B50;
	--beg:#DECEBC;
	--lnv:#D0D7DB;
}
@font-face {
	font-family: NoteworthyWeb;
	src: url(fonts/Noteworthy-Lt.ttf);
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: NoteworthyWeb;
	src: url(fonts/Noteworthy-Bold.ttf);
	font-weight: bold;
	font-style: normal;
}

body{
	font-family: Montserrat, Helvetica, sans-serif;
	text-align: center;
	margin:0 0 0 0;
	cursor:default;
	font-size: 1vw;
	color: var(--nav);
}
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;
}
.grid4{
	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;
}

/* GENERALES */

body>header{
	position: sticky;
	top:0;
	left:0;
	right: 0;
	z-index: 1000;
	background: white;
	box-shadow: rgba(0,0,0,0.3) 0 0 0.5em;
	color: var(--beg);
}
#topmessage{
	background: var(--nav);
	color: white;
	padding:0.5em;
}
#topmessage p{
	margin:0;
}
header nav{
	display:flex;
	justify-content: space-between;
	align-content: space-between;
	align-items: center;
	padding: 0.5em 2.5%;
	font-size: 1.25em;
}
#logo img{
	display: block;
	height: 4em;
	transition: all 0.25s ease;
}
menu{
	min-width: 65%;
}
menu,menu ul,menu li{
	margin: 0;
	padding: 0;
}
menu ul{
	display: flex;
	justify-content: space-between;
	align-content: space-between;
	align-items: center;
	flex-grow: 1;
}
menu li{
	display: block;
	font-weight: 700;
}
#actions *:is(span,a){
	display: inline-block;
	padding: 0 0.15em;
	margin: 0 0.15em;
	text-align: center;
	font-size: 1.2em;
}
nav a:hover,nav *[onclick]:hover{
	color: var(--nav);
}
#logo:hover img{
	rotate:-15deg;
}

#actions a[data-count]:before{
	content: attr(data-count);
	position: absolute;
	display: block;
	background: #789;
	color: white;
	border-radius: 1em;
	padding: 0.2em;
	min-width: 1em;
	line-height: 1em;
	text-align: center;
	border-bottom-left-radius: 0;
	font:inherit;
	font-weight: 600;
	font-size: 0.65em;
	translate: 1.5em -1.5em;
}

#content{
	min-height: 90vh;
}

footer{
	position: relative;
	z-index: 5;
	background: #FCFCFA;
	font-weight: 500;
}
footer>div.grid3{
	padding: 5% 10%;
	font-size:1.35em;
	text-align: left;
	gap:10%;
}
footer h4{
	font-weight: 500;
}
footer ul,footer li{
	display: block;
	margin: 0;
	padding: 0;
	line-height: 1.5em;
}
footer .grid3 img{
	width: 70%;
}
#subfooter{
	padding: 2em;
	background: var(--sal) url(images/bg.jpg) center center;
	background-size: cover;
}
#subfooter img{
	height: 10em;
}

#whatsapp_link{
	position: fixed;
	bottom: 1em;
	right: 1em;
	z-index: 1001;
}
#whatsapp_link img{
	height: 4em;
}

.noteworthyf,.noteworthyf *{
	font-family: NoteworthyWeb,Noteworthy,cursive !important;
	font-weight: normal !important;
}
.noteworthyf b,.noteworthyf strong{
	font-weight: bold !important;
}
.hasShadow a{
	box-shadow: rgba(0,0,0,0.3) 0 0.25em 0.5em;
}
.scrollingtext{
	width: 100%;
	overflow: hidden;
	white-space: nowrap;
	box-sizing: border-box;
	animation: scroll 10s linear infinite;
	white-space:nowrap;
	width:fit-content;
	margin: 0 auto;
}
@keyframes scroll {
	0% { transform: translateX(120%); }
	100% { transform: translateX(-120%); }
}
.product a.button{
	background: var(--sal);
	border-radius:2em;
	color: var(--nav);
	text-align: center;
	padding:0.5em 2em;
}
#newsletter{
	background: var(--nav) url(images/fondoEstrellas.svg) center center no-repeat;
	background-size: cover;
}

#newsletter_form input{
	display: block;
	border:white solid 1px;
	border-radius: 0.5em;
	padding: 0.5em;
	color: white;
	margin:0 auto 1em auto;
	background: transparent;
	width:max(20em,240px);
	font: inherit;
	font-size: 1.25em;
	box-sizing: border-box;
}
#newsletter_form input::placeholder{
	color: white;
}
#newsletter_form button{
	background: var(--sal);
	color: var(--nav);
	border-radius: 0.5em;
	width:max(20em,240px);
	font: inherit;
	font-size: 1.25em;
	display: block;
	margin: 0 auto;
	padding: 0.5em;
}
#newsletter_form button:hover{
	background: white;
	color: var(--sal);
}

#single_header{
	background: var(--sal) url(images/bg2.jpg);
	background-size: cover;
	padding: 5%;
}
#single_header h1{
	font-family: NoteworthyWeb,Noteworthy,cursive !important;
	font-weight: bold !important;
	font-size: 4em;
	color: var(--nav);
}
#single_content{
	padding: 5% 10%;
	text-align: left;
}

button.button{
	background: var(--sal) !important;
	color: var(--nav) !important;
	border-radius: 2em !important;
	width:max(20em,240px);
	font: inherit;
	font-size: 1.25em;
	display: block;
	margin: 0 auto;
	padding: 0.5em;
}
button.button:hover{
	background: white !important;
	color: var(--sal) !important;
}

/* MODAL */

#modal{
	background:rgba(0,0,0,0.8);
	position:fixed;
	display:none;
	top:0;
	left:0;
	bottom:0;
	right:0;
	z-index:10;
	text-align:center;
}

#content>.woocommerce{
	padding: 5% 10%;
}
.cpf-upload-wrap{
	background: var(--sal) !important;
	color: var(--nav) !important;
	border:none !important;
	border-radius: 2em;
	width:100%;
	box-sizing: border-box;
	text-align: center;
	text-transform: uppercase;
	font-weight: bold;
}
ul.tmcp-ul-wrap{
	display: grid !important;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 0.5em !important;
}
ul.tmcp-ul-wrap li label input[type="radio"]{
	opacity: 0 !important;
}
ul.tmcp-ul-wrap li label{
	display: block;
	border-radius: 1em;
	padding: 0.5em 1em;
	text-align: center;
	background: #EEE;
}
ul.tmcp-ul-wrap li label:has(input:checked){
	background: var(--nav);
	color: var(--sal);
}
.tc-label-text{
	display: block !important;
	text-align: center !important;
	margin: 0 auto;
	padding: 0.5em 0 !important;
	width: 100% !important;
}

#content .alignwide{
	padding: 5% 10%;
}

/* RESPONSIVO */

.mobile_only{
	display:none !important;
}

.wp-element-button{
	background: var(--sal);
	color: var(--nav);
	font-weight: bold;
	text-transform: uppercase;
}
.wp-element-button:hover{
	background: var(--nav);
	color: white;
}




@media all and (max-width:960px){
	body{
		font-size:12px;
	}
	.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;
	}
	
	header{
		height:80px;
	}
	header>nav{
		padding: 0 10px;
	}
	#topmessage{
		line-height: 20px;
		padding: 0;
		font-size: 0.85em;
	}
	#logo img{
		height: 60px;
		margin-left: 3em;
	}
	#menu_opener{
		float:left;
		width:50px;
		height:50px;
		background: var(--sal);
		border-radius:0.5em;
		margin: 5px 0;
	}
	#menu_opener>div{
		height:2px;
		margin: 4px auto 0 auto;
		background: white;
		width: 36px;
		border-radius: 3px;
		position: relative;
		top: 0;
		left: 0;
		rotate: 0deg;
		opacity: 1;
		transition: all 0.25s ease;
	}
	#menu_opener>div:first-child{
		margin-top: 14px;
	}

	menu{
		position: fixed;
		top: 80px;
		left: 0;
		right: 0;
		background: var(--sal);
		color: var(--nav);
		padding: 2em;
		display: none;
	}
	menu ul{
		display: block;
		line-height: 3em;
	}
	#actions *:is(span,a){
		margin: 0 0.15em;
		font-size: 1.35em;
	}
	#content .alignwide{
		padding: 5%;
	}
}