:root {
    --bs-primary: #E8862D;
    --bs-primary-rgb: 232, 134, 45;
    --bs-link-color: #E8862D;
    --bs-link-color-rgb: 232, 134, 45;
    --bs-link-hover-color: #C26819;
    --bs-link-hover-color-rgb: 194, 104, 25;
    --bs-dark: #1B2430;
    --bs-dark-rgb: 27, 36, 48;
    --bs-body-bg: #F7F8FA;
    --bs-body-color: #3D4657;
    --bs-border-color: #ECEEF1;
    --bs-body-font-family: 'Barlow', Helvetica, Arial, sans-serif;

    --kg-navy: #1B2430;
    --kg-navy-2: #242E3D;
    --kg-navy-3: #161D28;
    --kg-accent: #E8862D;
    --kg-accent-dark: #D1741F;
    --kg-muted: #8A94A3;
    --kg-text: #4A5361;
    --kg-border: #ECEEF1;
    --kg-gutter: 60px;
   
    --kg-fab-space: 104px;

    --kg-search-row-h: 86px;
}

body {
    -webkit-font-smoothing: antialiased;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #E8862D;
    --bs-btn-border-color: #E8862D;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #C26819;
    --bs-btn-hover-border-color: #B6631A;
    --bs-btn-focus-shadow-rgb: 232, 134, 45;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #B6631A;
    --bs-btn-active-border-color: #AB5D18;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #E8862D;
    --bs-btn-disabled-border-color: #E8862D;
}

.btn-outline-primary {
    --bs-btn-color: #E8862D;
    --bs-btn-border-color: #E8862D;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #E8862D;
    --bs-btn-hover-border-color: #E8862D;
    --bs-btn-focus-shadow-rgb: 232, 134, 45;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #E8862D;
    --bs-btn-active-border-color: #E8862D;
    --bs-btn-disabled-color: #E8862D;
    --bs-btn-disabled-border-color: #E8862D;
}

.pagination {
    --bs-pagination-active-bg: #E8862D;
    --bs-pagination-active-border-color: #E8862D;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0;
}

.pagination .page-link {
    width: 34px;
    height: 34px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 8px !important;
    font-weight: 700;
    font-size: 0.8125rem;
    color: #3D4657;
}

.pagination .page-link:hover {
    background: #E8862D;
    color: #fff;
}

.pagination .page-item.active .page-link {
    color: #fff;
}

.pagination .page-item.is-gap .page-link {
    width: auto;
    min-width: 0;
    background: none;
    color: var(--kg-muted);
    cursor: default;
}

.pagination .page-item.is-collapsed {
    display: none;
}


@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/barlow/barlow-400-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/barlow/barlow-400-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/barlow/barlow-500-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/barlow/barlow-500-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/barlow/barlow-600-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/barlow/barlow-600-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/barlow/barlow-700-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/barlow/barlow-700-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../fonts/barlow/barlow-800-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../fonts/barlow/barlow-800-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   FELSŐ SÁV (design-sb "TOP BAR")
   ========================================================================== */

.front-navbar {
    padding: 22px 48px;
    background: #fff;
    border-bottom: 1px solid var(--kg-border);
}

.front-navbar > .front-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
}

.front-navbar .navbar-brand {
    padding: 0;
    margin: 0;
}

.front-navbar .navbar-brand img {
    height: 75px;
    width: auto;
    display: block;
}

.front-navbar-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.front-nav {
    display: flex;
    align-items: center;
    gap: 34px;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.front-nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #3D4657;
    text-decoration: none;
    white-space: nowrap;
}

.front-nav a:hover,
.front-nav a:focus,
.front-nav a.active {
    color: var(--kg-accent);
}

.lang-switch .lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: 0;
    padding: 0;
    font-size: 13px;
    font-weight: 700;
    color: #3D4657;
    line-height: 1;
}

.lang-switch .lang-toggle::after {
    display: none;
}

.lang-switch .dropdown-menu {
    min-width: 5rem;
    padding: 4px 0;
    border-color: var(--kg-border);
}

