/* v2.1: settings-driven styles, scoped to our cards only. */
body article.fc-artisan-card.fc-artisan-v204 {
  font-family: var(--fc-font-family, 'FC Outfit', Outfit, Arial, sans-serif) !important;
  --fc-title-size: var(--fc-title-desktop, 20px);
  --fc-title-leading: calc(var(--fc-title-size) * var(--fc-title-line-height, 1.25));
  --fc-price-size: var(--fc-price-desktop, 20px);
  --fc-button-font: var(--fc-button-desktop, 14px);
  --fc-category-size: var(--fc-category-desktop, 10px);
}
body article.fc-artisan-card.fc-artisan-v204 .fc-artisan-title {
  font-weight: var(--fc-title-weight) !important;
  font-style: var(--fc-title-style) !important;
  text-transform: var(--fc-title-transform) !important;
  letter-spacing: var(--fc-title-spacing) !important;
}
body article.fc-artisan-card.fc-artisan-v204 .fc-artisan-price {
  font-weight: var(--fc-price-weight) !important;
  font-style: var(--fc-price-style) !important;
  text-transform: var(--fc-price-transform) !important;
  letter-spacing: var(--fc-price-spacing) !important;
}
body article.fc-artisan-card.fc-artisan-v204 .fc-artisan-actions .fc-artisan-buy {
  font-weight: var(--fc-button-weight) !important;
  font-style: var(--fc-button-style) !important;
  text-transform: var(--fc-button-transform) !important;
  letter-spacing: var(--fc-button-spacing) !important;
}
body article.fc-artisan-card.fc-artisan-v204 .fc-artisan-chip {
  font-weight: var(--fc-category-weight) !important;
  font-style: var(--fc-category-style) !important;
  text-transform: var(--fc-category-transform) !important;
  letter-spacing: var(--fc-category-spacing) !important;
}

