/* =======================================================
   HTP HEADER.CSS - GENERATEPRESS CHILD
   File: assets/css/header.css

   Fixed layout:
   Desktop: logo fixed left | search flexible center | action fixed right
   Tablet:  logo fixed left | search flexible center | hotline + nav fixed right
   Mobile:  logo fixed left | search flexible center | nav fixed right
======================================================= */

/* =======================================================
   0. BASE
======================================================= */

body {
  font-family: var(--htp-font-body);
}

.htp-site-header,
.htp-site-header * {
  box-sizing: border-box;
}

.htp-site-header {
  position: relative;
  z-index: 9999;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 2px 14px rgba(0, 0, 0, .06);
}

/* Ẩn header/menu mặc định GeneratePress nếu còn render */
body .site-header:not(.htp-site-header),
body .main-navigation:not(.htp-header-nav) {
  display: none;
}

.htp-header-container {
  width: 100%;
  max-width: var(--htp-container);
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* =======================================================
   1. HEADER MAIN
======================================================= */

.htp-header-main {
  min-height: 88px;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.htp-header-main .htp-header-container {
  min-height: 88px;
  display: flex;
  align-items: center;
}

.htp-header-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 88px;
}

/* =======================================================
   2. LOGO
======================================================= */

.htp-header-logo {
  flex: 0 0 300px;
  width: 300px;
  min-width: 300px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.htp-header-logo a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.htp-header-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 74px;
  object-fit: contain;
}

.htp-header-logo span {
  color: var(--htp-red);
  font-family: var(--htp-font-heading);
  font-size: 26px;
  line-height: 1;
  text-transform: uppercase;
}

/* =======================================================
   3. SEARCH
======================================================= */

.htp-header-search {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 650px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.htp-header-search form {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
}

.htp-header-search input[type="search"] {
  display: block;
  width: 100%;
  height: 44px;
  min-height: 44px;
  padding: 0 50px 0 20px;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  background: #ffffff;
  color: var(--htp-text);
  font-family: var(--htp-font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 44px;
  outline: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}

.htp-header-search input[type="search"]::placeholder {
  color: #999999;
  opacity: 1;
}

.htp-header-search button {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #111111;
  cursor: pointer;
  box-shadow: none;
}

.htp-header-search button svg {
  width: 22px;
  height: 22px;
}

/* =======================================================
   4. DESKTOP ACTIONS
======================================================= */

.htp-header-actions {
  flex: 0 0 auto;
  width: auto;
  min-width: max-content;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  white-space: nowrap;
}

.htp-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 0;
  text-decoration: none;
}

.htp-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  margin-right: 10px;
  border-radius: 5px;
  overflow: hidden;
}

.htp-action-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.htp-action-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.htp-action-text span,
.htp-action-text strong {
  font-family: var(--htp-font-heading);
  font-weight: 400;
  white-space: nowrap;
}

.htp-action-text span {
  color: #666666;
  font-size: 14px;
  line-height: 1.05;
  letter-spacing: .015em;
  margin-bottom: 4px;
}

.htp-action-text strong {
  color: #242424;
  font-size: 21px;
  line-height: 1;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.htp-action--hotline .htp-action-text strong {
  color: var(--htp-red-2);
  font-size: 22px;
  letter-spacing: .04em;
  text-transform: none;
}

.htp-quote-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 4px 26px 0;
  border-radius: 5px;
  background: linear-gradient(135deg, #ed1c24 0%, #c9000b 100%);
  color: #ffffff;
  font-family: var(--htp-font-heading);
  font-size: 19px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 12px 26px rgba(237, 28, 36, .28);
}

.htp-quote-btn span,
.htp-quote-btn strong {
  color: #ffffff;
  font-family: var(--htp-font-heading);
  font-weight: 400;
}

/* =======================================================
   5. MOBILE ACTION HOLDER
======================================================= */

.htp-header-mobile-actions {
  display: none;
}

/* =======================================================
   6. DESKTOP NAV
======================================================= */

.htp-header-nav {
  display: block;
  height: 56px;
  min-height: 56px;
  background: linear-gradient(90deg, #050505 0%, #132338 52%, #629de7 100%);
}

.htp-header-nav .htp-header-container {
  height: 56px;
  min-height: 56px;
  padding-left: 0;
  padding-right: 0;
}

.htp-main-menu,
.htp-main-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.htp-main-menu {
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  width: 100%;
  height: 56px;
  min-height: 56px;
}

.htp-main-menu > li {
  position: relative;
  display: flex;
  align-items: stretch;
  flex: 1 1 0;
  min-width: 0;
  height: 56px;
}

.htp-main-menu > li > a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  height: 56px;
  min-height: 56px;
  padding: 4px 10px 0;
  border-right: 1px solid rgba(255, 255, 255, .30);
  color: #ffffff;
  font-family: var(--htp-font-heading);
  font-size: clamp(18px, 1vw, 22px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .025em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
}

.htp-main-menu > li:last-child > a {
  border-right: 0;
}

.htp-main-menu > li.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 3px;
  margin-top: -4px;
  border-right: 2px solid rgba(255, 255, 255, .85);
  border-bottom: 2px solid rgba(255, 255, 255, .85);
  transform: rotate(45deg);
}

.htp-main-menu > li.current-menu-item > a,
.htp-main-menu > li.current-menu-parent > a,
.htp-main-menu > li.current-menu-ancestor > a,
.htp-main-menu > li > a:hover {
  background: var(--htp-red);
  color: #ffffff;
}

.htp-main-menu > li.current-menu-item > a::before,
.htp-main-menu > li.current-menu-parent > a::before,
.htp-main-menu > li.current-menu-ancestor > a::before,
.htp-main-menu > li:hover > a::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #ffffff;
}

/* Submenu desktop */
.htp-main-menu li ul {
  position: absolute;
  top: 56px;
  left: 0;
  z-index: 99999;
  display: none;
  min-width: 280px;
  padding: 10px 0;
  background: #ffffff;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .16);
}

.htp-main-menu li:hover > ul {
  display: block;
}

.htp-main-menu li ul li {
  position: relative;
}

.htp-main-menu li ul li a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 3px 22px 0;
  color: #222222;
  background: #ffffff;
  font-family: var(--htp-font-heading);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
}

