/* ==========================================================================
   Mailhook front – redesign v2
   Design tokens + komponensek. A régi creative400/klaus CSS-t váltja ki.
   A markup megtartja a meglévő route-okat, űrlapmezőket és JS hook-okat,
   csak a megjelenés változik.
   ========================================================================== */

:root,
[data-theme="light"] {
    --bg: #ffffff;
    --bg2: #f3f6fb;
    --card: #ffffff;
    --track: #e6ebf3;
    --fg: #0f1a2e;
    --fg2: #3d4a60;
    --muted: #66728a;
    --muted2: #8b96aa;
    --muted3: #c2c9d6;
    --line: rgba(15, 26, 46, .12);
    --line2: rgba(15, 26, 46, .09);
    --line3: rgba(15, 26, 46, .06);
    --line-strong: rgba(15, 26, 46, .28);
    --hover: rgba(15, 26, 46, .06);
    --hover2: rgba(15, 26, 46, .035);
    --header-bg: rgba(255, 255, 255, .88);
    --accent: #2f6be3;
    --accent-hover: #2559c4;
    --accent-text: #1f4fb0;
    --accent-deep: #173a82;
    --accent-tint: #e6efff;
    --accent-tint2: rgba(47, 107, 227, .09);
    --accent-tint3: rgba(47, 107, 227, .28);
    --accent-soft: #a9c6ff;
    --on-accent: #ffffff;
    --danger: #c0392b;
    --success: #1f7a4d;
    --ph1: #e9eef6;
    --ph2: #f1f4f9;
    --shadow: 0 1px 2px rgba(15, 26, 46, .05), 0 10px 30px rgba(15, 26, 46, .06);
    --radius: 16px;
    --radius-sm: 10px;
    color-scheme: light;
}

[data-theme="dark"] {
    --bg: #0d1117;
    --bg2: #121820;
    --card: #171e29;
    --track: #252d3a;
    --fg: #eef2f8;
    --fg2: #c3cbd8;
    --muted: #8d98ab;
    --muted2: #6d7789;
    --muted3: #48526a;
    --line: rgba(255, 255, 255, .12);
    --line2: rgba(255, 255, 255, .09);
    --line3: rgba(255, 255, 255, .06);
    --line-strong: rgba(255, 255, 255, .28);
    --hover: rgba(255, 255, 255, .07);
    --hover2: rgba(255, 255, 255, .04);
    --header-bg: rgba(13, 17, 23, .85);
    --accent: #5b8dee;
    --accent-hover: #3f78e6;
    --accent-text: #8fb3ff;
    --accent-deep: #d6e3ff;
    --accent-tint: #182747;
    --accent-tint2: rgba(91, 141, 238, .14);
    --accent-tint3: rgba(91, 141, 238, .35);
    --accent-soft: #2f4f8f;
    --on-accent: #ffffff;
    --danger: #ff7b6b;
    --success: #6fd39b;
    --ph1: #1a2230;
    --ph2: #202938;
    --shadow: 0 0 0 1px rgba(255, 255, 255, .03), 0 10px 30px rgba(0, 0, 0, .35);
    color-scheme: dark;
}

/* --------------------------------------------------------------------------
   Alap
   -------------------------------------------------------------------------- */
html {
    background: var(--bg);
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    margin: 0;
    background: var(--bg) !important;
    color: var(--fg);
    font-family: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    transition: background .2s, color .2s;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* A DB-ből érkező sablonok saját <style> blokkjai globális a/button/i
   szabályokat tartalmaznak (0,0,1 specificitás) – ezért itt mindenhol
   legalább 0,0,2 / 0,1,0 specificitással írunk. */
body a {
    color: var(--accent-text);
    text-decoration: none;
    text-underline-offset: 3px;
}

body a:hover {
    color: var(--accent-deep);
    text-decoration: underline;
}

input,
textarea,
select,
button {
    font: inherit;
}

:focus {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

::selection {
    background: var(--accent-tint3);
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Barlow", system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--fg);
    margin: 0;
}

p {
    margin: 0 0 1em;
}

.visually-hidden,
.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --------------------------------------------------------------------------
   Layout segédek
   -------------------------------------------------------------------------- */
.mh-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.mh-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.mh-main {
    flex: 1;
}

.mh-section {
    border-top: 1px solid var(--line);
}

.mh-section-alt {
    background: var(--bg2);
}

.mh-section-in {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 24px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.mh-section-head {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    align-items: end;
}

.mh-section-head p {
    margin: 0;
    color: var(--fg2);
    max-width: 48ch;
    text-wrap: pretty;
}

.mh-eyebrow {
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent-text);
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

.mh-h1 {
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1;
    letter-spacing: -.015em;
    text-wrap: balance;
}

.mh-h1-hero {
    font-size: clamp(44px, 6vw, 76px);
}

.mh-h2 {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.05;
    letter-spacing: -.015em;
    text-wrap: balance;
}

.mh-h3 {
    font-size: 24px;
    line-height: 1.1;
}

.mh-lead {
    font-size: 18px;
    color: var(--fg2);
    max-width: 52ch;
    text-wrap: pretty;
    margin: 0;
}

.mh-muted {
    color: var(--muted);
}

.mh-small {
    font-size: 13px;
}

.mh-grid {
    display: grid;
    gap: 24px;
}

.mh-grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.mh-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.mh-card {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow);
    padding: 22px;
}

.mh-card-lg {
    padding: 28px;
}

.mh-divider {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 0;
}

/* --------------------------------------------------------------------------
   Gombok (a globális DB-s button{} szabály minden tulajdonságát felülírjuk)
   -------------------------------------------------------------------------- */
.mh-btn,
body .btn.mh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    height: auto;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: transparent;
    color: var(--fg);
    font-family: "Barlow", system-ui, sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
    letter-spacing: -.01em;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s, color .15s, border-color .15s, opacity .15s;
}

.mh-btn:hover,
body .btn.mh-btn:hover {
    background: var(--hover);
    color: var(--fg);
    text-decoration: none;
}

.mh-btn-primary,
body .btn.mh-btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--on-accent);
}

