/* =========================================================
   Portale dell'olio — site-specific overrides
   Applied on top of nextfuture-green.css
   ========================================================= */

/* LANG FLAGS — small flag icons in switcher trigger + submenu */
.lang-flag {
	display: inline-block;
	vertical-align: middle;
	width: 22px;
	height: 14px;
	border-radius: 2px;
	margin: 0;
	flex-shrink: 0;
}
/* Trigger: keep template's inline layout, vertically center the flag visually */
.wsmenu > .wsmenu-list > li.pdo-lang > a .lang-flag {
	position: relative;
	top: -2px;
	margin-right: 4px;
}
.wsmenu > .wsmenu-list > li.pdo-lang > a .wsarrow {
	margin-left: 2px;
}
/* Submenu items: align flag + label on same baseline */
.wsmenu > .wsmenu-list > li.pdo-lang > ul.sub-menu > li > a {
	display: flex !important;
	align-items: center;
	gap: 8px;
}

/* BUTTON HOVER — verde brand vira al blu notte (template hover--black: #353f4f) */
.btn--theme.hover--theme:hover,
.hover--theme:hover,
.white-scroll .scroll .hover--theme:hover,
.black-scroll .scroll .hover--theme:hover {
	background-color: #353f4f !important;
	border-color: #353f4f !important;
	color: #fff !important;
}

/* LANGUAGE SWITCHER — robust dropdown (hover + focus-within + tap) */
.wsmenu > .wsmenu-list > li.pdo-lang {
	position: relative;
}
.wsmenu > .wsmenu-list > li.pdo-lang > ul.sub-menu {
	top: 100% !important;
	right: 0;
	left: auto;
	min-width: 140px !important;
	z-index: 1100;
	background-color: #fff;
	border: 1px solid #e1e3e5;
	border-radius: 6px;
	padding: 8px 0;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}
.wsmenu > .wsmenu-list > li.pdo-lang > ul.sub-menu > li {
	display: block;
	width: 100%;
	border-bottom: none;
}
.wsmenu > .wsmenu-list > li.pdo-lang > ul.sub-menu > li > a {
	display: block;
	padding: 8px 16px;
	color: #22223b;
	font-size: 14px;
	font-weight: 500;
	white-space: nowrap;
	text-decoration: none;
}
.wsmenu > .wsmenu-list > li.pdo-lang > ul.sub-menu > li > a:hover {
	color: #799532;
	background-color: #f1f5dc;
}
/* Open on hover + keyboard focus-within (no JS dependency) */
.wsmenu > .wsmenu-list > li.pdo-lang:hover > ul.sub-menu,
.wsmenu > .wsmenu-list > li.pdo-lang:focus-within > ul.sub-menu {
	opacity: 1 !important;
	visibility: visible !important;
	transform: rotateX(0deg) !important;
}

/* HERO — brand green gradient (replaces blur--purple background image) */
.hero-section.blur--purple:after {
	background-image: none !important;
	background: radial-gradient(ellipse at 50% 0%, rgba(138, 162, 45, 0.35) 0%, rgba(241, 245, 220, 0.25) 45%, rgba(255, 255, 255, 0) 80%) !important;
	opacity: 1 !important;
	top: 0 !important;
}

/* HERO STATS — centered two-stat block */
.hero-stats > .col-md-4 {
	text-align: center;
}
.hero-stats .statistic-number {
	color: #22223b;
	margin-bottom: .25rem;
}
.hero-stats p {
	color: #6c757d;
	margin: 0;
}

/* COME FUNZIONA — numbered step badge over icon */
.fbox-3-ico {
	position: relative;
	display: inline-block;
	margin-bottom: 28px;
}
.fbox-3-ico .step-num {
	position: absolute;
	top: -10px;
	right: -18px;
	width: 32px;
	height: 32px;
	line-height: 32px;
	border-radius: 50%;
	background: #8aa22d;
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	text-align: center;
}

/* CTA FINALE — brand-green radial gradient on the whole section (same family as hero) */
#cta-finale {
	position: relative;
	background: radial-gradient(ellipse at 50% 50%, rgba(138, 162, 45, 0.35) 0%, rgba(241, 245, 220, 0.55) 45%, #fff 85%) !important;
}
#cta-finale .cta-1-wrapper {
	padding: 100px 30px;
	background: transparent !important;
	background-image: none !important;
	border-radius: 0 !important;
}
#cta-finale .cta-1-txt,
#cta-finale .cta-1-txt h2,
#cta-finale .cta-1-txt p {
	color: #22223b !important;
}
#cta-finale .cta-1-txt h2 {
	margin-bottom: 18px;
}
#cta-finale .btns-group {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	margin-top: 50px !important;
}
#cta-finale .btns-group .btn {
	min-width: 220px;
	margin: 0 !important;
}
@media (max-width: 575px) {
	#cta-finale .cta-1-wrapper { padding: 70px 22px; }
}

/* HERO BUTTON GROUP — same alignment treatment */
#hero-9 .btns-group {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
}
#hero-9 .btns-group .btn {
	min-width: 200px;
	margin: 0 !important;
}

/* FAQ — accordion styling */
.faq-list .faq-item {
	border-bottom: 1px solid #e1e3e5;
	padding: 22px 0;
}
.faq-list .faq-item summary {
	cursor: pointer;
	list-style: none;
	font-weight: 700;
	font-size: 19px;
	color: #22223b;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}
.faq-list .faq-item summary::-webkit-details-marker { display: none; }
.faq-list .faq-item summary::after {
	content: "+";
	font-weight: 400;
	font-size: 28px;
	color: #8aa22d;
	transition: transform .2s ease;
}
.faq-list .faq-item[open] summary::after {
	content: "−";
}
.faq-list .faq-item .faq-answer {
	padding-top: 14px;
	color: #6c757d;
	line-height: 1.6;
}

/* Section ID badge in Nextfuture brand */
.section-id {
	color: #799532;
}

/* STATS strip — marketplace numbers */
.pdo-stats {
	background: #f1f5dc;
	border-radius: 16px;
	padding: 50px 30px;
}
.pdo-stats .stat-item {
	text-align: center;
}
.pdo-stats .stat-num {
	font-size: 56px;
	font-weight: 800;
	color: #799532;
	line-height: 1;
	margin: 0;
}
.pdo-stats .stat-label {
	margin-top: 8px;
	color: #22223b;
	font-weight: 500;
}

@media (max-width: 575px) {
	#hero-9 .btns-group .btn,
	#cta-finale .btns-group .btn {
		min-width: 100%;
	}
	.pdo-stats .stat-num { font-size: 42px; }
}
