/**
===== Theme Settings =====

=== Variables ===
--theme-pri-color
--theme-pri-bg-text-color
--theme-pri-bg-text-hover-color
--theme-sec-color
--theme-sec-bg-text-color
--theme-sec-bg-text-hover-color
--theme-success-color
--theme-fail-color
--theme-warning-color
--theme-body-bg-color

**/
/*
Template: Grid Box - Poducts

TODO we shouldnt need this because we should use the WooCommerce styles instead so it works on archive pages as well
*/
.box-template-products-table {
  display: table !important;
  width: 100%;
  border-collapse: collapse;
}
.box-template-products-table .v-grid-box {
  display: table-row;
  background: var(--theme-light-gray, #eaeaea);
  border-collapse: separate;
}
.box-template-products-table .v-grid-box > * {
  display: table-cell;
  max-width: 100%;
  padding: 0.5rem;
  vertical-align: middle;
}
.box-template-products-table .v-grid-box:nth-child(even) {
  background: var(--theme-medium-gray, #d9d9d9);
}
.box-template-products-table .v-grid-box a, .box-template-products-table .v-grid-box h3 {
  font-size: 0.9rem;
  margin: 0;
}
.box-template-products-table .v-grid-box small {
  font-size: 0.8rem;
  font-weight: 300;
}
.box-template-products-table .v-grid-box .image {
  width: 5rem;
  height: 5rem;
  padding-bottom: 0;
  z-index: 1;
}
.box-template-products-table .v-grid-box .image .onsale {
  position: absolute;
  top: -1rem;
  left: -1rem;
  background: #d2d52c;
  z-index: 10;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 2.5rem;
  line-height: 2.5rem;
  font-size: 0.8rem;
  text-align: center;
  font-weight: bold;
  color: #555555;
}
.box-template-products-table .v-grid-box .box-title {
  width: 30rem;
  flex: 1;
}
.box-template-products-table .v-grid-box .product-actions {
  display: flex;
  padding-top: 0;
  border: none;
}
.box-template-products-table .v-grid-box .product-actions > a, .box-template-products-table .v-grid-box .product-actions > button {
  position: relative;
}
.box-template-products-table .v-grid-box .product-actions .text {
  display: none;
}
.box-template-products-table .v-grid-box .product-actions .buy-now .v-icon {
  display: inline-block;
}
.box-template-products-table .v-grid-box .product-actions .v-icon {
  margin: 0;
}
.box-template-products-table .v-grid-box .woocommerce-Price-amount {
  font-weight: bold;
  font-size: 1.1rem;
}
.box-template-products-table .v-grid-box .not-purchasable {
  display: none;
}
@media screen and (max-width: 43.6875rem) {
  .box-template-products-table {
    display: block !important;
  }
  .box-template-products-table .v-grid-box {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: 1fr minmax(0, 100%) 1fr;
  }
  .box-template-products-table .v-grid-box .price-wrap {
    grid-row: 1/3;
    grid-column: 3/4;
  }
  .box-template-products-table .v-grid-box > * {
    display: block;
  }
}
