.csr-info .phone-number,
.csr-info .hours {
  font-family: "Inter";
  font-weight: 400;
  color: var(--text-primary-900, magenta);
}
.csr-info .phone-number {
  font-size: 14px;
}
@media (min-width: 992px) {
  .csr-info .phone-number {
    font-weight: 600;
  }
}
.csr-info .hours {
  font-size: 12px;
  font-style: italic;
  margin-top: 0.25rem;
}
.csr-info .hours:hover {
  color: inherit;
}

.mega-menu-header {
  display: flex;
  flex-direction: row;
  height: 6rem;
  padding: 1.5rem 1rem;
  background-color: var(--brand-primary-1, magenta);
  gap: 1rem;
  position: sticky;
}
@media (min-width: 576px) {
  .mega-menu-header {
    gap: 3rem;
  }
}
@media (min-width: 768px) {
  .mega-menu-header {
    background-color: var(--layout-bg-main-100, magenta);
    border-bottom: 1px solid var(--interactive-primary-100, magenta);
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    gap: 1rem;
  }
}
@media (min-width: 992px) {
  .mega-menu-header {
    box-shadow: inset 0 -1px 0 var(--layout-bg-accent, magenta);
  }
}
@media (min-width: 1200px) {
  .mega-menu-header {
    padding: 1.5rem 4.5rem;
    gap: 2rem;
  }
}
@media (min-width: 1400px) {
  .mega-menu-header {
    padding: 1.5rem 6.25rem;
    gap: 3rem;
  }
}
.mega-menu-header .collapse-button-icon {
  width: 1rem;
  color: var(--interactive-elements-100, magenta);
}
@media (min-width: 768px) {
  .mega-menu-header .collapse-button-icon {
    color: var(--interactive-elements-900, magenta);
  }
}
.mega-menu-header .logo {
  width: 6rem;
  /* Logo is too dang big when we're this small. Just axe it so the important bits stick around. */
}
@media (max-width: 375px) {
  .mega-menu-header .logo {
    width: 4.5rem;
  }
}
.mega-menu-header .header-nav-item {
  display: inline-block;
  font-family: "Inter";
  font-size: 16px;
  color: var(--text-primary-900, magenta);
  border-radius: 16px;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}
.mega-menu-header .header-nav-item.for-panel {
  margin: 0 0.75rem;
  font-weight: 400;
  /* This stuff is so the nav items don't move when you select it, making it bold */
}
.mega-menu-header .header-nav-item.for-panel.selected {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  color: var(--interactive-primary-500, magenta);
}
.mega-menu-header .header-nav-item.for-panel::before {
  display: block;
  content: attr(data-text-content);
  font-weight: 700;
  height: 0;
  visibility: hidden;
}
.mega-menu-header .header-nav-item.for-button {
  padding: 0.5rem 0.75rem;
  border-radius: 16px;
}
.mega-menu-header .header-nav-item.for-button:hover {
  background-color: var(--interactive-bg-hover, magenta);
}
.mega-menu-header .mobile-search-button {
  display: block;
  width: 1.5rem;
  margin-left: 0.5rem;
  cursor: pointer;
}
@media (min-width: 768px) {
  .mega-menu-header .mobile-search-button {
    display: none;
  }
}
.mega-menu-header {
  /* Overriding the other SASS that's in like 80 places */
}
.mega-menu-header .product-popup {
  position: absolute !important;
  top: 6rem !important;
}

/* Outside of the header on mobile, but don't want to define twice */
.free-product-button {
  background-color: var(--interactive-primary-500, magenta);
  color: var(--text-secondary-0, magenta);
  font-family: "Inter";
  white-space: nowrap;
  text-align: center;
  padding: 0.5rem 1rem;
  border-radius: 10px;
}

.free-product-button:hover {
  background-color: var(--interactive-primary-300, magenta);
  text-decoration: none;
  color: var(--text-secondary-0, magenta);
}

