.thmm-navigation {
  --thmm-plum: #511b4a;
  --thmm-plum-dark: #39182e;
  --thmm-plum-light: #732e6a;
  --thmm-cream: #fff8f1;
  --thmm-coral: #dc9464;
  --thmm-rose: #af5367;
  position: relative;
  z-index: 40;
  width: 100%;
  color: var(--thmm-cream);
}

.thmm-mobile-toggle {
  display: none;
}

.thmm-offcanvas {
  display: contents;
}

.thmm-offcanvas-header,
.thmm-offcanvas-backdrop,
.thmm-mobile-submenu-header {
  display: none;
}

.thmm-menu,
.thmm-column-list,
.thmm-flyout-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.thmm-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: clamp(1rem, 2vw, 2.5rem);
}

.thmm-menu-item--top {
  position: static;
}

.thmm-menu-item--top:not(.thmm-menu-item--has-mega) {
  position: relative;
}

.thmm-top-row {
  display: flex;
  align-items: center;
}

.thmm-top-link {
  display: block;
  padding: .35rem 0;
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

.thmm-top-link:hover,
.thmm-top-link:focus-visible,
.thmm-menu-item.is-current > .thmm-top-row .thmm-top-link {
  color: #f6b05b;
}

.thmm-submenu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-left: .2rem;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.thmm-submenu-toggle i {
  transition: transform .2s ease;
}

.thmm-menu-item.is-open > .thmm-top-row .thmm-submenu-toggle i {
  transform: rotate(180deg);
}

.thmm-panel,
.thmm-flyout {
  position: absolute;
  top: calc(100% + 1rem);
  visibility: hidden;
  box-sizing: border-box;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  border: 1px solid #d9d7d4;
  border-radius: 1.35rem;
  opacity: 0;
  color: var(--thmm-plum);
  background: var(--thmm-cream);
  box-shadow: 0 18px 48px rgb(35 16 31 / 20%);
  transform: translateY(-.5rem);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

.thmm-panel--full {
  right: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
}

.thmm-panel--content {
  right: auto;
  left: var(--thmm-panel-left, 0px);
  width: max-content;
  max-width: 100%;
  transform: translateY(-.5rem);
}

.thmm-menu-item.is-open > .thmm-panel,
.thmm-menu-item.is-open > .thmm-flyout,
.thmm-menu-item:focus-within > .thmm-panel,
.thmm-menu-item:focus-within > .thmm-flyout {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.thmm-menu-item.is-open > .thmm-panel--content,
.thmm-menu-item:focus-within > .thmm-panel--content {
  transform: translateY(0);
}

.thmm-panel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.75rem);
}

.thmm-panel--columns-1 .thmm-panel-grid {
  grid-template-columns: minmax(260px, 1fr);
  max-width: 420px;
}

.thmm-panel--columns-2 .thmm-panel-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.thmm-panel--columns-3 .thmm-panel-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.thmm-panel--content.thmm-panel--columns-1 .thmm-panel-grid {
  grid-template-columns: minmax(260px, 380px);
}

.thmm-panel--content.thmm-panel--columns-2 .thmm-panel-grid {
  grid-template-columns: repeat(2, minmax(260px, 320px));
}

.thmm-panel--content.thmm-panel--columns-3 .thmm-panel-grid {
  grid-template-columns: repeat(3, minmax(250px, 310px));
}

.thmm-panel--content.thmm-panel--columns-4 .thmm-panel-grid {
  grid-template-columns: repeat(4, minmax(240px, 300px));
}

.thmm-column--wide {
  grid-column: span 2;
}

.thmm-column--narrow {
  max-width: 250px;
}

.thmm-column-title {
  margin: 0 0 1rem;
  padding: 0 0 .65rem;
  border-bottom: 1px solid #d7d2cf;
  color: var(--thmm-plum);
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  font-weight: 700;
  line-height: 1.25;
}

.thmm-column-title a {
  color: inherit;
  text-decoration: none;
}

.thmm-column-title a:hover {
  text-decoration: underline;
}

.thmm-column-heading-text {
  display: block;
}

.thmm-column-title--blank {
  box-sizing: border-box;
  min-height: calc(1.25em + .65rem + 1px);
}

.thmm-column-list {
  display: grid;
  gap: 1rem;
}

.thmm-icon-link,
.thmm-static-text {
  display: grid;
  grid-template-columns: 1.35rem minmax(0, 1fr);
  align-items: baseline;
  gap: .65rem;
  color: var(--thmm-plum);
  font-size: 1.05rem;
  line-height: 1.3;
}

.thmm-icon-link {
  text-decoration: none;
}

.thmm-icon-link > span {
  text-decoration: underline;
  text-underline-offset: .12em;
}

.thmm-icon-link i,
.thmm-static-text i {
  text-align: center;
}

.thmm-icon-link--no-icon,
.thmm-static-text--no-icon {
  display: block;
  width: 100%;
}

.thmm-static-text {
  cursor: default;
}

.thmm-icon-link:hover,
.thmm-icon-link:focus-visible {
  color: var(--thmm-plum-light);
}

.thmm-icon-link:hover > span,
.thmm-icon-link:focus-visible > span {
  text-decoration-thickness: 2px;
}

.thmm-promo {
  position: relative;
  display: flex;
  min-height: 108px;
  overflow: hidden;
  border-radius: 1rem;
  color: var(--thmm-cream);
  background: var(--thmm-plum);
  box-shadow: 0 2px 5px rgb(57 24 46 / 12%);
  text-decoration: none;
}

.thmm-column-list .thmm-promo {
  width: 100%;
}

.thmm-promo--coral {
  color: var(--thmm-plum-dark);
  background: var(--thmm-coral);
}

.thmm-promo--rose {
  background: var(--thmm-rose);
}

.thmm-promo--cream {
  border: 2px solid var(--thmm-plum);
  color: var(--thmm-plum);
  background: var(--thmm-cream);
}

.thmm-promo:has(.thmm-promo-image) {
  flex-direction: column;
}

.thmm-promo-image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.thmm-promo-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thmm-promo-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1rem 3rem 1rem 1rem;
}

