/* ============================================================
   VIA BIT — HEADER (шапка, мега-меню, drawer, мини-корзина)
   ============================================================ */

.viabit-header {
	background: #fff;
	position: relative;
	transition: box-shadow .3s ease;
}

.viabit-header--sticky {
	position: fixed !important;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

.viabit-header--sticky .viabit-header__topbar,
.viabit-header--sticky .viabit-header__menu {
	display: none;
}

.viabit-header--sticky .viabit-megamenu-overlay {
	top: 150px;
}

.viabit-header--sticky .viabit-megamenu {
	top: 160px;
}

.viabit-header--spacer {
	display: none;
}

.viabit-header--sticky + .viabit-header--spacer {
	display: block;
}

.viabit-header a svg *,
.viabit-header button svg * {
	transition: opacity 0.25s ease;
}

.viabit-header a:not(.viabit-header__catalog):hover svg,
.viabit-header button:not(.viabit-header__catalog-btn):hover svg,
.viabit-header a:not(.viabit-header__catalog):hover svg *,
.viabit-header button:not(.viabit-header__catalog-btn):hover svg * {
	opacity: 0.75;
}

.viabit-header__topbar {
	width: 100%;
	box-sizing: border-box;
	background: #F6F6F6;
	height: 40px;
}

.viabit-header__topbar-inner {
	max-width: 1600px;
	padding: 0 40px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 40px;
	box-sizing: border-box;
}

.viabit-header__bar {
	max-width: 1600px;
	margin-left: auto;
	margin-right: auto;
	padding: 18px 40px;
	box-sizing: border-box;
}

.viabit-header__socials {
	display: flex;
	align-items: center;
	gap: 12.5px;
	flex-shrink: 0;
}

.viabit-header__social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	color: #314158;
	transition: color 0.25s ease;
}
.viabit-header__social svg,
.viabit-header__social img {
	width: 20px;
	height: 20px;
	max-width: 100%;
	display: block;
}

.viabit-header__social:hover {
	color: #009BF0;
}

.viabit-header__sale {
	margin: 0;
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 12px;
	line-height: 16px;
	color: #0090F0;
	text-align: center;
}

.viabit-header__vat-wrap {
	position: relative;
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	min-width: 0;
}

.viabit-header__top-menu {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: nowrap;
}

.viabit-header__top-menu a,
.viabit-header__top-menu span {
	font-family: 'Inter', sans-serif;
	font-weight: 400;
	font-size: 12px;
	line-height: 16px;
	color: #314158;
	text-decoration: none;
	white-space: nowrap;
	opacity: 0.5;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	flex-shrink: 0;
	transition: opacity 0.25s ease, color 0.25s ease;
}

.viabit-header__top-menu a:hover {
	opacity: 1;
	color: #0798e8;
}

.viabit-header__top {
	display: flex;
	align-items: center;
	gap: 24px;
}

.viabit-header__mid {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: 700px;
	margin: 0 auto;
}

.viabit-header__logo {
	gap: 10px;
	flex-shrink: 0;
}

.viabit-mobile-burger,
.viabit-mobile-burger--mid,
.viabit-mobile-burger--sticky {
	display: none;
}

.viabit-header__logo .viabit-custom-logo img,
.viabit-header__logo .custom-logo,
.viabit-header__logo img {
	height: 40px;
	width: auto;
	display: block;
}

.viabit-header__logo-link {
	color: #009BF0;
	font-family: 'Gilroy', 'Inter', sans-serif;
	font-size: 1.25rem;
	font-weight: 700;
	text-decoration: none;
}

.viabit-header__search {
	flex: 1;
	display: flex;
	align-items: center;
	position: relative;
	box-sizing: border-box;
	border: 1px solid #CBD5E1;
	border-radius: 50px;
	background: #fff;
}

.viabit-header__search input[type="search"] {
	width: 100%;
	padding: 10px 46px 10px 18px;
	border: 0;
	border-radius: 50px;
	background: transparent;
	color: #314B5E;
	font-size: 0.9375rem;
	outline: none;
	box-sizing: border-box;
}