.mega-menu-collapse {
  background-color: var(--layout-bg-main-100, magenta);
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}
.mega-menu-collapse .mc-nav-item {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1rem;
}
.mega-menu-collapse .mc-nav-item:has(.collapse.show), .mega-menu-collapse .mc-nav-item:has(.collapsing) {
  border-radius: 10px;
}
.mega-menu-collapse .mc-nav-item {
  /* If opening or open, change animation time */
}
.mega-menu-collapse .mc-nav-item:has(> .collapse.show), .mega-menu-collapse .mc-nav-item:has(> .collapsing):has(> button[aria-expanded=true]) {
  background-color: var(--interactive-bg-main, magenta);
  transition: background-color 100ms linear;
}
.mega-menu-collapse .mc-nav-item {
  /* Slow down the transition when closing */
}
.mega-menu-collapse .mc-nav-item:not(:has(> .collapsing):has(> button[aria-expanded=true])) {
  transition: background-color 250ms linear;
}
.mega-menu-collapse .mc-nav-item.for-panel > button, .mega-menu-collapse .mc-nav-item.for-button {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
  font-weight: 700;
  border: none;
  background-color: inherit;
  color: var(--text-primary-900, magenta);
}
.mega-menu-collapse .phone-site-selector-header {
  font-family: "Inter";
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary-900, magenta);
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}
.mega-menu-collapse .phone-site-selector-row {
  font-family: "Inter";
  font-size: 14px;
  color: var(--text-primary-900, magenta);
  font-weight: 700;
}
.mega-menu-collapse .phone-site-selector-row img {
  width: 1.75rem;
  height: 1.75rem;
  padding: 6px;
  border-radius: 6px;
}
.mega-menu-collapse .footer-bar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.75rem;
  background-color: var(--layout-bg-main-300, magenta);
}
@media (min-width: 576px) {
  .mega-menu-collapse .footer-bar {
    padding: 0.5rem 1.5rem;
  }
}

.mobile-panel {
  display: flex;
  flex-direction: row;
  gap: 4.5rem;
  padding: 1.5rem 1rem 0;
  background-color: var(--interactive-bg-main, magenta);
}
.mobile-panel .nav-items {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}
.mobile-panel .nav-items .mc-panel-nav-item {
  cursor: pointer;
  padding: 1rem 1.5rem;
  border-radius: 20px;
  border: 0.5px solid transparent;
  background-color: var(--layout-bg-main-100, magenta);
  transition: background-color 200ms linear, border-color 200ms linear;
}
.mobile-panel .nav-items .mc-panel-nav-item:has(.mc-open-submenu-button[aria-expanded=true]) {
  border-color: #76878D;
  background-color: var(--layout-bg-accent, magenta);
}
.mobile-panel .nav-items .mc-panel-nav-item .mc-open-submenu-button {
  display: flex;
  flex-direction: row;
  width: 100%;
  border: none;
  background-color: inherit;
  color: var(--text-primary-900, magenta);
}
.mobile-panel .nav-items .mc-panel-nav-item .collapse,
.mobile-panel .nav-items .mc-panel-nav-item .collapsing {
  margin-bottom: 0.5rem;
}

.panel-nav-item-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}
.panel-nav-item-content .label-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 0.5rem;
  text-align: left;
  font-family: "Inter";
}
.panel-nav-item-content .label-wrapper .title {
  color: var(--text-primary-500, magenta);
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}
.panel-nav-item-content .label-wrapper .subtitle {
  color: var(--text-primary-100, magenta);
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
}

.mega-menu .panel,
.submenus {
  box-shadow: inset 0 -1px 6px color-mix(in srgb, var(--interactive-stroke-500, magenta) 80%, transparent);
}

.mega-menu .panel {
  display: flex;
  flex-direction: row;
  border-radius: 0;
  background-color: white;
  border-bottom: 1px solid var(--interactive-stroke-500, magenta);
}
.mega-menu .panel .nav-items {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  justify-content: space-between;
  width: min-content;
  height: 100%;
  padding: 1.5rem 2rem;
}
@media (min-width: 1200px) {
  .mega-menu .panel .nav-items {
    min-width: 20rem;
    padding: 2.5rem 2rem 2.5rem 5rem;
  }
}
@media (min-width: 1400px) {
  .mega-menu .panel .nav-items {
    min-width: 25rem;
    padding: 2.5rem 2rem 2.5rem 6.25rem;
  }
}
.mega-menu .panel .nav-items .header-text {
  color: black;
  font-family: "Inter";
  font-size: 16px;
  margin-top: 4px;
  margin-bottom: 2px; /* Already has another 12px from the gap */
}
.mega-menu .panel .nav-items .panel-nav-item {
  cursor: default;
  display: flex;
  flex-direction: row;
  gap: 0.25rem;
  align-items: center;
  border-radius: 16px;
  padding: 1rem 1.5rem;
  background-color: var(--layout-bg-main-100, magenta);
}
.mega-menu .panel .nav-items .panel-nav-item.selected {
  background-color: var(--interactive-bg-main, magenta);
}
.mega-menu .panel .nav-items .panel-nav-item:hover {
  background-color: var(--interactive-bg-hover, magenta);
}
.mega-menu .panel .nav-items .button-secondary {
  padding: 0.5rem 1rem;
}
.mega-menu .panel {
  /* Push the cards over to the right */
}
.mega-menu .panel .submenus {
  flex-grow: 1;
  padding: 1.5rem;
  background-color: var(--layout-bg-accent, magenta);
}
@media (min-width: 992px) {
  .mega-menu .panel .submenus {
    padding-right: 1.5rem;
  }
}
@media (min-width: 1200px) {
  .mega-menu .panel .submenus {
    padding: 2.5rem;
    padding-right: 4.5rem;
  }
}
@media (min-width: 1400px) {
  .mega-menu .panel .submenus {
    padding-right: 6.25rem;
  }
}
.mega-menu .panel .submenu-wrapper {
  display: none;
  height: 100%;
}

