/* ==========================================================================
   MixRent – style motywu
   Dwa główne kolory marki: żółty (#ed9d00) i czarny. Reszta to biel i jasna szarość.
   ========================================================================== */

/* ---------- Kroje (hostowane lokalnie, bez zewnętrznych serwerów) ---------- */

@font-face {
	font-family: "Bricolage Grotesque";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/bricolage-grotesque-latin-ext-wght-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Bricolage Grotesque";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Zmienne ---------- */

:root {
	--mr-yellow: #ed9d00;
	--mr-yellow-light: #ffc94a;
	--mr-black: #111111;
	--mr-white: #ffffff;
	--mr-surface: #f4f4f1;
	--mr-gray: #5d5d5a;
	--mr-line: #e4e4df;

	--mr-display: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
	--mr-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--mr-gutter: clamp(1rem, 4vw, 2.5rem);
	--mr-section: clamp(3.5rem, 8vw, 6.5rem);
	--mr-radius: 18px;
	--mr-radius-lg: 28px;
}

/* ---------- Podstawy ---------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--mr-white);
	color: var(--mr-black);
	font-family: var(--mr-body);
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--mr-black);
	text-decoration-color: var(--mr-yellow);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

a:hover {
	text-decoration-color: var(--mr-black);
}

:focus-visible {
	outline: 3px solid var(--mr-yellow);
	outline-offset: 3px;
}

h1,
h2,
h3 {
	margin: 0 0 0.5em;
	font-family: var(--mr-display);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.03em;
	text-wrap: balance;
}

p {
	margin: 0 0 1em;
}

address {
	font-style: normal;
}

.container {
	width: 100%;
	max-width: 80rem;
	margin-inline: auto;
	padding-inline: var(--mr-gutter);
}

.skip-link {
	position: absolute;
	left: 0.5rem;
	top: -4rem;
	z-index: 100;
	padding: 0.6rem 1.1rem;
	border-radius: 999px;
	background: var(--mr-yellow);
	color: var(--mr-black);
	font-weight: 700;
}

.skip-link:focus {
	top: 0.5rem;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

/* ---------- Przyciski ---------- */

.button,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3.25rem;
	padding: 0.6rem 1.6rem;
	border: 1.5px solid var(--mr-black);
	border-radius: 999px;
	background: transparent;
	color: var(--mr-black);
	font-family: var(--mr-body);
	font-size: 1.02rem;
	font-weight: 700;
	line-height: 1.1;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.button:hover {
	background: var(--mr-black);
	color: #fff;
}

.button--primary {
	border-color: var(--mr-yellow);
	background: var(--mr-yellow);
	color: var(--mr-black);
}

.button--primary:hover {
	border-color: var(--mr-black);
	background: var(--mr-black);
	color: #fff;
}

/* ---------- Górny pasek ---------- */

.topbar {
	background: var(--mr-black);
	color: #d9d9d6;
	font-size: 0.9rem;
}

.topbar__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.2rem 1.5rem;
	padding-block: 0.5rem;
}

.topbar p {
	margin: 0;
}

.topbar__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.5rem;
}

.topbar a {
	color: #fff;
	text-decoration: none;
}

.topbar a:hover {
	text-decoration: underline;
	text-decoration-color: var(--mr-yellow);
}

.topbar .topbar__phone {
	color: var(--mr-yellow);
	font-weight: 800;
}

.topbar__hours.is-open::before,
.topbar__hours.is-closed::before {
	content: "";
	display: inline-block;
	width: 0.55em;
	height: 0.55em;
	margin-right: 0.55em;
	border-radius: 50%;
	background: #58d17e;
}

.topbar__hours.is-closed::before {
	background: #8a8a86;
}

