/* =========================================================
   Recent Products & Trust Reviews - Scoped Styles
   Sab kuch ".rptr-" prefix ke andar hai taaki Woostify
   ya kisi bhi theme ke generic classes (.container, .row,
   .col, .item, .button waghera) se collide na ho.
   ========================================================= */

.rptr-section {
	display: block;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin: 40px 0 0 0;
	padding: 35px 0;
	clear: both;
	float: none;
	font-family: inherit;
	border-top: 1px solid #ececec;
}

.rptr-section * {
	box-sizing: border-box;
}

.rptr-section .rptr-heading {
	font-size: 26px;
	font-weight: 600;
	text-align: center;
	margin: 0 0 25px 0;
	padding: 0;
	color: #222;
	line-height: 1.3;
}

/* ---------------- Recent Products Grid ---------------- */

.rptr-products-section .rptr-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.rptr-products-section .rptr-item {
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 6px;
	padding: 15px;
	text-align: center;
	list-style: none;
	transition: box-shadow .2s ease, transform .2s ease;
}

.rptr-products-section .rptr-item:hover {
	box-shadow: 0 4px 18px rgba(0, 0, 0, .08);
	transform: translateY(-2px);
}

.rptr-products-section .rptr-thumb-link {
	display: block;
	margin-bottom: 12px;
}

.rptr-products-section .rptr-thumb-link img {
	width: 100%;
	height: auto;
	max-width: 100%;
	border-radius: 4px;
	display: block;
	margin: 0 auto;
}

.rptr-products-section .rptr-title {
	font-size: 15px;
	font-weight: 500;
	margin: 0 0 8px 0;
	line-height: 1.4;
}

.rptr-products-section .rptr-title a {
	color: #333;
	text-decoration: none;
}

.rptr-products-section .rptr-title a:hover {
	color: #007cba;
}

.rptr-products-section .rptr-price {
	font-size: 16px;
	font-weight: 600;
	color: #007cba;
	margin-bottom: 12px;
}

.rptr-products-section .rptr-price del {
	color: #999;
	font-weight: 400;
	margin-right: 4px;
}

.rptr-products-section .rptr-price ins {
	text-decoration: none;
}

.rptr-products-section .rptr-btn-wrap a.button,
.rptr-products-section .rptr-btn-wrap a.add_to_cart_button {
	display: inline-block !important;
	background: #222 !important;
	color: #fff !important;
	border: none !important;
	border-radius: 4px !important;
	padding: 10px 18px !important;
	font-size: 13px !important;
	line-height: normal !important;
	text-decoration: none !important;
	box-shadow: none !important;
	cursor: pointer;
	width: auto !important;
	float: none !important;
	transition: background .2s ease;
}

.rptr-products-section .rptr-btn-wrap a.button:hover,
.rptr-products-section .rptr-btn-wrap a.add_to_cart_button:hover {
	background: #007cba !important;
	color: #fff !important;
}

/* ---------------- Trust Reviews Section ---------------- */

.rptr-trust-section .rptr-trust-wrap {
	width: 100%;
	overflow: hidden;
}

/* ---------------- Responsive ---------------- */
/* Note: yeh sirf fallback hai. Asli column counts ab Settings
   page se control hote hain aur har product page par inline
   <style> ke through apply hote hain (jo isse override karta hai). */

@media (max-width: 992px) {
	.rptr-products-section .rptr-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

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

	.rptr-section .rptr-heading {
		font-size: 22px;
	}
}

@media (max-width: 480px) {
	.rptr-products-section .rptr-grid {
		grid-template-columns: repeat(1, 1fr);
		gap: 15px;
	}
}
