.pp-wrap {
	max-width: 1200px;
	margin: 20px auto;
	padding: 0 12px;
	font-family: Arial, sans-serif;
}

.pp-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 26px;
}

.elementor-widget-portfolio_pills .pp-pills {
	justify-content: var(--pills-alignment, center);
}

.pp-pill {
	background: transparent;
	border: none;
	padding: 8px 14px;
	cursor: pointer;
	font-weight: 600;
	color: #777;
	border-bottom: 3px solid transparent;
	transition: color .15s ease, border-color .15s ease;
}

.pp-pill:focus {
	outline: none;
}

.pp-pill.pp-active {
	color: #e67e22;
	border-bottom-color: #e67e22;
}

.pp-grid {
	display: grid;
	gap: 20px;
	align-items: start;
	transition: opacity 0.3s ease;
}

.pp-item {
	border: 4px solid #f3f3f3;
	padding: 6px;
	background: #fff;
	box-shadow: 0 1px 0 rgba(0,0,0,0.03);
	text-align: center;
	transition: all 0.3s ease;
}

.pp-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.pp-item img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	display: block;
}

.pp-item figcaption {
	margin-top: 8px;
	font-size: 14px;
	color: #444;
}

.pp-empty {
	text-align: center;
	padding: 40px;
	color: #666;
	grid-column: 1 / -1;
}

.pp-loading {
	opacity: .6;
	pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
	.pp-pills {
		justify-content: center !important;
		gap: 8px;
	}
	
	.pp-pill {
		padding: 6px 12px;
		font-size: 14px;
	}
	
	.pp-grid {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
		gap: 15px;
	}
	
	.pp-item img {
		height: 180px;
	}
}

@media (max-width: 480px) {
	.pp-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
	
	.pp-item img {
		height: 150px;
	}
}