/*
 * metal-store.css
 * Стили для каталога лома (карточки, адаптивность)
 */

@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap');

body {
  font-family: 'Roboto', sans-serif;
}

.metal-store-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0;
}

.metal-card {
  width: calc(33.333% - 20px);
  border: 1px solid #ddd;
  padding: 10px;
  transition: 0.3s;
  background: #fff;
}

.metal-card:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.metal-card img {
  max-width: 100%;
  height: auto;
  display: block;
}

.metal-card h3 {
  margin: 10px 0 5px;
  font-size: 18px;
}

.metal-card p {
  margin: 5px 0;
}

.btn-metal-more {
  background: #b3191f;
  color: #fff;
  border: 1px solid #b3191f;
  padding: 8px 14px;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-metal-more:hover {
  background: #8e151a;
  border-color: #8e151a;
}

/* Адаптивность */
@media (max-width: 992px) {
  .metal-card {
    width: calc(50% - 20px);
  }
}

@media (max-width: 576px) {
  .metal-store-grid {
    flex-direction: column;
  }
  .metal-card {
    width: 100%;
  }
}
