.mth-isp-dropdown {
  position: absolute;
  z-index: 2147483000;
  display: none;
  flex-direction: column;
  max-height: 72vh;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
  color: #000000;
  font-size: var(--mth-isp-base-font-size, 14px);
  line-height: 1.35;
}

.mth-isp-dropdown,
.mth-isp-dropdown * {
  box-sizing: border-box;
}

.mth-isp-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
}

.mth-isp-section + .mth-isp-section {
  border-top: 1px solid #eeeeee;
}

.mth-isp-section-title {
  padding: 9px 12px 7px;
  background: #f7f7f7;
  color: #4d4d4d;
  font-size: var(--mth-isp-section-font-size, 12px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mth-isp-row {
  color: #000000;
  text-decoration: none;
  outline: none;
}

.mth-isp-row:hover,
.mth-isp-row:focus,
.mth-isp-row.is-active {
  background: var(--mth-isp-accent-soft, rgba(34, 42, 117, 0.08));
  color: #000000;
  text-decoration: none;
  outline: none;
}

.mth-isp-categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mth-isp-category {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 9px 12px;
  border-right: 1px solid #eeeeee;
  border-bottom: 1px solid #eeeeee;
  border-left: 3px solid transparent;
}

.mth-isp-category:nth-child(2n) {
  border-right: 0;
}

.mth-isp-category:hover,
.mth-isp-category:focus,
.mth-isp-category.is-active {
  border-left-color: var(--mth-isp-accent, #222a75);
}

.mth-isp-category .mth-isp-title {
  color: var(--mth-isp-accent, #222a75);
  font-size: var(--mth-isp-product-title-font-size, 14px);
}

.mth-isp-category-arrow {
  flex: 0 0 auto;
  color: var(--mth-isp-accent, #222a75);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.mth-isp-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-left: 3px solid transparent;
}

.mth-isp-brand:hover,
.mth-isp-brand:focus,
.mth-isp-brand.is-active {
  border-left-color: var(--mth-isp-accent, #222a75);
}

.mth-isp-thumb {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 4px;
}

.mth-isp-brand-thumb {
  width: var(--mth-isp-brand-size, 64px);
  height: var(--mth-isp-brand-size, 64px);
}

.mth-isp-product-thumb {
  width: var(--mth-isp-product-size, 96px);
  height: var(--mth-isp-product-size, 96px);
}

.mth-isp-thumb img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

.mth-isp-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.mth-isp-title {
  display: block;
  color: #000000;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mth-isp-meta {
  display: block;
  margin-top: 2px;
  color: #4d4d4d;
  font-size: var(--mth-isp-product-meta-font-size, 12px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mth-isp-brand .mth-isp-title {
  font-size: var(--mth-isp-brand-title-font-size, 14px);
}

.mth-isp-brand .mth-isp-meta {
  font-size: var(--mth-isp-brand-meta-font-size, 12px);
}

.mth-isp-product .mth-isp-title {
  font-size: var(--mth-isp-product-title-font-size, 14px);
}

.mth-isp-product .mth-isp-meta {
  font-size: var(--mth-isp-product-meta-font-size, 12px);
}

.mth-isp-product .mth-isp-price {
  font-size: var(--mth-isp-product-price-font-size, 14px);
}

.mth-isp-price {
  flex: 0 0 auto;
  margin-left: 8px;
  color: #000000;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.mth-isp-has-special {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mth-isp-price-old {
  display: block;
  color: #777777;
  font-weight: 400;
  text-decoration: line-through;
}

.mth-isp-price-special {
  display: block;
  color: var(--mth-isp-sale, #da291c);
}

.mth-isp-products-list .mth-isp-product {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-left: 3px solid transparent;
}

.mth-isp-products-list .mth-isp-product:hover,
.mth-isp-products-list .mth-isp-product:focus,
.mth-isp-products-list .mth-isp-product.is-active {
  border-left-color: var(--mth-isp-accent, #222a75);
}

.mth-isp-products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mth-isp-products-grid .mth-isp-product {
  display: grid;
  grid-template-columns: minmax(72px, max(var(--mth-isp-product-size, 96px), 96px)) minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 22px;
  row-gap: 4px;
  min-height: 156px;
  padding: 18px 24px;
  border-right: 1px solid #eeeeee;
  border-bottom: 1px solid #eeeeee;
}

.mth-isp-products-grid .mth-isp-product:hover,
.mth-isp-products-grid .mth-isp-product:focus,
.mth-isp-products-grid .mth-isp-product.is-active {
  box-shadow: inset 0 0 0 2px var(--mth-isp-accent-ring, rgba(34, 42, 117, 0.16));
}

.mth-isp-products-grid .mth-isp-thumb {
  grid-row: 1 / span 2;
}

.mth-isp-products-grid .mth-isp-product-thumb {
  width: max(var(--mth-isp-product-size, 96px), 96px);
  height: max(var(--mth-isp-product-size, 96px), 96px);
}

.mth-isp-products-grid .mth-isp-copy {
  align-self: end;
}

.mth-isp-products-grid .mth-isp-title {
  color: #4d4d4d;
  font-size: var(--mth-isp-grid-product-title-font-size, 18px);
  line-height: 1.25;
  white-space: normal;
}

.mth-isp-products-grid .mth-isp-meta {
  white-space: normal;
}

.mth-isp-products-grid .mth-isp-price {
  grid-column: 2;
  align-self: start;
  margin-left: 0;
  text-align: left;
  font-size: var(--mth-isp-grid-price-font-size, 18px);
  line-height: 1.25;
}

.mth-isp-products-grid .mth-isp-has-special {
  flex-direction: row;
  align-items: baseline;
  gap: 8px;
}

.mth-isp-view-all {
  flex: 0 0 auto;
  display: block;
  position: relative;
  z-index: 2;
  padding: 12px;
  background: #f4f6fa;
  border-top: 1px solid #dfe4ec;
  color: var(--mth-isp-accent, #222a75);
  font-size: var(--mth-isp-view-all-font-size, 14px);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.mth-isp-view-all:hover,
.mth-isp-view-all:focus,
.mth-isp-view-all.is-active {
  background: var(--mth-isp-accent-hover, rgba(34, 42, 117, 0.13));
  color: var(--mth-isp-accent, #222a75);
  text-decoration: none;
  outline: none;
}

.mth-isp-empty {
  padding: 13px 14px;
  color: #4d4d4d;
  font-size: var(--mth-isp-base-font-size, 14px);
}

.mth-isp-page-brands {
  margin: 0 0 24px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
}

.mth-isp-page-title {
  margin: 0 0 14px;
  color: #000000;
  font-size: 20px;
  line-height: 1.25;
}

.mth-isp-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.mth-isp-page-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 76px;
  padding: 10px;
  color: #000000;
  text-decoration: none;
  border: 1px solid #eeeeee;
  border-radius: 6px;
}

.mth-isp-page-card:hover,
.mth-isp-page-card:focus {
  border-color: var(--mth-isp-accent, #222a75);
  box-shadow: 0 0 0 2px var(--mth-isp-accent-soft, rgba(34, 42, 117, 0.08));
  color: #000000;
  text-decoration: none;
  outline: none;
}

.mth-isp-page-logo {
  flex: 0 0 var(--mth-isp-brand-size, 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--mth-isp-brand-size, 64px);
  height: var(--mth-isp-brand-size, 64px);
  overflow: hidden;
  border: 1px solid #eeeeee;
  border-radius: 4px;
}

.mth-isp-page-logo img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

.mth-isp-page-name {
  color: #000000;
  font-size: var(--mth-isp-brand-title-font-size, 14px);
  font-weight: 700;
}

body.mth-isp-suppress-native [data-mth-isp-suppressed="1"],
body.mth-isp-suppress-native .mth-isp-suppressed-native,
body.mth-isp-suppress-native .mth-isp-native-hidden {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 760px) {
  .mth-isp-categories {
    grid-template-columns: 1fr;
  }

  .mth-isp-category,
  .mth-isp-category:nth-child(2n) {
    border-right: 0;
  }

  .mth-isp-products-grid {
    grid-template-columns: 1fr;
  }

  .mth-isp-products-grid .mth-isp-product {
    min-height: 126px;
    padding: 14px 16px;
    column-gap: 14px;
  }

  .mth-isp-products-grid .mth-isp-product-thumb {
    width: 82px;
    height: 82px;
  }
}

@media (max-width: 480px) {
  .mth-isp-dropdown {
    left: 8px !important;
    right: 8px;
    width: auto !important;
  }

  .mth-isp-brand,
  .mth-isp-products-list .mth-isp-product {
    padding: 9px 10px;
  }

  .mth-isp-products-grid .mth-isp-product {
    grid-template-columns: 72px minmax(0, 1fr);
    min-height: 112px;
    padding: 12px;
  }

  .mth-isp-products-grid .mth-isp-product-thumb {
    width: 72px;
    height: 72px;
  }

  .mth-isp-products-grid .mth-isp-has-special {
    flex-direction: column;
    gap: 2px;
  }
}
