/* FOTO SCHNEIDER – Katalogpreise: Start */
.product .meta-wrapper > .price:is(.fs-catalog-price, .fs-catalog-price-reveal) {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}
.fs-catalog-price::before {
  content: none !important;
}
.product .meta-wrapper > .price:is(.fs-catalog-price, .fs-catalog-price-reveal) > del {
  display: block !important;
  margin: 0 0 4px;
  color: #626262;
  opacity: 1;
  font-size: 0.9em;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: line-through;
}
.fs-catalog-price > ins {
  text-decoration: none;
}
.product .meta-wrapper > .price:is(.fs-catalog-price, .fs-catalog-price-reveal) .fs-catalog-price-current {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 6px;
  background-color: #c80000;
  color: #fff !important;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}
.product .meta-wrapper > .price:is(.fs-catalog-price, .fs-catalog-price-reveal) .fs-catalog-price-current :is(bdi, .woocommerce-Price-currencySymbol) {
  color: #fff !important;
}
.fs-catalog-price-caption {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
/* FOTO SCHNEIDER – Katalogpreise: Ende */

/* FOTO SCHNEIDER – Fujifilm-Kacheltest: Start */
.fs-fuji-detail, .fs-fuji-summary, .fs-fuji-card .loop-add-to-cart > a > svg { display: none; }
body.term-fujifilm-kameras #primary .products:not(.list) > .fs-fuji-card > .product-wrapper {
  margin: 0; padding: 8px; border: 1px solid #e3e0de; border-radius: 16px;
  background: #fff; box-shadow: 0 4px 13px rgba(38, 33, 33, 0.05);
}
body.term-fujifilm-kameras #primary .products:not(.list) > .fs-fuji-card .thumbnail-wrapper { background: #f4f3f2; border-radius: 10px; }
body.term-fujifilm-kameras #primary .products:not(.list) > .fs-fuji-card .thumbnail-wrapper img { mix-blend-mode: multiply; }
body.term-fujifilm-kameras #primary .products:not(.list) > .fs-fuji-card .product-wrapper > .product-group-button { display: none !important; }
body.term-fujifilm-kameras #primary .products:not(.list) > .fs-fuji-card .meta-wrapper {
  display: grid !important; grid-template-columns: minmax(0, 2fr) minmax(44px, 1fr);
  gap: 7px 0; align-items: start; padding: 10px 0 0 !important;
}
body.term-fujifilm-kameras #primary .products:not(.list) > .fs-fuji-card .meta-wrapper > * { grid-column: 1 / -1; min-width: 0; }
body.term-fujifilm-kameras #primary .products:not(.list) > .fs-fuji-card h3.product-name {
  margin: 0 !important; min-height: 2.6em; font-size: 14px; line-height: 1.3; text-align: left;
}
body.term-fujifilm-kameras #primary .products:not(.list) > .fs-fuji-card .meta-wrapper > .price, body.term-fujifilm-kameras #primary .products:not(.list) > .fs-fuji-card .fs-fuji-summary {
  width: 100%; min-width: 0; margin: 0 !important; padding: 6px;
  border: 1px solid #e6dfdc; border-top: 3px solid #c80000; border-radius: 9px; background: #fbf9f8;
}
body.term-fujifilm-kameras #primary .products:not(.list) > .fs-fuji-card .meta-wrapper > .price.fs-fuji-has-summary { display: none !important; }
body.term-fujifilm-kameras #primary .products:not(.list) > .fs-fuji-card .fs-fuji-summary { display: block; }
body.term-fujifilm-kameras #primary .products:not(.list) > .fs-fuji-card .fs-fuji-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 3px; padding: 4px 0;
  border-bottom: 1px solid #e7dfdc; color: #332c2a; font-size: 11px; line-height: 1.3; text-align: left;
}
body.term-fujifilm-kameras #primary .products:not(.list) > .fs-fuji-card .fs-fuji-row > :last-child { white-space: nowrap; }
body.term-fujifilm-kameras #primary .products:not(.list) > .fs-fuji-card .fs-fuji-old del { opacity: 1; color: #635959; text-decoration: line-through; }
body.term-fujifilm-kameras #primary .products:not(.list) > .fs-fuji-card .fs-fuji-saving > :last-child { color: #a60000; font-weight: 650; }
body.term-fujifilm-kameras #primary .products:not(.list) > .fs-fuji-card .fs-fuji-final { flex-direction: column; gap: 2px; border: 0; padding-bottom: 1px; font-weight: 700; }
body.term-fujifilm-kameras #primary .products:not(.list) > .fs-fuji-card .fs-fuji-final > :last-child { color: #b80000; font-size: 18px; }
body.term-fujifilm-kameras #primary .products:not(.list) > .fs-fuji-card .fs-fuji-detail, body.term-fujifilm-kameras #primary .products:not(.list) > .fs-fuji-has-cart .product-group-button-meta a.ajax_add_to_cart {
  display: grid !important; place-items: center; min-width: 0; min-height: 44px;
  margin: 0 !important; padding: 3px !important; border: 1px solid #d8d2ce !important; border-radius: 8px;
  background: #fff !important; color: #262121 !important; font-size: 12px; font-weight: 650;
  line-height: 1.2; text-align: center; text-decoration: none;
}
body.term-fujifilm-kameras #primary .products:not(.list) > .fs-fuji-card:not(.fs-fuji-has-cart) .meta-wrapper > .product-group-button-meta { display: none !important; }
body.term-fujifilm-kameras #primary .products:not(.list) > .fs-fuji-has-cart .fs-fuji-detail { grid-column: 1; border-radius: 8px 0 0 8px; }
body.term-fujifilm-kameras #primary .products:not(.list) > .fs-fuji-has-cart .meta-wrapper > .product-group-button-meta { display: block !important; grid-column: 2; margin: 0 !important; }
body.term-fujifilm-kameras #primary .products:not(.list) > .fs-fuji-has-cart .product-group-button-meta .loop-add-to-cart { display: block !important; margin: 0 !important; }
body.term-fujifilm-kameras #primary .products:not(.list) > .fs-fuji-has-cart .product-group-button-meta a.ajax_add_to_cart {
  width: 100%; border-left: 0 !important; border-radius: 0 8px 8px 0;
  background: #fbf4f3 !important; color: #b80000 !important; font-size: 0;
}
body.term-fujifilm-kameras #primary .products:not(.list) > .fs-fuji-has-cart .product-group-button-meta a.ajax_add_to_cart::before,
body.term-fujifilm-kameras #primary .products:not(.list) > .fs-fuji-has-cart .product-group-button-meta a.ajax_add_to_cart > .ts-tooltip { display: none !important; }
body.term-fujifilm-kameras #primary .products:not(.list) > .fs-fuji-has-cart .product-group-button-meta a.ajax_add_to_cart > svg { display: block; width: 19px; height: 19px; }
/* FOTO SCHNEIDER – Fujifilm-Kacheltest: Ende */

