/*
 * Design language: shop templates (T-117). Loaded after design-base-1.0.0.css by fc_design_enqueue();
 * every rule needs html.fcd. Reference: forcar-concepts-docs/reference/design-language.md
 * Covers: shop, product_cat, pa_model-easy and other attribute archives, product search.
 * Product cards (cards-1.0.3.css) and their grid stay untouched.
 */

/* ---------- layout ---------- */

/* Category and model archives print an empty #secondary (no widget assigned): do not reserve a blank column */
html.fcd #secondary:not(:has(.widget)) {
  display: none;
}
/* full width by default; the Storefront two-column split (73.9 % content, sidebar on the left) only where a widget exists */
html.fcd #primary {
  float: none;
  width: 100%;
  margin-right: 0;
}
@media (min-width: 768px) {
  html.fcd .site-content > .col-full:has(> #secondary > .widget) > #primary {
    float: right;
    width: 73.9%;
  }
}

/* 768 to 1023 px: the sidebar needs more than Storefront's 21.7 %; price inputs shrink with it */
@media (min-width: 768px) and (max-width: 1023px) {
  html.fcd .site-content > .col-full:has(> #secondary > .widget) > #primary {
    width: 68%;
  }
  html.fcd #secondary {
    width: 28%;
    margin-right: 0; /* Storefront's 4.35 % would push the sum past 100 % and drop the sidebar under the products */
  }
  html.fcd .woof_price_filter_txt_slider .woof_price_filter_txt {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
  }
}

/* ---------- category / model description above the products ---------- */
html.fcd .woocommerce-products-header .term-description {
  max-width: 70ch;
  margin: 0 0 40px;
  padding: 4px 0 4px 24px;
  border-left: 4px solid var(--bronze);
  color: var(--text);
  font-size: var(--fs-md);
  line-height: 1.65;
}
html.fcd .woocommerce-products-header .term-description :is(h2, h3, h4) {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: var(--fs-lg);
  font-weight: 900;
  font-style: italic;
  line-height: 1.1;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: var(--ink);
}
html.fcd .woocommerce-products-header .term-description p {
  margin: 0 0 1em;
}
html.fcd .woocommerce-products-header .term-description p:last-child {
  margin-bottom: 0;
}
html.fcd .woocommerce-products-header .term-description a {
  color: var(--bronze-3);
  font-weight: 700;
}

/* ---------- result toolbar: count, sorting, pagination ---------- */
html.fcd .storefront-sorting {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin: 0 0 24px;
}
html.fcd .storefront-sorting::before,
html.fcd .storefront-sorting::after {
  display: none;
}
html.fcd .storefront-sorting > .woocommerce-notices-wrapper {
  flex: 1 0 100%;
  order: 0;
}
html.fcd .storefront-sorting > .woocommerce-notices-wrapper:empty {
  display: none;
}
html.fcd :is(.storefront-sorting, .woof_shortcode_output) > .woocommerce-result-count {
  float: none;
  order: 1;
  margin: 0 auto 0 0;
  padding: 0;
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--ls-label);
  line-height: 1.5;
  text-transform: uppercase;
}
/* main-*.css hides the sorting form with display:none !important; the design shows it, so it must be beaten */
html.fcd form.woocommerce-ordering {
  display: block !important;
  float: none;
  order: 2;
  margin: 0;
  padding: 0;
}
html.fcd form.woocommerce-ordering select.orderby {
  min-height: 44px;
  margin: 0;
  padding: 0 40px 0 14px;
  border: 1px solid var(--field-line);
  border-radius: 0;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230e0f11' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center;
  box-shadow: none;
  color: var(--ink);
  font-size: var(--fs-md);
  line-height: 1.4;
  -webkit-appearance: none;
  appearance: none;
}
html.fcd form.woocommerce-ordering select.orderby:focus {
  outline: 2px solid var(--bronze);
  outline-offset: 0;
  border-color: var(--bronze);
}
html.fcd .storefront-sorting > .woocommerce-pagination {
  order: 3;
  flex: 1 0 100%;
}
html.fcd .woof_shortcode_output {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
html.fcd .woof_shortcode_output > #woof_results_by_ajax {
  flex: 1 0 100%;
  min-width: 0;
}
html.fcd .woof_shortcode_output > .woocommerce-pagination {
  float: none;
  order: 2;
  margin: 0 0 0 auto;
}
/* the second sorting form under the product list would repeat the first */
html.fcd ul.products ~ .storefront-sorting form.woocommerce-ordering {
  display: none !important;
}

