/*
 * Dải đăng ký nhận tin + chân trang.
 */

/* ------------------------------------------------------------------ *
 * Đăng ký nhận tin
 * ------------------------------------------------------------------ */
.hl-newsletter {
  background: var(--hl-bg-block);
  border-top: 2px solid var(--hl-topbar);
  padding-block: 20px;
}

.hl-newsletter__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px 25px;
}

.hl-newsletter__pitch {
  flex: 1 1 240px;
  font-size: 15px;
  color: #575b64;
}

.hl-newsletter__pitch strong {
  display: block;
  font-size: 24px;
  color: var(--hl-amber);
  text-transform: uppercase;
}

.hl-newsletter .hl-form { flex: 1 1 320px; }

.hl-shops {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin-left: auto;
}

.hl-shops img { display: block; height: 50px; width: auto; }

/* ------------------------------------------------------------------ *
 * Chân trang
 * ------------------------------------------------------------------ */
.hl-footer {
  background: var(--hl-footer);
  color: #fff;
  padding-block: 30px;
}

.hl-footer a { color: #fff; }
.hl-footer a:hover { color: var(--hl-amber); }

.hl-footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px 30px;
}

.hl-footer__title {
  display: block;
  height: 30px;
  line-height: 30px;
  margin-bottom: 5px;
  font-size: 16px;
  font-weight: normal;
  text-transform: uppercase;
  overflow: hidden;
}

.hl-footer__rule {
  width: 42px;
  height: 3px;
  margin-bottom: 10px;
  background: var(--hl-amber);
}

.hl-footer__text { line-height: 2; text-align: justify; }
.hl-footer__text p { margin: 0 0 .4em; }

/* Menu chân trang: 2 nhánh cấp 1 → 2 cột. */
.hl-footer__menu {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px 30px;
  list-style: none;
}

.hl-footer__menu > li > a {
  display: block;
  height: 30px;
  line-height: 30px;
  margin-bottom: 5px;
  font-size: 16px;
  text-transform: uppercase;
}

.hl-footer__menu > li > a::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  background: var(--hl-amber);
}

.hl-footer__menu .sub-menu { list-style: none; padding-top: 8px; }

.hl-footer__menu .sub-menu li {
  padding: 0 0 12px 10px;
  background: url("../img/z.png") no-repeat left 6px;
}

.hl-fbpage { max-width: 100%; }

.hl-footer__bct img { display: block; max-width: 186px; height: auto; }

@media (min-width: 768px) {
  .hl-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 992px) {
  .hl-footer__inner {
    grid-template-columns: 380px minmax(0, 1fr) 300px;
    grid-template-areas:
      "about menus social"
      "bct   menus social";
    align-items: start;
  }

  .hl-footer__about  { grid-area: about; }
  .hl-footer__menus  { grid-area: menus; }
  .hl-footer__social { grid-area: social; }
  .hl-footer__bct    { grid-area: bct; }
}
