/*
 Theme Name:   Salient
 Author:       EW-DC
 Template:     astra
 Version:      1.0.0
*/
@font-face {
    font-family: 'Royale Milano';
    src: url('fonts/RoyaleMilano-Regular.woff2') format('woff2'),
         url('fonts/RoyaleMilano-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* prevents flash of invisible text */
}

/* Global font reset to Inter */
body,
input,
textarea,
button,
select,
h1, h2, h3, h4, h5, h6,
p, a, li, .salient-menu a {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    font-weight: 400; /* regular default */
}

h1, h2, h3, .salient-menu a {
    font-weight: 600; /* semi-bold for headings & menu */
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}
body {
    padding-top: 120px;  /* match your header height + logo padding */
    overflow-x: hidden;
    max-width: 100%;
}
.owl-prev, .owl-next{
	box-shadow: none;
}
/* ---------- header ------------ */

/* Refined Salient Header - Match Figma v3a - BLACK MENU TEXT */
.salient-header {
    position: fixed;  /* always fixed from start */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.salient-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.salient-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 35px 5%;          /* generous vertical + wide horizontal padding */
    margin: 0 auto;
    box-sizing: border-box;
}

.salient-nav-left,
.salient-nav-right {
    flex: 1;                   /* equal flex to balance left/right */
}

.salient-logo-center {
    flex: 0 0 auto;
    text-align: center;
    padding: 0 80px;           /* this creates balanced space around logo - adjust 60-100px */
}

.salient-logo-img {
    max-height: 60px;          /* typical Figma logo height - adjust if needed */
    width: auto;
    display: block;
    margin: 0 auto;
}

.salient-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 55px;                 /* space BETWEEN individual menu items - elegant & wide */
}

.salient-left-menu {
    justify-content: flex-start;
}

.salient-right-menu {
    /*justify-content: flex-end;*/
}

.salient-menu a {
    color: #000000;            /* BLACK text as per Figma */
    text-decoration: none;
    font-size: 14px;           /* clean size */
    font-weight: 500;          /* medium weight */
    text-transform: uppercase;
    letter-spacing: 1.2px;     /* subtle tracking */
    transition: color 0.3s ease;
    white-space: nowrap;
}

.salient-menu a:hover,
.salient-menu a:focus {
    color: #444444;            /* dark gray hover - subtle & elegant */
}
/* Dropdown / Sub-menu styling */
.salient-menu {
    position: relative;
}

.salient-menu ul.sub-menu,
.salient-menu ul.children {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 220px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-radius: 6px;
    padding: 10px 0;
    z-index: 9999;
    list-style: none;
    margin: 0;
}

.salient-menu li:hover > ul.sub-menu,
.salient-menu li:hover > ul.children {
    display: block;
}

/* Sub-menu items */
.salient-menu ul.sub-menu li,
.salient-menu ul.children li {
    padding: 0;
}

.salient-menu ul.sub-menu a,
.salient-menu ul.children a {
    display: block;
    padding: 12px 25px;
    color: #000000;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
    transition: background 0.3s, color 0.3s;
}

.salient-menu ul.sub-menu a:hover,
.salient-menu ul.children a:hover {
    background: #f5f5f5;
    color: #000000;
}

/* Arrow indicator (optional) */
.salient-menu li.menu-item-has-children > a::after {
    content: ' ▼';
    font-size: 10px;
    margin-left: 6px;
    opacity: 0.7;
}

/* "By Brand" mega-menu: 2-column layout, groups are static (no nested flyout) */
.salient-menu > li.by-brand:hover > ul.sub-menu {
    display: flex;
    gap: 50px;
    min-width: 460px;
    padding: 24px 30px;
    border-radius: 6px;
}

.salient-menu > li.by-brand > ul.sub-menu > li {
    flex: 1;
    min-width: 180px;
}

/* Group labels (Skin Science / Devices) act as static column headings */
.salient-menu > li.by-brand > ul.sub-menu > li > a {
    display: block;
    padding: 6px 8px 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #666666;
    pointer-events: none;
    cursor: default;
}

.salient-menu > li.by-brand > ul.sub-menu > li.menu-item-has-children > a::after {
    content: none;
}

/* Product list under each group: always visible, no flyout positioning */
.salient-menu > li.by-brand > ul.sub-menu > li > ul.sub-menu {
    display: block !important;
    position: static;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    min-width: 0;
}

.salient-menu > li.by-brand > ul.sub-menu > li > ul.sub-menu a {
    padding: 8px;
    font-size: 14px;
}

/* Mobile menu toggle button (hidden on desktop) */
.salient-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 5px;
    width: 32px;
    height: 32px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.salient-mobile-toggle:hover,
.salient-mobile-toggle:focus,
.salient-mobile-toggle:active,
.salient-mobile-toggle:focus-visible {
    background: transparent;
    border-color: transparent;
    outline: none;
    box-shadow: none;
}

.salient-mobile-toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: #000;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.salient-mobile-toggle.is-open .salient-mobile-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.salient-mobile-toggle.is-open .salient-mobile-toggle-bar:nth-child(2) {
    opacity: 0;
}

