* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  font-family: Arial, sans-serif;
  background: #f5f7fb;
  color: #18212f;
}
.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}
.hero {
  background: linear-gradient(135deg, #1b58a1 0%, #0f2f57 100%);
  color: #fff;
  padding: 28px 0 24px;
  box-shadow: 0 8px 24px rgba(12, 31, 60, 0.14);
}
.hero-top {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.4px;
  opacity: 0.8;
  margin: 0 0 10px;
  font-size: 12px;
}
h1 {
  margin: 0;
  font-size: 40px;
  line-height: 1.05;
}
.subtitle {
  margin: 14px 0 0;
  max-width: 720px;
  line-height: 1.55;
  opacity: 0.96;
}
.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn {
  text-decoration: none;
  display: inline-block;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
}
.btn-light {
  background: #fff;
  color: #1b58a1;
}
.btn-dark {
  background: #0a1f3a;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.btn-viber {
  background: #7360f2;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.search-wrap {
  margin-top: 18px;
}
.search {
  width: 100%;
  border: 0;
  outline: none;
  border-radius: 14px;
  padding: 15px 16px;
  font-size: 16px;
  box-shadow: 0 8px 24px rgba(12, 31, 60, 0.15);
}

.breadcrumb {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 20px 0 12px;
  font-size: 14px;
}
.crumb {
  color: #1b58a1;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
}
.crumb.current {
  color: #5d6b80;
  cursor: default;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 10px 0 34px;
}
.card {
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(9, 24, 54, 0.08);
  border: 1px solid #edf1f7;
  overflow: hidden;
}
.card h3,
.card h2 {
  margin: 0 0 10px;
}
.card p {
  margin: 0;
  color: #566274;
  line-height: 1.5;
}
.card-link {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}
.pill {
  display: inline-block;
  font-size: 12px;
  background: #eef4ff;
  color: #1b58a1;
  padding: 6px 10px;
  border-radius: 999px;
  margin-top: auto;
  align-self: flex-start;
  transform: translateY(4px);
  font-weight: 700;
}
.page-title {
  margin: 8px 0 6px;
  font-size: 30px;
}
.section-title {
  margin: 28px 0 10px;
  font-size: 20px;
  font-weight: 700;
  color: #1b58a1;
  border-bottom: 2px solid #dce8fb;
  padding-bottom: 6px;
}
.page-text {
  margin: 0 0 18px;
  color: #566274;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin: 18px 0 40px;
}
.photo-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(9, 24, 54, 0.08);
  border: 1px solid #edf1f7;
}
.photo-card img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  background: #e8edf6;
}
.order-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 12px;
}

.product-code {
  font-size: 12px;
  font-weight: 700;
  color: #18345d;
  background: #eef4ff;
  border: 1px solid #d4e4ff;
  border-radius: 8px;
  padding: 6px 8px;
  text-align: center;
}

.order-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
}

.order-wa {
  background: #25d366;
  color: #042c11;
}

.order-viber {
  background: #7360f2;
  color: #ffffff;
}

.order-btn:hover {
  filter: brightness(0.95);
}
.photo-card .caption {
  padding: 12px 14px 14px;
  font-size: 14px;
}
.empty {
  background: #fff7e7;
  border: 1px solid #f0d38f;
  border-radius: 16px;
  padding: 16px;
  line-height: 1.55;
  margin: 12px 0 30px;
}
.footer {
  padding: 24px 0 40px;
  color: #6f7a8a;
}

@media (max-width: 720px) {
  h1 {
    font-size: 32px;
  }
  .page-title {
    font-size: 26px;
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}
.lightbox.open {
  display: flex;
}
.lightbox img {
  max-width: 95vw;
  max-height: 90vh;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 34px;
  color: white;
  cursor: pointer;
  font-weight: bold;
}

.category-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.category-head h2 {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.2;
}

.category-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.team-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.team-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.team-head h3 {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.2;
}
