/* ÜresÓra CSS split: How it works page and related motion blocks. Source: app.css lines 10072-11843. */
/* ═════════════════════════════════════════════════════════════════════════
   HOGYAN MŰKÖDIK OLDAL — Hero + 8 szekció
   ═════════════════════════════════════════════════════════════════════════ */

/* ─── Közös szekció szabályok ──────────────────────────────────────── */
.how-section {
    position: relative;
    padding: 80px 0;
}
.how-section-dark {
    background: #0c0e13;
    color: #fff;
}
.how-section-light {
    background: #ffffff;
    color: #14171f;
}

/* Számozott badge minden szekció előtt */
.how-section-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    background: rgba(255, 106, 0, 0.10);
    border: 1px solid rgba(255, 106, 0, 0.30);
    border-radius: 8px;
    color: var(--accent, #ff6a00);
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 14px;
}
.how-section-dark .how-section-num {
    background: rgba(255, 106, 0, 0.10);
    border-color: rgba(255, 106, 0, 0.40);
}

.how-section-title {
    margin: 0 0 16px;
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.1;
}
.how-section-title .accent {
    color: var(--accent, #ff6a00);
}

.how-section-lede {
    margin: 0;
    font-size: 14.5px;
    color: #aab1bb;
    line-height: 1.7;
}
.how-section-lede-light {
    margin: 0;
    font-size: 14.5px;
    color: #5a6370;
    line-height: 1.7;
}

.how-section-sub {
    margin: 0;
    font-size: 14.5px;
    color: #aab1bb;
    line-height: 1.6;
}

.how-section-cta-center {
    text-align: center;
    margin-top: 40px;
}

.how-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: #ffffff;
    color: #14171f;
    border: 1px solid #e8eaee;
    border-radius: 999px;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 220ms ease;
}
.how-pill-btn:hover {
    border-color: var(--accent, #ff6a00);
    color: var(--accent, #ff6a00);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 106, 0, 0.15);
}
.how-pill-btn svg { transition: transform 220ms ease; }
.how-pill-btn:hover svg { transform: translateX(3px); }


/* ═════════════════════════════════════════════════════════════════════════
   HERO szekció
   ═════════════════════════════════════════════════════════════════════════ */
.how-hero {
    background: #0c0e13;
    padding: 60px 0 80px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.how-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.how-hero-left { min-width: 0; }
.how-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 106, 0, 0.10);
    border: 1px solid rgba(255, 106, 0, 0.30);
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--accent, #ff6a00);
    letter-spacing: 0.06em;
    margin-bottom: 24px;
}
.how-hero-eyebrow svg { flex-shrink: 0; }

.how-hero-title {
    margin: 0 0 18px;
    font-size: clamp(36px, 4.4vw, 64px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.0;
    color: #fff;
}
.how-hero-title .accent {
    color: var(--accent, #ff6a00);
}

.how-hero-lede {
    margin: 0 0 28px;
    font-size: 16px;
    color: #aab1bb;
    line-height: 1.55;
    max-width: 540px;
}

.how-hero-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}
.how-hero-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 14px 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    font-size: 11.5px;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    transition: all 220ms ease;
}
.how-hero-feature:hover {
    background: rgba(255, 106, 0, 0.08);
    border-color: rgba(255, 106, 0, 0.30);
    transform: translateY(-2px);
}

.how-hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.how-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 240ms cubic-bezier(0.16, 1, 0.3, 1);
}
.how-hero-btn-primary {
    background: var(--accent, #ff6a00);
    color: #fff;
    box-shadow: 0 8px 24px rgba(255, 106, 0, 0.35);
}
.how-hero-btn-primary:hover {
    background: #ff7e1f;
    transform: translateY(-2px);
}
.how-hero-btn-primary svg { transition: transform 220ms ease; }
.how-hero-btn-primary:hover svg { transform: translateX(3px); }
.how-hero-btn-ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.how-hero-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.30);
}

/* Hero visual — telefon mockup középen + 3 fix dot a 240r körön */
.how-hero-visual {
    position: relative;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 1;
    margin: 0 auto;
    /* Parallax holder */
    perspective: 1000px;
    transform-style: preserve-3d;
}
.how-hero-orbit {
    position: relative;
    width: 100%; height: 100%;
}
.how-hero-orbit-svg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    animation: how-hero-spin 80s linear infinite;
    will-change: transform;
}
@keyframes how-hero-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Telefon: középen, fix arány */
.how-hero-phone {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 42%;
    aspect-ratio: 9 / 18;
    border-radius: 32px;
    background: linear-gradient(160deg, #1a1d24 0%, #0c0e13 100%);
    border: 2px solid rgba(255, 106, 0, 0.20);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5),
                0 0 50px rgba(255, 106, 0, 0.15);
    overflow: hidden;
    z-index: 2;
    animation: how-hero-phone-float 6s ease-in-out infinite;
    will-change: transform;
}
@keyframes how-hero-phone-float {
    0%, 100% { transform: translate(-50%, -50%); }
    50%      { transform: translate(-50%, calc(-50% - 8px)); }
}
.how-hero-phone img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 28px;
    position: relative;
    z-index: 2;
}
/* Mock telefon UI ha nincs kép */
.how-hero-phone-mock {
    position: absolute;
    inset: 0;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 1;
}
.how-hero-phone-mock-top {
    height: 18px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}