/* ---------- Nagłówek ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.94);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--mr-line);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 1rem 2rem;
	min-height: 4.75rem;
}

.site-logo {
	flex: none;
	line-height: 0;
}

.site-logo img {
	display: block;
	width: auto;
	height: 2.75rem;
	max-width: 11rem;
	object-fit: contain;
}

.wordmark {
	display: inline-block;
	padding: 0.5rem 1rem;
	border-radius: 12px;
	background: var(--mr-black);
	color: #fff;
	font-family: var(--mr-display);
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
}

.wordmark span:last-child {
	color: var(--mr-yellow);
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 1rem 1.25rem;
	margin-left: auto;
}

.site-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav__list a {
	display: block;
	padding: 0.55rem 0.9rem;
	border-radius: 999px;
	color: var(--mr-black);
	font-size: 0.98rem;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.15s ease;
}

.site-nav__list a:hover {
	background: var(--mr-surface);
}

.site-nav__list .current-menu-item > a,
.site-nav__list .current_page_item > a {
	background: var(--mr-black);
	color: #fff;
}

.site-nav__cta {
	min-height: 2.9rem;
}

.nav-toggle {
	display: none;
	align-items: center;
	gap: 0.6rem;
	min-height: 2.9rem;
	margin-left: auto;
	padding: 0.4rem 1.1rem;
	border: 0;
	border-radius: 999px;
	background: var(--mr-black);
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	display: block;
	width: 1.1rem;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}

.nav-toggle__bars {
	position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
	content: "";
	position: absolute;
	left: 0;
}

.nav-toggle__bars::before {
	top: -5px;
}

.nav-toggle__bars::after {
	top: 5px;
}

@media (max-width: 63.99rem) {
	.nav-toggle {
		display: inline-flex;
	}

	.site-nav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 0.75rem;
		margin: 0;
		padding: 0.75rem var(--mr-gutter) 1.5rem;
		background: var(--mr-white);
		border-bottom: 1px solid var(--mr-line);
		box-shadow: 0 24px 40px rgba(17, 17, 17, 0.12);
	}

	.site-nav.is-open {
		display: flex;
	}

	.site-nav__list {
		flex-direction: column;
		gap: 0.15rem;
	}

	.site-nav__list a {
		padding: 0.85rem 1rem;
		border-radius: 12px;
		font-size: 1.1rem;
	}

	.topbar__links a:not(.topbar__phone) {
		display: none;
	}
}

/* ---------- Strona główna: żółty panel ---------- */

.hero {
	padding-block: clamp(0.75rem, 2vw, 1.5rem) 0;
}

.hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 11fr) minmax(0, 10fr);
	align-items: center;
	gap: clamp(2rem, 5vw, 4rem);
	padding: clamp(1.75rem, 4vw, 3.25rem) clamp(1.75rem, 4.5vw, 3.75rem);
	border-radius: var(--mr-radius-lg);
	background: var(--mr-yellow);
	color: var(--mr-black);
}

.hero__title {
	margin: 0 0 0.35em;
	font-size: clamp(2.6rem, 5.6vw, 4.4rem);
	line-height: 0.98;
	letter-spacing: -0.04em;
}

.hero__lead {
	max-width: 32rem;
	margin-bottom: 2rem;
	font-size: 1.15rem;
	font-weight: 500;
}

.hero-search {
	position: relative;
	max-width: 33rem;
}

.hero-search label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 700;
}

.hero-search__row {
	display: flex;
	gap: 0.4rem;
	padding: 0.4rem;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(17, 17, 17, 0.14);
}

.hero-search__row:focus-within {
	outline: 3px solid var(--mr-black);
	outline-offset: 2px;
}

.hero-search input {
	flex: 1;
	min-width: 0;
	min-height: 3rem;
	padding: 0.5rem 0.5rem 0.5rem 1.2rem;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--mr-black);
	font: inherit;
	font-size: 1.05rem;
}

.hero-search input:focus {
	outline: none;
}

.hero-search .button {
	min-height: 3rem;
	border-color: var(--mr-black);
	background: var(--mr-black);
	color: #fff;
}

.hero-search .button:hover {
	background: #333;
}

