/* PureHome — Comfortaa */

@font-face {
	font-family: 'Comfortaa';
	src: url('../fonts/comfortaa/comfortaa-v47-latin_latin-ext-300.woff2') format('woff2');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Comfortaa';
	src: url('../fonts/comfortaa/comfortaa-v47-latin_latin-ext-regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Comfortaa';
	src: url('../fonts/comfortaa/comfortaa-v47-latin_latin-ext-500.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Comfortaa';
	src: url('../fonts/comfortaa/comfortaa-v47-latin_latin-ext-600.woff2') format('woff2');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Comfortaa';
	src: url('../fonts/comfortaa/comfortaa-v47-latin_latin-ext-700.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

body,
p,
h1, h2, h3, h4, h5, h6,
a,
li,
span,
input,
textarea,
button,
label,
.primary-btn,
.more_btn,
.normal-btn {
	font-family: 'Comfortaa', cursive !important;
}

.phone-rotate {
	position: relative;
	height: 1.4em;
	margin: 0;
}

.phone-rotate__link {
	position: absolute;
	right: 0;
	top: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s ease, visibility 0.4s ease;
	color: #dfa667;
	font-size: 22px;
	font-weight: 400;
	text-decoration: none;
	white-space: nowrap;
}

.phone-rotate__link.is-visible {
	opacity: 1;
	visibility: visible;
	position: relative;
}

.header-normal .phone-rotate__link {
	color: #dfa667;
}

/* Header: logo, menu and partner button vertically centered */
.header .container-fluid > .row {
	display: flex;
	align-items: center;
}

.header .container-fluid > .row > [class*="col-"] {
	display: flex;
	align-items: center;
	align-self: center;
}

.header .container-fluid > .row > .col-lg-3:first-child {
	justify-content: flex-start;
}

.header .container-fluid > .row > .col-lg-6 {
	justify-content: center;
}

.header .container-fluid > .row > .header__partner-col {
	justify-content: flex-end;
}

.header__logo {
	display: flex;
	align-items: center;
}

.header__logo a {
	line-height: 0;
	display: flex;
	align-items: center;
}

.header__logo img {
	height: 62px;
	width: auto;
	max-width: none;
	max-height: none;
}

@media only screen and (max-width: 991px) {
	.header,
	.header.header-normal,
	.header.header-normal.header--strip {
		padding: 24px 0 18px !important;
	}

	.header .container-fluid {
		padding-left: 28px;
		padding-right: 28px;
	}

	.header .container-fluid > .row {
		flex-wrap: nowrap;
		margin-left: 0;
		margin-right: 0;
		min-height: 47px;
	}

	.header .container-fluid > .row > .col-lg-6,
	.header .container-fluid > .row > .header__partner-col {
		display: none !important;
	}

	.header__menu {
		display: none !important;
	}

	.header__widget {
		display: none !important;
	}

	.header .container-fluid > .row > .col-lg-3:first-child {
		flex: 0 1 auto;
		max-width: calc(100% - 48px);
		padding-left: 0;
		padding-right: 12px;
	}

	.header__logo img,
	.header.header-normal.header--strip .header__logo img {
		height: 47px;
		width: auto;
	}

	.header .canvas__open {
		display: flex !important;
		align-items: center;
		justify-content: center;
		position: static !important;
		right: auto !important;
		top: auto !important;
		flex-shrink: 0;
		order: 2;
		margin: 0 0 0 auto;
		padding: 8px 0 8px 8px;
		width: 36px;
		height: 40px;
		line-height: 1;
		font-size: inherit;
		color: #ffffff;
		background: transparent;
		border: none !important;
		border-radius: 0;
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
	}

	.header .canvas__open-icon {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		width: 22px;
		height: 14px;
	}

	.header .canvas__open-icon span {
		display: block;
		width: 100%;
		height: 1.5px;
		background: currentColor;
		border-radius: 1px;
	}

	.header .canvas__open:hover,
	.header .canvas__open:focus {
		color: #dfa667;
	}
}

@media only screen and (min-width: 992px) {
	.header .canvas__open {
		display: none !important;
	}
	.header .container-fluid > .row {
		position: relative;
	}

	.header .container-fluid > .row > .col-lg-6 {
		position: static;
	}

	.header__menu {
		display: flex;
		align-items: center;
		justify-content: center;
		text-align: center;
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		width: max-content;
		max-width: calc(100% - 520px);
		z-index: 1;
	}

	.header__menu ul {
		margin: 0 auto;
		padding: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		flex-wrap: wrap;
	}
}

.header__menu ul li {
	vertical-align: middle;
}

.header__menu ul li a {
	line-height: 1.2;
}

.header__widget {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-end;
	line-height: 1.2;
}

.header__partner-btn {
	padding: 10px 34px;
	font-size: 15px;
	font-weight: 600;
	color: #ffffff !important;
	text-decoration: none;
}

.header__partner-btn:hover,
.header__partner-btn:focus,
.header__partner-btn:visited {
	color: #ffffff !important;
	text-decoration: none;
}

.offcanvas__widget .header__partner-btn {
	margin-top: 20px;
}

.header__partner-col,
.header__partner-col .header__widget {
	overflow: visible;
}

.header__user-menu {
	position: relative;
	display: inline-block;
	vertical-align: middle;
	z-index: 1;
}

.header__user-menu.is-open {
	z-index: 200;
}

.header__user-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	width: auto;
	max-width: 240px;
	height: auto;
	padding: 5px 0;
	border: none;
	background: transparent;
	color: #ffffff;
	font-family: 'Comfortaa', cursive;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.header__user-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 15px;
	height: 18px;
	line-height: 1.2;
}

.header__user-icon .fa {
	display: block;
	font-size: 15px;
	line-height: 1;
	transform: translateY(-1px);
}

.header__user-name {
	display: block;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	color: #ffffff;
	padding: 0;
	margin: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

@media only screen and (min-width: 992px) {
	.header__partner-col .header__user-toggle {
		transform: translateY(2px);
	}
}

.header__user-toggle:hover,
.header__user-toggle:focus,
.header__user-menu.is-open .header__user-toggle {
	color: #dfa667;
	outline: none;
}

.header__user-toggle:hover .header__user-name,
.header__user-toggle:focus .header__user-name,
.header__user-menu.is-open .header__user-name {
	color: #dfa667;
}

.header__user-menu.is-open::before {
	content: '';
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	height: 8px;
}

.header__user-dropdown {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	left: auto;
	min-width: 220px;
	margin: 0;
	padding: 6px 0;
	list-style: none;
	background: #ffffff;
	text-align: left;
	border-radius: 4px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.2s ease, visibility 0.2s ease;
	z-index: 201;
}

.header__user-menu.is-open .header__user-dropdown {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.header__user-dropdown li {
	display: block;
	margin: 0;
	padding: 0;
	list-style: none;
}

.header__user-dropdown a {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 11px 20px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	color: #111111;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
}

.header__user-dropdown a::after {
	display: none !important;
	content: none !important;
}

.header__user-dropdown a:hover,
.header__user-dropdown a:focus {
	color: #dfa667;
	background: #fafafa;
	outline: none;
}

.header__logout-form {
	margin: 0;
}

.header__logout-form button {
	display: block;
	width: 100%;
	padding: 10px 20px;
	border: none;
	background: transparent;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	color: #111111;
	text-align: left;
	cursor: pointer;
	white-space: nowrap;
}

.header__logout-form button:hover,
.header__logout-form button:focus {
	color: #dfa667;
	background: #fafafa;
	outline: none;
}

.offcanvas__widget .header__user-menu {
	margin-top: 20px;
}

.offcanvas__widget .header__user-toggle {
	color: #ffffff;
	max-width: none;
}

.offcanvas__widget .header__user-name {
	max-width: 240px;
}

.offcanvas__widget .header__user-dropdown {
	right: 0;
	left: auto;
	min-width: 220px;
}

/* Hero slider readability: dark overlay on images */
.hero {
	position: relative;
}

.hero::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 340px;
	background: linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0.82) 0%,
		rgba(0, 0, 0, 0.55) 45%,
		rgba(0, 0, 0, 0) 100%
	);
	z-index: 2;
	pointer-events: none;
}

.hero__items {
	position: relative;
	height: 945px;
}

@media only screen and (max-width: 767px) {
	.hero__items {
		height: 695px;
	}
}

@media only screen and (max-width: 479px) {
	.hero__items {
		height: 595px;
	}
}

.hero__items::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0.35) 0%,
		rgba(0, 0, 0, 0.4) 55%,
		rgba(0, 0, 0, 0.48) 100%
	);
	z-index: 1;
}

