/* Global Search
   =========================================== */
.t-global-search {
  padding-top: 4rem;
  padding-bottom: 4rem;
  position: fixed;
  background-color: #fff;
  -webkit-transform: scaleY(0);
  -ms-transform: scaleY(0);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform ease-in-out 0.15s;
  z-index: 5000;
}
@media (max-width: 60em) and (max-height: 60em) {
  .t-global-search {
    padding-top: 1rem;
    top: 0;
    bottom: 0;
    overflow-y: auto;
  }
}
.t-open-search {background-color: #fff;}
.t-open-search:hover {background-color: #fff;border-color: currentColor;color: #333;}
.t-open-search span {vertical-align: middle;}
.has-active-search-preview main {
  filter: blur(4px);
  pointer-events: none;
  transition: filter linear 0.1s;
}
.has-active-search-preview .t-global-search {
  -webkit-transform: scaleY(1);
  -ms-transform: scaleY(1);
  transform: scaleY(1);
}
.t-global-search__form {max-width: 90rem;margin: 0 auto;position: relative;border-bottom: 1px solid #eaeaea;}
.t-global-search__form .c-form-list__item {}
.t-global-search__form .c-form-input {padding-right: 0;padding-left: 0;}
.t-global-search__form .c-button {white-space: nowrap;}
.t-search-preview {flex-wrap: wrap;position: static;box-shadow: none;}
.x-search-preview--open:not(:empty) {display: flex;padding: 1rem;}
.x-search-preview__search-all {flex-basis: 100%;}
.t-search-preview__item {flex-basis: 50%;padding: 0.75rem;}
@media (min-width: 40em) {
  .t-search-preview__item {
    flex-basis: calc(100% / 3);
  }
}
@media (min-width: 60em) {
.t-search-preview__item {flex-basis: 20%;}
}
.t-search-preview__item.mm_searchfield_menuitem_selected {background-color: transparent;}
.t-search-preview__link {cursor: pointer;}
.t-search-preview__link:hover {box-shadow: 0 0 1rem 0 rgba(51, 51, 51, 0.25);color: currentColor;}
.t-search-preview__figure {margin: 0;}
.t-search-preview__picture {display: block;padding: 2rem;background-color: #f4f4f4;}
.t-search-preview__picture .t-search-preview__image {display: inline-block;margin-bottom: 0;}
.t-search-preview__figure-caption {padding: 1rem;}
.t-search-preview__name {font-size: 0.75rem;font-weight: 600;text-transform: uppercase;}

/* ==========================================================================
   EXTENSIONS / SEARCH-PREVIEW / SEARCH-PREVIEW
   ========================================================================== */
.x-search-preview {
  background-color: var(--white);
  border: var(--default-input-border--focus);
  border-top: 0;
  border-radius: 0 0 var(--default-border-radius) var(--default-border-radius);
  display: none;
  flex-direction: column;
  font-size: var(--default-input-font-size);
  list-style: none;
  margin: 0;
  outline: none;
  padding: 0.5rem 0;
  position: absolute;
  right: calc(-1 * 1px);
  width: calc(100% + 2 * 2px);
  z-index: 500;
}
.x-search-preview--open {display: flex;}
.x-search-preview__item {align-items: center;display: flex;gap: 1rem;}
/**
 * This section contains the necessary styles when using the built-in search
 * preview ability of Miva. Since the functional code is generated at run-time,
 * these styles do not conform to the tenants used in the rest of the framework.
 */
.mm_searchfield_menuitem_selected {background-color: #F5F5F5;}
.mm-theme-button-primary-navigation, .mm-theme-button-secondary-navigation {
  align-items: left;
  display: inline-block;
  justify-content: left;
  position: static;
  -webkit-user-select: text;
  user-select: text;
  white-space: inherit;
}
.x-search-preview__image {
  flex-shrink: 0;
  height: var(--search-preview-image-y);
  margin-bottom: 0;
  overflow: hidden;
  width: var(--search-preview-image-x);
}
.x-search-preview__item-name {overflow-wrap: break-word;word-break: break-word;}
.x-search-preview__entry, .x-search-preview__search-all {cursor: pointer;padding: 0.8rem 1rem;}
.x-search-preview__search-all {font-style: italic;color:#575A5D;}


/* SEARCH */
.t-site-header__search-form {border: 1px solid #cccccc;border-radius: 0.25rem;margin-bottom: 0;position: relative;}
.t-site-header__search-form .c-form-list__item {margin-bottom: 0;}
.mm-theme-button-secondary-navigation.mm-theme-button-secondary-navigation__medium {font-size: 13px;}
.mm-theme-button-secondary-navigation {
  box-sizing: border-box;
  cursor: pointer;
  transition: color 150ms ease-in-out, background-color 150ms ease-in-out, border-color 150ms ease-in-out, box-shadow 150ms ease-in-out, text-decoration 150ms ease-in-out;
  user-select: none;
  color: #575A5D;
  font-weight: 500;
  font-style: normal;
  background-color: transparent;
  font-family: Inter, sans-serif;
  border: none;
  text-decoration: none;
}
.mm-theme-button-secondary-navigation:hover {color: #575A5D;background-color: transparent;text-decoration-line: underline;text-decoration-thickness: 1px;text-underline-offset: 2px;}
.mm-theme-button-secondary-navigation:disabled, .mm-theme-button-secondary-navigation[disabled] {
  cursor: not-allowed;
  color: #575A5D;
  background-color: transparent;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.t-site-header__search-button.c-button:hover.u-bg-white {background-color: #fff;color: #333;}

.c-form-input.t-site-header__search-field {font-size: 0.9rem; font-weight:normal;}
.x-search-preview {
  background-color: #ffffff;
  border: 1px solid #575A5D;
  border-top: 0;
  border-radius: 0 0 0.25rem 0.25rem;
  display: none;
  flex-direction: column;
  font-size: 0.8125rem;
  list-style: none;
  margin: 0;
  outline: none;
  padding: 0.5rem 0;
  position: absolute;
  right: calc(-1 * var(1px));
  width: calc(100% + 2 * var(1px));
  z-index: 500;
}
.x-search-preview--open:not(:empty) {display: flex;padding: 1rem;}
.t-search-preview__item {display: block;}
.t-search-preview__name {overflow-wrap: break-word;word-break: break-word;}
.t-search-preview__item, .x-search-preview__search-all {cursor: pointer;padding: 0.8rem 1rem;}
.t-search-preview__link {align-items: center;display: flex;gap: 1rem;}
.t-search-preview__picture {flex-shrink: 0;margin-bottom: 0; overflow: hidden;}
.t-search-preview__name {overflow-wrap: break-word;word-break: break-word;}
.t-search-preview__link {align-items: center;display: flex;gap: 1rem;}
.t-search-preview__link {display: flex;flex: 1;justify-content: space-between;text-decoration: none;}
.x-search-preview__item {align-items: center;display: flex;gap: 1rem;}
.t-search-preview__figure-caption {align-items: left;display: inline-block;justify-content: left;position: static;-webkit-user-select: text;user-select: text;white-space: inherit;}
.t-search-preview__link:hover {box-shadow: 0 0 1rem 0 rgba(51, 51, 51, 0.25);color: #575A5D;}

a:focus.x-show-related__link, a:hover.x-show-related__link {text-decoration:none;}
a:focus.t-site-header__basket-link, a:hover.t-site-header__basket-link {text-decoration:none;}

