/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/


/* ======================================================================
   SINGLE PRODUCT PAGE
   ====================================================================== */

/* paypal 
#ppcp-hosted-fields [id^="zoid-paypal-"]{
  border: 0.0625rem solid #000000 !important;
  border-radius: 18px !important;
  overflow: hidden !important;     
  background: #fff !important;     
  width: 100% !important;
  box-sizing: border-box !important;
}

#ppcp-hosted-fields [id^="zoid-paypal-"] > iframe{
  border: 0 !important;
  border-radius: 18px !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

#ppcp-hosted-fields [id^="zoid-paypal-"]{
  height: 54px !important;         }

#ppcp-hosted-fields [id^="zoid-paypal-"]:focus-within{
  outline: 0 !important;
  box-shadow: 0 0 0 3px rgba(0,0,0,.15) !important;
} */
/* custom product template */

#product-price .price {
	display: flex!important;
	flex-direction: row-reverse;
	align-content: center;
	align-items: center;
	gap: 13px;
}

#add-to-cart .cart {
	display: flex!important;
	gap: 13px;
}

#add-to-cart .cart .quantity {
	width: 25%;
	color: #000;
}

#add-to-cart .cart .single_add_to_cart_button {
	width: 85%;
	border-radius: var(--radius-xs, 4px);
	background: var(--Color-2, #F37731);
	padding: var(--space-xs, 13.3px) var(--space-m, 30px);
	color: #fff;
	font-weight: 600;
	line-height: 150%;
}

/* hover: black bg + white text */
#add-to-cart .cart .single_add_to_cart_button:hover {
	background: #000;
	color: #fff;
}

#add-to-cart .cart .info_button {
	display: none!important;
}

.woocommerce-product-gallery.woocommerce-product-gallery--with-images .product_meta,
.woocommerce-product-gallery.images .product_meta{
  font-family: "Albert Sans" !important;
  font-size: 16px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 150% !important;
}

.woocommerce-product-gallery.woocommerce-product-gallery--with-images .product_meta a,
.woocommerce-product-gallery.images .product_meta a{
  font-family: "Albert Sans" !important;
  font-size:  14px!important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 150% !important;
  text-decoration: none;
}

.woocommerce-product-gallery.woocommerce-product-gallery--with-images .product_meta a:hover,
.woocommerce-product-gallery.images .product_meta a:hover{
  text-decoration: underline;
}

/* breadcrumb links */
#single-product-crumbs .navigation{
  color: var(--Color-2, #F37731);
  font-family: var(--Typeface-Family-Body, Inter);
  font-size: var(--Typeface-Size-M, 13px);
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
}

#single-product-crumbs .navigation a{
  color: var(--Neutral-neutral, #161616);
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

#single-product-crumbs .navigation .separator{
  color: var(--Neutral-neutral, #161616);
}

.type-product .woocommerce-tabs {
	max-width: 1400px;
}

#brxe-zaxtad.product_meta .text a:hover{
  color: #F37C3B;
	text-decoration: underline;
}

#brxe-zaxtad.product_meta .text a:hover,
#under-gallery-meta.product_meta .text a:hover{
  color: #F37C3B;
}

#brxe-eoyybg a.woocommerce-review-link .count{
  color: inherit;
  font-weight: 700;
	text-decoration: underline!important;
}

#brxe-eoyybg a.woocommerce-review-link:hover,
#brxe-eoyybg a.woocommerce-review-link:hover .count{
  color: #F37C3B;
}

/* custom anchors */
.sf-anchor-tabs{
  width: 100%;
}

.sf-anchor-tabs-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
	justify-content: center;
	margin-bottom: 35px;
}

.sf-anchor-tabs-item{
  margin: 0;
  padding: 0;
}

.sf-anchor-tabs-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;             
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.70);
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}

.sf-anchor-tabs-link:hover,
.sf-anchor-tabs-link:focus{
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.22);
  outline: none;
}

@media (max-width: 600px){
  .sf-anchor-tabs-list{ gap: 8px; }
  .sf-anchor-tabs-link{
    padding: 10px 12px;
    font-size: 14px;
  }
}