.lang-switch .dropdown-item {
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
}

.lang-switch .dropdown-item.active,
.lang-switch .dropdown-item:active {
    background: var(--kg-accent);
    color: #fff;
}

.quote-badge {
    font-size: 0.7rem;
    vertical-align: top;
}

.front-navbar .menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--kg-border);
    border-radius: 6px;
    padding: 6px 10px;
    color: var(--kg-navy);
    font-size: 18px;
    line-height: 1;
}

/* ==========================================================================
   MORZSAMENÜ-SÁV (teljes szélességű, a sidebar FÖLÖTT - mockup)
   ========================================================================== */

.front-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px var(--kg-gutter);
    background: #fff;
    border-bottom: 1px solid var(--kg-border);
    font-size: 13px;
    font-weight: 600;
    color: var(--kg-muted);
}

.front-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.front-breadcrumb a:hover {
    color: var(--kg-accent);
}

.front-breadcrumb .is-current {
    color: var(--kg-navy);
}

/* ==========================================================================
   ALAPELRENDEZÉS
   ========================================================================== */

.front-body {
    display: flex;
    align-items: stretch;
}

.front-main {
    flex: 1;
    min-width: 0;
}

.front-page {
    padding: 52px var(--kg-gutter) 64px;
}

.front-section {
    padding: 0 var(--kg-gutter);
}

/* ==========================================================================
   SIDEBAR / MOBIL OFFCANVAS ("PROFILOK" menü)
   ========================================================================== */

.category-sidebar,
.offcanvas.category-offcanvas {
    background: var(--kg-navy);
    color: #fff;
}

.category-sidebar {
    width: 350px;
    flex: 0 0 350px;
    padding: 32px 0;
}

.category-menu-heading {
    padding: 0 28px 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--kg-muted);
}

.category-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-menu-row {
    display: flex;
    align-items: stretch;
    border-left: 3px solid transparent;
}

.category-menu-row > a {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 8px 12px 25px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    color: #C7CDD6;
    text-decoration: none;
}

.category-menu-row:hover,
.category-menu-row.is-open {
    background: var(--kg-navy-2);
    border-left-color: var(--kg-accent);
}

.category-menu-row:hover > a {
    color: #fff;
}

.category-menu-row.is-open > a {
    color: #fff;
    font-weight: 700;
}

.category-menu .cat-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    object-fit: contain;
}

.category-menu .collapse-toggle {
    display: flex;
    align-items: center;
    padding: 0 25px 0 6px;
    background: transparent;
    border: 0;
    color: var(--kg-muted);
    opacity: 0;
    transition: opacity 0.12s linear;
}

.category-menu-row:hover .collapse-toggle,
.category-menu-row.is-open .collapse-toggle,
.category-menu .collapse-toggle:focus-visible {
    opacity: 1;
}

.category-submenu {
    list-style: none;
    margin: 0;
    padding: 6px 0 10px;
    background: var(--kg-navy-3);
}

.category-submenu a {
    display: block;
    padding: 9px 28px 9px 60px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    color: #C7CDD6;
    text-decoration: none;
}

.category-submenu a:hover {
    color: #fff;
}

.category-submenu a.is-current {
    color: var(--kg-accent);
    font-weight: 700;
}

.category-menu-extra {
    margin: 20px 28px 0;
    padding-top: 20px;
    border-top: 1px solid #2C3646;
}

.category-menu-extra a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    font-size: 13.5px;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
}

.category-menu-extra a:hover {
    color: var(--kg-accent);
}

.category-menu-extra .cat-icon-glyph {
    width: 18px;
    text-align: center;
    color: var(--kg-accent);
    flex-shrink: 0;
}

.category-sidebar .btn-close,
.offcanvas.category-offcanvas .btn-close {
    filter: invert(1);
}

.offcanvas.category-offcanvas .offcanvas-body {
    padding: 0;
}

