.search-panel {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translate(-50%,-150%);
    width: 100%;
    max-width: 1360px;
    padding: 15px;
    background: #fff;
    border-radius: 0 12px 12px 12px;
    box-shadow: 7px 7px 25px 1px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.search-panel.active {
    transform: translate(-50%, 0);
}

.search-form {
    display: flex;
    align-items: center;
}

.search-form label {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 20px;
    border: 1px solid rgba(0,0,0, 0.5);
    border-radius: 10px;
    transition: border-color 0.3s ease;
}

.search-form label:hover {
    border-color: #0082e0;
}

.search-field {
    width: 100%;
    font-size: 16px;
    height: 48px;
    border: none;
}

.search-open,
.search-submit {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0082e0;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.search-submit:hover,
.search-submit:focus 
.search-open:hover,
.search-open:focus {
    opacity: 0.7;
}

.search-open svg,
.search-submit svg {
    width: 40px;
    height: 40px;
}

.search-close {
    width: 40px;
    height: 40px;
    margin: 0 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.search-close:hover,
.search-close:focus {
    opacity: 0.7;
}

@media(width < 1024px) {
    .search-open,
    .search-submit {
        width: 30px;
        height: 30px;
        margin: 0;
    }
    
    .search-open svg,
    .search-submit svg {
        width: 30px;
        height: 30px;
        margin: 0;
    }
}

@media(width < 1440px) {
    .search-panel {
        width: calc(100% - 30px);
    }
}

.search-list {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
}

.search-item {
    margin-bottom: 20px;
    border-radius: 20px;
    border: 1px solid  #0082e0;
    padding: 20px;
}

.search-link {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-img {
    width: 25%;
    flex-shrink: 0;
    max-height: 200px;
    overflow: hidden;
}

.search-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.search-title {
    font-size: 1.5em;
    transition: color 0.3s ease;
    color: #000;
}

.search-link:hover .search-title,
.search-link:focus .search-title{
    color: #0082e0;
}

@media(width < 600px) {
    .search-link {
        flex-direction: column;
    }
    
    .search-img {
        width: 100%;
    }
}