/* TV Hotel – Preventivo Header 2.1.1. Opt in after markup validation. */
body.tvh-navigation-ready {
  --tvh-green: #277833;
  --tvh-ink: #27312b;
  --tvh-line: #e5e9e4;
}

/* One continuous surface, independent of Salient's old top bar and resizing. */
body.tvh-navigation-ready #header-outer.tvh-header-ready {
  position: fixed !important;
  top: var(--tvh-admin-offset, 0px) !important;
  left: 0;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  background: #fff !important;
  border-bottom: 1px solid var(--tvh-line);
  box-shadow: 0 2px 12px rgb(28 49 32 / 4%) !important;
}
body.tvh-navigation-ready #header-space.tvh-header-spacer {
  height: var(--tvh-header-height, 89px) !important;
}
body.tvh-navigation-ready #header-outer.tvh-header-ready #header-secondary-outer { display: none !important; }
body.tvh-navigation-ready #header-outer.tvh-header-ready #top { padding: 0 !important; }
body.tvh-navigation-ready #header-outer.tvh-header-ready #top > .container {
  width: 100% !important;
  max-width: 1440px !important;
  padding: 0 32px !important;
}
body.tvh-navigation-ready #header-outer.tvh-header-ready #top > .container > .row {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 88px;
  margin: 0 !important;
}
body.tvh-navigation-ready #header-outer.tvh-header-ready #top .row > .span_3 {
  position: static !important;
  flex: 0 0 auto;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}
body.tvh-navigation-ready #header-outer.tvh-header-ready #top #logo {
  display: flex !important;
  align-items: center;
  width: auto;
  min-height: 44px;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}
body.tvh-navigation-ready #header-outer.tvh-header-ready #top #logo img {
  height: 48px !important;
  width: auto !important;
  max-width: none;
}
body.tvh-navigation-ready #header-outer.tvh-header-ready #top .row > .col.span_9 {
  position: static !important;
  display: flex !important;
  align-items: center;
  flex: 1 1 auto;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}
body.tvh-navigation-ready #header-outer.tvh-header-ready .logo-spacing { display: none !important; }

/* Desktop: catalog links, primary action and a separated utility group. */
body.tvh-navigation-ready #header-outer.tvh-header-ready #top .span_9 > nav {
  display: flex !important;
  align-items: center;
  gap: 24px;
  width: 100%;
  height: auto;
  position: static;
}
body.tvh-navigation-ready #header-outer.tvh-header-ready #top nav > ul.tvh-primary-menu {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex: 1 1 auto;
  position: static !important;
  left: auto !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}
body.tvh-navigation-ready #header-outer.tvh-header-ready #top nav > ul.tvh-primary-menu > li {
  float: none;
  margin: 0 !important;
}
body.tvh-navigation-ready #header-outer.tvh-header-ready #top nav > ul.tvh-primary-menu > li > a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .035em;
  white-space: nowrap;
  color: var(--tvh-ink) !important;
  opacity: 1 !important;
}
body.tvh-navigation-ready #header-outer.tvh-header-ready #top nav > ul.tvh-tools {
  display: flex !important;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
  position: static;
  margin: 0 !important;
  padding: 0 0 0 16px !important;
  border-left: 1px solid var(--tvh-line);
}
body.tvh-navigation-ready #header-outer.tvh-header-ready #top ul.tvh-tools > li {
  display: flex;
  align-items: center;
  justify-content: center;
  float: none;
  width: 44px;
  height: 44px;
  margin: 0 !important;
  border: 0 !important;
}
body.tvh-navigation-ready #header-outer.tvh-header-ready #top ul.tvh-tools > li > div,
body.tvh-navigation-ready #header-outer.tvh-header-ready #top ul.tvh-tools .cart-menu-wrap,
body.tvh-navigation-ready #header-outer.tvh-header-ready #top ul.tvh-tools .cart-menu { height: 44px; }
body.tvh-navigation-ready #header-outer.tvh-header-ready #top ul.tvh-tools > li > div > a,
body.tvh-navigation-ready #header-outer.tvh-header-ready #top ul.tvh-tools .cart-contents {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 !important;
  padding: 0 !important;
  color: #4b574e !important;
  border: 0 !important;
}
body.tvh-navigation-ready #header-outer.tvh-header-ready #top ul.tvh-tools a .icon-salient-search,
body.tvh-navigation-ready #header-outer.tvh-header-ready #top ul.tvh-tools .icon-salient-cart {
  font-size: 19px;
  line-height: 1;
  color: #4b574e;
}

