/* Preferato Outlet – a JavaScript által kirajzolt részek stílusa (szűrők, kártyák, ablak).
   Minden osztály pfo- előtagú, így nem ütközik a weboldal meglévő stílusaival. */
#pf-outlet-app, .pfo-modal { --pfo-blue: #0B4A9C; --pfo-navy: #002b73; --pfo-ink: #1c2e4a; --pfo-mute: #596780; --pfo-line: #e2e8f0; --pfo-soft: #f4f7fa; --pfo-green: #047857; font-family: Montserrat, Arial, sans-serif; color: #4a5568; }
#pf-outlet-app *, .pfo-modal * { box-sizing: border-box; }
.pfo-noscroll { overflow: hidden; }

.pfo-filters { background: #fff; border-radius: 8px; box-shadow: 0 8px 16px rgba(11,74,156,.08); border: 1px solid var(--pfo-line); padding: 28px; display: flex; flex-direction: column; gap: 22px; margin-bottom: 28px; }
.pfo-seg { display: inline-flex; flex-wrap: wrap; border: 2px solid var(--pfo-blue); border-radius: 4px; overflow: hidden; align-self: flex-start; }
.pfo-seg button { font: inherit; font-size: 15px; font-weight: 600; padding: 12px 24px; border: 0; background: #fff; color: var(--pfo-blue); cursor: pointer; }
.pfo-seg button.is-on { background: var(--pfo-blue); color: #fff; font-weight: 700; }
.pfo-row { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.pfo-inputs { gap: 18px 24px; align-items: flex-end; }
.pfo-field { display: flex; flex-direction: column; gap: 6px; flex: 0 1 200px; min-width: 0; }
.pfo-field-wide { flex-basis: 220px; }
.pfo-field label, .pfo-lbl, .pfo-form legend { font-size: 13px; font-weight: 700; color: var(--pfo-ink); }
.pfo-lbl { min-width: 52px; }
.pfo-field input, .pfo-field select, .pfo-field textarea { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: 4px; color: var(--pfo-ink); background: #fff; width: 100%; }
.pfo-field textarea { font-size: 15px; resize: vertical; }
#pf-outlet-app input:focus, #pf-outlet-app select:focus, .pfo-modal input:focus, .pfo-modal textarea:focus { outline: 2px solid var(--pfo-blue); outline-offset: 1px; }
#pf-outlet-app button:focus-visible, .pfo-modal button:focus-visible, .pfo-modal a:focus-visible { outline: 3px solid var(--pfo-blue); outline-offset: 2px; }
.pfo-x { font-size: 20px; color: var(--pfo-mute); padding-bottom: 12px; }
.pfo-note { margin: -8px 0 0; font-size: 13px; color: var(--pfo-mute); }
.pfo-hint { font-size: 13px; color: var(--pfo-mute); }
.pfo-chip { font: inherit; font-size: 14px; font-weight: 600; padding: 10px 16px; border-radius: 30px; border: 2px solid var(--pfo-line); background: #fff; color: var(--pfo-ink); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.pfo-chip:hover { border-color: var(--pfo-blue); }
.pfo-chip.is-on { border-color: var(--pfo-blue); background: var(--pfo-blue); color: #fff; font-weight: 700; }
.pfo-sw { width: 18px; height: 18px; border-radius: 50%; border: 1px solid #cbd5e1; flex: none; }
.pfo-sum { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; border-top: 1px solid var(--pfo-line); padding-top: 16px; }
.pfo-sum [role=status] { font-size: 15px; font-weight: 700; color: var(--pfo-ink); }
.pfo-link { font: inherit; font-size: 14px; font-weight: 700; color: var(--pfo-blue); background: none; border: 0; cursor: pointer; padding: 10px 4px; text-decoration: underline; }
.pfo-loading { padding: 40px 0; text-align: center; font-weight: 600; color: var(--pfo-mute); }

.pfo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 28px; }
.pfo-card { background: #fff; border-radius: 8px; box-shadow: 0 8px 16px rgba(11,74,156,.08); border: 1px solid var(--pfo-line); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s; }
.pfo-card:hover { box-shadow: 0 16px 32px rgba(11,74,156,.12); }
.pfo-media { background: #fff; height: 270px; position: relative; }
.pfo-media img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 40px 14px 30px; }
.pfo-draw { width: 100%; height: 100%; padding: 48px 28px 20px; background: var(--pfo-soft); }
.pfo-wd { width: 100%; height: 100%; display: block; }
.pfo-wd path { vector-effect: non-scaling-stroke; }
.pfo-wd .b { stroke-width: 1.6px; } .pfo-wd .l { stroke-width: 1.1px; } .pfo-wd .s { stroke-width: 1.1px; stroke-dasharray: 6 4; }
.pfo-view { position: absolute; left: 14px; bottom: 12px; background: rgba(255,255,255,.92); border: 1px solid var(--pfo-line); color: var(--pfo-ink); font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 4px; }
.pfo-badge { position: absolute; top: 14px; left: 14px; background: #fff; border: 1px solid var(--pfo-line); font-size: 12px; font-weight: 800; color: var(--pfo-ink); letter-spacing: .5px; padding: 4px 10px; border-radius: 4px; }
.pfo-disc { position: absolute; top: 12px; right: 14px; background: #D61F26; color: #fff; font-size: 17px; font-weight: 800; line-height: 1; letter-spacing: .3px; padding: 7px 11px; border-radius: 5px; box-shadow: 0 2px 6px rgba(214,31,38,.28); }
/* a gomb itt link (a kapcsolat oldalra visz): a weboldal saját link-színe ne írja felül */
a.pfo-btn, a.pfo-btn:visited, a.pfo-btn:hover, a.pfo-btn:focus { color: #fff !important; text-decoration: none !important; }
a.pfo-btn:hover { background: #073373; }
.pfo-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 16px; flex: 1 1 auto; }
.pfo-body h3 { margin: 0 0 4px; color: var(--pfo-blue); font-size: 19px; font-weight: 800; line-height: 1.3; }
.pfo-size { font-size: 15px; font-weight: 700; color: var(--pfo-ink); }
.pfo-body dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; font-size: 14px; }
.pfo-body dt { font-size: 12px; color: var(--pfo-mute); font-weight: 600; }
.pfo-body dd { margin: 2px 0 0; color: var(--pfo-ink); font-weight: 600; }
.pfo-full { grid-column: 1 / -1; }
.pfo-cardnote { margin: -4px 0 0; font-size: 14px; color: var(--pfo-ink); }
.pfo-cardnote::before { content: "✓ "; color: var(--pfo-green); font-weight: 800; }
.pfo-cta { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.pfo-price { font-size: 13px; color: var(--pfo-mute); font-weight: 600; }
.pfo-btn { font: inherit; background: var(--pfo-blue); color: #fff; border: 0; font-weight: 700; font-size: 14px; letter-spacing: 1px; padding: 15px 20px; border-radius: 4px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.pfo-btn:hover { background: #073373; }
.pfo-btn:disabled { opacity: .6; cursor: wait; }
.pfo-empty { background: var(--pfo-soft); border-radius: 8px; padding: 48px 28px; display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }
.pfo-empty h3 { margin: 0; color: var(--pfo-navy); font-size: 22px; font-weight: 800; }
.pfo-empty p { margin: 0; font-size: 15px; line-height: 1.6; max-width: 560px; }

.pfo-modal { position: fixed; inset: 0; background: rgba(11,31,60,.6); display: flex; align-items: flex-start; justify-content: center; padding: 48px 16px; overflow-y: auto; z-index: 9999; }
.pfo-dialog { background: #fff; border-radius: 8px; width: 100%; max-width: 600px; box-shadow: 0 16px 32px rgba(11,74,156,.2); }
.pfo-mhead { display: flex; justify-content: space-between; align-items: center; padding: 22px 28px; border-bottom: 1px solid var(--pfo-line); }
.pfo-mhead h2 { margin: 0; color: var(--pfo-navy); font-size: 22px; font-weight: 800; }
.pfo-x-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--pfo-soft); color: var(--pfo-ink); cursor: pointer; font-size: 26px; line-height: 1; }
.pfo-form { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 18px; }
.pfo-form > p { margin: 0; font-size: 14px; line-height: 1.6; }
.pfo-sel { display: flex; gap: 16px; align-items: center; background: var(--pfo-soft); border-radius: 8px; padding: 14px; }
.pfo-selimg { width: 76px; height: 76px; flex: 0 0 76px; background: #fff; border-radius: 6px; padding: 6px; }
.pfo-selimg img, .pfo-selimg .pfo-draw { width: 100%; height: 100%; object-fit: contain; display: block; padding: 0; background: none; }
.pfo-sel > div:last-child { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pfo-seltag { font-size: 12px; font-weight: 800; color: var(--pfo-mute); letter-spacing: .5px; }
.pfo-sel strong { font-size: 16px; color: var(--pfo-blue); }
.pfo-sel span:last-child { font-size: 13px; color: var(--pfo-ink); font-weight: 600; }
.pfo-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pfo-grid2 .pfo-field { flex: none; }
.pfo-form fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--pfo-ink); }
.pfo-form legend { padding: 0; margin-bottom: 10px; width: 100%; }
.pfo-form fieldset label { display: flex; gap: 8px; align-items: center; cursor: pointer; }
.pfo-form input[type=radio], .pfo-form input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--pfo-blue); flex: 0 0 18px; }
.pfo-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; cursor: pointer; }
.pfo-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.pfo-err { margin: 0; background: #fde2e2; color: #8a1c1c; border-radius: 4px; padding: 10px 12px; font-size: 14px; font-weight: 600; }
.pfo-alt { margin: 0; font-size: 13px; color: var(--pfo-mute); text-align: center; }
.pfo-thanks { padding: 44px 28px 36px; display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }
.pfo-ok { width: 64px; height: 64px; border-radius: 50%; background: #d1fae5; color: #065f46; display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 800; }
.pfo-thanks h3 { margin: 0; color: var(--pfo-navy); font-size: 22px; font-weight: 800; }
.pfo-thanks p { margin: 0; font-size: 15px; line-height: 1.6; max-width: 440px; }

@media (max-width: 600px) {
  .pfo-filters { padding: 18px; }
  .pfo-seg button { padding: 10px 14px; font-size: 14px; }
  .pfo-field { flex: 1 1 40%; }
  .pfo-x { display: none; }
  .pfo-grid2 { grid-template-columns: 1fr; }
  .pfo-form, .pfo-mhead { padding-left: 18px; padding-right: 18px; }
  .pfo-modal { padding: 16px 8px; }
}