.htp-main-menu li ul li a:hover {
  color: var(--htp-red);
  background: #f7f7f7;
}

.htp-main-menu li ul li.menu-item-has-children > a::after {
  content: "›";
  margin-left: auto;
  color: #999999;
  font-size: 22px;
  line-height: 1;
}

.htp-main-menu li ul li ul {
  top: 0;
  left: 100%;
}

/* =======================================================
   7. DESKTOP SCALE 1200 - 1370
======================================================= */

@media screen and (min-width: 1200px) and (max-width: 1370px) {
  .htp-header-grid {
    gap: 22px;
  }

  .htp-header-logo {
    flex-basis: 280px;
    width: 280px;
    min-width: 280px;
  }

  .htp-header-logo img {
    max-height: 66px;
  }

  .htp-header-search {
    max-width: 520px;
    min-width: 0;
  }

  .htp-header-search form {
    max-width: 520px;
  }

  .htp-header-actions {
    gap: 14px;
  }

  .htp-action-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    margin-right: 8px;
  }

  .htp-action-text span {
    font-size: 12px;
  }

  .htp-action-text strong {
    font-size: 18px;
  }

  .htp-action--hotline .htp-action-text strong {
    font-size: 19px;
  }

  .htp-quote-btn {
    min-height: 44px;
    padding-left: 18px;
    padding-right: 18px;
    font-size: 16px;
  }
}

/* =======================================================
   8. TABLET
   Logo fixed left | Search flexible center | Hotline + Nav fixed right
======================================================= */

