/* NANO GO – Digital Passport styles */

.ng-passport {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 2rem;
  align-items: flex-start;
  margin: 2rem 0;
  font-family: Verdana, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

/* LEFT COLUMN – product image */
.ng-passport__media {
  position: sticky;
  top: 20px;
}

.ng-passport__media-main img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* RIGHT COLUMN – info */
.ng-passport__info {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.5rem;
}

.ng-passport__header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e2e8f0;
}

.ng-passport__title {
  font-size: 20px;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 0.25rem;
}

.ng-passport__subtitle {
  font-size: 14px;
  color: #718096;
  font-weight: 600;
}

/* META TABLE */
.ng-passport__meta {
  display: grid;
  grid-template-columns: 180px 1fr;
  column-gap: 1.5rem;
  row-gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #edf2f7;
}

.ng-passport__meta dt {
  font-weight: 600;
  color: #4a5568;
  font-size: 13px;
}

.ng-passport__meta dd {
  margin: 0;
  color: #2d3748;
  font-size: 14px;
}

/* CONTENT BLOCKS */
.ng-passport__block {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #edf2f7;
}

.ng-passport__block:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.ng-passport__block-title {
  margin: 0 0 0.75rem;
  font-size: 15px;
  font-weight: 600;
  color: #2d3748;
}

.ng-passport__block-body {
  font-size: 14px;
  line-height: 1.7;
  color: #4a5568;
}

.ng-passport__block-body p {
  margin: 0 0 0.75rem;
}

.ng-passport__block-body ul,
.ng-passport__block-body ol {
  margin: 0 0 0.75rem;
  padding-left: 1.5rem;
}

.ng-passport__block-body li {
  margin-bottom: 0.5rem;
}

/* HAZARD PICTOGRAMS – bottom row */
.ng-passport__hazards {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 1.5rem;
  align-items: center;
}

.ng-passport__hazards img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 4px;
}

/* separator from last block */
.ng-passport__hazards--bottom {
  border-top: 1px solid #edf2f7;
  padding-top: 1rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .ng-passport {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .ng-passport__media {
    position: static;
  }

  .ng-passport__media-main img {
    max-width: 250px;
    margin: 0 auto;
  }

  .ng-passport__meta {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .ng-passport__meta dt {
    font-weight: 700;
    margin-bottom: 0.25rem;
  }

  /* Mobile: allow wrapping, but max 4 per row visually */
  .ng-passport__hazards {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .ng-passport__hazards img {
    flex: 0 0 calc(25% - 6px);
    max-width: 100%;
  }
}

/* Print styles */
@media print {
  .ng-passport {
    grid-template-columns: 200px 1fr;
  }

  .ng-passport__info {
    border: 1px solid #ddd;
    box-shadow: none;
  }
}
