/* Search Results Page Styles */
.logo img{
    filter: brightness(0) invert(1);
}

.header.scrolled .logo img{
    filter: none;
} 
.search-btn,.nav-link{
    color: white;
}
.nav-link:hover, .nav-link.active{
    color: var(--secondary-color);
}
.header.scrolled .search-btn,
.header.scrolled .nav-link{
    color: var(--text-dark);
}
.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active{
    color: var(--primary-color);
}
/* Search Result Meta */
.search-summary {
  padding: 60px 0 0px;
}

.search-summary .query-label {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 15px;
  display: block;
}

.search-summary h2 {
  font-size: 2.5rem;
  color: var(--text-dark);
}

.search-summary .highlight-query {
  color: var(--primary-color);
}

/* Result Sections */
.results-section {
  padding: 60px 0;
}

.results-section:nth-of-type(even) {
  background: var(--bg-light);
}

.section-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 20px;
}

.result-count {
  background: var(--primary-color);
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Specific Grid Adjustments */
.search-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.search-news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

/* Empty State */
.empty-results {
  text-align: center;
  padding: 100px 0;
}

.empty-results i {
  font-size: 80px;
  color: #eee;
  margin-bottom: 30px;
}

.empty-results p {
  font-size: 1.25rem;
  color: var(--text-gray);
  margin-bottom: 30px;
}
.mini-product-card {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
  transition: var(--transition);
}
.mini-product-card:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}
.news-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: stretch;
  transition: var(--transition);
}
.news-card:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}
.news-more {
  color: var(--primary-color);
  font-weight: 600;
  transition: var(--transition);
}
.news-more:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}
.mini-product-card .btn-outline {
  margin-left: 0;
  padding: 5px 15px;
  font-size: 0.85rem;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 20px;
  transition: var(--transition);
}
.mini-product-card .btn-outline:hover {
  background-color: var(--primary-color);
  color: #fff;
}
.news-img {
  width: 300px;
  height: auto;
  overflow: hidden;
  flex-shrink: 0;
}
.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-body {
  padding: 30px;
  flex: 1;
}
.news-body span {
  font-size: 0.85rem;
  color: var(--text-gray);
  margin-bottom: 10px;
  display: block;
}
.news-body h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
}
.news-body p {
  color: var(--text-gray);
  font-size: 0.95rem;
  margin-bottom: 20px;
}
/* Responsive */
@media (max-width: 1200px) {
  .search-products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .search-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .search-news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .search-products-grid {
    grid-template-columns: 1fr;
  }
  .search-summary h2 {
    font-size: 1.75rem;
  }
  .news-img {
    width: 100%;
    height: 200px;
  }
  .news-body {
    padding: 20px;
  }
}