.sf-anchor-tabs-link:hover{ text-decoration: none; }

#under-gallery-meta {
  color: var(--Neutral-neutral-80, rgba(22, 22, 22, 0.80));
  font-size: var(--Typeface-Size-M, 18px);
  line-height: 150%;
}

#under-gallery-meta .prefix{
  color: var(--Neutral-neutral-80, rgba(22, 22, 22, 0.80));
  font-family: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--Typeface-Size-M, 18px);
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
}

#under-gallery-meta .text,
#under-gallery-meta .text a{
  color: var(--Neutral-neutral-80, rgba(22, 22, 22, 0.80));
  font-family: "Wanted Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--Typeface-Size-M, 18px);
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}

#under-gallery-meta .text a{
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

#under-gallery-meta .text a:hover{
  color: var(--Neutral-neutral-80, rgba(22, 22, 22, 0.80));
}

#product-price .price ins,
#product-price .price > span.woocommerce-Price-amount {
  color: #f37731!important;
  font-size: 18px;
  font-family: "Albert Sans";
  font-weight: 700;
  line-height: 120%;
  text-decoration: none;
}

#product-price .price del,
#product-price .price del .woocommerce-Price-amount {
  color: #a2a2a2;
  font-size: 18px;
  font-family: "Albert Sans";
  font-weight: 400;
  line-height: 150%;
}

/* OLD price: */
#product-price .price del .woocommerce-Price-amount,
#product-price .price del .woocommerce-Price-amount bdi {
  position: relative;
  display: inline-block;
  text-decoration: none !important;
}

#product-price .price del .woocommerce-Price-amount::after,
#product-price .price del .woocommerce-Price-amount bdi::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  top: 50%;
  height: 2px;                
  background: currentColor;  
  transform: translateY(-50%);
  pointer-events: none;
}

/* NEW price  */
#product-price .price ins,
#product-price .price ins * {
  text-decoration: none !important;
}

#product-price .price del {
  opacity: 1;
}

#product-price .price del + ins {
  margin-left: 10px;
}

.wa-between-title-and-price{
  margin: -6px 0 0;
  padding: 8px 0 8px 0;
  font-size: 13px;
  line-height: 1.35;
  opacity: .9;
}

.wa-between-title-and-price .wa-loop-brand,
.wa-between-title-and-price .wa-loop-sku{
  margin: 0;
}

.single-product #single-product-crumbs,
.single-product #single-product-crumbs.brxe-woocommerce-breadcrumbs,
.single-product #single-product-crumbs.brxe-woocommerce-breadcrumbs nav{
  background: linear-gradient(180deg, var(--wa-surface-2, #f7f8fb), var(--wa-bg, #ffffff)) !important;

  border-radius: var(--wa-radius, 16px) !important;
  padding: 10px 14px !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
}

.single-product #single-product-crumbs nav{
  display: block !important;
}

.product-breadcrumbs-div {
	  border: 1px solid var(--wa-border, rgba(15,23,42,.12)) !important;
  border-radius: var(--wa-radius, 16px) !important;
}

/** product page */
.single-product {
  font-family: "Albert Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
}

.single-product #primary .site-main {
  padding: 22px 16px 44px;
}

.single-product #primary .product {
  max-width: 1200px;
  margin: 0 auto;
}

.single-product .woocommerce-breadcrumb {
  max-width: 1200px;
  margin: 0 auto 24px;
  font-size: 12px;
  color: #667085;
}

.single-product .woocommerce-breadcrumb a { color: inherit; text-decoration: none; }

.single-product .woocommerce-breadcrumb span { margin: 0 8px; opacity: .6; }

.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 22px;
  overflow: hidden;
}

.woocommerce-tabs {
  border: none !important;
  padding: 0 !important;
}

.woocommerce-tabs .wc-tabs li {
  border: none !important;
  padding: 0 !important;
}

.single-product .woocommerce-tabs .tabs li.active a {
  border: none !important;
}

