@charset "UTF-8";
/**
 * phytoitalia.css — Personalizzazioni specifiche del progetto PhytoItalia
 * Le variabili colore (:root) sono definite in skin-phytoitalia.css
 *
 * Struttura:
 * 1. Font & base
 * 2. Layout utilities
 * 3. Componenti custom (prodotti, articoli, etc.)
 * 4. Carrello (mini-cart, hover, shipping info)
 * 5. Animazioni
 */

/* ======= 1. Font & base ======= */
/* Font Poppins caricato via <link> in main.php con display=swap (non-blocking) */

/* Page header */
.page-header .page-title {
	color: #fff;
	text-align: center;
	text-transform: uppercase;
}

/* ======= 1b. Mobile-first & Accessibility ======= */
html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	-webkit-tap-highlight-color: transparent;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Skip to content (accessibilità) */
.skip-to-content {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 99999;
	padding: 12px 24px;
	background: var(--primary);
	color: #fff;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	border-radius: 0 0 8px 0;
}

.skip-to-content:focus {
	left: 0;
}

/* Focus visible migliorato */
:focus-visible {
	outline: 2px solid var(--primary);
	outline-offset: 2px;
}

/* --- Banner profilo incompleto --- */
.profile-incomplete-banner {
	background: linear-gradient(135deg, #fff3cd 0%, #ffeeba 100%);
	border-bottom: 2px solid #ffc107;
	padding: 12px 0;
}

.profile-incomplete-content {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	color: #856404;
}

.profile-incomplete-content i {
	font-size: 24px;
	flex-shrink: 0;
}

.profile-incomplete-content strong {
	display: block;
	font-size: 14px;
	margin-bottom: 2px;
}

.profile-incomplete-content span {
	font-size: 13px;
	opacity: 0.85;
}

.profile-incomplete-btn {
	margin-left: auto;
	flex-shrink: 0;
	padding: 8px 20px;
	background: #856404;
	color: #fff;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s;
	white-space: nowrap;
}

.profile-incomplete-btn:hover {
	background: #6d5303;
	color: #fff;
}

/* Forgot password link nel login */
.forgot-password-link {
	display: block;
	margin-top: 12px;
	font-size: 13px;
	color: var(--primary);
	text-decoration: none;
}

.forgot-password-link:hover {
	text-decoration: underline;
}

.forgot-header {
	margin-bottom: 20px;
}

.forgot-header h5 {
	margin: 12px 0 8px;
	font-size: 18px;
	font-weight: 700;
}

.forgot-back {
	font-size: 13px;
	color: #888;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.forgot-back:hover {
	color: var(--primary);
}

.profile-incomplete-actions {
	display: flex;
	gap: 8px;
	margin-left: auto;
	flex-shrink: 0;
}

.profile-incomplete-btn-verify {
	background: #e65100;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.profile-incomplete-btn-verify:hover {
	background: #bf360c;
	color: #fff;
}

@media (max-width: 767px) {
	.profile-incomplete-content {
		flex-wrap: wrap;
	}

	.profile-incomplete-btn {
		margin-left: 0;
		width: 100%;
		text-align: center;
		margin-top: 8px;
	}
}

/* Touch targets minimi 44x44px */
.btn,
.nav-link,
.dropdown-toggle,
.btn-product,
.btn-cart,
.btn-remove,
.addr-action,
.order-action,
a.social-icon,
.mobile-menu-toggler {
	min-height: 44px;
	min-width: 44px;
}

/* Safe area per iPhone con notch */
.page-wrapper {
	padding-top: env(safe-area-inset-top);
	padding-bottom: env(safe-area-inset-bottom);
}

/* Scroll container touch */
.table-responsive,
.dropdown-cart-products {
	-webkit-overflow-scrolling: touch;
}

/* ======= 2. Layout utilities ======= */
.w100 {
	max-width: 100% !important;
}

.pimary {
	color: var(--primary) !important;
}

/* ======= 3. Header & navigation ======= */

/* --- Prescriber welcome banner --- */
.prescriber-banner {
	background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
	color: #fff;
	padding: 8px 0;
	text-align: center;
	font-size: 13px;
	letter-spacing: 0.3px;
}

.prescriber-banner-text {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.prescriber-banner-text i {
	font-size: 16px;
	opacity: 0.9;
}

.prescriber-badge {
	background: rgba(255, 255, 255, 0.2);
	padding: 2px 10px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.5px;
	margin-left: 6px;
}

/* --- Header bottom: info spedizione gratuita --- */
.header-bottom .header-right {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	border: none;
}

.header-bottom .header-right p,
.header-bottom .header-right #js-header-shipping-info {
	margin: 0;
	padding: 6px 14px;
	font-size: 12px;
	line-height: 1.4;
	color: var(--primary);
	font-weight: 500;
	background: var(--primary-soft);
	border-radius: 20px;
	white-space: nowrap;
	text-align: center;
}

.header-bottom .header-right .text-success {
	color: var(--primary) !important;
}

.header-middle .row>div:first-child {
	display: flex;
	align-items: center;
}

.container,
.container-fluid {
	width: 1800px;
	max-width: 100%;
	padding-left: 1rem;
	padding-right: 1rem;
}

.title {
	font-weight: 600;
	font-size: 2rem;
	letter-spacing: -.025em;
}

.title-desc {
	letter-spacing: 0;
}

.heading {
	margin-bottom: 4.4rem;
}

.heading .title {
	margin-bottom: 1rem;
}

/* Sfondo slider verde chiaro (sovrascrive il grigio #ccc del template) */
.intro-slider-container,
.intro-slide {
	background-color: var(--primary-soft);
}

.intro-slider-container:before,
.intro-slider .slide-image:before {
	padding-top: 42.3728813559%;
}

.intro-slide .slide-image img {
	width: 100%;
	height: auto;
	display: block;
}

@media screen and (max-width: 479px) {

	.intro-slider-container:before,
	.intro-slider .slide-image:before {
		padding-top: 0;
	}

	.intro-slider-container,
	.intro-slide .slide-image {
		height: auto;
	}

	.intro-slide .slide-image img {
		position: relative;
	}
}

/* Banner verticali home: stessa altezza proporzionale del banner principale */
.home-banner-vertical {
	position: relative;
	overflow: hidden;
	border-radius: .3rem;
	aspect-ratio: 600 / 250;
}

.home-banner-vertical img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Banner laterale home (colonna destra XXL) */
.home-banner-side {
	position: relative;
	overflow: hidden;
	border-radius: .3rem;
	height: 100%;
}

.home-banner-side img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.intro-slide .intro-content {
	padding-bottom: 1rem;
}

.intro-slider.owl-nav-inside .owl-dots {
	right: auto;
	left: 14px;
	bottom: 20px;
}

.intro-content {
	left: 20px;
}

.intro-content .btn {
	color: #333;
	border-radius: .3rem;
	text-transform: uppercase;
	letter-spacing: 0;
}

.intro-subtitle {
	color: #777;
	font-weight: 300;
	margin-bottom: .8rem;
}

.intro-title {
	color: #333;
	font-weight: 600;
	font-size: 2.8rem;
	letter-spacing: -.025em;
	margin-bottom: .5rem;
}

.intro-title span {
	font-weight: 300;
}

.intro-text {
	color: #333;
	font-weight: 300;
	font-size: 1.6rem;
	line-height: 1.3;
	letter-spacing: -.025em;
	margin-bottom: 1.6rem;
}

.intro-price {
	color: #333333;
	font-weight: 700;
	font-size: 3.2rem;
	line-height: 1.2;
	letter-spacing: -.025em;
	margin-top: -.2rem;
	margin-bottom: 1.7rem;
}

.intro-price sup {
	top: -.8em;
	font-weight: 400;
	font-size: 1.6rem;
	letter-spacing: -.03em;
}

.banner {
	/*overflow: hidden;*/
	background-color: #f1f1f1;
}

.banner,
.banner img {
	border-radius: .2rem;
}

.banner-content-stretch .banner-content {
	top: 10rem;
	bottom: 4rem;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.banner-content-stretch .banner-content .banner-link {
	background-color: rgba(153, 153, 153, 0.2);
	color: #333;
	padding-left: .5rem;
	padding-right: .5rem;
}

.banner-content-stretch .banner-content .banner-link:hover,
.banner-content-stretch .banner-content .banner-link:focus {
	background-color: var(--primary);
}

.banner-content-stretch a::after {
	display: none;
}

.banner-content {
	padding-top: 0;
	left: 2rem;
}

.banner-content .price {
	padding-right: 1.3rem;
	line-height: 2.4em;
}

.banner-content .price sup {
	font-size: 1.6rem;
	font-weight: 400;
	letter-spacing: -.01em;
	top: -.4em;
}

.banner-content .price span {
	margin-left: .3rem;
	font-size: 2.4rem;
	letter-spacing: -.01em;
}

.banner-content .price strong {
	font-weight: 600;
}

.widget-banner .banner-content {
	left: 3rem;
}

.widget-banner .banner-content-right {
	right: 3rem;
}

.widget-banner .banner-content-top {
	top: 3.5rem;
	transform: translateY(0);
}

.banner-subtitle {
	font-weight: 300;
	font-size: 1.4rem;
	letter-spacing: -.01em;
	margin-bottom: 1.1rem;
}

.banner-subtitle.text-white {
	color: #ebebeb !important;
}

.banner-title {
	font-weight: 600;
	font-size: 2rem;
	line-height: 1.3;
	letter-spacing: -.025em;
	margin-bottom: 1.4rem;
}

.banner-title span {
	font-weight: 300;
}

.banner-link {
	width: auto;
	min-width: 150px;
	text-align: center;
	text-transform: uppercase;
	color: #fff;
	font-weight: 400;
	font-size: 1.4rem;
	line-height: 1.4;
	letter-spacing: -.01em;
	border-radius: .3rem;
	padding: .7rem 1rem .6rem;
	background-color: rgba(255, 255, 255, 0.2);
	transition: all .35s;
}

.banner-link i {
	display: inline-block;
	width: 0;
	line-height: 1;
	overflow: hidden;
	margin-left: 0;
	margin-bottom: -1px;
	transition: width .35s, margin .35s, color 0s;
}

.banner-link.banner-link-dark:not(:hover):not(:focus) {
	background-color: rgba(51, 51, 51, 0.2);
}

.banner-link:hover,
.banner-link:focus {
	color: #333;
	text-decoration: none !important;
	background-color: var(--primary);
}

.banner-link:hover i,
.banner-link:focus i {
	width: auto;
	margin-left: .7rem;
}

.banner-text a {
	color: inherit;
}

.banner-text a:hover,
.banner-text a:focus {
	text-decoration: none;
}

.trending-products {
	padding: 4.5rem 5rem 5rem;
}

.trending-products .owl-simple .owl-nav .owl-prev {
	left: -40px;
}

.trending-products .owl-simple .owl-nav .owl-next {
	right: -40px;
}

.trending-products .owl-dots {
	margin-top: .5rem;
}

.trending-products .product-media {
	padding: 2rem 2rem;
	background-color: #fff;
}

.trending-products .product-body {
	padding-top: 0;
	padding-bottom: 2.8rem;
}

.electronics .product-media,
.furniture .product-media,
.clothing .product-media,
.cooking .product-media {
	background-color: #fff;
	padding: .5rem;
}

.owl-full .owl-nav [class*='owl-'] {
	color: #666;
}

.nav.nav-pills .nav-item.show .nav-link,
.nav.nav-pills .nav-item .nav-link.active {
	color: #666;
}

.nav.nav-pills .nav-link {
	color: #666;
	font-weight: 400;
	font-size: 1.6rem;
	text-transform: capitalize;
	padding-bottom: 1.5rem;
}

.product.product-sm {
	align-items: center;
}

.product.product-sm .product-media {
	flex: 0 0 70px;
	max-width: 70px;
}

.product.product-sm .product-title {
	line-height: 1.5em;
}

.product.product-sm .product-body {
	padding-top: 0;
}

.widget-deals .product-image {
	width: unset;
}

.widget-deals .product-media {
	display: flex;
	justify-content: center;
	padding-top: 2rem;
	background-color: #fff;
}

.widget-deals .product-label {
	top: 1rem;
}

.widget-posts {
	padding-top: .5rem;
}

.sidebar-home .widget-posts .widget-title {
	margin-bottom: 3rem;
}

.product-label {
	border-radius: .2rem;
}

.product {
	border-radius: .2rem;
	overflow: hidden;
}

.product-action-vertical {
	transform: translateY(0);
}

.btn-product-icon {
	border-radius: 50%;
	background-color: #fff;
	border: 0.1rem solid var(--primary);
}

.btn-product-icon span {
	top: -1px;
	bottom: -1px;
}

.btn-product-icon:hover,
.btn-product-icon:focus {
	background-color: var(--primary);
}

.btn-product-icon:hover span,
.btn-product-icon:focus span {
	background-color: var(--primary);
}

.btn-wishlist:hover:before,
.btn-wishlist:focus:before {
	content: '\f233';
}

.product-action {
	left: 2rem;
	right: 2rem;
	transform: translateY(0);
}

.btn-product {
	padding-top: 1.05rem;
	padding-bottom: 1.05rem;
	color: #fff;
	text-transform: uppercase;
	border-radius: .2rem;
	border: 0.1rem solid var(--primary);
	background-color: var(--primary);
	transition: all 0.25s ease;
}

.btn-product:before {
	display: inline-block;
	margin-right: .6rem;
	margin-top: -.1rem;
}

.btn-product {
	padding-top: 1.05rem;
	padding-bottom: 1.05rem;
	color: #fff;
	text-transform: uppercase;
	border-radius: .2rem;
	border: 0.1rem solid var(--primary);
	background-color: var(--primary);
	transition: all 0.25s ease;
}

.btn-product:before {
	display: inline-block;
	margin-right: .6rem;
	margin-top: -.1rem;
}

.btn-product span {
	color: #fff;
}

/* Hover verde brillante naturale */
.btn-product:hover,
.btn-product:focus {
	background-color: #45B866;
	/* verde brillante */
	border-color: #45B866;
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 8px 18px rgba(69, 184, 102, 0.35);
}

.btn-product:hover span,
.btn-product:focus span {
	color: #ffffff;
	box-shadow: none;
}

.btn-product:active {
	transform: translateY(0);
	box-shadow: 0 4px 10px rgba(69, 184, 102, 0.25);
}

.product-body {
	padding-bottom: 1.8rem;
}

.product-cat {
	color: #ccc;
	text-transform: uppercase;
	margin-bottom: 1.2rem;
}

.product-price {
	font-size: 1.4rem;
	margin-bottom: 1.1rem;
}

.product-price .new-price {
	color: var(--primary);
	font-weight: 700;
	font-size: 1.6rem;
}

.product-price .old-price {
	text-decoration: line-through;
	color: #999;
	font-size: 1.2rem;
	margin-left: 6px;
	font-weight: 400;
}

.product-price .discount-badge {
	display: inline-block;
	background: #dc3545;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	padding: 1px 6px;
	border-radius: 3px;
	margin-left: 6px;
	vertical-align: middle;
}

.product-title {
	color: #666;
	font-size: 1.4rem;
	margin-bottom: .3rem;
}

.ratings-text {
	margin-left: .5rem;
}

.product-countdown {
	border-radius: .2rem;
	background-color: var(--primary);
	left: 2rem;
	right: 2rem;
	bottom: 0;
	padding: .7rem 1rem .6rem;
}

.product-countdown .countdown-section {
	background-color: transparent;
	margin-left: 0;
	margin-right: 0;
	padding: 0;
	position: relative;
	margin-bottom: 1.1rem;
}

.product-countdown .countdown-section:not(:last-child):after {
	font-weight: 400;
	font-size: 1.6rem;
	margin-left: -.1rem;
}

.product-countdown .countdown-amount {
	color: #fff;
	font-weight: 500;
	font-size: 1.6rem;
	letter-spacing: -.01em;
	margin-bottom: 0;
}

.product-countdown .countdown-period {
	color: #fff;
	display: block;
	position: absolute;
	letter-spacing: 0;
	left: 0;
	right: 0;
	bottom: -1.1rem;
}

.product-countdown .countdown-show4 .countdown-section {
	width: 25%;
}

.cat-banner-list {
	display: flex;
	align-items: center;
	background-size: cover;
	background-position: center center;
	padding-top: 3rem;
	padding-bottom: 3rem;
}

.cat-banner-list h2 {
	font-weight: 600;
	font-size: 2rem;
	letter-spacing: -.025em;
	margin-bottom: 2rem;
}

.cat-banner-list ul {
	font-weight: 400;
	font-size: 1.4rem;
	line-height: 1.5;
}

.cat-banner-list ul li:not(:last-child) {
	margin-bottom: .8rem;
}

.cat-banner-list ul li a:before {
	content: '•';
	margin-right: .8rem;
}

.cat-banner-list a {
	color: #333;
}

.cat-banner-list a:hover,
.cat-banner-list a:focus {
	color: var(--primary);
}

.cat-banner-list .list-all-link a {
	color: var(--primary);
}

.cat-banner-list .list-all-link a:hover,
.cat-banner-list .list-all-link a:focus {
	box-shadow: 0 1px 0 var(--primary);
}

.banner-list-content {
	padding-left: 4rem;
	padding-top: 1rem;
}

.cat-banner {
	max-width: 480px;
	margin-bottom: 2rem;
	margin-left: auto;
	margin-right: auto;
}

.cat-banner .banner {
	margin-bottom: 0;
}

.cat-banner .banner-content {
	display: flex;
	flex-direction: column;
	padding-top: 0;
	top: 4.5rem;
	left: 4.5rem;
	bottom: 5rem;
	transform: translateY(0);
}

.cat-banner .banner-title {
	flex-grow: 1;
}

.cat-banner .banner-link {
	align-self: flex-start;
}

.sidebar-home {
	margin-top: 0;
	margin-bottom: 5rem;
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
}

.sidebar-home .widget {
	margin-bottom: 3rem;
}

.sidebar-home .widget-title {
	font-weight: 600;
	font-size: 2rem;
	line-height: 1.25;
	letter-spacing: -.01em;
	margin-bottom: 2rem;
	padding-bottom: 1.4rem;
	border-bottom: .1rem solid #ebebeb;
}

.sidebar-home .widget-title span {
	display: inline-block;
	position: relative;
}

.sidebar-home .widget-title span:after {
	content: '';
	position: absolute;
	display: block;
	left: 0;
	right: 0;
	bottom: -1.5rem;
	height: .1rem;
	background-color: var(--primary);
}

.widget-products .products {
	padding: 0;
	margin: 0;
}

.widget-products .product:last-child {
	margin-bottom: 0;
}

.widget-products .product-media {
	border: .1rem solid #f1f1f1;
}

.widget-products .product-title {
	color: #666;
}

.widget-products .product-sm .product-price {
	font-size: 1.4rem;
}

.widget-deals .product {
	border-bottom: .1rem solid #ebebeb;
	padding-bottom: 7rem;
	margin-bottom: 2rem;
}

.widget-deals .product:hover .product-countdown {
	opacity: 1;
	visibility: visible;
}

.widget-deals .product-action {
	left: 3rem;
	right: 3rem;
}

.widget-deals .product-countdown {
	left: 3rem;
	right: 3rem;
	bottom: 3rem;
}

.widget-deals .ratings-container:last-child {
	margin-bottom: .5rem;
}

.widget-posts {
	overflow: hidden;
}

.widget-posts .entry {
	color: #777;
	font-size: 1.4rem;
	line-height: 1.7;
	margin-bottom: 0;
}

.widget-posts .entry-media {
	margin-bottom: 1.5rem;
	border-radius: .2rem;
	overflow: hidden;
}

.widget-posts .entry-body {
	padding-left: 2rem;
	padding-right: 2rem;
}

.widget-posts .entry-meta {
	color: #ccc;
	margin-bottom: .3rem;
}

.widget-posts .entry-title {
	font-weight: 600;
	font-size: 1.6rem;
	margin-bottom: .7rem;
}

.widget-posts .entry-content p {
	margin-bottom: .6rem;
}

.widget-posts .read-more {
	font-size: 1.4rem;
	text-transform: capitalize;
}

.widget-posts .owl-simple .owl-nav.disabled+.owl-dots {
	margin-top: 2.5rem;
}

.icon-boxes-container {
	background-color: #fafafa;
}

.icon-box-side {
	justify-content: center;
	margin-left: -1rem;
}

.icon-box-side .icon-box-title {
	font-weight: 600;
	margin-bottom: .4rem;
}

.icon-box-side p {
	font-size: 1.6rem;
	letter-spacing: -.01em;
}

.icon-box-side .icon-box-icon {
	font-size: 4rem;
	margin-bottom: .5rem;
}

.cta-horizontal-box {
	padding-top: 3.8rem;
	padding-bottom: 3.6rem;
}

.cta-horizontal-box form {
	display: flex;
	justify-content: flex-end;
}

.cta-horizontal-box .input-group {
	max-width: 670px;
}

.cta-horizontal-box .cta-desc {
	line-height: 1.3em;
}

.cta-horizontal .form-control {
	margin-right: 1rem;
}

.cta-title {
	font-weight: 600;
	letter-spacing: -.025em;
}

.cta .form-control {
	border-radius: .3rem;
}

.cta .input-group>.custom-select:not(:last-child),
.cta .input-group>.form-control:not(:last-child) {
	border-radius: .3rem;
}

.cta .btn {
	min-width: 170px;
	text-transform: uppercase;
	color: #fff;
	background-color: rgba(255, 255, 255, 0.2);
	border-radius: .3rem !important;
}

.cta .btn:hover,
.cta .btn:focus {
	color: #fff;
	border-color: var(--primary);
	background-color: var(--primary);
}

.footer .widget-about p {
	max-width: 540px;
}

.footer .widget-about-info a {
	color: var(--primary);
}

.footer .widget-newsletter form {
	padding-top: 2.3rem;
}

.footer .widget-newsletter form .form-control::placeholder {
	color: #ccc;
}

.footer-bottom .container,
.footer-bottom .container-fluid {
	padding-bottom: 2.1rem;
}

.footer-bottom .container::before,
.footer-bottom .container-fluid::before {
	left: 1rem;
	right: 1rem;
}

@media screen and (min-width: 481px) and (max-width: 767px) {
	.intro-title {
		font-size: 2.4rem;
		margin-bottom: 1rem;
	}

	.intro-subtitle,
	.intro-text,
	.intro-price {
		display: none;
	}
}

@media screen and (min-width: 576px) {
	.cat-banner-list {
		padding-top: 0;
		padding-bottom: 0;
	}
}

@media screen and (min-width: 768px) {
	.intro-slider.owl-nav-inside .owl-dots {
		left: 54px;
		bottom: 30px;
	}

	.intro-content {
		left: 60px;
	}

	.intro-title {
		font-size: 3.4rem;
	}

	.intro-price {
		font-size: 3.8rem;
	}

	.banner-content {
		left: 5rem;
	}
}

@media screen and (min-width: 992px) {
	.heading .title {
		margin-bottom: 0;
	}
}

@media screen and (min-width: 1200px) {
	.owl-simple.brands-carousel {
		margin-left: 6rem;
		margin-right: 6rem;
		width: calc(100% - 12rem);
	}

	.cat-banner {
		max-width: none;
	}

	.intro-slider.owl-nav-inside .owl-dots {
		left: 84px;
		bottom: 40px;
	}

	.intro-content {
		left: 90px;
	}

	.intro-subtitle {
		font-size: 1.6rem;
		margin-bottom: 1rem;
	}

	.intro-title {
		font-size: 3.6rem;
		margin-bottom: .9rem;
	}

	.intro-text {
		font-size: 2rem;
		margin-bottom: 3rem;
	}

	.intro-price {
		font-size: 4rem;
		margin-bottom: 1.5rem;
	}

	.intro-price sup {
		font-size: 2rem;
	}
}

@media screen and (min-width: 1600px) {
	.intro-slider.owl-nav-inside .owl-dots {
		left: 124px;
		bottom: 70px;
	}

	.intro-content {
		left: 130px;
	}

	.intro-content .btn {
		min-width: 200px;
	}

	.intro-subtitle {
		font-size: 1.8rem;
		margin-bottom: 1.6rem;
	}

	.intro-title {
		font-size: 4rem;
		margin-bottom: .9rem;
	}

	.intro-text {
		font-size: 2.4rem;
		margin-bottom: 4.2rem;
	}

	.intro-price {
		font-size: 5rem;
		margin-bottom: 1.7rem;
	}

	.intro-price sup {
		top: -.8em;
		font-size: 2.4rem;
	}
}

@media screen and (min-width: 1920px) {
	.cat-banner-row .col-xxl-4 {
		flex: 0 0 33.65%;
		max-width: 33.65%;
	}

	.cat-banner-row .col-xxl-8 {
		flex: 0 0 66.35%;
		max-width: 66.35%;
	}

	.cat-banner-row .product {
		min-height: 400px;
	}
}

@media screen and (max-width: 992px) {
	.cta-horizontal-box .cta-txt {
		text-align: center;
	}

	.cta-horizontal-box form {
		justify-content: center;
	}
}

/* ===== Dropdown Aree di Interesse - Restyling con Variabili ===== */



/* Lista */
.header-left .menu-vertical li {
	list-style: none;
	margin-bottom: 5px;
}

/* Bottone categoria */
.header-left .menu-vertical li a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-radius: 5px;
	background: var(--primary-soft);
	color: var(--secondary);
	font-weight: 400;
	text-decoration: none;
	border: 1px solid transparent;
	transition: all 0.25s ease;

	padding-bottom: .95rem;
	padding-left: .5rem;
}

/* Hover */
.header-left .menu-vertical li a:hover {
	background: var(--primary);
	color: #ffffff;
	box-shadow: 0 6px 18px rgba(76, 145, 86, 0.25);
}

/* Badge conteggio prodotti */
.header-left .menu-vertical li a .count {
	background: #ffffff;
	color: var(--primary);
	padding: 6px 10px;
	border-radius: 20px;
	font-size: 1rem;
	/* stessa dimensione del testo */
	font-weight: 700;
	border: 1px solid var(--primary);
	transition: all 0.25s ease;
}

/* Hover badge */
.header-left .menu-vertical li a:hover .count {
	background: #ffffff;
	color: var(--primary-hover);
	border-color: #ffffff;
}

.menu-vertical {
	margin-top: 5px;
}

article figure img {
	background: #fff !important
}

/* ======= 4. Carrello (mini-cart, hover, shipping, animazioni) ======= */

/* --- Cart dropdown item hover --- */
.dropdown-cart-products .product {
	transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
	padding: 12px 20px 12px 14px;
	border-radius: 6px;
	position: relative;
	gap: 12px;
	overflow: visible;
}

.dropdown-cart-products .product .btn-remove {
	transition: color 0.2s ease, transform 0.2s ease;
	margin-left: auto;
	flex-shrink: 0;
	min-width: 20px;
	text-align: center;
}

.dropdown-cart-products .product:hover {
	background-color: var(--primary-soft);
	box-shadow: 0 2px 8px rgba(76, 145, 86, 0.12);
	transform: translateX(2px);
}

.dropdown-cart-products .product:has(.btn-remove:hover) {
	background-color: rgba(220, 53, 69, 0.06);
	box-shadow: 0 2px 8px rgba(220, 53, 69, 0.1);
	transform: none;
}

.dropdown-cart-products .product .btn-remove:hover {
	color: #dc3545;
	transform: scale(1.3);
}

/* --- Cart shipping info --- */
.cart-shipping-msg {
	text-align: center;
	font-size: 13px;
	color: #666;
	padding: 8px 0 4px;
	margin: 0;
	border-top: 1px solid #ebebeb;
}

.cart-shipping-msg .text-success {
	color: #569850 !important;
	font-weight: 600;
}

.cart-shipping-msg strong {
	color: #333;
}

/* --- Cart highlight animation (add to cart) --- */
@keyframes cartItemPulse {
	0% {
		background-color: rgba(86, 152, 80, 0.45);
		box-shadow: 0 0 12px rgba(86, 152, 80, 0.3);
	}

	25% {
		background-color: rgba(86, 152, 80, 0.2);
		box-shadow: 0 0 6px rgba(86, 152, 80, 0.15);
	}

	50% {
		background-color: rgba(86, 152, 80, 0.35);
		box-shadow: 0 0 10px rgba(86, 152, 80, 0.25);
	}

	75% {
		background-color: rgba(86, 152, 80, 0.15);
		box-shadow: none;
	}

	100% {
		background-color: transparent;
		box-shadow: none;
	}
}

.cart-item-highlight {
	animation: cartItemPulse 4s ease-in-out;
	border-radius: 4px;
}

/* ======= 5. PhytoUI — Toast & Dialog globali ======= */

/* --- Toast --- */
.phyto-toast {
	position: fixed;
	top: 20px;
	right: -400px;
	z-index: 10100;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 20px;
	border-radius: 10px;
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
	transition: right 0.3s ease, opacity 0.3s ease;
	max-width: 420px;
}

.phyto-toast-show {
	right: 20px;
}

.phyto-toast i {
	font-size: 18px;
	flex-shrink: 0;
}

.phyto-toast-close {
	color: rgba(255, 255, 255, 0.7);
	font-size: 20px;
	line-height: 1;
	text-decoration: none;
	margin-left: 8px;
	flex-shrink: 0;
}

.phyto-toast-close:hover {
	color: #fff;
}

.phyto-toast-success {
	background: linear-gradient(135deg, #28a745, #218838);
}

.phyto-toast-error {
	background: linear-gradient(135deg, #dc3545, #c82333);
}

.phyto-toast-warning {
	background: linear-gradient(135deg, #e67e22, #d35400);
}

.phyto-toast-info {
	background: linear-gradient(135deg, #17a2b8, #138496);
}

/* --- Dialog conferma --- */
.phyto-dialog-overlay {
	position: fixed;
	inset: 0;
	z-index: 10200;
	background: rgba(0, 0, 0, 0);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.3s;
}

.phyto-dialog-overlay.phyto-dialog-show {
	background: rgba(0, 0, 0, 0.4);
}

.phyto-dialog {
	background: #fff;
	border-radius: 14px;
	padding: 32px;
	max-width: 420px;
	width: 90%;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
	transform: scale(0.9) translateY(20px);
	opacity: 0;
	transition: all 0.3s ease;
}

.phyto-dialog-show .phyto-dialog {
	transform: scale(1) translateY(0);
	opacity: 1;
}

.phyto-dialog-title {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 8px;
	color: #333;
}

.phyto-dialog-message {
	font-size: 15px;
	color: #666;
	margin: 0 0 24px;
	line-height: 1.5;
}

.phyto-dialog-actions {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
}

.phyto-dialog-btn {
	padding: 10px 24px;
	border: none;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
}

.phyto-dialog-cancel {
	background: #f0f0f0;
	color: #666;
}

.phyto-dialog-cancel:hover {
	background: #e0e0e0;
}

.phyto-dialog-btn-danger {
	background: #dc3545;
	color: #fff;
}

.phyto-dialog-btn-danger:hover {
	background: #c82333;
}

.phyto-dialog-btn-warning {
	background: #e67e22;
	color: #fff;
}

.phyto-dialog-btn-warning:hover {
	background: #d35400;
}

.phyto-dialog-btn-primary {
	background: var(--primary);
	color: #fff;
}

.phyto-dialog-btn-primary:hover {
	background: var(--primary-hover);
}

/* ============================================================
   PASSWORD — Toggle, Strength bar, Rules (globale)
   ============================================================ */

.pwd-input-wrap {
	position: relative;
}

.pwd-input-wrap input {
	padding-right: 44px;
}

.pwd-toggle {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: #bbb;
	font-size: 18px;
	cursor: pointer;
	padding: 4px 6px;
	line-height: 1;
	border-radius: 4px;
	transition: all 0.15s;
}

.pwd-toggle:hover {
	color: var(--primary);
	background: rgba(0, 0, 0, 0.04);
}

.pwd-strength {
	margin-top: 8px;
}

.pwd-strength-bar {
	height: 5px;
	background: #f0f0f0;
	border-radius: 3px;
	overflow: hidden;
}

.pwd-strength-fill {
	height: 100%;
	width: 0;
	border-radius: 3px;
	transition: width 0.3s ease, background 0.3s ease;
}

.pwd-strength-text {
	font-size: 12px;
	font-weight: 600;
	margin-top: 4px;
	display: inline-block;
}

.pwd-rules {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	margin-top: 8px;
}

.pwd-rule {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	color: #ccc;
	transition: color 0.2s;
}

.pwd-rule i {
	font-size: 14px;
	transition: color 0.2s;
}

.pwd-rule-ok {
	color: var(--primary);
}

.pwd-rule-ok i {
	color: var(--primary);
}

/* Modal registrazione — miglioramenti */
#signin-modal .pwd-input-wrap {
	margin-bottom: 0;
}

#signin-modal .pwd-strength {
	margin-top: 6px;
}

#signin-modal .pwd-rules {
	margin-top: 6px;
	padding: 8px 0;
}

/* ============================================================
   MOBILE MENU — Webapp style
   ============================================================ */

/* Mobile menu: larghezza piena schermo */
.mobile-menu-container {
	width: 100vw !important;
	max-width: 100vw !important;
	left: -100vw !important;
}

.mmenu-active .mobile-menu-container {
	transform: translateX(100vw) !important;
}

/* Colori menu mobile: testo bianco */
.mobile-menu-wrapper .mobile-nav .mobile-menu>li>a,
.mobile-menu-wrapper .mobile-nav .mobile-menu>li>ul>li>a {
	color: #fff !important;
}

.mobile-menu-wrapper .mobile-nav .mobile-menu>li>a:hover,
.mobile-menu-wrapper .mobile-nav .mobile-menu>li>a:active {
	background: rgba(255, 255, 255, 0.1) !important;
}

.mobile-menu-wrapper .mobile-nav .mobile-menu>li>ul>li>a:hover {
	color: var(--primary) !important;
}

.mobile-menu-actions a.mobile-menu-action {
	color: #fff !important;
}

.mobile-menu-actions a.mobile-menu-action:hover {
	background: rgba(255, 255, 255, 0.1) !important;
}

.mobile-menu-actions a.mobile-menu-action-danger {
	color: #ff5252 !important;
}

.mobile-menu-close i {
	color: #fff !important;
}

.mobile-menu-icon-svg {
	width: 18px;
	height: 14px;
	vertical-align: middle;
	margin-right: 6px;
	/* Converte a #4c9156 (var(--primary)) */
	filter: brightness(0) saturate(100%) invert(52%) sepia(25%) saturate(654%) hue-rotate(84deg) brightness(96%) contrast(84%);
}

.mobile-menu-header {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px 0 12px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	margin-bottom: 12px;
}

.mobile-menu-logo img {
	height: 28px;
	width: auto;
}

.mobile-menu-wrapper .mobile-search {
	margin-bottom: 16px;
	display: flex;
	align-items: center;
}

.mobile-menu-wrapper .mobile-search .form-control {
	flex: 1;
}

.mobile-menu-wrapper .mobile-search .btn {
	padding: 8px 12px;
	font-size: 13px;
}

.mobile-menu-wrapper .mobile-nav .mobile-menu>li>a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	font-size: 15px;
	font-weight: 500;
	color: #333;
	border-radius: 8px;
	transition: background 0.15s;
}

.mobile-menu-wrapper .mobile-nav .mobile-menu>li>a:hover,
.mobile-menu-wrapper .mobile-nav .mobile-menu>li>a:active {
	background: #f5f5f5;
}

.mobile-menu-wrapper .mobile-nav .mobile-menu>li>a i.la {
	font-size: 20px;
	width: 24px;
	text-align: center;
	color: var(--primary);
	flex-shrink: 0;
}

.mobile-menu-wrapper .mobile-nav .mobile-menu>li>ul>li>a {
	padding: 10px 16px 10px 50px;
	font-size: 14px;
	color: #666;
}

.mobile-menu-wrapper .mobile-nav .mobile-menu>li>ul>li>a:hover {
	color: var(--primary);
	background: #fafafa;
}

/* Azioni rapide */
.mobile-menu-actions {
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.mobile-menu-action {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	font-size: 15px;
	font-weight: 500;
	color: #333;
	border-radius: 8px;
	transition: background 0.15s;
	text-decoration: none;
}

.mobile-menu-action:hover {
	background: #f5f5f5;
	text-decoration: none;
	color: #333;
}

.mobile-menu-action i.la {
	font-size: 20px;
	width: 24px;
	text-align: center;
	color: var(--primary);
}

.mobile-menu-action-danger {
	color: #d32f2f;
}

.mobile-menu-action-danger i.la {
	color: #d32f2f;
}

.mobile-menu-action-danger:hover {
	background: #fde8e8;
	color: #d32f2f;
}

.mobile-menu-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: 10px;
	background: var(--primary);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	margin-left: auto;
}

.mobile-menu-wrapper .social-icons {
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	text-align: center;
}

/* Cart dropdown vuoto o disabilitato: nasconde il menu */
.cart-dropdown.cart-empty .dropdown-menu,
.cart-dropdown.cart-empty:hover .dropdown-menu,
.cart-dropdown.cart-dropdown-disabled .dropdown-menu,
.cart-dropdown.cart-dropdown-disabled:hover .dropdown-menu {
	display: none !important;
	visibility: hidden !important;
}

/* ============================================================
   SEZIONE PRESCRITTORE — Scheda prodotto
   ============================================================ */

.prescriber-section {
	border-top: 2px solid var(--primary);
	padding-top: 20px;
}

.prescriber-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
}

