/*
This CSS file is used to apply styles to the product display output. 
Used by the [asp_product] shortcode. Also used by the individual custom post type (CPT) page of the product.
CSS class names should use dashes. Example: asp-product-description
*/
.asp_product_item {
    display: block;
    border: 1px solid #E7E9EB;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 15px;
}
.asp_product_item_thumbnail img {
    width: 75px;
    height: 75px;
    float: left;
    margin-right: 10px;
    object-fit: cover;
}

.asp_product_name {
    float: left;
    font-size: 24px;
    font-weight: bold;
    line-height: 75px;
}

.asp_product_description {
    margin: 15px 0 15px 0;
    border-bottom: 1px solid #EEEEEE;
}

.asp_price_container {
    font-weight: bold;
    margin: 5px 0px;
}

.asp_price_container .asp_under_price_line {

}

.asp_product_item_amount_input_container, .asp_product_custom_field_input_container, .asp_product_currency_input_container{
    margin: 5px 0 10px 0;
}

.asp_product_item_qty_input_container{
    margin: 10px 0;
}
.asp_product_item_qty_input{
    max-width: 50px;
}

/* Post Item */
.asp_post_item {
    width: 90%;
}
.asp_post_item_top {
    display: block;
}

.asp_post_thumbnail img {
    width: 100%;
    border: 1px solid #e8e4e3;
    padding: 5px;
}

.asp_post_title {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Buttons */
.asp_product_buy_btn_container {
  width: clamp(255px, 34rem, 340px);
}

.asp_product_buy_btn.blue {
  background-color: #FFD900;
  color: #000;
  cursor: pointer;
  border-radius: clamp( 22px, 4.4rem, 44px );
  line-height: clamp( 44px, 8.8rem, 88px );
  text-align: center;
  max-width: clamp( 255px, 34rem, 340px );
  width: 100%;
}

.asp_product_buy_btn.blue span {
  display: inline-block;
  font-size: clamp(16.5px, 2.2rem, 22px);
  font-weight: 600;
  letter-spacing: 0.175em;
  position: relative;
}

.asp_product_buy_btn.blue span::before {
  background-color: #000;
  border-radius: 50%;
  bottom: 0;
  content: "";
  display: block;
  height: clamp(18.75px, 2.5rem, 25px);
  margin: auto 0;
  position: absolute;
  right: clamp(-7.5px, -1rem, -10px);
  top: 0;
  transform: translateX(100%);
  width: clamp(18.75px, 2.5rem, 25px);
}

.asp_product_buy_btn.blue span::after {
  background-color: #FFF;
  bottom: 0;
  -webkit-clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
          clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
  content: "";
  display: block;
  height: clamp(6px, 0.8rem, 8px);
  margin: auto 0;
  position: absolute;
  right: clamp(-15px, -2rem, -20px);
  top: 0;
  transform: translateX(100%);
  width: clamp(6px, 0.8rem, 8px);
}