/*
Theme Name:        Vitality
Theme URI:         https://vitality.genifysoft.com
Author:            GenifySoft Team
Author URI:        https://genifysoft.com
Description:       A cinematic wellness ecommerce WordPress theme with multiple homepage layouts, shop templates, and WooCommerce-ready structure. Built for premium supplements, skincare, and mindful living brands.
Version:           1.0.0
Requires at least: 6.4
Tested up to:      6.8
Requires PHP:      7.4
Update URI:        https://vitality.genifysoft.com
License:           GNU General Public License v2 or later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       wellness
Tags:              e-commerce, woocommerce, custom-menu, custom-logo, featured-images, footer-widgets, full-width-template, theme-options, translation-ready, blog, block-styles, wide-blocks

Vitality WordPress Theme, (C) 2026 GenifySoft Team
Vitality is distributed under the terms of the GNU GPL v2 or later.
*/

.footer-v3-social-link svg {
	width: 1.25rem;
	height: 1.25rem;
}

.footer-v3-social-link i {
	font-size: 1.125rem;
	line-height: 1;
}

.footer-v3-newsletter-form-wrap {
	width: 100%;
	max-width: 32rem;
}

.footer-v3-newsletter-notice {
	margin: 0 0 0.75rem;
	padding: 0.75rem 1rem;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 0.75rem;
	font-size: 0.875rem;
	line-height: 1.5;
}

.footer-v3-newsletter-notice--success {
	background: rgba(45, 212, 191, 0.12);
	border-color: rgba(45, 212, 191, 0.28);
	color: #ccfbf1;
}

.footer-v3-newsletter-notice--error {
	background: rgba(251, 113, 133, 0.12);
	border-color: rgba(251, 113, 133, 0.28);
	color: #ffe4e6;
}

.wellness-newsletter-popup {
	position: fixed;
	inset: 0;
	z-index: 160;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.35s ease, visibility 0.35s ease;
}

.wellness-newsletter-popup.is-visible {
	opacity: 1;
	visibility: visible;
}

.wellness-newsletter-popup__backdrop {
	position: absolute;
	inset: 0;
	border: 0;
	background:
		radial-gradient(circle at top left, rgba(45, 212, 191, 0.18), transparent 36%),
		radial-gradient(circle at bottom right, rgba(251, 113, 133, 0.16), transparent 34%),
		rgba(2, 6, 23, 0.72);
	backdrop-filter: blur(10px);
	cursor: pointer;
}

.wellness-newsletter-popup__dialog {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	width: min(100%, 70rem);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 1.75rem;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 32px 80px rgba(15, 23, 42, 0.34);
	transform: translateY(14px) scale(0.985);
	transition: transform 0.35s ease;
}

.wellness-newsletter-popup.is-visible .wellness-newsletter-popup__dialog {
	transform: translateY(0) scale(1);
}

.wellness-newsletter-popup__close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	min-width: 2.75rem;
	height: 2.75rem;
	padding: 0 0.95rem;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	color: #0f172a;
	cursor: pointer;
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
	transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.wellness-newsletter-popup__close:hover {
	transform: scale(1.04);
	background: #ffffff;
	box-shadow: 0 16px 34px rgba(15, 23, 42, 0.18);
}

.wellness-newsletter-popup__close span {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.wellness-newsletter-popup__close svg {
	width: 0.95rem;
	height: 0.95rem;
}

.wellness-newsletter-popup__visual {
	position: relative;
	padding: 3.5rem 3rem 2.75rem;
	color: #fff;
	background:
		radial-gradient(circle at top, rgba(255, 255, 255, 0.2), transparent 30%),
		linear-gradient(145deg, #0f766e 0%, #14532d 52%, #0f172a 100%);
}

.wellness-newsletter-popup__visual::before,
.wellness-newsletter-popup__visual::after {
	content: "";
	position: absolute;
	border-radius: 999px;
	filter: blur(8px);
}

.wellness-newsletter-popup__visual::before {
	top: 1.75rem;
	right: 2rem;
	width: 9rem;
	height: 9rem;
	background: rgba(255, 255, 255, 0.14);
}

.wellness-newsletter-popup__visual::after {
	bottom: -2rem;
	left: -1rem;
	width: 11rem;
	height: 11rem;
	background: rgba(251, 113, 133, 0.22);
}

.wellness-newsletter-popup__eyebrow {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.45rem 0.85rem;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.wellness-newsletter-popup__title {
	position: relative;
	margin: 1.25rem 0 0;
	font-size: clamp(2rem, 3vw, 3rem);
	line-height: 1.05;
	font-weight: 600;
	color: #fff;
}

.wellness-newsletter-popup__text {
	position: relative;
	margin: 1rem 0 0;
	max-width: 28rem;
	font-size: 1rem;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.82);
}

.wellness-newsletter-popup__cards {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin-top: 2rem;
}

.wellness-newsletter-popup__card {
	padding: 1.1rem 1rem;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 1.1rem;
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(10px);
}

.wellness-newsletter-popup__card strong {
	display: block;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.06em;
}

.wellness-newsletter-popup__card span {
	display: block;
	margin-top: 0.4rem;
	font-size: 0.88rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.78);
}

.wellness-newsletter-popup__content {
	padding: 3.25rem 3rem 2.75rem;
	background:
		linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(255, 255, 255, 1)),
		#fff;
}