.how-hero-phone-mock-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 12px;
}
.how-hero-phone-mock-card {
    flex: 1;
    background: linear-gradient(135deg, rgba(255, 106, 0, 0.18) 0%, rgba(255, 106, 0, 0.04) 100%);
    border: 1px solid rgba(255, 106, 0, 0.15);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}
.how-hero-phone-mock-card::before {
    content: "";
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 30%;
    background: rgba(0, 0, 0, 0.4);
}
.how-hero-phone-mock-card-2 {
    background: linear-gradient(135deg, rgba(255, 138, 61, 0.12) 0%, rgba(255, 106, 0, 0.02) 100%);
}
.how-hero-phone-noimg .how-hero-phone-mock { z-index: 3; }

/* Dot-ok — fix pozíciók a 240r körön (clock-hand pattern) */
.how-hero-dot {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    z-index: 3;
    max-width: 160px;
    opacity: 0;
    animation: how-hero-dot-in 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.how-hero-dot-1 {
    /* Jobb felső — 1 óra állás */
    top: 12%; right: 4%;
    animation-delay: 600ms;
}
.how-hero-dot-2 {
    /* Jobb alsó — 4 óra állás */
    bottom: 12%; right: 14%;
    animation-delay: 800ms;
}
.how-hero-dot-3 {
    /* Bal felső — 11 óra */
    top: 18%; left: 0;
    animation-delay: 1000ms;
}
@keyframes how-hero-dot-in {
    from { opacity: 0; transform: scale(0.6); }
    to   { opacity: 1; transform: scale(1); }
}

.how-hero-dot-circle {
    position: relative;
    width: 64px; height: 64px;
    background: rgba(20, 23, 31, 0.95);
    border: 1.5px solid rgba(255, 106, 0, 0.30);
    border-radius: 50%;
    color: #fff;
    display: grid; place-items: center;
    backdrop-filter: blur(8px);
    margin-bottom: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: all 280ms cubic-bezier(0.16, 1, 0.3, 1);
}
.how-hero-dot:hover .how-hero-dot-circle {
    border-color: rgba(255, 106, 0, 0.70);
    background: rgba(255, 106, 0, 0.10);
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(255, 106, 0, 0.3);
}
.how-hero-dot-num {
    position: absolute;
    top: -4px; right: -6px;
    width: 22px; height: 22px;
    background: var(--accent, #ff6a00);
    color: #fff;
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 10.5px;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(255, 106, 0, 0.5);
}
.how-hero-dot-label {
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.05em;
    margin-top: 2px;
}
.how-hero-dot-desc {
    font-size: 11px;
    color: #aab1bb;
    line-height: 1.4;
    max-width: 130px;
}


/* ═════════════════════════════════════════════════════════════════════════
   SZEKCIÓ 2 — Mi az ÜresÓra
   ═════════════════════════════════════════════════════════════════════════ */
.how-s2-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: center;
}

.how-s2-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}
.how-s2-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 22px 22px 24px;
}
.how-s2-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}
.how-s2-card-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--accent, #ff6a00);
    color: #fff;
    display: grid; place-items: center;
}
.how-s2-card h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
}
.how-s2-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.how-s2-list li {
    position: relative;
    padding-left: 28px;
    font-size: 13.5px;
    color: #d0d5dd;
    line-height: 1.4;
}
.how-s2-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 1px;
    width: 18px; height: 18px;
    background: var(--accent, #ff6a00);
    border-radius: 6px;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.how-s2-visual {
    aspect-ratio: 3 / 4;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #2a1f15 0%, #15100a 100%);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
    max-width: 460px;
    margin: 0 auto;
}
.how-s2-image {
    width: 100%; height: 100%;
}
.how-s2-image img {
    width: 100%; height: 100%;
    object-fit: cover;
}


/* ═════════════════════════════════════════════════════════════════════════
   SZEKCIÓ 3 — Foglalás 3 lépésben
   ═════════════════════════════════════════════════════════════════════════ */
.how-s3-head {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 56px;
}
.how-s3-head .how-section-num { margin-left: auto; margin-right: auto; display: flex; }

.how-s3-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: start;
    margin-bottom: 56px;
}

