/*
Theme Name: Ledyanoy Dar
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: WordPress theme for frozen fish shop "Ледяной Дар" with WooCommerce and Elementor support.
Version: 1.0.0
Text Domain: ledyanoy-dar
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/


/* МЕНЮ ПОИСК*/
.header-actions {
	position: relative;
}

#header-product-search-custom {
	position: relative;
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

#header-product-search-custom .header-product-search-custom__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	flex-shrink: 0;
}

#header-product-search-custom .header-product-search-custom__button:hover {
	background: rgba(0, 0, 0, 0.05);
}

#header-product-search-custom .header-product-search-custom__dropdown {
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	z-index: 1000;

	display: flex;
	align-items: center;
	gap: 8px;

	width: 360px;
	max-width: calc(100vw - 30px);

	padding: 10px;
	border: 1px solid #d7e3ea;
	border-radius: 14px;
	background: #ffffff;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);

	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	pointer-events: none;

	transition:
		opacity 0.2s ease,
		visibility 0.2s ease,
		transform 0.2s ease;
}

#header-product-search-custom.is-open .header-product-search-custom__dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

#header-product-search-custom .header-product-search-custom__input {
	width: 100%;
	height: 42px;
	padding: 8px 14px;
	border: 1px solid #d7e3ea;
	border-radius: 999px;
	background: #fff;
	color: #1f2933;
	box-sizing: border-box;
}

#header-product-search-custom .header-product-search-custom__input:focus {
	outline: none;
	border-color: #7fb7d8;
	box-shadow: 0 0 0 2px rgba(127, 183, 216, 0.25);
}

#header-product-search-custom .header-product-search-custom__submit {
	height: 42px;
	padding: 0 16px;
	border: none;
	border-radius: 999px;
	background: #1f8ecb;
	color: #ffffff;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
}

#header-product-search-custom .header-product-search-custom__submit:hover {
	background: #1474a8;
}

@media (max-width: 768px) {
	#header-product-search-custom .header-product-search-custom__dropdown {
		right: -60px;
		width: 320px;
	}
}

@media (max-width: 480px) {
	#header-product-search-custom .header-product-search-custom__dropdown {
		position: fixed;
		top: 80px;
		left: 15px;
		right: 15px;
		width: auto;
		max-width: none;
	}
}
/*Конец меню*/