/* /assets/css/footer.css
   ============================================================
   AMAZON-STYLE FOOTER — Color palette & layout matching Amazon
   ============================================================ */

/* ─── Back to Top ─── */
.footer-back-to-top {
	background: #485769;
	text-align: center;
	padding: 10px 0;
	cursor: pointer;
	transition: background 0.15s;
}

.footer-back-to-top:hover {
	background: #51657a;
}

.footer-back-to-top a {
	color: #fff;
	font-size: 0.78rem;
	font-weight: 500;
	text-decoration: none;
	display: block;
	letter-spacing: 0.02em;
}

/* ─── Main Footer Container ─── */
.footer {
	position: relative;
	background: #232f3e;
	color: #ddd;
	margin-top: 0;
	padding-top: 0;
}

.footer-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 36px 20px 0;
}

/* ─── Trust Strip ─── */
.footer-trust-strip {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 0;
	padding: 14px 0 20px;
	margin-bottom: 24px;
	border-bottom: 1px solid #3a4553;
}

.footer-trust-strip span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 2px 14px;
	font-size: 0.76rem;
	font-weight: 400;
	color: #ccc;
	white-space: nowrap;
	border-right: 1px solid #3a4553;
	line-height: 1.5;
}

.footer-trust-strip span:last-child {
	border-right: none;
}

.footer-trust-strip .trust-icon {
	font-size: 0.82rem;
	color: #ddd;
}

/* ─── 5-Column Grid ─── */
.footer-top {
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
	padding-bottom: 28px;
}

/* Column headings — Amazon style: normal case, white, bold */
.footer-top h4 {
	font-size: 0.88rem;
	font-weight: 700;
	color: #fff;
	margin-bottom: 12px;
	letter-spacing: 0;
	text-transform: none;
}

.footer-top h5 {
	font-size: 0.78rem;
	font-weight: 600;
	color: #999;
	margin-bottom: 8px;
	text-transform: none;
	letter-spacing: 0.02em;
}

/* Vertical column separators (Amazon style) */
.footer-top > *:not(:last-child) {
	border-bottom: 1px solid #3a4553;
	padding-bottom: 28px;
}

/* ─── Column 1: Brand ─── */
.footer-brand {
	max-width: 100%;
}

.footer-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	text-decoration: none;
}

.footer-logo img {
	border-radius: 4px;
	width: 36px;
	height: 36px;
}

.footer-logo span {
	font-size: 1.05rem;
	font-weight: 700;
	color: #fff;
}

.footer-tagline {
	font-size: 0.78rem;
	line-height: 1.6;
	color: #999;
	margin-bottom: 14px;
}

/* Social links — Amazon style: no background, no boxes */
.footer-social {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

.social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px 8px;
	color: #ccc;
	text-decoration: none;
	transition: color 0.15s;
	font-size: 0.82rem;
}

.social-link:hover {
	color: #fff;
}

.social-link svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
	display: block;
}

/* ─── Column 2 & 3: Link Lists ─── */
.footer-links ul,
.footer-service ul {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.footer-links a,
.footer-service a {
	font-size: 0.78rem;
	color: #ddd;
	text-decoration: none;
	transition: none;
	display: inline-block;
}

.footer-links a:hover,
.footer-service a:hover {
	color: #fff;
	text-decoration: underline;
}

/* ─── Column 4: Contact ─── */
.footer-contact ul {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.footer-contact a,
.footer-address {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.78rem;
	color: #ddd;
	text-decoration: none;
	transition: none;
}

.footer-contact a:hover {
	color: #fff;
	text-decoration: underline;
}

.footer-contact .contact-icon {
	font-size: 0.82rem;
	flex-shrink: 0;
	width: 18px;
	text-align: center;
}

.footer-support-hours {
	margin-top: 14px;
	padding: 8px 10px;
	font-size: 0.74rem;
	line-height: 1.6;
	color: #999;
	border: none;
	background: transparent;
	border-radius: 0;
}

.footer-support-hours strong {
	color: #ccc;
	font-weight: 600;
}

/* ─── Column 5: Trust ─── */
.footer-trust {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.footer-trust-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.footer-trust-list li {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 0.78rem;
	color: #ddd;
}

.footer-trust-list .check-icon {
	color: #4ade80;
	font-size: 0.78rem;
	flex-shrink: 0;
}

.footer-payment,
.footer-shipping {
	margin-top: 10px;
}

.trust-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 0;
	font-size: 0.76rem;
	font-weight: 400;
	color: #ddd;
	border: none;
	background: transparent;
	border-radius: 0;
}

/* ─── Footer Bottom (darker strip, Amazon style) ─── */
.footer-bottom {
	background: #131a22;
	border-top: none;
	padding: 14px 20px 18px;
	margin: 0 -20px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	text-align: center;
	font-size: 0.72rem;
	color: #999;
}

.footer-bottom p {
	line-height: 1.5;
}

.footer-bottom-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2px 12px;
}

.footer-bottom-links a {
	color: #999;
	text-decoration: none;
	transition: none;
}

.footer-bottom-links a:hover {
	color: #fff;
	text-decoration: underline;
}

.footer-bottom-links .sep {
	color: #555;
	font-size: 0.65rem;
}

.footer-credit {
	margin-top: 2px;
}

.footer-credit a {
	color: #999;
	font-weight: 400;
	text-decoration: none;
	transition: none;
}

.footer-credit a:hover {
	color: #fff;
	text-decoration: underline;
}

/* ─── RESPONSIVE: Tablet (≥640px) ─── */
@media (min-width: 640px) {
	.footer-top {
		grid-template-columns: 1.5fr 1fr 1fr 1.2fr 1.2fr;
		gap: 0;
	}

	.footer-top > * {
		padding: 0 20px;
	}

	/* Vertical column dividers (Amazon style) */
	.footer-top > *:not(:last-child) {
		border-bottom: none;
		border-right: 1px solid #3a4553;
		padding-bottom: 0;
	}

	.footer-top > *:first-child {
		padding-left: 0;
	}

	.footer-top > *:last-child {
		padding-right: 0;
		border-right: none;
	}

	.footer-bottom {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		gap: 4px 20px;
		text-align: center;
		padding: 14px 20px 18px;
	}

	.footer-bottom p {
		flex: 0 0 100%;
	}

	.footer-bottom-links {
		justify-content: center;
	}
}

/* ─── RESPONSIVE: Small tablet (480-639px) ─── */
@media (min-width: 480px) and (max-width: 639px) {
	.footer-top {
		grid-template-columns: 1fr 1fr;
		gap: 0;
	}

	.footer-top > * {
		padding: 20px;
	}

	.footer-top > *:not(:last-child) {
		border-bottom: 1px solid #3a4553;
		padding-bottom: 20px;
	}

	.footer-brand {
		grid-column: 1 / -1;
	}
}

/* ─── RESPONSIVE: Mobile (<480px) ─── */
@media (max-width: 479px) {
	.footer-trust-strip {
		justify-content: flex-start;
		overflow-x: auto;
		flex-wrap: nowrap;
		padding-bottom: 12px;
		scrollbar-width: none;
	}

	.footer-trust-strip::-webkit-scrollbar {
		display: none;
	}

	.footer-trust-strip span {
		flex-shrink: 0;
		border-right: 1px solid #3a4553;
		padding: 2px 10px;
	}

	.footer-bottom {
		margin: 0 -16px;
	}
}
