* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: Arial, sans-serif;
  background: #fff;
  line-height: 1.6;
}

header,
footer {
  background: #f7f7f7;
  padding: 10px;
  text-align: center;
}
nav a {
  margin: 0 10px;
  text-decoration: none;
  color: #c2185b;
  font-weight: bold;
}
.hero {
  background: url("../images/banner.jpg") center/cover no-repeat;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-shadow: 1px 1px 3px black;
}
.hero h1 {
  font-size: 1.8em;
  padding: 0 10px;
  text-align: center;
}

.section {
  padding: 15px;
}
.section h2 {
  text-align: center;
  margin-bottom: 10px;
  color: #c2185b;
}
.categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
}
.categories a {
  padding: 8px 12px;
  background: #ffe0eb;
  color: #c2185b;
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.9em;
}
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}
.product {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
}
.product img {
  width: 100%;
  height: auto;
  display: block;
}
.product h3 {
  font-size: 1em;
  padding: 5px;
}
.btn-zalo {
  display: inline-block;
  margin: 5px auto 10px;
  padding: 6px 12px;
  background: #25d366;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9em;
}
footer {
  font-size: 0.8em;
  color: #555;
}
.fixed-buttons {
  position: fixed;
  bottom: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fixed-buttons a {
  padding: 10px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  text-align: center;
  font-size: 16px;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.4em;
  }
}
.hero-sinh-nhat {
  background: url("../images/banner-sinh-nhat.jpg") center/cover no-repeat;
}
.hero-cuoi-hoi {
  background: url("../images/banner-cuoi.jpg") center/cover no-repeat;
}
.hero-chia-buon {
  background: url("../images/banner-chia-buon.jpg") center/cover no-repeat;
}
.hero-ngay-le {
  background: url("../images/banner-ngay-le.jpg") center/cover no-repeat;
}
/* Nút Zalo Cho CTKM - Rung lắc*/

.glow-ping {
  animation: glow 1.5s infinite alternate;
}

@keyframes glow {
  from {
    box-shadow: 0 0 5px #fff, 0 0 10px #60a5fa, 0 0 15px #60a5fa;
  }
  to {
    box-shadow: 0 0 10px #fff, 0 0 20px #3b82f6, 0 0 25px #3b82f6;
  }
}
.shake {
  animation: shake 3s infinite;
}

@keyframes shake {
  0% {
    transform: translate(0);
  }
  25% {
    transform: translateX(-2px);
  }
  50% {
    transform: translateX(2px);
  }
  75% {
    transform: translateX(-2px);
  }
  100% {
    transform: translateX(0);
  }
}
.neon-blink {
  color: #ff4ecb;
  text-shadow: 0 0 3px #ff77d9, 0 0 6px #ff4ecb, 0 0 12px #ff4ecb;
  animation: neon-blink 1.8s ease-in-out infinite;
}

@keyframes neon-blink {
  0%,
  100% {
    text-shadow: 0 0 3px #ff77d9, 0 0 6px #ff4ecb, 0 0 12px #ff4ecb;
    opacity: 1;
  }
  50% {
    text-shadow: 0 0 2px #ffaad5, 0 0 4px #ffaad5;
    opacity: 0.7;
  }
}
