/* === tdshm footer modern === */
.footer.footer--modern {
	padding: 0;
	background: #1f2937;
}

.footer.footer--modern > .container {
	padding-top: 28px;
	padding-bottom: 8px;
}

.footer.footer--modern .footer__column {
	position: relative;
	padding: 20px 22px 24px;
	background-color: #374151;
	margin-bottom: 0;
}

.footer.footer--modern .footer__column:nth-of-type(1) {
	border-top-left-radius: 16px;
	border-bottom-left-radius: 16px;
}

.footer.footer--modern .footer__column:nth-of-type(4) {
	border-top-right-radius: 16px;
	border-bottom-right-radius: 16px;
}

@media (min-width: 992px) {
	.footer.footer--modern .footer__column + .footer__column::before {
		content: "";
		position: absolute;
		left: 0;
		top: 22px;
		bottom: 22px;
		width: 1px;
		background: rgba(255, 255, 255, 0.1);
	}
}

.footer.footer--modern .footer__column-heading {
	margin: 0 0 14px;
	font-size: 1.05em;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #fff;
}

.footer.footer--modern .footer__column-heading--sub {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 0.95em;
	font-weight: 600;
	opacity: 0.95;
}

.footer.footer--modern .footer__column-ul {
	margin: 0;
	padding: 0;
}

.footer.footer--modern .footer__column-li {
	margin: 0 0 8px;
	font-size: 1.05em;
	font-weight: 500;
	line-height: 1.35;
}

.footer.footer--modern .footer__column-li:last-child {
	margin-bottom: 0;
}

.footer.footer--modern .footer__column-a,
.footer.footer--modern a.footer__column-a,
.footer.footer--modern a.footer__column-a:visited {
	color: #d1d5db !important;
	text-decoration: none !important;
	transition: color 0.15s ease, opacity 0.15s ease;
}

.footer.footer--modern .footer__column-a:hover,
.footer.footer--modern .footer__column-a:focus,
.footer.footer--modern .footer__column-a:active {
	color: #93c5fd !important;
	text-decoration: none !important;
}

.footer.footer--modern .footer__logo {
	margin: 0 0 28px;
	max-width: 220px;
}

.footer.footer--modern .footer__logo a,
.footer.footer--modern .footer__column--brand .header-logo a {
	display: inline-block;
	background: transparent !important;
	padding: 0 !important;
	border-radius: 0 !important;
}

/* Transparent PNG with teal art → white on dark footer */
.footer.footer--modern .footer__logo .header-logo__img,
.footer.footer--modern .footer__column .header-logo a img,
.footer.footer--modern .footer__column--brand .header-logo a img {
	background: transparent !important;
	padding: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	max-width: 100%;
	height: auto;
	filter: none; /* white PNG logo */
	opacity: 0.95;
	transition: opacity 0.15s ease;
}

.footer.footer--modern .footer__logo a:hover img,
.footer.footer--modern .footer__column--brand .header-logo a:hover img {
	opacity: 1;
}



.footer.footer--modern .footer__brand-hours {
	margin-top: 14px;
	font-weight: 700;
	color: #e5e7eb;
}

.footer.footer--modern .footer__brand-address .footer__contacts-li {
	align-items: flex-start;
}

.footer.footer--modern .footer__brand-address .footer__column-a {
	font-size: 0.95em;
	line-height: 1.45;
	color: #e5e7eb !important;
}

.footer.footer--modern .footer__brand-address .footer__contacts-icon {
	margin-top: 3px;
	color: #60a5fa;
}

.footer.footer--modern .footer__contacts-icon {
	color: #60a5fa;
}

.footer.footer--modern .footer__contacts .header-phones__a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #d1d5db !important;
	text-decoration: none;
	transition: color 0.15s ease;
}

.footer.footer--modern .footer__contacts .header-phones__a:hover {
	color: #93c5fd !important;
}

.footer.footer--modern .footer__contacts .header-phones__a img {
	flex-shrink: 0;
}

.footer.footer--modern .footer__text {
	margin-top: 18px;
	padding: 18px 0 8px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	color: #9ca3af;
	width: 100%;
}

/* Align store photos with outer edges of footer columns block */
.footer.footer--modern > .container > .row > .col-sm-12:has(.footer__text),
.footer.footer--modern > .container > .row > [class*="col-"]:has(.footer__text) {
	padding-left: 0 !important;
	padding-right: 0 !important;
	float: none;
	width: 100%;
}
.footer.footer--modern .footer__text {
	margin-left: 0;
	margin-right: 0;
}

/* Store photos — same width as footer columns block */
.footer.footer--modern .footer__text .row-flex {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	margin: 0;
	gap: 12px;
}
.footer.footer--modern .footer__text .map-footer,
.footer.footer--modern .footer__text .col-sm-4,
.footer.footer--modern .footer__text .col-xs-12 {
	padding-left: 0 !important;
	padding-right: 0 !important;
	flex: 1 1 0;
	max-width: none;
	width: auto;
}
.footer.footer--modern .footer__text .m-f-img {
	display: block;
	width: 100%;
}
.footer.footer--modern .footer__text .m-f-img img {
	padding: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	height: auto;
	border-radius: 10px;
	display: block;
}
.footer.footer--modern .footer__text .m-f-address {
	width: 100% !important;
	left: 0 !important;
	bottom: 40px;
	box-sizing: border-box;
}
@media (max-width: 767px) {
	.footer.footer--modern .footer__text .row-flex {
		flex-direction: column;
		gap: 16px;
	}
	.footer.footer--modern .footer__text .map-footer {
		flex: 1 1 auto;
		width: 100%;
	}
}

.footer.footer--modern .footer__socials-payments {
	margin-top: 8px;
	padding: 16px 0;
	background: rgba(0, 0, 0, 0.18);
}

@media (max-width: 991px) {
	.footer.footer--modern .footer__column {
		border-radius: 12px !important;
		margin-bottom: 12px;
	}

	.footer.footer--modern .footer__column + .footer__column::before {
		display: none;
	}

	.footer.footer--modern .footer__column-heading {
		cursor: pointer;
		user-select: none;
	}

	.footer.footer--modern .footer__column-heading .fa-chevron-down {
		margin-left: auto;
		font-size: 0.75em;
		opacity: 0.7;
		transition: transform 0.2s ease;
	}

	.footer.footer--modern .footer__column-heading.open .fa-chevron-down {
		transform: rotate(180deg);
	}
}

@media (max-width: 767px) {
	.footer.footer--modern > .container {
		padding-top: 16px;
	}

	.footer.footer--modern .footer__column {
		padding: 16px 16px 18px;
	}

	.footer.footer--modern .footer__column--brand {
		text-align: left;
	}
}
/* === /tdshm footer modern === */

/* Legal requisites between rating and payments */
.footer__socials-payments-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}
.footer__legal {
	color: #ffffff !important;
	font-size: 12px;
	line-height: 1.45;
	text-align: center;
	padding: 4px 8px;
	white-space: nowrap;
}
.footer__legal,
.footer.footer--modern .footer__legal {
	color: #ffffff !important;
}
@media (min-width: 992px) {
	.footer__legal {
		text-align: left;
		font-size: 13px;
	}
}

.footer.footer--modern .footer__text-wrap {
	padding-left: 0 !important;
	padding-right: 0 !important;
	width: 100%;
}

@media (max-width: 575px) {
	.footer__legal { white-space: normal; font-size: 11px; }
}