.thmm-promo-title {
  display: block;
  font-size: 1.08rem;
  line-height: 1.25;
}

.thmm-promo-title i {
  margin-right: .35rem;
}

.thmm-promo-description {
  display: block;
  margin-top: .35rem;
  font-size: .95rem;
  line-height: 1.4;
}

.thmm-promo-arrow {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  color: #f6b05b;
  font-size: 1.4rem;
  transition: transform .18s ease;
}

.thmm-promo--coral .thmm-promo-arrow,
.thmm-promo--cream .thmm-promo-arrow {
  color: var(--thmm-plum-dark);
}

.thmm-promo:hover .thmm-promo-arrow,
.thmm-promo:focus-visible .thmm-promo-arrow {
  transform: translateX(.25rem);
}

.thmm-flyout {
  left: 0;
  width: 260px;
  padding: .75rem;
  transform: translateY(-.5rem);
}

.thmm-menu-item.is-open > .thmm-flyout,
.thmm-menu-item:focus-within > .thmm-flyout {
  transform: translateY(0);
}

.thmm-flyout a {
  display: block;
  padding: .65rem .75rem;
  border-radius: .4rem;
  color: var(--thmm-plum);
  text-decoration: none;
}

.thmm-flyout a:hover,
.thmm-flyout a:focus-visible {
  background: #efe3ea;
}

