/**
 * KOSMO OIL — Footer Styles
 */

.kosmo-footer {
	background-color: var(--kosmo-green-primary);
	color: rgba(255, 253, 247, 0.84);
	margin-top: 0;
}

.kosmo-footer__trust-bar {
	background-color: rgba(0, 0, 0, 0.16);
	border-bottom: 1px solid rgba(255, 253, 247, 0.12);
	padding: 28px 0;
}

.kosmo-footer__trust-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.kosmo-footer__trust-item {
	display: flex;
	align-items: center;
	gap: 14px;
}

.kosmo-footer__trust-icon {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(198, 154, 69, 0.18);
	color: var(--kosmo-golden);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.kosmo-footer__trust-item strong {
	display: block;
	color: var(--kosmo-white);
	font-size: 0.92rem;
}

.kosmo-footer__trust-item span {
	font-size: 0.8rem;
	color: rgba(255, 253, 247, 0.7);
}

.kosmo-footer__main {
	padding: 68px 24px 52px;
}

.kosmo-footer__grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 0.9fr 1.2fr;
	gap: 40px;
}

.kosmo-footer__bio {
	margin-top: 18px;
	font-size: 0.92rem;
	color: rgba(255, 253, 247, 0.78);
}

.kosmo-footer__fssai {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: var(--kosmo-radius-sm);
	background: rgba(255, 253, 247, 0.08);
	border: 1px solid rgba(198, 154, 69, 0.35);
	font-size: 0.84rem;
	color: var(--kosmo-golden);
	margin-bottom: 18px;
}

.kosmo-footer__socials {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.kosmo-footer__socials a {
	padding: 7px 14px;
	border-radius: var(--kosmo-radius-pill);
	background: rgba(255, 253, 247, 0.1);
	color: var(--kosmo-white);
	font-size: 0.82rem;
	font-weight: 600;
}

.kosmo-footer__socials a:hover {
	background: var(--kosmo-golden);
	color: var(--kosmo-dark);
}

.kosmo-footer__heading {
	color: var(--kosmo-golden);
	font-family: var(--kosmo-font-body);
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	margin-bottom: 20px;
}

.kosmo-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.kosmo-footer__links a {
	color: rgba(255, 253, 247, 0.82);
	font-size: 0.92rem;
}

.kosmo-footer__links a:hover {
	color: var(--kosmo-golden);
}

.kosmo-footer__location {
	margin-bottom: 16px;
}

.kosmo-footer__location strong {
	display: block;
	color: var(--kosmo-white);
	font-size: 0.92rem;
	margin-bottom: 4px;
}

.kosmo-footer__location p {
	font-size: 0.84rem;
	color: rgba(255, 253, 247, 0.74);
	margin: 0;
}

.kosmo-footer__contact-list {
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
	display: grid;
	gap: 8px;
	font-size: 0.88rem;
}

.kosmo-footer__contact-list li {
	display: flex;
	align-items: center;
	gap: 8px;
}

.kosmo-footer__contact-list a {
	color: var(--kosmo-golden);
	font-weight: 600;
}

.kosmo-footer__bottom {
	border-top: 1px solid rgba(255, 253, 247, 0.12);
	padding: 22px 0;
	font-size: 0.84rem;
	color: rgba(255, 253, 247, 0.7);
}

.kosmo-footer__bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.kosmo-footer__bottom p {
	margin: 0;
}

.kosmo-footer__payments {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.kosmo-payment-pill {
	padding: 4px 11px;
	border-radius: var(--kosmo-radius-pill);
	background: rgba(255, 253, 247, 0.1);
	color: var(--kosmo-white);
	font-size: 0.75rem;
	font-weight: 600;
}


/* Mobile Accordion Trigger Button (Static Heading on Desktop, Collapsible on Mobile) */
.kosmo-footer__acc-btn {
	background: none;
	border: none;
	padding: 0;
	margin: 0 0 20px;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	text-align: left;
	cursor: default;
}

.kosmo-footer__acc-btn .kosmo-footer__heading {
	margin-bottom: 0;
}

.kosmo-footer__acc-icon {
	display: none;
	color: var(--kosmo-mustard);
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1;
}

.kosmo-footer .kosmo-brand-logo__img {
	height: 58px;
	width: auto;
	max-width: 185px;
}

/* ==========================================================================
   Floating WhatsApp Live Support Button
   ========================================================================== */
.kosmo-floating-whatsapp {
	position: fixed;
	bottom: 28px;
	right: 28px;
	z-index: 980;
}

.kosmo-floating-whatsapp__btn {
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background-color: #25D366;
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 24px rgba(37, 211, 102, 0.42);
	position: relative;
	transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
	text-decoration: none;
}

.kosmo-floating-whatsapp__btn:hover {
	transform: scale(1.1) translateY(-2px);
	box-shadow: 0 12px 30px rgba(37, 211, 102, 0.58);
	color: #ffffff;
}

.kosmo-floating-whatsapp__icon {
	width: 32px;
	height: 32px;
	fill: #ffffff;
}

.kosmo-floating-whatsapp__tooltip {
	position: absolute;
	right: calc(100% + 12px);
	top: 50%;
	transform: translateY(-50%) translateX(6px);
	background: #1e293b;
	color: #ffffff;
	font-size: 0.8125rem;
	font-weight: 600;
	white-space: nowrap;
	padding: 6px 14px;
	border-radius: var(--kosmo-radius-pill);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
	pointer-events: none;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.kosmo-floating-whatsapp__tooltip::after {
	content: "";
	position: absolute;
	left: 100%;
	top: 50%;
	transform: translateY(-50%);
	border-width: 5px;
	border-style: solid;
	border-color: transparent transparent transparent #1e293b;
}

.kosmo-floating-whatsapp__btn:hover .kosmo-floating-whatsapp__tooltip {
	opacity: 1;
	visibility: visible;
	transform: translateY(-50%) translateX(0);
}

@media (max-width: 767px) {
	.kosmo-floating-whatsapp {
		bottom: 20px;
		right: 18px;
	}
	.kosmo-floating-whatsapp__btn {
		width: 52px;
		height: 52px;
	}
	.kosmo-floating-whatsapp__icon {
		width: 28px;
		height: 28px;
	}
	/* Avoid collision with single product sticky bottom action bar */
	.single-product .kosmo-floating-whatsapp {
		bottom: 84px;
	}
}