.bcc-catalog {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 0;
}
.bcc-catalog h2:first-child, .bcc-catalog section > h2:first-child {
  margin-top: 0;
}
.bcc-accordion-toggle {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  min-height: 48px;
  padding: 1px 16px 0;
  border: 1px solid #7d7d7d;
  border-radius: 14px;
  background: #fff;
  color: #111827;
  box-sizing: border-box;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.bcc-accordion-toggle:hover {
  background: #f8fafc;
}
.bcc-menu-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.bcc-menu-header .bcc-price-button {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid #7d7d7d;
  border-radius: 14px;
  background: #fff;
  color: #111827;
  box-sizing: border-box;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.bcc-menu-header .bcc-price-button:hover {
  background: #f8fafc;
}
.bcc-menu ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  gap: 8px;
}
.bcc-menu li {
  background: #fff;
  border-radius: 12px;
}
.bcc-menu a, .bcc-menu button {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid #7d7d7d;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .01em;
  box-shadow: none;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.bcc-menu a:hover, .bcc-menu button:hover {
  border: 1px solid #7d7d7d;
  background: #f8fafc;
}
.bcc-menu .is-active {
  background: #111827;
  border-color: #111827;
  color: #fff;
}
.bcc-grid, .bcc-favorites-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.bcc-item, .bcc-favorites-item {
  text-align: center;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .22s ease, transform .22s ease;
  will-change: opacity, transform;
}
.bcc-open-modal {
  border: 0;
  padding: 0;
  background: transparent;
  width: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.bcc-open-modal img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
  object-fit: cover;
  object-position: center;
}
.bcc-number {
  text-align: center;
  margin: 0 0 0 10px;
  font-weight: 700;
  color: #111827;
  letter-spacing: .06em;
  font-size: 13px;
}
.bcc-floating-actions {
  position: fixed;
  right: max(16px, calc((100% - 1120px) / 2 + 16px));
  bottom: calc(env(safe-area-inset-bottom, 0px) + 50px);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 20;
}
.bcc-page-top, .bcc-page-favorites-link {
  min-width: 42px;
  width: 42px;
  min-height: 42px;
  height: 42px;
  border: 1px solid #7d7d7d;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  padding: 0 14px;
  cursor: pointer;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .02em;
  box-shadow: none;
  transition: opacity .2s ease, border-color .2s ease, background-color .2s ease, bottom .2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.bcc-page-favorites-link {
  position: relative;
  min-width: 42px;
  width: 42px;
  padding: 0;
  background: #ef476f;
  border-color: #ef476f;
  color: #fff;
}
.bcc-page-favorites-link:hover {
  background: #d9305c;
  border-color: #d9305c;
}
.bcc-page-favorites-heart {
  font-size: 18px;
  line-height: 1;
}
.bcc-page-favorites-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}
.bcc-page-top:hover {
  opacity: .88;
  border: 1px solid #7d7d7d;
}
.bcc-modal {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.82);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 56px 24px 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease;
}
.bcc-modal.is-open {
  display: flex;
  opacity: 1;
  visibility: visible;
}
.bcc-modal-inner {
  position: relative;
  width: min(62vw, 720px);
  max-height: calc(82vh - 40px);
  padding-top: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bcc-modal img {
  display: block;
  width: 100%;
  max-height: calc(82vh - 44px);
  object-fit: contain;
  border-radius: 18px;
}
.bcc-modal-toolbar {
  position: absolute;
  top: 0;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
}
.bcc-modal-favorite, .bcc-close {
  position: relative;
  width: 36px;
  height: 36px;
  border: none;
  background: #fff;
  border-radius: 999px;
  cursor: pointer;
  padding: 0;
  flex: 0 0 36px;
}
.bcc-modal-favorite {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  font-size: 18px;
  line-height: 1;
  transition: background-color .2s ease, color .2s ease;
}
.bcc-modal-favorite.is-active {
  background: #ef476f;
  color: #fff;
}
.bcc-close::before, .bcc-close::after {
  content: "";
  position: absolute;
  top: 17px;
  left: 10px;
  width: 16px;
  height: 2px;
  background: #111827;
  border-radius: 999px;
}
.bcc-close::before {
  transform: rotate(45deg);
}
.bcc-close::after {
  transform: rotate(-45deg);
}
.bcc-modal-number {
  position: absolute;
  top: 10px;
  left: 20px;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .08em;
  line-height: 1;
  text-align: left;
}
body.bcc-no-scroll {
  overflow: hidden;
}
.bcc-grid.is-filter-loading, .bcc-hint-message.is-filter-loading, .bcc-empty-message.is-filter-loading, .bcc-favorites-grid.is-filter-loading {
  visibility: hidden;
}
.bcc-current-filter {
  margin: 10px 0 0;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}
.bcc-main ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0;
  padding: 0;
  list-style: none;
}
.bcc-main ul li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.bcc-main ul li a, .bcc-main ul li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid #7d7d7d;
  background: #fff;
  color: #333;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.bcc-main ul li a:hover {
  background: #333;
  color: #fff;
  border-color: #333;
}
.bcc-main ul li .current, .bcc-main ul li span.current {
  background: #333;
  color: #fff;
  border-color: #333;
}
.bcc-main ul li:last-child a {
  padding: 0 16px;
}
.bcc-hint-message {
  margin-top: 10px;
}
.bcc-favorites-shell {
  display: grid;
  gap: 20px;
}
.bcc-favorites-panel {
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  padding: 20px;
  background: #fff;
}
.bcc-favorites-summary {
  margin: 0 0 12px;
  font-weight: 700;
}
.bcc-favorites-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.bcc-favorites-count-label {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}
.bcc-favorites-clear {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #f3a4b7;
  background: #fff;
  color: #d9305c;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.bcc-favorites-card-footer {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.bcc-favorites-card-footer .bcc-card-actions {
  display: contents;
}

