/*---P-EX - Product Category Landing Template---*/
#top.archive #breadcrumbs,
#top.tax-product_cat #breadcrumbs {
  display: none;
}
#top.tax-product_cat .woocommerce-products-header {
  margin-bottom: 0;
}

/* Hero */
#top .fe-cat-hero {
  position: relative;
  margin: 0 0 30px;
}

#top .fe-cat-hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 42%);
  gap: 30px;
  align-items: stretch;
  background: var(--default);
  border-radius: 5px;
  overflow: hidden;
}


#top .fe-cat-hero .eyebrow,
#top .fe-cat-faq .eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 12px;
  background: rgba(230,0,30,.1);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .04em;
  border-radius: 5px;
}

#top .fe-cat-hero h1 {
  margin: 0 0 15px;
  color: var(--black);
}

#top .fe-cat-hero-subline {
  max-width: 760px;
  margin: 0 0 20px;
  font-size: 18px;
  line-height: 28px;
}

#top .fe-cat-hero-buttons .button-flyer {
  display: inline-block;
  margin: 0px 10px 0 0;
  padding: 0;
}

#top .fe-cat-hero-image {
  min-height: 330px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

#top .fe-cat-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.05) 0%,
    rgba(0,0,0,.15) 60%,
    rgba(0,0,0,.35) 100%
  );
}

/* USP */
#top .fe-cat-usps {
  margin: 0 0 30px;
}

#top .fe-cat-usps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

#top .fe-cat-usps-grid.count-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#top .fe-cat-usps-grid.count-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

#top .fe-cat-usp-item {
  display: flex;
  gap: 12px;
  padding: 18px;
  background: var(--white);
  border: 1px solid #ebebeb;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.15);
}

#top .fe-cat-usp-icon {
  position: relative;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  background: var(--lightgrey);
  border-radius: 100%;
}

#top .fe-cat-usp-icon::after {
  content: var(--fe-cat-icon);
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  position: absolute;
  inset: 0;
  font-family: "Font Awesome 5 Free", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--primary);
}

#top .fe-cat-usp-text strong {
  display: block;
  margin-bottom: 3px;
  color: var(--black) !important;
  font-size: 15px;
  line-height: 20px;
  font-weight: 700 !important;
}

#top .fe-cat-usp-text span {
  display: block;
  color: var(--black);
  font-size: 14px;
  line-height: 20px;
}

/* Orientation */
#top .fe-cat-orientation {
  margin: 0 0 30px;
  padding: 25px;
  background: var(--white);
  border-left: 5px solid var(--primary);
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.15);
}

#top .fe-cat-orientation h2 {
  margin: 0 0 10px;
}

#top .fe-cat-orientation-text p:last-child {
  margin-bottom: 0;
}

/* Product Intro */
#top .fe-cat-product-intro {
  margin: 0 0 20px;
  padding: 15px 20px;
  background: var(--lightgrey);
  border-radius: 5px;
}

#top .fe-cat-product-intro p {
  margin: 0;
}

/* Advice */
#top .fe-cat-advice-box {
  margin: 35px 0;
  padding: 25px;
  background: var(--secondary);
  color: var(--white);
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.15);
  contain: content;
}

#top .fe-cat-advice-box strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white) !important;
  font-size: 20px;
  line-height: 26px;
  font-weight: 700 !important;
}

#top .fe-cat-advice-box p {
  max-width: 820px;
  margin: 0 0 10px;
  color: var(--white);
}

#top .fe-cat-advice-box .button-flyer {
  text-align: left;
}

/* FAQ */
#top .fe-cat-faq {
  margin: 35px 0;
}

#top .fe-cat-faq .section-intro {
  max-width: 860px;
  margin-bottom: 20px;
}

#top .fe-cat-faq-list {
  border-top: 1px solid #ebebeb;
}

#top .fe-cat-faq-item {
  border-bottom: 1px solid #ebebeb;
  background: var(--white);
}

#top .fe-cat-faq-item summary {
  position: relative;
  cursor: pointer;
  padding: 15px 45px 15px 15px;
  color: var(--black);
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  list-style: none;
}

#top .fe-cat-faq-item summary::-webkit-details-marker {
  display: none;
}

#top .fe-cat-faq-item summary::after {
  content: "\f067";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Font Awesome 5 Free", sans-serif;
  font-weight: 600;
  color: var(--primary);
}

#top .fe-cat-faq-item[open] summary {
  color: var(--primary);
}

#top .fe-cat-faq-item[open] summary::after {
  content: "\f068";
}

#top .fe-cat-faq-answer {
  padding: 0 15px 15px;
}

