/* Shop (870) and Jewellery (873) are presentation categories.
   Suppress only their filter/sort UI containers; keep banners and scripts intact. */
body:is(.id-870,.id-873) .category-content-wrapper > .gb-shop-toolbar,
body:is(.id-870,.id-873) .category-content-wrapper > #gb-catalogue-panel,
body:is(.id-870,.id-873) .category-content-wrapper > #category-header,
body:is(.id-870,.id-873) .category-content-wrapper > #filters-wrapper,
body:is(.id-870,.id-873) > .gb-filter-drawer,
body:is(.id-870,.id-873) > .gb-filter-overlay {
  display: none !important;
}

/* Shop alone: its category-top banners are outside the product wrapper. */
body.id-870 .category-content-wrapper {
  display: none !important;
}
body.id-870 .category-top {
  margin-bottom: 0 !important;
}

/* Jewellery (873) only: taller existing Slovak image cards. */
body.id-873.in-sperky .gb-jewellery-grid .gb-jewellery-card,
body.id-873.in-sperky .gb-jewellery-grid .gb-jewellery-card__image {
  height: 260px !important;
}

/* Foreign Jewellery: restyle Shoptet's existing four links; keep their text and URLs. */
html:is([lang="cs"],[lang="de"],[lang="en"]) body.id-873 .category-top > ul.subcategories.with-image:not([hidden]) {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  max-width: 1320px !important;
  margin: -34px auto 50px !important;
  padding: 10px !important;
  gap: 10px !important;
  background: #fffdf9 !important;
  border: 1px solid #e2d4c4 !important;
  box-shadow: 0 8px 20px rgba(57, 39, 28, .12) !important;
  position: relative !important;
  z-index: 2 !important;
}
html:is([lang="cs"],[lang="de"],[lang="en"]) body.id-873 .category-top > ul.subcategories.with-image > li {
  min-width: 0 !important;
  width: auto !important;
  max-width: none !important;
  float: none !important;
  padding: 0 !important;
  flex: none !important;
}
html:is([lang="cs"],[lang="de"],[lang="en"]) body.id-873 .category-top > ul.subcategories.with-image > li > a {
  display: block !important;
  position: relative !important;
  height: 260px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid #eee4d9 !important;
  background: #f2ebe2 !important;
}
html:is([lang="cs"],[lang="de"],[lang="en"]) body.id-873 .category-top > ul.subcategories.with-image > li > a > .image {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}
html:is([lang="cs"],[lang="de"],[lang="en"]) body.id-873 .category-top > ul.subcategories.with-image > li > a > .image > img {
  opacity: 0 !important;
}
html:is([lang="cs"],[lang="de"],[lang="en"]) body.id-873 .category-top > ul.subcategories.with-image > li > a > .text {
  display: block !important;
  position: absolute !important;
  inset: 0 0 auto 0 !important;
  z-index: 1 !important;
  width: auto !important;
  padding: 12px 9px 13px !important;
  background: linear-gradient(rgba(255,253,249,.98),rgba(255,253,249,.78)) !important;
  color: #39281d !important;
  text-align: center !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(16px, 1.45vw, 22px) !important;
  font-weight: 400 !important;
  line-height: 1.05 !important;
  white-space: normal !important;
}
html:is([lang="cs"],[lang="de"],[lang="en"]) body.id-873 .category-top > ul.subcategories.with-image > li > a > .text::after {
  content: "" !important;
  display: block !important;
  width: 25px !important;
  height: 1px !important;
  margin: 8px auto 0 !important;
  background: #b18d53 !important;
}
html:is([lang="cs"],[lang="de"],[lang="en"]) body.id-873 .category-top > ul.subcategories.with-image > li > a[href$="/sperky-nahrdelniky/"] > .image {
  background-image: url("https://cdn.myshoptet.com/usr/www.gabrielabloom.com/user/documents/upload/NAHRDELNIKY.png") !important;
  background-position: 78% 50% !important;
}
html:is([lang="cs"],[lang="de"],[lang="en"]) body.id-873 .category-top > ul.subcategories.with-image > li > a[href$="/nausnice-2/"] > .image {
  background-image: url("https://cdn.myshoptet.com/usr/www.gabrielabloom.com/user/documents/upload/NAUSNICE.png") !important;
  background-position: 73% 50% !important;
}
html:is([lang="cs"],[lang="de"],[lang="en"]) body.id-873 .category-top > ul.subcategories.with-image > li > a[href$="/naramky/"] > .image {
  background-image: url("https://cdn.myshoptet.com/usr/www.gabrielabloom.com/user/documents/upload/NARAMKY.png") !important;
  background-position: 74% 50% !important;
}
html:is([lang="cs"],[lang="de"],[lang="en"]) body.id-873 .category-top > ul.subcategories.with-image > li > a[href$="/prstene/"] > .image {
  background-image: url("https://cdn.myshoptet.com/usr/www.gabrielabloom.com/user/documents/upload/PRSTENE.png") !important;
  background-position: 80% 50% !important;
}
/* Keep products in the catalogue; only hide their listing on Jewellery. */
html:is([lang="sk"],[lang="cs"],[lang="de"],[lang="en"]) body.id-873 .category-content-wrapper {
  display: none !important;
}

