/* *****
This is a CSS partial, minified file. It is referenced by the theme by default in theme.liquid.
If you would like to edit this code we recommend swapping to the un-minified version.
For full details and instructions please see our documentation:
https://support.eightthemes.com/hc/en-us/articles/360020366578-Un-minified-CSS-Javascript
***** */
.homepage-collection-link {
  padding-top: 0;
  text-align: center;
}
.homepage-collection-link a {
  transition: opacity 0.2s ease-in-out;
  -webkit-transition: opacity 0.2s ease-in-out;
  -o-transition: opacity 0.2s ease-in-out;
}
.homepage-collection-link a:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
@media screen and (max-width: 767px) {
  .template-index
    .collection-grid
    .indiv-collection-grid-homepage:not(:last-child) {
    margin-bottom: 20px;
  }
  .template-index
    .collection-grid
    .indiv-collection-grid-homepage:not(:last-child)
    .type-subheading {
    margin-bottom: 10px;
  }
}
.template-index
  .collection-grid
  .indiv-collection-grid-homepage
  .type-subheading {
  margin-bottom: 0;
}
.homepage-collection-grid-inner .grid-image {
  display: table;
  table-layout: fixed;
  width: 100%;
}
.homepage-collection-grid-inner .grid-image .grid-image--centered {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}
.homepage-collection-grid-inner .grid-image .grid-image--centered img {
  display: inline-block;
  max-width: 100%;
}

/* -------custom-css------ */
.homepage-section--featured-collections-wrapper
  .homepage-collection-grid-inner {
  position: relative;
}
.homepage-section--featured-collections-wrapper
  .indiv-collection-grid-homepage {
  margin-bottom: 28px;
}
.homepage-section--featured-collections-wrapper .homepage-collection-links-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.homepage-section--featured-collections-wrapper .homepage-collection-links-wrapper .type-subtitle{
  text-align: : center;
}
/* .homepage-section--featured-collections-wrapper .title-bar h2 {
  font-family: Lora;
} */
.template-index .collection-grid .indiv-collection-grid-homepage .type-subheading {
  margin-top: 0;
  text-align: center;
}
.homepage-section--featured-collections-wrapper .type-subheading a {
  color: #000;
  font-size: 26px;
  line-height: 1.2;
  font-family: Amiri, serif;
}
.homepage-section--featured-collections-wrapper .homepage-collection-links-inner:after{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: rgba(254, 251, 207, 0.60);
}
.homepage-collection-links-inner {
  position: relative;
  padding: 15px;
}
.homepage-collection-links-inner > * {
  position: relative;
  z-index: 1;
}
.homepage-collection-links-wrapper .action-buttons .btn{
  width: 100%;
  margin: 10px 0;
  padding: 10px 20px;
}
.template-index .collection-grid .indiv-collection-grid-homepage .type-subtitle{
  text-align: center;
  color: #fff;
  margin-bottom: 5px;
}
.template-index .collection-grid .indiv-collection-grid-homepage .type-subtitle span{
  font-size: 18px;
}
.template-list-collections .homepage-section--featured-collections-wrapper .section-header-padding,
.page-title--by-colour .section-header-padding,
.page-title--all-fabrics .section-header-padding,
.page-title--by-indy-bloom .section-header-padding{
  padding-bottom: 20px;
}
/* -------responsive----- */
@media screen and (max-width: 991px) {
  .homepage-section--featured-collections-wrapper
    .indiv-collection-grid-homepage {
    flex: 0 0 50%;
    max-width: 50%;
    width: 50%;
  }
}
@media screen and (max-width: 767px) {
  .template-index .collection-grid .indiv-collection-grid-homepage:not(:last-child) .type-subheading {
    margin-bottom: 0px;
  }
  .homepage-section--featured-collections-wrapper h3.type-subheading {
    font-size: 16px;
  }
  .collection-grid .indiv-collection-grid-homepage{
    padding-left: 10px;
    padding-right: 10px;
  }
  .collection-grid .row{
    margin-left: 5px;
    margin-right: 5px;
  }
}
@media screen and (max-width: 640px) {
  .homepage-section--featured-collections-wrapper .homepage-sections-wrapper .homepage-collection-link {
    padding: 12px;
  }
}
@media screen and (max-width: 480px) {
    .homepage-section--featured-collections-wrapper .indiv-collection-grid-homepage{
      flex: 0 0 100%;
      max-width: 100%;
      width: 100%;
      margin-right: 0;
    }
    .template-list-collections .homepage-section--featured-collections-wrapper .indiv-collection-grid-homepage {
      flex: 0 0 100%;
      max-width: 100%;
      width: 100%;
      padding: 0 15px;
    }
    .template-index .collection-grid .indiv-collection-grid-homepage{
      padding: 0;
    }
}
