/* Particle desktop */
#particles-js {
	height: 500px !Important;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	position: relative;
	background-size: cover;
}
#particles-js canvas {
	position: absolute;
	display: block;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}
.box-testo {
	max-width: 900px;
	text-align: center;
}
.container-particle {
	max-width: 1400px;
	z-index: 10;
	margin-left: auto;
	margin-right: auto;
}
#particles-js .paragrafo-big {
	text-align: center;
	line-height: 1em;
	font-weight: 700;
	margin-bottom: 10px;
	font-size: 60px !Important;
}
@media screen and (max-width: 768px) {
	#particles-js .paragrafo-big {
	font-size: 30px !Important;
}
	#particles-js h1 {
		font-size: 16px !Important;
}
}
#particles-js h1 {
	color: #2d3032;
	text-align: center !Important;
	line-height: 1.2em !Important;
	font-weight: 400;
	font-size: 20px !Important;
	transform-origin: 50% 50%;
	text-align: center;
	padding-bottom: 30px;
}
#particles-js a {
	z-index: 10;
	background-color: #DB3800;
	color: white;
	font-weight: 700;
	font-size: 18px;
	line-height: 28px;
	border-width: 0px;
	border-radius: 50px;
	padding: 10px 30px;
	margin-top: 20px;
}
#particles-js a:focus {
	outline: none;
}
#particles-js a:hover {
	background-color: #DB3800;
}
@media screen and (max-width: 576px) {
	#particles-js h1 {
		font-size: 18px !important;
	}
	.contenitore-testo {
		width: 300px;
	}
	#particles-js .paragrafo-big {
		font-size: 35px;
	}
}
@media screen and (min-width: 1400px) {
	#particles-js {
		height: 700px;
	}
}
/* Particle mobile */
@media screen and (max-width: 768px) {
    .container-particle {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Badge */
.itsnew-badge {
	background: #F29C0C;
	width: 120px ! Important;
	padding: 2px 5px;
	color: #ffffff;
	font-weight: 700;
	border: 3px solid #ffffff;
	border-radius: 20px;
	box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 9;
	font-size: 13px;
}
.best-seller-badge {
	background: #36B5B6;
	width: 120px ! Important;
	padding: 2px 5px;
	color: #ffffff;
	font-weight: 700;
	border: 3px solid #ffffff;
	border-radius: 20px;
	box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 9;
	font-size: 13px;
}
.best-quality-badge {
	background: #B67736;
	width: 120px ! Important;
	padding: 2px 5px;
	color: #ffff;
	font-weight: 700;
	border: 3px solid #ffffff;
	border-radius: 20px;
	box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 9;
	font-size: 13px;
}
.custom-badge.sale-badge {
	min-width: 120px;
	text-align: center;
	font-size: .8em;
	font-weight: 700;
	padding: 2px 5px !Important;
	min-height: 0 !Important;
	border: 3px solid #ffffff;
	border-radius: 20px;
	line-height: 2em !Important;
	box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
	position: absolute;
	z-index: 9;
	background: #B63675 !Important;
	color: #ffffff;
	top: 15px !Important;
	right: 15px !Important;
}

/* Punti di forza desktop */
ul.testo-consigli {
	margin-top: 10px;
	list-style: none;
	margin-left: 0;
}
.testo-consigli li,
.consigli-mobile li {
	font-size: 12px !Important;
	text-transform: uppercase;
	color: #79818A;
	line-height: 1.3em;
	text-align: left !Important;
	margin-bottom: 1px;
}
#section-points .container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 30px 0;
}
#section-points .row {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
#section-points .column {
	width: 100%;
	max-width: 25%;
	padding-left: 15px;
	padding-right: 15px;
	border-right: 1px solid #e7e7e7;
}
#section-points .column:last-child {
	border-right: none;
}
#section-points .point {
	display: flex;
	align-items: center;
	justify-content: center;
}
#section-points img {
	height: auto;
	margin-right: 15px;
}
#section-points p {
	margin: 0;
	font-weight: 700;
	font-size: 20px !Important;
}
.slick-next:before {
	content: url('https://www.doctorspy.it/wp-content/uploads/2024/03/freccia-ds.png');
}
.slick-prev:before {
	content: url('https://www.doctorspy.it/wp-content/uploads/2024/03/freccia-sn.png');
}
/* Punti di forza mobile */
@media screen and (max-width: 768px) {
    #section-points .column {
        max-width: 100% !Important;
    }
	#section-points .column:nth-child(2), #section-points .column:nth-child(4) {
        border-left: 1px solid #eaeaea;
    }
    #section-points .column:nth-child(1), #section-points .column:nth-child(2) {
        border-bottom: 1px solid #eaeaea;
    }
    #section-points .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    #section-points .column {
        border-right: 0;
    }
    #section-points .row {
    	display: grid;
      	grid-template-columns: repeat(2, 1fr);
    }
    #section-points .point {
        display: block;
        text-align: center !Important;
        padding-bottom: 10px;
        padding-top: 10px;
    }
    .point img {
      	margin: 0 auto 10px auto !Important;
        display: block;
    }
    #section-points .column p {
        font-size: 16px !Important;
        line-height: 1.2;
        text-align: center;
    }
}