/* pagination: square boxes, current = ink */
html.fcd .woocommerce-pagination {
  float: none;
  margin: 0;
  padding: 0;
  border: 0;
}
html.fcd .woocommerce-pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
}
html.fcd .woocommerce-pagination ul.page-numbers li {
  margin: 0;
  padding: 0;
  border: 0;
  float: none;
}
html.fcd .woocommerce-pagination .page-numbers:is(a, span) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  margin: 0 !important; /* main-2.0.24.css: a { margin: .5rem !important } pushed the links 8 px off the current page box */
  padding: 0 10px;
  border: 1px solid #cfcbc3;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
}
html.fcd .woocommerce-pagination a.page-numbers:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
/* main-*.css sets the current page orange with !important */
html.fcd .woocommerce-pagination .page-numbers.current {
  border-color: var(--ink);
  background-color: var(--ink) !important;
  color: #fff !important;
}
html.fcd .woocommerce-pagination .page-numbers.dots {
  min-width: 24px;
  padding: 0;
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}

/* ---------- sidebar: "Filter löschen" (WOOF) — secondary button, like the mobile panel's reset ---------- */
html.fcd #secondary .woof_submit_search_form_container {
  margin: 24px 0 0;
  padding: 0;
}
html.fcd #secondary .woof_submit_search_form_container .woof_reset_search_form {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  float: none;
  min-height: 44px;
  margin: 0 !important;
  padding: 0 20px;
  border: 2px solid var(--ink) !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none;
  color: var(--ink) !important;
  font-size: var(--fs-sm) !important;
  font-weight: 700;
  letter-spacing: var(--ls-label);
  line-height: 1.2;
  text-transform: uppercase;
  text-shadow: none;
  cursor: pointer;
  transition: background .2s, color .2s;
}
html.fcd #secondary .woof_submit_search_form_container .woof_reset_search_form:hover {
  background: var(--ink) !important;
  color: #fff !important;
}
html.fcd #secondary .woof_submit_search_form_container .woof_reset_search_form:focus-visible {
  outline: 3px solid var(--bronze-2);
  outline-offset: 2px;
}

/* ---------- sidebar: "Vor kurzem angesehene Produkte" (WooCommerce widget) ---------- */
/* square thumbnail left, ink title (two lines at most), price parts inline under it */
html.fcd #secondary .product_list_widget {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
html.fcd #secondary .product_list_widget li {
  position: relative;
  min-height: 93px;
  margin: 0;
  padding: 14px 0 14px 78px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: var(--fs-sm);
  line-height: 1.45;
}
html.fcd #secondary .product_list_widget li:first-child {
  min-height: 79px;
  padding-top: 0;
}
html.fcd #secondary .product_list_widget li:last-child {
  border-bottom: 0;
}
html.fcd #secondary .product_list_widget li > a {
  display: block;
  margin: 0 0 4px !important; /* main-2.0.24.css: a { margin: .5rem !important } */
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
html.fcd #secondary .product_list_widget li > a img {
  position: absolute;
  top: 14px;
  left: 0;
  float: none;
  width: 64px;
  height: 64px;
  max-width: none;
  margin: 0;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  object-fit: contain;
}
html.fcd #secondary .product_list_widget li:first-child > a img {
  top: 0;
}
html.fcd #secondary .product_list_widget .product-title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--ink);
  font-weight: 700;
  transition: color .2s;
}
html.fcd #secondary .product_list_widget li > a:hover .product-title {
  color: var(--bronze-3);
}
html.fcd #secondary .product_list_widget .woocommerce-Price-amount {
  color: var(--ink);
  font-weight: 700;
}
html.fcd #secondary .product_list_widget del,
html.fcd #secondary .product_list_widget del .woocommerce-Price-amount {
  margin-right: 4px;
  color: var(--muted);
  font-weight: 400;
}
html.fcd #secondary .product_list_widget ins {
  background: none;
  text-decoration: none;
}
html.fcd #secondary .product_list_widget .woocommerce-price-suffix {
  color: var(--muted);
  font-size: var(--fs-xs);
  white-space: nowrap;
}

