/* ASYS LIVE PRODUCT SEARCH V1 */

.asys-header {
    position: relative;
    z-index: 30;
}

.asys-live-search-form {
    position: relative;
}

.asys-live-search-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    min-width: min(420px, calc(100vw - 32px));
    max-height: 430px;
    overflow-y: auto;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #dae3f0;
    border-radius: 9px;
    box-shadow: 0 14px 36px rgba(13,35,71,.20);
    z-index: 9999;
    color: #172b4a;
    text-align: left;
}

.asys-live-search-panel[hidden] {
    display: none !important;
}

.asys-live-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 70px;
    padding: 10px 12px;
    border-bottom: 1px solid #edf1f7;
    color: #192c49;
    text-decoration: none;
    box-sizing: border-box;
}

.asys-live-search-item:hover,
.asys-live-search-selected {
    background: #eef5ff;
}

.asys-live-search-item img,
.asys-live-search-image-placeholder {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    object-fit: contain;
    border-radius: 5px;
    background: #f6f8fc;
}

.asys-live-search-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.asys-live-search-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.asys-live-search-price {
    font-size: 13px;
    color: #174ea6;
    font-weight: 700;
}

.asys-live-search-message {
    padding: 18px;
    font-size: 13px;
    color: #52657f;
}

.asys-live-search-all {
    display: block;
    padding: 13px;
    text-align: center;
    background: #f0f5ff;
    color: #174ea6;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.asys-live-search-all:hover {
    background: #e1ecff;
}

@media (max-width: 600px) {
    .asys-live-search-panel {
        min-width: 0;
        width: 100%;
        max-height: 60vh;
    }
}