.mh-btn-primary:hover,
body .btn.mh-btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: var(--on-accent);
}

.mh-btn-soft {
    border-color: var(--line);
}

.mh-btn-lg {
    font-size: 17px;
    padding: 12px 22px;
}

.mh-btn-sm {
    font-size: 13px;
    padding: 8px 14px;
}

.mh-btn-block {
    width: 100%;
}

.mh-btn:disabled,
.mh-btn[disabled] {
    opacity: .5;
    cursor: not-allowed;
}

.mh-icon-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--fg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.mh-icon-btn:hover {
    background: var(--hover);
}

.mh-link-arrow {
    font-size: 14px;
    font-weight: 500;
}

.mh-tag {
    display: inline-block;
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: var(--accent-tint);
    color: var(--accent-deep);
    padding: 3px 10px;
    border-radius: 999px;
}

/* --------------------------------------------------------------------------
   Fejléc / navigáció
   -------------------------------------------------------------------------- */
.mh-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--header-bg);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}

.mh-header-in {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.mh-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--fg) !important;
    text-decoration: none !important;
    margin-right: auto;
}

.mh-brand-mark {
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: var(--accent);
    display: block;
    position: relative;
    flex: none;
}

.mh-brand-mark::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 4px;
    width: 8px;
    height: 11px;
    border: 2px solid var(--on-accent);
    border-left: 0;
    border-top: 0;
    transform: rotate(45deg);
}

.mh-brand-text {
    font-family: "Barlow", system-ui, sans-serif;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: .04em;
    line-height: 1;
}

.mh-nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 14px;
}

.mh-nav a {
    color: var(--fg);
    font-weight: 500;
    padding: 4px 0;
    border-bottom: 1px solid transparent;
    text-decoration: none;
}

.mh-nav a:hover {
    color: var(--accent-text);
    text-decoration: none;
}

.mh-nav a.active {
    border-bottom-color: var(--accent);
}

.mh-header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.mh-theme-toggle {
    width: auto;
    height: auto;
    cursor: pointer;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--fg);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mh-theme-toggle:hover {
    background: var(--hover);
}

.mh-theme-toggle .mh-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    display: block;
}

.mh-theme-toggle .mh-theme-dark-label {
    display: none;
}

[data-theme="dark"] .mh-theme-toggle .mh-theme-light-label {
    display: none;
}

[data-theme="dark"] .mh-theme-toggle .mh-theme-dark-label {
    display: inline;
}

.mh-burger {
    display: none;
    width: 38px;
    height: 36px;
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 999px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    color: var(--fg);
}

.mh-burger span {
    width: 16px;
    height: 2px;
    background: currentColor;
    display: block;
    border-radius: 2px;
}

.mh-menu {
    border-top: 1px solid var(--line);
    background: var(--bg);
}

.mh-menu-in {
    padding: 8px 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mh-menu a {
    color: var(--fg);
    font-size: 16px;
    font-weight: 500;
    padding: 12px 10px;
    border-radius: 10px;
    border-left: 3px solid transparent;
    text-decoration: none;
}

.mh-menu a:hover {
    background: var(--hover);
    text-decoration: none;
}

.mh-menu a.active {
    border-left-color: var(--accent);
}

.mh-menu .mh-btn {
    margin-top: 8px;
    justify-content: center;
}

@media (max-width: 991px) {
    .mh-nav,
    .mh-hide-narrow {
        display: none !important;
    }

    .mh-burger {
        display: flex;
    }
}

@media (min-width: 992px) {
    .mh-menu {
        display: none !important;
    }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.mh-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 72px 24px 56px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
    align-items: center;
    width: 100%;
    background: radial-gradient(55% 70% at 85% 15%, var(--accent-tint) 0%, transparent 70%);
}

.mh-hero-copy {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.mh-hero-copy .mh-eyebrow {
    margin-bottom: 0;
}

.mh-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.mh-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    margin-top: 10px;
}

.mh-hero-stats > div {
    padding: 14px 14px 0 14px;
    border-right: 1px solid var(--line);
}

.mh-hero-stats > div:first-child {
    padding-left: 0;
}

.mh-hero-stats > div:last-child {
    border-right: 0;
    padding-right: 0;
}

.mh-stat-value {
    font-family: "Barlow", system-ui, sans-serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 1;
    letter-spacing: -.01em;
}

.mh-stat-label {
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
}

@media (max-width: 520px) {
    .mh-hero-stats {
        grid-template-columns: 1fr;
    }

    .mh-hero-stats > div {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 14px 0;
    }

    .mh-hero-stats > div:last-child {
        border-bottom: 0;
    }
}

/* Hero kártya – a "MailHook előnyei" carousel (NewsElonyokWidget) */
.mh-hero-card {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 320px;
}

.mh-hero-card h3 {
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent-text);
    font-weight: 500;
    margin: 0;
}

.mh-hero-card .carousel {
    flex: 1;
}

