/**
 * Sitewide Refreshed Footer Stylesheet (VerdePharma theme)
 */

/* ─── Shared container ──────────────────────────────────────────────────── */
.vp-container {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
}

.vp-footer-column span {
	font-size: 13px !important;
	color: rgba(250, 248, 243, .65) !important;
	line-height: 1.7 !important;
	margin: 0 !important;
}

/* ─── v1 Footer ─────────────────────────────────────────────────────────── */
.vp-site-footer {
	background-color: var(--green-darkest, #0d0d1a);
	color: var(--cream, #f0f4f8);
	font-family: 'Lato', sans-serif;
	font-size: 14px;
	line-height: 1.6;
}

.vp-footer-widgets-section {
	padding: 60px 0 40px;
	border-bottom: 1px solid rgba(0, 102, 204, 0.15);
}

.vp-footer-widgets-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
}

@media (max-width: 991px) {
	.vp-footer-widgets-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 575px) {
	.vp-footer-widgets-grid {
		grid-template-columns: 1fr;
	}
}

.vp-footer-widget-title {
	color: #fff;
	font-family: 'Lato', sans-serif;
	font-size: 13px;
	font-weight: 700;
	margin: 0 0 20px;
	letter-spacing: .1em;
	text-transform: uppercase;
	padding-bottom: 12px;
	position: relative;
}

.vp-footer-widget-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 40px;
	height: 2px;
	background: var(--lc-primary);
}

/* When the fallback content element itself is a <ul> (e.g. categories column) */
ul.vp-footer-fallback-content,
.vp-footer-fallback-content ul,
.vp-footer-widget ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.vp-footer-fallback-content li,
.vp-footer-widget li {
	margin-bottom: 5px;
}

.vp-footer-fallback-content a,
.vp-footer-widget a {
	color: var(--cream, #f0f4f8);
	text-decoration: none;
	transition: color 0.3s ease;
}

.vp-footer-fallback-content a:hover,
.vp-footer-widget a:hover {
	color: var(--gold, #0066cc);
}

.vp-footer-contact-list li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
}

/* Absolute Footer copyright and details */
.vp-absolute-footer {
	background-color: #08080f;
	padding: 24px 0;
	border-top: 1px solid rgba(0, 102, 204, 0.1);
}

.vp-absolute-footer-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
}

.vp-copyright-text {
	font-size: 13px;
	color: rgba(250, 248, 243, .65);
}

.vp-copyright-text a {
	color: var(--gold, #0066cc);
	text-decoration: none;
	font-weight: 600;
}

.vp-footer-social-links {
	display: flex;
	list-style: none;
	padding: 0;
	margin: 0;
	gap: 15px;
}

.vp-footer-social-links a {
	color: var(--cream, #f0f4f8);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(0, 102, 204, 0.15);
	border-radius: 50%;
	transition: all 0.3s ease;
}

.vp-footer-social-links a:hover {
	color: var(--gold, #0066cc);
	background: rgba(0, 102, 204, 0.1);
	border-color: var(--gold, #0066cc);
}

.vp-footer-social-links svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

/* Social links in footer contact column */
.vp-footer-social-row {
	display: flex;
	gap: 10px;
	margin-top: 16px;
}

.vp-footer-social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	background: rgba(255, 255, 255, .05);
	border: 1px solid rgba(0, 180, 216, .2);
	border-radius: 50%;
	color: #f0f4f8;
	text-decoration: none;
	transition: all .3s;
}

.vp-footer-social-link:hover {
	background: rgba(0, 180, 216, .15);
	border-color: var(--lc-primary);
	color: var(--lc-primary);
}

.vp-footer-social-link svg {
	width: 14px;
	height: 14px;
	fill: currentColor;
}

.vp-footer-contact-list li {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
	font-size: 13.5px;
	color: rgba(250, 248, 243, .8);
}

/* ─── Override Astra global heading colors inside footer ─────────────────── */
/* Astra injects --ast-global-color-2/3 on all headings; these are dark slate
   and become invisible on the footer's dark navy background. */
.vp-site-footer h1,
.vp-site-footer h2,
.vp-site-footer h3,
.vp-site-footer h4,
.vp-site-footer h5,
.vp-site-footer h6 {
	color: #fff !important;
	font-family: 'Lato', sans-serif !important;
}

/* Any h5 inside a footer column (e.g. custom HTML blocks added via widgets) */
.vp-footer-column h5,
.vp-site-footer h5.wp-block-heading {
	color: #fff !important;
	font-family: 'Lato', sans-serif !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: .1em !important;
	text-transform: uppercase !important;
	margin: 0 0 20px !important;
	padding-bottom: 12px !important;
	position: relative !important;
}

.vp-footer-column h5::after,
.vp-site-footer h5.wp-block-heading::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 40px;
	height: 2px;
	background: var(--lc-primary);
}

/* Paragraphs added via custom HTML blocks inside widget areas */
.vp-footer-column p {
	font-size: 13px !important;
	color: rgba(250, 248, 243, .65) !important;
	line-height: 1.7 !important;
	margin: 0 !important;
}

/* WooCommerce product list widget inside footer — override Astra's dark link color */
.vp-site-footer ul.product_list_widget li a,
.vp-site-footer .widget_recently_viewed_products ul li a,
.vp-site-footer .widget_top_rated_products ul li a,
.vp-site-footer .widget_products ul li a {
	color: rgba(255, 255, 255, .82) !important;
	font-family: 'Lato', sans-serif !important;
	font-size: 13px !important;
}

.vp-site-footer ul.product_list_widget li a:hover,
.vp-site-footer .widget_top_rated_products ul li a:hover {
	color: var(--lc-primary) !important;
}

.vp-site-footer ul.product_list_widget .woocommerce-Price-amount,
.vp-site-footer ul.product_list_widget .price {
	color: rgba(255, 255, 255, .55) !important;
	font-size: 12px !important;
}

/* Footer widget title (Astra sidebar widget heading class) */
.vp-site-footer .widget-title {
	color: #fff !important;
	font-family: 'Lato', sans-serif !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: .1em !important;
	text-transform: uppercase !important;
	margin: 0 0 20px !important;
	padding-bottom: 12px !important;
	position: relative !important;
}

.vp-site-footer .widget-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 40px;
	height: 2px;
	background: var(--lc-primary);
}

/* All footer links — white/light on dark background (matches reference design) */
.vp-site-footer .vp-footer-widget a,
.vp-site-footer .vp-footer-fallback-content a,
.vp-site-footer .widget_nav_menu a,
.vp-site-footer .widget_pages a,
.vp-site-footer .widget_categories a,
.vp-site-footer nav.footer-navigation a,
.vp-site-footer a {
	color: rgba(255, 255, 255, .78) !important;
}

.vp-site-footer .vp-footer-widget a:hover,
.vp-site-footer .vp-footer-fallback-content a:hover,
.vp-site-footer .widget_nav_menu a:hover,
.vp-site-footer a:hover {
	color: #ffffff !important;
}

/* Keep product prices subdued */
.vp-site-footer ul.product_list_widget .woocommerce-Price-amount {
	color: rgba(255, 255, 255, .5) !important;
}