﻿/*!
Theme Name:   Ileana Child Theme
Template:     ileana
Version:      1.0.0

Theme URI:    https://github.com/webmandesign/child-theme/
Author:       WebMan Design
Author URI:   https://www.webmandesign.eu/
License:      GPL-3.0-or-later
License URI:  https://www.gnu.org/licenses/gpl-3.0-standalone.html

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

IMPORTANT:
Read the instructions in https://github.com/webmandesign/child-theme/blob/master/readme.md

Child theme CSS styles:
*/

.marron{
	color:#74462e;
}
.marron-textos{
	color:#3b1907;
}
.marron-claro{
	color:#e2d1bf;
}
.marron-claro-b{
	color:#e2d1bf;
}
.amarillo{
	color:#d18f35;
}
.rosa{
	color:#f1ebe6;
}
.bg-rosa{
	color:#f1ebe6;
}

.dm-sans{
  font-family: "DM Sans", sans-serif;
  font-style: normal;
}
.playfair-display{
  font-family: "Playfair Display", serif;
  font-style: normal;
}

.max-w-530{
	max-width: 530px;
}

@media(min-width:1600px){
	.wp-container-core-group-is-layout-432e3cc9 > .alignwide{
		max-width:1520px!important;
	}
}

/*Botones*/
.wc-block-components-product-button__button,
.wc-block-grid__product-add-to-cart .wp-block-button__link,
.wp-block-button .wp-block-button__link,
.wpcf7-form .wpcf7-submit{
	text-transform:uppercase;
	font-weight:400;
	font-style:normal;
}
.wpcf7-form .wpcf7-submit{
	background-color:#74462e!important;
	color:#ffffff!important;
}
:root :where(.has-background, .has-text-color) :where(.wp-element-button, .wp-block-button__link, .wp-block-navigation__responsive-container-open, .wp-block-navigation__responsive-container-close, .wp-block-navigation-overlay-close, .button, .wp-block-file__button, .page-numbers:not(.current, .dots), .post-page-numbers:not(.current, .dots), .wp-block-query-pagination-previous, .wp-block-query-pagination-next, .wp-block-comments-pagination-previous, .wp-block-comments-pagination-next, .wp-block-post-comments-form input[type="submit"], form :where(button, [type="button"], [type="reset"], [type="submit"]):not([class*="wp-block-"]), .cart_totals .checkout-button, .wc-block-product-categories__button, .is-style-buttons-inline a, .is-style-read-more-button .wp-block-post-excerpt__more-link, .is-style-read-more-outline .wp-block-post-excerpt__more-link, .wp-block-tag-cloud.is-style-outline .tag-cloud-link):not(.has-text-color) {
	text-transform:uppercase;
	font-weight:400;
	font-style:normal;
}

/*Inicio*/
.con-quien .wp-block-separator {
	border-top: 1px solid currentColor;
}

.volver {
	background-size: 400px auto !important;
}
.propuestas{
	background-size: 500px auto !important;
}
.regala{
	background-size: 400px auto !important;
}

/*Contacto: campos del formulario a todo el ancho*/
.formulario-contacto .wpcf7-form label{
	display:block;
	width:100%;
}
.formulario-contacto .wpcf7-form-control-wrap{
	display:block;
}
.formulario-contacto .wpcf7-form-control:is(input:not([type="checkbox"],[type="radio"],[type="submit"]),textarea,select){
	width:100%;
	max-width:100%;
	box-sizing:border-box;
}

/*Contacto: mapa a todo el ancho de la pantalla*/
.mapa.has-global-padding{
	padding-left:0;
	padding-right:0;
}
.mapa > iframe{
	display:block;
	width:100%;
	max-width:none!important;
	margin-left:0!important;
	margin-right:0!important;
}

/*Cabecera: logo original (sin duotono/filtro blanco)*/
#masthead .wp-block-site-logo img,
#masthead .wp-block-site-logo.wp-duotone-white img,
#masthead img.custom-logo{
	filter:none!important;
	width:auto!important;
	height:60px!important;
	max-width:100%;
	object-fit:contain;
}
#masthead .wp-block-site-logo{
	width:auto!important;
}

/*Cabecera: enlaces e iconos de navegaciÃ³n en marrÃ³n*/
#masthead,
#masthead a,
#masthead .wp-block-navigation-item__content,
#masthead .wp-block-navigation__responsive-container-open,
#masthead .wc-block-mini-cart__button,
#masthead .wc-block-mini-cart__amount,
#masthead .wc-block-customer-account__link,
#masthead .wp-block-search__button{
	color:#74462e!important;
}
#masthead svg,
#masthead svg path{
	fill:currentColor;
}

