/* Tenant chrome and ESET components. Loaded once by the Systemowcy base. */
body.tenant-systemowcy-b2b { --theme-primary: #B52E17; --theme-hover: #942510; --theme-light: #faf1ef; --theme-shadow: 181,46,23; padding-top: 0 !important; background: #fff; }
.tenant-systemowcy-b2b #topbar { position: relative !important; top: auto !important; background: #fff; }
.tenant-systemowcy-b2b #topbar .topbar-account-btn { display: none; }
.tenant-systemowcy-b2b .navbar.sys-storefront-nav { position: relative !important; inset: auto !important; height: auto !important; line-height: normal !important; transform: none !important; margin: 0 !important; min-height: 0 !important; background: #fff !important; border: 0; border-bottom: 1px solid #e5e5e5; box-shadow: none; }
.sys-storefront-nav > .container { display: grid; grid-template-columns: auto minmax(200px, 1fr) auto; gap: 12px 32px; align-items: center; padding-top: 18px; height: auto !important; line-height: normal; }
.sys-storefront-nav > .container::before, .sys-storefront-nav > .container::after { display: none; }
.sys-storefront-nav .navbar-header { display: contents; }
.tenant-systemowcy-b2b .sys-storefront-nav .navbar-brand { grid-column: 1; grid-row: 1; display: flex !important; align-items: center; float: none; width: auto !important; max-width: none !important; height: 44px !important; line-height: 1 !important; font-size: 28px !important; letter-spacing: -.6px; overflow: visible !important; margin: 0 !important; padding: 0 !important; white-space: nowrap; }
.tenant-systemowcy-b2b .sys-storefront-nav .navbar-brand > span { display: inline !important; font-size: inherit !important; line-height: inherit !important; }
.tenant-systemowcy-b2b .sys-storefront-nav .navbar-brand > .brand-owca { flex: 0 0 auto; width: 42px !important; height: 40px !important; margin: 0 10px 0 0 !important; }
.sys-header-actions { grid-column: 3; grid-row: 1; display: flex; align-items: center; gap: 20px; line-height: normal; }
.sys-header-account { display: inline-flex; align-items: center; height: 44px; box-sizing: border-box; line-height: 1.25; border: 1px solid #ddd; border-radius: 22px; padding: 8px 16px; color: #292929; white-space: nowrap; }
.sys-header-account .fa { color: #B52E17; margin-right: 6px; }
.sys-header-cart { height: 44px; width: 44px; line-height: 1; flex-shrink: 0; justify-content: center; }
.sys-header-cart.active { color: #B52E17; background: #faf1ef; border-radius: 7px; }
.sys-header-cart .is-empty { display: none; }
.sys-header-search { grid-column: 2; grid-row: 1; display: flex; align-items: stretch; height: 44px; box-sizing: border-box; line-height: normal; border: 1px solid #d5d5d5; border-radius: 7px; background: #fff; margin: 0; }
.sys-header-search input { min-width: 0; width: 100%; height: 42px; box-sizing: border-box; line-height: 22px; border: 0; background: transparent; padding: 10px 14px; font-family: inherit; font-size: 16px; color: #292929; }
.sys-header-search button { width: 44px; height: 42px; flex-shrink: 0; line-height: 1; border: 0; border-radius: 0 7px 7px 0; background: transparent; color: #595959; }
.sys-header-search:focus-within { outline: 2px solid #B52E17; outline-offset: 2px; }
.sys-storefront-nav #systemowcy-mobile-menu { grid-column: 1 / -1; grid-row: 2; width: 100%; padding: 0; }
.sys-storefront-nav .navbar-nav { float: none !important; display: flex; justify-content: center; margin: 0 !important; height: auto !important; line-height: normal !important; }
.tenant-systemowcy-b2b .sys-storefront-nav .navbar-nav > li { height: auto !important; line-height: normal !important; }
.tenant-systemowcy-b2b .sys-storefront-nav .navbar-nav > li > a { display: flex; align-items: center; height: auto !important; min-height: 52px; box-sizing: border-box; padding: 14px 22px !important; line-height: 1.3 !important; border-bottom: 3px solid transparent; font-size: 16px; color: #292929; }
.sys-storefront-nav .navbar-nav > li.active > a { color: #B52E17 !important; border-bottom-color: #B52E17 !important; background: #fff !important; }
.tenant-systemowcy-b2b .sys-storefront-nav .navbar-nav > li::before, .tenant-systemowcy-b2b .sys-storefront-nav .navbar-nav > li::after, .tenant-systemowcy-b2b .sys-storefront-nav .navbar-nav > li > a::before, .tenant-systemowcy-b2b .sys-storefront-nav .navbar-nav > li > a::after { display: none !important; content: none !important; }
.sys-storefront-nav .sys-mobile-account { display: none; }
#license-catalogue { color: #262626; font-size: 16px; line-height: 1.5; padding-top: 24px; padding-bottom: 48px; }
#license-catalogue [hidden] { display: none !important; }
#license-catalogue h1 { font-size: 38px; line-height: 1.16; margin: 14px 0; font-weight: 600; max-width: 480px; }
#license-catalogue h2 { font-size: 26px; line-height: 1.25; margin: 0; font-weight: 600; }
#license-catalogue p { margin: 0; }
.license-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 260px; background: #fff; }
.license-hero-copy { padding: 24px 24px 24px 0; }
.license-hero-copy > p:last-child { max-width: 480px; }
.license-eyebrow { color: #147078; font-size: 14px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.license-hero > img { width: 100%; height: 260px; object-fit: cover; object-position: 70% center; }
.license-audiences { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 16px; border-bottom: 1px solid #ddd; }
.license-audiences a { color: #292929; padding: 12px 20px; border-bottom: 3px solid transparent; text-decoration: none; }
.license-audiences a:hover, .license-audiences a:focus { color: #B52E17; border-color: #B52E17; background: #faf5f3; }
.license-audiences .license-renewal-link { margin-left: auto; color: #B52E17; }
.license-collection-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 28px 0 16px; }
#license-catalogue .license-compare-hint { color: #595959; margin-bottom: 20px; }
.license-outline { border: 1px solid #B52E17; border-radius: 7px; padding: 10px 16px; background: #fff; color: #B52E17; font: inherit; cursor: pointer; }
.license-outline:disabled { border-color: #aaa; color: #666; cursor: not-allowed; }
.license-collection { margin: 24px 0; scroll-margin-top: 20px; }
.license-collection > .license-collection-heading { margin: 0 0 16px; }
.license-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; align-items: stretch; }
.license-card { min-width: 0; min-height: 320px; display: grid; grid-column: auto; grid-row: span 5; grid-template-columns: 110px minmax(0, 1fr); grid-template-rows: subgrid; gap: 12px 20px; padding: 20px; border: 1px solid #dedede; border-radius: 14px; background: #fff; }
.license-card-copy, .license-card-footer, .license-card .license-price { display: contents; }
.license-image-link { grid-column: 1; grid-row: 1 / 5; align-self: center; display: flex; justify-content: center; min-width: 0; }
.license-image { width: 100px; height: 155px; object-fit: contain; }
.license-image-missing { font-size: 14px; color: #666; }
.license-card h3 { grid-column: 2; grid-row: 1; min-width: 0; min-height: 2.6em; font-size: 18px; line-height: 1.3; font-weight: 600; margin: 0; overflow-wrap: anywhere; }
.license-card h3 a { color: #222; }
#license-catalogue .license-description { grid-column: 2; grid-row: 2; min-width: 0; min-height: 4.35em; font-size: 16px; line-height: 1.45; color: #444; margin: 0; overflow-wrap: anywhere; }
.license-price { font-size: 21px; font-weight: 700; line-height: 1.3; font-variant-numeric: tabular-nums; }
.license-card [data-compare-price] { grid-column: 2; grid-row: 3; display: block; min-width: 0; align-self: end; font-size: 21px; line-height: 1.3; font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.license-price small { font-size: 13px; font-weight: 400; }
.license-scope { display: block; color: #555; font-size: 14px !important; font-weight: 400; margin-top: 5px; }
.license-card .license-scope { grid-column: 2; grid-row: 4; align-self: start; min-width: 0; margin: 0; overflow-wrap: anywhere; }
.license-card-actions { grid-column: 1 / -1; grid-row: 5; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; align-self: end; min-width: 0; }
.license-cta { flex: 1; padding: 10px 14px; border-radius: 6px; background: #B52E17; color: #fff; text-align: center; text-decoration: none; white-space: nowrap; }
.license-cta:hover, .license-cta:focus { background: #942510; color: #fff; }
.license-compare-choice { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 400; margin: 0; cursor: pointer; min-height: 44px; }
.license-compare-choice input { width: 18px; height: 18px; margin: 0; accent-color: #B52E17; }
#license-catalogue .license-delivery { text-align: center; color: #595959; margin: 24px 0; font-size: 14px; }
.license-support { border-top: 1px solid #ddd; padding: 24px 0; scroll-margin-top: 20px; }
#license-catalogue .license-support p { margin: 12px 0; max-width: 82ch; }
.license-support a { color: #B52E17; text-decoration: underline; }
.license-table-scroll { width: 100%; overflow-x: auto; overscroll-behavior-x: contain; border: 1px solid #ddd; border-radius: 10px; }
.license-comparison { min-width: 0; }
.license-comparison table { width: 100%; border-collapse: collapse; }
.license-comparison th, .license-comparison td { min-width: 210px; max-width: 320px; padding: 16px; border: 1px solid #e5e5e5; vertical-align: top; font-size: 16px; }
.license-comparison th:first-child { min-width: 110px; }
.license-comparison thead th { background: #faf7f6; }
.license-comparison button { display: block; margin-top: 12px; font-size: 14px; }
.tenant-systemowcy-b2b :is(.sys-storefront-nav, #license-catalogue) :focus-visible { outline: 2px solid #B52E17; outline-offset: 3px; }
#license-purchase .lp-recipient-details { border: 1px solid #ddd; border-radius: 8px; padding: 12px; margin-top: 18px; }
#license-purchase .lp-recipient-details summary { cursor: pointer; font-size: 16px; }
#license-purchase .lp-recipient-details summary span { display: block; color: #595959; font-size: 14px; margin-top: 4px; }
#license-purchase .lp-sticky { display: none; }
.tenant-systemowcy-b2b .sys-search-page .cp-search-head { padding: 24px 0; margin: 0; background: #fff; border: 0; }
.tenant-systemowcy-b2b .sys-search-page .cp-search-head h1 { font-size: 28px; line-height: 1.2; margin: 0 0 8px; }
.tenant-systemowcy-b2b .sys-search-page .cp-search-head p { font-size: 16px; line-height: 1.5; margin: 0; }
.sys-search-page .cp-product-card-license .cp-product-copy > p { font-size: 16px; line-height: 1.5; }
.sys-search-page .cp-product-card-license .cp-product-image img { max-height: 160px; object-fit: contain; }
@media (min-width: 768px) { .sys-storefront-nav .sys-mobile-menu-head, .sys-storefront-nav .sys-mobile-menu-intro, .sys-storefront-nav .sys-mobile-menu-utilities, .sys-storefront-nav .sys-mobile-menu-support { display: none !important; } }
@media (max-width: 991px) { .license-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) {
    .tenant-systemowcy-b2b #topbar { display: none !important; }
    .sys-storefront-nav > .container { display: flex; flex-direction: column; gap: 12px; padding: 14px 16px; }
    .sys-storefront-nav .navbar-header { width: 100%; display: flex; align-items: center; gap: 8px; margin: 0; }
    .tenant-systemowcy-b2b .sys-storefront-nav .navbar-brand { order: 0; flex: 0 0 auto; margin-right: auto !important; font-size: 21px !important; letter-spacing: -.7px; }
    .tenant-systemowcy-b2b .sys-storefront-nav .navbar-brand > .brand-owca { width: 30px !important; height: 30px !important; margin-right: 6px !important; }
    .sys-header-actions { order: 1; gap: 0; }
    .sys-header-account { display: none; }
    .sys-storefront-nav .navbar-toggle { display: block; order: 2; float: none; margin: 0; min-width: 44px; min-height: 44px; background: #fff !important; border: 0; }
    .sys-header-search { width: 100%; min-height: 44px; }
    body.tenant-systemowcy-b2b #systemowcy-storefront-navigation #systemowcy-mobile-menu.navbar-collapse { position: static !important; inset: auto !important; z-index: auto !important; transform: none !important; height: auto !important; min-height: 0 !important; max-height: none !important; width: 100% !important; max-width: 100% !important; box-sizing: border-box; margin: 0 !important; padding: 0 !important; background: #fff !important; box-shadow: none !important; overflow: visible !important; opacity: 1 !important; visibility: visible !important; border: 0; transition: none !important; animation: none !important; }
    body.tenant-systemowcy-b2b #systemowcy-storefront-navigation #systemowcy-mobile-menu.navbar-collapse.collapse:not(.in) { display: none !important; }
    body.tenant-systemowcy-b2b #systemowcy-storefront-navigation #systemowcy-mobile-menu.navbar-collapse.in { display: block !important; }
    .sys-storefront-nav .navbar-nav { display: flex; flex-direction: column; width: 100%; }
    .sys-storefront-nav .navbar-nav > li { width: 100%; }
    .sys-storefront-nav .navbar-nav > li > a { padding: 12px !important; min-height: 44px; font-size: 16px; }
    .sys-storefront-nav .sys-mobile-account { display: block; }
    .sys-storefront-nav .sys-mobile-menu-head, .sys-storefront-nav .sys-mobile-menu-intro, .sys-storefront-nav .sys-mobile-menu-support, .sys-storefront-nav .sys-mobile-socials { display: none !important; }
    .sys-storefront-nav .sys-mobile-menu-utilities { display: block; padding: 12px; }
    .sys-storefront-nav .sys-mobile-language { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
    .sys-storefront-nav .sys-mobile-language a { display: inline-block; padding: 10px; }
    html.systemowcy-menu-open, html.systemowcy-menu-open body { overflow: auto !important; position: static !important; }
    #license-catalogue { padding-top: 20px; }
    .license-hero { grid-template-columns: 1fr; min-height: 0; }
    .license-hero-copy { padding: 0 0 16px; }
    #license-catalogue h1 { font-size: 29px; max-width: 340px; }
    .license-hero > img { height: 130px; object-position: 70% 48%; }
    .license-audiences { gap: 0; padding-top: 8px; }
    .license-audiences a { padding: 10px 9px; font-size: 14px; }
    .license-audiences .license-renewal-link { margin-left: 0; width: 100%; }
    #license-catalogue h2 { font-size: 24px; }
    .license-collection-heading { align-items: stretch; flex-direction: column; margin-top: 24px; }
    .license-collection { margin-top: 24px; }
    .sys-search-page .cp-product-card-license .cp-product-buy > .cp-license-delivery { display: block !important; font-size: 14px; line-height: 1.5; color: #555; }
}
@media (max-width: 700px) {
    body.has-license-action { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
    #license-purchase .lp-sticky:not([hidden]) { display: flex; position: fixed; inset: auto 0 0; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #ddd; box-shadow: 0 -4px 18px #00000008; z-index: 1000; }
    #license-purchase .lp-sticky .lp-primary { width: auto; margin: 0; font-size: 15px; }
    #license-purchase .lp-sticky p { font-size: 18px; white-space: nowrap; }
    #license-purchase .lp-sticky small { font-size: 12px; }
    .has-license-action #systemowiec-chat .sw-chat__launcher, .has-license-action #scroll-top { bottom: calc(96px + env(safe-area-inset-bottom)) !important; }
    .has-license-action #systemowiec-chat .sw-chat__panel { bottom: calc(96px + env(safe-area-inset-bottom)) !important; max-height: calc(100dvh - 116px - env(safe-area-inset-bottom)); }
    .systemowcy-menu-open #license-purchase .lp-sticky, .license-overlay-covered #license-purchase .lp-sticky { display: none !important; }
}
@media (max-width: 599px) {
    .license-grid { grid-template-columns: minmax(0, 1fr); }
    .license-card { grid-template-columns: 88px minmax(0, 1fr); column-gap: 12px; min-height: 340px; padding: 18px 16px; }
    .license-image { width: 88px; max-width: 100%; height: 140px; }
    .license-card-actions { flex-direction: column; align-items: stretch; gap: 4px; }
    .license-compare-choice { justify-content: center; }
}
@media (min-width: 768px) and (max-width: 991px) {
    .sys-storefront-nav > .container { grid-template-columns: auto minmax(0, 1fr) auto; }
    .sys-header-search { grid-column: 1 / -1; grid-row: 2; }
    .sys-storefront-nav #systemowcy-mobile-menu { grid-row: 3; }
}
@media (max-width: 359px) {
    .tenant-systemowcy-b2b .sys-storefront-nav .navbar-brand { font-size: 17px !important; letter-spacing: -.5px; }
    .tenant-systemowcy-b2b .sys-storefront-nav .navbar-brand > .brand-owca { width: 25px !important; height: 25px !important; margin-right: 4px !important; }
    .sys-storefront-nav .navbar-header { gap: 4px; }
}