.mh-hero-card .carousel-item {
    min-height: 170px;
}

.mh-hero-card .elony-cim {
    font-family: "Barlow", system-ui, sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: -.01em;
    color: var(--fg);
    margin: 0 0 10px;
}

.mh-hero-card .elony-cim strong {
    font-weight: 700;
}

.mh-hero-card .carousel-item p {
    font-size: 14px;
    color: var(--fg2) !important;
    margin: 0;
    text-wrap: pretty;
}

.mh-hero-card-foot {
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid var(--line2);
    padding-top: 16px;
    flex-wrap: wrap;
}

.mh-hero-card-foot .mh-btn {
    margin-left: auto;
}

.mh-hero-card .carousel-control-prev,
.mh-hero-card .carousel-control-next {
    position: static;
    width: 36px;
    height: 36px;
    opacity: 1;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--fg);
    background: transparent;
    padding: 0;
}

.mh-hero-card .carousel-control-prev:hover,
.mh-hero-card .carousel-control-next:hover {
    background: var(--hover);
}

.mh-hero-card .carousel-control-prev-icon,
.mh-hero-card .carousel-control-next-icon {
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230f1a2e'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.mh-hero-card .carousel-control-next-icon {
    transform: rotate(180deg);
}

[data-theme="dark"] .mh-hero-card .carousel-control-prev-icon,
[data-theme="dark"] .mh-hero-card .carousel-control-next-icon {
    filter: invert(1);
}

/* --------------------------------------------------------------------------
   Funkciók – a DB-s "fooldal_szolgaltatasaink" sablon (.row > .col-lg-4)
   kártyákká alakítva
   -------------------------------------------------------------------------- */
.mh-features .row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin: 0 0 24px;
    padding: 0;
}

.mh-features .row > [class*="col-"] {
    width: auto;
    max-width: none;
    flex: none;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow);
    text-align: left !important;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 190px;
    transition: background .15s;
}

.mh-features .row > [class*="col-"]:hover {
    background: var(--accent-tint2);
}

.mh-features i,
.mh-features .bi {
    font-size: 22px !important;
    color: var(--accent-text) !important;
    display: block;
    line-height: 1;
}

/* A kártyák képei (pl. a DB-s "GDPR kompatibilitás" jelvény): a flex kártyában
   a kép a teljes szélességre nyúlt és torzult (512x515 -> 322x40); saját
   arányában, balra zárva, a többi kártya ikonjához igazodva */
.mh-features img {
    height: 40px !important;
    width: auto !important;
    max-width: 100%;
    object-fit: contain;
    align-self: flex-start;
    padding: 0 !important;
}

.mh-features h3 {
    font-size: 22px;
    line-height: 1.1;
    margin: 0;
}

.mh-features p {
    font-size: 14px;
    color: var(--fg2);
    margin: 0;
    text-wrap: pretty;
}

.mh-features button,
.mh-features #moreButton,
.mh-features #lessButton {
    width: auto;
    height: auto;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: transparent;
    color: var(--fg);
    font-family: "Barlow", system-ui, sans-serif;
    font-weight: 700;
    font-size: 15px;
    font-style: normal !important;
    cursor: pointer;
}

.mh-features button:hover {
    background: var(--hover);
}

.mh-features > div > div[style*="text-align: center"] {
    text-align: left !important;
    padding-bottom: 0 !important;
}

.mh-features a[name] {
    display: block;
    position: relative;
    top: -90px;
}

/* --------------------------------------------------------------------------
   Bemutatkozó szöveg (about)
   -------------------------------------------------------------------------- */
.mh-about {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
    align-items: start;
}

.mh-prose {
    color: var(--fg2);
    font-size: 16px;
    text-wrap: pretty;
}

.mh-prose h3 {
    font-size: 22px;
    margin: 24px 0 8px;
    color: var(--fg);
}

.mh-prose h3:first-child {
    margin-top: 0;
}

.mh-prose p {
    margin: 0 0 12px;
}

/* --------------------------------------------------------------------------
   Visszajelzések – a DB-s .review-card markup
   -------------------------------------------------------------------------- */
.mh-quotes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.mh-quotes .review-card {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 0 0 20px;
    border-left: 1px solid var(--line-strong);
    background: transparent;
    min-height: 0;
}

.mh-quotes .review-card blockquote {
    margin: 0;
    font-size: 17px;
    line-height: 1.5;
    font-style: normal;
    color: var(--fg);
    text-wrap: pretty;
    border: 0;
    padding: 0;
}

/* A logó a függőleges flex kártyában a teljes oszlopszélességre nyúlt, a
   max-height pedig összenyomta (torz, lapos kép, sötét témában széles fehér
   csík). align-self + object-fit: a logó a saját arányában, balra zárva. */
.mh-quotes .review-card-image {
    align-self: flex-start;
    max-width: min(100%, 220px);
    max-height: 72px !important;
    height: auto !important;
    width: auto !important;
    object-fit: contain;
    margin: 0 !important;
    order: 99;
    display: block !important;
    border-radius: 6px;
}

[data-theme="dark"] .mh-quotes .review-card-image {
    background: #fff;
    padding: 4px;
}

.mh-quotes .review-card-name,
.mh-quotes .review-card-domain {
    display: inline;
    font-size: 13px;
    text-align: left;
    margin: 0;
}

.mh-quotes .review-card-name {
    color: var(--fg);
    font-weight: 500;
}

.mh-quotes .review-card-domain {
    color: var(--muted);
    font-weight: 400;
}

