        /* Basic reset and fonts */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        }

        body {
            background-color: #fff;
            color: #333;
            line-height: 1.6;
        }

        /* Main container */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        /* Center layout for initial state */
        .center-layout {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 20px;
            max-width: 650px;
            margin: 0 auto;
        }

        /* Logo styles */
        .logo-container {
            margin-bottom: 20px;
            text-align: center;
        }

        .logo {
            width: 180px;
            height: auto;
            margin-bottom: 20px;
        }

        /* Footer styles */
        .footer {
            padding: 20px 0;
            text-align: center;
            margin-top: auto;
            width: 100%;
            background-color: #f7f7f7;
            border-top: 1px solid #eee;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 10px;
        }

        .footer-link {
            color: #666;
            text-decoration: none;
            font-size: 14px;
            transition: color 0.2s;
        }

        .footer-link:hover {
            color: #3050e1;
            text-decoration: underline;
        }

        /* Header styles */
        .search-header {
            padding: 40px 0 20px;
            border-bottom: 1px solid #eee;
            text-align: center;
            width: 100%;
        }

        .search-header.results-mode {
            background-color: #fff;
            text-align: left;
            padding: 40px 0 20px;
        }

        .search-header h1 {
            font-size: 32px;
            color: #333;
            margin-bottom: 30px;
            font-weight: 600;
        }

        /* Search form styles */
        .search-form {
            position: relative;
            margin-bottom: 20px;
            width: 100%;
            max-width: 600px;
        }

        .search-input {
            width: 100%;
            padding: 12px 50px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 16px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            transition: box-shadow 0.3s;
        }

        .search-input:focus {
            outline: none;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            border-color: #aaa;
        }

        .search-icon {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #999;
        }

        .voice-search-btn {
            position: absolute;
            right: 45px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            cursor: pointer;
            color: #3050e1;
            padding: 5px;
        }

        .voice-search-btn:hover {
            color: #1a30a0;
        }

        .voice-search-btn svg {
            width: 20px;
            height: 20px;
        }

        .close-icon {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #999;
            background: none;
            border: none;
            cursor: pointer;
            font-size: 20px;
            display: none;
        }

        /* CSS for AI Summary Component */
        .ai-summary-container {
            margin-bottom: 20px;
            position: relative;
        }

        .ai-summary-box {
            background-color: #f8f9fc;
            border: 1px solid #e5e7eb;
            border-radius: 8px;
            padding: 15px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
        }

        .ai-summary-box.ai-summary-loading {
            background-color: #f9fafb;
            border-color: #e5e8eb;
        }

        .ai-summary-box.ai-summary-error {
            background-color: #fef2f2;
            border-color: #fee2e2;
        }

        .ai-summary-header {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
        }

        .ai-summary-icon {
            background-color: #e0f2fe;
            color: #0369a1;
            border-radius: 50%;
            width: 28px;
            height: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 10px;
        }

        .ai-summary-error .ai-summary-icon {
            background-color: #fee2e2;
            color: #b91c1c;
        }

        .ai-summary-title {
            font-size: 16px;
            margin: 0;
            font-weight: 600;
            color: #1f2937;
        }

        .ai-summary-content {
            color: #4b5563;
            line-height: 1.5;
            margin: 0 0 10px 0;
            font-size: 14px;
        }

        .ai-summary-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 12px;
            color: #6b7280;
            margin-top: -20px;
            width: 100%;
            box-sizing: border-box;
        }

        .ai-powered-badge {
            display: inline-flex;
            align-items: center;
            background-color: #f3f4f6;
            padding: 4px 8px;
            border-radius: 12px;
            font-weight: 500;
            white-space: nowrap;
        }

        .ai-powered-badge svg {
            margin-right: 4px;
        }

        .summary-disclaimer {
            font-size: 11px;
            color: #9ca3af;
            padding-right: 5px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /* Loading animation for AI summary */
        .loading-indicator {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 24px;
            margin: 10px 0;
        }

        .loading-dot {
            background-color: #60a5fa;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            margin: 0 4px;
            opacity: 0.6;
            animation: loadingPulse 1.4s infinite ease-in-out;
        }

        .loading-dot:nth-child(1) {
            animation-delay: 0s;
        }

        .loading-dot:nth-child(2) {
            animation-delay: 0.2s;
        }

        .loading-dot:nth-child(3) {
            animation-delay: 0.4s;
        }

        @keyframes loadingPulse {

            0%,
            100% {
                transform: scale(0.6);
                opacity: 0.6;
            }

            50% {
                transform: scale(1);
                opacity: 1;
            }
        }

        /* Make sure the AI summary doesn't interrupt normal flow */
        .results-container {
            display: flex;
            flex-direction: column;
        }

        #ai-summary-container {
            order: 1;
        }

        .sponsored-ads {
            order: 2;
        }

        #results-content>.result:first-of-type,
        .product-modules,
        .results-grid,
        .location-container {
            order: 3;
        }

        /* Tab navigation */
        .search-tabs {
            display: flex;
            overflow-x: auto;
            margin-bottom: 20px;
            border-bottom: 1px solid #eee;
            scrollbar-width: none;
            /* Firefox */
            -ms-overflow-style: none;
            /* IE and Edge */
            width: 100%;
        }

        .search-tabs::-webkit-scrollbar {
            display: none;
            /* Chrome, Safari, Opera */
        }

        .search-tab {
            padding: 10px 15px;
            margin-right: 10px;
            white-space: nowrap;
            cursor: pointer;
            color: #666;
            position: relative;
            transition: color 0.3s;
            background: none;
            border: none;
            font-size: 14px;
        }

        .search-tab.active {
            color: #3050e1;
            font-weight: 500;
        }

        .search-tab.active:after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            width: 100%;
            height: 3px;
            background-color: #3050e1;
            border-radius: 3px 3px 0 0;
        }

        /* Results section */
        .results-container {
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            padding: 20px;
        }

        .sponsored-ads {
            margin-bottom: 20px;
        }

        .text-xxs {
            font-size: 0.65rem;
        }

        .sponsored-ads .result {
            margin-bottom: 20px;
            padding-bottom: 20px;
            border-bottom: 1px solid #eee;
        }

        .sponsored-ads .result:last-child {
            border-bottom: none;
        }

        .sponsored-ads .result {
            background-color: rgba(240, 244, 255, 0.3);
            border-radius: 8px;
        }

        .result {
            margin-bottom: 20px;
            padding-bottom: 20px;
            border-bottom: 1px solid #eee;
        }

        .result:last-child {
            border-bottom: none;
        }

        .result h3 {
            margin-bottom: 8px;
        }

        .result h3 a {
            color: #1a0dab;
            text-decoration: none;
            font-weight: 500;
        }

        .result h3 a:hover {
            text-decoration: underline;
        }

        .result .url {
            color: #06842c;
            font-size: 14px;
            margin-bottom: 8px;
        }

        .result .description {
            color: #545454;
            font-size: 14px;
            margin-bottom: 10px;
        }

        .result-source {
            font-size: 12px;
            color: #888;
        }

        /* Hide tabs and results when no query */
        .search-tabs-container {
            display: none;
        }

        .results-wrapper {
            display: none;
        }

        /* Show tabs and results when query exists */
        .search-tabs-container.active {
            display: block;
            width: 100%;
        }

        .results-wrapper.active {
            display: block;
        }

        /* Grid layout for images */
        .results-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 16px;
        }

        .grid-item {
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }

        .grid-item img {
            width: 100%;
            height: 150px;
            object-fit: cover;
        }

        .grid-item .title {
            padding: 10px;
            font-size: 14px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /* Pagination */
        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 30px 0;
        }

        .pagination a,
        .pagination span {
            padding: 8px 12px;
            margin: 0 5px;
            border-radius: 4px;
            color: #3050e1;
            text-decoration: none;
            font-size: 14px;
        }

        .pagination span {
            background-color: #3050e1;
            color: white;
        }

        .pagination a:hover {
            background-color: #f0f4ff;
        }

        /* Loading indicator */
        .loading {
            text-align: center;
            padding: 20px;
            color: #888;
            display: none;
        }

        /* Voice recording modal */
        .voice-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .voice-modal-content {
            background-color: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            text-align: center;
            max-width: 400px;
            width: 90%;
            animation: modalFadeIn 0.3s ease;
        }

        @keyframes modalFadeIn {
            from {
                opacity: 0;
                transform: scale(0.8);
            }

            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        .voice-animation {
            margin: 20px auto;
            width: 80px;
            height: 80px;
            position: relative;
        }

        .voice-wave {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100%;
        }

        .voice-bar {
            background-color: #3050e1;
            width: 6px;
            height: 30px;
            margin: 0 3px;
            border-radius: 3px;
            animation: voiceWave 1s ease-in-out infinite;
            transform-origin: bottom;
        }

        .voice-bar:nth-child(2) {
            animation-delay: 0.1s;
        }

        .voice-bar:nth-child(3) {
            animation-delay: 0.2s;
        }

        .voice-bar:nth-child(4) {
            animation-delay: 0.3s;
        }

        .voice-bar:nth-child(5) {
            animation-delay: 0.4s;
        }

        @keyframes voiceWave {

            0%,
            100% {
                transform: scaleY(0.5);
            }

            50% {
                transform: scaleY(1);
            }
        }

        .voice-message {
            margin-top: 15px;
            font-size: 18px;
            color: #333;
        }

        .voice-info {
            margin-top: 10px;
            font-size: 14px;
            color: #666;
        }

        .voice-cancel {
            margin-top: 20px;
            padding: 8px 20px;
            background-color: #f2f2f2;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 14px;
            transition: background-color 0.2s;
        }

        .voice-cancel:hover {
            background-color: #e6e6e6;
        }

        /* Product Module Layout Styles */
        .product-modules {
            display: flex;
            flex-direction: column;
            gap: 24px;
            width: 100%;
        }

        .product-module {
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            padding: 20px;
            width: 100%;
        }

        .product-module-header {
            margin-bottom: 16px;
            padding-bottom: 12px;
            border-bottom: 1px solid #f0f0f0;
        }

        .product-module-title {
            font-size: 18px;
            font-weight: 600;
            color: #333;
            margin: 0;
        }

        .product-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            gap: 16px;
            width: 100%;
        }

        .product-card {
            display: flex;
            flex-direction: column;
            height: 100%;
            max-height: 400px;
            border-radius: 8px;
            overflow: hidden;
            background-color: #f9f9f9;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .product-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        .product-image {
            height: 180px;
            background-color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            border-bottom: 1px solid #f0f0f0;
            flex-shrink: 0;
        }

        .product-image img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .no-image {
            color: #999;
            font-size: 14px;
        }

        .product-info {
            padding: 12px;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
            overflow: hidden;
        }

        .product-title {
            font-size: 14px;
            line-height: 1.3;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            max-height: 36px;
            margin-bottom: 8px;
        }

        .product-title a {
            color: #333;
            text-decoration: none;
        }

        .product-title a:hover {
            color: #3050e1;
        }

        .product-price {
            margin-bottom: 8px;
            font-weight: 600;
        }

        .price {
            color: #e53935;
            font-size: 16px;
        }

        .check-price {
            color: #666;
            font-size: 14px;
        }

        .product-merchant {
            font-size: 12px;
            color: #999;
            margin-top: auto;
            margin-bottom: 8px;
        }

        .merchant-label {
            color: #666;
        }

        .shop-now-btn {
            background-color: #3050e1;
            color: white;
            padding: 6px 12px;
            border-radius: 4px;
            text-align: center;
            text-decoration: none;
            font-weight: 500;
            font-size: 13px;
            transition: background-color 0.2s;
            width: 100%;
            margin-top: auto;
        }

        .shop-now-btn:hover {
            background-color: #1a30a0;
        }

        .view-more-btn {
            display: block;
            text-align: center;
            margin-top: 16px;
            padding: 8px 0;
            background-color: #f5f5f5;
            color: #3050e1;
            text-decoration: none;
            border-radius: 6px;
            transition: background-color 0.2s;
            font-weight: 500;
            font-size: 14px;
        }

        .view-more-btn:hover {
            background-color: #e8efff;
        }

        /* Location Tab Styles */
        .location-container {
            margin-bottom: 30px;
        }

        .location-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .location-header h2 {
            font-size: 18px;
            color: #333;
            margin: 0;
        }

        .location-status {
            display: flex;
            align-items: center;
            color: #666;
            font-size: 14px;
        }

        .current-location {
            margin-right: 8px;
        }

        .refresh-location {
            background: none;
            border: none;
            color: #3050e1;
            cursor: pointer;
            padding: 5px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: background-color 0.2s;
        }

        .refresh-location:hover {
            background-color: #f0f4ff;
        }

        .location-map-container {
            width: 100%;
        }

        .location-map {
            height: 600px;
            background-color: #f5f5f5;
            border-radius: 8px;
            overflow: hidden;
            width: 100%;
        }

        /* Media queries for responsiveness */
        @media (max-width: 768px) {
            .location-map {
                height: 400px;
            }

            .product-grid {
                grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
                gap: 12px;
            }

            .product-card {
                max-height: 350px;
            }

            .product-image {
                height: 150px;
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 10px;
            }

            .search-header {
                padding: 20px 0 10px;
            }

            .search-input {
                padding: 10px 40px;
            }

            .search-tab {
                padding: 8px 12px;
                font-size: 13px;
            }

            .results-grid {
                grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
            }

            .product-grid {
                grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
            }

            .product-image {
                height: 160px;
            }

            .location-map {
                height: 300px;
            }

            .product-description {
                display: none;
            }

            .center-layout {
                padding: 10px;
            }
        }

        /* AI Summary Box Styles */
        .ai-summary-box {
            background-color: #f8f9ff;
            border: 1px solid #e0e4f5;
            border-radius: 8px;
            padding: 16px 20px;
            margin-bottom: 20px;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
        }

        .ai-summary-box:hover {
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        .ai-summary-header {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
        }

        .ai-summary-icon {
            color: #3050e1;
            margin-right: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background-color: rgba(48, 80, 225, 0.1);
        }

        .ai-summary-title {
            font-size: 16px;
            font-weight: 600;
            color: #333;
            margin: 0;
        }

        .ai-summary-content {
            color: #333;
            font-size: 15px;
            line-height: 1.6;
            margin: 0;
        }

        .ai-summary-footer {
            margin-top: 12px;
            font-size: 12px;
            color: #666;
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 8px;
        }

        .ai-powered-badge {
            background-color: #eaefff;
            color: #3050e1;
            font-size: 11px;
            font-weight: 500;
            padding: 3px 6px;
            border-radius: 4px;
            display: flex;
            align-items: center;
        }

        .ai-powered-badge svg {
            margin-right: 4px;
            width: 12px;
            height: 12px;
        }

        .summary-disclaimer {
            color: #777;
            font-size: 11px;
        }

        /* Add a shimmer effect for loading state */
        @keyframes shimmer {
            0% {
                background-position: -1000px 0;
            }

            100% {
                background-position: 1000px 0;
            }
        }

        .ai-summary-loading {
            animation: shimmer 2s infinite linear;
            background: linear-gradient(to right, #f6f7fa 4%, #eaecf5 25%, #f6f7fa 36%);
            background-size: 1000px 100%;
            height: 80px;
            border-radius: 4px;
        }

        /* Knowledge Panel Styles */
        .knowledge-panel-container {
            margin-bottom: 20px;
            position: relative;
        }

        .knowledge-panel-box {
            background-color: #ffffff;
            border: 1px solid #e5e7eb;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
        }

        .knowledge-panel-header {
            display: flex;
            align-items: flex-start;
            margin-bottom: 20px;
            padding-bottom: 20px;
            border-bottom: 2px solid #f0f0f0;
        }

        .knowledge-panel-photo {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            object-fit: contain;
            margin-right: 20px;
            border: 3px solid #f0f0f0;
            padding: 10px;
        }

        .knowledge-panel-photo-placeholder {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background-color: #f3f4f6;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 20px;
            border: 3px solid #f0f0f0;
            color: #9ca3af;
        }

        .knowledge-panel-title-section {
            flex: 1;
        }

        .knowledge-panel-title {
            font-size: 24px;
            font-weight: 700;
            color: #1f2937;
            margin: 0 0 8px 0;
        }

        .knowledge-panel-type {
            display: inline-block;
            background-color: #eff6ff;
            color: #3b82f6;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 500;
            margin-bottom: 10px;
        }

        .knowledge-panel-stock {
            margin-top: 10px;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .stock-symbol {
            font-weight: 600;
            color: #6b7280;
        }

        .stock-price {
            font-size: 18px;
            font-weight: 700;
            color: #1f2937;
        }

        .stock-change {
            font-size: 14px;
            font-weight: 500;
            padding: 2px 8px;
            border-radius: 4px;
        }

        .stock-change.positive {
            color: #059669;
            background-color: #ecfdf5;
        }

        .stock-change.negative {
            color: #dc2626;
            background-color: #fef2f2;
        }

        .knowledge-panel-content {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .knowledge-panel-section {
            background-color: #fafafa;
            padding: 16px;
            border-radius: 8px;
        }

        .knowledge-panel-section-title {
            font-size: 16px;
            font-weight: 600;
            color: #374151;
            margin: 0 0 12px 0;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .knowledge-panel-item {
            margin-bottom: 12px;
            padding-bottom: 12px;
            border-bottom: 1px solid #e5e7eb;
        }

        .knowledge-panel-item:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .knowledge-panel-item strong {
            color: #111827;
            display: block;
            margin-bottom: 4px;
        }

        .knowledge-panel-date {
            font-size: 12px;
            color: #6b7280;
            margin-top: 4px;
        }

        .knowledge-panel-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .knowledge-panel-tag {
            background-color: #e5e7eb;
            color: #374151;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 14px;
        }

        .knowledge-panel-highlight {
            font-size: 28px;
            font-weight: 700;
            color: #059669;
            margin: 8px 0;
        }

        .knowledge-panel-footer {
            margin-top: 20px;
            padding-top: 20px;
            border-top: 2px solid #f0f0f0;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 16px;
        }

        .knowledge-panel-cv-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background-color: #3b82f6;
            color: white;
            padding: 8px 16px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.2s ease;
        }

        .knowledge-panel-cv-link:hover {
            background-color: #2563eb;
            transform: translateY(-1px);
        }

        .knowledge-panel-social {
            display: flex;
            gap: 12px;
        }

        .knowledge-panel-social-link {
            color: #6b7280;
            transition: all 0.2s ease;
        }

        .knowledge-panel-social-link:hover {
            color: #3b82f6;
            transform: translateY(-2px);
        }

        /* Responsive design for Knowledge Panel */
        @media (max-width: 768px) {
            .knowledge-panel-header {
                flex-direction: column;
                align-items: center;
                text-align: center;
            }

            .knowledge-panel-photo,
            .knowledge-panel-photo-placeholder {
                margin-right: 0;
                margin-bottom: 16px;
            }

            .knowledge-panel-footer {
                flex-direction: column;
                align-items: stretch;
            }

            .knowledge-panel-cv-link {
                justify-content: center;
            }

            .knowledge-panel-social {
                justify-content: center;
            }
        }

        /* Position knowledge panel in results */
        #knowledge-panel-container {
            order: 1;
        }

        #ai-summary-container {
            order: 2;
        }

        .sponsored-ads {
            order: 3;
        }

        #results-content>.result:first-of-type,
        .product-modules,
        .results-grid,
        .location-container {
            order: 4;
        }

        /* Did you mean suggestion styles */
        .did-you-mean-container {
            margin-bottom: 15px;
            order: 0;
            /* Ensure it appears at the top of results */
        }

        .did-you-mean {
            font-size: 14px;
            color: #666;
            padding: 10px 15px;
            background-color: #f8f9fa;
            border-radius: 8px;
            display: inline-block;
        }

        .did-you-mean a {
            color: #3050e1;
            text-decoration: none;
            font-weight: 500;
        }

        .did-you-mean a:hover {
            text-decoration: underline;
        }

        #did-you-mean-container {
            order: 0;
        }