.category-hero {
  position: relative;
  min-height: 60vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-background {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-overlay {
  background: linear-gradient(to bottom, rgba(63, 72, 111, 0.7) 0%, rgba(63, 72, 111, 0.9) 100%);
  padding: 60px 20px;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
}

.hero-text {
  text-align: center;
  margin-bottom: 40px;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: white;
  margin-bottom: 15px;
}

.hero-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
}

.search-container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.search-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  border-bottom: 2px solid #eee;
}

.tab {
  padding: 12px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-weight: 600;
  color: #666;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tab:hover {
  color: #E30A1D;
  transform: translateY(-2px);
}

.tab.active-tab {
  color: #E30A1D;
  border-bottom-color: #E30A1D;
}

.tab-label {
  display: inline-block;
}

.tab-loader {
  display: none;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(2px);
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #E30A1D;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

.loading-overlay p {
  color: #333;
  font-size: 18px;
  font-weight: 600;
}

.search-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.search-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-field label {
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.search-field input,
.search-field select {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.search-field.checkbox-field {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.search-field.checkbox-field input {
  width: auto;
}

.search-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.left-buttons,
.right-buttons {
  display: flex;
  gap: 10px;
}

.catalog-button,
.reset-button,
.search-button {
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.catalog-button {
  background: #6c757d;
  color: white;
}

.reset-button {
  background: #f8f9fa;
  color: #333;
}

.search-button {
  background: #E30A1D;
  color: white;
}

.catalog-button:hover,
.reset-button:hover,
.search-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