.bcc-favorites-card-footer .bcc-number {
  grid-column: 1 / -1;
  margin: 0;
}

.bcc-favorites-card-footer .bcc-select-design,
.bcc-favorites-card-footer .bcc-clear-design,
.bcc-favorites-remove {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 42px;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.bcc-favorites-card-footer .bcc-select-design {
  border: 1px solid #06c755;
  color: #047857;
}

.bcc-favorites-card-footer .bcc-select-design.is-selected {
  background: #06c755;
  color: #fff;
}

.bcc-favorites-card-footer .bcc-select-design:disabled:not(.is-selected) {
  border-color: #e5e7eb;
  background: #f3f4f6;
  color: #9ca3af;
  opacity: 1;
  cursor: not-allowed;
}

.bcc-favorites-card-footer .bcc-clear-design {
  border: 1px solid #e5e7eb;
  color: #6b7280;
}

.bcc-favorites-card-footer .bcc-clear-design[hidden] {
  display: none !important;
}

.bcc-favorites-remove {
  border: 1px solid #fecaca;
  color: #dc2626;
}

.bcc-favorites-remove:hover {
  border-color: #ef4444;
  color: #b91c1c;
}
.bcc-favorites-empty {
  text-align: center;
  padding: 0 0 8px;
  font-size: 16px;
  color: #6b7280;
}
.bcc-favorites-page .bcc-hint-message {
  display: none !important;
}
@media (max-width: 1024px) {
  .bcc-grid, .bcc-favorites-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .bcc-modal-inner {
    width: min(72vw, 760px);
  }
}
@media (max-width: 768px) {
  .bcc-main ul {
    gap: 6px;
    margin: 24px 0;
  }
  .bcc-main ul li a, .bcc-main ul li span {
    min-width: 40px;
    height: 40px;
    font-size: 13px;
    border-radius: 6px;
  }
}
@media (max-width: 767px) {
  .bcc-grid, .bcc-favorites-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 30px;
  }
  .bcc-catalog {
    padding: 20px 0 12px;
  }
  .bcc-catalog h2 {
    font-size: 20px;
    line-height: 1.4;
  }
  .bcc-catalog p {
    font-size: 14px;
    line-height: 1.4;
    color: #111827;
  }
  .bcc-floating-actions {
    right: 12px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 50px);
  }
  .bcc-page-top, .bcc-page-favorites-link {
    min-width: 40px;
    width: 40px;
    min-height: 40px;
    height: 40px;
    font-size: 20px;
  }
  .bcc-page-favorites-link {
    min-width: 40px;
    width: 40px;
  }
  .bcc-modal {
    padding: 52px 16px 16px;
  }
  .bcc-modal-inner {
    width: 90vw;
    max-height: calc(86vh - 28px);
    padding-top: 42px;
  }
  .bcc-modal img {
    max-height: calc(86vh - 42px);
    border-radius: 14px;
  }
  .bcc-modal-toolbar {
    gap: 14px;
  }
  .bcc-modal-favorite, .bcc-close {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }
  .bcc-close::before, .bcc-close::after {
    top: 16px;
    left: 9px;
    width: 15px;
  }
  .bcc-modal-number {
    top: 10px;
    left: 20px;
    font-size: 16px;
  }
  .bcc-favorites-panel {
    border-radius: 20px;
    padding: 18px 16px;
  }
  .bcc-favorites-count-label {
    font-size: 16px;
  }
  .bcc-menu-header {
    gap: 8px;
    flex-wrap: wrap;
  }
  .bcc-menu-header .bcc-accordion-toggle, .bcc-menu-header .bcc-price-button {
    height: 44px;
    min-height: 44px;
    font-size: 15px;
  }
  .bcc-menu a, .bcc-menu button {
    width: 100px;
  }
}
@media (max-width: 480px) {
  .bcc-pagination .next a {
    font-size: 0;
  }
  .bcc-pagination .next a::before {
    content: "»";
    font-size: 12px;
  }
  .bcc-pagination, .bcc-pagination ul {
    gap: 5px;
  }
  .bcc-pagination a, .bcc-pagination span {
    min-width: 36px;
    height: 36px;
    font-size: 12px;
    padding: 0 10px;
  }
  .bcc-pagination .prev a, .bcc-pagination .next a {
    padding: 0 10px;
  }
  .bcc-main ul li a, .bcc-main ul li span {
    padding: 0 6px;
  }
}
@media (max-width: 389px) {
  .bcc-main ul li a, .bcc-main ul li span {
    padding: 0 6px;
  }
  .bcc-menu a, .bcc-menu button {
    width: 80px;
  }
}
.bcc-pagination, .bcc-pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 30px 0;
  padding: 0;
  list-style: none;
}
.bcc-pagination li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.bcc-pagination a, .bcc-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
  color: #333;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}