/* ==========================================================================
   SZEKCIÓCÍM (narancs függőleges sáv + nagybetűs cím)
   ========================================================================== */

.section-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 22px;
}

.section-title::before {
    content: "";
    width: 5px;
    height: 30px;
    background: var(--kg-accent);
    border-radius: 3px;
    flex-shrink: 0;
}

.section-title h1,
.section-title h2 {
    margin: 0;
    font-size: 27px;
    font-weight: 800;
    letter-spacing: 0.2px;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--kg-navy);
}

/* ==========================================================================
   HERO (képváltó) - teljes szélességű, a felső sáv és a sidebar mellé simulva
   ========================================================================== */

.hero-carousel .carousel-item {
    height: 480px;
    background: var(--kg-navy);
}

.hero-carousel .hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.hero-carousel .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20, 26, 34, 0.78) 0%, rgba(20, 26, 34, 0.42) 50%, rgba(20, 26, 34, 0.12) 75%);
}

.hero-carousel .hero-caption {
    position: relative;
    max-width: 640px;
    padding: 70px var(--kg-gutter);
}

.hero-carousel .hero-title {
    margin: 0 0 20px;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    color: #fff;
}

.hero-carousel .hero-intro {
    margin: 0 0 32px;
    font-size: 15.5px;
    font-weight: 500;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
}

.hero-carousel .hero-intro p:last-child {
    margin-bottom: 0;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--kg-navy);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 6px;
}

.hero-btn:hover {
    background: var(--kg-accent);
    color: #fff;
}

.hero-grant {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;
    display: block;
    line-height: 0;
    opacity: 0.8;
}

.hero-grant:hover {
    opacity: 1;
}

.hero-grant img {
    display: block;
    width: auto;
    height: 100px;
}

.hero-nav {
    position: absolute;
    right: 40px;
    bottom: 24px;
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-nav button {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-nav button:hover {
    background: rgba(255, 255, 255, 0.28);
}

/* ==========================================================================
   FŐOLDAL SZEKCIÓK
   ========================================================================== */

.home-intro {
    display: flex;
    align-items: flex-start;
    gap: 56px;
    padding: 64px var(--kg-gutter) 40px;
}

.home-intro-text {
    flex: 1.1;
    min-width: 0;
}

.home-intro-body {
    font-size: 15px;
    line-height: 1.75;
    color: var(--kg-text);
}

.home-intro-body p:last-child {
    margin-bottom: 0;
}

.home-intro-media {
    flex: 1;
    min-width: 0;
}

.home-intro-media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3.1;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 20px 40px -18px rgba(27, 36, 48, 0.25);
}

.home-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 16px var(--kg-gutter) 8px;
}

.feature-card-row {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 24px -14px rgba(27, 36, 48, 0.18);
    overflow: hidden;
    border-left: 4px solid var(--kg-accent);
}

.feature-card-img {
    width: 220px;
    flex-shrink: 0;
}

