/* Vetoben Authenticity Certificate v2.0 — single design source */
.vb-auth-cert-page {
  --ink: #1A1714;
  --ink-70: rgba(26, 23, 20, 0.7);
  --ink-45: rgba(26, 23, 20, 0.45);
  --gold-deep: #B08D4F;
  --gold-light: #D8BD85;
  --paper: #F7F3EA;
  --line: rgba(26, 23, 20, 0.14);
  background: #DCD6C8;
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  display: flex;
  justify-content: center;
  padding: 48px 20px 64px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  box-sizing: border-box;
}

.vb-auth-cert-modal {
  --ink: #1A1714;
  --ink-70: rgba(26, 23, 20, 0.7);
  --ink-45: rgba(26, 23, 20, 0.45);
  --gold-deep: #B08D4F;
  --gold-light: #D8BD85;
  --paper: #F7F3EA;
  --line: rgba(26, 23, 20, 0.14);
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100000;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 12px 48px;
  overflow-y: auto;
  background: rgba(26, 23, 20, 0.62);
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

.vb-auth-cert-modal *,
.vb-auth-cert-page * { box-sizing: border-box; }

.vb-auth-cert-modal.is-open { display: flex; }

.vb-auth-cert-modal__shell {
  width: min(1100px, 100%);
  margin: 0 auto;
  position: relative;
}

.vb-auth-cert-modal__close {
  position: sticky;
  top: 8px;
  float: right;
  z-index: 2;
  border: 0;
  background: #1a1714;
  color: #f5f1e8;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  margin: 0 0 10px;
}

.vb-auth-cert-modal__actions,
.vb-auth-cert-page__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 14px;
  clear: both;
}

.vb-auth-cert-modal__actions button,
.vb-auth-cert-page__actions a,
.vb-auth-cert-page__actions button {
  border: 0;
  cursor: pointer;
  padding: 10px 16px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  font-family: Inter, sans-serif;
}

