/* AUTOERA MOBILE SEARCH RESULTS v2 */
@media (max-width: 768px) {
  html.ae-search-v2-lock,
  body.ae-search-v2-lock {
    overflow: hidden !important;
    width: 100% !important;
  }

  #ae-mobile-search-v2 {
    position: fixed;
    z-index: 9000;
    top: 108px;
    right: 0;
    bottom: 72px;
    left: 0;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background: #f5f6f8;
    overflow: hidden;
  }

  #ae-mobile-search-v2 .ae-v2-toolbar {
    flex: 0 0 auto;
    padding: 12px;
    border-bottom: 1px solid #e2e5e9;
    background: #fff;
  }

  #ae-mobile-search-v2 .ae-v2-search-row {
    display: grid;
    grid-template-columns: minmax(0,1fr) 52px;
    gap: 8px;
  }

  #ae-mobile-search-v2 .ae-v2-input {
    min-width: 0;
    width: 100%;
    height: 50px;
    box-sizing: border-box;
    padding: 0 15px;
    border: 1px solid #d8dde3;
    border-radius: 14px;
    background: #fff;
    color: #17191c;
    font-size: 17px;
    outline: none;
  }

  #ae-mobile-search-v2 .ae-v2-input:focus {
    border-color: #ed1c24;
  }

  #ae-mobile-search-v2 .ae-v2-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 50px;
    border: 0;
    border-radius: 14px;
    background: #ed1c24;
    color: #fff;
  }

  #ae-mobile-search-v2 .ae-v2-submit svg {
    width: 24px;
    height: 24px;
  }

  #ae-mobile-search-v2 .ae-v2-meta {
    margin-top: 9px;
    color: #68707c;
    font-size: 13px;
  }

  #ae-mobile-search-v2 .ae-v2-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 12px 12px 28px;
  }

  #ae-mobile-search-v2 .ae-v2-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  #ae-mobile-search-v2 .ae-v2-card {
    display: grid;
    grid-template-columns: 112px minmax(0,1fr);
    gap: 13px;
    padding: 14px;
    border: 1px solid #e0e4e8;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,.05);
    text-decoration: none;
    color: #17191c;
  }

  #ae-mobile-search-v2 .ae-v2-image-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 142px;
    border-radius: 13px;
    background: #fff;
    overflow: hidden;
  }

  #ae-mobile-search-v2 .ae-v2-image {
    max-width: 104px;
    max-height: 134px;
    width: auto;
    height: auto;
    object-fit: contain;
  }

  #ae-mobile-search-v2 .ae-v2-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 142px;
    border-radius: 13px;
    background: #f0f2f4;
    color: #7b838d;
    font-size: 11px;
    font-weight: 700;
  }

  #ae-mobile-search-v2 .ae-v2-info {
    min-width: 0;
  }

  #ae-mobile-search-v2 .ae-v2-title {
    margin: 0 0 7px;
    color: #17191c;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.28;
    overflow-wrap: anywhere;
  }

  #ae-mobile-search-v2 .ae-v2-code {
    margin-bottom: 8px;
    color: #69717c;
    font-size: 13px;
  }

  #ae-mobile-search-v2 .ae-v2-code strong {
    color: #17191c;
  }

  #ae-mobile-search-v2 .ae-v2-stock {
    margin-bottom: 9px;
    color: #15851b;
    font-size: 13px;
    font-weight: 700;
  }

  #ae-mobile-search-v2 .ae-v2-price {
    margin-bottom: 10px;
    color: #ed1c24;
    font-size: 22px;
    font-weight: 900;
  }

  #ae-mobile-search-v2 .ae-v2-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 12px;
    border-radius: 12px;
    background: #ed1c24;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
  }

  #ae-mobile-search-v2 .ae-v2-state {
    padding: 34px 20px;
    border: 1px solid #e0e4e8;
    border-radius: 18px;
    background: #fff;
    color: #626b76;
    text-align: center;
  }

  @media (max-width: 390px) {
    #ae-mobile-search-v2 .ae-v2-card {
      grid-template-columns: 96px minmax(0,1fr);
      gap: 11px;
      padding: 12px;
    }

    #ae-mobile-search-v2 .ae-v2-image-box,
    #ae-mobile-search-v2 .ae-v2-placeholder {
      width: 96px;
      height: 128px;
    }

    #ae-mobile-search-v2 .ae-v2-image {
      max-width: 90px;
      max-height: 120px;
    }

    #ae-mobile-search-v2 .ae-v2-title {
      font-size: 16px;
    }
  }
}
