.psw-grid {
	display: grid;
	grid-template-columns: repeat(var(--psw-columns, 4), 1fr);
	gap: 20px;
	margin: 20px 0;
}

@media (max-width: 900px) {
	.psw-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 500px) {
	.psw-grid {
		grid-template-columns: 1fr;
	}
}

.psw-card {
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	background: #fff;
	transition: box-shadow 0.2s ease;
}

.psw-card:hover {
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.psw-image-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #f7f7f7;
}

.psw-badge {
	position: absolute;
	z-index: 2;
	top: 12px;
	background: #000;
	color: #fff;
	font-size: 12px;
	line-height: 1.4;
	white-space: nowrap;
}

.psw-badge-topleft {
	left: 0;
	padding: 7px 16px;
	font-style: italic;
	font-family: Georgia, 'Times New Roman', Times, serif;
}

.psw-badge-topright {
	right: 0;
	padding: 6px 12px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.psw-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.psw-image-placeholder {
	width: 100%;
	height: 100%;
	background: #eee;
}

.psw-body {
	padding: 14px 16px 18px;
	text-align: center;
}

.psw-title {
	font-size: 15px;
	font-weight: 500;
	margin: 0 0 8px;
	color: #222;
}

.psw-price {
	margin-bottom: 14px;
	font-size: 15px;
}

.psw-price-regular {
	text-decoration: line-through;
	color: #999;
	margin-right: 8px;
}

.psw-price-sale {
	color: #222;
	font-weight: 600;
}

.psw-button {
	display: block;
	width: 100%;
	padding: 10px 0;
	border: 1px solid #222;
	color: #222;
	text-decoration: none;
	font-size: 13px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	background: #fff;
	box-sizing: border-box;
	transition: background 0.2s ease, color 0.2s ease;
}

.psw-button:hover {
	background: #222;
	color: #fff;
}

.psw-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	margin: 24px 0 8px;
}

.psw-page-link {
	display: inline-block;
	min-width: 34px;
	padding: 6px 10px;
	text-align: center;
	border: 1px solid #ddd;
	border-radius: 3px;
	color: #222;
	text-decoration: none;
	font-size: 13px;
	box-sizing: border-box;
}

a.psw-page-link:hover {
	border-color: #222;
	background: #222;
	color: #fff;
}

.psw-page-current {
	background: #222;
	color: #fff;
	border-color: #222;
	font-weight: 600;
}
