/* Premium live search overlay */

.search-overlay {
  background: rgba(248, 250, 252, 0.98) !important;
  backdrop-filter: blur(12px);
  padding: 0 !important;
}

.search-overlay.open {
  transform: translateY(0) !important;
}

.search-overlay__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 20px 40px;
  min-height: 100%;
  box-sizing: border-box;
}

.search-overlay__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding-top: 48px;
}

.search-overlay__close {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(74, 63, 26, 0.1);
  font-size: 1.4rem;
  cursor: pointer;
  color: #64748b;
  line-height: 1;
}

.search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 0 18px;
  box-shadow: 0 4px 20px rgba(74, 63, 26, 0.06);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.search-field:focus-within {
  border-color: #d4af37;
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.15);
}

.search-field__ico {
  color: #94a3b8;
  flex-shrink: 0;
}

.search-field input {
  flex: 1;
  border: none;
  outline: none;
  padding: 16px 0;
  font-size: 1.05rem;
  background: transparent;
  color: #4a3f1a;
  font-family: 'Poppins', sans-serif;
}

.search-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}

.search-panel__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #d4af37;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.search-collections a {
  display: block;
  padding: 10px 14px;
  margin-bottom: 6px;
  background: #fff;
  border-radius: 12px;
  text-decoration: none;
  color: #5c4f20;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(74, 63, 26, 0.05);
  transition: background 0.12s ease;
}

.search-collections a:hover {
  background: #fef9eb;
}

.search-products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.search-product-card {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: #fff;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 12px rgba(74, 63, 26, 0.06);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.search-product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 63, 26, 0.1);
}

.search-product-card img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  background: #f1f5f9;
}

.search-product-card strong {
  display: block;
  font-size: 0.9rem;
  color: #5c4f20;
  margin-bottom: 4px;
  line-height: 1.3;
}

.search-product-card .search-price {
  font-weight: 700;
  color: #c62828;
  font-size: 0.95rem;
}

.search-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  color: #94a3b8;
  background: #fff;
  border-radius: 16px;
}

@media (max-width: 767.98px) {
  .search-overlay__top {
    padding-top: 16px;
    margin-bottom: 20px;
  }

  .search-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .search-products {
    grid-template-columns: 1fr;
  }

  .search-field input {
    font-size: 1rem;
    padding: 14px 0;
  }
}
