@media (min-width: 768px) {
  .category-page .product-filter,
  .eed-special-page .product-filter,
  .eed-search-page .product-filter {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    min-height: 42px;
    padding: 0 8px;
    overflow: visible;
    color: #333;
    background: #f4f4f4;
    box-shadow: none;
  }

  .category-page .product-filter .display a,
  .category-page .product-filter .product-compare a,
  .category-page .product-filter .sort > b,
  .category-page .product-filter .limit > b,
  .eed-special-page .product-filter .display a,
  .eed-special-page .product-filter .product-compare a,
  .eed-special-page .product-filter .sort > b,
  .eed-special-page .product-filter .limit > b {
    color: #333;
  }

  .eed-search-page .product-filter .display a,
  .eed-search-page .product-filter .product-compare a,
  .eed-search-page .product-filter .sort > b,
  .eed-search-page .product-filter .limit > b {
    color: #333;
  }

  .category-page .product-filter .eed-tag-chip {
    color: #263746;
    background: #fff;
    border-color: rgba(255, 255, 255, .72);
  }

  .category-page .product-filter .eed-tag-chip:hover,
  .category-page .product-filter .eed-tag-chip:focus,
  .category-page .product-filter .eed-tag-chip.active {
    color: #fff;
    background: #263746;
    border-color: #263746;
  }

  .category-page .product-filter > div,
  .eed-special-page .product-filter > div,
  .eed-search-page .product-filter > div {
    float: none;
  }

  .category-page .product-filter .display,
  .eed-special-page .product-filter .display,
  .eed-search-page .product-filter .display {
    order: 1;
    flex: 0 0 auto;
  }

  .category-page .product-filter .product-compare,
  .eed-special-page .product-filter .product-compare,
  .eed-search-page .product-filter .product-compare {
    order: 2;
    flex: 0 0 auto;
  }

  .category-page .product-filter .eed-tag-filter {
    order: 3;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    height: auto;
    min-height: 40px;
    margin: 0 8px;
    padding: 4px 0;
    overflow: visible;
    line-height: normal;
    background: transparent;
    border: 0;
  }

  .category-page .product-filter .sort,
  .eed-special-page .product-filter .sort,
  .eed-search-page .product-filter .sort {
    order: 4;
    flex: 0 0 auto;
    margin-left: auto;
  }

  .category-page .product-filter .limit,
  .eed-special-page .product-filter .limit,
  .eed-search-page .product-filter .limit {
    order: 5;
    flex: 0 0 auto;
    margin-right: 0;
  }

  .category-page .eed-tag-chip {
    min-height: 28px;
    padding: 4px 8px;
  }

  .category-page #column-left.side-column,
  .eed-special-page #column-left.side-column,
  .eed-search-page #column-left.side-column {
    position: -webkit-sticky;
    position: sticky;
    top: 8px;
    max-height: calc(100vh - 16px);
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-gutter: stable;
  }
}

.category-page .eed-product-tags,
.eed-special-page .eed-product-tags,
.eed-search-page .eed-product-tags {
  position: absolute;
  top: 12px;
  right: 7px;
  left: auto;
  z-index: 12;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  background: transparent;
}

.category-page .eed-product-tags span,
.eed-special-page .eed-product-tags span,
.eed-search-page .eed-product-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 19px;
  padding: 1px 6px;
  border: 1px solid #cfd7df;
  border-radius: 3px;
  color: #263746;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .16);
  font-size: 9px;
  font-weight: 700;
  line-height: 15px;
  letter-spacing: .15px;
  filter: none;
}

.category-page .eed-product-tags img,
.eed-special-page .eed-product-tags img,
.eed-search-page .eed-product-tags img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 50%;
}

.category-page .eed-product-tags .eed-product-tag:not(.eed-product-tag-halal),
.eed-special-page .eed-product-tags .eed-product-tag:not(.eed-product-tag-halal),
.eed-search-page .eed-product-tags .eed-product-tag:not(.eed-product-tag-halal) {
  width: 30px;
  height: 30px;
  min-height: 30px;
  padding: 0;
  overflow: hidden;
  border-color: rgba(52, 65, 78, .24);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .16);
}

