/* Tazze e Borracce CSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Georgia', serif;
}

.product-hero {
  background: url("../../assets/img/personalizzazioni-oggettistica.jpg") no-repeat center center/cover;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
}

.product-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
}

.hero-text {
  position: relative;
  z-index: 2;
  text-align: center;
}

.product-hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #fff;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6), 0 0 8px rgba(90, 108, 55, 0.6);
}

.product-hero p {
  font-size: 1.3rem;
  font-weight: 300;
  color: #f0e6d2;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.back-link {
  position: absolute;
  bottom: 15px;
  left: 20px;
  font-size: 0.95rem;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.45);
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
  z-index: 3;
}

.back-link:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: translateY(-2px);
}

.prodotti-candele,
.prodotti-grid {
  padding: 70px 30px;
  background: var(--surface-soft);
}

.prodotti-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.prodotto-card {
  background: var(--surface);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 12px var(--shadow);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  padding-bottom: 20px;
}

.prodotto-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 22px var(--shadow);
}

.prodotto-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.prodotto-card:hover img {
  transform: scale(1.05);
}

.prodotto-card h2 {
  margin: 18px 0 8px;
  font-size: 1.3rem;
  color: var(--text);
}

.prodotto-card h2 a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.prodotto-card h2 a:hover {
  color: var(--accent);
}

.price {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--accent);
  margin-bottom: 15px;
}

@media (max-width:768px) {
  .product-hero h1 {
    font-size: 2.2rem;
  }

  .product-hero p {
    font-size: 1rem;
  }

  .prodotti-grid {
    gap: 20px;
  }

  .prodotto-card h2 {
    font-size: 1.1rem;
  }
}