.feature-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feature-card-body {
    flex: 1;
    min-width: 0;
    padding: 26px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.feature-card-body h3 {
    margin: 0;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: var(--kg-navy);
}

.feature-card-text {
    font-size: 13.5px;
    line-height: 1.65;
    color: #5A6373;
    max-width: 640px;
}

.feature-card-text p:last-child {
    margin-bottom: 0;
}

.feature-card-cta {
    display: flex;
    align-items: center;
    padding: 0 32px;
}

.btn-accent {
    display: inline-block;
    background: var(--kg-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 13px 26px;
    border-radius: 6px;
    white-space: nowrap;
}

.btn-accent:hover {
    background: var(--kg-accent-dark);
    color: #fff;
}

.home-tags {
    padding: 44px var(--kg-gutter) 8px;
}

.home-partners {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 32px;
    padding: 48px var(--kg-gutter);
}

.home-partners img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.home-cta {
    padding: 56px var(--kg-gutter);
    text-align: center;
    background: #fff;
    border-top: 1px solid var(--kg-border);
}

.home-cta h2 {
    margin: 0 0 26px;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--kg-navy);
}

.btn-cta {
    display: inline-block;
    background: var(--kg-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 16px 40px;
    border-radius: 6px;
}

.btn-cta:hover {
    background: var(--kg-accent-dark);
    color: #fff;
}

/* ==========================================================================
   KULCSSZÓ-CHIPEK
   ========================================================================== */

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-pill {
    display: inline-block;
    border: 1px solid #D8DDE5;
    border-radius: 100px;
    padding: 8px 16px;
    background: transparent;
    color: #5A6373;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    text-decoration: none;
}

a.tag-pill:hover {
    border-color: var(--kg-accent);
    color: var(--kg-accent);
}

.page-tags {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--kg-border);
}

/* ==========================================================================
   KATEGÓRIA- ÉS TERMÉKOLDAL
   ========================================================================== */

.category-intro {
    max-width: 960px;
    margin: 0 0 36px;
    font-size: 15px;
    line-height: 1.75;
    color: var(--kg-text);
}

.category-intro p {
    margin: 0 0 8px;
}

.category-intro p:last-child {
    margin-bottom: 0;
}

.category-intro strong {
    color: var(--kg-navy);
}

.category-intro.is-tight {
    margin-bottom: 8px;
}

.min-order-note {
    margin: 0 0 36px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.75;
    color: var(--kg-navy);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 36px;
}

.product-pagination {
    margin-bottom: 40px;
}

.product-pagination.is-above-grid {
    padding-top: 24px;
    border-top: 1px solid var(--kg-border);
    margin-bottom: 32px;
}

.product-pagination.is-above-list {
    margin-bottom: 28px;
}

@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1500px) {
    .product-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px -14px rgba(27, 36, 48, 0.2);
    color: inherit;
    text-decoration: none;
}

.product-card-img-wrap {
    aspect-ratio: 1.4 / 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
    padding: 14px;
}

.product-card-img-wrap img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.product-card-body {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.product-card-code {
    font-size: 14.5px;
    font-weight: 800;
    letter-spacing: 0.2px;
    color: var(--kg-navy);
    overflow-wrap: anywhere;
}

.product-card-category {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.2px;
    color: var(--kg-accent);
}

.product-card-link {
    margin-top: auto;
    align-self: flex-start;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #3D4657;
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-card:hover .product-card-link {
    color: var(--kg-accent);
}

.product-detail-panel {
    display: flex;
    align-items: center;
    gap: 48px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 24px -16px rgba(27, 36, 48, 0.2);
    padding: 36px;
    margin-bottom: 44px;
}

.product-detail-media {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-media img {
    display: block;
    max-width: 100%;
    height: auto;
}

.product-detail-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-detail-info h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.3px;
    color: var(--kg-navy);
}

.product-detail-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--kg-text);
}

.product-detail-desc p:last-child {
    margin-bottom: 0;
}

.product-attrs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
}

.product-attr-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex-wrap: wrap;
}

.product-attr-label {
    width: 70px;
    flex-shrink: 0;
    font-size: 13.5px;
    font-weight: 700;
    color: #3D4657;
}

.product-attr-values {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 13.5px;
    color: var(--kg-text);
}

.product-attr-value {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.attr-dot {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 2px solid var(--kg-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.attr-dot::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--kg-accent);
}

.product-inquiry-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.qty-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.qty-row input[type="number"] {
    width: 76px;
    padding: 11px 12px;
    border: 1px solid #D8DDE5;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--kg-navy);
    font-family: inherit;
}

.qty-row .qty-unit {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--kg-text);
}

.btn-inquiry {
    align-self: flex-start;
    background: var(--kg-navy);
    color: #fff;
    border: 0;
    border-radius: 6px;
    padding: 14px 30px;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.btn-inquiry:hover {
    background: var(--kg-accent);
    color: #fff;
}


.quote-note {
    margin: 0 0 28px;
    font-size: 15px;
    color: var(--kg-muted);
}

.quote-summary {
    margin: 0 0 28px;
    padding: 18px 22px;
    border-left: 4px solid var(--kg-accent);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 20px -16px rgba(27, 36, 48, 0.25);
    max-width: 720px;
}

.quote-summary-title {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 700;
    color: var(--kg-navy);
}

.quote-summary-list {
    margin: 0;
}

.quote-summary-list dt {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--kg-muted);
}

