h1 {
  text-align: center;
  margin: 40px 0 20px;
  color: black;
}

h2 {
  text-align: center;
  margin: 30px 0;
  color: #1d2936;
}

.product-section {
  margin-bottom: 50px;
}

.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 0 20px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  width: 250px;
  height: 350px;
  background: #d84e22;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 15px 15px 6px;
  box-sizing: border-box;
}

.flip-card {
  background-color: transparent;
  width: 250px;
  height: 350px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.flip-card-front {
  background: #d84e22;
  color: white;
}

.flip-card-front img {
  display: block;
  width: 200px;
  height: 280px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  overflow: hidden;
}

.flip-card-front h3 {
  margin-top: 8px;
  text-align: center;
  font-size: 1rem;
  line-height: 1.2;
  height: 40px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.flip-card-back {
  background: #d84e22;
  color: white;
  transform: rotateY(180deg);
  text-align: center;
  font-size: 0.95rem;
}