.mh-quotes .review-card-domain::before {
    content: " · ";
}

.mh-quotes .review-card-domain a {
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   Csomagok
   -------------------------------------------------------------------------- */
.mh-subs-picker {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.mh-subs-picker .mh-small {
    color: var(--muted);
    font-size: 12px;
}

.mh-seg {
    display: inline-flex;
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
    flex-wrap: wrap;
}

.mh-seg button {
    width: auto;
    height: auto;
    cursor: pointer;
    padding: 9px 16px;
    font-size: 14px;
    border: 0;
    border-left: 1px solid var(--line);
    margin-left: -1px;
    background: transparent;
    color: var(--fg);
    border-radius: 0;
    font-weight: 500;
}

.mh-seg button:first-child {
    border-left: 0;
    margin-left: 0;
}

.mh-seg button:hover {
    background: var(--hover);
}

.mh-seg button.is-active {
    background: var(--accent);
    color: var(--on-accent);
}

.mh-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.mh-plan {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow);
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: border-color .15s;
}

.mh-plan.is-rec {
    border-color: var(--accent);
}

.mh-plan-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.mh-plan-head h3,
.mh-plan-head h4,
.mh-plan-head h5 {
    font-size: 22px;
    margin: 0;
    line-height: 1.1;
}

.mh-plan .mh-tag {
    display: none;
}

.mh-plan.is-rec .mh-tag {
    display: inline-block;
}

.mh-plan-price {
    font-family: "Barlow", system-ui, sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 1;
    letter-spacing: -.01em;
}

.mh-plan-price small {
    font-family: inherit;
    font-weight: 400;
    font-size: 14px;
    color: var(--muted);
    letter-spacing: 0;
}

.mh-plan-gross {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
}

.mh-plan-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    font-size: 14px;
    border-top: 1px solid var(--line2);
}

.mh-plan-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--line2);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    background: transparent !important;
    height: auto;
}

.mh-plan-list li:last-child {
    border-bottom: 0;
}

.mh-plan-list li span {
    color: var(--muted);
}

.mh-plan-list li strong {
    font-weight: 500;
    text-align: right;
}

.mh-plan-list li.is-off strong {
    color: var(--muted2);
    text-decoration: line-through;
}

.mh-plan-cta {
    margin-top: auto;
}

.mh-plan-cta .mh-btn {
    width: 100%;
}

.mh-plan.is-rec .mh-plan-cta .mh-btn {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--on-accent);
}

.mh-plan.is-rec .mh-plan-cta .mh-btn:hover {
    background: var(--accent-hover);
}

/* Tömörített csomaglista (packages.php – belső oldalak alján): a .moreInfo
   láthatóságát a packages.php inline stílusa + openMore() vezérli. */
.mh-plans-compact .mh-plan {
    gap: 12px;
}

#close {
    display: flex;
    justify-content: center;
}

.mh-compare-wrap {
    overflow-x: auto;
    overflow-y: hidden;
}

.mh-compare {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 640px;
}

.mh-compare th {
    text-align: left;
    font-family: "Barlow", system-ui, sans-serif;
    font-weight: 700;
    font-size: 15px;
    padding: 10px 8px;
    border-bottom: 1px solid var(--line);
    color: var(--fg);
}

.mh-compare th:first-child {
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 500;
}

.mh-compare th.is-rec {
    color: var(--accent-text);
}

.mh-compare td {
    padding: 10px 8px;
    border-bottom: 1px solid var(--line3);
}

.mh-compare td:first-child {
    color: var(--muted);
}

.mh-compare tbody tr:hover {
    background: var(--hover2);
}

.mh-notes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    font-size: 13px;
    color: var(--muted);
    text-wrap: pretty;
}

.mh-notes p {
    margin: 0;
}

.mh-notes strong {
    color: var(--fg);
    font-weight: 500;
}

/* A DB-s "ar_informaciok" sablon (br-ekkel tagolt szöveg) */
.mh-price-info {
    font-size: 13px;
    color: var(--muted);
    max-width: 78ch;
    text-wrap: pretty;
    line-height: 1.6;
}

.mh-price-info strong {
    color: var(--fg);
    font-weight: 500;
    display: inline-block;
    margin-top: 6px;
}

/* Egyedi csomag */
.mh-offer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    align-items: center;
}

.mh-offer h2 {
    font-size: 32px;
    line-height: 1.05;
    margin: 0 0 8px;
}

.mh-offer p {
    margin: 0;
    font-size: 14px;
    color: var(--fg2);
}

.mh-offer-list {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4px 20px;
    font-size: 14px;
    color: var(--fg2);
}

.mh-offer-list li {
    padding: 6px 0;
    border-bottom: 1px solid var(--line2);
    background: transparent !important;
}

.mh-offer-cta {
    justify-self: start;
}

/* --------------------------------------------------------------------------
   Blog kártyák (NewsBlogWidget, newsList, ajaxList)
   -------------------------------------------------------------------------- */
.mh-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.mh-posts > .col-lg-4,
.mh-posts > [class*="col-"] {
    width: auto;
    max-width: none;
    flex: none;
    padding: 0;
}

.mh-post,
.mh-posts .card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 0;
    background: transparent;
    box-shadow: none;
    height: auto;
    text-align: left;
    border-radius: 0;
}

.mh-post > a,
.mh-posts .card > a {
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--fg);
    text-decoration: none;
}

.mh-post > a:hover,
.mh-posts .card > a:hover {
    text-decoration: none;
}

