/* ШВЕЮША — карточки личного кабинета */

.tlk-resources__title {
  width: 100%;
  margin: 7px 0 !important;
  text-align: left !important;
}

.tlk-resources__title > a.tlk-resources__groups-title-link {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 64px;
  box-sizing: border-box;
  padding: 15px 18px !important;
  background: #FCE8F0 !important;
  border-radius: 18px;
  color: #171717 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.4;
  text-decoration: none !important;
}

/* Чередование с нежной бирюзой */
.tlk-resources__title:nth-of-type(even)
> a.tlk-resources__groups-title-link,
*:nth-child(even) > .tlk-resources__title
> a.tlk-resources__groups-title-link {
  background: #DDF4F2 !important;
}

/* Круглая розовая стрелочка */
.tlk-resources__title > a.tlk-resources__groups-title-link::after {
  content: "›";
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #F44888;
  color: #FFFFFF;
  font-size: 24px;
  line-height: 1;
}

/* Мобильная версия */
@media screen and (max-width: 480px) {
  .tlk-resources__title > a.tlk-resources__groups-title-link {
    padding: 13px 12px !important;
    min-height: 60px;
    font-size: 14px !important;
    border-radius: 16px;
  }
}

/* ШВЕЮША — улучшения для мобильной версии */

@media screen and (max-width: 480px) {

  .tlk-resources__title {
    margin: 0 !important;
  }

  .tlk-resources__title > a.tlk-resources__groups-title-link {
    min-height: 60px;
    padding: 12px 14px !important;
    font-size: 15px !important;
    line-height: 1.35;
    gap: 12px;
  }

  .tlk-resources__title > a.tlk-resources__groups-title-link::after {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
  }
}

/* ШВЕЮША — декоративные сумочки */

body:has(.tlk-resources__groups-title-link)
.tlk-resources::before {
  content: "";
  display: block;
  width: 340px;
  max-width: 85%;
  aspect-ratio: 1.4;
  margin: 0 auto 20px;
  background-image: url("https://static.tildacdn.com/tila3831-6337-4131-a562-663338306562/shveusha_bags_header.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
}

/* Размер сумочек на телефоне */
@media screen and (max-width: 480px) {
  body:has(.tlk-resources__groups-title-link)
  .tlk-resources::before {
    width: 280px;
    max-width: 82%;
    margin-bottom: 16px;
  }
}

/* ШВЕЮША — заголовок над сумочками */

@media screen and (max-width: 480px) {
  body:has(.tlk-resources__groups-title-link)
  .tlk-resources::before {
    content: "Мой личный кабинет ♡";
    width: 340px;
    max-width: 92%;
    height: clamp(270px, 85vw, 320px);
    aspect-ratio: auto;
    box-sizing: border-box;
    margin: 0 auto 12px;
    padding-top: 0;

    color: #171717;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;

    background-position: center bottom;
    background-size: 92% auto;
  }
}

/* ШВЕЮША — иконки для материалов */

.tlk-resources__title >
a.tlk-resources__groups-title-link::before {
  content: "✂︎";
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background-color: #FFFFFF;
  color: #F44888;
  font-size: 24px;
  font-weight: 400;
}

/* Удобные размеры на телефоне */
@media screen and (max-width: 480px) {
  .tlk-resources__title >
  a.tlk-resources__groups-title-link {
    min-height: 60px;
    padding: 11px 12px !important;
    gap: 10px;
    font-size: 14px !important;
  }

  .tlk-resources__title >
  a.tlk-resources__groups-title-link::before {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    font-size: 21px;
  }
}

/* Для совсем узких экранов */
@media screen and (max-width: 359px) {
  .tlk-resources__title >
  a.tlk-resources__groups-title-link::before {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
    font-size: 18px;
  }
}

/* ШВЕЮША — уведомления в личном кабинете */

.tmst-main__comment {
  background: #DDF4F2 !important;
  border: 1px solid #C7EAE6 !important;
  border-radius: 20px !important;
  padding: 18px 22px !important;
  box-shadow: none !important;
  box-sizing: border-box;
}

/* Заголовок уведомления */
.tmst-main__comment-title {
  color: #E83E83 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0 0 7px !important;
}

/* Маленькое сердечко */
.tmst-main__comment-title::before {
  content: "♡";
  color: #F44888;
  font-size: 17px;
  margin-right: 7px;
}

/* Основной текст */
.tmst-main__comment-text {
  color: #171717 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
}

/* Мобильная версия */
@media screen and (max-width: 480px) {
  .tmst-main__comment {
    padding: 15px 17px !important;
    border-radius: 18px !important;
  }

  .tmst-main__comment-text {
    font-size: 14px !important;
  }
}