.wellness-newsletter-popup__kicker {
	margin: 0;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #0f766e;
}

.wellness-newsletter-popup__headline {
	margin: 0.85rem 0 0;
	font-size: 2rem;
	line-height: 1.15;
	font-weight: 600;
	color: #0f172a;
}

.wellness-newsletter-popup__description {
	margin: 0.95rem 0 0;
	font-size: 0.98rem;
	line-height: 1.75;
	color: #475569;
}

.wellness-newsletter-popup__notice {
	margin: 1.35rem 0 0;
	padding: 0.85rem 1rem;
	border: 1px solid #dbeafe;
	border-radius: 1rem;
	font-size: 0.9rem;
	line-height: 1.6;
}

.wellness-newsletter-popup__notice--success {
	background: #f0fdfa;
	border-color: #99f6e4;
	color: #115e59;
}

.wellness-newsletter-popup__notice--error {
	background: #fff1f2;
	border-color: #fecdd3;
	color: #be123c;
}

.wellness-newsletter-popup__form {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	margin-top: 1.5rem;
}

.wellness-newsletter-popup__input {
	width: 100%;
	min-width: 0;
	padding: 1rem 1.1rem;
	border: 1px solid #dbe4ea;
	border-radius: 1rem;
	background: #fff;
	font-size: 0.95rem;
	color: #0f172a;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wellness-newsletter-popup__input:focus {
	outline: none;
	border-color: #14b8a6;
	box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
}

