.hero-banner {
  margin: 12px 0 16px;
  overflow: hidden;
  position: relative;
  animation: revealIn 420ms ease both;
}

.hero-banner::after {
  content: "";
  position: absolute;
  inset: auto -40px -55px auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at 30% 30%, rgba(248, 128, 90, 0.28), transparent 65%);
  pointer-events: none;
}

.hero-banner .panel-body {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 14px;
  align-items: center;
}

.hero-title {
  margin: 0;
  font-size: 1.7rem;
  letter-spacing: 0.2px;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.hero-badges {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.badge {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
  font-size: 0.9rem;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .hero-banner .panel-body {
    grid-template-columns: 1fr;
  }

  .hero-badges {
    justify-items: start;
  }
}


.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.category-heading {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 6px 0;
  margin-top: 2px;
  scroll-margin-top: 130px;
}

.category-heading h2 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0.2px;
}

@media (max-width: 560px) {
  .category-heading {
    flex-direction: column;
    align-items: flex-start;
  }
}

.product-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  transition: transform 140ms ease, border-color 140ms ease;
  opacity: 0;
  animation: revealCard 460ms ease forwards;
}

.product-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.22);
}

.product-thumb {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, rgba(15, 139, 141, 0.18), rgba(248, 128, 90, 0.16));
  border-bottom: 1px solid var(--border);
  display: grid;
  place-items: center;
}

.product-thumb img {
  width: 78%;
  height: auto;
}

.product-body {
  padding: 12px;
  display: grid;
  gap: 8px;
}

.product-title {
  font-weight: 800;
  line-height: 1.2;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
}


.price {
  font-weight: 800;
  color: var(--text);
}

.btn-add {
  width: 100%;
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(15, 139, 141, 0.5);
  background: rgba(15, 139, 141, 0.12);
}

.btn-add:hover {
  border-color: rgba(15, 139, 141, 0.85);
}

.span-all {
  grid-column: 1 / -1;
}

.product-card:nth-of-type(1) { animation-delay: 40ms; }
.product-card:nth-of-type(2) { animation-delay: 85ms; }
.product-card:nth-of-type(3) { animation-delay: 130ms; }
.product-card:nth-of-type(4) { animation-delay: 175ms; }
.product-card:nth-of-type(5) { animation-delay: 220ms; }
.product-card:nth-of-type(6) { animation-delay: 265ms; }

@keyframes revealIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes revealCard {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}
