/* ==========================================================================
   PODHALE — KATALOG FIRM — style front-end (mobile-first)
   Breakpointy: mobile ≤480px, tablet 481–1024px, desktop ≥1025px.
   ========================================================================== */

:root {
	--pod-navy: #122238;
	--pod-turquoise: #1c4a4a;
	--pod-yellow: #ffcc33;
	--pod-white: #ffffff;
}

.podhale-firma-single,
.podhale-katalog {
	background: var(--pod-white);
	/* Nagłówek motywu (#masthead) jest position:absolute i nakłada się na
	   treść — te szablony (w przeciwieństwie do standardowych stron/wpisów)
	   nie mają paska tytułowego theme'u, który normalnie robi na to miejsce. */
	padding-top: 130px;
}
@media (min-width: 1025px) {
	.podhale-firma-single,
	.podhale-katalog {
		padding-top: 190px;
	}
}

.podhale-firma-single *,
.podhale-katalog * {
	box-sizing: border-box;
}

.podhale-firma-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: clamp(20px, 4vw, 48px) clamp(16px, 4vw, 32px);
}

/* --------------------------------------------------------------------
   Breadcrumbs
   -------------------------------------------------------------------- */
.pk-breadcrumbs {
	font-size: 14px;
	color: #5b6b7a;
	margin-bottom: 16px;
}
.pk-breadcrumbs a {
	color: #5b6b7a;
	text-decoration: underline;
}

/* --------------------------------------------------------------------
   Nagłówek firmy + odznaki
   -------------------------------------------------------------------- */
.pk-firma-header h1 {
	font-size: clamp(26px, 5vw, 40px);
	color: var(--pod-navy);
	margin: 0 0 12px;
}

.pk-firma-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
}

