.ms-gc-home-panel-mount {
  margin: 0;
  padding: 0;
  width: 100%;
}

.ms-gc-home-panel {
  align-items: stretch;
  background: #e8eef0;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  color: #0f172a;
  display: grid;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  gap: 0;
  margin: 32px auto;
  max-width: 1140px;
  overflow: hidden;
  width: calc(100% - 32px);
}

.ms-gc-home-panel__image {
  background: #fff;
  height: 140px;
  overflow: hidden;
}

.ms-gc-home-panel__image img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.ms-gc-home-panel__content {
  padding: 24px 16px;
}

.ms-gc-home-panel__kicker,
.ms-gc-category-teaser__kicker {
  color: #214249;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 16px;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.ms-gc-home-panel h2 {
  font-size: 24px;
  font-weight: 800;
  line-height: 29px;
  margin: 0 0 8px;
}

.ms-gc-home-panel__content > p:not(.ms-gc-home-panel__kicker) {
  color: #334155;
  font-size: 15px;
  line-height: 22px;
  margin: 0 0 16px;
}

.ms-gc-catalog-button,
.ms-gc-category-teaser__button {
  background: #214249;
  border: 1px solid #214249;
  border-radius: 10px;
  color: #fff !important;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  justify-content: center;
  line-height: 16px;
  min-height: 44px;
  padding: 13px 20px;
  text-decoration: none !important;
}

.ms-gc-catalog-button:hover,
.ms-gc-category-teaser:hover .ms-gc-category-teaser__button {
  background: #1a3439;
  border-color: #1a3439;
}

.ms-gc-catalog-button:focus-visible,
.ms-gc-category-teaser:focus-visible,
.ms-gc-footer-link a:focus-visible {
  outline: 3px solid #2563eb !important;
  outline-offset: 2px;
}

.ms-gc-footer-link--mobile {
  margin: 0 0 12px;
}

@media (min-width: 768px) {
  .ms-gc-home-panel {
    grid-template-columns: minmax(0, 42%) minmax(0, 58%);
    margin-bottom: 40px;
    margin-top: 40px;
    min-height: 250px;
  }

  .ms-gc-home-panel__image {
    height: auto;
  }

  .ms-gc-home-panel__content {
    align-self: center;
    padding: 28px 36px;
  }

  .ms-gc-home-panel h2 {
    font-size: 30px;
    line-height: 36px;
  }
}

/*
 * Kategoriens gavekort fylder to produktpladser paa desktop. Paa mindre
 * skaerme bliver det en lav, vandret række. Loaderen taeller fortsat kun de
 * rigtige li.product-elementer.
 */
.ms-gc-category-teaser-mount {
  align-self: stretch;
  box-sizing: border-box;
  display: flex;
  flex: 0 0 calc(50% - 12px);
  grid-column: span 2;
  list-style: none;
  margin: 4px 0;
  max-width: 100%;
  padding: 0;
  width: 100%;
}

@media (max-width: 991px) {
  .ms-gc-category-teaser-mount {
    flex: 0 0 100%;
  }
}

.ms-gc-category-teaser {
  align-items: center;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .07);
  box-sizing: border-box;
  color: #0f172a;
  cursor: pointer;
  display: grid;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  gap: 10px;
  grid-template-columns: 96px minmax(0, 1fr) 44px;
  min-height: 116px;
  overflow: hidden;
  padding: 10px;
  text-decoration: none !important;
  width: 100%;
}

.ms-gc-category-teaser__image {
  background: transparent;
  border-radius: 9px;
  display: block;
  height: 96px;
  overflow: hidden;
}

.ms-gc-category-teaser__image picture {
  display: block;
  height: 100%;
}

.ms-gc-category-teaser__image img {
  display: block;
  filter: drop-shadow(0 3px 3px rgba(15, 23, 42, .22));
  height: 100%;
  object-fit: contain;
  transform: scale(1.05);
  width: 100%;
}

.ms-gc-category-teaser__content {
  min-width: 0;
}

.ms-gc-category-teaser__kicker {
  display: none;
  font-size: 10px;
  line-height: 13px;
  margin-bottom: 2px;
}

.ms-gc-category-teaser h2 {
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
  line-height: 17px;
  margin: 0;
  padding: 0;
}

.ms-gc-category-teaser__content > p:not(.ms-gc-category-teaser__kicker) {
  display: none;
}

.ms-gc-category-teaser__price {
  color: #334155;
  display: none;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
}

.ms-gc-category-teaser__button {
  align-items: center;
  border-radius: 50%;
  display: flex;
  font-size: 0;
  height: 44px;
  justify-content: center;
  padding: 0;
  width: 44px;
}

.ms-gc-category-teaser__button::after {
  content: "\2192";
  font-size: 24px;
  line-height: 1;
}

.ms-gc-category-teaser:hover h2 {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 768px) and (max-width: 991px) {
  .ms-gc-category-teaser {
    gap: 14px;
    grid-template-columns: 104px minmax(0, 1fr) 44px;
    min-height: 124px;
    padding: 14px;
  }

  .ms-gc-category-teaser__image {
    height: 96px;
  }

  .ms-gc-category-teaser h2 {
    font-size: 18px;
    line-height: 22px;
  }
}

@media (min-width: 992px) {
  .ms-gc-category-teaser-mount {
    flex: 0 0 calc(50% - 12px);
    grid-column: span 2;
    margin: 0;
    min-height: 0;
    width: 100%;
  }

  .ms-gc-category-teaser {
    align-items: stretch;
    display: grid;
    flex: 1 1 auto;
    gap: 0;
    grid-template-columns: minmax(0, 52%) minmax(0, 48%);
    grid-template-rows: minmax(0, 1fr) auto;
    height: 100%;
    min-height: 100%;
    padding: 0;
  }

  .ms-gc-category-teaser__image {
    border-radius: 0;
    grid-column: 1;
    grid-row: 1 / 3;
    height: 100%;
  }

  .ms-gc-category-teaser__image img {
    filter: drop-shadow(0 7px 7px rgba(15, 23, 42, .22));
    object-fit: cover;
    transform: none;
  }

  .ms-gc-category-teaser__content {
    align-self: end;
    grid-column: 2;
    padding: 32px 32px 14px;
  }

  .ms-gc-category-teaser__kicker {
    display: block;
    font-size: 12px;
    line-height: 16px;
    margin-bottom: 8px;
  }

  .ms-gc-category-teaser h2 {
    font-size: 28px;
    line-height: 34px;
    margin-bottom: 10px;
  }

  .ms-gc-category-teaser__content > p:not(.ms-gc-category-teaser__kicker) {
    color: #334155;
    display: block;
    font-size: 15px;
    line-height: 22px;
    margin: 0 0 12px;
  }

  .ms-gc-category-teaser__price {
    display: inline-block;
    font-size: 16px;
    line-height: 22px;
  }

  .ms-gc-category-teaser__button {
    border-radius: 10px;
    font-size: 13px;
    grid-column: 2;
    height: auto;
    justify-self: stretch;
    margin: 0 32px 32px;
    min-height: 44px;
    padding: 13px 20px;
    width: auto;
  }

  .ms-gc-category-teaser__button::after {
    content: none;
  }
}
