/* =====================================================================
 * KNP Pénztár – a minta (penztar-uj-elrendezes.html) szerinti kinézet
 * Csak a fő pénztáron (/penztar/, page-id-13, FunnelKit + Bricks).
 * ===================================================================== */

body.page-id-13.wfacp_bricks_template {
  --k-ink: #111827; --k-ink2: #374151; --k-muted: #6b7280; --k-line: #d1d5db; --k-soft: #e5e7eb;
  --k-bg: #f5f6f8; --k-ok: #16a34a; --k-brand: #e0242f; --k-focus: #2563eb;
  background: var(--k-bg) !important;
}
body.page-id-13.wfacp_bricks_template #brxe-d57879 { background: var(--k-bg) !important; }

/* ---------- Fejléc: logó + „Biztonságos pénztár” ---------- */
body.page-id-13.wfacp_bricks_template #brxe-ualglu { display: none !important; }
body.page-id-13.wfacp_bricks_template #brx-header { background: #fff !important; border-bottom: 1px solid var(--k-soft); }
.knp-secure { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; margin-left: auto; font-size: 13px; line-height: 1.25; color: var(--k-muted); text-align: right; }
.knp-secure b { display: inline-flex; align-items: center; gap: 6px; color: var(--k-ink); font-weight: 700; font-size: 13.5px; }
.knp-secure b svg { width: 16px; height: 16px; color: var(--k-ok); }
.knp-secure a { color: var(--k-ink2) !important; text-decoration: none !important; font-size: 12.5px; }

/* ---------- Régi, dupla elemek ---------- */
body.page-id-13.wfacp_bricks_template #brxe-5a4b95,
body.page-id-13.wfacp_bricks_template #brxe-e489f2,
body.page-id-13.wfacp_bricks_template #brx-footer { display: none !important; }
@media (max-width: 767px) {
  /* Mobilon a garancia már a gomb alatt és felül is ott van; a véleményekből egy elég. */
  body.page-id-13.wfacp_bricks_template #brxe-e46f5e,
  body.page-id-13.wfacp_bricks_template #brxe-ccc0cc,
  body.page-id-13.wfacp_bricks_template #brxe-wgdkal { display: none !important; }
}

/* ---------- Űrlap-oszlop: nem egy nagy doboz, hanem külön kártyák ---------- */
body.page-id-13.wfacp_bricks_template #brxe-334b60 {
  background: transparent !important; box-shadow: none !important; border: 0 !important; padding: 0 !important;
}
body.page-id-13.wfacp_bricks_template .wfacp_main_form,
body.page-id-13.wfacp_bricks_template .wfacp_main_form *:not(svg):not(path):not(i):not([class*="icon"]):not([class*="fa-"]),
body.page-id-13.wfacp_bricks_template .wfacp_collapsible_order_summary_wrap * {
  font-family: Inter, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}
body.page-id-13.wfacp_bricks_template .wfacp-left-panel { counter-reset: knpsec; }
body.page-id-13.wfacp_bricks_template .wfacp-left-panel > .wfacp-section {
  background: #fff !important; border: 1px solid var(--k-soft) !important; border-radius: 14px !important;
  padding: 18px 16px 10px !important; margin: 0 0 16px !important; box-shadow: none !important;
}
@media (min-width: 600px) {
  body.page-id-13.wfacp_bricks_template .wfacp-left-panel > .wfacp-section { padding: 22px 22px 14px !important; }
}
body.page-id-13.wfacp_bricks_template .wfacp-left-panel > .wfacp-section .wfacp-comm-title { margin: 0 0 14px !important; padding: 0 !important; background: none !important; }
body.page-id-13.wfacp_bricks_template .wfacp-left-panel > .wfacp-section .wfacp_section_heading {
  display: flex !important; align-items: center; gap: 10px; margin: 0 !important; padding: 0 !important;
  font-size: 18px !important; font-weight: 800 !important; letter-spacing: -.01em; color: var(--k-ink) !important; text-transform: none !important; line-height: 1.3 !important;
}
body.page-id-13.wfacp_bricks_template .wfacp-left-panel > .wfacp-section .wfacp_section_heading::before {
  counter-increment: knpsec; content: counter(knpsec) !important; display: inline-flex !important; visibility: visible !important; position: static !important;
  flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--k-ink); color: #fff; font-size: 14px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
