/**
 * نِکست‌شاپ — استایل اصلی
 */

:root {
	--ns-primary: #2563eb;
	--ns-primary-dark: #1d4ed8;
	--ns-secondary: #6b7280;
	--ns-text: #1f2937;
	--ns-accent: var(--ns-primary);
	--ns-accent-dark: #d63141;
	--ns-muted: #6b7280;
	--ns-border: #e5e7eb;
	--ns-bg: #f9fafb;
	--ns-body-bg: #ffffff;
	--ns-surface: #ffffff;
	--ns-input-bg: #f1f2f4;
	--ns-input-bg-focus: #ffffff;
	--ns-menu-text: #62666d;
	--ns-menu-hover-bg: #f9fafb;
	--ns-container-width: 1200px;
	--ns-radius: 10px;
	--ns-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

* {
	box-sizing: border-box;
}

body.nextshop-body {
	margin: 0;
	font-family: var(--nextshop-font-family, Vazirmatn, Tahoma, sans-serif);
	color: var(--ns-text);
	background: var(--ns-body-bg);
	line-height: 1.7;
}

.nextshop-container {
	max-width: var(--ns-container-width);
	margin: 0 auto;
	padding: 0 1rem;
}

.nextshop-site-header {
	border-bottom: 1px solid var(--ns-border);
	background: var(--ns-surface);
	z-index: 100;
}

body.nextshop-header-blur .nextshop-site-header,
body.nextshop-header-blur .nextshop-che-location--header {
	--ns-header-blur: 4px;
	--ns-header-bg-alpha: 94%;
	--ns-header-overlay: 0.02;
	isolation: isolate;
	background: color-mix(in srgb, var(--ns-surface) var(--ns-header-bg-alpha), transparent);
	backdrop-filter: blur(var(--ns-header-blur));
	-webkit-backdrop-filter: blur(var(--ns-header-blur));
	will-change: backdrop-filter, background;
}

body.nextshop-header-blur .nextshop-site-header:not(.is-fixed),
body.nextshop-header-blur .nextshop-che-location--header:not(.is-fixed) {
	position: relative;
}

body.nextshop-header-blur .nextshop-site-header.is-header-blurred,
body.nextshop-header-blur .nextshop-che-location--header.is-header-blurred {
	border-bottom-color: color-mix(in srgb, var(--ns-border) 70%, transparent);
}

body.nextshop-header-blur .nextshop-site-header::before,
body.nextshop-header-blur .nextshop-che-location--header::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background: rgba(0, 0, 0, var(--ns-header-overlay));
}

.nextshop-header-sticky-target.is-fixed {
	position: fixed;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 1000;
}

.nextshop-header-sticky-placeholder {
	display: block;
	height: 0;
	pointer-events: none;
}

/* Header Top Row */
.nextshop-header-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 0;
	gap: 2rem;
}

/* Logo */
.nextshop-branding {
	flex-shrink: 0;
}
.nextshop-branding img {
	max-height: 40px;
	width: auto;
}
.nextshop-site-title {
	font-size: 1.6rem;
	font-weight: 800;
	color: var(--ns-primary);
	text-decoration: none;
}

/* Search Bar */
.nextshop-header-search {
	flex: 1;
	max-width: 600px;
	position: relative;
}
.nextshop-search-form {
	display: flex;
	align-items: center;
	background: var(--ns-input-bg);
	border-radius: 12px;
	padding: 0 15px;
	height: 50px;
	border: 1px solid transparent;
	transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.nextshop-header-search.is-open .nextshop-search-form,
.nextshop-search-form:focus-within {
	background: var(--ns-input-bg-focus);
	border-color: var(--ns-border);
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}
.nextshop-search-form .search-icon {
	color: #a1a3a8;
	font-size: 20px;
	margin-left: 10px;
}
.nextshop-search-form input[type="search"] {
	flex: 1;
	border: none;
	background: transparent;
	font-family: inherit;
	font-size: 0.95rem;
	color: var(--ns-text);
	outline: none;
}

.nextshop-search-suggestions {
	display: none;
	position: absolute;
	top: calc(100% + 12px);
	left: 0;
	right: 0;
	z-index: 1000;
	padding: 0.75rem;
	background: var(--ns-surface);
	border: 1px solid var(--ns-border);
	border-radius: 20px;
	box-shadow: var(--ns-shadow);
	max-height: 420px;
	overflow: hidden;
}

.nextshop-header-search.is-open .nextshop-search-suggestions {
	display: block;
}

.nextshop-search-suggestions-list {
	max-height: 300px;
	overflow-y: auto;
	padding-inline-end: 0.2rem;
}

.nextshop-search-suggestion-item {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	gap: 0.85rem;
	align-items: center;
	padding: 0.8rem 0.75rem;
	border-radius: 16px;
	text-decoration: none;
	color: #111827;
	transition: background 0.2s, transform 0.2s;
}
.nextshop-search-suggestion-item:hover {
	background: #f9fafb;
	transform: translateX(-2px);
}

.nextshop-search-suggestion-thumb {
	width: 56px;
	height: 56px;
	border-radius: 12px;
	object-fit: cover;
	background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
	border: 1px solid #e5e7eb;
}

.nextshop-search-suggestion-meta {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	min-width: 0;
}

.nextshop-search-suggestion-title {
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1.5;
	color: #111827;
}

.nextshop-search-suggestion-price {
	font-size: 0.9rem;
	color: var(--ns-primary);
	font-weight: 800;
}

.nextshop-search-suggestions-empty {
	display: none;
	padding: 1rem 0.75rem;
	color: #6b7280;
	font-size: 0.95rem;
	text-align: center;
}

.nextshop-search-suggestions-loading {
	display: none;
	padding: 1.2rem 0.75rem;
	text-align: center;
	color: #6b7280;
	font-size: 0.95rem;
}

.nextshop-search-suggestions-loading span {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
}

.nextshop-search-suggestions-loading-icon {
	width: 16px;
	height: 16px;
	border: 2px solid #e5e7eb;
	border-top-color: var(--ns-primary);
	border-radius: 999px;
	animation: nextshop-search-spin 0.8s linear infinite;
}

.nextshop-search-suggestions-more {
	display: none;
	margin-top: 0.75rem;
	padding: 0.85rem 1rem;
	border-radius: 14px;
	background: #111827;
	color: #fff;
	text-align: center;
	text-decoration: none;
	font-weight: 800;
	font-size: 0.92rem;
}

.nextshop-search-suggestions-more:hover {
	background: #1f2937;
}

@keyframes nextshop-search-spin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

/* Header Actions */
.nextshop-header-actions {
	display: flex;
	align-items: center;
	gap: 15px;
	position: relative;
}

.nextshop-account-wrapper {
	position: relative;
}

.nextshop-action-btn {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #3f4064;
	text-decoration: none;
	padding: 8px 12px;
	border-radius: 8px;
	border: 1px solid #e0e0e2;
	transition: all 0.2s;
	font-size: 0.9rem;
	background: #fff;
	cursor: pointer;
	font-family: inherit;
}
.nextshop-action-btn:hover {
	background: #f1f2f4;
}
.nextshop-action-btn .dashicons {
	font-size: 22px;
	width: 22px;
	height: 22px;
}

.nextshop-account-btn {
	background: #fff;
}

.nextshop-account-btn--guest {
	text-decoration: none;
	color: inherit;
}

.nextshop-account-wrapper--guest .nextshop-account-btn:hover {
	color: var(--ns-primary);
}

.nextshop-account-btn .arrow-icon {
	font-size: 14px;
	width: 14px;
	color: #a1a3a8;
}

.nextshop-account-dropdown {
	display: none;
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	z-index: 1000;
	min-width: 240px;
	padding: 0.5rem;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 18px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.nextshop-account-wrapper.is-open .nextshop-account-dropdown {
	display: block;
}

.nextshop-account-dropdown-link {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.85rem 0.95rem;
	border-radius: 14px;
	color: #1f2937;
	text-decoration: none;
	font-size: 0.95rem;
	transition: all 0.2s ease;
}
.nextshop-account-dropdown-link:hover {
	background: #f3f4f6;
	color: var(--ns-primary);
}
.nextshop-account-dropdown-link .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
	color: #6b7280;
}
.nextshop-account-dropdown-link:hover .dashicons {
	color: var(--ns-primary);
}
.nextshop-account-dropdown-link--danger {
	color: #b42318;
}
.nextshop-account-dropdown-link--danger .dashicons {
	color: #b42318;
}

.nextshop-action-divider {
	width: 1px;
	height: 24px;
	background: #e0e0e2;
}

.nextshop-cart-wrapper {
	position: relative;
}

.nextshop-header-cart {
	position: relative;
	border: none;
	padding: 8px;
}
.nextshop-cart-count {
	position: absolute;
	bottom: -4px;
	right: -4px;
	background: var(--ns-primary);
	color: #fff;
	font-size: 0.75rem;
	font-weight: bold;
	padding: 2px 6px;
	border-radius: 6px;
	line-height: 1;
}

.nextshop-cart-dropdown {
	display: none;
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	z-index: 1001;
	width: min(380px, calc(100vw - 2rem));
	padding: 0;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
	max-height: min(500px, calc(100vh - 120px));
	overflow: hidden;
	flex-direction: column;
}

.nextshop-cart-wrapper.is-open .nextshop-cart-dropdown {
	display: flex;
}

/* Header notifications */
.nextshop-notifications-wrapper {
	position: relative;
}

.nextshop-notifications-btn {
	position: relative;
	border: 1px solid #e0e0e2;
	padding: 8px 12px;
}

.nextshop-notifications-badge {
	position: absolute;
	top: -4px;
	left: -4px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	background: var(--ns-primary);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 800;
	border-radius: 999px;
	line-height: 18px;
	text-align: center;
}

.nextshop-notifications-badge[hidden] {
	display: none !important;
}

.nextshop-notifications-dropdown {
	display: none;
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	z-index: 1001;
	width: min(380px, calc(100vw - 2rem));
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 20px;
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
	max-height: 72vh;
	overflow: hidden;
}

.nextshop-notifications-wrapper.is-open .nextshop-notifications-dropdown {
	display: block;
}

.nextshop-notifications-dropdown-header {
	padding: 1rem 1.1rem;
	border-bottom: 1px solid #e5e7eb;
	background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
}

.nextshop-notifications-dropdown-header h2 {
	margin: 0;
	font-size: 1rem;
	font-weight: 800;
	color: #111827;
}

.nextshop-notifications-dropdown-body {
	padding: 0.5rem 0;
	max-height: calc(72vh - 56px);
	overflow-y: auto;
}

.nextshop-notifications-empty {
	margin: 1rem 1.1rem;
	color: #6b7280;
	font-size: 0.9rem;
	text-align: center;
}

.nextshop-notifications-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nextshop-notifications-list--dropdown .nextshop-notification-item {
	padding: 0.85rem 1.1rem;
	border-bottom: 1px solid #f3f4f6;
}

.nextshop-notifications-list--dropdown .nextshop-notification-item:last-child {
	border-bottom: 0;
}

.nextshop-notification-item.is-unread {
	background: #fff5f6;
}

.nextshop-notification-item__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.35rem;
}

