/* =========================================================
   GRAND BAR: футер сайта
   ========================================================= */

.gb-ft {
	--gft-yellow: #F9A91D;
	--gft-yellow-dark: #e09005;
	--gft-dark: #1f1f1f;
	--gft-dark-2: #171717;
	--gft-text: #e5e7eb;
	--gft-muted: #9ca3af;
	--gft-line: rgba(255, 255, 255, 0.08);
	margin-top: 40px;
	font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--gft-text);
}

.gb-ft a {
	text-decoration: none;
	transition: color 0.2s, background-color 0.2s, border-color 0.2s, transform 0.2s;
}

/* ---------- Полоса-призыв ---------- */
.gb-ft-cta {
	background: var(--gft-yellow);
	color: #1d1d1b;
}

.gb-ft-cta-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 32px;
	padding: 16px 0;
}

.gb-ft-cta-title {
	font-size: 19px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.01em;
}

.gb-ft-cta-sub {
	margin-top: 2px;
	font-size: 14px;
	line-height: 1.4;
	color: rgba(29, 29, 27, 0.75);
}

.gb-ft-cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.gb-ft-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 42px;
	padding: 0 22px;
	border: 2px solid transparent;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
	box-sizing: border-box;
}

.gb-ft-btn--dark,
.gb-ft-btn--dark:visited {
	background: #1d1d1b;
	color: #ffffff;
}

.gb-ft-btn--dark:hover {
	background: #000000;
	color: #ffffff;
	transform: translateY(-1px);
}

.gb-ft-btn--outline,
.gb-ft-btn--outline:visited {
	border-color: #1d1d1b;
	background: transparent;
	color: #1d1d1b;
}

.gb-ft-btn--outline:hover {
	background: rgba(29, 29, 27, 0.08);
	color: #1d1d1b;
}

.gb-ft-btn-icon {
	width: 17px;
	height: 17px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.gb-ft-btn-icon--wa {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2325D366'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm5.4 14.1c-.2.6-1.3 1.2-1.8 1.3-.5.1-1 .1-1.7-.1-.4-.1-.9-.3-1.5-.6-2.7-1.2-4.4-3.9-4.5-4.1-.1-.2-1.1-1.4-1.1-2.7s.7-1.9.9-2.2c.2-.3.5-.3.7-.3h.5c.2 0 .4 0 .6.5l.8 2c.1.2.1.4 0 .5l-.3.5-.4.4c-.1.1-.3.3-.1.6.2.3.7 1.2 1.6 2 1.1 1 2 1.3 2.3 1.4.3.1.5.1.6-.1l.9-1c.2-.3.4-.2.6-.1l1.9.9c.3.1.5.2.5.3.1.2.1.8-.1 1.4z'/%3E%3C/svg%3E");
}

.gb-ft-btn-icon--phone {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

/* ---------- Основная часть ---------- */
.gb-ft-main {
	padding: 48px 0 36px;
	background: var(--gft-dark);
}

.gb-ft-grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
	gap: 32px 40px;
}

.gb-ft-col {
	min-width: 0;
}

.gb-ft-title {
	margin-bottom: 16px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #ffffff;
}

/* о компании */
.gb-ft-logo {
	display: inline-flex;
	padding: 10px 16px;
	border-radius: 14px;
	background: #ffffff;
	line-height: 0;
}

.gb-ft-logo img {
	display: block;
	width: 140px;
	height: auto;
}

.gb-ft-tagline {
	margin-top: 10px;
	font-size: 14px;
	font-weight: 600;
	color: var(--gft-yellow);
}

.gb-ft-about {
	margin: 8px 0 16px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--gft-muted);
}

.gb-ft-socials {
	display: flex;
	align-items: center;
	gap: 10px;
}

.gb-ft-socials .gb-header-socials {
	display: flex !important;
	gap: 10px;
	margin: 0 !important;
}

.gb-ft-socials .gb-header-social-link {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.06);
}

.gb-ft-socials .gb-header-social-link:hover {
	transform: translateY(-2px);
	box-shadow: 0 0 0 4px rgba(249, 169, 29, 0.35);
}

/* меню */
.gb-ft-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.gb-ft-menu li {
	margin: 0 0 10px;
	padding: 0;
	list-style: none;
	background: none;
}

.gb-ft-menu li::before {
	display: none !important;
}

.gb-ft-menu a,
.gb-ft-menu a:visited {
	font-size: 14px;
	line-height: 1.4;
	color: var(--gft-text);
	border: none;
}

.gb-ft-menu a:hover {
	color: var(--gft-yellow);
}

/* в «Покупателям» скрываем «Каталог продукции» — он есть отдельной колонкой */
.gb-ft-menu--buyers li:has(> a[href="/catalog/"]) {
	display: none;
}

.gb-ft-more,
.gb-ft-more:visited {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 4px;
	font-size: 14px;
	font-weight: 600;
	color: var(--gft-yellow);
}

