.hero-timer {
  background: #f8f9fa;
  color: #333;
  text-align: center;
  padding: 3rem 0;
}

/* =================================================
       1.  GRID MASONRY (harmonised, responsive)
    ================================================= */
.promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  grid-auto-rows: 180px;
  grid-auto-flow: dense;
  gap: 18px;
}

/* =================================================
       2.  CARD BASE
    ================================================= */
.promo-card {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 0.65rem;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow .3s ease;
  color: #fff;
  will-change: transform;
}

.promo-card:hover {
  transform: translateY(-4px);   /* sollevamento */
  box-shadow: 0 14px 26px rgba(0,0,0,.2);
  color: white;
}

/* overlay leggibile: nastro semitrasparente */
.promo-card .overlay {
  width: 100%;
  min-height: 60px;
  padding: 12px 14px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  /* nastro sfondo con trasparenza */
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  font-size: 20px;
}
/* testo senza box aggiuntivi */
.promo-card .overlay span {
  background: none;
  padding: 0;
  border-radius: 0;
  font-size: 1.05rem;
  line-height: 1.25;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
}

/* =================================================
       3.  UTILITY CLASSI SPAN
    ================================================= */
.w-2 {
  grid-column: span 2;
}
.h-2 {
  grid-row: span 2;
}
.w-full {
  grid-column: 1 / -1;
}

/* =================================================
       4.  RESPONSIVE OVERRIDES
    ================================================= */
@media (max-width: 768px) {
  .promotions-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-auto-rows: 160px;
  }
}
@media (max-width: 576px) {
  .promotions-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }
  .w-2,
  .h-2,
  .w-full {
    grid-column: span 1;
    grid-row: span 1;
  }
}