/* product gallery: stop flexslider clipping the slide "card" */
.single-product .woocommerce-product-gallery .flex-viewport {
  height: auto !important;
  overflow: hidden !important;
}

.single-product .summary .stock {
  margin: 0px;
}

.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.single-product .woocommerce-product-gallery__wrapper {
  padding-bottom: 14px;
}

.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image {
  margin-bottom: 14px;
  box-sizing: border-box;
}

.single-product .flex-control-thumbs {
  margin: 14px 0 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.single-product .flex-control-thumbs li {
  margin: 0 !important;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.single-product .flex-control-thumbs img {
  width: 100%;
  height: 86px;
  object-fit: cover;
}

.single-product .summary.entry-summary {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 !important;
}

.single-product .summary .product_title {
  order: 1;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 800;
  color: #101828;
  margin: 0;
}

.single-product .summary .woocommerce-product-rating {
  order: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 !important;
}

.product_meta {
  order: 2;
}

.single-product .summary > .product_meta {
  order: 3;
  margin: 0 !important;
  font-size: 12px;
  color: #667085;
}

.single-product .summary > .product_meta .posted_in {
  display: inline-flex;
  gap: 6px;
}

.single-product .summary > .product_meta .posted_in a {
  color: #344054;
  text-decoration: none;
}

.single-product .summary > p.price {
  order: 4;
  margin: 0 !important;
  font-size: 20px;
  font-weight: 800;
}

.single-product .summary > p.price del { color: #98A2B3; font-weight: 600; margin-right: 8px; }

.single-product .summary > p.price ins { color: #f97316; text-decoration: none; }

.single-product .summary > p.price[style*="display:none"] { display: none !important; }

.single-product .summary > form.cart[style*="display:none"] { display: none !important; }

.single-product .summary > hr {
  order: 4;
  border: 0;
  border-top: 1px solid #eaecf0;
  margin: 6px 0 0;
}

.single-product .summary .woocommerce-product-details__short-description {
  order: 5;
  padding: 14px 0;
  margin: 0;
  color: #344054;
  font-size: 14px;
}

.single-product .summary .woocommerce-product-details__short-description ul {
  margin: 0;
  padding-left: 18px;
  font-family: 'Albert Sans';
  font-style: normal;
  font-weight: 400;
  line-height: 125%; /* 27px */
}

.single-product .summary .woocommerce-product-details__short-description li { margin: 6px 0; }

.single-product .summary form.cart {
  order: 6;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  align-items: stretch;
  margin: 0 !important;
}

.single-product .summary .product_meta {
  border-top-style: none !important;
  padding-top: 0 !important;
}

.single-product .summary form.cart .quantity {
  position: relative;
  width: 120px;
}

.single-product .summary form.cart .quantity .qty {
  width: 100%;
  text-align: center;
}

.single-product .summary form.cart .single_add_to_cart_button {
  height: 100%;
  width: 100%;
  border-radius: 10px;
  background: #f97316;
  border: 0;
  font-weight: 800;
  color: #fff;
}

.single-product .summary form.cart .single_add_to_cart_button:hover {
  color: #ffffff;
  background: #000;
}

.single-product .summary form.cart .info_button {
  display: none !important;
}

.single-product .summary .ppcp-messages {
  order: 7;
  margin-top: 0 !important;
}

.single-product .summary .product-page-stamps {
  order: 8;
  margin-top: 6px;
}

.single-product .summary .product-page-stamps img {
  max-width: 74px;
  height: auto;
  margin-right: 10px;
}

.single-product .woocommerce-tabs {
  max-width: 1200px;
  margin: 32px auto 0;
}

.single-product .woocommerce-tabs .tabs {
  display: flex;
  justify-content: center;
  gap: 28px;
  border-bottom: 1px solid #eaecf0;
  padding: 0 0 10px !important;
}

.single-product .woocommerce-tabs .tabs li {
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

.single-product .woocommerce-tabs .tabs a {
  text-decoration: none;
  color: #667085;
  font-weight: 700;
  padding: 0 !important;
  display: inline-block;
}

.single-product .woocommerce-tabs .tabs li.active a {
  color: #101828;
  border-bottom: 2px solid #101828;
}

.single-product .woocommerce-product-rating {
  --bricks-text-medium: #FEC00F;
}

.single-product .woocommerce-product-rating .star-rating,
.single-product .woocommerce-product-rating .star-rating::before,
.single-product .woocommerce-product-rating .star-rating span::before {
  color: #FEC00F !important;
}

.sku_wrapper {
  color: #090909;
  font-family: "Albert Sans";
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}

.single-product .product_meta .posted_in {
  color: rgba(22, 22, 22, 0.80);
  font-family: "Albert Sans" !important;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}

.single-product .product_meta .posted_in a {
  color: inherit;
  font-weight: 400;
  text-decoration: none;
}

.single-product .product_meta .posted_in:first-child {
  font-size: 0 !important;
}

.single-product .product_meta .posted_in:first-child::before {
  content: "Categories:";
  display: inline;
  color: rgba(22, 22, 22, 0.80);
  font-family: "Albert Sans" !important;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  margin-right: .35em;
}

.single-product .product_meta .posted_in:first-child a,
.single-product .product_meta .posted_in:first-child span,
.single-product .product_meta .posted_in:first-child {
  font-size: 14px;
  text-decoration: underline;
}

.single-product .product_meta .posted_in:nth-child(2) {
  font-size: 0;
}

.single-product .product_meta .posted_in:nth-child(2)::before {
  content: "Brand:";
  color: rgba(22, 22, 22, 0.80);
  font-family: "Albert Sans" !important;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  margin-right: .35em;
}

.single-product .product_meta .posted_in:nth-child(2) a,
.single-product .product_meta .posted_in:nth-child(2) span {
  font-size: 14px;
  text-decoration: underline;
}

/*.ppcp-messages,
.ppcp-messages button {
  display: block !important;
  width: 100% !important;
}

.ppcp-messages iframe {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}

.ppcp-messages {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
} */
.woocommerce-tabs .panel {
  padding: 30px 0 !important;
}

.woocommerce-Tabs-panel--description ul {
  column-count: 2;
  column-gap: 40px;
  column-fill: balance;
  margin: 0;
  padding-left: 1.2em;
}

.woocommerce-Tabs-panel--description ul li {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}

@media (max-width: 768px) {
  .woocommerce-Tabs-panel--description ul {
    column-count: 1;
  }
}

.woocommerce-Tabs-panel--description img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 18px 0;
}

.woocommerce-Tabs-panel--description a:has(img) {
  display: block;
}

.woocommerce-Tabs-panel--description .alignnone,
.woocommerce-Tabs-panel--description .aligncenter,
.woocommerce-Tabs-panel--description .alignleft,
.woocommerce-Tabs-panel--description .alignright {
  float: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

p.stock.in-stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.28);
  color: #166534;
  font-family: "Albert Sans", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  margin: 10px 0 0 0;
  width: fit-content;
}

p.stock.in-stock::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

p.stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-family: "Albert Sans", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  margin: 10px 0 0 0;
  width: fit-content;
}

p.stock.in-stock {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.28);
  color: #166534;
}

p.stock.in-stock::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

p.stock.out-of-stock,
p.stock.outofstock {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.28);
  color: #991b1b;
}

