/* =============================================
 * Recommended Products Container
 * ============================================= */
.rp-recommended-products {
	position: relative;
}

/* =============================================
 * Grid Layout
 * ============================================= */
.rp-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
}

/* =============================================
 * Item Card
 * ============================================= */
.rp-item-inner {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	height: 100%;
	overflow: hidden;
	transition: box-shadow 0.2s ease;
}

.rp-item-inner:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* =============================================
 * Product Image
 * ============================================= */
.rp-image {
	display: block;
	width: 100%;
	overflow: hidden;
	flex-shrink: 0;
	position: relative;
}

.rp-image img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center;
	transition: transform 0.3s ease;
}

.rp-item-inner:hover .rp-image img {
	transform: scale(1.05);
}

.rp-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: #f0f0f0;
}

/* =============================================
 * Product Info
 * ============================================= */
.rp-info {
	display: flex;
	flex-direction: column;
	padding: 8px 12px 12px;
	flex: 1;
}

/* =============================================
 * Product Title
 * ============================================= */
.rp-title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 14px;
	line-height: 1.4;
	color: #333;
	margin-bottom: 6px;
}

/* =============================================
 * Price
 * ============================================= */
.rp-price {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin-bottom: 4px;
}

.rp-price-current {
	font-size: 16px;
	font-weight: 700;
	color: #222;
	white-space: nowrap;
	line-height: 1.3;
}

.rp-price-old {
	font-size: 12px;
	color: #999;
	text-decoration: line-through;
	white-space: nowrap;
	line-height: 1.3;
}

/* =============================================
 * Minimum Order Quantity
 * ============================================= */
.rp-moq {
	font-size: 12px;
	color: #999;
	line-height: 1.4;
}

/* =============================================
 * Load More Button
 * ============================================= */
.rp-load-more-wrap {
	display: flex;
	justify-content: center;
	margin-top: 24px;
}

.rp-load-more {
	display: inline-block;
	cursor: pointer;
	border: none;
	font-size: 14px;
	line-height: 1.4;
	transition: opacity 0.2s ease;
}

.rp-load-more:hover {
	opacity: 0.85;
}

.rp-load-more.rp-loading {
	pointer-events: none;
	opacity: 0.6;
}

/* =============================================
 * Scroll Loader
 * ============================================= */
.rp-scroll-loader {
	display: flex;
	justify-content: center;
	padding: 20px 0;
}

.rp-spinner {
	width: 28px;
	height: 28px;
	border: 3px solid #e0e0e0;
	border-top-color: #333;
	border-radius: 50%;
	animation: rp-spin 0.7s linear infinite;
}

@keyframes rp-spin {
	to { transform: rotate(360deg); }
}

/* =============================================
 * No More Text
 * ============================================= */
.rp-no-more {
	text-align: center;
	padding: 16px 0;
	color: #bbb;
	font-size: 13px;
}