.hero__items .hero__text {
	position: relative;
	z-index: 2;
}

.hero__text--fixed {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 8;
	max-width: 820px;
	width: calc(100% - 80px);
	text-align: center;
	pointer-events: none;
}

.hero__text--fixed h2 {
	top: 0 !important;
	opacity: 1 !important;
	margin-bottom: 0;
	transition: none !important;
}

.hero__slider {
	position: relative;
	z-index: 1;
}

/* Fallback: first slide visible before Owl Carousel JS runs */
.hero__slider.owl-carousel:not(.owl-loaded) {
	display: block;
}

.hero__slider.owl-carousel:not(.owl-loaded) > .hero__items:not(:first-child) {
	display: none;
}

/* Hero slide counter — keep above overlay */
.hero .slide-num,
.hero .slider__progress {
	z-index: 9;
}

.hero .slide-num span {
	margin-right: 140px;
	white-space: nowrap;
}

.hero .slide-num span:last-child {
	margin-right: 0;
}

/* Footer logo */
.footer__about {
	text-align: left;
}

.footer__about .footer__logo {
	text-align: left;
	margin-bottom: 24px;
}

.footer__about .footer__logo a {
	display: block;
	width: fit-content;
	line-height: 0;
	margin: 0;
	padding: 0;
}