/* One CTA component, with two mutually exclusive responsive placements. */
body.tvh-navigation-ready #header-outer.tvh-header-ready .tvh-quote-slot { flex: 0 0 auto; }
body.tvh-navigation-ready .tvh-quote-menu-mobile { display: none; }
body.tvh-navigation-ready a.tvh-quote {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-sizing: border-box;
  min-height: 44px;
  margin: 0 !important;
  padding: 0 18px !important;
  border: 1px solid var(--tvh-green);
  border-radius: 6px;
  background: var(--tvh-green);
  color: #fff !important;
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-decoration: none !important;
  text-transform: none;
  white-space: nowrap;
  opacity: 1 !important;
  box-shadow: none;
  transition: background-color 150ms ease, border-color 150ms ease;
}
body.tvh-navigation-ready .tvh-quote-arrow {
  display: block;
  width: 15px;
  height: 15px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (hover: hover) {
  body.tvh-navigation-ready a.tvh-quote:hover { background: #1e6028; border-color: #1e6028; }
}
body.tvh-navigation-ready #header-outer.tvh-header-ready a:focus-visible {
  outline: 3px solid #173c23;
  outline-offset: 4px;
}
body.tvh-navigation-ready #slide-out-widget-area a:focus-visible {
  outline: 3px solid #d7e87c;
  outline-offset: 4px;
}
body.tvh-navigation-ready a.tvh-quote:active {
  background: #194f22;
  border-color: #194f22;
}

body.tvh-navigation-ready #slide-out-widget-area.fullscreen .inner .slide_out_area_close {
  display: flex !important;
  position: fixed !important;
  top: calc(var(--tvh-admin-offset, 0px) + 22px) !important;
  right: 32px !important;
  left: auto !important;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 1 !important;
  transform: none !important;
  color: #fff;
  z-index: 5;
}
/* Keep the modal close control visible independently of the theme icon font. */
body.tvh-navigation-ready #slide-out-widget-area.fullscreen .inner .slide_out_area_close > .icon-salient-x {
  display: none;
}
body.tvh-navigation-ready #slide-out-widget-area.fullscreen .inner .slide_out_area_close::before,
body.tvh-navigation-ready #slide-out-widget-area.fullscreen .inner .slide_out_area_close::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 21px;
  width: 20px;
  height: 2px;
  background: #fff;
  transform: rotate(45deg);
}
body.tvh-navigation-ready #slide-out-widget-area.fullscreen .inner .slide_out_area_close::after {
  transform: rotate(-45deg);
}

/* The same legible panel on desktop and mobile, including nested categories. */
body.tvh-navigation-ready #slide-out-widget-area {
  width: 100% !important;
  padding-right: 0 !important;
  box-sizing: border-box;
  background: #173c23 !important;
}
body.tvh-navigation-ready #slide-out-widget-area .inner-wrap {
  display: block !important;
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  min-height: 100%;
  padding: 89px 24px 32px;
  padding-top: calc(var(--tvh-header-height, 89px) + var(--tvh-admin-offset, 0px)) !important;
  box-sizing: border-box;
}
body.tvh-navigation-ready #slide-out-widget-area .inner {
  width: 100%;
  max-width: 500px;
  padding: 24px 0;
  margin: 0 auto;
  text-align: left;
}
body.tvh-navigation-ready #slide-out-widget-area .off-canvas-menu-container { padding: 0 !important; }
body.tvh-navigation-ready #slide-out-widget-area .menu-wrap { text-align: left; }
body.tvh-navigation-ready #slide-out-widget-area .off-canvas-menu-container .menu > li > a {
  display: block;
  min-height: 44px;
  box-sizing: border-box;
  font-size: 22px !important;
  line-height: 1.35 !important;
  padding: 10px 0 !important;
}
body.tvh-navigation-ready #slide-out-widget-area .off-canvas-menu-container .nav_desc {
  margin: -4px 0 10px;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: .025em;
  text-transform: none;
}
body.tvh-navigation-ready #slide-out-widget-area .off-canvas-menu-container .sub-menu li > a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 0;
  font-size: 18px !important;
  line-height: 1.4;
}
body.tvh-navigation-ready #slide-out-widget-area .off-canvas-menu-container .menu > li.tvh-menu-quote {
  margin-top: 20px !important;
}
body.tvh-navigation-ready #slide-out-widget-area .off-canvas-menu-container .menu > li.tvh-menu-quote > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px !important;
  border: 1px solid rgb(255 255 255 / 45%);
  border-radius: 6px;
  font-size: 14px !important;
}

