/* /assets/css/footer.css */

.footer {
	position: relative;
	background: var(--ink);
	color: rgba(255, 255, 255, 0.85);
	margin-top: 0;
	padding-top: 18px;
}

/* Perforated "receipt tear" divider — nods to the COD/delivery domain */
.footer-perforation {
	height: 18px;
	background-image: radial-gradient(circle at 10px 9px, var(--bg) 5px, transparent 5.5px);
	background-size: 24px 18px;
	background-repeat: repeat-x;
	background-position: top center;
}

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

.footer-top {
	display: grid;
	grid-template-columns: 1fr;
	gap: 36px;
	padding-bottom: 32px;
}

.footer-brand {
	max-width: 360px;
}

.footer-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
}
.footer-logo img {
	border-radius: 10px;
}
.footer-logo span {
	font-family: var(--font-display);
	font-size: 1.15rem;
	font-weight: 600;
	color: white;
}

.footer-tagline {
	font-size: 0.88rem;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.55);
	margin-bottom: 20px;
}

.footer-social {
	display: flex;
	gap: 10px;
}

.social-link {
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--radius-full);
	background: rgba(255, 255, 255, 0.07);
	color: rgba(255, 255, 255, 0.75);
	transition:
		background 0.2s ease,
		color 0.2s ease,
		transform 0.2s var(--ease);
}
.social-link svg {
	width: 17px;
	height: 17px;
}
.social-link:hover {
	background: var(--brand-light);
	color: white;
	transform: translateY(-2px);
}

.footer-links h4,
.footer-contact h4,
.footer-trust h4 {
	font-size: 0.88rem;
	font-weight: 700;
	color: white;
	margin-bottom: 16px;
	letter-spacing: 0.01em;
}

.footer-links ul,
.footer-contact ul {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 11px;
}

.footer-links a {
	font-size: 0.88rem;
	color: rgba(255, 255, 255, 0.6);
	transition: color 0.18s ease, padding-left 0.18s ease;
}
.footer-links a:hover {
	color: white;
	padding-left: 3px;
}

.footer-contact a,
.footer-address {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.86rem;
	color: rgba(255, 255, 255, 0.6);
	transition: color 0.18s ease;
}
.footer-contact a:hover {
	color: white;
}
.footer-contact svg,
.footer-address svg {
	width: 17px;
	height: 17px;
	flex-shrink: 0;
	color: var(--brand-lighter);
}
.footer-address {
	align-items: flex-start;
}
.footer-address svg {
	margin-top: 1px;
}

.footer-trust-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 11px;
}
.footer-trust-list li {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 0.86rem;
	color: rgba(255, 255, 255, 0.6);
}
.footer-trust-list svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	color: #4ade80;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 20px 0 26px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	text-align: center;
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.4);
}

.footer-credit a {
	color: rgba(255, 255, 255, 0.55);
	font-weight: 600;
	transition: color 0.18s ease;
}
.footer-credit a:hover {
	color: var(--brand-lighter);
}

@media (min-width: 640px) {
	.footer-top {
		grid-template-columns: 1.4fr 1fr 1fr 1fr;
	}
	.footer-bottom {
		flex-direction: row;
		justify-content: space-between;
		text-align: left;
	}
}
