/* ==========================================================================
   UMED Factory – main.css
   ========================================================================== */

:root {
	--c-text: #000000;
	--c-muted: #6f6f6f;
	--c-line: #eeeeee;
	--c-soft: #fafafa;
	--c-bg: #fff;
	--c-dark: #000;
	--c-sale: #d2302c;
	--c-accent: #3d9cd2;
	--font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--radius: 3px;
	--radius-sm: 2px;
	--container: 1600px;
	--gutter: 5vw; /* = (100% - 90%) / 2 */
	--gap: clamp(10px, 1.2vw, 16px);
	--track: .1em;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 14px;
	line-height: 1.5;
	color: var(--c-text);
	background: var(--c-bg);
	letter-spacing: .0em;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
img, video, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .6em; font-weight: 600; line-height: 1.2; letter-spacing: .03em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--c-dark); outline-offset: 3px; }
[hidden] { display: none !important; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: #000; color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 10px; top: 10px; }

.container { width: 92%; max-width: var(--container); margin-inline: auto; }
.container.container-narrow { width: 90%; max-width: 1100px; margin-inline: auto; }
.site-main { padding-bottom: clamp(40px, 6vw, 80px); }

.icon { width: 22px; height: 22px; flex: none; }


/* ==========================================================================
   Typografia treści (regulaminy, strony tekstowe)
   ========================================================================== */
.entry-content > * + h1,
.entry-content > * + h2,
.entry-content > * + h3,
.entry-content > * + h4,
.entry-content > * + h5,
.entry-content > * + h6 { margin-top: 2em; }

.entry-content h1, .entry-content h2, .entry-content h3,
.entry-content h4, .entry-content h5, .entry-content h6 { margin-bottom: .75em; line-height: 1.3; }

.entry-content h3 { font-size: clamp(18px, 1.5vw, 21px); font-weight: 600; }
.entry-content h4 { font-size: 16px; font-weight: 600; letter-spacing: .04em; margin-top: 1.6em; }
.entry-content h5, .entry-content h6 { font-size: 15px; font-weight: 600; }

/* Pierwszy nagłówek w treści bez górnego odstępu */
.entry-content > :first-child { margin-top: 0; }

/* Akapity i listy */
.entry-content p, .entry-content ul, .entry-content ol { margin-bottom: 1em; line-height: 1.55; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li { margin-bottom: .4em; }
.entry-content li > ul, .entry-content li > ol { margin: .4em 0 .6em; }

/* ---------- Buttons ---------- */
.btn,
.button,
button.button,
input[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 28px;
	background: var(--c-dark); color: #fff;
	border: 1px solid var(--c-dark); border-radius: var(--radius-sm);
	font-weight: 700; font-size: 16px; letter-spacing: .04em; line-height: 1.2;
	cursor: pointer; transition: background .2s, color .2s, transform .2s;
	text-decoration: none;
}
.btn:hover, .button:hover, input[type="submit"]:hover { background: none; color: var(--c-dark); }
.btn--sm { min-height: 38px; padding: 9px 24px; font-size: 12.5px; letter-spacing: var(--track); text-transform: uppercase; }
.btn--outline { background: transparent; color: var(--c-dark); }
.btn--outline:hover { background: var(--c-dark); color: #fff; }
.wp-block-file:not(.wp-element-button) {font-size: 1em;text-decoration: none;display: flex;justify-content: space-between;align-items: center;margin: 30px 0;border-top: 1px dashed #aaa;border-bottom: 1px dashed #aaa;padding: 15px 0;}
.wp-block-file a {text-decoration: none!important;}
/* ---------- Forms ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
input[type="search"], input[type="number"], input[type="url"], select, textarea {
	width: 100%; min-height: 46px; padding: 10px 14px;
	border: 1px solid #d5d5d5; border-radius: var(--radius-sm); background: #fff;
	transition: border-color .2s;
}
input:focus, select:focus, textarea:focus { border-color: var(--c-dark); outline: none; }
label { font-size: 13px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: relative; z-index: 50; background: #fff; }
.topbar {
	display: flex; align-items: center; justify-content: space-between;
	min-height: 50px; border-bottom: 1px solid var(--c-line);
}
.topbar__left { display: flex; align-items: center; gap: 36px; }
.social { display: flex; align-items: center; gap: 6px; list-style: none; }
.social a { display: inline-flex; padding: 2px; transition: opacity .2s; }
.social a:hover { opacity: .6; }
.social--lg { gap: 18px; }
.social--lg .icon { width: 36px; height: 36px; stroke-width: 1.4; }

.top-nav__list { display: flex; list-style: none; align-items: center; }
.top-nav__list li { display: flex; align-items: center; }
.top-nav__list li + li::before { content: "|"; margin: 0 15px; font-size: 10px; }
.top-nav__list a { font-size: 10px; font-weight: 600; letter-spacing: var(--track); text-transform: uppercase; }
.top-nav__list a:hover, .top-nav__list .current-menu-item > a { text-decoration: none; text-underline-offset: 4px; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; padding: 0; border: 0; background: none; color: inherit; border-radius: 50%;
	transition: background .2s;
}
.icon-btn:hover { background: var(--c-soft); }
.cart-count {
	position: absolute; top: 4px; right: 2px;
	min-width: 16px; height: 16px; padding: 0 4px;
	border-radius: 8px; background: var(--c-dark); color: #fff;
	font-size: 10px; font-weight: 700; line-height: 16px; text-align: center; letter-spacing: 0;
}
.cart-count.is-empty { display: none; }

.mainbar {
	display: flex; align-items: center; gap: 30px;
	min-height: 70px;
}
.site-logo { flex: none; }
.site-logo img, .custom-logo { max-height: 44px; width: auto; }
.logo--text { font-weight: 900; font-size: 20px; line-height: 1; letter-spacing: -.02em; text-transform: uppercase; }

.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 40px; list-style: none; }
.main-nav__list > li { position: relative; }
.main-nav__list a {
	display: block; padding: 10px 0;
	font-size: 11px; font-weight: 600; letter-spacing:1.5px; text-transform: uppercase;
	position: relative;
}
.main-nav__list > li > a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor;
	transform: scaleX(0); transition: transform .25s var(--ease);
}
.main-nav__list > li:hover > a::after,
.main-nav__list > li.current-menu-item > a::after,
.main-nav__list > li.current-menu-ancestor > a::after,
.main-nav__list > li.current-product_cat-ancestor > a::after { transform: scaleX(1); }
.menu-item--sale > a, .menu-sale > a { color: var(--c-sale); }

.main-nav .sub-menu {
	position: absolute; left: 50%; top: 100%; min-width: 210px; padding: 12px 0;
	list-style: none; background: #000000; border-radius: var(--radius-sm);
	opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: .2s var(--ease);
}
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.main-nav .sub-menu a { padding: 7px 20px; white-space: nowrap; color: #ffffff; }
.main-nav .sub-menu a:hover { background: #222222;}

.mainbar__actions, .nav-toggle { display: none; }

/* Search panel */
.search-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--c-line); box-shadow: 0 20px 40px rgba(0, 0, 0, .06); padding: 20px 0; }
.search-panel .container { display: flex; align-items: center; gap: 12px; }
.search-form { position: relative; flex: 1; display: flex; }
.search-form__input { padding-right: 52px; min-height: 52px; font-size: 16px; }
.search-form__submit { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; background: none; display: grid; place-items: center; }

/* Offcanvas */
.offcanvas { position: fixed; inset: 0; z-index: 200; }
.offcanvas__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); opacity: 0; transition: opacity .3s; }
.offcanvas__panel {
	position: absolute; top: 0; bottom: 0; left: 0; width: min(88vw, 380px);
	background: #fff; padding: 18px 24px 32px; overflow-y: auto;
	transform: translateX(-100%); transition: transform .35s var(--ease);
	display: flex; flex-direction: column; gap: 24px;
}
.offcanvas.is-open .offcanvas__backdrop { opacity: 1; }
.offcanvas.is-open .offcanvas__panel { transform: none; }
.offcanvas__head { display: flex; align-items: center; justify-content: space-between; }
.mobile-nav__list { list-style: none; }
.mobile-nav__list a { display: block; padding: 13px 0; border-bottom: 1px solid var(--c-line); font-size: 14px; font-weight: 500; letter-spacing: var(--track); text-transform: uppercase; }
.mobile-nav__list .sub-menu { list-style: none; padding-left: 16px; }
.mobile-nav__list .sub-menu a { font-size: 13.5px; text-transform: none; letter-spacing: .04em; }
.mobile-nav--secondary a { font-size: 12.5px; border: 0; padding: 8px 0; color: var(--c-muted); }
.social--mobile .icon { width: 28px; height: 28px; }

