.cp-fc {
  --cp-fc-accent: #315bff;
  --cp-fc-text: #24272c;
  --cp-fc-muted: #6d727a;
  --cp-fc-border: #dfe2e7;
  --cp-fc-soft: #f7f7f8;
  color: var(--cp-fc-text);
  font-family: inherit;
  position: relative;
}

.cp-fc *, .cp-fc *::before, .cp-fc *::after { box-sizing: border-box; }
.cp-fc button, .cp-fc input, .cp-fc select { font: inherit; }
.cp-fc__layout { display: grid; grid-template-columns: minmax(230px, 280px) minmax(0, 1fr); gap: 36px; align-items: start; }
.cp-fc__sidebar { border: 1px solid var(--cp-fc-border); background: #fff; }
.cp-fc__sidebar-head { display: none; }
.cp-fc__facet { border-bottom: 1px solid var(--cp-fc-border); }
.cp-fc__facet summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; padding: 18px 20px; font-weight: 700; }
.cp-fc__facet summary::-webkit-details-marker { display: none; }
.cp-fc__facet summary span::before { content: "+"; font-size: 20px; font-weight: 400; }
.cp-fc__facet[open] summary span::before { content: "−"; }
.cp-fc__facet-body { display: grid; gap: 11px; max-height: 310px; overflow: auto; padding: 0 20px 18px; }
.cp-fc__option { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 10px; align-items: center; margin: 0; cursor: pointer; color: var(--cp-fc-text); }
.cp-fc__option--color { grid-template-columns: 20px 18px minmax(0, 1fr) auto; gap: 8px; }
.cp-fc__option input { appearance: none; width: 19px; height: 19px; border: 2px solid #778197; border-radius: 3px; margin: 0; background: #fff; display: grid; place-content: center; }
.cp-fc__option input::before { content: ""; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) scale(0); margin-top: -2px; transition: transform .12s ease; }
.cp-fc__option input:checked { background: var(--cp-fc-accent); border-color: var(--cp-fc-accent); }
.cp-fc__option input:checked::before { transform: rotate(-45deg) scale(1); }
.cp-fc__option input:disabled { opacity: .35; cursor: not-allowed; }
.cp-fc__option-name { min-width: 0; overflow-wrap: anywhere; }
.cp-fc__count { color: var(--cp-fc-muted); font-variant-numeric: tabular-nums; }
.cp-fc__price { display: grid; grid-template-columns: 1fr auto 1fr; gap: 9px; align-items: center; padding: 0 20px 20px; }
.cp-fc__price input { min-width: 0; width: 100%; height: 44px; border: 1px solid #777; border-radius: 3px; padding: 8px 10px; background: #fff; }
.cp-fc__stock-filter { padding: 18px 20px; border-bottom: 1px solid var(--cp-fc-border); }
.cp-fc__clear { width: calc(100% - 40px); margin: 18px 20px; padding: 10px 12px; border: 1px solid var(--cp-fc-text); border-radius: 3px; background: #fff; color: var(--cp-fc-text); cursor: pointer; }
.cp-fc__clear:hover { background: var(--cp-fc-soft); }
.cp-fc__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 22px; }
.cp-fc__total { margin: 0; color: var(--cp-fc-muted); }
.cp-fc__sort { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.cp-fc__sort select { min-width: 220px; height: 44px; border: 1px solid #777; border-radius: 2px; background: #fff; padding: 6px 36px 6px 12px; }
.cp-fc__grid { display: grid; grid-template-columns: repeat(var(--cp-fc-columns), minmax(0, 1fr)); gap: 24px; }
.cp-fc-card { min-width: 0; border: 1px solid var(--cp-fc-border); background: #fff; display: flex; flex-direction: column; overflow: hidden; transition: box-shadow .18s ease, transform .18s ease; }
.cp-fc-card:hover { box-shadow: 0 10px 30px rgba(20, 30, 45, .09); transform: translateY(-2px); }
.cp-fc-card__media { position: relative; aspect-ratio: 4 / 5; background: #f3f1f0; overflow: hidden; }
.cp-fc-card__media a { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; }
.cp-fc .cp-fc-card__image { position: absolute; inset: 0; display: block; width: 100% !important; max-width: none !important; height: 100% !important; margin: 0 !important; object-fit: cover; object-position: center center; transition: opacity .15s ease; }
.cp-fc-card__badge { position: absolute; z-index: 1; top: 12px; left: 12px; padding: 6px 12px; background: #97060a; color: #fff; font-size: 13px; line-height: 1; border-radius: 2px; }
.cp-fc-card__body { display: flex; flex: 1; flex-direction: column; padding: 15px 14px 16px; }
.cp-fc-card__title { display: -webkit-box; min-height: 2.56em; margin: 0 0 7px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 18px; line-height: 1.28; font-weight: 650; }
.cp-fc-card__title a { color: inherit; text-decoration: none; }
.cp-fc-card__description { display: -webkit-box; min-height: 2.7em; margin: 0 0 11px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: var(--cp-fc-muted); font-size: 13px; line-height: 1.35; }
.cp-fc-card__colors { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; min-height: 23px; margin-bottom: 9px; }
.cp-fc__swatch { display: inline-block; width: 20px; height: 20px; flex: 0 0 20px; border: 1px solid #777; border-radius: 50%; padding: 0; box-shadow: 0 0 0 2px #fff inset; }
button.cp-fc__swatch { cursor: pointer; }
button.cp-fc__swatch.is-active { outline: 2px solid var(--cp-fc-text); outline-offset: 2px; }
.cp-fc__swatch--small { width: 17px; height: 17px; flex-basis: 17px; }
.cp-fc-card__more { color: var(--cp-fc-muted); font-size: 13px; }
.cp-fc-card__sizes { margin: 0 0 10px; color: var(--cp-fc-muted); font-size: 13px; }
.cp-fc-card__price { margin-top: auto; margin-bottom: 14px; font-size: 22px; font-weight: 650; line-height: 1.2; }
.cp-fc-card__price del { color: var(--cp-fc-muted); font-size: .75em; font-weight: 400; }
.cp-fc-card__price ins { text-decoration: none; }
.cp-fc-card__price--tiers { display: flex; flex-direction: column; gap: 3px; font-size: 15px; font-weight: 400; line-height: 1.35; }
.cp-fc-card__price-range { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px; }
.cp-fc-card__price-range strong { color: var(--cp-fc-text); font-weight: 800; white-space: nowrap; }
.cp-fc-card__price-separator, .cp-fc-card__price-note { color: var(--cp-fc-muted); }
.cp-fc-card__price-note { font-size: 12.5px; }
.cp-fc-card__button { display: block; width: 100%; padding: 11px 14px; border: 1px solid var(--cp-fc-text); border-radius: 2px; color: var(--cp-fc-text); text-align: center; text-decoration: none; font-weight: 650; }
.cp-fc-card__button:hover { background: var(--cp-fc-text); color: #fff; }
.cp-fc__pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.cp-fc__pagination button { min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid transparent; background: #fff; color: var(--cp-fc-text); cursor: pointer; }
.cp-fc__pagination button:hover, .cp-fc__pagination button[aria-current="page"] { border-color: var(--cp-fc-accent); color: var(--cp-fc-accent); }
.cp-fc__empty { padding: 60px 20px; background: var(--cp-fc-soft); text-align: center; }
.cp-fc__empty h3 { margin: 0 0 8px; }
.cp-fc__empty p { margin: 0; color: var(--cp-fc-muted); }
.cp-fc__live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cp-fc.is-loading .cp-fc__main { opacity: .55; pointer-events: none; }
.cp-fc__mobile-filter, .cp-fc__mobile-close, .cp-fc__backdrop { display: none; }

@media (max-width: 1100px) {
  .cp-fc__layout { grid-template-columns: 240px minmax(0, 1fr); gap: 24px; }
  .cp-fc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  .cp-fc__mobile-filter { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 11px 15px; border: 1px solid var(--cp-fc-text); background: #fff; color: var(--cp-fc-text); font-weight: 650; cursor: pointer; }
  .cp-fc__layout { display: block; }
  .cp-fc__sidebar { position: fixed; z-index: 100002; top: 0; left: 0; bottom: 0; width: min(88vw, 360px); overflow: auto; transform: translateX(-105%); transition: transform .22s ease; box-shadow: 10px 0 35px rgba(0,0,0,.18); }
  .cp-fc.is-filter-open .cp-fc__sidebar { transform: translateX(0); }
  .cp-fc__sidebar-head { position: sticky; z-index: 2; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: #fff; border-bottom: 1px solid var(--cp-fc-border); }
  .cp-fc__mobile-close { display: block; border: 0; background: transparent; font-size: 30px; line-height: 1; cursor: pointer; }
  .cp-fc__backdrop { position: fixed; z-index: 100001; inset: 0; background: rgba(0,0,0,.38); }
  .cp-fc.is-filter-open .cp-fc__backdrop { display: block; }
}

@media (max-width: 640px) {
  .cp-fc__toolbar { align-items: stretch; flex-direction: column; }
  .cp-fc__sort { justify-content: space-between; }
  .cp-fc__sort select { min-width: 0; width: 62%; }
  .cp-fc__grid { gap: 12px; }
  .cp-fc-card__body { padding: 11px 10px 12px; }
  .cp-fc-card__title { font-size: 15px; }
  .cp-fc-card__price { font-size: 18px; }
  .cp-fc-card__button { padding: 9px 8px; font-size: 13px; }
  .cp-fc-card__media { aspect-ratio: 4 / 5; }
}

@media (prefers-reduced-motion: reduce) {
  .cp-fc *, .cp-fc *::before, .cp-fc *::after { scroll-behavior: auto !important; transition: none !important; }
}
