/*
 * Fully custom, self-contained header + footer styles for
 * single-posts.php ONLY (post ID 144194). Replaces the shared
 * Impreza/us-core header and WPBakery-built footer reusable block so
 * this template has zero dependency on theme/plugin CSS or jQuery.
 *
 * Header is intentionally static (not fixed) to avoid layout-shift-prone
 * offset math and keep this simple for CWV purposes.
 */


/* Fonts */
@font-face {
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('/wp-content/themes/impreza-child-dist/fonts/Montserrat/Montserrat-Bold.woff2') format('woff2');
}

@font-face {
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 400;
	font-display: optional;
	src: url('/wp-content/themes/impreza-child-dist/fonts/Montserrat/Montserrat-Regular.woff2') format('woff2');
}

@font-face {
	font-family: 'Poppins';
	font-style: normal;
	font-weight: 700;
	font-display: optional;
	src: url('/wp-content/themes/impreza-child-dist/fonts/Poppins/Poppins-Bold.woff2') format('woff2');
}

@font-face {
	font-family: 'Poppins';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('/wp-content/themes/impreza-child-dist/fonts/Poppins/Poppins-Regular.woff2') format('woff2');
}

/* Metric-matched fallbacks: reduce text reflow when swap applies webfonts (CLS). */
@font-face {
	font-family: 'Poppins Fallback';
	font-style: normal;
	font-weight: 700;
	font-display: block;
	src: local('Arial Bold');
	size-adjust: 101%;
	ascent-override: 105%;
	descent-override: 35%;
	line-gap-override: 0%;
}

@font-face {
	font-family: 'Montserrat Fallback';
	font-style: normal;
	font-weight: 400;
	font-display: block;
	src: local('Arial');
	size-adjust: 103%;
	ascent-override: 95%;
	descent-override: 25%;
	line-gap-override: 0%;
}

@font-face {
	font-family: 'Poppins Fallback';
	font-style: normal;
	font-weight: 400;
	font-display: block;
	src: local('Arial');
	size-adjust: 101%;
	ascent-override: 105%;
	descent-override: 35%;
	line-gap-override: 0%;
}


/*Fontawesome*/
.fa,
.fas,
.far,
.fal,
.fab {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	display: inline-block;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	line-height: 1;
}

/*Top bar icons*/
.fa-facebook:before {
	content: "\f09a";
}

.fa-instagram:before {
	content: "\f16d";
}

.fa-linkedin:before {
	content: "\f08c";
}

.fa-youtube:before {
	content: "\f167";
}

.fa-phone:before {
	content: "\f095";
}

.fa-phone-alt:before {
	content: "\f879";
}

.fa-search:before {
	content: "\f002";
}

.fa-shopping-cart:before {
	content: "\f07a";
}

/*Menu Icons*/
.fa-question-circle:before {
	content: "\f059";
}

.fa-users:before {
	content: "\f0c0";
}

.fa-cubes:before {
	content: "\f1b3";
}

.fa-star:before {
	content: "\f005";
}

.fa-envelope:before {
	content: "\f0e0";
}

.fa-laptop:before {
	content: "\f109";
}

.fa-comment-alt-lines:before {
	content: "\f4a6";
}

.fa-book:before {
	content: "\f02d";
}

.fa-home-lg-alt:before {
	content: "\f80c";
}

.fa-tv:before {
	content: "\f26c";
}

.fa-briefcase:before {
	content: "\f0b1";
}

.fa-shopping-bag:before {
	content: "\f290";
}

.fa-chevron-right:before {
	content: "\f054";
}

.fa-angle-up:before {
	content: "\f106";
}

/*Footer icons*/
.fa-map-marker:before {
	content: "\f041";
}

/* SOLID - Peso 900 */
@font-face {
	font-family: 'Font Awesome 5 Free';
	font-style: normal;
	font-weight: 900;
	font-display: swap;
	src: url('/wp-content/themes/impreza-child-dist/fonts/fa-solid-900.woff2') format('woff2');
}

.fas,
.fa {
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
}

/* BRANDS - Paquete de marcas (Facebook, X, LinkedIn...) */
@font-face {
	font-family: 'Font Awesome 5 Brands';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('/wp-content/themes/impreza-child-dist/fonts/fa-brands-400.woff2') format('woff2');
}

.fab {
	font-family: 'Font Awesome 5 Brands';
	font-weight: 400;
}

* {
	box-sizing: border-box;
}

html {
	font-size: 18px;
	scroll-behavior: smooth;
}

