.search-results-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
}

.search-header {
    background: white;
    border-radius: 12px 12px 0 0;
    padding: 40px;
    margin-bottom: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    text-align: center;
}

.search-header h1 {
    font-size: 2rem;
    color: #111827;
    margin: 0 0 24px 0;
    font-weight: 700;
}

.search-header p {
    color: #6b7280;
    font-size: 1rem;
    margin: 16px 0 0 0;
}

.search-results-count {
    color: #374151;
    font-weight: 500;
}

/* Search Form */
.search-form {
    max-width: 600px;
    margin: 0 auto;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 16px;
    color: #6b7280;
    font-size: 1rem;
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 14px 48px 14px 48px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: #f9fafb;
}

.search-input:focus {
    outline: none;
    border-color: #000;
    background: white;
}

.search-clear {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 4px;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.search-clear:hover {
    color: #000;
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 180px);
    gap: 16px;
    margin-top: 30px;
    justify-content: center;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.result-card {
    background: white;
    border-radius: 0;
    overflow: visible;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    width: 180px !important;
    height: 270px;
    display: flex;
    flex-direction: column;
}

.result-card:hover {
    text-decoration: none;
    color: inherit;
    transform: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.result-image-container {
    position: relative;
    width: 180px;
    height: 180px;
    background: white;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
}

.result-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Image Carousel */
.item-images-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.item-images-carousel img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    user-drag: none;
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
}

.result-card:hover .item-images-carousel img {
    transform: scale(1.05);
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 1;
    transition: all 0.2s ease;
    z-index: 10;
    font-size: 1.2rem;
    color: #374151;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.result-card:hover .carousel-nav {
    opacity: 1;
}

.carousel-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 8px;
}

.carousel-nav.next {
    right: 8px;
}

/* Image Count Badge */
.image-count-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
    z-index: 10;
}

/* Favorite Button */
.item-favorite {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 15;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.item-favorite:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.item-favorite i {
    font-size: 1.1rem;
    color: #ef4444;
    transition: color 0.2s ease;
}

.item-favorite i.fas {
    color: #ef4444;
}

.item-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    user-drag: none;
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
}

.result-card:hover .item-image {
    transform: scale(1.05);
}

.result-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.result-content {
    padding: 12px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: #f2f5f8;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.result-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: #000000;
    margin: 0 0 4px 0;
}

.result-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #000000;
    margin: 0 0 8px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.4em;
}

.result-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: auto;
    font-size: 0.75rem;
}

.result-location {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #6b7280;
    font-size: 0.85rem;
}

.result-time {
    background: #f3f4f6;
    color: #6b7280;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.no-results-icon {
    font-size: 4rem;
    color: #d1d5db;
    margin-bottom: 20px;
}

.no-results h2 {
    font-size: 1.8rem;
    color: #111827;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.no-results p {
    color: #6b7280;
    font-size: 1.1rem;
    margin: 0 0 40px 0;
}

.search-suggestions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.suggestion-chip {
    background: white;
    color: #374151;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
}

.suggestion-chip i {
    font-size: 0.9rem;
}

.suggestion-chip:hover {
    background: #000;
    color: white;
    text-decoration: none;
    border-color: #000;
    transform: translateY(-2px);
}

/* Info Icon Tooltip */
.info-icon-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.info-tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    width: 280px;
    background: #1f2937;
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    line-height: 1.5;
    z-index: 1000;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
    pointer-events: none;
}

.info-tooltip::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 10px;
    width: 12px;
    height: 12px;
    background: #1f2937;
    transform: rotate(45deg);
}

.info-icon-wrapper:hover .info-tooltip {
    visibility: visible;
    opacity: 1;
}

.info-icon-wrapper i:hover {
    color: #22c55e;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .results-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 16px;
    }
    
    .search-header h1 {
        font-size: 1.5rem;
    }
    
    .search-stats {
        flex-direction: column;
        gap: 10px;
    }
}