.rich-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background-color: var(--layout-bg-main-100, magenta);
  border-radius: 20px;
  padding: 1.5rem;
  gap: 2rem;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  height: 100%;
  width: 100%;
  max-width: 430px;
  font-family: "Inter";
}
@media (min-width: 1200px) {
  .rich-card {
    justify-content: space-evenly;
  }
}

.rich-content .rich-text {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  /* Stupid globals, ya making me look bad! */
}
.rich-content .rich-text * {
  margin: 0;
  padding: 0;
}
.rich-content .rich-text h1 {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary-900, magenta);
  font-family: "Source Serif 4", serif;
  line-height: 140%;
}
.rich-content .rich-text h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary-900, magenta);
  font-family: "Inter";
}
.rich-content .rich-text p {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-primary-900, magenta);
}
.rich-content .rich-text ul,
.rich-content .rich-text ol {
  margin-left: 2rem;
}

.products-search-bar {
  height: 2.75rem;
  position: relative;
  align-items: center;
  /* Set when opened by the button on phone */
  display: none;
  width: 0;
}
@media (min-width: 768px) {
  .products-search-bar {
    /* So it always shows on tablet and above */
    display: block !important;
    width: 100% !important;
    min-width: 200px;
  }
}
@media (min-width: 992px) {
  .products-search-bar {
    max-width: 500px;
  }
}
@media (min-width: 992px) and (max-width: 1200px) {
  .products-search-bar {
    max-width: 300px;
  }
}
.products-search-bar i {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--interactive-primary-500, magenta);
}
.products-search-bar #search-input {
  font-family: "Inter";
  font-size: 16px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--interactive-stroke-500, magenta);
  border-radius: 12px;
  width: 100%;
  float: right;
  transition: box-shadow 0.15s ease-in-out;
}
@media (max-width: 400px) {
  .products-search-bar #search-input {
    font-size: 14px;
    margin-top: 2px; /* Shift it down just a tad so it's still centered, not sure why align-items: center didn't work */
  }
}
.products-search-bar #search-input:focus {
  box-shadow: 0 0 4px 0.2rem var(--interactive-primary-300, magenta);
  outline: 0;
}
@media (min-width: 768px) {
  .products-search-bar #search-input:focus {
    box-shadow: 0 0 4px 0.1rem color-mix(in srgb, var(--interactive-primary-300, magenta) 25%, transparent);
  }
}

@media (max-width: 550px) {
  .ui-autocomplete.search-autocomplete {
    width: calc(100dvw - 3rem) !important;
  }
}

.mega-menu-site-bar {
  height: 3rem;
  background-color: var(--interactive-bg-main, magenta);
}

.site-selector img {
  width: 1.5rem;
  height: 1.5rem;
  padding: 0.25rem;
  border-radius: 6px;
}
.site-selector .site-selector-row {
  display: flex;
  flex-direction: row;
  gap: 0.25rem;
  align-items: center;
}
.site-selector .site-selector-row img {
  /* Images make things goofy if we go REALLY small, so just axe them. If your phone is this thin, too bad. */
}
@media (max-width: 375px) {
  .site-selector .site-selector-row img {
    display: none;
  }
}
.site-selector .site-selector-row span {
  font-family: "Inter";
  font-size: 0.75rem;
  margin: 0 0.5rem;
}
.site-selector .dropdown-menu {
  min-width: 0;
  width: 100%;
  z-index: 1021; /* Make it show over sticky-top */
}
.site-selector .dropdown-item {
  padding: 0.5rem 0.75rem !important;
}
.site-selector button {
  border: none;
  background-color: inherit;
}

/* Compatability with CCP changes */
.mega-menu-site-bar .site-selector {
  width: unset;
  flex: unset;
  border: unset;
}

.submenu-link {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  text-decoration: none;
  width: 100%;
}
.submenu-link:hover {
  text-decoration: underline;
}
.submenu-link .icon-wrapper {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  background-color: var(--brand-secondary-alt-2, magenta);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.submenu-link .icon-wrapper i {
  color: var(--interactive-elements-100, magenta);
}
.submenu-link .text-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-family: "Inter";
  font-size: 14px;
}
.submenu-link .text-wrapper .text {
  color: var(--text-primary-500, magenta);
  white-space: nowrap;
}
.submenu-link .text-wrapper .subtitle {
  color: var(--text-secondary-500, magenta);
  font-weight: 300;
  margin-left: 10px;
}

