/** Shopify CDN: Minification failed

Line 20:12 Expected identifier but found whitespace
Line 20:14 Unexpected "{"
Line 20:23 Expected ":"
Line 20:58 Expected ":"
Line 21:8 Expected identifier but found whitespace
Line 21:10 Unexpected "{"
Line 21:19 Expected ":"
Line 27:14 Expected identifier but found whitespace
Line 27:16 Unexpected "{"
Line 27:25 Expected ":"
... and 1 more hidden warnings

**/


.shop-collection__heading {
  text-align: center;
  font-size: {{ section.settings.heading_size_desktop }}px;
  color: {{ section.settings.heading_color }};
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .shop-collection__heading {
    font-size: {{ section.settings.heading_size_mobile }}px;
  }
}
.shop-collection-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 50px;
}
.shop-collection-grid .collection-card:nth-child(1),
.shop-collection-grid .collection-card:nth-child(2) {
  grid-column: span 6;
}
.shop-collection-grid .collection-card:nth-child(3),
.shop-collection-grid .collection-card:nth-child(4),
.shop-collection-grid .collection-card:nth-child(5) {
  grid-column: span 6;
}
.collection-card {
    position: relative;
    min-height: 315px;
    background-color: var(--card-bg);
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
    padding: 20px;
    display: flex;
    flex-direction: column;
}
.collection-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
      

}
.collection-card__content {
  position: relative;
  z-index: 1;
  max-width: 60%;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  height: 100%;
}
.collection-card__title {
  font-size: 30px;
  line-height: normal;
  margin-bottom: 12px;
}
.collection-card__text {
  font-size: 14px;
  margin-bottom: 24px;
}
.collection_btn {
    display: flex;
}
.collection_btn a.btn.btn--black{
  padding: 8px !important;
}

.collection-card:nth-child(n+3) .collection-card__content {
    max-width: 100% !important;
}
.collection-card:nth-child(2) .collection-card__text {
    width: 70%;
}
@media (max-width: 768px) {
  .shop-collection-grid {
    grid-template-columns: 1fr;
  }

  .shop-collection-grid .collection-card {
    grid-column: span 1 !important;
  }
  
    
  .collection-card::after {
    /* content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0; */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, -0.5) 21%, rgba(0, 0, 0, 0) 37%);
    pointer-events: none;
    z-index: 1;
  }
.collection-card > * {
    position: relative;
    z-index: 2;
  }

}
