/* pm_pricefree – Petr Machovec */
.pmpf-slot:empty { display: none; }
.pmpf {
  --pmpf-primary: #2b7a4b; --pmpf-bg: #f3f8f4; --pmpf-text: #1f2d24; --pmpf-success: #1e9e57;
  display: flex; align-items: center; gap: 10px; box-sizing: border-box;
  width: 100%; margin: 10px 0; padding: 10px 14px;
  color: var(--pmpf-text); background: var(--pmpf-bg);
  border-radius: 8px; font-size: 14px; line-height: 1.4; position: relative;
}
.pmpf *, .pmpf *::before { box-sizing: border-box; }
.pmpf-icon { color: var(--pmpf-primary); display: inline-flex; flex: 0 0 auto; }
.pmpf--reached .pmpf-icon { color: var(--pmpf-success); }
.pmpf-body { flex: 1 1 auto; min-width: 0; }
.pmpf-text strong { color: var(--pmpf-primary); font-weight: 700; }
.pmpf--reached .pmpf-text { color: var(--pmpf-success); font-weight: 600; }
.pmpf-progress { margin-top: 6px; height: 6px; border-radius: 99px; background: rgba(0,0,0,.08); overflow: hidden; }
.pmpf-progress span { display: block; height: 100%; background: var(--pmpf-primary); border-radius: 99px; transition: width .5s ease; }
.pmpf--reached .pmpf-progress span { background: var(--pmpf-success); }

/* 1 – nenápadný řádek */
.pmpf--line { background: transparent; padding: 4px 0; }
/* 2 – řádek s proužkem: výchozí */
/* 3 – štítek */
.pmpf--badge { width: auto; display: inline-flex; border-radius: 999px; padding: 6px 14px; border: 1px solid var(--pmpf-primary); font-size: 13px; }
/* 4 – karta */
.pmpf--card { padding: 14px 16px; border: 1px solid rgba(0,0,0,.08); box-shadow: 0 2px 10px rgba(0,0,0,.06); border-left: 4px solid var(--pmpf-primary); }
.pmpf--card.pmpf--reached { border-left-color: var(--pmpf-success); }
/* 5 – výrazná karta s velkou částkou */
.pmpf--bigcard { flex-direction: column; text-align: center; padding: 18px 16px; border: 2px solid var(--pmpf-primary); }
.pmpf--bigcard .pmpf-icon svg { width: 30px; height: 30px; }
.pmpf--bigcard .pmpf-body { width: 100%; }
.pmpf-big { font-size: 28px; font-weight: 800; color: var(--pmpf-primary); line-height: 1.1; margin-bottom: 4px; }
.pmpf--bigcard.pmpf--reached { border-color: var(--pmpf-success); }
.pmpf--bigcard .pmpf-progress { height: 10px; }
/* 6 – pouze proužek */
.pmpf--minimal { background: transparent; padding: 0; }
.pmpf--minimal .pmpf-icon { display: none; }
.pmpf--minimal .pmpf-text { font-size: 13px; }
.pmpf--minimal .pmpf-progress { height: 4px; }

/* umístění */
.pmpf--at-bar { margin: 0; border-radius: 0; justify-content: center; padding-right: 40px; }
.pmpf--at-bar .pmpf-body { flex: 0 1 640px; }
.pmpf--at-bar.pmpf--badge { display: flex; border-radius: 0; border-width: 0 0 1px; }
.pmpf-close { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; font-size: 22px; line-height: 1; color: inherit; cursor: pointer; padding: 4px 8px; opacity: .6; }
.pmpf-close:hover { opacity: 1; }
.pmpf--at-header { margin: 0; padding: 4px 10px; font-size: 12px; width: auto; display: inline-flex; max-width: 320px; }
.pmpf--at-header .pmpf-big { font-size: 16px; }
.pmpf--at-modal, .pmpf--at-cart, .pmpf--at-checkout { margin: 12px 0; }
.pmpf-slot[data-pmpf-placement="header"] { display: inline-block; vertical-align: middle; }
.pmpf-slot.pmpf-dismissed { display: none !important; }

@media (max-width: 767px) {
  .pmpf { font-size: 13px; padding: 8px 10px; }
  .pmpf-big { font-size: 22px; }
  .pmpf--at-header { max-width: 100%; display: flex; }
  .pmpf--at-bar { font-size: 12px; }
}
