/* Egységes CMS + webshop fejléc – V56 */
.unified-site-header {
    position: relative;
    z-index: 90;
    font-family: inherit;
    color: #282828;
}

.unified-site-header * {
    box-sizing: border-box
}

.unified-site-header .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 22px
}

.unified-site-header a {
    text-decoration: none
}

.unified-site-header .topbar-info {
    background: #f2f3f5;
    color: #30333a;
    padding: 9px 0;
    font-size: 13px
}

.unified-site-header .topbar-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    align-items: center
}

.unified-site-header .topbar-slot {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    min-width: 0
}

.unified-site-header .topbar-slot a {
    color: inherit
}

.unified-site-header .topbar-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #34363b;
    color: white;
    font-weight: 700
}

.unified-site-header .site-header {
    position: relative;
    z-index: 2;
    background: white;
    padding: 14px 0;
    border-bottom: 1px solid #F44336;
}

.unified-site-header .header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: space-between
}

.unified-site-header .site-logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    font-weight: 800;
    color: #171923;
    font-size: 21px;
    max-width: 220px
}

.unified-site-header .shared-brand-logo {
    display: block;
    max-width: 200px;
    max-height: 66px;
    width: auto;
    height: auto;
    object-fit: contain
}

.unified-site-header .header-search {
    flex: 1 1 350px;
    min-width: 140px
}

.unified-site-header .shared-shop-search {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0;
    border: 1px solid #F44336;
    border-radius: 30px;
    overflow: hidden;
    background: white
}

.unified-site-header .shared-shop-search input {
    flex: 1;
    min-width: 0;
    border: 0!important;
    box-shadow: none!important;
    padding: 12px 16px!important;
    background: transparent!important;
    color: #222;
    width: 100%!important;
    outline: 0
}

.unified-site-header .shared-shop-search button {
    border: 0!important;
    border-radius: 0!important;
    background: #fff!important;
    color: #252525!important;
    padding: 12px 18px!important;
    cursor: pointer
}

.unified-site-header .header-call {
    display: flex;
    flex-direction: column;
    white-space: nowrap;
    gap: 3px
}

.unified-site-header .header-call small {
    font-size: 18px;
    color: #141313;
}

.unified-site-header .header-call a {
    font-weight: 800;
    color: #262630;
    font-size: 14px
}

.unified-site-header .header-action {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #252632;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap
}

.unified-site-header .header-action>span:first-child {
    font-size: 25px;
    line-height: 1
}

.unified-site-header .nav-toggle {
    display: none;
    border: 0;
    background: #fff;
    font-size: 25px;
    cursor: pointer
}

.unified-site-header .header-category-nav {
    background: #44474b;
    color: #fff
}

.unified-site-header .category-nav-inner {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    gap: 5px;
    min-height: 72px
}

.unified-site-header .category-nav-inner>a {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 5px;
    padding: 9px 5px;
    color: white;
    font-size: 11px;
    line-height: 1.25;
    font-weight: 650;
    overflow-wrap: anywhere
}

.unified-site-header .category-nav-inner>a:hover {
    background: #ed1724
}

.unified-site-header .category-nav-icon {
    font-size: 23px;
    line-height: 1
}

.unified-site-header .nav-menu {
    display: flex;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    flex-wrap: wrap
}

.unified-site-header .nav-menu a {
    color: white
}

.unified-site-header .sub-menu {
    display: none;
    position: absolute;
    background: #44474b;
    padding: 12px;
    list-style: none
}

.unified-site-header li:hover>.sub-menu {
    display: block
}

/* A webshop régi, izolált CSS-ét is felülírja */
.shop-shared-shell .unified-site-header .topbar-info {
    background: #f2f3f5;
    color: #30333a;
    padding: 9px 0
}

.shop-shared-shell .unified-site-header .site-header {
    padding: 14px 0;
    background: #fff
}

.shop-shared-shell .unified-site-header .header-inner {
    flex-wrap: nowrap
}

.shop-shared-shell .unified-site-header .shared-shop-search input {
    width: 100%
}

.shop-shared-shell .unified-site-header .shared-shop-search button {
    background: #fff;
    color: #252525
}

@media(max-width: 1000px) {
    .unified-site-header .header-inner {
        flex-wrap:wrap
    }

    .unified-site-header .header-search {
        order: 5;
        flex-basis: 100%
    }

    .unified-site-header .category-nav-inner {
        flex-wrap: wrap
    }

    .unified-site-header .category-nav-inner>a {
        flex: 1 1 19%
    }
}

@media(max-width: 700px) {
    .unified-site-header .topbar-inner {
        grid-template-columns:1fr;
        gap: 5px
    }

    .unified-site-header .header-call {
        display: none
    }

    .unified-site-header .header-action span:last-child {
        display: none
    }

    .unified-site-header .nav-toggle {
        display: block
    }

    .unified-site-header .header-category-nav {
        display: none
    }

    .unified-site-header .header-category-nav.open {
        display: block
    }

    .unified-site-header .category-nav-inner>a {
        flex: 1 1 45%
    }

    .unified-site-header .site-logo {
        max-width: 160px
    }

    .unified-site-header .shared-brand-logo {
        max-width: 145px
    }
}

