/*
Theme Name: Hello Elementor Child
Description: Child theme for Hello Elementor
Author: Enrico per Marcosh
Template: hello-elementor
Version: 1.0.0
*/

/* =========================================================
   Variables
   ========================================================= */
:root {
	--primary800: #023e61;
	--primary700: #03517a;
	--primary600: #046490;
	--secondary800: #005580;
	--azzurro: #00a6e2;
	--neutri700: #40404d;

	--pe-blue: #023e61;
	--pe-light-blue: #0089ca;
	--pe-yellow: #ffcc00;
	--pe-border: #d9e1e6;
	--pe-font: 'area-normal', Arial, sans-serif;
}

/* =========================================================
   Generic
   ========================================================= */
body {
	overflow-x: hidden;
}

.card-offerta-label {
	font-family: var(--pe-font);
	font-weight: 700;
	font-size: 14px;
	line-height: normal;
	letter-spacing: 0.04em;
}

/* =========================================================
   Buttons
   ========================================================= */
.pulsante-doppio-1:hover .btn-inside {
	background-color: var(--primary700);
}

/* =========================================================
   Header menu Piemonte Energy
   ========================================================= */
.pe-header-menu {
	position: relative;
	z-index: 50;
	width: 100%;
	background: #fff;
	/* border-bottom: 1px solid var(--pe-border); */
	font-family: var(--pe-font);
	color: var(--pe-blue);
	padding-inline: 72px;
}

.pe-header-menu__inner {
	min-height: 80px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	width: 100%;
	margin: 0;
	padding: 0 35px;
}

.pe-header-menu__nav,
.pe-header-menu__actions {
	display: flex;
	align-items: center;
	gap: 64px;
}

.pe-header-menu__item,
.pe-header-menu__contact {
	appearance: none;
	border: 0 !important;
	background: transparent !important;
	padding: 0;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--primary800) !important;
	font-family: var(--pe-font);
	font-size: 14px;
	font-weight: 700 !important;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
}

.pe-header-menu__item:focus,
.pe-header-menu__item:hover,
.pe-header-menu__contact:focus,
.pe-header-menu__contact:hover {
	background-color: transparent !important;
	color: var(--pe-light-blue) !important;
}

.pe-header-menu__nav [type='button'] {
	padding: 0 !important;
}

.pe-header-menu__icon,
.pe-mega-menu__round-icon {
	width: 34px;
	height: 34px;
	border: 1.5px solid var(--pe-blue);
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 34px;
}

.pe-header-menu__icon img,
.pe-mega-menu__round-icon img {
	width: 18px;
	height: 18px;
	display: block;
	object-fit: contain;
}

.pe-header-menu__chevron {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.pe-header-menu__chevron svg {
	width: 12px;
	height: 12px;
	fill: none;
	stroke: var(--pe-blue);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform 220ms ease;
}

.pe-header-menu__item.is-active .pe-header-menu__chevron svg {
	transform: rotate(180deg);
}

.pe-header-menu__phone {
	width: auto;
	height: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	border-radius: 0;
	text-decoration: none;
	line-height: 1;
}

.pe-header-menu__phone img {
	width: 108px;
	height: auto;
	display: block;
}

/* =========================================================
   Mega menu
   Nota: niente display:none/block, così apertura e chiusura
   possono animarsi correttamente.
   ========================================================= */
.pe-mega-menu {
	position: absolute;
	top: 64px;
	left: 0;
	width: 100%;
	background: #fff;
	border-bottom: 1px solid var(--pe-border);
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(-12px);
	transition:
		opacity 260ms ease,
		transform 260ms ease,
		visibility 0s linear 260ms;
	will-change: opacity, transform;
	padding-inline: 72px;
}

.pe-mega-menu.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
	transition:
		opacity 260ms ease,
		transform 260ms ease,
		visibility 0s linear 0s;
}

.pe-mega-menu__inner {
	width: 100%;
	margin: 0;
	padding: 24px 30px 18px;
	min-height: 224px;
	display: grid;
	grid-template-columns: 1.05fr 1.15fr 1.25fr 296px;
	gap: 44px;
	align-items: start;
}

