.has-th-site-menu {
  padding-top: 76px;
}

.th-nav {
  display: none !important;
}

.th-site-header {
  --th-menu-red: #c8102e;
  --th-menu-dark: #0e131c;
  --th-menu-muted: #d9e1ee;
  --th-menu-line: rgba(255, 255, 255, .1);
  --th-menu-soft: rgba(255, 255, 255, .08);
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 9998;
  background: var(--th-menu-dark);
  border-bottom: 1px solid var(--th-menu-line);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .18);
  color: #fff;
  backdrop-filter: blur(10px);
}

.admin-bar .th-site-header {
  top: 32px;
}

.th-site-menu-inner {
  display: flex;
  max-width: 1180px;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 0 auto;
  padding: 0 20px;
}

.th-site-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.th-site-brand-logo {
  display: block;
  width: 174px;
  max-width: 36vw;
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

.th-site-brand-mark {
  display: inline-flex;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--th-menu-red);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
}

.th-site-brand-text {
  display: grid;
  min-width: 0;
  line-height: 1.15;
}

.th-site-brand-text strong {
  color: var(--th-menu-dark);
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
}

.th-site-brand-text small {
  color: var(--th-menu-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.th-site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.th-site-menu-list {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.th-site-menu-list li {
  margin: 0;
  padding: 0;
}

.th-site-menu-list a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  padding: 10px 12px;
  background: transparent;
  color: #f7f9fc;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, transform .18s ease;
  white-space: nowrap;
}

.th-site-menu-list a:hover,
.th-site-menu-list a:focus-visible {
  background: var(--th-menu-soft);
  color: #fff;
  outline: none;
}

.th-site-menu-list .th-menu-item-whatsapp a,
.th-site-menu-list a.th-menu-whatsapp-link {
  background: var(--th-menu-red);
  color: #fff;
  padding-right: 16px;
  padding-left: 16px;
  box-shadow: 0 10px 22px rgba(200, 16, 46, .22);
}

.th-site-menu-list .th-menu-item-whatsapp a::before,
.th-site-menu-list a.th-menu-whatsapp-link::before {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  margin-right: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  content: "WA";
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0;
}

.th-site-menu-list .th-menu-item-whatsapp a:hover,
.th-site-menu-list .th-menu-item-whatsapp a:focus-visible,
.th-site-menu-list a.th-menu-whatsapp-link:hover,
.th-site-menu-list a.th-menu-whatsapp-link:focus-visible {
  background: #a90d26;
  color: #fff;
  transform: translateY(-1px);
}

.th-site-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--th-menu-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
}

.th-site-menu-bars,
.th-site-menu-bars::before,
.th-site-menu-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .18s ease, opacity .18s ease;
}

.th-site-menu-bars {
  position: relative;
}

.th-site-menu-bars::before,
.th-site-menu-bars::after {
  position: absolute;
  left: 0;
  content: "";
}

.th-site-menu-bars::before {
  top: -7px;
}

.th-site-menu-bars::after {
  top: 7px;
}

.th-site-header[data-open="true"] .th-site-menu-bars {
  background: transparent;
}

.th-site-header[data-open="true"] .th-site-menu-bars::before {
  transform: translateY(7px) rotate(45deg);
}

.th-site-header[data-open="true"] .th-site-menu-bars::after {
  transform: translateY(-7px) rotate(-45deg);
}

.th-floating-whatsapp {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  display: none;
  min-height: 52px;
  align-items: center;
  gap: 9px;
  border-radius: 999px;
  padding: 10px 16px 10px 10px;
  background: #16a34a;
  color: #fff;
  box-shadow: 0 18px 42px rgba(22, 163, 74, .34);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.th-floating-whatsapp span {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0;
}

.th-floating-whatsapp strong {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0;
}

.th-floating-whatsapp:hover,
.th-floating-whatsapp:focus-visible {
  background: #12823d;
  color: #fff;
  outline: none;
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .has-th-site-menu {
    padding-top: 68px;
    padding-bottom: 76px;
  }

  .th-site-menu-inner {
    min-height: 68px;
    gap: 12px;
    padding: 0 16px;
  }

  .th-site-brand-logo {
    width: 142px;
    max-width: 48vw;
    max-height: 48px;
  }

  .th-site-menu-toggle {
    display: inline-flex;
  }

  .th-site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 12px;
    left: 12px;
    display: none;
    padding: 10px;
    border: 1px solid var(--th-menu-line);
    border-radius: 8px;
    background: var(--th-menu-dark);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .32);
  }

  .th-site-header[data-open="true"] .th-site-nav {
    display: block;
  }

  .th-site-menu-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .th-site-menu-list a {
    justify-content: flex-start;
    min-height: 44px;
    padding: 12px;
    background: transparent;
    color: #fff;
    white-space: normal;
  }

  .th-site-menu-list .th-menu-item-whatsapp a,
  .th-site-menu-list a.th-menu-whatsapp-link {
    justify-content: center;
    margin-top: 4px;
  }

  .th-floating-whatsapp {
    display: inline-flex;
  }
}

@media (max-width: 782px) {
  .admin-bar .th-site-header {
    top: 46px;
  }
}

@media (max-width: 380px) {
  .th-site-brand-text strong {
    font-size: 16px;
  }

  .th-site-brand-text small {
    font-size: 11px;
  }
}