@media screen and (min-width: 768px) and (max-width: 1199px) {
  .htp-header-main {
    min-height: 78px;
  }

  .htp-header-main .htp-header-container {
    min-height: 78px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .htp-header-grid {
    display: flex;
    align-items: center;
    gap: 25px;
    min-height: 78px;
  }

  .htp-header-logo {
    flex: 0 0 250px;
    width: 250px;
    min-width: 250px;
    height: 78px;
  }

  .htp-header-logo a {
    height: 78px;
  }

  .htp-header-logo img {
    max-height: 62px;
  }

  .htp-header-search {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    height: 78px;
  }

  .htp-header-search form {
    width: 100%;
    max-width: none;
  }

  .htp-header-search input[type="search"] {
    height: 42px;
    min-height: 42px;
    padding-left: 16px;
    padding-right: 44px;
    font-size: 14px;
    line-height: 42px;
  }

  .htp-header-search button {
    width: 34px;
    height: 34px;
    min-height: 34px;
  }

  .htp-header-nav {
    display: none;
  }

  .htp-header-actions {
    flex: 0 0 165px;
    width: 165px;
    min-width: 165px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
  }

  .htp-action--hotline {
    display: inline-flex;
  }

  .htp-action--factory,
  .htp-quote-btn {
    display: none;
  }

  .htp-action-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    margin-right: 8px;
  }

  .htp-action-text span {
    font-size: 12px;
  }

  .htp-action--hotline .htp-action-text strong {
    font-size: 17px;
  }

  .htp-header-mobile-actions {
    flex: 0 0 52px;
    width: 52px;
    min-width: 52px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .htp-mobile-search-btn {
    display: none;
  }

  .htp-mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 50px;
    padding: 0;
    border: 0;
    background: url("../icons/nav.svg") center/contain no-repeat;
    cursor: pointer;
  }

  .htp-mobile-menu-btn span {
    display: none;
  }
}

/* =======================================================
   9. MOBILE
   Logo | Search | Nav không được đè nhau
======================================================= */