.vb-auth-cert-btn-print { background: #1a1714; color: #f5f1e8; }
.vb-auth-cert-btn-close { background: #efe8da; color: #1a1714; }


.vb-auth-cert-modal .cert,
.vb-auth-cert-page .cert {
    width:1100px;
    background:var(--paper);
    position:relative;
    box-shadow:0 40px 90px rgba(0,0,0,.35);
    padding:20px;
  }

.vb-auth-cert-modal .cert::before,
.vb-auth-cert-page .cert::before {
    content:'';
    position:absolute; inset:20px;
    background-image:
      repeating-linear-gradient(115deg, rgba(176,141,79,.05) 0px, rgba(176,141,79,.05) 1px, transparent 1px, transparent 14px),
      repeating-linear-gradient(65deg, rgba(176,141,79,.05) 0px, rgba(176,141,79,.05) 1px, transparent 1px, transparent 14px);
    pointer-events:none;
  }

.vb-auth-cert-modal .frame,
.vb-auth-cert-page .frame {
    position:relative;
    border:2px solid var(--gold-deep);
    padding:3px;
  }

.vb-auth-cert-modal .frame-inner,
.vb-auth-cert-page .frame-inner {
    border:1px solid var(--gold-deep);
    padding:44px 56px 40px;
    position:relative;
  }

.vb-auth-cert-modal .corner,
.vb-auth-cert-page .corner { position:absolute; width:38px; height:38px; opacity:.85; }

.vb-auth-cert-modal .corner svg,
.vb-auth-cert-page .corner svg { width:100%; height:100%; }

.vb-auth-cert-modal .corner.tl,
.vb-auth-cert-page .corner.tl { top:-2px; left:-2px; }

.vb-auth-cert-modal .corner.tr,
.vb-auth-cert-page .corner.tr { top:-2px; right:-2px; transform:scaleX(-1); }

.vb-auth-cert-modal .corner.bl,
.vb-auth-cert-page .corner.bl { bottom:-2px; left:-2px; transform:scaleY(-1); }

.vb-auth-cert-modal .corner.br,
.vb-auth-cert-page .corner.br { bottom:-2px; right:-2px; transform:scale(-1,-1); }

.vb-auth-cert-modal .cert-header,
.vb-auth-cert-page .cert-header { text-align:center; position:relative; z-index:1; }

.vb-auth-cert-modal .cert-header img,
.vb-auth-cert-page .cert-header img { height:40px; width:auto; margin-bottom:8px; }

.vb-auth-cert-modal .cert-header .word,
.vb-auth-cert-page .cert-header .word {
    font-size:13px; letter-spacing:.42em; font-weight:600; color:var(--ink);
    margin-bottom:16px;
  }

.vb-auth-cert-modal .cert-title,
.vb-auth-cert-page .cert-title {
    font-family:'Cormorant Garamond', serif; font-style:italic; font-weight:500;
    font-size:34px; color:var(--ink); letter-spacing:.01em;
  }

.vb-auth-cert-modal .cert-subtitle,
.vb-auth-cert-page .cert-subtitle {
    font-size:10.5px; letter-spacing:.34em; text-transform:uppercase;
    color:var(--gold-deep); font-weight:700; margin-top:6px;
  }

.vb-auth-cert-modal .rule,
.vb-auth-cert-page .rule {
    display:flex; align-items:center; justify-content:center; gap:14px;
    margin:18px auto 0; max-width:260px;
  }

.vb-auth-cert-modal .rule::before,
.vb-auth-cert-page .rule::before,
.vb-auth-cert-modal .rule::after,
.vb-auth-cert-page .rule::after { content:''; flex:1; height:1px; background:var(--gold-deep); opacity:.5; }

.vb-auth-cert-modal .rule span,
.vb-auth-cert-page .rule span { width:5px; height:5px; transform:rotate(45deg); background:var(--gold-deep); flex-shrink:0; }

.vb-auth-cert-modal .cert-meta,
.vb-auth-cert-page .cert-meta {
    display:flex; justify-content:space-between;
    margin-top:16px; font-size:10.5px; color:var(--ink-45); letter-spacing:.04em;
  }

.vb-auth-cert-modal .cert-meta b,
.vb-auth-cert-page .cert-meta b { color:var(--ink-70); font-weight:600; }

.vb-auth-cert-modal .photo-row,
.vb-auth-cert-page .photo-row {
    display:flex; gap:14px; margin:30px 0 28px; position:relative; z-index:1;
  }

.vb-auth-cert-modal .photo,
.vb-auth-cert-page .photo {
    flex:1; aspect-ratio:1/1; border-radius:2px;
    background:linear-gradient(135deg, #E7DDC9, #CDBB93);
    position:relative; overflow:hidden;
    border:1px solid rgba(26,23,20,.15);
  }

.vb-auth-cert-modal .photo.main,
.vb-auth-cert-page .photo.main { flex:1.35; }

.vb-auth-cert-modal .photo .tag,
.vb-auth-cert-page .photo .tag {
    position:absolute; bottom:8px; left:8px;
    font-size:8.5px; letter-spacing:.12em; text-transform:uppercase;
    color:rgba(26,23,20,.55); background:rgba(247,243,234,.75);
    padding:3px 7px; border-radius:2px; font-weight:700;
  }

.vb-auth-cert-modal .photo span.ph,
.vb-auth-cert-page .photo span.ph {
    position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
    font-family:'Cormorant Garamond', serif; font-style:italic; font-size:12px;
    color:rgba(26,23,20,.38);
  }

.vb-auth-cert-modal .product-block,
.vb-auth-cert-page .product-block {
    display:flex; justify-content:space-between; align-items:flex-start;
    gap:40px; position:relative; z-index:1; margin-bottom:26px;
  }

.vb-auth-cert-modal .product-name,
.vb-auth-cert-page .product-name {
    font-family:'Cormorant Garamond', serif; font-style:italic; font-weight:600;
    font-size:27px; color:var(--ink); margin-bottom:14px;
  }

.vb-auth-cert-modal .value-box,
.vb-auth-cert-page .value-box {
    text-align:right; flex-shrink:0; padding-left:20px; border-left:1px solid var(--line);
  }

.vb-auth-cert-modal .value-box .vlabel,
.vb-auth-cert-page .value-box .vlabel { font-size:9.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-45); margin-bottom:6px; }

.vb-auth-cert-modal .value-box .vamt,
.vb-auth-cert-page .value-box .vamt {
    font-family:'Cormorant Garamond', serif; font-weight:600; font-size:32px; color:var(--ink);
  }

.vb-auth-cert-modal .value-box .vnote,
.vb-auth-cert-page .value-box .vnote { font-size:9.5px; color:var(--ink-45); margin-top:4px; }

.vb-auth-cert-modal .statement,
.vb-auth-cert-page .statement {
    font-family:'EB Garamond', serif; font-style:italic;
    font-size:13px; line-height:1.75; color:var(--ink-70);
    text-align:center; max-width:720px; margin:0 auto 30px;
    position:relative; z-index:1;
  }

.vb-auth-cert-modal .statement b,
.vb-auth-cert-page .statement b { font-style:normal; color:var(--ink); font-weight:600; }

.vb-auth-cert-modal .sign-row,
.vb-auth-cert-page .sign-row {
    display:flex; justify-content:space-between; align-items:flex-end;
    position:relative; z-index:1; margin-top:8px;
  }

.vb-auth-cert-modal .sign-col,
.vb-auth-cert-page .sign-col { width:230px; }

.vb-auth-cert-modal .sig-line,
.vb-auth-cert-page .sig-line {
    font-family:'Pinyon Script', cursive; font-size:36px; line-height:1;
    color:var(--ink); border-bottom:1px solid var(--ink); padding-bottom:8px; margin-bottom:6px;
  }

.vb-auth-cert-modal .sign-col .role,
.vb-auth-cert-page .sign-col .role { font-size:9.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-45); }

.vb-auth-cert-modal .seal-wrap,
.vb-auth-cert-page .seal-wrap { width:128px; height:128px; flex-shrink:0; position:relative; }

.vb-auth-cert-modal .seal-wrap svg,
.vb-auth-cert-page .seal-wrap svg { width:100%; height:100%; overflow:visible; filter:drop-shadow(3px 8px 10px rgba(20,10,5,.45)) drop-shadow(0 2px 3px rgba(20,10,5,.3)); }

.vb-auth-cert-modal .seal-wrap img.mono,
.vb-auth-cert-page .seal-wrap img.mono {
    position:absolute; left:50%; top:50%; height:26px; width:auto;
    transform:translate(-50%,-64%);
    filter:
      drop-shadow(0 1.4px 0px rgba(255,235,190,.35))
      drop-shadow(0 -1px 1px rgba(0,0,0,.6));
  }

.vb-auth-cert-modal .verify-col,
.vb-auth-cert-page .verify-col { width:230px; text-align:right; }

.vb-auth-cert-modal .verify-col .qr,
.vb-auth-cert-page .verify-col .qr {
    width:58px; height:58px; margin-left:auto; margin-bottom:8px;
    border:1px solid rgba(26,23,20,.15);
    padding:4px;
    background:var(--paper);
  }

.vb-auth-cert-modal .verify-col .vtxt,
.vb-auth-cert-page .verify-col .vtxt { font-size:9px; color:var(--ink-45); letter-spacing:.04em; line-height:1.5; }

.vb-auth-cert-modal .cert-footer,
.vb-auth-cert-page .cert-footer {
    text-align:center; margin-top:32px; padding-top:16px;
    border-top:1px solid var(--line);
    font-size:9px; letter-spacing:.2em; text-transform:uppercase; color:var(--ink-45);
    position:relative; z-index:1;
  }


.vb-auth-cert-modal .photo img,
.vb-auth-cert-page .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vb-auth-cert-modal .verify-col .qr img,
.vb-auth-cert-page .verify-col .qr img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

/* Sample preview watermark — diagonal across mid certificate */
.vb-auth-cert-modal .cert-watermark,
.vb-auth-cert-page .cert-watermark {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
}

.vb-auth-cert-modal .cert-watermark span,
.vb-auth-cert-page .cert-watermark span {
  transform: rotate(-28deg);
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  color: rgba(176, 141, 79, 0.28);
  border: 2px solid rgba(176, 141, 79, 0.32);
  padding: 0.45em 1.1em;
  white-space: nowrap;
  user-select: none;
  text-shadow: 0 1px 0 rgba(247, 243, 234, 0.35);
}

.vb-auth-cert-modal .cert:not(.is-sample) .cert-watermark,
.vb-auth-cert-page .cert:not(.is-sample) .cert-watermark {
  display: none;
}

.vb-auth-cert-modal .cert,
.vb-auth-cert-page .cert {
  width: 100%;
  max-width: 1100px;
  clear: both;
}

@media (max-width: 900px) {
  .vb-auth-cert-modal .frame-inner,
  .vb-auth-cert-page .frame-inner { padding: 28px 18px 24px; }
  .vb-auth-cert-modal .photo-row,
  .vb-auth-cert-page .photo-row,
  .vb-auth-cert-modal .product-block,
  .vb-auth-cert-page .product-block,
  .vb-auth-cert-modal .sign-row,
  .vb-auth-cert-page .sign-row { flex-direction: column; }
  .vb-auth-cert-modal .photo.main,
  .vb-auth-cert-page .photo.main,
  .vb-auth-cert-modal .sign-col,
  .vb-auth-cert-page .sign-col,
  .vb-auth-cert-modal .verify-col,
  .vb-auth-cert-page .verify-col,
  .vb-auth-cert-modal .seal-wrap,
  .vb-auth-cert-page .seal-wrap { width: 100%; }
  .vb-auth-cert-modal .value-box,
  .vb-auth-cert-page .value-box {
    text-align: left;
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 14px;
    width: 100%;
  }
  .vb-auth-cert-modal .verify-col,
  .vb-auth-cert-page .verify-col { text-align: left; }
  .vb-auth-cert-modal .verify-col .qr,
  .vb-auth-cert-page .verify-col .qr { margin-left: 0; }
  .vb-auth-cert-modal .seal-wrap,
  .vb-auth-cert-page .seal-wrap { margin: 10px auto; }
}

@media print {
  .vb-auth-cert-modal__close,
  .vb-auth-cert-modal__actions,
  .vb-auth-cert-page__actions { display: none !important; }
  .vb-auth-cert-modal {
    position: static;
    display: block !important;
    background: transparent;
    padding: 0;
    overflow: visible;
  }
  .vb-auth-cert-page { background: #fff; padding: 0; }
  .vb-auth-cert-modal .cert,
  .vb-auth-cert-page .cert { box-shadow: none; }
}
