/* Virtual Cellar — Public Certificate Page Styles
   ------------------------------------------------- */

.vc-cert-page {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Georgia, serif;
  max-width: 660px;
  margin: 40px auto;
  padding: 0 20px 60px;
  color: #2c1a06;
}

/* ── Certificate card ─────────────────────────── */

.vc-cert-card-full {
  background: #faf6ef;
  border: 2px solid #c47a25;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(26,15,4,.16);
}

/* Header band */
.vc-cert-header {
  background: #1a0f04;
  padding: 22px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vc-cert-header__title {
  color: #e8a94d;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0;
}

.vc-cert-header__subtitle {
  color: rgba(232,169,77,.6);
  font-size: .82rem;
  margin-top: 2px;
}

.vc-cert-header__number {
  color: rgba(232,169,77,.7);
  font-size: .85rem;
  font-weight: 700;
  font-family: monospace;
}

/* Body */
.vc-cert-body {
  padding: 32px 36px;
}

.vc-cert-label {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #a0713a;
  margin-bottom: 4px;
}

.vc-cert-title-line {
  font-size: .95rem;
  color: #7a5c38;
  margin: 0 0 6px;
  font-style: italic;
}

.vc-cert-buyer-name {
  font-size: 2.2rem;
  font-weight: 800;
  color: #1a0f04;
  line-height: 1.1;
  margin: 0 0 6px;
}

.vc-cert-location {
  font-size: 1rem;
  color: #7a5c38;
  margin-bottom: 28px;
}

.vc-cert-divider {
  border: none;
  border-top: 1px solid #e0c99a;
  margin: 20px 0;
}

/* Bottle block */
.vc-cert-bottle-block {
  background: #f0e8d6;
  border: 1px solid #e0c99a;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 24px;
}

.vc-cert-bottle-emoji {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.vc-cert-bottle-name {
  font-size: 1.6rem;
  font-weight: 800;
  color: #1a0f04;
  margin: 0 0 6px;
  line-height: 1.2;
}

.vc-cert-bottle-sub {
  font-size: .9rem;
  color: #7a5c38;
  margin-bottom: 6px;
}

.vc-cert-bottle-category {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #c47a25;
  background: rgba(196,122,37,.12);
  border: 1px solid rgba(196,122,37,.3);
  padding: 3px 10px;
  border-radius: 20px;
}

/* Value & date */
.vc-cert-value-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.vc-cert-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #c47a25;
}

.vc-cert-date {
  font-size: .9rem;
  color: #7a5c38;
  font-style: italic;
}

/* Footer band */
.vc-cert-footer {
  background: #1a0f04;
  padding: 14px 30px;
  text-align: center;
  color: rgba(232,169,77,.7);
  font-size: .78rem;
  letter-spacing: .05em;
}

/* ── Actions bar ──────────────────────────────── */

.vc-cert-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.vc-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .18s;
}

.vc-action-btn--primary {
  background: #c47a25;
  color: #1a0f04;
  border-color: #c47a25;
}

.vc-action-btn--primary:hover {
  background: #e8a94d;
  color: #1a0f04;
  border-color: #e8a94d;
}

.vc-action-btn--ghost {
  background: transparent;
  color: #c47a25;
  border-color: #c47a25;
}

.vc-action-btn--ghost:hover {
  background: #c47a25;
  color: #1a0f04;
}

/* Share popover */
.vc-share-wrap { position: relative; }

.vc-share-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #1a0f04;
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
  z-index: 100;
  min-width: 180px;
}

.vc-share-wrap.vc-open .vc-share-dropdown { display: block; }

.vc-share-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 6px;
  color: #e8a94d;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 600;
  transition: background .12s;
}

.vc-share-option:hover { background: rgba(232,169,77,.15); color: #e8a94d; }

/* Responsive */
@media (max-width: 520px) {
  .vc-cert-buyer-name { font-size: 1.7rem; }
  .vc-cert-bottle-name { font-size: 1.3rem; }
  .vc-cert-body { padding: 24px 20px; }
  .vc-cert-header { flex-direction: column; align-items: flex-start; gap: 6px; }
}
