:root {
  --foch-price-normal: #252525;
  --foch-price-old: #8a8a8a;
  --foch-discount-bg: #f4c430;
  --foch-discount-text: #252525;
}

.product-miniature .product-price-and-shipping .price:not(.regular-price),
.product-miniature .product-price,
.product-prices .current-price,
.product-prices .current-price-value,
.current-price .current-price-value {
  color: var(--foch-price-normal) !important;
}

.regular-price,
.product-discount .regular-price,
.product-price-and-shipping .regular-price {
  color: var(--foch-price-old) !important;
}

.product-miniature .foch-discount-next-to-price {
  align-items: center;
  background: var(--foch-discount-bg) !important;
  border: 0 !important;
  color: var(--foch-discount-text) !important;
  display: inline-flex !important;
  float: none !important;
  font-size: 0.78rem !important;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0 0.55rem !important;
  padding: 0.25rem 0.42rem !important;
  position: static !important;
  transform: none !important;
  vertical-align: middle;
  width: auto !important;
  visibility: visible !important;
}

/* Cache brièvement la réduction à son ancien emplacement avant déplacement. */
.product-miniature .product-flags .discount:not(.foch-discount-next-to-price),
.product-miniature .product-flags .discount-amount:not(.foch-discount-next-to-price),
.product-miniature .product-flags .discount-percentage:not(.foch-discount-next-to-price),
.product-miniature .product-flag.discount:not(.foch-discount-next-to-price),
.product-miniature .discount-product:not(.foch-discount-next-to-price) {
  visibility: hidden !important;
}

@media (min-width: 992px) {
  .foch-catalog-columns,
  .row:has(> #left-column):has(> #content-wrapper) {
    align-items: flex-start !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
  }

  body.foch-catalog-with-sidebar #left-column,
  .row:has(> #left-column):has(> #content-wrapper) > #left-column {
    flex: 0 0 16% !important;
    max-width: 16% !important;
    width: 16% !important;
  }

  body.foch-catalog-with-sidebar #content-wrapper,
  .row:has(> #left-column):has(> #content-wrapper) > #content-wrapper {
    flex: 0 0 84% !important;
    max-width: 84% !important;
    width: 84% !important;
  }
}