.category-page .eed-product-tag-halal,
.eed-special-page .eed-product-tag-halal,
.eed-search-page .eed-product-tag-halal {
  color: #fff;
  background-color: #168447;
  border-color: #116c3a;
}

.category-page .eed-product-storage-tags,
.eed-special-page .eed-product-storage-tags,
.eed-search-page .eed-product-storage-tags {
  position: absolute;
  top: 12px;
  left: 7px;
  z-index: 12;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.category-page .eed-product-storage-tag,
.eed-special-page .eed-product-storage-tag,
.eed-search-page .eed-product-storage-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-height: 28px;
  padding: 0;
  border: 1px solid rgba(18, 126, 166, .55);
  border-radius: 50%;
  color: #fff;
  background: #57c5df;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
  font-size: 18px;
  font-weight: 700;
  line-height: 14px;
  letter-spacing: .15px;
  text-transform: uppercase;
}

.category-page .eed-product-storage-tag-frozen,
.eed-special-page .eed-product-storage-tag-frozen,
.eed-search-page .eed-product-storage-tag-frozen {
  border-color: rgba(18, 126, 166, .55);
  background: #57c5df;
}

/* Product detail and Quick Order use the same product image block. */
.product-page-content .product-info > .left > .image {
  position: relative;
}

.product-page-content .product-info > .left > .image .eed-product-tags {
  position: absolute;
  top: 12px;
  right: 8px;
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.product-page-content .product-info > .left > .image .eed-product-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 2px 7px;
  border: 1px solid #cfd7df;
  border-radius: 3px;
  color: #263746;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .16);
  font-size: 9px;
  font-weight: 700;
  line-height: 14px;
}

.product-page-content .product-info > .left > .image .eed-product-tags img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: 50%;
}

.product-page-content .product-info > .left > .image .eed-product-tags .eed-product-tag:not(.eed-product-tag-halal) {
  width: 32px;
  height: 32px;
  min-height: 32px;
  padding: 0;
  overflow: hidden;
  border-color: rgba(52, 65, 78, .24);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .16);
}

.product-page-content .product-info > .left > .image .eed-product-tag-halal {
  color: #fff;
  background: #168447;
  border-color: #116c3a;
}

.product-page-content .product-info > .left > .image .eed-product-storage-tags {
  position: absolute;
  top: 12px;
  left: 8px;
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.product-page-content .product-info > .left > .image .eed-product-storage-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  min-height: 30px;
  padding: 0;
  border: 1px solid rgba(18, 126, 166, .55);
  border-radius: 50%;
  color: #fff;
  background: #57c5df;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
  font-size: 19px;
  font-weight: 700;
  line-height: 15px;
  letter-spacing: .15px;
  text-transform: uppercase;
}

.product-page-content .product-info > .left > .image .eed-product-storage-tag-frozen {
  border-color: rgba(18, 126, 166, .55);
  background: #57c5df;
}

/* Compact country labels and clearer cold-storage badges on every product image. */
.product-grid-item .image,
.product-list-item .image,
.product-page-content .product-info > .left > .image,
.quickview .product-info > .left > .image {
  position: relative;
}

.image > .eed-product-tags {
  position: absolute;
  top: 9px;
  right: 7px;
  left: auto;
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}

.image > .eed-product-tags .eed-product-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 17px;
  padding: 1px 5px;
  border: 1px solid #d6dde4;
  border-radius: 3px;
  color: #263746;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .14);
  font-size: 8px;
  font-weight: 700;
  line-height: 13px;
  letter-spacing: 0;
}

.image > .eed-product-tags .eed-product-tag img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 50%;
}

.image > .eed-product-tags .eed-product-tag:not(.eed-product-tag-halal) {
  width: 30px;
  height: 30px;
  min-height: 30px;
  padding: 0;
  overflow: hidden;
  border-color: rgba(52, 65, 78, .24);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .16);
}

.image > .eed-product-tags .eed-product-tag-halal {
  color: #fff;
  background: #168447;
  border-color: #116c3a;
}