/* Stock */
p.ast-stock-detail {
	padding-bottom: 15px !Important;
}
.stock.in-stock {
	font-weight: 700;
	font-size: 16px;
	color: #77a464;
	margin-bottom: 0;
}
p.stock.out-of-stock {
	font-weight: 700 !Important;
	color: #c72b04 !Important;
	font-size: 16px !Important;
	margin-bottom: 0;
}
.stock.available-on-backorder {
	font-size: 16px;
	color: #f2cb05 !Important;
	font-weight: 700;
	text-align: left !Important;
	margin-bottom: 0;
}
p.stock.in-stock {
	text-align: left;
}
p.stock.in-stock::before {
	content: url('https://www.doctorspy.it/wp-content/uploads/2022/09/check-full.png');
	vertical-align: middle;
	margin-right: 5px;
	line-height: 1;
}
p.stock.out-of-stock::before {
	content: url('https://www.doctorspy.it/wp-content/uploads/2022/09/non-disponibile.png');
	vertical-align: middle;
	margin-right: 5px;
	line-height: 1;
}
@media screen and (max-width: 768px) {
	.ast-grid-common-col p.stock.available-on-backorder {
		text-align: left !Important;
	}
}
p.stock.available-on-backorder::before {
	content: url('https://www.doctorspy.it/wp-content/uploads/2022/09/check-backorder.png');
	vertical-align: middle;
	margin-right: 5px;
	line-height: 1;
}
.disponibilita {
	padding: 0 20px;
}
@media screen and (min-width: 993px) {
	.disponibilita {
		position: absolute;
		bottom: 5px;
	}
}


/* Prodotti in offerta */
#prodotti-offerta {
	background: #f3f6fb;
	margin: 0 auto;
    padding: 50px 40px;
}
@media screen and (max-width: 768px) {
	#prodotti-offerta {
		padding-left: 20px;
		padding-right: 20px;
	}
}
#prodotti-offerta h2 {
	text-align: center;
	margin-bottom: 20px;
}
.slider-container {
	max-width: 1400px;
	margin: 0 auto;
}
.product-slide-item {
	margin: 10px;
	position: relative;
	box-sizing: border-box;
	color: #000;
	text-decoration: none;
  	overflow: hidden;
	border: 1px solid #eaeaea;
	border-radius: 10px;
	background: #ffffff;
	min-height: 430px;
}
.product-item {
	position: relative;
	box-sizing: border-box;
	color: #000;
	text-decoration: none;
	overflow: hidden;
	border: 1px solid #eaeaea;
	border-radius: 10px;
	background: #ffffff;
	min-height: 430px;
}
.product-info {
	padding: 0 20px;
}
.product-image {
	width: 100%;
	height: auto;
}
.product-price {
	margin: 0; 
}
.product-info .product-price {
	font-size: 25px;
	line-height: 1em;
	color: #3675b6;
}
.product-info .product-price del {
    opacity: .5 !important;
    font-weight: 400;
	font-size: 18px !Important;
}
.product-info .product-price del sup {
	display: none;
}
.product-info .product-price {
	font-weight: 700;
}
.product-category {
	position: relative;
	padding-left: 20px;
	padding-top: 10px;
	padding-bottom: 10px;
	z-index: 10;
	background: #ffffff;
}
.product-category span {
	font-size: 11px;
	text-transform: uppercase;
	line-height: 1;
}
.product-category a {
	color: #575757 !Important;
}
.product-category a:hover {
	color: #3a3a3a !Important;
}
.product-name {
	font-weight: 700;
	font-size: 1em;
	color: #3a3a3a;
	line-height: 1.2;
	margin-bottom: 10px;
}
.product-content {
	transition: transform 0.3s ease-in-out;
	position: relative;
	min-height: 450px;
}
.sku-prodotto {
	font-size: 12px;
	color: #3a3a3a;
	padding-left: 0;
}
@media screen and (max-width: 768px) {
	#prodotti-offerta .slick-dots {
		bottom: -70px !Important;
	}
}
.countdown-container-loop {
	line-height: 1.2;
}
.countdown-alt-text, .countdown-container-loop {
	margin-top: 10px;
}
.countdown-alt-text p {
	color: #575757 !Important;
}
.online-only {
	font-weight: 700;
	font-size: 13px;
	color: #3a3a3a;
}
@media screen and (min-width: 993px) {
	.online-only {
		position: absolute;
		top: 22px;
		right: 0;
		background: #ededed;
		padding-left: 5px;
		padding-right: 5px;
	}
}
@media screen and (max-width: 768px) {
	.online-only {
		padding: 5px 0 5px;
	}
}