.quote-summary-list dd {
    margin: 0 0 10px;
    font-size: 15px;
    color: var(--kg-text);
    overflow-wrap: anywhere;
}

.quote-summary-edit {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--kg-accent);
}

.quote-fieldset-title {
    margin: 0 0 18px;
    font-size: 17px;
    font-weight: 700;
    color: var(--kg-navy);
}

.quote-alert {
    margin: 0 0 28px;
    padding: 16px 20px;
    border-left: 4px solid var(--kg-accent);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 20px -16px rgba(27, 36, 48, 0.25);
    font-size: 14.5px;
    font-weight: 600;
    color: var(--kg-navy);
}

.quote-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 28px;
}

.quote-table th {
    padding: 12px 16px;
    border-bottom: 2px solid var(--kg-border);
    text-align: left;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--kg-muted);
}

.quote-table td {
    padding: 16px;
    border-bottom: 1px solid var(--kg-border);
    font-size: 14.5px;
    color: var(--kg-text);
    vertical-align: middle;
}

.quote-table .quote-cell-name {
    font-weight: 700;
    color: var(--kg-navy);
    overflow-wrap: anywhere;
}

.quote-table .quote-cell-actions {
    width: 1%;
    text-align: right;
    white-space: nowrap;
}

.btn-quote-remove {
    background: none;
    border: 1px solid var(--kg-border);
    border-radius: 6px;
    padding: 9px 16px;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: var(--kg-muted);
    cursor: pointer;
}

.btn-quote-remove:hover {
    border-color: var(--kg-accent);
    color: var(--kg-accent);
}

.quote-form {
    max-width: 720px;
}

.quote-form-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.quote-field {
    grid-column: span 12;
}

.quote-field.is-half {
    grid-column: span 6;
}

.quote-field.is-third {
    grid-column: span 4;
}

.quote-field.is-twothirds {
    grid-column: span 8;
}

.quote-label {
    display: block;
    margin-bottom: 8px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: var(--kg-navy);
}

.quote-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #D8DDE5;
    border-radius: 6px;
    background: #fff;
    font-family: inherit;
    font-size: 16px;
    color: var(--kg-navy);
}

.quote-input:focus {
    outline: 0;
    border-color: var(--kg-accent);
}

.quote-input.is-invalid {
    border-color: #C0392B;
}

textarea.quote-input {
    resize: vertical;
}

.quote-error {
    margin-top: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: #C0392B;
}

.quote-actions {
    margin-top: 28px;
}

.quote-hp-wrap {
    position: absolute;
    left: -9999px;
    top: -9999px;
}

.content-body {
    font-size: 15px;
    line-height: 1.75;
    color: var(--kg-text);
    max-width: 960px;
}

.content-body,
.category-intro,
.product-detail-desc {
    overflow-wrap: anywhere;
}

.content-body img,
.category-intro img,
.product-detail-desc img {
    width: auto;
    max-width: 100%;
    height: auto;
}

.content-body table,
.category-intro table,
.product-detail-desc table {
    display: block;
    width: fit-content;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ==========================================================================
   KAPCSOLAT OLDAL
   A markup a contents_{hu,en,de,ro}.content mezőben él (l. a
   2026_08_28_130000_seed_contact_page_content.php migrációt), nem blade-ben.
   ========================================================================== */

.contact-lead {
    margin: 0 0 36px;
}

.contact-people {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin: 0 0 40px;
    padding: 0;
    list-style: none;
}

.contact-people li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 180px;
    text-align: center;
}

.contact-people img {
    width: 150px;
    align-self: center;
    margin-bottom: 10px;
    border: 1px solid var(--kg-accent);
    border-radius: 4px;
}

