/* ============================================================
   Intensity Hoops — Header, Logo & Header Topbar
   ============================================================ */


/* ── Header core ─────────────────────────────────────────── */

#sp-header {
    height: 80px;
    width: 100%;
    position: relative;
    z-index: 99;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, .1);
    animation: spFadeIn .5s;
}

#sp-header.header-sticky {
    height: 60px;
}

.transparent-header #sp-header {
    background: transparent;
    box-shadow: none;
}

.transparent-header #sp-header.header-sticky {
    background: var(--header-bg, #111111);
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, .1);
}

#sp-header .offcanvas-toggler-secondary {
    display: inline-flex;
    align-items: center;
}

#sp-header.full-header {
    padding-left: 45px;
    padding-right: 45px;
}

#sp-header.lg-header {
    box-shadow: 0 2px 3px rgba(0, 0, 0, .1);
}

#sp-header.lg-header .logo {
    height: auto;
}

#sp-header.lg-header #offcanvas-toggler {
    margin-right: 20px;
    margin-left: 0px;
}

#sp-header.lg-header .sp-column {
    height: 100%;
}

#sp-header.lg-header #sp-logo #offcanvas-toggler {
    display: none;
}


/* ── Header with modal menu ──────────────────────────────── */

#sp-header.header-with-modal-menu {
    color: #252525;
}

#sp-header.header-with-modal-menu a {
    color: rgba(37, 37, 37, .6);
}

#sp-header.header-with-modal-menu a:hover,
#sp-header.header-with-modal-menu a:focus {
    color: var(--brand-primary, #1272ba);
}

#sp-header.header-with-modal-menu .sp-contact-info > li {
    margin-right: 15px;
    opacity: .7;
    transition: .3s;
}

#sp-header.header-with-modal-menu .sp-contact-info > li:hover,
#sp-header.header-with-modal-menu .sp-contact-info > li:focus {
    opacity: 1;
}

#sp-header.header-with-modal-menu .sp-contact-info > li > span {
    margin-right: 5px;
}

#sp-header.header-with-modal-menu.center-layout .modules-wrapper {
    height: auto;
    border: none;
    padding: 0px;
    max-width: 730px;
    margin: 0 auto;
}

#sp-header.header-with-modal-menu.center-layout #modal-menu .modal-menu-inner > .container {
    align-items: flex-start;
    padding: 170px 0 0;
}

#sp-header.header-with-modal-menu.center-layout #modal-menu .search {
    margin-bottom: 80px;
}

#sp-header.header-with-modal-menu.center-layout #modal-menu .search form:after {
    font-size: 16px;
}

#sp-header.header-with-modal-menu.center-layout #modal-menu .search form:hover:after {
    display: none;
}

#sp-header.header-with-modal-menu.center-layout #modal-menu .search form input {
    background: rgba(0, 0, 0, 0);
    border-bottom: 2px solid rgba(32, 31, 31, .1);
    font-size: 26px;
    padding: 7px;
    border-radius: 0px;
}

#sp-header.header-with-modal-menu.center-layout #modal-menu .search form input::placeholder {
    color: rgba(32, 31, 31, .4);
}

#sp-header.header-with-modal-menu.center-layout #modal-menu .search form input:focus,
#sp-header.header-with-modal-menu.center-layout #modal-menu .search form input:active,
#sp-header.header-with-modal-menu.center-layout #modal-menu .search form input:active:focus {
    box-shadow: none;
    border-bottom: 2px solid rgba(32, 31, 31, .7);
}

#sp-header.header-with-modal-menu.center-layout .sp-megamenu-wrapper {
    justify-content: center;
}

#sp-header.header-with-modal-menu.center-layout .sp-megamenu-wrapper ul.sp-megamenu-parent {
    flex-direction: row;
}

#sp-header.header-with-modal-menu.center-layout .sp-megamenu-wrapper .sp-megamenu-parent > li > a,
#sp-header.header-with-modal-menu.center-layout .sp-megamenu-wrapper .sp-megamenu-parent > li > span {
    padding: 0;
}

#sp-header.header-with-modal-menu.center-layout .sp-megamenu-wrapper .sp-megamenu-parent > li > a:after,
#sp-header.header-with-modal-menu.center-layout .sp-megamenu-wrapper .sp-megamenu-parent > li > span:after {
    top: 100%;
    width: 2px;
    height: 20px;
    left: 50%;
    transform: translateX(-50%);
    margin: 10px 0 0 0;
}