.footer__about .footer__logo img {
	height: 77px;
	width: auto;
	max-width: none;
	display: block;
}

.footer__about--logo-only .footer__logo {
	margin-bottom: 0;
}

.footer__address ul {
	margin: 0;
	padding: 0;
}

.footer__address ul li {
	list-style: none;
	line-height: 26px;
	color: #707070;
}

/* Kontakt: úzky header pás (staging contact.html) */
.header.header-normal.header--strip {
	position: relative;
	background-size: cover;
	background-position: center;
	overflow: visible;
}

.header .container-fluid,
.header .container-fluid > .row {
	overflow: visible;
}

@media only screen and (min-width: 992px) {
	.header.header-normal.header--strip {
		padding: 20px 0;
	}

	.header.header-normal.header--strip .header__logo img {
		height: 62px;
	}
}

@media only screen and (min-width: 1450px) {
	.header.header-normal.header--strip {
		padding: 20px 130px;
	}
}

/* Kontakt widgety: flex namiesto float + overflow hidden (orezávalo diakritiku) */
.contact__widget__item {
	display: flex;
	align-items: flex-start;
}

.contact__widget__item__icon {
	float: none;
	flex-shrink: 0;
}

.contact__widget__item__text {
	overflow: visible;
	flex: 1;
	min-width: 0;
}

.contact__widget__item__text h5 {
	line-height: 1.4;
}

.contact__form__actions {
	display: flex;
	align-items: center;
	gap: 24px;
}

.contact__form__privacy {
	display: none;
	flex: 1;
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: #888888;
	opacity: 0;
	transform: translateY(4px);
	transition: opacity 0.35s ease, transform 0.35s ease;
}

.contact__form__privacy.is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	.contact__form__privacy {
		transition: none;
		transform: none;
	}
}

.contact__form__privacy a {
	color: #dfa667;
	text-decoration: underline;
}

.contact__form__privacy a:hover,
.contact__form__privacy a:focus {
	color: #cfa067;
}

@media only screen and (max-width: 767px) {
	.contact__form__actions {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
}

.contact__company-info {
	margin-top: 60px;
}

.contact__company-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
	cursor: pointer;
	text-align: left;
	color: #dfa667;
	font-size: 16px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	line-height: 1.4;
}

.contact__company-toggle:hover,
.contact__company-toggle:focus {
	color: #cfa067;
	outline: none;
}

.contact__company-toggle__icon {
	flex-shrink: 0;
	font-size: 22px;
	line-height: 1;
	color: #111111;
	transition: transform 0.25s ease;
}

.contact__company-toggle.is-open .contact__company-toggle__icon {
	transform: rotate(180deg);
}

.contact__company-panel {
	display: grid;
	grid-template-rows: 0fr;
	margin-top: 0;
	overflow: hidden;
	opacity: 0;
	transition:
		grid-template-rows 0.4s ease,
		margin-top 0.4s ease,
		opacity 0.35s ease;
}

