.ribbon-category-page,
.taxonomy-section {
  width: 100%;
}

.tax-banner-box.big-image .subtitle-desc ul {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

.tax-banner-box.big-image .subtitle-desc li {
  padding-left: 1.4rem;
  position: relative;
}

.tax-banner-box.big-image .subtitle-desc li::before {
  color: var(--bs-primary);
  content: '\2713';
  font-weight: 700;
  left: 0;
  position: absolute;
}

.tax-banner-box.big-image .subtitle-desc h2 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.ribbon-category-page {
  margin: 0 auto;
}

.ribbon-category-header {
  margin: 2rem auto 1rem;
  max-width: 1200px;
  padding: 0 1rem;
}

.ribbon-category-title {
  align-items: baseline;
  border-radius: 4px;
  color: #fff;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0.25rem 0.6rem;
}

.ribbon-category-title span {
  color: #fff;
}

.ribbon-category-title--general-purpose-wax {
  background-color: #5fae63;
}

.ribbon-category-title--resin-enhanced-wax {
  background-color: #147ac2;
}

.ribbon-category-title--wax-resin {
  background-color: #f5a142;
}

.ribbon-category-title--resin {
  background-color: #b879b8;
}

.ribbon-category-title--near-edge-tto {
  background-color: #c93a3a;
}

.ribbon-category-title--color-ribbon {
  background-color: #6c757d;
}

.ribbon-category-description {
  margin: 0 auto 2rem;
  max-width: 1200px;
  padding: 0 1rem;
}

.taxonomy-section {
  margin: 2rem auto;
  max-width: 1200px;
  padding: 0 1rem;
}

.taxonomy-section h2 {
  margin-bottom: 1rem;
}

.ribbon-term-links {
  list-style: none;
  margin: 0;
  padding-left: 1.25rem;
}

.ribbon-term-groups {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ribbon-term-group + .ribbon-term-group {
  margin-top: 0;
}

.ribbon-term-group h3 {
  margin-bottom: 0.75rem;
}

.ribbon-term-group {
  border-bottom: 1px solid #e1e6ea;
  padding: 1rem;
}

.ribbon-term-group:nth-child(odd) {
  border-right: 1px solid #e1e6ea;
}

.ribbon-term-group:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.ribbon-term-groups--single {
  grid-template-columns: 1fr;
}

.ribbon-term-groups--single .ribbon-term-group,
.ribbon-term-groups--single .ribbon-term-group:nth-child(odd) {
  border: 0;
}

.ribbon-term-group .ribbon-term-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.ribbon-term-group .ribbon-term-links li {
  position: relative;
  padding-left: 0.15rem;
}

.ribbon-term-group .ribbon-term-links li::before {
  background-color: #e5f6fc;
  border: 2px solid #79c5e7;
  border-radius: 2px;
  content: '';
  height: 8px;
  left: -1.05rem;
  position: absolute;
  top: 0.65rem;
  transform: rotate(45deg);
  width: 8px;
}

.ribbon-term-link {
  align-items: baseline;
  border: 0;
  border-radius: 4px;
  display: inline-flex;
  flex-direction: row;
  font-size: calc(100% - 2pt);
  gap: 0.35rem;
  max-width: 100%;
  padding: 0.2rem 0.5rem;
  text-decoration: none;
  width: fit-content;
}

.ribbon-term-link strong {
  color: #fff;
  font-size: inherit;
}

.ribbon-term-link span {
  color: #fff;
  margin-top: 0;
}

.ribbon-term-link:hover,
.ribbon-term-link:focus-visible {
  color: #fff;
  filter: brightness(0.9);
  text-decoration: none;
}

.ribbon-term-link--general-purpose-wax {
  --ribbon-formulation-color: #5fae63;
  background-color: var(--ribbon-formulation-color);
}

.ribbon-term-link--resin-enhanced-wax {
  --ribbon-formulation-color: #147ac2;
  background-color: var(--ribbon-formulation-color);
}

.ribbon-term-link--wax-resin {
  --ribbon-formulation-color: #f5a142;
  background-color: var(--ribbon-formulation-color);
}

.ribbon-term-link--resin {
  --ribbon-formulation-color: #b879b8;
  background-color: var(--ribbon-formulation-color);
}

.ribbon-term-link--near-edge-tto {
  --ribbon-formulation-color: #c93a3a;
  background-color: var(--ribbon-formulation-color);
}

.ribbon-term-link--color-ribbon {
  --ribbon-formulation-color: #6c757d;
  background-color: var(--ribbon-formulation-color);
}

.view-ribbon-formulations .view-content {
  display: grid;
  gap: 0.35rem 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 1rem;
}

.view-ribbon-formulations .view-content > h3 {
  grid-column: 1 / -1;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e1e6ea;
  padding-bottom: 0.35rem;
}

.view-ribbon-formulations .views-row {
  margin-bottom: 0.45rem;
  padding-left: 1.25rem;
  position: relative;
}

.view-ribbon-formulations .views-row::before {
  color: #333;
  content: '\2022';
  font-size: 1.1rem;
  left: 0.25rem;
  position: absolute;
  top: 0;
}

.view-ribbon-formulations .ribbon-formulations__child {
  border-radius: 4px;
  color: #fff;
  display: inline-block;
  padding: 0.2rem 0.5rem;
}

.view-ribbon-formulations .views-field-field-wolf-ink,
.view-ribbon-formulations .views-field-name {
  display: inline;
}

.view-ribbon-formulations .ribbon-formulations__wolf-ink {
  border-radius: 4px 0 0 4px;
  padding-right: 0.2rem;
}

.view-ribbon-formulations .views-field-name .ribbon-formulations__child {
  border-radius: 0 4px 4px 0;
  padding-left: 0.2rem;
}

.view-ribbon-formulations .ribbon-formulations__child a,
.view-ribbon-formulations .ribbon-formulations__child a:hover,
.view-ribbon-formulations .ribbon-formulations__child a:focus-visible {
  color: #fff;
  text-decoration: none;
}

.view-ribbon-formulations .views-row--general-purpose-wax .ribbon-formulations__child {
  background-color: #5fae63;
}

.view-ribbon-formulations .views-row--resin-enhanced-wax .ribbon-formulations__child {
  background-color: #147ac2;
}

.view-ribbon-formulations .views-row--wax-resin .ribbon-formulations__child {
  background-color: #f5a142;
}

.view-ribbon-formulations .views-row--resin .ribbon-formulations__child {
  background-color: #b879b8;
}

.view-ribbon-formulations .views-row--near-edge-tto .ribbon-formulations__child {
  background-color: #c93a3a;
}

@media (max-width: 767px) {
  .view-ribbon-formulations .view-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .view-ribbon-formulations .view-content > h3 {
    grid-column: 1;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .view-ribbon-formulations .view-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.taxonomy-slider {
  align-items: center;
  display: flex;
  gap: 0.5rem;
}

.taxonomy-slider__viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.taxonomy-slider__track {
  display: flex;
}

.taxonomy-slider__slide {
  flex: 0 0 25%;
  min-width: 0;
  padding: 0 0.5rem;
}

.taxonomy-slider__slide > * {
  height: 100%;
}

.taxonomy-slider__button {
  align-items: center;
  background: #fff;
  border: 1px solid #c8ced4;
  border-radius: 50%;
  color: #27313a;
  display: inline-flex;
  flex: 0 0 2.25rem;
  font-size: 1.8rem;
  height: 2.25rem;
  justify-content: center;
  line-height: 1;
  padding: 0;
  width: 2.25rem;
}

.taxonomy-slider__button:hover,
.taxonomy-slider__button:focus-visible {
  background: #f1f3f5;
}

.ribbon-product-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ribbon-product-grid__item {
  min-width: 0;
}

.ribbon-category-characteristic img {
  display: block;
  height: auto;
  max-width: 100%;
}

.ribbon-category-certificates .certificate-item {
  text-align: center;
}

.ribbon-category-certificates .certificate-item__image img {
  display: block;
  margin: 0 auto;
}

.ribbon-category-certificates .certificate-item__name {
  color: #333;
  font-size: 0.875rem;
  margin-top: 0.35rem;
}

@media (max-width: 767px) {
  .ribbon-term-groups {
    grid-template-columns: 1fr;
  }

  .ribbon-term-group,
  .ribbon-term-group:nth-child(odd) {
    border-bottom: 1px solid #e1e6ea;
    border-right: 0;
  }

  .ribbon-term-group:last-child {
    border-bottom: 0;
  }

  .taxonomy-slider__slide {
    flex-basis: 80%;
  }

  .ribbon-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
