@import url('common.css');

.tazze-grid {
  display: grid;
  gap: 2rem;
  justify-items: stretch;
  align-items: stretch;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
  box-sizing: border-box;
  grid-template-columns: repeat(1, 1fr);
}

.tazza-card {
  background: #fff7f0;
  border: 2px solid #000;
  border-radius: 20px;
  padding: 1rem;
  text-align: center;
  box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.tazza-card:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.tazza-card img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 0.5rem;
}

.tazza-card h3 {
  font-size: 1.2rem;
  margin: 0.5rem 0;
}

.tazza-card p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.tazza-button {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  background-color: #3d1d4f;
  color: white;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.tazza-button:hover {
  background-color: #5f2e7a;
}

.tazza-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}


@media (min-width: 480px) {
  .tazze-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 641px) {
  .tazze-grid {
    grid-template-columns: repeat(2, 1fr);
    /* tablet */
  }
}

@media (max-width: 768px) {

  .section-padding {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

@media (min-width: 1024px) {
  .tazze-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


