/*
 Theme Name:   Dikicare
 Theme URI:    https://dikicarecosmetics.com
 Description:  Default GeneratePress child theme
 Author:       Christian Brenner
 Author URI:   https://acupunturatarifa.com
 Template:     generatepress
 Version:      0.0.1
*/

/* Generales */
/* *********************************************************************************************************************** */

/* Problema con el Botón "Volver arriba" (culpa de Elementor) */

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: auto !important;
    }
}

html, body {
	scrollbar-color: var(--contrast-2) var(--base-3);
    scrollbar-width: auto;
    scrollbar-gutter: stable;
	}

p, a, span, div, button, input {
	transition:all 500ms ease;
	}



/* Menú principal */

@media(min-width: 769px) {
    .inside-header>.site-branding,
    .inside-header>.navigation-branding,
    .inside-header>.site-logo,
    .site-branding-container,
    #site-navigation .navigation-branding .site-logo,
    #sticky-navigation .navigation-branding {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10000000;
    }

    #site-navigation {
        margin-left: unset !important;
        display: flex;
        background:linear-gradient(90deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.8) 70%, rgba(255,255,255,0.75) 100%) !important;
        position: relative;
        z-index: 10000000;
    }
	
	#sticky-navigation {
        background:linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.9) 70%, rgba(255,255,255,0.75) 100%) !important;
		}

    .site-header .main-navigation:not(#sticky-navigation) .inside-navigation {
        margin: unset;
    }

    #site-navigation,
    #primary-menu,
    .main-navigation .inside-navigation {
        flex: 1;
    }

    /* Change nth-child(#) to first item to right */
    .main-navigation ul li:nth-child(5) {
        margin-left: auto;
    }
}

/* Iconos del menú (a la derecha) */

.menu-bar-items {
	padding-right:40px;
	}

.menu-bar-items span a {
	padding:0 10px !important;
	font-weight:400 !important;
	}

.menu-bar-items svg,
.menu-bar-items i {
	font-size:25px !important;
	}

.menu-bar-items .menu-bar-item {
	order:1;
	}

.menu-bar-items .userMenu {
	order:2;
	}

.menu-bar-items .menu-bar-item.wc-menu-item {
	order:3;
	}

/* Número de elementos en el carrito */

.cart-contents > span.number-of-items {
	margin-left: -5px !important;
	top: -20px !important;
	background-color:var(--contrast) !important;
	color:var(--base-3);
	}


/* Página de Inicio */
/* ******************************************************************************************************************* */

/* Iconos bajo el Hero */

.iconosHome .elementor-icon-box-wrapper .elementor-icon-box-icon .elementor-icon {
	box-sizing:border-box;
	padding:5px 0;
	}

/* Rutina Ideal */

.seccionRutinaIdeal {}

.seccionRutinaIdeal .rutinaIdeal {
	position:relative;
	}

.seccionRutinaIdeal .rutinaIdeal a {
	display:inline-block;
	background:#666;
	padding:3px 7px;
	border-radius:10px;
	margin-top:10px;
	}

.seccionRutinaIdeal .rutinaIdeal a:hover {
	background:#999;
	}

.seccionRutinaIdeal .rutinaIdeal .flechaRutina {}

.seccionRutinaIdeal .rutinaIdeal:hover .flechaRutina {
	margin-left:10px;
	}

/* Los favoritos */

.botonVerTodos {
	display:block;
	position:absolute !important;
	right:0;
	}

/* Productos (Los favoritos) */
/*
.productos-relacionados h4.productos-relacionados {
	text-transform:uppercase;
	}
*/
/* Selector de cantidad (Los favoritos) */

ul.products li {
	overflow:hidden;
	}

ul.products li.product form.cart {
    display: flex;
    align-items: center;
	flex-direction: row;
    justify-content: center;
    margin-top: 15px;
	}

ul.products li.product form.cart .quantity {
	width:50% !important;
    justify-content: center;
	border-radius:0 !important;
	}

ul.products li.product form.cart .quantity a {
    /*min-height: 30px !important;*/
	border-radius:0 !important;
	}

ul.products li.product form.cart .quantity a:hover {
	background:#222222;
	color:#ffffff;
	}

ul.products li.product form.cart .quantity input.qty {
    width: 60px;
    text-align: center;
    /*min-height: 30px !important;*/
	}

ul.products li.product form.cart .add_to_cart_button {
	width:50% !important;
	margin:0;
    min-height: 50px !important;
	}

/* Oferta tiempo limitado */

.timer-oferta {}

/* Bloque del descuento */

.timer-oferta .descuento h3 {
	font-size:80px;
	margin:0 !important;
	}

.timer-oferta .descuento h3 span {
	font-size:0.5em;
	font-weight:600;
	}

.timer-oferta .descuento p {
	font-size:24px;
	font-weight:600;
	}
	
/* Resultados reales */

.elementor-main-swiper.swiper {
	padding-bottom: 0 !important;
	}

.elementor-widget-reviews .swiper-slide {
	background-color:transparent !important;
	}






/* Página de la Tienda */
/* ******************************************************************************************************************* */