/* V57: azonos fejléckialakítás minden oldalon, régi CMS stílusok felülírása */
.unified-site-header {
    font-size: 16px;
    line-height: 1.4
}

.unified-site-header .topbar-info {
    background: #000000 !important;
    color: #fff!important;
    padding: 10px 0!important
}

.unified-site-header .topbar-inner {
    display: grid!important;
    grid-template-columns: repeat(3,minmax(0,1fr))!important;
    gap: 12px!important
}

.unified-site-header .topbar-slot {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    min-width: 0;
    flex-wrap: wrap
}

.unified-site-header .topbar-slot a {
    color: #fff!important;
    font-size: 13px;
    overflow-wrap: anywhere
}

.unified-site-header .topbar-slot span {
    font-size: 13px
}

.unified-site-header .topbar-social {
    display: flex;
    gap: 5px
}

.unified-site-header .site-header {
    background: #fff!important;
    padding: 12px 0!important
}

.unified-site-header .header-inner {
    display: flex!important;
    align-items: center!important;
    gap: 22px!important;
    justify-content: space-between!important;
    flex-wrap: nowrap
}

.unified-site-header .site-logo {
    max-width: 180px!important;
    min-width: 100px
}

.unified-site-header .shared-brand-logo {
    max-width: 175px;
    max-height: 76px
}

.unified-site-header .header-search {
    flex: 1 1 340px;
    min-width: 130px
}

.unified-site-header .header-action {
    color: #1a1919 !important;
    font-size: 14px;
}






.unified-site-header .shared-shop-search {
    display: flex!important;
    gap: 0!important;
    width: 100%
}

.unified-site-header .shared-shop-search button {
    white-space: nowrap
}

.shop-shared-shell .unified-site-header .container {
    max-width: 1440px
}

.shop-shared-shell .unified-site-header .topbar-inner {
    display: grid!important
}

.shop-shared-shell .unified-site-header .header-inner {
    display: flex!important
}

@media(max-width: 1050px) {
    .unified-site-header .header-inner {
        flex-wrap:wrap!important
    }

    .unified-site-header .header-search {
        order: 6;
        flex: 1 1 100%
    }

    .unified-site-header .header-call {
        display: none
    }
}

@media(max-width: 700px) {
    .unified-site-header .topbar-inner {
        grid-template-columns:1fr!important
    }

    .unified-site-header .header-inner {
        gap: 10px!important
    }

    .unified-site-header .nav-toggle {
        display: block
    }

    .unified-site-header .header-category-nav {
        display: none
    }

    .unified-site-header .header-category-nav.open {
        display: block
    }

    .unified-site-header .category-nav-inner {
        flex-wrap: wrap
    }

    .unified-site-header .category-nav-inner>a {
        flex: 1 1 40%
    }

    .unified-site-header .site-logo {
        min-width: 0
    }
}

/* V58: egységes CMS főmenü és teljes fejléc a régi aloldalakon is */
.unified-site-header .shared-primary-nav {
    display: block!important;
    background: #fff!important;
    border-top: 1px solid #ececf0;
    border-bottom: 1px solid #ececf0
}

.unified-site-header .shared-primary-inner {
    display: flex!important;
    align-items: center!important;
    justify-content: center!important;
    gap: 32px!important;
    min-height: 46px!important;
    flex-wrap: wrap
}

.unified-site-header .shared-primary-inner>a {
    color: #36333d!important;
    font-size: 15px!important;
    font-weight: 700!important;
    text-decoration: none!important;
    padding: 12px 4px!important;
    line-height: 1.3!important
}

.unified-site-header .shared-primary-inner>a:hover {
    color: #d71920!important
}

.unified-site-header .header-search input {
    display: block!important;
    max-width: none!important
}

.unified-site-header .header-search button {
    display: block!important;
    font: inherit!important
}

.unified-site-header .topbar-slot a {
    color: #fff!important
}

.unified-site-header .header-category-nav a {
    color: #fff!important
}

@media(max-width: 700px) {
    .unified-site-header .shared-primary-inner {
        gap:12px!important;
        justify-content: center!important
    }

    .unified-site-header .shared-primary-inner>a {
        font-size: 13px!important;
        padding: 10px 2px!important
    }
}








.unified-site-header .header-category-nav {
    display: flex !important;
    align-items: center;
    position: relative;
    padding: 8px 12px;
    gap: 8px;
}