body.page-id-13.wfacp_bricks_template .wfacp-left-panel > .wfacp-section .wfacp-comm-title h4 {
  margin: 4px 0 0 36px !important; font-size: 13px !important; font-weight: 400 !important; color: var(--k-muted) !important; line-height: 1.4 !important;
}

/* ---------- Mezők ---------- */
body.page-id-13.wfacp_bricks_template .wfacp_main_form .form-row input.input-text,
body.page-id-13.wfacp_bricks_template .wfacp_main_form .form-row select {
  min-height: 54px !important; border: 1px solid var(--k-line) !important; border-radius: 12px !important;
  background: #fff !important; font-size: 16px !important; color: var(--k-ink) !important; box-shadow: none !important;
}
body.page-id-13.wfacp_bricks_template .wfacp_main_form .form-row input.input-text:focus {
  border-color: var(--k-focus) !important; box-shadow: 0 0 0 3px rgba(37, 99, 235, .15) !important; outline: none !important;
}
body.page-id-13.wfacp_bricks_template .wfacp_main_form .form-row.woocommerce-invalid input.input-text {
  border-color: #dc2626 !important;
}
body.page-id-13.wfacp_bricks_template .wfacp_main_form .form-row label.wfacp-form-control-label { color: var(--k-ink2) !important; }
body.page-id-13.wfacp_bricks_template .wfacp_main_form .wfacp_checkbox_field label,
body.page-id-13.wfacp_bricks_template .wfacp_main_form .knp-ceg-kapcs label { font-size: 15px !important; color: var(--k-ink) !important; }
body.page-id-13.wfacp_bricks_template .wfacp_main_form input[type="checkbox"] { accent-color: var(--k-ink); width: 18px; height: 18px; }

/* ---------- Szállítási mód: választó kártyák ---------- */
body.page-id-13.wfacp_bricks_template #shipping_method {
  display: grid !important; gap: 10px; margin: 0 0 14px !important; padding: 0 !important; border: 0 !important; background: none !important; list-style: none !important;
}
body.page-id-13.wfacp_bricks_template #shipping_method li {
  border: 1px solid var(--k-line) !important; border-radius: 12px !important; padding: 14px !important;
  background: #fff !important; margin: 0 !important; transition: border-color .15s, box-shadow .15s;
}
body.page-id-13.wfacp_bricks_template #shipping_method li:has(input:checked) { border-color: var(--k-ink) !important; box-shadow: 0 0 0 1px var(--k-ink); }
body.page-id-13.wfacp_bricks_template #shipping_method .wfacp_single_shipping { display: flex !important; justify-content: space-between; align-items: flex-start; gap: 12px; }
body.page-id-13.wfacp_bricks_template #shipping_method label { font-weight: 700 !important; font-size: 15px !important; color: var(--k-ink) !important; line-height: 1.35 !important; }
body.page-id-13.wfacp_bricks_template #shipping_method .wfacp_shipping_price { font-weight: 800 !important; white-space: nowrap; color: var(--k-ink) !important; }
body.page-id-13.wfacp_bricks_template #shipping_method input[type="radio"],
body.page-id-13.wfacp_bricks_template .wc_payment_methods input[type="radio"] { accent-color: var(--k-ink); }
body.page-id-13.wfacp_bricks_template .wfacp_shipping_table,
body.page-id-13.wfacp_bricks_template .wfacp_shipping_table tr,
body.page-id-13.wfacp_bricks_template .wfacp_shipping_table td,
body.page-id-13.wfacp_bricks_template .wfacp_shipping_options { border: 0 !important; background: none !important; padding: 0 !important; }

/* ---------- Fizetési mód: választó kártyák ---------- */
body.page-id-13.wfacp_bricks_template #payment ul.wc_payment_methods {
  display: grid !important; gap: 10px; border: 0 !important; background: none !important; padding: 0 !important; margin: 0 0 6px !important;
}
body.page-id-13.wfacp_bricks_template #payment ul.wc_payment_methods li.wc_payment_method {
  border: 1px solid var(--k-line) !important; border-radius: 12px !important; padding: 14px !important; background: #fff !important; margin: 0 !important;
}
body.page-id-13.wfacp_bricks_template #payment ul.wc_payment_methods li.wc_payment_method:has(input:checked) { border-color: var(--k-ink) !important; box-shadow: 0 0 0 1px var(--k-ink); }
body.page-id-13.wfacp_bricks_template #payment ul.wc_payment_methods li.wc_payment_method > label { font-weight: 700 !important; font-size: 15px !important; color: var(--k-ink) !important; }
body.page-id-13.wfacp_bricks_template #payment .payment_box {
  background: #f9fafb !important; border: 0 !important; border-radius: 10px !important; margin: 10px 0 0 !important; padding: 10px 12px !important;
  font-size: 13px !important; line-height: 1.45 !important; color: #4b5563 !important;
}
body.page-id-13.wfacp_bricks_template #payment .payment_box::before { display: none !important; }
body.page-id-13.wfacp_bricks_template #payment .payment_box p { font-size: 13px !important; margin: 0 !important; color: #4b5563 !important; }

