@font-face {
    font-display: swap;
    font-family: "bootstrap-icons";
    src: url("/fonts/bootstrap-icons.woff2") format("woff2"), 
        url("/fonts/bootstrap-icons.woff") format("woff");
}

@font-face {
    font-family: 'Inter';
    src: url('/fonts/inter_18pt-medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/fonts/inter_18pt-bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

/* ---------- Base ---------- */
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    color: #222;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    height: auto;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

a {
    text-decoration: none;
}

/* ---------- Header ---------- */
.km-header {
    width: 100%;
    background: #3f7df1;
    position: relative;
    z-index: 999;
}

.km-topbar {
    display: flex;
    align-items: center;
    gap: 22px;
    /* reduce header vertical spacing */
    padding: 8px 28px;
    background: #3f7df1;
}

.logo-img {
    max-height: 70px;
    width: auto;
    display: block;
}

.km-search {
    flex: 1;
    display: flex;
    max-width: 760px;
    background: #fff;
    border-radius: 35px;
    overflow: hidden;
}

    .km-search input {
        flex: 1;
        border: none;
        padding: 0 22px;
        outline: none;
        font-size: 15px;
    }

    .km-search button {
        width: 58px;
        height: 52px;
        border: none;
        background: #2f63c6;
        color: #fff;
        font-size: 22px;
        cursor: pointer;
    }

.km-icons {
    display: flex;
    gap: 14px;
}

.km-icon-box {
    width: 100px;
    height: 88px;
    background: transparent;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
    padding-top: 10px;
    transition: background-color 0.2s ease;
}

    .km-icon-box:hover {
        background: #3169ce;
    }

.km-icon {
    font-size: 34px;
    line-height: 36px;
}

.km-icon-box span {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-top: 8px;
}

/* ---------- Desktop Menu ---------- */
.km-menu {
    background: #3169ce;
    position: relative;
}

    .km-menu ul {
        margin: 0;
        padding: 0 20px;
        list-style: none;
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .km-menu li {
        position: static;
        flex-shrink: 0;
    }

    .km-menu > ul > li > a,
    .km-sticky-nav > ul > li > a {
        display: block;
        color: #fff;
        text-decoration: none;
        font-family: 'Inter', Arial, sans-serif;
        font-size: 14px;
        font-weight: 700;
        letter-spacing: .2px;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .km-menu > ul > li > a {
        padding: 15px 14px;
    }

    .km-menu > ul > li:hover > a,
    .km-sticky-nav > ul > li:hover > a {
        color: #ffff00;
    }

/* ---------- Mega Menu ---------- */
.mega-menu {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    min-height: 520px;
    background: #fff;
    display: none;
    padding: 26px 30px;
    box-shadow: none;
    z-index: 9999;
}

@media (min-width: 992px) {

    .has-mega.mega-open > .mega-menu {
        display: grid;
        grid-template-columns: 1.15fr 1.05fr 1.05fr 1.05fr 1fr;
        column-gap: 42px;
        align-items: flex-start;
    }
}

.mega-menu div {
    min-width: 0;
}

.mega-menu h4 {
    font-size: 16px;
    font-weight: 800;
    color: #222;
    margin: 0 0 16px;
    text-transform: uppercase;
}

.mega-menu a {
    display: block;
    color: #858585 !important;
    padding: 7px 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.25;
    text-transform: none;
    letter-spacing: 0;
    white-space: normal;
}

    .mega-menu a:hover {
        color: #ff1f1f !important;
    }

/* ---------- Sticky Desktop Nav ---------- */
.km-sticky-nav {
    display: none;
}

@media (min-width: 992px) {
    .km-sticky-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 64px;
        background: #3169ce;
        z-index: 99999;
        display: flex;
        align-items: center;
        padding: 0 32px;
        transform: translateY(-100%);
        transition: transform .25s ease;
        box-shadow: 0 3px 10px rgba(0,0,0,.15);
        overflow: visible;
    }

        .km-sticky-nav.show {
            transform: translateY(0);
        }

    .sticky-menu-icon {
        color: #fff;
        font-size: 32px;
        margin-right: 28px;
        cursor: pointer;
        line-height: 1;
    }

    .km-sticky-nav > ul {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0;
        list-style: none;
        padding: 0;
        margin: 0;
        flex: 1;
    }

        .km-sticky-nav > ul > li {
            position: static;
            flex-shrink: 0;
        }

            .km-sticky-nav > ul > li > a {
                padding: 22px 12px;
                line-height: 20px;
            }

    .sticky-right-icons {
        display: flex;
        align-items: center;
        gap: 18px;
        color: #ffffff;
        overflow: visible;
    }

        .sticky-right-icons i {
            color: #ffffff;
        }

    .km-sticky-nav .mega-menu {
        position: fixed;
        top: 64px;
        left: 0;
        z-index: 99998;
    }
}


/* ---------- Drawers / Panels ---------- */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.35);
    display: none;
    z-index: 9998;
}

    .drawer-overlay.show {
        display: block;
    }

.side-panel {
    position: fixed;
    top: 0;
    right: -430px;
    width: 430px;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    transition: right .28s ease;
    box-shadow: -6px 0 22px rgba(0,0,0,.22);
}

    .side-panel.open {
        right: 0;
    }

.panel-title {
    background: #f6f6f6;
    padding: 18px 22px;
    font-size: 20px;
    font-weight: 800;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
}

    .panel-title button {
        border: none;
        background: none;
        font-size: 28px;
        cursor: pointer;
    }

.panel-body {
    padding: 28px 24px;
}

.panel-icon {
    font-size: 54px;
    color: #bbb;
    margin-bottom: 15px;
}

.panel-input {
    width: 100%;
    padding: 12px;
    margin: 8px 0 18px;
    border: 1px solid #ddd;
    outline: none;
}

    .panel-input:focus {
        border-color: #3f7df1;
    }

.panel-btn {
    display: block;
    width: 100%;
    background: #3f7df1;
    color: #fff;
    border: none;
    padding: 13px;
    border-radius: 25px;
    text-align: center;
    font-weight: 800;
}

.new-customer {
    background: #f4f4f4;
    margin-top: 24px;
    padding: 18px;
    text-align: center;
    font-weight: 700;
}

/* ---------- Mobile Menu / Bottom Nav Defaults ---------- */
.mobile-menu-icon,
.mobile-icons,
.mobile-bottom-nav,
.mobile-search-panel {
    display: none;
}

.mobile-menu-panel {
    position: fixed;
    top: 0;
    left: -82%;
    width: 82%;
    height: 100dvh;
    background: #fff;
    z-index: 10000;
    transition: left .3s ease;
    box-shadow: 5px 0 18px rgba(0,0,0,.25);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 95px;
}
    .mobile-menu-panel.open {
        left: 0;
    }

.mobile-tabs {
    display: flex;
    height: 72px;
    border-bottom: 1px solid #eee;
}

    .mobile-tabs button {
        flex: 1;
        background: #fff;
        border: none;
        font-size: 18px;
        font-weight: 500;
    }

        .mobile-tabs button.active {
            border-bottom: 2px solid #eee;
        }

.mobile-tab-content {
    display: none;
    padding-top: 5px;
}

    .mobile-tab-content.active {
        display: block;
    }

.mobile-menu-row {
    padding: 12px 20px;
    min-height: 48px;
    font-size: 15px;
}

    .mobile-menu-row span {
        font-size: 30px;
        font-weight: 300;
    }

.hot-badge {
    background: #c40018;
    color: #fff;
    font-size: 12px;
    padding: 2px 7px;
    position: relative;
    margin-right: 45px;
}

#mobileAccountTab a,
.mobile-submenu a {
    display: block;
    color: #222;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

#mobileAccountTab a {
    padding: 17px 18px;
    font-size: 16px;
}

.mobile-submenu {
    display: none;
    background: #f7f7f7;
}

    .mobile-submenu.open {
        display: block;
    }

    .mobile-submenu a {
        padding: 10px 35px;
        font-size: 14px;
    }


/* ---------- Trust Bar / Footer ---------- */
.km-trust-bar {
    background: #fff;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.trust-item {
    text-align: center;
    padding: 35px 20px;
    border-right: 1px solid #ececec;
}

    .trust-item:last-child {
        border-right: none;
    }

.trust-icon {
    width: 70px;
    height: 70px;
    background: #f5f5f5;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.trust-item h5 {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.trust-item p {
    color: #666;
    margin: 0;
}

.trust-item img {
    max-width: 220px;
    margin-top: 25px;
}

.km-footer {
    background: linear-gradient(135deg, #1f4fa8, #3f7df1);
    color: #fff;
    margin-top: 40px;
    width: 100%;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 35px;
    padding: 50px 60px 35px;
}

.footer-col h3,
.footer-col h4 {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 700;
    font-size: 20px;
}
    .footer-col h4::after {
        content: "";
        display: block;
        width: 38px;
        height: 3px;
        background: #fff;
        margin-top: 8px;
        border-radius: 10px;
        opacity: .8;
    }

.footer-col p,
.footer-col a {
    color: #eaf1ff !important;
    font-size: 15px;
    font-family: 'Inter', Arial, sans-serif;
}

.footer-col p {
    line-height: 1.7;
}

.footer-col a {
    display: block;
    margin-bottom: 11px;
    transition: .2s;
}

    .footer-col a:hover {
        color: #ffff99 !important;
        padding-left: 6px;
    }

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

    .footer-social span {
        width: 34px;
        height: 34px;
        background: rgba(255,255,255,.18);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 800;
    }

.footer-bottom {
    background: rgba(0,0,0,.18);
    color: #fff;
    text-align: center;
    padding: 16px;
    font-size: 15px;
}

#backToTop {
    position: fixed !important;
    right: 18px !important;
    bottom: 18px !important;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: #2857ab;
    color: #fff;
    font-size: 24px;
    z-index: 999999;
    display: block !important;
}
/* Compact pagination row */
.pagination-show-row {
    padding: 10px 16px;
    min-height: 72px;
    margin-bottom: 16px;
}

    .pagination-show-row .pagination-box {
        margin: 0;
        padding: 0;
        border: none;
        border-radius: 0;
    }

.pagination-left {
    gap: 4px;
}

.page-btn {
    width: 46px;
    height: 46px;
    margin-right: 0;
    font-size: 15px;
}

.toolbar-right-bottom {
    font-size: 15px;
}

    .toolbar-right-bottom select {
        width: 70px;
        height: 38px;
    }

#backToTop:hover {
    background: #1f4a96;
}

