/* Mobile text boxes: constrained width for hero subtitle and burger menu descr */

@media screen and (max-width: 479px) {
  #rec2489431111 .tn-elem[data-elem-id="1784887439721000023"] .tn-atom {
    text-align: left;
    font-size: 11px;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
}

@media screen and (max-width: 959px) {
  .t3112 .t-menu-popover__descr,
  #rec2507875701 .t3112 .t-menu-popover__descr {
    display: block !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    align-self: stretch;
    text-align: left !important;
    text-align-last: left !important;
    text-justify: auto;
    word-spacing: normal !important;
    letter-spacing: normal !important;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: none;
    -webkit-hyphens: none;
  }
}


/* Principle carousel body: left align, no fake justify gaps */
@media screen and (max-width: 959px) {
  #rec2504744961 .tn-elem[data-elem-id="1785148085550000005"] .tn-atom,
  #rec2504744961 .tn-elem[data-elem-id="1784892624259000001"] .tn-atom,
  #rec2504744961 .tn-elem[data-elem-id="1785148310844000027"] .tn-atom,
  #rec2504744961 .tn-elem[data-elem-id="1785148354020000038"] .tn-atom,
  #rec2504744961 .tn-elem[data-elem-id="1785148354020000049"] .tn-atom,
  #rec2504744961 .tn-elem[data-elem-id="1785148310843000022"] .tn-atom,
  #rec2504744961 .tn-elem[data-elem-id="1785148354019000033"] .tn-atom,
  #rec2504744961 .tn-elem[data-elem-id="1785148354020000044"] .tn-atom {
    text-align: left !important;
    text-align-last: left !important;
    vertical-align: top;
    line-height: 1.45;
    word-spacing: normal;
    letter-spacing: normal;
  }
}

/* Principle titles: keep 2-line GI title readable */
@media screen and (max-width: 959px) {
  #rec2504744961 .tn-elem[data-elem-id="1785148354020000047"] .tn-atom,
  #rec2504744961 .tn-elem[data-elem-id="1785148354020000042"] .tn-atom {
    line-height: 1.25 !important;
    white-space: normal;
  }
}

/* Align carousel cards on 320: same title box and body baseline */
@media screen and (max-width: 479px) {
  #rec2504744961 .tn-elem[data-elem-id="1785148085550000003"],
  #rec2504744961 .tn-elem[data-elem-id="1784891163708000003"],
  #rec2504744961 .tn-elem[data-elem-id="1785148310844000025"],
  #rec2504744961 .tn-elem[data-elem-id="1785148310843000020"],
  #rec2504744961 .tn-elem[data-elem-id="1785148354020000036"],
  #rec2504744961 .tn-elem[data-elem-id="1785148354019000031"] {
    width: 222px !important;
  }

  #rec2504744961 .tn-elem[data-elem-id="1785148354020000047"],
  #rec2504744961 .tn-elem[data-elem-id="1785148354020000042"] {
    width: 236px !important;
  }

  #rec2504744961 .tn-elem[data-elem-id="1785148085550000005"],
  #rec2504744961 .tn-elem[data-elem-id="1784892624259000001"],
  #rec2504744961 .tn-elem[data-elem-id="1785148310844000027"],
  #rec2504744961 .tn-elem[data-elem-id="1785148310843000022"],
  #rec2504744961 .tn-elem[data-elem-id="1785148354020000038"],
  #rec2504744961 .tn-elem[data-elem-id="1785148354019000033"],
  #rec2504744961 .tn-elem[data-elem-id="1785148354020000049"],
  #rec2504744961 .tn-elem[data-elem-id="1785148354020000044"] {
    top: 112px !important;
  }
}

/* Footer mobile: smaller email, Telegram channel pill, centered order label */
@media screen and (max-width: 639px) {
  #rec2505719921 .tn-elem[data-elem-id="1785160937823000004"] .tn-atom {
    font-family: var(--t-text-font, Arial) !important;
    line-height: 1.55 !important;
  }

  #rec2505719921 .tn-elem[data-elem-id="1785343048579000004"],
  #rec2505719921 .tn-elem[data-elem-id="1785343048580000008"],
  #rec2505719921 .tn-elem[data-elem-id="1785343048579000005"],
  #rec2505719921 .tn-elem[data-elem-id="1785343048580000009"] {
    display: none !important;
  }

  #rec2505719921 .tn-elem[data-elem-id="1785343048580000010"] .tn-atom {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    color: #ffffff;
    font-size: 12px;
    font-family: var(--t-headline-font, Arial);
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-decoration: none !important;
    white-space: nowrap;
  }

  #rec2505719921 .tn-elem[data-elem-id="1785343048580000010"] .tn-atom::before {
    content: "";
    width: 10px;
    height: 10px;
    flex-shrink: 0;
    background: url("../images/tild6261-3036-4431-b663-643039613837__arrow_2.svg") center / contain no-repeat;
  }

  #rec2505719921 .tn-elem[data-elem-id="1785343048580000010"] .tn-atom::after {
    content: "ЗАКАЗАТЬ";
  }

  #rec2505719921 .lipolab-tg-channel {
    display: table !important;
    z-index: 4 !important;
  }

  #rec2505719921 .lipolab-tg-channel .tn-atom,
  #rec2505719921 .lipolab-tg-channel a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    width: 100%;
    height: 38px;
    padding: 0 12px;
    background-color: #00b5cd;
    color: #ffffff !important;
    border-radius: 20px;
    font-size: 11px;
    font-family: var(--t-headline-font, Arial);
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-decoration: none !important;
    white-space: nowrap;
  }

  #rec2505719921 .lipolab-tg-channel img {
    display: block;
    width: 14px;
    height: 8px;
    flex-shrink: 0;
  }
}

@media screen and (min-width: 640px) {
  #rec2505719921 .lipolab-tg-channel {
    display: none !important;
  }
}