.gb-ft-more::after {
	content: "→";
	transition: transform 0.2s;
}

.gb-ft-more:hover {
	color: var(--gft-yellow);
}

.gb-ft-more:hover::after {
	transform: translateX(3px);
}

/* контакты */
.gb-ft-contact {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 16px;
}

.gb-ft-contact-icon {
	flex-shrink: 0;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background-color: rgba(249, 169, 29, 0.14);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 16px 16px;
}

.gb-ft-contact-icon--phone {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F9A91D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.910a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

.gb-ft-contact-icon--location {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F9A91D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

.gb-ft-contact-icon--clock {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F9A91D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E");
}

.gb-ft-contact-icon--mail {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F9A91D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E");
}

.gb-ft-contact-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	padding-top: 6px;
	min-width: 0;
}

.gb-ft-phone,
.gb-ft-phone a,
.gb-ft-phone a:visited {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
	color: #ffffff;
	border: none !important;
	text-decoration: none !important;
}

.gb-ft-phone a:hover {
	color: var(--gft-yellow);
}

.gb-ft-contact-text,
.gb-ft-contact-text a,
.gb-ft-contact-text a:visited {
	font-size: 14px;
	line-height: 1.5;
	color: var(--gft-text);
	border: none !important;
	text-decoration: none !important;
}

.gb-ft-email a:hover {
	color: var(--gft-yellow);
}

.gb-ft-route,
.gb-ft-route:visited {
	font-size: 13px;
	font-weight: 600;
	color: var(--gft-yellow);
	border-bottom: 1px dashed rgba(249, 169, 29, 0.6);
}

.gb-ft-route:hover {
	color: #ffffff;
	border-bottom-color: #ffffff;
}

.gb-ft-badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 2px;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(34, 197, 94, 0.12);
	color: #86efac;
	font-size: 12px;
	font-weight: 600;
}

.gb-ft-badge::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #22c55e;
	box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

/* ---------- Нижняя полоса ---------- */
.gb-ft-bottom {
	padding: 18px 0;
	border-top: 1px solid var(--gft-line);
	background: var(--gft-dark-2);
}

.gb-ft-bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 24px;
}

.gb-ft-copy,
.gb-ft-copy a,
.gb-ft-copy a:visited {
	font-size: 13px;
	line-height: 1.5;
	color: var(--gft-muted);
}

.gb-ft-copy a {
	color: var(--gft-text);
	border-bottom: 1px solid rgba(229, 231, 235, 0.3);
}

.gb-ft-copy a:hover {
	color: var(--gft-yellow);
	border-bottom-color: var(--gft-yellow);
}

/* значки оплаты */
.gb-ft-pay {
	display: flex;
	align-items: center;
	gap: 8px;
}

.gb-ft-pay-label {
	margin-right: 4px;
	font-size: 12px;
	color: var(--gft-muted);
}

.gb-ft-pay-card {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 30px;
	border-radius: 6px;
	background: #ffffff;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
}

.gb-ft-pay-card--mir {
	color: #0f754e;
	letter-spacing: 0.04em;
}

.gb-ft-pay-card--visa {
	color: #1a1f71;
	font-style: italic;
	letter-spacing: 0.02em;
}

.gb-ft-pay-card--mc i {
	display: block;
	width: 16px;
	height: 16px;
	border-radius: 50%;
}

.gb-ft-pay-card--mc i:first-child {
	background: #eb001b;
	margin-right: -6px;
}

.gb-ft-pay-card--mc i:last-child {
	background: #f79e1b;
	mix-blend-mode: multiply;
}

/* кнопка «Наверх» */
.gb-ft-up,
.gb-ft-up:visited {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border: 1px solid var(--gft-line);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	color: var(--gft-text);
}

.gb-ft-up:hover {
	border-color: var(--gft-yellow);
	color: var(--gft-yellow);
}

.gb-ft-up-icon {
	width: 14px;
	height: 14px;
	background: no-repeat center url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e5e7eb' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='18 15 12 9 6 15'/%3E%3C/svg%3E");
	background-size: contain;
}

/* ---------- Адаптив ---------- */
@media (max-width: 1199px) {
	.gb-ft-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 767px) {
	.gb-ft {
		margin-top: 28px;
	}

	.gb-ft-cta-inner {
		padding: 14px 0;
	}

	.gb-ft-cta-title {
		font-size: 16px;
	}

	.gb-ft-cta-sub {
		font-size: 13px;
	}

	.gb-ft-cta-actions {
		width: 100%;
	}

	.gb-ft-btn {
		flex: 1 1 100%;
		height: 40px;
	}

	.gb-ft-main {
		padding: 32px 0 24px;
	}

	.gb-ft-grid {
		grid-template-columns: 1fr 1fr;
		gap: 28px 20px;
	}

	.gb-ft-col--about,
	.gb-ft-contacts {
		grid-column: 1 / -1;
	}

	.gb-ft-bottom-inner {
		flex-direction: column;
		align-items: flex-start;
	}
}