.searchform {
    position: relative;
    --wd-search-btn-w: var(--wd-form-height);
    --wd-form-height: 46px;
    --wd-search-clear-sp: .001px
}

.searchform input[type="text"] {
    padding-inline-end: calc(var(--wd-search-btn-w) + 30px)
}

.searchform .searchsubmit {
    --btn-color: var(--wd-form-color, currentColor);
    --btn-bgcolor: transparent;
    position: absolute;
    gap: 0;
    inset-block: 0;
    inset-inline-end: 0;
    padding: 0;
    width: var(--wd-search-btn-w);
    min-height: unset;
    border: none;
    box-shadow: none;
    font-weight: 400;
    font-size: 0;
    font-style: unset
}

.searchform .searchsubmit:hover:after,
.searchform .searchsubmit:hover img {
    opacity: .7
}

.searchform .searchsubmit:after {
    font-size: calc(var(--wd-form-height) / 2.3);
    transition: opacity .2s ease;
    content: "\f130";
    font-family: "woodmart-font"
}

.searchform .searchsubmit img {
    max-width: var(--wd-tools-icon-width, 24px);
    transition: opacity .2s ease
}

.searchform .searchsubmit:before {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: calc((var(--wd-form-height) / 2.5) / -2);
    margin-left: calc((var(--wd-form-height) / 2.5) / -2);
    opacity: 0;
    transition: opacity .1s ease;
    content: "";
    display: inline-block;
    width: calc(var(--wd-form-height) / 2.5);
    height: calc(var(--wd-form-height) / 2.5);
    border: 1px solid rgba(0, 0, 0, 0);
    border-left-color: currentColor;
    border-radius: 50%;
    vertical-align: middle;
    animation: wd-rotate 450ms infinite linear var(--wd-anim-state, paused)
}

.searchform .searchsubmit.wd-with-img:after {
    content: none
}

.searchform.wd-search-loading .searchsubmit:before {
    opacity: 1;
    transition-duration: .2s;
    --wd-anim-state: running
}

.searchform.wd-search-loading .searchsubmit:after,
.searchform.wd-search-loading .searchsubmit img {
    opacity: 0;
    transition-duration: .1s
}

.searchform .wd-clear-search {
    position: absolute;
    top: calc(50% - 12px);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 24px;
    inset-inline-end: calc(var(--wd-search-cat-w, .001px) + var(--wd-search-btn-w) + var(--wd-search-clear-sp));
    color: var(--wd-form-color, currentColor);
    cursor: pointer
}

.searchform .wd-clear-search:before {
    font-size: calc(var(--wd-form-height) / 3);
    line-height: 1;
    transition: opacity .2s ease;
    content: "\f112";
    font-family: "woodmart-font"
}

.searchform .wd-clear-search:hover:before {
    opacity: .7
}