/* ==========================================
   SPORTS PRECISION PRO - HEADER
   ========================================== */
.sp-inline-menu #iqitmegamenu-horizontal {
    position: static !important;
    background: transparent !important;
}

.sp-inline-menu .iqitmegamenu-wrapper,
.sp-inline-menu .sticky-desktop-wrapper,
.sp-inline-menu .container-iqitmegamenu,
.sp-inline-menu #iqitmegamenu-wrapper {
    background: transparent !important;
}
/* Header container */
.sp-header-top {
    background: #fff;
    border-bottom: 3px solid #00529b;
}

/* ==========================================
   LOGO
   ========================================== */

#desktop_logo {
    display: flex;
    align-items: center;
}

#desktop_logo a {
    display: flex;
    align-items: center;
}

#desktop_logo img.logo,
#desktop_logo img.img-fluid {
    max-width: 180px !important;
    width: auto !important;
    height: auto !important;
    max-height: 60px !important;
}

/* ==========================================
   MENU INLINE
   ========================================== */

.sp-col-menu {
    padding: 0 15px;
}

.sp-inline-menu .iqitmegamenu-wrapper,
.sp-inline-menu .sticky-desktop-wrapper {
    position: static !important;
    background: transparent !important;
}

.sp-inline-menu .container-iqitmegamenu,
.sp-inline-menu .container {
    padding: 0 !important;
    max-width: none !important;
    width: auto !important;
}

.sp-inline-menu #iqitmegamenu-horizontal {
    position: static !important;
}

.sp-inline-menu #sticky-cart-wrapper,
.sp-inline-menu #iqitmegamenu-mobile,
.sp-inline-menu #_desktop_iqitmegamenu-mobile {
    display: none !important;
}

.sp-inline-menu .cbp-hrmenu > ul {
    display: flex !important;
    flex-wrap: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
}

.sp-inline-menu .cbp-hrmenu-tab > a.nav-link {
    color: #1a1a2e !important;
    font-weight: 500;
    padding: 10px 15px;
}

.sp-inline-menu .cbp-hrmenu-tab > a.nav-link:hover {
    color: #00529b !important;
}

/* ==========================================
   SPACE SELECTOR
   ========================================== */

.sp-col-space {
    padding: 0 15px;
}

.sp-space-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: #00529b;
    color: #fff !important;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.sp-space-btn:hover {
    background: #003d75;
}

.sp-space-btn::after {
    display: none !important;
}

.sp-space-arrow {
    font-size: 10px;
}

.sp-space-selector .dropdown-menu {
    min-width: 100%;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.sp-space-selector .dropdown-item.active {
    background: #00529b;
    color: #fff;
}

/* ==========================================
   SEARCH BAR
   ========================================== */

.col-header-center {
    flex: 1;
    max-width: 350px;
    padding: 0 20px;
}

#search_widget {
    width: 100%;
}

#search_widget .input-group {
    position: relative;
    width: 100%;
}

#search_widget .form-search-control {
    width: 100%;
    height: 44px;
    padding: 10px 50px 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    color: #1a1a2e;
    background: #fff;
}

#search_widget .form-search-control:focus {
    outline: none;
    border-color: #00529b;
}

#search_widget .form-search-control::placeholder {
    color: #999;
}

#search_widget .search-btn {
    position: absolute;
    right: 0;
    top: 0;
    height: 44px;
    width: 44px;
    background: transparent;
    border: none;
    color: #00529b;
    font-size: 18px;
    cursor: pointer;
    z-index: 2;
}

#search_widget .search-btn:hover {
    color: #003d75;
}

/* ==========================================
   HEADER BUTTONS
   ========================================== */

.col-header-right .row {
    gap: 10px;
}

.header-btn.header-user-btn,
.header-btn.header-cart-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 15px;
    text-decoration: none;
}

.header-btn.header-user-btn svg,
.header-btn.header-cart-btn svg {
    transition: stroke 0.2s ease;
}

.header-btn.header-user-btn:hover svg,
.header-btn.header-cart-btn:hover svg {
    stroke: #00529b;
}

.header-btn .title {
    font-size: 12px;
    font-weight: 500;
    color: #1a1a2e;
    margin-top: 5px;
}

.header-btn:hover .title {
    color: #00529b;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 1200px) {
    .col-header-center {
        max-width: 280px;
    }
    
    #desktop_logo img.logo,
    #desktop_logo img.img-fluid {
        max-width: 150px !important;
    }
}

@media (max-width: 991px) {
    .sp-col-menu,
    .sp-col-space {
        display: none !important;
    }
}

/* Dropdown items */
.sp-space-selector .dropdown-item {
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a2e;
    background: #fff;
}

.sp-space-selector .dropdown-item:hover {
    background: #f5f7fa;
    color: #00529b;
}

.sp-space-selector .dropdown-item.active {
    background: #00529b;
    color: #fff !important;
}

/* Search bar */
#search_widget .form-search-control {
    width: 100%;
    height: 44px;
    padding: 10px 50px 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    color: #1a1a2e;
    background: #f4f4f4;
}

#search_widget .form-search-control:focus {
    outline: none;
    border-color: #00529b;
    background: #fff;
}
.sp-space-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: #fff;
    color: #00529b !important;
    border: 2px solid #00529b;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.sp-space-btn:hover,
.sp-space-btn:focus {
    background: #f5f7fa;
    color: #00529b !important;
}

.sp-space-btn::after {
    display: none !important;
}

.sp-space-arrow {
    font-size: 10px;
    color: #00529b;
}