.unified-site-header .category-nav-inner {
    display: flex !important;
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: 8px;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.unified-site-header .category-nav-inner::-webkit-scrollbar {
    display: none;
}

.unified-site-header .category-nav-inner > a {
    flex: 0 0 auto;
    width: auto;
    max-width: 220px;
    min-height: 48px;
    padding: 8px 15px;
    border-radius: 6px;
    background: rgba(255,255,255,.12);
    white-space: normal;
    line-height: 1.3;
}

.unified-site-header .dx-category-arrow {
    flex: 0 0 42px;
    width: 42px;
    height: 48px;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 6px;
    background: #fff;
    color: #0786F7;
    font-size: 25px;
    font-weight: 700;
    cursor: pointer;
}

.unified-site-header .dx-category-arrow:disabled {
    opacity: .35;
    cursor: default;
}

.unified-site-header .dx-category-arrow[hidden] {
    display: none !important;
}

/* Duplex kategóriamenü – nyilas lapozás */

.unified-site-header .header-category-nav {
    position: relative;
    background: #0786F7 !important;
}

.unified-site-header .category-nav-inner {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 8px !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-behavior: smooth;
    scrollbar-width: none !important;

    padding: 10px 8px !important;
    box-sizing: border-box;
}

.unified-site-header .category-nav-inner::-webkit-scrollbar {
    display: none !important;
}

.unified-site-header .category-nav-inner > a {
    flex: 0 0 auto !important;
    min-width: 125px;
    max-width: 210px;
    min-height: 52px;
    padding: 10px 14px !important;
    border-radius: 6px;
    background: rgb(255 255 255 / 40%);
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
}

.unified-site-header .category-nav-inner > a:hover {
    background: rgba(255,255,255,.23);
}

/* Nyilak és görgethető terület */
.unified-site-header .dx-category-slider {
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
}

.unified-site-header .dx-category-slider .category-nav-inner {
    flex: 1 1 auto;
    min-width: 0;
}

.unified-site-header .dx-category-arrow {
    flex: 0 0 38px;
    width: 38px;
    height: 52px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 6px;
    background: rgba(0,0,0,.13);
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.unified-site-header .dx-category-arrow:hover {
    background: rgba(0,0,0,.28);
}

.unified-site-header .dx-category-arrow:disabled {
    opacity: .3;
    cursor: default;
}

@media (max-width: 768px) {
    .unified-site-header .dx-category-arrow {
        flex-basis: 32px;
        width: 32px;
        height: 46px;
        font-size: 26px;
    }

    .unified-site-header .category-nav-inner > a {
        min-width: 110px;
        max-width: 165px;
        min-height: 46px;
        font-size: 12px !important;
    }
}


/* V125 – Lighthouse: fehér felirat kontrasztja a felső kategóriasávban. */
.unified-site-header .category-nav-inner > a {background:#155AA8 !important;color:#fff !important;}
.unified-site-header .category-nav-inner > a:hover,.unified-site-header .category-nav-inner > a:focus-visible {background:#10457F !important;color:#fff !important;}

/* V61: leírás a kereső után, a fejléc normál dokumentumfolyamában. */
.unified-site-header .dx-mobile-shop-description{display:none}
@media(max-width:700px){
 .unified-site-header .site-header .dx-mobile-shop-description{display:block;position:static;clear:both;margin:5px auto 0;padding:0 14px;max-width:390px;background:#fff;color:#475569;text-align:center;font-size:11px;line-height:1.3;font-weight:500}
 /* A hamburgeres mobilmenü mellett ne legyen még egy teljes főmenüsor. */
 .unified-site-header .shared-primary-nav{display:none!important}
}

/* V62 – mobil fejléc: a kereső és a leírás saját, normál magasságú sorban. */
@media (max-width:700px) {
  .shop-shared-shell .unified-site-header .header-inner,
  .unified-site-header .header-inner {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto auto auto !important;
    grid-template-rows:auto auto auto !important;
    align-items:center !important;
    gap:6px 12px !important;
    height:auto !important;
  }
  .unified-site-header .header-inner > .site-logo {grid-column:1;grid-row:1;min-width:0}
  .unified-site-header .header-inner > .header-call {display:none !important}
  .unified-site-header .header-inner > .header-action {grid-row:1;min-width:0}
  .unified-site-header .header-inner > .shop-mini-cart {grid-row:1;min-width:0}
  .unified-site-header .header-inner > .nav-toggle {grid-row:1;min-width:0}
  .unified-site-header .header-inner > .header-search {
    grid-column:1 / -1 !important;
    grid-row:2 !important;
    position:relative !important;
    inset:auto !important;
    transform:none !important;
    width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    padding:0 !important;
    order:initial !important;
  }
  .unified-site-header .header-inner > .dx-mobile-shop-description {
    display:block !important;
    grid-column:1 / -1 !important;
    grid-row:3 !important;
    position:static !important;
    margin:0 !important;
    padding:1px 0 0 !important;
    max-width:none !important;
    color:#1b1e23;
    background:transparent;
    font-size:11px;
    line-height:1.3;
    font-weight:700;
    text-align:center;
    overflow-wrap:normal;
  }
  .unified-site-header .shared-primary-nav {display:none !important}
}
