{"id":15074,"date":"2025-12-03T09:21:12","date_gmt":"2025-12-03T08:21:12","guid":{"rendered":"https:\/\/bee-light.pl\/oferta-beelight\/"},"modified":"2026-02-05T12:34:46","modified_gmt":"2026-02-05T11:34:46","slug":"offer-beelight","status":"publish","type":"page","link":"https:\/\/bee-light.pl\/en\/offer-beelight\/","title":{"rendered":"Offer Bee Light"},"content":{"rendered":"\n<style>\n  html, body { height: 100%; }\n  body { margin: 0; overflow: hidden; }\n\n  :root{\n    --wp-top-offset: 0px;   \/* AUTO z JS *\/\n    --top-manual: 200px;     \/* r\u0119czna poprawka (zwykle 10\u201340) *\/\n    --footer-h: 56px;       \/* wysoko\u015b\u0107 paska dolnego *\/\n  }\n\n  \/* iframe zajmuje ekran pomi\u0119dzy headerem a stopk\u0105 *\/\n  .arlity-frame-wrap{\n    position: fixed;\n    left: 0;\n    right: 0;\n    top: calc(var(--wp-top-offset) + var(--top-manual));\n    bottom: calc(var(--footer-h) + env(safe-area-inset-bottom));\n    min-height: 0;\n    z-index: 1;\n    background: #fff;\n  }\n\n  .arlity-frame{\n    width: 100%;\n    height: 100%;\n    border: 0;\n    display: block;\n  }\n\n  \/* minimalistyczna stopka *\/\n  .arlity-footerbar{\n    position: fixed;\n    left: 0;\n    right: 0;\n    bottom: 0;\n\n    height: calc(var(--footer-h) + env(safe-area-inset-bottom));\n    box-sizing: border-box;\n    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));\n\n    border-top: 1px solid rgba(0,0,0,.12);\n    background: #fff;\n\n    display:flex;\n    align-items:center;\n    justify-content: space-between;\n    gap: 12px;\n\n    font-size: 13px;\n    z-index: 9999;\n  }\n\n  .arlity-footerbar .brand{\n    font-weight: 700;\n    white-space: nowrap;\n  }\n\n  .arlity-footerbar .links{\n    display:flex;\n    gap: 14px;\n    flex-wrap: wrap;\n    justify-content: flex-end;\n  }\n\n  .arlity-footerbar a{\n    text-decoration:none;\n    font-weight: 700;\n    color: #111;\n  }\n\n  .arlity-footerbar a:active{ opacity: .7; }\n\n  \/* Na bardzo ma\u0142ych ekranach zmniejsz odst\u0119py *\/\n  @media (max-width: 420px){\n    :root{ --footer-h: 60px; }\n    .arlity-footerbar{ font-size: 12px; }\n    .arlity-footerbar .links{ gap: 10px; }\n  }\n\n  \/* \u2705 ukryj stopk\u0119 motywu na tej podstronie (zw\u0142aszcza mobile) *\/\n  @media (max-width: 768px){\n    .page-id-14955 footer,\n    .page-id-14955 .edgtf-page-footer,\n    .page-id-14955 .edgtf-footer-top-holder,\n    .page-id-14955 .edgtf-footer-bottom-holder{\n      display:none !important;\n    }\n  }\n\n  \/* (opcjonalnie) debug badge *\/\n  .arlity-debug{\n    position: fixed;\n    top: 6px;\n    right: 6px;\n    z-index: 999999;\n    background: rgba(0,0,0,.75);\n    color: #fff;\n    padding: 6px 8px;\n    font: 12px\/1.2 system-ui, -apple-system, Segoe UI, Roboto, Arial;\n    border-radius: 6px;\n    pointer-events: none;\n  }\n<\/style>\n\n<div class=\"arlity-frame-wrap\">\n  <iframe\n    class=\"arlity-frame\"\n    src=\"https:\/\/beelight.cloud.arlity.com\/architect_zone\/product\"\n    loading=\"lazy\"\n    allow=\"clipboard-read; clipboard-write\"\n    referrerpolicy=\"no-referrer-when-downgrade\"\n  ><\/iframe>\n<\/div>\n\n<div class=\"arlity-footerbar\" role=\"navigation\" aria-label=\"Skr\u00f3ty\">\n  <div class=\"brand\">Bee-Light<\/div>\n\n  <div class=\"links\">\n    <a href=\"\/\">Home<\/a>\n    <a href=\"\/offer-beelight\/\">Offer<\/a>\n    <a href=\"\/contact\/\">Contact<\/a>\n  <\/div>\n<\/div>\n\n<div class=\"arlity-debug\" id=\"arlityDebug\" style=\"display:none\"><\/div>\n\n<script>\n(function () {\n  const headerSelectors = [\n    '#wpadminbar',\n    '.edgtf-top-bar',\n    '.edgtf-page-header',\n    '.edgtf-menu-area',\n    '.edgtf-sticky-header',\n    '.edgtf-mobile-header',\n    '.edgtf-mobile-header-holder',\n\n    \/* KLUCZOWE: pasek tytu\u0142u\/breadcrumbs w Maison *\/\n    '.edgtf-title',\n    '.edgtf-title-holder',\n    '.edgtf-title-subtitle-holder',\n\n    \/* fallbacki *\/\n    '.elementor-location-header',\n    'header',\n    '#masthead',\n    '.site-header',\n    '[role=\"banner\"]',\n    '.navbar',\n    '.header',\n    '.top-bar'\n  ];\n\n  function isVisible(el){\n    if (!el) return false;\n    const cs = getComputedStyle(el);\n    if (cs.display === 'none' || cs.visibility === 'hidden') return false;\n    const r = el.getBoundingClientRect();\n    return r.width > 20 && r.height > 10;\n  }\n\n  function calcTopOffset() {\n    let maxBottom = 0;\n\n    \/\/ 1) selektory nag\u0142\u00f3wk\u00f3w\n    const picked = new Set();\n    headerSelectors.forEach(sel => {\n      document.querySelectorAll(sel).forEach(el => picked.add(el));\n    });\n\n    picked.forEach(el => {\n      if (!isVisible(el)) return;\n      const r = el.getBoundingClientRect();\n\n      \/\/ bierzemy elementy realnie \"na g\u00f3rze\"\n      if (r.bottom > 0 && r.top < 220 &#038;&#038; r.height < 700) {\n        maxBottom = Math.max(maxBottom, r.bottom);\n      }\n    });\n\n    \/\/ 2) fallback: pierwsze dzieci body\n    if (maxBottom < 1) {\n      const topKids = Array.from(document.body.children).slice(0, 12);\n      for (const el of topKids) {\n        if (!isVisible(el)) continue;\n        const r = el.getBoundingClientRect();\n        if (r.bottom > 0 && r.top < 220 &#038;&#038; r.height < 700) {\n          maxBottom = Math.max(maxBottom, r.bottom);\n        }\n      }\n    }\n\n    document.documentElement.style.setProperty('--wp-top-offset', Math.ceil(maxBottom) + 'px');\n\n    const dbg = document.getElementById('arlityDebug');\n    if (dbg &#038;&#038; dbg.dataset.on === \"1\") {\n      dbg.textContent = 'top offset: ' + Math.ceil(maxBottom) + 'px';\n    }\n  }\n\n  function burst() {\n    [0, 50, 150, 300, 600, 1000, 1500].forEach(d => setTimeout(calcTopOffset, d));\n  }\n\n  window.addEventListener('load', burst);\n  window.addEventListener('resize', calcTopOffset);\n  window.addEventListener('orientationchange', burst);\n\n  burst();\n\n  \/\/ debug (opcjonalnie):\n  \/\/ const dbg = document.getElementById('arlityDebug');\n  \/\/ dbg.style.display='block'; dbg.dataset.on=\"1\";\n})();\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>Bee-Light Home Offer Contact<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"full-width.php","meta":{"_acf_changed":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"ngg_post_thumbnail":0,"footnotes":""},"acf":[],"_links":{"self":[{"href":"https:\/\/bee-light.pl\/en\/wp-json\/wp\/v2\/pages\/15074"}],"collection":[{"href":"https:\/\/bee-light.pl\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/bee-light.pl\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/bee-light.pl\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bee-light.pl\/en\/wp-json\/wp\/v2\/comments?post=15074"}],"version-history":[{"count":4,"href":"https:\/\/bee-light.pl\/en\/wp-json\/wp\/v2\/pages\/15074\/revisions"}],"predecessor-version":[{"id":15085,"href":"https:\/\/bee-light.pl\/en\/wp-json\/wp\/v2\/pages\/15074\/revisions\/15085"}],"wp:attachment":[{"href":"https:\/\/bee-light.pl\/en\/wp-json\/wp\/v2\/media?parent=15074"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}