body.woocommerce-shop #page {
	padding:0 80px;
	}



/* Página de Categoría */
/* ******************************************************************************************************************* */

body.tax-product_cat #page {
	padding:0 80px;
	}
	
	
	
/* Página de Blog */
/* ******************************************************************************************************************* */

body.blog #page {
	padding:0 80px;
	}



	
/* Página de Entrada Individual del Blog */
/* ******************************************************************************************************************* */

body.single-post .entry-header,
body.single-post .entry-content,
body.single-post .comments-area,
body.single-post footer {
	padding:0 80px;
	}




/* Página de Manifiesto */
/* ******************************************************************************************************************* */

/* Historia real */

.listaHistoriaReal ul li .elementor-icon-list-icon {
	position:relative;
	}

.listaHistoriaReal ul li:not(:last-child) .elementor-icon-list-icon::before {
	content:'';
	width:1px;
	height:80px;
	border:1px solid #b2b2be;
	position:absolute;
	left:25%;
	bottom:-80px;
	transform:translateY(20px);
	}





/* Cita */

.citaManifiesto {}

.citaManifiesto blockquote::before {
	position:absolute;
	left:-30px;
	top:0;
	}

/* Nombre con alma */

.masCirculo p {
	width:80px;
	height:80px;
	padding-top:10px;
	border-radius:50%;
	background:#ffffff;
	position:absolute;
	z-index:100;
	transform:translate(-50%,-50%);
	}


/* Iconos Nombre con alma */

.iconoAlma .elementor-icon-box-wrapper {
	text-align: center !important;
	}

.iconoAlma .elementor-icon-box-icon {
    display: flex !important;
    justify-content: right !important;
	flex:0.7 !important;
	}

.iconoAlma .elementor-icon-box-content {
	flex:1 !important;
	text-align:left;
	}


/* Filosofía Dikicare */

.imagenFilosofia {}



/* Footer */
/* ******************************************************************************************************************* */

.footer-widgets-container {
	font-size:18px;
	text-transform:uppercase;
	}

.inside-footer-widgets {
	align-items: center;
	}

.footer-widget-1 {
	flex: 1 !important;
	}

.footer-widget-1 img {
	width:250px;
	height:auto;
	}

.footer-widget-2 {
	flex: 2 !important;
	}

.footer-widget-2 .links-pie-de-pagina {
	display:flex;
	justify-content: space-between;
	width: 100%;
	}

.footer-widget-3 {
	flex: 1 !important;
	font-size:24px;
	text-align:right;
	padding-right:20px;
	}

.footer-widget-3 a {
	margin-right:20px;
	}
 

/* ******************************************************************************************************************* */
/* *************************************************** Woocommerce *************************************************** */
/* ******************************************************************************************************************* */

/* Página de Producto Único */
/* ******************************************************************************************************************* */

/* Columna Izquierda (área de la imágen del producto) */
/* **************************************************************** */

.columnaIzquierdaProducto {}





/* Imágen del producto */

.woocommerce ul.products li.product .woocommerce-LoopProduct-link,
.woocommerce ul.products li.product .woocommerce-loopProduct-link img {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}


/* Imágen del producto (miniaturas) */

/* Functionality: Custom thumbnail size in product image gallery
 * Date:  2021-03-10
 * Author: Rafael Azuaje
 */
 
/* DESKTOP */
.woocommerce .flex-control-thumbs {
    /*margin: 10px 0px 10px -5px !important; /* Thumbnails separation top and bottom */
    width: 100% !important; /* Controls width of thumbnails container on desktop - Horizontally */
	display: flex;
}
/* Controls thumbnails width on desktop - vertically
 * Enable this ONLY for VERTICAL display
 */ 
ol.flex-control-nav.flex-control-thumbs li {
	/*width: 25% !important; */
	max-width:300px !important;
	width: 15% !important; 
}
/* Enable this ONLY for HORIZONTAL display */
/*ol.flex-control-nav.flex-control-thumbs li {
	width: 18% !important; 
}*/

/* PHONES */
@media (max-width:414px){
	ol.flex-control-nav.flex-control-thumbs li {
		width: 18% !important; /* Controls thumbnails width on mobile - Horizontally */
	}
}

/* TABLETS */
@media (min-width:568px) and (max-width:768px){
	/* Controls thumbnails container width on tablet - vertically
	 * Enable this ONLY for VERTICAL display */
	.woocommerce .flex-control-thumbs {
    	margin: 10px 0px 10px -5px !important; 
    	width: 15% !important;
	}
	/* Controls width of thumbnails container on tablet - horizontally
	 * Enable this ONLY for HORIZONTAL display */
	/*.woocommerce .flex-control-thumbs {
    	width: 70% !important; 
	}*/
	ol.flex-control-nav.flex-control-thumbs li {
		width: 90% !important; /* Controls thumbnails image width on tablet - vertically */
	}
}
@media (min-width:769px) and (max-width:1024px){
	/* Controls thumbnails container width on tablet - vertically
	 * Enable this ONLY for VERTICAL display */
	.woocommerce .flex-control-thumbs {
    	margin: 10px 0px 10px -5px !important; 
    	width: 10% !important;
	}
	/* Controls width of thumbnails container on tablet - horizontally
	 * Enable this ONLY for HORIZONTAL display */
	/*.woocommerce .flex-control-thumbs {
    	width: 70% !important; 
	}*/
	ol.flex-control-nav.flex-control-thumbs li {
		width: 100% !important; /* Controls thumbnails image width on tablet - vertically */
	}
}