.hero-search__results {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 0.5rem);
	z-index: 20;
	margin: 0;
	padding: 0.4rem;
	list-style: none;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 20px 44px rgba(17, 17, 17, 0.22);
}

.hero-search__results a {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.7rem 0.9rem;
	border-radius: 14px;
	color: var(--mr-black);
	font-weight: 600;
	text-decoration: none;
}

.hero-search__results a:hover,
.hero-search__results a:focus-visible {
	background: var(--mr-surface);
}

.hero-search__results span:last-child {
	flex: none;
	color: var(--mr-gray);
	font-weight: 500;
}

.hero-search__results .is-empty {
	padding: 0.7rem 0.9rem;
	color: var(--mr-gray);
}

.hero__call {
	margin: 1.5rem 0 0;
	font-weight: 500;
}

.hero__call a {
	font-weight: 800;
	white-space: nowrap;
	text-decoration-color: var(--mr-black);
}

/* Trzy karty z przykładowymi cenami: jedna duża, dwie mniejsze */
.hero-cards {
	display: grid;
	grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
	grid-template-rows: 1fr 1fr;
	gap: 0.85rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hero-card {
	display: flex;
	animation: mr-rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-card:nth-child(1) {
	grid-row: 1 / span 2;
}

.hero-card:nth-child(2) {
	animation-delay: 0.08s;
}

.hero-card:nth-child(3) {
	animation-delay: 0.16s;
}

.hero-card a {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1rem 1.15rem 1.1rem;
	border-radius: 22px;
	background: #fff;
	color: var(--mr-black);
	text-decoration: none;
	transition: transform 0.2s ease;
}

.hero-card a:hover {
	transform: translateY(-3px);
}

.hero-card a:focus-visible {
	outline-color: var(--mr-black);
}

.hero-card img {
	display: block;
	flex: 1 1 5.5rem;
	width: 100%;
	min-height: 0;
	height: 5.5rem;
	margin-bottom: 0.6rem;
	object-fit: contain;
}

.hero-card:nth-child(1) img {
	flex-basis: 11rem;
	height: 11rem;
}

.hero-card__name {
	font-family: var(--mr-display);
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.hero-card:nth-child(1) .hero-card__name {
	font-size: 1.45rem;
}

.hero-card__price {
	align-self: flex-start;
	margin-top: 0.6rem;
	padding: 0.3em 0.85em;
	border-radius: 999px;
	background: var(--mr-black);
	color: #fff;
	font-size: 0.9rem;
	white-space: nowrap;
}

.hero-card__price strong {
	color: var(--mr-yellow-light);
	font-family: var(--mr-display);
	font-size: 1.15em;
	font-weight: 800;
}

@keyframes mr-rise {
	from {
		transform: translateY(18px);
		opacity: 0;
	}

	to {
		transform: translateY(0);
		opacity: 1;
	}
}

@media (max-width: 56rem) {
	.hero__inner {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 36rem) {
	.hero .container {
		padding-inline: 0.5rem;
	}

	.hero__inner {
		border-radius: 22px;
	}

	.hero-search__row {
		flex-direction: column;
		border-radius: 24px;
	}

	.hero-card:nth-child(1) img {
		flex-basis: 8rem;
		height: 8rem;
	}

	.hero-card img {
		flex-basis: 4rem;
		height: 4rem;
	}

	.hero-card a {
		padding: 0.85rem 0.9rem 0.95rem;
		border-radius: 18px;
	}

	.hero-card:nth-child(1) .hero-card__name {
		font-size: 1.15rem;
	}

	.hero-card__name {
		font-size: 0.98rem;
	}
}

/* ---------- Sekcje ---------- */

.section {
	padding-block: var(--mr-section);
}

.section--paper {
	background: var(--mr-surface);
}

.section__title {
	margin-bottom: 0.8em;
	font-size: clamp(2rem, 4.4vw, 3.1rem);
}

.section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem 2rem;
	margin-bottom: 2rem;
}

.section__head .section__title {
	margin-bottom: 0;
}

.section__more {
	font-weight: 700;
}

/* ---------- Działy ---------- */

.categories__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.category {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 1.5rem 1.6rem 1.6rem;
	border-radius: var(--mr-radius-lg);
	background: var(--mr-surface);
	color: var(--mr-black);
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.category:hover {
	background: var(--mr-yellow);
}

.category__thumbs {
	display: flex;
	gap: 0.6rem;
	margin-bottom: 1.5rem;
}

.category__thumbs img {
	flex: 1 1 0;
	width: 0;
	min-width: 0;
	height: 6.5rem;
	padding: 0.5rem;
	border-radius: 16px;
	background: #fff;
	object-fit: contain;
}

.category__name {
	padding-right: 3.5rem;
	font-family: var(--mr-display);
	font-size: 1.9rem;
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.03em;
}

.category__meta {
	margin-top: 0.4rem;
	padding-right: 3.5rem;
	color: var(--mr-gray);
	font-weight: 500;
}

.category:hover .category__meta {
	color: var(--mr-black);
}

.category__arrow {
	position: absolute;
	right: 1.4rem;
	bottom: 1.5rem;
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background: var(--mr-black);
	color: #fff;
	transition: transform 0.2s ease;
}

.category:hover .category__arrow {
	transform: translateX(4px);
}

/* ---------- Jak wypożyczyć ---------- */

.steps__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
	gap: 2rem 3rem;
	margin: 0 0 2.5rem;
	padding: 0;
	list-style: none;
	counter-reset: krok;
}

.steps__list li {
	counter-increment: krok;
}

.steps__list li::before {
	content: counter(krok);
	display: grid;
	place-items: center;
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 50%;
	background: var(--mr-yellow);
	color: var(--mr-black);
	font-family: var(--mr-display);
	font-size: 1.5rem;
	font-weight: 800;
}

.steps__list h3 {
	margin: 1.1rem 0 0.5rem;
	font-size: 1.45rem;
	letter-spacing: -0.02em;
}

.steps__list p {
	margin: 0;
	max-width: 36ch;
	color: var(--mr-gray);
}

/* ---------- Rabat za dłuższy najem ---------- */

.discount {
	padding-block: 0 var(--mr-section);
}

.discount__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.75rem 3rem;
	padding: clamp(2rem, 5vw, 3.5rem);
	border-radius: var(--mr-radius-lg);
	background: var(--mr-black);
	color: #fff;
}

.discount__title {
	margin: 0;
	font-size: clamp(2rem, 4.4vw, 3.1rem);
}

.discount__list {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem 2.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.discount__list li {
	display: flex;
	flex-direction: column;
	color: #c9c9c5;
}

.discount__list strong {
	color: var(--mr-yellow);
	font-family: var(--mr-display);
	font-size: 1.8rem;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

/* ---------- Kontakt ---------- */

.contact {
	background: var(--mr-surface);
}

.contact__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
	gap: 2.5rem 4rem;
	align-items: start;
}

.contact__address {
	margin-bottom: 1.75rem;
	font-family: var(--mr-display);
	font-size: clamp(1.6rem, 3.2vw, 2.2rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.contact__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 1.25rem;
}

.contact__hours {
	padding: 1.75rem 1.9rem;
	border-radius: var(--mr-radius-lg);
	background: var(--mr-white);
}

.contact__hours h3 {
	font-size: 1.45rem;
	letter-spacing: -0.02em;
}

.contact__now {
	display: inline-block;
	margin: 1.25rem 0 0;
	padding: 0.4rem 0.95rem;
	border-radius: 999px;
	background: var(--mr-surface);
	font-size: 0.95rem;
	font-weight: 700;
}

.contact__now:empty {
	display: none;
}

.contact__now.is-open {
	background: #dff5e6;
	color: #14532b;
}

.hours {
	margin: 0;
}

.hours div {
	display: flex;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 0.55rem 0;
	border-bottom: 1px solid var(--mr-line);
}

.hours dt,
.hours dd {
	margin: 0;
}

.hours dd {
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

/* ---------- Mapa na stronie Kontakt ---------- */

.map {
	padding-block: 0 var(--mr-section);
	background: var(--mr-surface);
}

.map iframe {
	display: block;
	width: 100%;
	height: clamp(20rem, 50vw, 30rem);
	border: 0;
	border-radius: var(--mr-radius-lg);
	background: var(--mr-line);
}

.contact:has(+ .map) {
	padding-bottom: clamp(2rem, 4vw, 3rem);
}

/* ---------- Nagłówek podstrony ---------- */

.page-head {
	padding-block: clamp(2.25rem, 6vw, 4rem) clamp(1.5rem, 4vw, 2.5rem);
}

.page-head__title {
	margin: 0;
	font-size: clamp(2.4rem, 6vw, 4.25rem);
	line-height: 1;
	letter-spacing: -0.04em;
}

.page-head__lead {
	max-width: 44rem;
	margin: 0.9rem 0 0;
	color: var(--mr-gray);
	font-size: 1.15rem;
}

.page-head .button {
	margin: 1.5rem 0.5rem 0 0;
}

.page-head__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 1.75rem 0 0;
	padding: 0;
	list-style: none;
}

.page-head__nav a {
	display: block;
	padding: 0.55rem 1.1rem;
	border-radius: 999px;
	background: var(--mr-surface);
	color: var(--mr-black);
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.15s ease;
}

.page-head__nav a:hover {
	background: var(--mr-yellow);
}

.page-head__nav a[aria-current="page"] {
	background: var(--mr-black);
	color: #fff;
}

/* Podstrony: treść zaczyna się tuż pod tytułem */
.page-head + .section {
	padding-top: clamp(0.5rem, 2vw, 1.5rem);
}

/* ---------- Treść tekstowa ---------- */

.prose {
	max-width: 44rem;
}

.prose > *:first-child {
	margin-top: 0;
}

.prose h2 {
	margin-top: 1.7em;
	font-size: 1.85rem;
}

.prose h3 {
	margin-top: 1.5em;
	font-size: 1.4rem;
	letter-spacing: -0.02em;
}

.prose ul,
.prose ol {
	margin: 0 0 1em;
	padding-left: 1.3em;
}

.prose li {
	margin: 0.3em 0;
}

.prose li::marker {
	color: var(--mr-yellow);
}

.prose img,
.prose .content-image {
	display: block;
	margin: 1.5rem 0;
	border-radius: var(--mr-radius);
}

.prose table {
	width: 100%;
	border-collapse: collapse;
}

.prose th,
.prose td {
	padding: 0.6rem 0.75rem;
	border-bottom: 1px solid var(--mr-line);
	text-align: left;
}

/* Formularz rezerwacji (Bookly) potrzebuje pełnej szerokości */
.prose:has([class*="bookly"]) {
	max-width: none;
}

.entry + .entry {
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 1px solid var(--mr-line);
}

/* ---------- Karta sprzętu ---------- */

.item {
	padding-block: clamp(1.5rem, 4vw, 2.5rem) var(--mr-section);
}

.crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.6rem;
	margin-bottom: 1.5rem;
	color: var(--mr-gray);
	font-size: 0.95rem;
}

.crumbs a {
	color: var(--mr-gray);
	text-decoration: none;
}

.crumbs a:hover {
	color: var(--mr-black);
	text-decoration: underline;
}

.item__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(1.5rem, 5vw, 4.5rem);
	align-items: start;
}

.item__media {
	padding: clamp(1.25rem, 4vw, 3rem);
	border-radius: var(--mr-radius-lg);
	background: #fff;
	border: 1px solid var(--mr-line);
}

.item__media img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: contain;
}

.item__title {
	margin: 0;
	font-size: clamp(2.2rem, 5vw, 3.6rem);
	line-height: 1;
	letter-spacing: -0.04em;
}

.item__model {
	margin: 0.6rem 0 1.5rem;
	color: var(--mr-gray);
	font-size: 1.25rem;
	font-weight: 500;
}

.item__description {
	margin-top: 3.5rem;
}

@media (max-width: 48rem) {
	.item__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.item__media {
		max-width: 26rem;
	}
}

/* ---------- Karty sprzętu z wtyczki – dopasowanie do motywu ---------- */

.mrc-grid {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr));
}

