/*
Theme Name: Hub Child
Theme URI: http://hub.liquid-themes.com/
Author: Liquid Themes
Author URI: https://themeforest.net/user/liquidthemes
Template: hub
Description: Smart, Powerful and Unlimited Customizable WordPress Theme.
Version: 1.0
License: GNU General Public License
License URI: license.txt
Text Domain: hub-child
Tags: responsive, retina, rtl-language-support, blog, portfolio, custom-colors, live-editor
*/

:root {
	--color-primary: #efefef;
	--color-gris: #f3f4f6;
	--color-gris-oscuro: #333;
	--color-white: #fff;
	--color-black: #000;
	--color-text: #5A5A5A;
	--color-bg-btn-form: #979797;

	--font-primary: "Inter", sans-serif;
}

body {
	font-family: var(--font-primary);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: var(--color-text);
}

h1,
h2,
h3,
h4,
h5,
.h1,
.h2,
.h3,
.h4,
.h5 {
	font-family: var(--font-primary);
	line-height: 1.2;
	color: var(--color-black);
}

h1 {
	font-size: 40px;
	@media (min-width: 1200px) {
		font-size: 80px;
	}
}

h2 {
	font-size: 36px;
	font-weight: 500;
	@media (min-width: 1200px) {
		font-size: 32px;
	}
}

h3 {
	font-size: 24px;
	@media (min-width: 1200px) {
		font-size: 32px;
	}
}

h4 {
	font-size: 20px;
	font-weight: 500;
}

h5 {
	font-size: 18px;
}

/* BOTONES */
.btn {
	font-size: 1rem;
	font-weight: 700;
	border-radius: 0.25rem;
	
	> span:not(.btn-icon):not(.btn-txt) {
		padding: 1em 2em;
	}
	
	&.btn-default {
		color: var(--color-bg-btn-form);
		border-width: 2px;
		border-color: var(--color-bg-btn-form);
	}
	
	&.btn-solid {
		background-color: var(--color-bg-btn-form);
	}
}

/* HEADER */
#header {
	.main-nav > li > a {
		color: var(--color-black) !important;
		font-weight: 400;

		&:hover {
			color: var(--color-black) !important;
		}
	}

	.current-menu-item a {
		font-weight: 600 !important;
		color: var(--color-black) !important;
	}

	.bar {
		background: var(--color-primary);
	}
	
	.main-nav li.menu-item-has-children {
		> .submenu-expander {
			top: 8px !important;
		}
	}
	
	.nav-item-children .nav-item-children {
		left: 100%;
	}
	
	.main-nav .children, .nav-item-children {
		padding: 0.5em 0;
		border-radius: initial;
		
		@media (width < 1200px) {
			padding-left: 1em;
		}
		
		> li {
			a {
				padding: .75em 1.25em;
			}
			@media (width >= 1200px) {
				&.menu-item-has-children {
					> a {
						display: flex;
						align-items: center;
						justify-content: space-between;
						gap: 0.25em;

						&:after {
							display: inline-block;
							content: '\f054';
							font-family: 'Font Awesome 7 Free';
							font-weight: 900;
							font-size: 0.875em;
							margin-left: auto;
						}
					}
				}
			}
		}
	}
}

.col-menu-internas .lqd-head-col.text-right {
	display: flex !important;
	justify-content: center !important;
}

/* ANIMATIONS */

#primary-nav li.is-active {
	font-weight: 700;
}

[data-mobile-header-scheme="gray"] .lqd-mobile-sec .navbar-header {
	background: #fff;
	box-shadow: 0px 2px 7px 0px rgba(0, 0, 0, 0.2);
}

/* PADDING SECCIONES */
.normal-padding {
	padding: 3.5rem 0 !important;
	@media (min-width: 1200px) {
		padding: 4rem 0 !important;
	}
}

/* FOOTER */
.col-wp-footer .wpb_wrapper {
	display: flex !important;
	flex-direction: column !important;
	align-items: center;
}

/* PRODUCTO */

.woocommerce-product-details__short-description div#wpforms-5009 {
	margin-top: 0 !important;
}

/* CONTACTO */

.wpforms-form input {
	border-bottom: 2px solid #979797 !important;
}

.wpforms-form {
	.wpforms-field {
		input,
		textarea {
			font-size: 14px !important;
		}
		input {
			padding: 1.25rem 0 !important;
			border: none !important;
			border-bottom: 2px solid #979797 !important;
			border-radius: 0 !important;
			background: none !important;
			box-shadow: none !important;
			height: initial !important;

			&::placeholder {
				opacity: 1 !important;
				color: var(--color-black) !important;
			}

			&:hover,
			&:focus {
				border-bottom: 2px solid var(--color-black) !important;
			}
		}
		textarea {
			background-color: transparent;
			padding: 1.25rem !important;
			border: 2px solid #979797 !important;
			height: 175px !important;
			border-radius: 0 !important;
			box-shadow: none !important;
			margin-top: 1rem;

			&::placeholder {
				opacity: 1 !important;
				color: var(--color-black);
			}
			&:hover,
			&:focus {
				border-color: var(--color-black);
			}
		}
	}
}

/* NOVEDADES */

.lqd-lp-cat,
.lqd-lp-meta,
.cat-links {
	display: none !important;
}