/* ---------- Rendelés-összesítő (űrlapban és felül) ---------- */
body.page-id-13.wfacp_bricks_template .wfacp_order_summary,
body.page-id-13.wfacp_bricks_template .wfacp_order_summary table { border: 0 !important; background: none !important; }
body.page-id-13.wfacp_bricks_template .order-total th,
body.page-id-13.wfacp_bricks_template .order-total td { white-space: nowrap; }
body.page-id-13.wfacp_bricks_template .order-total td strong,
body.page-id-13.wfacp_bricks_template .order-total td strong * { font-size: 19px !important; font-weight: 800 !important; color: var(--k-ink) !important; }
body.page-id-13.wfacp_bricks_template .order-total small.includes_tax { display: block; white-space: normal; font-size: 12px !important; color: var(--k-muted) !important; font-weight: 400 !important; }
/* Kupon: kicsi, visszafogott link a nagy piros helyett */
body.page-id-13.wfacp_bricks_template .wfacp-section .woocommerce-info,
body.page-id-13.wfacp_bricks_template .wfacp-section .wfacp_main_showcoupon,
body.page-id-13.wfacp_bricks_template .wfacp-section .wfacp-coupon-section .wfacp-coupon-page,
body.page-id-13.wfacp_bricks_template .wfacp-section .wfacp-coupon-field-btn,
body.page-id-13.wfacp_bricks_template .wfacp-section .woocommerce-form-coupon-toggle a {
  font-size: 14px !important; font-weight: 500 !important; color: var(--k-ink2) !important; background: none !important; border: 0 !important; padding: 0 !important;
}
body.page-id-13.wfacp_bricks_template .wfacp-section .woocommerce-form-coupon-toggle a,
body.page-id-13.wfacp_bricks_template .wfacp-section .wfacp_main_showcoupon { text-decoration: underline !important; }

