/**
 * Marketplace Product Styles
 * Styles for WooCommerce and Shopify marketplace products
 */

/* ==========================================================================
   Marketplace Badge
   ========================================================================== */

.sp2026-marketplace-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
	padding: 0.25rem 0.75rem;
	background-color: #f5f5f7;
	border-radius: 6px;
	font-size: 0.875rem;
	font-weight: 500;
	color: #1d1d1f;
}

.sp2026-marketplace-icon-small {
	width: 16px;
	height: 16px;
	display: inline-block;
	vertical-align: middle;
}

/* ==========================================================================
   Marketplace Product Cards
   ========================================================================== */

.sp2026-marketplace-card {
	/* Inherits from .sp2026-product-card */
}

.sp2026-marketplace-card .sp2026-product-actions a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.external-link-icon {
	font-size: 0.875em;
	opacity: 0.7;
}

/* ==========================================================================
   Single Marketplace Product Pages
   ========================================================================== */

.sp2026-product-rating {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 0.5rem;
	font-size: 0.9375rem;
}

.rating-stars {
	color: #f5a623;
	font-size: 1rem;
	letter-spacing: 0.1em;
}

.rating-value {
	font-weight: 600;
	color: #1d1d1f;
}

.reviews-count {
	color: #86868b;
	font-size: 0.875rem;
}

/* ==========================================================================
   Product Features
   ========================================================================== */

.sp2026-product-features {
	margin: 3rem 0;
	padding: 2rem 0;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.sp2026-product-features h2 {
	margin-bottom: 1.5rem;
	font-size: 1.75rem;
}

.sp2026-features-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.sp2026-features-list li {
	position: relative;
	padding-left: 1.5rem;
	margin-bottom: 0.75rem;
	line-height: 1.6;
}

.sp2026-features-list li:before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #f5a623;
	font-weight: bold;
	font-size: 1.125rem;
}

/* ==========================================================================
   Product Screenshots
   ========================================================================== */

.sp2026-product-screenshots {
	margin: 3rem 0;
	padding: 2rem 0;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.sp2026-product-screenshots h2 {
	margin-bottom: 1.5rem;
	font-size: 1.75rem;
}

.sp2026-screenshots-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 1.5rem;
	margin-top: 1.5rem;
}

.sp2026-screenshot-item {
	border-radius: 8px;
	overflow: hidden;
	background-color: #f5f5f7;
	border: 1px solid rgba(0, 0, 0, 0.08);
}

.sp2026-screenshot-item img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.3s ease;
}

.sp2026-screenshot-item:hover img {
	transform: scale(1.02);
}

@media (max-width: 768px) {
	.sp2026-screenshots-grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Front Page Marketplace Sections
   ========================================================================== */

.frontpage-shopify .sp2026-download-grid,
.frontpage-woocommerce .sp2026-download-grid {
	margin-top: 2rem;
}

/* Ensure marketplace cards match platform cards styling */
.frontpage-shopify .sp2026-marketplace-card,
.frontpage-woocommerce .sp2026-marketplace-card {
	background-color: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	flex-direction: column;
	height: 100%;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.frontpage-shopify .sp2026-marketplace-card:hover,
.frontpage-woocommerce .sp2026-marketplace-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
	border-color: #f5a623;
}

