/* RoomBloom – strona główna (koncepcja). Kolory i typografia z bohatera: limonka #B4D62A, grafit, papier. */
:root {
  --ink: #16181A; --ink2: #1E2124; --ink3: #22262A; --ink4: #2C3035; --ink5: #3A3F44;
  --lime: #B4D62A; --lime2: #C9E84A; --orange: #FF7A1A; --orange2: #FF9A4D;
  --paper: #F3F4EE; --line: #E1E3D9; --olive: #5B5E2F; --mint: #EAF0D2;
  --t1: #F3F4EE; --t2: #E6E8DF; --t3: #D9DCD2; --t4: #B9BDB2; --t5: #9DA394; --t6: #8A9085;
  --display: 'Archivo', system-ui, sans-serif;
  --body: 'Manrope', system-ui, sans-serif;
  --hh: 124px;
  --vh: 100vh;
}
@supports (height: 100svh) { :root { --vh: 100svh; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lock { overflow: hidden; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: none; }
a { color: inherit; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
section[id] { scroll-margin-top: var(--hh); }

.display { font-family: var(--display); font-stretch: 125%; font-weight: 800; letter-spacing: -0.01em; }
.wrap { max-width: 1360px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--lime); color: var(--ink); padding: 12px 18px; border-radius: 999px; font-weight: 800; text-decoration: none; }
.skip:focus { top: 12px; }
.m-only { display: none !important; }

/* ---------- pasek promocji i nagłówek ---------- */
.topbar { background: var(--ink); color: var(--t3); font-size: 13px; height: 40px; padding: 0 24px; display: flex; justify-content: center; align-items: center; gap: 28px; white-space: nowrap; overflow: hidden; }
.topbar b { color: var(--lime); }

.site { position: sticky; top: 0; z-index: 50; background: var(--ink2); color: var(--t1); }
.bar1 { height: 70px; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--t1); min-height: 44px; flex: none; }
.logo .display { font-size: 26px; line-height: 1; }
.logo .display span { color: var(--lime); }
.search { flex: 1 1 auto; max-width: 640px; display: flex; align-items: center; background: var(--ink4); border-radius: 999px; padding: 4px 4px 4px 20px; gap: 8px; position: relative; }
.search input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: var(--t1); font: 500 15px var(--body); height: 40px; }
.search input::placeholder { color: var(--t5); }
.search button { flex: none; width: 44px; height: 44px; border-radius: 999px; border: 0; background: var(--lime); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.search button:hover { background: var(--lime2); }
.acts { margin-left: auto; display: flex; gap: 4px; }
.ibtn { position: relative; width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; color: var(--t1); background: transparent; border: 0; cursor: pointer; text-decoration: none; }
.ibtn:hover { background: var(--ink4); color: var(--lime); }
.badge { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 11px; font-weight: 800; display: grid; place-items: center; }

.bar2 { border-top: 1px solid var(--ink4); }
.bar2-in { height: 50px; display: flex; align-items: center; gap: 4px; padding-left: 16px; padding-right: 16px; }
.nav-menus { display: flex; gap: 4px; }
.navbtn { background: transparent; color: var(--t1); border: 0; font: 700 15px var(--body); height: 44px; padding: 0 16px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; white-space: nowrap; }
.navbtn:hover { background: var(--ink4); }
.navbtn[aria-expanded="true"] { background: var(--lime); color: var(--ink); }
.promo-link { margin-left: 8px; background: var(--orange); color: var(--ink); font-weight: 800; font-size: 15px; text-decoration: none; height: 44px; padding: 0 18px; border-radius: 999px; display: inline-flex; align-items: center; white-space: nowrap; }
.promo-link:hover { background: var(--orange2); }
.guide { margin-left: auto; color: var(--t2); text-decoration: none; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 8px; white-space: nowrap; }
.guide:hover { color: var(--lime); }

.progress { position: relative; height: 4px; background: var(--ink4); }
.progress-fill { position: absolute; inset: 0; background: var(--lime); transform-origin: left center; transform: scaleX(0); }
.runner { position: absolute; bottom: -6px; left: 0; height: 32px; width: auto; transform: translateX(-70%); pointer-events: none; }

/* ---------- mega menu ---------- */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); color: var(--t1); border-top: 3px solid var(--lime); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4); max-height: calc(var(--vh) - var(--hh)); overflow: auto; }
.mega[hidden] { display: none; }
.mega-in { display: flex; gap: 28px; padding-top: 26px; padding-bottom: 26px; }
.mega-main { flex: 1 1 0; min-width: 0; }
.mega-kicker { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lime); }
.mega-title { font-size: 28px; line-height: 1.1; margin: 6px 0 18px; }
.mega-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mgroup { background: var(--ink3); border-radius: 18px; padding: 14px; display: flex; gap: 14px; align-items: flex-start; }
.mgroup img { width: 72px; height: 72px; flex: none; }
.mgroup-h { font-weight: 800; font-size: 16px; display: inline-block; margin-bottom: 4px; color: var(--t2); text-decoration: none; }
.mgroup ul { list-style: none; margin: 0; padding: 0; }
.mgroup li a { font-size: 14px; color: var(--t4); line-height: 1.7; text-decoration: none; }
.mgroup a:hover { color: var(--lime); }
.mega-pop { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.mega-pop > span { font-size: 13px; color: var(--t5); font-weight: 700; }
.mega-card { flex: none; width: 360px; position: relative; display: block; min-height: 360px; border-radius: 24px; overflow: hidden; text-decoration: none; color: var(--t1); background: var(--ink3); }
.mega-card .scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.mega-card:hover .scene { transform: scale(1.04); }
.mega-card .box { position: absolute; left: 16px; right: 16px; bottom: 16px; background: rgba(22, 24, 26, 0.9); border-radius: 16px; padding: 12px 14px; display: block; }
.box-k { display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lime); }
.box-t { display: block; font-weight: 800; font-size: 16px; line-height: 1.3; margin-top: 4px; }

