@import url('https://fonts.googleapis.com/css2?family=Dela+Gothic+One&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Manrope:wght@200..800&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Oswald:wght@200..700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Rubik:ital,wght@0,300..900;1,300..900&family=Unbounded:wght@200..900&display=swap');

* {
  margin: 0;
  padding: 0;
  line-height: 1;
  border: 0;
  font-weight: normal;
  outline: none;
  border-collapse: collapse;
  text-decoration: none;
  box-sizing: border-box;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}


.card {
  font-family: "Rubik", sans-serif;
  color: #000;
  max-width: 1200px;
  margin: auto;
  width: 100%;
  height: 100%;
  background: #F0F0F0;
}

.card__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  grid-gap: 10px;
  align-items: stretch;
  justify-items: stretch;
  justify-content: center;
  max-width: 1200px;
  margin: 25px 10px 10px 10px;
}

@media (min-width: 375px) {
  .card__container {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  }
}

.card__title {
  color: #000;
  font-size: 22px;
  font-weight: 600;
  line-height: normal;
  text-align: center;
}

.card__wrap {
  position: relative;
  border-radius: 10px;
  background: #FFF;
  box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.05);
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 992px) {
  .card__wrap {
    padding: 26px 16px;
  }
}

.card__img {
  height: 46px;
  max-width: 46px;
  flex-shrink: 0;
  overflow: hidden;
  margin-right: 12px;

}

.card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;


}

@media (min-width: 360px) and (max-width: 560px) {
  .card__img {
    width: 100%;
  }
}

.logo__box {
  display: flex;
  align-items: center;
}

.card__textBox {
  display: flex;
  flex-direction: column;
}

.card__textLogo {
  font-size: 16px;
  color: #000;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
  text-decoration: none;
}

.card__textInfo {
  color: #888;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
}

.card__description {
  margin-right: 40px;
}

.card__descriptionStar {
  display: flex;
}

.card__descriptionTitle {
  color: #888;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 2px;
}
.card__descriptionImg {
  margin-left: 4px;
}

.cards__descriptionInfo {
  color: #000;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
  padding-left: 4px;
}

.cards__descriptionSum {
  color: #D42A28;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
}

.card__sumBox {
  display: flex;
}

.card__position {
  display: flex;
  margin: 12px 0;
}

.card__block {
  display: flex;
  flex-direction: column;
  text-align: center
}

.card__button {
  margin: 0 auto;
  width: 100%;
  padding: 12px 16px;
  border-radius: 6px;
  background: #D42A28;
  color: #FFF;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-block;
  cursor: pointer;
}

.card {
  padding: 5px 0px;
}

.offers-wrapper {
    display: none;
}

/*786*/
@media screen and (max-width: 786px) {
    .offers-wrapper {
        display: block;
    }
}

/*новый стиль карточек (большой баннер)*/
.card__wrap .logo__box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card__wrap .logo__box .card__img {
  width: 100%;
  height: auto;
  max-width: none;
  margin: 0 0 10px 0;
}

.card__wrap .logo__box .card__img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.card__wrap .logo__box .card__textBox {
  text-align: center;
}

/* Уменьшаем высоту карточки */
.card__wrap {
  padding: 12px 10px;  
  min-height: auto;     
}
.card__position,
.card__info-row {
  margin: 6px 0;  /* было 12px */
}

.card__container {
  margin: 5px ; /* уменьшаем отступы сверху/снизу и по бокам */
}


