/* AI Search Styles */
.search-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.search-container h2 {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 500;
    text-transform: uppercase;
}

.search-bar {
    display: flex;
    max-width: 800px;
    margin: 0 auto 20px;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    overflow: hidden;
}

.search-bar input {
    flex: 1;
    padding: 15px 20px;
    font-size: 16px;
    border: none;
    outline: none;
}

.search-bar button {
    background: #000;
    color: #fff;
    border: none;
    padding: 0 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-bar .voice-icon {
    background: transparent;
    color: #777;
}

.search-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.search-filter-button {
    background: #f5f5f5;
    border: 1px solid #ddd;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.search-filter-button:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* AI Assistant Widget */
.ai-assistant-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.ai-assistant-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.ai-assistant-chat {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 350px;
    height: 450px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.ai-assistant-header {
    background: #000;
    color: #fff;
    padding: 15px;
    font-weight: bold;
    text-align: center;
}

.ai-assistant-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
}

.ai-message {
    background: #f1f1f1;
    padding: 10px 15px;
    border-radius: 18px;
    margin-bottom: 10px;
    max-width: 80%;
}

.user-message {
    background: #000;
    color: #fff;
    padding: 10px 15px;
    border-radius: 18px;
    margin-bottom: 10px;
    max-width: 80%;
    margin-left: auto;
}

.ai-assistant-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid #eee;
}

.ai-assistant-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
}

.ai-assistant-input button {
    background: #000;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-left: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Product Recommendations */
.product-recommendations {
    margin-top: 20px;
}

.product-recommendations h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.recommended-products {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.recommended-product {
    min-width: 120px;
    text-align: center;
}

.recommended-product img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.recommended-product h4 {
    font-size: 12px;
    margin: 5px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recommended-product .price {
    font-size: 12px;
    color: #777;
}
