/* Fabrics by Type Section */
.fabrics-section {
  padding: 80px 0;
  background: #fff;
}

.fabrics-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}

.fabrics-title {
  color: #000;
  font-family: "KyivType";
  font-size: 60px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.fabrics-view-all-btn {
  display: inline-flex;
  align-items: center;
  padding: 16px 72px;
  border: 1px solid #000;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-family: "Gilroy", sans-serif;
  font-size: 16px;
  font-weight: 400;
  transition: all 0.3s ease;
  border-radius: 0;
}

.fabrics-view-all-btn:hover {
  background: #000;
  color: #fff;
  text-decoration: none;
}

.fabrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  row-gap: 50px;
}

.fabrics-group {
  display: flex;
  flex-direction: column;
}

.fabrics-letter {
  color: #000;
  font-family: "KyivType";
  font-size: 60px;
  margin-bottom: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.fabrics-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fabrics-item {
  margin: 0;
}

.fabrics-link {
  color: #000;
  font-family: Gilroy;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.fabrics-link:hover {
  opacity: 0.7;
  text-decoration: none;
  color: #000;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .fabrics-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .fabrics-title {
    font-size: 40px;
  }

  .fabrics-letter {
    font-size: 40px;
    margin-bottom: 15px;
  }

  .fabrics-link {
    color: #000;
    font-family: Gilroy;
    font-size: 18px;
  }
}

.btn-mob {
  display: none;
}

@media (max-width: 992px) {

  .btn-mob {
    display: block;
    color: #000;
    text-align: center;
    font-family: Gilroy;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding: 20px 30px;
    border: 1px solid #000;
    margin-top: 40px;
  }

  .fabrics-view-all-btn {
    display: none;
  }

  .fabrics-section {
    padding: 60px 0;
  }
  
  .fabrics-title {
    font-size: 36px;
  }
  
  .fabrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media(max-width: 568px) {

  .fabrics-title {
    font-size: 30px;
  }

  .fabrics-letter {
    font-size: 30px;
  }
}
