.search-hero-test-bg {
  width: 100vw;
  min-height: 100vh;
  background: #f5f6fa;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 48px 0 0 0;
}

.search-hero__container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.search-hero__box {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(80, 80, 120, 0.10);
  padding: 32px 40px 24px 40px;
  margin-top: 24px;
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.search-hero__form {
  width: 100%;
}

.search-hero__input-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0px;
  width: 100%;
}

/* File Type Dropdown */
.search-hero__file-type-dropdown {
  display: flex;
  align-items: center;
  background: #f3f4f6;
  border-radius: 8px 0 0 8px;
  height: 53px;
  padding: 0;
}

.search-hero__file-type-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: #f3f4f6;
  border: none;
  border-right: 1px solid #e0e0e0;
  border-radius: 8px 0 0 8px;
  padding: 0 32px 0 16px;
  height: 53px;
  font-size: 14px;
  font-weight: 500;
  color: #222;
  cursor: pointer;
  outline: none;
  transition: background 0.2s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L2 4h8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  min-width: 120px;
}

.search-hero__file-type-select:hover {
  background-color: #e8ecef;
}

.search-hero__file-type-select:focus {
  background-color: #e8ecef;
  outline: none;
}

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

.search-hero__input {
  flex: 1;
  width: 100%;
  padding: 16px 20px;
  border: none;
  border-radius: 0;
  background: #f3f4f6;
  font-size: 16px;
  color: #222;  
  transition: box-shadow 0.2s;
  height: 53px;
  outline: none;
}
.search-hero__input:focus {  
  outline: none;
}

.search-hero__input-icon {
  display: none;
  position: absolute;
  right: 1px;
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: #666;
  font-size: 20px;
  line-height: 1;
}

.search-hero__input-icon i {
  display: block;
  font-size: 24px;
}

.search-hero__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  background: #f3f4f6;
  height: 53px;
}

.search-hero__cell-submit { 
  border-radius: 0;
  padding: 0;
  min-width: auto;
}

.search-icon {
  font-size: 1.6rem;
  color: #A4AEC5;
  display: block;
  line-height: 1;
}
 
.search-hero__filters .search-icon {
  font-size: 1.4rem;
}

