/* Luxury-JHenMedia COAs tab · Developer: JHenMedia */
.rb-coa-panel {
  max-width: 52rem;
}

.rb-coa-intro {
  margin: 0 0 1.25rem;
  color: #5a5a5a;
  font-size: 0.95rem;
  line-height: 1.55;
}

.rb-coa-html {
  margin-bottom: 1.5rem;
  color: #5a5a5a;
  font-size: 0.95rem;
}

/* Legacy empty-state copy must never appear on the storefront */
.rb-coa-empty {
  display: none !important;
}

.rb-coa-files {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.rb-coa-item {
  margin: 0;
  padding: 0;
}

.rb-coa-file,
.rb-coa-preview {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(197, 160, 89, 0.35);
  background: #f8f5f0;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.rb-coa-file:hover,
.rb-coa-preview:hover {
  border-color: #c5a059;
  background: #f3ebdd;
  color: inherit;
}

.rb-coa-preview-img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border: 1px solid rgba(197, 160, 89, 0.45);
  background: #fff;
}

.rb-coa-file-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  border: 1px solid #c5a059;
  color: #c5a059;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.rb-coa-file-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.rb-coa-file-meta strong {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.rb-coa-file-meta span {
  font-size: 0.78rem;
  color: #5a5a5a;
}

.rb-coa-file-action {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c5a059;
}

.rb-coa-pdf-embed {
  margin-top: 0.65rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  overflow: hidden;
}

.rb-coa-pdf-frame {
  display: block;
  width: 100%;
  min-height: 28rem;
  border: 0;
  background: #f3f1ec;
}

@media (max-width: 700px) {
  .rb-coa-pdf-frame {
    min-height: 20rem;
  }
}