.viabit-header__search input[type="search"]:focus {
	border: 0;
	background: transparent;
}

.viabit-header__search button {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	width: 32px;
	height: 32px;
	border: 0;
	background: transparent;
	color: #200E32;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.2s ease;
}

.viabit-header__search button:hover {
	color: #009BF0;
}

.viabit-header__search button svg {
	width: 20px;
	height: 20px;
}

.viabit-header__account,
.viabit-header__favorite {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	color: #314B5E;
	text-decoration: none;
	transition: color 0.2s ease;
}

.viabit-header__account:hover,
.viabit-header__favorite:hover {
	color: #009BF0;
}

.viabit-header__account svg,
.viabit-header__favorite svg {
	display: block;
}

.viabit-header__favorite {
	position: relative;
}

.viabit-header__favorite .heart-filled,
.product-card__favorite .heart-filled {
	display: none !important;
}

.viabit-header__favorite.is-active .heart-outline,
.product-card__favorite.is-active .heart-outline {
	display: none !important;
}

.viabit-header__favorite.is-active .heart-filled,
.product-card__favorite.is-active .heart-filled {
	display: block !important;
}

.viabit-header__favorite.is-active {
	color: #E66B6B;
}

.viabit-header__favorite-badge {
	position: absolute;
	top: 0;
	right: -2px;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 999px;
	background: #E66B6B;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
	text-align: center;
	box-sizing: border-box;
}

.viabit-header__search-wrap {
	display: none;
}

.viabit-header__catalog-btn {
	flex-shrink: 0;
}

.viabit-header__catalog {
	display: inline-flex;
	align-items: center;
	gap: 25px;
	padding: 12px 22px;
	border: 0;
	border-radius: var(--viabit-radius-pill);
	background: #009BF0;
	color: #fff;
	font-family: 'Gilroy', 'Inter', sans-serif;
	font-size: 0.9375rem;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.2s ease;
}

.viabit-header__catalog:hover,
.viabit-header__catalog:focus {
	background: var(--viabit-primary-dark);
	color: #fff;
	text-decoration: none;
}

.viabit-header__burger,
.viabit-header__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.viabit-header__burger svg,
.viabit-header__close svg {
	width: 20px;
	height: 20px;
	display: block;
}

.viabit-header__close svg {
	stroke: #fff;
	stroke-width: 2;
}

.viabit-catalog-btn--active {
	background: #0078D0;
}

.viabit-header__menu {
	justify-content: center;
	margin-top: 14px;
	padding-top: 10px;
}

.viabit-header__menu .viabit-header-navigation {
	flex: none;
}

.viabit-header-navigation {
	color: var(--wp--preset--color--slate-700);
	font-size: 14px;
	font-style: normal;
	font-weight: 500;
	line-height: 20px;
	width: 100%;
}

