/* ===== ST500 mobile ≤640: white bar + visible brown close ===== */
@media (max-width: 640px){



  /* УБИРАЕМ штатный SVG/фон крестика */
  body.t-body_popupshowed .t-popup__close{
    background: none !important;
  }

  /* РИСУЕМ свой крестик */
  body.t-body_popupshowed .t-popup__close::before{
    content: "✕";
  position: absolute !important;
  right: 0 !important;        /* <<< прижатие вправо */

    font-size: 30px;
    line-height: 36px;


    width: 36px;
    height: 36px;
    


    color: #764838; /* премиум-коричневый */
    font-weight: 400;
  }

  /* убираем возможный второй мобильный слой */
  body.t-body_popupshowed .t-popup__mobile-close{
    display: none !important;
  }

  /* контент ниже полосы */
  body.t-body_popupshowed .t-popup__container{
    padding-top: 0px !important;
  }
}