.pk-badge {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 6px 14px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 14px;
}
.pk-badge--verified { background: var(--pod-turquoise); color: #fff; }
.pk-badge--sponsor { background: var(--pod-yellow); color: var(--pod-navy); }
.pk-badge--price { background: #f4f6f8; color: var(--pod-navy); }
.pk-badge--climate { background: #fff; color: var(--pod-navy); border: 2px solid var(--pod-navy); }

.pk-badge--floating {
	position: absolute;
	top: 10px;
	left: 10px;
}
.pk-badge--floating-right {
	position: absolute;
	top: 10px;
	right: 10px;
}

/* --------------------------------------------------------------------
   Wideo / zdjęcie główne
   -------------------------------------------------------------------- */
.pk-firma-video__frame {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 24px;
}
.pk-firma-video__frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.pk-firma-hero-img img {
	width: 100%;
	height: auto;
	border-radius: 12px;
	margin-bottom: 24px;
}

/* --------------------------------------------------------------------
   Galeria
   -------------------------------------------------------------------- */
.pk-firma-galeria {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	margin-bottom: 24px;
}
@media (min-width: 481px) {
	.pk-firma-galeria { grid-template-columns: repeat(4, 1fr); }
}
.pk-firma-galeria img {
	width: 100%;
	height: 140px;
	object-fit: cover;
	border-radius: 10px;
}

/* --------------------------------------------------------------------
   Layout: opis + sidebar (mobile: 1 kolumna, desktop: 2 kolumny)
   -------------------------------------------------------------------- */
.pk-firma-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
}
@media (min-width: 1025px) {
	.pk-firma-layout { grid-template-columns: 2fr 1fr; }
}

.pk-firma-opis {
	font-size: clamp(16px, 2vw, 18px);
	line-height: 1.7;
	color: #263544;
}

.pk-danie-dnia-box {
	background: #122238;
	background: linear-gradient(135deg, var(--pod-navy) 0%, var(--pod-turquoise) 100%);
	border-radius: 12px;
	padding: 18px 20px;
	margin-bottom: 20px;
}
.pk-danie-dnia-box__etykieta {
	display: inline-block;
	background: var(--pod-yellow);
	color: var(--pod-navy);
	font-weight: 700;
	font-size: 13px;
	text-transform: uppercase;
	padding: 3px 10px;
	border-radius: 999px;
	margin-bottom: 8px;
}
.pk-danie-dnia-box p {
	margin: 0;
	color: #fff;
	font-size: clamp(17px, 2.2vw, 20px);
	font-weight: 600;
}

.pk-danie-dnia-form {
	background: #f4f6f8;
	border-radius: 12px;
	padding: 20px;
	margin-bottom: 24px;
}
.pk-danie-dnia-form h2 {
	font-size: 20px;
	color: var(--pod-navy);
	margin: 0 0 14px;
}
.pk-danie-dnia-form__info {
	font-size: 13px;
	color: #5b6b7a;
	margin: 10px 0 0;
}

.pk-karta-firmy__danie {
	font-size: 13px;
	color: var(--pod-navy);
	background: #fff8e1;
	border-radius: 6px;
	padding: 4px 8px;
	margin: 0 0 8px;
	line-height: 1.4;
}

.pk-kod-rabatowy {
	background: #fff8e1;
	border: 2px dashed var(--pod-yellow);
	border-radius: 10px;
	padding: 14px 18px;
	margin-bottom: 20px;
	font-size: 16px;
	color: var(--pod-navy);
}

.pk-firma-karta-kontakt {
	background: #f4f6f8;
	border-radius: 12px;
	padding: 20px;
	margin-bottom: 20px;
}
.pk-firma-karta-kontakt h2 {
	font-size: 18px;
	color: var(--pod-navy);
	margin: 0 0 12px;
}
.pk-info-row {
	margin: 0 0 10px;
	font-size: 15px;
	color: #33404d;
	word-break: break-word;
}
.pk-info-row a {
	color: var(--pod-turquoise);
	font-weight: 600;
}

.pk-firma-social {
	display: flex;
	gap: 12px;
	margin-top: 12px;
}
.pk-firma-social a {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	padding: 0 16px;
	background: var(--pod-navy);
	color: #fff;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
}

.pk-firma-mapa {
	width: 100%;
	height: 260px;
	border-radius: 12px;
	overflow: hidden;
	background: #eef1f4;
}

/* --------------------------------------------------------------------
   Formularz zgłoszeniowy
   -------------------------------------------------------------------- */
.pk-form {
	max-width: 720px;
	margin: 0 auto;
}
.pk-form__honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.pk-form__row {
	margin-bottom: 18px;
}
.pk-form__row label {
	display: block;
	font-weight: 700;
	color: var(--pod-navy);
	margin-bottom: 6px;
	font-size: clamp(15px, 2vw, 16px);
}
.pk-form input[type="text"],
.pk-form input[type="email"],
.pk-form input[type="tel"],
.pk-form input[type="url"],
.pk-form input[type="file"],
.pk-form select,
.pk-form textarea {
	width: 100%;
	min-height: 44px;
	padding: 10px 14px;
	border: 2px solid #dde3e8;
	border-radius: 8px;
	font-size: 16px;
	font-family: inherit;
	background: #fff;
	color: #1f2933;
}
.pk-form textarea {
	min-height: 110px;
}
.pk-form__grid {
	display: flex;
	flex-direction: column;
	gap: 18px;
}
@media (min-width: 1025px) {
	.pk-form__grid { flex-direction: row; }
	.pk-form__grid .pk-form__row { flex: 1; margin-bottom: 0; }
}
.pk-form__row--checkboxy,
.pk-form__row--rodo {
	background: #f4f6f8;
	border-radius: 10px;
	padding: 14px 16px;
}
.pk-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	min-height: 44px;
	font-weight: 500;
	color: #33404d;
	cursor: pointer;
	margin-bottom: 8px;
}
.pk-checkbox:last-child { margin-bottom: 0; }
.pk-checkbox input {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	margin-top: 2px;
}

.podhale-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 12px 28px;
	background: var(--pod-yellow);
	color: var(--pod-navy);
	font-weight: 700;
	text-decoration: none;
	border: 0;
	border-radius: 8px;
	font-size: 16px;
	cursor: pointer;
}

.pk-form-alert {
	padding: 14px 18px;
	border-radius: 10px;
	margin-bottom: 20px;
	font-weight: 600;
}
.pk-form-alert--ok {
	background: #e6f4ea;
	color: #1c4a2a;
	border: 2px solid var(--pod-turquoise);
}
.pk-form-alert--blad {
	background: #fdecec;
	color: #7a1f1f;
	border: 2px solid #d63638;
}

