/* SouQ product page styles */
body {
	font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, sans-serif;
	background: #0f172a;
	color: #f8fafc;
	margin: 0;
}

.container {
	width: min(1200px, 92%);
	margin: 0 auto;
}

.souq-header {
	background: #1e293b;
	padding: 1rem 0;
	border-bottom: 1px solid #334155;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.site-title {
	color: #38bdf8;
	font-size: 1.5rem;
	font-weight: 700;
	text-decoration: none;
}

.nav-menu {
	display: flex;
	gap: 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-menu a {
	color: #cbd5e1;
	text-decoration: none;
}

.souq-product-page {
	padding: 2rem 0 4rem;
}

.product-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
}

@media (max-width: 768px) {
	.product-grid {
		grid-template-columns: 1fr;
	}
}

.product-gallery .gallery-main {
	background: #1e293b;
	border-radius: 1rem;
	overflow: hidden;
	aspect-ratio: 1;
	display: grid;
	place-items: center;
}

.gallery-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: none;
}

.gallery-image.active {
	display: block;
}

.gallery-thumbs {
	display: flex;
	gap: .5rem;
	margin-top: 1rem;
}

.gallery-thumbs .thumb {
	background: none;
	border: 2px solid transparent;
	border-radius: .5rem;
	padding: 0;
	cursor: pointer;
	width: 70px;
	height: 70px;
	overflow: hidden;
}

.gallery-thumbs .thumb.active,
.gallery-thumbs .thumb:hover {
	border-color: #38bdf8;
}

.gallery-thumbs .thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.product-title {
	font-size: 2rem;
	margin: 0 0 1rem;
}

.product-price {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.current-price {
	color: #22c55e;
	font-size: 1.75rem;
	font-weight: 700;
}

.old-price {
	color: #94a3b8;
	font-size: 1.25rem;
	text-decoration: line-through;
}

.product-attributes {
	margin-bottom: 1.5rem;
}

.attribute-group {
	margin-bottom: 1rem;
}

.attribute-group label {
	display: block;
	margin-bottom: .5rem;
	font-weight: 600;
}

.attribute-options {
	display: flex;
	gap: .5rem;
	flex-wrap: wrap;
}

.attribute-option {
	background: #1e293b;
	border: 1px solid #334155;
	color: #f8fafc;
	padding: .5rem 1rem;
	border-radius: .5rem;
	cursor: pointer;
}

.attribute-option.selected {
	background: #38bdf8;
	border-color: #38bdf8;
	color: #0f172a;
}

.souq-order-form {
	background: #1e293b;
	padding: 1.5rem;
	border-radius: 1rem;
}

.form-row {
	margin-bottom: 1rem;
}

.form-row label {
	display: block;
	margin-bottom: .35rem;
	font-weight: 600;
}

.form-row input,
.form-row select,
.form-row textarea {
	width: 100%;
	padding: .75rem;
	border: 1px solid #334155;
	border-radius: .5rem;
	background: #0f172a;
	color: #f8fafc;
	font-size: 1rem;
	box-sizing: border-box;
}

.quantity-box {
	margin-bottom: 1rem;
}

.quantity-control {
	display: flex;
	align-items: center;
	gap: .5rem;
}

.qty-btn {
	width: 36px;
	height: 36px;
	border: none;
	background: #38bdf8;
	color: #0f172a;
	font-size: 1.25rem;
	border-radius: .5rem;
	cursor: pointer;
}

.quantity-control input {
	width: 60px;
	text-align: center;
	padding: .5rem;
	border-radius: .5rem;
	border: 1px solid #334155;
	background: #0f172a;
	color: #f8fafc;
}

.order-total {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 1.25rem;
	margin: 1.5rem 0;
	padding-top: 1rem;
	border-top: 1px solid #334155;
}

.souq-submit-order {
	width: 100%;
	padding: 1rem;
	background: #22c55e;
	color: #fff;
	border: none;
	border-radius: .75rem;
	font-size: 1.1rem;
	font-weight: 700;
	cursor: pointer;
}

.souq-submit-order:hover {
	background: #16a34a;
}

.souq-order-result {
	margin-top: 1rem;
}

.souq-order-result.success {
	color: #22c55e;
}

.souq-order-result.error {
	color: #ef4444;
}

.souq-whatsapp-btn {
	display: inline-block;
	margin-top: .5rem;
	padding: .75rem 1rem;
	background: #25d366;
	color: #fff;
	border-radius: .5rem;
	text-decoration: none;
	font-weight: 600;
}

.souq-honeypot {
	display: none;
}

.souq-footer {
	background: #1e293b;
	padding: 1.5rem 0;
	border-top: 1px solid #334155;
	text-align: center;
	color: #94a3b8;
}

/* Front page sections */
.souq-hero {
	padding: 5rem 0;
	text-align: center;
	background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

.hero-title {
	font-size: clamp(2rem, 5vw, 3.5rem);
	margin: 0 0 1rem;
	line-height: 1.2;
}

.hero-subtitle {
	font-size: 1.15rem;
	color: #94a3b8;
	max-width: 700px;
	margin: 0 auto 2rem;
}

.souq-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: .875rem 1.75rem;
	border-radius: .75rem;
	font-weight: 700;
	text-decoration: none;
	transition: background .2s, transform .2s;
}

.souq-btn-primary {
	background: #38bdf8;
	color: #0f172a;
}

.souq-btn-primary:hover {
	background: #0ea5e9;
	transform: translateY(-2px);
}

.souq-features {
	padding: 4rem 0;
}

.section-title {
	text-align: center;
	font-size: 2rem;
	margin-bottom: 2rem;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.5rem;
}

.feature-card {
	background: #1e293b;
	padding: 1.5rem;
	border-radius: 1rem;
	border: 1px solid #334155;
}

.feature-icon {
	font-size: 2rem;
	margin-bottom: .75rem;
}

.feature-title {
	margin: 0 0 .5rem;
	font-size: 1.25rem;
}

.feature-desc {
	color: #94a3b8;
	margin: 0;
}

.souq-products-section {
	padding: 4rem 0;
}

.souq-products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.5rem;
}

