/* Nexus Pharma Elementor Widgets — base structural styles.
   Colors, typography, spacing, borders, shadows are all controlled
   from the Elementor editor; this file only holds layout mechanics. */

/* ---------- Hero Banner ---------- */
.npe-hero {
	position: relative;
	display: flex;
	align-items: center;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	overflow: hidden;
	min-height: 260px;
	padding: 60px 40px;
	background-color: #0b1f3a;
}
.npe-hero__overlay {
	position: absolute;
	inset: 0;
	background: rgba(11, 31, 58, 0.55);
	z-index: 1;
}
.npe-hero__content {
	position: relative;
	z-index: 2;
}
.npe-hero__title {
	margin: 0 0 16px;
	position: relative;
	padding-bottom: 14px;
	font-size: 40px;
	font-weight: 700;
}
.npe-hero__title::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	height: 3px;
	width: 60px;
	background-color: #2ea3f2;
}
.npe-hero__desc {
	margin: 0;
	max-width: 600px;
	line-height: 1.6;
}
.npe-breadcrumb {
	padding: 14px 40px;
	background: #f3f6f9;
	font-size: 14px;
}
.npe-breadcrumb a {
	text-decoration: none;
}
.npe-breadcrumb__sep {
	opacity: 0.6;
}

/* ---------- Therapeutic Categories ---------- */
.npe-cat-section {
	padding: 50px 40px;
	background: #ffffff;
}
.npe-cat-heading {
	margin-bottom: 30px;
	max-width: 600px;
}
.npe-cat-title {
	margin: 0 0 12px;
	position: relative;
	padding-bottom: 12px;
	font-size: 26px;
	font-weight: 700;
}
.npe-cat-title::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	height: 3px;
	width: 40px;
	background-color: #2ea3f2;
}
.npe-cat-desc {
	margin: 0;
	line-height: 1.6;
}
.npe-cat-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.npe-cat-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	text-decoration: none;
	color: inherit;
	padding: 24px 16px;
	border-radius: 8px;
	transition: all 0.3s ease;
	cursor: pointer;
}
.npe-cat-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	margin-bottom: 14px;
	background: #eaf4ff;
}
.npe-cat-label {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
}

/* ---------- Product Portfolio ---------- */
.npe-portfolio {
	padding: 50px 40px;
	background: #f9fafb;
}
.npe-portfolio-heading {
	margin-bottom: 24px;
}
.npe-portfolio-title {
	margin: 0 0 8px;
	font-size: 26px;
	font-weight: 700;
}
.npe-portfolio-desc {
	margin: 0;
}
.npe-filter {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 12px;
	margin-bottom: 24px;
}
.npe-filter select,
.npe-filter input {
	padding: 10px 14px;
	border: 1px solid #dfe4ea;
	border-radius: 6px;
	background: #ffffff;
	font-size: 14px;
}
.npe-filter input {
	min-width: 200px;
}
.npe-product-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.npe-product-card {
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border: 1px solid #eef1f4;
	border-radius: 10px;
	padding: 20px;
	transition: all 0.3s ease;
}
.npe-product-image {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 160px;
	margin-bottom: 16px;
	overflow: hidden;
	border-radius: 6px;
	background: #f5f7fa;
}
.npe-product-image img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}
.npe-product-name {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 2px;
}
.npe-product-generic {
	font-size: 13px;
	margin-bottom: 8px;
}
.npe-product-dosage {
	font-size: 13px;
	margin-bottom: 8px;
}
.npe-product-footer {
	margin-top: auto;
	padding-top: 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.npe-product-price {
	font-size: 15px;
	font-weight: 700;
}
.npe-product-link {
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	width: fit-content;
	border: none;
	background: transparent;
	padding: 0;
	cursor: pointer;
	font-family: inherit;
}
.npe-view-more-wrap {
	display: flex;
	justify-content: center;
	margin-top: 32px;
}
.npe-view-more-btn {
	display: inline-block;
	text-decoration: none;
	padding: 12px 28px;
	border: 1px solid #1465c0;
	border-radius: 6px;
	font-weight: 600;
	cursor: pointer;
	background: transparent;
	font-family: inherit;
	appearance: none;
	-webkit-appearance: none;
}
.npe-product-card.npe-hidden {
	display: none;
}

/* ---------- CTA Banner ---------- */
.npe-cta {
	position: relative;
	display: flex;
	align-items: center;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	overflow: hidden;
	padding: 60px 40px;
	background-color: #0b1f3a;
}
.npe-cta__overlay {
	position: absolute;
	inset: 0;
	background: rgba(11, 31, 58, 0.6);
	z-index: 1;
}
.npe-cta__content {
	position: relative;
	z-index: 2;
	max-width: 500px;
}
.npe-cta__title {
	font-size: 30px;
	font-weight: 700;
	margin-bottom: 14px;
}
.npe-cta__desc {
	margin-bottom: 22px;
	line-height: 1.6;
}
.npe-cta__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	padding: 12px 26px;
	border: 1px solid #ffffff;
	border-radius: 6px;
	font-weight: 600;
}

/* ---------- View Details Popup ---------- */
.npe-modal-overlay {
	position: fixed;
	inset: 0;
	background-color: rgba(11, 31, 58, 0.65);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 999999;
	padding: 20px;
}
.npe-modal-overlay.npe-modal-open {
	display: flex;
}
.npe-modal-box {
	position: relative;
	background: #ffffff;
	width: 100%;
	max-width: 600px;
	max-height: 85vh;
	overflow-y: auto;
	border-radius: 10px;
	padding: 32px;
}
.npe-modal-close {
	position: absolute;
	top: 12px;
	right: 16px;
	background: none;
	border: none;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: #5b6b7d;
	padding: 4px 8px;
}
.npe-modal-product-name {
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 4px;
}
.npe-modal-generic {
	font-size: 14px;
	margin-bottom: 4px;
}
.npe-modal-dosage {
	font-size: 14px;
	margin-bottom: 16px;
}
.npe-modal-desc {
	margin-bottom: 20px;
	line-height: 1.6;
	font-size: 14px;
}
.npe-modal-section {
	margin-bottom: 16px;
	padding-bottom: 16px;
	border-bottom: 1px solid #eef1f4;
}
.npe-modal-section:last-of-type {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}
.npe-modal-section-title {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin: 0 0 6px;
}
.npe-modal-section-text {
	font-size: 14px;
	line-height: 1.6;
}
.npe-modal-ref-link {
	display: inline-block;
	margin-top: 12px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.npe-cat-grid,
	.npe-product-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 600px) {
	.npe-cat-grid,
	.npe-product-grid {
		grid-template-columns: 1fr;
	}
	.npe-hero,
	.npe-cta,
	.npe-cat-section,
	.npe-portfolio {
		padding: 32px 20px;
	}
}