.pe-mega-menu__title {
	margin: 0 0 16px;
	color: var(--azzurro);
	font-family: var(--pe-font);
	font-size: 16px;
	line-height: 1.2;
	font-weight: 700;
}

.pe-mega-menu__list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.pe-mega-menu__list li + li {
	margin-top: 9px;
}

.pe-mega-menu__list a {
	color: var(--pe-blue);
	text-decoration: none;
	font-family: var(--pe-font);
	font-size: 14px;
	line-height: 1.25;
	font-weight: 400;
}

.pe-mega-menu__list a:hover {
	color: var(--pe-light-blue);
	text-decoration: none;
}

.pe-mega-menu__list--icons li + li {
	margin-top: 12px;
}

.pe-mega-menu__list--icons a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.pe-mega-menu__card {
	width: 296px;
	min-height: 188px;
	padding: 16px;
	background: var(--secondary800);
	color: #fff;
	border-radius: 16px;
}

.pe-mega-menu__card-content {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.pe-mega-menu__card h3 {
	margin: 0 0 8px;
	color: #fff;
	font-family: var(--pe-font);
	font-size: 16px;
	line-height: 1.2;
	font-weight: 700;
}

.pe-mega-menu__card ul {
	margin: 0 0 14px;
	padding-left: 16px;
	color: #fff;
}

.pe-mega-menu__card li {
	font-family: var(--pe-font);
	font-size: 16px;
	line-height: 1.25;
	margin-bottom: 7px;
}

.pe-mega-menu__card-button {
	margin-top: auto;
	min-height: 36px;
	border-radius: 999px;
	background: var(--pe-yellow);
	color: var(--secondary800);
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	font-family: var(--pe-font);
	font-size: 14px;
	font-weight: 700;
	padding: 8px 14px;
}

.pe-mega-menu__card-button:hover {
	filter: brightness(0.96);
}

/* =========================================================
   Homepage
   ========================================================= */
.card-service {
	background: linear-gradient(180deg, #d9dee1 0%, #e8ebed 45%, #ffffff 100%);
	border-radius: 32px;
	/* padding: 32px 24px; */
	overflow: hidden;
}

.list-check ul {
	padding-left: 8px;
	list-style: none;
	gap: 8px;
	display: flex;
	flex-direction: column;
}
/*
.list-check li::before {
	content: url('https://workingfor03.net/piemonte-energy/wp-content/uploads/2026/06/check-icon-blue.svg');
	margin-top: 3px;
}*/
.list-check li::before {
	content: url('assets/img/check-icon-blue.svg');
	margin-right: 7px;
}

button.pe-faq-question:hover,
button.pe-faq-question:focus {
	background-color: transparent;
	color: var(--primary800);
}

/*footer*/
.footer-policy ul {
	display: flex;
	list-style: none;
	gap: 10px;
}

.footer-policy li,
.footer-policy a {
	text-decoration: none;
	font-family: 'inter', sans-serif;
	font-size: 12;
	font-weight: 400;
	color: #eee;
}

/* =========================================================
   pagina categoria
   ========================================================= */
@media screen and (min-width: 1500px) {
	.banner-cat {
		min-height: 600px !important;
	}
}

/* =========================================================
   offerte single page
   ========================================================= */
@media screen and (min-width: 1500px) {
	.banner-single {
		min-height: 600px !important;
		display: flex !important;
		align-items: center !important;
	}
}

.card-single-page-evidenza strong,
.card-single-page-evidenza b {
	color: var(--primary800);
}

/* =========================================================
   pagina contatti
   ========================================================= */
#form-contatti-cs input::placeholder,
#form-contatti-cs textarea::placeholder {
	color: #40404d !important;
}

/* =========================================================
   pagina reclami
   ========================================================= */
#form-reclami-cs input::placeholder,
#form-reclami-cs textarea::placeholder {
	color: #40404d !important;
}

/* =========================================================
   Store locator
   ========================================================= */
div#yith-sl-section-results {
	padding-right: 20px !important;
}

div#yith-sl-section-map {
	padding: 0 !important;
	padding-left: 30px !important;
}