/* FOTO SCHNEIDER – Fujifilm-Kacheltest: Layout */
body.term-fujifilm-kameras #primary .products:not(.list):has(> .fs-fuji-card) {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr));
  gap: 16px;
  margin-inline: 0;
  align-items: stretch;
  &::before, &::after { content: none; }
  & > .fs-fuji-card {
    display: flex;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
  }
  & > .fs-fuji-card > .product-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 10px;
    border-radius: 12px;
    box-shadow: none;
  }
  & > .fs-fuji-card .thumbnail-wrapper .product-group-button,
  & > .fs-fuji-card .thumbnail-wrapper .loop-add-to-cart { display: none !important; }
  & > .fs-fuji-card .meta-wrapper {
    flex: 1;
    grid-template-rows: minmax(min-content, 1fr) auto 44px;
    row-gap: 8px;
    padding-top: 9px !important;
  }
  & > .fs-fuji-card h3.product-name {
    grid-row: 1;
    min-height: 0;
    font-weight: 550;
    hyphens: auto;
    overflow-wrap: anywhere;
  }
  & > .fs-fuji-card .fs-fuji-summary {
    grid-row: 2;
    padding: 6px 8px;
    border: 1px solid #eadfdc;
    border-radius: 8px;
    background: #faf6f5;
  }
  & > .fs-fuji-card .meta-wrapper > .price {
    grid-row: 2;
    padding: 4px 0;
    border: 0;
    background: none;
    text-align: left;
  }
  & > .fs-fuji-card .fs-fuji-row { gap: 5px; font-size: 12px; }
  & > .fs-fuji-card .fs-fuji-final > :last-child { font-size: 20px; }
  & > .fs-fuji-card .fs-fuji-detail,
  & > .fs-fuji-has-cart .meta-wrapper > .product-group-button-meta { grid-row: 3; }
  & > .fs-fuji-card .fs-fuji-detail { min-height: 44px; }
}
@media (max-width: 600px) {
  body.term-fujifilm-kameras #primary .products:not(.list):has(> .fs-fuji-card) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    & > .fs-fuji-card > .product-wrapper { padding: 8px; }
    & > .fs-fuji-card .fs-fuji-summary { padding-inline: 6px; }
    & > .fs-fuji-card .fs-fuji-row { font-size: 11px; }
    & > .fs-fuji-card .fs-fuji-final > :last-child { font-size: 18px; }
  }
}
/* FOTO SCHNEIDER – Fujifilm-Kacheltest: Layout Ende */