/* ---------- active filters above the products (WOOF top panel) ---------- */
html.fcd .woof_products_top_panel .woof_products_top_panel_ul {
  align-items: center;
}
html.fcd .woof_products_top_panel .woof_products_top_panel_ul a[data-tax] {
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 700;
}
html.fcd .woof_products_top_panel .woof_products_top_panel_ul a[data-tax]:hover {
  border-color: var(--ink);
}
html.fcd .woof_products_top_panel .woof_reset_button_2 {
  color: var(--bronze-3);
  font-size: var(--fs-sm);
  font-weight: 700;
  min-height: 32px;
}

/* ---------- sidebar: WOOF filters ---------- */
html.fcd #secondary .widget {
  margin-bottom: 32px;
}
html.fcd #secondary .widget-title,
html.fcd #text-20 .widget-title {
  display: block;
  margin: 0 0 4px;
  padding: 14px 0 0;
  border-top: 4px solid var(--bronze);
  color: var(--ink);
  font-family: var(--display);
  font-size: var(--fs-lg);
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
html.fcd .woof .woof_container {
  margin: 0;
  padding: 16px 0 12px;
  border: 0;
  border-top: 1px solid var(--line);
}
html.fcd #text-20 .woof_redraw_zone > .woof_container:first-child {
  padding-top: 16px;
  border-top: 2px solid var(--ink);
}
html.fcd .woof .woof_container_inner h4 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 8px;
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
}
/* open/close arrow: the old PNG is hidden, a CSS chevron replaces it */
html.fcd .woof .woof_front_toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 32px;
  height: 32px;
  margin: -6px -6px -6px 8px;
}
html.fcd .woof .woof_front_toggle img {
  display: none;
}
html.fcd .woof .woof_front_toggle::after {
  content: '';
  width: 8px;
  height: 8px;
  border: solid var(--ink);
  border-width: 0 2px 2px 0;
  transform: translateY(2px) rotate(-135deg);
  transition: transform .2s;
}
html.fcd .woof .woof_front_toggle.woof_front_toggle_closed::after {
  transform: translateY(-2px) rotate(45deg);
}
html.fcd .woof .woof_front_toggle:hover::after {
  border-color: var(--bronze-3);
}
html.fcd .woof ul.woof_list li {
  padding: 5px 0;
}
html.fcd .woof ul.woof_list li > label.woof_checkbox_label,
html.fcd .woof .fc-vehicle-option .woof_checkbox_label {
  color: var(--text);
  font-size: var(--fs-sm);
  line-height: 1.4;
  cursor: pointer;
}
html.fcd .woof .fc-vehicle-option {
  font-size: var(--fs-sm);
  line-height: 1.4;
  color: var(--text);
}
html.fcd .woof ul.woof_list li:hover > label.woof_checkbox_label,
html.fcd .woof .fc-vehicle-option:hover .woof_checkbox_label {
  color: var(--ink);
}
html.fcd .woof .woof_checkbox_count {
  margin-left: 6px;
  color: var(--muted);
  font-size: var(--fs-xs);
}
html.fcd .woof .fc-vehicle-option:focus-visible {
  outline: 3px solid var(--bronze-2);
  outline-offset: 2px;
}
/* checkbox: square, ink when checked (replaces the iCheck sprite) */
html.fcd .woof .icheckbox_flat-orange {
  position: relative;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  border: 2px solid var(--muted);
  border-radius: 0;
  background: #fff none;
  box-sizing: border-box;
  transition: background .2s, border-color .2s;
}
html.fcd .woof ul.woof_list li:hover .icheckbox_flat-orange:not(.disabled),
html.fcd .woof .fc-vehicle-option:hover .icheckbox_flat-orange {
  border-color: var(--ink);
}
html.fcd .woof .icheckbox_flat-orange.checked {
  border-color: var(--ink);
  background: var(--ink) none;
}
html.fcd .woof .icheckbox_flat-orange.checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 0;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
html.fcd .woof .icheckbox_flat-orange.fc-partial.checked::after {
  left: 3px;
  top: 6px;
  width: 8px;
  height: 0;
  border-width: 2px 0 0;
  transform: none;
}
html.fcd .woof .icheckbox_flat-orange.disabled {
  border-color: var(--line);
  background: #fff none;
}
html.fcd .woof li:has(.icheckbox_flat-orange.disabled) .woof_checkbox_label {
  color: var(--muted);
  opacity: .7;
}
html.fcd .woof ul.woof_list li.fc-cat-heading {
  color: var(--muted);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-label);
}
html.fcd .woof .fc-more {
  min-height: 32px;
  margin: 6px 0 0 30px;
  color: var(--bronze-3);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--ls-label);
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding: 0;
}
html.fcd .woof .fc-more:hover {
  color: var(--ink);
}
html.fcd .woof .fc-more:focus-visible {
  outline: 3px solid var(--bronze-2);
  outline-offset: 2px;
}
/* price range */
html.fcd .woof_price_filter_txt_slider .woof_price_filter_txt {
  border-color: var(--field-line);
  border-radius: 0;
  color: var(--ink);
  font-size: var(--fs-md);
}
html.fcd .woof_price_filter_txt_slider .woof_price_filter_txt:focus {
  outline: 2px solid var(--bronze);
  outline-offset: 0;
  border-color: var(--bronze);
}
html.fcd .woof .irs--flat .irs-line {
  background: var(--line);
  border-radius: 0;
}
html.fcd .woof .irs--flat .irs-bar {
  background-color: var(--bronze);
}
html.fcd .woof .irs--flat .irs-handle > i:first-child {
  background-color: var(--ink);
}
/* the Hersteller list scrolls inside its box: slim scrollbar in the palette */
html.fcd .woof .woof_section_scrolled {
  scrollbar-width: thin;
  scrollbar-color: var(--muted) var(--line);
}