/* Categorie prodotti desktop */
#product-categories {
	margin: 0 auto;
	padding: 50px 20px;
}
.grid-categorie {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Crea 4 colonne di uguale larghezza */
    gap: 20px; /* Distanza tra le colonne e le righe */
}
.grid-categorie-min {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-column-gap: 20px;
	grid-row-gap: 40px;
}
.grid-categorie p {
	text-align: justify;
}
.category-box {
	color: #fff;
	margin-bottom: 20px;
	padding-bottom: 40px;
	position: relative;
	border: 1px solid #eaeaea;
	border-radius: 10px;
	overflow: hidden;
	z-index: 1;
}
.category-box .category-title {
	position: absolute;
	padding: 10px 20px;
	width: 100%;
	margin-bottom: 0;
	background: #ffffff;
}
.category-title {
	margin-bottom: 10px;
}
h3.category-title {
	font-size: 20px;
}
.category-link {
	position: absolute;
	bottom: 10px;
	left: 20px;
	text-decoration: none;
}
.link-categoria {
	color: #DB3800;
}
.link-categoria:after {
	content: url('https://www.doctorspy.it/wp-content/uploads/2023/07/arrow-right-pulsante.png');
	margin-left: 5px;
}
.category-content {
	transition: transform 1s ease-in-out;
	position: relative;
}
@media screen and (min-width: 769px) {
	.category-box:hover .category-content {
		transform: translateY(-210px);
	}
	.category-description {
		position: absolute;
		bottom: -200px;  
		padding: 0 20px 20px 20px;
		background: #ffffff;
		color: #3a3a3a;
		transition: transform 1s ease-in-out;   
	}
	.category-box:hover .category-description {
		transform: translateY(-200px);  /* Stessa traslazione di .category-content */
	}
}
.link-categoria {
	text-transform: uppercase;
	font-size: 13px;
	font-weight: 700;
}
.intro-category-section {
	max-width: 900px;
	margin: auto;
}
.intro-category-section h2, .intro-category-section p {
	text-align: center;
}
.intro-category-section h2 {
	margin-bottom: 10px;
}
.intro-category-section p {
	margin-bottom: 40px;
	font-size: 20px !Important;
}
.category-box-piccolo {
	display: flex;
	gap: 20px;
	align-items: center;
	border: 1px solid #eaeaea;
	border-radius: 16px;
	overflow: hidden;
}
.category-mini-image {
	flex: 0 0 40%;
}
.category-name {
	flex: 0 0 1;
}
.category-name h3 {
	font-size: 20px;
	margin-bottom: 0 !Important;
} 

/* Categorie prodotti mobile */
@media screen and (min-width: 769px) and (max-width: 1440px) {
	.grid-categorie, .grid-categorie-min {
		grid-template-columns: repeat(3, 1fr) !Important;
	}
	h3.category-title {
			font-size: 15px !Important;
		}
	.category-box .category-title {
		padding: 10px !Important;
	}
	.img-newsletter {
		display: none;
	}
}
@media screen and (max-width: 768px) {
	.grid-categorie, .grid-categorie-min {
		grid-template-columns: repeat(1, 1fr);
	}
	.grid-categorie-min {
		grid-row-gap: 20px;
	}
	.riga-elementi-min {
		margin-top: 20px;
	}
}
@media screen and (max-width: 992px) {
	.category-description {
		display: none;
	}
	.category-box:hover .category-description {
		transform: none;
	}
}
@media screen and (min-width: 1441px) {
	.item1 { 
		grid-area: 1 / 1 / 2 / 2;
	}
	.item2 { 
		grid-area: 1 / 2 / 2 / 3; 
	}
	.item3 { 
		grid-area: 1 / 3 / 2 / 4; 
	}
	.item4 { 
		grid-area: 2 / 1 / 3 / 2; 
	}
	.item5 { 
		grid-area: 2 / 2 / 3 / 3; 
	}
	.item6 { 
		grid-area: 2 / 3 / 3 / 4; 
	}
	.item7 { 
		grid-area: 1 / 4 / 3 / 5; 
	}
	.riga-elementi-min {
		margin-top: 20px;
	}
}
@media screen and (max-width: 768px) {
	.category-box-piccolo {
		margin-bottom: 20px;
	}
	.img-newsletter {
		min-height: 250px;
}
}

