/* Bellora category pills 1.1.0. Desktop template remains unchanged. */
@media (min-width: 1200px) {
  body.type-category #content .category-top > .bcn-generated,
  body.type-category #content .category-top > ul.subcategories > .bcn-all { display: none !important; }
}
@media (max-width: 1199px) {
  body.type-category #content .category-top > ul.subcategories {
    display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: stretch;
    gap: 8px; margin: 0; padding: 0 8px; list-style: none;
  }
  body.type-category #content .category-top > ul.subcategories > li {
    flex: 0 1 auto; float: none; width: auto; max-width: 100%; min-width: 0;
    margin: 0; padding: 0;
  }
  body.type-category #content .category-top > ul.subcategories > li > a {
    box-sizing: border-box; display: flex; align-items: center; justify-content: center;
    width: auto; min-height: 48px; height: 100%; padding: 10px 16px;
    border: 1px solid #ded8cf; border-radius: 999px;
    background: #f6f2eb; color: #183a4e;
    font-size: 16px; font-weight: 500; line-height: 22px;
    text-decoration: none; text-align: center; transition: none;
  }
  body.type-category #content .category-top > ul.subcategories > li > a::before,
  body.type-category #content .category-top > ul.subcategories > li > a::after,
  body.type-category #content .category-top > ul.subcategories > li > a > .image {
    display: none;
  }
  body.type-category #content .category-top > ul.subcategories > li > a > .text {
    display: block; flex: 0 1 auto; width: auto; min-width: 0;
    margin: 0; padding: 0; font: inherit; white-space: normal; overflow-wrap: anywhere;
  }
  body.type-category #content .category-top > ul.subcategories > li > a.bcn-current {
    background: #183a4e; border-color: #183a4e; color: #fff; font-weight: 700;
  }
  body.type-category #content .category-top > ul.subcategories > li > a:focus-visible {
    outline: 2px solid #183a4e; outline-offset: 3px;
  }
}
@media (max-width: 1199px) and (hover: hover) {
  body.type-category #content .category-top > ul.subcategories > li > a:hover {
    border-color: #b5823f; text-decoration: underline; text-underline-offset: 3px;
  }
}