@media (max-width: 36rem) {
	.mrc-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.6rem;
	}

	.mrc-card {
		border-radius: 14px;
	}

	.mrc-card__media img {
		padding: 0.6rem;
	}

	.mrc-card__body {
		padding: 0.4rem 0.75rem 0;
	}

	.mrc-card .mrc-prices {
		padding: 0.7rem 0.75rem 0.8rem;
	}

	.mrc-card__title {
		font-size: 1rem;
	}

	.mrc-card__model {
		font-size: 0.85rem;
	}
}

/* ---------- Stopka ---------- */

.site-footer {
	background: var(--mr-black);
	color: #c9c9c5;
}

.site-footer a {
	color: #fff;
	text-decoration-color: rgba(255, 255, 255, 0.35);
	text-decoration-thickness: 1px;
}

.site-footer a:hover {
	color: var(--mr-yellow);
	text-decoration-color: var(--mr-yellow);
}

.site-footer__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
	gap: 2.25rem 3rem;
	padding-block: clamp(3rem, 7vw, 4.5rem) 2.5rem;
}

.site-footer__title {
	margin-bottom: 0.9rem;
	color: #fff;
	font-size: 1.15rem;
	letter-spacing: -0.01em;
}

.site-footer .site-logo a {
	display: inline-block;
}

