/* Copyright (c) 2026 Acqire AG · ClubProperty.com. All rights reserved. Proprietary - see LICENSE.txt.
   ClubProperty profile card - extends qr.css / card.css */
.cp-profile__preview[data-format="bizcard"] canvas { width: min(480px, 86vw); }
.cp-profile .cp-card__thumb { width: 56px; height: 56px; border-radius: 50%; }
.cp-profile .cp-card__thumb img { border-radius: 50%; }

/* Floating "My digital card" button on the owner's own profile page (fallback when the template skips the_content). */
.cp-profile__float { position: fixed; right: 18px; bottom: 18px; z-index: 9999; }
.cp-profile__float .cp-card__modal { position: fixed; }
.cp-card__cta--float { box-shadow: 0 10px 30px rgba(0, 0, 0, .3); border-radius: 999px; padding: 12px 20px; background: var(--cppl-gold, #c9a227); color: #020016; }
.cp-card__cta--float:hover { color: #020016; }
@media (max-width: 600px) { .cp-profile__float { right: 12px; bottom: 12px; } .cp-card__cta--float { padding: 10px 14px; font-size: 14px; } }
.cp-card__auto + .cp-profile__float { display: none; }

/* "What to show" toggles and the strip picker */
.cp-profile__show { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; margin-bottom: 8px; }
.cp-profile__show .cp-qr__label { margin: 0; }
.cp-profile__strip { display: flex; flex-wrap: wrap; gap: 8px; }
.cp-profile__pick { position: relative; width: 84px; cursor: pointer; font-size: .75em; color: var(--cp-qr-muted); }
.cp-profile__pick img { display: block; width: 84px; height: 60px; object-fit: cover; border-radius: var(--cp-qr-radius); border: 2px solid transparent; opacity: .55; }
.cp-profile__pick input { position: absolute; top: 4px; left: 4px; margin: 0; z-index: 1; }
.cp-profile__pick input:checked + img { border-color: var(--cp-qr-accent); opacity: 1; }
.cp-profile__pick input:disabled + img { opacity: .3; }
.cp-profile__pick span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.cp-profile__pick em { position: absolute; right: 4px; top: 4px; font: 700 9px/1 sans-serif; font-style: normal; text-transform: uppercase; background: var(--cp-qr-accent); color: #fff; padding: 3px 5px; border-radius: 99px; }

/* v2.6.1 — hero button on Professionals pages: inherits the Save / Share look (.cpp-pro2-flat) */
.cpp-pro2-savebar .cp-card__cta.cp-card__cta--hero { background: none; border: 0; border-radius: 0; padding: 4px 2px; color: #fff; font: 600 .92rem 'Outfit', sans-serif; gap: 8px; box-shadow: none; }
.cpp-pro2-savebar .cp-card__cta.cp-card__cta--hero:hover { color: #d9b86a; opacity: 1; }
.cpp-pro2-savebar .cp-card__cta.cp-card__cta--hero svg { width: 18px; height: 18px; }
.cpp-pro2-savebar .cp-card__modal { position: fixed; text-align: left; }

/* v2.6.2 — agent / agency hero button (Estatik markup): white text on the hero, like Save / Share */
.es-entity-single .es-entity__single-block .cp-qr-control { display: inline-flex; align-items: center; }
.es-entity-single .es-entity__single-block .cp-card__cta.cp-card__cta--agent { background: transparent !important; border: 0 !important; box-shadow: none !important; color: #fff !important; padding: 6px 10px; border-radius: 8px; font: 600 .92rem 'Outfit', sans-serif; gap: 8px; }
.es-entity-single .es-entity__single-block .cp-card__cta.cp-card__cta--agent:hover { background: rgba(255,255,255,.12) !important; opacity: 1; }
.es-entity-single .es-entity__single-block .cp-card__cta.cp-card__cta--agent svg { width: 18px; height: 18px; }
.cp-profile__agentbtn--placed { position: static; }
.cp-profile__agentbtn--placed .cp-card__modal { position: fixed; text-align: left; }
