.woo-custom-search-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.woo-custom-search-input-container {
    position: relative;
}

.woo-custom-search-input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.woo-custom-search-spinner {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
}

.dmx-smart-search-panel {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    min-width: 450px;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 99999;
    border-radius: 0 0 4px 4px;
    max-height: 500px;
    overflow-y: auto;
}

.dmx-search-layout {
    display: flex;
    flex-wrap: wrap;
}

.dmx-search-side {
    width: 35%;
    border-right: 1px solid #eee;
    padding: 15px;
    box-sizing: border-box;
}

.dmx-search-products-block {
    width: 65%;
    padding: 15px;
    box-sizing: border-box;
}

.dmx-search-heading {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: bold;
    color: #888;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.dmx-search-category-link {
    display: block;
    color: #444;
    text-decoration: none;
    padding: 5px 0;
    font-size: 14px;
    transition: color 0.2s;
}

.dmx-search-category-link:hover {
    color: #d1192e;
}

.dmx-search-products-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dmx-search-product {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    padding: 8px;
    border-radius: 4px;
    transition: background 0.2s;
}

.dmx-search-product:hover {
    background-color: #f9f9f9;
}

.dmx-search-product-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border: 1px solid #eee;
    border-radius: 4px;
    margin-right: 12px;
}

.dmx-search-product-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.dmx-search-product-name {
    font-size: 13px;
    line-height: 1.3;
    font-weight: 500;
}

.dmx-search-product-model {
    font-size: 11px;
    color: #999;
    margin-top: 2px;
}

.dmx-search-product-price {
    font-size: 14px;
    font-weight: bold;
    color: #222;
    white-space: nowrap;
    text-align: right;
    margin-left: 10px;
}

.dmx-search-product-price del {
    display: block;
    font-size: 11px;
    color: #999;
    font-weight: normal;
}

.dmx-search-product-price ins {
    text-decoration: none;
    color: #d1192e;
}

.dmx-search-all {
    display: block;
    text-align: center;
    margin-top: 15px;
    padding: 10px;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
}

.dmx-search-all:hover {
    background: #e9e9e9;
}

@media (max-width: 767px) {
    .dmx-smart-search-panel { min-width: 100%; }
    .dmx-search-side { width: 100%; border-right: none; border-bottom: 1px solid #eee; }
    .dmx-search-products-block { width: 100%; }
}