.site-footer .site-logo img {
	padding: 0.45rem 0.7rem;
	height: 3.4rem;
	border-radius: 12px;
	background: #fff;
}

.site-footer .wordmark {
	background: #222;
}

.site-footer__brand p {
	margin-top: 1.1rem;
	max-width: 22rem;
}

.site-footer__menu {
	margin: 0 0 1em;
	padding: 0;
	list-style: none;
}

.site-footer__menu li {
	margin: 0.35rem 0;
}

.site-footer .hours div {
	border-bottom-color: #2c2c2c;
}

.site-footer .hours dd {
	color: #fff;
}

.site-footer__legal {
	padding-block: 1.4rem;
	border-top: 1px solid #2c2c2c;
	font-size: 0.92rem;
}

.site-footer__legal p {
	margin: 0;
}

/* ---------- Pasek szybkiego kontaktu na telefonach ---------- */

.quickbar {
	display: none;
}

@media (max-width: 48rem) {
	.quickbar {
		position: fixed;
		left: 0.6rem;
		right: 0.6rem;
		bottom: calc(0.6rem + env(safe-area-inset-bottom));
		z-index: 60;
		display: grid;
		grid-auto-flow: column;
		grid-auto-columns: 1fr;
		gap: 0.35rem;
		padding: 0.35rem;
		border-radius: 999px;
		background: var(--mr-black);
		box-shadow: 0 12px 30px rgba(17, 17, 17, 0.35);
	}

	.quickbar a {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 3rem;
		border-radius: 999px;
		font-weight: 800;
		text-decoration: none;
	}

	.quickbar__call {
		color: #fff;
	}

	.quickbar__book {
		background: var(--mr-yellow);
		color: var(--mr-black);
	}

	.site-footer {
		padding-bottom: 4.5rem;
	}
}

/* ---------- Pasek administratora WordPressa ---------- */

.admin-bar .site-header {
	top: 32px;
}

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

/* ---------- Ruch ---------- */

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

	.hero-card {
		animation: none;
	}

	.hero-card a,
	.category,
	.category__arrow,
	.button {
		transition: none;
	}

	.hero-card a:hover,
	.category:hover .category__arrow {
		transform: none;
	}
}
