.badge-best-seller,
.badge-featured,
.badge-membership,
.badge-new,
.badge-trending,
.badge-hot-deal,
.badge-top-rated {
	color: #fff;
}

.badge-best-seller { background: #ff6b35; }
.badge-featured { background: #2563eb; }
.badge-membership { background: #16a34a; }
.badge-new { background: #7c3aed; }
.badge-trending { background: #f59e0b; }
.badge-hot-deal { background: #dc2626; }
.badge-top-rated { background: #0f766e; }

.gplmart-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.badge-small {
	font-size: 11px;
	padding: 5px 10px;
}

.badge-medium {
	font-size: 13px;
	padding: 7px 14px;
}

.badge-large {
	font-size: 15px;
	padding: 10px 18px;
}

.badge-icon {
	line-height: 1;
}

.preset-soft {
	box-shadow: none;
	border: 1px solid rgba(255,255,255,.25);
	opacity: .92;
}

.preset-glass {
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255,255,255,.25);
	box-shadow: 0 8px 24px rgba(0,0,0,.15);
}

.preset-gradient {
	background-image: linear-gradient(
		135deg,
		rgba(255,255,255,.18),
		rgba(255,255,255,0)
	);
}

/*==================================
GPLMart Rating Stars
==================================*/

.gplmart-stars {
	display: flex;
	align-items: center;
	gap: 2px;
	line-height: 1;
	font-size: 18px;
}

.gplmart-stars span {
	position: relative;
	display: inline-block;
	font-size: inherit;
	width: 1em;
	height: 1em;
	line-height: 1;
}

.gplmart-stars .filled {
	color: #f59e0b;
}

.gplmart-stars .empty,
.gplmart-stars .half {
	color: #d1d5db;
}

.gplmart-stars .half::before {
	content: "★";
	position: absolute;
	left: 0;
	top: 0;
	width: 50%;
	overflow: hidden;
	color: #f59e0b;
}

/*==================================
GPLMart Downloads Widget
==================================*/

.gplmart-downloads-widget {
	display: flex;
	align-items: center;
	gap: 6px;
	line-height: 1.2;
}

.gplmart-download-icon {
	font-size: 1em;
}

.gplmart-download-number {
	font-weight: 600;
}

.gplmart-download-label {
	font-size: .92em;
	line-height: 1;
}

/*=====================================================
GPLMart Product Meta Widget
=====================================================*/

.gplmart-product-meta {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	gap: 24px;
}

.gplmart-meta-separator {
	width: 100%;
	height: 1px;
	background: #eef2f7;
}

.gplmart-meta-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 8px 18px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	background: #fff4eb;
	color: #ea580c;
}

/*=====================================================
Rating Zone v2
=====================================================*/

.gplmart-meta-rating {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	width: 100%;
	padding: 8px 0;
}

.gplmart-rating-stars {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 3px;
	margin-bottom: 14px;
	font-size: 20px;
	line-height: 1;
}

.gplmart-rating-score {
	font-size: 52px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -1px;
	color: #111827;
	margin-bottom: 10px;
}

.gplmart-rating-members {
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	color: #6b7280;
}

/*=====================================================
Separate Rating Widget
Elementor align start/center/end ko preserve karne ke liye
=====================================================*/

.gplmart-rating-widget {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-wrap: nowrap;
	width: auto;
	max-width: 100%;
}

/* Important:
justify-content yahan intentionally nahi diya gaya
taaki Elementor ka alignment control kaam kare */

.gplmart-rating-widget .gplmart-stars {
	display: flex;
	align-items: center;
	gap: 2px;
	font-size: 18px;
	line-height: 1;
	margin: 0;
	flex: 0 0 auto;
}

.gplmart-rating-widget .gplmart-rating-number {
	display: inline-block;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	color: #6b7280;
	margin: 0;
	white-space: nowrap;
	flex: 0 0 auto;
}

.gplmart-rating-widget .gplmart-rating-reviews {
	font-size: 14px;
	color: #6b7280;
	line-height: 1;
	white-space: nowrap;
}

.gplmart-rating-widget.hide-reviews .gplmart-rating-reviews {
	display: none;
}

.gplmart-rating-widget.only-stars-number {
	gap: 6px;
}

/*=====================================================
Downloads + Version
=====================================================*/

.gplmart-meta-row {
	display: flex;
	align-items: stretch;
	width: 100%;
	gap: 24px;
}

.gplmart-meta-downloads,
.gplmart-meta-version {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 8px;
}

.gplmart-meta-divider {
	width: 1px;
	background: #e5e7eb;
}

.gplmart-meta-icon {
	font-size: 24px;
	line-height: 1;
}

.gplmart-meta-number {
	font-size: 28px;
	font-weight: 700;
	line-height: 1;
	color: #111827;
}

.gplmart-meta-label {
	font-size: 14px;
	line-height: 1.3;
	color: #6b7280;
}

.gplmart-meta-type {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 8px 20px;
	border-radius: 999px;
	background: #edfdf3;
	color: #16a34a;
	font-weight: 600;
}

/*=====================================================
Layouts
=====================================================*/

.gplmart-product-meta.layout-inline {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 16px;
}

.gplmart-product-meta.layout-vertical {
	align-items: flex-start;
}

.gplmart-product-meta.layout-chips {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 10px;
}

.gplmart-product-meta.layout-chips > * {
	padding: 8px 14px;
	border: 1px solid #e5e7eb;
	border-radius: 999px;
	background: #fff;
}

/*=====================================================
Responsive
=====================================================*/

@media (max-width: 767px) {
	.gplmart-meta-row {
		flex-direction: column;
		gap: 20px;
	}

	.gplmart-meta-divider {
		display: none;
	}

	.gplmart-rating-score {
		font-size: 28px;
	}

	.gplmart-meta-number {
		font-size: 24px;
	}

	.gplmart-rating-widget {
		gap: 6px;
	}

	.gplmart-rating-widget .gplmart-stars {
		font-size: 16px;
	}

	.gplmart-rating-widget .gplmart-rating-number {
		font-size: 14px;
	}

	.gplmart-rating-widget .gplmart-rating-reviews {
		font-size: 13px;
	}
}

/*====================================================
GPLMart Product Top Bar
====================================================*/

.gplmart-topbar {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: wrap;
	width: 100%;
	padding: 16px 24px;
	background: #f8fff8;
	border: 1px solid #d7ead7;
	border-radius: 14px;
	gap: 0;
}

.gplmart-topbar-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 0 18px;
	min-height: 42px;
	flex-shrink: 0;
}

.gplmart-topbar-divider {
	width: 1px;
	height: 26px;
	background: #dfe6df;
	flex-shrink: 0;
}

.gplmart-topbar-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	color: #16a34a;
	font-size: 18px;
	line-height: 1;
	flex-shrink: 0;
	background: none;
	border-radius: 0;
}

/*====================================================
Rating
====================================================*/

.gplmart-topbar-rating {
	display: flex;
	align-items: center;
	gap: 10px;
}

.gplmart-topbar-rating .gplmart-topbar-icon {
	display: flex;
	align-items: center;
	width: auto;
	height: auto;
}

/* IMPORTANT
Half star CSS ko override nahi karna hai */

.gplmart-topbar-rating .gplmart-stars {
	display: flex;
	align-items: center;
	gap: 2px;
	font-size: 18px;
	line-height: 1;
	margin: 0;
	flex-shrink: 0;
}

.gplmart-topbar-rating .gplmart-topbar-content {
	display: flex;
	align-items: center;
	flex-direction: row;
	gap: 8px;
}

.gplmart-topbar-rating .gplmart-topbar-label {
	display: none;
}

.gplmart-topbar-rating .gplmart-topbar-value {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	color: #111827;
}

.gplmart-topbar-rating .gplmart-topbar-value span {
	font-size: 15px;
	font-weight: 500;
	color: #16a34a;
}

/*====================================================
Common Content
====================================================*/

.gplmart-topbar-content {
	display: flex;
	align-items: center;
	flex-direction: row;
	gap: 6px;
}

/*====================================================
Labels
====================================================*/

.gplmart-topbar-label {
	font-size: 14px;
	font-weight: 500;
	color: #6b7280;
	line-height: 1;
	margin: 0;
	text-transform: none;
	white-space: nowrap;
}

/*====================================================
Values
====================================================*/

.gplmart-topbar-value {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	color: #111827;
	white-space: nowrap;
}

/*====================================================
Updated + Version
====================================================*/

.gplmart-topbar-updated .gplmart-topbar-value,
.gplmart-topbar-version .gplmart-topbar-value {
	display: inline-flex;
	align-items: center;
	padding: 4px 12px;
	background: #16a34a;
	color: #fff;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
}

/*====================================================
Downloads
====================================================*/

.gplmart-topbar-downloads .gplmart-topbar-value {
	font-size: 18px;
}

.gplmart-topbar-downloads .gplmart-topbar-label {
	color: #6b7280;
}

/*====================================================
Product Type
====================================================*/

.gplmart-topbar-type .gplmart-topbar-label {
	display: none;
}

.gplmart-topbar-type .gplmart-topbar-value {
	font-size: 16px;
	font-weight: 700;
}

/*====================================================
Responsive
====================================================*/

@media (max-width: 991px) {
	.gplmart-topbar {
		gap: 12px;
		padding: 16px;
	}

	.gplmart-topbar-divider {
		display: none;
	}

	.gplmart-topbar-item {
		padding: 0;
	}
}

@media (max-width: 767px) {
	.gplmart-topbar {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.gplmart-topbar-item {
		width: 100%;
	}
}

.gplmart-svg-icon {
	width: 20px;
	height: 20px;
	display: block;
	color: inherit;
	flex-shrink: 0;
}