/* LV LUXURY SEARCH EXPERIENCE - STYLESHEET */

.lv-search-overlay, .lv-search-overlay * {
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

.lv-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background-color: #ffffff !important; /* Pure White Background */
    z-index: 2147483647;
    display: none;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow-x: hidden;
}

.lv-search-overlay.active {
    display: flex;
    opacity: 1;
}

/* TOP HEADER */
.lv-search-header {
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.lv-search-close {
    cursor: pointer;
    padding: 10px;
    transition: opacity 0.3s ease;
}

.lv-search-close:hover {
    opacity: 0.5;
}

/* MAIN CONTAINER */
.lv-search-main {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 5vh;
}

.lv-search-form-container {
    width: 90%;
    max-width: 800px;
}

/* INPUT AREA */
.lv-search-input-wrapper {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #000;
    padding-bottom: 12px;
    position: relative;
    background-color: #ffffff !important;
}

.lv-search-field {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    flex: 1;
    font-size: 14px;
    padding: 10px 0;
    color: #000;
    background: transparent !important;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: none;
}

.lv-search-field::placeholder {
    color: #999;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 2px;
}

.lv-search-clear {
    font-size: 20px;
    color: #999;
    cursor: pointer;
    padding: 0 15px;
    line-height: 1;
    transition: color 0.2s ease;
}

.lv-search-clear:hover {
    color: #000;
}

.lv-search-submit {
    background: transparent !important;
    border: none !important;
    padding: 0 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.lv-search-submit svg {
    width: 18px;
    height: 18px;
}

/* INITIAL STATE - POPULAR SEARCHES */
.lv-search-initial {
    margin-top: 50px;
    text-align: center;
}

.lv-section-label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #999;
    margin-bottom: 30px;
    display: block;
}

.lv-suggestions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.lv-suggestions a {
    text-decoration: none;
    color: #000;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: opacity 0.2s ease;
}

.lv-suggestions a:hover {
    opacity: 0.5;
}

/* RESULTS GRID */
.lv-search-results {
    width: 100%;
    max-height: 60vh;
    margin-top: 60px;
    overflow-y: auto;
    padding-bottom: 100px;
    display: none;
}

.lv-search-results::-webkit-scrollbar {
    width: 2px;
}

.lv-search-results::-webkit-scrollbar-thumb {
    background: #f0f0f0;
}

.lv-result-item a {
    display: flex;
    align-items: center;
    padding: 30px 0;
    text-decoration: none;
    color: #000;
    border-bottom: 1px solid #f2f2f2;
    transition: background 0.2s ease;
}

.lv-result-item a:hover {
    background: #fafafa;
}

.lv-result-thumb {
    width: 80px;
    height: 80px;
    margin-right: 40px;
    background: #f9f9f9;
}

.lv-result-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lv-no-thumb {
    width: 100%;
    height: 100%;
}

.lv-result-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.lv-result-cat {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #aaa;
    margin-bottom: 8px;
}

.lv-result-title {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.lv-result-price {
    font-size: 12px;
    font-weight: 600;
    color: #000;
}

.lv-no-results {
    padding: 80px 0;
    text-align: center;
    color: #bbb;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 300;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .lv-search-header {
        padding: 20px 25px;
    }
    .lv-search-main {
        padding-top: 8vh;
    }
    .lv-search-form-container {
        width: 85%;
    }
    .lv-suggestions {
        gap: 20px;
    }
    .lv-result-thumb {
        width: 60px;
        height: 60px;
        margin-right: 20px;
    }
}
