@import url('../assets/css/theme.css');
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&display=swap');

.pg-page {
  background: #ffffff;
  color: #1f2937;
  font-family: 'Manrope', sans-serif;
}

.pg-wrap {
  width: calc(100% - 40px);
  max-width: 1180px;
  margin: 0 auto;
}

.pg-hero {
  padding: 20px 0 12px;
}

.pg-hero-card {
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  background: linear-gradient(145deg, #ffffff 0%, var(--primary-color) 56%, var(--primary-color) 100%);
  padding: 24px;
}

.pg-kicker {
  margin: 0 0 7px;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.45px;
  font-size: 12px;
  font-weight: 800;
}

.pg-hero-card h1 {
  margin: 0;
  color: #111827;
  font-size: 38px;
  line-height: 1.15;
  font-weight: 800;
}

.pg-hero-card p {
  margin: 11px 0 0;
  max-width: 820px;
  color: #4b5563;
  font-size: 17px;
  line-height: 1.7;
}

.pg-main {
  padding: 8px 0 30px;
}

.pg-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}

.pg-card,
.pg-side-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
}

.pg-card {
  padding: 22px;
}

.pg-card + .pg-card {
  margin-top: 12px;
}

.pg-card h2 {
  margin: 0 0 12px;
  color: #111827;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 800;
}

.pg-card h3 {
  margin: 14px 0 8px;
  color: #111827;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 700;
}

.pg-card p,
.pg-card li {
  margin: 0 0 10px;
  color: #4b5563;
  font-size: 17px;
  line-height: 1.85;
}

.pg-card ul {
  margin: 0;
  padding-left: 18px;
}

.pg-side-card {
  padding: 16px;
  margin-bottom: 12px;
}

.pg-side-card h3 {
  margin: 0 0 10px;
  color: #111827;
  font-size: 20px;
  line-height: 1.25;
}

.pg-side-card ul {
  margin: 0;
  padding-left: 16px;
}

.pg-side-card li {
  margin-bottom: 8px;
  color: #4b5563;
}

.pg-side-card a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 700;
}

.pg-side-card a:hover {
  color: var(--primary-dark);
}

.pg-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pg-field {
  margin-bottom: 12px;
}

.pg-field label {
  display: block;
  margin-bottom: 6px;
  color: #1f2937;
  font-size: 13px;
  font-weight: 700;
}

.pg-field input,
.pg-field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cfd8e3;
  border-radius: 10px;
  padding: 10px 12px;
  color: #111827;
  font-size: 14px;
  background: #fff;
}

.pg-field textarea {
  min-height: 128px;
  resize: vertical;
}

.pg-field input:focus,
.pg-field textarea:focus {
  outline: 0;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(111, 51, 175, 0.16);
}

.pg-btn {
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  padding: 0 18px;
  color: #fff;
  background: var(--primary-color);
  font-size: 14px;
  font-weight: 700;
}

.pg-btn:hover {
  background: var(--primary-dark);
}

.pg-alert {
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: 14px;
}

.pg-alert-success {
  border: 1px solid #8dd4a9;
  background: #f2fff7;
  color: #1f2937;
}

.pg-alert-error {
  border: 1px solid #f3c4cc;
  background: #fff7f8;
  color: #1f2937;
}

.pg-note {
  color: #374151;
  font-weight: 600;
  line-height: 1.7;
}

.pg-404 {
  padding: 20px 0 30px;
}

.pg-404-card {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  text-align: center;
  padding: 24px;
}

.pg-404-code {
  margin: 0;
  font-size: 88px;
  line-height: 1;
  font-weight: 800;
  color: var(--primary-color);
}

.pg-404-card h1 {
  margin: 10px 0 8px;
  color: #111827;
  font-size: 34px;
  line-height: 1.2;
}

.pg-404-card p {
  margin: 0 auto;
  max-width: 760px;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.7;
}

.pg-404-actions {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pg-404-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 10px;
  padding: 0 14px;
  text-decoration: none;
  font-weight: 700;
}

.pg-404-link-primary {
  background: var(--primary-color);
  color: #fff;
}

.pg-404-link-secondary {
  border: 1px solid #d8c4ed;
  color: var(--primary-color);
  background: #fff;
}

.pg-store-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.pg-store-grid a {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: #fff;
}

.pg-store-grid img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 1px solid var(--primary-color);
  padding: 4px;
  object-fit: contain;
}

@media (max-width: 1100px) {
  .pg-store-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .pg-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .pg-hero-card h1 {
    font-size: 30px;
  }

  .pg-hero-card p,
  .pg-card p,
  .pg-card li {
    font-size: 16px;
  }

  .pg-card h2 {
    font-size: 26px;
  }

  .pg-form-grid,
  .pg-store-grid {
    grid-template-columns: 1fr;
  }

  .pg-404-code {
    font-size: 62px;
  }

  .pg-404-card h1 {
    font-size: 27px;
  }
}