p.stock.out-of-stock::before,
p.stock.outofstock::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18);
}


/* ======================================================================
   RELATED PRODUCTS
   ====================================================================== */

section.related.products ul.products.columns-4 li.product,
section.related.products ul.products.columns-4 li.product .wa-loop-card{
  height: 100%;
}

section.related.products ul.products.columns-4 li.product .wa-loop-card{
  display: flex;
  flex-direction: column;
}

section.related.products ul.products.columns-4 li.product .wa-loop-image{
  display: block;
  width: 100%;
  aspect-ratio: 6/6;   
  overflow: hidden;
  border-radius: 12px;  
}

section.related.products ul.products.columns-4 li.product .wa-loop-image img{
  width: 100%;
  height: 100%;
  display: block;
}

section.related.products .wa-loop-card {
	border: 0px!important;
}

section.related.products ul.products.columns-4 li.product .wa-loop-data{
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.cross-sells img, .related.products img, .upsells.products img {
	object-fit: contain!important;
}

section.related.products ul.products.columns-4 li.product .wa-loop-actions{
  margin-top: auto;
}

/*** related products ****/
section.related.products {
  margin-top: 20px;
}

section.related.products > h2 {
  font-family: "Albert Sans", sans-serif;
  font-weight: 700;
  margin-bottom: 16px;
}

section.related.products ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 25px 0;
  padding: 0;
}