.contact__company-panel.is-open {
	grid-template-rows: 1fr;
	margin-top: 20px;
	opacity: 1;
}

.contact__company-panel__inner {
	min-height: 0;
	overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
	.contact__company-panel {
		transition: none;
	}
}

.contact__info-list {
	margin: 0;
	padding: 0;
}

.contact__info-item {
	display: grid;
	grid-template-columns: minmax(140px, 220px) 1fr;
	gap: 12px 24px;
	padding: 12px 0;
	border-bottom: 1px solid #ececec;
}

.contact__info-item:first-child {
	padding-top: 0;
}

.contact__info-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.contact__info-item dt {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	color: #111111;
}

.contact__info-item dd {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
	color: #666666;
}

@media only screen and (max-width: 575px) {
	.contact__company-info {
		margin-top: 48px;
	}

	.contact__info-item {
		grid-template-columns: 1fr;
		gap: 4px;
	}
}

@keyframes purehome-toast-in {
	from {
		transform: translateX(calc(100% + 32px));
		opacity: 0;
	}
	to {
		transform: translateX(0);
		opacity: 1;
	}
}

@keyframes purehome-toast-out {
	from {
		transform: translateX(0);
		opacity: 1;
	}
	to {
		transform: translateX(calc(100% + 32px));
		opacity: 0;
	}
}

.toastify.purehome-toast {
	top: auto !important;
	right: 48px !important;
	left: auto !important;
	opacity: 0;
	transform: translateX(calc(100% + 32px));
	transition: bottom 0.28s ease !important;
	font-family: 'Comfortaa', cursive !important;
	font-size: 17px !important;
	font-weight: 500 !important;
	line-height: 1.55 !important;
	color: #111111 !important;
	background: #ffffff !important;
	border: 1px solid #e8e8e8 !important;
	border-left: 5px solid #dfa667 !important;
	border-radius: 8px !important;
	box-shadow: 0 12px 32px rgba(17, 17, 17, 0.1) !important;
	padding: 20px 26px !important;
	min-width: 300px;
	max-width: min(440px, calc(100vw - 96px)) !important;
	display: block !important;
}

@media only screen and (min-width: 768px) {
	.toastify.purehome-toast {
		width: max-content !important;
		max-width: calc(100vw - 96px) !important;
		white-space: nowrap;
	}
}

.toastify.purehome-toast.on {
	animation: purehome-toast-in 0.48s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.toastify.purehome-toast:not(.on) {
	animation: purehome-toast-out 0.34s cubic-bezier(0.55, 0, 1, 0.45) forwards;
}

.purehome-toast--success {
	border-left-color: #dfa667 !important;
}

.purehome-toast--error {
	background: #fafafa !important;
	border-left-color: #c4a882 !important;
	color: #555555 !important;
}

@media only screen and (max-width: 480px) {
	.toastify.purehome-toast {
		right: 28px !important;
		left: 28px !important;
		width: auto !important;
		min-width: 0;
		max-width: none !important;
		white-space: normal;
	}
}

/* Kontakt a footer: tel/mail bez modrej a bez hover efektu */
.contact__widget__item__text span a,
.footer__about ul li a,
.footer__address ul li a {
	color: inherit;
	text-decoration: none;
}

.contact__widget__item__text span a:hover,
.contact__widget__item__text span a:focus,
.contact__widget__item__text span a:active,
.contact__widget__item__text span a:visited,
.footer__about ul li a:hover,
.footer__about ul li a:focus,
.footer__about ul li a:active,
.footer__about ul li a:visited,
.footer__address ul li a:hover,
.footer__address ul li a:focus,
.footer__address ul li a:active,
.footer__address ul li a:visited {
	color: inherit;
	text-decoration: none;
}

/* Carousels: bez šípok */
.hero__slider.owl-carousel .owl-nav,
.project__slider.owl-carousel .owl-nav,
.testimonial__carousel .slick-arrow {
	display: none !important;
}

/* Celý web: footer pri spodku pri malom obsahu */
html,
body {
	height: auto;
	min-height: 100%;
}

.site-layout {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
}

.site-layout #content {
	flex: 1 1 auto;
}