#sp-header.header-with-modal-menu.center-layout .sp-megamenu-wrapper .sp-megamenu-parent > li.sp-has-child:hover > a:after,
#sp-header.header-with-modal-menu.center-layout .sp-megamenu-wrapper .sp-megamenu-parent > li.sp-has-child:hover > span:after {
    height: 30px;
}

#sp-header.header-with-modal-menu.center-layout .sp-megamenu-wrapper .sp-megamenu-parent > li.sp-has-child > .sp-dropdown {
    animation: spFadeIn .5s;
}

#sp-header.header-with-modal-menu.center-layout .sp-megamenu-wrapper .sp-megamenu-parent > li:not(:last-child) > a,
#sp-header.header-with-modal-menu.center-layout .sp-megamenu-wrapper .sp-megamenu-parent > li:not(:last-child) > span {
    margin-right: 70px;
}

#sp-header.header-with-modal-menu.center-layout .sp-megamenu-wrapper .sp-megamenu-parent > li > .sp-dropdown.sp-dropdown-main {
    top: 100%;
    padding-top: 50px;
    padding-left: 0;
    left: auto !important;
    right: 0px;
    transition: .35s;
}

#sp-header.header-with-modal-menu.center-layout .sp-megamenu-wrapper .sp-megamenu-parent > li > .sp-dropdown.sp-dropdown-main li.sp-menu-item > a,
#sp-header.header-with-modal-menu.center-layout .sp-megamenu-wrapper .sp-megamenu-parent > li > .sp-dropdown.sp-dropdown-main li.sp-menu-item > span {
    padding: 6px 0;
}

#sp-header.header-with-modal-menu.classic-layout .modal-menu-inner > div {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 0;
}

#sp-header.header-with-modal-menu.classic-layout .modal-menu-inner > div .sp-megamenu-wrapper {
    height: 100%;
    align-items: center;
}

#sp-header.header-with-modal-menu.classic-layout .modal-menu-inner > div .social-icons {
    margin-top: auto;
    margin-bottom: 0px;
    width: 100%;
    border-top: 2px solid rgba(32, 31, 31, .1);
    padding-top: 20px;
    font-size: 12px;
}


/* ── Logo ────────────────────────────────────────────────── */

#sp-header .logo {
    height: 80px;
    display: inline-flex;
    margin: 0;
    align-items: center;
}

#sp-header .logo a {
    font-size: 24px;
    line-height: 1;
    margin: 0;
    padding: 0;
}

#sp-header .logo p {
    margin: 5px 0 0;
}

#sp-header .logo .logo-sticky {
    display: none !important;
}

#sp-header.header-sticky {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    animation: spFadeInDown .5s;
}

#sp-header.header-sticky .logo-sticky {
    display: block !important;
}

#sp-header.header-sticky .logo-default {
    display: none !important;
}

#sp-header .sp-module {
    margin-left: 20px;
}

img.logo-image {
    height: 132px;
}

img.logo-image-phone {
    height: 70px;
}

.header-sticky .logo-image {
    height: 80px;
}


/* ── Logo column with border ─────────────────────────────── */

#sp-logo.has-border {
    position: relative;
    padding-right: 45px;
}

#sp-logo.has-border:after {
    content: "";
    margin-top: 10px;
    margin-bottom: 10px;
    position: absolute;
    width: 2px;
    height: calc(var(--header_height) - 20px);
    right: 15px;
    background-color: rgba(80, 80, 80, .2);
}

#sp-logo.has-border .sp-column {
    display: inline-flex;
    align-items: center;
}


/* ── Profile dropdown ────────────────────────────────────── */

.sp-profile-wrapper {
    position: relative;
    font-size: 14px;
}

.sp-profile-wrapper .arrow-icon {
    font-size: 11px;
}

.sp-profile-wrapper .sp-profile-dropdown {
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 3px;
    padding: 10px 5px !important;
    list-style: none !important;
    font-size: 14px;
    position: absolute;
    min-width: 100px;
    right: 0;
    top: 100%;
    display: none !important;
}

.sp-profile-wrapper .sp-profile-dropdown li a {
    display: block;
    width: 100%;
    padding: 0 15px;
}

