#custom-search-results {
    display: flex;
    gap: 20px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
}

.search-columns {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    justify-content: space-between;
}

.search-columns:not(:has(.column:empty)) {
    grid-template-columns: 1fr 1fr;
}

.search-left, .search-right {
    flex: 1;
    min-width: 45%;
}

.search-section {
    margin-bottom: 20px;
}

.search-section h4 {
    font-size: 14px;
    margin-bottom: 10px;
    color: #555;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.search-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-section ul li {
    margin-bottom: 10px;
}

.search-section ul li a {
    text-decoration: none;
    color: #333;
    display: block;
}

.product-item {
    display: flex;
    align-items: center;
}

.product-image {
    margin-right: 10px;
}

.product-image img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

.product-title {
    font-size: 14px;
    color: #333;
}

.search-results #page .site-content{
    background-color: #fff;
}

/* Responsive layout (Mobile view) */
@media (max-width: 768px) {
    #custom-search-results {
        display: block;
        max-height: none; /* Allow content to grow */
    }

    .search-columns {
        display: block;
    }

    .search-left, .search-right {
        min-width: 100%; /* Full width for all sections */
    }

    .search-section {
        margin-bottom: 20px;
    }
}