.product-categories {
  font-family: 'Segoe UI', sans-serif;
  padding: 40px 20px;
  background: #fff;
  text-align: center;
}

.section-title {
  font-size: 36px;
  margin-bottom: 40px;
  color: #264d24;
}

.grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(700px, 1fr));
  justify-items: center;
}

.card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: #f3f3f1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  height: 100%;
  min-height: 230px;
  max-height: 260px;
}

.card img {
  width: 300px;
  height: 100%;
  object-fit: cover;
}

.text-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  text-align: left;
}

.text-block h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.text-block p {
  font-size: 14px;
  color: #555;
  flex-grow: 1;
  margin-bottom: 15px;
}

.btn {
  display: inline-block;
  background: #104d17;
  color: #fff;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 4px;
  font-size: 14px;
  align-self: start;
}

.btn:hover {
  background: #0b3e12;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .card {
    flex-direction: column;
    max-height: none;
  }

  .card img {
    width: 100%;
    height: auto;
  }

  .text-block {
    padding: 16px;
  }
}

.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  border-radius: 20px;
  font-family: 'Arial', sans-serif;
}

.background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.overlay-content {
  position: relative;
  z-index: 2;
  padding: 40px;
  color: white;
  max-width: 60%;
}

.tagline {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 500;
}

.headline {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
  margin: 0;
}

.cta-button {
  margin-top: 30px;
  display: inline-block;
  background-color: white;
  color: #00224D;
  padding: 15px 25px;
  border-radius: 12px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s ease;
}

.cta-button:hover {
  background-color: #f0f0f0;
}

.zoomed-detail {
  position: absolute;
  right: 30px;
  top: 30px;
  z-index: 3;
  width: 220px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.zoomed-detail img {
  width: 100%;
  display: block;
}

.detail-caption {
  padding: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

