/* ClubProperty Premium Listing — A4 flyer (v2.56), after the "Just listed" template:
   full-bleed hero with a black features panel top-right, gold serif headline,
   gold title + description band, photo strip, dark text block, footer with
   logo | agent | contacts | QR and the agent's portrait at the right.
   The flyer lives off-screen at exactly A4 @ 96dpi (794 × 1123 px). */

.cppl-flyer {
  position: absolute; left: -20000px; top: 0;
  width: 794px; height: 1123px; box-sizing: border-box;
  overflow: hidden; background: #0a0a0c; color: #f2f1f4;
  font-family: "Helvetica Neue", Arial, sans-serif; font-size: 11px; line-height: 1.5;
  display: flex; flex-direction: column;
  --fl-gold: #d2b47a; --fl-ink: #f2f1f4; --fl-soft: #c9c8cf; --fl-bg: #0a0a0c; --fl-panel: #0a0a0c; --fl-line: rgba(255,255,255,.35);
}
.cppl-flyer *, .cppl-flyer *::before, .cppl-flyer *::after { box-sizing: border-box; }
.cppl-flyer img { display: block; }
.cppl-flyer .ti { font-family: "tabler-icons"; font-style: normal; }
.cppl-flyer h1, .cppl-flyer h2, .cppl-flyer h3, .cppl-flyer h4, .cppl-flyer p { margin: 0; font-weight: 400; }

/* ---------- hero ---------- */
.cppl-fl-hero { position: relative; height: 530px; background: #15161b; overflow: hidden; flex: none; }
.cppl-fl-hero-img { width: 100%; height: 100%; object-fit: cover; }
.cppl-fl-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,12,0) 55%, rgba(10,10,12,.55) 80%, var(--fl-bg) 100%); }
.cppl-fl-panel { position: absolute; top: 0; right: 0; width: 318px; height: 280px; padding: 62px 26px 28px; background: var(--fl-panel); text-align: center; }
.cppl-fl-panel-line { position: absolute; left: 50%; top: 0; width: 1px; height: 44px; background: var(--fl-ink); opacity: .9; }
.cppl-flyer .cppl-fl-panel-intro { font-size: 10.5px; line-height: 1.55; color: var(--fl-ink); margin: 0 auto 22px; max-width: 250px; }
.cppl-flyer .cppl-fl-panel-title { font-family: Georgia, "Times New Roman", serif; font-size: 21px; letter-spacing: .02em; color: var(--fl-ink); margin-bottom: 22px; }
.cppl-fl-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 12px; text-align: left; padding: 0 6px; }
.cppl-fl-feat { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--fl-ink); white-space: nowrap; }
.cppl-fl-feat .ti { font-size: 20px; line-height: 1; color: var(--fl-ink); flex: none; }
.cppl-fl-headline { position: absolute; left: 40px; bottom: 30px; right: 220px; }
.cppl-flyer .cppl-fl-headline h1 { font-family: Georgia, "Times New Roman", serif; font-size: 54px; line-height: 1; letter-spacing: .01em; text-transform: uppercase; color: var(--fl-gold); margin-bottom: 8px; }
.cppl-fl-headline p { font-size: 11px; font-weight: 700; letter-spacing: .02em; color: #ffffff; }
.cppl-fl-price { position: absolute; right: 40px; bottom: 30px; font-family: Georgia, "Times New Roman", serif; font-size: 24px; color: var(--fl-gold); white-space: nowrap; }

/* ---------- gold title + description ---------- */
.cppl-fl-band { display: grid; grid-template-columns: 1fr 1.3fr; gap: 30px; padding: 22px 40px 18px; flex: none; }
.cppl-fl-band-l h2 { font-family: Georgia, "Times New Roman", serif; font-size: 23px; line-height: 1.15; letter-spacing: .04em; text-transform: uppercase; color: var(--fl-gold); }
.cppl-flyer .cppl-fl-band-r h4 { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--fl-ink); margin-bottom: 6px; }
.cppl-fl-band-r p { font-size: 10.5px; line-height: 1.55; color: var(--fl-soft); }