.how-s3-step {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.how-s3-step-icon {
    position: relative;
    width: 64px; height: 64px;
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid rgba(255, 255, 255, 0.10);
    border-radius: 50%;
    color: #fff;
    display: grid; place-items: center;
    margin-bottom: 20px;
}
.how-s3-step-num {
    position: absolute;
    top: -6px; right: -6px;
    width: 24px; height: 24px;
    background: var(--accent, #ff6a00);
    color: #fff;
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.4);
}

.how-s3-step-card {
    width: 100%;
    max-width: 260px;
    aspect-ratio: 5 / 4;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 22px;
    position: relative;
}
.how-s3-step-card img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.how-s3-step-card-fallback {
    position: absolute;
    inset: 0;
}
.how-s3-card-1 { background: linear-gradient(135deg, #1a1f2b 0%, #0c1218 100%); }
.how-s3-card-2 { background: linear-gradient(135deg, #4a3020 0%, #2a1810 100%); }
.how-s3-step-gift {
    background: linear-gradient(135deg, #1a1d24 0%, #0c0e13 100%);
    display: grid;
    place-items: center;
    padding: 30px;
}

.how-s3-step-title {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.05em;
}
.how-s3-step-text {
    margin: 0;
    font-size: 13px;
    color: #aab1bb;
    line-height: 1.5;
}

.how-s3-arrow {
    align-self: center;
    padding-top: 32px;
}

/* Trust bar alul */
.how-s3-trust {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 24px;
    padding: 22px 28px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    flex-wrap: wrap;
}
.how-s3-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: #fff;
    font-weight: 500;
}


/* ═════════════════════════════════════════════════════════════════════════
   SZEKCIÓ 4 — Kategóriák (világos)
   ═════════════════════════════════════════════════════════════════════════ */
.how-s4-head {
    margin-bottom: 40px;
}
.how-s4-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.how-s4-card {
    display: block;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 280ms cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 0 rgba(20, 23, 31, 0.02);
    border: 1px solid #f0f1f4;
}
.how-s4-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(20, 23, 31, 0.10);
    border-color: #d8dce2;
}
.how-s4-card-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.how-s4-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}
.how-s4-card:hover .how-s4-card-img img { transform: scale(1.05); }
.how-s4-card-body {
    padding: 18px 16px 20px;
}
.how-s4-card-icon {
    width: 40px; height: 40px;
    margin-bottom: 12px;
    color: var(--accent, #ff6a00);
    display: grid;
    place-items: center;
}
.how-s4-card-title {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 800;
    color: #14171f;
    letter-spacing: -0.01em;
}
.how-s4-card-sub {
    margin: 0;
    font-size: 12.5px;
    color: #6a7180;
    line-height: 1.4;
}
.how-s4-card-empty { opacity: 0.85; }
.how-s4-card-empty .how-s4-card-img { background: linear-gradient(135deg, #ffe4cc 0%, #ffd0a8 100%); }


/* ═════════════════════════════════════════════════════════════════════════
   SZEKCIÓ 5 — Miért jó a felhasználóknak
   ═════════════════════════════════════════════════════════════════════════ */
.how-s5-head {
    margin-bottom: 40px;
}
.how-s5-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.how-s5-card {
    background: #fff5eb;
    border-radius: 18px;
    padding: 28px 24px;
    text-align: left;
}
.how-s5-card-icon {
    width: 60px; height: 60px;
    background: rgba(255, 106, 0, 0.10);
    color: var(--accent, #ff6a00);
    border-radius: 50%;
    display: grid; place-items: center;
    margin-bottom: 18px;
}
.how-s5-card-title {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 800;
    color: #14171f;
}
.how-s5-card-text {
    margin: 0;
    font-size: 13.5px;
    color: #5a6370;
    line-height: 1.55;
}


/* ═════════════════════════════════════════════════════════════════════════
   SZEKCIÓ 6 — Miért jó a szolgáltatóknak
   ═════════════════════════════════════════════════════════════════════════ */
.how-s6-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    align-items: start;
}
.how-s6-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.how-s6-card {
    background: #ffffff;
    border: 1px solid #f0f1f4;
    border-radius: 16px;
    padding: 24px;
    transition: all 220ms ease;
}
.how-s6-card:hover {
    border-color: #d8dce2;
    box-shadow: 0 12px 30px rgba(20, 23, 31, 0.06);
    transform: translateY(-2px);
}
.how-s6-card-icon {
    width: 56px; height: 56px;
    background: rgba(255, 106, 0, 0.10);
    color: var(--accent, #ff6a00);
    border-radius: 50%;
    display: grid; place-items: center;
    margin-bottom: 16px;
}
.how-s6-card-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 800;
    color: #14171f;
}
.how-s6-card-text {
    margin: 0;
    font-size: 13.5px;
    color: #5a6370;
    line-height: 1.55;
}


/* ═════════════════════════════════════════════════════════════════════════
   SZEKCIÓ 7 — Vélemények és számok
   ═════════════════════════════════════════════════════════════════════════ */
.how-s7-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.how-s7-text { min-width: 0; }

.how-s7-reviews {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.how-s7-review {
    background: #ffffff;
    border: 1px solid #f0f1f4;
    border-radius: 16px;
    padding: 22px;
}
.how-s7-review-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.how-s7-review-head h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    color: #14171f;
}
.how-s7-review-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 13px;
    color: #5a6370;
}
.how-s7-review-rating b { color: #14171f; font-size: 14px; }
.how-s7-stars { display: flex; gap: 1px; }
.how-s7-review-text {
    margin: 0 0 16px;
    font-size: 13.5px;
    color: #2a2f3a;
    line-height: 1.5;
    font-style: italic;
}
.how-s7-review-author {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid #f0f1f4;
}
.how-s7-review-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    color: #fff;
    display: grid; place-items: center;
    font-weight: 700;
    font-size: 12px;
    flex-shrink: 0;
}
.how-s7-review-author b {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #14171f;
}
.how-s7-review-author span {
    font-size: 11.5px;
    color: #6a7180;
}

.how-s7-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.how-s7-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #f0f1f4;
    border-radius: 14px;
}
.how-s7-stat-icon {
    width: 36px; height: 36px;
    background: rgba(255, 106, 0, 0.10);
    border-radius: 8px;
    display: grid; place-items: center;
    flex-shrink: 0;
}
.how-s7-stat b {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: #14171f;
    letter-spacing: -0.025em;
    line-height: 1;
    margin-bottom: 4px;
}
.how-s7-stat span {
    font-size: 11.5px;
    color: #6a7180;
}


/* ═════════════════════════════════════════════════════════════════════════
   SZEKCIÓ 8 — Biztonság
   ═════════════════════════════════════════════════════════════════════════ */
.how-s8-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 40px;
}
.how-s8-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
}
.how-s8-card {
    background: #ffffff;
    border: 1px solid #f0f1f4;
    border-radius: 16px;
    padding: 24px;
}
.how-s8-card-icon {
    width: 56px; height: 56px;
    background: rgba(255, 106, 0, 0.10);
    color: var(--accent, #ff6a00);
    border-radius: 50%;
    display: grid; place-items: center;
    margin-bottom: 16px;
}
.how-s8-card-title {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 800;
    color: #14171f;
}
.how-s8-card-text {
    margin: 0;
    font-size: 13px;
    color: #5a6370;
    line-height: 1.55;
}

.how-s8-cta-pad {
    background: linear-gradient(135deg, #fff5eb 0%, #ffe4cc 100%);
    border-radius: 18px;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.how-s8-cta-icon {
    width: 56px; height: 56px;
    background: #ffffff;
    border-radius: 50%;
    display: grid; place-items: center;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(255, 106, 0, 0.10);
}
.how-s8-cta-text {
    flex: 1; min-width: 200px;
}
.how-s8-cta-text b {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: #14171f;
    margin-bottom: 4px;
}
.how-s8-cta-text span {
    font-size: 13.5px;
    color: #5a6370;
}
.how-s8-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: var(--accent, #ff6a00);
    color: #fff;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 220ms ease;
    box-shadow: 0 8px 22px rgba(255, 106, 0, 0.32);
    flex-shrink: 0;
}
.how-s8-cta-btn:hover {
    background: #ff7e1f;
    transform: translateY(-2px);
}
.how-s8-cta-btn svg { transition: transform 220ms ease; }
.how-s8-cta-btn:hover svg { transform: translateX(3px); }


/* ═════════════════════════════════════════════════════════════════════════
   HOGYAN MŰKÖDIK — RESPONSIVE
   ═════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
    .how-hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .how-hero-visual {
        max-width: 380px;
        margin: 0 auto;
        /* NEM order: -1 — természetes sorrend (szöveg után) */
    }
    .how-hero-features {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .how-s2-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .how-s2-visual {
        max-width: 360px;
    }

    .how-s3-steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .how-s3-arrow {
        transform: rotate(90deg);
        align-self: center;
        padding: 0;
    }

    .how-s4-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .how-s5-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .how-s6-grid,
    .how-s8-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .how-s6-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .how-s8-cards {
        grid-template-columns: 1fr;
    }

    .how-s7-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .how-s7-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .how-section { padding: 56px 0; }
    .how-hero { padding: 32px 0 56px; }
    .how-hero-title { font-size: clamp(28px, 9vw, 44px); }
    .how-hero-lede { font-size: 14.5px; }

    .how-hero-features {
        grid-template-columns: repeat(2, 1fr);
    }
    .how-hero-cta {
        flex-direction: column;
    }
    .how-hero-btn {
        width: 100%;
        justify-content: center;
    }

    /* Hero visual mobil: kompakt */
    .how-hero-visual {
        aspect-ratio: 0.85;
        max-width: 360px;
    }
    .how-hero-dot { max-width: 130px; }
    .how-hero-dot-circle { width: 48px; height: 48px; }
    .how-hero-dot-circle svg { width: 18px; height: 18px; }
    .how-hero-dot-label { font-size: 10px; }
    .how-hero-dot-desc { font-size: 10.5px; }

    .how-s2-cards {
        grid-template-columns: 1fr;
    }

    .how-s4-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .how-s5-grid {
        grid-template-columns: 1fr;
    }
    .how-s6-cards {
        grid-template-columns: 1fr;
    }

    .how-s7-stats {
        grid-template-columns: 1fr 1fr;
    }

    .how-s8-cta-pad {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }
    .how-s8-cta-text { min-width: 0; }
    .how-s8-cta-btn { width: 100%; justify-content: center; }
}


/* ═════════════════════════════════════════════════════════════════════════
   HOGYAN MŰKÖDIK — PRÉMIUM ANIMÁCIÓK + JAVÍTÁSOK
   ═════════════════════════════════════════════════════════════════════════ */

/* Mobil-only <br> rejtés */
@media (max-width: 768px) {
    .how-section br.brk { display: none; }
}

/* Hero text mobile */
@media (max-width: 768px) {
    .how-hero-visual {
        max-width: 320px;
        margin: 8px auto 0;
    }
    .how-hero-dot { max-width: 110px; gap: 4px; }
    .how-hero-dot-circle { width: 48px; height: 48px; }
    .how-hero-dot-circle svg { width: 18px; height: 18px; }
    .how-hero-dot-num { width: 18px; height: 18px; font-size: 9.5px; top: -3px; right: -4px; }
    .how-hero-dot-label { font-size: 9.5px; }
    .how-hero-dot-desc { font-size: 10px; max-width: 100px; }

    /* Telefon kisebb mobilon */
    .how-hero-phone {
        width: 38%;
        border-radius: 22px;
    }

    /* Dot pozíciók kompaktabban mobilon */
    .how-hero-dot-1 { top: 10%; right: 0; }
    .how-hero-dot-2 { bottom: 10%; right: 5%; }
    .how-hero-dot-3 { top: 14%; left: 0; }
}


/* ═════════════════════════════════════════════════════════════════════════
   SCROLL-REVEAL ANIMÁCIÓK (IntersectionObserver-rel)
   ═════════════════════════════════════════════════════════════════════════ */
[data-reveal] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 800ms cubic-bezier(0.16, 1, 0.3, 1),
                transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
[data-reveal].reveal-in {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered reveal (delay variants) */
[data-reveal][data-reveal-delay="100"] { transition-delay: 100ms; }
[data-reveal][data-reveal-delay="200"] { transition-delay: 200ms; }
[data-reveal][data-reveal-delay="300"] { transition-delay: 300ms; }
[data-reveal][data-reveal-delay="400"] { transition-delay: 400ms; }
[data-reveal][data-reveal-delay="500"] { transition-delay: 500ms; }

/* Slide variants */
[data-reveal="left"]  { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="left"].reveal-in,
[data-reveal="right"].reveal-in { transform: translateX(0); }

[data-reveal="scale"] {
    opacity: 0;
    transform: scale(0.92);
}
[data-reveal="scale"].reveal-in {
    opacity: 1;
    transform: scale(1);
}

/* Stagger groups — child elemek sorban */
[data-stagger] > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
                transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
[data-stagger].stagger-in > *:nth-child(1) { transition-delay: 80ms;  opacity: 1; transform: translateY(0); }
[data-stagger].stagger-in > *:nth-child(2) { transition-delay: 160ms; opacity: 1; transform: translateY(0); }
[data-stagger].stagger-in > *:nth-child(3) { transition-delay: 240ms; opacity: 1; transform: translateY(0); }
[data-stagger].stagger-in > *:nth-child(4) { transition-delay: 320ms; opacity: 1; transform: translateY(0); }
[data-stagger].stagger-in > *:nth-child(5) { transition-delay: 400ms; opacity: 1; transform: translateY(0); }
[data-stagger].stagger-in > *:nth-child(6) { transition-delay: 480ms; opacity: 1; transform: translateY(0); }

/* Parallax holder — JS frissíti a transform-ot */
[data-parallax] {
    will-change: transform;
    transition: transform 60ms linear;
}


/* ═════════════════════════════════════════════════════════════════════════
   COUNT-UP animáció (stats — JS frissíti)
   ═════════════════════════════════════════════════════════════════════════ */
[data-countup] {
    display: inline-block;
}


/* ═════════════════════════════════════════════════════════════════════════
   KÁRTYA HOVER MICRO-INTERACTIONS
   ═════════════════════════════════════════════════════════════════════════ */
/* S5 kártya hover: ikon scale + slide */
.how-s5-card,
.how-s6-card,
.how-s8-card {
    transition: all 280ms cubic-bezier(0.16, 1, 0.3, 1);
}
.how-s5-card-icon,
.how-s6-card-icon,
.how-s8-card-icon {
    transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
                background 280ms ease,
                color 280ms ease;
}
.how-s5-card:hover .how-s5-card-icon,
.how-s6-card:hover .how-s6-card-icon,
.how-s8-card:hover .how-s8-card-icon {
    transform: scale(1.1) rotate(-5deg);
    background: var(--accent, #ff6a00);
    color: #fff;
}
.how-s5-card:hover,
.how-s8-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(20, 23, 31, 0.08);
}

/* S4 kategória kártyák: kép zoom finomítás */
.how-s4-card-icon {
    transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
.how-s4-card:hover .how-s4-card-icon {
    transform: scale(1.12) rotate(-3deg);
}

/* S2 list item hover */
.how-s2-list li {
    transition: transform 220ms ease, color 220ms ease;
}
.how-s2-list li:hover {
    transform: translateX(4px);
    color: #fff;
}

/* S3 step icon hover */
.how-s3-step-icon {
    transition: all 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
.how-s3-step:hover .how-s3-step-icon {
    background: rgba(255, 106, 0, 0.10);
    border-color: rgba(255, 106, 0, 0.40);
    transform: scale(1.06);
}


/* ═════════════════════════════════════════════════════════════════════════
   PROGRESS BAR — scroll indicator (vékony narancs sáv felül)
   ═════════════════════════════════════════════════════════════════════════ */
.how-scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, #ff6a00, #ff8a3d);
    z-index: 200;
    transition: width 80ms linear;
    box-shadow: 0 0 12px rgba(255, 106, 0, 0.6);
    border-radius: 0 2px 2px 0;
}


/* ═════════════════════════════════════════════════════════════════════════
   HEADER v2.1 — Javítások + Permanens animációk
   ═════════════════════════════════════════════════════════════════════════ */

/* ─── Header smooth transitions (scroll-aware) ───────────────────── */
.uo-header {
    transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
                background-color 300ms ease,
                backdrop-filter 300ms ease,
                padding 280ms ease,
                box-shadow 300ms ease;
}
.uo-header-inner {
    transition: min-height 280ms cubic-bezier(0.16, 1, 0.3, 1),
                padding 280ms ease;
}

/* Compact mode (görgetéskor) — kisebb header */
.uo-header-compact {
    background: rgba(12, 14, 19, 0.92) !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}
.uo-header-compact .uo-header-inner {
    min-height: 56px;
    padding: 8px 0;
}
.uo-header-compact .uo-logo svg {
    transform: scale(0.92);
    transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hidden mode (scroll down) — header eltűnik felfelé */
.uo-header-hidden {
    transform: translateY(-100%);
}


/* ─── Logo hover animation (óra mutatók forognak) ─────────────── */
.uo-logo {
    cursor: pointer;
}
.uo-logo svg {
    transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
.uo-logo:hover svg {
    transform: rotate(12deg) scale(1.05);
}
.uo-logo:hover .uo-logo-w2 {
    color: #ff8a3d;
}
.uo-logo-w2 {
    transition: color 220ms ease;
}


/* ─── Nav link hover animation (Apple-style underline) ────────── */
.uo-nav-link {
    position: relative;
    overflow: hidden;
}
.uo-nav-link::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--accent, #ff6a00);
    border-radius: 1px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
.uo-nav-link:hover::after,
.uo-nav-link-active::after {
    transform: scaleX(1);
}
.uo-nav-link-active {
    color: #fff !important;
}
.uo-nav-link-active::after {
    background: var(--accent, #ff6a00);
}


/* ─── Search trigger hover animation ────────────────────────── */
.uo-search-trigger {
    transition: all 280ms cubic-bezier(0.16, 1, 0.3, 1);
}
.uo-search-trigger:hover {
    background: rgba(255, 106, 0, 0.10);
    border-color: rgba(255, 106, 0, 0.40);
    box-shadow: 0 0 24px rgba(255, 106, 0, 0.15);
}
.uo-search-trigger svg {
    transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}
.uo-search-trigger:hover svg {
    color: var(--accent, #ff6a00);
    animation: uo-search-icon-wiggle 600ms ease-in-out;
}
@keyframes uo-search-icon-wiggle {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25%      { transform: rotate(-10deg) scale(1.12); }
    50%      { transform: rotate(0deg) scale(1.12); }
    75%      { transform: rotate(10deg) scale(1.12); }
}


/* ─── User avatar pulsing glow on hover ─────────────────────── */
.uo-user-trigger {
    position: relative;
    overflow: visible !important;
}
.uo-user-avatar {
    transition: all 280ms cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}
.uo-user-trigger:hover .uo-user-avatar {
    transform: scale(1.08);
    box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.18),
                0 0 24px rgba(255, 106, 0, 0.35);
}
.uo-user-trigger::after {
    content: "";
    position: absolute;
    top: 2px; left: 2px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--accent, #ff6a00);
    opacity: 0;
    z-index: -1;
    transition: opacity 320ms ease;
    animation: uo-avatar-pulse 2.4s ease-in-out infinite;
    pointer-events: none;
}
@keyframes uo-avatar-pulse {
    0%, 100% { transform: scale(1); opacity: 0; }
    50%      { transform: scale(1.4); opacity: 0.18; }
}


/* ─── Hamburger -> X morph animáció ─────────────────────────── */
.uo-hamburger {
    transition: all 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
.uo-hamburger span {
    display: block;
    width: 100%; height: 2px;
    background: #fff;
    border-radius: 1px;
    transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
                opacity 220ms ease;
    transform-origin: center;
}
.uo-hamburger:hover {
    background: rgba(255, 106, 0, 0.10);
    border-radius: 50%;
}
.uo-hamburger:hover span:nth-child(1) { transform: translateY(-1px) rotate(-3deg); }
.uo-hamburger:hover span:nth-child(3) { transform: translateY(1px) rotate(3deg); }

/* Drawer nyitva - X-hez igazítás (a hamburger nincs ott aktívan, de logikailag) */


/* ─── Heart/Kedvencek pulse ha bejelentkezve ─────────────── */
.uo-header-icon-btn[href="kedvencek.php"] {
    overflow: visible;
}
.uo-header-icon-btn[href="kedvencek.php"]:hover svg {
    animation: uo-heart-beat 600ms ease-in-out;
    color: #ff5a4d;
    fill: #ff5a4d;
}
@keyframes uo-heart-beat {
    0%, 100% { transform: scale(1); }
    30%      { transform: scale(1.25); }
    60%      { transform: scale(0.95); }
}


/* ─── Mobil drawer search bar ────────────────────────────── */
.uo-drawer-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    transition: all 220ms ease;
}
.uo-drawer-search:focus-within {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 106, 0, 0.40);
    box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.10);
}
.uo-drawer-search > svg {
    color: var(--accent, #ff6a00);
    flex-shrink: 0;
}
.uo-drawer-search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 500;
    outline: none;
    min-width: 0;
}
.uo-drawer-search-input::placeholder {
    color: #6a7180;
    font-weight: 400;
}
.uo-drawer-search-submit {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: var(--accent, #ff6a00);
    border: none;
    color: #fff;
    display: grid; place-items: center;
    cursor: pointer;
    transition: all 200ms ease;
    flex-shrink: 0;
}
.uo-drawer-search-submit:hover {
    background: #ff7e1f;
    transform: scale(1.05);
}


/* ═════════════════════════════════════════════════════════════════════════
   HEADER FELOSZTÁS ÚJRA — Mobil/Tablet/Desktop
   ═════════════════════════════════════════════════════════════════════════ */

/* Desktop: Logo bal, kompakt search középen, 5 nav link + 2-3 ikon jobbra */
.uo-nav-desktop {
    /* Kompaktabb gap-ek, hogy minden elférjen */
    gap: 2px;
}

/* 1280px és asztal nagy - search egy kicsit kisebb hogy a nav férjen */
@media (max-width: 1280px) {
    .uo-header-search {
        max-width: 360px;
    }
    .uo-search-ph-sub { display: none; }
}

/* 1100px alatt - nav rejtve, hamburger megjelenik */
@media (max-width: 1100px) {
    /* Drawer search visible */
    .uo-drawer-search { display: flex; }

    /* Header inner: 2 oszlop (logo bal + hamburger, actions jobbra) */
    .uo-header-inner {
        grid-template-columns: auto 1fr auto;
    }
    .uo-header-left {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    /* Heart icon mobile-on rejtve - a drawer-ben már külön menü van rá */
    .uo-header-actions .uo-header-icon-btn[href="kedvencek.php"] {
        display: none;
    }
}

/* 640px alatt */
@media (max-width: 640px) {
    .uo-header-icon-btn {
        width: 38px; height: 38px;
    }
}

/* 480px alatt - logo szöveg KISEBB de látható */
@media (max-width: 480px) {
    .uo-header-inner { gap: 4px; padding: 8px 0 !important; }
    .uo-logo-word { font-size: 16px; }

    .uo-header-icon-btn {
        width: 36px; height: 36px;
    }
    .uo-user-avatar {
        width: 32px; height: 32px;
        font-size: 12px;
    }

    /* Compact mode mobile-on extra kompakt */
    .uo-header-compact .uo-header-inner {
        min-height: 50px;
    }
}

/* 380px alatt extra-kompakt — bejelentkezve mind elférjen */
@media (max-width: 380px) {
    .uo-header-inner { gap: 2px; }
    .uo-hamburger { width: 30px; height: 30px; padding: 5px; }
    .uo-header-actions { gap: 2px; }
    .uo-header-icon-btn { width: 34px; height: 34px; }
    .uo-user-avatar { width: 30px; height: 30px; font-size: 11px; }
}


/* ─── Drawer search csak mobilon ─────────────────────────────── */
@media (min-width: 1101px) {
    .uo-drawer-search { display: none; }
}


/* ═════════════════════════════════════════════════════════════════════════
   HEADER v2.2 — Mobil felosztás újra + Search mindenhol bezár + Soft return
   ═════════════════════════════════════════════════════════════════════════ */

/* ─── Mobil search button (csak mobile-on) ─────────────────────── */
.uo-mobile-search-btn {
    display: none;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: none;
    color: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
.uo-mobile-search-btn:hover {
    background: rgba(255, 106, 0, 0.15);
    color: var(--accent, #ff6a00);
    transform: scale(1.05);
}
.uo-mobile-search-btn svg {
    transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}
.uo-mobile-search-btn:hover svg {
    animation: uo-search-icon-wiggle 600ms ease-in-out;
}

/* ─── Soft return — ULTRA SMOOTH ────────────────────────────── */
.uo-header-soft-return {
    transition: transform 720ms cubic-bezier(0.22, 1, 0.36, 1) !important;
}


/* ─── Backdrop blur — teljes viewport, nem csak a header ──────── */
.uo-search-backdrop {
    /* Override: tényleg az egész viewportot blur-eli */
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    background: rgba(0, 0, 0, 0.45);
    transition: opacity 320ms cubic-bezier(0.16, 1, 0.3, 1),
                backdrop-filter 320ms ease,
                -webkit-backdrop-filter 320ms ease;
}

/* Body class amikor search aktív — extra UX (pl. scroll lock-ot kérheted) */
body.uo-search-active {
    /* Nincs scroll-lock alapból, csak ha kéne */
}


/* ═════════════════════════════════════════════════════════════════════════
   MOBIL HEADER LAYOUT v2.2 — Search bal / Logo középen / Hamburger jobb
   ═════════════════════════════════════════════════════════════════════════ */

/* 1100px alatt — új mobil layout */
@media (max-width: 1100px) {
    /* Header inner: 3 oszlop egyenletes — search | logo | actions+hamburger */
    .uo-header-inner {
        grid-template-columns: 40px 1fr 40px !important;
        gap: 12px;
        align-items: center;
    }

    /* Mobil search button megjelenik (bal oldal) */
    .uo-mobile-search-btn {
        display: inline-flex;
        order: 1;
    }

    /* Logo középre kerül */
    .uo-header-left {
        order: 2;
        justify-content: center;
    }
    .uo-logo {
        margin: 0 auto;
    }

    /* Header-actions jobb szélen, hamburger benne (a profil/heart helyett) */
    .uo-header-right {
        order: 3;
        justify-content: flex-end;
    }

    /* Header actions mobile-on: csak a hamburger marad látható, user/heart rejtve */
    .uo-header-actions .uo-header-icon-btn:not(.uo-hamburger) {
        display: none !important;
    }
    .uo-header-actions .uo-user-menu {
        display: none !important;
    }

    /* Asztali nav rejtve */
    .uo-nav-desktop { display: none; }

    /* Hamburger jobb oldalt látható */
    .uo-hamburger {
        display: flex !important;
    }
}

/* 640px alatt */
@media (max-width: 640px) {
    .uo-header-inner {
        grid-template-columns: 38px 1fr 38px !important;
        gap: 8px;
    }
    .uo-mobile-search-btn {
        width: 38px; height: 38px;
    }
    .uo-hamburger {
        width: 38px; height: 38px;
    }
}

/* 480px alatt */
@media (max-width: 480px) {
    .uo-header-inner {
        grid-template-columns: 36px 1fr 36px !important;
        padding: 8px 0 !important;
    }
    .uo-mobile-search-btn,
    .uo-hamburger {
        width: 36px; height: 36px;
    }
    .uo-logo svg {
        width: 26px; height: 26px;
    }
    .uo-logo-word { font-size: 16px; }
}

/* 380px alatt — még kompaktabb */
@media (max-width: 380px) {
    .uo-header-inner {
        grid-template-columns: 32px 1fr 32px !important;
        gap: 6px;
    }
    .uo-mobile-search-btn,
    .uo-hamburger {
        width: 32px; height: 32px;
    }
    .uo-hamburger { padding: 6px; }
    .uo-logo svg {
        width: 24px; height: 24px;
    }
    .uo-logo-word { font-size: 15px; }
}


/* ═════════════════════════════════════════════════════════════════════════
   Mobile drawer search: ha már mobil search button van fent, a drawer
   tetejéről ELTÁVOLÍTHATÓ — de hagyom, mert kényelmesebb a drawer-ben is
   ═════════════════════════════════════════════════════════════════════════ */

/* A drawer search marad - extra convenience */


/* ═════════════════════════════════════════════════════════════════════════
   MOBILE SEARCH DROPDOWN FIX v2.6 — JS DOM repositioning
   Approach:
   - Parent `.uo-header-search` display:none mobile-on (clean grid)
   - JS amikor a search nyílik, a `.uo-search-dropdown`-t áthelyezi
     a <body> közvetlen gyermekévé (különben parent hidden = child hidden)
   - Bezáráskor JS visszahelyezi az eredeti parent-re
   - Body class `body.uo-search-active` triggereli a dropdown stílusait
   ═════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1100px) {
    /* Parent shell mobile-on display:none — kitisztítja a header grid-jét */
    .uo-header-search {
        display: none !important;
    }

    /* Ha a dropdown JS által a body alá kerül és van uo-search-active class,
       stílust kap */
    body.uo-search-active > .uo-search-dropdown {
        display: block;
        position: fixed;
        top: 72px;
        left: 12px;
        right: 12px;
        width: auto;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        z-index: 102;
        background: #ffffff;
        border-radius: 18px;
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
        padding: 20px;
        animation: uo-search-dropdown-in 320ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    @keyframes uo-search-dropdown-in {
        from { opacity: 0; transform: translateY(-12px); }
        to   { opacity: 1; transform: translateY(0); }
    }
}