.km-search {
    display: flex;
    align-items: center;
}

    .km-search input {
        width: 300px;
        height: 46px;
        border-radius: 30px 0 0 30px;
        border: none;
        padding: 0 20px;
    }

    .km-search button {
        width: 50px;
        height: 46px;
        border: none;
        border-radius: 0 30px 30px 0;
    }

.km-search-box {
    display: none;
}

    .km-search-box.show {
        display: block;
    }

/* ---------- Sticky search ---------- */

.sticky-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    overflow: visible;
}

.sticky-search-trigger {
    position: relative;
    z-index: 2;
    display: flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #ffffff;
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

    .sticky-search-trigger:hover,
    .sticky-search-trigger:focus-visible {
        background: rgba(255, 255, 255, 0.14);
    }

    .sticky-search-trigger i {
        font-size: 22px;
    }

/*
 * The search opens towards the LEFT of the icon.
 * This prevents it from leaving the right side of the viewport.
 */
.sticky-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.sticky-search-trigger {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #ffffff;
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

    .sticky-search-trigger i {
        font-size: 24px;
    }

    .sticky-search-trigger:hover,
    .sticky-search-trigger:focus-visible {
        background: rgba(255, 255, 255, 0.14);
    }

/*
 * Panel opens below the sticky navigation.
 * It does not push or overlap menu labels.
 */
.sticky-search-panel {
    position: fixed;
    top: 72px;
    right: 74px;
    z-index: 100500;
    width: min(560px, calc(100vw - 40px));
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
}

    .sticky-search-panel.show {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
        transition: opacity 0.18s ease, transform 0.18s ease;
    }

    .sticky-search-panel .km-search-wrapper {
        position: relative;
        width: 100%;
    }

.sticky-search-form {
    display: flex;
    width: 100%;
    height: 52px;
    margin: 0;
    background: #ffffff;
    border: 1px solid #d9dee7;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.18), 0 3px 10px rgba(15, 23, 42, 0.08);
}

    .sticky-search-form .km-search-input {
        flex: 1 1 auto;
        width: 100%;
        min-width: 0;
        height: 52px;
        padding: 0 18px;
        color: #172033;
        background: #ffffff;
        border: 0;
        outline: none;
        font-size: 15px;
    }

        .sticky-search-form .km-search-input::placeholder {
            color: #7b8493;
        }

    .sticky-search-form button {
        flex: 0 0 58px;
        width: 58px;
        height: 52px;
        padding: 0;
        color: #ffffff;
        background: #245fc5;
        border: 0;
        border-radius: 0;
        font-size: 21px;
        cursor: pointer;
    }

        .sticky-search-form button:hover {
            background: #174da8;
        }

/* Suggestions below search input */

.sticky-search-panel .km-search-suggestions {
    position: absolute;
    top: calc(100% + 7px);
    right: 0;
    left: 0;
    width: 100%;
    max-height: 430px;
    overflow-x: hidden;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid #e0e4ea;
    border-radius: 10px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.2);
    z-index: 100600;
}

    .sticky-search-panel .km-search-suggestions[hidden] {
        display: none !important;
    }

/* Keep the sticky menu compact enough for the search and icons. */
@media (min-width: 992px) {
    .km-sticky-nav {
        padding-right: 20px;
        padding-left: 20px;
    }

        .km-sticky-nav > ul {
            min-width: 0;
        }

            .km-sticky-nav > ul > li > a {
                padding-right: 9px;
                padding-left: 9px;
                font-size: 13px;
            }

    .sticky-right-icons {
        flex: 0 0 auto;
        gap: 10px;
        margin-left: 10px;
        overflow: visible;
    }
}

@media (min-width: 992px) and (max-width: 1250px) {
    .sticky-autocomplete-wrapper.show,
    .sticky-autocomplete-wrapper .km-search-suggestions {
        width: 350px;
    }

    .km-sticky-nav > ul > li > a {
        padding-right: 7px;
        padding-left: 7px;
        font-size: 12px;
    }
}


.km-account-hover {
    position: relative;
}

.desktop-account-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 58px;
    width: 260px;
    background: #fff;
    z-index: 99999;
    box-shadow: 0 8px 25px rgba(0,0,0,.18);
    border-radius: 8px;
    overflow: hidden;
}

