.block-products__card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--ib-line);
  border-radius: var(--ib-radius);
  background: var(--ib-bg);
  overflow: hidden;
  transition: border-color var(--ib-motion) var(--ib-ease), box-shadow var(--ib-motion) var(--ib-ease);
}

.block-products__card:hover {
  border-color: var(--ib-accent);
  box-shadow: var(--ib-shadow);
}

.block-products__visual {
  --products-glass: rgba(255, 255, 255, .6);
  --products-glass-hover: #fff;
  --products-glass-ink: #0f1115;
  --products-glass-shadow: 0 0 2px rgba(15, 23, 42, .3);
  position: relative;
}

.block-products__lists {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
}

.block-products__lists .shop-list-actions {
  flex-direction: column;
  gap: 6px;
  margin: 0;
}

.block-products__lists .shop-list-btn {
  width: 36px;
  height: 36px;
  padding: 0;
  justify-content: center;
  border: 0;
  background: var(--products-glass);
  color: var(--products-glass-ink);
  box-shadow: var(--products-glass-shadow);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.block-products__lists .shop-list-btn:hover,
.block-products__lists .shop-list-btn:focus-visible {
  background: var(--products-glass-hover);
  color: var(--products-glass-ink);
}

.block-products__lists .shop-list-btn.is-active {
  background: var(--products-glass-hover);
  color: var(--ib-danger-solid, #c0392b);
}

.block-products__lists .shop-list-btn--compare.is-active {
  color: var(--ib-accent);
}

.block-products__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background: var(--ib-bg-soft);
  overflow: hidden;
}

.block-products__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ib-ease);
}

.block-products__card:hover .block-products__photo {
  transform: scale(1.04);
}

.block-products__blank {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.block-products__blank-glyph {
  width: 48px;
  height: 48px;
  color: var(--ib-line);
}

.block-products__badge {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 5px 10px;
  border-radius: 3px;
  background: var(--ib-accent);
  color: var(--ib-accent-contrast);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.block-products__badge--muted {
  background: var(--ib-muted);
}

.block-products__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px 18px;
}

.block-products__options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 4px 0 2px;
}

.block-products__option {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.block-products__value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 30px;
  padding: 0 10px;
  border: 1px solid var(--ib-line);
  border-radius: var(--ib-radius);
  background: var(--ib-bg);
  color: var(--ib-fg);
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition: border-color var(--ib-motion) var(--ib-ease), box-shadow var(--ib-motion) var(--ib-ease);
}

.block-products__value:hover {
  border-color: var(--ib-fg);
}

.block-products__value.is-selected {
  border-color: var(--ib-accent);
  box-shadow: inset 0 0 0 1px var(--ib-accent);
}

.block-products__value--swatch {
  width: 30px;
  min-width: 30px;
  padding: 3px;
  border-radius: 50%;
}

.block-products__swatch {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: inset 0 0 0 1px rgba(15, 17, 21, .12);
}

.block-products__card.is-switching .block-products__media,
.block-products__card.is-switching .block-products__price {
  opacity: .55;
  transition: opacity var(--ib-motion) var(--ib-ease);
}

.block-products__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.block-products__cat {
  min-width: 0;
  overflow: hidden;
  color: var(--ib-muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.block-products__meta .shop-stars {
  flex: none;
  margin-left: auto;
}

.block-products__meta .shop-stars__star {
  width: 13px;
  height: 13px;
}

.block-products__name {
  margin: 0;
  font-family: var(--ib-font-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.block-products__name a {
  color: inherit;
  text-decoration: none;
}

.block-products__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 2px;
}

.block-products__price b {
  font-family: var(--ib-font-display);
  font-size: 17px;
}

.block-products__price s {
  color: var(--ib-muted);
  font-size: 14px;
}

.block-products__more {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

.block-products__media {
  position: relative;
  overflow: hidden;
  display: block;
}

.pc-gallery {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}

.pc-gallery__track {
  display: flex;
  height: 100%;
  transition: transform .32s cubic-bezier(.22, .61, .36, 1);
}

.pc-gallery__track.is-dragging {
  transition: none;
}

.pc-gallery__img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
}

.pc-gallery__dots {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 10px;
  display: flex;
  gap: 4px;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}

.pc-gallery__dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .6);
  box-shadow: 0 0 2px rgba(15, 23, 42, .3);
  transition: width .2s ease, background .2s ease;
}

.pc-gallery__dots span.is-active {
  width: 16px;
  border-radius: 3px;
  background: #fff;
}

.block-products__action {
  margin-top: auto;
  padding-top: 14px;
}

.block-products__action .btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 767px) {
  .block-products__meta {
    flex-wrap: wrap;
    gap: 4px 8px;
  }

  .block-products__cat {
    white-space: normal;
  }

  .block-products__meta .shop-stars {
    margin-left: 0;
  }

  .block-products__options {
    gap: 6px;
  }

  .block-products__option {
    gap: 5px;
  }

  .block-products__value {
    min-width: 0;
    height: 26px;
    padding: 0 7px;
    font-size: 12px;
  }

  .block-products__value--swatch {
    width: 24px;
    min-width: 24px;
    padding: 2px;
  }
}