.nextshop-notification-item__title {
	font-size: 0.92rem;
	font-weight: 800;
	color: #111827;
	line-height: 1.4;
}

.nextshop-notification-item__date {
	flex-shrink: 0;
	font-size: 0.75rem;
	color: #9ca3af;
	white-space: nowrap;
}

.nextshop-notification-item__body {
	font-size: 0.85rem;
	color: #4b5563;
	line-height: 1.55;
}

.nextshop-notification-item__body p {
	margin: 0 0 0.35rem;
}

.nextshop-notification-item__body p:last-child {
	margin-bottom: 0;
}

.nextshop-cart-dropdown-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	flex-shrink: 0;
	padding: 0.75rem 1rem;
	border-bottom: 1px solid #e5e7eb;
	background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
}

.nextshop-cart-dropdown-header h2 {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 800;
	color: #111827;
}

.nextshop-cart-dropdown-header span {
	display: inline-flex;
	margin: 0;
	padding: 0.15rem 0.6rem;
	border-radius: 999px;
	background: #f3f4f6;
	color: #6b7280;
	font-size: 0.75rem;
	font-weight: 600;
}

.nextshop-cart-dropdown-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 0;
	padding: 0;
	overflow: hidden;
}

.nextshop-cart-dropdown-body .widget_shopping_cart_content {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 0;
	overflow: hidden;
}

.nextshop-cart-dropdown .woocommerce-mini-cart {
	list-style: none;
	margin: 0;
	padding: 0.25rem 0.85rem;
	flex: 1;
	min-height: 0;
	max-height: 300px;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: #d1d5db transparent;
}

.nextshop-cart-dropdown .woocommerce-mini-cart::-webkit-scrollbar {
	width: 6px;
}

.nextshop-cart-dropdown .woocommerce-mini-cart::-webkit-scrollbar-thumb {
	background: #d1d5db;
	border-radius: 999px;
}

.nextshop-cart-dropdown .woocommerce-mini-cart-item {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	grid-template-areas:
		"remove product"
		"remove qty";
	column-gap: 0.5rem;
	row-gap: 0.15rem;
	align-items: center;
	padding: 0.55rem 0;
	border-bottom: 1px dashed #eef2f7;
}

.nextshop-cart-dropdown .woocommerce-mini-cart-item:last-child {
	border-bottom: 0;
}

.nextshop-cart-dropdown .woocommerce-mini-cart-item a.remove {
	grid-area: remove;
	align-self: center;
	justify-self: center;
	width: 22px;
	height: 22px;
	border-radius: 999px;
	background: #fee2e2;
	color: #b91c1c !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	font-size: 0.95rem;
	line-height: 1;
	transition: background 0.2s, color 0.2s, transform 0.15s;
}

.nextshop-cart-dropdown .woocommerce-mini-cart-item a.remove:hover {
	background: #fecaca;
	transform: scale(1.08);
}

.nextshop-cart-dropdown .woocommerce-mini-cart-item a:not(.remove) {
	grid-area: product;
	display: flex;
	align-items: center;
	gap: 0.6rem;
	min-width: 0;
	color: #111827;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.83rem;
	line-height: 1.4;
}

.nextshop-cart-dropdown .woocommerce-mini-cart-item a:not(.remove):hover {
	color: var(--ns-primary);
}

.nextshop-cart-dropdown .woocommerce-mini-cart-item a:not(.remove) img {
	flex-shrink: 0;
	display: block;
	width: 44px;
	height: 44px;
	object-fit: cover;
	border-radius: 8px;
	border: 1px solid #e5e7eb;
	background: #f9fafb;
}

.nextshop-cart-dropdown .woocommerce-mini-cart-item .quantity {
	grid-area: qty;
	display: flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0;
	padding-inline-start: 54px;
	color: #6b7280;
	font-size: 0.78rem;
	line-height: 1.3;
}

.nextshop-cart-dropdown .woocommerce-mini-cart-item .quantity .woocommerce-Price-amount {
	color: #111827;
	font-weight: 700;
}

.nextshop-cart-dropdown .woocommerce-mini-cart-item dl.variation {
	grid-column: product / -1;
	margin: 0.2rem 0 0;
	padding-inline-start: 54px;
	font-size: 0.72rem;
	color: #6b7280;
	line-height: 1.4;
}

.nextshop-cart-dropdown .woocommerce-mini-cart-item dl.variation dt,
.nextshop-cart-dropdown .woocommerce-mini-cart-item dl.variation dd {
	display: inline;
	margin: 0;
	padding: 0;
}

.nextshop-cart-dropdown .woocommerce-mini-cart-item dl.variation dt {
	font-weight: 600;
}

.nextshop-cart-dropdown .woocommerce-mini-cart-item dl.variation dt::after {
	content: ":\00a0";
}

.nextshop-cart-dropdown .woocommerce-mini-cart-item dl.variation dd::after {
	content: " ";
	white-space: pre;
}

.nextshop-cart-dropdown .woocommerce-mini-cart__total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-shrink: 0;
	margin: 0;
	padding: 0.7rem 1rem;
	border-top: 1px solid #e5e7eb;
	background: #fafafa;
	font-size: 0.88rem;
	color: #111827;
}

.nextshop-cart-dropdown .woocommerce-mini-cart__total strong {
	font-weight: 800;
}

.nextshop-cart-dropdown .woocommerce-mini-cart__total .woocommerce-Price-amount {
	font-weight: 800;
	font-size: 0.95rem;
	color: var(--ns-primary);
}

.nextshop-cart-dropdown .woocommerce-mini-cart__buttons {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.5rem;
	flex-shrink: 0;
	margin: 0;
	padding: 0.65rem 0.85rem 0.85rem;
	background: #fff;
}

.nextshop-cart-dropdown .woocommerce-mini-cart__buttons a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.65rem 0.85rem;
	border-radius: 12px;
	text-decoration: none;
	font-weight: 800;
	font-size: 0.85rem;
	transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.nextshop-cart-dropdown .woocommerce-mini-cart__buttons a:hover {
	transform: translateY(-1px);
}

.nextshop-cart-dropdown .woocommerce-mini-cart__buttons .wc-forward {
	background: #111827;
	color: #fff;
	box-shadow: 0 12px 24px rgba(17, 24, 39, 0.16);
}