/* Functionality: Product page image thumbnails on left side
 * Date:  2021-03-10
 * Author: Rafael Azuaje
 * Disable this segment if you want to display horizontally
 */
@media (min-width:568px) {
	.woocommerce .flex-control-nav { 
		position: absolute; 
		/*top:-10px; */
		top:10px; 
		left: 0px;
		padding-left:5% !important;
	}
	.flex-control-thumbs {
		display: flex;
		flex-direction: column;
	}
}
@media (min-width:568px) and (max-width:768px){
	.woocommerce .flex-viewport {
		width: 86.5% !important;
		left: 100px !important;
	}
}
@media (min-width:769px) and (max-width:1024px){
	.woocommerce .flex-viewport {
		width: 87% !important;
		left: 95px !important;
	}
}
@media (min-width:1025px){
	.woocommerce .flex-viewport {
		/*width: 85% !important;
		left: 100px !important;*/
		width: 80% !important;
		/*left: 100px !important;*/
		left: 20% !important;
		/*right: 0 !important;*/
	}
	
	.woocommerce-product-gallery {
		border:2px solid #f0f0f0 !important;
		border-radius:10px;
		overflow:hidden;
		width: 100% !important;
		}
		
.woocommerce div.product div.images img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: none;
}

.woocommerce-product-gallery__image.flex-active-slide {
  width:750px !important;
	}


}

/* Columna Derecha (área de la descrición corta) */
/* **************************************************************** */

.columnaDerechaProducto {}

.columnaDerechaProducto p {
	margin:0;
	}


/* Valoraciones (Estrellas) */

.estrellasProducto .woocommerce-product-rating {
	margin:0 !important;
	}

.estrellasProducto .star-rating {
	width:7em !important;
	}

.estrellasProducto .star-rating::before {
	letter-spacing:5px;
	}

.estrellasProducto .star-rating span::before {
	letter-spacing:5px;
	}

/* Descripción corta */

.woocommerce-product-details__short-description p {
	/*margin:0;*/
	}

/* Precio */

p.price {
	/*margin:0;*/
	}

/* Añadir al carrito (cantidad) */

.quantity.buttons-added .minus {
	border-top-left-radius:10px !important;
	border-bottom-left-radius:10px !important;
	}

.input-text.qty.text {
	border-left-width:0 !important;
	border-right-width:0 !important;
	}

.quantity.buttons-added .plus {
	border-top-right-radius:10px !important;
	border-bottom-right-radius:10px !important;
	}

/* Texto Paga a plazos */

.textoPlazos strong {}

.textoPlazos img {
	vertical-align: middle;
	position:relative;
	top:-1px;
	left:2px;
	}

/* Acordeón */

.acordeonProducto {}

.e-n-accordion-item-title-header i {
	margin-right:10px;
	}

.acordeonProducto h4 {
	font-size:18px;
	margin-bottom:10px;
	margin-top:20px;
	}

.acordeonProducto p {
	margin-bottom:15px;
	padding-left:20px;
	}



/* Columna Debajo (área de la descrición larga, información adicional, valoraciones) */
/* **************************************************************** */

.columnaDebajoProducto {}


/* Productos Relacionados */

.productos-relacionados h4.productos-relacionados {
	text-transform:uppercase;
	font-family:"Playfair Display";
	}

/* Selector de cantidad */

.productos-relacionados ul.products li.product form.cart {
    display: flex;
    align-items: center;
	flex-direction: row;
    justify-content: center;
    /*gap: 10px;*/
    margin-top: 15px;
	}

.productos-relacionados ul.products li.product form.cart .quantity {
    margin: 0 0 10px 0;
	width:80% !important;
    justify-content: center;
	/*height:20px;*/
	}

.productos-relacionados ul.products li.product form.cart .quantity a {
    min-height: 30px !important;
	}

.productos-relacionados ul.products li.product form.cart .quantity a.plus {
	border-top-right-radius: 10px !important;
	border-bottom-right-radius: 10px !important;
	}

.productos-relacionados ul.products li.product form.cart .quantity a.minus {
	border-top-left-radius: 10px !important;
	border-bottom-left-radius: 10px !important;
	}

.productos-relacionados ul.products li.product form.cart .quantity a:hover {
	background:#222222;
	color:#ffffff;
	}

.productos-relacionados ul.products li.product form.cart .quantity input.qty {
    width: 60px;
    text-align: center;
    min-height: 30px !important;
	}


.productos-relacionados ul.products li.product form.cart .add_to_cart_button {
	/*display:inline-block;*/
	/*width:auto !important;*/
	width:80% !important;
	margin:0;
    /*justify-content: center;*/
	}






