/* Statikus oldalak (redesign 14. csomag): Kapcsolat, GYIK, Anyagleadás, Pontgyűjtés, Szállítás, ÁSZF… */

.page-wrap { display: flex; flex-direction: column; gap: 32px; max-width: 1040px; padding-top: 24px; }
.page-head { display: flex; flex-direction: column; gap: 10px; }
.page-title { margin: 0; font-size: clamp(30px, 3.4vw, 46px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; color: var(--ink); overflow-wrap: break-word; }
.page-h2 { margin: 0 0 18px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -.02em; color: var(--ink); }

/* az adminból jövő tartalom */
.page-content { font-size: 16px; line-height: 1.75; color: var(--text); overflow-wrap: break-word; }
.page-content h2, .page-content h3 { color: var(--ink); letter-spacing: -.01em; line-height: 1.3; margin: 1.6em 0 .6em; }
.page-content h2 { font-size: 24px; }
.page-content h3 { font-size: 19px; }
.page-content > :first-child { margin-top: 0; }
.page-content img { max-width: 100%; height: auto; border-radius: var(--radius); }
.page-content section { margin: 0 0 1.5em; }
.page-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.page-content td, .page-content th { padding: 8px 12px; border: 1px solid var(--line); }
/* beágyazott dokumentum (ÁSZF, adatvédelem) és videó */
.page-content iframe { display: block; width: 100%; min-height: 70vh; border: 0; border-radius: var(--radius); background: var(--surface-soft); }
.page-content .video-container iframe, .page-content iframe[src*="youtube"], .page-content iframe[src*="vimeo"] { min-height: 0; aspect-ratio: 16 / 9; height: auto; }

/* kérdés-válasz (natív details/summary — JS nélkül) — a terv sorai (terv: #gyik) */
.faq { display: flex; flex-direction: column; max-width: 848px; }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding: 14px 4px; cursor: pointer; list-style: none; font-size: 16.5px; font-weight: 600; color: var(--ink); }
.faq-q::-webkit-details-marker { display: none; }
.faq-q svg { flex: none; color: var(--primary-dark); transition: transform var(--ease); }
.faq-item[open] .faq-q svg { transform: rotate(45deg); }
.faq-q:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--radius); }
.faq-a { max-width: 780px; padding: 0 4px 20px; font-size: 15.5px; line-height: 1.7; color: var(--text); }
.faq-a > :first-child { margin-top: 0; }
.faq-a > :last-child { margin-bottom: 0; }

