/**
 * Footer — identičan referentnom Divi footeru.
 */

.pp-footer {
	border-top: 1px solid rgba(77, 77, 77, 0.2);
	background-color: transparent;
}

.pp-footer__main {
	padding: 90px 0 75px;
}

.pp-footer__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	align-items: start;
	gap: 2rem;
	width: 85%;
	max-width: 1272px;
	margin: 0 auto;
}

.pp-footer__col--brand {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.pp-footer__col--contact {
	padding-left: 3%;
}

.pp-footer__brand-stack {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 215px;
	max-width: 100%;
	margin: 0 auto;
}

.pp-footer__logo {
	width: 190px;
	max-width: 100%;
	margin: 0;
	text-align: center;
}

.pp-footer__logo a {
	display: block;
}

.pp-footer__logo img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 auto;
}

.pp-footer__phone-wrap {
	width: 100%;
	max-width: 215px;
	margin: 1rem 0 0;
	text-align: center;
}

.pp-footer__phone-wrap .pp-btn--phone {
	display: block;
	width: 100%;
	min-width: 0;
	max-width: none;
	margin: 0;
}

.pp-footer__title {
	margin: 0;
	font-family: var(--pp-font-heading);
	font-size: 28px;
	font-weight: 400;
	line-height: 1.2em;
	color: var(--pp-color-text);
	text-align: left;
}

.pp-footer__divider {
	width: 50px;
	max-width: 50px;
	height: 0;
	border-top: 2px solid var(--pp-color-brown);
}

.pp-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pp-footer__item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--pp-font-body);
	font-size: 15px;
	font-weight: 400;
	line-height: 18px;
	color: var(--pp-color-text);
	padding-bottom: 11px;
}

.pp-footer__item--small {
	padding-bottom: 11px;
}

.pp-footer__item .pp-list-icon {
	flex: 0 0 auto;
	width: auto;
	margin-left: 0;
	margin-top: 0;
	font-size: 18px;
	line-height: 18px;
}

.pp-footer__item-text {
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	color: inherit;
}

.pp-footer__item-text a {
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	color: var(--pp-color-brown-dark);
	text-decoration: underline;
}

.pp-footer__item-text a:hover {
	color: inherit;
}

.pp-footer__newsletter-text {
	margin: 0 0 20px;
	font-family: "Source Sans Pro", Helvetica, Arial, Lucida, sans-serif;
	font-size: 15px;
	font-style: normal;
	font-weight: 400;
	line-height: 18px;
	color: var(--pp-color-text);
}

/* Newsletter forma */
.pp-newsletter__fields {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 0.75rem;
}

.pp-newsletter__field {
	flex: 1 1 180px;
	margin: 0;
}

.pp-newsletter__input {
	width: 100%;
	font-family: var(--pp-font-body);
	font-size: 14px;
	line-height: 1em;
	color: var(--pp-color-text);
	background: #fff;
	border: 1px solid #707070;
	border-radius: 0;
	padding: 10px 18px;
}

.pp-newsletter__input:focus-visible {
	outline: 2px solid var(--pp-color-brown-dark);
	outline-offset: 2px;
}

.pp-newsletter__input:focus {
	outline: 2px solid var(--pp-color-brown);
	outline-offset: 1px;
}

.pp-newsletter__button-wrap {
	margin: 0;
}

.pp-newsletter__button {
	display: inline-block;
	border: 0;
	border-radius: 3px;
	cursor: pointer;
	font-family: var(--pp-font-body);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.2;
	color: #fff;
	background-color: var(--pp-color-brown);
	background-image: url("../images/button-back-1.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	padding: 10px 1em;
	margin-top: -4px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
	transition: box-shadow 0.3s ease;
}

.pp-newsletter__button,
.pp-newsletter__button span {
	color: #fff !important;
}

.pp-newsletter__button:hover,
.pp-newsletter__button:focus-visible {
	box-shadow:
		0 8px 20px rgba(0, 0, 0, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.pp-newsletter__message {
	margin-bottom: 1rem;
}

.pp-newsletter__message--success h2 {
	margin: 0;
	font-family: var(--pp-font-body);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5em;
	color: var(--pp-color-text);
	text-align: left;
}

.pp-newsletter__message--error {
	font-size: 14px;
	color: #cf2e2e;
}

.pp-newsletter.is-success .pp-newsletter__fields {
	display: none;
}

.pp-newsletter.is-success .pp-newsletter__message--success {
	display: block !important;
}

/* Donja traka */
.pp-footer__bar {
	background-color: var(--pp-color-brown-dark);
	max-height: none;
}

.pp-footer__bar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	max-width: 100%;
	padding: 0 5%;
	min-height: 45px;
}

.pp-footer__bar-left,
.pp-footer__bar-right {
	display: flex;
	align-items: center;
}

.pp-footer__bar-meta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.2rem;
	padding-top: 6px;
}

.pp-footer__copyright {
	margin: 0;
	padding-top: 4px;
	font-size: 14px;
	font-weight: 300;
	line-height: 1.5em;
	color: #fff;
}

.pp-footer__legal {
	margin: 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
}

.pp-footer__legal a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 0.12em;
}

.pp-footer__legal a:hover,
.pp-footer__legal a:focus-visible {
	opacity: 0.9;
}

.pp-footer .pp-privacy-notice {
	margin-top: 0.75rem;
	font-size: 13px;
	line-height: 1.45;
	color: rgba(77, 77, 77, 0.9);
}