.mh-post > a:hover h3,
.mh-posts .card > a:hover h3 {
    color: var(--accent-text);
}

.mh-post-figure,
.mh-posts .card img.list.image {
    margin: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: repeating-linear-gradient(135deg, var(--ph1) 0 6px, var(--ph2) 6px 12px);
    box-shadow: var(--shadow);
    aspect-ratio: 16 / 10;
    overflow: hidden;
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.mh-post-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mh-post-meta {
    font-size: 12px;
    color: var(--muted);
    display: flex;
    gap: 10px;
    margin: 0;
}

.mh-post-meta .mh-post-tag {
    color: var(--accent-text);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.mh-post h3,
.mh-posts .card h3.card-title {
    font-size: 22px;
    line-height: 1.1;
    margin: 0;
    text-wrap: balance;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mh-post p,
.mh-posts .card .card-text {
    font-size: 14px;
    color: var(--fg2);
    margin: 0;
}

.mh-post .mh-link-arrow {
    margin-top: auto;
}

.mh-post-more {
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

/* Régi markup kompatibilitás, ha valahol még .card-body érkezik */
.mh-posts .card-body {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mh-posts .card hr.primary {
    display: none;
}

.mh-posts .card .btn.btn-primary {
    align-self: flex-start;
}

/* Blog cikk */
.mh-article {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mh-article .mh-h1 {
    font-size: clamp(32px, 4.5vw, 52px);
}

.mh-article-body {
    font-size: 17px;
    line-height: 1.65;
    color: var(--fg2);
}

.mh-article-body h2,
.mh-article-body h3 {
    color: var(--fg);
    margin: 28px 0 10px;
    line-height: 1.15;
}

.mh-article-body h2 {
    font-size: 28px;
}

.mh-article-body h3 {
    font-size: 22px;
}

.mh-article-body img {
    border-radius: var(--radius);
    border: 1px solid var(--line);
    margin: 12px 0;
}

.mh-article-body ul,
.mh-article-body ol {
    padding-left: 22px;
}

.mh-article-body blockquote {
    margin: 16px 0;
    padding: 0 0 0 18px;
    border-left: 1px solid var(--line-strong);
    font-size: 18px;
    color: var(--fg);
}

/* --------------------------------------------------------------------------
   Belső oldalak (inner.php) tartalma
   -------------------------------------------------------------------------- */
.mh-page-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 24px 64px;
    width: 100%;
}

.mh-page-head {
    margin-bottom: 32px;
}

.mh-page-head .mh-h1 {
    margin-top: 0;
}

.mh-content-text {
    max-width: 780px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--fg2);
}

.mh-content-text h2,
.mh-content-text h3 {
    color: var(--fg);
    margin: 24px 0 8px;
}

.mh-content-text img {
    border-radius: var(--radius-sm);
}

/* GY.I.K. */
.mh-faq {
    max-width: 860px;
    display: flex;
    flex-direction: column;
}

.mh-faq .accordion-item {
    border: 0;
    border-top: 1px solid var(--line);
    background: transparent;
    border-radius: 0;
}

.mh-faq .accordion-item:last-child {
    border-bottom: 1px solid var(--line);
}

.mh-faq .accordion-item h2 {
    margin: 0;
    font-size: 18px;
}

.mh-faq .accordion-item .btn-link,
.mh-faq .accordion-item button {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--fg);
    text-align: left;
    font-family: "Barlow", system-ui, sans-serif;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    box-shadow: none;
    cursor: pointer;
}

.mh-faq .accordion-item .btn-link:hover {
    color: var(--accent-text);
}

.mh-faq .accordion-item .btn-link::after {
    content: "+";
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    color: var(--muted);
    transition: transform .2s;
}

.mh-faq .accordion-item .btn-link[aria-expanded="true"]::after {
    content: "–";
    background: var(--accent-tint);
    color: var(--accent-deep);
}

.mh-faq .accordion-body {
    padding: 0 0 18px;
    color: var(--fg2);
    font-size: 15px;
    max-width: 70ch;
}

.mh-faq .accordion-body p {
    margin: 0;
}

/* --------------------------------------------------------------------------
   Kapcsolat
   -------------------------------------------------------------------------- */
.mh-contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
    align-items: start;
}

.mh-contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mh-contact-info .mh-eyebrow {
    margin-bottom: 0;
}

.mh-contact-info dl {
    margin: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px 20px;
    font-size: 15px;
}

.mh-contact-info dt {
    color: var(--muted);
    font-weight: 400;
}

.mh-contact-info dd {
    margin: 0;
}

.mh-contact-phone {
    color: var(--fg) !important;
    text-decoration: none !important;
    font-family: "Barlow", system-ui, sans-serif;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -.01em;
}

.mh-contact-hours {
    font-size: 12px;
    color: var(--muted);
}

.mh-contact-pay {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--muted);
    border-top: 1px solid var(--line);
    padding-top: 16px;
}

.mh-contact-pay img {
    height: 28px;
    width: auto;
}

/* --------------------------------------------------------------------------
   Űrlapok – FormBoxWidget (ViDynamicForm) markup:
   .row.ViForm.<mező> > .label.ViForm + .field.ViForm + .error.error_msg
   -------------------------------------------------------------------------- */
.mh-form form,
form.mh-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.mh-form .row.ViForm {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0;
    padding: 0;
    width: auto;
    max-width: none;
    flex: none;
}

.mh-form .row.ViForm.uzenet,
.mh-form .row.ViForm.email,
.mh-form .row.ViForm.ajanlatkeres_email,
.mh-form .row.ViForm.ajanlatkeres_listamerete,
.mh-form .row.ViForm.ajanlatkeres_havikuldes,
.mh-form .row.ViForm.adatkezelesi_tajekoztato,
.mh-form .row.ViForm.kuldes,
.mh-form .row.ViForm.ajanlatkeres_submit,
.mh-form .row.ViForm.session_ad_keyword,
.mh-form .row.ViForm.common_error,
.mh-form > form > .error.error_msg.common_error {
    grid-column: 1 / -1;
}

.mh-form .row.ViForm.session_ad_keyword {
    display: none;
}

.mh-form .label.ViForm,
.mh-form .label.ViForm label {
    font-size: 12px;
    color: var(--muted);
    padding: 0;
    margin: 0;
    font-weight: 400;
}

.mh-form .label.ViForm .required,
.mh-form .label.ViForm span {
    color: var(--accent-text);
}

.mh-form .field.ViForm {
    display: block;
}

.mh-form .field.ViForm input[type="text"],
.mh-form .field.ViForm input[type="email"],
.mh-form .field.ViForm input[type="tel"],
.mh-form .field.ViForm input[type="number"],
.mh-form .field.ViForm textarea,
.mh-form .field.ViForm select {
    width: 100%;
    min-height: 40px;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    background: var(--bg);
    border: 1px solid var(--line);
    color: var(--fg);
    transition: border-color .15s;
}

.mh-form .field.ViForm textarea {
    min-height: 110px;
    resize: vertical;
    padding: 8px 10px;
}

.mh-form .field.ViForm input:focus,
.mh-form .field.ViForm textarea:focus,
.mh-form .field.ViForm select:focus {
    border-color: var(--accent);
    outline: none;
}

.mh-form .field.ViForm input.error,
.mh-form .field.ViForm textarea.error {
    border-color: var(--danger);
}

.mh-form .field.ViForm input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 3px 8px 0 0;
    accent-color: var(--accent);
    vertical-align: top;
}

