/**
 * NexaShop Blog Featured Showcase Widget Styles
 * Matches media_1792242669668_3359e5b9.png
 *
 * @package NexaShop
 * @subpackage ElementorWidgets\Content
 */

/* ==========================================================================
   1. Outer Container & Header Action Bar
   ========================================================================== */
.nexashop-bfs-wrap {
	direction: rtl;
	width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
	font-family: inherit;
	position: relative;
}

.nexashop-bfs-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 24px;
	box-sizing: border-box;
}

.nexashop-bfs-header-title-wrap {
	display: flex;
	align-items: center;
	gap: 8px;
}

.nexashop-bfs-title {
	font-size: 24px;
	font-weight: 900;
	color: #1e293b;
	margin: 0;
	line-height: 1.3;
	letter-spacing: -0.4px;
}

.nexashop-bfs-sparkle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

/* "مشاهده همه" Pill Button */
.nexashop-bfs-all-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 22px;
	background-color: #f3f4f8;
	color: #4f46e5;
	border-radius: 12px;
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	user-select: none;
	border: none;
}

.nexashop-bfs-all-btn:hover {
	background-color: #e0e7ff;
	color: #4338ca;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(79, 70, 229, 0.12);
}


/* ==========================================================================
   2. Main Two-Column Split Layout
   ========================================================================== */
.nexashop-bfs-row {
	display: flex;
	flex-direction: row;
	gap: 24px;
	width: 100%;
	align-items: stretch;
	box-sizing: border-box;
}

.nexashop-bfs-row.is-reversed {
	flex-direction: row-reverse;
}

.nexashop-bfs-col-featured {
	flex: 1 1 52%;
	max-width: 52%;
	box-sizing: border-box;
	display: flex;
}

.nexashop-bfs-col-mini {
	flex: 1 1 48%;
	max-width: 48%;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 14px;
}


/* ==========================================================================
   3. Big Featured Card
   ========================================================================== */
.nexashop-bfs-card-big {
	background-color: #ffffff;
	border: 1px solid #f1f5f9;
	border-radius: 24px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	width: 100%;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	box-sizing: border-box;
}

.nexashop-bfs-card-big:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 38px rgba(0, 0, 0, 0.08);
	border-color: #e2e8f0;
}

/* Big Hero Image */
.nexashop-bfs-big-img-wrap {
	position: relative;
	width: 100%;
	height: 290px;
	overflow: hidden;
	background-color: #f8fafc;
	flex: 1 1 auto;
}

.nexashop-bfs-big-img-wrap a {
	display: block;
	width: 100%;
	height: 100%;
}

.nexashop-bfs-big-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.nexashop-bfs-card-big:hover .nexashop-bfs-big-img {
	transform: scale(1.05);
}

/* White Bottom Content Banner */
.nexashop-bfs-big-content {
	padding: 20px 24px 22px 24px;
	background-color: #ffffff;
	display: flex;
	flex-direction: column;
	gap: 10px;
	box-sizing: border-box;
	margin-top: auto;
}

.nexashop-bfs-big-title-wrap {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
}

.nexashop-bfs-big-title {
	font-size: 16.5px;
	font-weight: 800;
	color: #1e293b;
	margin: 0;
	line-height: 1.5;
	letter-spacing: -0.2px;
}

.nexashop-bfs-big-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.nexashop-bfs-big-title a:hover {
	color: #319795;
}

.nexashop-bfs-single-sparkle {
	display: inline-flex;
	align-items: center;
	line-height: 1;
	flex-shrink: 0;
}

.nexashop-bfs-big-footer {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
}

.nexashop-bfs-big-desc {
	font-size: 13px;
	font-weight: 500;
	color: #94a3b8;
	line-height: 1.75;
	margin: 0;
	flex: 1 1 auto;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}


/* ==========================================================================
   4. 3 Mini Horizontal Cards
   ========================================================================== */
.nexashop-bfs-card-mini {
	background-color: #ffffff;
	border: 1px solid #f1f5f9;
	border-radius: 20px;
	padding: 14px 16px;
	display: flex;
	align-items: center;
	gap: 16px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
	transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
	box-sizing: border-box;
}

.nexashop-bfs-card-mini:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
	border-color: #e2e8f0;
}

