.wcbr-grid {
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: 22px;
	direction: rtl;
	margin: 20px 0;
}

.wcbr-grid-cols-1 { grid-template-columns: 1fr; }
.wcbr-grid-cols-2 { grid-template-columns: repeat( 2, 1fr ); }
.wcbr-grid-cols-4 { grid-template-columns: repeat( 4, 1fr ); }

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

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

.wcbr-grid-card {
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 14px;
	box-shadow: 0 2px 10px rgba( 0, 0, 0, 0.05 );
	padding: 18px 18px 22px;
	display: flex;
	flex-direction: column;
	text-align: right;
}

.wcbr-grid-eyebrow {
	font-size: 12.5px;
	font-weight: 700;
	color: #333;
	margin-bottom: 4px;
}

.wcbr-grid-title {
	margin: 0 0 12px;
	font-size: 19px;
	line-height: 1.4;
}

.wcbr-grid-title a {
	color: #1a1a1a;
	text-decoration: none;
}

.wcbr-grid-title a:hover {
	color: #0d8f83;
}

.wcbr-grid-rating {
	margin-bottom: 10px;
}

.wcbr-grid-rating .star-rating {
	font-size: 14px;
	margin: 0;
}

.wcbr-grid-body {
	display: flex;
	flex-direction: row-reverse;
	gap: 14px;
	align-items: flex-start;
}

.wcbr-grid-desc {
	flex: 1;
	font-size: 13.5px;
	line-height: 1.8;
	color: #444;
	margin: 0;
}

.wcbr-grid-cover {
	flex-shrink: 0;
	display: block;
	width: 128px;
}

.wcbr-grid-cover img {
	width: 100%;
	height: auto;
	border-radius: 6px;
	box-shadow: 0 3px 10px rgba( 0, 0, 0, 0.2 );
	display: block;
}

.wcbr-grid-divider {
	border: none;
	border-top: 1px solid #e2e2e2;
	margin: 18px 0 14px;
}

.wcbr-grid-buy-btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #14a798;
	color: #fff;
	border-radius: 999px;
	padding: 12px 22px;
	text-decoration: none;
	font-weight: 700;
	font-size: 15px;
	transition: opacity 0.2s ease;
}

.wcbr-grid-buy-btn:hover {
	opacity: 0.9;
	color: #fff;
}

.wcbr-grid-cta {
	color: #fff;
}

.wcbr-grid-price {
	display: flex;
	align-items: center;
	gap: 8px;
	direction: ltr;
}

.wcbr-grid-old-price {
	color: rgba( 255, 255, 255, 0.75 );
	text-decoration: line-through;
	font-weight: 500;
	font-size: 14px;
}

.wcbr-grid-old-price .woocommerce-Price-amount {
	color: inherit;
}

.wcbr-grid-new-price {
	color: #fff;
	font-weight: 800;
	font-size: 17px;
}

.wcbr-grid-new-price .woocommerce-Price-amount {
	color: inherit;
}

.wcbr-grid-more-link {
	display: block;
	text-align: center;
	margin-top: 10px;
	padding: 9px 14px;
	border-radius: 999px;
	border: 1.5px solid #14a798;
	background: transparent;
	color: #14a798;
	font-weight: 700;
	font-size: 13.5px;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.wcbr-grid-more-link:hover {
	background: rgba( 20, 167, 152, 0.08 );
}