/* galéria */
.page-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.page-gallery a { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--surface-soft); }
.page-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* felhívás (GYIK, Pontgyűjtés) */
.page-cta { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; padding: clamp(22px, 3vw, 32px); border-radius: var(--radius-xl); background: var(--navy); color: #fff; }
.page-cta-title { margin: 0 0 4px; font-size: 21px; font-weight: 700; color: #fff; }
.page-cta p { margin: 0; color: var(--sky); font-size: 15px; }
.page-cta-light { padding: clamp(24px, 3vw, 40px); border-radius: 28px; background: var(--surface-soft); color: var(--ink); }
.page-cta-light > div { max-width: 560px; }
.page-cta-light .page-cta-title { margin-bottom: 6px; font-size: 19px; color: var(--ink); }
.page-cta-light p { font-size: 15.5px; line-height: 1.6; color: var(--text); }

/* kapcsolat */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.team-card { display: flex; flex-direction: column; border: 1px solid var(--line-soft); border-radius: 24px; overflow: hidden; background: var(--surface); transition: border-color var(--ease), box-shadow var(--ease); }
.team-card:hover { border-color: var(--line); box-shadow: 0 14px 36px rgba(var(--navy-rgb), .08); }
.team-photo { height: 240px; background: var(--surface-soft); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* animált kép egérrel fölé állva (a mai oldal szerint csak nagy kijelzőn) */
.team-photo .team-gif { display: none; }
@media (hover: hover) and (min-width: 1200px) {
    .team-card.has-gif:hover .team-img { display: none; }
    .team-card.has-gif:hover .team-gif { display: block; }
}
.team-body { display: flex; flex-direction: column; gap: 5px; padding: 18px 20px 20px; font-size: 13.5px; }
.team-name { font-size: 17px; color: var(--ink); }
.team-job { margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--primary-dark); }
.team-body a { display: inline-flex; align-items: center; gap: 8px; color: var(--text); overflow-wrap: anywhere; }
.team-body a:hover { color: var(--primary-dark); }

/* ajánlatkérő űrlap (themes/main/front/_offer_request.php) */
.offer-req { display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--surface); }
.offer-req-title { margin: 0; font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.offer-req-form { gap: 16px; }
.offer-req-radio { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; border: 0; }
.offer-req-radio legend { width: 100%; margin-bottom: 6px; }
.offer-req .g-recaptcha { min-height: 78px; }
.offer-req .btn { align-self: flex-start; }
.offer-req-note { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
/* Grafika csatolása — a terv sávja: 70 px magas, 1,5 px szaggatott keret (összevetés 2026-11-04). */
.offer-req-drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 70px; padding: 12px 16px; border: 1.5px dashed #b2cfde; border-radius: 14px; background: var(--surface); text-align: center; cursor: pointer; transition: border-color var(--ease), background var(--ease); }
.offer-req-drop:hover, .offer-req-drop.is-over { border-color: var(--primary); background: var(--surface-tint); }
.offer-req-drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.offer-req-drop:has(input:focus-visible) { box-shadow: var(--focus); }
.offer-req-drop-title { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #749cae; }
.offer-req-drop-title .icon { color: var(--primary); }
.offer-req-drop-files { font-size: 13px; font-weight: 600; color: var(--ink); word-break: break-word; }
@media (max-width: 560px) { .offer-req .btn { align-self: stretch; } .offer-req { border-radius: var(--radius-lg); } }

/* termék-segédlet (modules/Products/views/products/front/helper.php) */
.page-links { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 560px) { .page-links { flex-direction: column; } }

/* elállás (modules/Shop/views/shopwithdrawal/front/) */
.page-narrow { max-width: 760px; }
.page-narrow .lead { max-width: none; }
.withdrawal-declaration { padding: 20px 22px; border-radius: var(--radius-lg); background: var(--surface-soft); color: var(--ink); }
.withdrawal-declaration-title { margin: 0 0 8px; font-size: 16px; font-weight: 700; }
.withdrawal-declaration p { margin: 0; white-space: pre-line; font-size: 15px; line-height: 1.65; }
.withdrawal-form .btn { align-self: flex-start; }
@media (max-width: 560px) { .withdrawal-form .btn { align-self: stretch; } }

/* Kapcsolat: térkép kattintásra (22. csomag) */
.contact-map { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 14px; }
.contact-map p { margin: 0; }
.contact-map.is-loaded { display: block; }
.contact-map iframe { display: block; width: 100%; height: clamp(280px, 40vw, 420px); border: 0; border-radius: var(--radius-lg); }


/* ── a terv szerinti statikus oldalak (vizuális összevetés V11, V12): széles oldal, kártyák ── */
/* széles oldal: a fejléc sávjával egy vonalban (a .wrap max-szélessége), nem a teljes ablakon */
.page-wide { max-width: var(--wrap); gap: 40px; }
.page-wide .page-head { max-width: 760px; gap: 12px; }
.page-lead { margin: 0; max-width: 648px; font-size: 17px; line-height: 1.65; color: var(--text); }
.page-wide .page-h2 { margin: 0 0 20px; font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.025em; }
.page-sub { display: flex; flex-direction: column; gap: 12px; max-width: 680px; margin-bottom: 28px; }
.page-sub .page-h2 { margin: 0; }
.page-sub .page-lead { max-width: none; }   /* az alszakasz bevezetője a szakasz szélességéig (680 px) */
.page-kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* az admin szakaszai kártyákon (Anyagleadás, Szállítás) */
.page-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 20px; }
.page-card { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: clamp(22px, 2.6vw, 32px); border: 1px solid var(--line-soft); border-radius: 24px; }
.page-card-icon { width: 52px; height: 52px; flex: none; border-radius: 18px 18px 18px 4px; background: var(--surface-soft); color: var(--primary-dark); display: flex; align-items: center; justify-content: center; }
.page-card-title { margin: 0; font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; color: var(--ink); }
.page-card-body { font-size: 16px; line-height: 1.7; color: var(--text); overflow-wrap: break-word; }
.page-card-body > * { margin: 0 0 .8em; }
.page-card-body > :last-child { margin-bottom: 0; }
.page-card-body ul { padding-left: 22px; }
.page-card-body li { margin: 0 0 8px; }
.page-card-body img { max-width: 100%; height: auto; border-radius: var(--radius); }
.page-card-body [style*="text-align"], .points-card [style*="text-align"] { text-align: left !important; }

/* Szállítás: szalag, „Így ér hozzád a csomag”, módok, „Mikor érkezik meg?” */
.ship-band { display: flex; align-items: center; gap: 20px 40px; flex-wrap: wrap; padding: clamp(26px, 4vw, 44px) clamp(22px, 4vw, 48px); border-radius: clamp(48px, 8vw, 120px) 28px 28px 28px; background: var(--navy); }
.ship-band > div { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: min(100%, 300px); }
.ship-band-title { margin: 0; font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; letter-spacing: -.02em; color: #fff; }
.ship-band p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--sky); }
.ship-band-checks { display: flex; gap: 12px 28px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.ship-band-checks li { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: #fff; }
.ship-band-checks svg { flex: none; color: #fff; }
.ship-steps { display: flex; flex-direction: column; gap: 22px; }
.ship-steps ol, .page-soft-steps { display: grid; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.ship-steps ol { grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 14px; }
.ship-steps li { counter-increment: step; display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 20px; background: var(--surface-soft); font-size: 13px; line-height: 1.5; color: var(--text); }
.ship-steps li::before { content: counter(step); font-size: 12.5px; font-weight: 700; color: var(--primary-dark); }
.ship-steps strong { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.page-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.page-tile { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 28px; border: 1px solid var(--line-soft); border-radius: 24px; font-size: 15px; line-height: 1.6; color: var(--text); overflow-wrap: break-word; }
.page-tile strong { font-size: 18px; font-weight: 700; color: var(--ink); }
.page-tile-icon { width: 48px; height: 48px; border-radius: 999px; background: var(--surface-soft); color: var(--primary-dark); display: flex; align-items: center; justify-content: center; }
.page-tile-price { font-size: 15px; font-weight: 700; color: var(--primary-dark); }
.page-tile-logos { align-self: flex-start; padding: 10px 16px; border: 1px solid var(--line-soft); border-radius: 14px; background: #fff; }
.page-tile-logos img { display: block; height: 28px; width: auto; }
.page-soft { display: flex; flex-direction: column; gap: 24px; padding: clamp(28px, 4vw, 48px); border-radius: 28px; background: var(--surface-soft); }
.page-soft .page-h2 { margin: 0; }
.page-soft-steps { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 24px; }
.page-soft-steps li { counter-increment: step; display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; line-height: 1.6; color: var(--text); }
.page-soft-steps li::before { content: counter(step); font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--muted); }
.page-soft-steps strong { font-size: 17px; font-weight: 600; color: var(--ink); }
.page-soft-note { margin: 0; font-size: 13.5px; color: var(--muted); }

/* Pontgyűjtés: kék szalag, két kártya, felhívás */
.points-band { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; padding: clamp(32px, 5vw, 56px) clamp(22px, 4vw, 48px); border-radius: clamp(48px, 10vw, 150px) 28px 28px 28px; background: var(--primary); }
.points-band-curve { position: absolute; top: 0; right: -40px; width: 75%; height: 100%; opacity: .5; pointer-events: none; }
.points-band img, .points-band strong, .points-band span { position: relative; }
.points-band img { align-self: flex-start; height: 40px; width: auto; }
.points-band strong { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; color: #fff; }
.points-band span { align-self: flex-start; padding: 8px 18px; border: 1.5px solid rgba(255, 255, 255, .7); border-radius: 999px; font-size: 14px; font-weight: 600; color: #fff; }
.points-cards { line-height: 1.55; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.points-card { display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: clamp(24px, 3vw, 36px); border-radius: 28px; background: var(--surface-soft); font-size: 16px; line-height: 1.65; color: var(--text); }
.points-card ul { margin: 0; padding-left: 22px; }
.points-card li { margin: 0 0 8px; }
.points-card.is-steps { border: 1px solid var(--line); background: var(--surface); }
.points-card.is-steps ul { display: flex; flex-direction: column; gap: 16px; padding: 0; list-style: none; counter-reset: step; }
.points-card.is-steps li { counter-increment: step; position: relative; min-height: 32px; margin: 0; padding-left: 46px; font-size: 15.5px; line-height: 1.6; }
.points-card.is-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 14.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.points-cta { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.points-cta strong { font-size: 18px; color: var(--ink); }
.points-cta span { font-size: 15.5px; color: var(--text); }
.points-cta .btn svg { margin-left: 10px; }

/* Kapcsolat: elérhetőség + térkép | üzenetküldő űrlap egy világos dobozban */
.contact-box { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 40px; padding: clamp(24px, 3vw, 48px); border-radius: 28px; background: var(--surface-soft); }
.contact-info { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.contact-list { display: flex; flex-direction: column; gap: 18px; margin: 0; }
.contact-list > div { display: flex; flex-direction: column; gap: 3px; }
.contact-list dt { font-size: 13px; letter-spacing: .04em; color: var(--muted); }
.contact-list dd { margin: 0; font-size: 19px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.contact-list dd a { color: var(--ink); }
.contact-list dd a:hover { color: var(--primary-dark); }
.contact-list .contact-list-note { font-size: 14px; font-weight: 400; color: var(--text); }
.contact-map-box { justify-content: center; align-items: center; min-height: 260px; margin-top: 0; padding: 24px; border-radius: 24px 100px 24px 24px; background: repeating-linear-gradient(135deg, var(--surface-soft) 0 12px, var(--line) 12px 24px); text-align: center; }
.contact-map-box p { max-width: 320px; padding: 4px 10px; border-radius: 10px; background: rgba(255, 255, 255, .85); }
.contact-map-box.is-loaded { min-height: 0; padding: 0; background: none; overflow: hidden; }
.contact-map-box iframe { height: 260px; border-radius: 24px 100px 24px 24px; }
.contact-box .offer-req { border: 0; border-radius: 24px; padding: clamp(24px, 2.5vw, 36px); }
.contact-box .offer-req-title { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.contact-box .offer-req .btn { align-self: stretch; }
.contact-box .offer-req input[type="file"] { padding: 20px 16px; border: 1.5px dashed var(--sky); background: transparent; }
@media (max-width: 560px) {
    .contact-map-box, .contact-map-box iframe { border-radius: 20px 56px 20px 20px; }
    .contact-box { gap: 24px; padding: 16px; border-radius: 22px; }
    .contact-box .offer-req { padding: 18px 16px; border-radius: 18px; }
}
/* a reCAPTCHA doboza fix 304 px széles: keskeny kijelzőn kicsinyítve fér el */
@media (max-width: 400px) { .offer-req .g-recaptcha { transform: scale(.85); transform-origin: 0 0; min-height: 66px; } }
