.happy-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
}

/* GRID */
.happy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 30px;
}

/* THUMBNAIL */
.happy-item {
display: block;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.happy-item img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

.happy-item:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.happy-item:hover img {
  transform: scale(1.08);
}

/* RESPONSIVE */
/* Tablet */
@media (max-width: 1024px) {
  .happy-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile */
@media (max-width: 660px) {
  .happy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* POPUP */
.happy-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.happy-modal-content {
  position: relative;
  width: 100%;
  max-width: 900px;
  background: #000;
  border-radius: 16px;
  overflow: visible; /* cho nút close trồi ra */
}

/* VIDEO bo góc 
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 16px;
  overflow: hidden;
}*/

.video-wrapper iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

/* CLOSE BUTTON sát mép ngoài */
.wrapper-happy-close{
margin: 0;
}
.happy-close {
  position: absolute;
  top: -18px;
  right: -18px;
  font-size: 26px;
  color: #fff;
  background: #000;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99999;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: 0.3s;
}

.happy-close:hover {
  background: #222;
  transform: scale(1.1);
}
.happy-item.hidden {
  display: none;
}

/* ===== SHOW MORE BUTTON ===== */
.happy-show-more {
  margin: 40px auto 0;
  display: block;
  padding: 12px 32px;
  background: #000;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
}

.happy-show-more:hover {
  background: #333;
}