.products-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(280px, 1fr));
	gap: 20px;
	max-width: 1200px;
}

@media (min-width: 1600px) {
	.products-grid {
		grid-template-columns: repeat(5, minmax(300px, 1fr));
	}
}

@media (max-width: 1200px) {
	.products-grid {
		grid-template-columns: repeat(3, minmax(280px, 1fr));
	}
}

@media (max-width: 768px) {
	.products-grid {
		grid-template-columns: repeat(2, minmax(280px, 1fr));
	}
}

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

.product-card {
	background: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	transition: all 0.2s ease;
	border: 1px solid #e2e8f0;
	position: relative;
}

.product-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.sold-out-badge {
	position: absolute;
	top: 10px;
	right: -30px;
	background: #ef4444;
	color: white;
	padding: 5px 35px;
	font-size: 12px;
	font-weight: 600;
	transform: rotate(45deg);
	z-index: 10;
}

.stock-badge {
	position: absolute;
	top: 10px;
	right: -30px;
	background: #10b981;
	color: white;
	padding: 5px 35px;
	font-size: 12px;
	font-weight: 600;
	transform: rotate(45deg);
	z-index: 10;
}

.card-header {
	padding: 20px 10px;
	text-align: center;
	background: #f8fafc;
	border-bottom: 1px solid #e2e8f0;
}

.card-title {
	font-size: 20px;
	color: #4c1d95;
	font-weight: 600;
}

.card-body {
	padding: 15px;
}

.tags-container {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 10px;
}

.tag {
	padding: 4px 10px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 500;
}

.tag-cn2 {
	background: #e0e7ff;
	color: #3730a3;
}

.tag-ssd {
	background: #dcfce7;
	color: #166534;
}

.tag-new {
	background: #fce7f3;
	color: #9d174d;
}

.tag-popular {
	background: #fef3c7;
	color: #92400e;
}

.specs {
	margin-bottom: 15px;
}

.spec-item {
	display: flex;
	justify-content: space-between;
	padding: 8px 0;
	border-bottom: 1px solid #f1f5f9;
	font-size: 14px;
}

.spec-item:last-child {
	border-bottom: none;
}

.spec-name {
	font-weight: 500;
	color: #475569;
	display: flex;
	align-items: center;
}

.spec-name i {
	margin-right: 8px;
	color: #6366f1;
	width: 16px;
	text-align: center;
	font-size: 14px;
}

.spec-value {
	color: #1e293b;
	font-weight: 500;
}

.warning {
	background-color: #fffbeb;
	border: 1px solid #fde68a;
	padding: 10px;
	margin: 15px 0;
	border-radius: 6px;
	font-size: 12px;
	color: #92400e;
}
		
.ip-info {
	background: #eff6ff;
	padding: 10px;
	border-radius: 6px;
	margin: 12px 0;
	font-size: 14px;
	text-align: center;
	color: #1e40af;
}

.price-container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin: 18px 0;
	gap: 5px;
}

.main-price-row {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
}

.original-price {
	font-size: 15px;
	color: #94a3b8;
	text-decoration: line-through;
}

.discount-price {
	font-size: 24px;
	color: #4c1d95;
	font-weight: 700;
}

.discount-trial {
	font-size: 13px;
	color: #10b981;
}

.price-period {
	font-size: 14px;
	color: #64748b;
}
		
.btn-buy {
	display: block;
	width: 100%;
	padding: 12px;
	background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
	color: white;
	text-align: center;
	border-radius: 7px;
	text-decoration: none;
	font-weight: 600;
	font-size: 15px;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
	box-shadow: 0 4px 8px rgba(79, 70, 229, 0.2);
}

.btn-buy:hover {
	background: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%);
	box-shadow: 0 6px 12px rgba(79, 70, 229, 0.3);
}

.btn-sold-out {
	display: block;
	width: 100%;
	padding: 12px;
	background: #94a3b8;
	color: white;
	text-align: center;
	border-radius: 8px;
	font-weight: 600;
	font-size: 15px;
	border: none;
	cursor: not-allowed;
}

.strong-item {
	font-weight: bolder;
}

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

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