/* ===== EMA partner cards — restyle .seller-short (partner profile sidebar + listing seller box) =====
   Approach A: pure CSS over existing Flynax markup + structured about_me HTML (.pc-* classes).
   Reversible: remove this block. */
:root{
  --pc-brand:#0E5B63; --pc-brand-deep:#0A4147; --pc-ink:#12292c; --pc-soft:#3d5457;
  --pc-muted:#6a7d7e; --pc-line:#dbe4e3; --pc-accent:#b9863a; --pc-accent-soft:#e7d2a6;
  --pc-panel:#ffffff; --pc-surface:#f4f8f7;
  --pc-serif:Georgia,"Times New Roman",serif;
  --pc-mono:ui-monospace,"SF Mono","Cascadia Code",Menlo,monospace;
}
@media (prefers-color-scheme:dark){:root{
  --pc-ink:#e6efee; --pc-soft:#b6c6c5; --pc-muted:#8ba1a0; --pc-line:#22322f;
  --pc-panel:#12211f; --pc-surface:#0d1a19; --pc-accent:#d3a552; --pc-accent-soft:#5f4a24;
}}

/* kill the outer wrapper frame (core .side_block gray box) so there is ONE card */
section.side_block.seller-short,section.seller-short,.account_page_info{
  background:transparent!important;border:0!important;box-shadow:none!important;
  padding:0!important;border-radius:0!important;margin:0!important}
section.seller-short > .clearfix,section.seller-short > div{padding:0!important;background:none!important;border:0!important}

/* the actual card = the inner .row.seller-short only */
.row.seller-short{background:var(--pc-panel);border:1px solid var(--pc-line);border-radius:14px;
  overflow:hidden;box-shadow:0 1px 2px rgba(15,42,46,.05),0 14px 34px -24px rgba(10,65,71,.38);margin:0!important}
.seller-short .col-sm-6,.seller-short .col-md-12,.seller-short [class*="col-"]{padding:0!important;width:100%!important;float:none!important}
.seller-short .clearfix.relative{position:relative}

/* brand panel from .picture (logo) */
.seller-short .picture{width:auto!important;height:auto!important;float:none!important;margin:0!important;
  background:linear-gradient(160deg,var(--pc-brand),var(--pc-brand-deep));
  padding:22px 20px!important;display:flex;align-items:center;justify-content:center;text-align:center}
.seller-short .picture img{max-width:180px;max-height:70px;width:auto!important;height:auto!important;
  background:#fff;border-radius:9px;padding:10px 14px;box-shadow:0 8px 20px -12px rgba(0,0,0,.5)}
.seller-short.no-picture .picture,.seller-short .picture:empty{display:none}

/* header text */
.seller-short .seller-info{list-style:none;margin:0;padding:18px 20px 4px}
.seller-short .seller-info .name{font-family:var(--pc-serif);font-size:22px;font-weight:600;
  line-height:1.15;color:var(--pc-ink);letter-spacing:-.01em}
.seller-short .seller-info .name a{color:inherit;text-decoration:none}
.seller-short .seller-info .type{font-family:var(--pc-mono);font-size:11px;letter-spacing:.08em;
  text-transform:uppercase;color:var(--pc-muted);margin-top:6px;font-weight:400}

/* products counter */
.seller-short ul.d-flex{padding:0 20px!important;margin:6px 0 0}
.seller-short .counter span.counter{font-family:var(--pc-serif);font-size:18px;color:var(--pc-brand);font-weight:600}
.seller-short .counter span{color:var(--pc-muted);font-size:12px}

/* ===== about_me structured content (.about holds .pc-* html) ===== */
.seller-short .about{display:block;padding:6px 20px 4px;color:var(--pc-soft);font-size:14px;line-height:1.6}
.pc-rel{display:inline-block;font-family:var(--pc-mono);font-size:10px;letter-spacing:.14em;text-transform:uppercase;
  color:var(--pc-accent);border:1px solid var(--pc-accent-soft);border-radius:999px;padding:4px 10px;margin:2px 0 12px}
.pc-tagline{font-family:var(--pc-serif);font-style:italic;font-size:15px;color:var(--pc-ink);margin:0 0 12px}
.pc-profile{margin:0 0 14px}
.pc-facts{list-style:none;margin:14px 0;padding:14px 0;border-top:1px solid var(--pc-line);border-bottom:1px solid var(--pc-line)}
.pc-facts li{display:flex;justify-content:space-between;gap:14px;padding:5px 0;font-size:13px}
.pc-facts li .k{font-family:var(--pc-mono);font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--pc-muted);flex:0 0 auto}
.pc-facts li .v{color:var(--pc-ink);text-align:right;font-variant-numeric:tabular-nums}
.pc-facts li .v a{color:var(--pc-brand);text-decoration:none;border-bottom:1px solid var(--pc-accent-soft)}
.pc-thumbs{display:flex;gap:8px;margin:14px 0 4px;flex-wrap:wrap}
.pc-thumbs img{width:72px;height:54px;object-fit:cover;border-radius:7px;border:1px solid var(--pc-line);background:#fff;
  transition:transform .18s}
.pc-thumbs img:hover{transform:translateY(-2px)}

/* contact/owner details table */
.seller-short .owner-details{padding:8px 20px 18px}
.seller-short .owner-details .cd-caption,.seller-short .owner-details h3{font-family:var(--pc-mono);font-size:11px;
  letter-spacing:.14em;text-transform:uppercase;color:var(--pc-muted);margin:6px 0 8px}
.seller-short .owner-details .table-cell{display:flex;justify-content:space-between;gap:12px;padding:5px 0;
  border-top:1px solid var(--pc-line);font-size:13px}
.seller-short .owner-details .table-cell .name{font-family:var(--pc-mono);font-size:10.5px;letter-spacing:.08em;
  text-transform:uppercase;color:var(--pc-muted)}
.seller-short .owner-details .table-cell .value{color:var(--pc-ink);text-align:right}
/* hide fields we surface in pc-facts to avoid duplication */
.seller-short .owner-details #df_field_company_name,.seller-short .owner-details #df_field_country{display:none}

@media (prefers-reduced-motion:reduce){.pc-thumbs img{transition:none}}