/* ---------- toolbar after an AJAX filter: WOOF reloads into a flex wrapper where the active-filter chips and
   the sorting row would share one line (sorting slid left); each keeps a full row like on a normal load ---------- */
html.fcd #woof_results_by_ajax > .woocommerce > :is(.woof_products_top_panel, .storefront-sorting) {
  flex: 1 0 100%;
  width: 100%;
}

@media (max-width: 767px) {
  /* applied filters under the Filter button, not above it (same order after a normal load and an AJAX reload) */
  html.fcd :is(#woof_results_by_ajax, #woof_results_by_ajax > .woocommerce):has(> .mobile-filter-btn) {
    display: flex;
    flex-direction: column;
  }
  html.fcd :is(#woof_results_by_ajax, #woof_results_by_ajax > .woocommerce):has(> .mobile-filter-btn) > * {
    order: 2;
    width: 100%;
  }
  html.fcd :is(#woof_results_by_ajax, #woof_results_by_ajax > .woocommerce) > .mobile-filter-btn {
    order: 1;
  }
  html.fcd :is(#woof_results_by_ajax, #woof_results_by_ajax > .woocommerce) > .woof_products_top_panel {
    margin: 0 0 16px;
  }
  /* pagination: the nine boxes share one row instead of wrapping the arrow onto a second line */
  html.fcd .woocommerce-pagination ul.page-numbers {
    flex-wrap: nowrap;
    gap: 4px;
  }
  /* both page lists (above and under the products) take the full row, so their boxes get the same room */
  html.fcd .woocommerce-pagination {
    flex: 1 0 100%;
    width: 100%;
    margin: 0;
  }
  /* 44 px each; boxes only shrink when nine of them do not fit (never grow with few pages) */
  html.fcd .woocommerce-pagination ul.page-numbers li {
    flex: 0 1 44px;
    min-width: 0;
  }
  html.fcd .woocommerce-pagination ul.page-numbers li:has(> .dots) {
    flex: 0 0 18px;
  }
  html.fcd .woocommerce-pagination .page-numbers:is(a, span) {
    width: 100%;
    min-width: 0;
    padding: 0;
  }
}