/* Riga elementi min */
@media screen and (max-width: 768px) {
	.grid-categorie-min {
		grid-row-gap: 10px !Important;
	}
}
@media screen and (min-width: 769px) {
	.title-elementi-container {
		display: none;
	}
}
.title-elementi-container {
	display: flex;
	align-items: center;
	justify-content: center;
}
.line {
	height: 10px;
	width: 100%;
	background-color: #e9e9e9;
	margin: 0;
	flex: 1;
}
.title-elementi-container {
	margin-bottom: 30px;
}

/* Invisible man hero scene desktop */
#hero-scene-invisible {
    position: relative;
    background: url('https://www.doctorspy.it/wp-content/uploads/2023/07/invisibile-man-hero-scene2.jpg') no-repeat center/cover fixed;
    height: 400px;
    display: flex; 
    justify-content: center; 
    align-items: center; 
}
.invisible-container {
    max-width: 1400px;
    width: 100%; 
    display: flex;
    justify-content: flex-end; /* Posiziona il contenuto (il blocco di testo) a destra */
    padding: 0 20px; /* Spazio interno per evitare che il testo tocchi il bordo. Aumenta o diminuisci se necessario */
}
.invisible-text {
    max-width: 40%; 
    text-align: left; /* Assicura che il testo sia allineato a sinistra */
}
.invisible-text p {
    font-weight: 700 !important;
    margin: 0;
}

/* Invisible man hero scene mobile */
@media screen and (max-width: 768px) {
	#hero-scene-invisible {
		background: url('https://www.doctorspy.it/wp-content/uploads/2023/07/invisibile-man-hero-scene-mobile.jpg') no-repeat center/cover;
		background-position: center;  
		background-size: cover;  
		padding-left: 10px;
		padding-right: 10px !Important;
		display: block;
		min-height: 600px;
	}
	.invisible-container {
		padding: 30px 20px;
		display: block;
		text-align: center;
	}
	.invisible-text {
		max-width: 100%;
		text-align: center !Important;
	}
	p.big-custom {
		text-align: center;
		font-size: 25px !Important;
	}
}
@media screen and (min-width: 769px) and (max-width: 992px) {
	#hero-scene-invisible {
		background: url('https://www.doctorspy.it/wp-content/uploads/2023/07/invisibile-man-hero-scene2.jpg') no-repeat center/cover;
	}
		p.big-custom {
			text-align: center;
			font-size: 25px !Important;
		}
}

/* Prodotti più venduti */
#prodotti-piu-venduti {
	padding: 50px 20px;
}
.product-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 20px;
	max-width: 1400px;
	margin: auto;
}
#prodotti-piu-venduti h2 {
	margin-bottom: 20px;
	text-align: center;
}
@media screen and (max-width: 992px) {
	.product-grid {
		display: block;
	}
	#prodotti-piu-venduti .slick-dots {
		bottom: -50px !Important;
	}
}