.km-account-hover:hover .desktop-account-dropdown {
    display: block;
}

.desktop-account-dropdown a,
.account-menu-link {
    display: block;
    padding: 14px 18px;
    color: #222;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    font-weight: 500;
}

    .desktop-account-dropdown a:hover,
    .account-menu-link:hover {
        background: #f5f9ff;
        color: #2874f0;
    }

.account-drawer-user {
    text-align: center;
    padding: 20px 10px;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

    .account-drawer-user h4 {
        margin: 10px 0 4px;
    }

    .account-drawer-user p {
        margin: 0;
        color: #666;
    }

.km-account-hover {
    position: relative;
}

.desktop-account-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    width: 260px;
    background: #fff;
    z-index: 999999;
    box-shadow: 0 8px 25px rgba(0,0,0,.22);
    border-radius: 4px;
    text-align: left;
}

.km-account-hover:hover .desktop-account-dropdown {
    display: block;
}

.account-dropdown-title {
    padding: 14px 18px;
    font-weight: 700;
    border-bottom: 1px solid #eee;
    color: #111;
}

.desktop-account-dropdown a {
    display: block;
    padding: 13px 18px;
    color: #222;
    text-decoration: none;
    font-size: 15px;
    border-bottom: 1px solid #f1f1f1;
}

    .desktop-account-dropdown a:hover {
        background: #f5f9ff;
        color: #2874f0;
    }

.header-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 78px;
    text-decoration: none;
    color: #fff;
    transition: .25s;
    background: transparent !important;
    transition: background-color 0.2s ease;
}

    .header-cart:hover {
        background: #3169ce !important;
    }
    /* CART TEXT WHITE */
    .header-cart,
    .header-cart:link,
    .header-cart:visited,
    .header-cart:hover,
    .header-cart:active {
        color: #fff !important;
        text-decoration: none !important;
    }

        .header-cart span {
            color: #fff !important;
        }

        .header-cart:hover {
            background: #3169ce !important;
        }

            .header-cart:hover span {
                color: #fff !important;
            }

.cart-icon {
    position: relative;
    font-size: 30px;
    color: #fff;
    line-height: 1;
}

    .cart-icon i {
        font-size: 30px;
    }

.cart-count {
    position: absolute;
    top: -6px;
    right: -10px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ff6b00;
    color: #fff;
    border-radius: 20px;
    border: 2px solid #3f73d8;
    font-size: 10px;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0,0,0,.25);
}

.header-cart span:last-child {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
}

.cart-toast {
    position: fixed;
    top: 90px;
    right: 20px;
    background: #198754;
    color: #fff;
    padding: 14px 20px;
    border-radius: 8px;
    font-weight: 500;
    box-shadow: 0 8px 25px rgba(0,0,0,.25);
    opacity: 0;
    transform: translateY(-15px);
    transition: all .35s ease;
    z-index: 99999;
    pointer-events: none;
    min-width: 260px;
}

    .cart-toast.show {
        opacity: 1;
        transform: translateY(0);
    }

