/* css/shop.css */

/* =========================================
   Compact Shop Hero
   ========================================= */
.search-section {
  position: relative;

  max-width: 1100px;

  margin: 24px auto 22px;

  padding: 38px 24px;

  border: 1px solid var(--border-color);

  border-radius: 24px;

  overflow: hidden;

  background:
    radial-gradient(
      circle at top right,
      rgba(212, 175, 55, 0.08),
      transparent 35%
    ),
    linear-gradient(
      180deg,
      rgba(255,255,255,0.02),
      rgba(255,255,255,0.01)
    ),
    var(--panel-bg);

  text-align: center;
}

.search-section::before {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(212,175,55,0.04),
      transparent
    );

  pointer-events: none;
}

.search-section .section-header {
  position: relative;
  z-index: 2;

  margin-bottom: 0;
}

.search-section .section-title {
  font-size: clamp(2rem, 4vw, 3rem);

  line-height: 1.05;

  font-weight: 700;

  letter-spacing: 1px;

  color: var(--text-primary);

  text-transform: uppercase;
}

/* =========================================
   Search Bar Outside Hero
   ========================================= */
.search-bar-wrapper {
  width: 100%;

  display: flex;
  justify-content: center;

  margin-bottom: 42px;
}

.search-bar-container {
  position: relative;

  width: 100%;
  max-width: 540px;
}

.search-bar-container input {
  width: 100%;

  height: 54px;

  padding: 0 20px 0 54px;

  background-color: var(--surface-color);

  border: 1px solid var(--border-light);

  color: var(--text-primary);

  border-radius: 999px;

  font-size: 0.95rem;

  outline: none;

  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
}

.search-bar-container input::placeholder {
  color: var(--text-secondary);
  opacity: 0.75;
}

.search-bar-container input:focus {
  border-color: var(--accent-primary);

  background-color: rgba(255,255,255,0.03);

  box-shadow:
    0 0 0 4px rgba(212,175,55,0.08),
    0 0 16px rgba(212,175,55,0.08);
}

.search-icon {
  position: absolute;

  left: 20px;
  top: 50%;

  transform: translateY(-50%);

  color: var(--text-secondary);

  display: flex;
  align-items: center;

  pointer-events: none;

  transition: color 0.3s ease;
}

.search-bar-container:focus-within .search-icon {
  color: var(--accent-primary);
}

/* =========================================
   Empty State
   ========================================= */
.empty-state {
  color: var(--text-secondary);

  text-align: center;

  grid-column: 1 / -1;

  padding: 36px 20px;

  font-size: 1rem;

  border: 1px dashed var(--border-light);

  border-radius: 14px;

  background-color: rgba(255, 255, 255, 0.02);
}

/* =========================================
   Mobile
   ========================================= */
@media (max-width: 768px) {

  .search-section {
    margin-top: 18px;

    padding: 30px 18px;
  }

  .search-section .section-title {
    font-size: 1.9rem;
  }

  .search-bar-wrapper {
    margin-bottom: 34px;
  }

  .search-bar-container input {
    height: 50px;
  }
}

.shop-brand-title {
  color: var(--text-primary);
}

.shop-brand-title span {
  color: var(--accent-primary);
}