/* Felső (mobil) összesítő */
body.page-id-13.wfacp_bricks_template .wfacp_collapsible_order_summary_wrap { margin: 0 0 12px !important; }
body.page-id-13.wfacp_bricks_template .wfacp_mb_mini_cart_wrap {
  background: #fff !important; border: 1px solid var(--k-soft) !important; border-radius: 14px !important; overflow: hidden;
}
body.page-id-13.wfacp_bricks_template .wfacp_mb_cart_accordian,
body.page-id-13.wfacp_bricks_template .wfacp_mb_mini_cart_sec_accordion_content { background: #fff !important; border: 0 !important; }
body.page-id-13.wfacp_bricks_template .wfacp_mb_cart_accordian { padding: 12px 14px !important; }

/* Felső bizalmi csík (mobil) */
.knp-tstrip { display: none; }
@media (max-width: 767px) {
  .knp-tstrip {
    display: block; background: #fff; border: 1px solid var(--k-soft, #e5e7eb); border-radius: 14px;
    padding: 12px 10px 10px; margin: 0 0 16px;
  }
}
.knp-tstrip__g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.knp-tstrip__c { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; font-size: 11.5px; line-height: 1.25; color: #374151; }
.knp-tstrip__c svg { width: 24px; height: 24px; }
.knp-tstrip__c b { display: block; color: #111827; font-size: 12px; }
.knp-tstrip__r { margin-top: 8px; text-align: center; font-size: 12.5px; color: #374151; }
.knp-tstrip__r span { color: #f59e0b; letter-spacing: 1px; }

/* ---------- Leadás gomb ---------- */
body.page-id-13.wfacp_bricks_template #place_order {
  background: var(--k-ok) !important; border: 0 !important; border-radius: 14px !important;
  min-height: 60px !important; font-size: 18px !important; font-weight: 800 !important;
  text-transform: none !important; letter-spacing: 0 !important; color: #fff !important;
  box-shadow: 0 6px 18px rgba(22, 163, 74, .28) !important;
}
body.page-id-13.wfacp_bricks_template #place_order:hover { background: #15803d !important; }
body.page-id-13.wfacp_bricks_template .woocommerce-privacy-policy-text,
body.page-id-13.wfacp_bricks_template .woocommerce-privacy-policy-text p { font-size: 12px !important; color: var(--k-muted) !important; line-height: 1.45 !important; }
body.page-id-13.wfacp_bricks_template .woocommerce-terms-and-conditions-wrapper .form-row label { font-size: 14px !important; color: var(--k-ink2) !important; }

/* ---------- Asztal: oldalsáv kártyák ---------- */
@media (min-width: 768px) {
  body.page-id-13.wfacp_bricks_template #brxe-e46f5e {
    background: #fff !important; border: 1px solid var(--k-soft) !important; border-radius: 14px !important; box-shadow: none !important;
  }
}

/* ---------- Mini lábléc ---------- */
.knp-mini-footer { max-width: 1080px; margin: 8px auto 90px; padding: 0 16px; text-align: center; font-size: 12.5px; color: #6b7280; }
.knp-mini-footer a { color: #374151 !important; margin: 0 6px; text-decoration: underline !important; }
@media (min-width: 768px) { .knp-mini-footer { margin-bottom: 30px; } }

/* ---------- Javítások: rádiógombok (FunnelKit saját rajza), szállítási sor szélessége ---------- */
body.page-id-13.wfacp_bricks_template #shipping_method input[type="radio"],
body.page-id-13.wfacp_bricks_template #payment .wc_payment_methods input[type="radio"] {
  border-color: var(--k-ink) !important;
}
body.page-id-13.wfacp_bricks_template #shipping_method input[type="radio"]:checked,
body.page-id-13.wfacp_bricks_template #payment .wc_payment_methods input[type="radio"]:checked {
  border-color: var(--k-ink) !important; background: #fff !important;
}
body.page-id-13.wfacp_bricks_template #shipping_method input[type="radio"]:checked::before,
body.page-id-13.wfacp_bricks_template #shipping_method input[type="radio"]:checked::after,
body.page-id-13.wfacp_bricks_template #payment .wc_payment_methods input[type="radio"]:checked::before,
body.page-id-13.wfacp_bricks_template #payment .wc_payment_methods input[type="radio"]:checked::after {
  background: var(--k-ink) !important; border-color: var(--k-ink) !important;
}
body.page-id-13.wfacp_bricks_template #shipping_method .wfacp_shipping_radio { flex: 1 1 auto !important; width: auto !important; min-width: 0; }
body.page-id-13.wfacp_bricks_template #shipping_method .wfacp_shipping_price { flex: 0 0 auto !important; width: auto !important; text-align: right; }

/* ---------- Javítások 2: a régi nagy keret, oldalsáv betűi, logó, „Ingyenes” ---------- */
body.page-id-13.wfacp_bricks_template #brxe-885ab6 {
  box-shadow: none !important; padding: 0 !important; background: transparent !important; border: 0 !important;
}
body.page-id-13.wfacp_bricks_template #brxe-a569a9,
body.page-id-13.wfacp_bricks_template #brxe-a569a9 *:not(i):not([class*="fa-"]):not([class*="icon"]):not(svg):not(path) {
  font-family: Inter, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}
body.page-id-13.wfacp_bricks_template #brxe-a569a9 h3,
body.page-id-13.wfacp_bricks_template #brxe-b3354e { font-weight: 800 !important; letter-spacing: -.01em; }
body.page-id-13.wfacp_bricks_template #brxe-9cc9be,
body.page-id-13.wfacp_bricks_template #brxe-ccc0cc,
body.page-id-13.wfacp_bricks_template #brxe-wgdkal {
  background: #fff !important; border: 1px solid var(--k-soft) !important; border-radius: 14px !important; margin-top: 12px !important; padding: 14px 16px !important;
}
body.page-id-13.wfacp_bricks_template #brxe-rekqrb { border-radius: 12px !important; margin-top: 16px !important; }
@media (max-width: 767px) {
  body.page-id-13.wfacp_bricks_template #brx-header img { width: 130px !important; max-width: 130px !important; height: auto !important; }
}
body.page-id-13.wfacp_bricks_template #shipping_method .wfacp_shipping_price.knp-free,
body.page-id-13.wfacp_bricks_template #shipping_method .wfacp_shipping_price.knp-free * { color: var(--k-ok) !important; }
