/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 2.0.1
*/

/* custom homepage styles */
.ioc-add-link {
  cursor: pointer;
}

/* spacer to replace icons on product pages */
.ioc-spacer {
  padding: 25px;
}

/* custom swatches on product pages for profiles styles */
.custom-swatches-ioc-section-wrapper {
  width: 100%
}

.custom-swatches-ioc-section {
  align-items: center;
  border-radius: 6px;
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
  width: 100%;
}

.custom-swatch-ioc {
  align-items: center;
  border: 2px solid #C4C4C4;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  padding: 2px;
  margin: 10px 0;
  width: 12%;
}

.selected-swatch-ioc {
  border: 2px solid #666;
}

.custom-swatch-ioc-out-of-stock-image {
  opacity: .2;
}

.out-of-stock-message-ioc {
  color: #F00;
}

.in-stock-message-ioc {
  color: #0F0;
}

.woocommerce-product-gallery__wrapper {
  position: relative;
  overflow: hidden;
}

.woocommerce-product-gallery__wrapper img {
  transition: transform 0.3s ease;
}

.woocommerce-product-gallery__wrapper:hover img {
  transform: scale(1.4);
}

.angle-y-gif-wrapper {
  align-items: center;
  display: flex;
  justify-content: center;
  padding-bottom: 30px;
  width: 100%;
}

.angle-y-gif {
  max-height: 450px;
}

@media (min-width: 1240px) and (max-width: 1484px) {
  .section_product_before_tabs {
    margin-top: 90px;
  }
}

@media (max-width: 1000px) {
  .custom-swatches-ioc-section {
    flex-direction: column;
  }
  .custom-swatch-ioc {
    margin: 20px;
    width: 200px;
  }
}

/* custom category page styles */
.ioc-custom-category-container {
  display: flex;
  justify-content: center;
  min-height: 400px;
}

.ioc-custom-category-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  gap: 30px;
  padding-top: 100px;
  width: 80%;
}

.ioc-custom-category-link {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 30px;
  text-decoration: none;
}

.ioc-custom-category-image {
  height: 250px !important;
  width: 250px;
}

.ioc-custom-category-product-name {
  text-align: center;
  width: 200px;
}

@media (max-width: 1162px) {
  .ioc-custom-category-section {
    grid-template-columns: repeat(2, 1fr);
    width: 70%;
  }
}

@media (max-width: 770px) {
  .ioc-custom-category-section {
    grid-template-columns: 1fr;
    width: 100%;
  }
}