.contact-people strong {
    color: var(--kg-navy);
}

.contact-people span {
    color: var(--kg-muted);
    font-size: 14px;
}

.contact-people a {
    overflow-wrap: anywhere;
}

.contact-company {
    margin: 0 0 28px;
    padding: 18px 22px;
    border-left: 4px solid var(--kg-accent);
    border-radius: 8px;
    background: #F7F8FA;
}

.contact-company p {
    margin: 0 0 8px;
}

.contact-company p:last-child {
    margin-bottom: 0;
}

.contact-notice {
    color: var(--kg-navy);
}

.contact-cta {
    margin: 32px 0 0;
}

.contact-cta a {
    display: inline-block;
    background: var(--kg-navy);
    color: #fff;
    border-radius: 6px;
    padding: 14px 30px;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    text-decoration: none;
}

.contact-cta a:hover {
    background: var(--kg-accent);
    color: #fff;
}

@media (max-width: 575.98px) {
    .contact-people {
        gap: 24px;
    }

    .contact-people li {
        width: 100%;
    }
}

/* ==========================================================================
   LÁBLÉC
   ========================================================================== */

.front-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 30px max(var(--kg-gutter), var(--kg-fab-space)) 30px var(--kg-gutter);
    background: var(--kg-navy);
}

.front-footer .copyright {
    margin: 0;
    color: #6B7688;
    font-size: 11.5px;
}

.front-footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.front-footer-nav a {
    color: var(--kg-muted);
    font-size: 12.5px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
}

.front-footer-nav a:hover {
    color: var(--kg-accent);
}

/* ==========================================================================
   LEBEGŐ KERESŐ
   ========================================================================== */

.search-widget {
    position: fixed;
    right: 32px;
    bottom: 32px;
    z-index: 50;
}

.search-fab {
    position: relative;
    width: 56px;
    height: 56px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--kg-accent);
    box-shadow: 0 12px 28px -8px rgba(232, 134, 45, 0.55), 0 0 0 0 rgba(232, 134, 45, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    touch-action: none;
    animation: search-fab-breathe 2.6s ease-in-out infinite;
}

.search-fab::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--kg-accent);
    animation: search-fab-ping 2.6s cubic-bezier(0, 0, 0.2, 1) infinite;
    pointer-events: none;
}

.search-fab:hover {
    background: var(--kg-accent-dark);
}

@keyframes search-fab-breathe {
    0%, 100% {
        box-shadow: 0 12px 28px -8px rgba(232, 134, 45, 0.55), 0 0 0 0 rgba(232, 134, 45, 0.45);
    }
    50% {
        box-shadow: 0 12px 28px -8px rgba(232, 134, 45, 0.55), 0 0 22px 6px rgba(232, 134, 45, 0.55);
    }
}

@keyframes search-fab-ping {
    0% {
        transform: scale(1);
        opacity: 0.55;
    }
    100% {
        transform: scale(1.7);
        opacity: 0;
    }
}

.search-widget.is-open .search-fab {
    display: none;
}

.search-widget.is-dragging {
    transition: none;
}

.search-panel {
    width: min(320px, calc(100vw - 36px));
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 48px -12px rgba(27, 36, 48, 0.35);
    animation: search-panel-in 0.16s ease-out;
}

.search-panel[hidden] {
    display: none;
}

@keyframes search-panel-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .search-panel {
        animation: none;
    }

    .search-fab {
        animation: none;
        box-shadow: 0 12px 28px -8px rgba(232, 134, 45, 0.55), 0 0 20px 4px rgba(232, 134, 45, 0.5);
    }

    .search-fab::before {
        display: none;
    }
}

.search-panel-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: var(--kg-navy);
    /* TEMP: cursor: grab; - fog-és-vidd ideiglenesen kikapcsolva, l. front-search.js */
    touch-action: none;
    user-select: none;
}

/* TEMP: fog-és-vidd ideiglenesen kikapcsolva, l. front-search.js
.search-panel-head:active {
    cursor: grabbing;
}
*/

