/* Homepage hero only. Keep tablet and desktop layouts unchanged. */
@media (max-width: 575px) {
  .div2.hero-with-rustore {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 20px 12px;
    height: auto;
    min-height: 0;
    width: auto;
    margin: 10px 10px 0;
    padding: 76px 18px 20px;
    /* border: 1px solid #f6e7db; */
    border-radius: 24px;
   /*  background:
      url("/assets2/img/main-content/illustration0.svg") right -24px bottom -24px / 52% auto no-repeat,
      linear-gradient(155deg, #fffdfb 10%, #fff5ed 70%, #ffe9d8 100%);
    align-items: center; */
	background: url(/assets2/img/main-content/illustration0.svg) right -76px bottom -51px / 82% auto no-repeat, linear-gradient(155deg, #fffdfb 10%, #fff5ed 70%, #ffe9d8 100%);
  }

  .hero-with-rustore > .frame-101,
  .hero-with-rustore > .frame-75,
  .hero-with-rustore > .frame-8,
  .hero-with-rustore > .frame-1,
  .hero-with-rustore > .illustration,
  .hero-with-rustore > .hero-store-links {
    position: relative;
    inset: auto;
    min-width: 0;
    margin: 0;
  }

  .hero-with-rustore > .frame-101 {
    order: 0;
    grid-column: 1 / -1;
    align-items: center;
    gap: 10px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eadfd6;
    flex-wrap: wrap;
  }

  .hero-with-rustore .frame-103 {
    flex: 1;
    flex-wrap: wrap;
    gap: 5px 10px;
    justify-content: space-between;
  }

  .hero-with-rustore ._8-495-492-57-47,
  .hero-with-rustore .info-bidexpert-ru {
    font-size: 13px;
    line-height: 18px;
  }

  .hero-with-rustore .main-contacts-icons { gap: 8px; }
  .hero-with-rustore .mobile-image { width: 18px; height: 18px; }

  .hero-with-rustore > .frame-75 {
    order: 1;
    grid-column: 1 / -1;
    width: 100%;
    gap: 12px;
  }

  .hero-with-rustore .div3 {
    font-size: clamp(30px, 8.5vw, 40px);
    line-height: 1.1;
    letter-spacing: -1.2px;
  }

  .hero-with-rustore h1 {
    margin: 0;
    color: #303030;
    font-size: clamp(19px, 5vw, 24px);
    line-height: 1.3;
    font-weight: 700;
    text-wrap: balance;
  }

  .hero-with-rustore .frame-74 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    gap: 10px;
  }

  .hero-with-rustore .div4 {
    display: block;
    flex: 0 0 100%;
    max-width: none;
    margin: 0 0 8px;
    color: #746b64;
    font-size: 14px;
    line-height: 1.55;
  }

  .hero-with-rustore .frame-74 > a {
    display: block;
    flex: 1 1 210px;
    margin: 0;
  }

  .hero-with-rustore .frame-74 > ._a1 { flex: 1 1 90px; }

  .hero-with-rustore .button {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border-radius: 14px;
    gap: 10px;
    justify-content: space-between;
    box-shadow: 0 4px 12px #56351b0a;
  }

  .hero-with-rustore .div5 {
    font-size: 13px;
    line-height: 20px;
    text-align: left;
  }

  .hero-with-rustore .line-1 { width: 22px; height: 14px; }

  .hero-with-rustore > .frame-8 {
    display: flex;
    flex-direction: column;
    gap: 8px;
    order: 2;
    grid-column: 1 / -1;
    width: 100%;
    height: auto;
    padding: 12px;
    border: 1px solid #f0e2d8;
    border-radius: 18px;
    background: #ffffffc9;
  }

  .hero-with-rustore .form {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    min-height: 44px;
    flex-shrink: 0;
    gap: 8px;
    align-items: center;
  }

  .hero-with-rustore .input {
    width: auto;
    min-width: 0;
    height: 44px;
    border: 1px solid #dfd6cf;
    border-radius: 12px;
    background: #fff;
  }

  .hero-with-rustore .input:focus-within {
    border-color: #ff790f;
    box-shadow: 0 0 0 3px #ff790f1a;
  }

  .hero-with-rustore .styled-input {
    position: static;
    height: 100%;
    padding: 0 10px;
    font-size: 16px;
    color: #303030;
    text-overflow: ellipsis;
  }

  .hero-with-rustore .styled-input::placeholder { font-size: 12px; color: #8b827a; }
  .hero-with-rustore .image-link { display: flex; flex: 0 0 44px; }
  .hero-with-rustore .button2 { width: 44px; height: 44px; }

  .hero-with-rustore .main-search-properties {
    position: static;
    height: auto;
    margin: 0;
    gap: 4px 12px;
  }

  .hero-with-rustore .search-props {
    min-height: 23px;
    margin: 0;
    padding: 4px 0;
    background: transparent;
    gap: 5px;
  }

  .hero-with-rustore .search-props-text { font-size: 11px; }
  .hero-with-rustore .icon-sub { width: 13px; height: 13px; }

  .hero-with-rustore > .frame-1 {
    order: 3;
    grid-column: 1;
    gap: 7px;
  }

  .hero-with-rustore .div8 {
    display: block;
    height: auto;
    font-size: 10px;
    line-height: 1.4;
    text-align: left;
  }

  .hero-with-rustore .roseltorg-blue-svg {
    width: 126px;
    max-width: 100%;
    height: 24px;
    margin: 0;
  }

  .hero-with-rustore .group { position: static; width: 100%; height: 100%; object-fit: contain; }

  .hero-with-rustore > .illustration {
    display: none;
  }

  .hero-with-rustore > .hero-store-links {
    order: 5;
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    width: 100%;
  }

  .hero-with-rustore .hero-store-links .store-download-badge {
    flex: 0 0 auto;
    min-width: 0;
    min-height: 46px;
    padding: 8px;
    gap: 8px;
    border-radius: 12px;
    font-size: 11px;
    line-height: 14px;
    box-shadow: none;
    justify-content: flex-start;
  }

  .hero-with-rustore .store-download-badge img { flex-shrink: 0; }
  .hero-with-rustore a:focus-visible { outline: 2px solid #f87816; outline-offset: 3px; }
}
