.ssd-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 24px;
	margin: 24px 0;
}
.ssd-product-card {
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	transition: box-shadow 0.2s;
}
.ssd-product-card:hover {
	box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.ssd-no-image {
	color: #94a3b8;
	font-size: 14px;
}

.ssd-product-image {
	background: #f8f9fc;
	height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.ssd-product-image img {
	max-width: 100%;
	max-height: 100%;
	object-fit: cover;
}
.ssd-product-info {
	padding: 16px;
}
.ssd-card-link {
	text-decoration: none;
	color: inherit;
	display: block;
}
.ssd-card-link:hover .ssd-product-title {
	color: #4F46E5;
}

.ssd-product-title {
	margin: 0 0 8px 0;
	font-size: 17px;
	font-weight: 600;
}
.ssd-product-desc {
	color: #64748b;
	font-size: 14px;
	margin: 0 0 16px 0;
}
.ssd-product-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.ssd-product-price {
	font-size: 20px;
	font-weight: 700;
	color: #1e293b;
}
.ssd-buy-button {
	display: inline-block;
	padding: 10px 20px;
	background: #4F46E5;
	color: #fff;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	transition: background 0.15s;
	cursor: pointer;
	border: 0;
}
.ssd-buy-button:hover {
	background: #4338ca;
	color: #fff;
}
.ssd-buy-wrap {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 12px 0;
}
.ssd-buy-price {
	font-size: 22px;
	font-weight: 700;
}

/* Detail View */
.ssd-detail {
	max-width: 720px;
	margin: 0 auto;
}
.ssd-back-link {
	display: inline-block;
	margin-bottom: 16px;
	color: #64748b;
	text-decoration: none;
	font-size: 14px;
}
.ssd-back-link:hover { color: #4F46E5; }
.ssd-detail-image {
	margin-bottom: 20px;
	border-radius: 10px;
	overflow: hidden;
}
.ssd-detail-image img {
	max-width: 100%;
	height: auto;
	display: block;
}
.ssd-detail-title {
	margin: 0 0 8px 0;
	font-size: 28px;
}
.ssd-detail-price {
	font-size: 24px;
	font-weight: 700;
	color: #1e293b;
	margin: 0 0 8px 0;
}
.ssd-detail-limit {
	color: #94a3b8;
	font-size: 14px;
	margin: 0 0 20px 0;
}
.ssd-detail-desc {
	margin: 20px 0 24px 0;
	line-height: 1.7;
	font-size: 16px;
}
.ssd-buy-large {
	padding: 14px 32px;
	font-size: 16px;
}
