.hai-loc-plugin {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0;
}

button.hll-btn {
  position: relative;
  overflow: hidden;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  min-height: 3.6rem;
  padding: 0.95rem 2.6rem;
  border-radius: 50px;
  border: 1.5px solid #f0d078;
  background: linear-gradient(180deg, #d3262f 0%, #8d1218 100%);
  color: #f8e7a0;
  -webkit-text-fill-color: #f8e7a0;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-shadow: 0 1px 2px rgba(40, 8, 8, 0.45);
  box-shadow: 0 10px 22px rgba(90, 12, 16, 0.38), 0 2px 0 #5c0e14;
  animation: hll-pulse 2.2s ease-in-out infinite;
}

button.hll-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  z-index: 1;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-45deg);
  pointer-events: none;
  animation: hll-shine 3s ease-in-out infinite;
}

button.hll-btn:hover {
  filter: brightness(1.08);
  transform: scale(1.05);
  animation-play-state: paused;
}

@keyframes hll-pulse {
  0%,
  100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}

@keyframes hll-shine {
  0%,
  55% { left: -75%; }
  100% { left: 140%; }
}

@media (max-width: 640px) {
  button.hll-btn {
    font-size: 1.35rem;
    padding: 0.8rem 1.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  button.hll-btn,
  button.hll-btn::before {
    animation: none;
  }
}

.hll-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: auto;
  padding: 12px;
  background: rgba(20, 17, 14, 0.75);
  box-sizing: border-box;
}

.hll-overlay[hidden] {
  display: none !important;
}

.hll-overlay *,
.hll-overlay *::before,
.hll-overlay *::after {
  box-sizing: border-box;
}

.hll-popup {
  position: relative;
  width: min(100%, 54rem);
  margin: 8px auto;
  padding: 12px;
  border-radius: 1.25rem;
  background: #eceae6;
  color: #2a241c;
  font-family: "Be Vietnam Pro", system-ui, sans-serif;
  text-align: left;
}

.hll-thiep-khung {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  box-shadow:
    0 1px 0 rgba(255, 248, 230, 0.7) inset,
    0 14px 30px rgba(42, 28, 14, 0.32),
    0 4px 8px rgba(42, 28, 14, 0.16);
}

.hll-nen-lop {
  position: absolute;
  z-index: 0;
  overflow: hidden;
  inset: 58px 0 48px;
  pointer-events: none;
}

.hll-nen-lop[hidden] {
  display: none;
}

.hll-nen-lop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hll-nen-lop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(240, 195, 90, 0.5), rgba(246, 217, 138, 0.66));
}

