.after_header.fx .right_part {
    width: 960px!important;
}
.after_header .center_block::after {
    content: '';
    display: table;
    clear: both;
}
.after_header .right_part.search-wrapper {
    float: right;
}
#panel {
    /*display: none!important;*/
}
.ss-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    background: rgba(0,0,0,.2);
}
.site-search-active .ss-overlay {
    display: block!important;
}
.site-search-active header.main {
    position: relative;
    z-index: -1;
}
.site-search-active .tfl-define-popup {
    z-index: 0;
}
.site-search, .site-search *, .site-search *:before, .site-search *:after {
    box-sizing: border-box;
    text-decoration: none;
}
.site-search {
    position: relative;
    width: 100%;
    max-width: 730px;
    height: 39px;
    padding: 4px 0;
    z-index: 1000;
}
.search-form {
    position: relative;
    height: 100%;
    transition: filter .5s;
}
.search-form .search-input {
    position: relative;
    z-index: 2;
    width: calc(100% - 70px);
    height: 100%!important;
    border: 2px solid #fff!important;
    border-radius: 5px!important;
    padding: 3px 14px!important;
}
.search-form .search-button {
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 100%;
    border-radius: 5px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.search-form .search-button:hover {
    /*filter: brightness(1.1);*/
    background-image: linear-gradient(to bottom, #CCC 0%, #EEE 100%);
}
@keyframes ss-loading {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.site-search.loading:before {
    content: '';
    position: absolute;
    top: calc(50% - 6px);
    left: 3px;
    width: 7px;
    height: 7px;
    z-index: 5;
    border: 2px solid rgba(0,0,0,.1);
    border-right-color: #D4145A;
    border-radius: 50%;
    animation: ss-loading 1s infinite linear;
}
.site-search .search-result {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    background: #fff;
    border-radius: 10px;
    padding: 28px 24px;
    height: calc(100vh - 302px);
}
.site-search .search-result * {
    user-select: none;
}
.site-search .search-result.active {
    display: block!important;
}
.site-search .search-result::-webkit-scrollbar {
    display: none;
}
.ss-product-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}
.ss-product-list .item {
    width: 25%;
    padding: 15px 10px;
    cursor: pointer;
}
.ss-product-list .item:hover .title {
    color: #DC0070;
}
.ss-product-list .item-content {
    display: block;
    color: #070707;
}
.ss-product-list .imgWrap {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background: #F5F7FA;
    /*border-radius: 18px;*/
    overflow: hidden;
}
.ss-product-list .imgWrap img {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
}
.ss-product-list .imgWrap img.loaded, .ss-product-list .imgWrap img.pre-loaded,.ss-step_list .ss-imgWrap img.loaded, .ss-step_list .ss-imgWrap img.pre-loaded {
    opacity: 1!important;
    transition: 0s!important;
}
.search-result .ss-caption {
    font-size: 27px;
    font-weight: 700;
    display: flex;
    align-items: flex-end;
}
.search-result .ss-history_area .ss-caption {
    padding-left: 8px;
}
.search-result .ss-result_2column .ss-caption {
    font-size: 19px;
    margin-bottom: 8px;
    font-weight: normal;
}
.ss-caption .ss-link {
    font-size: 13px;
    color: #DC0070;
    padding-bottom: 1px;
    cursor: pointer;
    margin-bottom: 2px;
}
.ss-caption span + .ss-link {
    margin-left: 12px;
}
.ss-product-list .priceWrap {
    margin-top: 8px;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.3;
}
.ss-product-list .priceWrap span {
    font-size: 13px;
    position: relative;
    top: 4px;
}
.ss-product-list .price {
    white-space: nowrap;
    font-size: 18px;
    font-weight: normal;
}
.ss-product-list .title {
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 5px;
}
.ss-product-list .stock-row {
    margin-top: 5px;
}
.ss-product-list .stock-text {
    font-size: 13px;
    line-height: 1.3;
}
.ss-product-list .lineWrap {
    width: 100%;
    height: 4px;
    background: #b3bcc5;
}
.ss-product-list .line {
    height: 100%;
    background: #DC0070;
}
.search-result .ss-step_list {
    margin: -12px;
}
.search-result .ss-result_2column .ss-step_list {
    margin: 0 0 0 -16px;
    padding-left: 16px;
}
.search-result .ss-step_list + .ss-step_list {
    margin-top: 30px;
}
.ss-step_list .ss-item_content {
    position: relative;
    display: flex;
    align-items: center;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
}
.ss-step_list .ss-icon_close {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    display: block;
    opacity: 0;
}
.ss-step_list .ss-icon_close:before {
    position: absolute;
    content: '';
    top: 50%;
    left: 50%;
    width: 160%;
    height: 180%;
    transform: translate(-50%, -50%);
}
.ss-step_list .ss-item_content:hover {
    background: #f6f6f5;
}
.ss-step_list .ss-item_content:hover .ss-icon_close {
    opacity: 1;
}
.ss-step_list .ss-icon_close:hover svg {
    color: #DC0070!important;
}
.ss-step_list .ss-imgWrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    background: #f6f6f5;
    border-radius: 8px;
    margin-right: 10px;
}
.ss-step_list .ss-imgWrap svg {
    width: 18px;
    height: 18px;
    display: block;
    fill: #656565;
}
.ss-step_list .ss-imgWrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
}
.ss-step_list .ss-text {
    width: calc(100% - 50px);
}
.ss-step_list .ss-text-product, .ss-step_list .ss-text-section {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ss-step_list .ss-text-section {
    color: rgba(0, 26, 52, 0.6);
    margin-top: 2px;
}
.ss-result_2column {
    display: flex;
    justify-content: space-between;
    margin: 0 -8px;
}
.search-result > .ss-popular-products {
    max-height: calc(100vh - 308px);
    overflow-x: hidden;
    overflow-y: auto;
}
.ss-result_2column .ss-history_area, .ss-result_2column .ss-popular-products {
    width: 48%;
    flex-shrink: 0;
}
.ss-popular-products::-webkit-scrollbar, .ss-history_area::-webkit-scrollbar {
    display: none;
}
.ss-result_2column .ss-popular-products, .ss-result_2column .ss-history_area {
    max-height: calc(100vh - 302px);
    /*min-height: 490px;*/
    overflow-x: hidden;
    overflow-y: auto;
}
.ss-result_2column .ss-product-list .item {
    width: 50%;
}
.ss-result_2column .ss-product-list .priceWrap {
    font-size: 16px;
}
.ss-result_2column .ss-step_list .ss-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding-right: 10px;
}
.search-form .search-close {
    color: #000;
}
.ss-item-search + .ss-item-category {
    margin-top: 8px;
}
.s-preloader {
    position: relative;
    width: 100%;
}
@keyframes sRotate {
    0% {
        transform: translateX(-50%) rotate(0deg);
    }
    100% {
        transform: translateX(-50%)  rotate(360deg);
    }
}
.s-preloader:before {
    position: absolute;
    content: '';
    top: -10px;
    left: 50%;
    width: 30px;
    height: 30px;
    border: 2px solid rgba(0,0,0,.2);
    border-top-color: #D4145A;
    border-radius: 50%;
    z-index: 5;
    animation: sRotate .5s linear infinite;
}
.ss-step2 .ss-caption {
    font-size: 19px;
    margin-bottom: 8px;
    font-weight: normal;
    padding-left: 11px!important;;
}
.ss-step2 .server-info {
    margin-bottom: 30px;
    font-size: 12px;
    padding: 3px 6px;
    color: #fff;
    border-radius: 3px;
}
@media screen and (max-width: 1024px) {
    .ss-step2 .list-title {
        width: 100%;
        display: block;
        padding-top: 15px;
    }
    .search-form .search-input {
        touch-action: none!important;
        -webkit-appearance: none;
        font-size: 16px;
    }
    .ss-item-search + .ss-item-category {
        margin-top: 0;
    }
    div.after_header_relative {
        z-index: 9999999;
    }
    .ss-result_2column {
        flex-wrap: wrap;
    }
    .ss-result_2column .ss-popular-products, .ss-result_2column .ss-history_area {
        width: 100%;
        max-height: none;
        min-height: auto;
        overflow: hidden;
    }
    .after_header.fx .right_part {
        width: 100% !important;
    }
    .after_header .right_part {
        position: fixed!important;
        z-index: 5!important;
        top: 0!important;
        left: 0!important;
        width: 100%!important;
        height: 100dvh!important;
        background: #F6F6F5!important;
        padding: 0!important;
    }
    .site-search {
        max-width: 100%;
        padding: 0;
        background: #fff;
        height: auto;
    }
    .search-form {
        display: flex;
        padding: 10px;
        height: auto;
    }
    .ss-step2 > .ss-step_list:first-child .list-title {
        padding-top: 5px;
    }
    .search-form .search-button {
        display: none;
    }
    .search-form .search-close {
        display: flex!important;
        flex-shrink: 0;
        width: 80px;
        align-items: center;
        justify-content: center;
    }
    .after_header_relative .site-search .search-input {
        border: none!important;
        border-radius: 0!important;
        background: #F6F6F5;
    }
    .search-form .search-button {
        border-radius: 0;
    }
    .site-search .search-result {
        display: block!important;
        top: 100%;
        border-radius: 0;
        padding: 0;
        background: #f3f3f19c;
        height: calc(100dvh - 54px);
    }
    .search-form .search-input {
        height: 36px!important;
    }
    .ss-history_area {
        padding: 10px;
        border-radius: 0 0 8px 8px;
    }
    .search-result .ss-caption {
        justify-content: space-between;
        padding: 0;
        margin-bottom: 10px;
    }
    .ss-result_2column {
        margin: 0;
    }
    .ss-history_area {
        background: #fff;
    }
    .search-result .ss-history_area .ss-caption {
        padding: 0;
        font-size: 16px;
        font-weight: 400;
    }
    .ss-step_list .ss-imgWrap {
        display: none;
    }
    .ss-step_list .ss-icon_close {
        opacity: 1;
    }
    .ss-step_list .ss-item_content {
        background: #F6F6F5;
        border-radius: 100px;
        max-width: 220px;
    }
    .search-result .ss-result_2column .ss-step_list {
        margin: 0 -4px;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
    }
    .ss-step_list .ss-item {
        padding: 4px;
    }
    .ss-result_2column .ss-step_list .ss-text {
        display: block;
        white-space: nowrap;
        width: 100%;
        padding-right: 20px;
        text-overflow: ellipsis;
    }
    .ss-history_area + .ss-popular-products {
        margin-top: 5px;
        border-radius: 8px 8px 0 0;
    }
    .ss-popular-products {
        padding: 10px;
        background: #fff;
    }
    .search-result .ss-caption {
        font-size: 16px;
        font-weight: 400;
    }
    .search-result .ss-result_2column .ss-caption {
        font-size: 16px;
    }
    .ss-result_2column .ss-product-list .item, .ss-product-list .item {
        width: 33.3334%;
    }
    .search-result > .ss-popular-products {
        max-height: none;
    }
    .ss-step2top_list {
        display: flex;
        margin: 0 -4px;
        background: #fff;
    }
    .ss-step2top_list .ss-text {
        width: 100%;
        white-space: nowrap;
    }
    .search-result .ss-step_list {
        margin: 0;
        padding: 6px;
        border-radius: 0 0 8px 8px;
    }
    .ss-step2top_list + .ss-step2bottom_list {
        border-radius: 8px!important;
    }
    .search-result .ss-step2bottom_list {
        background: #fff;
        border-radius: 0 0 8px 8px;
    }
    .search-result .ss-step2bottom_list + .ss-step2bottom_list {
        border-radius: 8px;
    }
    .ss-step2bottom_list .ss-imgWrap {
        display: flex;
    }
    .ss-step2bottom_list .ss-item_content {
        background: transparent;
        max-width: 100%;
    }
    .search-result .ss-step_list + .ss-step_list {
        margin-top: 5px;
    }
    .ss-step2top_list {
        flex-wrap: wrap;
    }
    .ss-step2top_list.ss-step_list .ss-item_content {
        max-width: 100%;
    }
}
@media screen and (max-width: 500px) {
    .ss-result_2column .ss-product-list .item, .ss-product-list .item {
        width: 50%;
    }
    .ss-product-list .priceWrap .price {
        padding: 0;
    }
    .ss-product-list .priceWrap {
        font-size: 15px;
    }
}