label#yith-sl-wrap-search-bar {
	border-radius: 8px;
	background-color: #eee;
	border-color: #c6c4c4;
}

.wrap-buttons {
	gap: 20px;
	display: flex;
}

button#yith-sl-geolocation {
	border-radius: 16px;
	background-color: #03517a !important;
	font-family: 'area-normal';
	border-color: #03517a !important;
}

button#yith-sl-show-all-stores {
	border-radius: 16px;
	font-family: 'area-normal';
	color: var(--primary800) !important;
	border-color: var(--primary800) !important;
}

div#yith-sl-section-results {
	width: 35%;
	padding-left: 0 !important;
}

h4.title-search-bar {
	color: var(--primary800);
	font-size: 16px !important;
	font-weight: 800 !important;
	font-family: 'area-normal', sans-serif;
}

div#yith-sl-gmap {
	border-radius: 24px;
}

label.filter-label {
	font-family: 'area-normal';
	font-weight: 600 !important;
	color: var(--primary800) !important;
}

select#filter-radius {
	color: #40404d;
	border-color: #40404d;
	border: 1px solid #c9c8c8;
	border-radius: 8px;
}

li.wrap-store-details.no-image {
	border: 1px solid #c9c8c8;
	border-radius: 16px;
}

.store-image {
	display: none;
}

address.store-info {
	width: 100% !important;
	padding: 24px !important;
}

#yith-sl-results h4.title {
	display: none !important;
}

span.section-label {
	color: var(--primary800);
}

p.store-name {
	color: var(--primary800) !important;
	font-size: 20px !important;
	font-family: 'area-normal';
	font-weight: 800 !important;
}

a.get-direction.custom-link.link {
	color: var(--primary800) !important;
}

#yith-sl-results .wrap-store-details:hover {
	background-color: #0055800f !important;
}

p.open-dropdown.filter-label.radius,
p.filter-label.open-dropdown {
	background-color: var(--primary700);
	color: #fff;
	width: 194px;
	height: 48px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 16px !important;
}

svg.hovered-paths.dropdown-arrow {
	right: 20px !important;
}

svg.hovered-paths.dropdown-arrow polygon {
	fill: #fff !important;
}

p.filter-label.open-dropdown:hover {
	color: white !important;
}

#yith-sl-results .store-info ul *,
.store-info > p:last-of-type {
	font-size: 16px;
}
#yith-sl-results .store-info ul {
	list-style: none;
	padding-inline: 0;
}
a.get-direction.custom-link.link:focus {
	outline: unset;
}
.e-search-loader {
	display: none;
}

@media screen and (max-width: 991px) {
	div#yith-sl-gmap {
		height: 350px !important;
	}
	div#yith-sl-section-map {
		padding-left: 0 !important;
	}
	#yith-store-locator .wrapper-main-sections {
		display: flex !important;
		flex-direction: column-reverse !important;
		gap: 30px;
	}
	.wrap-filters-list {
		display: flex;
		flex-direction: row;
	}
	div#yith-sl-section-results {
		width: 100% !important;
	}
	#yith-sl-section-map {
		width: 100% !important;
	}
}
/*disattivo bottone posiz. utente e vedi tutti i negozi*/
.wrap-buttons {
	display: none;
}

.wrapper-filter.type-dropdown ul li.active {
	color: var(--azzurro) !important;
}

/*categorie nelle card degli sportelli*/
.store-services {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	flex-wrap: wrap;
	margin: 20px 0 0;
	padding: 0;
	padding-bottom: 30px;
	list-style: none;
}

.store-services__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	min-width: 52px;
}

.store-services__icon {
	width: 52px;
	height: 52px;
	display: block;
	object-fit: contain;
}

.store-services__label {
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	color: #023e61;
	text-align: center;
	text-transform: uppercase;
}

#yith-sl-results .store-address {
	font-size: 16px !important;
}

#yith-sl-results .custom-link {
	font-size: 14px !important;
}

/* Elemento che scorre */
#yith-sl-results,
#yith-sl-section-results,
#yith-sl-main-filters-container,
.stores-list {
	scrollbar-width: thin; /* Firefox */
	scrollbar-color: #c9c8c8 #eee; /* thumb / track */
}