h1.entry-title {
	color: var(--color-black);
}

/* CSS DEL PERSONALIZAR */

.btn-border-gris {
	background: #fff;
	font-size: 1rem !important;
	font-weight: 600;
	color: #979797;
	padding: 0.2rem 1rem;
	border: 2px solid #979797 !important;
	border-radius: 4px;
}

.col-menu-internas .lqd-head-col {
	display: flex !important;
	justify-content: center !important;
}

.col-wp-footer .wpb_wrapper {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
}

button#wpforms-submit-5009 {
	background: var(--color-bg-btn-form);
	font-size: 1rem;
	font-weight: 600;
	color: var(--color-white);
	padding: 1em 2em;
	border: 2px solid var(--color-bg-btn-form);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	height: initial;
	min-width: 172px;
	margin-right: auto;
}

.wpforms-submit-container {
	display: flex;
	justify-content: flex-end;
}

div#wpforms-5009 {
	margin: 0 !important;
}

.col-menu-internas {
	justify-content: center;
}

.current-cat {
	font-weight: 700 !important;
}

.woocommerce-tabs.wc-tabs-wrapper,
.titlebar-inner p {
	display: none !important;
}

.titlebar-col {
	margin: 0 !important;
	width: 100%;
}

.titlebar .titlebar-col h1 {
	margin-bottom: 0;
	font-size: 40px;
	@media (min-width: 1200px) {
		font-size: 80px;
	}
}

.legal-footer img {
	margin-bottom: 7px;
	width: 160px;
}

form.woocommerce-ordering.mb-0,
.woocommerce div.product .lqd-woo-summary-top,
.woocommerce .widget_product_categories li span.count {
	display: none !important;
}

@media only screen and (max-width: 600px) {
	.banner-internas h1 {
		font-size: 30px;
	}

	.banner-internas {
		padding: 2rem 0;
	}

	.bars .bar {
		background: #000 !important;
	}

	.lqd-mobile-sec .navbar-header > * {
		flex: 1;
	}
}

/**/

.woocommerce .ld-sp-mhs-2 .ld-sp-btn {
	color: var(--color-black)
}
.woocommerce div.product .product_title {
	line-height: 0.85;
}

#abrirContenedorFormulario {
	font-size: .75rem;
	background-color: #CC3C47;
	letter-spacing: 0.1em;
	> span:not(.btn-icon):not(.btn-txt) {
        padding: 1.125rem 2.5rem;
    }
	&:hover {
		background-color: #ab353e;
	}
}
.contenedor-formulario {
	display: grid;
	grid-template-rows: 0fr;
	transition: all .5s;
	
	> .contenedor-wrapper {
		overflow: hidden;
	}
	
	&.open {
		grid-template-rows: 1fr;
	}
}

/**/

.home-chatea-medidas-pedido {
	@media (width < 768px) {
		.iconbox {
			width: 100%;
            max-width: 18.5rem;
            margin-inline: auto;
		}
	}
}

@media (width < 414px ) {
	div#topbar,
	.iconbox h3 {
		font-size: .875rem !important;
	}
	
	#topbar .topbar-col1 {
		width: 100% !important;
		padding: 0.5rem 1.125rem;
		text-align: center;
	}
	#topbar .topbar-col2 {
		display: none !important;
	}
}
@media (width < 768px ) {
	div#topbar {
		display: block !important;
		z-index: -1;
	}
	#chaty-widget-0 .chaty-widget {
		bottom: 90px !important;
	}
}

.woocommerce .widget .widget-title {
	font-size: 1.25rem;
	font-weight: 700;
	text-transform: initial;
	letter-spacing: initial;
	margin-bottom: 1rem;
}

@media (width >= 992px) {
	.lqd-sidebar-container {
		margin-top: 1rem;
	}
}
.woocommerce .widget_product_categories ul {
	margin-top: 1em;
}
.woocommerce .widget_product_categories .product-categories {
	margin-top: 1em;
	li {
		display: flex;
		align-items: start;
		margin-bottom: 1em;
		a {
			&:hover {
				scale: 1.1;
			}
		}
	}
	> li > a {
		text-decoration: underline;
	}
	> .cat-parent > .children > li > a {
		font-weight: 700;
	}
	.cat-parent {
		.children {
			display: flex;
			flex-direction: column;
			align-items: start;
			
			.children {
				> li {
					display: flex;
					align-items: center;
					&:before {
						content: '';
						width: .375rem;
						height: .375rem;
						background-color: var(--color-black);
						margin-right: .375em;
					}
				}
			}
		}
		&.cat-item-41 {
			margin-bottom: 1.5rem;
		}
		&.cat-item-42 {
			.children {
				> li {
					display: flex;
					align-items: center;
					font-weight: 400;
					> a {
						font-weight: 400;
					}
					&:before {
						content: '';
						width: .375rem;
						height: .375rem;
						background-color: var(--color-black);
						margin-right: .375em;
					}
				}
			}
		}
	}
	.current-cat {
		a {
			font-weight: 400;
		}
		> a {
			font-size: 1rem;
			font-weight: 600;
			color: #cc3c47;
			background-color: #f7f7f7;
			padding: .125em .5em;
		}
	}
}