.prescriber-header i {
	font-size: 24px;
	color: var(--primary);
}

.prescriber-header h3 {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: var(--primary);
}

.prescriber-card {
	border: 1px solid #e8e8e8;
	border-radius: 8px;
	margin-bottom: 8px;
	overflow: hidden;
}

.prescriber-card .card-header {
	background: #f8f8f8;
	padding: 12px 16px;
	border-bottom: none;
}

.prescriber-card .card-title a {
	font-size: 15px;
	font-weight: 600;
	color: #333;
	text-decoration: none;
}

.prescriber-card .card-title a:hover {
	color: var(--primary);
}

.prescriber-content {
	font-size: 14px;
	line-height: 1.7;
	color: #555;
}

.prescriber-content p {
	margin-bottom: 12px;
}

.prescriber-attachments {
	padding-top: 8px;
}

.prescriber-attachment {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 0;
	font-size: 14px;
	color: var(--primary);
	text-decoration: none;
}

.prescriber-attachment:hover {
	text-decoration: underline;
}

.prescriber-attachment i {
	font-size: 18px;
	color: #d32f2f;
}

/* Header: nome utente (solo mobile) */
.header-user-mobile {
	display: none;
}

@media (max-width: 991px) {
	.header-user-mobile {
		display: inline;
		font-size: 13px;
		font-weight: 600;
		color: #fff;
		margin-left: 10px;
	}

	.header-user-mobile i {
		margin-right: 3px;
	}
}