.viabit-header-menu {
	align-items: end;
	display: flex;
	flex-wrap: nowrap;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.viabit-header-menu li {
	margin: 0;
	position: relative;
}

.viabit-header-menu a {
	align-items: center;
	color: #292929;
	display: inline-flex;
	gap: 10px;
	padding: 13px 40px;
	font-family: 'Gilroy', 'Inter', sans-serif;
	font-size: 1rem;
	font-weight: 400;
	line-height: 14px;
	letter-spacing: 0;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	background: #F6F6F6;
	border-radius: 30px;
	transition: background 0.25s ease, color 0.25s ease;
}

.viabit-header-menu a svg {
	display: block;
	width: 18px;
	height: 18px;
	color: #292929;
	flex-shrink: 0;
	transition: color 0.2s ease;
}

.viabit-header-menu a:hover,
.viabit-header-menu a:focus {
	color: #009BF0;
	text-decoration: none;
}

.viabit-header-menu a:hover svg,
.viabit-header-menu a:focus svg {
	color: #009BF0;
}

.viabit-header-menu .sub-menu,
.viabit-header-menu .children {
	background: #fff;
	border: 1px solid #E2E8F0;
	border-radius: 12px;
	box-shadow: 0 8px 32px -4px rgba(15, 39, 101, 0.12);
	display: flex;
	flex-direction: column;
	gap: 4px;
	left: 0;
	list-style: none;
	margin: 0;
	min-width: 180px;
	opacity: 0;
	padding: 12px;
	position: absolute;
	top: 100%;
	visibility: hidden;
	z-index: 30;
}

.viabit-header-menu li:hover > .sub-menu,
.viabit-header-menu li:focus-within > .sub-menu,
.viabit-header-menu li:hover > .children,
.viabit-header-menu li:focus-within > .children {
	opacity: 1;
	visibility: visible;
}

.viabit-header-menu .sub-menu a,
.viabit-header-menu .children a {
	border-radius: 6px;
	color: #475569;
	padding: 8px 10px;
	white-space: nowrap;
	text-transform: none;
	letter-spacing: 0;
}

.viabit-header-menu .sub-menu a:hover,
.viabit-header-menu .children a:hover {
	background: #F1F5F9;
	color: #314B5E;
}

.viabit-header-menu .sale-menu > a::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M13.1379 2.86189C13.3983 3.12224 13.3983 3.54435 13.1379 3.8047L3.80458 13.138C3.54423 13.3984 3.12212 13.3984 2.86177 13.138C2.60142 12.8777 2.60142 12.4556 2.86177 12.1952L12.1951 2.86189C12.4554 2.60154 12.8776 2.60154 13.1379 2.86189Z' fill='%23314158'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4.33333 3.33333C3.78105 3.33333 3.33333 3.78105 3.33333 4.33333C3.33333 4.88562 3.78105 5.33333 4.33333 5.33333C4.88562 5.33333 5.33333 4.88562 5.33333 4.33333C5.33333 3.78105 4.88562 3.33333 4.33333 3.33333ZM2 4.33333C2 3.04467 3.04467 2 4.33333 2C5.622 2 6.66667 3.04467 6.66667 4.33333C6.66667 5.622 5.622 6.66667 4.33333 6.66667C3.04467 6.66667 2 5.622 2 4.33333Z' fill='%23314158'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11.6668 10.6667C11.1145 10.6667 10.6668 11.1144 10.6668 11.6667C10.6668 12.219 11.1145 12.6667 11.6668 12.6667C12.2191 12.6667 12.6668 12.219 12.6668 11.6667C12.6668 11.1144 12.2191 10.6667 11.6668 10.6667ZM9.3335 11.6667C9.3335 10.378 10.3782 9.33337 11.6668 9.33337C12.9555 9.33337 14.0002 10.378 14.0002 11.6667C14.0002 12.9554 12.9555 14 11.6668 14C10.3782 14 9.3335 12.9554 9.3335 11.6667Z' fill='%23314158'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: contain;
	content: "";
	display: inline-block;
	flex: 0 0 16px;
	height: 16px;
	margin-right: 10px;
	width: 16px;
}

.viabit-header__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.viabit-header__actions .wp-block-search {
	flex: 0 1 320px;
}

.viabit-header__actions .wp-block-search__input {
	border: 1px solid #CBD5E1;
	border-radius: 12px;
	padding: 10px 14px;
	background: #fff;
	color: #314B5E;
	font-size: 0.875rem;
	width: auto;
}

.viabit-header__actions .wp-block-search__button {
	background: #009BF0;
	border: 0;
	border-radius: 10px;
}

/* --- Mega-menu --- */
.viabit-header__catalog-wrap {
	position: relative;
}

.viabit-megamenu-overlay {
	position: fixed;
	top: 180px;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.4);
	z-index: 49;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.35s ease, visibility 0.35s ease;
	pointer-events: none;
}

.viabit-megamenu-overlay--visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.viabit-megamenu {
	position: fixed;
	top: 190px;
	left: 50%;
	transform: translateX(-50%) translateY(-10px);
	z-index: 50;
	width: 70vw;
	max-width: 1120px;
	height: 340px;
	background: #F1F5F9;
	border-radius: 50px;
	box-shadow: 0 8px 32px -4px rgba(15, 39, 101, 0.12);
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
	pointer-events: none;
}

.viabit-megamenu--open {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
	visibility: visible;
	pointer-events: auto;
}

