/* Footer redesign: white logo, separators, phone icons, requisites */
.footer {
	font-family: "Nunito", "ProximaNova", sans-serif;
}

/* Catalog strip above footer */
.footer_catalog {
	--fc-ink: #1f2a1c;
	--fc-muted: #5f6b5a;
	--fc-line: #d8ddd4;
	--fc-green: #319030;
	padding: 48px 0 40px;
	background: #f3f1ed;
	font-family: "Nunito", "ProximaNova", sans-serif;
}

.footer_catalog .wr .items {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	flex-wrap: unset;
	align-items: stretch;
}

.footer_catalog .wr .items .item {
	width: auto;
	margin: 0;
	padding: 0;
	border-bottom: 1px solid var(--fc-line);
	box-sizing: border-box;
}

.footer_catalog .wr .items .item:nth-child(4n + 1),
.footer_catalog .wr .items .item:nth-child(4n + 2),
.footer_catalog .wr .items .item:nth-child(4n + 3) {
	border-right: 1px solid var(--fc-line);
}

.footer_catalog .wr .items .item a {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 72px;
	padding: 12px 14px;
	box-sizing: border-box;
	text-decoration: none;
	color: var(--fc-ink);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.footer_catalog .wr .items .item a:hover {
	background: rgba(49, 144, 48, 0.06);
	color: var(--fc-green);
}

.footer_catalog .wr .items .item a .thumb {
	display: block;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border-radius: 8px;
	overflow: hidden;
	background: #e8ebe4;
}

.footer_catalog .wr .items .item a .thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.footer_catalog .wr .items .item a .title {
	display: block;
	min-width: 0;
	flex: 1 1 auto;
	font-size: 14px;
	font-weight: 700;
	color: inherit;
}

.footer_catalog .wr .items .item a .title .sub {
	display: block;
	margin-top: 2px;
	font-size: 12px;
	font-weight: 600;
	color: var(--fc-muted);
	padding-top: 0;
}

.footer_catalog .wr .items .item a:hover .title,
.footer_catalog .wr .items .item a:hover .title .sub {
	color: inherit !important;
}

@media screen and (max-width: 1000px) {
	.footer_catalog .wr .items {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer_catalog .wr .items .item {
		border-right: none;
	}

	.footer_catalog .wr .items .item:nth-child(2n + 1) {
		border-right: 1px solid var(--fc-line);
	}
}

@media screen and (max-width: 560px) {
	.footer_catalog {
		padding: 32px 0 24px;
	}

	.footer_catalog .wr .items {
		grid-template-columns: 1fr;
	}

	.footer_catalog .wr .items .item,
	.footer_catalog .wr .items .item:nth-child(2n + 1) {
		border-right: none;
	}

	.footer_catalog .wr .items .item a {
		min-height: 64px;
		padding: 10px 4px;
	}
}

.footer .footer_bottom {
	padding: 36px 0 40px;
}

.footer_grid {
	align-items: flex-start;
	justify-content: space-between;
	gap: 0;
	width: 100%;
}

.footer_col {
	position: relative;
	box-sizing: border-box;
	padding: 0 22px;
	min-width: 0;
}

.footer_col:first-child {
	padding-left: 0;
}

.footer_col:last-child {
	padding-right: 0;
}

.footer_col + .footer_col::before {
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	bottom: 4px;
	width: 1px;
	background: rgba(215, 180, 106, 0.28);
}

.footer_brand {
	flex: 0 1 200px;
	max-width: 220px;
}

.footer_legal {
	flex: 1.6 1 280px;
	max-width: 420px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 12px;
	line-height: 1.45;
}

.footer_nav {
	flex: 0.7 1 0;
	min-width: 140px;
}

.footer_contacts {
	flex: 1 1 0;
	max-width: 280px;
}

.footer_logo {
	display: inline-block;
	margin-bottom: 12px;
	line-height: 0;
}

.footer_logo img {
	display: block;
	width: 280px;
	max-width: 100%;
	height: auto;
}

.footer .footer_brand .slogan {
	margin: 0 0 10px;
	font-size: 14px;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.72);
}

.footer .footer_brand .copyright p {
	margin: 0;
	font-size: 13px;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.55);
}

.footer_warehouses {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 28px;
	width: 100%;
	margin-top: 22px;
	padding-top: 16px;
	border-top: 1px solid rgba(215, 180, 106, 0.22);
	box-sizing: border-box;
}