#top .fe-cat-faq-answer p:last-child {
  margin-bottom: 0;
}

/* SEO */
#top .fe-cat-seo {
  margin: 35px 0 0;
}

/*Product Filter Woocommerce*/
#top.archive .product-sorting.avia-product-sorting {
  display: none !important;
}
/* Product Grid leichte Aufwertung */
#top.tax-product_cat .products .product {
  border: 1px solid #ebebeb;
  background: var(--white);
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.15);
  transition: all .3s cubic-bezier(.25,.8,.25,1);
}

#top.tax-product_cat .products .product:hover,
#top.tax-product_cat .products .product:focus {
  border-color: var(--primary);
  box-shadow: 0 4px 18px rgba(0,0,0,.07), 0 10px 10px rgba(0,0,0,.09);
}

#top.tax-product_cat .products .product .inner_product {
  border: 0 !important;
  box-shadow: none !important;
}

/*---P-EX - Product Category Filter---*/

#top .fe-cat-filter {
  margin: 0 0 25px;
  padding: 20px;
  background: var(--white);
  border: 1px solid #ebebeb;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.15);
}

#top .fe-cat-filter-form {
  margin: 0;
}

#top .fe-cat-filter-head {
  margin-bottom: 15px;
}

#top .fe-cat-filter-head .eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  padding: 5px 10px;
  background: rgba(230,0,30,.1);
  color: var(--primary);
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 5px;
}

#top .fe-cat-filter-head strong {
  display: block;
  color: var(--black) !important;
  font-size: 18px;
  line-height: 24px;
  font-weight: 700 !important;
}

#top .fe-cat-filter-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  align-items: end;
}

#top .fe-cat-filter-field label {
  display: block;
  margin: 0 0 5px;
  color: var(--black);
  font-size: 14px;
  line-height: 20px;
  font-weight: 700 !important;
}

#top .fe-cat-filter-field select {
  width: 100%;
  height: 38px;
  margin: 0;
  padding: 7px 10px;
  border: 1px solid #DBD9D9 !important;
  border-radius: 5px !important;
  background-color: var(--white);
  color: var(--black);
  font-family: 'EuclidFA', Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 20px;
}

#top .fe-cat-filter-field select:focus {
  border-color: var(--primary) !important;
  box-shadow: none;
}

#top .fe-cat-filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

#top .fe-cat-filter-actions button {
  height: 38px;
  margin: 0;
  padding: 8px 18px;
  border: 1px solid var(--primary);
  border-radius: 5px;
  background: var(--primary);
  color: var(--white);
  font-family: 'EuclidFA', Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  cursor: pointer;
}

#top .fe-cat-filter-actions button:hover,
#top .fe-cat-filter-actions button:focus {
  background: var(--primary2);
  border-color: var(--primary2);
}

#top .fe-cat-filter-reset {
  color: var(--primary);
  font-size: 13px;
  line-height: 18px;
  text-decoration: underline;
  text-underline-position: under;
}

#top .fe-cat-filter-reset:hover,
#top .fe-cat-filter-reset:focus {
  color: var(--primary2);
}

/* Aktive Filter optional sichtbar machen */
#top .fe-cat-filter-active {
  margin-top: 12px;
  font-size: 13px;
  line-height: 18px;
  color: var(--darkgrey);
}


/* Responsive */
@media only screen and (max-width: 989px) {
  #top .fe-cat-hero-content {
    grid-template-columns: 1fr;
  }

  #top .fe-cat-hero-image {
    min-height: 260px;
    order: -1;
  }

  #top .fe-cat-usps-grid,
  #top .fe-cat-usps-grid.count-3,
  #top .fe-cat-usps-grid.count-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #top .fe-cat-filter-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media only screen and (max-width: 767px) {

  #top .fe-cat-hero-subline {
    font-size: 15px;
    line-height: 23px;
  }

  #top .fe-cat-hero-buttons .button-flyer {
    display: block;
    margin: 0px 0 10px;
    text-align: left;
  }

  #top .fe-cat-usps-grid,
  #top .fe-cat-usps-grid.count-3,
  #top .fe-cat-usps-grid.count-5 {
    grid-template-columns: 1fr;
  }

  #top .fe-cat-orientation,
  #top .fe-cat-advice-box {
    padding: 20px;
  }
  
  #top .fe-cat-filter {
    padding: 15px;
  }

  #top .fe-cat-filter-fields {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  #top .fe-cat-filter-actions {
    display: block;
  }

  #top .fe-cat-filter-actions button {
    width: 100%;
  }

  #top .fe-cat-filter-reset {
    display: inline-block;
    margin-top: 10px;
  }
}