.salient-mobile-toggle.is-open .salient-mobile-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu panel (hidden on desktop) */
.salient-mobile-menu {
    display: none;
}

.salient-mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 10px 5% 40px;
}

.salient-mobile-menu-list li {
    border-bottom: 1px solid #eee;
}

.salient-mobile-menu-list a {
    display: block;
    padding: 16px 0;
    color: #000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.salient-mobile-menu-list ul.sub-menu,
.salient-mobile-menu-list ul.children {
    list-style: none;
    margin: 0;
    padding: 0 0 0 15px;
}

.salient-mobile-menu-list ul.sub-menu a,
.salient-mobile-menu-list ul.children a {
    padding: 10px 0;
    font-size: 14px;
    font-weight: 400;
    text-transform: none;
}

body.mobile-menu-open {
    overflow: hidden;
}

/* Mobile adjustments */
@media (max-width: 1023px) {
    .salient-header-container {
        padding: 25px 0px;
        flex-wrap: wrap;
    }

    .salient-nav-left,
    .salient-nav-right {
        display: none;         /* replaced by hamburger + mobile menu panel */
    }

    .salient-logo-center {
        flex: 1;
        padding: 0;
        text-align: center;
    }

    .salient-mobile-toggle {
        display: flex;
		right: 10%;
    }

    .salient-mobile-menu {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        padding-top: 110px;
        background: #fff;
        z-index: 999;
        overflow-y: auto;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.3s ease, visibility 0.3s ease;
    }

    .salient-mobile-menu.is-open {
        transform: translateX(0);
        visibility: visible;
    }
}

.current_page_item a{
	text-decoration:underline;
}

/* ---------- footer ------------ */

/* Footer contact form (Contact Form 7) */
#footer-contact{
	background: #FAFAFA;
}
#footer-contact-form {
    width: 70%;
    margin: 0 auto;
    padding: 50px;
}

.wpcf7-form .cf7-row {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}
.wpcf7-form .cf7-row p{
	margin-bottom: 0px;
}
.wpcf7-form .cf7-col {
    flex: 1;
}

.wpcf7-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333333;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 12px 14px;
    border: 1px solid #d5d5d5;
    background: #ffffff;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
}

.wpcf7-form textarea {
    min-height: 120px;
    resize: vertical;
}

.wpcf7-form .wpcf7-submit {
    padding: 14px 36px;
    background: #000000;
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s ease;
}

.wpcf7-form .wpcf7-submit:hover {
    background: #333333;
}

.wpcf7-form .wpcf7-not-valid-tip {
    font-size: 12px;
    color: #d94f4f;
}

/* Salient Footer - Brand block + Company/Resources columns */
.salient-footer {
    background: #000000;
    color: #f5f5f5;
    padding-top: 70px;
}

.salient-footer-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    padding-bottom: 45px;
}

/* Brand block (logo, tagline, contact, hours, social) */
.footer-brand {
    max-width: 500px;
}

.salient-footer-logo-img {
    max-height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    margin: 26px 0 0;
    font-family: 'Royale Milano', serif;
    font-size: 20px;
    font-weight: 400;
    color: #ffffff;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    margin: 22px 0 0;
    font-style: normal;
    font-size: 14px;
    line-height: 1.9;
    color: #f5f5f5;
}

.footer-contact a {
    color: #f5f5f5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #ffffff;
}

.footer-hours {
    margin: 18px 0 0;
    font-size: 14px;
    color: #f5f5f5;
}

.footer-social {
    display: flex;
    gap: 14px;
    margin-top: 20px;
}

.footer-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #f5f5f5;
    border: 1px solid #6b6b6b;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.footer-social-linkedin {
    border-radius: 4px;
}

.footer-social-instagram {
    border-radius: 50%;
}

.footer-social-icon:hover {
    color: #ffffff;
    border-color: #ffffff;
}

/* Nav columns: Company / Resources */
.footer-nav-columns {
    display: flex;
    gap: 90px;
}

.footer-column h4 {
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #f5f5f5;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 14px;
}

.footer-menu a {
    color: #cfcfcf;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: #ffffff;
}

/* Divider */
.salient-footer-divider {
    border: none;
    border-top: 1px solid #333;
    margin: 0;
    width: 100%;
    height: auto;
}

/* Bottom row: copyright + disclaimer */
.salient-footer-bottom {
    padding: 22px 0 30px;
}

.salient-footer-bottom p {
    margin: 0 0 6px;
    font-size: 12px;
    line-height: 1.6;
    color: #999999;
}

.salient-footer-bottom p:last-child {
    margin-bottom: 0;
}

/* Mobile responsiveness */
@media (max-width: 1023px) {
    .salient-footer-main {
        flex-direction: column;
        gap: 50px;
    }

    .footer-brand {
        max-width: none;
    }

    .footer-nav-columns {
        gap: 60px;
    }
	#footer-contact-form {
		width: 100%;
	}

	.wpcf7-form .cf7-row {
		flex-direction: column;
		gap: 0;
	}
}

