.block-product-card {
  position: relative;
}

.block-product-card.product-card-style--card {
  background-color: rgb(var(--color-card-background));
}

@media (max-width: 959px) {
  .block-product-card button.block-product-buy-button {
    padding: 9.21px 20px;
  }
}
/* USWING: card variant thumbnails, shared by menu and product grids. */
theme-product-card .uswing-single-option { display: none !important; }
theme-product-card .variant-picker__options { gap: 6px; padding: 4px 1px; }
theme-product-card .variant-picker__button--image { width: 52px; height: 44px; padding: 3px; background: #fff; border-radius: 4px; }
theme-product-card .variant-picker__image { width: 100%; height: 100%; object-fit: contain; }
theme-product-card .variant-picker__button--image img { object-fit: contain; }
theme-product-card .variant-picker__option input:focus-visible + span,
theme-product-card .variant-picker__option input:focus-visible + theme-popover { outline: 2px solid currentColor; outline-offset: 3px; }
theme-product-card .variant-picker__group-head { margin-top: 6px; }

/* Single-row choices with a counted overflow link. */
theme-product-card .block-product-variant-picker .variant-picker__options { flex-wrap: nowrap; min-width: 0; max-width: 100%; overflow: hidden; }
theme-product-card .variant-picker__option { flex: 0 0 auto; }
theme-product-card .uswing-variant-overflow { display: none !important; }
theme-product-card .uswing-variant-more { flex: 0 0 44px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid currentColor; border-radius: 4px; font-size: 13px; text-decoration: none; }
theme-product-card .uswing-variant-more[hidden] { display: none; }

/* One visible dimension for the entire card; full configuration stays on the product page. */
theme-product-card theme-variant-radio-picker .variant-picker__group:not(.uswing-single-option) ~ .variant-picker__group { display:none !important; }

theme-product-card .block-product-variant-picker .variant-picker__button--image { width:52px; height:44px; padding:3px; }

/* USWING: compact square variant choices only inside navigation product cards. */
theme-product-card[data-uswing-menu-card="true"] .block-product-variant-picker .variant-picker__button--image {
  box-sizing: border-box;
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  padding: 1px;
}
theme-product-card[data-uswing-menu-card="true"] .uswing-variant-more {
  box-sizing: border-box;
  flex-basis: 28px;
  width: 28px;
  height: 28px;
}

/* Keep menu hover feedback active over the entire card, using only its selected variant pair. */
@media (min-width: 960px) {
  theme-product-card[data-uswing-menu-card="true"]:hover .desktop-hover .block-product-image__image:nth-of-type(1) { opacity: 0; }
  theme-product-card[data-uswing-menu-card="true"]:hover .desktop-hover .block-product-image__image:nth-of-type(2) { opacity: 1; }
}

/* USWING: mobile product-card choices match the navigation's 28px squares. */
@media (max-width: 959px) {
  theme-product-card .block-product-variant-picker .variant-picker__button--image {
    box-sizing: border-box;
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    padding: 1px;
  }
  theme-product-card .uswing-variant-more {
    box-sizing: border-box;
    flex-basis: 28px;
    width: 28px;
    height: 28px;
  }
}
