/* Toast: товар добавлен в корзину */
.basket-added-toast {
	position: fixed;
	z-index: 10050;
	right: 24px;
	bottom: 24px;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	max-width: 360px;
	padding: 16px 44px 16px 16px;
	background: #fff;
	border: 1px solid #E1E1E6;
	box-shadow: 0 8px 32px rgba(49, 49, 49, 0.12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(16px);
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.basket-added-toast.show {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.basket-added-toast.hide {
	opacity: 0;
	visibility: hidden;
	transform: translateY(16px);
}

.basket-added-toast__close {
	position: absolute;
	top: 8px;
	right: 10px;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #8C8C8C;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.basket-added-toast__close:hover {
	color: #313131;
}

.basket-added-toast__icon {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #E8F5E9;
	color: #2E7D32;
	font-size: 18px;
}

.basket-added-toast__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.basket-added-toast__title {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	color: #313131;
}

.basket-added-toast__link {
	font-size: 14px;
	font-weight: 600;
	color: #EA1F30;
	text-decoration: none;
}

.basket-added-toast__link:hover {
	color: #C41826;
	text-decoration: underline;
}

#basket_small.basket-updated .basket_small2 {
	animation: basket-header-pulse 0.55s ease;
}

@keyframes basket-header-pulse {
	0%, 100% { transform: scale(1); }
	40% { transform: scale(1.1); }
}

@media (max-width: 767px) {
	.basket-added-toast {
		right: 16px;
		left: 16px;
		bottom: 16px;
		max-width: none;
	}
}

.hr2__basket-search {
	display: flex;
	align-items: center;
	gap: 20px;
	width: 100%;
}

.hr2__basket-search .search {
	flex: 1 1 auto;
	min-width: 0;
	width: auto;
}

.hr2__basket-search .search #title-search,
.hr2__basket-search .search form {
	display: block;
	width: 100%;
}

.hr2__basket-search .search__inp {
	width: 100%;
	max-width: none;
	box-sizing: border-box;
}

.hr2__basket-search .basket_small {
	flex: 0 0 auto;
	margin: 0;
	padding-left: 4px;
}

.hr2__basket-search .basket_small2 {
	width: auto;
	min-width: 64px;
}

@media (max-width: 768px) {
	.hr2__basket-search {
		flex-direction: column-reverse;
		align-items: center;
		gap: 12px;
	}

	.hr2__basket-search .basket_small {
		padding-left: 0;
	}
}