.mh-form .row.ViForm.adatkezelesi_tajekoztato {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0 8px;
    font-size: 13px;
    color: var(--fg2);
}

.mh-form .row.ViForm.adatkezelesi_tajekoztato .label.ViForm {
    order: 2;
    flex: 1;
    font-size: 13px;
    color: var(--fg2);
}

.mh-form .row.ViForm.adatkezelesi_tajekoztato .field.ViForm {
    order: 1;
    flex: none;
}

.mh-form .row.ViForm.adatkezelesi_tajekoztato .error.error_msg {
    order: 3;
    width: 100%;
}

.mh-form .field.ViForm input[type="submit"],
.mh-form .field.ViForm button {
    width: auto;
    height: auto;
    cursor: pointer;
    color: var(--on-accent);
    background: var(--accent);
    font-family: "Barlow", system-ui, sans-serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -.01em;
    padding: 11px 22px;
    border-radius: 999px;
    border: 1px solid var(--accent);
    transition: background .15s;
}

.mh-form .field.ViForm input[type="submit"]:hover,
.mh-form .field.ViForm button:hover {
    background: var(--accent-hover);
}

.mh-form .error.error_msg {
    display: none;
    font-size: 12px;
    color: var(--danger);
}

.mh-form .error.error_msg.active,
.mh-form .error.error_msg:not(:empty) {
    display: block;
}

.mh-form .error.error_msg.success {
    display: block;
    color: var(--success);
    background: var(--accent-tint2);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    font-size: 14px;
}

.mh-form .errorListBox {
    grid-column: 1 / -1;
    font-size: 13px;
    color: var(--danger);
    border: 1px solid var(--danger);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
}

.mh-form .errorListBox ul {
    margin: 6px 0 0;
    padding-left: 18px;
}

@media (max-width: 520px) {
    .mh-form form,
    form.mh-form {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   Általános beviteli mezők (ViActiveForm / Bootstrap .form-control)
   -------------------------------------------------------------------------- */
body .form-control,
.mh-field input[type="text"],
.mh-field input[type="email"],
.mh-field input[type="password"],
.mh-field input[type="tel"],
.mh-field select,
.mh-field textarea {
    display: block;
    width: 100%;
    min-height: 40px;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    background: var(--bg2);
    border: 1px solid var(--line);
    color: var(--fg);
    box-shadow: none;
    transition: border-color .15s;
}

body .form-control:focus,
.mh-field input:focus,
.mh-field select:focus,
.mh-field textarea:focus {
    border-color: var(--accent);
    box-shadow: none;
    background: var(--bg2);
    color: var(--fg);
    outline: none;
}

body .form-control:disabled,
body .form-control[disabled] {
    background: var(--track);
    color: var(--fg2);
    cursor: default;
}

body .form-control.error,
body input.error,
body textarea.error {
    border-color: var(--danger);
}

.mh-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.mh-field > label,
.mh-field-label {
    font-size: 12px;
    color: var(--muted);
    margin: 0;
    font-weight: 400;
}

.mh-field > label .required,
.mh-field > label span {
    color: var(--accent-text);
}

.mh-field .error.error_msg,
.mh-field .error,
.mh-error {
    font-size: 12px;
    color: var(--danger);
}

.mh-field .error.error_msg:empty {
    display: none;
}

.mh-field .value {
    min-height: 40px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    background: var(--track);
    font-size: 14px;
    color: var(--fg);
}

.mh-field-span2 {
    grid-column: 1 / -1;
}

.mh-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.mh-fields-3 {
    grid-template-columns: 1fr 2fr;
}

@media (max-width: 520px) {
    .mh-fields,
    .mh-fields-3 {
        grid-template-columns: 1fr;
    }
}

.mh-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    color: var(--fg2);
}

.mh-check input[type="checkbox"],
.mh-check input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 3px 0 0;
    accent-color: var(--accent);
    flex: none;
}

