/* Search Suggestions Styling */
.search-suggestions-container {
    position: relative;
    width: 100%;
}

.suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #eee;
    border-top: none;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    max-height: 450px;
    overflow-y: auto;
    border-radius: 0 0 8px 8px;
}

.suggestion-row {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #f9f9f9;
    text-decoration: none;
    color: #333;
    transition: background 0.2s ease, filter 0.3s ease;
    filter: blur(5px);
}

.suggestion-row.is-visible {
    filter: blur(0);
}

.suggestion-row:hover {
    background: #fdf2e9;
    color: #f36f21;
}

.suggestion-row:last-child {
    border-bottom: none;
}

.suggestion-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-right: 15px;
    border-radius: 4px;
    background: #f5f5f5;
}

.suggestion-info {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggestion-price {
    font-size: 14px;
    font-weight: 700;
    color: #f36f21;
    margin-left: 10px;
}

.see-all-row {
    display: block;
    padding: 12px;
    text-align: center;
    background: #f36f21;
    color: #fff !important;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
}

.see-all-row:hover {
    background: #d85d1a;
}

.suggestion-loading {
    padding: 20px;
    text-align: center;
}

.suggestion-loading .spinner {
    width: 25px;
    height: 25px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #f36f21;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { background-color: #f5f5f5; }
    50% { background-color: #efefef; }
    100% { background-color: #f5f5f5; }
}

.skeleton-row {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #f9f9f9;
}

.skeleton-img {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background: #f5f5f5;
    margin-right: 15px;
    animation: pulse 1.5s infinite ease-in-out;
}

.skeleton-text {
    height: 14px;
    background: #f5f5f5;
    border-radius: 4px;
    animation: pulse 1.5s infinite ease-in-out;
}

.skeleton-title {
    flex: 1;
    max-width: 60%;
}

.skeleton-price {
    width: 60px;
    margin-left: 10px;
}

/* Sticky header adjustments if needed */
.sticky-search .suggestions-dropdown {
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
/* Mobile Header Ticker Animation */
@media only screen and (max-width: 639px) {
    .top-contact {
        max-width: none !important;
        width: 100% !important;
        flex: 1 1 auto !important;
    }

    .ticker-container {
        overflow: hidden;
        width: 100%;
        position: relative;
    }

    .ticker-content {
        display: flex;
        align-items: center;
        white-space: nowrap;
        animation: header-ticker 15s linear infinite;
        will-change: transform;
    }

    .ticker-content p, 
    .ticker-content h4 {
        margin: 0 !important;
        display: inline-flex !important;
        align-items: center;
        padding-right: 20px;
    }

    .ticker-content h4 a {
        font-size: 14px;
        color: inherit !important;
        text-decoration: none;
    }

    @keyframes header-ticker {
        0% { transform: translateX(100vw); }
        100% { transform: translateX(-100%); }
    }
}