/* Slider mobile: full width, altezza auto */
@media (max-width: 991px) {
	.intro-slider-container {
		width: 100%;
	}

	.intro-slider-container:before,
	.intro-slide .slide-image:before {
		display: none !important;
	}

	.slider-container-ratio .intro-slider,
	.slider-container-ratio .intro-slider .intro-slide,
	.slider-container-ratio .slide-image,
	.slider-container-ratio .slide-image>picture,
	.slider-container-ratio .slide-image>img {
		position: relative !important;
		width: 100% !important;
		height: auto !important;
	}

	.intro-slide .slide-image img,
	.intro-slide .slide-image picture img {
		width: 100%;
		height: auto;
		display: block;
	}

	.intro-slider.owl-nav-inside .owl-dots {
		margin-top: -35px;
		position: relative;
		z-index: 10;
	}
}

/* Footer mobile */
@media (max-width: 767px) {
	.footer-middle .row>[class*="col-"] {
		flex: 0 0 100%;
		max-width: 100%;
		text-align: center;
		margin-bottom: 24px;
	}

	.footer-middle .widget {
		text-align: center;
		width: 100%;
	}

	.footer-middle .widget.widget-about {
		width: 100%;
		text-align: center;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.footer-middle .widget-list {
		display: inline-block;
		text-align: center;
	}

	.footer-middle .widget-about-info .row>[class*="col-"] {
		flex: 0 0 100%;
		max-width: 100%;
		text-align: center;
		margin-bottom: 8px;
	}

	.footer-middle .social-icons {
		justify-content: center;
	}
}

/* ============================================================
   SKELETON LOADING — Sistema globale
   ============================================================ */

@keyframes skeleton-pulse {
	0% {
		opacity: 1;
	}

	50% {
		opacity: 0.4;
	}

	100% {
		opacity: 1;
	}
}

@keyframes skeleton-wave {
	0% {
		background-position: -200px 0;
	}

	100% {
		background-position: calc(200px + 100%) 0;
	}
}

.skeleton {
	background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 37%, #f0f0f0 63%);
	background-size: 200px 100%;
	animation: skeleton-wave 1.4s ease infinite;
	border-radius: 4px;
	display: block;
}

.skeleton-text {
	height: 14px;
	margin-bottom: 8px;
	width: 80%;
}

.skeleton-text-sm {
	height: 12px;
	margin-bottom: 6px;
	width: 60%;
}

.skeleton-title {
	height: 20px;
	margin-bottom: 12px;
	width: 70%;
}

.skeleton-img {
	width: 100%;
	padding-top: 100%;
	border-radius: 8px;
	margin-bottom: 12px;
}

.skeleton-img-rect {
	width: 100%;
	padding-top: 43%;
	border-radius: 8px;
	margin-bottom: 12px;
}

.skeleton-btn {
	height: 40px;
	width: 120px;
	border-radius: 6px;
}

.skeleton-price {
	height: 18px;
	width: 60px;
	margin-bottom: 8px;
}

.skeleton-circle {
	width: 44px;
	height: 44px;
	border-radius: 50%;
}

.skeleton-badge {
	height: 22px;
	width: 70px;
	border-radius: 12px;
	display: inline-block;
}

/* Skeleton card prodotto */
.skeleton-product-card {
	padding: 16px;
}

.skeleton-product-card .skeleton-img {
	padding-top: 120%;
}

/* Skeleton minicart item */
.skeleton-minicart-item {
	display: flex;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid #f0f0f0;
}

.skeleton-minicart-item .skeleton-thumb {
	width: 60px;
	height: 60px;
	border-radius: 6px;
	flex-shrink: 0;
}

.skeleton-minicart-item .skeleton-info {
	flex: 1;
}

/* Skeleton carrello item */
.skeleton-cart-item {
	display: flex;
	gap: 16px;
	align-items: center;
	padding: 16px 0;
	border-bottom: 1px solid #f0f0f0;
}

.skeleton-cart-item .skeleton-thumb {
	width: 80px;
	height: 80px;
	border-radius: 8px;
	flex-shrink: 0;
}

.skeleton-cart-item .skeleton-info {
	flex: 1;
}

/* Skeleton checkout summary */
.skeleton-summary-row {
	display: flex;
	justify-content: space-between;
	margin-bottom: 10px;
}

.skeleton-summary-row .skeleton-label {
	height: 14px;
	width: 80px;
}

.skeleton-summary-row .skeleton-value {
	height: 14px;
	width: 60px;
}