/* ! ARCHIVIO CATEGORIE PRODOTTO */

.segatel-archivio-categorie {
	padding-inline: 20px;
}

.segatel-archivio-categorie .segatel-categorie_content {
	padding: 30px 20px;
	margin: auto;
	margin-top: -40px;
	background: #f8f8f8;
	position: relative;
	z-index: 1;
}

.segatel-archivio-categorie article.segatel-category-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	text-align: center;
	border: 1px solid;
	background: #fff;
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease,
		border-color 0.3s ease;
	padding: 10px;
}
.segatel-archivio-categorie article.segatel-category-card:hover {
	transform: translateY(-8px);
	border-color: var(--primary-color);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}
.segatel-archivio-categorie article.segatel-category-card:hover h2 {
	color: #fff;
}
.segatel-archivio-categorie .segatel-category-image {
	width: 100%;
	padding: 25px;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.segatel-singola-categoria .segatel-category-card_item a {
	background: transparent !important;
}
.segatel-archivio-categorie .segatel-category-image img {
	object-fit: contain;
	width: 180px;
	height: 140px;
}

.segatel-archivio-categorie .segatel-category-card a {
	width: 100%;
	text-decoration: none;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.segatel-archivio-categorie .segatel-category-content h2 {
	padding: 20px;
	margin: 0;
	background: var(--primary-color);
	color: #000;
	font-family: var(--font-fourth);
	font-weight: 400;
	font-size: 16px;
	line-height: 1.3;
	text-transform: uppercase;
}

/* Tablet */
@media (min-width: 768px) {
	.segatel-archivio-categorie .segatel-categorie_content {
		padding: 45px;
		margin-top: -60px;
	}

	.segatel-archivio-categorie .segatel-category-image {
		padding: 26px;
	}

	.segatel-archivio-categorie .segatel-category-content h2 {
		padding: 18px;
		font-size: 16px;
	}
}

/* Desktop */
@media (min-width: 1025px) {
	.segatel-archivio-categorie .segatel-categorie_content {
		padding: 55px;
		margin-top: -86px;
		margin-inline: 25px;
	}

	.segatel-archivio-categorie .segatel-category-image {
		padding: 20px;
	}
}

/* ! CARD PRODOTTO */

.segatel-singola-categoria .content-product-item {
	padding-bottom: 20px;
	text-align: left;
}
.segatel-category-card_item {
	width: 100%;
}
.segatel-singola-categoria .segatel-category-content-product {
	width: 100%;
	padding: 10px 10px;
}

.segatel-singola-categoria .segatel-category-content-product a,
.segatel-singola-categoria .segatel-category-card a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 18px 20px;
	background: var(--primary-color);
	color: #fff;
	font-family: var(--font-fourth);
	font-weight: 400;
	font-size: 14px;
	line-height: 1.3;
	text-transform: uppercase;
	text-decoration: none;
}

.segatel-singola-categoria .product-name {
	width: 100%;
	margin-bottom: 15px;
	font-family: var(--font-primary);
	font-size: 20px;
	line-height: 1.3;
}

.segatel-singola-categoria .product-excerpt p {
	margin: 0;
	font-family: var(--font-primary);
	font-size: 13px;
	line-height: 1.6;
}
.segatel-singola-categoria-btn {
	padding-bottom: 50px;
}
/* Tablet */
@media (min-width: 768px) {
	.segatel-singola-categoria .segatel-category-content-product a {
		padding: 20px;
		font-size: 15px;
	}
	.segatel-singola-categoria .segatel-category-card a {
		padding: 20px;
		font-size: 15px;
	}
	.segatel-singola-categoria .product-name {
		font-size: 22px;
	}

	.segatel-singola-categoria .product-excerpt p {
		font-size: 14px;
	}
}

/* Desktop */
@media (min-width: 1200px) {
	.segatel-singola-categoria .segatel-category-content-product a {
		font-size: 16px;
	}
	.segatel-singola-categoria .segatel-category-card a {
		font-size: 16px;
	}
	.segatel-singola-categoria .product-name {
		width: 230px;
		font-size: 22px;
	}

	.segatel-singola-categoria .product-excerpt p {
		font-size: 15px;
	}
}

div#segatel-products-pagination {
	margin-top: 50px;
}

div#segatel-products-pagination ul.page-numbers {
	padding: 0;
	margin: 0;
	display: flex;
	justify-content: center;
	gap: 30px;
	list-style: none;
}

div#segatel-products-pagination ul.page-numbers li span.current {
	padding: 15px 20px;
	background: var(--primary-color);
	color: #fff;
	border: 1px solid var(--primary-color);
}

div#segatel-products-pagination ul.page-numbers li a {
	padding: 15px 20px;
	border: 1px solid var(--primary-color);
	text-decoration: none;
	color: #000;
}

div#segatel-products-pagination ul.page-numbers li a:hover {
	background: var(--primary-color);
	color: #fff;
}

#segatel-products {
	position: relative;
	min-height: 300px;
}

.segatel-products-loader {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 20px;

	background: rgba(255, 255, 255, 0.92);

	opacity: 0;
	visibility: hidden;

	transition: 0.3s;
	z-index: 20;
}

#segatel-products.loading .segatel-products-loader {
	opacity: 1;
	visibility: visible;
}

.loader-circle {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	border: 6px solid rgba(255, 210, 0, 0.25);
	border-top-color: #ffd200;
	animation: segatelLoader 0.8s linear infinite;
}

.loader-text {
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #555;
}

@keyframes segatelLoader {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}