.cart-success-modal {
    border-radius: 14px;
    border: none;
}

    .cart-success-modal h3 {
        color: #198754;
        font-weight: 700;
        margin-bottom: 10px;
    }

.cart-popup-summary {
    background: #f8f9fa;
    padding: 14px;
    border-radius: 10px;
    margin: 15px 0;
}

.cart-popup-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-continue,
.btn-view-cart,
.btn-checkout {
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    border: none;
}

.btn-continue {
    background: #fff;
    border: 1px solid #ff8700;
    color: #ff8700;
}

.btn-view-cart {
    background: #0d6efd;
    color: #fff;
}

.btn-checkout {
    background: #ff8700;
    color: #fff;
}

.cart-popup-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

    .cart-popup-buttons .btn {
        width: 100%;
        padding: 12px;
        font-size: 16px;
        font-weight: 600;
        border-radius: 8px;
    }

    .cart-popup-buttons .active-btn {
        background: #0d6efd;
        color: #fff;
        border-color: #0d6efd;
    }

    .cart-popup-buttons .btn-warning {
        color: #fff;
        background: #ff8700;
        border-color: #ff8700;
    }

        .cart-popup-buttons .btn-warning:hover {
            background: #e67600;
            border-color: #e67600;
        }

.option-error-msg {
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
    font-weight: 500;
}

#quickAddModalContent select.is-invalid {
    border: 2px solid #dc3545 !important;
}
/* =========================================
   ACCOUNT HEADER
========================================= */

.km-account-hover .km-icon {
    font-size: 30px;
}

.km-account-hover span {
    display: block;
    margin-top: 8px;
    line-height: 1.25;
    text-align: center;
    color: #fff;
    font-size: 13px;
}

    .km-account-hover span strong {
        display: block;
        margin-top: 2px;
        font-size: 14px;
        font-weight: 700;
    }

/* Dropdown user section */
.account-dropdown-user {
    padding: 17px 18px;
    border-bottom: 1px solid #e8e8e8;
}


    .account-dropdown-user .user-name {
        font-size: 18px;
        font-weight: 700;
        color: #222;
    }


.account-holder-text {
    margin-top: 2px;
    margin-bottom: 12px;
    font-size: 12px;
    color: #777;
}


.account-contact-info {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 11px;
}


    .account-contact-info > i {
        width: 22px;
        color: #2874f0;
        font-size: 17px;
    }


    .account-contact-info > div {
        min-width: 0;
        display: flex;
        flex-direction: column;
    }


    .account-contact-info small {
        font-size: 11px;
        color: #888;
    }


    .account-contact-info span {
        font-size: 14px;
        color: #333;
        overflow-wrap: anywhere;
    }
/* =========================================
   STICKY NAV RIGHT ICONS
========================================= */

.sticky-right-icons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    color: #ffffff;
    overflow: visible;
    flex-shrink: 0;
}

    .sticky-right-icons > i,
    .sticky-right-icons .sticky-search-wrapper > i {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #ffffff !important;
        font-size: 32px;
        line-height: 1;
        cursor: pointer;
    }

    .sticky-right-icons a {
        color: #ffffff !important;
        text-decoration: none !important;
    }

/* =========================================
   STICKY NAV CART ICON + COUNT BADGE
========================================= */

.sticky-cart-link {
    position: relative;
    width: 42px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    text-decoration: none !important;
    cursor: pointer;
    overflow: visible;
}

    .sticky-cart-link:hover,
    .sticky-cart-link:focus,
    .sticky-cart-link:visited,
    .sticky-cart-link:active {
        color: #ffffff !important;
        text-decoration: none !important;
    }

.sticky-cart-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    text-decoration: none;
}

.sticky-cart-icon-box {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .sticky-cart-icon-box > i {
        color: #fff !important;
        font-size: 32px;
        line-height: 1;
    }

    .sticky-cart-icon-box .cart-count {
        position: absolute;
        top: -7px;
        right: -9px;
        min-width: 18px;
        height: 18px;
        padding: 0 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: red;
        color: #fff;
        font-size: 11px;
        font-weight: 700;
        line-height: 18px;
        z-index: 5;
    }

.cart-count-hidden {
    display: none !important;
}

.account-dropdown-user {
    padding: 16px;
    border-bottom: 1px solid #eee;
}

.account-user-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.account-user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #eaf4ff;
    color: #1b78d0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.account-user-text {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: 17px;
    font-weight: 700;
    color: #222;
}

.account-holder-label {
    font-size: 12px;
    color: #777;
}

.account-contact-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

    .account-contact-info > i {
        width: 20px;
        color: #2874f0;
    }

    .account-contact-info div {
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

    .account-contact-info small {
        font-size: 11px;
        color: #888;
    }

    .account-contact-info span {
        font-size: 13px;
        color: #333;
        overflow-wrap: anywhere;
    }
/* ==========================================
   LOGGED-IN ACCOUNT HEADER BOX
========================================== */

.logged-account-box {
    min-width: 125px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    cursor: pointer;
}


.logged-account-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.15;
}


.logged-account-hello {
    font-size: 13px;
    font-weight: 500;
    color: #fff;
}


.logged-account-name {
    max-width: 120px;
    margin-top: 2px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.logged-account-label {
    margin-top: 3px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}
/* ================================
   TOP BRANDS MEGA MENU
================================ */

.brands-mega-menu {
    padding: 25px 60px !important;
}

.brands-menu-content {
    width: 100%;
}

    .brands-menu-content h4 {
        font-size: 16px;
        font-weight: 700;
        margin: 0 0 18px 0;
        color: #222;
    }

.brands-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(120px, 1fr));
    column-gap: 40px;
    row-gap: 14px;
    width: 100%;
}

    .brands-grid a {
        display: block;
        font-size: 15px;
        color: #888;
        text-decoration: none;
        padding: 2px 0;
        white-space: nowrap;
    }

        .brands-grid a:hover {
            color: #2874f0;
        }
/* =========================================================
   MODERN HEADER SEARCH AND AUTOCOMPLETE
   ========================================================= */