.mh-check label {
    margin: 0;
    font-weight: 400;
    cursor: pointer;
}

.mh-check .error.error_msg {
    flex-basis: 100%;
}

.mh-radio-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mh-radio-list label,
.mh-radio-list .radio,
.mh-radio-list div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    font-size: 14px;
    cursor: pointer;
    margin: 0;
    font-weight: 400;
}

.mh-radio-list input[type="radio"] {
    accent-color: var(--accent);
    width: 16px;
    height: 16px;
    margin: 0;
}

.mh-radio-list label:has(input:checked),
.mh-radio-list div:has(input:checked) {
    border-color: var(--accent);
    background: var(--accent-tint2);
}

/* --------------------------------------------------------------------------
   Megrendelés / regisztráció lépései
   -------------------------------------------------------------------------- */
.mh-order {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px 64px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.mh-steps {
    margin: 0 0 8px;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.mh-steps li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px 7px 8px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
}

.mh-steps li .mh-step-n {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 700;
    background: var(--track);
    color: var(--muted);
}

.mh-steps li.is-active {
    border-color: var(--accent);
    background: var(--accent-tint2);
    color: var(--fg);
}

.mh-steps li.is-active .mh-step-n,
.mh-steps li.is-done .mh-step-n {
    background: var(--accent);
    color: var(--on-accent);
}

.mh-order-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
    align-items: start;
}

.mh-order-intro {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.mh-order-intro .mh-h1 {
    font-size: clamp(36px, 4.5vw, 56px);
}

.mh-order-intro ol {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--line);
    font-size: 14px;
}

.mh-order-intro ol li {
    display: flex;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
}

.mh-order-intro ol li.is-active {
    color: var(--fg);
}

.mh-order-intro ol li .mh-step-no {
    font-family: "Barlow", system-ui, sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: .1em;
}

.mh-order-intro ol li.is-active .mh-step-no {
    color: var(--accent-text);
}

.mh-order-card {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mh-order-card h2 {
    font-size: 20px;
    line-height: 1.1;
    margin: 0;
}

.mh-order-card h2 + .mh-fields,
.mh-order-card h2 + .mh-field {
    margin-top: -4px;
}

.mh-order-card .mh-order-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--line2);
}

.mh-order-card .mh-order-block:first-child {
    padding-top: 0;
    border-top: 0;
}

.mh-order-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    padding-top: 6px;
}

.mh-order-actions .mh-btn-link {
    border-color: transparent;
    color: var(--muted);
}

.mh-order-help {
    font-size: 13px;
    color: var(--muted);
}

.mh-order-help.mh-ok {
    color: var(--success);
}

.mh-order-help.mh-bad {
    color: var(--danger);
}

.mh-order-note {
    font-size: 13px;
    color: var(--fg2);
    background: var(--bg2);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
}

.mh-order-summary-wrap {
    overflow-x: auto;
}

.mh-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.mh-table th {
    text-align: left;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 500;
    padding: 10px 8px;
    border-bottom: 1px solid var(--line);
}

.mh-table td {
    padding: 12px 8px;
    border-bottom: 1px solid var(--line3);
    vertical-align: middle;
}

.mh-table .mh-num,
.mh-table th.mh-num {
    text-align: right;
    white-space: nowrap;
}

.mh-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 14px 0 0;
    font-size: 14px;
    color: var(--muted);
}

.mh-total strong,
.mh-total .cartPriceSum,
.mh-total .cartPriceSumBrutto {
    font-family: "Barlow", system-ui, sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: var(--fg);
    letter-spacing: -.01em;
}

.mh-order-card .order-panel,
.mh-order-card .panel-body,
.mh-order-card .panel-heading {
    padding: 0;
    margin: 0;
}

.mh-order-figure {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: grid;
    place-items: center;
    padding: 12px;
}

.mh-order-figure img {
    max-height: 260px;
    width: auto;
}

/* Bootstrap-os "Mégsem ezt a csomagot választom" gomb és társai */
.mh-order .btn.btn-primary,
.mh-order .cart-next-step-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto !important;
    height: auto;
    margin: 0 !important;
    padding: 11px 22px !important;
    border-radius: 999px;
    border: 1px solid var(--accent);
    background: var(--accent);
    color: var(--on-accent);
    font-family: "Barlow", system-ui, sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
    box-shadow: none;
}

.mh-order .btn.btn-primary:hover,
.mh-order .cart-next-step-btn:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: var(--on-accent);
}

.mh-order .btn.btn-primary:disabled,
.mh-order .cart-next-step-btn:disabled {
    opacity: .5;
}

.mh-order .mh-btn-ghost,
.mh-order .btn.mh-btn-ghost {
    background: transparent !important;
    border-color: var(--line-strong) !important;
    color: var(--fg) !important;
}

.mh-order .mh-btn-ghost:hover,
.mh-order .btn.mh-btn-ghost:hover {
    background: var(--hover) !important;
}

/* Sikeres/sikertelen megrendelés infó oldal */
.mh-order-info {
    max-width: 720px;
}