.footer_warehouses_list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 28px;
	min-width: 0;
}

.footer_warehouse {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	font-size: 13px;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.78);
}

.footer_warehouse_text strong {
	font-weight: 800;
	color: #fff;
}

.footer_icn_wh {
	color: #d7b46a;
}

.footer_meta {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
	margin-left: auto;
	text-align: right;
}

.footer_meta a {
	font-size: 13px;
	line-height: 1.35;
	text-decoration: none;
	transition: color 0.2s ease;
}

.footer_meta .footer_dev {
	color: rgba(255, 255, 255, 0.55);
}

.footer_meta .footer_dev:hover {
	color: #d7b46a;
}

.footer_meta .footer_policy {
	color: #d7b46a;
}

.footer_meta .footer_policy:hover {
	color: #fff;
}

.footer .footer_bottom ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer .footer_bottom ul li {
	display: block;
	padding-bottom: 12px;
}

.footer .footer_bottom ul li:last-child {
	padding-bottom: 0;
}

.footer .footer_bottom ul li a {
	font-size: 15px;
	color: #d2d2d2;
}

.footer_phone,
.footer_mail {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	margin: 0 0 12px;
	font-size: 15px;
	line-height: 1.35;
	color: #fff;
}

.footer_phone a,
.footer_mail a {
	color: #d7b46a;
	font-weight: 700;
}

.footer_phone_place {
	flex: 1 0 100%;
	padding-left: 26px;
	margin-top: -4px;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.5);
}

.footer_icn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	color: #d7b46a;
}

.footer_icn svg {
	display: block;
	width: 16px;
	height: 16px;
}

.footer_address {
	margin: 0 0 8px;
	padding-left: 26px;
	font-size: 13px;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.7);
}

.footer_legal_name {
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 800;
	color: #fff;
	letter-spacing: 0.02em;
}

.footer_legal_contacts {
	margin: 12px 0 0;
	font-size: 12px;
	line-height: 1.5;
}

.footer_legal_contacts a {
	color: #d7b46a;
}

.footer_legal_sep {
	margin: 0 5px;
	color: rgba(215, 180, 106, 0.5);
}

.footer_legal_address {
	margin: 0 0 12px;
	font-size: 12px;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.65);
}

.footer_reqs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px 14px;
	margin: 0;
}

.footer_reqs > div {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 4px 8px;
	align-items: baseline;
}

.footer_reqs dt {
	margin: 0;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(215, 180, 106, 0.85);
}

.footer_reqs dd {
	margin: 0;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.82);
	word-break: break-word;
}

@media screen and (max-width: 1100px) {
	.footer_grid {
		flex-wrap: wrap;
		gap: 28px 0;
	}

	.footer_col {
		flex: 1 1 45%;
		max-width: none;
		padding: 0 16px;
	}

	.footer_brand,
	.footer_legal {
		flex: 1 1 100%;
		max-width: none;
	}

	.footer_col:nth-child(odd) {
		padding-left: 0;
	}

	.footer_col:nth-child(even) {
		padding-right: 0;
	}

	.footer_col + .footer_col::before {
		display: none;
	}

	.footer_col:not(.footer_brand):not(.footer_legal):nth-child(even) {
		border-left: 1px solid rgba(215, 180, 106, 0.28);
	}

	.footer_legal {
		padding-bottom: 8px;
		border-bottom: 1px solid rgba(215, 180, 106, 0.2);
		margin-bottom: 8px;
	}
}

@media screen and (max-width: 720px) {
	.footer .footer_bottom {
		padding: 28px 0 32px;
	}

	.footer_grid {
		display: block;
	}

	.footer_col {
		width: 100%;
		max-width: none;
		padding: 0 0 22px !important;
		border: none !important;
		border-bottom: 1px solid rgba(215, 180, 106, 0.2) !important;
		margin-bottom: 22px;
	}

	.footer_col:last-child {
		border-bottom: none !important;
		margin-bottom: 0;
		padding-bottom: 0 !important;
	}

	.footer_logo img {
		width: 240px;
	}

	.footer_reqs {
		grid-template-columns: 1fr;
	}

	.footer_warehouses {
		margin-top: 8px;
		padding-top: 16px;
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.footer_warehouses_list {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.footer_meta {
		align-items: flex-start;
		margin-left: 0;
		text-align: left;
	}
}