/* Color predeterminado de los enlaces; conserva colores definidos explÃ­citamente. */
body a:not(.wp-element-button):not(.button):not(.wc-block-components-button):not(.has-text-color):not(.skip-link){
	color:#74462e;
}

/* H1-H3 en negro por defecto; si se define color en Gutenberg (.has-text-color) se respeta. */
body h1:not(.has-text-color),
body h2:not(.has-text-color),
body h3:not(.has-text-color),
body h1:not(.has-text-color) a,
body h2:not(.has-text-color) a,
body h3:not(.has-text-color) a{
	color:#3b1907;
}

/* PÃ¡rrafos en marrÃ³n por defecto; si se define color en Gutenberg (.has-text-color) se respeta. */
body p:not(.has-text-color),
body ul li:not(.has-text-color){
	color:#3b1907;
}

/* H2 mÃ¡s grandes en pantallas grandes; si se define tamaÃ±o en Gutenberg se respeta. */
@media (min-width:1024px){
	body h2:not(.has-custom-font-size):not([class*="has-"][class*="-font-size"]){
		font-size:3rem;
	}
}

/* Listas de contenido con check en lugar de punto. */
body:not(.woocommerce-account) .entry-content ul.wp-block-list,
body:not(.woocommerce-account) .entry-content ul:not([class]){
	list-style:none;
	padding-left:0;
}
body:not(.woocommerce-account) .entry-content ul.wp-block-list > li,
body:not(.woocommerce-account) .entry-content ul:not([class]) > li{
	position:relative;
	padding-left:1.6em;
}
body:not(.woocommerce-account) .entry-content ul.wp-block-list > li::before,
body:not(.woocommerce-account) .entry-content ul:not([class]) > li::before{
	content:"\2713";
	position:absolute;
	left:0;
	color:#3b1907;
	font-weight:700;
}

/* Evita repetir el tÃ­tulo de pÃ¡gina en el contenido de Mi cuenta. */
.woocommerce-account .entry-content h1.wp-block-post-title{
	display:none;
}

/* Tienda: ocultar la secciÃ³n de categorÃ­as y el selector de ordenaciÃ³n. */
.woocommerce-shop .wp-block-group:has(> .wp-block-woocommerce-product-categories),
.woocommerce-shop .wp-block-group:has(> .wp-block-group.has-primary-background-color > .wp-block-woocommerce-product-categories),
.woocommerce-shop .page-description .wp-block-spacer,
.woocommerce-shop .wp-block-woocommerce-catalog-sorting,
.woocommerce-shop .woocommerce-ordering{
	display:none;
}

.woocommerce-shop .page-description > .wp-block-group.alignfull{
	padding-bottom:3rem!important;
}

.single-product .single_add_to_cart_button{
	text-transform:uppercase!important;
	font-weight:400!important;
	font-style:normal!important;
	color:#fff!important;
	background-color:#74462e!important;
}

.single-product .taxonomy-product_cat a{
	color:#74462e!important;
}

.single-product .wp-block-post-excerpt{
	background-color:#e2d1bf!important;
}

.woocommerce-cart .wc-block-cart__totals-title{
	font-size:1.2rem!important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__title{
	font-size:1.2rem!important;
}

.woocommerce-cart .wc-block-cart__submit-button{
	color:#fff!important;
	background-color:#74462e!important;
}

.woocommerce-checkout h2{
	font-size:1.2rem!important;
}

.woocommerce-checkout .wc-block-components-checkout-place-order-button{
	color:#fff!important;
	background-color:#74462e!important;
}
.wp-block-navigation .wp-block-navigation-item__content,
.wp-block-navigation a,
.boton-pedido-cabecera.wp-block-button .wp-block-button__link{
	font-weight:700!important;
}
.boton-pedido-cabecera.wp-block-button:not(:has(a,button)),
.boton-pedido-cabecera.wp-block-button .wp-block-button__link,
.boton-pedido-cabecera.wp-block-button a.wp-element-button,
.boton-pedido-cabecera button{
	background:#f1ebe6!important;
	color:#74462e!important;
	border:1px solid #74462e!important;
	border-radius:999px!important;
	padding:.35em 1em!important;
	font-size:.9rem!important;
	line-height:1.3!important;
	text-transform:uppercase;
	text-decoration:none;
}

/*Footer*/
.logos-kit .financiado-union-europea,
.logos-kit .financiado-union-europea img{
	width:230px!important;
	height:auto!important;
}
