/**
 * Sales header — fixed bar with logo (left) and join button (right).
 * Used when page template is Sales (header-sales.php).
 */

.sales-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background-color: #fdfbf7;
}

.sales-header__inner {
	position:relative;
	max-width: 1206px;
	margin: 0 auto;
	padding: 1rem 22px;
	min-height: 60px;
}

.sales-header__logo {
	display: block;
	line-height: 0;
}

.sales-header__logo img {
	height: auto;
	max-height: 30px;
	width: auto;
	display: block;
}

.sales-header__join {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    text-decoration: none;
    font-family: 'Sofia Pro', 'sofia-pro', -apple-system, sans-serif;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12rem;
    background: #000000;
    color: #ffffff;
    border: none;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 50px;
}

.sales-header__join:hover,
.sales-header__join:focus {
	 color: #ffffff;
	background:#402103;
}

.sales-header__line {
	height: 3px;
	background-color: #E9E5E0;
	width: 100%;
}

/* Offset main content so it isn’t hidden under fixed header */
.page-template-page-sales .site-inner {
	padding-top: 0px;
}
@media (max-width:1240px) {
	.sales-header__join {
		right:10px;
	}
}
@media (max-width: 950px) {
	.sales-header__join {
	            position: relative;
        left: 0;
        right: 0;
        margin: 10px auto 0;
        display: flex;
        max-width: fit-content;
        padding: 0 14px;
        height: 34px;
        align-items: center;
	}
	.sales-header__inner {
		padding:10px;
	}
	.sales-header__logo img {
		max-height:30px;
	}
}