/* Souq Aarsal v4.5 — Visual homepage sections + header polish */

/* ── Category cards with photos ── */
.souq-category-grid--visual {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.souq-category-card--visual {
	padding: 0;
	overflow: hidden;
	text-align: start;
	border-radius: 18px;
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.08);
	box-shadow: 0 8px 28px rgba(15, 23, 42, 0.07);
}

.souq-category-card--visual .souq-category-card__visual {
	width: 100%;
	height: 140px;
	min-width: 0;
	border-radius: 0;
	background: linear-gradient(180deg, #f8fafc, #fff);
	overflow: hidden;
}

.souq-category-card__img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #f8fafc;
	transition: transform 0.35s ease;
}

.souq-category-card--visual:hover .souq-category-card__img {
	transform: scale(1.06);
}

.souq-category-card--visual .souq-category-card__name {
	display: block;
	padding: 0.85rem 1rem 0.25rem;
	font-size: 0.9rem;
	font-weight: 800;
	color: #0c1222;
}

.souq-category-card--visual .souq-category-card__cta {
	display: block;
	padding: 0 1rem 1rem;
	margin-inline-start: 0;
	font-size: 0.78rem;
	color: #10b981;
	font-weight: 700;
}

/* ── Promo banners with images ── */
.souq-promo-card--visual {
	display: grid;
	grid-template-columns: 110px 1fr;
	align-items: center;
	gap: 0.85rem;
	padding: 0.85rem 1rem;
	min-height: 110px;
	border-radius: 18px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.souq-promo-card--visual:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.souq-promo-card__media {
	width: 110px;
	height: 88px;
	border-radius: 14px;
	overflow: hidden;
	flex-shrink: 0;
	background: rgba(255, 255, 255, 0.5);
}

.souq-promo-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.souq-promo-card--green {
	background: linear-gradient(135deg, #ecfdf5, #d1fae5);
	border: 1px solid rgba(16, 185, 129, 0.2);
}

.souq-promo-card--orange {
	background: linear-gradient(135deg, #fff7ed, #ffedd5);
	border: 1px solid rgba(245, 158, 11, 0.25);
}

.souq-promo-card--purple {
	background: linear-gradient(135deg, #f5f3ff, #ede9fe);
	border: 1px solid rgba(139, 92, 246, 0.2);
}

.souq-promo-card__label {
	display: block;
	font-size: 0.72rem;
	font-weight: 700;
	color: #64748b;
	margin-bottom: 0.25rem;
}

.souq-promo-card__text strong {
	font-size: 1rem;
	color: #0c1222;
	line-height: 1.4;
}

/* ── Delivery CTA visuals ── */
.souq-promo-card__img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #fff;
}

.souq-delivery-cta__icon {
	font-size: 2rem;
	line-height: 1;
	margin-bottom: 0.65rem;
}

.souq-delivery-cta__media {
	display: none;
}

.souq-delivery-cta .btn--whatsapp {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	margin-top: 0.75rem;
}

.souq-delivery-cta__item {
	background: #fff;
	border-radius: 18px;
	padding: 1.35rem 1.15rem;
	text-align: center;
	border: 1px solid rgba(15, 23, 42, 0.08);
	box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
}

.souq-delivery-cta__item--whatsapp {
	background: linear-gradient(180deg, #f0fdf4, #fff);
	border-color: rgba(37, 211, 102, 0.2);
}

/* ── Product card image polish ── */
.souq-placeholder-thumb,
.souq-product-card__image-link img {
	background: #f8fafc;
	border-radius: 12px;
}

.souq-badge--pct {
	background: linear-gradient(135deg, #f59e0b, #ef4444);
	color: #fff;
}

/* ── Header app-style polish ── */
.sa-header__main {
	padding: 0.55rem 0;
}

.sa-header__main-inner {
	align-items: center;
	min-height: 56px;
}

.sa-header__actions {
	align-items: center;
	gap: 0.5rem;
}

.sa-header__wa {
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: #ecfdf5;
	color: #059669;
	border: 1px solid rgba(16, 185, 129, 0.2);
	transition: background 0.2s ease;
}

.sa-header__wa:hover {
	background: #10b981;
	color: #fff;
}

.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a {
	color: #059669;
	background: #ecfdf5;
	font-weight: 800;
}

@media (max-width: 768px) {
	.souq-category-grid--visual {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.souq-category-card--visual .souq-category-card__visual {
		height: 110px;
	}

	.souq-promo-row__grid {
		grid-template-columns: 1fr;
	}

	.souq-promo-card--visual {
		grid-template-columns: 88px 1fr;
		min-height: 96px;
	}

	.souq-promo-card__media {
		width: 88px;
		height: 72px;
	}
}

@media (max-width: 480px) {
	.souq-category-grid--visual {
		grid-template-columns: 1fr 1fr;
		gap: 0.65rem;
	}
}