/* ---------- photo strip ---------- */
.cppl-fl-photos { display: grid; gap: 10px; padding: 0 40px; flex: none; }
.cppl-fl-photos--1 { grid-template-columns: 1fr; }
.cppl-fl-photos--2 { grid-template-columns: 1fr 1fr; }
.cppl-fl-photos--3 { grid-template-columns: 1fr 1fr 1fr; }
.cppl-fl-photos--4 { grid-template-columns: repeat(4, 1fr); }
.cppl-fl-photo { height: 138px; overflow: hidden; background: #15161b; }
.cppl-fl-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- lower block: text, footer, agent portrait ---------- */
.cppl-fl-lower { position: relative; flex: 1; display: flex; flex-direction: column; padding: 20px 40px 0; }
.cppl-fl-text { flex: 1; }
.cppl-flyer .cppl-fl-text p { font-size: 10.5px; line-height: 1.55; color: var(--fl-soft); margin-bottom: 8px; }
.cppl-fl-text .cppl-fl-hl { color: var(--fl-gold); }
.cppl-fl-text .cppl-fl-cta { color: var(--fl-ink); }
.cppl-fl-contact { display: flex; align-items: center; gap: 18px; padding: 16px 0 26px; border-top: 1px solid var(--fl-line); }
.cppl-fl-brand { display: flex; align-items: center; gap: 8px; padding-right: 14px; border-right: 1px solid var(--fl-line); }
.cppl-fl-brand-mark { width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--fl-ink); display: inline-flex; align-items: center; justify-content: center; font-family: Georgia, "Times New Roman", serif; font-size: 17px; letter-spacing: .04em; color: var(--fl-ink); flex: none; }
.cppl-fl-brand-mark i { font-style: normal; color: var(--fl-gold); margin: 0 2px; }
.cppl-fl-brand-logo { height: 44px; width: auto; max-width: 84px; object-fit: contain; flex: none; }
.cppl-fl-brand-name { font-size: 7.5px; letter-spacing: .22em; line-height: 1.5; color: var(--fl-ink); }
.cppl-fl-brand-name b { color: var(--fl-gold); font-weight: 400; }
.cppl-fl-agent { flex: 1 1 auto; min-width: 0; }
.cppl-fl-agent-name { font-family: Georgia, "Times New Roman", serif; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--fl-ink); }
.cppl-fl-agent-role { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--fl-soft); margin-top: 3px; }
.cppl-fl-lines { flex: none; margin-left: auto; font-size: 10px; letter-spacing: .04em; color: var(--fl-ink); line-height: 1.9; }
.cppl-fl-lines > div { display: flex; align-items: flex-start; gap: 8px; max-width: 150px; line-height: 1.4; margin-bottom: 5px; }
.cppl-fl-lines .ti { font-size: 13px; color: var(--fl-ink); width: 14px; }
.cppl-fl-qr-box { width: 74px; height: 74px; padding: 4px; background: #fff; flex: none; }
.cppl-fl-qr-box img, .cppl-fl-qr-box canvas { width: 66px !important; height: 66px !important; }
.cppl-fl-agent-photo { width: 74px; height: 74px; border-radius: 50%; overflow: hidden; flex: none; border: 1px solid var(--fl-line); background: #15161b; }
.cppl-fl-agent-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* ---------- light theme (class toggled by the script before capture) ---------- */
.cppl-flyer--light { --fl-gold: #b8944f; --fl-ink: #1b1633; --fl-soft: #4b4761; --fl-bg: #f7f5f0; --fl-panel: #ffffff; --fl-line: rgba(27,22,51,.25); background: #f7f5f0; color: #1b1633; }
.cppl-flyer--light .cppl-fl-hero-shade { background: linear-gradient(180deg, rgba(20,18,30,0) 50%, rgba(20,18,30,.55) 80%, rgba(20,18,30,.75) 100%); }
.cppl-flyer--light .cppl-fl-headline h1 { color: #e2c78c; }
.cppl-flyer--light .cppl-fl-price { color: #e2c78c; }
.cppl-flyer--light .cppl-fl-photo { background: #e5e2ec; }
.cppl-flyer--light .cppl-fl-qr-box { border: 1px solid #e5e2ec; }

/* ---------- the "Flyer" chip menu on the listing ---------- */
.cppl-flyer-menu { position: fixed; z-index: 9999; display: none; min-width: 210px; padding: 6px; border-radius: 10px; background: #fff; box-shadow: 0 10px 30px rgba(18,20,42,.22); border: 1px solid #e5e2ec; }
.cppl-flyer-menu.is-open { display: block; }
.cppl-flyer-menu button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 10px; border: 0; background: transparent; border-radius: 7px; font: inherit; font-size: 12.5px; color: #1b1633; cursor: pointer; text-align: left; }
.cppl-flyer-menu button:hover { background: #faf7ee; }
.cppl-flyer-menu button .ti { color: #c9a75c; font-size: 16px; }
.cppl-flyer-menu button[disabled] { opacity: .5; cursor: wait; }
.cppl-flyer-menu .cppl-flyer-menu-h { padding: 6px 10px 2px; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: #8d89a3; }
.cppl-flyer-menu .cppl-flyer-menu-row { display: flex; gap: 4px; padding: 0 4px 4px; }
.cppl-flyer-menu .cppl-flyer-menu-row button { width: auto; flex: 1; justify-content: center; border: 1px solid #e5e2ec; }
.cppl-flyer-menu .cppl-flyer-sw { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.cppl-flyer-menu .cppl-flyer-menu-lang { display: flex; align-items: center; gap: 6px; margin: 4px 4px 0; padding: 6px 8px; border-top: 1px solid #efedf4; font-size: 11px; color: #8d89a3; }
.cppl-flyer-menu .cppl-flyer-menu-lang select { margin-left: auto; font: inherit; font-size: 12px; color: #1b1633; border: 1px solid #e5e2ec; border-radius: 6px; padding: 3px 6px; background: #fff; }