.site-layout .footer {
	flex-shrink: 0;
	margin-top: auto;
}

/* 404 stránka */
body.page-404 .site-layout #content.page-not-found {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	width: 100%;
	max-width: 100%;
	padding: 48px 40px;
}

.page-not-found__message {
	max-width: 960px;
	width: 100%;
	margin: 0;
	font-size: 20px;
	line-height: 1.5;
	color: #707070;
}

/* Login stránka */
#content.page-login {
	display: flex;
	align-items: center;
	justify-content: center;
}

.login-page.spad {
	padding-top: 120px;
	padding-bottom: 120px;
}

.login-page {
	width: 100%;
}

.login-page__intro {
	text-align: center;
	margin-bottom: 36px;
}

.login-page__intro .section-title {
	margin-bottom: 16px;
}

.login-page__intro p {
	margin: 0;
}

.login-page__form .site-btn {
	display: block;
	width: 100%;
	margin-top: 0;
}

.login-page__form-actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	margin-top: 8px;
}

.login-page__privacy {
	margin: 20px 0 0;
	font-size: 13px;
	line-height: 1.5;
	color: #888888;
	text-align: center;
}

.login-page__privacy a {
	color: #dfa667;
	text-decoration: underline;
}

.login-page__privacy a:hover,
.login-page__privacy a:focus {
	color: #cfa067;
}

@media only screen and (max-width: 767px) {
	.login-page.spad {
		padding-top: 80px;
		padding-bottom: 80px;
	}
}

/* Pridanie partnera */
.partner-create-page__intro {
	margin-bottom: 36px;
}

.partner-create-page__intro p {
	margin-bottom: 0;
}

.partner-create-page__label {
	display: block;
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: #dfa667;
}

.partner-create-page__form input[type="text"],
.partner-create-page__form input[type="email"],
.partner-create-page__form input[type="password"] {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin-bottom: 24px;
}

.partner-create-page__form .row > [class*="col-"] {
	margin-bottom: 0;
}

.partner-create-page__pass-row {
	align-items: flex-end;
}

.partner-create-page__pass-generate-col {
	display: flex;
	align-items: flex-end;
}

.partner-create-page__generate-pass {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 50px;
	margin: 0 0 24px;
	padding: 0 12px;
	border: 1px solid #dfa667;
	border-radius: 2px;
	background: #ffffff;
	color: #111111;
	font-family: 'Comfortaa', cursive;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	box-sizing: border-box;
	cursor: pointer;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.partner-create-page__generate-pass:hover,
.partner-create-page__generate-pass:focus {
	color: #ffffff;
	background: #dfa667;
	border-color: #dfa667;
	outline: none;
}

@media only screen and (max-width: 991px) {
	.partner-create-page__pass-generate-col {
		display: block;
	}
}

.partner-create-page__roles {
	margin: 0 0 28px;
	padding: 0;
	border: 0;
}

.partner-create-page__roles-note {
	margin: 0 0 14px;
	font-size: 14px;
	line-height: 1.5;
	color: #888888;
}

.partner-create-page__roles-list {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 20px;
}

.partner-create-page__role {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 15px;
	line-height: 1.4;
	color: #444444;
	cursor: pointer;
}

.partner-create-page__role input {
	width: auto;
	height: auto;
	margin: 0;
}

.partner-create-page__roles-empty {
	margin: 0;
	font-size: 14px;
	color: #888888;
}

.partner-create-page__form .site-btn {
	display: inline-block;
}

@media only screen and (max-width: 767px) {
	.partner-create-page.spad {
		padding-top: 80px;
		padding-bottom: 80px;
	}
}

/* Partner zóna */
#content.page-partner {
	display: flex;
	align-items: center;
	justify-content: center;
}

.partner-page {
	width: 100%;
}

.partner-page.spad {
	padding-top: 120px;
	padding-bottom: 120px;
}

.partner-page__intro {
	text-align: center;
	margin-bottom: 36px;
}

.partner-page__intro .section-title {
	margin-bottom: 16px;
}

.partner-page__intro p,
.partner-page__intro-text p:last-child {
	margin-bottom: 0;
}

.partner-page__btn {
	display: inline-block;
	font-size: 18px;
	padding: 18px 56px;
}

