/* 
 Theme Name:     Bare bones for Divi
 Author:         Divi theme examples
 Author URI:     http://www.divithemeexamples.com 
 Template:       Divi
 Version:        1.0 
*/ 

/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */ 

.pcbdw-bottom-description-content{
	padding-bottom:2%;
}

body p.stock.out-of-stock {
  font-size: 22px !important;
}

.et_pb_section {
  padding: 0%;
}

/* Controls homepage mini images */
.homepage-minis {
  width: 100%;
  max-width: 400px;
  height: auto;
  aspect-ratio: 5 / 3;
  display: block;
  padding-bottom: 3%;
}

/* Controls header size for 'recently updated' shortcode */
ul.recent-updated-products .woocommerce-loop-product__title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

/* Controls header size for 'bulk discount' shortcode */
.bulk-discount-message-header {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  padding-top: 3%;
}

/* Remove category count in WooCommerce */
ul.products .count {
  display: none !important;
}

/* Make WooCommerce price font bigger */
.woocommerce-variation-price {
  font-size: 35px;
  text-decoration: underline;
  padding-bottom: 5%;
}

/* Rebalance tags/categories/size class as new lines */
.woocommerce div.product .product_meta > span {
  display: block;
  margin-bottom: 0.1em;
}

/* Hide the phone icon and phone number */
#et-info-phone {
  display: none !important;
}

/* Pad the bottom of the product description in categories */
.term-description {
  padding-bottom: 2%;
}

/* Makes the categories table work */
.divTable {
  display: table;
  width: 100%;
  padding-bottom: 2%;
}
.divTableRow {
  display: table-row;
}
.divTableHeading {
  background-color: #EEE;
  display: table-header-group;
  font-weight: bold;
}
.divTableCell,
.divTableHead {
  border: 1px solid #999999;
  display: table-cell;
  padding: 3px 10px;
}
.divTableFoot {
  background-color: #EEE;
  display: table-footer-group;
  font-weight: bold;
}
.divTableBody {
  display: table-row-group;
}

/* Space out the checkout a bit */
.woocommerce-billing-fields {
  padding-top: 5%;
}
#order_review_heading {
  padding-top: 5%;
}

/* Top padding for main content */
#main-content .container {
  padding-top: 2%;
}

.country_display_all {
  padding-top: 2%;
}

/* Hide the additional information tab */
li.additional_information_tab {
  display: none !important;
}

/* Header background */
#top-header,
#et-secondary-nav li ul {
  background-color: #000 !important;
}

/* Set price text to black */
.price,
.price .woocommerce-Price-amount,
.price .woocommerce-Price-amount .woocommerce-Price-currencySymbol {
  color: #000000 !important;
}

/* Desktop-specific padding for sections */
@media (min-width: 981px) {
  .et_pb_section {
    padding: 1% 0 !important;
  }
}

/* Widen product archive layout */
body.woocommerce.archive .et_pb_row,
body.woocommerce.archive .container {
  max-width: 1650px !important;
  width: 80% !important;
  padding-left: 1%;
  padding-right: 1%;
  margin: 0 auto;
}

/* Widen the main container on single product pages */
body.single-product .et_pb_row,
body.single-product .container,
body.single-product .woocommerce div.product {
  max-width: 1650px !important;
  width: 80% !important;
  margin: 0 auto;
  padding-left: 1%;
  padding-right: 1%;
}

/* Desktop-only navigation layout and font size */
@media (min-width: 981px) {
  #et-top-navigation {
    position: relative;
    display: flex;
    justify-content: flex-start;
    padding-left: 0 !important;
    padding-right: 9% !important;
  }

  #top-menu-nav {
    flex: 1 1 auto;
  }

  .et_top_search {
    position: relative !important;
    display: inline-block;
    margin-left: auto;
  }

  #top-menu li a {
    font-size: 14px !important;
  }
}
/* General Sale Badge Styles — Forces consistency site-wide */
body .onsale {
    position: absolute;
    top: 10px !important;
    left: 10px !important;

    display: inline-block !important;
    padding: 5px 12px !important;

    font-size: 12px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;

    color: #fff !important;
    background-color: #d32f2f !important;

    border-radius: 4px !important;

    box-shadow: 0px 1px 3px rgba(0,0,0,0.2) !important;
    text-align: center !important;

    transition: background-color 0.3s ease, transform 0.2s ease !important;
}

body .onsale:hover {
    background-color: #c62828 !important;
    transform: scale(1.03) !important;
}



/* adds in radioactivity and toxicity labels*/ 
.afi-hazard-label {
    margin-top: 8px;
    padding: 6px 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    background: #ffe9e9;
    gap: 6px;
}

.afi-radioactive {
    background: #fff3d6;
	padding-right:1%;
}

.afi-toxic {
    background: #ffd4d4;
}