.search-hero__camera {
  background: #f3f4f6;
  border: none;
  border-radius: 8px;
  padding: 2px 8px 0;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.search-hero__camera:hover {
  background: #e0e7ef;
}

.search-hero__submit {
  background: #0097a7;
  color: #fff;
  border: none;
  border-radius: 0 8px 8px 0;
  padding: 0 24px;
  height: 53px;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  margin-left: 8px;
}
.search-hero__submit:hover {
  background: #007c91;
}

.search-hero__filters {
  background: #f3f4f6;
  color: #222;
  border: none;
  border-radius: 8px;
  padding: 0 18px;
  height: 53px;
  font-size: 16px;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  margin-left: 8px;
}
.search-hero__filters:hover {
  background: #e0e7ef;
  /* color: #0097a7; */
}

/* Desktop: Show desktop filters, hide mobile */
.search-hero__filters-desktop {
  display: flex;
}

.search-hero__filters-mobile-wrapper {
  display: none;
}

.search-hero__popular {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-hero__popular-label {
  color: #757575;
  font-size: 1rem;
  margin-right: 8px;
}

.search-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-hero__tag {
  background: #f3f4f6;
  color: #3a3a4a;
  border-radius: 6px;
  padding: 6px 16px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  border: 1px solid transparent;
}
.search-hero__tag:hover {
  background: #e0e7ef;
  color: #0097a7;
  border-color: #b3e0e7;
}



@media (max-width: 900px) {
  .search-hero__box {
    padding: 24px 16px 16px 16px;
    max-width: 96vw;
    margin: 16px auto;
  }

  .search-hero__input-row {
    gap: 0;
  }

  .search-hero__file-type-select {
    min-width: 100px;
    font-size: 13px;
    padding: 0 28px 0 12px;
  }

  .search-hero__input {
    font-size: 15px;
    padding: 14px 16px;
  }

  .search-hero__submit {
    padding: 0 20px;
    min-width: 56px;
  }
}

@media (max-width: 768px) {
  .search-hero-test-bg {
    padding: 32px 0 0 0;
  }

  .search-hero__box {
    padding: 20px 12px 12px 12px;
    margin: 12px;
    border-radius: 12px;
  }

  .search-hero__file-type-dropdown,
  .search-hero__file-type-select,
  .search-hero__input,
  .search-hero__submit {
    height: 48px;
  }

  .search-hero__file-type-select {
    min-width: 90px;
    font-size: 13px;
    padding: 0 24px 0 10px;
  }

  .search-hero__input {
    font-size: 14px;
    padding: 12px 40px 12px 14px;
  }

  .search-hero__input-icon {
    display: block;
  }

  .search-hero__cell-submit {
    display: none;
  }

  .search-hero__submit {
    padding: 0 16px;
    min-width: 48px;
  }

  .search-hero__popular {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
  }

  .search-hero__tags {
    gap: 8px;
    flex-wrap: wrap;
  }

  .search-hero__tag {
    font-size: 14px;
    padding: 6px 14px;
  }
}

@media (max-width: 600px) {
  .search-hero__box {
    padding: 16px 10px 10px 10px;
    margin: 8px;
  }

  .search-hero__input-row {
    flex-wrap: wrap;
    gap: 0;
  }

  .search-hero__file-type-dropdown {
    border-radius: 8px 8px 0 0;
    width: 100%;
    border-bottom: 1px solid #e0e0e0;
  }

  .search-hero__file-type-select {
    width: 100%;
    border-radius: 8px 8px 0 0;
    border-right: none;
    border-bottom: none;
    min-width: 100%;
  }

  .search-hero__input {
    flex: 1;
    border-radius: 0;
    min-width: 0;
  }

  .search-hero__submit {
    width: auto;
    border-radius: 0 0 8px 0;
    height: 48px;
    padding: 0 20px;
    justify-content: center;
    margin: 0;
    flex-shrink: 0;
  }
  
  /* Mobile: Show filters button in same row as input */
  .search-hero__filters-desktop {
    display: flex !important;
    border-radius: 0 0 0 8px;
    height: 48px;
    padding: 0 16px;
    margin: 0;
    flex-shrink: 0;
  }
  
  .search-hero__filters-mobile-wrapper {
    display: none;
  }
  
  .search-hero__filters-mobile-left,
  .search-hero__filters-mobile-right {
    display: none;
  }
  
  .search-hero__filters {
    margin: 0;
    width: 100%;
    border-radius: 0 0 8px 8px;
    height: 48px;
  }

  .search-hero__popular {
    margin-top: 12px;
  }

  .search-hero__tag {
    font-size: 13px;
    padding: 5px 12px;
  }

  .search-hero__cell {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  .search-hero-test-bg {
    padding: 24px 0 0 0;
  }

  .search-hero__box {
    margin: 6px;
    padding: 12px 8px 8px 8px;
  }

  .search-hero__file-type-dropdown,
  .search-hero__file-type-select,
  .search-hero__input,
  .search-hero__submit {
    height: 44px;
  }

  .search-hero__tag {
    font-size: 12px;
    padding: 4px 10px;
  }
  
  .search-hero__filters-mobile-left,
  .search-hero__filters-mobile-right {
    height: 44px;
  }
}

/* Desktop/Mobile toggle for filter buttons */
.search-hero__filters-desktop {
  display: flex;
}

.search-hero__filters-mobile-wrapper {
  display: none;
}

@media (max-width: 600px) {
  .search-hero__filters-desktop {
    display: none !important;
  }
  
  .search-hero__filters-mobile-wrapper {
    display: flex;
  }
} 

.search-section-results {
    padding: 18px 24px 18px;
    position: sticky;
    top: 64px;
    z-index: 999;
    background: #fff;
}