.viabit-megamenu__inner {
	position: relative;
	width: 100%;
	height: 340px;
}

.viabit-megamenu__inner::before {
	content: '';
	position: absolute;
	width: 77%;
	height: 340px;
	right: 0;
	top: 0;
	background: #E6EDF5;
	border-radius: 50px;
	pointer-events: none;
}

.viabit-megamenu__nav {
	position: absolute;
	left: 2%;
	top: 35px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 18%;
	min-width: 180px;
}

.viabit-megamenu__cat {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 200px;
	height: 46px;
	padding: 13px 30px;
	border-radius: 30px;
	font-family: 'Gilroy', 'Inter', sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 14px;
	text-transform: uppercase;
	text-decoration: none;
	box-sizing: border-box;
	color: #292929;
	background: #fff;
	transition: background 0.25s ease, color 0.25s ease, fill 0.25s ease;
}

.viabit-megamenu__cat:hover {
	background: #E8F4FD;
	color: #0090F0;
}

.viabit-megamenu__cat--active {
	background: #0090F0;
	color: #fff;
}

.viabit-megamenu__cat--active:hover {
	background: #0078D0;
	color: #fff;
}

.viabit-megamenu__cat svg,
.viabit-megamenu__cat svg path {
	transition: fill 0.25s ease, color 0.25s ease;
}

.viabit-megamenu__cat svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.viabit-megamenu__cat--active svg,
.viabit-megamenu__cat--active svg path {
	fill: #fff !important;
	color: #fff !important;
}

.viabit-megamenu__subnav {
	position: absolute;
	left: 285px;
	top: 35px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 200px;
	z-index: 1;
}

.viabit-megamenu__subnav-group {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.viabit-megamenu__sub-link {
	display: flex;
	align-items: center;
	width: 200px;
	height: 46px;
	padding: 0 30px;
	border-radius: 30px;
	font-family: 'Gilroy', 'Inter', sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 14px;
	color: #292929;
	background: #fff;
	text-decoration: none;
	box-sizing: border-box;
	transition: background 0.2s ease, color 0.2s ease;
}

.viabit-megamenu__sub-link:hover {
	background: #E8F4FD;
	color: #0090F0;
}

.viabit-megamenu__card-right {
	position: absolute;
	right: 10px;
	top: 10px;
	width: 320px;
	height: 320px;
	z-index: 2;
}

.viabit-megamenu__card-inner {
	display: block;
	width: 320px;
	height: 320px;
	border-radius: 40px;
	overflow: hidden;
	text-decoration: none;
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.viabit-megamenu__card-inner:hover {
	transform: scale(1.03);
	box-shadow: 0 12px 40px -8px rgba(0, 144, 240, 0.3);
}

.viabit-megamenu__card-inner img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

/* --- Mobile drawer --- */
.viabit-drawer {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: none;
}

.viabit-drawer.is-open {
	display: block;
}

.viabit-drawer__overlay {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.5);
}

.viabit-drawer__panel {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: min(420px, 92vw);
	background: #fff;
	box-shadow: 0 0 60px rgba(15, 23, 42, 0.2);
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	animation: viabitDrawerIn 0.25s ease;
}

@keyframes viabitDrawerIn {
	from { transform: translateX(-100%); }
	to { transform: translateX(0); }
}

.viabit-drawer__head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 20px;
	border-bottom: 1px solid #E2E8F0;
}

.viabit-drawer__back {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 0;
	background: #F1F5F9;
	border-radius: 10px;
	cursor: pointer;
}

.viabit-drawer__title {
	font-size: 1.125rem;
	font-weight: 700;
	color: #314B5E;
}

.viabit-drawer__nav {
	padding: 8px 0;
}

.viabit-drawer__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.viabit-drawer__item {
	border-bottom: 1px solid #F1F5F9;
}

.viabit-drawer__cat {
	display: block;
	padding: 16px 20px;
	color: #314B5E;
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
}

.viabit-drawer__cat:hover,
.viabit-drawer__cat:focus {
	color: #009BF0;
	text-decoration: none;
}

.viabit-drawer__sub {
	list-style: none;
	margin: 0;
	padding: 0 20px 16px;
	display: none;
	flex-wrap: wrap;
	gap: 8px;
}

