form[data-iqit-smart-ready="1"] {
  position: relative;
}

form[data-iqit-smart-ready="1"] > .autocomplete-suggestions {
  display: none !important;
}

.iqit-smart[hidden] {
  display: none !important;
}

.iqit-smart {
  position: absolute;
  z-index: 10050;
  top: calc(100% + 8px);
  right: 0;
  width: min(680px, calc(100vw - 24px));
  max-height: min(72vh, 650px);
  overflow-x: hidden;
  overflow-y: auto;
  color: #243640;
  background: #fff;
  border: 1px solid #dce4e8;
  border-radius: 14px;
  box-shadow: 0 20px 54px rgba(27, 43, 54, .22);
}

.iqit-smart__heading {
  padding: 11px 16px 7px;
  color: #73838d;
  background: #f7f9fa;
  border-bottom: 1px solid #eef1f3;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.iqit-smart__product,
.iqit-smart__category-row {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0;
  padding: 10px 14px;
  color: #243640;
  background: #fff;
  border-bottom: 1px solid #edf1f3;
  text-decoration: none;
  transition: background-color .16s ease;
}

.iqit-smart__product:hover,
.iqit-smart__category-row:hover {
  color: #172832;
  background: #f0f8fa;
  text-decoration: none;
}

.iqit-smart__image {
  flex: 0 0 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  overflow: hidden;
  color: #98a7b0;
  background: #f6f8f9;
  border: 1px solid #edf0f2;
  border-radius: 9px;
}

.iqit-smart__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.iqit-smart__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.28;
}

.iqit-smart__body strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.iqit-smart__category,
.iqit-smart__codes {
  overflow: hidden;
  color: #74838d;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.iqit-smart__price {
  flex: 0 0 auto;
  color: #e30613;
  font-size: 14px;
  white-space: nowrap;
}

.iqit-smart__category-row {
  min-height: 48px;
  font-weight: 650;
}

.iqit-smart__folder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #159eba;
  background: #e9f7fa;
  border-radius: 8px;
  font-size: 20px;
}

.iqit-smart__loading,
.iqit-smart__empty {
  padding: 24px 16px;
  color: #6f7e87;
  text-align: center;
}

.iqit-smart__all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 50px;
  padding: 11px 16px;
  color: #172c37;
  background: #f7f9fa;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.iqit-smart__all:hover {
  color: #0c829a;
  background: #edf7f9;
  text-decoration: none;
}

.iqit-smart__all span {
  font-size: 22px;
  line-height: 1;
}

.iqit-smart-page {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px 12px 48px;
}

.iqit-smart-page__header {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e4e9ec;
}

.iqit-smart-page__header h1 {
  margin: 3px 0 7px;
  color: #152832;
  font-size: clamp(26px, 3vw, 38px);
}

.iqit-smart-page__eyebrow {
  margin: 0;
  color: #169db8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.iqit-smart-page__categories {
  margin-bottom: 28px;
}

.iqit-smart-page__categories h2 {
  margin-bottom: 12px;
  font-size: 19px;
}

.iqit-smart-page__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.iqit-smart-page__chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  color: #24424f;
  background: #edf8fa;
  border: 1px solid #cfe9ee;
  border-radius: 999px;
  font-weight: 650;
  text-decoration: none;
}

.iqit-smart-page__chip:hover {
  color: #102a35;
  background: #def2f6;
  text-decoration: none;
}

.iqit-smart-page__folder {
  color: #169db8;
  font-size: 18px;
}

.iqit-smart-page__products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.iqit-smart-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e0e6e9;
  border-radius: 14px;
  box-shadow: 0 7px 24px rgba(22, 38, 48, .06);
  transition: transform .18s ease, box-shadow .18s ease;
}

.iqit-smart-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 13px 30px rgba(22, 38, 48, .11);
}

.iqit-smart-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
  padding: 14px;
  color: #8a99a2;
  background: #f7f9fa;
}

.iqit-smart-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.iqit-smart-card__body {
  display: flex;
  flex-direction: column;
  min-height: 180px;
  padding: 16px;
}

.iqit-smart-card__category {
  color: #74838d;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.iqit-smart-card h2 {
  margin: 6px 0 10px;
  font-size: 16px;
  line-height: 1.35;
}

.iqit-smart-card h2 a {
  color: #1b2e39;
  text-decoration: none;
}

.iqit-smart-card__codes {
  display: flex;
  flex-direction: column;
  color: #78858e;
  font-size: 11px;
}

.iqit-smart-card__price {
  margin-top: auto;
  padding-top: 12px;
  color: #e30613;
  font-size: 19px;
}

.iqit-smart-page__empty {
  padding: 48px 24px;
  text-align: center;
  background: #f7f9fa;
  border: 1px dashed #cbd5da;
  border-radius: 14px;
}

@media (max-width: 991px) {
  .iqit-smart-page__products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .iqit-smart {
    position: fixed;
    top: 72px;
    right: 12px;
    left: 12px;
    width: auto;
    max-height: calc(100vh - 90px);
  }

  .iqit-smart__price {
    display: none;
  }

  .iqit-smart-page__products {
    grid-template-columns: 1fr;
  }
}