.km-topbar .header-search-wrapper {
    flex: 1 1 auto;
    width: auto;
    max-width: 920px;
    min-width: 320px;
    position: relative;
    z-index: 100010;
}

.header-search-wrapper .km-search {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: none;
    height: 52px;
    margin: 0;
    overflow: hidden;
    background: #ffffff;
    border: 2px solid transparent;
    border-radius: 28px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

    .header-search-wrapper .km-search:focus-within {
        border-color: #ffb300;
        box-shadow: 0 0 0 3px rgba(255, 179, 0, 0.18), 0 8px 22px rgba(15, 23, 42, 0.14);
    }

    .header-search-wrapper .km-search input {
        flex: 1 1 auto;
        width: 100%;
        min-width: 0;
        height: 100%;
        padding: 0 18px 0 24px;
        border: 0;
        border-radius: 0;
        outline: none;
        background: transparent;
        color: #172033;
        font-size: 16px;
        font-weight: 500;
    }

        .header-search-wrapper .km-search input::placeholder {
            color: #7a8495;
            font-weight: 400;
        }

    .header-search-wrapper .km-search button {
        flex: 0 0 62px;
        width: 62px;
        height: 100%;
        padding: 0;
        border: 0;
        border-radius: 0 26px 26px 0;
        background: #245fc5;
        color: #ffffff;
        font-size: 23px;
        cursor: pointer;
        transition: background-color 0.2s ease;
    }

        .header-search-wrapper .km-search button:hover {
            background: #174ca9;
        }

/* Search wrapper */

.km-search-wrapper {
    position: relative;
}

/* Autocomplete dropdown */

.km-search-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 100020;
    max-height: 500px;
    overflow-x: hidden;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid #e1e5eb;
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18), 0 4px 12px rgba(15, 23, 42, 0.08);
    overscroll-behavior: contain;
}

    .km-search-suggestions[hidden] {
        display: none !important;
    }

/* Thin professional scrollbar */

.km-search-suggestions {
    scrollbar-width: thin;
    scrollbar-color: #a9b1be transparent;
}

    .km-search-suggestions::-webkit-scrollbar {
        width: 7px;
    }

    .km-search-suggestions::-webkit-scrollbar-track {
        background: transparent;
    }

    .km-search-suggestions::-webkit-scrollbar-thumb {
        background: #a9b1be;
        border-radius: 10px;
    }

/* Individual result */

.km-search-suggestion-item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    min-height: 82px;
    padding: 10px 16px;
    color: #172033;
    text-decoration: none;
    background: #ffffff;
    border-bottom: 1px solid #edf0f4;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

    .km-search-suggestion-item:last-of-type {
        border-bottom: 0;
    }

    .km-search-suggestion-item:hover,
    .km-search-suggestion-item.active {
        color: #172033;
        background: #f4f7fc;
    }

    /* Product image */

    .km-search-suggestion-item img {
        display: block;
        width: 58px;
        height: 58px;
        padding: 3px;
        object-fit: contain;
        background: #ffffff;
        border: 1px solid #e5e8ed;
        border-radius: 8px;
    }

/* Name and SKU */