@media (min-width: 992px) {
  .thmm-menu-item--has-children:hover > .thmm-panel,
  .thmm-menu-item--has-children:hover > .thmm-flyout {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .thmm-menu-item--has-children:hover > .thmm-panel--content {
    transform: translateY(0);
  }
}

@media (max-width: 991.98px) {
  body.thmm-menu-open {
    overflow: hidden;
  }

  .thmm-mobile-toggle {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-left: auto;
    padding: .8rem 0;
    border: 0;
    color: inherit;
    background: transparent;
    font: inherit;
    font-weight: 600;
  }

  .thmm-offcanvas-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: block;
    visibility: hidden;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    opacity: 0;
    background: rgb(24 7 21 / 62%);
    transition: opacity .25s ease, visibility .25s;
  }

  .thmm-offcanvas {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 10001;
    display: block;
    box-sizing: border-box;
    width: min(100vw, 36rem);
    height: 100vh;
    height: 100dvh;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    color: var(--thmm-cream);
    background: var(--thmm-plum);
    /*box-shadow: -18px 0 45px rgb(24 7 21 / 28%);*/
    transform: translateX(100%);
    transition: transform .25s cubic-bezier(.22, 1, .36, 1);
    -webkit-overflow-scrolling: touch;
  }

  .thmm-offcanvas-header {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 4.5rem;
    padding: 0 1rem;
    border-bottom: 1px solid rgb(255 248 241 / 24%);
    background: var(--thmm-plum);
    font-size: 1.2rem;
  }

  .thmm-offcanvas-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid rgb(255 248 241 / 38%);
    border-radius: 50%;
    color: inherit;
    background: transparent;
    cursor: pointer;
    font-size: 1.35rem;
  }

  .thmm-navigation.is-mobile-open .thmm-offcanvas-backdrop {
    visibility: visible;
    opacity: 1;
  }

  .thmm-navigation.is-mobile-open .thmm-offcanvas {
    transform: translateX(0);
  }

  .thmm-offcanvas.is-submenu-active {
    overflow: hidden;
  }

  .thmm-menu {
    display: block;
    width: 100%;
    padding: 0 1rem 1.5rem;
    overflow: visible;
  }

  .thmm-menu-item--top {
    position: static;
  }

  .thmm-top-row {
    justify-content: space-between;
    border-top: 1px solid rgb(255 248 241 / 22%);
  }

  .thmm-top-link {
    flex: 1;
    padding: .8rem 0;
  }

  .thmm-submenu-toggle i,
  .thmm-menu-item.is-open > .thmm-top-row .thmm-submenu-toggle i {
    transform: rotate(-90deg);
  }

  .thmm-panel,
  .thmm-flyout {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 0;
    border-radius: 0;
    opacity: 1;
    box-shadow: none;
    transform: translateX(100%);
    transition: transform .25s cubic-bezier(.22, 1, .36, 1), visibility .25s;
    -webkit-overflow-scrolling: touch;
  }

  .thmm-mobile-submenu-header {
    position: sticky;
    top: 0;
    z-index: 4;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    min-height: 4.5rem;
    padding: 0 1rem;
    border-bottom: 1px solid rgb(81 27 74 / 22%);
    color: var(--thmm-plum);
    background: var(--thmm-cream);
    font-size: 1.15rem;
  }

  .thmm-mobile-back {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 2.75rem;
    padding: .45rem .8rem;
    border: 1px solid rgb(81 27 74 / 32%);
    border-radius: 999px;
    color: var(--thmm-plum);
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-size: .95rem;
    font-weight: 600;
  }

  .thmm-panel img,
  .thmm-flyout img {
    max-width: 100%;
    height: auto;
  }

  .thmm-menu-item.is-open > .thmm-panel,
  .thmm-menu-item.is-open > .thmm-flyout {
    visibility: visible;
    transform: translateX(0);
  }

  .thmm-menu-item:not(.is-open) > .thmm-panel,
  .thmm-menu-item:not(.is-open) > .thmm-flyout {
    visibility: hidden;
    transform: translateX(100%);
  }

  .thmm-panel-grid,
  .thmm-flyout-list {
    flex: 0 0 auto;
    padding: 1rem;
  }

  .thmm-panel-grid,
  .thmm-panel--columns-1 .thmm-panel-grid,
  .thmm-panel--columns-2 .thmm-panel-grid,
  .thmm-panel--columns-3 .thmm-panel-grid {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .thmm-column-title--mobile-duplicate {
    display: none;
  }

  .thmm-column-title--blank {
    min-height: 0;
    padding: 0;
    line-height: 0;
  }

  .thmm-panel--content.thmm-panel--columns-1 .thmm-panel-grid,
  .thmm-panel--content.thmm-panel--columns-2 .thmm-panel-grid,
  .thmm-panel--content.thmm-panel--columns-3 .thmm-panel-grid,
  .thmm-panel--content.thmm-panel--columns-4 .thmm-panel-grid {
    grid-template-columns: 1fr;
  }

  .thmm-menu-item.is-open > .thmm-panel--content {
    transform: translateX(0);
  }

  .thmm-column--wide {
    grid-column: auto;
  }

  .thmm-column--narrow {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .thmm-panel,
  .thmm-flyout,
  .thmm-offcanvas,
  .thmm-offcanvas-backdrop,
  .thmm-submenu-toggle i,
  .thmm-promo-arrow {
    transition: none;
  }
}