@media (max-width: 768px) {
    .salient-footer-main {
        padding: 0 20px 40px;
    }

    .footer-nav-columns {
        gap: 40px;
    }

    .salient-footer-bottom {
        padding: 20px 20px 40px;
    }
}

/* ---------- homepage ------------ */

.home-hero-container h1{
	font-family: 'Royale Milano', serif !important;
    font-size: 50px;
}

/* Service carousel overlay */
.service-carousel .card_carousel_text{
	display:none;
}
.service-carousel .service-overlay {
    position: absolute;
    inset: 0;
    background: #767676;
    color: #fff;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 5;
	font-size:11px;
}

/* ---------- product detail page ------------ */

.single-product .post-navigation{
	display:none !important;
}
.product .entry-header{
	display:none;
}
.product .entry-content {
    margin-bottom: 0 !important;
}
/* Hide all descriptions by default */
.uc_classic_carousel .card_carousel_text {
    display: none;
}
.product-carousel .ue-carousel-item:hover {
    cursor: pointer;
}
.product-carousel .ue-carousel-item .uc_classic_carousel_placeholder{
	background-image: url("images/Product_Background.webp");
}
.product-carousel .ue-carousel-item .uc_classic_carousel_placeholder img{
	box-shadow:none;
}
.product-carousel .ue-carousel-item:hover .card_carousel_title,
.product-carousel .ue-carousel-item.clicked .card_carousel_title {
    font-weight:bold !important;
}
.product-carousel .shown-description h3{
	font-size:20px;
}
.product-carousel .shown-description .highlight{
	color:#0B7DD2;
	font-weight: bold;
}
@media (max-width: 1023px) {
	.product-carousel .shown-description{
		padding:0px 20px;
	}
}
/* Parent container MUST be relative */
#before-and-after {
  position: relative;
}

/* All before/after widgets */
.before-after-patient {
  width: 100%;
}

/* Inactive ones: removed from layout */
.before-after-patient:not(.is-active) {
  position: absolute !important;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
}

/* Active one: participates in layout */
.before-after-patient.is-active {
  position: relative !important;
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 768px) {
	.column-reverse-mobile{
		flex-direction: column-reverse !important;
		display: flex !important;
	}
	.epen-product-row{
		flex-direction: column-reverse !important;
		display: flex !important;
	}
	.epen-feature-last-item{
		grid-column: 1 / -1 !important;
		width: 50% !important;
	}	
	.oligiox-last-section{
		background-image: none !important;
	}
}
.noMargin{
	margin:0 !important;
}
.noPadding{
	padding:0 !important;
}
.hand-device-list .uc_classic_carousel .card_carousel_text {
    display: block !important;
	line-height: 1.2;
}
.hand-device-list .ue-carousel-item .uc_classic_carousel_placeholder{
	background-image: url("images/Product_Background.webp");
	width: 207px;
  margin: 0 auto;
}
.hand-device-list .ue-carousel-item .uc_classic_carousel_placeholder img{
	box-shadow:none;
}
.single-product .elementor-widget-text-editor p{
	line-height: 1.2;
}
.epen-icon-list .elementor-widget-image img{
	filter: brightness(0) saturate(100%) invert(77%) sepia(24%) saturate(931%) hue-rotate(42deg) brightness(91%) contrast(88%);
}
.univa-heading-number span{
	font-size: 80px;
  font-weight: 600;
}
.home-video{
	max-height: 400px;
}
.home-video video{
	max-height: 400px;
}
.elementor-widget-text-editor p:last-child {
    margin-bottom: 0;
}
/* anchor menu */
#anchor-menu{
	position: sticky;
  top: 130px;
  z-index: 999;
  background: #fff;
}
.anchor-menu {
    display: flex;
    justify-content: center;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.anchor-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    text-decoration: none !important;
    color: #000;
    font-weight: 600;
    transition: background-color .2s ease;
    outline: none;
}

.anchor-menu a:focus {
    outline: none;
}

.anchor-menu li.on a,
.anchor-menu a:hover {
    background: #eff1f6;
}
@media (max-width: 768px) {
	#anchor-menu{
	  top: 110px;
	}
    .anchor-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px 10px;
        padding: 10px 15px;
    }
    .anchor-menu a {
        padding: 8px 12px;
        white-space: nowrap;
    }
}
/* number list */
.number-list {
    list-style: none;
    counter-reset: number-list-counter;
    padding: 0;
    margin: 0;
}

.number-list li {
    counter-increment: number-list-counter;
    position: relative;
    padding-left: 30px;
    margin: 0 0 5px;
    line-height: 1.5;
}

.number-list li::before {
    content: counter(number-list-counter);
    position: absolute;
    left: 0;
    top: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, sans-serif;
    font-size: 10px;
    font-weight: bold;
}
/* password protected form */
.post-password-form input[type="password"] {
    width: 260px;
    max-width: 100%;
    margin: 0 10px;
    vertical-align: middle;
}

.post-password-form input[type="submit"] {
    vertical-align: middle;
}

@media (max-width: 768px) {
    .post-password-form input[type="password"] {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
}