.nextshop-cart-dropdown .woocommerce-mini-cart__buttons .checkout {
	background: linear-gradient(135deg, var(--ns-primary) 0%, #fb7185 100%);
	color: #fff;
	box-shadow: 0 12px 24px rgba(239, 57, 78, 0.22);
}

.nextshop-cart-dropdown .woocommerce-mini-cart__empty-message {
	margin: 0;
	padding: 1.5rem 1rem;
	text-align: center;
	color: #6b7280;
	font-size: 0.9rem;
	background: #fafafa;
}

.nextshop-cart-dropdown-body:has(.woocommerce-mini-cart__empty-message) .woocommerce-mini-cart {
	max-height: none;
	overflow: visible;
	padding: 0;
}

.nextshop-cart-empty {
	padding: 1.5rem;
	text-align: center;
	color: #6b7280;
}

/* Header Bottom Row (Menu) */
.nextshop-header-bottom {
	padding-bottom: 0.5rem;
}

.nextshop-menu {
	display: flex;
	gap: 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.nextshop-menu a {
	text-decoration: none;
	color: var(--ns-menu-text);
	font-weight: 500;
	font-size: 0.95rem;
	position: relative;
	padding-bottom: 8px;
}
.nextshop-menu a:hover {
	color: var(--ns-primary);
}
.nextshop-menu a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--ns-primary);
	transition: width 0.3s;
}
.nextshop-menu a:hover::after {
	width: 100%;
}

.nextshop-menu li {
	position: relative;
}

.nextshop-menu .sub-menu {
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 240px;
	padding: 0.35rem;
	margin: 0;
	list-style: none;
	background: var(--ns-surface);
	border: 1px solid var(--ns-border);
	border-radius: 18px;
	box-shadow: var(--ns-shadow);
	z-index: 1000;
}

.nextshop-menu .sub-menu a {
	display: block;
	padding: 0.75rem 0.9rem;
	border-radius: 12px;
	white-space: nowrap;
}

.nextshop-menu .sub-menu a:hover {
	background: var(--ns-menu-hover-bg);
	color: var(--ns-primary);
}

.nextshop-menu li:hover > .sub-menu,
.nextshop-menu li:focus-within > .sub-menu {
	display: block;
}

.nextshop-highlights-section {
	margin: 1.5rem 0 2.5rem;
	padding: 1.2rem;
	border-radius: 24px;
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
	border: 1px solid var(--ns-border);
}

.nextshop-highlights-section--home-inline {
	margin: 0 0 1.5rem;
	padding: 0.5rem 0 0.25rem;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.nextshop-front-page .nextshop-highlights-section--home-inline .nextshop-highlights-inner {
	padding: 0;
}

.nextshop-highlights-section--instagram .nextshop-highlights-inner {
	padding: 0 0.75rem;
	max-width: 100%;
}

.nextshop-highlights-section--instagram .nextshop-highlights-strip {
	gap: 0.65rem;
	padding-bottom: 0.35rem;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.nextshop-highlights-section--instagram .nextshop-highlights-strip::-webkit-scrollbar {
	display: none;
}

.nextshop-highlights-header {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	align-items: end;
	margin-bottom: 1rem;
}

.nextshop-highlights-eyebrow {
	margin: 0 0 0.35rem;
	color: var(--ns-primary);
	font-size: 0.82rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.nextshop-highlights-copy {
	margin: 0;
	max-width: 520px;
	color: var(--ns-muted);
	font-size: 0.95rem;
	line-height: 1.8;
}

.nextshop-highlights-strip {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(130px, 1fr);
	gap: 0.85rem;
	overflow-x: auto;
	padding-bottom: 0.2rem;
	scroll-snap-type: x mandatory;
}

.nextshop-highlight-card {
	scroll-snap-align: start;
	border: 1px solid var(--ns-border);
	background: #fff;
	border-radius: 24px;
	padding: 0.9rem 0.8rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.65rem;
	min-height: 160px;
	cursor: pointer;
	color: var(--ns-text);
	font: inherit;
	text-align: center;
	box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
	-webkit-tap-highlight-color: transparent;
}

.nextshop-highlight-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(239, 57, 78, 0.12);
	border-color: rgba(239, 57, 78, 0.22);
}

.nextshop-highlights-section--instagram .nextshop-highlight-card {
	border: 0;
	background: transparent;
	border-radius: 0;
	padding: 0.25rem 0.35rem 0;
	min-height: auto;
	min-width: 76px;
	max-width: 88px;
	box-shadow: none;
	gap: 0.4rem;
	flex-shrink: 0;
}

.nextshop-highlights-section--instagram .nextshop-highlight-card:hover,
.nextshop-highlights-section--instagram .nextshop-highlight-card:focus-visible {
	transform: none;
	box-shadow: none;
}

.nextshop-highlights-section--instagram .nextshop-highlight-card:active {
	opacity: 0.75;
}

.nextshop-highlight-avatar-wrap {
	display: inline-flex;
	padding: 2px;
	border-radius: 50%;
	background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.nextshop-highlight-avatar {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--ns-primary) 0%, #fb7185 100%);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	overflow: hidden;
	border: 2px solid #fff;
	box-sizing: border-box;
}

.nextshop-highlights-section--instagram .nextshop-highlight-avatar {
	width: 64px;
	height: 64px;
	font-size: 1.35rem;
}

.nextshop-highlight-avatar-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.nextshop-highlight-avatar-letter {
	font-weight: 800;
	line-height: 1;
}

.nextshop-highlight-name {
	font-weight: 800;
	font-size: 0.96rem;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.nextshop-highlights-section--instagram .nextshop-highlight-name {
	font-weight: 600;
	font-size: 0.72rem;
	line-height: 1.3;
	max-width: 76px;
}

.nextshop-highlight-count {
	font-size: 0.85rem;
	color: var(--ns-muted);
}

.nextshop-highlights-section--instagram .nextshop-highlight-count {
	display: none;
}

.nextshop-highlights-section--instagram.nextshop-highlights-section--show-count .nextshop-highlight-count {
	display: block;
	font-size: 0.65rem;
	margin-top: -0.15rem;
}

.nextshop-story-source {
	display: none !important;
}

/* ——— مودال استوری (شبیه اینستاگرام) ——— */
.nextshop-story-modal {
	position: fixed;
	inset: 0;
	z-index: 200000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem;
	background: rgba(0, 0, 0, 0.92);
}

.nextshop-story-modal[hidden] {
	display: none !important;
}

.nextshop-story-overlay {
	position: absolute;
	inset: 0;
	cursor: pointer;
}

.nextshop-story-viewer {
	position: relative;
	z-index: 1;
	width: min(100%, 420px);
	height: min(calc(100dvh - 1.5rem), calc((min(100vw - 1.5rem, 420px)) * 16 / 9));
	max-height: calc(100dvh - 1.5rem);
	aspect-ratio: 9 / 16;
	background: #000;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
	color: #fff;
}

.nextshop-story-progress {
	position: absolute;
	top: 8px;
	left: 8px;
	right: 8px;
	z-index: 30;
	display: flex;
	flex-direction: row-reverse;
	direction: rtl;
	gap: 4px;
	height: 3px;
}

.nextshop-story-progress__segment {
	flex: 1;
	display: flex;
	flex-direction: row-reverse;
	justify-content: flex-start;
	height: 100%;
	background: rgba(255, 255, 255, 0.35);
	border-radius: 2px;
	overflow: hidden;
}

.nextshop-story-progress__fill {
	display: block;
	width: 0;
	height: 100%;
	background: #fff;
	border-radius: 2px;
}

.nextshop-story-progress__segment.is-done .nextshop-story-progress__fill {
	width: 100%;
}

.nextshop-story-progress__segment.is-active .nextshop-story-progress__fill {
	width: 100%;
	animation: nextshop-story-progress-fill var(--nextshop-story-duration, 5s) linear forwards;
}

@keyframes nextshop-story-progress-fill {
	from {
		width: 0;
	}
	to {
		width: 100%;
	}
}

.nextshop-story-topbar {
	position: absolute;
	top: 18px;
	left: 8px;
	right: 8px;
	z-index: 25;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0 4px;
	pointer-events: none;
}

.nextshop-story-topbar-user {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	min-width: 0;
	pointer-events: auto;
}

.nextshop-story-topbar-avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2) center/cover no-repeat;
	flex-shrink: 0;
	border: 1px solid rgba(255, 255, 255, 0.5);
}

.nextshop-story-topbar-avatar:empty {
	display: none;
}

.nextshop-story-topbar-name {
	font-size: 0.88rem;
	font-weight: 700;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.nextshop-story-close {
	pointer-events: auto;
	border: 0;
	background: transparent;
	color: #fff;
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 1.25rem;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.nextshop-story-stage {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: #000;
}

.nextshop-story-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.nextshop-story-slide.is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	z-index: 2;
}

.nextshop-story-slide-media {
	position: absolute;
	inset: 0;
	background: #111;
}

.nextshop-story-slide-media img,
.nextshop-story-slide-media video,
.nextshop-story-slide-media .nextshop-story-placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* lazy-load defaults use inline-block + height:auto — fill story frame like video */
.nextshop-story-slide-media  {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	background: transparent;
}

.nextshop-story-slide-media .nextshop-lazy-wrap img.nextshop-lazy-img {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.nextshop-story-video {
	background: #000;
}

.nextshop-story-mute {
	position: absolute;
	bottom: max(1rem, env(safe-area-inset-bottom, 1rem));
	left: 1rem;
	z-index: 22;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.45);
	color: #fff;
	cursor: pointer;
	font-size: 1.1rem;
	pointer-events: auto;
	-webkit-tap-highlight-color: transparent;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.nextshop-story-mute[hidden] {
	display: none !important;
}

.nextshop-story-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2.5rem;
	color: #f9fafb;
	height: 100%;
}

.nextshop-story-slide-overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 18;
	padding: 2.5rem 1rem 1.25rem;
	background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.75) 100%);
	pointer-events: auto;
}