@media (min-width: 1000px) and (max-width: 1150px) {
  body.tvh-navigation-ready #header-outer.tvh-header-ready #top > .container { padding: 0 24px !important; }
  body.tvh-navigation-ready #header-outer.tvh-header-ready #top > .container > .row { gap: 24px; }
  body.tvh-navigation-ready #header-outer.tvh-header-ready #top .span_9 > nav { gap: 16px; }
  body.tvh-navigation-ready #header-outer.tvh-header-ready #top nav > ul.tvh-primary-menu { gap: 20px; }
  body.tvh-navigation-ready #header-outer.tvh-header-ready #top nav > ul.tvh-tools { padding-left: 10px !important; }
}

/* Mobile: quote leads the off-canvas panel; the header contains brand and tools. */
@media (max-width: 999px) {
  body.tvh-navigation-ready #slide-out-widget-area.fullscreen .inner > .tvh-quote-menu-mobile {
    display: block;
    width: min(100%, 500px);
    margin: 0 auto 24px;
  }
  body.tvh-navigation-ready #slide-out-widget-area .tvh-quote-menu-mobile a.tvh-quote {
    display: flex !important;
    width: 100%;
    min-height: 48px;
    padding: 0 18px !important;
    justify-content: space-between;
    border-color: #fff;
    background: #fff;
    color: #173c23 !important;
    font-size: 15px;
  }
  body.tvh-navigation-ready #slide-out-widget-area .tvh-quote-menu-mobile .tvh-quote-arrow {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4' stroke='%23173c23' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }
  body.tvh-navigation-ready #slide-out-widget-area .tvh-quote-menu-mobile a.tvh-quote:active {
    background: #e8f0e6;
    border-color: #e8f0e6;
  }
  body.tvh-navigation-ready #slide-out-widget-area .off-canvas-menu-container .menu > li.tvh-menu-quote {
    display: none !important;
  }
  body.tvh-navigation-ready #header-outer.tvh-header-ready #top > .container { padding: 0 20px !important; }
  body.tvh-navigation-ready #header-outer.tvh-header-ready #top > .container > .row { min-height: 72px; gap: 12px; }
  body.tvh-navigation-ready #header-outer.tvh-header-ready #top #logo img { height: 38px !important; }
  body.tvh-navigation-ready #header-outer.tvh-header-ready #top .row > .col.span_9 { justify-content: flex-end; gap: 4px; }
  body.tvh-navigation-ready #header-outer.tvh-header-ready #top .span_9 > nav,
  body.tvh-navigation-ready #header-outer.tvh-header-ready .mobile-search,
  body.tvh-navigation-ready #header-outer.tvh-header-ready .nectar-mobile-only.mobile-header { display: none !important; }
  body.tvh-navigation-ready #header-outer.tvh-header-ready #mobile-cart-link {
    display: flex !important;
    position: static !important;
    order: 1 !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin: 0 !important;
    padding: 0 !important;
    color: #3a493f;
    transform: none !important;
  }
  body.tvh-navigation-ready #header-outer.tvh-header-ready #mobile-cart-link i { font-size: 20px; position: static !important; margin: 0 !important; transform: none !important; }
  body.tvh-navigation-ready #header-outer.tvh-header-ready #mobile-cart-link .cart-wrap { position: absolute; margin: -18px 0 0 26px; }
  body.tvh-navigation-ready #header-outer.tvh-header-ready #top .span_9 > .mobile-icon {
    display: flex !important;
    position: static !important;
    order: 2 !important;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
  }
  body.tvh-navigation-ready #header-outer.tvh-header-ready #top .mobile-icon > div {
    width: 44px;
    height: 44px;
    position: static !important;
    transform: none !important;
  }
  body.tvh-navigation-ready #header-outer.tvh-header-ready #top .mobile-icon a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    position: static !important;
    transform: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body.tvh-navigation-ready #slide-out-widget-area.fullscreen .inner .slide_out_area_close {
    top: calc(var(--tvh-admin-offset, 0px) + 14px) !important;
    right: 20px !important;
  }
  body.tvh-navigation-ready #slide-out-widget-area .off-canvas-menu-container .menu > li > a { font-size: 21px !important; }

}
@media (max-width: 359px) {
  body.tvh-navigation-ready #header-outer.tvh-header-ready #top > .container { padding: 0 12px !important; }
  body.tvh-navigation-ready #header-outer.tvh-header-ready #top > .container > .row { gap: 8px; }
  body.tvh-navigation-ready #header-outer.tvh-header-ready #top #logo img { height: 36px !important; }
}
@media (prefers-reduced-motion: reduce) {
  body.tvh-navigation-ready a.tvh-quote { transition: none; }
}