@media (max-width: 1024px) {
  section.related.products ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  section.related.products ul.products { grid-template-columns: 1fr; }
}

section.related.products ul.products > li.product {
  list-style: none;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  height: 100%;
  margin: 0 !important;
}

section.related.products ul.products > li.product {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch;
}

section.related.products li.product a.woocommerce-LoopProduct-link {
  display: block;
}

section.related.products li.product a.woocommerce-LoopProduct-link + a.button {
  margin-top: auto !important;
}

section.related.products li.product a.button + a.button {
  margin-top: 10px !important;
}

section.related.products li.product .woocommerce-loop-product__title,
section.related.products li.product .star-rating,
section.related.products li.product .price {
  margin-bottom: 10px;
}

section.related.products li.product a.woocommerce-LoopProduct-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

section.related.products li.product a.woocommerce-LoopProduct-link img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 14px;
  background: #fff;
  margin: 0 0 14px 0;
}

section.related.products li.product .woocommerce-loop-product__title {
  font-family: "Albert Sans", sans-serif;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
  margin: 0 0 10px 0;
}

section.related.products li.product .price {
  font-family: "Albert Sans", sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 14px 0;
}

section.related.products li.product .star-rating span::before {
  color: #FEC00F !important;
}

section.related.products li.product .button,
section.related.products li.product a.button {
  font-family: "Albert Sans", sans-serif;
  border-radius: 8px;
  padding: 20px 14px;
  line-height: 1;
  margin-top: 10px !important;
  width: 100%;
  text-align: center;
}

section.related.products li.product a.button.info_button {
  margin-left: 0 !important;
  padding: 5px !important;
}

section.related.products li.product.outofstock a.woocommerce-LoopProduct-link img {
  opacity: .65;
}

section.related.products li.product a.button.product_type_simple,
section.related.products li.product a.button.add_to_cart_button,
section.related.products li.product a.button.ajax_add_to_cart {
  background: #44949C !important;
  border-color: #44949C !important;
  color: #fff !important;
}

section.related.products li.product a.button.product_type_simple:hover,
section.related.products li.product a.button.add_to_cart_button:hover,
section.related.products li.product a.button.ajax_add_to_cart:hover {
  background: #000 !important;
  border-color: #000 !important;
  color: #fff !important;
}

section.related.products li.product a.button.info_button:hover {
  color: #000 !important;
}

section.related.products li.product a.button.info_button {
  padding: 5px !important;
  color: #D3D3D3 !important;
}

/* make the li the positioning context */
section.related.products ul.products > li.product {
  position: relative;
}

/* top-left badge on the whole card (out of stock only) */
section.related.products ul.products > li.product.outofstock::before {
  content: "SOLD!";
  position: absolute;
  top: -18px;
  left: -12px;
  z-index: 5;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #f04438;
  color: #fff;
  border: 2px solid rgba(255,255,255,.35);
  font-family: "Albert Sans", sans-serif;
  font-weight: 900;
  font-size: 10px;
  line-height: 1;
  pointer-events: none;
}

/* sale badge on normal woocommerce loops (e.g. related products) */
section.related.products ul.products > li.product .onsale {
  position: absolute;
  top: -18px;
  left: -12px;
  z-index: 5;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #f97316;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.35);
  font-family: "Albert Sans", sans-serif;
  font-weight: 900;
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0;
}

section.related.products ul.products > li.product {
  position: relative;
}