/* Servizi desktop */
#servizi {
	padding: 20px;
}
.service-boxes {
	display: flex;
	gap: 20px;
}
.service-box {
	width: 33.3%;  
	height: 500px;  
	position: relative;
	color: white;
	border: 1px solid transparent;
	border-radius: 10px;
	overflow: hidden;
}
.full-width-box h3 {
	color: #3a3a3a !Important;
}
.service-box .image-container, .full-width-box .image-container {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	position: relative;
}
.full-width-box .image-container {
	background-image: url('https://www.doctorspy.it/wp-content/uploads/2023/07/bonifica-microspie-ambientale-tscm.jpg');
}
.service-box .image-container::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, .1);
}
#servizi h3 {
	position: absolute;
	bottom: 80px;
	left: 50px;
	color: #ffffff;
	z-index: 10;
}
.service-btn {
	position: absolute;
	bottom: 20px;
	left: 50px;
	background-color: #DB3800;
	color: #ffffff;
	border-radius: 50px;
	padding: 10px 30px;
	text-transform: uppercase;
	font-weight: 700;
}
.service-btn:hover {
	color: #ffffff;
}
.full-width-box {
	width: 100%;
	height: 500px;
	margin-bottom: 20px;
	position: relative;
	border: 1px solid transparent;
	border-radius: 10px;
	overflow: hidden;
}
.full-width-box h3 {
	color: #3d3d3d;
}
.full-width-box .info-container {
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 50px;
	color: #ffffff;
	transform: translateY(100%);
	transition: transform 0.3s ease-in-out;
}
.full-width-box .info-container .description,
.full-width-box .info-container .service-btn {
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
}
.full-width-box:hover .info-container {
	transform: translateY(0);
}
.full-width-box:hover .info-container .description,
.full-width-box:hover .info-container .service-btn {
	opacity: 1;
}
/* Servizi mobile */
@media screen and (max-width: 768px) { 
	.service-boxes {
		display: block;
	}
	.service-box {
		width: 100%;
		margin-bottom: 20px;
	}
	#servizi h3, .service-btn {
		left: 20px;
	}
	.full-width-box .image-container {
		background-position: 30% center !Important;
	}
}
@media screen and (min-width: 769px) and (max-width: 992px) {
	#servizi h3 {
		left: 20px;
	}
}

/* Showroom slider desktop */
#showroom p {
	text-align: justify;
}
.slideshow-container {
	padding: 20px;
}
.mySlides {
	border: 1px solid transparent;
	border-radius: 10px;
	overflow: hidden;
}
#showroom {
	display: flex;
	margin-top: 30px;
	margin-bottom: 30px;
}
.slideshow-container {
	width: 50%;
}
.text-container {
	width: 50%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start; /* allinea gli elementi al centro orizzontalmente */
	max-width: 720px;
	padding: 20px;
}
#showroom h2 {
	margin-bottom: 20px;
}
#showroom .btn {
	margin-top: 20px;
}
#showroom .slick-dots {
	bottom: 30px !Important;
	left: 0;
	right: 0; 
	width: unset;
}
/* Showroom slider mobile */
@media screen and (max-width: 768px) { 
	#showroom .slick-dotted.slick-slider {
		margin-bottom: 0;
	}
	#showroom {
		display: block;
	}
	.text-container {
		width: 100%;
		display: block;
	}
	.slideshow-container {
		width: 100%;
	}
	#showroom .text-container p {
		margin-bottom: 30px;
	}
	#showroom .text-container {
		text-align: center;
	}
}


/* Ultimi articoli desktop */
#ultimi-articoli {
	padding: 50px 20px;
}
.grid-post {
	max-width: 1400px;
	margin: auto;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
#ultimi-articoli h2 {
    text-align: center;
	margin-bottom: 20px;
}
#ultimi-articoli {
    background-color: #eaf2ff;
    padding-top: 50px;
    padding-bottom: 50px;
}
#ultimi-articoli .row {
    max-width: 1400px;
    margin: auto;
    padding-top: 20px;
}
#ultimi-articoli .row:first-child {
    padding-bottom: 30px;
}
.blog-post {
    border: 1px solid #eaeaea;
    border-radius: 10px;
    background: #ffffff;
    overflow: hidden;
    position: relative;
}
.post-title h3 {
    padding: 20px;
}
.post-title h3 a {
    color: #3a3a3a !important;
    font-size: 18px;
    line-height: 1;
}
.post-title {
    position: relative;
    min-height: 100px;
    z-index: 1;
}
.post-date {
    position: relative;
    padding: 10px 30px;
    z-index: 1;
}
.post-date span {
    font-size: 11px;
    text-transform: uppercase;
    line-height: 1;
    color: #575757;
}
.post-thumbnail {
    overflow: hidden;
    position: relative;
}
.post-thumbnail img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease-in-out;
}
.post-thumbnail:hover img {
    transform: scale(1.1);
}
#ultimi-articoli .row {
	gap: 20px;
	display: flex;
}
/* Ultimi articoli mobile */
@media screen and (max-width: 768px) {
	.grid-post {
		grid-template-columns: repeat(1, 1fr);
	}
	#ultimi-articoli .post-title {
		min-height: 0;
	}
	#ultimi-articoli .row {
		display: blocK;
		padding-top: 0;
}
	#ultimi-articoli h2 {
		margin-bottom: 20px;
	}
	.blog-post {
		margin-bottom: 20px;
	}
}