/* --------------------------------------------------------------------
   Katalog — filtry
   -------------------------------------------------------------------- */
.pk-katalog-header h1 {
	font-size: clamp(26px, 5vw, 38px);
	color: var(--pod-navy);
	margin: 0 0 8px;
}
.pk-katalog-header p {
	color: #5b6b7a;
	margin: 0 0 24px;
}

.pk-dodaj-firme-btn {
	margin-bottom: 8px;
}

.podhale-firma-container--waskie {
	max-width: 760px;
}

.pk-wroc {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--pod-turquoise);
	font-weight: 600;
	text-decoration: none;
	margin-bottom: 12px;
}

.pk-filtry {
	background: #f4f6f8;
	border-radius: 12px;
	padding: 18px;
	margin-bottom: 28px;
}
.pk-filtry__row {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 12px;
}
.pk-filtry__row:last-child { margin-bottom: 0; }
.pk-filtry__row--dol {
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
}
.pk-filtry input[type="text"],
.pk-filtry select {
	min-height: 44px;
	padding: 8px 12px;
	border: 2px solid #dde3e8;
	border-radius: 8px;
	font-size: 16px;
	background: #fff;
	width: 100%;
}
@media (min-width: 1025px) {
	.pk-filtry__row { flex-direction: row; }
	.pk-filtry input[type="text"],
	.pk-filtry select { width: auto; flex: 1; }
}
.pk-wyczysc {
	color: var(--pod-turquoise);
	font-weight: 600;
	text-decoration: underline;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}

.pk-brak-wynikow {
	text-align: center;
	padding: 40px 16px;
	color: #5b6b7a;
	font-size: 17px;
}

/* --------------------------------------------------------------------
   Katalog — siatka kart (1 / 2 / 3 kolumny)
   -------------------------------------------------------------------- */
.pk-katalog-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(16px, 3vw, 24px);
}
@media (min-width: 481px) and (max-width: 1024px) {
	.pk-katalog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1025px) {
	.pk-katalog-grid { grid-template-columns: repeat(3, 1fr); }
}

.pk-karta-firmy {
	display: block;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 14px rgba(18, 34, 56, 0.14);
	text-decoration: none;
	color: inherit;
	transition: transform 0.15s ease;
}
.pk-karta-firmy:hover { transform: translateY(-3px); }
.pk-karta-firmy--sponsor {
	border: 2px solid var(--pod-yellow);
}

.pk-karta-firmy__media {
	position: relative;
	aspect-ratio: 4 / 3;
	background: #eef1f4;
}
.pk-karta-firmy__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.pk-karta-firmy__brak-zdjecia {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--pod-navy);
	font-weight: 700;
	background: linear-gradient(135deg, #e9edf1, #dfe5ea);
}

.pk-karta-firmy__body {
	padding: 16px;
}
.pk-karta-firmy__kategoria {
	display: inline-block;
	background: #f4f6f8;
	color: var(--pod-turquoise);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 3px 10px;
	border-radius: 999px;
	margin-bottom: 8px;
}
.pk-karta-firmy__nazwa {
	font-size: clamp(18px, 2.5vw, 20px);
	color: var(--pod-navy);
	margin: 0 0 6px;
}
.pk-karta-firmy__adres {
	font-size: 14px;
	color: #5b6b7a;
	margin: 0 0 8px;
}
.pk-karta-firmy__opis {
	font-size: 15px;
	color: #33404d;
	margin: 0 0 10px;
	line-height: 1.5;
}
.pk-karta-firmy__stopka {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 6px;
}
.pk-karta-firmy__cena {
	font-weight: 700;
	color: var(--pod-navy);
}
.pk-karta-firmy__climate {
	font-size: 12px;
	font-weight: 700;
	color: var(--pod-navy);
	background: #f4f6f8;
	border-radius: 999px;
	padding: 3px 10px;
}

.pk-paginacja {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 32px;
	flex-wrap: wrap;
}
.pk-paginacja .page-numbers {
	min-width: 44px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: #f4f6f8;
	color: var(--pod-navy);
	text-decoration: none;
	font-weight: 600;
	padding: 0 12px;
}
.pk-paginacja .page-numbers.current {
	background: var(--pod-turquoise);
	color: #fff;
}

body { overflow-x: hidden; }