.nextshop-story-slide-label {
	margin: 0 0 0.35rem;
	font-size: 0.78rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.85);
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.nextshop-story-slide-title {
	margin: 0 0 0.65rem;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.45;
}

.nextshop-story-slide-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.55rem 1.1rem;
	border-radius: 999px;
	background: #fff;
	color: #111;
	font-size: 0.85rem;
	font-weight: 700;
	text-decoration: none;
}

.nextshop-story-tap {
	position: absolute;
	top: 56px;
	bottom: 88px;
	z-index: 15;
	width: 35%;
	border: 0;
	padding: 0;
	margin: 0;
	background: transparent;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.nextshop-story-tap--prev {
	left: 0;
}

.nextshop-story-tap--next {
	right: 0;
}

body.nextshop-story-open {
	overflow: hidden;
}

.nextshop-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.65rem 1.25rem;
	border-radius: var(--ns-radius);
	border: 1px solid var(--ns-border);
	background: #fff;
	cursor: pointer;
	font: inherit;
}

.nextshop-btn-primary {
	background: var(--ns-primary);
	border-color: var(--ns-primary);
	color: #fff;
}

.nextshop-btn-primary:hover {
	background: var(--ns-primary-dark);
}

.nextshop-filter-form:not(.nextshop-filter-form--advanced) {
	background: var(--ns-bg);
	padding: 1.25rem;
	border-radius: var(--ns-radius);
	border: 1px solid var(--ns-border);
}

.nextshop-filter-block {
	border: 0;
	margin: 0 0 1rem;
	padding: 0;
}

.nextshop-filter-check {
	display: block;
	margin: 0.35rem 0;
}

.nextshop-dashboard-wrap {
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 1.5rem;
	margin: 2rem 0;
}

.nextshop-dashboard-sidebar {
	background: var(--ns-bg);
	border-radius: var(--ns-radius);
	padding: 1rem;
}

.nextshop-dashboard-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nextshop-dashboard-nav a {
	display: block;
	padding: 0.6rem 0.75rem;
	border-radius: 8px;
	text-decoration: none;
	color: var(--ns-text);
}

.nextshop-dashboard-nav .is-active a,
.nextshop-dashboard-nav a:hover {
	background: #fff;
	color: var(--ns-primary);
}

.nextshop-cart-steps ol {
	display: flex;
	align-items: center;
	list-style: none;
	padding: 0;
	margin: 0 0 2rem;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.nextshop-cart-steps .nextshop-step {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--ns-muted);
}

.nextshop-cart-steps .is-active {
	color: var(--ns-primary);
	font-weight: 700;
}

.nextshop-cart-steps .is-done {
	color: #059669;
}

.nextshop-step-num {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 2px solid currentColor;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.85rem;
}

.nextshop-step-sep {
	flex: 1;
	height: 2px;
	background: var(--ns-border);
	min-width: 24px;
}

.nextshop-wallet-panel,
.nextshop-club-panel {
	background: #fff;
	border: 1px solid var(--ns-border);
	border-radius: var(--ns-radius);
	padding: 1.25rem;
}

.nextshop-club-panel__hero {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding-bottom: 1.15rem;
	margin-bottom: 1rem;
	border-bottom: 1px solid var(--ns-border);
}

.nextshop-club-panel__hero-icon {
	flex: 0 0 56px;
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	background: rgba(239, 57, 78, 0.1);
	color: var(--ns-primary);
	font-size: 1.4rem;
}

.nextshop-club-panel__label {
	margin: 0 0 0.25rem;
	font-size: 0.85rem;
	color: var(--ns-muted);
}

.nextshop-club-points {
	margin: 0;
	font-size: 1.75rem;
	line-height: 1.2;
}

.nextshop-club-points strong {
	color: var(--ns-primary);
	font-weight: 800;
}

.nextshop-club-points span {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--ns-muted);
	margin-right: 0.35rem;
}

.nextshop-club-panel__stat {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.75rem 1rem;
	margin-bottom: 1rem;
	background: #f8fafc;
	border-radius: 10px;
}

.nextshop-club-panel__stat-label {
	font-size: 0.88rem;
	color: var(--ns-muted);
}

.nextshop-club-panel__stat-value {
	font-weight: 700;
}

.nextshop-club-redeem {
	margin-top: 0.5rem;
	padding-top: 1.15rem;
	border-top: 1px solid var(--ns-border);
}

.nextshop-club-redeem h3 {
	margin: 0 0 0.5rem;
	font-size: 1rem;
}

.nextshop-club-redeem__hint {
	margin: 0 0 0.85rem;
	font-size: 0.85rem;
	color: var(--ns-muted);
}

.nextshop-club-redeem__field {
	margin-bottom: 0.85rem;
}

.nextshop-club-redeem__field label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.88rem;
	font-weight: 600;
}

.nextshop-club-redeem__field input {
	width: 100%;
	max-width: 200px;
	padding: 0.6rem 0.85rem;
	border: 1px solid var(--ns-border);
	border-radius: 8px;
}

.nextshop-club-redeem-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
}

.nextshop-club-redeem__msg {
	margin: 0.75rem 0 0;
	font-size: 0.88rem;
}

.nextshop-club-panel__footer {
	margin-top: 1.25rem;
	padding-top: 1rem;
	border-top: 1px solid var(--ns-border);
}

.nextshop-club-panel__footer .description {
	margin: 0 0 0.75rem;
}

.nextshop-club-panel__link {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--ns-primary);
	text-decoration: none;
}

.nextshop-club-panel__link:hover {
	text-decoration: underline;
}

.nextshop-wallet-table {
	width: 100%;
	border-collapse: collapse;
}

.nextshop-wallet-table th,
.nextshop-wallet-table td {
	border-bottom: 1px solid var(--ns-border);
	padding: 0.5rem;
	text-align: right;
}

.nextshop-mini-cart {
	position: relative;
}

.nextshop-mini-cart-dropdown {
	display: none;
	position: absolute;
	left: 0;
	top: 100%;
	min-width: 280px;
	background: #fff;
	border: 1px solid var(--ns-border);
	border-radius: var(--ns-radius);
	box-shadow: var(--ns-shadow);
	z-index: 50;
}

.nextshop-mini-cart:hover .nextshop-mini-cart-dropdown {
	display: block;
}

/* =========================================
 * Mobile Header: hamburger + search modal
 * ========================================= */

/* دکمه‌های موبایلی (همبرگر و آیکون جستجو) به صورت پیش‌فرض مخفی هستند */
.nextshop-mobile-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--ns-border);
	border-radius: 10px;
	background: var(--ns-surface);
	color: var(--ns-text);
	font-size: 18px;
	cursor: pointer;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.nextshop-mobile-toggle:hover,
.nextshop-mobile-toggle:focus-visible {
	background: var(--ns-menu-hover-bg);
	color: var(--ns-primary);
}

/* قفل اسکرول بدنه هنگام باز بودن مودال/درایور */
body.nextshop-no-scroll {
	overflow: hidden;
}

/* ——— درایور موبایل (منوی همبرگری) ——— */
.nextshop-mobile-drawer {
	position: fixed;
	inset: 0;
	z-index: 1500;
	visibility: hidden;
	pointer-events: none;
}

.nextshop-mobile-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.5);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.nextshop-mobile-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 84%;
	max-width: 320px;
	background: var(--ns-surface);
	box-shadow: -10px 0 30px rgba(15, 23, 42, 0.15);
	transform: translateX(100%);
	transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
	display: flex;
	flex-direction: column;
}

.nextshop-mobile-drawer.is-open {
	visibility: visible;
	pointer-events: auto;
}

.nextshop-mobile-drawer.is-open .nextshop-mobile-drawer__backdrop {
	opacity: 1;
}