.wellness-newsletter-popup__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 1rem 1.2rem;
	border: 0;
	border-radius: 1rem;
	background: linear-gradient(135deg, #fb7185, #f97316);
	color: #fff;
	font-size: 0.84rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: 0 18px 38px rgba(249, 115, 22, 0.22);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wellness-newsletter-popup__submit:hover {
	transform: translateY(-1px);
	box-shadow: 0 22px 42px rgba(249, 115, 22, 0.28);
}

.wellness-newsletter-popup__list {
	margin: 1.35rem 0 0;
	padding: 0;
	list-style: none;
}

.wellness-newsletter-popup__list li {
	position: relative;
	padding-left: 1.4rem;
	font-size: 0.92rem;
	line-height: 1.7;
	color: #475569;
}

.wellness-newsletter-popup__list li + li {
	margin-top: 0.7rem;
}

.wellness-newsletter-popup__list li::before {
	content: "";
	position: absolute;
	top: 0.72rem;
	left: 0;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 999px;
	background: linear-gradient(135deg, #14b8a6, #fb7185);
}

@media (max-width: 991px) {
	.wellness-newsletter-popup__dialog {
		grid-template-columns: 1fr;
		max-width: 38rem;
	}

	.wellness-newsletter-popup__visual,
	.wellness-newsletter-popup__content {
		padding: 2.5rem 2rem;
	}
}

@media (max-width: 640px) {
	.wellness-newsletter-popup {
		padding: 1rem;
	}

	.wellness-newsletter-popup__visual,
	.wellness-newsletter-popup__content {
		padding: 2.1rem 1.35rem 1.5rem;
	}

	.wellness-newsletter-popup__cards {
		grid-template-columns: 1fr;
	}

	.wellness-newsletter-popup__headline {
		font-size: 1.65rem;
	}

	.wellness-newsletter-popup__close {
		top: 0.85rem;
		right: 0.85rem;
		padding: 0 0.8rem;
	}
}

.single-post-page {
	padding-top: clamp(6.5rem, calc(var(--header-v3-height, 88px) + 2rem), 8.5rem);
	background: linear-gradient(180deg, #f8fafc 0%, #ffffff 22rem);
}

.blog-index-page {
	padding-top: clamp(6rem, calc(var(--header-v3-height, 88px) + 1.5rem), 8rem);
}

.shop-page-hero--offset {
	margin-top: 45px;
	padding-top: clamp(6rem, calc(var(--header-v3-height, 88px) + 1.5rem), 8rem);
}

.single-post-shell {
	color: #334155;
}

.single-post-hero {
	margin: 0 auto 2rem;
	max-width: 46rem;
	padding: 2rem 0 0.5rem;
}

.single-post-kicker {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.85rem;
}

.single-post-chip,
.single-post-read-time,
.single-post-tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.45rem 0.9rem;
	border-radius: 999px;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
}

.single-post-chip {
	background: rgba(20, 184, 166, 0.12);
	color: #0f766e;
}

.single-post-chip:hover {
	background: rgba(20, 184, 166, 0.18);
}

.single-post-read-time {
	background: rgba(15, 23, 42, 0.06);
	color: #475569;
}

.single-post-title {
	margin: 1rem 0 0;
	font-size: clamp(2.15rem, 4vw, 4rem);
	line-height: 1.04;
	font-weight: 600;
	letter-spacing: -0.03em;
	color: #0f172a;
}

.single-post-excerpt {
	margin: 1.2rem 0 0;
	max-width: 42rem;
	font-size: 1.08rem;
	line-height: 1.85;
	color: #475569;
}

.single-post-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin-top: 1.25rem;
	font-size: 0.92rem;
	color: #64748b;
}

.single-post-meta-sep {
	width: 0.3rem;
	height: 0.3rem;
	border-radius: 999px;
	background: #cbd5e1;
}

.single-post-media {
	margin: 0 auto;
	max-width: 100%;
	overflow: hidden;
	border-radius: 1.75rem;
	box-shadow: 0 28px 60px rgba(15, 23, 42, 0.12);
}

.single-post-image {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

.single-post-layout {
	display: grid;
	gap: 1.5rem;
	align-items: start;
	min-width: 0;
}

.single-post-body {
	margin: -3rem 0 0;
	max-width: none;
	min-width: 0;
	padding: 2rem 0 0;
	position: relative;
}

.single-post-content {
	padding: 2rem 1.5rem;
	border: 1px solid rgba(226, 232, 240, 0.9);
	border-radius: 1.75rem;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
	font-size: 1.04rem;
	line-height: 1.9;
	color: #334155;
	min-width: 0;
	overflow: hidden;
}

.single-post-content > *:first-child {
	margin-top: 0;
}

.single-post-content > *:last-child {
	margin-bottom: 0;
}

.single-post-content p,
.single-post-content ul,
.single-post-content ol,
.single-post-content blockquote {
	margin: 1.15rem 0 0;
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
	margin: 2rem 0 0.8rem;
	font-weight: 600;
	line-height: 1.2;
	color: #0f172a;
}

.single-post-content h2 {
	font-size: 1.7rem;
}

.single-post-content h3 {
	font-size: 1.3rem;
}

.single-post-content ul,
.single-post-content ol {
	padding-left: 1.35rem;
}

.single-post-content li + li {
	margin-top: 0.65rem;
}

.single-post-content a {
	color: #0f766e;
	text-decoration: underline;
	text-underline-offset: 0.2em;
	overflow-wrap: anywhere;
}

.single-post-content blockquote {
	padding: 1rem 1.2rem;
	border-left: 4px solid #14b8a6;
	border-radius: 0 1rem 1rem 0;
	background: #f0fdfa;
	color: #0f172a;
	overflow-wrap: anywhere;
}

.single-post-content img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 1.5rem auto;
	border-radius: 1rem;
}

.single-post-content p,
.single-post-content li,
.single-post-content h2,
.single-post-content h3,
.single-post-content h4,
.single-post-content td,
.single-post-content th {
	overflow-wrap: anywhere;
}

.single-post-content pre,
.single-post-content table {
	max-width: 100%;
	overflow: auto;
}

.single-post-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 2rem;
	font-weight: 600;
}

.single-post-tags {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	margin-top: 1.5rem;
	padding: 1.25rem 1.4rem;
	border-radius: 1.35rem;
	background: #ffffff;
	box-shadow: 0 12px 34px rgba(15, 23, 42, 0.05);
}

.single-post-tags-label {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #64748b;
}

.single-post-tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
}

.single-post-tag {
	background: #f8fafc;
	color: #475569;
	border: 1px solid #e2e8f0;
}

.single-post-tag:hover {
	background: #ecfeff;
	color: #0f766e;
	border-color: #99f6e4;
}

.single-post-nav {
	display: grid;
	gap: 1rem;
	margin-top: 1.5rem;
}

