/* === Cylinderheads Header Rework === */
.site-header__top {
    background: #ffd200;
}

.site-header__container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-left: 40px;
    padding-right: 40px;
    box-sizing: border-box;
}

.site-header__top-inner {
    min-height: 105px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    flex-wrap: nowrap;
}

.site-header__brand {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 0 0 auto;
    min-width: 0;
}

.site-header__logo {
    flex: 0 0 auto;
}

.site-header__logo img {
    display: block;
    width: 85px;
    height: auto;
}

.site-header__brand-copy {
    flex: 0 0 auto;
    min-width: 0;
}

.site-header__company-name {
    margin: 0;
    color: #050505;
    font-size: 48px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -1.5px;
    white-space: nowrap;
}

.site-header__tagline {
    margin-top: 5px;
    color: #050505;
    font-size: 22px;
    line-height: 1.1;
    font-weight: 700;
    white-space: nowrap;
}

.site-header__phone {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex: 0 0 auto;
}

.site-header__phone-icon {
    font-size: 28px;
    color: #050505;
}

.site-header__phone a {
    display: block;
    color: #050505;
    font-size: 26px;
    line-height: 1;
    font-weight: 800;
    text-decoration: none;
}

.site-header__phone small {
    display: block;
    margin-top: 3px;
    color: #050505;
    font-size: 11px;
    line-height: 1;
}

.site-header__separator {
    width: 1px;
    height: 50px;
    margin: 0 14px;
    background: rgba(0, 0, 0, 0.55);
    flex: 0 0 auto;
}

.site-header__utilities {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto;
    margin-left: auto;
    min-width: 0;
    padding-top: 8px;
    padding-bottom: 8px;
}

.site-header__account > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #050505;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    background: transparent;
    border: none;
    padding: 0;
}

/* Cart is rendered by OpenCart's cart.twig using Bootstrap dropdown styles */
.site-header__cart {
    min-width: 150px;
}

.site-header__cart .btn-inverse {
    color: #050505;
    white-space: nowrap;
}

.site-header__shipping {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    height: 85px;
    width: 260px;
    min-width: 260px;
    max-width: 260px;
    overflow: hidden;
    background: transparent;
    padding: 2px 4px;
    box-sizing: border-box;
}

.site-header__shipping img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

/* Navigation row */
.site-header__nav {
    background: linear-gradient(to bottom, #222222 0%, #171717 100%);
}

.site-header__nav-inner {
    min-height: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 25px;
}

.site-header__menu-wrap {
    flex: 1 1 auto;
    min-width: 0;
    background: transparent;
}

.site-header__navbar {
    background: transparent;
    border: none;
    margin: 0;
    min-height: 0;
    width: 100%;
}

.site-header__navbar > .container,
.site-header__navbar > div {
    padding-left: 0;
    padding-right: 0;
}

.site-header__menu {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.site-header__menu-wrap,
.site-header__collapse,
.navbar-collapse {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.site-header__menu > li > a {
    color: #ffffff;
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 20px 0;
}

.site-header__menu > li > a:hover,
.site-header__menu > li > a:focus {
    color: #ffd200;
    background: transparent;
}

.site-header__nav-parts-finder,
.site-header__nav-parts-finder:hover,
.site-header__nav-parts-finder:focus {
    color: #ffd200 !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.site-header__search {
    width: 260px;
    min-width: 260px;
    max-width: 260px;
    height: 44px;
    display: flex;
    flex: 0 0 260px;
    border-radius: 7px;
    background: #ffffff;
    position: relative;
    margin-left: auto;
}

.site-header__search .input-group,
.site-header__search #search {
    width: 100%;
    height: 100%;
    display: flex !important;
    position: relative;
    z-index: 10;
}

.site-header__search .form-control {
    min-width: 0;
    flex: 1 1 auto;
    border: 0;
    outline: none;
    padding: 0 14px;
    color: #333333;
    font-size: 14px;
    background: #ffffff;
    height: 100%;
    box-shadow: none;
}

.site-header__search .input-group-btn,
.site-header__search button {
    width: 48px;
    flex: 0 0 48px;
    border: 0;
    border-left: 1px solid #dddddd;
    color: #444444;
    background: #f5f5f5;
    cursor: pointer;
    height: 100%;
    padding: 0;
}

.site-header__search .btn {
    border-radius: 0;
}

/* Responsive */
@media (max-width: 1400px) {
    .site-header__company-name { font-size: 40px; }
    .site-header__tagline { font-size: 18px; }
    .site-header__menu { gap: 22px; }
    .site-header__utilities { gap: 10px; }
    .site-header__shipping { height: 80px; width: 240px; min-width: 240px; max-width: 240px; }
}

@media (max-width: 1200px) {
    .site-header__company-name { font-size: 32px; }
    .site-header__tagline { font-size: 16px; }
    .site-header__menu { gap: 18px; }
    .site-header__search { width: 220px; min-width: 220px; max-width: 220px; flex-basis: 220px; }
    .site-header__separator { margin: 0 8px; }
    .site-header__shipping { display: none; }
    .site-header__utilities { gap: 8px; }
    .site-header__cart { min-width: auto; }
}

@media (max-width: 992px) {
    .site-header__brand { flex-basis: 100%; justify-content: center; }
    .site-header__utilities {
        flex-basis: 100%;
        justify-content: center;
        margin-left: 0;
        margin-top: 10px;
    }
    .site-header__shipping-plane { display: none; }
    .site-header__nav-inner { height: auto; min-height: 0; flex-wrap: wrap; }
    .site-header__search { width: 100%; min-width: 0; max-width: none; flex-basis: 100%; margin-top: 10px; }
}

@media (max-width: 1200px) {
    .site-header__company-name { font-size: 32px; }
    .site-header__tagline { font-size: 16px; }
    .site-header__menu { gap: 18px; }
    .site-header__search { width: 220px; min-width: 220px; max-width: 220px; flex-basis: 220px; }
    .site-header__separator { margin: 0 8px; }
    .site-header__shipping { display: none; }
    .site-header__utilities { gap: 8px; }
    .site-header__cart { min-width: auto; }
    .site-header__phone a { font-size: 22px; }
    .site-header__phone-icon { font-size: 24px; }
}

@media (max-width: 992px) {
    .site-header__brand { flex-basis: 100%; justify-content: center; }
    .site-header__utilities {
        flex-basis: 100%;
        justify-content: center;
        margin-left: 0;
        margin-top: 10px;
    }
    .site-header__shipping-plane { display: none; }
    .site-header__nav-inner { height: auto; min-height: 0; flex-wrap: wrap; }
    .site-header__search { width: 100%; min-width: 0; max-width: none; flex-basis: 100%; margin-top: 10px; }
    .site-header__phone a { font-size: 20px; }
    .site-header__phone-icon { font-size: 22px; }
}

@media (max-width: 767px) {
    .site-header__company-name { font-size: 28px; letter-spacing: -0.5px; }
    .site-header__tagline { font-size: 16px; }
    .site-header__logo img { width: 60px; }
    .site-header__phone a { font-size: 18px; }
    .site-header__phone-icon { font-size: 20px; }
    .site-header__utilities { flex-wrap: wrap; gap: 6px; }
    .site-header__top-inner { flex-wrap: wrap; }
}