@media only screen and (max-width: 767px) {
	.partner-page.spad {
		padding-top: 80px;
		padding-bottom: 80px;
	}

	.partner-page__btn {
		font-size: 16px;
		padding: 16px 40px;
	}
}

/* E-shop */
#content.page-shop {
	display: flex;
	align-items: center;
	justify-content: center;
}

.shop-page {
	width: 100%;
}

.shop-page.spad {
	padding-top: 120px;
	padding-bottom: 120px;
}

.shop-page__message,
.shop-page__text {
	margin: 0;
	font-size: 22px;
	line-height: 1.6;
	color: #111111;
}

.shop-page__text p:last-child {
	margin-bottom: 0;
}

@media only screen and (max-width: 767px) {
	.shop-page.spad {
		padding-top: 80px;
		padding-bottom: 80px;
	}

	.shop-page__message,
	.shop-page__text {
		font-size: 18px;
	}
}

/* Ochrana súkromia (GDPR) */
.gdpr-page.contact.spad {
	background: #f3f3f3;
}

.gdpr-page__intro.contact__text {
	margin-bottom: 40px;
}

.gdpr-page__document {
	position: relative;
	background: #ffffff;
	border: 1px solid #e3e3e3;
	border-radius: 6px;
	box-shadow:
		0 1px 2px rgba(17, 17, 17, 0.04),
		0 16px 48px rgba(17, 17, 17, 0.08);
	padding: 52px 60px 60px;
}

.gdpr-page__document::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	border-radius: 6px 6px 0 0;
	background: #dfa667;
}

.gdpr-page__meta {
	margin: 0 0 1.5em;
	padding-bottom: 1.25em;
	border-bottom: 1px solid #eeeeee;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	color: #dfa667;
}

.gdpr-page__info-list {
	margin: 0 0 1.5em;
	padding: 18px 22px;
	background: #fafafa;
	border: 1px solid #eeeeee;
	border-radius: 4px;
}

.gdpr-page__info-list .contact__info-item dd a {
	color: #dfa667;
	text-decoration: underline;
}

.gdpr-page__info-list .contact__info-item dd a:hover,
.gdpr-page__info-list .contact__info-item dd a:focus {
	color: #cfa067;
}

.gdpr-page__content {
	font-size: 15px;
	line-height: 1.8;
	color: #555555;
}

.gdpr-page__content > *:last-child {
	margin-bottom: 0;
}

.gdpr-page__content p {
	margin-bottom: 1.25em;
}

.gdpr-page__content h3,
.gdpr-page__content h4 {
	color: #111111;
	font-weight: 600;
	margin: 2em 0 0.75em;
	padding-top: 0.25em;
}

.gdpr-page__content h3:first-of-type {
	margin-top: 0;
}

.gdpr-page__content h3 {
	font-size: 18px;
	letter-spacing: 0.2px;
}

.gdpr-page__content h4 {
	font-size: 18px;
}

.gdpr-page__content ul,
.gdpr-page__content ol {
	margin: 0 0 1.25em;
	padding-left: 1.4em;
}

.gdpr-page__content li {
	margin-bottom: 0.5em;
}

.gdpr-page__content a {
	color: #dfa667;
	text-decoration: underline;
}

.gdpr-page__content a:hover,
.gdpr-page__content a:focus {
	color: #cfa067;
}

@media only screen and (max-width: 767px) {
	.gdpr-page__intro.contact__text {
		margin-bottom: 28px;
	}

	.gdpr-page__document {
		padding: 32px 24px 36px;
		border-radius: 4px;
	}

	.gdpr-page__content {
		font-size: 14px;
		line-height: 1.75;
	}

	.gdpr-page__content h3 {
		font-size: 17px;
	}

	.gdpr-page__info-list {
		padding: 14px 16px;
	}
}

/* About — obrázok do vertikálneho rámika */
.about__pic__inner img {
	display: block;
	width: 470px;
	height: 600px;
	max-width: 100%;
	object-fit: cover;
	object-position: center;
}

@media only screen and (max-width: 991px) {
	.about__pic__inner img {
		width: 100%;
		height: auto;
		aspect-ratio: 470 / 600;
	}
}

/* Projekty — karty ako odkazy */
a.project__slider__item {
	display: block;
	text-decoration: none;
	color: inherit;
}

.project > .container {
	margin-bottom: 40px;
}