.single-post-nav-card {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	padding: 1.4rem 1.5rem;
	border: 1px solid #e2e8f0;
	border-radius: 1.35rem;
	background: #ffffff;
	text-decoration: none;
	box-shadow: 0 12px 34px rgba(15, 23, 42, 0.05);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.single-post-nav-card:hover {
	transform: translateY(-1px);
	border-color: #99f6e4;
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.single-post-nav-card--next {
	text-align: right;
}

.single-post-nav-label {
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #0f766e;
}

.single-post-nav-title {
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.55;
	color: #0f172a;
}

.single-post-sidebar {
	min-width: 0;
	padding: 2rem 0 0;
}

.single-post-sidebar-inner {
	display: grid;
	gap: 1rem;
}

.single-post-widget {
	padding: 1.35rem 1.2rem;
	border: 1px solid rgba(226, 232, 240, 0.95);
	border-radius: 1.35rem;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 14px 36px rgba(15, 23, 42, 0.05);
}

.single-post-widget--cta {
	background: linear-gradient(180deg, #0f172a 0%, #122033 100%);
	border-color: rgba(255, 255, 255, 0.06);
}

.single-post-widget-label {
	margin: 0;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #64748b;
}

.single-post-widget--cta .single-post-widget-label {
	color: rgba(255, 255, 255, 0.55);
}

.single-post-facts {
	display: grid;
	gap: 0.85rem;
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
}

.single-post-facts li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	font-size: 0.92rem;
	color: #475569;
}

.single-post-facts strong {
	color: #0f172a;
	font-weight: 600;
	text-align: right;
}

.single-post-related-list {
	display: grid;
	gap: 0.9rem;
	margin-top: 1rem;
}

.single-post-related-item {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 0.85rem;
	align-items: center;
	text-decoration: none;
}

.single-post-related-thumb {
	display: block;
	width: 4.5rem;
	height: 4.5rem;
	overflow: hidden;
	border-radius: 1rem;
	background: #e2e8f0;
	flex-shrink: 0;
}

.single-post-related-thumb-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.single-post-related-copy {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	min-width: 0;
}

.single-post-related-title {
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1.45;
	color: #0f172a;
}

.single-post-related-item:hover .single-post-related-title {
	color: #0f766e;
}

.single-post-related-date {
	font-size: 0.84rem;
	color: #64748b;
}

.single-post-topic-list {
	display: grid;
	gap: 0.7rem;
	margin-top: 1rem;
}

.single-post-topic-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.85rem 0.95rem;
	border-radius: 1rem;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	color: #334155;
	text-decoration: none;
	font-size: 0.92rem;
}

.single-post-topic-link:hover {
	border-color: #99f6e4;
	background: #ecfeff;
	color: #0f766e;
}

.single-post-topic-link strong {
	font-size: 0.8rem;
	font-weight: 700;
	color: #64748b;
}

.single-post-cta-title {
	margin: 0.9rem 0 0;
	font-size: 1.35rem;
	line-height: 1.3;
	font-weight: 600;
	color: #ffffff;
}

.single-post-cta-text {
	margin: 0.85rem 0 0;
	font-size: 0.94rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.78);
}

.single-post-cta-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 1.1rem;
	padding: 0.9rem 1.15rem;
	border-radius: 999px;
	background: linear-gradient(135deg, #2dd4bf, #0f766e);
	color: #ffffff;
	text-decoration: none;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.single-post-cta-link:hover {
	filter: brightness(1.03);
}

@media (min-width: 768px) {
	.single-post-body {
		padding: 2.5rem 0 0;
	}

	.single-post-sidebar {
		padding: 2.5rem 0 0;
	}

	.single-post-content {
		padding: 2.5rem 2.75rem;
	}

	.single-post-nav {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) {
	.single-post-layout {
		grid-template-columns: minmax(0, 1.7fr) minmax(18rem, 0.78fr);
		gap: 1.75rem;
	}

	.single-post-sidebar-inner {
		position: sticky;
		top: calc(var(--header-v3-height, 88px) + 1.25rem);
	}
}

@media (max-width: 767px) {
	.single-post-page {
		padding-top: calc(var(--header-v3-height, 82px) + 1.5rem);
	}

	.blog-index-page {
		padding-top: calc(var(--header-v3-height, 82px) + 1.25rem);
	}

	.shop-page-hero--offset {
		padding-top: calc(var(--header-v3-height, 82px) + 1.25rem);
	}

	.single-post-hero {
		margin-bottom: 1.35rem;
		padding-top: 0.75rem;
	}

	.single-post-body {
		margin-top: -1.5rem;
		padding: 1rem 0 0;
	}

	.single-post-sidebar {
		padding: 0.75rem 0 0;
	}

	.single-post-content {
		padding: 1.4rem 1.1rem;
		border-radius: 1.25rem;
	}

	.single-post-title {
		font-size: 2rem;
	}
}