.nextshop-mobile-drawer.is-open .nextshop-mobile-drawer__panel {
	transform: translateX(0);
}

.nextshop-mobile-drawer__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	border-bottom: 1px solid var(--ns-border);
}

.nextshop-mobile-drawer__title {
	font-weight: 800;
	font-size: 1.05rem;
	color: var(--ns-text);
}

.nextshop-mobile-drawer__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: none;
	border-radius: 10px;
	background: transparent;
	color: #6b7280;
	font-size: 18px;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}

.nextshop-mobile-drawer__close:hover {
	background: #f3f4f6;
	color: var(--ns-primary);
}

.nextshop-mobile-drawer__nav {
	flex: 1;
	overflow-y: auto;
	padding: 8px 6px 24px;
}

.nextshop-mobile-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nextshop-mobile-menu li {
	position: relative;
}

.nextshop-mobile-menu a {
	display: block;
	padding: 12px 14px;
	color: #1f2937;
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 500;
	border-radius: 10px;
	transition: background 0.2s, color 0.2s;
}

.nextshop-mobile-menu a:hover {
	background: #f3f4f6;
	color: var(--ns-primary);
}

.nextshop-mobile-menu .menu-item-has-children > a::after,
.nextshop-mobile-menu .page_item_has_children > a::after {
	content: '\f078';
	font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', 'FontAwesome';
	font-weight: 900;
	float: left;
	font-size: 0.7rem;
	color: #9ca3af;
	transition: transform 0.25s ease;
	margin-top: 6px;
}

.nextshop-mobile-menu .is-expanded > a::after {
	transform: rotate(180deg);
}

.nextshop-mobile-menu .sub-menu,
.nextshop-mobile-menu .children {
	list-style: none;
	margin: 0;
	padding: 0 8px 6px;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}

.nextshop-mobile-menu .is-expanded > .sub-menu,
.nextshop-mobile-menu .is-expanded > .children {
	max-height: 1200px;
}

.nextshop-mobile-menu .sub-menu a,
.nextshop-mobile-menu .children a {
	font-size: 0.9rem;
	color: #4b5563;
	padding: 10px 14px;
}

/* ——— مودال جستجو موبایل ——— */
.nextshop-search-modal {
	position: fixed;
	inset: 0;
	z-index: 1500;
	visibility: hidden;
	pointer-events: none;
}

.nextshop-search-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.45);
	opacity: 0;
	transition: opacity 0.25s ease;
}

.nextshop-search-modal__panel {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	background: #fff;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
	transform: translateY(-100%);
	transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
	padding: 12px 14px 16px;
	max-height: 100vh;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.nextshop-search-modal.is-open {
	visibility: visible;
	pointer-events: auto;
}

.nextshop-search-modal.is-open .nextshop-search-modal__backdrop {
	opacity: 1;
}

.nextshop-search-modal.is-open .nextshop-search-modal__panel {
	transform: translateY(0);
}

.nextshop-search-modal__topbar {
	display: flex;
	align-items: center;
	gap: 10px;
}

.nextshop-search-modal__close {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: none;
	border-radius: 10px;
	background: #f3f4f6;
	color: #4b5563;
	font-size: 18px;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}

.nextshop-search-modal__close:hover {
	background: #fee2e2;
	color: var(--ns-primary);
}

.nextshop-search-modal .nextshop-header-search--modal {
	flex: 1;
	max-width: none;
}

.nextshop-search-modal .nextshop-header-search--modal .nextshop-search-form {
	height: 44px;
	background: #f1f2f4;
}

/* در حالت مودال، باکس پیشنهادها باید زیر فرم نمایش داده شود (نه به صورت absolute) */
.nextshop-header-search--modal .nextshop-search-suggestions {
	position: static;
	display: none;
	box-shadow: none;
	border: none;
	border-radius: 0;
	padding: 0.75rem 0;
	margin-top: 0.5rem;
	max-height: calc(100vh - 120px);
	overflow-y: auto;
}

.nextshop-header-search--modal.is-open .nextshop-search-suggestions {
	display: block;
}

@media (max-width: 768px) {
	.nextshop-dashboard-wrap {
		grid-template-columns: 1fr;
	}
	/* هدر در موبایل: تمام آیتم‌ها در یک خط، فشرده */
	.nextshop-header-top {
		flex-wrap: nowrap;
		gap: 8px;
		padding: 10px 0;
	}
	.nextshop-mobile-toggle {
		display: inline-flex;
	}
	.nextshop-branding {
		flex: 0 1 auto;
		min-width: 0;
		margin-inline-end: auto;
	}
	.nextshop-branding img {
		max-height: 32px;
	}
	.nextshop-site-title {
		font-size: 1.15rem;
	}
	/* فرم جستجوی دسکتاپ روی موبایل مخفی است (آیکون جستجو جای آن را گرفته) */
	.nextshop-header-top > .nextshop-header-search {
		display: none;
	}
	/* منوی پایینی هدر در موبایل مخفی است (داخل درایور است) */
	.nextshop-header-bottom {
		display: none;
	}
	/* فشرده‌سازی اکشن‌ها */
	.nextshop-header-actions {
		gap: 4px;
	}
	.nextshop-action-divider {
		display: none;
	}
	.nextshop-account-btn .arrow-icon {
		display: none;
	}
	.nextshop-action-btn {
		padding: 8px 9px;
		border-color: transparent;
	}
	.nextshop-account-btn,
	.nextshop-header-cart {
		padding: 8px;
	}
	/* پنل‌های هدر روی موبایل — تمام‌عرض، داخل viewport */
	.nextshop-account-dropdown,
	.nextshop-cart-dropdown,
	.nextshop-notifications-dropdown {
		position: fixed;
		top: var(--nextshop-dropdown-top, calc(56px + env(safe-area-inset-top, 0px)));
		right: max(8px, env(safe-area-inset-right, 0px));
		left: max(8px, env(safe-area-inset-left, 0px));
		width: auto;
		min-width: 0;
		max-width: none;
		margin: 0;
		z-index: 1100;
		max-height: min(72dvh, calc(100dvh - var(--nextshop-dropdown-top, 56px) - 16px - env(safe-area-inset-bottom, 0px)));
	}

	.nextshop-notifications-dropdown {
		display: none;
		flex-direction: column;
	}

	.nextshop-notifications-wrapper.is-open .nextshop-notifications-dropdown {
		display: flex;
	}

	.nextshop-notifications-dropdown-body {
		max-height: min(60dvh, calc(100dvh - var(--nextshop-dropdown-top, 56px) - 80px));
		-webkit-overflow-scrolling: touch;
	}

	.nextshop-header-actions,
	.nextshop-header-top,
	.nextshop-site-header .nextshop-container {
		overflow: visible;
	}
	.nextshop-highlights-header {
		flex-direction: column;
		align-items: flex-start;
	}
	.nextshop-highlights-strip {
		grid-auto-columns: minmax(130px, 78vw);
	}
	.nextshop-highlights-section--instagram .nextshop-highlights-strip {
		grid-auto-columns: minmax(76px, 22vw);
		gap: 0.5rem;
		padding-inline: 0.25rem;
	}
	.nextshop-highlights-section--instagram .nextshop-highlight-avatar {
		width: 58px;
		height: 58px;
	}
	.nextshop-highlights-section--home-inline {
		margin-bottom: 1rem;
	}
	.nextshop-story-modal {
		padding: 0;
	}
	.nextshop-story-viewer {
		width: 100%;
		height: 100dvh;
		max-height: 100dvh;
		border-radius: 0;
	}
	.nextshop-story-progress {
		top: max(8px, env(safe-area-inset-top, 8px));
		left: 10px;
		right: 10px;
	}
	.nextshop-story-topbar {
		top: max(22px, calc(env(safe-area-inset-top, 0px) + 14px));
	}
}

/* =========================================
 * Blog / Magazine Layout
 * ========================================= */
.nextshop-blog-container {
	margin-top: 3rem;
	margin-bottom: 4rem;
}

.nextshop-page-header {
	margin-bottom: 3.5rem;
	text-align: center;
}

.nextshop-page-title {
	font-size: 2.2rem;
	font-weight: 800;
	color: #1f2937;
	margin: 0 0 1rem;
	position: relative;
	display: inline-block;
}
.nextshop-page-title::after {
	content: '';
	position: absolute;
	bottom: -15px;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 4px;
	background: var(--ns-primary);
	border-radius: 4px;
}

.nextshop-archive-description {
	color: #6b7280;
	font-size: 1.1rem;
	max-width: 600px;
	margin: 1.5rem auto 0;
}

/* Post Grid */
.nextshop-post-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2.5rem;
}

/* Post Card */
.nextshop-post-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	overflow: hidden;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	position: relative;
}
.nextshop-post-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 15px 35px rgba(0,0,0,0.08);
	border-color: transparent;
}

