/*--------------------------------------------------------------
WooCommerce Single Product Page - Bootscore v6.4.0
--------------------------------------------------------------*/


// Gallery
.woocommerce {

  &-product-gallery__image,
  div.product div.images .flex-control-thumbs img {
    border-radius: var(--#{$prefix}border-radius);
  }

  div.product div.images .flex-control-thumbs {
    display: flex;
    margin-top: $spacer *.5;
    gap: $spacer *.5;
  }
}


// Quantity and add-to-cart-button
.woocommerce {
  div.product form.cart {
    display: flex;
    flex-wrap: wrap;

    div.quantity {
      float: none;
      margin-right: $spacer;
    }
  }

  // Add-to-cart-button
  div.product form.cart .button {
    flex-grow: 1;
  }
}


// Line break in meta (SKU, Category, Tags, Brands etc.)
.product_meta > span {
  display: block;
}


// Reset italic font in product additional information tab
.woocommerce table.shop_attributes td {
  font-style: normal;
}


// Fix related products if no product tab (disabled reviews, no product description, no attributes) is used
.related.products {
  clear: both;
}
