:root {
  --d8_dfs_container-padding-xs: 20px;
  --d8_dfs_container-padding-lg: 30px;
  --d8_dfs_container-padding-xl: 60px;

  --d8_dfs_container-max-width-sm: 800px;
  --d8_dfs_container-max-width-md: 968px;
  --d8_dfs_container-max-width-lg: 1520px;

  --d8_dfs_grid-padding-xs: 10px;
  --d8_dfs_grid-padding-xl: 20px;

  --d8_dfs_section-spacing-xs: 40px;
  --d8_dfs_section-spacing-sm: 50px;
  --d8_dfs_section-spacing-md: 60px;
  --d8_dfs_section-spacing-lg: 80px;
  --d8_dfs_section-spacing-xl: 100px;

  --d8_dfs_artist_text-color: #060608;
  --d8_dfs_background-color: #f9f9f9;
}

/* Layout */
.d8_dfs_container {
  max-width: calc(
    var(--d8_dfs_container-max-width-lg) +
      (var(--d8_dfs_container-padding-xl) * 2)
  );
  margin: 0 auto;
  padding: 0 var(--d8_dfs_container-padding-xs);
}

.d8_dfs_grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 var(--d8_dfs_grid-padding-xs);
}

.d8_dfs_grid__cell {
  width: 100%;
  padding: 0 var(--d8_dfs_grid-padding-xs);
}

.d8_dfs_section {
  margin-top: var(--d8_dfs_section-spacing-xs);
}

.d8_dfs_section--padding {
  padding-top: var(--d8_dfs_section-spacing-xs);
  padding-bottom: var(--d8_dfs_section-spacing-xs);
}

.d8_dfs_section--background {
  background-color: var(--d8_dfs_background-color);
}

/* XS */
.d8_dfs_grid__cell--50 {
  width: 50%;
}

/* Artists */
.d8_dfs_artist_image {
  width: 100%;
  margin-bottom: 40px;
}

.d8_dfs_artist_header {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--d8_dfs_artist_text-color);
}

.d8_dfs_artist_title {
  color: var(--d8_dfs_artist_text-color);
  text-transform: uppercase;
  font-size: 50px;
  font-weight: 500;
}

.d8_dfs_artist_subtitle {
  color: var(--d8_dfs_artist_text-color);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--d8_dfs_artist_text-color);
}

.d8_dfs_artist_description {
  color: var(--d8_dfs_artist_text-color);
}

.d8_dfs_artist_details {
  column-count: 2;
  column-gap: 20px;
  margin-top: 20px;
}

.d8_dfs_artist_details__item {
  display: inline-block;
  width: 100%;
  margin-top: 20px;
  color: var(--d8_dfs_artist_text-color);
}

/* Media Queries */
@media (min-width: 460px) {
  /* SM */
  .d8_dfs_grid__cell--50-at-sm {
    width: 50%;
  }
}

@media (min-width: 768px) {
  .d8_dfs_section {
    margin-top: var(--d8_dfs_section-spacing-md);
  }

  .d8_dfs_section--margin-top_sm {
    margin-top: var(--d8_dfs_section-spacing-sm);
  }

  .d8_dfs_section--padding {
    padding-top: var(--d8_dfs_section-spacing-md);
    padding-bottom: var(--d8_dfs_section-spacing-md);
  }

  /* MD */
  .d8_dfs_grid__cell--33-at-md {
    width: 33.33%;
  }

  .d8_dfs_grid__cell--50-at-md {
    width: 50%;
  }

  .d8_dfs_grid__cell--66-at-md {
    width: 66.66%;
  }
}

@media (min-width: 1024px) {
  .d8_dfs_section {
    margin-top: var(--d8_dfs_section-spacing-lg);
  }

  .d8_dfs_container {
    padding: 0 var(--d8_dfs_container-padding-lg);
  }

  .d8_dfs_section--padding {
    padding-top: var(--d8_dfs_section-spacing-lg);
    padding-bottom: var(--d8_dfs_section-spacing-lg);
  }

  .d8_dfs_artist_image {
    margin-bottom: 0;
  }

  /* LG */
  .d8_dfs_grid__cell--25-at-lg {
    width: 25%;
  }

  .d8_dfs_grid__cell--33-at-lg {
    width: 33.33%;
  }

  .d8_dfs_grid__cell--40-at-lg {
    width: 40%;
  }

  .d8_dfs_grid__cell--45-at-lg {
    width: 45%;
  }

  .d8_dfs_grid__cell--50-at-lg {
    width: 50%;
  }

  .d8_dfs_grid__cell--55-at-lg {
    width: 55%;
  }

  .d8_dfs_grid__cell--60-at-lg {
    width: 60%;
  }

  .d8_dfs_grid__cell--66-at-lg {
    width: 66.66%;
  }

  .d8_dfs_grid__cell--75-at-lg {
    width: 75%;
  }
}

@media (min-width: 1400px) {
  .d8_dfs_section {
    margin-top: var(--d8_dfs_section-spacing-xl);
  }

  .d8_dfs_container {
    padding: 0 var(--d8_dfs_container-padding-xl);
  }

  .d8_dfs_grid {
    margin: 0 var(--d8_dfs_grid-padding-xl);
  }

  .d8_dfs_grid__cell {
    padding: 0 var(--d8_dfs_grid-padding-xl);
  }

  /* XL */
  .d8_dfs_grid__cell--25-at-xl {
    width: 25%;
  }

  .d8_dfs_grid__cell--33-at-xl {
    width: 33.33%;
  }

  .d8_dfs_grid__cell--40-at-xl {
    width: 40%;
  }

  .d8_dfs_grid__cell--45-at-xl {
    width: 45%;
  }

  .d8_dfs_grid__cell--50-at-xl {
    width: 50%;
  }

  .d8_dfs_grid__cell--55-at-xl {
    width: 55%;
  }

  .d8_dfs_grid__cell--60-at-xl {
    width: 60%;
  }

  .d8_dfs_grid__cell--66-at-xl {
    width: 66.66%;
  }
}

.d8_dfs_section--margin-top_none {
  margin-top: 0;
}

.d8_dfs_section--margin-top_sm {
  margin-top: var(--d8_dfs_section-spacing-xs);
}

.products
  .product.type-product.instock
  .woocommerce-loop-product__link
  .price::before {
  content: "In Stock";
  display: block;
  font-size: 14px;
  color: green;
  font-weight: bold;
  margin-bottom: 10px;
}

.products
  .product.type-product.outofstock
  .woocommerce-loop-product__link
  .price::before {
  content: "Out of Stock";
  display: block;
  font-size: 14px;
  color: red;
  font-weight: bold;
  margin-bottom: 10px;
}

.woocommerce.single-product div.product div.summary .product_meta_artist {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 15px;
}

/* Artist Products View All */
.d8_dfs_hidden_product {
  display: none !important;
}

.d8_dfs_artist_products_actions {
  text-align: center;
  margin-top: 60px;
}

.d8_dfs_view_all_btn {
  background-color: var(--d8_dfs_artist_text-color);
  color: #fff;
  border: 2px solid var(--d8_dfs_artist_text-color);
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.d8_dfs_view_all_btn:hover {
  background-color: transparent;
  color: var(--d8_dfs_artist_text-color);
}

.d8-loop-product__artist {
  margin-top: 15px;
  font-size: 20px;
  color: #1e1e1e;
  line-height: 1.25;
}

.single-product .sku_wrapper {
  display: none;
}

/* Reset all filters link */
a.d8-dfs-reset-filters {
  display: inline-block;
  margin-top: 15px;
  font-size: 13px;
  text-decoration: underline;
}