.hll-thiep {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  width: 800px;
  min-height: 350px;
  overflow: hidden;
  pointer-events: none;
  color: #7a2218;
  background: linear-gradient(180deg, #f0c35a 0%, #f6d98a 46%, #e7b44a 100%);
  box-shadow: inset 0 0 0 3px #c4922a;
  transform-origin: top left;
}

.hll-thiep.la-mai {
  height: 309px;
  min-height: 309px;
  background: none !important;
  box-shadow: none;
}

.hll-khung-mau {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
}

.hll-thiep.la-mai .hll-dau,
.hll-thiep.la-mai .hll-logo,
.hll-thiep.la-mai .hll-chan,
.hll-thiep.la-mai .hll-ky,
.hll-thiep.la-mai .hll-nen-lop {
  display: none !important;
}

.hll-thiep.la-mai .hll-than {
  min-height: 309px;
}

.hll-thiep.la-mai .hll-hinh {
  top: 50px;
  bottom: 42px;
  width: 220px;
}

.hll-thiep.la-mai .hll-loi {
  padding: 58px 168px 48px 228px;
}

.hll-thiep.la-sang {
  height: 278px;
  min-height: 278px;
}

.hll-thiep.la-sang .hll-than {
  min-height: 278px;
}

.hll-thiep.la-sang .hll-hinh {
  top: 36px;
  bottom: 36px;
  width: 200px;
}

.hll-thiep.la-sang .hll-loi {
  padding: 42px 156px 40px 214px;
}

.hll-thiep.la-tron,
.hll-thiep.la-tron .hll-than {
  height: 295px;
  min-height: 295px;
}

.hll-thiep.la-tron .hll-hinh {
  top: 66px;
  bottom: auto;
  left: 70px;
  width: 164px;
  height: 164px;
  overflow: hidden;
  border-radius: 50%;
}

.hll-thiep.la-tron .hll-hinh img {
  border-radius: 50%;
  -webkit-mask-image: none;
  mask-image: none;
}

.hll-thiep.la-tron .hll-loi {
  padding: 58px 148px 66px 318px;
}

.hll-thiep.la-tron .hll-noi-dung {
  font-size: 22px;
}

.hll-dau {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 58px;
  margin: 0;
  padding: 8px 108px 8px 200px;
  background: linear-gradient(90deg, #9a2214, #c45122 58%, #8f1c12);
  color: #f8e7a0;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.15;
  text-align: center;
}

.hll-dau span {
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
}

.hll-than {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  min-height: 246px;
}

.hll-hinh {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  width: 268px;
}

.hll-hinh img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  -webkit-mask-image: linear-gradient(90deg, #000 58%, transparent 98%);
  mask-image: linear-gradient(90deg, #000 58%, transparent 98%);
}

.hll-loi {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 92px 16px 250px;
  text-align: center;
}

.hll-noi-dung {
  margin: 0;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.22;
  color: #7a2218;
}

.hll-trich {
  margin: 10px 0 0;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 20px;
  font-style: italic;
  font-weight: 600;
  color: #7a2218;
}

.hll-logo {
  position: absolute;
  top: 10px;
  right: 14px;
  z-index: 5;
  width: 86px;
  height: 86px;
  border: 3px solid #f0d078;
  border-radius: 50%;
  background: #fffaf3;
  object-fit: contain;
}

.hll-chan {
  position: relative;
  z-index: 2;
  height: 48px;
  background: linear-gradient(90deg, #8f1c12, #c4471c 72%, #8f1c12);
}

.hll-ky {
  position: absolute;
  right: 28px;
  bottom: 8px;
  z-index: 4;
  margin: 0;
  font-family: "Great Vibes", cursive;
  font-size: 22px;
  line-height: 1;
  color: #f8e7a0;
}

.hll-nuts {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.hll-nuts button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.45rem 1rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-family: "Be Vietnam Pro", system-ui, sans-serif;
  font-size: 0.95rem;
  color: #fff;
}

.hll-nuts button:disabled {
  opacity: 0.6;
}

.hll-luu { background: #3e5c48; }
.hll-fb { background: #1877f2; }
.hll-x { background: #14110e; }
.hll-zalo { background: #0b66e4; }
.hll-dong {
  background: #fff;
  color: #2a241c;
  border: 1px solid #eadfce;
}

.hll-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  justify-content: center !important;
  align-items: flex-start !important;
  overflow: auto !important;
  padding: 12px !important;
  background: rgba(20, 17, 14, 0.75) !important;
}

.hll-overlay:not([hidden]) {
  display: flex !important;
}

.hll-overlay[hidden] {
  display: none !important;
}

.hll-popup {
  width: min(100%, 860px) !important;
  max-width: 860px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  background: #eceae6 !important;
  text-align: center !important;
}

.hll-thiep-khung {
  position: relative !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  overflow: hidden !important;
  border-radius: 16px !important;
  box-shadow:
    0 1px 0 rgba(255, 248, 230, 0.7) inset,
    0 14px 30px rgba(42, 28, 14, 0.32),
    0 4px 8px rgba(42, 28, 14, 0.16) !important;
}

.hll-loi,
.hll-popup blockquote.hll-noi-dung,
.hll-popup .hll-trich {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.hll-nuts {
  position: relative !important;
  z-index: 5 !important;
  display: flex !important;
  justify-content: center !important;
  pointer-events: auto !important;
}

.hll-nuts button {
  pointer-events: auto !important;
  position: relative !important;
  z-index: 6 !important;
  opacity: 1 !important;
  width: auto !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

button.hll-luu {
  background: #3e5c48 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

button.hll-fb {
  background: #1877f2 !important;
}

button.hll-x {
  background: #14110e !important;
}

button.hll-zalo {
  background: #0b66e4 !important;
}

button.hll-dong {
  background: #fffaf3 !important;
  color: #2a241c !important;
  -webkit-text-fill-color: #2a241c !important;
  border: 1px solid #8d7760 !important;
}

.hll-luu-hop {
  position: relative;
  z-index: 30;
  margin-top: 0.8rem;
  text-align: center;
}

.hll-luu-hop img {
  width: min(100%, 520px);
  height: auto;
  border-radius: 8px;
}

.hll-luu-hop .hll-luu-may {
  display: inline-flex;
  margin-top: 0.7rem;
  min-height: 2.75rem;
  padding: 0.45rem 1.1rem;
  border: 0;
  border-radius: 999px;
  background: #3e5c48;
  color: #fff;
  -webkit-text-fill-color: #fff;
  font: 600 0.95rem "Be Vietnam Pro", system-ui, sans-serif;
  cursor: pointer;
}

.hll-luu-hop p {
  margin: 0.45rem 0 0;
  color: #5c4d3c;
  font-size: 0.85rem;
}

.hll-bao {
  text-align: center !important;
  color: #7a2218 !important;
  font-weight: 600;
}

.hll-giai,
.hll-giai h2,
.hll-giai h3,
.hll-giai p,
.hll-giai-than {
  text-align: center !important;
}


.hll-giai {
  margin-top: 0.9rem;
  overflow: hidden;
  border: 1px solid #eadfce;
  border-radius: 1rem;
}

.hll-giai h2 {
  margin: 0;
  padding: 0.8rem 1rem;
  background: #f6c453;
  color: #2a241c;
  font-size: 1rem;
}

.hll-giai-than {
  padding: 1rem;
  background: #fff4c4;
  line-height: 1.6;
  color: #2a241c;
}

.hll-giai h3,
.hll-giai h3.hll-nho,
.hll-giai h3.hll-tieu,
body .hll-popup .hll-giai h3 {
  display: inline-block !important;
  margin: 1.35rem 0 0.55rem !important;
  padding: 0 0.15rem 0.2rem !important;
  color: #8a3418 !important;
  -webkit-text-fill-color: #8a3418 !important;
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  line-height: 1.35 !important;
  text-transform: uppercase !important;
  border-bottom: 1px solid rgba(138, 52, 24, 0.4) !important;
}

.hll-giai-than h3:first-child {
  margin-top: 0.15rem !important;
}

.hll-giai .hll-y,
.hll-giai .hll-n,
body .hll-popup .hll-giai p {
  margin: 0 auto 0.15rem !important;
  font-weight: 400 !important;
  color: #2a241c !important;
  -webkit-text-fill-color: #2a241c !important;
}

body .hll-popup blockquote.hll-noi-dung,
body .hll-popup .hll-trich,
body .hll-popup .hll-loi,
body .hll-popup .hll-giai,
body .hll-popup .hll-giai h2,
body .hll-popup .hll-giai h3,
body .hll-popup .hll-giai p,
body .hll-popup .hll-giai-than {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body .hll-popup button.hll-dong {
  background: #fffaf3 !important;
  color: #2a241c !important;
  -webkit-text-fill-color: #2a241c !important;
}

@media (max-width: 640px) {
  .hll-giai h2 {
    padding: 0.6rem 0.7rem !important;
    font-size: 0.9rem !important;
  }

  .hll-giai h3,
  .hll-giai h3.hll-tieu,
  html body .hll-popup .hll-giai h3 {
    margin: 0.95rem 0 0.35rem !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.04em !important;
  }

  .hll-giai-than,
  .hll-giai .hll-y,
  .hll-giai .hll-n,
  html body .hll-popup .hll-giai p {
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
  }

  .hll-nuts button {
    min-height: 2.4rem;
    padding: 0.3rem 0.7rem !important;
    font-size: 0.78rem !important;
  }
}

