/* Footer. */
.ph-section--footer-columns,
.ph-section--footer-bottom {
	background: var(--pharmacy-footer-bg);
	color: var(--pharmacy-footer-text);
}

.ph-section--footer-columns h1,
.ph-section--footer-columns h2,
.ph-section--footer-columns h3 { color: #fff; }

.ph-section--footer-bottom {
	padding-block: 20px !important;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ph-footer-col { display: flex; flex-direction: column; gap: 12px; }

.ph-footer-col__title {
	margin: 0;
	font-size: 0.88rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.ph-footer__logo { display: block; text-decoration: none; }
.ph-footer__logo img { max-width: 170px; height: auto; }

.ph-footer__logo--text {
	font-family: var(--pharmacy-font-heading);
	font-size: 1.2rem;
	font-weight: 700;
	color: #fff;
}

.ph-footer__desc { max-width: 34ch; margin: 0; font-size: 0.88rem; opacity: 0.75; }

.ph-footer-menu,
.ph-footer-contact {
	display: grid;
	gap: 9px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ph-footer-menu a,
.ph-footer-contact a {
	color: inherit;
	text-decoration: none;
	font-size: 0.9rem;
	opacity: 0.8;
}

.ph-footer-menu a:hover,
.ph-footer-contact a:hover { opacity: 1; color: #fff; }

.ph-footer-contact li { display: flex; align-items: flex-start; gap: 9px; font-size: 0.9rem; }
.ph-footer-contact svg { flex: 0 0 auto; margin-top: 3px; opacity: 0.6; }
.ph-footer-contact address { font-style: normal; opacity: 0.8; }

.ph-footer-hours { margin-top: 6px; font-size: 0.85rem; }
.ph-footer-hours strong { display: block; margin-bottom: 4px; color: #fff; }
.ph-footer-hours p { margin: 0; opacity: 0.75; }
.ph-footer-text { font-size: 0.88rem; opacity: 0.8; }

.ph-social { display: flex; gap: 8px; list-style: none; margin: 4px 0 0; padding: 0; }

.ph-social a {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	transition: background-color var(--pharmacy-transition) ease;
}

.ph-social a:hover { background: var(--pharmacy-primary); }

.ph-footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	font-size: 0.82rem;
}

.ph-footer-bottom p { margin: 0; opacity: 0.7; }
.ph-footer-bottom__licence { display: inline-flex; align-items: center; gap: 6px; }

.ph-policy-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ph-policy-menu a { color: inherit; text-decoration: none; opacity: 0.7; }
.ph-policy-menu a:hover { opacity: 1; }

.ph-payments { display: flex; gap: 7px; list-style: none; margin: 0; padding: 0; }

.ph-payments__item {
	display: grid;
	place-items: center;
	width: 38px;
	height: 25px;
	border-radius: 4px;
	background: #fff;
}

@media (max-width: 749px) {
	.ph-footer-cols.is-collapsible .ph-footer-col:not(.ph-footer-col--brand) .ph-footer-col__title {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin: 0;
		padding: 14px 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
		cursor: pointer;
	}

	.ph-footer-cols.is-collapsible .ph-footer-col__title::after {
		content: "+";
		font-size: 18px;
		font-weight: 400;
	}

	.ph-footer-cols.is-collapsible .ph-footer-col.is-open .ph-footer-col__title::after {
		content: "-";
	}

	.ph-footer-cols.is-collapsible .ph-footer-col:not(.ph-footer-col--brand) .ph-footer-col__body {
		display: none;
		padding: 14px 0;
	}

	.ph-footer-cols.is-collapsible .ph-footer-col.is-open .ph-footer-col__body { display: block; }

	.ph-footer-bottom { justify-content: center; text-align: center; }
}