/* ---------- mobile filter button and panel ---------- */
html.fcd button.mobile-filter-btn {
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  margin: 0 0 20px !important;
  padding: 0 24px;
  /* main-2.0.24.css forces the old green .button (colour, border, 8 px radius, 16 px) with !important */
  border: 2px solid var(--ink) !important;
  border-radius: 0 !important;
  background: var(--ink) !important;
  color: #fff !important;
  font-size: var(--fs-sm) !important;
  font-weight: 700;
  letter-spacing: var(--ls-label);
  line-height: 1.2;
  text-transform: uppercase;
  box-shadow: none;
  transition: background .2s, border-color .2s;
}
/* main-*.css shows the button below 768 px only; keep that, just lay it out as flex there */
@media (max-width: 767px) {
  html.fcd button.mobile-filter-btn {
    display: inline-flex;
  }
}
html.fcd button.mobile-filter-btn::before {
  content: '';
  flex: none;
  width: 16px;
  height: 12px;
  background:
    linear-gradient(#fff, #fff) top / 100% 2px no-repeat,
    linear-gradient(#fff, #fff) center / 100% 2px no-repeat,
    linear-gradient(#fff, #fff) bottom / 100% 2px no-repeat;
}
html.fcd button.mobile-filter-btn:hover {
  border-color: var(--bronze-3) !important;
  background: var(--bronze-3) !important;
}
html.fcd button.mobile-filter-btn:focus-visible {
  outline: 3px solid var(--bronze-2);
  outline-offset: 2px;
}
html.fcd .fancybox__content:has(#mobile-filter) {
  border-radius: 0;
}
html.fcd #mobile-filter .fc-filter-head {
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
  font-family: var(--display);
  font-size: var(--fs-lg);
  font-weight: 900;
  font-style: italic;
  line-height: 1.2;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
html.fcd #mobile-filter .fc-filter-footer {
  border-top: 1px solid var(--line);
}
html.fcd #mobile-filter .fc-filter-footer button {
  min-height: 52px;
  height: auto;
  border-radius: 0;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
}
html.fcd #mobile-filter .fc-filter-footer button {
  padding: 0 12px;
  letter-spacing: .06em;
  line-height: 1.2;
}
/* plugin sets white-space: nowrap on the show button; the longer label needs to wrap on a 320 px panel */
html.fcd #mobile-filter .fc-filter-show {
  white-space: normal;
}
html.fcd #mobile-filter .fc-filter-reset {
  border: 2px solid var(--ink);
  background: #fff;
  color: var(--ink);
}
html.fcd #mobile-filter .fc-filter-reset:hover {
  background: var(--paper);
}
html.fcd #mobile-filter .fc-filter-show {
  border: 2px solid var(--ink);
  background: var(--ink);
  color: #fff;
}
html.fcd #mobile-filter .fc-filter-show:hover {
  border-color: var(--bronze-3);
  background: var(--bronze-3);
}

