/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 31-Dec-2025, 11:14:00 AM
    Author     : nikhil
*/

.search-container {
  flex: 1;
  position: relative;
}

/* Input + button wrapper */
.search-box {
  position: relative;
}

/* Full width input */
#searchInput {
  width: 100%;
  height: 46px;
  padding: 0 48px 0 14px; /* space for button */
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 15px;
}

/* Search button inside input */
.search-btn {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  height: 36px;
  width: 36px;
  border-radius: 6px;
  border: none;
  /*background: #ff9900;  Amazon style */
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

.search-btn:hover {
  background: #f08804;
}

/* Dropdown same width as input */
.search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  border-radius: 8px;
  margin-top: 6px;
  max-height: 320px;
  overflow-y: auto;
  display: none;
  z-index: 9999;
}

/*//////////////////////////////////////////////*/

.search-dropdown li.section-title {
  font-size: 12px;
  text-transform: uppercase;
  color: #777;
  padding: 8px 14px;
  cursor: default;
}

.search-dropdown li.recent-item {
  display: flex;
  justify-content: space-between;
  /*align-items: center;*/
}

.search-dropdown .remove {
  font-size: 12px;
  color: #999;
  cursor: pointer;
}

.search-dropdown .remove:hover {
  color: #e53935;
}

/*////////////////////////////////////////*/

.search-dropdown {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  margin-top: 6px;
  padding: 6px 0;
  overflow: hidden;
}
.search-dropdown li.section-title {
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 600;
  color: #8a8a8a;
  text-transform: uppercase;
  letter-spacing: .6px;
  background: #fafafa;
  cursor: default;
}
.search-dropdown li {
  padding: 12px 16px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background .15s ease;
}

.search-dropdown li:hover {
  background: #f4f6f8;
}
.search-dropdown li.recent-item {
  justify-content: space-between;
}
.search-dropdown li::before {
  content: "🔍";
  font-size: 13px;
  opacity: .5;
}

.search-dropdown li.section-title::before {
  content: "";
}
.search-dropdown .remove {
  font-size: 13px;
  color: #9e9e9e;
  padding: 4px;
  border-radius: 50%;
}

.search-dropdown .remove:hover {
  background: #eee;
  color: #e53935;
}
.search-dropdown li.no-result {
  color: #999;
  cursor: default;
}


@media (max-width: 768px) {
  

  .search-container {
    width: 100%;
    order: 3; /* search goes to next row */
  }
}

/*////////////////////////////////////////////*/


.search-page {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  padding: 24px;
}

/* Responsive */
@media (max-width: 991px) {
  .search-page {
    grid-template-columns: 1fr;
  }
}
.filter-panel {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  position: sticky;
  top: 90px;
  height: fit-content;
}

.filter-panel h3 {
  font-size: 18px;
  margin-bottom: 14px;
}

.filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.filter-list li {
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.filter-list li:hover {
  background: #f5f7fa;
}

.filter-list li.active {
  background: #fff3e0;
  color: #e65100;
  font-weight: 600;
}
.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.result-header select {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
  cursor: pointer;
}

.summary {
  font-size: 14px;
  color: #666;
}
/*//////////////////////////// for summary*/ 

    /* Header row */
.lv-header {
  display: flex;
  justify-content: flex-end; /* 🔥 move summary to right */
  margin-bottom: 12px;
}

/* Summary styling */
.lv-summary {
  font-size: 14px;
  color: #666;
}

/* Items & pager full width */
.lv-items,
.lv-pager {
  width: 100%;
}

/* Center pager (optional) */
.lv-pager {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
