/**
 * Footer — 4-column GSMArena-style. Theme-aware (light/dark).
 *
 * @package NewTechPrice
 */

.ntp-footer {
	margin-top: auto;
}

.ntp-footer-grid {
	display: grid;
	align-items: start;
	max-width: 1440px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem;
	padding-right: 1rem;
}

.ntp-footer-col {
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.ntp-footer-heading {
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #475569;
	margin: 0 0 1rem;
}

[data-theme="dark"] .ntp-footer-heading {
	color: #94a3b8;
}

.ntp-footer-identity-inner {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.ntp-footer-logo {
	display: inline-block;
}

.ntp-footer-logo img,
.ntp-footer-logo .custom-logo {
	max-height: 2rem;
	width: auto;
	object-fit: contain;
}

.ntp-footer-logo .custom-logo-link {
	display: inline-block;
}

.ntp-footer-logo-text {
	font-size: 1.25rem;
	font-weight: 700;
	color: inherit;
}

.ntp-footer-tagline {
	font-size: 0.875rem;
	line-height: 1.5;
	color: #475569;
	margin: 0;
	max-width: 16rem;
}

[data-theme="dark"] .ntp-footer-tagline {
	color: #94a3b8;
}

.ntp-footer-actions-wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.5rem;
	margin-top: 0.5rem;
}

.ntp-footer-big-buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
}

.ntp-play-store-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.625rem;
	height: 54px;
	min-width: 180px;
	padding: 10px 18px;
	background-color: #000;
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	border-radius: 12px;
	transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
	flex-shrink: 0;
}

.ntp-play-store-btn:hover {
	background-color: #1a1a1a;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .ntp-play-store-btn {
	background-color: #000;
	color: #fff;
}

[data-theme="dark"] .ntp-play-store-btn:hover {
	background-color: #1a1a1a;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.ntp-play-store-btn__icon {
	flex-shrink: 0;
}

.ntp-play-store-btn__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	line-height: 1.2;
}

.ntp-play-store-btn__line1 {
	font-size: 0.625rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 500;
}

.ntp-play-store-btn__line2 {
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.01em;
}

.ntp-social-fb-group {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 20px;
	height: 54px;
	background-color: #1877F2;
	color: #ffffff;
	text-decoration: none;
	font-weight: 600;
	border-radius: 50px;
	transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
	flex-shrink: 0;
}

.ntp-social-fb-group:hover {
	background-color: #166fe5;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
}

.ntp-social-fb-group svg {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}

.ntp-social-fb-group__label {
	font-size: 0.875rem;
	font-weight: 600;
	white-space: nowrap;
}

.ntp-footer-social {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}

.ntp-footer-social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ntp-footer-social-link:hover {
	transform: scale(1.1);
}

.ntp-footer-social-link svg {
	width: 22px;
	height: 22px;
	flex-shrink: 0;
}

.ntp-footer-social-link.ntp-social-fb {
	background-color: #1877F2;
	color: #ffffff;
}

.ntp-footer-social-link.ntp-social-fb:hover {
	box-shadow: 0 0 16px rgba(24, 119, 242, 0.6);
}

.ntp-footer-social-link.ntp-social-yt {
	background-color: #FF0000;
	color: #ffffff;
}

.ntp-footer-social-link.ntp-social-yt:hover {
	box-shadow: 0 0 16px rgba(255, 0, 0, 0.6);
}

.ntp-footer-social-link.ntp-social-ig {
	background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C);
	color: #ffffff;
}

.ntp-footer-social-link.ntp-social-ig:hover {
	box-shadow: 0 0 16px rgba(225, 48, 108, 0.6);
}

.ntp-footer-social-link.ntp-social-tt {
	background-color: #000000;
	color: #ffffff;
}

.ntp-footer-social-link.ntp-social-tt:hover {
	box-shadow: 0 0 12px rgba(0, 242, 234, 0.5), 0 0 20px rgba(255, 0, 80, 0.3);
}

.ntp-footer-social-link.ntp-social-wa {
	background-color: #25D366;
	color: #ffffff;
}

.ntp-footer-social-link.ntp-social-wa:hover {
	box-shadow: 0 0 16px rgba(37, 211, 102, 0.6);
}

.ntp-footer-social-link.ntp-social-tg {
	background-color: #0088cc;
	color: #ffffff;
}

.ntp-footer-social-link.ntp-social-tg:hover {
	box-shadow: 0 0 16px rgba(0, 136, 204, 0.6);
}

.ntp-footer-links,
.ntp-footer-brands {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.ntp-footer-link {
	display: block;
	font-size: 0.9375rem;
	color: inherit;
	text-decoration: none;
	padding: 0.5rem 0;
	transition: color 0.3s ease;
}

.ntp-footer-link:hover {
	color: var(--ntp-primary-color, #60a5fa);
}

.ntp-footer-bottom {
	margin-top: 2.5rem;
	padding: 1rem 0;
	border-top: 1px solid #e2e8f0;
}

[data-theme="dark"] .ntp-footer-bottom {
	border-top-color: #334155;
}

.ntp-footer-bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	max-width: 1440px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem;
	padding-right: 1rem;
}

.ntp-footer-copyright {
	font-size: 0.8125rem;
	color: #64748b;
	margin: 0;
}

[data-theme="dark"] .ntp-footer-copyright {
	color: #94a3b8;
}

.ntp-back-to-top {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: inherit;
	background: transparent;
	border: 1px solid #cbd5e1;
	border-radius: 0.5rem;
	cursor: pointer;
	transition: color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="dark"] .ntp-back-to-top {
	border-color: #475569;
}

.ntp-back-to-top:hover {
	color: var(--ntp-primary-color, #60a5fa);
	border-color: var(--ntp-primary-color, #60a5fa);
	box-shadow: 0 2px 8px rgba(96, 165, 250, 0.25);
}

@media (max-width: 767px) {
	.ntp-footer-actions-wrap {
		flex-direction: column;
		align-items: flex-start;
		text-align: left;
		gap: 1.25rem;
	}

	.ntp-footer-big-buttons {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75rem;
	}

	.ntp-play-store-btn,
	.ntp-social-fb-group {
		justify-content: flex-start;
		align-self: flex-start;
	}

	.ntp-play-store-btn {
		height: 44px;
		min-width: 120px;
		max-width: 145px;
		padding: 8px 12px;
		gap: 0.5rem;
		border-radius: 10px;
	}

	.ntp-play-store-btn .ntp-play-store-btn__icon {
		width: 24px;
		height: 24px;
	}

	.ntp-play-store-btn__line1 {
		font-size: 0.5625rem;
	}

	.ntp-play-store-btn__line2 {
		font-size: 0.8125rem;
	}

	.ntp-social-fb-group {
		height: 40px;
		padding: 8px 14px;
		gap: 6px;
		border-radius: 50px;
	}

	.ntp-social-fb-group svg {
		width: 18px;
		height: 18px;
	}

	.ntp-social-fb-group__label {
		font-size: 0.85rem;
	}

	.ntp-footer-social {
		justify-content: flex-start;
	}

	.ntp-footer-link {
		padding: 0.75rem 0;
		min-height: 2.75rem;
		display: flex;
		align-items: center;
	}

	.ntp-footer-bottom-inner {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}

	.ntp-back-to-top {
		justify-content: center;
		min-height: 2.75rem;
	}
}
