.shop-main {
  min-height: calc(100vh - 162px);
  padding: 70px 0 90px;
}

.shop-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.shop-head > div:first-child > span,
.products-top > div:first-child > span {
  color: var(--purple);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
}

.shop-head h1 {
  margin-top: 4px;
  font-size: 50px;
  letter-spacing: -.05em;
}

.shop-head p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}

.shop-server {
  min-width: 230px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.shop-server img {
  width: 46px;
  height: 46px;
  border-radius: 7px;
}

.shop-server > div {
  display: grid;
  gap: 1px;
}

.shop-server small {
  color: #6f6876;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .12em;
}

.shop-server strong {
  font-size: 13px;
}

.shop-server span {
  color: #8b8491;
  font-size: 10px;
}

.shop-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  border: 1px solid var(--line);
  background: var(--panel);
}

.shop-sidebar {
  padding: 20px 14px;
  border-right: 1px solid var(--line);
  background: #0f0e13;
}

.sidebar-title {
  padding: 0 10px 10px;
  color: #696270;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
}

.shop-category {
  display: block;
  padding: 11px 10px;
  margin: 2px 0;
  border-left: 2px solid transparent;
  color: #918a98;
  font-size: 12px;
  font-weight: 600;
}

.shop-category:hover {
  color: #fff;
  background: #15131a;
}

.shop-category.active {
  color: #fff;
  background: #17131d;
  border-left-color: var(--purple);
}

.sidebar-separator {
  height: 1px;
  background: var(--line);
  margin: 18px 0;
}

.sidebar-link {
  display: block;
  padding: 8px 10px;
  color: #77707d;
  font-size: 11px;
}

.sidebar-link:hover {
  color: #fff;
}

.products-panel {
  min-height: 520px;
  padding: 28px;
}

.products-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.products-top h2 {
  margin-top: 5px;
  font-size: 24px;
  letter-spacing: -.03em;
}

.cart {
  min-width: 130px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: #0d0c10;
  display: grid;
  gap: 2px;
  text-align: right;
}

.cart span {
  color: #77707d;
  font-size: 9px;
  text-transform: uppercase;
}

.cart strong {
  font-size: 12px;
}

.empty-products {
  min-height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.empty-box {
  width: 64px;
  height: 64px;
  margin-bottom: 17px;
  display: grid;
  place-items: center;
  background: #17131d;
  border: 1px solid #2b2433;
  color: #a56cf0;
  font-size: 24px;
  font-weight: 800;
}

.empty-products h3 {
  font-size: 20px;
  margin-bottom: 5px;
}

.empty-products p {
  color: var(--muted);
  font-size: 12px;
}

.shop-bottom-info {
  margin-top: 14px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  background: #0f0e13;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.shop-bottom-info > div {
  display: grid;
  gap: 3px;
}

.shop-bottom-info strong {
  font-size: 12px;
}

.shop-bottom-info span {
  color: var(--muted);
  font-size: 11px;
}

.shop-bottom-info a {
  color: #b88cef;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 760px) {
  .shop-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .shop-server {
    width: 100%;
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .shop-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
  }

  .sidebar-title,
  .sidebar-separator,
  .sidebar-link {
    display: none;
  }

  .shop-category {
    text-align: center;
    border-left: 0;
    border-bottom: 2px solid transparent;
  }

  .shop-category.active {
    border-left: 0;
    border-bottom-color: var(--purple);
  }
}

@media (max-width: 520px) {
  .shop-main {
    padding: 50px 0 65px;
  }

  .shop-head h1 {
    font-size: 42px;
  }

  .shop-sidebar {
    grid-template-columns: 1fr 1fr;
  }

  .products-panel {
    padding: 18px;
  }

  .products-top {
    align-items: flex-start;
  }

  .cart {
    min-width: 100px;
  }

  .shop-bottom-info {
    align-items: flex-start;
    flex-direction: column;
  }
}
