.search-beke-desk {
    margin: 7px 10px;
    background: transparent;
    border: none;
    border-bottom: 1px solid #221F20;
    padding: 5px 30px 5px 5px;
    outline: none;
    font-size: 16px;
    width: 200px;
    transition: border-color 0.3s ease;
    max-width: 150px;
}

.search-beke-desk:focus {
    border-bottom-color: #C9C9C9;
}



.smartsearch {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background: var(--main-bg-color);
    display: none;
    overflow-y: auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.smartsearch .search-header {
    position: sticky;
    top: 0;
    background: var(--main-bg-color);
    z-index: 1001;
    padding: 30px 0 15px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.smartsearch .search-header input {
    margin: 0 30px;
    width: 100%;
    padding: 12px 15px;
    font-size: 18px;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(0,0,0,0.1);
    border-radius: 0;
    outline: none;
    transition: border-color 0.3s ease;
}

.smartsearch .search-header input:focus {
    border-bottom-color: #000;
}

.smartsearch .search-header .close-search {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 22px;
    cursor: pointer;
    color: rgba(0,0,0,0.5);
    line-height: 1;
    padding: 20px;
    transition: all 0.3s ease;
}

.smartsearch .search-header .close-search:hover {
    color: #000;
    transform: rotate(90deg);
}

.smartsearch ul.items {
    margin: 0 auto;
    padding: 15px 25px;
    display: grid;
    gap: 1px;
    max-width: 1140px;
}

.smartsearch .item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.smartsearch li.item {
    list-style-type: none;
    background: #fff;
    margin-bottom: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    animation: fadeIn 0.3s ease forwards;
}

.smartsearch .item-link:hover li.item {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.smartsearch .item-link.current li.item {
    background: #fff;
    box-shadow: 0 0 0 2px #000;
}

.smartsearch li.item:nth-child(1) { animation-delay: 0.1s; }
.smartsearch li.item:nth-child(n+2) { animation-delay: calc(0.1s + 0.05s * (var(--n) - 1)); }

.smartsearch li.item .item_block {
    display: flex;
    align-items: center;
    padding: 12px;
}

.smartsearch li.item .item_block .image {
    display: flex;
    padding: 0 15px 0 0;
    min-width: 70px;
}

.smartsearch li.item .item_block .image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.smartsearch li.item .item_block .title {
    padding: 0 10px;
    width: 100%;
    font-size: 15px;
    line-height: 1.4;
    color: #333;
}

.smartsearch li.item .item_block .price {
    padding: 0 10px;
    text-align: right;
    min-width: 100px;
    font-weight: 600;
    color: #000;
}

.smartsearch li.item .item_block .oldprice {
    display: block;
    text-decoration: line-through;
    font-size: 12px;
    color: rgba(0,0,0,0.4);
    font-weight: normal;
}

.smartsearch .button {
    text-align: center;
    padding: 25px 0;
    max-width: 1140px;
    margin: 0 auto;
}

.smartsearch .button a {
    display: inline-block;
    padding: 12px 30px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    border: 1px solid #000;
    transition: all 0.3s ease;
}

.smartsearch .button a:hover {
    background: transparent;
    color: #000 !important;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}