.search-panel-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--kg-accent);
}

.search-panel-title {
    flex: 1;
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.search-panel-close {
    padding: 0;
    border: 0;
    background: none;
    color: rgba(255, 255, 255, 0.55);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.search-panel-close:hover {
    color: #fff;
}

.search-panel-body {
    padding: 16px 20px 20px;
}

.search-panel-label {
    display: block;
    margin-bottom: 10px;
    color: var(--kg-muted);
    font-size: 12.5px;
}

.search-panel-input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--kg-accent);
    border-radius: 8px;
    outline: 0;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: var(--kg-navy);
}

.search-panel-results {
    height: calc(3 * var(--kg-search-row-h));
    max-height: calc(100vh - 210px);
    overflow-y: auto;
    border-top: 1px solid var(--kg-border);
}

.search-panel-results[hidden] {
    display: none;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 10px;
    height: var(--kg-search-row-h);
    padding: 12px 20px;
    border-bottom: 1px solid var(--kg-border);
    text-decoration: none;
}

.search-result-thumb {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    object-fit: contain;
    background: #FFF;
}

.search-result-text {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
}

.search-result-item:last-child {
    border-bottom: 0;
}

.search-result-item:hover,
.search-result-item:focus {
    background: #F7F8FA;
}

.search-result-title,
.search-result-maincat,
.search-result-category {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-title {
    color: var(--kg-navy);
    font-size: 14px;
    font-weight: 600;
}

.search-result-maincat {
    margin-top: 1px;
    color: var(--kg-accent);
    font-size: 12px;
    font-weight: 600;
}

.search-result-category {
    margin-top: 2px;
    color: var(--kg-muted);
    font-size: 12px;
}

.search-panel-status {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 18px 20px;
    color: var(--kg-muted);
    font-size: 13px;
    text-align: center;
}

.search-panel-footer {
    display: block;
    padding: 12px 20px;
    text-align: center;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    color: var(--kg-accent);
    text-decoration: none;
    border-top: 1px solid var(--kg-border);
}

.search-panel-footer:hover {
    color: var(--kg-accent-dark);
}

/* Az első keresés után a sáv megtartja a helyét, csak a láthatósága vált - így
   a betöltés-státusz és a beérkező találatok közti váltás nem ugráltatja a
   panel magasságát gépelés közben (l. front-search.js reserveFooter()).
   A `hidden` attribútum erre nem használható: a bootstrap.min.css
   `[hidden]{display:none!important}` szabálya kivenné a folyamból.
   A visibility:hidden a fókuszból és a felolvasóból is kiveszi. */
.search-panel-footer.is-invisible {
    visibility: hidden;
}

/* ==========================================================================
   KERESÉSI TALÁLATOK OLDAL
   ========================================================================== */

.search-page-form {
    max-width: 520px;
    margin-bottom: 32px;
}

.search-page-form-row {
    display: flex;
    gap: 12px;
}

.search-page-input {
    flex: 1;
    min-width: 0;
}

.search-page-meta {
    margin: 0 0 20px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--kg-muted);
}

.search-page-empty {
    padding: 32px 0;
    color: var(--kg-muted);
    font-size: 14px;
}

.search-page-more {
    display: flex;
    justify-content: center;
    margin: 8px 0 40px;
}

.search-page-more [aria-disabled="true"] {
    opacity: 0.6;
    pointer-events: none;
}

/* ==========================================================================
   RESPONSZÍV
   ========================================================================== */

@media (max-width: 1199.98px) {
    :root {
        --kg-gutter: 32px;
    }

    .front-navbar {
        padding: 18px 32px;
    }

    .front-navbar-right {
        gap: 24px;
    }

    .front-nav {
        gap: 20px;
    }

    .front-nav a {
        font-size: 13px;
    }
}