/* =========================================================
   Utilities
   ========================================================= */
.gap10 {
	display: flex !important;
	gap: 10px !important;
}

.testo-con-evidenze p {
	color: #eeeeee;
}

.testo-con-evidenze p strong,
.testo-con-evidenze p b {
	color: #3bbeed;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
	.pe-header-menu__inner {
		padding-left: 20px;
		padding-right: 20px;
	}

	.pe-mega-menu__inner {
		padding-left: 32px;
		padding-right: 32px;
		grid-template-columns: repeat(2, 1fr);
		gap: 28px;
	}

	.pe-mega-menu__card {
		grid-column: span 2;
		width: 100%;
		margin-left: 0;
	}
}

@media (max-width: 640px) {
	.pe-header-menu__inner {
		min-height: auto;
		padding: 14px 20px;
		flex-direction: column;
		align-items: flex-start;
	}

	.pe-header-menu__nav,
	.pe-header-menu__actions {
		width: 100%;
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
	}

	.pe-mega-menu {
		position: static;
		width: 100%;
		box-shadow: none;
		transform: translateY(-8px);
	}

	.pe-mega-menu__inner {
		grid-template-columns: 1fr;
		padding: 22px 20px 24px;
	}

	.pe-mega-menu__card {
		grid-column: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pe-mega-menu,
	.pe-header-menu__chevron svg {
		transition: none;
	}
}

/* ! 14-07-26 */
.pe-offerte-casa {
	background: #fff !important;
}

/* ! DOCUMENTI SINGOLA OFFERTA */
.pe-docs {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.pe-docs__item {
	display: flex;
	align-items: center;
	gap: 16px;
	text-decoration: none;
	color: #0c416d;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
	transition: 0.2s;
}

.pe-docs__item:hover {
	color: #0089ca;
}

.pe-docs__icon {
	width: 26px;
	height: 26px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.pe-docs__icon svg {
	width: 100%;
	height: 100%;
}

@media (max-width: 767px) {
	.pe-docs__item {
		font-size: 16px;
	}
}

/* ! RISULTATI RICERCA */

.risultati-ricerca .elementor-post__card {
	border-bottom: 1px solid #d8d8d8 !important;
}

.risultati-ricerca article {
	padding-inline: 0 !important;
}

.risultati-ricerca .elementor-post__text {
	padding-inline: 0 !important;
	padding-bottom: 20px !important;
}

/* CHATBOT */
.sc-iPHsxv.bNeblq.Footer__Row {
	display: none !important;
}

footer.sc-etPtWW.eLIBEF.Footer {
	display: none !important;
	max-height: unset !important;
}

/* ACCORDION */

@media screen and (max-width: 1200px) {
	.accordion_servizi .e-n-accordion {
		display: flex;
		flex-direction: column;
		gap: 20px;
	}
	.accordion_servizi details {
		width: 100% !important;
	}
}

.accordion_servizi .e-n-accordion {
	display: flex;
	gap: 20px;
}

.accordion_servizi details {
	width: 33%;
}

.pe-offerte-card__price strong {
	font-size: 30px !important;
	padding-top: 15px;
}

/* SPORTELLI */
#yith-sl-gmap .gm-style .gm-style-iw {
	border-radius: 24px !important;
	padding: 0 !important;
}

address.store-info.yith-sl-pin-modal {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

/* ! FORM */

.form_gravity label.gform-field-label,
.form_gravity .gfield--type-checkbox legend,
.form_gravity h5 {
	font-family: area-normal, sans-serif;
	font-weight: 800;
	color: #023e61;
	font-size: 16px;
	padding-bottom: 10px;
}
.form_gravity .gchoice label {
	font-weight: 600 !important;
	font-size: 14px !important;
}
.form_gravity .input_consenso label.gform-field-label.gform-field-label--type-inline.gfield_consent_label {
	font-weight: 500;
	color: #7a7a7a;
	font-size: 14px;
	padding-bottom: 0;
}

.form_gravity .input_consenso label.gform-field-label.gform-field-label--type-inline.gfield_consent_label a,
.form_gravity .informazioni_dgsl a,
.form_gravity .info_mod_reclami a.pdf_modulo,
.form_gravity .info_mod_reclami a.mail_modulo {
	font-weight: 600;
	color: #023e61;
	font-size: 14px;
	padding-bottom: 0;
}
.form_gravity .info_mod_reclami a.pdf_modulo {
	display: flex;
	flex-direction: row;
	gap: 10px;
	width: fit-content;
	align-items: center;
}

.form_gravity .info_mod_reclami a.pdf_modulo::before {
	content: '';
	display: inline-block;
	width: 22px;
	height: 20px;
	margin-right: 8px;
	background: url('assets/img/Download-2.svg') no-repeat center;
	background-size: contain;
}

.form_gravity .informazioni_dgsl,
.form_gravity .info_mod_reclami {
	color: #7a7a7a;
	font-size: 16px;
}
p.gform_required_legend {
	display: none;
}
.form_gravity input[type='text'],
.form_gravity input[type='email'],
.form_gravity input[type='tel'],
.form_gravity input[type='checkbox'],
.form_gravity input[type='file'],
.form_gravity select,
.form_gravity .select2-container--default .select2-selection--single,
.form_gravity .gfield textarea.large {
	border-color: #c5c5c5 !important;
	border-radius: 7px !important;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.form_gravity input[type='text'],
.form_gravity input[type='email'],
.form_gravity input[type='tel'],
.form_gravity input[type='file'],
.form_gravity select,
.form_gravity .select2-container--default .select2-selection--single {
	min-height: 44px !important;
}

.form_gravity input[type='text']::placeholder,
.form_gravity input[type='email']::placeholder,
.form_gravity input[type='tel']::placeholder,
.form_gravity select::placeholder,
.form_gravity .gfield textarea.large::placeholder,
.form_gravity .select2-container--default .select2-selection--single .select2-selection__rendered {
	color: #b2b2b2;
	font-size: 16px;
}

.form_gravity .select2-container--default .select2-selection--single {
	display: flex;
	align-items: center;
}

.form_gravity .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 26px;
	width: 40px;
	top: unset !important;
	right: 0 !important;
}

.form_gravity
	.select2-container--default
	.select2-results__option--highlighted.select2-results__option--selectable {
	background: #0a517a !important;
}
.form_gravity .select2-results__option {
	font-size: 14px;
}
.form_gravity div#gform_fields_1,
.form_gravity div#gform_fields_2,
.form_gravity div#gform_fields_3 {
	gap: 20px;
}
.form_gravity .input_consenso legend {
	display: none !important;
}
#gform_submit_button_1,
#gform_submit_button_2,
#gform_submit_button_3 {
	background: #ffcc00 !important;
	width: 100% !important;
	border-radius: 24px !important;
	font-size: 20px !important;
	color: #063e61 !important;
	font-weight: 400 !important;
}
/*
.form_gravity input[type='text'],
.form_gravity input[type='email'],
.form_gravity input[type='tel'],
.form_gravity select,
.form_gravity textarea {
	padding: 26px 16px !important;
}
*/

/* ! CARD SERVIZI */

.card_servizi:hover {
	background-color: #0a517a !important;
}

.card_servizi:hover .elementor-widget-heading .elementor-heading-title,
.card_servizi:hover .btn_servizi_card a,
.card_servizi:hover .btn_servizi_card .elementor-button-text {
	color: #fff !important;
}

.btn-card-scopri:hover {
	color: #22a6e2 !important;
}

a.btn_yellow_offerte {
	color: #004b73;
	background: #ffcb00;
	border: 1.5px solid #ffcb00;
	min-height: 46px;
	border-radius: 999px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	font-family: 'area-normal', Arial, sans-serif;
	font-size: 15px;
	font-weight: 800;
	line-height: 1;
	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		border-color 0.2s ease;
}

a.btn_yellow_offerte:hover,
a.btn_yellow_offerte:focus {
	color: #fff;
	background: #e1b503;
	border-color: #e1b503;
}

.list-check small {
	font-size: 11px;
}