/* Thumbnail */
.nexashop-bfs-mini-thumb {
	width: 88px;
	height: 88px;
	border-radius: 14px;
	overflow: hidden;
	flex-shrink: 0;
	background-color: #f8fafc;
	box-sizing: border-box;
}

.nexashop-bfs-mini-thumb a {
	display: block;
	width: 100%;
	height: 100%;
}

.nexashop-bfs-mini-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: inherit;
	transition: transform 0.4s ease;
}

.nexashop-bfs-card-mini:hover .nexashop-bfs-mini-thumb img {
	transform: scale(1.08);
}

/* Middle Content */
.nexashop-bfs-mini-content {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	box-sizing: border-box;
}

.nexashop-bfs-mini-title {
	font-size: 13.5px;
	font-weight: 800;
	color: #1e293b;
	margin: 0;
	line-height: 1.45;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	letter-spacing: -0.2px;
}

.nexashop-bfs-mini-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.nexashop-bfs-mini-title a:hover {
	color: #319795;
}

.nexashop-bfs-mini-desc {
	font-size: 12px;
	font-weight: 500;
	color: #94a3b8;
	line-height: 1.6;
	margin: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Meta: Comments & Date */
.nexashop-bfs-mini-meta {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 11.5px;
	font-weight: 700;
	color: #94a3b8;
	margin-top: 2px;
}

.nexashop-bfs-mini-meta .meta-item {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	line-height: 1;
}

.nexashop-bfs-mini-meta .meta-item svg {
	stroke: #94a3b8;
	display: block;
	flex-shrink: 0;
}


/* ==========================================================================
   5. Teal Arrow Buttons
   ========================================================================== */
.nexashop-bfs-arrow-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	background-color: #319795;
	color: #ffffff;
	border-radius: 8px;
	text-decoration: none;
	flex-shrink: 0;
	transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
	border: none;
	cursor: pointer;
	box-shadow: 0 4px 10px rgba(49, 151, 149, 0.25);
	user-select: none;
}

.nexashop-bfs-arrow-btn:hover {
	background-color: #234e52;
	color: #ffffff;
	transform: scale(1.06);
	box-shadow: 0 6px 14px rgba(49, 151, 149, 0.4);
}

.nexashop-bfs-arrow-btn svg {
	stroke: #ffffff;
	transition: transform 0.2s ease;
}

.nexashop-bfs-arrow-btn:hover svg {
	transform: translateX(-2px);
}


/* ==========================================================================
   6. Responsive Layout (Tablet & Mobile)
   ========================================================================== */
@media (max-width: 1024px) {
	.nexashop-bfs-row {
		flex-direction: column;
		gap: 20px;
	}

	.nexashop-bfs-row.is-reversed {
		flex-direction: column;
	}

	.nexashop-bfs-col-featured,
	.nexashop-bfs-col-mini {
		max-width: 100%;
		flex: 1 1 100%;
		width: 100%;
	}

	.nexashop-bfs-big-img-wrap {
		height: 240px;
	}
}

@media (max-width: 767px) {
	.nexashop-bfs-header {
		margin-bottom: 18px;
	}

	.nexashop-bfs-title {
		font-size: 20px;
	}

	.nexashop-bfs-all-btn {
		font-size: 12px;
		padding: 7px 16px;
	}

	.nexashop-bfs-card-big {
		border-radius: 20px;
	}

	.nexashop-bfs-big-img-wrap {
		height: 190px;
	}

	.nexashop-bfs-big-content {
		padding: 16px 18px;
	}

	.nexashop-bfs-big-title {
		font-size: 14.5px;
	}

	.nexashop-bfs-big-desc {
		font-size: 12px;
	}

	.nexashop-bfs-card-mini {
		padding: 12px 14px;
		border-radius: 16px;
		gap: 12px;
	}

	.nexashop-bfs-mini-thumb {
		width: 72px;
		height: 72px;
		border-radius: 12px;
	}

	.nexashop-bfs-mini-title {
		font-size: 12.5px;
	}

	.nexashop-bfs-mini-desc {
		display: none; /* Hide excerpt on small mobile to keep card ultra clean */
	}

	.nexashop-bfs-mini-meta {
		font-size: 10.5px;
		gap: 10px;
	}

	.nexashop-bfs-arrow-btn {
		width: 28px;
		height: 28px;
		border-radius: 7px;
	}

	.nexashop-bfs-arrow-btn svg {
		width: 13px;
		height: 13px;
	}
}