@media screen and (max-width: 767px) {
  .htp-header-main {
    min-height: 72px;
  }

  .htp-header-main .htp-header-container {
    min-height: 72px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .htp-header-grid {
    display: grid;
    grid-template-columns: minmax(150px, 190px) minmax(0, 1fr) auto;
    grid-template-areas: "logo search mobile";
    align-items: center;
    column-gap: 8px;
    row-gap: 8px;
    width: 100%;
    min-height: 72px;
  }

  .htp-header-logo {
    grid-area: logo;
    flex: initial;
    width: auto;
    min-width: 0;
    height: 72px;
  }

  .htp-header-logo a {
    height: 72px;
  }

  .htp-header-logo img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 54px;
    min-height: 50px;
    max-height: 54px;
    object-fit: contain;
  }

  .htp-header-actions,
  .htp-header-nav {
    display: none;
  }

  .htp-header-search {
    grid-area: search;
    flex: initial;
    width: 100%;
    min-width: 0;
    max-width: none;
    height: 72px;
    position: relative;
    z-index: 1;
  }

  .htp-header-search form {
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .htp-header-search input[type="search"] {
    width: 100%;
    min-width: 0;
    height: 38px;
    min-height: 38px;
    padding-left: 12px;
    padding-right: 38px;
    font-size: 12px;
    line-height: 38px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .htp-header-search button {
    width: 32px;
    height: 32px;
    min-height: 32px;
    right: 3px;
  }

  .htp-header-search button svg {
    width: 19px;
    height: 19px;
  }

  .htp-header-mobile-actions {
    grid-area: mobile;
    flex: initial;
    width: 48px;
    min-width: 48px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 3;
  }

  .htp-mobile-search-btn {
    display: none;
  }

  .htp-mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 46px;
    padding: 0;
    border: 0;
    background: url("../icons/nav.svg") center/contain no-repeat;
    cursor: pointer;
  }

  .htp-mobile-menu-btn span {
    display: none;
  }
}

/* Small mobile */
@media screen and (max-width: 430px) {
  .htp-header-main {
    min-height: 104px;
  }

  .htp-header-main .htp-header-container {
    min-height: 104px;
  }

  .htp-header-grid {
    grid-template-columns: minmax(0, 1fr) 46px;
    grid-template-areas:
      "logo mobile"
      "search search";
    column-gap: 8px;
    row-gap: 6px;
    min-height: 104px;
    padding-top: 6px;
    padding-bottom: 8px;
  }

  .htp-header-logo {
    height: 50px;
    max-width: 230px;
  }

  .htp-header-logo a {
    height: 50px;
  }

  .htp-header-logo img {
    height: 50px;
    min-height: 46px;
    max-height: 50px;
  }

  .htp-header-search {
    height: 42px;
  }

  .htp-header-search input[type="search"] {
    height: 40px;
    min-height: 40px;
    padding-left: 14px;
    padding-right: 40px;
    font-size: 13px;
    line-height: 40px;
  }

  .htp-header-search button {
    width: 34px;
    height: 34px;
    min-height: 34px;
    right: 4px;
  }

  .htp-header-mobile-actions {
    width: 46px;
    min-width: 46px;
    height: 50px;
  }

  .htp-mobile-menu-btn {
    width: 46px;
    height: 44px;
  }
}

@media screen and (max-width: 390px) {
  .htp-header-grid {
    grid-template-columns: minmax(0, 1fr) 44px;
    column-gap: 6px;
  }

  .htp-header-logo {
    max-width: 205px;
  }

  .htp-header-logo img {
    height: 48px;
    min-height: 44px;
    max-height: 48px;
  }

  .htp-header-search input[type="search"] {
    height: 38px;
    min-height: 38px;
    padding-left: 12px;
    padding-right: 36px;
    font-size: 12px;
    line-height: 38px;
  }

  .htp-header-search button {
    width: 32px;
    height: 32px;
    min-height: 32px;
  }

  .htp-header-mobile-actions {
    width: 44px;
    min-width: 44px;
  }

  .htp-mobile-menu-btn {
    width: 40px;
    height: 38px;
  }
}

/* =======================================================
   10. MOBILE SEARCH PANEL
======================================================= */

.htp-mobile-search-panel {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 999998;
  display: none;
  padding: 10px 8px 12px;
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .12);
}

.htp-mobile-search-panel.is-open {
  display: block;
}

.htp-mobile-search-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.htp-mobile-search-form {
  position: relative;
  min-width: 0;
  margin: 0;
}

.htp-mobile-search-form input[type="search"] {
  width: 100%;
  height: 46px;
  min-height: 46px;
  padding: 0 52px 0 16px;
  border: 1px solid #dcdcdc;
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  font-family: var(--htp-font-body);
  font-size: 15px;
  font-weight: 500;
  outline: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .12);
}

.htp-mobile-search-form button[type="submit"] {
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #111111;
  cursor: pointer;
  box-shadow: none;
}

.htp-mobile-search-form button[type="submit"] svg {
  width: 23px;
  height: 23px;
}

.htp-mobile-search-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 46px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: #111111;
  font-family: Arial, sans-serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  box-shadow: none;
}

@media screen and (min-width: 768px) and (max-width: 1199px) {
  .htp-mobile-search-panel {
    top: 78px;
  }
}

/* =======================================================
   11. OFFCANVAS
======================================================= */

html.htp-offcanvas-lock,
html.htp-offcanvas-lock body {
  overflow: hidden;
}

.htp-mobile-offcanvas {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  pointer-events: none;
  visibility: hidden;
}

.htp-mobile-offcanvas.is-open {
  display: block;
  pointer-events: auto;
  visibility: visible;
}

.htp-offcanvas-overlay,
.htp-offcanvas-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .62);
}