.bcc-pagination a:hover {
  background: #333;
  color: #fff;
  border-color: #333;
}
.bcc-pagination .current, .bcc-pagination span.current {
  background: #333;
  color: #fff;
  border-color: #333;
}
.bcc-pagination .prev a, .bcc-pagination .next a {
  padding: 0 16px;
}
@media (max-width: 768px) {
  .bcc-pagination, .bcc-pagination ul {
    gap: 6px;
    margin: 10px 0;
  }
  .bcc-pagination a, .bcc-pagination span {
    min-width: 40px;
    height: 40px;
    font-size: 13px;
    border-radius: 6px;
  }
}
.bcc-favorites-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.bcc-favorites-page-head h2 {
  margin: 0;
}
.bcc-favorites-home-link {
  display: block;
  align-items: center;
  justify-content: flex-end;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  width: 50%;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, opacity .2s ease;
  text-align: center;
  margin: 20px auto;
  padding: 12px;
}
.bcc-favorites-home-link:hover {
  background: #111827;
  border-color: #111827;
  color: #fff;
}
@media (max-width: 767px) {
  .bcc-favorites-page-head {
    margin-bottom: 14px;
  }
  .bcc-favorites-home-link {
    min-height: 40px;
    width: 100%;
    font-size: 13px;
  }
}
.bcc-page-favorites-heart, .bcc-favorite-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.bcc-page-favorites-heart .bcc-heart-svg, .bcc-favorite-icon .bcc-heart-svg {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}
.bcc-modal-favorite.is-active .bcc-heart-svg, .bcc-page-favorites-link .bcc-heart-svg, .bcc-favorites-link .bcc-heart-svg {
  color: inherit;
}