.km-suggestion-details {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

    .km-suggestion-details strong {
        display: block;
        overflow: hidden;
        color: #172033;
        font-size: 15px;
        font-weight: 650;
        line-height: 1.35;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .km-suggestion-details small {
        overflow: hidden;
        color: #6b7280;
        font-size: 12px;
        font-weight: 500;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

/* Price */

.km-suggestion-price {
    min-width: 82px;
    color: #111827;
    font-size: 16px;
    font-weight: 750;
    text-align: right;
    white-space: nowrap;
}

/* Highlight matching text */

.km-search-suggestion-item mark {
    padding: 0;
    color: inherit;
    background: #fff1a8;
    border-radius: 2px;
}

/* View all */

.km-view-all-results {
    position: sticky;
    bottom: 0;
    display: block;
    padding: 13px 16px;
    color: #1e5fc7;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    background: #f7f9fc;
    border-top: 1px solid #e2e6ec;
}

    .km-view-all-results:hover {
        color: #174ca9;
        background: #edf3fc;
    }

.km-no-suggestions {
    padding: 22px 16px;
    color: #667085;
    font-size: 14px;
    text-align: center;
}



/* Sticky autocomplete clipping safety */
.km-sticky-nav,
.sticky-right-icons,
.sticky-search-wrapper,
.sticky-autocomplete-wrapper {
    overflow: visible;
}
/* =========================================================
   Search autocomplete direct category/brand link
   ========================================================= */

.km-search-suggestion-item.km-search-alias-item {
    position: relative;
    display: flex;
    grid-template-columns: none;
    align-items: center;
    gap: 15px;
    min-height: 94px;
    padding: 14px 18px;
    color: #172033;
    text-decoration: none;
    background: linear-gradient( 135deg, #f8fbff 0%, #edf5ff 100% );
    border-bottom: 1px solid #d8e6f7;
    transition: background 0.18s ease, box-shadow 0.18s ease;
}

    .km-search-suggestion-item.km-search-alias-item::before {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: 4px;
        content: "";
        background: linear-gradient( 180deg, #3478eb, #174ca9 );
    }

    .km-search-suggestion-item.km-search-alias-item:hover,
    .km-search-suggestion-item.km-search-alias-item.active {
        color: #172033;
        background: linear-gradient( 135deg, #edf6ff 0%, #e2efff 100% );
        box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.08);
    }

/* Icon box */

.km-search-alias-icon {
    display: flex;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient( 135deg, #3478eb, #1954ba );
    border-radius: 15px;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.24);
}

    .km-search-alias-icon i {
        font-size: 22px;
    }

/* Centre text */

.km-search-alias-content {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.km-search-alias-label {
    display: inline-flex;
    align-items: center;
    min-height: 21px;
    padding: 3px 9px;
    color: #1d57b7;
    background: #dceaff;
    border: 1px solid #c9dcfa;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.65px;
    line-height: 1;
}

.km-search-alias-title {
    display: block;
    max-width: 100%;
    overflow: hidden;
    color: #172033;
    font-size: 17px;
    font-weight: 750;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.km-search-alias-description {
    display: block;
    max-width: 100%;
    overflow: hidden;
    color: #667085;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Right-side Browse button */

.km-search-alias-action {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    padding: 9px 13px;
    color: #1f5fc5;
    background: #ffffff;
    border: 1px solid #cbdcf4;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

    .km-search-alias-action i {
        font-size: 15px;
        transition: transform 0.18s ease;
    }

.km-search-alias-item:hover
.km-search-alias-action,
.km-search-alias-item.active
.km-search-alias-action {
    color: #ffffff;
    background: #245fc5;
    border-color: #245fc5;
}

    .km-search-alias-item:hover
    .km-search-alias-action i,
    .km-search-alias-item.active
    .km-search-alias-action i {
        transform: translateX(3px);
    }

/* Alias matching-text highlight */

.km-search-alias-title mark {
    padding: 0 2px;
    color: inherit;
    background: #ffec99;
    border-radius: 3px;
}

/* Mobile */

@media (max-width: 767px) {

    .km-search-suggestion-item.km-search-alias-item {
        min-height: 80px;
        gap: 11px;
        padding: 11px 13px;
    }

    .km-search-alias-icon {
        width: 43px;
        height: 43px;
        flex-basis: 43px;
        border-radius: 12px;
    }

        .km-search-alias-icon i {
            font-size: 18px;
        }

    .km-search-alias-label {
        padding: 3px 7px;
        font-size: 8px;
    }

    .km-search-alias-title {
        font-size: 14px;
    }

    .km-search-alias-description {
        display: none;
    }

    .km-search-alias-action {
        width: 34px;
        height: 34px;
        justify-content: center;
        padding: 0;
        border-radius: 50%;
    }

        .km-search-alias-action span {
            display: none;
        }
}

/* =========================================================
   FINAL MODERN AUTOCOMPLETE OVERRIDE
   Keep this section at the END of site.css
   ========================================================= */

.km-search-wrapper {
    position: relative;
    width: 100%;
    overflow: visible;
}

    .km-search-wrapper .km-search-suggestions {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        left: 0;
        z-index: 100050;
        width: 100%;
        max-height: min(520px, calc(100vh - 150px));
        overflow-x: hidden;
        overflow-y: auto;
        background: #fff;
        border: 1px solid #e4e7ec;
        border-radius: 16px;
        box-shadow: 0 24px 55px rgba(15, 23, 42, 0.18), 0 8px 20px rgba(15, 23, 42, 0.08);
        overscroll-behavior: contain;
        scrollbar-width: thin;
        scrollbar-color: #c0c7d2 transparent;
        animation: kmSearchDropdownIn 0.16s ease-out;
    }

        .km-search-wrapper .km-search-suggestions[hidden] {
            display: none !important;
        }

@keyframes kmSearchDropdownIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.km-search-suggestions::-webkit-scrollbar {
    width: 7px;
}

.km-search-suggestions::-webkit-scrollbar-track {
    background: transparent;
}

.km-search-suggestions::-webkit-scrollbar-thumb {
    background: #c0c7d2;
    border-radius: 20px;
}

    .km-search-suggestions::-webkit-scrollbar-thumb:hover {
        background: #98a2b3;
    }

.km-search-suggestion-item {
    position: relative;
    display: grid !important;
    grid-template-columns: 76px minmax(0, 1fr) 145px;
    align-items: center;
    gap: 16px;
    width: 100%;
    min-height: 112px;
    padding: 14px 20px;
    color: #172033 !important;
    background: #fff;
    border: 0;
    border-bottom: 1px solid #edf0f4;
    text-decoration: none !important;
    transition: background-color 0.16s ease, box-shadow 0.16s ease;
}

    .km-search-suggestion-item:hover,
    .km-search-suggestion-item.active {
        color: #172033 !important;
        background: #f7faff;
        box-shadow: inset 4px 0 0 #2874f0;
    }

    .km-search-suggestion-item:last-of-type {
        border-bottom: 0;
    }

    .km-search-suggestion-item > img {
        display: block;
        width: 72px !important;
        height: 72px !important;
        padding: 5px;
        object-fit: contain;
        background: #fff;
        border: 1px solid #e4e7ec;
        border-radius: 12px;
        transition: transform 0.18s ease, border-color 0.18s ease;
    }

    .km-search-suggestion-item:hover > img,
    .km-search-suggestion-item.active > img {
        border-color: #c9d9f5;
        transform: scale(1.03);
    }

.km-suggestion-details {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
}

    .km-suggestion-details strong {
        display: -webkit-box;
        max-width: 100%;
        overflow: hidden;
        color: #172033;
        font-size: 16px;
        font-weight: 700;
        line-height: 1.35;
        white-space: normal;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .km-suggestion-details small {
        display: block;
        max-width: 100%;
        overflow: hidden;
        color: #667085;
        font-size: 12px;
        font-weight: 500;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.km-search-suggestion-item mark {
    padding: 0 2px;
    color: inherit;
    background: #fff0a6;
    border-radius: 3px;
    font-weight: inherit;
}

.km-suggestion-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    min-height: 18px;
    margin-top: 1px;
    color: #667085;
    font-size: 12px;
    line-height: 1;
}

.km-stars,
.km-suggestion-stars {
    color: #f5a000;
    font-size: 15px;
    letter-spacing: 1px;
    line-height: 1;
}

.km-suggestion-rating-value {
    color: #344054;
    font-weight: 700;
}

.km-suggestion-review-count,
.km-no-reviews {
    color: #667085;
}

.km-suggestion-price {
    display: flex !important;
    min-width: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 10px;
    color: #111827;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.15;
    text-align: right;
    white-space: nowrap;
}

    .km-suggestion-price .category-add-cart-btn,
    .km-suggestion-price .suggestion-add-cart-btn,
    .km-suggestion-action .category-add-cart-btn,
    .km-suggestion-action .suggestion-add-cart-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-width: 118px;
        min-height: 38px;
        padding: 9px 14px;
        color: #fff;
        background: linear-gradient(135deg, #2874f0 0%, #1858bd 100%);
        border: 0;
        border-radius: 9px;
        box-shadow: 0 5px 12px rgba(40, 116, 240, 0.22);
        font: inherit;
        font-size: 13px;
        font-weight: 700;
        line-height: 1;
        cursor: pointer;
        white-space: nowrap;
        transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    }

        .km-suggestion-price .category-add-cart-btn:hover:not(:disabled),
        .km-suggestion-price .suggestion-add-cart-btn:hover:not(:disabled),
        .km-suggestion-action .category-add-cart-btn:hover:not(:disabled),
        .km-suggestion-action .suggestion-add-cart-btn:hover:not(:disabled) {
            background: linear-gradient(135deg, #185fcf 0%, #12489f 100%);
            box-shadow: 0 8px 18px rgba(40, 116, 240, 0.3);
            transform: translateY(-1px);
        }

        .km-suggestion-price .category-add-cart-btn:disabled,
        .km-suggestion-price .suggestion-add-cart-btn:disabled,
        .km-suggestion-action .category-add-cart-btn:disabled,
        .km-suggestion-action .suggestion-add-cart-btn:disabled {
            color: #667085;
            background: #eaecf0;
            box-shadow: none;
            cursor: not-allowed;
            opacity: 1;
        }

.km-view-all-results {
    position: sticky;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 14px 20px;
    color: #175cd3 !important;
    background: rgba(248, 250, 252, 0.97);
    border-top: 1px solid #e4e7ec;
    backdrop-filter: blur(8px);
    font-size: 15px;
    font-weight: 750;
    text-align: center;
    text-decoration: none !important;
}

    .km-view-all-results::after {
        margin-left: 9px;
        content: "→";
        font-size: 18px;
    }

    .km-view-all-results:hover {
        color: #123f91 !important;
        background: #edf4ff;
    }

.km-search-suggestion-item.km-search-alias-item {
    display: flex !important;
    min-height: 94px;
    gap: 15px;
    padding: 14px 18px;
}

.km-sticky-nav,
.sticky-right-icons,
.sticky-search-wrapper,
.sticky-autocomplete-wrapper {
    overflow: visible;
}
.km-search-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
/* ==============================
   HEADER WISHLIST
   ============================== */

a.header-wishlist,
a.header-wishlist:link,
a.header-wishlist:visited,
a.header-wishlist:hover,
a.header-wishlist:focus,
a.header-wishlist:active {
    color: #fff !important;
    text-decoration: none !important;
}

    a.header-wishlist .km-icon,
    a.header-wishlist span {
        color: #fff !important;
    }

    a.header-wishlist:hover {
        background: #3169ce;
    }
.sticky-wishlist-link,
.sticky-wishlist-link:link,
.sticky-wishlist-link:visited,
.sticky-wishlist-link:hover,
.sticky-wishlist-link:focus,
.sticky-wishlist-link:active,
.sticky-wishlist-link i {
    color: #fff !important;
    text-decoration: none !important;
}
#headerWishlistHeart.has-items {
    color: #dc2626 !important;
}
.mobile-bottom-nav a[href="/Wishlist"] i {
    color: #0d6efd;
}

    .mobile-bottom-nav a[href="/Wishlist"] i.wishlist-has-items {
        color: #dc2626 !important;
    }
/* ==========================================
   SPORTS SHOES DYNAMIC MEGA MENU
   ========================================== */

.sports-shoes-menu-item {
    position: static !important;
}

.sports-shoes-main-link {
    position: relative;
}


/* Mega menu */

.sports-shoes-mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    z-index: 9999;
}


/* Show on hover */
@media (min-width: 992px) {

    .sports-shoes-menu-item.mega-open
    .sports-shoes-mega-menu {
        display: block;
    }
}
/* Inner area */

.sports-shoes-mega-inner {
    width: 100%;
    max-width: 1320px;
    min-height: 420px;
    margin: 0 auto;
    padding: 24px 20px;
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 0;
}


/* LEFT CATEGORY */

.sports-shoes-category-column {
    border-right: 1px solid #e5e7eb;
    padding-right: 10px;
}


.sports-shoe-category-item {
    min-height: 48px;
    padding: 12px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #737373;
    font-size: 15px;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}


    .sports-shoe-category-item:hover,
    .sports-shoe-category-item.active {
        background: #eeeeee;
        color: #333;
    }


.shoe-menu-arrow {
    font-size: 22px;
    line-height: 1;
    color: #999;
}


/* RIGHT BRAND AREA */

.sports-shoes-brand-column {
    padding-left: 18px;
}


.sports-shoe-brand-group {
    display: none;
}


    .sports-shoe-brand-group.active {
        display: grid;
        grid-template-columns: repeat(3, minmax(150px, 1fr));
        column-gap: 30px;
        row-gap: 2px;
        align-content: start;
    }


    .sports-shoe-brand-group a {
        padding: 8px 0;
        color: #777;
        font-size: 15px;
        text-decoration: none;
    }


        .sports-shoe-brand-group a:hover {
            color: #2563eb;
        }


.no-shoe-brands {
    color: #999;
    font-size: 14px;
}
@media (max-width: 991px) {
    .km-search-suggestion-item {
        grid-template-columns: 66px minmax(0, 1fr) 125px;
        gap: 12px;
        min-height: 100px;
        padding: 12px 14px;
    }

        .km-search-suggestion-item > img {
            width: 62px !important;
            height: 62px !important;
        }

    .km-suggestion-details strong {
        font-size: 14px;
    }

    .km-suggestion-price {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .km-search-wrapper .km-search-suggestions {
        top: calc(100% + 7px);
        max-height: min(470px, calc(100vh - 125px));
        border-radius: 12px;
    }

    .km-search-suggestion-item {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 11px;
        min-height: 0;
        padding: 12px;
    }

        .km-search-suggestion-item > img {
            width: 56px !important;
            height: 56px !important;
            grid-row: 1 / span 2;
        }

    .km-suggestion-details strong {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }

    .km-suggestion-details small {
        font-size: 10px;
    }

    .km-suggestion-rating {
        font-size: 10px;
    }

    .km-stars,
    .km-suggestion-stars {
        font-size: 12px;
    }

    .km-suggestion-price {
        grid-column: 2;
        display: grid !important;
        grid-template-columns: minmax(70px, auto) minmax(105px, 1fr);
        align-items: center;
        gap: 8px;
        font-size: 14px;
        text-align: left;
    }

        .km-suggestion-price .category-add-cart-btn,
        .km-suggestion-price .suggestion-add-cart-btn,
        .km-suggestion-action .category-add-cart-btn,
        .km-suggestion-action .suggestion-add-cart-btn {
            min-width: 100px;
            min-height: 34px;
            padding: 7px 10px;
            border-radius: 7px;
            font-size: 11px;
        }

    .km-view-all-results {
        min-height: 50px;
        padding: 12px;
        font-size: 13px;
    }
}
/* ==========================================================
   VOICE SEARCH
   ========================================================== */

.km-search .voice-search-btn,
.sticky-search-form .voice-search-btn {
    flex: 0 0 48px !important;
    width: 48px !important;
    height: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    color: #667085 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 21px !important;
    cursor: pointer;
    transition: color .18s ease, background-color .18s ease, transform .18s ease;
}

    .km-search .voice-search-btn:hover,
    .sticky-search-form .voice-search-btn:hover {
        background: #f4f7fb !important;
        color: #2563eb !important;
    }

    .km-search .voice-search-btn:active,
    .sticky-search-form .voice-search-btn:active {
        transform: scale(.94);
    }

    /* Listening state */
    .km-search .voice-search-btn.is-listening,
    .sticky-search-form .voice-search-btn.is-listening {
        color: #dc2626 !important;
        background: #fff1f2 !important;
    }

        .km-search .voice-search-btn.is-listening i,
        .sticky-search-form .voice-search-btn.is-listening i {
            animation: voicePulse 1s infinite;
        }

@keyframes voicePulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.18);
        opacity: .65;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}
/* =========================================
   ACCOUNT SIDE DRAWER - USER HEADER
   ========================================= */

.account-drawer-user {
    padding: 22px 18px;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 10px;
}

    .account-drawer-user .panel-icon {
        font-size: 32px;
        line-height: 1;
        margin-bottom: 10px;
    }

.account-drawer-welcome {
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.account-drawer-name {
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
    color: #111827;
    margin: 0 0 5px;
}

.account-drawer-contact {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}
/* =========================================
   ACCOUNT LOGOUT BUTTON
   ========================================= */

.desktop-account-dropdown .account-logout-btn {
    width: 100%;
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 13px 18px;
    background: #fff !important;
    border: 0;
    border-bottom: 1px solid #f1f1f1;
    color: #0066c0 !important;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
}

    .desktop-account-dropdown .account-logout-btn span {
        color: #0066c0 !important;
        margin: 0 !important;
        font-size: 15px;
        text-align: left;
    }

    .desktop-account-dropdown .account-logout-btn:hover {
        background: #f5f9ff !important;
        color: #2874f0 !important;
    }

        .desktop-account-dropdown .account-logout-btn:hover span {
            color: #2874f0 !important;
        }


/* MOBILE LOGOUT */

.mobile-logout-form {
    width: 100%;
    margin: 0;
}

.mobile-account-logout {
    width: 100%;
    display: block;
    padding: 17px 18px;
    background: #fff;
    border: 0;
    border-bottom: 1px solid #eee;
    color: #222;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 16px;
    text-align: left;
    cursor: pointer;
}

    .mobile-account-logout:hover {
        background: #f5f9ff;
        color: #2874f0;
    }
    /* ==========================================================
   CRITICAL MOBILE HEADER
   Must be available before async mobile.css loads.
   Keep this block in site.css.
   ========================================================== */

@media (max-width: 768px) {

    /* Hide desktop-only header elements immediately */
    .km-sticky-nav,
    .km-search,
    .km-icons,
    .km-menu {
        display: none !important;
    }

    /* Mobile fixed header */
    .km-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 999999 !important;
        background: #3f7df1 !important;
        box-shadow: 0 2px 10px rgba(0,0,0,.15);
    }

    body {
        padding-top: 62px !important;
    }

    .km-topbar {
        height: 62px;
        padding: 6px 14px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        background: #3f7df1;
    }

    /* Hamburger */
    .mobile-menu-icon {
        display: block;
        color: #fff;
        font-size: 27px;
        width: 36px;
    }

    /* Logo */
    .km-logo,
    .logo {
        flex: 1;
        text-align: center;
        justify-self: center;
    }

    .logo-img,
    .logo img {
        height: 50px !important;
        max-height: 50px !important;
        width: auto !important;
        max-width: 197px !important;
        display: block;
        margin: 0 auto;
        object-fit: contain;
    }

    /* Search + Cart icons */
    .mobile-icons {
        width: 76px;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 13px;
        color: #fff;
    }

    .mobile-icons > span,
    .mobile-icons > a {
        font-size: 23px;
        color: #fff;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        line-height: 1;
        cursor: pointer;
    }

    .mobile-icons > a:hover,
    .mobile-icons > a:focus,
    .mobile-icons > a:active {
        color: #fff;
        text-decoration: none;
    }

    /* Cart */
    .mobile-header-cart {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-header-cart-count {
        position: absolute;
        top: -7px;
        right: -8px;
        min-width: 18px;
        height: 18px;
        padding: 0 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #ff0000;
        color: #fff;
        border-radius: 10px;
        font-size: 10px !important;
        font-weight: 700;
        line-height: 18px;
        z-index: 2;
    }
}