body.single-posts-template-body {
	margin: 0;
	font-family: Poppins, "Poppins Fallback", sans-serif;
	color: #333f48;
}

/* Header */

.sp-header {
	background: #fff;
	border-bottom: 1px solid #e8e8e8;
	position: sticky;
	top: 0;
	z-index: 1000;
}

.top-bar {
	background: #36115c;
	display: flex;
	justify-content: space-between;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
	align-items: center;
	padding-bottom: 0px;
}

.top-bar .social-icons,
.top-bar .top-bar-right {
	display: flex;
	gap: 20px;
	align-items: center;
}

.top-bar .social-icons a,
.top-bar .w-search.layout_modern .w-search-open,
.top-bar .cart-link {
	font-size: 24px;
	color: #fff;
}

.top-bar .social-icons a:hover,
.top-bar .w-search.layout_modern .w-search-open:hover,
.top-bar .cart-link:hover {
	color: #a44ffc;
}

#ct-phone-cta a {
	font-size: 16px;
	font-family: Montserrat;
	font-weight: 500;
	margin-right: 80px;
	color: #fff;
	text-decoration: none;
}

.w-search.layout_modern {
	position: relative;
	width: 2.2em;
	transition: width .3s;
	z-index: 1;
	line-height: 50px;
	margin-left: 0.5em;
}

.w-search.layout_modern.active {
	width: 300px;
}

.w-search.layout_modern .w-search-open {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	inset-inline-end: 0;
	z-index: 2;
}


.w-search.layout_modern.active .w-search-open {
	z-index: 0;
	opacity: 0;
}

.w-search.layout_modern .w-search-form {
	position: relative;
	z-index: 1;
	opacity: 0;
	visibility: hidden;
}

.w-search.layout_modern.active .w-search-form {
	opacity: 1;
	visibility: visible;
}

.top-bar .w-search-form input:not([type=submit]) {
	font-family: inherit;
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 2.8rem;
	min-height: 2.8rem;
	text-transform: none;
	border-radius: 0px;
	background: #a44ffc;
	border-color: #e8e8e8;
	color: #fff;
	box-shadow: none;
	border-width: 0;
	border-style: solid;
	width: 100%;
	transition: all 0.2s;
	padding: 0 0.8em;
	padding-inline-end: 2.8em;
	display: block;
	outline: none !important;
	appearance: none;
	-webkit-appearance: none;
}

.top-bar .w-search-form input:not([type=submit])::placeholder {
	color: #fff;
	opacity: 0.5;
}

.top-bar .w-search-close {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	inset-inline-end: 0;
	text-align: center;
	line-height: 2;
	width: 2em;
	cursor: pointer;
	background: none;
	padding: 0;
	color: inherit;
	opacity: .5;
	visibility: hidden;
	outline: none;
	border: none;
}

.w-search-close:before,
.w-search-reset:before {
	content: '\f00d';
	font-family: 'Font Awesome 5 Free';
	font-weight: 400;
	vertical-align: top;
}

.top-bar .w-search.layout_modern .w-search-close {
	opacity: 0;
	transform: translate(2rem, -50%);
	color: #fff;
}

.top-bar .w-search.layout_modern.active .w-search-close {
	z-index: 1;
	opacity: .5;
	transform: translate(0, -50%);
	visibility: visible;
}

.top-bar .w-search.layout_modern.active .w-search-close:hover {
	opacity: 1;
}



.sp-header-inner {
	/*max-width: 1300px;*/
	margin: 0 auto;
	padding: 0.5rem 1.5rem;
	display: flex;
	align-items: center;
	gap: 2rem;
	justify-content: space-between;
	margin-left: 10%;
	margin-right: 10%;
}

.sp-logo {
	flex-shrink: 0;
	display: block;
	line-height: 0;
}

.sp-logo img {
	height: 70px;
	width: auto;
	display: block;
}

.sp-nav {
	flex-grow: 0;
}