@media (max-width: 767px) {
  body.id-873.in-sperky .gb-jewellery-grid .gb-jewellery-card,
  body.id-873.in-sperky .gb-jewellery-grid .gb-jewellery-card__image {
    height: 205px !important;
  }
  html:is([lang="cs"],[lang="de"],[lang="en"]) body.id-873 .category-top > ul.subcategories.with-image:not([hidden]) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    margin: -14px 12px 34px !important;
    padding: 6px !important;
    gap: 6px !important;
  }
  html:is([lang="cs"],[lang="de"],[lang="en"]) body.id-873 .category-top > ul.subcategories.with-image > li > a {
    height: 205px !important;
  }
  html:is([lang="cs"],[lang="de"],[lang="en"]) body.id-873 .category-top > ul.subcategories.with-image > li > a > .text {
    padding: 7px 2px 8px !important;
    font-size: 14px !important;
  }
}

/* Jewellery presentation tiles: a separate, naturally growing title strip on desktop only. */
@media (min-width: 768px) {
  body.id-873.in-sperky .gb-jewellery-grid .gb-jewellery-card,
  body.id-873.in-sperky .gb-jewellery-grid .gb-jewellery-card__image,
  html:is([lang="cs"],[lang="de"],[lang="en"]) body.id-873 .category-top > ul.subcategories.with-image > li > a {
    height: 390px !important;
  }

  body.id-873.in-sperky .gb-jewellery-grid .gb-jewellery-card__image,
  html:is([lang="cs"],[lang="de"],[lang="en"]) body.id-873 .category-top > ul.subcategories.with-image > li > a {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  body.id-873.in-sperky .gb-jewellery-grid .gb-jewellery-card__image {
    aspect-ratio: auto !important;
  }

  body.id-873.in-sperky .gb-jewellery-grid .gb-jewellery-card__label,
  html:is([lang="cs"],[lang="de"],[lang="en"]) body.id-873 .category-top > ul.subcategories.with-image > li > a > .text {
    position: static !important;
    inset: auto !important;
    order: -1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    min-height: 82px !important;
    box-sizing: border-box !important;
    padding: 12px 14px !important;
    background: #fffdf9 !important;
    border-bottom: 1px solid #e7dbcb !important;
    line-height: 1.16 !important;
    white-space: normal !important;
  }

  html:is([lang="cs"],[lang="de"],[lang="en"]) body.id-873 .category-top > ul.subcategories.with-image > li > a > .text {
    max-height: none !important;
    overflow: visible !important;
    overflow-wrap: anywhere !important;
    text-overflow: clip !important;
  }

  body.id-873.in-sperky .gb-jewellery-grid .gb-jewellery-card__image > img,
  html:is([lang="cs"],[lang="de"],[lang="en"]) body.id-873 .category-top > ul.subcategories.with-image > li > a > .image {
    flex: 1 1 0% !important;
    min-height: 0 !important;
    height: auto !important;
  }

  html:is([lang="cs"],[lang="de"],[lang="en"]) body.id-873 .category-top > ul.subcategories.with-image > li > a > .image {
    position: relative !important;
    inset: auto !important;
    overflow: hidden !important;
  }

  html:is([lang="cs"],[lang="de"],[lang="en"]) body.id-873 .category-top > ul.subcategories.with-image > li > a > .text::after {
    display: block !important;
    flex: 0 0 1px !important;
    margin: 8px auto 0 !important;
  }

  html:is([lang="cs"],[lang="de"],[lang="en"]) body.id-873 .category-top > ul.subcategories.with-image > li > a > .image::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: inherit;
    background-position: inherit;
    background-size: inherit;
    background-repeat: inherit;
    transition: transform .35s ease;
  }

  html:is([lang="cs"],[lang="de"],[lang="en"]) body.id-873 .category-top > ul.subcategories.with-image > li > a:focus-visible > .image::after {
    transform: scale(1.03);
  }
}

@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  html:is([lang="cs"],[lang="de"],[lang="en"]) body.id-873 .category-top > ul.subcategories.with-image > li > a:hover > .image::after {
    transform: scale(1.03);
  }
}