.htp-offcanvas-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(86vw, 360px);
  min-height: 100vh;
  max-height: 100dvh;
  overflow-y: auto;
  border-radius: 5px 0 0 5px;
  background:
    linear-gradient(rgba(7, 10, 14, .96), rgba(7, 10, 14, .96)),
    linear-gradient(135deg, #111111 0%, #050505 100%);
  box-shadow: -18px 0 60px rgba(0, 0, 0, .42);
  color: #ffffff;
  height: 100dvh;
  transform: translateX(110%);
  transition: transform .22s ease;
}

.htp-offcanvas-head {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100px;
  padding: 22px 58px 18px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.htp-offcanvas-logo {
  display: inline-flex;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  text-decoration: none;
}

.htp-offcanvas-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 66px;
  object-fit: contain;
}

.htp-offcanvas-close {
  position: absolute;
  top: 10px;
  right: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  box-shadow: none;
}

.htp-offcanvas-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 18px;
}

.htp-offcanvas-contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 3px 10px 0;
  border-radius: 5px;
  background: linear-gradient(135deg, #ed1c24 0%, #c9000b 100%);
  color: #ffffff;
  font-family: var(--htp-font-heading);
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(237, 28, 36, .22);
}

.htp-offcanvas-contact img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.htp-offcanvas-menu,
.htp-offcanvas-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.htp-offcanvas-menu {
  padding: 0 18px 16px;
}

.htp-offcanvas-row {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 58px;
  background: rgba(255, 255, 255, .04);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.htp-offcanvas-link {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 58px;
  padding: 4px 58px 0 16px;
  color: #ffffff;
  font-family: var(--htp-font-heading);
  font-size: 18px;
  line-height: 1.05;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-decoration: none;
}

.htp-offcanvas-menu > li:first-child > .htp-offcanvas-row {
  background: linear-gradient(135deg, #ed1c24 0%, #b9000b 100%);
}

.htp-offcanvas-toggle {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  min-height: 58px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
}

.htp-offcanvas-toggle span {
  color: #ffffff;
  font-size: 32px;
  line-height: 1;
  transition: transform .2s ease;
}

.htp-offcanvas-item.is-open > .htp-offcanvas-row .htp-offcanvas-toggle span {
  transform: rotate(90deg);
}

.htp-offcanvas-submenu {
  display: none;
  padding: 8px 0 8px 16px;
  background: rgba(0, 0, 0, .25);
}

.htp-offcanvas-item.is-open > .htp-offcanvas-submenu {
  display: block;
}

.htp-offcanvas-submenu .htp-offcanvas-row {
  min-height: 40px;
  background: transparent;
  border-bottom: 0;
}

.htp-offcanvas-submenu .htp-offcanvas-link {
  min-height: 40px;
  padding: 0 40px 0 12px;
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
}

.htp-offcanvas-cta {
  padding: 0 18px 24px;
}

.htp-offcanvas-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 4px 12px 0;
  border-radius: 5px;
  background: linear-gradient(135deg, #ed1c24 0%, #c9000b 100%);
  color: #ffffff;
  font-family: var(--htp-font-heading);
  font-size: 22px;
  line-height: 1;
  letter-spacing: .035em;
  text-transform: uppercase;
  text-decoration: none;
}

.htp-mobile-offcanvas.is-open .htp-offcanvas-panel {
  transform: translateX(0);
}

@media (max-width: 767px) {
	.htp-site-header,
	.htp-mobile-header,
	.htp-header-inner {
		max-width: 100vw;
		overflow: hidden;
	}
}

/* DESKTOP CONTAINER SYNC HEADER FOOTER BODY FIX */
@media (min-width: 768px) {
	.htp-header-container {
		width: min(calc(100% - 40px), var(--htp-container, 1350px));
		max-width: var(--htp-container, 1350px);
		margin-left: auto;
		margin-right: auto;
		padding-left: 0;
		padding-right: 0;
	}
}