.sp-nav-list {
	display: flex;
	align-items: center;
	gap: 1.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sp-nav-item {
	position: relative;
}

.sp-nav-item>a {
	font-family: 'Montserrat';
	color: #333f48;
	text-decoration: none;
	font-weight: 700;
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	padding: 1rem 1rem;
}

.sp-nav-item>a:hover {
	color: #a44ffc;
}

.sp-nav-toggle {
	display: none;
}

.sp-dropdown {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 240px;
	margin: 0.5rem 0 0;
	padding: 0.5rem 0.8rem;
	list-style: none;
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 6px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
	z-index: 100;
}

.sp-nav-list .has-dropdown:hover .sp-dropdown,
.has-dropdown.is-open>.sp-dropdown {
	display: block;
}

.sp-dropdown li a {
	display: block;
	padding: 0 20px;
	color: #1F2122;
	text-decoration: none;
	font-family: 'Montserrat';
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
	line-height: 45px;
}

.sp-dropdown li a i {
	font-size: 19px;
	margin-right: 10px;
	vertical-align: middle;
}

.sp-dropdown>li>a {
	border-radius: 10px;
}

.sp-dropdown>li>a:hover {
	color: #a44ffc;
	background: #f5f1fa;
}

.sp-dropdown.tabs-menu {
	padding: 0;
}

.sp-nav .tabs {
	display: flex;
	width: 850px;
}

.sp-nav .tabs-lists {
	width: 30%;
	padding-top: 15px;
	padding-bottom: 15px;
	background: white;
	border-radius: 10px;
}

.sp-nav .tabs .tab-list-title,
.sp-mobile-nav .submenu-title,
.sp-nav .tabs-lists .tabs-item a,
nav .see-all-link {
	font-family: 'Montserrat';
	color: #1F2122;
	font-size: 14px;
	font-weight: 700;
	line-height: 45px;
	padding: 0px 20px;
	transition: background .2s, border-color .2s, color .2s;
	text-decoration: none;
}

.sp-nav .tabs .tab-list-title,
.sp-mobile-nav .submenu-title {
	color: #a44ffc;
	text-transform: uppercase;
}

.sp-nav .tabs-lists ul {
	list-style: none;
	padding: 0;
}

.sp-nav .tabs-lists .tabs-item a {
	border-style: solid;
	border-color: transparent;
	border-width: 0 0 0 2px;
	line-height: 45px;
}

.sp-nav .tabs-lists .tabs-item a.active,
.sp-nav .tabs-lists .tabs-item a:hover {

	background: #F5F1FA;
	border-color: #a44ffc;
	color: #a44ffc;
}

.sp-nav .tabs-sections {
	background: #FAFAFA;
	border-radius: 10px;
	flex-grow: 1;
	width: 70%;
}

.sp-nav .tab-section.active {
	display: block;
}

.sp-nav .tab-section {
	padding: 30px;
	display: none;
	border-color: #e8e8e8;
}

.sp-nav .tab-section ul {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	column-gap: 10px;
	row-gap: 35px;
	list-style: none;
	padding: 0;
}

.sp-nav .tab-section ul li a {
	line-height: 1.1;
	padding: 0;
}

.sp-nav .tab-section ul li a:hover {
	text-decoration: underline;
}

nav .see-all-link {
	color: #a44ffc;
}

.sp-nav .tab-section .see-all-link {
	border-top: 1px solid #E3E3E3;
	display: block;
	margin-top: 35px;
	padding: 20px 0 0;
}


.sp-phone {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: #333f48;
	text-decoration: none;
	font-weight: 600;
	white-space: nowrap;
}

.sp-phone:hover {
	color: #a44ffc;
}

.sp-menu-btn {
	display: none;
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	padding: 0;
	background: none;
	border: none;
	cursor: pointer;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
}

.sp-menu-btn span {
	display: block;
	height: 2px;
	background: #333f48;
	border-radius: 1px;
}

.sp-mobile-nav {
	display: none;
}

@media (max-width: 1399px) {
	.sp-header-inner {
		margin-left: 0%;
		margin-right: 0%;
	}
}

@media (max-width: 1130px) {

	.sp-nav,
	.sp-phone,
	.top-bar {
		display: none;
	}

	.sp-menu-btn {
		display: flex;
	}

	.sp-mobile-nav {
		border-top: 1px solid #e8e8e8;
	}

	.sp-mobile-nav[hidden] {
		display: none;
	}

	.sp-mobile-nav:not([hidden]) {
		display: block;
	}

	.sp-mobile-nav ul {
		margin: 0;
		padding: 0.5rem 0 1rem;
		list-style: none;
	}

	.sp-mobile-nav>ul>li {
		border-bottom: 1px solid #f0f0f0;
	}

	.sp-mobile-row {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.sp-mobile-nav a {
		font-family: 'Montserrat';
		font-size: 14px;
		font-weight: 700;
		line-height: 1.6em;
		display: block;
		padding: 0.85rem 0;
		color: #1F2122;
		text-decoration: none;
	}

	.sp-mobile-nav a.see-all-link {
		color: #a44ffc;
	}

	.sp-mobile-nav .sp-nav-toggle {
		display: block;
		width: 32px;
		height: 32px;
		background: transparent;
		border: none;
		cursor: pointer;
		position: relative;
	}

	.sp-mobile-nav .sp-nav-toggle::before {
		content: "+";
		font-size: 22px;
		color: inherit;
	}

	.has-dropdown.is-open>.sp-mobile-row .sp-nav-toggle::before {
		content: "\2212";
	}

	.sp-mobile-nav .sp-dropdown {
		position: static;
		display: none;
		border: none;
		box-shadow: none;
		margin: 0 0 0.5rem;
		padding-left: 0;
		padding-right: 0;
	}

	.sp-mobile-nav .has-dropdown.is-open>.sp-dropdown {
		display: block;
	}

	.sp-mobile-nav .sp-mobile-submnav .has-dropdown {
		border-left: 3px solid white;
		padding-left: 0;
		padding-right: 0;
		color: #1F2122;
	}

	.sp-mobile-nav .sp-mobile-submnav .has-dropdown.is-open {
		border-color: #a44ffc;
		color: #a44ffc;
	}

	.sp-mobile-nav .sp-mobile-submnav .has-dropdown .sp-dropdown {
		padding: 0;
	}

	.sp-mobile-nav .sp-mobile-submnav .has-dropdown.is-open .sp-mobile-row {
		background-color: #f5f1fa;
	}

	.sp-mobile-nav .sp-dropdown .sp-mobile-row a {
		font-family: 'Montserrat';
		font-size: 14px;
		font-weight: 700;
		line-height: 1.2;
		color: inherit;
		padding: 1em 0;
	}

	.sp-mobile-nav .sp-mobile-submnav .sp-dropdown a {
		padding: 0rem 1.9rem;
	}

	.sp-mobile-nav .sp-dropdown li a i {
		font-size: 14px;
		color: inherit;
	}

	.sp-mobile-phone {
		color: #a44ffc !important;
		font-weight: 600 !important;
	}
}

/* Footer */

.sp-footer {
	background: #f4f8fc;
	margin-top: 0rem;
	font-family: Poppins, sans-serif;
}

.sp-footer-cols {
	max-width: 1170px;
	margin: 0 auto;
	padding: 3rem 1.5rem;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
}

.sp-footer-col h4 {
	font-family: "Poppins";
	margin: 0 0 1.25rem;
	font-size: 24px;
	font-weight: 700;
	text-transform: uppercase;
	color: #333f48;
	padding-bottom: 0;
	border-bottom: 1px solid #a0f478;
}

.sp-footer-col ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.sp-footer-col a {
	font-family: 'Montserrat';
	color: #333f48;
	text-decoration: none;
	font-size: 15px;
}

.sp-footer-col a:hover {
	color: #a44ffc;
}

.sp-footer-hq{
	margin-left: -10px;
	margin-right: -10px;
}

a.sp-footer-contact {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.85rem;
	font-size: 13px;
	max-width: 270px;
}

.sp-footer-contact svg {
	flex-shrink: 0;
	margin-top: 2px;
	color: #333f48;
}

.sp-footer-tagline {
	font-family: 'Montserrat';
	font-size: 14px;
	margin: 0.5rem 0 1rem;
	font-size: 14px;
	color: #333f48;
}

.sp-footer-socials {
	display: flex;
	gap: 0.75rem;
}

.sp-footer-socials a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #333f48;
	color: #fff;
}

.sp-footer-socials a:hover {
	background: #a44ffc;
	color: #fff;
}

.sp-footer-bottom {
	background: #36115c;
	padding: 1.25rem 1.5rem;
	text-align: center;
}

.sp-footer-bottom p {
	margin: 0;
	color: #fff;
	font-size: 13px;
	text-transform: uppercase;
}

.sp-footer-bottom a {
	color: #fff;
	text-decoration: underline;
}

.w-toplink {
	position: fixed;
	z-index: 99;
	bottom: 0;
	margin: 15px;
	text-align: center;
	border-radius: 0.3rem;
	color: #fff;
	line-height: 50px;
	height: 50px;
	width: 50px;
	left: 0;
	background: rgba(0, 0, 0, 0.3);
}

.w-toplink:hover {
	background: #a44ffc
}

@media (max-width: 900px) {
	.sp-footer-cols {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.sp-footer-cols {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}
}