/*Variables*/
#lgh #categoriesPage {
  margin-bottom: 3rem;
  padding-bottom: 30px;
}
#lgh #categoriesPage .product-description .read-more {
  margin-bottom: 1rem;
}
#lgh #categoriesPage .product-description .read-more .read-more-btn {
  line-height: 1em;
  letter-spacing: 0.06em;
  font-family: 'Lato', sans-serif;
  font-weight: normal;
  font-size: 12px;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  background: #231f20;
  display: inline-block;
  padding: 10px 8px 10px 10px;
  transition: background 200ms;
  border-radius: 4px;
}
#lgh #categoriesPage .product-description .read-more .read-more-btn:hover {
  background: #b0aa00;
}
#lgh #categoriesPage .product-description .read-more .read-more-btn:hover::after {
  color: #231f20;
}
#lgh #categoriesPage .product-description .read-more .read-more-btn::after {
  font-family: 'FontAwesome', sans-serif;
  font-weight: 300;
  content: "\f105";
  margin-left: 15px;
  color: #b0aa00;
  font-size: 15px;
  vertical-align: middle;
  transition: color 200ms;
}
#lgh #categoriesPage .subcategory {
  margin-top: 40px;
}
#lgh #categoriesPage .subcategory .sc-list {
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  display: grid;
  grid-auto-rows: 1fr;
  grid-template-columns: repeat(2, 1fr);
}
#lgh #categoriesPage .subcategory .sc-list .sc-link {
  display: flex;
}
#lgh #categoriesPage .subcategory .sc-list .sc-link > a {
  background-color: #f5f6f6;
  padding: 15px;
  transition: box-shadow 0.2s;
  width: 100%;
  text-decoration: none;
}
#lgh #categoriesPage .subcategory .sc-list .sc-link > a .sc-link-image-container {
  width: 100%;
  aspect-ratio: 1;
  /* Creates a square container */
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin: auto;
  transition: transform .2s;
}
#lgh #categoriesPage .subcategory .sc-list .sc-link > a .sc-link-image-container .sc-link-image {
  background: #ffffff;
  height: 150px;
  max-height: 270px;
  -o-object-fit: contain;
  object-fit: contain;
}
#lgh #categoriesPage .subcategory .sc-list .sc-link > a .sc-link-title {
  -webkit-font-smoothing: antialiased;
  color: #6d6e70;
  font-family: Helvetica Neue LT Pro, sans-serif;
  font-style: normal;
  font-weight: 700;
  margin-bottom: 0;
  margin-top: 1.5rem;
  text-align: center;
  transition: color .2s;
}
#lgh #categoriesPage .subcategory .sc-list .sc-link > a:hover {
  box-shadow: 2px 2px 8px 1px #a6a6a6;
}
#lgh #categoriesPage .subcategory .sc-list .sc-link > a:hover .sc-link-title {
  color: #000000;
}
#lgh #categoriesPage.spreaderBeams .subcategory .sc-heading {
  margin: 3rem 0 1rem;
}
#lgh #categoriesPage.spreaderBeams .subcategory .sc-list .sc-link > a .sc-link-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
#lgh #categoriesPage.spreaderBeams .subcategory .sc-list .sc-link > a .sc-link-image-container .sc-link-image-overlay {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  padding: 10px 5px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
#lgh #categoriesPage.spreaderBeams .subcategory .sc-list .sc-link > a .sc-link-title {
  margin-top: .8rem;
}
#lgh #categoriesPage.spreaderBeams .subcategory .sc-list .sc-link > a .sc-link-title span {
  font-size: 16px;
  font-weight: 100;
}
#lgh .lw-pd.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1030;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
#lgh .lw-pd.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
#lgh .lw-pd.modal-overlay.active .modal-content {
  transform: translateY(0);
}
#lgh .lw-pd.modal-overlay .modal-content {
  background: white;
  padding: 30px 30px 20px;
  border-radius: 5px;
  max-width: 80%;
  max-height: 80%;
  overflow: auto;
  position: relative;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}
#lgh .lw-pd.modal-overlay .modal-content .close-modal {
  position: absolute;
  top: -2px;
  right: 15px;
  cursor: pointer;
  font-size: 2rem;
  color: darkgrey;
}
/* Responsive adjustments */
@media screen and (min-width: 768px) {
  #lgh #categoriesPage .subcategory .sc-list > a {
    padding: 30px;
  }
  #lgh #categoriesPage .subcategory .sc-list .sc-link > a .sc-link-image-container .sc-link-image {
    height: auto;
  }
  #lgh #categoriesPage .subcategory .sc-list .sc-link > a .sc-link-title {
    font-size: 21px;
  }
}
@media screen and (min-width: 992px) {
  #lgh #categoriesPage .subcategory .sc-list {
    grid-template-columns: repeat(3, 1fr);
  }
  #lgh #categoriesPage .subcategory .sc-list > a {
    padding: 50px 30px 70px;
  }
  #lgh #categoriesPage .subcategory .sc-list .sc-link > a:hover .sc-link-image-container {
    transform: scale(1.08);
  }
}
@media screen and (min-width: 1250px) {
  #lgh #categoriesPage .subcategory .sc-list {
    grid-template-columns: repeat(4, 1fr);
  }
  #lgh #categoriesPage .subcategory .sc-list .sc-link > a:hover .sc-link-image-container {
    transform: scale(1.1);
  }
}