/* ---------- FAQ below the shop (details blocks; the live markup carries an inline <style> and <br> spacers) ---------- */
/* inline style="" sets the top border and spacing: !important is needed to beat it */
html.fcd .fc-shop-description {
  margin-top: 64px !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}
html.fcd .fc-faq {
  margin: 0;
  border-top: 2px solid var(--ink);
}
html.fcd .fc-faq > br {
  display: none;
}
html.fcd .fc-faq .fc-faq__item {
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #d9d5cc;
  border-radius: 0;
  background: transparent;
}
html.fcd .fc-faq .fc-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-size: var(--fs-lg);
  font-weight: 700;
  line-height: 1.4;
}
html.fcd .fc-faq .fc-faq__q::-webkit-details-marker {
  display: none;
}
html.fcd .fc-faq .fc-faq__q::marker {
  content: '';
}
html.fcd .fc-faq .fc-faq__q::after {
  content: '+';
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--ink);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  transition: background .25s;
}
html.fcd .fc-faq .fc-faq__item[open] .fc-faq__q::after {
  content: '\2212';
  background: var(--bronze);
  color: var(--ink);
}
html.fcd .fc-faq .fc-faq__q:hover {
  color: var(--bronze-3);
}
html.fcd .fc-faq .fc-faq__q:focus-visible {
  outline: 3px solid var(--bronze-2);
  outline-offset: 2px;
}
html.fcd .fc-faq .fc-faq__a {
  padding: 0 54px 24px 0;
  color: var(--text);
  font-size: var(--fs-md);
  line-height: 1.65;
}
html.fcd .fc-faq .fc-faq__a p {
  margin: 0 0 .6em;
}
html.fcd .fc-faq .fc-faq__a a {
  color: var(--bronze-3);
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}

/* ---------- empty result and search title ---------- */
html.fcd .woocommerce-no-products-found .woocommerce-info,
html.fcd .site-main > .woocommerce-info {
  margin-top: 0;
  padding-left: 20px;
}
/* the WooCommerce icon font renders as a missing-glyph box on these notices (also on the live site): no icon */
html.fcd .woocommerce-no-products-found .woocommerce-info::before,
html.fcd .site-main > .woocommerce-info::before {
  display: none;
}

/* ---------- small screens ---------- */
@media (max-width: 767px) {
  /* a long description would push the products far down: show it after the product list instead */
  html.fcd #main {
    display: flex;
    flex-direction: column;
  }
  html.fcd #main > .woocommerce-products-header:has(.term-description) {
    order: 2;
    margin-top: 32px;
  }
  html.fcd #main > .woocommerce-products-header:has(.term-description) .term-description {
    margin-bottom: 0;
    padding-left: 16px;
  }
  html.fcd #main > .fc-shop-description {
    order: 3;
  }
  /* the same filters open in the panel behind the Filter button; the long list under the page would repeat them */
  html.fcd #secondary:has(.woof) {
    display: none;
  }
  html.fcd .storefront-sorting form.woocommerce-ordering,
  html.fcd .storefront-sorting form.woocommerce-ordering select.orderby {
    width: 100%;
  }
  html.fcd .storefront-sorting > .woocommerce-result-count {
    flex: 1 0 100%;
    margin: 0;
  }
  html.fcd .woof_shortcode_output > .woocommerce-pagination {
    margin: 0;
  }
  html.fcd .fc-faq .fc-faq__q {
    padding: 18px 0;
    font-size: var(--fs-md);
  }
  html.fcd .fc-faq .fc-faq__a {
    padding-right: 0;
  }
  html.fcd .fc-shop-description {
    margin-top: 40px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  html.fcd .woof .woof_front_toggle::after {
    transition: none;
  }
}