.project > .container .row,
section.latest > .container > .row:first-child {
	align-items: center;
	margin-bottom: 40px;
}

.project > .container .section-title,
section.latest > .container > .row:first-child .section-title {
	margin-bottom: 0;
}

@media only screen and (max-width: 767px) {
	.project > .container .latest__btn,
	section.latest .latest__btn {
		display: none;
	}
}

/* Detail dokončeného projektu */
.project-detail__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 24px;
}

.project-detail__titles {
	flex: 1;
	min-width: 0;
}

.project-detail__category {
	display: block;
	color: #dfa667;
	font-size: 16px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 12px;
}

.project-detail__heading {
	margin: 0;
	font-size: 42px;
	color: #111111;
	line-height: 50px;
	text-transform: uppercase;
}

.project-detail__back-btn {
	flex-shrink: 0;
	align-self: center;
	line-height: 1;
}

.project-detail__back-icon {
	display: none;
	position: relative;
	z-index: 1;
}

.project-detail__popis {
	margin-bottom: 32px;
}

.project-detail__popis p:last-child {
	margin-bottom: 0;
}

@media only screen and (max-width: 767px) {
	.project-detail__head {
		margin-bottom: 20px;
		gap: 12px;
	}

	.project-detail__category {
		margin-bottom: 8px;
	}

	.project-detail__back-btn {
		padding: 0;
		font-weight: 400;
		color: #111111;
	}

	.project-detail__back-btn:before,
	.project-detail__back-btn:after {
		display: none;
	}

	.project-detail__back-label {
		display: none;
	}

	.project-detail__back-icon {
		display: inline-block;
		font-size: 28px;
		line-height: 1;
		color: #111111;
	}

	.project-detail__heading {
		font-size: 32px;
		line-height: 1.15;
	}

	.project-detail__main {
		margin-top: 20px;
	}
}

@media only screen and (max-width: 479px) {
	.project-detail__heading {
		font-size: 28px;
	}
}

.project-detail__main {
	margin: 36px 0 12px;
	text-align: center;
}

.project-detail__main img {
	display: inline-block;
	max-width: 100%;
	width: auto;
	height: auto;
}

.project-detail__gallery {
	margin-top: 24px;
}

.project-detail__figure {
	margin: 0 0 30px;
	text-align: center;
}

.project-detail__figure img {
	display: inline-block;
	max-width: 100%;
	width: auto;
	height: auto;
}

.project-detail__thumb {
	cursor: zoom-in;
}

.project-detail__thumb:focus {
	outline: 2px solid #dfa667;
	outline-offset: 4px;
}

body.project-lightbox-open {
	overflow: hidden;
}

.project-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px 72px;
	background: rgba(17, 17, 17, 0.92);
}

.project-lightbox[hidden] {
	display: none !important;
}

.project-lightbox__stage {
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 100%;
	max-height: 100%;
}

.project-lightbox__image {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 120px);
	width: auto;
	height: auto;
	object-fit: contain;
}

.project-lightbox__close,
.project-lightbox__nav {
	position: absolute;
	border: none;
	background: transparent;
	color: #ffffff;
	cursor: pointer;
	line-height: 1;
	padding: 8px;
	transition: color 0.2s ease;
}

.project-lightbox__close:hover,
.project-lightbox__close:focus,
.project-lightbox__nav:hover,
.project-lightbox__nav:focus {
	color: #dfa667;
	outline: none;
}

.project-lightbox__close {
	top: 18px;
	right: 22px;
	font-size: 42px;
}

.project-lightbox__nav {
	top: 50%;
	transform: translateY(-50%);
	font-size: 42px;
}

.project-lightbox__nav--prev {
	left: 18px;
}

.project-lightbox__nav--next {
	right: 18px;
}

.project-lightbox__counter {
	position: absolute;
	left: 50%;
	bottom: 20px;
	transform: translateX(-50%);
	margin: 0;
	color: #ffffff;
	font-size: 14px;
	letter-spacing: 2px;
}

@media only screen and (max-width: 767px) {
	.project-lightbox {
		padding: 56px 20px;
	}

	.project-lightbox__nav {
		font-size: 32px;
	}

	.project-lightbox__nav--prev {
		left: 8px;
	}

	.project-lightbox__nav--next {
		right: 8px;
	}
}