@media (max-width: 991.98px) {
    :root {
        --kg-gutter: 20px;
    }

    .front-navbar {
        padding: 14px 20px;
        flex-wrap: wrap;
    }

    .front-navbar .navbar-brand img {
        height: 42px;
    }

    .front-navbar .menu-toggle {
        display: inline-flex;
        align-items: center;
    }

    .front-navbar-right {
        gap: 16px;
    }

    .front-nav {
        display: none;
    }

    .front-page {
        padding: 28px var(--kg-gutter) 40px;
    }

    .front-breadcrumb {
        padding: 14px var(--kg-gutter);
    }

    .hero-carousel .carousel-item {
        height: 340px;
    }

    .hero-carousel .hero-caption {
        padding: 36px var(--kg-gutter);
    }

    .hero-carousel .hero-title {
        font-size: 26px;
        margin-bottom: 14px;
    }

    .hero-carousel .hero-intro {
        font-size: 14px;
        margin-bottom: 22px;
    }

    /* Keskeny kijelzőn a 100px magas (~378px széles) logó kilógna. */
    .hero-grant img {
        height: auto;
        max-height: 100px;
        max-width: 70vw;
    }

    .hero-nav {
        right: 20px;
        bottom: 16px;
    }

    .home-intro {
        flex-direction: column;
        gap: 28px;
        padding: 36px var(--kg-gutter) 24px;
    }

    .section-title h1,
    .section-title h2 {
        font-size: 21px;
    }

    .product-detail-panel {
        flex-direction: column;
        align-items: stretch;
        gap: 28px;
        padding: 24px;
    }

    .product-detail-media {
        width: 100%;
        max-width: 280px;
    }

       .search-panel-input,
    .qty-row input[type="number"] {
        font-size: 16px;
    }

     .front-navbar .menu-toggle,
    .category-offcanvas .btn-close {
        min-width: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

 
    .lang-switch .lang-toggle {
        min-width: 44px;
        min-height: 44px;
        justify-content: flex-end;
    }

    .lang-switch .dropdown-item {
        padding: 12px 14px;
    }

    .front-footer-nav a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }

    .product-pagination .page-link {
        min-width: 44px;
        min-height: 44px;
    }

    .btn-quote-remove {
        min-height: 44px;
    }
}

@media (max-width: 767.98px) {
    .feature-card-row {
        flex-direction: column;
        border-left: none;
        border-top: 4px solid var(--kg-accent);
    }

    .feature-card-img {
        width: 100%;
        height: 160px;
    }

    .feature-card-body {
        padding: 20px 24px 0;
    }

    .feature-card-cta {
        padding: 16px 24px 24px;
    }

    .home-partners {
        justify-content: center;
        gap: 24px;
        padding: 32px var(--kg-gutter);
    }

    .search-page-form-row {
        flex-direction: column;
    }

  
    .quote-table,
    .quote-table tbody,
    .quote-table tr,
    .quote-table td {
        display: block;
        width: auto;
    }

    .quote-table thead {
        display: none;
    }

    .quote-table tr {
        margin-bottom: 16px;
        padding: 6px 18px 14px;
        border: 1px solid var(--kg-border);
        border-radius: 10px;
        background: #fff;
    }

    .quote-table td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 10px 0;
        border-bottom: 1px solid var(--kg-border);
    }

    .quote-table td[data-label]::before {
        content: attr(data-label);
        flex-shrink: 0;
        font-size: 11.5px;
        font-weight: 700;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        color: var(--kg-muted);
    }

    .quote-table td:last-child {
        border-bottom: 0;
        padding-bottom: 4px;
    }

    .quote-table .quote-cell-actions {
        width: auto;
        justify-content: flex-end;
    }

    .quote-field.is-half,
    .quote-field.is-third,
    .quote-field.is-twothirds {
        grid-column: span 12;
    }

    .front-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .front-footer-nav {
        gap: 16px;
    }

    :root {
        --kg-fab-space: 78px;
    }

    .search-widget {
        right: 18px;
        bottom: 18px;
    }

    .search-fab {
        width: 48px;
        height: 48px;
    }
}
