/* ARIDES USEFUL LINKS V1 */

/*
  Только desktop.
  На планшете и телефоне блок полностью отсутствует.
*/

.arides-useful-links {
  display: none;
}

@media (min-width: 1101px) {

  .arides-useful-links {
    display: block;
    padding: 12px 0 36px;
    background: #f8fafc;
  }

  .arides-useful-links__inner {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
  }

  .arides-useful-links__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 12px;
  }

  .arides-useful-links__title {
    margin: 0;
    color: #17233b;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: .02em;
  }

  .arides-useful-links__hint {
    margin: 0;
    color: #8a96a4;
    font-size: 11px;
    font-weight: 600;
  }

  .arides-useful-links__row {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 8px;

    width: 100%;
  }

  .arides-useful-link {
    position: relative;

    width: 96px;
    min-width: 96px;
    height: 72px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 7px;

    box-sizing: border-box;

    border: 1px solid #e3e8ed;
    border-radius: 14px;

    background: #fff;

    color: #17233b;
    text-decoration: none;

    box-shadow:
      0 3px 10px rgba(24, 38, 53, .025);

    transition:
      transform .16s ease,
      border-color .16s ease,
      box-shadow .16s ease;
  }

  .arides-useful-link:hover {
    transform: translateY(-2px);

    border-color: rgba(26, 188, 108, .34);

    box-shadow:
      0 8px 20px rgba(24, 38, 53, .08);
  }

  .arides-useful-link:focus-visible {
    outline: 3px solid rgba(26, 188, 108, .2);
    outline-offset: 2px;
  }

  .arides-useful-link img {
    width: 28px;
    height: 28px;

    object-fit: contain;

    border-radius: 6px;
  }

  .arides-useful-link__fallback {
    display: none;

    width: 28px;
    height: 28px;

    align-items: center;
    justify-content: center;

    border-radius: 7px;

    background: #edf8f2;

    color: #14945a;

    font-size: 12px;
    font-weight: 900;
  }

  .arides-useful-link__name {
    max-width: 88px;

    overflow: hidden;

    color: #24334b;

    font-size: 10px;
    line-height: 1.1;
    font-weight: 800;

    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /*
    Небольшой визуальный разделитель
    перед складами хранения.
  */

  .arides-useful-link--storage-start {
    margin-left: 14px;
  }

  .arides-useful-link--storage-start::before {
    content: "";

    position: absolute;
    left: -12px;
    top: 10px;
    bottom: 10px;

    width: 1px;

    background:
      linear-gradient(
        to bottom,
        transparent,
        #d6e2dc 22%,
        #d6e2dc 78%,
        transparent
      );
  }

  .arides-useful-link--storage::after {
    content: "LADU";

    position: absolute;
    top: 5px;
    right: 6px;

    color: #20a565;

    font-size: 6px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .06em;
  }

}

@media (max-width: 1100px) {
  .arides-useful-links {
    display: none !important;
  }
}
