a {
  text-decoration: none;
}

a .offer-a {
  color: rgba(81, 81, 81, 0.15);
  font-size: 48px;
  font-style: normal;
  font-weight: 500;
  line-height: 65px;
}

a .offer-a.selected {
  color: #515151;
}

.devices-link a:hover {
  background: #EF8700;
  color: white;
}

.devices-link a {
  display: grid;
  place-items: center;
  border-radius: 5px;
  background: #F7F7F7;
  padding: 3px 15px;
  text-decoration: none;
  color: #515151;
  text-align: center;
  transition: all 0.2s ease-in-out;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
}

.devices-link {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 10px;
}

.desc-strefa {
  color: #515151;
  font-family: Open Sans;
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: 25px;
}

.device-item {
  border-radius: 10px;
  background: #F7F7F7;
  padding: 40px 25px;
  scroll-margin-top: 150px;
}

.device-item h2 {
  color: #515151;
  font-size: 48px;
  font-style: normal;
  font-weight: 600;
  line-height: 65px;
}

.desc-device {
  color: #515151;
  text-align: justify;
  font-family: Open Sans;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 25px;
}

.device-item ul li {
  color: #EF8700;
}

.device-item ul li span {
  color: #515151;
}

.paddin-r {
  padding-right: 75px;
}

.show-more {
  padding: 5px 25px;
  color: #EF8700;
  border-radius: 30px;
  border: 1px solid #EF8700;
  display: flex;
  justify-content: center;
  align-items: center;
}

.st-list {
  margin-left: -17px;
}

.container-gap-devices {
  gap: 30px;
}

.offer-header h2 {
  color: #515151;
  font-size: 48px;
  font-style: normal;
  font-weight: 600;
  line-height: 65px;
}

.offer-header p {
  color: #000;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 25px;
}

.a-item {
  color: #515151;
}

.offer-item {
  border-radius: 10px;
  background: #F7F7F7;
  padding: 30px;
  transition: all 0.3s ease-in-out;
}

.offer-img {
  opacity: 0.15;
  transition: all 0.3s ease-in-out;
  width: 100%;
}

.offer-item.kosmetyki {
  height: fit-content;
  width: 49%;
}

.offer-item.diets {
  width: 49%;
}

.kosmetyki-text,
.diets-text {
  width: 100%;
}

.kosmetyki-img,
.diets-img {
  width: 100%;
}

.offer-item:hover .offer-img {
  opacity: 1;
  transform: scale(105%);
}

.offer-item:hover button span {
  margin-left: 10px;
}

.offer-item a h2 {
  color: #515151;
  font-size: 48px;
  font-style: normal;
  font-weight: 600;
  line-height: 65px;
}

.offer-item a p {
  color: #000;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 25px;
}

.offer-item a button:hover {
  transform: scale(105%);
}

.offer-item a button {
  color: #515151;
  background-color: transparent;
  border: 1px solid #515151;
  border-radius: 48px;
  padding: 5px 15px;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 25px;
  transition: all 0.3s ease-in-out;
}

.offer-item a button span {
  transition: all 0.3s ease-in-out;
  margin-left: 5px;
}

.desc-prod {
  color: #515151;
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 30px;
  margin-top: 24px;
}

.name-of-prod {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.name-of-prod img {
  border-radius: 10px;
  width: 100%;
  box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.15);
}

.kosmetyki_baner {
  border-radius: 10px;
  background: #F7F7F7;
  padding: 0 48px;
}

.img-100-kosmetyk {
  width: 80%;
}

.item-kosm {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
  gap: 18px;
}

.item-kosm div ul {
  padding-left: 12px !important;
}

.item-kosm div ul li {
  color: #515151;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 25px;
}

.item-kosm div img {
  border-radius: 10px;
  box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.15);
}

.desc-item-kosm {
  color: #515151;
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 30px;
}

.komsetyki-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 24px 0px;
  place-items: start center;
}
.medic-info p
{
  margin: 0;
}
@media screen and (max-width: 1400px) {
  .komsetyki-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}
@supports (-webkit-touch-callout: none)
{
  #content
  {
    padding: 16px !important;
  }
  .block-ruby
  {
    display: block ruby !important;
  }
}
@media screen and (max-width: 992px) {
  .btns-shows
  {
    display: flex !important;
  }
  .block-ruby
  {
    display: block ruby !important;
  }
	.offer-item.diets,
	.offer-item.kosmetyki
  {
    width: auto !important;
  }
  .komsetyki-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .device-item h2 {
    margin-top: 20px;
  }

  .strefy {
    flex-direction: column;
  }

  .navik {
    gap: 20px;
  }

  .img-device {
    width: 100%;
  }

  .paddin-r {
    padding-right: 0;
  }

  .devices-link {
    grid-template-columns: repeat(2, 1fr);
  }

  .margin-list {
    margin-left: -17px;
    margin-top: -15px;
  }

  .all-offer-content {
    padding: 15px;
  }

  .offer-item a h2 {
    font-size: 40px;
  }

  .offer-item a p {
    font-size: 14px;
  }

  .offer-item .offer-img {
    opacity: 1;
  }

  .name-of-prod img {
    width: 60%;
  }
}

@media screen and (max-width: 768px) {
  .komsetyki-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }

  .name-of-prod img {
    width: 70%;
  }
}

@media screen and (max-width: 576px) {
  .name-of-prod img {
    width: 75%;
  }
}

@media screen and (max-width: 400px) {
  .name-of-prod img {
    width: 85%;
  }
}