.sp-profile-wrapper .sp-profile-dropdown > li:not(:last-child) {
    border-bottom: 1px solid #e4e4e4;
    padding-bottom: 5px;
    margin-bottom: 5px;
    line-height: 1.3;
}

.sp-profile-wrapper:hover .sp-profile-dropdown {
    display: block !important;
    animation: spFadeInDown .5s;
}


/* ── Header topbar ───────────────────────────────────────── */

#sp-header-topbar {
    position: relative;
    z-index: 111;
}

#sp-header-topbar .sp-profile-wrapper .sp-sign-in .user-text {
    display: none !important;
}

#sp-header-topbar #sp-logo #offcanvas-toggler {
    display: none !important;
}

#sp-header-topbar #sp-logo .logo-sticky {
    display: none !important;
}

#sp-header-topbar .container-inner {
    border-bottom: 1px solid #e5e5e5;
}

#sp-header-topbar .container-inner > .row {
    min-height: 80px;
}

#sp-header-topbar a {
    color: #909196;
}

#sp-header-topbar a:hover {
    color: var(--brand-primary, #1272ba);
}

#sp-header-topbar .sp-contact-info {
    color: #909196;
}

.header-modules {
    margin-left: 20px;
}

.header-modules .sp-module {
    margin-left: 20px;
}

.header-modules .search {
    position: relative;
}

.header-modules .search form:after {
    content: "";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 0;
    font-size: 12px;
    line-height: 32px;
    right: 10px;
}

.header-modules .search form input {
    background: #efeff0;
    border: none;
    height: 32px;
    font-size: 15px;
    border-radius: 3px;
    padding: 5px 10px;
}

.header-has-modules #offcanvas-toggler {
    margin-right: 20px;
    margin-left: 0;
}


/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 1199px) {
    #sp-header.full-header {
        padding-left: 15px;
        padding-right: 15px;
    }

    #sp-header.header-with-social #sp-menu .social-wrap {
        padding-left: 0px;
    }
}

@media (max-width: 991px) {
    #sp-header {
        height: 60px;
    }

    #sp-header .logo {
        height: 60px;
    }

    #sp-header.header-with-modal-menu #modal-menu-toggler {
        display: none;
    }

    #sp-header-topbar .container-inner > .row {
        min-height: 60px;
    }

    #sp-logo.has-border > .sp-column {
        border-right: none;
        padding-right: 0px;
    }

    #sp-menu .social-wrap:after,
    #sp-logo.has-border:after {
        display: none;
    }

    #sp-logo.has-border {
        padding-right: 15px;
    }

    #sp-header.header-with-modal-menu.center-layout .sp-contact-info,
    #sp-header.header-with-modal-menu.classic-layout .sp-contact-info {
        display: none;
    }

    #sp-header-topbar {
        margin: 10px 0px;
    }

    #sp-header-topbar .container-inner {
        padding-bottom: 10px;
    }
}

@media (max-width: 767px) {
    #sp-header .menu-wrap {
        display: none;
    }
}

@media (max-width: 575px) {
    #sp-header {
        height: 60px;
    }

    #sp-header img.logo-image {
        height: 70px;
    }

    #sp-header-topbar .container-inner > .row {
        min-height: 50px;
    }

    #sp-header .sp-module {
        margin-left: 10px;
    }

    #sp-header .sp-module .sp-sign-in .text {
        display: none;
    }

    #sp-header.lg-header .top-part {
        border-bottom: none;
    }

    #sp-header.lg-header #sp-contact {
        order: 1;
    }

    #sp-header.lg-header #sp-logo {
        order: 3;
    }

    #sp-header.lg-header #sp-social {
        order: 2;
    }

    #sp-header.lg-header #sp-social .sp-column {
        justify-content: center !important;
    }

    #sp-header.lg-header #sp-social .social-icons {
        margin: 0;
    }

    #sp-header.lg-header #sp-social .social-icons > li:not(:last-child) {
        margin-right: 10px;
    }

    #sp-header.lg-header .sp-contact-info {
        text-align: center;
        margin: 5px 0;
    }

    .header-has-modules .container-inner > .row {
        flex-wrap: wrap !important;
    }

    .header-has-modules #offcanvas-toggler {
        height: auto;
        line-height: 1.2;
    }
}
