@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.bg-mattgray1 {
    background-color: var(--fc-mattgray1) !important
}
.bg-mattgray2 {
    background-color: var(--fc-mattgray2) !important
}
.main-navigation.sticky {
    animation: slideDown 0.3s ease-in-out;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
    width: 100%;
    background-color: #464444;
    margin-top: 0 !important;
    padding: 0 !important;
    border-top: 0 !important;
    box-shadow: 0 0px 5px 0px #000000;
}
.main-navigation.sticky ul {
justify-content: center;
padding: 10px 0;
}
.hero-slider .slick-slide {
    min-height: 500px;
    border-radius: 0 0 10px 10px;
}
.banner-blocks {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-gap: .8rem;;
  }
  .banner-blocks2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: .8rem;
}
  .block-1 {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 3;
}
.block-2 {
    grid-column-start: 3;
    grid-column-end: 4;
    grid-row-start: 1;
    grid-row-end: 3;
}
.block-3 {
    grid-column-start: 4;
    grid-column-end: 5;
    grid-row-start: auto;
    grid-row-end: auto;
}
.block-4 {
    grid-column-start: 4;
    grid-column-end: 5;
    grid-row-start: auto;
    grid-row-end: auto;
}
  
  @media screen and (max-width:1140px) {
    .banner-ad {
        min-height: 50vw !important;
    }
    .block-1,.block-2,.block-3,.block-4,.banner-ad { 
        grid-column-start: 1 !important;
        grid-column-end: 2 !important;
        grid-row-start: auto !important;
        grid-row-end: auto !important; 
    }
    .banner-blocks,.banner-blocks2 {
        grid-template-columns: 1fr;
    }
    
  }
  
  /* banner ad */
  .banner-ad {
    position: relative;
    overflow: hidden;
    min-height: 13vw;
    padding: 2.2rem;
    background-color: #fff;
    border-radius: .6rem;
  }
  .banner-ad.blue {
    background: #e6f3fb;
  }
  /* grid card image  */


.cards_link:empty {
    position: absolute;
    display: block;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.cards_image {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: .6rem;
    transform: scale(1.05);
    transition: transform 0.5s;
}
.cards_info {
    justify-content: space-between;
}
.cards_info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
}

.cards_info {
    position: relative;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.cards_heading {
    margin-top: auto;
    margin-bottom: .8rem;
}
.content-wrapper1 {
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}
.cards_heading1 {
  margin-bottom: auto;
  margin-top: 0;
}
.helpbtn, .trackorder, .callus {
  background-color: var(--fc-white) !important;
  color: var(--fc-black) !important;
  padding: 4px 24px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 4px;
  border: 1px solid white;
  transition: background-color .3s ease;
}
.trackorder, .callus, .helpbtn:hover{
  background-color: var(--fc-transparent) !important;
  color: var(--fc-white) !important;
  border: 1px solid var(--fc-white) !important;

}
.trackorder:hover, .callus:hover{
  background-color: var(--fc-white) !important;
  color: var(--fc-black) !important;
  border: 1px solid var(--fc-white) !important;
}
.border-top-2{
  border-top: 2px solid var(--fc-white) !important;
}
.pay-border {
  border-radius: 3px;
}



.media {
  position: relative;
  width: 100%;          /* full width of the parent */
  aspect-ratio: 4 / 4;  /* maintain square shape (can change to 4 / 3 etc) */
  overflow: hidden;
}

.media .img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* ensures image covers the area without distortion */
  transition: opacity 0.5s ease-in-out;
  display: block;
}

.media .hover-img {
  opacity: 0;
}

.card-product:hover .media .hover-img {
  opacity: 1;
}

.card-product:hover .media .main-img {
  opacity: 0;
}
.collection-product-list {
  list-style: none;
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
}
.media--transparent {
  background-color: transparent;
}
.collection-product-list .collection-product-card {
  height: 100%;
}
.card-product .card-product-action {
  top: 50%;
  bottom: auto;
}