:root {
    --col-main: #FF652E;
    --col-gray: #595959;
}

[x-cloak] {
    display: none !important;
}

.header_search__form {
	position: relative;
}

.header_search__dropdown {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	z-index: 200;
	background: #fff;
    border-radius: 4px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.12);
    padding: 12px;
    font-family: "Roboto", sans-serif;
}

.header_search__dropdown--mobile {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    box-shadow: none;
    margin-top: 10px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding: 0;
}

.header_search__loader-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
}

.header_search__loader {
    width: 28px;
    height: 28px;
    border: 3px solid rgba(255, 101, 46, 0.2);
    border-top-color: var(--col-main);
    border-radius: 50%;
    animation: header-search-spin 0.8s linear infinite;
}

@keyframes header-search-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.header_search__result-card {
	display: flex;
	align-items: flex-start;
	gap: 22px;
	padding: 12px;
	text-decoration: none;
	color: inherit;
    border: 1px solid transparent;
	border-bottom-color: #f0f0f0;
    border-radius: 4px;
    margin-bottom: 6px;

    @media (max-width: 991px) {
        gap: 12px;
    }

}

@media (hover: hover) and (pointer: fine) {
    .header_search__result-card:hover {
        cursor: pointer;
        border-color: var(--col-main);
    }
}

.header_search__result-image-wrap {
    width: 80px;
    aspect-ratio: 1;
    flex-shrink: 0;
    @media(max-width: 991px){
        width: 60px;
    }
}

.header_search__result-image-wrap img {
    object-fit: contain;
    min-width: 100%;
    min-height: 100%;
    max-width: 100%;
    max-height: 100%;
}

.header_search__result-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.header_search__result-content {
	flex: 1;
	min-width: 0;
}

.header_search__result-title {
	overflow: hidden;
	text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    font-weight: 500;
    height: 44px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    font-size: 16px;

    @media (max-width: 1460px) {
        font-size: 14px;
        height: 42px;
    }


    @media (max-width: 991px) {
        font-size: 14px;
        line-height: 130%;
        -webkit-line-clamp: 3;
        height: 56px;
    }
}

.header_search__result-prices {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	flex-shrink: 0;
    font-weight: 600;
    font-size: 18px;
    color: var(--col-main);
    @media(max-width: 991px){
        font-size: 14px;
    }
}

.header_search__result-old-price {
	text-decoration: line-through;
    font-weight: 400;
    font-size: 14px;
    color: var(--col-gray);
    text-align: right;
}

.search-page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid var(--col-main);
    background: #ffffff;
    transition: background 0.3s ease;
    font-weight: 500;
}

@media (hover: hover) and (pointer: fine) {
    .search-page-link:hover {
        background: var(--col-main);
        color: #ffffff;
    }
}

body.bwd-search-lock-scroll {
    overflow: hidden;

    .__jivoMobileButton {
        display: none !important;
    }
    pf-widget {
        display: none !important;
    }
}

.header_search-mobile-panel {
    position: fixed;
    inset: 0;
    z-index: 2147483646 !important;
}

.header_search-mobile-panel__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.header_search-mobile-panel__content {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    padding: 46px 14px 14px;
    box-shadow: -6px 0 20px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    z-index: 2147483649;
}

.header_search-mobile-panel__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    position: absolute;
    top: 6px;
    right: 14px;
    margin-bottom: 0;
}

.header_search-mobile-panel__title {
    position: absolute;
    left: 14px;
    top: 10px;
    font-size: 24px;
    font-weight: 400;
    text-transform: uppercase;
}

.header_search-mobile-panel__content .header_search__block{
    display: flex;
}