body article.fc-artisan-card.fc-artisan-v204 .fc-artisan-price ins {font-weight: inherit !important;}
body article.fc-artisan-card.fc-artisan-v204 .fc-artisan-title {color: var(--fc-title-color) !important;}
body article.fc-artisan-card.fc-artisan-v204 .fc-artisan-title:hover,
body article.fc-artisan-card.fc-artisan-v204 .fc-artisan-title:focus-visible {color: var(--fc-title-hover-color) !important;}
body article.fc-artisan-card.fc-artisan-v204 .fc-artisan-price {color: var(--fc-price-color) !important;}
body article.fc-artisan-card.fc-artisan-v204 .fc-artisan-chip {
  font-size: var(--fc-category-size) !important;
  line-height: 1.5 !important;
  color: var(--fc-category-color) !important;
  background: var(--fc-category-bg) !important;
}
body article.fc-artisan-card.fc-artisan-v204 .fc-artisan-actions .fc-artisan-add {
  background: var(--fc-cart-bg) !important;
  color: var(--fc-cart-color) !important;
  transition: color .2s, background-color .2s !important;
}
body article.fc-artisan-card.fc-artisan-v204 .fc-artisan-actions a.fc-artisan-add:hover,
body article.fc-artisan-card.fc-artisan-v204 .fc-artisan-actions a.fc-artisan-add:focus-visible {
  background: var(--fc-cart-hover-bg) !important;
  color: var(--fc-cart-hover-color) !important;
}
body article.fc-artisan-card.fc-artisan-v204 .fc-artisan-actions .fc-artisan-add svg {
  width: var(--fc-icon-size,20px) !important;
  height: var(--fc-icon-size,20px) !important;
  flex-basis: var(--fc-icon-size,20px) !important;
}
body article.fc-artisan-card.fc-artisan-v204 .fc-artisan-actions .fc-artisan-buy {
  color: var(--fc-buy-color) !important;
  font-size: min(var(--fc-button-font), 8.5cqw) !important;
}
body article.fc-artisan-card.fc-artisan-v204 .fc-artisan-actions .fc-artisan-buy:hover,
body article.fc-artisan-card.fc-artisan-v204 .fc-artisan-actions .fc-artisan-buy:focus-visible {
  background-image: linear-gradient(to right, var(--fc-buy-hover-start), var(--fc-buy-hover-end)) !important;
  background-size: 100% auto !important;
  background-position: center !important;
  color: var(--fc-buy-hover-color) !important;
}
body article.fc-artisan-card.fc-artisan-v204 .fc-artisan-label {
  letter-spacing: inherit !important;
  font-style: inherit !important;
  text-transform: inherit !important;
}
/* YITH owns add/remove state. These selectors only style its confirmed state. */
body article.fc-artisan-card.fc-artisan-v204 .fc-artisan-media .fc-artisan-wishlist :is(a,button):hover,
body article.fc-artisan-card.fc-artisan-v204 .fc-artisan-media .fc-artisan-wishlist :is(a,button):focus-visible,
body article.fc-artisan-card.fc-artisan-v204 .fc-artisan-media .fc-artisan-wishlist .yith-wcwl-add-to-wishlist-button--added,
body article.fc-artisan-card.fc-artisan-v204 .fc-artisan-media .fc-artisan-wishlist .exists :is(a,button),
body article.fc-artisan-card.fc-artisan-v204 .fc-artisan-media .fc-artisan-wishlist .yith-wcwl-wishlistaddedbrowse a,
body article.fc-artisan-card.fc-artisan-v204 .fc-artisan-media .fc-artisan-wishlist .yith-wcwl-wishlistexistsbrowse a {
  color: #dc2626 !important;
}
body article.fc-artisan-card.fc-artisan-v204 .fc-artisan-media .fc-artisan-wishlist :is(a,button):hover svg,
body article.fc-artisan-card.fc-artisan-v204 .fc-artisan-media .fc-artisan-wishlist :is(a,button):focus-visible svg {
  color: #dc2626 !important;
  stroke: currentColor !important;
}
body article.fc-artisan-card.fc-artisan-v204 .fc-artisan-media .fc-artisan-wishlist .yith-wcwl-add-to-wishlist-button--added svg,
body article.fc-artisan-card.fc-artisan-v204 .fc-artisan-media .fc-artisan-wishlist .exists svg,
body article.fc-artisan-card.fc-artisan-v204 .fc-artisan-media .fc-artisan-wishlist .yith-wcwl-wishlistaddedbrowse svg,
body article.fc-artisan-card.fc-artisan-v204 .fc-artisan-media .fc-artisan-wishlist .yith-wcwl-wishlistexistsbrowse svg {
  color: #dc2626 !important;
  stroke: currentColor !important;
  fill: currentColor !important;
}
@media(max-width:639.98px) {
  body article.fc-artisan-card.fc-artisan-v204 {
    --fc-title-size: var(--fc-title-mobile,14px);
    --fc-price-size: var(--fc-price-mobile,16px);
    --fc-button-font: var(--fc-button-mobile,11px);
    --fc-category-size: var(--fc-category-mobile,9px);
  }
  body article.fc-artisan-card.fc-artisan-v204 .fc-artisan-actions .fc-artisan-add svg {
    width: var(--fc-icon-mobile,18px) !important;
    height: var(--fc-icon-mobile,18px) !important;
    flex-basis: var(--fc-icon-mobile,18px) !important;
  }
}
@container fc-card (max-width:199px) {
  body article.fc-artisan-card.fc-artisan-v204 .fc-artisan-content {
    --fc-title-size: var(--fc-title-mobile,14px);
    --fc-title-leading: calc(var(--fc-title-size) * var(--fc-title-line-height,1.25));
    --fc-price-size: var(--fc-price-mobile,16px);
    --fc-button-font: var(--fc-button-mobile,11px);
    --fc-category-size: var(--fc-category-mobile,9px);
  }
}
/* Larger custom button type gets its own full row on narrow cards, avoiding clipping. */
@container fc-card (max-width:199px) {
  body article.fc-artisan-card.fc-artisan-v204.fc-artisan-wide-actions .fc-artisan-actions {flex-wrap:wrap !important;}
  body article.fc-artisan-card.fc-artisan-v204.fc-artisan-wide-actions .fc-artisan-actions .fc-artisan-buy {flex-basis:100% !important;}
}
@media(prefers-reduced-motion:reduce) {
  body article.fc-artisan-card.fc-artisan-v204 .fc-artisan-actions .fc-artisan-add,
  body article.fc-artisan-card.fc-artisan-v204 .fc-artisan-actions .fc-artisan-buy {transition:none !important;}
}