/* Produkty — rovnaká výška obrázka v kartách */
.latest__item__pic {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: #f3f3f3;
}

.latest__item__pic img {
	display: block;
	width: 100%;
	height: 100%;
	min-width: 0;
	object-fit: cover;
	object-position: center;
}

section.latest .row:last-child > [class*="col-"] {
	display: flex;
}

section.latest .latest__item {
	display: flex;
	flex-direction: column;
	flex: 1;
	width: 100%;
}

section.latest .latest__item__text {
	flex: 1;
}

/* Stránka Produkty — všetky kategórie so značkami */
.products-list__intro.contact__text {
	margin-bottom: 50px;
}

.products-list__intro p {
	margin-bottom: 0;
}

.products-list__intro-text p:last-child {
	margin-bottom: 0;
}

.products-list__grid > [class*="col-"] {
	display: flex;
}

.products-list__grid .latest__item {
	display: flex;
	flex-direction: column;
	flex: 1;
	width: 100%;
	overflow: hidden;
}

.products-list__grid .latest__item__text {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.products-list__grid .latest__item__text > a:last-child {
	display: inline-block;
	align-self: flex-start;
	width: auto;
	margin-top: auto;
}

.products-list__brands {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 4px;
}

.products-list__grid .latest__item__text h4 {
	margin-bottom: 12px;
}

.products-list__brand {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: static;
	width: auto;
	max-width: 100%;
	box-sizing: border-box;
	min-height: 30px;
	padding: 7px 12px;
	border: 1px solid #e0e0e0;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.6px;
	line-height: 1;
	text-transform: uppercase;
	text-align: center;
	white-space: nowrap;
	color: #111111;
	text-decoration: none;
	background: #ffffff;
	margin: 0;
	transition: none;
}

.latest__item__text .products-list__brands .products-list__brand,
.latest__item__text .products-list__brands a.products-list__brand {
	display: inline-flex;
	position: static;
	padding: 7px 12px;
	margin-bottom: 0;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.6px;
	line-height: 1;
}

.latest__item__text .products-list__brands a.products-list__brand:after {
	display: none;
	content: none;
}

.latest__item:hover .products-list__brands a.products-list__brand {
	padding-left: 12px;
}

a.products-list__brand:hover,
a.products-list__brand:focus {
	color: #111111;
	border-color: #cfa067;
	background-color: #fffaf5;
	outline: none;
}

.products-list__brand--static {
	background: #fafafa;
	color: #666666;
}

/* Stránka Vizualizácie — karty projektov */
.products-list__grid .latest__item__pic .projects-list__badge {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	display: inline-block;
	margin: 0;
	padding: 7px 12px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: #ffffff;
	background-color: #dfa667;
	border-radius: 3px;
	line-height: 1.1;
	white-space: nowrap;
	box-shadow: 0 4px 14px rgba(17, 17, 17, 0.18);
}

.products-list__grid .latest__item__text .projects-list__category {
	display: block;
	margin-bottom: 8px;
	color: #dfa667;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 2px;
	line-height: 1.3;
}

.projects-list__excerpt {
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.6;
	color: #666666;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

.projects-list__excerpt p {
	margin-bottom: 0;
}

.projects-list__pager {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 12px;
	padding-top: 40px;
}

.projects-list__pager a,
.projects-list__pager-current {
	font-size: 15px;
	color: #111111;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 10px;
	line-height: 1;
	text-align: center;
	border: 2px solid transparent;
	transition: border-color 0.3s ease, color 0.3s ease;
}

.projects-list__pager a:hover,
.projects-list__pager a:focus {
	border-color: #dfa667;
	color: #111111;
	text-decoration: none;
	outline: none;
}

.projects-list__pager-current {
	border-color: #dfa667;
	color: #dfa667;
}

/* Produkty — značky v jednom riadku, do stratena */
.latest__brands-fade {
	position: relative;
	overflow: hidden;
	max-width: 100%;
	margin-bottom: 10px;
	-webkit-mask-image: linear-gradient(to right, #000 0%, #000 62%, transparent 100%);
	mask-image: linear-gradient(to right, #000 0%, #000 62%, transparent 100%);
}

.latest__item__text .latest__brands-line {
	display: inline-block;
	white-space: nowrap;
	margin-bottom: 0;
}