.product-card {
	background: #1e293b;
	border-radius: 1rem;
	overflow: hidden;
	border: 1px solid #334155;
	transition: transform .2s, border-color .2s;
}

.product-card:hover {
	transform: translateY(-4px);
	border-color: #38bdf8;
}

.product-card-link {
	color: inherit;
	text-decoration: none;
	display: block;
}

.product-card-image-wrap {
	aspect-ratio: 1;
	background: #0f172a;
	overflow: hidden;
}

.product-card-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.product-card-body {
	padding: 1.25rem;
}

.product-card-title {
	font-size: 1.1rem;
	margin: 0 0 .75rem;
}

.product-card-price {
	display: flex;
	align-items: center;
	gap: .75rem;
	margin-bottom: 1rem;
}

.product-card-cta {
	width: 100%;
	padding: .75rem;
	font-size: 1rem;
}

.souq-trust-badges {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	justify-content: center;
	margin: 1.5rem 0;
}

.trust-badge {
	background: #1e293b;
	border: 1px solid #334155;
	padding: .5rem 1rem;
	border-radius: 999px;
	font-size: .875rem;
	color: #cbd5e1;
}

.souq-whatsapp-float {
	position: fixed;
	bottom: 1.5rem;
	left: 1.5rem;
	z-index: 999;
	background: #25d366;
	color: #fff;
	padding: .75rem 1.25rem;
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 4px 12px rgba(0,0,0,.25);
}

.souq-whatsapp-float:hover {
	background: #128c7e;
}

.souq-shop-page,
.souq-main-content,
.souq-page-content,
.souq-single-post,
.souq-search-page,
.souq-error-page {
	padding: 3rem 0;
}

.page-title {
	font-size: 2rem;
	margin-bottom: 1.5rem;
}

.souq-posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 1.5rem;
}

.souq-post-card {
	background: #1e293b;
	border-radius: 1rem;
	overflow: hidden;
	border: 1px solid #334155;
}

.souq-post-card .post-thumbnail img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.souq-post-card .post-body {
	padding: 1.25rem;
}

.souq-post-card .post-title {
	font-size: 1.25rem;
	margin: 0 0 .75rem;
}

.souq-post-card .post-title a {
	color: inherit;
	text-decoration: none;
}

.souq-post-card .post-excerpt {
	color: #94a3b8;
	margin-bottom: 1rem;
}

.souq-read-more {
	color: #38bdf8;
	text-decoration: none;
	font-weight: 600;
}

.souq-no-content,
.souq-no-results {
	text-align: center;
	padding: 3rem 0;
	color: #94a3b8;
}

.souq-entry-content {
	line-height: 1.8;
}

.souq-entry-content img {
	max-width: 100%;
	height: auto;
	border-radius: .75rem;
}