/* Post Thumbnail */
.nextshop-post-thumb {
	position: relative;
	width: 100%;
	height: 240px;
	overflow: hidden;
	background: #f3f4f6;
}
.nextshop-post-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}
.nextshop-post-card:hover .nextshop-post-thumb img {
	transform: scale(1.08);
}
.nextshop-no-thumb {
	width: 100%;
	height: 100%;
	background: linear-gradient(45deg, #f3f4f6, #e5e7eb);
}

.nextshop-post-category-badge {
	position: absolute;
	top: 15px;
	right: 15px;
	background: var(--ns-primary);
	color: #fff;
	padding: 6px 14px;
	border-radius: 8px;
	font-size: 0.85rem;
	font-weight: bold;
	z-index: 2;
	box-shadow: 0 4px 12px rgba(239, 57, 78, 0.3);
}

/* Post Content */
.nextshop-post-content {
	padding: 1.5rem 1.8rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.nextshop-post-meta {
	display: flex;
	gap: 20px;
	margin-bottom: 15px;
	color: #6b7280;
	font-size: 0.85rem;
}
.nextshop-post-meta span {
	display: flex;
	align-items: center;
	gap: 6px;
}
.nextshop-post-meta .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
	color: var(--ns-primary);
}

.nextshop-post-title {
	font-size: 1.3rem;
	font-weight: 800;
	line-height: 1.6;
	margin: 0 0 1rem;
}
.nextshop-post-title a {
	color: #1f2937;
	text-decoration: none;
	transition: color 0.2s;
}
.nextshop-post-title a:hover {
	color: var(--ns-primary);
}

.nextshop-post-excerpt {
	color: #4b5563;
	font-size: 0.95rem;
	line-height: 1.8;
	margin-bottom: 1.5rem;
	flex: 1;
}

.nextshop-read-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--ns-primary);
	font-weight: bold;
	font-size: 1rem;
	text-decoration: none;
	transition: gap 0.2s;
	margin-top: auto;
	padding-top: 1rem;
	border-top: 1px dashed #e5e7eb;
}
.nextshop-read-more:hover {
	gap: 12px;
}
.nextshop-read-more .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
}

/* Pagination */
.nextshop-pagination {
	margin-top: 4rem;
	text-align: center;
}
.nextshop-pagination .nav-links {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
}
.nextshop-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	color: #4b5563;
	text-decoration: none;
	font-weight: 700;
	transition: all 0.2s;
}
.nextshop-pagination .page-numbers.current,
.nextshop-pagination .page-numbers:hover {
	background: var(--ns-primary);
	color: #fff;
	border-color: var(--ns-primary);
	box-shadow: 0 4px 12px rgba(239, 57, 78, 0.2);
}
.nextshop-pagination .prev,
.nextshop-pagination .next {
	padding: 0 20px;
}

/* Responsive */
@media (max-width: 1024px) {
	.nextshop-post-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 600px) {
	.nextshop-post-grid {
		grid-template-columns: 1fr;
	}
}

/* =========================================
 * Front Page (Home)
 * ========================================= */
.nextshop-fp-section {
	margin-bottom: 4rem;
	margin-top: 2rem;
}

/* Trust badges (صفحه اصلی، تک‌محصول و …) */
.nextshop-trust-badges {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

.nextshop-trust-badges__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.65rem;
	padding: 1.15rem 0.75rem;
	background: #fff;
	border: 1px solid var(--ns-border);
	border-radius: var(--ns-radius);
	box-shadow: var(--ns-shadow);
	transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.nextshop-trust-badges__item:hover {
	border-color: var(--ns-primary);
	box-shadow: 0 6px 20px rgba(239, 57, 78, 0.12);
	transform: translateY(-2px);
}

.nextshop-trust-badges__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #fef2f2;
	color: var(--ns-primary);
	font-size: 1.25rem;
}

.nextshop-trust-badges__text {
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--ns-text);
	line-height: 1.4;
}

@media (max-width: 768px) {
	.nextshop-trust-badges {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.75rem;
	}

	.nextshop-trust-badges__item {
		padding: 1rem 0.5rem;
	}

	.nextshop-trust-badges__icon {
		width: 42px;
		height: 42px;
		font-size: 1.1rem;
	}

	.nextshop-trust-badges__text {
		font-size: 0.8rem;
	}
}

.nextshop-section-title {
	font-size: 1.5rem;
	font-weight: 800;
	margin-bottom: 2rem;
	position: relative;
	display: flex;
	align-items: center;
	color: #111827;
}
.nextshop-section-title::after {
	content: '';
	flex: 1;
	height: 1px;
	background: #e5e7eb;
	margin-right: 15px; /* RTL */
}
.nextshop-section-title span {
	position: relative;
	padding-left: 15px;
}

/* Category Grid */
.nextshop-cat-grid {
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	gap: 1.5rem;
	text-align: center;
}
.nextshop-cat-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-decoration: none;
	color: var(--ns-text);
	transition: transform 0.2s;
}
.nextshop-cat-item:hover {
	transform: translateY(-5px);
}
.nextshop-cat-img-wrapper {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	background: #f1f2f4;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
	overflow: hidden;
}
.nextshop-cat-img-wrapper img {
	max-width: 60px;
	max-height: 60px;
	object-fit: contain;
}
.nextshop-cat-title {
	font-size: 0.9rem;
	font-weight: 700;
	margin: 0;
}

/* Amazing Box (Featured) */
.nextshop-amazing-box {
	display: flex;
	background: var(--ns-primary);
	border-radius: 16px;
	padding: 20px;
	gap: 20px;
	align-items: center;
}
.nextshop-amazing-header {
	width: 200px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	color: #fff;
	flex-shrink: 0;
}
.nextshop-amazing-header h2 {
	font-size: 1.8rem;
	font-weight: 900;
	margin: 0 0 1rem;
	line-height: 1.4;
	color: #ffffff;
}
.nextshop-amazing-header img {
	max-width: 120px;
	margin-bottom: 1rem;
}
.nextshop-view-all {
	color: #ffffff;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-weight: bold;
	font-size: 0.95rem;
	margin-top: 1rem;
	transition: opacity 0.2s;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.nextshop-view-all:hover {
	opacity: 0.8;
}
.nextshop-amazing-products {
	flex: 1;
	background: #fff;
	border-radius: 12px;
	padding: 15px;
}
.nextshop-amazing-products .woocommerce ul.products {
	margin: 0;
}
.nextshop-amazing-products .nextshop-no-data {
	text-align: center;
	color: #6b7280;
	padding: 2rem;
	margin: 0;
}

/* Brands Grid */
.nextshop-brand-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 15px;
}
.nextshop-brand-item {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	height: 100px;
	padding: 10px;
	text-decoration: none;
	color: #4b5563;
	font-weight: bold;
	transition: all 0.2s;
}
.nextshop-brand-item:hover {
	box-shadow: 0 5px 15px rgba(0,0,0,0.05);
	border-color: #d1d5db;
}
.nextshop-brand-item img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

/* Section header (latest products) */
.nextshop-fp-section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.25rem;
}
.nextshop-fp-section-head__text {
	min-width: 0;
}
.nextshop-fp-section-sub {
	margin: 0.35rem 0 0;
	font-size: 0.85rem;
	color: var(--ns-secondary);
}
.nextshop-fp-section-link {
	display: inline-flex;
	align-items: center;
	gap: 0.2rem;
	flex-shrink: 0;
	color: var(--ns-accent);
	font-size: 0.88rem;
	font-weight: 700;
	text-decoration: none;
}
.nextshop-fp-section-link:hover {
	color: var(--ns-accent-dark);
}
.nextshop-fp-section-link .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}
.nextshop-section-title--compact {
	margin-bottom: 0;
}
.nextshop-section-title--compact::after {
	display: none;
}

/* Responsive Front Page */
@media (max-width: 1024px) {
	.nextshop-cat-grid {
		grid-template-columns: repeat(4, 1fr);
	}
	.nextshop-brand-grid {
		grid-template-columns: repeat(3, 1fr);
	}
	.nextshop-amazing-box {
		flex-direction: column;
	}
	.nextshop-amazing-header {
		width: 100%;
		flex-direction: row;
		justify-content: space-between;
	}
	.nextshop-amazing-products {
		width: 100%;
	}
}

