.dhdbc-wrap { --dhdbc-dark: #111827; --dhdbc-muted: #6b7280; --dhdbc-accent: #2563eb; font-family: inherit; max-width: 430px; margin: 32px auto; }
.dhdbc-card { overflow: hidden; border-radius: 28px; background: #fff; box-shadow: 0 24px 70px rgba(17, 24, 39, .18); border: 1px solid rgba(17, 24, 39, .08); }
.dhdbc-hero { min-height: 210px; background: linear-gradient(135deg, #1d4ed8, #111827); background-size: cover; background-position: center; position: relative; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 0; }
.dhdbc-avatar { width: 132px; height: 132px; border-radius: 999px; background: #fff; border: 6px solid #fff; overflow: hidden; transform: translateY(50%); box-shadow: 0 16px 30px rgba(17,24,39,.2); display: grid; place-items: center; }
.dhdbc-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dhdbc-avatar span { color: var(--dhdbc-accent); font-weight: 800; font-size: 54px; }
.dhdbc-body { padding: 78px 24px 28px; text-align: center; }
.dhdbc-body h1 { margin: 0 0 8px; color: var(--dhdbc-dark); font-size: clamp(28px, 8vw, 40px); line-height: 1.1; font-weight: 800; }
.dhdbc-title { margin: 0 0 22px; color: var(--dhdbc-muted); font-size: 17px; line-height: 1.35; font-weight: 700; }
.dhdbc-body h1 + .dhdbc-contact-list { margin-top: 14px; }
.dhdbc-contact-list { display: grid; gap: 12px; text-align: left; }
.dhdbc-contact-list a, .dhdbc-contact-list div { color: var(--dhdbc-dark); text-decoration: none; background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 18px; padding: 14px 16px; display: block; }
.dhdbc-contact-list span { display: block; color: var(--dhdbc-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin-bottom: 4px; }
.dhdbc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.dhdbc-btn { appearance: none; border: 0; border-radius: 999px; padding: 13px 18px; cursor: pointer; text-decoration: none; font-weight: 800; text-align: center; background: #e5e7eb; color: var(--dhdbc-dark); font-size: 15px; line-height: 1.2; }
.dhdbc-primary { background: var(--dhdbc-accent); color: #fff; }
.dhdbc-modal { position: fixed; inset: 0; background: rgba(15,23,42,.68); z-index: 99999; display: none; align-items: center; justify-content: center; padding: 20px; }
.dhdbc-modal[aria-hidden="false"] { display: flex; }
.dhdbc-modal-card { width: min(94vw, 360px); background: #fff; border-radius: 24px; padding: 56px 24px 24px; text-align: center; position: relative; box-shadow: 0 24px 70px rgba(0,0,0,.35); }
.dhdbc-modal-card h2 { margin: 0 0 8px; font-size: 24px; color: var(--dhdbc-dark); }
.dhdbc-modal-card p { margin: 0 0 18px; color: var(--dhdbc-muted); }
.dhdbc-close { all: unset; box-sizing: border-box; position: absolute !important; top: 14px !important; right: 14px !important; width: 34px !important; height: 34px !important; min-width: 34px !important; min-height: 34px !important; max-width: 34px !important; max-height: 34px !important; border: 0 !important; border-radius: 999px !important; background: #111827 !important; color: #fff !important; display: grid !important; place-items: center !important; font-size: 24px !important; font-weight: 700 !important; line-height: 1 !important; padding: 0 !important; margin: 0 !important; cursor: pointer; z-index: 2; }
.dhdbc-close:hover, .dhdbc-close:focus { background: #000 !important; color: #fff !important; outline: 2px solid rgba(37,99,235,.35); outline-offset: 2px; }
.dhdbc-qr { display: flex; justify-content: center; margin: 16px auto 20px; position: relative; z-index: 1; }
.dhdbc-qr img, .dhdbc-qr canvas { border-radius: 12px; }
@media (max-width: 420px) { .dhdbc-actions { grid-template-columns: 1fr; } .dhdbc-wrap { margin: 16px auto; } }

/* Standalone QR landing page: shows only the card, full screen, without the WordPress theme/header/footer. */
.dhdbc-standalone-body { margin: 0; min-height: 100vh; background: #eef2f7; }
.dhdbc-standalone-main { min-height: 100vh; display: flex; align-items: stretch; justify-content: center; padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom)); box-sizing: border-box; }
.dhdbc-standalone-main .dhdbc-wrap { width: min(430px, 100%); margin: auto; }
@media (max-width: 480px) {
  .dhdbc-standalone-main { padding: 0; background: #fff; }
  .dhdbc-standalone-main .dhdbc-wrap { width: 100%; max-width: none; min-height: 100vh; margin: 0; display: flex; }
  .dhdbc-standalone-main .dhdbc-card { width: 100%; min-height: 100vh; border-radius: 0; border: 0; box-shadow: none; }
  .dhdbc-standalone-main .dhdbc-hero { min-height: 34vh; }
  .dhdbc-standalone-main .dhdbc-body { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
}