.viabit-drawer__sub-item a {
	display: inline-block;
	padding: 8px 14px;
	background: #F1F5F9;
	border-radius: 999px;
	color: #475569;
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
}

.viabit-drawer__sub-item a:hover,
.viabit-drawer__sub-item a:focus {
	background: #009BF0;
	color: #fff;
	text-decoration: none;
}

@media (width >= 640px) {
	.viabit-drawer { display: none !important; }
}

/* --- Mini cart dropdown --- */
.header-cart {
	position: relative;
	display: inline-flex;
}

.header-cart__button {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	color: #2c4660;
	text-decoration: none;
	transition: background .2s ease, color .2s ease;
}

.header-cart__button:hover,
.header-cart:hover .header-cart__button,
.header-cart.is-open .header-cart__button {
	background: #eef7fc;
	color: #0798e8;
}

.header-cart__badge {
	position: absolute;
	top: -2px;
	right: -3px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #0798e8;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}

.header-cart__badge.is-updated {
	animation: cartBadge .35s ease;
}

.header-cart__dropdown {
	position: absolute;
	top: calc(100% + 17px);
	right: -16px;
	z-index: 1000;
	width: 420px;
	padding: 22px;
	border: 1px solid #e7edf2;
	border-radius: 25px;
	background: #fff;
	box-shadow: 0 18px 55px rgba(17, 39, 72, .16);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.header-cart__dropdown::before {
	content: "";
	position: absolute;
	top: -18px;
	right: 12px;
	width: 150px;
	height: 20px;
}

.header-cart:hover .header-cart__dropdown,
.header-cart:focus-within .header-cart__dropdown,
.header-cart.is-open .header-cart__dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* --- Mini cart contents --- */
.mini-cart__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
}

.mini-cart__title {
	margin: 0;
	color: #121b52;
	font-family: 'IBM Plex Mono', monospace;
	font-size: 21px;
	font-weight: 700;
}

.mini-cart__count {
	color: #6c7e8e;
	font-size: 13px;
}

.mini-cart__close {
	display: none;
	border: 0;
	background: transparent;
	color: #9ba8b2;
	font-size: 24px;
	cursor: pointer;
	padding: 0 4px;
}

.mini-cart__items {
	max-height: 340px;
	overflow-y: auto;
	margin: 0 -22px;
	padding: 0 22px;
}

.mini-cart__item {
	display: grid;
	grid-template-columns: 68px minmax(0, 1fr) 20px;
	gap: 13px;
	padding: 14px 0;
	border-bottom: 1px solid #edf0f3;
}

.mini-cart__item:last-child {
	border-bottom: none;
}

.mini-cart__image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 68px;
	height: 68px;
	overflow: hidden;
	border-radius: 14px;
	background: #f3f7fa;
	text-decoration: none;
}

.mini-cart__image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.mini-cart__content {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.mini-cart__name {
	display: block;
	color: #263f59;
	font-family: 'IBM Plex Mono', monospace;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.15;
	text-decoration: none;
}

.mini-cart__name:hover {
	color: #0798e8;
	text-decoration: none;
}

.mini-cart__meta {
	margin-top: 6px;
	color: #80909d;
	font-size: 12px;
}

.mini-cart__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 10px;
}

.mini-cart__quantity {
	display: inline-flex;
	align-items: center;
	height: 28px;
	overflow: hidden;
	border: 1px solid #dce4ea;
	border-radius: 999px;
	color: #405a70;
}

.mini-cart__qty-btn {
	width: 27px;
	height: 100%;
	border: 0;
	background: transparent;
	color: #405a70;
	font-size: 14px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mini-cart__qty-btn:hover {
	background: #eef7fd;
	color: #008fe8;
}

.mini-cart__qty-num {
	min-width: 22px;
	text-align: center;
	font-size: 12px;
}

.mini-cart__price {
	color: #41586b;
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
}

.mini-cart__remove {
	align-self: start;
	width: 20px;
	height: 20px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #9ba8b2;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.mini-cart__remove:hover {
	color: #e0445c;
}

.mini-cart__item.is-loading {
	opacity: 0.5;
	pointer-events: none;
	position: relative;
}

.mini-cart__item.is-loading::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(255,255,255,0.5);
	z-index: 1;
}

