@import url("../version.css");

:root {
  --bg: #f3edf1;
  --surface: rgba(255, 255, 255, .56);
  --text: #292227;
  --muted: #7d6d76;
  --line: rgba(89, 65, 78, .18);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background-color: var(--bg);
  background-image: url("../assets/images/news-background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
}

.shop-page {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  padding: 146px 0 96px;
}

.page-header {
  margin-left: 0;
  padding: 8px 0;
  margin-bottom: 42px;
  display: flex;
  align-items: center;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, .62) 12%, rgba(255, 255, 255, .62) 88%, rgba(255, 255, 255, 0));
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.page-header h1 {
  margin-left: 56px;
}

.page-header-copy {
  margin: 0 0 0 56px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
  letter-spacing: .055em;
}

.page-header-copy span {
  display: block;
  white-space: nowrap;
}

h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: .08em;
}

.shop-list {
  width: min(720px, calc(100% - 176px));
  margin-left: 176px;
  display: grid;
  gap: 14px;
}

.shop-row {
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(180px, 220px) 1fr;
  align-items: center;
  gap: 24px;
  padding: 14px 28px 14px 76px;
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(8px);
}

.shop-link {
  color: inherit;
  text-decoration: none;
}

.shop-name {
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.2;
  letter-spacing: .055em;
}

.shop-description {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
  letter-spacing: .055em;
}

.shop-description span {
  display: block;
}

@media (max-width: 720px) {
  .shop-page {
    width: min(100% - 28px, 1080px);
    padding-top: 118px;
  }

 .page-header {
    margin-left: 0;
    padding: 12px 0;
    margin-bottom: 36px;
    display: block;
  }

 .page-header h1 {
    margin-left: 0;
  }

 .page-header-copy {
    margin: 14px 0 0;
    font-size: 11px;
  }

 .page-header-copy span {
    white-space: normal;
  }

 .shop-list {
    width: 100%;
    margin-left: 0;
    gap: 10px;
  }

 .shop-row {
    grid-template-columns: 1fr;
    gap: 6px;
    min-height: 0;
    padding: 14px 14px 16px;
  }
}