/* ==========================================================================
   Typography helpers
   ========================================================================== */
.page-title { font-size: clamp(20px, 3.2vw, 30px); font-weight: 800; letter-spacing: 1px; margin: 0 0 40px; }
.page-title strong { font-weight: 700; }
.entry-content { max-width: 860px; }
.page .entry-content, .woocommerce-cart .entry-content, .woocommerce-checkout .entry-content, .woocommerce-account .entry-content { max-width: none; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: var(--radius); }
.site-main.page, .site-main:not(.home):not(.shop) { padding-top: clamp(28px, 4vw, 48px); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; margin-top: 4px; margin-bottom: clamp(20px, 2vw, 20px); }
.hero__frame {
	position: relative; overflow: hidden; border-radius: var(--radius);
	aspect-ratio: 2.53 / 1; min-height: 380px; background: #ffffff;
	isolation: isolate;
}
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility .9s; }
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero__media { position: absolute; inset: 0; overflow: hidden; container-type: size; }
.hero__media picture, .hero__img, .hero__video, .hero__poster { width: 100%; height: 100%; object-fit: cover; }
.hero__img { transform: scale(1.04); transition: transform 7s linear; }
.hero__slide.is-active .hero__img { transform: scale(1); }
.hero__poster { position: absolute; inset: 0; }
.hero__embed {
	position: absolute; top: 50%; left: 50%; border: 0; pointer-events: none;
	width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw);
	transform: translate(-50%, -50%);
}
.hero__content {
	position: absolute; inset: 0; z-index: 2;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	padding: 24px; text-align: center; padding-top: 14%;
}
.hero__slide--light .hero__content { color: #fff; }
.hero__slide--light .hero__content .btn { background: #fff; color: #000; border-color: #fff; }
.hero__title {
	margin: 0; font-size: clamp(36px, 5.6vw, 82px); font-weight: 900; line-height: .95;
	letter-spacing: -.005em; text-transform: uppercase;
}
.hero__subtitle { margin: 14px 0 0; font-size: clamp(14px, 1.7vw, 24px); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 22px; }
.hero__buttons .btn { min-width: 128px; }

.hero__dots { position: absolute; right: -26px; top: 50%; transform: translateY(-15%); display: flex; flex-direction: column; gap: 10px; }
.hero__dot { width: 12px; height: 46px; padding: 0; border: 0; background: none; position: relative; }
.hero__dot::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: #c8c8c8; transition: .3s; }
.hero__dot.is-active::before { width: 2px; background: #000; }
/* Hero: usunięcie ciemnej krawędzi wideo w Chrome */
.hero__video,
.hero__poster {
	position: absolute;
	top: -1px; left: -1px;
	width: calc(100% + 2px);
	height: calc(100% + 2px);
	max-width: none;
	background: transparent;
}
.hero__frame,
.hero__media {
	transform: translateZ(0);
	-webkit-mask-image: -webkit-radial-gradient(white, black); /* czyste przycięcie zaokrąglonych rogów w Chrome/Safari */
}

/* ==========================================================================
   Tiles (kafelki kategorii)
   ========================================================================== */
.tiles { margin: 0 0 clamp(36px, 5vw, 60px); }
.tiles--heading { display: grid; grid-template-columns: 70px 1fr; column-gap: clamp(16px, 2.5vw, 50px); }
.tiles__heading {
	grid-row: span 2; margin: 0; align-self: start;
	writing-mode: vertical-rl; transform: rotate(180deg);
	font-size: clamp(30px, 3vw, 46px); line-height: 1; font-weight: 300; letter-spacing: .02em; text-transform: uppercase;
	white-space: nowrap; text-align: right;
}
.tiles__heading strong { font-weight: 900; margin-top: .25em; }
.tiles__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.tile {
	position: relative; display: block; overflow: hidden; border-radius: var(--radius-sm);
	aspect-ratio: 310 / 402; background: var(--c-soft);
}
.tile__img, .tile__hover { width: 100%; height: 100%; object-fit: cover; transition: opacity .45s var(--ease), transform .8s var(--ease); }
.tile__hover { position: absolute; inset: 0; opacity: 0; }
@media (hover: hover) {
	.tile:hover .tile__hover { opacity: 1; }
	.tile:hover .tile__img, .tile:hover .tile__hover { transform: scale(1.03); }
}
.tile__label { z-index: 1; }
.tiles--grid .tiles__grid { row-gap: clamp(16px, 2vw, 28px); }
.tile__label {
	position: absolute; left: 20px; bottom: 20px;
	writing-mode: vertical-rl; transform: rotate(180deg);
	color: #000000; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.tiles__more { grid-column: -2; text-align: right; margin-top: 22px; }
.more-link { font-size: 13px; font-weight: 600; letter-spacing: .08em;transition: .3s; }
.more-link span { margin-right: 4px; }
.more-link:hover { text-decoration: none; color: #000000; padding-right: 10px; transition: .3s;}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { background: #000; color: #fff; padding: 70px 0 10px 0}
.site-footer .container { padding-inline: clamp(0px, 4vw, 70px); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px clamp(24px, 3vw, 48px); }
.footer-brand { flex: 0 1 220px; }
.footer-brand .logo img { max-height: 54px; width: auto; }
.footer-brand .logo--text { font-size: 26px; }
.footer-contact { margin-top: 40px; font-size: 13px; line-height: 1.5; letter-spacing: .02em; color: #ddd; }
.footer-contact p { margin: 0 0 1.6em; }
.footer-contact a:hover { text-decoration: underline; }
.footer-col { flex: 0 1 auto; min-width: 140px; padding-top: 10px; }
.footer-col__title { font-size: 17px; font-weight: 600; letter-spacing: .12em; margin-bottom: 16px; }
.footer-menu { list-style: none; }
.footer-menu a { display: inline-block; font-size: 13px; line-height: 2; letter-spacing: .06em; color: #ddd; }
.footer-menu a:hover { color: #fff; text-decoration: underline; }
.footer-trust { flex: 0 0 auto; padding-top: 12px; }

.footer-bottom { margin-top: 48px; border-top: 1px solid #555; padding: 34px 0 40px; }
.footer-bottom__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; list-style: none; }
.footer-bottom__list a { font-size: 11px; font-weight: 400; letter-spacing: var(--track); text-transform: uppercase; }
.footer-bottom__list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.copyright { padding: 44px 0; font-size: 12px; color: #333333; }
.copyright .container { padding-inline: clamp(0px, 4vw, 70px); }

/* Trust list */
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 18px 40px; }
.trust__item { display: flex; align-items: center; gap: 18px; }
.trust__icon { width: 20px; height: 20px; stroke-width: 1.3; }
.trust__text { display: flex; flex-direction: column; font-size: 10px; line-height: 1.2; letter-spacing: 1px; }
.trust__text strong { font-weight: 700; text-transform: uppercase; }
.trust--footer { flex-direction: column; gap: 32px; }
.trust--footer .trust__icon { width: 40px; height: 40px; }
.trust--footer .trust__text strong { max-width: 130px; }
.trust--compact { gap: 16px 30px; }
.trust--compact .trust__icon { width: 20px; height: 20px; }
.trust--compact .trust__text strong { max-width: 120px; }

/* ==========================================================================
   Treść blokowa (szablon „Bez tytułu”)
   ========================================================================== */
.page--no-title { padding-top: clamp(24px, 3vw, 40px); }
.entry-content--blocks { max-width: none; }
.entry-content--blocks > * { margin-block: 0 clamp(20px, 2.5vw, 32px); }
.entry-content .alignwide { width: 100%; }
.entry-content .alignfull { width: 100vw; max-width: 100vw; margin-inline: calc(50% - 50vw); }
.entry-content .alignfull img, .entry-content .alignfull .wp-block-cover { border-radius: 0; }
.entry-content h1 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 400; letter-spacing: .04em; }
.entry-content h1 strong, .entry-content h2 strong { font-weight: 800; }
.entry-content h2 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; letter-spacing: .03em; }
.entry-content h3 { font-size: clamp(19px, 1.6vw, 22px); }
.entry-content .wp-block-columns { gap: clamp(24px, 4vw, 64px); }
.entry-content .wp-block-image img, .entry-content .wp-block-cover { border-radius: var(--radius); }
.entry-content .wp-block-button__link { background: #000; color: #fff; border-radius: var(--radius-sm); padding: 12px 28px; font-weight: 700; text-decoration: none; }
.entry-content .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: #000; border: 1.5px solid #000; }
.entry-content .wp-block-separator { border: 0; border-top: 1px solid var(--c-line); }
.entry-content .wp-block-quote { border-left: 3px solid #000; margin-left: 0; padding-left: 24px; font-size: 1.15em; }
.entry-content .has-background { border-radius: var(--radius); padding: clamp(24px, 4vw, 56px); }

/* ==========================================================================
   Blog / misc
   ========================================================================== */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px var(--gap); }
.post-card__img { border-radius: var(--radius-sm); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.post-card__title { font-size: 19px; margin: 14px 0 8px; }
.post-card__excerpt { color: var(--c-muted); font-size: 15px; }
.entry-meta { color: var(--c-muted); font-size: 14px; }
.entry-thumb img { border-radius: var(--radius); margin-bottom: 24px; }
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.nav-links .page-numbers { min-width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--c-line); border-radius: var(--radius-sm); font-size: 13px; }
.nav-links .page-numbers.current { background: #000; color: #fff; border-color: #000; }
.error-404 { text-align: center; max-width: 620px; padding-block: 40px; }
.error-404__code { font-size: clamp(80px, 14vw, 160px); font-weight: 900; line-height: 1; margin: 0; }
.error-404 .search-form { margin: 28px 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199px) {
	.main-nav__list { gap: 4px 20px; }
	.footer-grid { justify-content: flex-start; column-gap: clamp(40px, 6vw, 80px); }
	.footer-brand { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px 60px; }
	.footer-brand .footer-contact { margin-top: 0; }
	.footer-trust { flex-basis: 100%; }
	.trust--footer { flex-direction: row; gap: 24px 48px; }
}

@media (max-width: 991px) {
	.topbar, .main-nav { display: none; }
	.nav-toggle, .mainbar__actions { display: flex; }
	.mainbar { min-height: 64px; gap: 8px; justify-content: space-between; }
	.site-logo { position: absolute; left: 50%; transform: translateX(-50%); }
	.site-logo img, .custom-logo { max-height: 36px; }
	.mainbar__actions .header-actions { gap: 0; }
	.site-header { position: sticky; top: 0; }
	.admin-bar .site-header { top: 46px; }

	.hero__frame { aspect-ratio: 16 / 10; }
	.hero__content { padding-top: 10%; }
	.hero__dots { position: static; transform: none; flex-direction: row; justify-content: center; margin-top: 14px; gap: 8px; }
	.hero__dot { width: 36px; height: 12px; }
	.hero__dot::before { left: 0; right: 0; top: 50%; bottom: auto; width: auto; height: 1px; }
	.hero__dot.is-active::before { width: auto; height: 2px; }

	.tiles__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.newsletter__follow { margin-left: 0; width: 100%; }
}

@media (max-width: 782px) and (min-width: 601px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

@media (max-width: 767px) {
	body { font-size: 15px; }
	.hero__frame { aspect-ratio: 4 / 5; min-height: 0; }
	.hero__content { padding-top: 24px; justify-content: flex-end; padding-bottom: 36px; }

	.tiles--heading { grid-template-columns: 1fr; }
	.tiles__heading { writing-mode: horizontal-tb; transform: none; text-align: left; margin-bottom: 16px; font-size: 30px; }
	.tiles__heading strong { margin-top: 0; margin-left: .25em; }
	/* Mobile: przewijane kafelki */
	.tiles__grid {
		grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%;
		overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
		margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
	}
	.tiles__grid::-webkit-scrollbar { display: none; }
	.tile { scroll-snap-align: start; }
	/* Boksy na stronie głównej: siatka 2 kolumny zamiast przewijania */
	.tiles--grid .tiles__grid {
		grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, minmax(0, 1fr));
		overflow: visible; margin-inline: 0; padding-inline: 0; gap: 10px;
	}
	.tiles--grid .tile__label { left: 10px; bottom: 10px; font-size: 10px; }
	.tiles__more { grid-column: auto; }

	.newsletter__inner { padding-inline: 0; flex-direction: column; align-items: flex-start; gap: 20px; }
	.newsletter__text { flex: none; }
	.site-footer .container, .copyright .container { padding-inline: 0; }
	.footer-grid { gap: 32px 20px; }
	.footer-brand { flex-direction: column; gap: 24px; }
	.footer-col { flex: 1 1 calc(50% - 20px); min-width: 0; }
	.trust--footer { flex-direction: column; }
	.copyright { padding: 24px 0; }
}

@media (max-width: 420px) {
	.footer-col { flex-basis: 100%; }
}
