/**
 * Aurum Biotech header styles.
 * Brand colors: see aurum-colors.css / inc/aurum-colors.php.
 */

/* ---- Top bar ---- */
/* Background & text colors come from Customizer → Header Top settings. */

/*
 * Smart Sticky (Headroom) sticks the whole <header>, including the top bar.
 * Hide the top bar once the page has scrolled away from the very top so
 * the sticky bar only shows the main navigation.
 */
.header-get-sticky.headroom--not-top .tpc-header-top-bar,
.header-get-sticky.top-header-removed .tpc-header-top-bar {
	display: none !important;
}

.theme-header-aurum .tpc-header-top-bar.tpc-top-bar-style-2 .edubin-header-top-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.theme-header-aurum .tpc-top-bar-style-2 .header-top-center {
	display: none;
}

.theme-header-aurum .aurum-top-bar .header-top-left,
.theme-header-aurum .tpc-top-bar-style-2 .header-top-left,
.theme-header-aurum .tpc-top-bar-style-2 .header-top-right {
	align-items: center;
}

.theme-header-aurum .tpc-top-bar-style-2 .header-top-profile,
.theme-header-aurum .tpc-top-bar-style-2 .header-top-login-register {
	display: inline-block;
	padding-left: 0;
	margin-left: 0;
}

.theme-header-aurum .tpc-top-bar-style-2 .header-top-profile + .header-top-login-register::before {
	display: none;
}

.theme-header-aurum .tpc-top-bar-style-2 .header-top-profile::after {
	content: ' / ';
	color: #fff;
	margin: 0 2px;
}

.theme-header-aurum .tpc-top-bar-style-2 .header-top-social-share .follow-us {
	padding-left: 0;
	margin-right: 8px;
}

.theme-header-aurum .tpc-top-bar-style-2 .header-top-social-share a i {
	font-size: 14px;
	padding-right: 0;
	margin-left: 10px;
}

/* ---- Main header ---- */
.theme-header-aurum .edubin-header-area {
	background: #fff;
	border-bottom: 1px solid #eef0f2;
}

.theme-header-aurum .tpc-header-navbar {
	min-height: 90px;
	justify-content: space-between;
}

.theme-header-aurum .edubin-theme-header-nav {
	flex: 1;
	display: flex;
	justify-content: flex-end;
}

.theme-header-aurum .edubin-theme-header-nav .edubin-navbar-collapse {
	justify-content: flex-end !important;
}

.theme-header-aurum .edubin-header-area ul.edubin-navbar-nav > li > a {
	font-weight: 600;
	font-size: 15px;
	color: #1f2432;
	padding: 10px 18px;
}

.theme-header-aurum .edubin-header-area ul.edubin-navbar-nav > li.current-menu-item > a,
.theme-header-aurum .edubin-header-area ul.edubin-navbar-nav > li.current-menu-ancestor > a,
.theme-header-aurum .edubin-header-area ul.edubin-navbar-nav > li > a:hover {
	color: var(--edubin-primary-color, #14809D);
}

/* Vertical separator before search / cart */
.theme-header-aurum .aurum-header-right-side {
	margin-left: 10px;
	padding-left: 0;
	gap: 28px;
}

.theme-header-aurum .aurum-header-right-side::before {
	content: '';
	position: absolute;
	left: -20px;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 24px;
	background: #dedfe0;
}

.theme-header-aurum .edubin-header-area .header-quote .quote-icon a i,
.theme-header-aurum .edubin-header-area .header-quote .quote-icon button i {
	color: var(--edubin-primary-color, #14809D);
	font-size: 20px;
	top: 2px;
}

.theme-header-aurum .edubin-woo-mini-cart-icon-wrapper i {
	color: var(--edubin-primary-color, #14809D);
}

.theme-header-aurum .edubin-woo-mini-cart-total-item {
	background-color: var(--edubin-primary-color, #14809D);
	color: #fff;
	min-width: 18px;
	height: 18px;
	line-height: 18px;
	font-size: 11px;
	top: -6px;
	right: -8px;
}

.theme-header-aurum .site-branding .site-logo,
.theme-header-aurum .site-branding .custom-logo {
	max-height: 70px;
	width: auto;
}

@media (max-width: 1199px) {
	.theme-header-aurum .aurum-header-right-side::before {
		display: none;
	}
}


/* ========================================
   Edubin top header — mobile fix
======================================== */

@media (max-width: 767px) {

    .tpc-header-top-bar .edubin-container {
        width: 100%;
        padding: 0 15px;
    }

    .tpc-header-top-bar .edubin-header-top-content {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 14px 0;
    }

    /* Email and phone section */
    .tpc-header-top-bar .header-top-left {
      
        width: 100%;
    }

    .tpc-header-top-bar .header-top-email,
    .tpc-header-top-bar .header-top-phone {
        width: 100%;
        text-align: center;
    }

    .tpc-header-top-bar .header-top-email a,
    .tpc-header-top-bar .header-top-phone a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0;
        width: auto;
        max-width: 100%;
        padding: 0;
        white-space: nowrap;
        word-break: normal;
        overflow-wrap: normal;
        line-height: 1.5;
        font-size: 12px;
    }

    /* Profile and Logout section */
    .tpc-header-top-bar .header-top-right {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0;
        width: 100%;
    }

    .tpc-header-top-bar .header-top-profile,
    .tpc-header-top-bar .header-top-login-register {
        display: flex;
        align-items: center;
        margin: 0;
        padding: 0;
    }

    .tpc-header-top-bar .header-top-profile a,
    .tpc-header-top-bar .header-top-login-register a {
        display: inline-flex;
        align-items: center;
        padding: 0 14px;
        white-space: nowrap;
        line-height: 1.5;
    }

    .tpc-header-top-bar .header-top-login-register {
        border-left: 1px solid rgba(255, 255, 255, 0.45);
    }

    /* Remove theme-generated separators */
    .tpc-header-top-bar .header-top-left > div::before,
    .tpc-header-top-bar .header-top-left > div::after,
    .tpc-header-top-bar .header-top-right > div::before,
    .tpc-header-top-bar .header-top-right > div::after {
        display: none !important;
    }
}
