/* DealsKaart: keep prices on cards, remove the feed's secondary count line. */
#deals #resultCount { display: none !important; }

/* DealsKaart: compact Instagram follow prompt, not a modal. */
#dkred-ig-pop {
  width: min(328px, calc(100vw - 32px - env(safe-area-inset-right) - env(safe-area-inset-left)));
  align-items: center;
  gap: 5px;
  padding: 7px;
  border: 1px solid #ebc4d2;
  border-radius: 17px;
  background: linear-gradient(128deg, #fff 24%, #fff4f8 100%);
  box-shadow: 0 12px 34px rgba(75, 22, 53, .22);
}
#dkred-ig-pop > a {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 48px;
  padding: 3px 2px 3px 3px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 7px;
  text-decoration: none;
}
#dkred-ig-pop > a:hover { text-decoration: none; }
#dkred-ig-pop > a > svg {
  width: 36px;
  height: 36px;
  padding: 6px;
  border-radius: 11px;
  background: linear-gradient(145deg, #6c36ac, #ad195d 60%, #c74822);
}
#dkred-ig-pop > a > span { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
#dkred-ig-pop > a > span > small {
  order: -1;
  margin: 0;
  color: #351928;
  font-weight: 750;
  font-size: 14px;
  overflow-wrap: anywhere;
}
#dkred-ig-pop > a > span > strong {
  color: #6b4c5b;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.25;
}
#dkred-ig-pop > a > .dk-ui-follow {
  display: grid;
  place-items: center;
  min-height: 34px;
  padding: 0 9px;
  border-radius: 9px;
  background: linear-gradient(145deg, #7a3195, #a51e59);
  color: #fff;
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
}
#dkred-ig-pop > a:hover > .dk-ui-follow { background: #7f214b; }
#dkred-ig-pop > button {
  flex: 0 0 40px;
  min-width: 40px;
  min-height: 44px;
  background: transparent;
  border-radius: 10px;
  color: #6b4c5b;
}
#dkred-ig-pop > button:hover { background: #f4e4eb; }
@media (max-width: 355px) {
  #dkred-ig-pop { gap: 3px; padding: 5px; }
  #dkred-ig-pop > a { gap: 5px; grid-template-columns: 32px minmax(0, 1fr) auto; }
  #dkred-ig-pop > a > svg { width: 32px; height: 32px; }
  #dkred-ig-pop > a > .dk-ui-follow { padding-inline: 6px; }
}

body header.dkred-fixed-header a.dk-ui-community,
body a.dk-ui-community {
  max-width: 100%;
  min-width: 0;
  white-space: normal;
  text-align: center;
  line-height: 1.2;
}
@media (max-width: 600px) {
  body header.dkred-fixed-header a.dk-ui-community {
    font-size: clamp(10px, 3vw, 12px);
    padding-inline: 6px;
  }
}

/* Tighten only the category-to-deals transition; the hero and banners are unchanged. */
main.dk-ui-home-compact > #categories { margin-block-end: 10px; }
main.dk-ui-home-compact > #categories .smallTitle { position: relative; padding-inline-end: 106px; }
main.dk-ui-home-compact > #categories .categoryRail { margin-block-start: 6px; }
main.dk-ui-home-compact > #categories .categoryTrack .catRow { padding-block: 5px; }
main.dk-ui-home-compact > #deals { padding-block-start: 11px; }
main.dk-ui-home-compact > #deals .sectionTop { margin-block-end: 10px; }
#categories .dk-ui-deals-jump {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-sizing: border-box;
  position: absolute;
  inset-inline-end: 0;
  bottom: 0;
  min-height: 36px;
  padding-inline: 8px;
  font-size: 12px;
  font-weight: 750;
  color: #8f252b;
  border: 1px solid #edcec6;
  border-radius: 10px;
  background: #fff7f2;
  white-space: nowrap;
  text-decoration: none;
}
#categories .dk-ui-deals-jump:hover { background: #ffe9db; }
#categories .dk-ui-deals-jump:focus-visible { outline: 2px solid #8f252b; outline-offset: 2px; }