/* Front page — mobile (دو ستونه، فشرده) */
@media (max-width: 768px) {
	.nextshop-container.nextshop-front-page {
		padding-inline: 0.75rem;
	}

	.nextshop-front-page .nextshop-fp-section {
		margin-top: 1rem;
		margin-bottom: 1.75rem;
	}

	.nextshop-front-page .nextshop-section-title {
		font-size: 1.05rem;
		margin-bottom: 1rem;
	}

	.nextshop-front-page .nextshop-section-title::after {
		margin-right: 10px;
	}

	.nextshop-front-page .nextshop-cat-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 0.5rem 0.35rem;
	}

	.nextshop-front-page .nextshop-cat-img-wrapper {
		width: 68px;
		height: 68px;
		margin-bottom: 0.45rem;
	}

	.nextshop-front-page .nextshop-cat-img-wrapper img {
		max-width: 44px;
		max-height: 44px;
	}

	.nextshop-front-page .nextshop-cat-title {
		font-size: 0.72rem;
		line-height: 1.35;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	.nextshop-front-page .nextshop-amazing-box {
		flex-direction: column;
		padding: 0;
		gap: 0;
		border-radius: 12px;
		overflow: hidden;
	}

	.nextshop-front-page .nextshop-amazing-header {
		width: 100%;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		text-align: right;
		padding: 0.7rem 0.85rem;
	}

	.nextshop-front-page .nextshop-amazing-header h2 {
		font-size: 1rem;
		margin: 0;
	}

	.nextshop-front-page .nextshop-amazing-header .nextshop-view-all {
		margin-top: 0;
		font-size: 0.8rem;
		white-space: nowrap;
	}

	.nextshop-front-page .nextshop-amazing-products {
		padding: 0.55rem;
		border-radius: 0;
	}

	.nextshop-front-page .nextshop-fp-products ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 0.5rem;
	}

	.nextshop-front-page .nextshop-fp-products ul.products li.product {
		padding: 0.45rem 0.5rem 0.55rem;
		border-radius: 10px;
		text-align: right;
	}

	.nextshop-front-page .nextshop-fp-products ul.products li.product:hover {
		transform: none;
		box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
	}

	.nextshop-front-page .nextshop-fp-products:not(.nextshop-product-loop-images) ul.products li.product img {
		width: 100%;
		height: auto;
		max-height: 110px;
		object-fit: contain;
		margin-bottom: 0.35rem;
		border-radius: 6px;
		background: #f8fafc;
	}

	.nextshop-front-page .nextshop-fp-products .woocommerce-loop-product__title {
		font-size: 12px;
		font-weight: 600;
		line-height: 1.35;
		margin: 0 0 0.35rem;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.nextshop-front-page .nextshop-fp-products .price {
		display: flex;
		flex-wrap: nowrap;
		align-items: baseline;
		justify-content: flex-end;
		gap: 0.25rem;
		font-size: 0.75rem;
		line-height: 1.25;
		margin-bottom: 0;
		margin-top: auto;
		text-align: right;
		white-space: nowrap;
		overflow: hidden;
	}

	.nextshop-front-page .nextshop-fp-products .nextshop-fp-price {
		display: inline-flex;
		flex-wrap: nowrap;
		align-items: baseline;
		gap: 0.2rem;
		min-width: 0;
		overflow: hidden;
	}

	.nextshop-front-page .nextshop-fp-products .price .woocommerce-Price-amount {
		white-space: nowrap;
	}

	.nextshop-front-page .nextshop-fp-products .price del {
		font-size: 0.65rem;
		opacity: 0.6;
		display: inline;
		margin: 0;
	}

	.nextshop-front-page .nextshop-fp-products .price ins {
		display: inline;
		text-decoration: none;
		font-weight: 800;
		background: none;
	}

	.nextshop-front-page .nextshop-fp-products ul.products li.product .button {
		display: none;
	}

	.nextshop-front-page .nextshop-fp-products ul.products li.product .onsale {
		top: 6px;
		right: 6px;
		left: auto;
		min-height: auto;
		min-width: auto;
		padding: 2px 6px;
		font-size: 0.65rem;
		line-height: 1.3;
		border-radius: 6px;
	}

	.nextshop-front-page .nextshop-brand-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0.5rem;
	}

	.nextshop-front-page .nextshop-brand-item {
		height: 72px;
		padding: 0.5rem;
		border-radius: 10px;
	}

	.nextshop-front-page .nextshop-fp-section-head {
		margin-bottom: 0.85rem;
		align-items: center;
	}

	.nextshop-front-page .nextshop-fp-section-sub {
		font-size: 0.78rem;
	}

	.nextshop-front-page .nextshop-post-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.nextshop-front-page .nextshop-post-thumb {
		height: 180px;
	}

	.nextshop-front-page .nextshop-post-content {
		padding: 1rem 1.1rem;
	}

	.nextshop-front-page .nextshop-post-title {
		font-size: 1rem;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}
}

@media (max-width: 600px) {
	.nextshop-brand-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.nextshop-front-page .nextshop-brand-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 480px) {
	.nextshop-front-page .nextshop-fp-products ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

/* =========================================
 * Single Page & Post Layout
 * ========================================= */
.nextshop-page-wrapper {
	margin-top: 3rem;
	margin-bottom: 4rem;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	padding: 3rem;
}
.nextshop-page-header {
	margin-bottom: 2.5rem;
	text-align: center;
}
.nextshop-page-header .nextshop-page-title {
	font-size: 2.4rem;
	font-weight: 900;
	color: #1f2937;
	margin: 0;
}
.nextshop-page-header .nextshop-page-title::after {
	content: none; /* Disable the blog archive underline */
}

/* Single Post Specific */
.nextshop-single-post-topbar {
	margin-bottom: 1.25rem;
}

.nextshop-single-post-wrap .nextshop-breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.85rem;
	color: #6b7280;
}

.nextshop-single-post-wrap .nextshop-breadcrumb__item {
	display: inline-flex;
	align-items: center;
}

.nextshop-single-post-wrap .nextshop-breadcrumb__item:not(:last-child)::after {
	content: '/';
	margin-inline-start: 0.35rem;
	color: #d1d5db;
}

.nextshop-single-post-wrap .nextshop-breadcrumb__item a {
	color: #6b7280;
	text-decoration: none;
}

.nextshop-single-post-wrap .nextshop-breadcrumb__item a:hover {
	color: var(--ns-primary);
}

.nextshop-single-post-wrap .nextshop-breadcrumb__item.is-current span {
	color: #1f2937;
	font-weight: 600;
}

.nextshop-single-cat {
	display: inline-block;
	background: var(--ns-primary);
	color: #fff;
	padding: 4px 12px;
	border-radius: 6px;
	font-size: 0.85rem;
	font-weight: bold;
	margin-bottom: 1rem;
	text-decoration: none;
	transition: background 0.2s ease;
}

.nextshop-single-cat:hover {
	background: #d63044;
	color: #fff;
}

.nextshop-post-meta--single .nextshop-meta-author a {
	color: inherit;
	text-decoration: none;
}

.nextshop-post-meta--single .nextshop-meta-author a:hover {
	color: var(--ns-primary);
}

.nextshop-single-post-footer {
	margin-top: 2rem;
	padding-top: 1.25rem;
	border-top: 1px solid #e5e7eb;
}

.nextshop-single-tags-label {
	font-size: 0.9rem;
	font-weight: 700;
	color: #374151;
	margin-inline-end: 0.5rem;
}

.nextshop-single-tags {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nextshop-single-tags a {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	border-radius: 999px;
	background: #f3f4f6;
	color: #4b5563;
	font-size: 0.85rem;
	text-decoration: none;
}

.nextshop-single-tags a:hover {
	background: var(--ns-primary);
	color: #fff;
}

.nextshop-post-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin: 2rem 0 0;
}

.nextshop-post-nav__link {
	display: block;
	padding: 1rem 1.25rem;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nextshop-post-nav__link:hover {
	border-color: var(--ns-primary);
	box-shadow: 0 4px 16px rgba(239, 57, 78, 0.08);
}

.nextshop-post-nav__link--next {
	text-align: left;
}

.nextshop-post-nav__label {
	display: block;
	font-size: 0.8rem;
	color: #6b7280;
	margin-bottom: 0.35rem;
}

.nextshop-post-nav__title {
	display: block;
	font-weight: 700;
	color: #1f2937;
	line-height: 1.5;
}
.nextshop-single-thumb {
	margin: 0 -3rem 2.5rem; /* Break out of padding */
	overflow: hidden;
}
.nextshop-single-thumb img {
	width: 100%;
	height: auto;
	object-fit: cover;
	max-height: 500px;
}

.nextshop-page-content {
	color: #4b5563;
	font-size: 1.1rem;
	line-height: 2;
}
.nextshop-page-content img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	margin: 1rem 0;
}
.nextshop-page-content h2,
.nextshop-page-content h3 {
	color: #1f2937;
	margin-top: 2rem;
	margin-bottom: 1rem;
	font-weight: 800;
}
.nextshop-page-content p {
	margin-bottom: 1.5rem;
}
.nextshop-page-content ul,
.nextshop-page-content ol {
	margin-bottom: 1.5rem;
	padding-right: 2rem;
}

