/* Applica Premium Mobile Dock */

.wvmhp-dock {
	--wvmhp-dock-space: 72px;
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99990;
	pointer-events: none;
	padding: 0 10px calc(8px + env(safe-area-inset-bottom, 0px));
	font-family: "Vazirmatn", Tahoma, sans-serif;
	direction: inherit;
	box-sizing: border-box;
	isolation: isolate;
}

html.wvmhp-has-dock,
body.wvmhp-has-dock {
	--wvmhp-dock-space: 72px;
}

html:not(.wvmhp-has-sa) body.wvmhp-has-dock {
	padding-bottom: calc(var(--wvmhp-dock-space, 72px) + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 1024px) {
	.wvmhp-dock {
		display: block;
	}
}

.wvmhp-dock--desktop {
	display: block;
}

.wvmhp-dock *,
.wvmhp-dock-layer * {
	box-sizing: border-box;
}

.wvmhp-dock__bar,
.wp-bottom-menu {
	pointer-events: auto;
	display: flex;
	align-items: center;
	justify-content: space-around;
	width: 100%;
	min-height: 56px;
	padding: 4px 4px 6px;
	background: var(--wvmhp-dock-bg, #fff);
	color: var(--wvmhp-dock-text, #64748b);
	border: 0;
	border-radius: 22px;
	box-shadow: 0 10px 28px rgba(15, 23, 42, .14);
	position: relative;
	overflow: visible;
}

.wvmhp-dock a.wvmhp-dock__item,
.wvmhp-dock .wvmhp-dock__item,
.wvmhp-dock .wp-bottom-menu-item,
.wp-bottom-menu-item {
	all: unset;
	appearance: none !important;
	-webkit-appearance: none !important;
	box-sizing: border-box !important;
	border: 0 !important;
	outline: 0 !important;
	background: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	position: relative;
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex: 1 1 0 !important;
	min-width: 0 !important;
	min-height: 0 !important;
	width: auto !important;
	height: auto !important;
	max-width: none !important;
	gap: 2px;
	padding: 4px 2px !important;
	margin: 0 !important;
	border-radius: 0 !important;
	text-decoration: none !important;
	color: var(--wvmhp-dock-text, #64748b) !important;
	font-size: var(--wvmhp-dock-font-size, 10px) !important;
	font-family: "Vazirmatn", Tahoma, sans-serif !important;
	font-weight: 600 !important;
	line-height: 1.15 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	cursor: pointer;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
	transition: color .2s ease, transform .18s ease;
}

.wvmhp-dock__item:hover,
.wvmhp-dock__item:focus,
.wvmhp-dock__item:focus-visible,
.wvmhp-dock__item.is-active,
.wp-bottom-menu-item.active {
	color: var(--wvmhp-dock-text-active, var(--wvmhp-dock-accent, #2563eb)) !important;
	border: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
}

.wvmhp-dock__item:active {
	transform: scale(.94);
}

.wvmhp-dock__icon-wrap,
.wp-bottom-menu-icon-wrapper {
	position: relative;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 28px !important;
	height: 28px !important;
	border: 0 !important;
	border-radius: 10px;
	background: transparent !important;
	box-shadow: none !important;
	margin: 0 auto !important;
	padding: 0 !important;
	overflow: visible;
	transition: background .2s ease, color .2s ease;
}

.wvmhp-dock__icon,
.wvmhp-dock__item i,
.wvmhp-dock .wvmhp-dock__item i,
.wp-bottom-menu-item i {
	position: static !important;
	display: block !important;
	width: 28px !important;
	height: 28px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
	font-size: var(--wvmhp-dock-icon-size, 18px) !important;
	line-height: 28px !important;
	text-align: center !important;
	vertical-align: middle !important;
	float: none !important;
	transform: none !important;
	inset: auto !important;
	color: var(--wvmhp-dock-icon, #64748b) !important;
	transition: color .2s ease;
}

.wvmhp-dock__item i::before,
.wvmhp-dock .wvmhp-dock__item i::before,
.wp-bottom-menu-item i::before {
	position: static !important;
	left: auto !important;
	top: auto !important;
	right: auto !important;
	bottom: auto !important;
	transform: none !important;
	display: inline !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 28px !important;
	vertical-align: middle !important;
}

.wvmhp-dock__item:hover .wvmhp-dock__icon,
.wvmhp-dock__item:hover i,
.wvmhp-dock__item.is-active .wvmhp-dock__icon,
.wvmhp-dock__item.is-active i,
.wp-bottom-menu-item.active i {
	color: var(--wvmhp-dock-icon-active, var(--wvmhp-dock-accent, #2563eb)) !important;
}

.wvmhp-dock__item.is-active .wvmhp-dock__icon-wrap,
.wp-bottom-menu-item.active .wvmhp-dock__icon-wrap {
	background: color-mix(in srgb, var(--wvmhp-dock-accent, #2563eb) 14%, transparent) !important;
}

.wvmhp-dock__label,
.wvmhp-dock .wvmhp-dock__label,
.wp-bottom-menu-item span {
	display: block !important;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
	color: inherit !important;
	font-size: inherit !important;
	font-weight: inherit !important;
	line-height: inherit !important;
}

.wvmhp-dock--no-labels .wvmhp-dock__label {
	display: none !important;
}

.wvmhp-dock--no-labels .wvmhp-dock__bar {
	min-height: 48px;
	padding-top: 6px;
	padding-bottom: 6px;
}

.wvmhp-dock__badge,
.wp-bottom-menu-cart-count {
	position: absolute;
	top: -2px;
	left: -2px;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 99px;
	background: #ef4444;
	color: #fff;
	font-size: 10px;
	font-weight: 800;
	line-height: 16px;
	text-align: center;
	box-shadow: 0 0 0 2px var(--wvmhp-dock-bg, #fff);
}

.wvmhp-dock__item.is-featured {
	transform: none;
}

.wvmhp-dock__item.is-featured .wvmhp-dock__icon-wrap {
	width: 36px !important;
	height: 36px !important;
	margin-top: -6px;
	border-radius: 50%;
	background: var(--wvmhp-dock-accent, #2563eb) !important;
	box-shadow: 0 6px 14px color-mix(in srgb, var(--wvmhp-dock-accent, #2563eb) 35%, transparent);
}

.wvmhp-dock__item.is-featured .wvmhp-dock__icon,
.wvmhp-dock__item.is-featured i {
	width: 36px !important;
	height: 36px !important;
	line-height: 36px !important;
	color: #fff !important;
	font-size: 16px !important;
}

.wvmhp-dock__item.is-featured i::before {
	line-height: 36px !important;
}

.wvmhp-dock__item.is-featured.is-active .wvmhp-dock__icon-wrap,
.wvmhp-dock__item.is-featured:hover .wvmhp-dock__icon-wrap {
	background: var(--wvmhp-dock-accent, #2563eb) !important;
	filter: none;
}

/* Flat / classic */
.wvmhp-dock--flat {
	padding: 0;
}

html.wvmhp-has-sa .wvmhp-dock--flat {
	padding-left: 0;
	padding-right: 0;
}

.wvmhp-dock--flat .wvmhp-dock__bar {
	border-radius: 18px 18px 0 0;
	box-shadow: 0 -8px 28px rgba(15, 23, 42, .1);
	padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
}

/* Glass */
.wvmhp-dock--glass .wvmhp-dock__bar {
	background: color-mix(in srgb, var(--wvmhp-dock-bg, #fff) 78%, transparent);
	backdrop-filter: blur(22px) saturate(180%);
	-webkit-backdrop-filter: blur(22px) saturate(180%);
	border: 1px solid rgba(255, 255, 255, .55);
	box-shadow: 0 14px 40px rgba(15, 23, 42, .16), inset 0 1px 0 rgba(255, 255, 255, .7);
}

/* Dark */
.wvmhp-dock--dark .wvmhp-dock__bar {
	background: rgba(15, 23, 42, .9);
	border: 1px solid rgba(255, 255, 255, .1);
	box-shadow: 0 16px 42px rgba(2, 6, 23, .45);
	color: #e2e8f0;
}

.wvmhp-dock--dark {
	--wvmhp-dock-text: #cbd5e1;
	--wvmhp-dock-icon: #cbd5e1;
	--wvmhp-dock-bg: #0f172a;
}

.wvmhp-dock--dark .wvmhp-dock__badge {
	box-shadow: 0 0 0 2px #0f172a;
}

.wvmhp-dock--dark .wvmhp-dock__item.is-active .wvmhp-dock__icon-wrap {
	background: color-mix(in srgb, var(--wvmhp-dock-accent, #38bdf8) 22%, transparent);
}

/* Neon */
.wvmhp-dock--neon .wvmhp-dock__bar {
	background: rgba(2, 6, 23, .94);
	border: 1px solid var(--wvmhp-dock-accent, #22d3ee);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--wvmhp-dock-accent, #22d3ee) 35%, transparent),
		0 10px 32px rgba(2, 6, 23, .55),
		0 0 28px color-mix(in srgb, var(--wvmhp-dock-accent, #22d3ee) 28%, transparent);
	color: #f8fafc;
}

.wvmhp-dock--neon {
	--wvmhp-dock-text: #e2e8f0;
	--wvmhp-dock-icon: #e2e8f0;
	--wvmhp-dock-bg: #020617;
}

.wvmhp-dock--neon .wvmhp-dock__item.is-active .wvmhp-dock__icon-wrap {
	box-shadow: 0 0 16px color-mix(in srgb, var(--wvmhp-dock-accent, #22d3ee) 55%, transparent);
}

/* Floating capsule */
.wvmhp-dock--float {
	padding-left: 14px;
	padding-right: 14px;
	padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
}

.wvmhp-dock--float .wvmhp-dock__bar {
	border-radius: 34px;
	box-shadow: 0 16px 44px rgba(15, 23, 42, .18);
}

body.wvmhp-dock-lock {
	overflow: hidden;
}

.wvmhp-dock-layer {
	position: fixed;
	inset: 0;
	z-index: 99995;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity .22s ease;
}

.wvmhp-dock-layer.is-open {
	opacity: 1;
	pointer-events: auto;
}

.wvmhp-dock-layer[hidden] {
	display: none !important;
}

.wvmhp-dock-layer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(2, 6, 23, .46);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.wvmhp-dock-layer__sheet {
	position: relative;
	width: min(560px, 100%);
	max-height: min(78vh, 640px);
	overflow: auto;
	background: #fff;
	color: #0f172a;
	border-radius: 24px 24px 0 0;
	padding: 12px 18px calc(92px + env(safe-area-inset-bottom, 0px));
	box-shadow: 0 -18px 50px rgba(2, 6, 23, .18);
	transform: translateY(24px);
	transition: transform .24s ease;
	font-family: "Vazirmatn", Tahoma, sans-serif;
}

.wvmhp-dock-layer.is-open .wvmhp-dock-layer__sheet {
	transform: translateY(0);
}

.wvmhp-dock-layer__handle {
	width: 42px;
	height: 4px;
	border-radius: 99px;
	background: rgba(15, 23, 42, .16);
	margin: 4px auto 12px;
}

.wvmhp-dock-layer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.wvmhp-dock-layer__head strong {
	font-size: 17px;
}

.wvmhp-dock-layer__x {
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 11px;
	background: rgba(15, 23, 42, .06);
	color: #0f172a;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.wvmhp-dock-layer__hint {
	margin: 0 0 8px;
	font-size: 12px;
	color: #64748b;
	font-weight: 700;
}

.wvmhp-dock-layer__empty {
	margin: 0 0 14px;
	font-size: 13px;
	line-height: 1.9;
	color: #64748b;
}

.wvmhp-dock-search {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
}

.wvmhp-dock-search i {
	position: absolute;
	right: 14px;
	color: #94a3b8;
}

.wvmhp-dock-search input[type="search"] {
	width: 100%;
	height: 48px;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 0 42px 0 86px;
	font-size: 16px;
	font-family: inherit;
	background: #f8fafc;
	outline: none;
}

.wvmhp-dock-search input[type="search"]:focus {
	border-color: var(--wvmhp-dock-accent, #2563eb);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--wvmhp-dock-accent, #2563eb) 16%, transparent);
}

.wvmhp-dock-search button {
	position: absolute;
	left: 6px;
	height: 36px;
	border: 0;
	border-radius: 10px;
	padding: 0 14px;
	background: var(--wvmhp-dock-accent, #2563eb);
	color: #fff;
	font-family: inherit;
	font-weight: 700;
	cursor: pointer;
}

.wvmhp-dock-cats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin-bottom: 16px;
}

.wvmhp-dock-cats__item {
	display: flex;
	align-items: center;
	min-height: 46px;
	padding: 10px 12px;
	border-radius: 14px;
	background: #f8fafc;
	color: #0f172a;
	text-decoration: none !important;
	font-size: 13px;
	font-weight: 700;
	border: 1px solid #eef2f7;
}

.wvmhp-dock-quick {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 16px;
}

.wvmhp-dock-quick a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px 8px;
	border-radius: 12px;
	color: #0f172a;
	text-decoration: none !important;
	font-size: 14px;
	font-weight: 600;
}

.wvmhp-dock-quick a:hover {
	background: #f8fafc;
}

.wvmhp-dock-quick i {
	width: 22px;
	text-align: center;
	color: var(--wvmhp-dock-accent, #2563eb);
}

.wvmhp-dock-socials {
	display: flex;
	justify-content: center;
	gap: 10px;
	padding-top: 6px;
}

.wvmhp-dock-socials a {
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	border-radius: 14px;
	background: #f1f5f9;
	color: #0f172a;
	text-decoration: none !important;
	font-size: 16px;
}

.wvmhp-dock-user {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}

.wvmhp-dock-user img {
	width: 52px;
	height: 52px;
	border-radius: 16px;
	object-fit: cover;
}

.wvmhp-dock-user strong,
.wvmhp-dock-user span {
	display: block;
}

.wvmhp-dock-user span {
	font-size: 12px;
	color: #64748b;
	margin-top: 2px;
}

.wvmhp-dock-auth {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.wvmhp-dock-auth a {
	display: block;
	text-align: center;
	padding: 12px 10px;
	border-radius: 14px;
	text-decoration: none !important;
	font-weight: 800;
	background: #f1f5f9;
	color: #0f172a;
}

.wvmhp-dock-auth a.is-primary {
	background: var(--wvmhp-dock-accent, #2563eb);
	color: #fff;
}

html[dir="ltr"] .wvmhp-dock-search i {
	right: auto;
	left: 14px;
}

html[dir="ltr"] .wvmhp-dock-search input[type="search"] {
	padding: 0 86px 0 42px;
}

html[dir="ltr"] .wvmhp-dock-search button {
	left: auto;
	right: 6px;
}

html[dir="ltr"] .wvmhp-dock__badge {
	left: auto;
	right: -2px;
}
