body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f8f8f8;
}

header {
  background-color: rgba(72, 72, 209, 0.973);
  color: white;
  padding: 1px 0;
  text-align: center;
  width: 100%;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px;
}

.item {
  text-align: center;
  max-width: 90%;
}

.item img {
  width: 100%;
  max-width: 80%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.item p {
  margin-top: 10px;
  font-size: 0.8em;
  font-weight: bold;
}

/* Модальное окно */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px #000;
}

.close {
  position: absolute;
  top: 30px;
  right: 50px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.catalog-links {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 40px;
  margin: 50px;
}

.catalog-button {
  padding: 20px 40px;
  font-size: 50px;
  text-decoration: none;
  background-color: #013077;
  color: white;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: background-color 0.3s;
}

.catalog-button:hover {
  background-color: #005fa3;
}

.back-link {
  color: white;
  text-decoration: none;
  font-size: 16px;
  position: absolute;
  top: 25px;
  left: 25px;
}


.order-info {
  margin: 40px auto 0 auto;
  max-width: 800px;
  background: linear-gradient(90deg, #e3eaff 0%, #f8f8fc 100%);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(72,72,209,0.10);
  padding: 40px 32px;
  text-align: center;
  font-size: 2em;
  color: #1a2a4d;
  line-height: 1.7;
  margin-bottom: 60px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.order-info a {
  color: #2a5bd7;
  text-decoration: none;
  font-weight: 700;
  font-size: 1em;
  transition: color 0.2s;
}

.order-info a:hover {
  color: #013077;
  text-decoration: underline;
}

.order-info b {
  font-size: 1.1em;
  color: #222;
}
