.comiis_search_wrap {
    position: relative;
    display: inline-block;
    z-index: 10;
}
.comiis_search_wrap::after {
    content:"";
    position:absolute;
    left:0;
    right:0;
    height:16px;
    top:100%;
}
.search_magnifier {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: auto;
    position: relative;
}
.search_magnifier:hover {
    background-color: #eee;
}
.search_magnifier:hover .search_icon {
    stroke: #1E90FF;
}
.hot_search_list {
    position: absolute;
    top:100%;
    right: 0;
    width: 320px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 15px;
    margin-top:0px;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    display: none;
}
.hot_search_list.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: block;
}
.hot_search_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f5f5f5;
}
.hot_search_header span {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}
.more_hot {
    font-size: 12px;
    color: #1E90FF;
    text-decoration: none;
}
.more_hot:hover {
    text-decoration: underline;
}
.hot_search_items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
}
.hot_search_items a {
    flex: 0 0 calc(33.333% - 7px);
    font-size: 13px;
    color: #666;
    text-decoration: none;
    padding: 6px 0;
    text-align: center;
    transition: all 0.2s ease;
    border-radius: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hot_search_items a:hover {
    color: #1E90FF;
    background-color: #f0f7ff;
}
.search_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: none;
}
.search_overlay.active {
    opacity: 1;
    visibility: visible;
    display: block;
}
.search_popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%);
    background-color: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    z-index: 9999;
    width: 90%;
    max-width: 500px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}
.search_overlay.active .search_popup {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%);
}
#popup_search_form {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}
#popup_srchtxt {
    flex: 1;
    height: 45px;
    border: 1px solid #eee;
    outline: none;
    font-size: 16px;
    color: #333;
    padding: 0 15px;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}
#popup_srchtxt:focus {
    border-color: #1E90FF;
    box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.1);
}
#popup_search_btn {
    padding: 0 22px;
    height: 45px;
    background-color: #1E90FF;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
#popup_search_btn:hover {
    background-color: #0EA5E9;
}
.popup_search_close {
    width: 30px;
    height: 30px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}
.popup_search_close:hover {
    transform: rotate(90deg);
}
form {
    margin: 0;
    padding: 0;
}
input::-webkit-input-placeholder {
    color: transparent !important;
}
input:-moz-placeholder {
    color: transparent !important;
}
input::-moz-placeholder {
    color: transparent !important;
}
input:-ms-input-placeholder {
    color: transparent !important;
}