.image > .eed-product-storage-tags {
  position: absolute;
  top: 9px;
  left: 7px;
  right: auto;
  z-index: 16;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.image > .eed-product-storage-tags .eed-product-storage-tag {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-height: 28px;
  padding: 0;
  border: 1px solid rgba(18, 126, 166, .55);
  border-radius: 50%;
  color: #fff;
  background: #57c5df;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
  font-size: 18px;
  font-weight: 700;
  line-height: 15px;
  letter-spacing: .1px;
  text-transform: uppercase;
}

.image > .eed-product-storage-tags .eed-product-storage-tag-frozen {
  border-color: rgba(18, 126, 166, .55);
  background: #57c5df;
}

/* Journal's OFFER badge stays centred above the product image. */
.product-grid-item .image > .label-sale,
.product-list-item .image > .label-sale,
.product-page-content .product-info > .left > .image > .label-sale,
.quickview .product-info > .left > .image > .label-sale {
  right: auto !important;
  left: 50% !important;
  transform: translateX(-50%);
}

/* Keep product markers consistent in grids, lists, details and Quick Order. */
/* Compatibility for the older Journal flag markup already present on some stores. */
.eed-product-tags .eed-product-flag:not(.eed-product-flag-halal) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(52, 65, 78, .22) !important;
  border-radius: 50% !important;
  background: #fff !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .16) !important;
}

.eed-product-tags .eed-product-flag:not(.eed-product-flag-halal)::before {
  display: block !important;
  box-sizing: border-box !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  background-position: center !important;
  background-size: cover !important;
}

.category-page .image .eed-product-tags .eed-product-tag:not(.eed-product-tag-halal),
.eed-special-page .image .eed-product-tags .eed-product-tag:not(.eed-product-tag-halal),
.eed-search-page .image .eed-product-tags .eed-product-tag:not(.eed-product-tag-halal),
.product-grid-item .image .eed-product-tags .eed-product-tag:not(.eed-product-tag-halal),
.product-list-item .image .eed-product-tags .eed-product-tag:not(.eed-product-tag-halal),
.product-page-content .product-info > .left > .image .eed-product-tags .eed-product-tag:not(.eed-product-tag-halal),
.quickview .product-info > .left > .image .eed-product-tags .eed-product-tag:not(.eed-product-tag-halal) {
  width: 32px !important;
  height: 32px !important;
  min-height: 32px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(52, 65, 78, .22) !important;
  border-radius: 50% !important;
  background: #fff !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .16) !important;
}

.category-page .image .eed-product-tags img,
.eed-special-page .image .eed-product-tags img,
.eed-search-page .image .eed-product-tags img,
.product-grid-item .image .eed-product-tags img,
.product-list-item .image .eed-product-tags img,
.product-page-content .product-info > .left > .image .eed-product-tags img,
.quickview .product-info > .left > .image .eed-product-tags img {
  display: block !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}

.category-page .eed-product-storage-tag,
.eed-special-page .eed-product-storage-tag,
.eed-search-page .eed-product-storage-tag,
.product-grid-item .image .eed-product-storage-tag,
.product-list-item .image .eed-product-storage-tag,
.product-page-content .product-info > .left > .image .eed-product-storage-tag,
.quickview .product-info > .left > .image .eed-product-storage-tag {
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #168fc4 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-shadow: 0 1px 1px rgba(255, 255, 255, .9);
}

.product-page-content .product-info > .left > .image .eed-product-storage-tag,
.quickview .product-info > .left > .image .eed-product-storage-tag {
  font-size: 31px !important;
}

@media (max-width: 767px) {
  .category-page .product-filter,
  .category-page #column-left.side-column,
  .eed-special-page .product-filter,
  .eed-special-page #column-left.side-column,
  .eed-search-page .product-filter,
  .eed-search-page #column-left.side-column {
    position: relative;
    top: auto;
  }

  .category-page .product-filter .eed-tag-filter {
    float: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 6px 8px;
    overflow: visible;
    line-height: normal;
    background: #f4f6f8;
    border-top: 1px solid #d9dee5;
  }
}