.submenu .submenu-links {
  display: grid;
  padding: 1rem 1.5rem;
  gap: 0.75rem 2rem;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
@media (min-width: 992px) {
  .submenu .submenu-links {
    grid-template-columns: repeat(min(var(--cols-max), var(--cols)), minmax(0, max-content));
    --cols-max: 3;
  }
}
@media (min-width: 1200px) {
  .submenu .submenu-links {
    --cols-max: 4;
  }
}
.submenu .base-content-image {
  margin-top: auto;
  margin-bottom: auto;
}
@media (max-width: 992px) {
  .submenu .base-content-image {
    display: none;
  }
}
.submenu .base-content-image img {
  border-radius: 20px;
  max-height: 350px;
}
.submenu .base-content-image.unexclusive {
  max-width: 40%;
  margin-left: 2rem;
  margin-right: 2rem;
}
.submenu .footer-link {
  color: var(--interactive-elements-900, magenta);
  font-family: "Inter";
  font-size: 16px;
  font-weight: 600;
  text-decoration: underline;
  text-align: center;
  text-transform: none; /* Global SASS strikes again... */
  /* Don't want link to stretch bigger than the text, but still want centered */
  white-space: nowrap;
  margin-left: auto;
  margin-right: auto;
}

.user-menu .logged-in-btn {
  border: none;
  border-radius: 12px;
  background: inherit;
}
@media (min-width: 768px) {
  .user-menu .logged-in-btn {
    padding: 0.5rem;
  }
}
@media (min-width: 768px) {
  .user-menu .logged-in-btn.show, .user-menu .logged-in-btn:hover {
    background-color: var(--interactive-bg-hover, magenta);
  }
}
.user-menu .logged-in-btn i {
  background-color: var(--interactive-primary-500, magenta);
}
.user-menu .logged-in-btn i, .user-menu .logged-out-btn i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0.25rem;
  border-radius: 100%;
  color: var(--interactive-elements-100, magenta);
}
.user-menu .dropdown-menu .user-menu-header {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px;
  background-color: var(--layout-bg-accent, magenta);
}
.user-menu .dropdown-menu .user-menu-header .nickname {
  color: var(--text-primary-900, magenta);
  font-family: "Inter";
  font-size: 14px;
}
.user-menu .dropdown-menu .user-menu-header .cust-no {
  color: var(--text-secondary-900, magenta);
  font-family: "Inter";
  font-size: 12px;
}
.user-menu .dropdown-menu .account-links a {
  background-color: var(--layout-bg-main-100, magenta);
  color: var(--interactive-primary-500, magenta);
  font-family: "Inter";
  font-size: 14px;
}
.user-menu .dropdown-menu .account-links a:hover {
  background-color: var(--layout-bg-accent, magenta);
}
.user-menu .dropdown-menu .sign-out {
  color: var(--interactive-elements-900, magenta);
  font-family: "Inter";
  font-size: 14px;
  margin-bottom: 0.5rem;
}
.user-menu .logged-out-btn {
  text-align: center;
  padding: 0.5rem;
  text-decoration: none;
}
.user-menu .logged-out-btn i {
  background-color: inherit;
}
@media (min-width: 768px) {
  .user-menu .logged-out-btn {
    min-width: 100px;
  }
  .user-menu .logged-out-btn i {
    color: var(--interactive-elements-900, magenta);
  }
  .user-menu .logged-out-btn:hover i {
    color: var(--text-secondary-500, magenta);
  }
}

.mega-menu-banner {
  border: 0.5px solid var(--layout-stroke-100, magenta);
  background-color: var(--layout-bg-main-100, magenta);
  color: var(--interactive-secondary-500, magenta);
  padding: 0.5rem 1rem;
  text-align: center;
  font-size: 14px;
  font-family: Arial;
}
@media (min-width: 768px) {
  .mega-menu-banner {
    font-size: 16px;
  }
}
.mega-menu-banner {
  /* Can't use BS as the <p> elements are added by Sitefinity when rendering rich text */
}
.mega-menu-banner .banner-message p {
  margin: 0;
}

.desktop-panels {
  padding-left: 8.25rem;
  /* Needed so user menu dropdown shows above panel 
         (I don't know why, but this is the only thing that works that I've tried) */
  position: relative;
  z-index: -1;
}
.desktop-panels .desktop-panel-wrapper {
  display: none;
  width: 100%;
  position: absolute;
  left: 0;
  z-index: 999;
}
.desktop-panels .desktop-panel-wrapper.active {
  display: block;
}

.mega-menu-background-blur {
  display: none;
  opacity: 0%;
  background-color: gray;
  width: 100%;
  height: 100dvh;
  position: absolute;
  z-index: -2; /* Needed to make sure panels always show above */
}
@media (max-width: 992px) {
  .mega-menu-background-blur {
    display: none !important;
  }
}
.mega-menu-background-blur.active {
  display: block;
  opacity: 80%;
}