.mh-order-info dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 20px;
    font-size: 14px;
    margin: 0;
}

.mh-order-info dt {
    color: var(--muted);
    font-weight: 400;
}

.mh-order-info dd {
    margin: 0;
}

/* --------------------------------------------------------------------------
   Lábléc
   -------------------------------------------------------------------------- */
.mh-footer {
    border-top: 1px solid var(--line);
    background: var(--bg);
}

.mh-footer-in {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 24px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--muted);
    align-items: center;
}

.mh-footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: center;
}

.mh-footer-links a {
    color: inherit;
    text-decoration: none;
}

.mh-footer-links a:hover {
    color: var(--accent-text);
    text-decoration: none;
}

.mh-footer-share {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mh-footer-share a {
    color: inherit;
    display: inline-flex;
    width: 32px;
    height: 32px;
    border: 1px solid var(--line);
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.mh-footer-share a:hover {
    color: var(--accent-text);
    background: var(--hover);
}

.mh-footer-share i {
    font-size: 15px !important;
    line-height: 1;
}

.mh-footer-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.mh-footer-logos {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mh-footer-logos img {
    height: 26px;
    width: auto;
    opacity: .75;
}

.mh-footer-logos img.virtualcom-logo {
    filter: brightness(0);
}

[data-theme="dark"] .mh-footer-logos img.virtualcom-logo {
    filter: none;
}

[data-theme="dark"] .mh-footer-logos img.vipcms-logo {
    filter: brightness(0) invert(1);
}

/* --------------------------------------------------------------------------
   Bootstrap modal (Egyedi ajánlat, adatkezelési tájékoztató)
   -------------------------------------------------------------------------- */
body .modal-content {
    background: var(--card);
    color: var(--fg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

body .modal-header,
body .modal-footer {
    border-color: var(--line);
}

body .modal-title {
    font-size: 22px;
}

body .modal .btn-close,
body .modal .close {
    width: auto;
    height: auto;
    background: transparent;
    border: 0;
    color: var(--muted);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    opacity: 1;
    padding: 4px 8px;
    border-radius: 999px;
}

body .modal .btn-close {
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2366728a'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    width: 1em;
    height: 1em;
    font-size: 14px;
}

body .modal .btn-secondary,
body .modal .btn-default {
    width: auto;
    height: auto;
    border-radius: 999px;
    background: transparent;
    border: 1px solid var(--line-strong);
    color: var(--fg);
    font-weight: 700;
    padding: 9px 16px;
}

body .modal .btn-secondary:hover,
body .modal .btn-default:hover {
    background: var(--hover);
}

.mh-modal-form {
    width: 100%;
}

/* --------------------------------------------------------------------------
   Cookie sáv (cookieInfo.php) – kártya a jobb alsó sarokban
   -------------------------------------------------------------------------- */
body #cookieAlertBox {
    display: none;
    position: fixed;
    right: 16px;
    bottom: 16px;
    left: auto;
    width: min(440px, calc(100% - 32px));
    max-height: min(70vh, 640px);
    overflow: hidden;
    z-index: 9999;
    background: var(--card) !important;
    color: var(--fg) !important;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px 18px 6px;
    font-size: 13px !important;
    text-shadow: none;
    opacity: 1;
    text-align: left;
}

body #cookieAlertBoxFixed {
    border: 0;
    text-align: left;
    font-size: 13px;
    color: var(--fg2);
    line-height: 1.5;
}

body #cookieAlertBox a.cookie-button,
body #cookieAlertBox a:first-child,
body #cookieAlertBox a:nth-child(2) {
    display: inline-flex;
    align-items: center;
    margin: 12px 8px 0 0;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: transparent;
    color: var(--fg);
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    text-shadow: none;
}

body #cookieAlertBox a#understandCookieInformation {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--on-accent);
}

body #cookieAlertBox a.cookie-button:hover,
body #cookieAlertBox a:first-child:hover,
body #cookieAlertBox a:nth-child(2):hover {
    background: var(--hover);
    color: var(--fg);
}

body #cookieAlertBox a#understandCookieInformation:hover {
    background: var(--accent-hover);
    color: var(--on-accent);
}

body #cookieAlertBox p {
    font-size: 13px !important;
    color: var(--fg2) !important;
}

body #cookieAlertBoxDetails {
    display: none;
    overflow-y: auto;
    max-height: 40vh;
    margin-top: 12px;
    padding: 12px 0 12px;
    border-top: 1px solid var(--line);
    color: var(--fg2);
    font-size: 13px;
}

body #cookieAlertBoxDetails h2,
body #cookieAlertBoxDetails h3,
body #cookieAlertBoxDetails h4 {
    color: var(--fg);
    font-size: 15px;
    margin: 14px 0 6px;
}

body #cookieAlertBoxDetails a {
    color: var(--accent-text);
}

body #cookieAlertBox ul {
    list-style: disc;
    padding-left: 18px;
}

/* --------------------------------------------------------------------------
   Kisebb kompatibilitási szabályok
   -------------------------------------------------------------------------- */
body .btn-primary:not(.mh-btn) {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--on-accent);
    border-radius: 999px;
    font-weight: 700;
    box-shadow: none;
}

body .btn-primary:not(.mh-btn):hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}

body .table {
    color: var(--fg);
}

hr.primary {
    display: none;
}

.text-danger {
    color: var(--danger) !important;
}

.text-success {
    color: var(--success) !important;
}

@media print {
    .mh-header,
    .mh-footer,
    #cookieAlertBox {
        display: none !important;
    }
}
