/**
 * Подвал как на боевом посадика.рф (footer.footer-single-product).
 */

/* Размеры включают отступы — как на боевом. */
.pos-foot, .pos-foot *, .pos-foot *::before, .pos-foot *::after { box-sizing: border-box; }

/* Обёртка GeneratePress с полосой «Создано с помощью…» — не нужна. */
.site-footer { display: none; }

.pos-foot {
	padding: 20px 0 40px;
	background: #ebebeb;
	color: #2f2620;
	font-family: var(--pos-font-head);
	font-size: 14px;
	line-height: 20px;
}
.pos-foot__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	column-gap: 30px;
	padding: 0 30px;
}
.pos-foot__col { position: relative; min-width: 0; }
.pos-foot__col--tool img { display: block; max-width: 100%; height: auto; }

.pos-foot__title {
	margin-top: 30px;
	color: #00ca1e;
	font-family: var(--pos-font-head);
	font-weight: 700;
	font-size: 16px;
	line-height: 22.86px;
	text-transform: uppercase;
}
.pos-foot__list {
	margin: 0 0 10px;
	padding: 0;
	list-style: none;
}
.pos-foot__list a {
	color: #2f2620;
	font-weight: 700;
}
.pos-foot__list a:hover { color: #4fad10; }

.pos-foot__delivery {
	position: relative;
	margin: 30px 0 0 50px;
	font-weight: 700;
	font-size: 18px;
	line-height: 1.2;
	text-transform: uppercase;
}
.pos-foot__delivery::before {
	content: "";
	position: absolute;
	top: -1px;
	left: -65px;
	width: 46px;
	height: 46px;
	background: url("../images/home/delivery.png") center / contain no-repeat;
}
.pos-foot__ip {
	margin: 20px 0 0;
	font-weight: 400;
	font-size: 14px;
	line-height: 20px;
	text-transform: none;
	white-space: nowrap;
}

.pos-foot__phone {
	position: relative;
	margin: 65px 0 0 50px;
	font-size: 16px;
	line-height: 22.86px;
}
.pos-foot__phone::before {
	content: "";
	position: absolute;
	top: 11px;
	left: -65px;
	width: 48px;
	height: 44px;
	background: url("../images/home/telephone.png") center / contain no-repeat;
}
.pos-foot__phone a { display: block; color: #2f2620; font-weight: 700; }
.pos-foot__phone a:hover { color: #4fad10; }
.pos-foot__phone span { font-weight: 700; text-transform: uppercase; }
.pos-foot__mail { margin-top: 5px; text-transform: uppercase; }

/* Список в последней колонке не сдвигает ягоды — как на боевом. */
.pos-foot__col--last .pos-foot__list { position: absolute; }
.pos-foot__berries {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 6px 0 0 -28px;
}

@media (max-width: 1240px) {
	.pos-foot__berries { margin: 48px 0 0 -9px; }
}

@media (max-width: 991px) {
	.pos-foot { padding: 10px 0 30px; }
	.pos-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; padding: 0 15px; }
	.pos-foot__col--tool, .pos-foot__berries { display: none; }
	.pos-foot__col--last .pos-foot__list { position: static; }
	.pos-foot__title, .pos-foot__list a { font-family: var(--pos-font-body); font-weight: 500; }
	.pos-foot__delivery { margin: 20px 0 0 44px; font-size: 15px; }
	.pos-foot__delivery::before { left: -44px; width: 34px; height: 44px; }
	.pos-foot__phone { margin: 20px 0 0 44px; font-size: 15px; }
	.pos-foot__phone::before { top: 0; left: -44px; width: 34px; }
}

@media (max-width: 510px) {
	.pos-foot__grid { grid-template-columns: 1fr; }
	.pos-foot__title { margin-top: 20px; font-size: 14px; }
	.pos-foot__ip { white-space: normal; }
}
