/**
 * تم کاسپین — استایل‌های اختصاصی (استفاده از Tailwind در HTML)
 * متغیرهای رنگی (--t1, --t2, ...) در صفحه با PHP تنظیم می‌شوند.
 */

/* تم کاسپین — دریای خزر */
.theme-caspian {
	--caspian-bg: #edf1f5;
	--caspian-page-bg: linear-gradient(180deg, #edf1f5 0%, #e4eaf1 50%, #edf1f5 100%);
	--caspian-page-bg-color1: #edf1f5;
	--caspian-page-bg-color2: #e4eaf1;
	--caspian-page-bg-type: gradient;
	--caspian-page-bg-opacity: 1;
	--caspian-page-bg-strength: 1;
	--caspian-pattern-image:
		radial-gradient(circle, rgba(42, 139, 196, 0.11) 1.25px, transparent 1.25px),
		url("data:image/svg+xml,%3Csvg width='56' height='28' viewBox='0 0 56 28' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 14c7 0 7-8 14-8s7 8 14 8 7-8 14-8 7 8 14 8' fill='none' stroke='%232A8BC4' stroke-opacity='0.1' stroke-width='1.5'/%3E%3C/svg%3E");
	background-color: var(--caspian-bg);
	background-image: var(--caspian-pattern-image);
	background-size: 20px 20px, 56px 28px;
	position: relative;
}

.theme-caspian::before {
	content: '';
	position: fixed;
	inset: 0;
	background-image:
		radial-gradient(circle at 10% 20%, rgba(6,182,212,0.07) 0%, transparent 40%),
		radial-gradient(circle at 90% 80%, rgba(14,116,144,0.07) 0%, transparent 40%),
		radial-gradient(circle at 50% 50%, rgba(6,182,212,0.04) 0%, transparent 60%);
	pointer-events: none;
	z-index: 0;
}

/* رنگ سفارشی روی پترن — شفافیت از --caspian-page-bg-opacity */
.theme-caspian.theme-caspian-custom-bg {
	background-color: var(--caspian-page-bg-color1);
	background-image: var(--caspian-pattern-image);
	background-size: 20px 20px, 56px 28px;
	background-attachment: fixed;
	isolation: isolate;
}

.theme-caspian.theme-caspian-custom-bg::before {
	z-index: 0;
}

.theme-caspian.theme-caspian-custom-bg::after {
	content: '';
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: var(--caspian-page-bg);
	background-size: 100% 100%;
	opacity: var(--caspian-page-bg-opacity, 1);
}

.theme-caspian > *:not(.caspian-store-overlay):not(.caspian-header-mobile):not(#store-user-portal):not(#cs-store-portal):not(#caspianCatSheet) {
	position: relative;
	z-index: 1;
}

.theme-caspian .caspian-store-overlay {
	z-index: 10050;
}

/* هدر موبایل — فقط زیر ۱۰۲۴px */
.theme-caspian .caspian-header-mobile {
	display: none;
}

@media (max-width: 1023px) {
	.theme-caspian.has-mobile-header {
		padding-top: 3.5rem;
	}

	.theme-caspian .caspian-header-mobile {
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 40;
		background: linear-gradient(180deg,
			color-mix(in srgb, var(--caspian-page-bg-color1) 68%, transparent) 0%,
			color-mix(in srgb, var(--caspian-page-bg-color2) 78%, transparent) 100%);
		backdrop-filter: blur(18px) saturate(130%);
		-webkit-backdrop-filter: blur(18px) saturate(130%);
		border-bottom: 1px solid color-mix(in srgb, #0891b2 8%, rgba(148, 163, 184, 0.18));
		box-shadow: 0 6px 18px -10px rgba(15, 23, 42, 0.14);
	}

	.theme-caspian .caspian-header-inner {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 0.75rem;
		padding: 0 1rem;
		height: 3.5rem;
	}

	.theme-caspian .caspian-header-brand {
		flex: 1;
		min-width: 0;
		display: flex;
		align-items: center;
	}

	.theme-caspian .caspian-header-title {
		font-weight: 700;
		font-size: 1rem;
		color: var(--store-heading-section);
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		margin: 0;
	}

	.theme-caspian .caspian-header-logo {
		width: 2.5rem;
		height: 2.5rem;
		border-radius: 0.75rem;
		object-fit: cover;
		border: 1px solid rgba(6,182,212,0.12);
		box-shadow: 0 2px 8px rgba(14,116,144,0.1);
	}

	.theme-caspian .caspian-header-cat-btn {
		display: inline-flex;
		align-items: center;
		gap: 0.375rem;
		flex-shrink: 0;
		padding: 0.5rem 0.875rem;
		min-height: 2.5rem;
		border-radius: 9999px;
		border: 1px solid rgba(6,182,212,0.2);
		background: rgba(255,255,255,0.9);
		color: var(--t1);
		font-size: 0.8125rem;
		font-weight: 700;
		cursor: pointer;
		transition: all 0.2s ease;
		-webkit-tap-highlight-color: transparent;
	}

	.theme-caspian .caspian-header-cat-btn:active {
		transform: scale(0.97);
	}

	.theme-caspian .caspian-header-cat-btn.is-open,
	.theme-caspian .caspian-header-cat-btn.is-active-cat {
		color: #fff;
		border-color: transparent;
		background: linear-gradient(135deg, var(--t2) 0%, var(--t1) 100%);
		box-shadow: 0 4px 14px rgba(6,182,212,0.35);
	}
}

.theme-caspian .caspian-cover {
	border-radius: 0 0 2.5rem 2.5rem;
	overflow: hidden;
	box-shadow: 0 20px 60px -20px rgba(14,116,144,0.25), inset 0 1px 0 rgba(255,255,255,0.3);
}

.theme-caspian .caspian-hero {
	background: linear-gradient(180deg, rgba(255,255,255,0.6) 0%, rgba(240,249,255,0.5) 100%);
	backdrop-filter: blur(20px);
	border-radius: 2rem;
	border: 1px solid rgba(255,255,255,0.8);
	box-shadow: 0 4px 24px -4px rgba(14,116,144,0.08);
}

.theme-caspian .caspian-collection-section .swiper-slide {
	height: auto;
}
.theme-caspian .caspian-collection-img-btn {
	z-index: 5;
}
.theme-caspian .caspian-collection-direct.store-direct-fab {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	z-index: 5;
}
.theme-caspian .caspian-action-icon {
	width: 1.15rem;
	height: 1.15rem;
	flex-shrink: 0;
	display: block;
}

/* لایک کاسپین — قلب و تعداد جدا (مثل آریا) */
.theme-caspian .product-like-wrap {
	position: absolute;
	top: 0.5rem;
	left: 0.5rem;
	z-index: 6;
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
	gap: 0.35rem;
	pointer-events: none;
}
.theme-caspian .product-like-wrap .product-like-btn,
.theme-caspian .product-like-wrap .product-like-btn__count {
	pointer-events: auto;
}
.theme-caspian .product-like-wrap .product-like-btn {
	position: static;
	width: 2.25rem;
	height: 2.25rem;
	min-height: 0;
	padding: 0;
	border-radius: 0.65rem;
	justify-content: center;
	gap: 0;
}
.theme-caspian .product-like-wrap .product-like-btn__icon {
	width: 1.15rem;
	height: 1.15rem;
}
.theme-caspian .product-like-wrap .product-like-btn__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25rem;
	height: 2.25rem;
	padding: 0 0.45rem;
	border-radius: 0.65rem;
	background: rgba(15, 23, 42, 0.55);
	color: #fff;
	backdrop-filter: blur(8px);
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.theme-caspian .product-like-wrap .product-like-btn__count[hidden] {
	display: none !important;
}
.theme-caspian .product-like-wrap .product-like-btn.is-liked + .product-like-btn__count,
.theme-caspian .product-like-wrap:has(.product-like-btn.is-liked) .product-like-btn__count {
	background: rgba(225, 29, 72, 0.9);
}

.theme-caspian .caspian-product-actions {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.5rem;
}
.theme-caspian .caspian-product-action-slot {
	min-width: 0;
}
.theme-caspian .caspian-product-action-btn {
	width: 100% !important;
	margin-top: 0 !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.375rem;
	padding: 0.5rem 0.5rem;
	min-height: 2.6rem;
	border-radius: 0.75rem;
	font-size: 0.8125rem;
	font-weight: 600;
	box-shadow: 0 4px 14px rgba(14, 116, 144, 0.15);
}
.theme-caspian .caspian-product-action-label {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.theme-caspian .btn-product-details-collection:hover,
.theme-caspian .caspian-collection-pay-btn:hover {
	box-shadow: 0 4px 14px rgba(14,116,144,0.5) !important;
}
.theme-caspian .caspian-collection-section .product-card {
	min-height: 100%;
}
.theme-caspian .caspian-collection-section .product-card--collection {
	border-radius: 1.25rem;
}
.theme-caspian .caspian-collection-card-body {
	padding: 0.875rem 0.875rem 0.75rem;
}
@media (min-width: 640px) {
	.theme-caspian .caspian-collection-card-body {
		padding: 1rem 1rem 0.875rem;
	}
}

.theme-caspian .caspian-store-hero {
	margin-bottom: 1.5rem;
}

.theme-caspian .caspian-store-title {
	font-size: 1.125rem;
	line-height: 1.45;
	margin-bottom: 0;
	letter-spacing: -0.01em;
	padding-inline: 0.25rem;
}

.theme-caspian .caspian-title-line {
	width: 3rem;
	height: 3px;
	border-radius: 9999px;
	background: linear-gradient(90deg, var(--t1), var(--t2));
	margin: 0.5rem auto 0;
	box-shadow: 0 2px 8px rgba(6, 182, 212, 0.3);
}

.theme-caspian .caspian-store-desc {
	font-size: 0.8125rem;
	line-height: 1.65;
	margin: 0.85rem auto 0;
	max-width: 36rem;
	padding-inline: 0.25rem;
	color: var(--store-text, #475569);
}

@media (min-width: 640px) {
	.theme-caspian .caspian-store-hero {
		margin-bottom: 3rem;
	}

	.theme-caspian .caspian-store-title {
		font-size: 2rem;
		line-height: 1.3;
	}

	.theme-caspian .caspian-title-line {
		width: 5rem;
		height: 4px;
		margin-top: 1rem;
	}

	.theme-caspian .caspian-store-desc {
		font-size: 1.0625rem;
		line-height: 1.7;
		margin-top: 1.25rem;
	}
}

@media (min-width: 1024px) {
	.theme-caspian .caspian-store-title {
		font-size: 2.25rem;
	}

	.theme-caspian .caspian-store-desc {
		font-size: 1.125rem;
	}
}

.theme-caspian .caspian-collection-nav {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-shrink: 0;
}
.theme-caspian .caspian-swiper-prev,
.theme-caspian .caspian-swiper-next {
	width: 2.5rem;
	height: 2.5rem;
	min-width: 2.5rem;
	min-height: 2.5rem;
	max-width: 2.5rem;
	max-height: 2.5rem;
	padding: 0;
	margin: 0;
	border-radius: 50%;
	aspect-ratio: 1 / 1;
	box-sizing: border-box;
	-webkit-appearance: none;
	appearance: none;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	border: 1px solid #e2e8f0;
	background: rgba(255, 255, 255, 0.85);
	color: #475569;
	box-shadow: 0 1px 2px rgba(14, 116, 144, 0.08);
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
	-webkit-tap-highlight-color: transparent;
}
.theme-caspian .caspian-swiper-prev:hover,
.theme-caspian .caspian-swiper-next:hover {
	background: #fff;
	color: #0e7490;
	box-shadow: 0 4px 12px rgba(14, 116, 144, 0.14);
}
.theme-caspian .caspian-swiper-prev svg,
.theme-caspian .caspian-swiper-next svg {
	width: 1.15rem;
	height: 1.15rem;
	display: block;
	flex-shrink: 0;
}
@media (pointer: coarse) {
	.theme-caspian .caspian-swiper-prev,
	.theme-caspian .caspian-swiper-next {
		width: 2.75rem;
		height: 2.75rem;
		min-width: 2.75rem;
		min-height: 2.75rem;
		max-width: 2.75rem;
		max-height: 2.75rem;
		border-radius: 50%;
		padding: 0;
	}
}

.theme-caspian .product-card {
	border-radius: 1.5rem;
	background: linear-gradient(180deg, rgba(255,255,255,0.65) 0%, rgba(248,250,252,0.55) 100%);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid rgba(255,255,255,0.8);
	box-shadow: 0 4px 24px -4px rgba(14,116,144,0.08), 0 0 0 1px rgba(255,255,255,0.5), inset 0 1px 0 rgba(255,255,255,0.6);
	transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.35s ease;
}

/* توضیحات محصول: ۲ خط ثابت، فاصله خط بیشتر، سه‌نقطه اگر بلندتر */
.theme-caspian .caspian-product-desc {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.65;
	min-height: 3.3em;
	font-size: 0.875rem;
	margin-bottom: 0.5rem;
}

.theme-caspian .product-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 28px 56px -16px rgba(14,116,144,0.2), 0 0 0 1px rgba(6,182,212,0.08);
}

.theme-caspian .product-gallery-main {
	aspect-ratio: 1;
	background: linear-gradient(145deg, #edf1f5 0%, #e4eaf1 100%);
	border-radius: 1.25rem;
	border: 1px solid rgba(6,182,212,0.08);
}

.theme-caspian .product-thumbs { gap: 0.5rem; }

.theme-caspian .product-thumb {
	aspect-ratio: 1;
	cursor: pointer;
	border: 2px solid transparent;
	border-radius: 0.75rem;
	transition: border-color .2s, opacity .2s, transform .2s;
	background: rgba(255,255,255,0.8);
}

.theme-caspian .product-thumb:hover { transform: scale(1.05); }

.theme-caspian .product-thumb:hover,
.theme-caspian .product-thumb.active { border-color: var(--store-price); opacity: 1; }

.theme-caspian .product-thumb:not(.active) { opacity: 0.82; }

.theme-caspian .price-accent { color: var(--store-price); }

/* اندازه یکسان دکمه‌ها */
.theme-caspian .caspian-card-actions { align-items: center; }

.theme-caspian .caspian-card-actions > button,
.theme-caspian .caspian-card-actions > a {
	flex: none !important;
	width: auto !important;
	height: 44px !important;
	min-height: 44px !important;
	max-height: 44px !important;
	padding: 0 1rem !important;
	display: inline-flex !important;
	align-items: center !important;
	box-sizing: border-box !important;
}

.theme-caspian .store-footer {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg,
		color-mix(in srgb, var(--caspian-page-bg-color1) 66%, transparent) 0%,
		color-mix(in srgb, var(--caspian-page-bg-color2) 76%, transparent) 100%) !important;
	border-top-color: color-mix(in srgb, #0891b2 8%, rgba(148, 163, 184, 0.18)) !important;
	backdrop-filter: blur(18px) saturate(130%);
	-webkit-backdrop-filter: blur(18px) saturate(130%);
	box-shadow: 0 -14px 34px rgba(15, 23, 42, 0.07);
}

.theme-caspian .store-footer::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(255,255,255,0.22), rgba(255,255,255,0.06));
	pointer-events: none;
}

.theme-caspian .store-footer > div {
	max-width: 1400px;
	position: relative;
	z-index: 1;
	min-height: 2.75rem;
}

.theme-caspian .store-footer .store-footer-inner {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	white-space: nowrap;
	line-height: 1.1;
}

.theme-caspian .store-footer .store-footer-brand,
.theme-caspian .store-footer .store-footer-copy {
	display: inline-flex;
	align-items: center;
	line-height: 1.1;
	margin: 0;
}

.theme-caspian .store-footer .store-heading-section,
.theme-caspian .store-footer .store-product-title {
	color: var(--store-heading-section) !important;
}

.theme-caspian .store-footer .store-product-title {
	color: var(--store-title) !important;
}

@media (max-width: 768px) {
	.theme-caspian .store-footer > div {
		padding-top: 0.5rem;
		padding-bottom: 0.5rem;
		min-height: 2.5rem;
	}

	.theme-caspian .store-footer .store-footer-inner {
		gap: 0.3rem;
		font-size: 0.7rem;
	}
}

/* لایت‌باکس */
.theme-caspian .lightbox {
	position: fixed; inset: 0; z-index: 9999;
	background: rgba(15,23,42,0.92); backdrop-filter: blur(8px);
	display: flex; align-items: center; justify-content: center;
	opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}

.theme-caspian .lightbox.open { opacity: 1; visibility: visible; }

.theme-caspian .lightbox img {
	position: relative;
	z-index: 1;
	max-width: 90vw;
	max-height: calc(90vh - 5rem);
	object-fit: contain;
	border-radius: 1rem;
	box-shadow: 0 32px 64px rgba(0,0,0,.4);
	pointer-events: none;
}

.theme-caspian .lightbox-stage {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: min(90vw, 1000px);
	max-width: 100%;
	max-height: calc(90vh - 2rem);
}

.theme-caspian .lightbox-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	width: 48px;
	height: 48px;
	min-width: 48px;
	min-height: 48px;
	border-radius: 50%;
	background: rgba(6,182,212,0.45);
	color: #fff;
	border: 1px solid rgba(255,255,255,0.25);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .2s;
	-webkit-tap-highlight-color: transparent;
}

@media (min-width: 640px) {
	.theme-caspian .lightbox-btn {
		width: 52px;
		height: 52px;
		min-width: 52px;
		min-height: 52px;
	}
}

.theme-caspian .lightbox-btn:hover,
.theme-caspian .lightbox-btn:active { background: rgba(6,182,212,0.5); }

.theme-caspian .lightbox-btn.prev { right: 12px; }

.theme-caspian .lightbox-btn.next { left: 12px; }

@media (min-width: 640px) {
	.theme-caspian .lightbox-btn.prev { right: 24px; }
	.theme-caspian .lightbox-btn.next { left: 24px; }
}

.theme-caspian .lightbox-close {
	position: absolute;
	z-index: 10;
	top: max(12px, env(safe-area-inset-top));
	left: max(12px, env(safe-area-inset-left));
	width: 48px; height: 48px; min-width: 48px; min-height: 48px;
	border-radius: 50%; background: rgba(255,255,255,0.15); color: #fff;
	border: none; cursor: pointer; font-size: 26px; line-height: 1;
	display: flex; align-items: center; justify-content: center;
	transition: background .2s; -webkit-tap-highlight-color: transparent;
}

.theme-caspian .lightbox-close:hover,
.theme-caspian .lightbox-close:active { background: rgba(255,255,255,0.25); }

.theme-caspian .lightbox-counter {
	position: absolute;
	z-index: 10;
	bottom: max(20px, env(safe-area-inset-bottom));
	left: 50%;
	transform: translateX(-50%);
	color: rgba(255,255,255,.9);
	font-size: 15px;
}

/* مودال توضیحات — وسط دقیق در هر دیوایس */
.theme-caspian .caspian-details-modal {
	position: fixed; inset: 0; z-index: 9998;
	width: 100vw; min-height: 100vh; min-height: 100dvh;
	background: rgba(15,23,42,.45); backdrop-filter: blur(10px);
	display: flex; align-items: center; justify-content: center;
	opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
	padding: 1rem; box-sizing: border-box;
}

.theme-caspian .caspian-details-modal.open { opacity: 1; visibility: visible; }

.theme-caspian .caspian-details-modal .modal-box {
	background: linear-gradient(180deg, #ffffff 0%, #edf1f5 100%);
	border-radius: 1.5rem; max-width: 480px; width: 100%;
	min-height: 320px; max-height: 85vh; overflow-y: auto;
	box-shadow: 0 32px 64px rgba(14,116,144,0.2), 0 0 0 1px rgba(6,182,212,0.1);
	transform: scale(0.92);
	transition: transform .35s cubic-bezier(0.34,1.56,0.64,1);
	margin: auto;
}

.theme-caspian .caspian-details-modal.open .modal-box {
	transform: scale(1);
}

.theme-caspian .caspian-details-modal .modal-header {
	padding: 0.875rem 1.25rem;
	background: linear-gradient(135deg, rgba(6,182,212,0.06) 0%, rgba(14,116,144,0.06) 100%);
	border-bottom: 1px solid rgba(6,182,212,0.12);
	border-radius: 1.5rem 1.5rem 0 0;
}

.theme-caspian .caspian-details-modal .modal-header h4 {
	color: var(--t3); font-size: 1.125rem; font-weight: 700;
}
.theme-caspian .caspian-detail-sku-row .detail-value {
	font-weight: 600;
	color: var(--t1);
	letter-spacing: 0.02em;
}

.theme-caspian .caspian-details-modal .modal-close {
	width: 42px; height: 42px; border-radius: 1rem;
	background: rgba(6,182,212,0.1); border: none; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	color: #0e7490; font-size: 1.25rem; transition: all .2s;
}

.theme-caspian .caspian-details-modal .modal-close:hover {
	background: rgba(6,182,212,0.2); color: var(--t1);
}

.theme-caspian .caspian-details-modal .modal-body { padding: 0.75rem 1.25rem 1rem; }

.theme-caspian .caspian-details-modal .detail-row {
	display: flex; padding: 0.5rem 0;
	border-bottom: 1px solid rgba(6,182,212,0.1);
	gap: 0.75rem; align-items: flex-start;
}

.theme-caspian .caspian-details-modal .detail-row:last-child { border-bottom: none; }

.theme-caspian .caspian-details-modal .detail-label {
	font-weight: 600; color: var(--t1); min-width: 5.5rem; font-size: 0.875rem;
}

.theme-caspian .caspian-details-modal .detail-value {
	color: #334155; font-size: 0.875rem; line-height: 1.5;
}

.theme-caspian .caspian-details-modal .detail-value.multiline { white-space: pre-line; }

/* ——— فیلتر دسته‌بندی ——— */
.theme-caspian .caspian-cat-nav {
	display: none;
	padding: 0.25rem;
	border-radius: 1.25rem;
	background: rgba(255,255,255,0.55);
	border: 1px solid rgba(6,182,212,0.12);
	backdrop-filter: blur(12px);
	box-shadow: 0 4px 20px -6px rgba(14,116,144,0.1);
}
.theme-caspian .caspian-cat-nav-track {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
}
.theme-caspian .caspian-cat-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	padding: 0.625rem 1.25rem;
	border-radius: 9999px;
	font-size: 0.875rem;
	font-weight: 600;
	color: #64748b;
	background: transparent;
	border: 1px solid transparent;
	cursor: pointer;
	transition: all 0.25s ease;
	white-space: nowrap;
}
.theme-caspian .caspian-cat-btn-chevron { opacity: 0.7; flex-shrink: 0; }
.theme-caspian .caspian-cat-btn:hover {
	color: var(--store-price);
	background: rgba(6,182,212,0.08);
}
.theme-caspian .caspian-cat-btn.is-active {
	color: #fff;
	background: var(--store-btn-bg);
	border-color: transparent;
	box-shadow: 0 4px 14px rgba(6,182,212,0.35);
}
.theme-caspian .caspian-cat-nav.is-drilled .caspian-cat-nav-track {
	justify-content: flex-start;
	gap: 0.4rem;
}
.theme-caspian .caspian-cat-nav.is-drilled .caspian-cat-btn {
	padding: 0.55rem 1rem;
	background: #fff;
	border: 1px solid rgba(6,182,212,0.15);
	color: #475569;
	box-shadow: none;
}
.theme-caspian .caspian-cat-nav.is-drilled .caspian-cat-btn:hover {
	border-color: color-mix(in srgb, var(--t1) 35%, #e2e8f0);
	color: var(--t1);
	background: rgba(6,182,212,0.08);
}
.theme-caspian .caspian-cat-nav.is-drilled .caspian-cat-btn.is-active {
	color: #fff;
	background: var(--store-btn-bg);
	border-color: transparent;
	box-shadow: 0 4px 14px rgba(6,182,212,0.35);
}
.theme-caspian .caspian-cat-btn--back {
	color: #64748b !important;
	background: #edf1f5 !important;
	border-color: rgba(6,182,212,0.18) !important;
}
.theme-caspian .caspian-cat-btn--parent { font-weight: 700; }
.theme-caspian .caspian-cat-btn--sub { font-weight: 500; }
.theme-caspian .store-product-item { transition: opacity 0.3s ease, transform 0.3s ease; }
.theme-caspian .store-product-item.caspian-filter-hidden { display: none !important; }
.theme-caspian .caspian-cat-empty.hidden { display: none; }
.theme-caspian .caspian-load-more-wrap { padding: 1.5rem 0 2.5rem; text-align: center; }
.theme-caspian .caspian-load-more-wrap.hidden { display: none; }
.theme-caspian .caspian-load-more-wrap.is-loading .caspian-load-text { color: #475569; }
.theme-caspian .caspian-load-sentinel { width: 100%; height: 1px; }
.theme-caspian .caspian-load-more-status {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.625rem;
	min-height: 2.5rem; color: #64748b; font-size: 0.875rem;
}
.theme-caspian .caspian-load-spinner {
	width: 1.25rem; height: 1.25rem;
	border: 2px solid rgba(14, 116, 144, 0.15); border-top-color: var(--t1);
	border-radius: 50%; animation: caspian-spin 0.7s linear infinite;
}
@keyframes caspian-spin { to { transform: rotate(360deg); } }
@media (min-width: 1024px) {
	.theme-caspian .caspian-cat-nav { display: block; margin-bottom: 2rem; }
}
.theme-caspian .caspian-cat-sheet {
	display: none; position: fixed; inset: 0; z-index: 9990;
	pointer-events: none; opacity: 0; visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}
@media (max-width: 1023px) { .theme-caspian .caspian-cat-sheet { display: block; } }
.theme-caspian .caspian-cat-sheet.is-open { pointer-events: auto; opacity: 1; visibility: visible; }
.theme-caspian .caspian-cat-sheet-backdrop {
	position: absolute; inset: 0; background: rgba(15,23,42,0.4); backdrop-filter: blur(4px);
}
.theme-caspian .caspian-cat-sheet-panel {
	position: absolute; left: 0; right: 0; bottom: 0; max-height: 78vh;
	padding: 1rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom));
	background: linear-gradient(180deg, #ffffff 0%, #edf1f5 100%);
	border-radius: 1.75rem 1.75rem 0 0;
	box-shadow: 0 -12px 40px rgba(14,116,144,0.15);
	transform: translateY(100%);
	transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
	overflow-x: hidden;
	overflow-y: auto;
}
.theme-caspian .caspian-cat-sheet.is-open .caspian-cat-sheet-panel { transform: translateY(0); }
.theme-caspian .caspian-cat-sheet-handle {
	width: 2.5rem; height: 0.25rem; border-radius: 9999px;
	background: rgba(6,182,212,0.25); margin: 0 auto 0.75rem;
}
.theme-caspian .caspian-cat-sheet-head {
	display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.35rem;
	transition: opacity 0.2s ease, transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
}
.theme-caspian .caspian-cat-sheet-back {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	min-width: 2.25rem;
	min-height: 2.25rem;
	max-width: 2.25rem;
	max-height: 2.25rem;
	padding: 0;
	margin: 0;
	border-radius: 50%;
	aspect-ratio: 1 / 1;
	box-sizing: border-box;
	-webkit-appearance: none;
	appearance: none;
	overflow: hidden;
	flex-shrink: 0;
	border: 1px solid rgba(6,182,212,0.18);
	background: rgba(255,255,255,0.9);
	color: #475569;
	cursor: pointer;
}
@media (pointer: coarse) {
	.theme-caspian .caspian-cat-sheet-back {
		width: 2.5rem;
		height: 2.5rem;
		min-width: 2.5rem;
		min-height: 2.5rem;
		max-width: 2.5rem;
		max-height: 2.5rem;
		border-radius: 50%;
		padding: 0;
	}
}
.theme-caspian .caspian-cat-sheet-back svg {
	width: 1.15rem;
	height: 1.15rem;
	display: block;
	flex-shrink: 0;
}
.theme-caspian .caspian-cat-sheet-back[hidden] { display: none !important; }
.theme-caspian .caspian-cat-sheet-title {
	flex: 1; margin: 0; font-size: 1.0625rem; font-weight: 800;
	text-align: center; padding-inline-end: 2.25rem;
}
.theme-caspian .caspian-cat-sheet-sub {
	font-size: 0.8125rem; color: #64748b; text-align: center; margin: 0 0 1rem;
	transition: opacity 0.2s ease, transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
}
.theme-caspian .caspian-cat-sheet-sub[hidden] { display: none !important; }
.theme-caspian .caspian-cat-sheet-list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	transform: translate3d(0, 0, 0);
	opacity: 1;
	transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.22s ease;
	will-change: transform, opacity;
}
.theme-caspian .caspian-cat-sheet-list.is-sheet-leave-forward {
	transform: translate3d(30%, 0, 0);
	opacity: 0;
}
.theme-caspian .caspian-cat-sheet-list.is-sheet-leave-back {
	transform: translate3d(-30%, 0, 0);
	opacity: 0;
}
.theme-caspian .caspian-cat-sheet-list.is-sheet-enter-forward {
	transform: translate3d(-28%, 0, 0);
	opacity: 0;
	transition: none;
}
.theme-caspian .caspian-cat-sheet-list.is-sheet-enter-back {
	transform: translate3d(28%, 0, 0);
	opacity: 0;
	transition: none;
}
.theme-caspian .caspian-cat-sheet-list.is-sheet-enter-active {
	transform: translate3d(0, 0, 0);
	opacity: 1;
}
.theme-caspian .caspian-cat-sheet-head.is-sheet-head-leave,
.theme-caspian .caspian-cat-sheet-sub.is-sheet-head-leave {
	opacity: 0;
	transform: translate3d(12%, 0, 0);
}
.theme-caspian .caspian-cat-sheet-head.is-sheet-head-enter,
.theme-caspian .caspian-cat-sheet-sub.is-sheet-head-enter {
	opacity: 0;
	transform: translate3d(-12%, 0, 0);
	transition: none;
}
.theme-caspian .caspian-cat-sheet-head.is-sheet-head-active,
.theme-caspian .caspian-cat-sheet-sub.is-sheet-head-active {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}
@media (prefers-reduced-motion: reduce) {
	.theme-caspian .caspian-cat-sheet-list,
	.theme-caspian .caspian-cat-sheet-head,
	.theme-caspian .caspian-cat-sheet-sub {
		transition: none !important;
	}
}
.theme-caspian .caspian-cat-sheet-item {
	display: flex; flex-direction: row; align-items: center; gap: 0.75rem;
	width: 100%; padding: 0.85rem 0.9rem; border-radius: 1rem;
	border: 1px solid rgba(6,182,212,0.12); background: rgba(255,255,255,0.85);
	color: #334155; font-size: 0.875rem; font-weight: 600; cursor: pointer;
	text-align: right; transition: all 0.2s ease; -webkit-tap-highlight-color: transparent;
}
.theme-caspian .caspian-cat-sheet-item:active { transform: scale(0.99); }
.theme-caspian .caspian-cat-sheet-dot {
	width: 0.55rem; height: 0.55rem; border-radius: 50%;
	background: rgba(6,182,212,0.35); flex-shrink: 0;
}
.theme-caspian .caspian-cat-sheet-name { flex: 1; min-width: 0; }
.theme-caspian .caspian-cat-sheet-meta {
	display: inline-flex; align-items: center; gap: 0.35rem; color: #94a3b8; flex-shrink: 0;
}
.theme-caspian .caspian-cat-sheet-count {
	font-size: 0.75rem; font-weight: 700; padding: 0.15rem 0.45rem;
	border-radius: 9999px; background: rgba(6,182,212,0.1); color: var(--t1);
}
.theme-caspian .caspian-cat-sheet-arrow,
.theme-caspian .caspian-cat-sheet-chevron { color: #94a3b8; flex-shrink: 0; }
.theme-caspian .caspian-cat-sheet-item.is-active {
	border-color: transparent;
	background: linear-gradient(135deg, var(--t2) 0%, var(--t1) 100%);
	color: #fff; box-shadow: 0 6px 20px rgba(6,182,212,0.35);
}
.theme-caspian .caspian-cat-sheet-item.is-active .caspian-cat-sheet-dot { background: #fff; }
.theme-caspian .caspian-cat-sheet-item.is-active .caspian-cat-sheet-meta,
.theme-caspian .caspian-cat-sheet-item.is-active .caspian-cat-sheet-arrow,
.theme-caspian .caspian-cat-sheet-item.is-active .caspian-cat-sheet-chevron { color: rgba(255,255,255,0.85); }
.theme-caspian .caspian-cat-sheet-item.is-active .caspian-cat-sheet-count {
	background: rgba(255,255,255,0.2); color: #fff;
}
/* ── Contact Icons ── */
.theme-caspian .caspian-contact-icons {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin: 1rem auto 0;
	max-width: 22rem;
}
.theme-caspian .caspian-contact-icon-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.35rem;
	height: 2.35rem;
	min-width: 2.35rem;
	min-height: 2.35rem;
	max-width: 2.35rem;
	max-height: 2.35rem;
	padding: 0;
	border-radius: 50%;
	aspect-ratio: 1 / 1;
	box-sizing: border-box;
	-webkit-appearance: none;
	appearance: none;
	overflow: hidden;
	text-decoration: none;
	box-shadow: 0 2px 10px rgba(255, 255, 255, 0.5), 0 3px 10px rgba(0, 0, 0, 0.18);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
	-webkit-tap-highlight-color: transparent;
}
.theme-caspian .caspian-contact-icon-link:hover {
	transform: translateY(-2px) scale(1.05);
	box-shadow: 0 4px 16px rgba(255, 255, 255, 0.65), 0 6px 18px rgba(0, 0, 0, 0.22);
}
.theme-caspian .caspian-contact-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	border-radius: inherit;
	background: #64748b;
	color: #fff;
	box-sizing: border-box;
}
.theme-caspian .caspian-contact-icon svg {
	width: 1.15rem;
	height: 1.15rem;
	stroke: currentColor;
}
.theme-caspian .caspian-contact-icon-img {
	width: 1.2rem;
	height: 1.2rem;
	display: block;
	object-fit: contain;
	filter: brightness(0) invert(1) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.25));
}
.theme-caspian .caspian-contact-icon-img--native {
	filter: brightness(0) invert(1) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.25));
}
.theme-caspian .caspian-contact-icon-link--telegram  .caspian-contact-icon { background: #0088cc; }
.theme-caspian .caspian-contact-icon-link--whatsapp  .caspian-contact-icon { background: #25D366; }
.theme-caspian .caspian-contact-icon-link--youtube   .caspian-contact-icon { background: #FF0000; }
.theme-caspian .caspian-contact-icon-link--mobile    .caspian-contact-icon { background: #0891b2; }
.theme-caspian .caspian-contact-icon-link--phone     .caspian-contact-icon { background: #F97316; }
.theme-caspian .caspian-contact-icon-link--instagram .caspian-contact-icon { background: linear-gradient(135deg, #833AB4 0%, #E1306C 50%, #F77737 100%); }
.theme-caspian .caspian-contact-icon-link--x         .caspian-contact-icon { background: #000000; }
.theme-caspian .caspian-contact-icon-link--website   .caspian-contact-icon { background: #0EA5E9; }
.theme-caspian .caspian-contact-icon-link--eitaa     .caspian-contact-icon { background: #F97316; }
.theme-caspian .caspian-contact-icon-link--bale      .caspian-contact-icon { background: #2563EB; }
.theme-caspian .caspian-contact-icon-link--gap       .caspian-contact-icon { background: #00A36C; }
.theme-caspian .caspian-contact-icon-link--soroush   .caspian-contact-icon { background: #0088cc; }
.theme-caspian .caspian-contact-icon-link--rubika    .caspian-contact-icon { background: #7C3AED; }
.theme-caspian .caspian-contact-icon-link--generic   .caspian-contact-icon { background: #475569; }

@media (min-width: 640px) {
	.theme-caspian .caspian-contact-icons {
		gap: 0.85rem;
		margin-top: 1.25rem;
		max-width: none;
	}
	.theme-caspian .caspian-contact-icon-link {
		width: 3.15rem;
		height: 3.15rem;
		min-width: 3.15rem;
		min-height: 3.15rem;
		max-width: 3.15rem;
		max-height: 3.15rem;
	}
	.theme-caspian .caspian-contact-icon svg {
		width: 1.65rem;
		height: 1.65rem;
	}
	.theme-caspian .caspian-contact-icon-img {
		width: 1.7rem;
		height: 1.7rem;
	}
}
