/*--------------------------------------------------------------
WooCommerce Product Page - Bootscore v6.3.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
.product_meta .sku_wrapper::after,
.product_meta .posted_in::after {
  content: "\A";
  white-space: pre;
}

// 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;
}