/* FOTO SCHNEIDER – Fujifilm-Kacheltest: Kompakte Preise */
body.term-fujifilm-kameras #primary .products:not(.list) > .fs-fuji-card .fs-fuji-summary {
  display: none !important;
}
body.term-fujifilm-kameras #primary .products:not(.list) > .fs-fuji-card .meta-wrapper > .price.fs-catalog-price.fs-fuji-has-summary {
  display: block !important;
}
/* FOTO SCHNEIDER – Fujifilm-Kacheltest: Kompakte Preise Ende */

/* FOTO SCHNEIDER – Preisbuttons auf schmalen Kacheln */
@media (max-width: 360px) {
  #primary .products:not(.list) > :is(.fs-shop-card, .fs-fuji-card) .price :is(a, button).fs-catalog-price-current {
    box-sizing: border-box;
    max-width: 100%;
    padding-inline: 6px;
    font-size: 11px !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }
}

/* FOTO SCHNEIDER – Kombirabatt links ausrichten */
#primary .products:not(.list) > :is(.fs-shop-card, .fs-fuji-card) .meta-wrapper > .price.fs-catalog-price:has(> a.fs-catalog-price-current) {
  align-items: flex-start !important;
  text-align: left !important;
}
#primary .products:not(.list) > :is(.fs-shop-card, .fs-fuji-card) .meta-wrapper > .price.fs-catalog-price > a.fs-catalog-price-current {
  align-self: flex-start;
  margin-inline: 0 auto;
}

/* FOTO SCHNEIDER – Rotes Prozentzeichen ohne Kreis */
.br_alabel.berocket_alabel_id_127811 > span {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
.br_alabel.berocket_alabel_id_127811 > span > b {
  color: #c80000 !important;
}
.br_alabel.berocket_alabel_id_127811 > span > i {
  background: transparent !important;
  border-color: transparent !important;
}

/* FOTO SCHNEIDER – Kachelraster mit Unterkategorien */
body #primary .products:not(.list):has(> :is(.fs-shop-card, .fs-fuji-card)) > .list-categories {
  grid-column: 1 / -1;
  min-width: 0;
  width: 100%;
  margin-inline: 0;
}

/* FOTO SCHNEIDER – Unterkategorien als Kacheln */
body #primary .products:not(.list) > .list-categories:has(> .product-category) {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr));
  grid-column: 1 / -1;
  gap: 16px;
  width: 100%;
  min-width: 0;
  margin: 0 0 8px !important;
  padding: 0;
  align-items: stretch;
}
body #primary .products:not(.list) > .list-categories::before,
body #primary .products:not(.list) > .list-categories::after { content: none !important; }
body #primary .products:not(.list) > .list-categories > .product-category {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: auto !important;
  min-width: 0;
  max-width: none !important;
  margin: 0 !important;
  padding: 10px !important;
  border: 1px solid #e3e0de;
  border-radius: 12px;
  background: #fff;
}
body #primary .products:not(.list) > .list-categories > .product-category > a {
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 9px;
  background: #f4f3f2;
}
body #primary .products:not(.list) > .list-categories > .product-category > a img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
body #primary .products:not(.list) > .list-categories > .product-category > .meta-wrapper {
  display: flex !important;
  flex: 1;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 9px 0 0 !important;
  text-align: left;
}
body #primary .products:not(.list) > .list-categories .category-name .heading-title {
  margin: 0 !important;
  font-size: 14px;
  line-height: 1.3;
  hyphens: auto;
  overflow-wrap: anywhere;
}
body #primary .products:not(.list) > .list-categories .category-name .count { margin: 4px 0 0; font-size: 12px; }
body #primary .products:not(.list) > .list-categories > .product-category > .meta-wrapper > .button {
  display: block;
  margin: auto 0 0 !important;
  padding: 0;
  border: 0;
  background: none;
}
body #primary .products:not(.list) > .list-categories .shop-now-button {
  box-sizing: border-box;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 4px 6px;
  border: 1px solid #d8d2ce;
  border-radius: 8px;
  background: #fff;
  color: #262121;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}
body #primary .products:not(.list) > .list-categories .shop-now-button::after { content: none; }
body #primary .products:not(.list) > .list-categories .shop-now-button:hover { background: #fbf4f3; color: #b80000; }
body #primary .products:not(.list) > .list-categories a:focus-visible { outline: 2px solid #a60000; outline-offset: 2px; }
@media (min-width: 300px) and (max-width: 600px) {
  body #primary .products:not(.list) > .list-categories:has(> .product-category) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  body #primary .products:not(.list) > .list-categories > .product-category { padding: 8px !important; }
}