.pp-footer .pp-privacy-notice a {
	color: var(--pp-color-brown);
	text-decoration: underline;
}

/* Društvene mreže */
.pp-social {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 5px 0 0;
}

.pp-social__link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid rgba(255, 255, 255, 0.85);
	border-radius: 50%;
	color: #fff;
	text-decoration: none;
	transition: box-shadow 0.2s ease;
}

.pp-social__link:hover {
	box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

.pp-social__item--instagram .pp-social__link::before {
	content: "";
	display: block;
	width: 16px;
	height: 16px;
	background-color: currentColor;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16a4 4 0 110-8 4 4 0 010 8zm6.406-11.845a1.44 1.44 0 100 2.881 1.44 1.44 0 000-2.881z'/%3E%3C/svg%3E") center / contain no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16a4 4 0 110-8 4 4 0 010 8zm6.406-11.845a1.44 1.44 0 100 2.881 1.44 1.44 0 000-2.881z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.pp-social__item--facebook .pp-social__link::before {
	content: "";
	display: block;
	width: 16px;
	height: 16px;
	background-color: currentColor;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z'/%3E%3C/svg%3E") center / contain no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.pp-social--mobile {
	display: none;
}

.pp-social--desktop {
	display: flex;
}

/* Tablet */
@media (max-width: 980px) {
	.pp-footer__main {
		padding: 90px 0 75px;
	}

	.pp-footer__grid {
		grid-template-columns: 1fr;
		width: 85%;
		gap: 0;
	}

	.pp-footer__col--brand {
		padding-bottom: 40px;
	}

	.pp-footer__col--contact {
		padding-left: 0;
		padding-bottom: 40px;
	}

	.pp-footer__col--newsletter {
		padding-bottom: 40px;
	}

	.pp-footer__list {
		text-align: left;
	}

	.pp-newsletter__fields {
		flex-wrap: nowrap;
		align-items: stretch;
		gap: 0.75rem;
	}

	.pp-newsletter__field {
		flex: 1 1 auto;
		min-width: 0;
	}

	.pp-newsletter__button-wrap {
		flex: 0 0 auto;
		display: flex;
		align-items: stretch;
	}

	.pp-newsletter__button {
		margin-top: 0;
		height: 100%;
		white-space: nowrap;
	}

	.pp-footer__title {
		font-size: 26px;
	}

	.pp-footer__bar-inner {
		flex-wrap: wrap;
		max-height: none;
		padding-top: 5px;
		padding-bottom: 12px;
	}

	.pp-social--mobile {
		display: none;
	}

	.pp-social--desktop {
		display: flex;
	}
}

/* Tablet — levo poravnanje brand + kontakt naslova */
@media (min-width: 768px) and (max-width: 980px) {
	.pp-footer__col--brand {
		align-items: flex-start;
	}

	.pp-footer__brand-stack {
		align-items: flex-start;
		margin: 0;
	}

	.pp-footer__logo {
		text-align: left;
	}

	.pp-footer__logo img {
		margin: 0;
	}

	.pp-footer__phone-wrap {
		text-align: left;
	}

	.pp-footer__col--contact {
		text-align: left;
	}

	.pp-footer__col--newsletter {
		text-align: center;
	}

	body #page-container .pp-footer__col--newsletter .pp-divider-under-title--start {
		margin-left: auto;
		margin-right: auto;
	}

	body #page-container .pp-footer__col--newsletter .pp-divider-under-title--start > .pp-footer__title {
		text-align: center;
	}

	.pp-footer__newsletter-text {
		text-align: center;
	}
}

/* Mobile */
@media (max-width: 767px) {
	.pp-footer__col--brand {
		align-items: center;
	}

	.pp-footer__brand-stack {
		align-items: center;
		margin: 0 auto;
	}

	.pp-footer__logo {
		text-align: center;
	}

	.pp-footer__logo img {
		margin: 0 auto;
	}

	.pp-footer__phone-wrap {
		text-align: center;
	}

	.pp-footer__col--contact,
	.pp-footer__col--newsletter {
		text-align: center;
	}

	body #page-container .pp-footer__col--contact .pp-divider-under-title--start,
	body #page-container .pp-footer__col--newsletter .pp-divider-under-title--start {
		margin-left: auto;
		margin-right: auto;
	}

	body #page-container .pp-footer__col--contact .pp-divider-under-title--start > .pp-footer__title,
	body #page-container .pp-footer__col--newsletter .pp-divider-under-title--start > .pp-footer__title {
		text-align: center;
	}

	.pp-footer__newsletter-text {
		text-align: center;
	}

	.pp-footer__main {
		padding: 70px 0;
	}

	.pp-footer__grid {
		width: 80%;
	}

	.pp-footer__title {
		font-size: 24px;
	}

	.pp-footer__bar-inner {
		display: block;
		text-align: center;
	}

	.pp-footer__bar-left,
	.pp-footer__bar-right {
		justify-content: center;
	}

	.pp-social--mobile {
		display: flex;
		justify-content: center;
		padding-top: 13px;
		padding-bottom: 4px;
		margin-bottom: 6px;
	}

	.pp-social--desktop {
		display: none;
	}

	.pp-footer__bar-meta {
		align-items: center;
		width: 100%;
		padding-top: 0;
	}

	.pp-footer__copyright {
		padding: 10px 11% 0;
	}

	.pp-footer__legal {
		padding: 0 11% 10px;
	}
}

@media (min-width: 981px) {
	.pp-social--mobile {
		display: none !important;
	}
}
