.shop-panel { display: none; }
.shop-panel.active { display: block; }
.shop-tab.active { text-decoration: underline; }

.product-grid {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, 1fr);
}

/* Put item 1 in column 3 */
.product-grid > :nth-child(1) {
  grid-column: 3;
}

/* Put item 2 in column 4 */
.product-grid > :nth-child(2) {
  grid-column: 4;
}
.shop-grid .bg-wrap {
   padding: 10px;
   border: 1px solid #C5BFAD;
   text-align: center;
   width: 100%;
   height: 299px;
   padding: 50px;
   border-right:none;
   border-bottom:none;
}
.shop-grid .bg-wrap:nth-child(1) {
  border-top:none;
}
.shop-grid .bg-wrap:nth-child(2) {
  border-top:none;
  background-color:white;
}
.shop-grid .bg-wrap:nth-child(3), .shop-grid .bg-wrap:nth-child(5), .shop-grid .bg-wrap:nth-child(8), .shop-grid .bg-wrap:nth-child(10) {
  background-color:white;
}
.shop-grid .bg-wrap img {
  width:100%!important;
  height:100%!important;
  object-fit: contain;
  /*transition: all 0.5s;*/
}
.shop-grid .bg-wrap img:hover {opacity: 0.5;}
.shop-top-finds {
  position:relative;
}
.shop-grid .shop-header {
  width: 50%;
  position: absolute;
  left: 0;
  top: 0;
  height: 300px;
}
.shop-grid  {
  position: relative;
  border-top: 1px solid #C5BFAD;
  border-bottom: 1px solid #C5BFAD;
  background-image:url(../../assets/icons/utility/blog-bg.jpg);
  background-size: cover;
  background-position: center;
}
.shop-grid .reels-link {
 position: absolute;
 left: 0;
 background: #645A4E;
 width: 53px;
 color: white;
 height: 148px;
 text-align: center;
 z-index: 1;
 text-decoration: none;
 line-height: 1.5;
 text-transform: uppercase;
 font-size: 12px;
 font-weight: 500;
 letter-spacing: 0.03rem;
}
.shop-grid .reels-link svg {
  display: block;
  text-align: center;
  margin: 40px auto 14px;
}
.shop-grid .shop-header .title {
 font-size: 67px;
 font-family: 'Swear Display';
 padding: 45px 108px 0 0;
 width: 378px;
 line-height: 54px;
 margin: 0 auto 31px;
}
.shop-grid .shop-header .shop-tabs {
  list-style: none;
    display: flex;
    justify-content: space-between;
    max-width: 375px;
    margin: 0 auto;
}
.shop-grid .shop-header .shop-tabs button {
  border: none;
  padding: 0;
  font-size: 15px;
  font-weight: 100;
}
.shop-grid .shop-header .all-btn {
  position: absolute;
  border: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  background: black;
  color: white;
  text-align: center;
  text-decoration: none;
  height: 49px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  background-image: url(../../assets/icons/utility/arrow-right.svg);
  background-repeat: no-repeat;
  background-position: center right 42%;
  padding: 11px 0 0;
}
.shop-grid .shop-header .all-btn:hover{
  background: #c5bfad;
  color: black;
  background-image: url(../../assets/icons/utility/black-arrow-right.svg);
  background-repeat: no-repeat;
  background-position: center right 42%;
}
@media all and (max-width:1080px) {
  .shop-grid .reels-link {
    display:none;
  }
}
@media all and (max-width:850px) {
  
  /* Put item 1 in column 3 */
  .product-grid > :nth-child(1) {
    grid-column: 1;
  }
  
  /* Put item 2 in column 4 */
  .product-grid > :nth-child(2) {
    grid-column: 2;
  }
  .shop-grid .shop-header {
      width: 100%;
      position: relative;
      left: 0;
      top: 0;
      height: 300px;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .shop-grid .bg-wrap:nth-child(5),  .shop-grid .bg-wrap:nth-child(8) {
    background-color:transparent;
  }
  .shop-grid .bg-wrap:nth-child(6),  .shop-grid .bg-wrap:nth-child(7) {
    background-color:white;
  }
}
@media all and (max-width:580px) {
  .shop-grid .bg-wrap {
    height: 250px;
    padding: 30px;
  }
  .shop-grid .shop-header .all-btn,  .shop-grid .shop-header .all-btn:hover {
    background-position: center right 39%;
  }
   .shop-grid .shop-header .title {
       margin: 0 0 30px;
       font-size: 40px;
       line-height: 35px;
       width: 265px;
   }
  .shop-grid .shop-header .shop-tabs {
    margin:0;
  }
  .shop-grid .shop-header {
    padding-left:20px;
    height: 255px;
  }
}
@media all and (max-width:480px) {
  .shop-grid .bg-wrap {
      height: 210px;
      padding: 30px;
  }
  .shop-grid .shop-header .all-btn,  .shop-grid .shop-header .all-btn:hover {
      background-position: center right 36%;
  }
}
@media all and (max-width:410px) {
  .shop-grid .shop-header .shop-tabs {
    max-width:330px;
  }
}