/* Inveray Black Friday – everything is scoped to body classes added only while the campaign is live. */
:root {
	--bf-bg: #0A0A0A;
	--bf-bg2: #16130F;
	--bf-card: #161616;
	--bf-line: #262421;
	--bf-line2: #3A3631;
	--bf-ink: #F6F2EB;
	--bf-muted: #B9B1A5;
	--bf-gold: #D9BC8C;
	--bf-gold-2: #ECD8B4;
	--bf-radius: 18px;
	--bf-sans: "Be Vietnam Pro", system-ui, -apple-system, sans-serif;
	--bf-serif: "Playfair Display", Georgia, serif;
}

/* ---------- promo bar (all pages) ---------- */
.inv-bf-bar { background: #000; color: var(--bf-ink); font: 500 13px/1.4 var(--bf-sans); letter-spacing: .3px; border-bottom: 1px solid var(--bf-line); position: relative; z-index: 100; }
.inv-bf-bar-in { max-width: 1280px; margin: 0 auto; padding: 9px 16px; display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: center; justify-content: center; text-align: center; }
.inv-bf-bar-txt { color: var(--bf-gold-2); font-weight: 600; }
.inv-bf-bar .inv-bf-count { color: var(--bf-muted); font-variant-numeric: tabular-nums; }
.inv-bf-bar-cta { color: var(--bf-ink) !important; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.inv-bf-bar-cta:hover { color: var(--bf-gold) !important; }
@media (max-width: 640px) { .inv-bf-bar .inv-bf-count { display: none; } .inv-bf-bar-in { font-size: 12px; padding: 8px 12px; } }

/* ---------- shared ---------- */
.inv-bf { background: var(--bf-bg); color: var(--bf-ink); font-family: var(--bf-sans); width: 100vw; margin-left: calc(50% - 50vw); }
#inner-wrap > .inv-bf { width: 100%; margin-left: 0; } /* Kadence: already full width, avoid scrollbar overflow */
.inv-bf *, .inv-bf *::before, .inv-bf *::after { box-sizing: border-box; }
.inv-bf-wrap { max-width: 1280px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.inv-bf a:focus-visible, .inv-bf-bar a:focus-visible { outline: 2px solid var(--bf-gold-2); outline-offset: 3px; border-radius: 6px; }
.inv-bf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 30px; border-radius: 999px; background: var(--bf-gold); color: #0A0A0A !important; font-weight: 600; font-size: 15px; text-decoration: none !important; letter-spacing: .2px; transition: background .15s, transform .15s; }
.inv-bf-btn:hover { background: var(--bf-gold-2); transform: translateY(-1px); }
.inv-bf-btn-ghost { background: transparent; color: var(--bf-ink) !important; border: 1px solid var(--bf-line2); }
.inv-bf-btn-ghost:hover { background: #1A1917; border-color: #57514A; }

/* ---------- hero ---------- */
.inv-bf-hero { position: relative; padding: 64px 0 36px; border-bottom: 1px solid var(--bf-line); overflow: hidden; }
.inv-bf-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; }
.inv-bf-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 8px 14px; border: 1px solid var(--bf-line2); border-radius: 999px; color: var(--bf-gold-2); font-size: 12px; font-weight: 600; letter-spacing: 2.2px; text-transform: uppercase; }
.inv-bf-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--bf-gold); box-shadow: 0 0 0 4px rgba(217, 188, 140, .18); }
.inv-bf .inv-bf-h { margin: 0; color: var(--bf-ink) !important; font-family: var(--bf-serif); font-weight: 600; font-size: clamp(48px, 7vw, 104px); line-height: .95; letter-spacing: -1.5px; }
.inv-bf .inv-bf-h em { display: block; font-style: italic; font-weight: 500; color: var(--bf-gold); }
.inv-bf-discount { margin: 26px 0 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; }
.inv-bf-discount-n { font-family: var(--bf-serif); font-size: clamp(44px, 5vw, 72px); line-height: 1; color: var(--bf-ink); font-weight: 600; }
.inv-bf-discount-l { font-size: 15px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--bf-muted); }
.inv-bf-text { margin: 20px 0 0; max-width: 500px; color: var(--bf-muted); font-size: 17px; line-height: 1.65; }
.inv-bf-code { margin: 18px 0 0; display: inline-block; padding: 9px 14px; border: 1px dashed var(--bf-gold); border-radius: 10px; color: var(--bf-ink); font-size: 14px; }
.inv-bf-code strong { color: var(--bf-gold-2); letter-spacing: 2px; }
.inv-bf-ctas { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }

.inv-bf-timer { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.inv-bf-timer-l { color: var(--bf-muted); font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; }
.inv-bf-tiles { display: flex; gap: 8px; }
.inv-bf-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 64px; height: 64px; border-radius: 14px; background: var(--bf-card); border: 1px solid var(--bf-line); }
.inv-bf-tile b { font-size: 24px; line-height: 1; font-weight: 600; color: var(--bf-ink); font-variant-numeric: tabular-nums; }
.inv-bf-tile small { margin-top: 5px; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--bf-muted); }

.inv-bf-visual { position: relative; }
.inv-bf-visual img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 10; object-fit: cover; border-radius: 28px; border: 1px solid var(--bf-line); }
.inv-bf-badge { position: absolute; left: -26px; bottom: 36px; width: 128px; height: 128px; border-radius: 50%; background: var(--bf-gold); color: #0A0A0A; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); transform: rotate(-8deg); }
.inv-bf-badge b { font-family: var(--bf-serif); font-size: 30px; line-height: 1; }
.inv-bf-badge small { margin-top: 6px; font-size: 10px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }

.inv-bf-chips { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 10px; }
.inv-bf-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--bf-line2); color: var(--bf-ink) !important; font-size: 14px; text-decoration: none !important; transition: border-color .15s, background .15s; }
.inv-bf-chip:hover { border-color: var(--bf-gold); background: #17150F; }

/* ---------- benefits ---------- */
.inv-bf-benefits { border-bottom: 1px solid var(--bf-line); }
.inv-bf-benefits ul { list-style: none; margin: 0 auto; padding-top: 22px; padding-bottom: 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.inv-bf-benefits li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--bf-ink); margin: 0; }
.inv-bf-benefits svg { flex: none; color: var(--bf-gold); }

