
body { margin: 0; padding: 0; font-family: var(--vcard-font) !important; background-color: #ffffff; color: var(--text-color, #111827); display: flex; justify-content: center; min-height: 100vh; }
.vcard-container { width: 100%; max-width: 480px; background-color: var(--vcard-bg, #f3f4f6); border: 0.1rem solid color-mix(in srgb, var(--vcard-color) 20%, transparent); min-height: 100vh; box-shadow: 0 0 20px rgba(0,0,0,0.05); overflow: hidden; }
.vcard-preview-header { height: 200px; background-color: var(--vcard-color); position: relative; border-bottom-left-radius: 30px; border-bottom-right-radius: 30px; border-bottom: 0.1rem solid var(--vcard-color, #3780A0); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); }
.vcard-preview-avatar { width: 120px; height: 120px; border-radius: 50%; border: 0.1rem solid var(--vcard-color, #3780A0); position: absolute; bottom: -60px; left: 50%; transform: translateX(-50%); background-color: var(--vcard-bg); display: flex; align-items: center; justify-content: center; font-size: 3rem; color: #9ca3af; overflow: hidden; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); }
.avatar-img { width: 100%; height: 100%; object-fit: cover; }
.vcard-preview-body { padding: 80px 20px 40px; text-align: center; }
.vcard-preview-name { font-size: var(--title-size, 1.5rem); color: var(--title-color, #111827); font-weight: 700; margin: 0 0 0.25rem; }
.vcard-preview-title { font-size: var(--text-size, 1rem); color: var(--title-color, #6b7280); margin-bottom: 0.25rem; }
.vcard-preview-company { font-size: var(--text-size, 1rem); font-weight: 600; color: var(--vcard-color); margin-bottom: 0.5rem; }
.vcard-preview-bio { font-size: var(--text-size, 1rem); color: var(--text-color, #4b5563); margin-bottom: 2rem; line-height: 1.6; text-align: left; background: var(--vcard-card-bg, #ffffff); padding: 15px; border-radius: 12px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); padding-top: 7px; }
.vcard-preview-bio a, .quill-content a, .featured-text a { color: var(--vcard-color); text-decoration: underline; }
.quill-content ul { list-style-type: disc; padding-left: 1.5rem; margin-top: 0.5rem; margin-bottom: 0.5rem; }
.quill-content ol { list-style-type: decimal; padding-left: 1.5rem; margin-top: 0.5rem; margin-bottom: 0.5rem; }
.quill-content li { margin-bottom: 0.25rem; }
.quill-content p { margin-bottom: 0.5rem; }
.ql-align-center { text-align: center; }
.ql-align-right { text-align: right; }
.ql-align-justify { text-align: justify; }
.vcard-preview-actions { display: flex; justify-content: center; gap: 10px; margin-bottom: 1rem; }
.vcard-preview-btn { background-color: var(--vcard-color, #3780A0); color: #fff; font-size: var(--text-size, 0.9rem); text-decoration: none; gap: 8px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); transition: transform 0.2s, box-shadow 0.2s; cursor: pointer; align-items: center; justify-content: center; display: flex; width: fit-content; margin: 1rem auto; text-align: center; padding: 0.7rem 1.3rem; border-radius: 0.9rem; background-color: var(--vcard-color); color: #fff; font-weight: 600; white-space: nowrap; }
.vcard-preview-btn:hover { opacity: 0.9; }
.vcard-preview-links { display: flex; flex-direction: column; gap: 12px; margin-bottom: 2.5rem; text-align: left; }
.vcard-link-wrapper { display: flex; gap: 10px; }
.vcard-preview-link-item { flex: 1; display: flex; align-items: center; gap: 15px; padding: 15px; background-color: var(--vcard-card-bg, #ffffff); border-radius: 12px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); border: 1px solid rgba(0,0,0,0.05); color: var(--text-color, #374151); text-decoration: none; }
.vcard-action-btn { width: 60px; display: flex; align-items: center; justify-content: center; background: var(--vcard-card-bg, #ffffff); color: var(--vcard-color); border-radius: 12px; text-decoration: none; font-size: var(--icon-size, 1.2rem); transition: background 0.2s; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); border: 1px solid rgba(0,0,0,0.05); }
.vcard-action-btn:hover { opacity: 0.85; }
.vcard-preview-link-icon { width: 44px; height: 44px; border-radius: 50%; background-color: var(--vcard-color); color: var(--icon-color, #ffffff); display: flex; align-items: center; justify-content: center; font-size: var(--icon-size, 1.2rem); flex-shrink: 0; }
.label { font-size: 0.75rem; color: var(--title-color, #6b7280); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; font-weight: 600; }
.value { font-weight: 500; font-size: 1rem; word-break: break-word; color: var(--text-color, #111827); }
.section-title-label { font-size: calc(var(--title-size) * 0.85); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 5px; color: var(--title-color, #9ca3af); font-weight: 700; text-align: center; }
.vcard-preview-social { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; padding: 8px 0 10px;}
.vcard-preview-social-link { color: #374151; font-size: calc(var(--icon-size, 1.2rem) * 1.2); transition: transform 0.2s; display: inline-flex; align-items: center; justify-content: center; width: 45px; height: 45px; background: var(--vcard-card-bg, #ffffff); border-radius: 50%; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); border: 1px solid rgba(0,0,0,0.05); overflow: hidden; position: relative; }
.vcard-preview-name { font-family: var(--vcard-font) !important; }
.wpvg-featured-card-title { font-family: var(--vcard-font) !important; }

.vcard-preview-social-link svg { width: 22px; height: 22px; max-width: 22px; max-height: 22px; fill: currentColor; display: block; }
.vcard-preview-social-link i { font-size: var(--icon-size, 1.2rem); }
.vcard-preview-social-link:hover { transform: translateY(-3px); }
.vcard-featured-block { background: var(--vcard-card-bg, #ffffff); border: 0.1rem solid color-mix(in srgb, var(--vcard-color) 20%, transparent); border-radius: 16px; padding: 20px; margin-bottom: 20px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); text-align: left; }
.vcard-featured-block h3 { margin: 0 0 15px 0; font-size: var(--title-size, 1.1rem); color: var(--title-color, #111827); padding-bottom: 4px; border-bottom: 0.1rem solid color-mix(in srgb, var(--vcard-color) 20%, transparent); }
.featured-media, .featured-product-img { width: 100%; object-fit: cover; }
.iframe-container { position: relative; width: 100%; padding-bottom: 56.25%; border-radius: 8px; overflow: hidden; }
.iframe-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.product-price-wrapper { margin: 10px 0; display: flex; align-items: center; gap: 10px; }
.price-old { text-decoration: line-through; color: var(--title-color, #9ca3af) !important; opacity: 0.7; font-size: calc(var(--title-size) * 0.85); }
.product-price, .price-promo { font-size: var(--title-size); font-weight: 700; color: var(--vcard-color); }
.price-promo { color: #ef4444 !important; }
.featured-btn { width: 100%; justify-content: center; }
.embed-wrapper { width: 100%; max-width: 600px; margin: 0 auto; overflow: hidden; display: block; flex-direction: column; align-items: center; justify-content: center; background: #fff; height: auto; border: none; }
.embed-wrapper iframe, .embed-wrapper object, .embed-wrapper embed { max-width: 98%; display: block; margin: 0 auto; border: 0.1rem solid color-mix(in srgb, var(--vcard-color) 20%, transparent); border-radius: 8px; }
.vcard-pdf-preview { display: block; text-decoration: none; border-radius: 8px; overflow: hidden; margin: 1.5rem 0; transition: transform 0.2s; }
.vcard-pdf-preview:hover { transform: scale(1.02); }

.pdf-thumb-wrapper { padding: 30px; text-align: center; color: #dc3545; }
.pdf-thumb-wrapper svg { width: 50px; height: 50px; fill: currentColor; }
.pdf-thumb-wrapper span { display: block; margin-top: 10px; color: #444; font-size: 0.9rem; font-weight: 600; }
.vcard-preview-link-icon { color: var(--icon-color, #ffffff); font-size: var(--icon-size, 1.2rem); }
#vcard-app svg {width: var(--icon-size, 1.2rem); height: var(--icon-size, 1.2rem); fill: var(--icon-color, #ffffff); color: var(--icon-color, #ffffff); display: inline-block; flex-shrink: 0; }
#vcard-app .vcard-preview-link-icon svg, #vcard-app .vcard-action-btn svg, #vcard-app .vcard-preview-header svg, #vcard-app .vcard-preview-social svg { width: var(--icon-size, 1.2rem); height: var(--icon-size, 1.2rem); fill: var(--icon-color, #ffffff); color: var(--icon-color, #ffffff); display: inline-block; }
.modal-close svg { width: var(--icon-size, 1.2rem); height: var(--icon-size, 1.2rem); }
.share-btn svg { width: 16px; height: 16px; }
.vcard-preview-link-icon svg,
.vcard-preview-btn svg,
.vcard-action-btn svg { width: var(--icon-size, 1.2rem); height: var(--icon-size, 1.2rem); fill: currentColor; color: currentColor; display: inline-block; flex-shrink: 0; }
.vcard-action-btn.coord-icon svg { fill: currentColor; color: currentColor; display: inline-block; flex-shrink: 0; width: calc(var(--icon-size, 1.2rem) * 1.3) !important; height: calc(var(--icon-size, 1.2rem) * 1.3) !important; }
.wpvg-preview-svg.coord-icon { width: calc(var(--icon-size) * var(--coord-icon-scale)); height: calc(var(--icon-size) * var(--coord-icon-scale)); }

.wpvg-preview-svg { display: inline-flex; align-items: center; justify-content: center; width: var(--icon-size); height: var(--icon-size); fill: currentColor;}
.wpvg-preview-svg svg { width: 100%; height: 100%; display: block; }

.wpvg-border1 { border: 0.1rem solid color-mix(in srgb, var(--vcard-color) 20%, transparent); border-radius: 8px; box-sizing: border-box; }
.vcard-cta-preview {
    margin-top: 1rem;
    text-align: left;
}
.vcard-cta-img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    border: 0.1rem solid color-mix(in srgb, var(--vcard-color) 20%, transparent);
    box-sizing: border-box;
}
.vcard-cta-desc {
    margin-top: 0.5rem;
}
.vcard-product-preview {
    margin-top: 1rem;
}
.vcard-product-img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    border: 0.1rem solid color-mix(in srgb, var(--vcard-color) 20%, transparent);
    box-sizing: border-box;
}
.value.quill-content.ql-padding {
    color: var(--text-color, #2E6772);
    font-size: var(--text-size, 1rem);
    line-height: 1.6;
}
.gdpr-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--vcard-color);
    cursor: pointer;
	border: 0.1rem solid color-mix(in srgb, var(--vcard-color) 20%, transparent); 
	border-radius: 8px;
	overflow: hidden;
}

.gdpr-video-thumb {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.gdpr-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    text-shadow: 0 0 10px black;
}

.gdpr-video-notice {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: .3rem;
    font-size: .75rem;
    background: rgba(255,255,255,.8);
    text-align: center;
}

.gdpr-video-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Wrapper général */
.gdpr-map {
    position: relative;
    width: 100%;
    height: 300px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
	border: 0.1rem solid color-mix(in srgb, var(--vcard-color) 20%, transparent);
}

/* Overlay RGPD */
.gdpr-map-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    font-size: 14px;
}

/* Bouton */
.gdpr-map-btn {
    margin-top: 10px;
    padding: 10px 18px;
    background: #4CAF50;
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    font-size: 14px;
    transition: 0.2s;
}

.gdpr-map-btn:hover {
    background: #43a047;
}

/* --- Player Audio Modernisé --- */
audio {
    width: 100%;
    border-radius: 8px;
    background: #f8f8f8; /* important */
    overflow: hidden;     /* important */
}

/* Style du panneau de contrôle */
audio::-webkit-media-controls-panel {
    background: #f8f8f8;
    border-radius: 8px;
}

/* Icônes modernisées */
audio::-webkit-media-controls-play-button,
audio::-webkit-media-controls-timeline,
audio::-webkit-media-controls-volume-slider {
    filter: invert(40%);
}

/* Modal */
.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); display: none; align-items: center; justify-content: center; z-index: 1000; padding: 20px; }
.modal-content { background: #fff; padding: 30px; border-radius: 24px; max-width: 320px; width: 100%; text-align: center; position: relative; box-shadow: 0 10px 25px rgba(0,0,0,0.2); }
.modal-close { position: absolute; top: 15px; right: 15px; background: #f3f4f6; border: none; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #6b7280; }
#qrcode { display: flex; justify-content: center; margin: 15px 0; padding: 15px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; }
.share-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 15px; }
.share-btn { background: #f3f4f6; color: #374151; border: none; padding: 10px; border-radius: 12px; font-size: 0.9rem; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; transition: background 0.2s; box-sizing: border-box; }
.share-btn:hover { background: #e5e7eb; }@media print {
    @page { size: auto; margin: 1cm; }
    body { margin: 0 !important; padding: 0 !important; background: white !important; }
    .vcard-container, .modal-close, .share-grid, .modal-actions, h3, .print-hidden { display: none !important; }

    .modal-overlay { 
      position: absolute !important; 
      top: 0 !important; 
      left: 0 !important; 
      width: 100% !important; 
      height: auto !important; 
      background: white !important; 
      display: block !important; 
      visibility: visible !important;
    }

    .modal-content { 
      box-shadow: none !important; 
      border: none !important; 
      width: 100% !important; 
      max-width: none !important; 
      padding: 0 !important; 
      margin: 0 !important; 
      background: white !important;
      visibility: visible !important;
    }

    .print-only-header { display: block !important; }

    #qrcode { 
      margin: 40px auto !important; 
      padding: 0 !important; 
      border: none !important; 
      transform: scale(1.5);
      transform-origin: center top;
    }

    #qrcode * { visibility: visible !important; }

    /* On masque tout sauf le QR */
    body * {
        visibility: hidden !important;
    }

    /* 🔥 Correction : ré‑afficher le QR et son modal */
    #qrcode,
    #qrcode * {
        visibility: visible !important;
    }

    .modal-content,
    .modal-content * {
        visibility: visible !important;
    }
	#consent-modal,
    #consent-modal *,
    #wpvg-password-screen,
    #wpvg-password-screen * {
        display: none !important;
        visibility: hidden !important;
    }
}

@media (max-width: 600px) {
  .section-title-label {
	font-size: calc(var(--title-size) * 0.75);
	padding-bottom: 1rem;
	}
}