/* ---------- historia przewijana razem ze stroną ---------- */
.story { position: relative; height: 900vh; background: var(--ink); }
.stage { position: sticky; top: var(--hh); height: calc(var(--vh) - var(--hh)); overflow: hidden; background: var(--ink); color: var(--t1); }
.media { position: absolute; inset: 0; overflow: hidden; background: #0D0F10; }
.frame, .film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.frame { opacity: 0; }
.frame:first-child { opacity: 1; }
.frame:not([src]) { display: none; }
.film { opacity: 0; transition: opacity 0.5s ease; }
.film-ready .film { opacity: 1; }
.film-ready .frame { visibility: hidden; transition: visibility 0s linear 0.6s; }

.loader { position: absolute; left: 24px; bottom: 24px; z-index: 5; display: flex; align-items: center; gap: 10px; background: rgba(22, 24, 26, 0.85); color: var(--t1); border-radius: 999px; padding: 9px 14px; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; transition: opacity 0.4s, visibility 0s linear 0.4s; }
.loader-bar { width: 84px; height: 4px; border-radius: 999px; background: var(--ink5); overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 0; background: var(--lime); transition: width 0.2s linear; }
.film-ready .loader { opacity: 0; visibility: hidden; }

.segments { display: none; }

.rail { position: absolute; left: 24px; top: 50%; transform: translateY(-50%); z-index: 4; background: rgba(22, 24, 26, 0.82); border-radius: 26px; padding: 10px; display: flex; flex-direction: column; gap: 4px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.railbtn { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 12px; border-radius: 999px; border: 0; background: transparent; color: var(--t2); font: 700 14px/1 var(--body); cursor: pointer; text-align: left; transition: background-color 0.25s, color 0.25s; }
.railbtn span { font-size: 12px; font-weight: 800; opacity: 0.75; min-width: 20px; }
.railbtn em { font-style: normal; }
.railbtn:hover { box-shadow: inset 0 0 0 1px var(--lime); }
.railbtn[aria-current] { background: var(--lime); color: var(--ink); }

.panels { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.panel { position: absolute; pointer-events: auto; opacity: 0; visibility: hidden; transform: translateY(24px); transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s; }
.panel.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity 0.45s ease 0.12s, transform 0.45s ease 0.12s, visibility 0s; }

.pill { display: inline-flex; align-items: center; background: var(--lime); color: var(--ink); font-weight: 800; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.pill-orange { background: var(--orange); }
.cta { background: var(--lime); color: var(--ink); font-weight: 800; font-size: 16px; text-decoration: none; min-height: 48px; padding: 0 22px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: background-color 0.2s; }
.cta:hover { background: var(--lime2); color: var(--ink); }
.ghost { color: var(--t2); text-decoration: none; border: 1px solid #4A5056; font-weight: 700; font-size: 16px; min-height: 48px; padding: 0 20px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; }
.ghost:hover { color: var(--lime); border-color: var(--lime); }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid #444A50; color: var(--t2); text-decoration: none; font-size: 14px; font-weight: 600; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.chip:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }

.intro { right: 48px; top: 48px; width: 540px; background: rgba(22, 24, 26, 0.88); border-radius: 28px; padding: 28px 30px 30px; box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3); }
.intro h1 { font-size: 50px; line-height: 1.02; margin: 16px 0 14px; }
.intro p { margin: 0 0 22px; font-size: 17px; line-height: 1.55; color: var(--t3); }
.intro-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.intro-hint { display: none; }

.chapter { right: 40px; bottom: 40px; width: 460px; background: rgba(22, 24, 26, 0.9); border-radius: 24px; padding: 22px 24px; box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35); border: 1px solid rgba(180, 214, 42, 0.35); }
.kicker { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lime); }
.kicker .of { color: var(--t6); }
.kicker .time { margin-left: auto; color: var(--t4); }
.chapter h2 { font-size: 32px; line-height: 1.06; margin: 10px 0 8px; }
.chapter p { margin: 0 0 14px; font-size: 15px; line-height: 1.55; color: var(--t3); }
.chapter .t-m { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ptiles { display: none; }
.chapter .cta { margin-top: 16px; font-size: 15px; min-height: 46px; padding: 0 20px; }

.hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--t1); font-weight: 800; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7); white-space: nowrap; transition: opacity 0.3s; pointer-events: none; }
.is-started .hint { opacity: 0; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
.bob { animation: bob 1.6s ease-in-out infinite; }

/* ---------- kategorie ---------- */
.quick { background: var(--paper); padding: 48px 0 44px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.sec-head h2 { margin: 0; font-size: 32px; line-height: 1.1; }
.more { font-weight: 800; color: var(--olive); display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; white-space: nowrap; }
.more:hover { color: var(--ink); }
.qgrid { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 12px; }
.qtile { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px 12px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 20px; text-decoration: none; color: var(--ink); transition: transform 0.2s, border-color 0.2s; }
.qtile:hover { border-color: var(--lime); transform: translateY(-3px); }
.qtile img { width: 76px; height: 76px; }
.qtile span { font-weight: 700; font-size: 14px; text-align: center; line-height: 1.25; }

/* ---------- promocja z filmem pergoli ---------- */
.promo { background: var(--ink); color: var(--t1); padding: 56px 0; }
.promo-in { display: flex; gap: 40px; align-items: center; }
.promo-media { flex: 3 1 0; min-width: 0; position: relative; }
.promo-film { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 24px; background: #000000; object-fit: cover; }
.promo-tag { position: absolute; left: 16px; top: 16px; background: var(--lime); color: var(--ink); font-weight: 800; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.promo-copy { flex: 2 1 0; min-width: 0; }
.promo-copy h2 { font-size: 42px; line-height: 1.05; margin: 14px 0 12px; }
.promo-copy p { margin: 0 0 18px; font-size: 17px; line-height: 1.55; color: var(--t3); }
.ticks { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--t2); }
.ticks li { display: flex; gap: 10px; align-items: center; }
.ticks svg { flex: none; }
.price-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.price { font-size: 34px; }

/* ---------- produkty ---------- */
.best { background: var(--paper); padding: 56px 0; }
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card { background: #FFFFFF; border-radius: 24px; border: 1px solid var(--line); padding: 14px; display: flex; flex-direction: column; gap: 10px; transition: transform 0.2s; }
.card:hover { transform: translateY(-4px); }
.card-img { position: relative; background: var(--mint); border-radius: 18px; height: 200px; display: grid; place-items: center; }
.card-img img { width: 150px; height: 150px; }
.card-badge { position: absolute; left: 12px; top: 12px; background: var(--ink); color: var(--lime); font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 999px; }
.card-cat { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--olive); }
.card h3 { margin: 0; font-size: 17px; line-height: 1.35; font-weight: 800; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.card-price { font-size: 22px; }
.btn-cart { background: var(--lime); color: var(--ink); border: 0; font: 800 14px var(--body); min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.btn-cart:hover { background: var(--lime2); }
.btn-cart svg { display: none; }

/* ---------- dlaczego my ---------- */
.usp { background: #FFFFFF; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; }
.usp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.usp-item { display: flex; gap: 14px; align-items: center; }
.usp-ico { flex: none; width: 52px; height: 52px; border-radius: 16px; background: var(--lime); display: grid; place-items: center; }
.usp-item b { display: block; font-weight: 800; font-size: 16px; }
.usp-item small { display: block; font-size: 14px; color: #4A4F45; }

/* ---------- stopka ---------- */
.site-footer { background: var(--ink); color: var(--t2); padding: 140px 0 0; }
.news { position: relative; background: var(--lime); color: var(--ink); border-radius: 28px; padding: 30px 300px 30px 36px; display: flex; align-items: center; gap: 24px; }
.news-hero { position: absolute; right: 40px; top: -128px; height: 236px; width: auto; }
.news-copy { flex: 1 1 0; min-width: 0; }
.news h2 { margin: 0; font-size: 30px; line-height: 1.1; }
.news p { margin: 8px 0 0; font-size: 16px; line-height: 1.5; }
.news-form { flex: 1 1 0; display: flex; gap: 10px; position: relative; }
.news-form input { flex: 1 1 auto; min-width: 0; height: 52px; border-radius: 999px; border: 2px solid var(--ink); background: var(--paper); padding: 0 20px; font: 600 16px var(--body); color: var(--ink); }
.news-form button { flex: none; height: 52px; padding: 0 24px; border-radius: 999px; border: 0; background: var(--ink); color: var(--lime); font: 800 16px var(--body); cursor: pointer; }
.fcols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr; gap: 32px; padding: 48px 0 32px; }
.fbrand .logo .display { font-size: 22px; }
.fbrand p { margin: 10px 0 16px; font-size: 14px; line-height: 1.6; color: var(--t4); max-width: 280px; }
.socials { display: flex; gap: 8px; flex-wrap: wrap; }
.socials .chip { font-size: 13px; font-weight: 700; border-color: var(--ink5); }
.fh { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lime); margin-bottom: 10px; }
.flist { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.flist a { line-height: 2.1; color: var(--t2); text-decoration: none; }
.flist a:hover { color: var(--lime); }
.flist a.hot { color: var(--orange2); }
.fask { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.fask img { width: 56px; height: 56px; border-radius: 999px; object-fit: cover; object-position: top; background: var(--ink4); }
.fask .cta { font-size: 15px; min-height: 44px; padding: 0 18px; }
.fdata { font-size: 15px; line-height: 2; color: var(--t2); }
.fdata span { color: var(--t4); }
.pays { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid var(--ink4); }
.pays .lbl { font-size: 13px; font-weight: 700; color: var(--t4); margin-right: 4px; }
.pays .lbl2 { margin-left: 18px; }
.pays .tag { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 10px; background: var(--ink3); }
.sil { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; padding: 20px 8px 0; border-bottom: 3px solid var(--lime); opacity: 0.5; }
.sil img { width: auto; }
.fbottom { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 10px 0 18px; font-size: 13px; color: var(--t4); }
.fbottom a { color: var(--t2); text-decoration: none; line-height: 44px; }
.fbottom a:hover { color: var(--lime); }
.totop { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 14px; min-height: 44px; }
.totop img { height: 26px; width: auto; transform: rotate(-90deg); }

/* ---------- menu na telefonie ---------- */
.mmenu { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; height: 100dvh; z-index: 80; background: var(--ink); color: var(--t1); overflow-y: auto; overscroll-behavior: contain; }
.mmenu[hidden] { display: none; }
.mm-head { position: sticky; top: 0; z-index: 2; background: var(--ink); height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 0 6px 0 14px; border-bottom: 1px solid var(--ink4); }
.mm-head .logo { gap: 8px; }
.mm-head .logo svg { width: 28px; height: 21px; }
.mm-head .logo .display { font-size: 19px; }
.mm-close { background: var(--ink4); border-radius: 12px; }
.mm-searchform { margin: 14px 16px 10px; max-width: none; padding: 3px 3px 3px 16px; gap: 6px; }
.mm-searchform input { font-size: 16px; }
.mm-list { padding: 4px 12px; display: flex; flex-direction: column; gap: 8px; }
.mm-item { background: var(--ink2); border-radius: 18px; overflow: hidden; }
.mm-toggle { width: 100%; display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; min-height: 64px; border: 0; background: transparent; color: var(--t1); font: 800 16px var(--body); cursor: pointer; text-align: left; }
.mm-toggle img { width: 48px; height: 48px; flex: none; }
.mm-toggle > span { flex: 1; }
.mm-toggle .pm { color: var(--lime); flex: none; }
.mm-toggle[aria-expanded="true"] .pm-v { display: none; }
.mm-body { padding: 2px 12px 14px; display: flex; flex-direction: column; gap: 14px; }
.mm-body[hidden] { display: none; }
.mm-group-h { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; font-weight: 800; font-size: 15px; }
.mm-group-h img { width: 36px; height: 36px; }
.mm-links { display: flex; flex-wrap: wrap; gap: 6px; }
.mm-links .chip { font-size: 13px; padding: 0 12px; border-color: var(--ink5); }
.mm-go { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; border: 1px solid var(--lime); color: var(--lime); background: transparent; font: 800 14px var(--body); cursor: pointer; width: 100%; }
.mm-promo { display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding: 0 18px; border-radius: 18px; background: var(--orange); color: var(--ink); text-decoration: none; font-weight: 800; font-size: 16px; }
.mm-chat { margin: 14px 12px 20px; background: var(--lime); color: var(--ink); border-radius: 20px; padding: 12px; display: flex; align-items: center; gap: 12px; font-size: 13px; line-height: 1.4; }
.mm-chat img { width: 56px; height: 56px; border-radius: 999px; object-fit: cover; object-position: top; background: var(--paper); flex: none; }
.mm-chat div { flex: 1; }
.mm-chat b { font-size: 14px; }
.mm-chat a { background: var(--ink); color: var(--lime); font-weight: 800; font-size: 14px; text-decoration: none; min-height: 44px; padding: 0 16px; border-radius: 999px; display: inline-flex; align-items: center; }

/* ---------- komunikat ---------- */
.toast { position: fixed; left: 50vw; bottom: 24px; z-index: 120; transform: translate(-50%, 16px); width: max-content; max-width: calc(100% - 32px); background: var(--ink); color: var(--t1); border: 1px solid var(--lime); border-radius: 16px; padding: 12px 18px; font-weight: 700; font-size: 14px; line-height: 1.4; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35); opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- węższe ekrany: kompaktowy nagłówek ---------- */
@media (max-width: 1199px) {
  .qgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1099px) {
  .topbar, .bar2 { display: none; }
  .d-only { display: none !important; }
  .m-only { display: grid !important; }
  .wrap.bar1 { height: 53px; gap: 4px; padding: 0 6px 0 14px; max-width: none; }
  .bar1 .logo { margin-right: auto; gap: 8px; }
  .bar1 .logo svg { width: 28px; height: 21px; }
  .bar1 .logo .display { font-size: 19px; }
  .ibtn { border-radius: 12px; }
  .menu-btn { background: var(--lime); color: var(--ink); }
  .menu-btn:hover { background: var(--lime2); color: var(--ink); }
  .badge { top: 5px; right: 3px; min-width: 16px; height: 16px; font-size: 10px; }
  .progress { height: 3px; }
  .runner, .mega { display: none !important; }
  .intro { width: 460px; }
  .intro h1 { font-size: 42px; }
  .chapter { width: 420px; }
  .railbtn em { display: none; }
  .railbtn { padding: 0 12px; }
  .promo-in { flex-direction: column; align-items: stretch; gap: 24px; }
  .usp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fcols { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; }
}

/* ---------- pionowy ekran lub telefon: film w pasie 16:9, tekst pod spodem ---------- */
@media (max-aspect-ratio: 1/1), (max-width: 599px) {
  .stage { display: flex; flex-direction: column; }
  .media { position: relative; inset: auto; flex: none; width: 100%; aspect-ratio: 16 / 9; }
  .loader { left: 10px; bottom: 10px; padding: 7px 11px; font-size: 10px; gap: 8px; }
  .loader-bar { width: 56px; }
  .segments { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; padding: 12px 16px 4px; flex: none; }
  .seg { position: relative; height: 4px; border-radius: 999px; background: var(--ink4); overflow: hidden; }
  .seg b { position: absolute; inset: 0; background: var(--lime); transform-origin: left center; transform: scaleX(0); }
  .rail, .hint { display: none; }
  .panels { position: relative; inset: auto; flex: 1 1 auto; min-height: 0; }
  .panel { inset: 0; width: auto; max-width: 680px; margin: 0 auto; padding: 14px 16px 16px; background: none; border: 0; border-radius: 0; box-shadow: none; overflow: hidden; }
  .intro { display: flex; flex-direction: column; }
  .intro .pill { align-self: flex-start; font-size: 11px; }
  .intro h1 { font-size: 30px; line-height: 1.04; margin: 14px 0 10px; }
  .intro p { font-size: 15px; margin: 0 0 18px; }
  .intro-ctas { flex-direction: column; gap: 10px; }
  .intro-ctas .cta, .intro-ctas .ghost { width: 100%; min-height: 50px; }
  .intro-hint { display: flex; margin-top: auto; padding-top: 10px; flex-direction: column; align-items: center; gap: 2px; color: var(--t4); font-weight: 800; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
  .kicker { font-size: 11px; gap: 8px; }
  .chapter h2 { font-size: 25px; line-height: 1.08; margin: 10px 0 8px; }
  .chapter .t-d { display: none; }
  .chapter .t-m { display: block; }
  .chapter p { font-size: 15px; line-height: 1.5; }
  .chips { display: none; }
  .ptiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ptile { display: flex; align-items: center; gap: 8px; background: var(--ink3); border-radius: 16px; padding: 6px 10px 6px 6px; min-height: 56px; color: var(--t2); text-decoration: none; font-size: 13px; font-weight: 700; line-height: 1.25; }
  .ptile img { width: 44px; height: 44px; flex: none; }
  .chapter .cta { display: flex; width: 100%; margin-top: 14px; min-height: 50px; }
}
@media (max-aspect-ratio: 1/1) and (max-height: 780px), (max-width: 599px) and (max-height: 780px) {
  .ptile:nth-child(n+3) { display: none; }
  .intro .ghost { display: none; }
}
@media (max-aspect-ratio: 1/1) and (max-height: 660px), (max-width: 599px) and (max-height: 660px) {
  .ptiles, .intro p { display: none; }
  .chapter h2 { font-size: 22px; }
  .chapter p { font-size: 14px; margin-bottom: 0; }
  .intro h1 { font-size: 28px; }
}

/* ---------- niski ekran w poziomie (laptop z małą wysokością, telefon obrócony) ---------- */
@media (min-aspect-ratio: 1/1) and (min-width: 600px) and (max-height: 760px) {
  .intro { top: 24px; right: 24px; padding: 20px 22px 22px; width: 470px; }
  .intro h1 { font-size: 38px; margin: 12px 0 10px; }
  .intro p { font-size: 15px; margin-bottom: 16px; }
  .chapter { bottom: 24px; right: 24px; padding: 16px 18px; }
  .chapter h2 { font-size: 26px; }
  .chapter .chip:nth-child(n+3) { display: none; }
  .railbtn { min-height: 36px; }
}
@media (min-aspect-ratio: 1/1) and (min-width: 600px) and (max-height: 560px) {
  .rail, .hint, .intro p, .intro .ghost, .chapter p, .chips { display: none; }
  .intro { width: 380px; top: 16px; right: 16px; padding: 16px 18px; }
  .intro h1 { font-size: 28px; }
  .chapter { width: 360px; bottom: 16px; right: 16px; padding: 14px 16px; }
  .chapter h2 { font-size: 22px; }
  .chapter .cta { margin-top: 10px; }
}

/* ---------- telefon: reszta strony ---------- */
@media (max-width: 899px) {
  .site-footer { padding-top: 110px; }
  .news { flex-direction: column; align-items: stretch; padding: 76px 18px 18px; border-radius: 24px; gap: 14px; }
  .news-hero { right: 14px; top: -98px; height: 172px; }
  .news h2 { font-size: 24px; }
  .news p { font-size: 14px; }
  .news-form { flex-direction: column; gap: 8px; }
  .news-form input, .news-form button { height: 50px; }
  .fcols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 28px 0 20px; }
  .fbrand, .fcontact { grid-column: 1 / -1; }
  .flist a { display: block; line-height: 44px; }
  .pays .lbl2 { margin-left: 0; }
}
@media (max-width: 599px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .quick, .best { padding: 28px 0; }
  .promo { padding: 28px 0 32px; }
  .sec-head { margin-bottom: 14px; }
  .sec-head h2 { font-size: 24px; line-height: 1.15; }
  .sec-head .more { display: none; }
  .qgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .qtile { padding: 10px 4px; border-radius: 18px; gap: 4px; }
  .qtile:nth-child(10) { display: none; }
  .qtile img { width: 60px; height: 60px; }
  .qtile span { font-size: 12px; }
  .promo-film { border-radius: 18px; }
  .promo-tag { left: 10px; top: 10px; font-size: 10px; padding: 5px 10px; }
  .promo-in { gap: 18px; }
  .promo-copy h2 { font-size: 26px; line-height: 1.08; margin: 12px 0 10px; }
  .promo-copy p { font-size: 15px; margin-bottom: 16px; }
  .ticks { font-size: 14px; margin-bottom: 18px; }
  .price-row { justify-content: space-between; gap: 12px; }
  .price { font-size: 26px; }
  .pgrid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; gap: 12px; margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .pgrid::-webkit-scrollbar { display: none; }
  .card { flex: none; width: 236px; scroll-snap-align: start; border-radius: 22px; padding: 12px; gap: 8px; }
  .card-img { height: 150px; border-radius: 16px; }
  .card-img img { width: 112px; height: 112px; }
  .card-badge { left: 10px; top: 10px; font-size: 11px; padding: 4px 9px; }
  .card-cat { font-size: 11px; }
  .card h3 { font-size: 15px; }
  .card-price { font-size: 19px; }
  .btn-cart { width: 44px; height: 44px; padding: 0; }
  .btn-cart-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .btn-cart svg { display: block; }
  .usp { padding: 20px 0; }
  .usp-grid { gap: 14px; }
  .usp-item { gap: 10px; }
  .usp-ico { width: 40px; height: 40px; border-radius: 12px; }
  .usp-ico svg { width: 22px; height: 22px; }
  .usp-item b { font-size: 13px; }
  .usp-item small { font-size: 12px; color: var(--ink); }
  .sil { padding: 22px 4px 0; }
  .sil img { height: 38px !important; }
  .fbottom { justify-content: space-between; gap: 8px; padding: 6px 0 14px; font-size: 12px; }
  .fbottom a:not(.totop) { display: none; }
  .totop { margin-left: 0; font-size: 13px; }
  .totop img { height: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bob { animation: none; }
}