/* ---------- deals ---------- */
.inv-bf-deals { padding: 72px 0 80px; border-bottom: 1px solid var(--bf-line); }
.inv-bf-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.inv-bf-kicker { margin: 0 0 8px; color: var(--bf-gold); font-size: 12px; font-weight: 600; letter-spacing: 2.2px; text-transform: uppercase; }
.inv-bf .inv-bf-h2 { margin: 0; color: var(--bf-ink) !important; font-family: var(--bf-serif); font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; font-weight: 600; }
.inv-bf-more { color: var(--bf-ink) !important; font-size: 15px; font-weight: 600; text-decoration: none !important; border-bottom: 1px solid var(--bf-gold); padding-bottom: 3px; white-space: nowrap; }
.inv-bf-more:hover { color: var(--bf-gold) !important; }
.inv-bf-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.inv-bf-card { margin: 0; display: flex; flex-direction: column; border-radius: var(--bf-radius); background: var(--bf-card); border: 1px solid var(--bf-line); overflow: hidden; transition: border-color .15s, transform .15s; }
.inv-bf-card:hover { border-color: #4A443C; transform: translateY(-3px); }
.inv-bf-card-img { position: relative; display: block; background: #FFFFFF; aspect-ratio: 1 / 1; }
.inv-bf-card-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.inv-bf-pct { position: absolute; top: 12px; left: 12px; padding: 5px 10px; border-radius: 999px; background: #0A0A0A; color: var(--bf-gold-2); font-size: 13px; font-weight: 700; letter-spacing: .3px; }
.inv-bf-card-body { display: flex; flex-direction: column; gap: 10px; padding: 16px 16px 18px; flex: 1; }
.inv-bf-card-name { color: var(--bf-ink) !important; font-size: 14px; line-height: 1.4; text-decoration: none !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 39px; }
.inv-bf-card-name:hover { color: var(--bf-gold-2) !important; }
.inv-bf-card-price { font-size: 17px; font-weight: 600; color: var(--bf-ink); }
.inv-bf-card-price del { color: #8E877C; font-size: 14px; font-weight: 400; margin-right: 6px; }
.inv-bf-card-price ins { text-decoration: none; color: var(--bf-gold-2); }
.inv-bf .inv-bf-add { margin-top: auto; display: flex !important; align-items: center; justify-content: center; min-height: 46px; padding: 0 16px !important; border-radius: 999px !important; background: var(--bf-ink) !important; color: #0A0A0A !important; font-size: 14px !important; font-weight: 600 !important; text-decoration: none !important; border: 0 !important; line-height: 1 !important; text-transform: none !important; letter-spacing: 0 !important; }
.inv-bf .inv-bf-add:hover { background: var(--bf-gold) !important; }
.inv-bf .inv-bf-add.loading { opacity: .6; }
.inv-bf .inv-bf-add.added::after { content: " ✓"; margin-left: 6px; }
.inv-bf .inv-bf-add-ghost { background: transparent !important; color: var(--bf-ink) !important; border: 1px solid var(--bf-line2) !important; }
.inv-bf .added_to_cart { display: block; text-align: center; margin-top: 8px; font-size: 13px; color: var(--bf-gold-2) !important; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
	.inv-bf-hero-grid { gap: 40px; }
	.inv-bf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.inv-bf-benefits ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
	.inv-bf-wrap { padding-left: 16px; padding-right: 16px; }
	.inv-bf-hero { padding: 36px 0 28px; }
	.inv-bf-hero-grid { grid-template-columns: 1fr; gap: 32px; }
	.inv-bf-visual { order: -1; }
	.inv-bf-visual img { aspect-ratio: 4 / 3; border-radius: 20px; }
	.inv-bf-badge { left: auto; right: 14px; bottom: -22px; width: 104px; height: 104px; }
	.inv-bf-badge b { font-size: 24px; }
	.inv-bf-text { font-size: 16px; }
	.inv-bf-ctas .inv-bf-btn { flex: 1 1 100%; }
	.inv-bf-tile { min-width: 0; flex: 1; height: 60px; }
	.inv-bf-tiles { width: 100%; }
	.inv-bf-chips { flex-wrap: nowrap; overflow-x: auto; margin-top: 28px; padding-bottom: 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.inv-bf-chips::-webkit-scrollbar { display: none; }
	.inv-bf-chip { flex: none; }
	.inv-bf-benefits li { font-size: 13px; }
	.inv-bf-deals { padding: 48px 0 56px; }
	.inv-bf-sec-head { align-items: flex-start; flex-direction: column; }
	.inv-bf-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px; padding: 0 16px 8px; scrollbar-width: none; }
	.inv-bf-grid::-webkit-scrollbar { display: none; }
	.inv-bf-card { flex: 0 0 72%; scroll-snap-align: start; }
}

/* ---------- dark homepage (header, page content, footer) ---------- */
body.inv-bf-home { background: var(--bf-bg) !important; color: var(--bf-muted); }
body.inv-bf-home #wrapper, body.inv-bf-home #inner-wrap, body.inv-bf-home .site, body.inv-bf-home .content-bg, body.inv-bf-home .site-main, body.inv-bf-home .entry-content-wrap, body.inv-bf-home article.page { background: var(--bf-bg) !important; }

/* header */
body.inv-bf-home .elementor-location-header,
body.inv-bf-home .elementor-location-header .e-con,
body.inv-bf-home .elementor-location-header .elementor-section,
body.inv-bf-home .elementor-location-header .elementor-nav-menu--dropdown { background-color: var(--bf-bg) !important; border-color: var(--bf-line) !important; }
body.inv-bf-home .elementor-location-header a,
body.inv-bf-home .elementor-location-header .elementor-nav-menu a,
body.inv-bf-home .elementor-location-header .elementor-item,
body.inv-bf-home .elementor-location-header i,
body.inv-bf-home .elementor-location-header .elementor-icon { color: var(--bf-ink) !important; fill: var(--bf-ink) !important; }
body.inv-bf-home .elementor-location-header .elementor-icon svg,
body.inv-bf-home .elementor-location-header .elementor-button-icon svg { fill: var(--bf-ink) !important; }
body.inv-bf-home .elementor-location-header .elementor-item:hover,
body.inv-bf-home .elementor-location-header .elementor-item-active { color: var(--bf-gold) !important; }
body.inv-bf-home .elementor-location-header .elementor-item::after { background-color: var(--bf-gold) !important; }
body.inv-bf-home .elementor-location-footer .elementor-widget-image img[src*="logo" i],
body.inv-bf-home .elementor-location-footer .elementor-widget-image img[srcset*="logo" i],
body.inv-bf-home .elementor-location-header .elementor-widget-image img[src*="logo" i],
body.inv-bf-home .elementor-location-header .elementor-widget-image img[srcset*="logo" i] { filter: brightness(0) invert(1); }
body.inv-bf-home .elementor-location-header .elementor-widget-polylang-language-switcher,
body.inv-bf-home .elementor-location-header .elementor-widget-polylang-language-switcher * { background-color: transparent !important; color: var(--bf-ink) !important; border-color: var(--bf-line2) !important; }
body.inv-bf-home .elementor-location-header .elementor-widget-polylang-language-switcher ul ul,
body.inv-bf-home .elementor-location-header .elementor-widget-polylang-language-switcher .sub-menu,
body.inv-bf-home .elementor-location-header .elementor-widget-polylang-language-switcher [class*="dropdown"] { background-color: #141414 !important; }
body.inv-bf-home .elementor-location-header input[type="search"],
body.inv-bf-home .elementor-location-header input[type="text"] { background: #161616 !important; color: var(--bf-ink) !important; border-color: var(--bf-line2) !important; border-radius: 999px !important; padding-left: 18px !important; }
body.inv-bf-home .elementor-location-header input::placeholder { color: #9E968A !important; }

/* page content built in Elementor: one calm black canvas, generous spacing, thin dividers */
body.inv-bf-home .site-main .elementor .e-con,
body.inv-bf-home .site-main .elementor .elementor-section,
body.inv-bf-home .site-main .elementor .elementor-column-wrap,
body.inv-bf-home .site-main .elementor .elementor-widget-wrap { background-color: transparent !important; background-image: none !important; border-color: var(--bf-line) !important; }
body.inv-bf-home .site-main .elementor > .e-con,
body.inv-bf-home .site-main .elementor > .elementor-section { border-top: 1px solid var(--bf-line) !important; padding-top: 56px !important; padding-bottom: 56px !important; }
body.inv-bf-home .site-main .elementor :is(h1, h2, h3, h4, h5, h6, .elementor-heading-title) { color: var(--bf-ink) !important; letter-spacing: -.2px; }
body.inv-bf-home .site-main .elementor .elementor-widget-heading h2.elementor-heading-title { font-size: clamp(28px, 3vw, 40px) !important; line-height: 1.15 !important; }
body.inv-bf-home .site-main .elementor :is(p, li, span, td, .elementor-text-editor, .elementor-testimonial__text, .elementor-testimonial__name, .elementor-testimonial__title) { color: var(--bf-muted); }
body.inv-bf-home .site-main .elementor .elementor-text-editor { font-size: 16px; line-height: 1.7; }
body.inv-bf-home .site-main .elementor .elementor-text-editor :is(strong, b) { color: var(--bf-ink); }
body.inv-bf-home .site-main .elementor a:not(.elementor-button):not(.inv-bf-btn) { color: var(--bf-gold-2); }
body.inv-bf-home .site-main .elementor .elementor-button { background-color: transparent !important; color: var(--bf-ink) !important; border: 1px solid var(--bf-line2) !important; border-radius: 999px !important; padding: 16px 28px !important; }
body.inv-bf-home .site-main .elementor .elementor-button:hover { border-color: var(--bf-gold) !important; background-color: #17150F !important; }
body.inv-bf-home .site-main .elementor .elementor-button .elementor-button-text { color: var(--bf-ink) !important; font-weight: 600; letter-spacing: .2px; text-transform: none; }
body.inv-bf-home .site-main .elementor .elementor-widget-image img { border-radius: 20px; }
body.inv-bf-home .site-main .elementor .elementor-swiper-button,
body.inv-bf-home .site-main .elementor .elementor-swiper-button svg { color: var(--bf-ink) !important; fill: var(--bf-ink) !important; }
body.inv-bf-home .site-main .elementor .swiper-pagination-bullet { background: var(--bf-muted) !important; }
body.inv-bf-home .site-main .elementor .swiper-pagination-bullet-active { background: var(--bf-gold) !important; }
body.inv-bf-home .site-main .elementor .elementor-testimonial,
body.inv-bf-home .site-main .elementor .elementor-cta__content { background-color: var(--bf-card) !important; border-radius: var(--bf-radius); }
body.inv-bf-home .site-main .elementor form input:not([type="submit"]):not([type="checkbox"]),
body.inv-bf-home .site-main .elementor form textarea { background: #161616 !important; color: var(--bf-ink) !important; border-color: var(--bf-line2) !important; border-radius: 12px !important; }
body.inv-bf-home .site-main .elementor .elementor-loop-container * { color: var(--bf-ink); }

/* "Zobacz naszą ofertę": 8 tall flip boxes -> compact 4-column tiles */
body.inv-bf-home .site-main :is(.e-con, .e-con-inner):has(> .elementor-widget-flip-box) { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px !important; }
body.inv-bf-home .site-main :is(.e-con, .e-con-inner):has(> .elementor-widget-flip-box) > .elementor-widget:not(.elementor-widget-flip-box) { grid-column: 1 / -1; }
body.inv-bf-home .site-main :is(.e-con, .e-con-inner):has(> .elementor-widget-flip-box) > .elementor-widget-flip-box { width: auto !important; max-width: none !important; margin: 0 !important; height: auto !important; min-height: 0 !important; align-self: start !important; --container-widget-height: auto !important; }
body.inv-bf-home .site-main .elementor-widget-flip-box .elementor-flip-box { height: 280px !important; border-radius: var(--bf-radius); overflow: hidden; }
body.inv-bf-home .site-main .elementor-widget-flip-box > .elementor-widget-container { height: auto !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important; }
@media (max-width: 820px) {
	body.inv-bf-home .site-main :is(.e-con, .e-con-inner):has(> .elementor-widget-flip-box) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px !important; }
	body.inv-bf-home .site-main .elementor-widget-flip-box .elementor-flip-box { height: 200px !important; }
	body.inv-bf-home .site-main .elementor > .e-con,
	body.inv-bf-home .site-main .elementor > .elementor-section { padding-top: 40px !important; padding-bottom: 40px !important; }
}

/* testimonials */
body.inv-bf-home .site-main .elementor-widget-testimonial-carousel .swiper-slide,
body.inv-bf-home .site-main .elementor-widget-testimonial-carousel .elementor-testimonial__content { background-color: var(--bf-card) !important; border-color: var(--bf-line) !important; }
body.inv-bf-home .site-main .elementor-widget-testimonial-carousel .swiper-slide { border-radius: var(--bf-radius); border: 1px solid var(--bf-line) !important; overflow: hidden; }
body.inv-bf-home .site-main .elementor-widget-testimonial-carousel .elementor-testimonial__text { color: var(--bf-ink) !important; font-size: 17px; line-height: 1.7; font-style: italic; }
body.inv-bf-home .site-main .elementor-widget-testimonial-carousel .elementor-testimonial__content::after { border-top-color: var(--bf-card) !important; }
body.inv-bf-home .site-main .elementor-widget-testimonial-carousel :is(.elementor-testimonial__name, .elementor-testimonial__cite, .elementor-testimonial__footer) { color: var(--bf-gold-2) !important; background: transparent !important; }

/* header mini cart */
body.inv-bf-home .elementor-menu-cart__main { background-color: #141414 !important; border-color: var(--bf-line) !important; }
body.inv-bf-home .elementor-menu-cart__main :is(a, span, div, dt, dd, .elementor-menu-cart__product-name, .elementor-menu-cart__subtotal) { color: var(--bf-ink) !important; }
body.inv-bf-home .elementor-menu-cart__main .elementor-button { background: var(--bf-gold) !important; color: #0A0A0A !important; border-radius: 999px !important; }
body.inv-bf-home .elementor-menu-cart__main .elementor-button * { color: #0A0A0A !important; }

/* collapsed long texts */
.inv-bf-seo-toggle-wrap { text-align: center; padding: 48px 16px; border-top: 1px solid var(--bf-line); }
.inv-bf-seo-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--bf-line2); background: transparent; color: var(--bf-ink); font: 600 14px var(--bf-sans); cursor: pointer; }
.inv-bf-seo-toggle:hover { border-color: var(--bf-gold); }
.inv-bf-seo-toggle svg { transition: transform .2s; }
body:not(.inv-bf-seo-closed) .inv-bf-seo-toggle svg { transform: rotate(180deg); }

/* footer */
body.inv-bf-home .elementor-location-footer,
body.inv-bf-home .elementor-location-footer .e-con,
body.inv-bf-home .elementor-location-footer .elementor-section,
body.inv-bf-home .site-footer { background-color: var(--bf-bg) !important; background-image: none !important; border-color: var(--bf-line) !important; }
body.inv-bf-home .elementor-location-footer :is(h1, h2, h3, h4, h5, h6, .elementor-heading-title) { color: var(--bf-ink) !important; }
body.inv-bf-home .elementor-location-footer :is(p, li, span, a, .elementor-icon-list-text) { color: var(--bf-muted) !important; }
body.inv-bf-home .elementor-location-footer a:hover, body.inv-bf-home .elementor-location-footer a:hover * { color: var(--bf-gold) !important; }
body.inv-bf-home .elementor-location-footer .elementor-icon-list-icon svg,
body.inv-bf-home .elementor-location-footer .elementor-social-icon svg { fill: var(--bf-ink) !important; }

@media (prefers-reduced-motion: reduce) {
	.inv-bf-card, .inv-bf-btn { transition: none; }
	.inv-bf-card:hover, .inv-bf-btn:hover { transform: none; }
}

/* ================= v1.2 – connections between blocks ================= */

/* soft wave between blocks */
.inv-bf-drip { position: absolute; left: 0; right: 0; top: -1px; height: 40px; pointer-events: none; z-index: 2; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440V12C1260 30 1090 38 900 30S560 6 380 10 120 32 0 24Z'/%3E%3C/svg%3E") center top / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440V12C1260 30 1090 38 900 30S560 6 380 10 120 32 0 24Z'/%3E%3C/svg%3E") center top / 100% 100% no-repeat; }
.inv-bf-drip.is-gold { color: var(--bf-gold); }
.inv-bf-drip.is-alt { color: var(--bf-bg2); }

/* gold marquee */
.inv-bf-marquee { background: var(--bf-gold); color: #0A0A0A; overflow: hidden; border: 0; position: relative; z-index: 3; }
.inv-bf-mq-track { display: flex; width: max-content; animation: inv-bf-mq 38s linear infinite; }
.inv-bf-marquee:hover .inv-bf-mq-track { animation-play-state: paused; }
.inv-bf-mq-group { display: flex; align-items: center; flex: none; }
.inv-bf-mq-item { padding: 18px 26px; font: 600 16px/1 var(--bf-sans); letter-spacing: 1.6px; text-transform: uppercase; white-space: nowrap; }
.inv-bf-mq-sep { font-size: 14px; opacity: .7; }
@keyframes inv-bf-mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* deals on warm charcoal, gold drips falling from the marquee */
.inv-bf-deals { position: relative; background: var(--bf-bg2); border-bottom: 0; padding-top: 104px; }
.inv-bf-deals .inv-bf-card { background: #1E1A15; border-color: #2E2922; }

/* ticket-style sticker next to headings */
.inv-bf-sticker { display: inline-block; vertical-align: middle; margin-left: 12px; padding: 6px 16px; background: var(--bf-gold); color: #0A0A0A; font: 700 18px/1 var(--bf-sans); letter-spacing: .5px; transform: rotate(-4deg) translateY(-4px); border-radius: 4px;
	-webkit-mask: radial-gradient(circle at 0 50%, transparent 6px, #000 6.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 6px, #000 6.5px) right / 51% 100% no-repeat;
	mask: radial-gradient(circle at 0 50%, transparent 6px, #000 6.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 6px, #000 6.5px) right / 51% 100% no-repeat; }

/* bento categories on black, charcoal drips from the deals */
.inv-bf-tiles-outer { position: relative; background: var(--bf-bg); }
.inv-bf-tiles-sec { padding: 104px 0 88px; }
.inv-bf-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 280px 280px; gap: 16px; }
.inv-bf-tile-c { position: relative; display: flex; align-items: flex-end; overflow: hidden; border-radius: 22px; background: #1E1A15; color: var(--bf-ink) !important; text-decoration: none !important; isolation: isolate; }
.inv-bf-tile-c.is-big { grid-column: span 2; grid-row: span 2; }
.inv-bf-tile-c img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.inv-bf-tile-c::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10, 10, 10, .78), rgba(10, 10, 10, 0) 55%); }
.inv-bf-tile-c:hover img { transform: scale(1.045); }
.inv-bf-tile-name { padding: 22px 24px; font: 600 22px/1.15 var(--bf-serif); }
.inv-bf-tile-c.is-big .inv-bf-tile-name { font-size: 34px; padding: 32px; }
.inv-bf-tile-c.is-promo { background: var(--bf-gold); color: #0A0A0A !important; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 22px 24px; gap: 4px; }
.inv-bf-tile-c.is-promo::after { display: none; }
.inv-bf-tile-c.is-promo .inv-bf-tile-name { padding: 0; color: #0A0A0A; }
.inv-bf-tile-sub { font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.inv-bf-tile-pct { position: absolute; top: -18px; right: 10px; font: 600 170px/1 var(--bf-serif); color: rgba(10, 10, 10, .14); }
.inv-bf-tile-c.is-promo:hover { background: var(--bf-gold-2); }
.inv-bf-tile-c:focus-visible { outline: 2px solid var(--bf-gold-2); outline-offset: 3px; }

/* Elementor sections: alternate black / charcoal, each one "drips" into the next (classes set by bf.js) */
body.inv-bf-drips .site-main .elementor > .inv-bf-sec { position: relative; border-top: 0 !important; margin-top: 0 !important; margin-bottom: 0 !important; padding-top: 96px !important; padding-bottom: 80px !important; }
body.inv-bf-drips .site-main .elementor > .inv-bf-sec.inv-bf-alt { background-color: var(--bf-bg2) !important; }
body.inv-bf-drips .site-main .elementor > .inv-bf-sec::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 40px; z-index: 2; pointer-events: none; background: var(--bf-prev, var(--bf-bg));
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440V12C1260 30 1090 38 900 30S560 6 380 10 120 32 0 24Z'/%3E%3C/svg%3E") center top / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440V12C1260 30 1090 38 900 30S560 6 380 10 120 32 0 24Z'/%3E%3C/svg%3E") center top / 100% 100% no-repeat; }
body.inv-bf-drips .inv-bf-seo-toggle-wrap { border-top: 0; }
body.inv-bf-drips .inv-bf-hero, body.inv-bf-drips .inv-bf-benefits { border-bottom: 0; }

@media (max-width: 820px) {
	.inv-bf-drip, body.inv-bf-drips .site-main .elementor > .inv-bf-sec::before { height: 22px; }
	.inv-bf-mq-item { padding: 14px 18px; font-size: 13px; }
	.inv-bf-deals { padding-top: 72px; }
	.inv-bf-tiles-sec { padding: 72px 0 56px; }
	.inv-bf-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 220px 170px 170px; gap: 10px; }
	.inv-bf-tile-c.is-big { grid-column: span 2; grid-row: span 1; }
	.inv-bf-tile-c.is-big .inv-bf-tile-name { font-size: 26px; padding: 20px; }
	.inv-bf-tile-name { font-size: 18px; padding: 16px; }
	.inv-bf-tile-pct { font-size: 120px; }
	.inv-bf-sticker { font-size: 15px; margin-left: 8px; }
	body.inv-bf-drips .site-main .elementor > .inv-bf-sec { padding-top: 64px !important; padding-bottom: 56px !important; }
}
@media (prefers-reduced-motion: reduce) {
	.inv-bf-mq-track { animation-duration: 90s; } /* phones with "reduce motion": keep one calm moving line instead of a wrapped static block */
	.inv-bf-tile-c img { transition: none; }
	.inv-bf-tile-c:hover img { transform: none; }
}

/* v1.2.2 – plain straight edges between blocks (no wave), alternating backgrounds stay */
.inv-bf-drip { display: none !important; }
body.inv-bf-drips .site-main .elementor > .inv-bf-sec::before { content: none !important; }
.inv-bf-deals { padding-top: 80px; }
.inv-bf-tiles-sec { padding-top: 80px; }
body.inv-bf-drips .site-main .elementor > .inv-bf-sec { padding-top: 80px !important; }
@media (max-width: 820px) {
	.inv-bf-deals, .inv-bf-tiles-sec { padding-top: 56px; }
	body.inv-bf-drips .site-main .elementor > .inv-bf-sec { padding-top: 56px !important; }
}

/* ================= v1.4 – Mystery Box ================= */
.inv-bf-bb { padding: 80px 0 0; }
.inv-bf-bb + .inv-bf-tiles-sec { padding-top: 72px; }
.inv-bf-bb-panel { position: relative; display: flex; flex-direction: column; gap: 36px; padding: 48px 56px; border-radius: 28px; overflow: hidden; isolation: isolate;
	background: radial-gradient(120% 140% at 0% 50%, #2A2116 0%, #16130F 45%, #0F0D0A 100%); border: 1px solid rgba(217, 188, 140, .35); }
.inv-bf-bb-panel::after { content: "?"; position: absolute; right: -10px; bottom: -70px; z-index: -1; font: 600 340px/1 var(--bf-serif); color: rgba(217, 188, 140, .05); pointer-events: none; }
.inv-bf-bb-intro { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: center; gap: 40px; }
.inv-bf-bb-visual { display: flex; justify-content: center; }
.inv-bf-box { width: 100%; max-width: 220px; height: auto; overflow: visible; }
.inv-bf-bb-facts { grid-template-columns: 1fr; }
/* the five boxes */
.inv-bf-mb-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.inv-bf-mb { display: flex; flex-direction: column; margin: 0; background: #1E1A15; border: 1px solid #2E2922; border-radius: 18px; overflow: hidden; transition: border-color .2s, transform .2s; }
.inv-bf-mb:hover { border-color: rgba(217, 188, 140, .55); transform: translateY(-3px); }
.inv-bf-mb-img { position: relative; display: block; aspect-ratio: 1 / 1; background: #F4EFE8; overflow: hidden; }
.inv-bf-mb-img img, .inv-bf-mb-img svg { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.inv-bf-mb:hover .inv-bf-mb-img img { transform: scale(1.04); }
.inv-bf-mb-no { position: absolute; left: 10px; top: 10px; padding: 5px 10px; border-radius: 999px; background: #0A0A0A; color: var(--bf-gold); font: 700 12px/1 var(--bf-sans); letter-spacing: 1px; }
.inv-bf-mb-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 16px; flex: 1; }
.inv-bf-mb-name { color: var(--bf-ink) !important; font: 600 17px/1.25 var(--bf-serif); text-decoration: none !important; }
.inv-bf-mb-name:hover { color: var(--bf-gold-2) !important; }
.inv-bf-mb-price { color: var(--bf-gold-2); font-weight: 600; font-size: 16px; }
.inv-bf-mb-price del { color: var(--bf-muted); font-size: .85em; margin-right: 4px; }
.inv-bf-mb-price ins { text-decoration: none; }
.inv-bf-mb .inv-bf-bb-left { margin: 0; font-size: 12px; }
.inv-bf-mb .inv-bf-add { margin-top: auto; }
.inv-bf-mb .added_to_cart { color: var(--bf-gold) !important; font-size: 13px; font-weight: 600; text-align: center; padding-top: 6px; }
.inv-bf-box-lid { animation: inv-bf-lid 3.2s ease-in-out infinite; transform-origin: 160px 150px; }
.inv-bf-box-body { animation: inv-bf-float 3.2s ease-in-out infinite; }
.inv-bf-box-spark path { animation: inv-bf-spark 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.inv-bf-box-spark path:nth-child(2) { animation-delay: .6s; } .inv-bf-box-spark path:nth-child(3) { animation-delay: 1.2s; } .inv-bf-box-spark path:nth-child(4) { animation-delay: 1.8s; }
@keyframes inv-bf-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes inv-bf-lid { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-16px) rotate(-3deg); } }
@keyframes inv-bf-spark { 0%, 100% { opacity: .25; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.1); } }
.inv-bf-bb-img { width: 100%; max-width: 420px; height: auto; border-radius: 20px; }
.inv-bf-bb-copy .inv-bf-sticker { transform: rotate(5deg) translateY(-4px); }
.inv-bf-bb-text { margin: 16px 0 0; color: var(--bf-muted); font-size: 16px; line-height: 1.6; max-width: 54ch; }
.inv-bf-bb-facts { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.inv-bf-bb-facts li { position: relative; padding-left: 28px; color: var(--bf-ink); font-size: 15px; line-height: 1.5; }
.inv-bf-bb-facts li::before { content: "✦"; position: absolute; left: 0; top: 0; color: var(--bf-gold); }
.inv-bf-bb-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.inv-bf-bb-price { color: var(--bf-gold-2); font: 600 34px/1 var(--bf-serif); }
.inv-bf-bb-price del { color: var(--bf-muted); font-size: .55em; margin-right: 6px; }
.inv-bf-bb-price ins { text-decoration: none; }
.inv-bf-bb-buy .added_to_cart { color: var(--bf-gold) !important; font-weight: 600; }
.inv-bf-bb-left { margin: 14px 0 0; color: var(--bf-gold); font-size: 13px; font-weight: 600; letter-spacing: .5px; }
.inv-bf-bb-left span { animation: inv-bf-spark 1.6s ease-in-out infinite; display: inline-block; }
@media (max-width: 820px) {
	.inv-bf-bb { padding-top: 56px; }
	.inv-bf-bb + .inv-bf-tiles-sec { padding-top: 48px; }
	.inv-bf-bb-panel { gap: 24px; padding: 28px 0 28px 20px; border-radius: 22px; }
	.inv-bf-bb-intro { grid-template-columns: 1fr; gap: 8px; padding-right: 20px; }
	.inv-bf-box { max-width: 160px; }
	.inv-bf-bb-facts { grid-template-columns: 1fr; }
	.inv-bf-mb-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding: 0 20px 6px 0; scrollbar-width: none; }
	.inv-bf-mb-list::-webkit-scrollbar { display: none; }
	.inv-bf-mb { flex: 0 0 62%; scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) {
	.inv-bf-box-lid, .inv-bf-box-body, .inv-bf-box-spark path, .inv-bf-bb-left span { animation: none; }
	.inv-bf-mb, .inv-bf-mb-img img { transition: none; }
}
@media (min-width: 821px) and (max-width: 1100px) {
	.inv-bf-mb-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.inv-bf-bb-facts { grid-template-columns: 1fr; }
}
.inv-bf-bb-text + .inv-bf-bb-text { margin-top: 10px; }
.inv-bf .inv-bf-bb-ft { margin: 22px 0 0; color: var(--bf-gold) !important; font: 600 13px/1.3 var(--bf-sans) !important; letter-spacing: 1.6px; text-transform: uppercase; }
.inv-bf-bb-ft + .inv-bf-bb-facts { margin-top: 12px; }

/* "Skompletuj zestaw" carousel (Elementor/LBX) – same rounded cards as the BF deals above */
body.inv-bf-home .site-main .lbx-result-item { border-radius: var(--bf-radius); overflow: hidden; }
body.inv-bf-home .site-main .lbx-result-item .lb-image-wrapper { display: block; border-radius: var(--bf-radius) var(--bf-radius) 0 0; overflow: hidden; }

/* no "Zobacz koszyk" link under tiles after AJAX add-to-cart (mini-cart/counter already confirm it) */
body.inv-bf-home a.added_to_cart { display: none !important; }

/* swipe hint on mobile carousels */
.inv-bf-swipe { position: relative; }
.inv-bf-swipe-hint { display: none; }
@media (max-width: 820px) {
	.inv-bf-swipe-hint { display: flex; align-items: center; justify-content: center; position: absolute; right: 6px; top: 34%; z-index: 4; width: 38px; height: 38px; padding: 0; border: 1px solid rgba(236, 216, 180, .35); border-radius: 50%; background: rgba(10, 10, 10, .45); color: var(--bf-gold-2); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); box-shadow: 0 4px 14px rgba(0, 0, 0, .35); cursor: pointer; transition: opacity .25s; animation: inv-bf-nudge 1.8s ease-in-out infinite; }
	.inv-bf-swipe.is-end .inv-bf-swipe-hint { opacity: 0; pointer-events: none; }
	.inv-bf-bb .inv-bf-swipe-hint { right: 12px; }
}
@keyframes inv-bf-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .inv-bf-swipe-hint { animation: none; } }
