.rm-product-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	direction: rtl;
}

.rm-card {
	background: #fff;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.rm-card-image {
	width: 100%;
	overflow: hidden;
}

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

.rm-card-body {
	padding: 20px 24px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.rm-card-title {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
}

.rm-card-desc {
	margin: 0 0 6px;
	font-size: 14px;
}

.rm-rows {
	display: flex;
	flex-direction: column;
}

.rm-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 0;
	border-top: 1px solid #ececec;
}

.rm-rows .rm-row:first-child {
	border-top: none;
}

.rm-row.rm-loading { opacity: .55; pointer-events: none; }

.rm-row-action { flex-shrink: 0; }

.rm-row-info {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	text-align: right;
}

.rm-row-title { font-size: 14px; }
.rm-row-price { font-weight: 700; font-size: 15px; }
.rm-row-price .amount { font-weight: 700; }

/* Add to cart button */
.rm-btn-add {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: none;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	transition: background-color .15s ease, color .15s ease;
}

.rm-btn-icon { font-size: 16px; line-height: 1; }

/* Disabled state button */
.rm-btn-disabled {
	border: none;
	cursor: not-allowed;
	font-size: 13px;
	font-weight: 600;
	padding: 10px 16px;
	white-space: nowrap;
}

/* Quantity stepper */
.rm-stepper {
	display: flex;
	align-items: center;
	gap: 10px;
}

.rm-stepper button {
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	line-height: 1;
}

.rm-stepper .rm-qty {
	min-width: 18px;
	text-align: center;
	font-weight: 700;
}

.rm-empty { text-align: center; color: #888; padding: 40px 0; }

@media (max-width: 767px) {
	.rm-product-grid { grid-template-columns: 1fr !important; }
}