.mini-cart__item.is-loading .mini-cart__qty-btn {
	opacity: 0.4;
}

.mini-cart__delivery {
	margin-top: 18px;
	padding: 14px;
	border-radius: 15px;
	background: #f0f7fc;
	color: #526a7c;
	font-size: 12px;
	line-height: 1.35;
}

.mini-cart__delivery-text strong {
	color: #078fe0;
}

.mini-cart__progress {
	height: 5px;
	margin-top: 11px;
	overflow: hidden;
	border-radius: 10px;
	background: #d8e5ee;
}

.mini-cart__progress span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: #0798e8;
}

.mini-cart__delivery.is-complete {
	background: #ebf9f2;
	color: #23855b;
}

.mini-cart__total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 20px;
	color: #1c3154;
	font-size: 14px;
}

.mini-cart__total strong {
	color: #40586b;
	font-size: 22px;
}

.mini-cart__vat {
	margin-top: 5px;
	color: #27a875;
	font-size: 12px;
	text-align: right;
}

.mini-cart__actions {
	display: flex;
	flex-direction: column;
	gap: 9px;
	margin-top: 19px;
}

.mini-cart__button {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 45px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: .2s ease;
}

.mini-cart__button--outline {
	border: 1px solid #078fe0;
	color: #078fe0;
	background: #fff;
}

.mini-cart__button--outline:hover {
	background: #eef8fe;
	text-decoration: none;
}

.mini-cart__button--primary {
	background: #0798e8;
	color: #fff;
}

.mini-cart__button--primary:hover {
	background: #007fc9;
	text-decoration: none;
}

.mini-cart--empty {
	padding: 38px 14px 30px;
	text-align: center;
}

.mini-cart__empty-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 62px;
	height: 62px;
	margin: 0 auto 17px;
	border-radius: 50%;
	background: #eef7fc;
	color: #0798e8;
	font-size: 28px;
}

.mini-cart__empty-title {
	margin: 0;
	color: #121b52;
	font-size: 18px;
}

.mini-cart__empty-text {
	margin: 9px auto 20px;
	max-width: 270px;
	color: #758594;
	font-size: 12px;
	line-height: 1.4;
}

.mini-cart--empty .mini-cart__button {
	margin: 0 auto;
	max-width: 220px;
}

@keyframes cartBadge {
	0%   { transform: scale(1); }
	50%  { transform: scale(1.25); }
	100% { transform: scale(1); }
}

/* --- AJAX search dropdown --- */
.viabit-search-dropdown {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	z-index: 9999;
	background: #fff;
	border: 1px solid #E2E8F0;
	border-radius: 16px;
	box-shadow: 0 8px 32px rgba(0,0,0,0.1);
	max-height: 420px;
	overflow-y: auto;
	padding: 6px;
}

.viabit-search-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 10px;
	border-radius: 12px;
	text-decoration: none;
	transition: background .15s ease;
}

.viabit-search-item:hover { background: #F1F5F9; }
.viabit-search-item img {
	width: 44px;
	height: 44px;
	object-fit: contain;
	border-radius: 8px;
	background: #F1F5F9;
	flex-shrink: 0;
}
.viabit-search-item__ph {
	width: 44px;
	height: 44px;
	border-radius: 8px;
	background: #F1F5F9;
	flex-shrink: 0;
}
.viabit-search-item__body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.viabit-search-item__title {
	font-size: 14px;
	line-height: 16px;
	color: #1c3154;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.viabit-search-item__meta {
	font-size: 12px;
	line-height: 14px;
	color: #8a9aab;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.viabit-search-item__price {
	font-size: 14px;
	line-height: 16px;
	color: #1c3154;
	font-family: 'IBM Plex Mono', monospace;
	white-space: nowrap;
	flex-shrink: 0;
}
.viabit-search-empty {
	padding: 14px;
	font-size: 14px;
	color: #8a9aab;
	text-align: center;
}