/*size grid link under the sizes*/
.sku_props .size-grid-values-list > li.item.missing {
  display: inline-block !important;
  opacity: 0.3;
}
.sku_props .size-grid-values-list > li.size-grid-unavailable,
.sku_props .size-grid-values-list > li.size-grid-offer-unavailable {
  cursor: default;
  pointer-events: none;
}
.sku_props .size-grid-values-scroller {
  max-height: none;
  overflow: visible;
}

.buy_block .size-grid-link {
  margin: 4px 0 16px;
}
.buy_block .size-grid-link__text {
  color: #999;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.buy_block .size-grid-link__text:hover {
  color: #666;
}
.buy_block .size-grid-link__text:after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 6px;
  border-top: 1px solid;
  border-right: 1px solid;
  transform: rotate(45deg);
  position: relative;
  top: -1px;
}

/*size grid popup*/
.SIZE_GRID_frame.popup {
  width: 100%;
  max-width: 810px;
}
.SIZE_GRID_frame.popup .form .form_head {
  border-bottom: none;
  padding-bottom: 0;
}
.size-grid__table-wrapper {
  overflow-x: auto;
}
.size-grid__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.size-grid__table th {
  padding: 0 10px 12px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  color: #333;
  color: var(--white_text_black);
  border-bottom: 2px solid #e5e5e5;
}
.size-grid__table td {
  padding: 13px 10px;
  text-align: center;
  white-space: nowrap;
  color: #333;
  color: var(--white_text_black);
}
.size-grid__buy.btn {
  display: block;
  width: 100%;
  margin-top: 24px;
}

/*stock under the buy buttons*/
.catalog_detail .product-main .js-prices-in-side + .quantity_block_wrapper,
.catalog_detail .product-main .js-prices-in-item + .quantity_block_wrapper {
  margin-top: 12px;
}
.catalog_detail .item-stock.item-stock--stores .value,
.catalog_detail .item-stock.item-stock--stores .value .store_view {
  color: #4aa546;
}
.catalog_detail .product-main .quantity_block_wrapper .item-stock.item-stock--stores {
  display: flex;
  width: 100%;
  max-width: 100%;
  white-space: normal;
}
.catalog_detail .product-main .item-stock.item-stock--stores .value,
.catalog_detail .product-main .item-stock.item-stock--stores .value .store_view {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}