/* Responsive Pages */
@media (max-width: 768px) {
	.nextshop-page-wrapper {
		padding: 1.5rem;
		margin-top: 1.5rem;
		border-radius: 12px;
	}
	.nextshop-single-thumb {
		margin: 0 -1.5rem 1.5rem;
	}
	.nextshop-page-header .nextshop-page-title {
		font-size: 1.8rem;
	}

	.nextshop-post-nav {
		grid-template-columns: 1fr;
	}
}

/* SweetAlert2 — راست‌چین و هماهنگ با قالب */
.nextshop-swal-rtl {
	direction: rtl;
	text-align: right;
	font-family: inherit;
}
.nextshop-swal-rtl .swal2-title,
.nextshop-swal-rtl .swal2-html-container {
	text-align: center;
	font-family: inherit;
}
.nextshop-swal-rtl .swal2-actions {
	gap: 8px;
	flex-direction: row-reverse;
}
.nextshop-swal-rtl .swal2-confirm.swal2-styled {
	background-color: var(--ns-primary);
	box-shadow: none;
}
.nextshop-swal-rtl .swal2-confirm.swal2-styled:focus {
	box-shadow: 0 0 0 3px rgba(239, 57, 78, 0.25);
}

/* وضعیت در حال بارگذاری دکمه افزودن به سبد */
.single_add_to_cart_button.loading,
.single_add_to_cart_button.is-loading {
	opacity: 0.7;
	pointer-events: none;
	position: relative;
}

/* وضعیت در حال به‌روزرسانی مینی‌کارت هدر */
.nextshop-cart-dropdown.is-updating {
	opacity: 0.6;
	pointer-events: none;
	transition: opacity 0.2s ease;
}
.nextshop-cart-dropdown .woocommerce-mini-cart-item.is-removing {
	opacity: 0.4;
	transition: opacity 0.2s ease;
}

/* =========================================
 * فوتر سایت
 * ========================================= */
.nextshop-site-footer {
	margin-top: 3rem;
	padding: 0;
	border-top: 1px solid var(--ns-border);
	background: var(--ns-bg);
}

.nextshop-footer-main {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, auto);
	gap: 2rem 2.5rem;
	align-items: start;
	padding: 2.5rem 0 2rem;
}

.nextshop-footer-brand {
	max-width: 360px;
}

.nextshop-footer-brand__link {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
	color: var(--ns-text);
	transition: opacity 0.2s ease;
}

.nextshop-footer-brand__link:hover {
	opacity: 0.85;
}

.nextshop-footer-brand__icon {
	width: 56px;
	height: 56px;
	object-fit: contain;
	border-radius: 14px;
	background: var(--ns-surface);
	border: 1px solid var(--ns-border);
	padding: 6px;
	box-shadow: var(--ns-shadow);
}

.nextshop-footer-brand__name {
	font-size: 1.15rem;
	font-weight: 800;
	line-height: 1.3;
	color: var(--ns-text);
}

.nextshop-footer-brand__desc {
	margin: 0.85rem 0 0;
	font-size: 0.9rem;
	line-height: 1.85;
	color: var(--ns-muted);
}

.nextshop-footer-nav {
	display: flex;
	align-items: flex-start;
	justify-content: center;
}

.nextshop-footer-menu {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	gap: 0.55rem 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	max-height: 220px;
}

.nextshop-footer-menu a {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: #374151;
	font-size: 0.9rem;
	font-weight: 500;
	text-decoration: none;
	transition: color 0.2s ease, transform 0.2s ease;
}

.nextshop-footer-menu a::before {
	content: '';
	display: inline-block;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--ns-primary);
	opacity: 0.45;
	flex-shrink: 0;
}

.nextshop-footer-menu a:hover {
	color: var(--ns-primary);
	transform: translateX(-3px);
}

.nextshop-footer-trust {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.75rem 1rem;
}

.nextshop-footer-trust__item {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 72px;
	padding: 0.5rem 0.75rem;
	background: #fff;
	border: 1px solid var(--ns-border);
	border-radius: var(--ns-radius);
	box-shadow: var(--ns-shadow);
}

.nextshop-footer-trust__item img,
.nextshop-footer-trust__item iframe {
	display: block;
	max-width: 100%;
	height: auto;
}

.nextshop-footer-enamad {
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	text-decoration: none;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.nextshop-footer-enamad:hover {
	transform: scale(1.04);
	opacity: 0.92;
}

.nextshop-footer-enamad img,
.nextshop-footer-enamad__img {
	width: 90px;
	height: auto;
	object-fit: contain;
}

.nextshop-footer-bottom {
	padding: 1.15rem 0 1.5rem;
	border-top: 1px solid var(--ns-border);
}

.nextshop-copyright {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.35rem 0.5rem;
	text-align: center;
	font-size: 0.82rem;
	color: var(--ns-muted);
}

.nextshop-copyright a {
	color: var(--ns-text);
	font-weight: 600;
	text-decoration: none;
	transition: color 0.2s ease;
}

.nextshop-copyright a:hover {
	color: var(--ns-primary);
}

.nextshop-copyright__sep {
	opacity: 0.45;
}

.nextshop-copyright__powered {
	opacity: 0.85;
}

@media (max-width: 900px) {
	.nextshop-footer-main {
		grid-template-columns: 1fr 1fr;
	}

	.nextshop-footer-trust {
		grid-column: 1 / -1;
		justify-content: flex-start;
	}
}

@media (max-width: 640px) {
	.nextshop-footer-main {
		grid-template-columns: 1fr;
		gap: 1.75rem;
		padding: 2rem 0 1.5rem;
	}

	.nextshop-footer-brand {
		max-width: none;
	}

	.nextshop-footer-nav {
		justify-content: flex-start;
	}

	.nextshop-footer-menu {
		flex-direction: row;
		max-height: none;
	}

	.nextshop-footer-trust {
		justify-content: flex-start;
	}

	.nextshop-copyright {
		flex-direction: column;
		gap: 0.25rem;
	}

	.nextshop-copyright__sep {
		display: none;
	}
}

/* =========================================
 * Dark color base overrides
 * ========================================= */
body.nextshop-color-dark {
	color-scheme: dark;
}

body.nextshop-color-dark .nextshop-search-form .search-icon,
body.nextshop-color-dark .nextshop-search-suggestion-price,
body.nextshop-color-dark .nextshop-search-suggestions-empty,
body.nextshop-color-dark .nextshop-search-suggestions-loading,
body.nextshop-color-dark .nextshop-cart-empty {
	color: var(--ns-muted);
}

body.nextshop-color-dark .nextshop-search-suggestion-item:hover {
	background: var(--ns-menu-hover-bg);
}

body.nextshop-color-dark .nextshop-header-action-btn,
body.nextshop-color-dark .nextshop-notifications-dropdown,
body.nextshop-color-dark .nextshop-cart-dropdown,
body.nextshop-color-dark .nextshop-notifications-dropdown-header,
body.nextshop-color-dark .nextshop-cart-dropdown-header,
body.nextshop-color-dark .nextshop-filter-form:not(.nextshop-filter-form--advanced),
body.nextshop-color-dark .nextshop-dashboard-sidebar,
body.nextshop-color-dark .nextshop-btn-outline,
body.nextshop-color-dark .nextshop-card,
body.nextshop-color-dark .nextshop-page-card,
body.nextshop-color-dark .nextshop-auth-card {
	background: var(--ns-surface);
	border-color: var(--ns-border);
	color: var(--ns-text);
}

body.nextshop-color-dark .nextshop-notifications-dropdown-header h2,
body.nextshop-color-dark .nextshop-cart-dropdown-header h2,
body.nextshop-color-dark .nextshop-notification-item__title {
	color: var(--ns-text);
}

body.nextshop-color-dark .nextshop-notification-item__body,
body.nextshop-color-dark .nextshop-notification-item__date,
body.nextshop-color-dark .nextshop-cart-dropdown-header span {
	color: var(--ns-muted);
}

body.nextshop-color-dark .nextshop-notifications-list--dropdown .nextshop-notification-item,
body.nextshop-color-dark .nextshop-cart-dropdown .woocommerce-mini-cart-item {
	border-color: var(--ns-border);
}

body.nextshop-color-dark .nextshop-highlights-section {
	background: linear-gradient(180deg, var(--ns-surface) 0%, var(--ns-bg) 100%);
}

body.nextshop-color-dark .nextshop-footer-bottom,
body.nextshop-color-dark .nextshop-mobile-drawer__nav a {
	color: var(--ns-muted);
}

body.nextshop-color-dark .nextshop-mobile-drawer__nav a:hover,
body.nextshop-color-dark .nextshop-footer-menu a:hover {
	color: var(--ns-text);
}

body.nextshop-color-dark .nextshop-site-title,
body.nextshop-color-dark a:not(.button):not(.nextshop-btn-primary) {
	color: inherit;
}

